firstfare 2013 overview of electronics-2014
TRANSCRIPT
![Page 1: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/1.jpg)
Overview of Control System
2013/2014 Season
Tim Bennington-Davis
Mentor for team 1425 (Error Code Xero – Wilsonville)
Robot Inspector
FTA for 2014 Districts
(503) 449-9507
![Page 2: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/2.jpg)
Agenda
What are the parts?
How do they fit together?
How does the system work?
Where can I learn more?
What advice can be passed along?
![Page 3: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/3.jpg)
Robot Data Schematic
![Page 4: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/4.jpg)
Elements of the System
National Instruments cRIO (brains)
Digital Sidecar (make signals available)
Power Distribution Board & Battery
Analog Breakout (analog inputs)
Pneumatics Breakout (drives solenoids)
Netbook Driver Station
Wireless Interface (802.11)
Camera
Motor controllers and relays
![Page 5: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/5.jpg)
cRIO
Modular Controller, Industrial Strength
Comes with multiple interface modules
◦ 2 Analog Input Modules
Plus 2 Analog Breakout
◦ 2 Digital Input/Output Modules
Connect via really big cable to Digital Sidecar
◦ 1 Digital Output Module
Use with Solenoid Breakout
Veteran teams do not get new cRIO’s and
modules
Rookie teams will get new smaller cRIO
![Page 6: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/6.jpg)
cRIO and Modules
Legacy Teams have 8-slot cRIO chassis
Rookie teams will get new 4-slot cRIO
![Page 7: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/7.jpg)
Digital Sidecar
Connects to cRIO9403 with 32-pin cable
Provides
◦ 10 PWM outputs (Victors, Jaguars, RC servos)
Can be configured on a per-output basis to drive 6V
RC servos with jumpers
◦ 14 GPIO with +5V on each (digital in/out)
◦ 16 Relay Outputs (drives Spikes)
◦ I2C headers (Standard and NXT-compatible)
◦ 12V supply,
Provides +5V output
Reverse polarity protected
![Page 8: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/8.jpg)
Digital Sidecar
![Page 9: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/9.jpg)
Power Distribution Module
Custom Design by FIRST
6-15 VDC, reverse polarity protected
Metric shanks, not SAE!
8 outputs for 40A breakers
12 outputs for 30A/20A breakers
24VDC output for CompactRIO
12V output
5V output for camera
LED’s for power supplies and open
breakers
![Page 10: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/10.jpg)
Power Distribution Module
![Page 11: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/11.jpg)
Power Distribution Diagram
![Page 12: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/12.jpg)
Battery
12 VDC, sealed lead-acid
MUST use one of two models
◦ MK ES17-12
◦ Enersys NP18-12
Battery Exchange in Oregon City can get
them
Don’t wait too long to order
![Page 13: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/13.jpg)
Analog Breakout
Supplies +5V/3A for powering sensors
8 Analog Inputs, 3 pin PWM cable config.
Mounts to NI 9201 Analog Module
Configurable to make one input capable
of measuring battery voltage - mandatory
LED to indicate unit has power
Power to unit requires wiring to power
distribution module
![Page 14: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/14.jpg)
Analog Breakout
![Page 15: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/15.jpg)
Pneumatics Breakout
Reverse-battery protection
8 Outputs to directly drive solenoids
Mounts to NI 9472 Digital Module
Means you don’t have to use Spikes to
drive solenoids anymore
◦ Save weight, space and money
LED to indicate unit has power
Power to unit requires wiring to power
distribution module, can tolerate 12v or
24v to match solenoids
![Page 16: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/16.jpg)
Pneumatics Breakout
![Page 17: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/17.jpg)
Wireless Bridge – DAP-1522
802.11n MIMO
Must use DAP-1522, Rev B1
You will assign fixed IP addresses to your
components, using team number
![Page 18: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/18.jpg)
Powering the DAP-1522
DC-DC converter must be used
Converts 12 VDC to 5 VDC
![Page 19: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/19.jpg)
Ethernet Camera – Axis M1011 or
206 Streaming video for drive-
time control has been
challenging
Connects to RJ45 on cRIO
Can be used to track colors
and shapes
![Page 20: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/20.jpg)
Jaguar Motor Controller
Grey (old) and Black – they are different
CAN bus interface, current limit features
Do NOT remove the power screws
They are “swaged” on the end, which is
meant to keep them from coming out
Removing them drops metal shavings
into the guts
![Page 21: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/21.jpg)
Jaguar Motor Controller
Black units have conformal coating to
minimize damage if screws are removed
Have integral PID speed control, provided
you hook up encoders
PWM or CAN interface
Direct connect to wheel encoders
You may get vouchers for controllers so
you can choose
![Page 22: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/22.jpg)
Talon Motor Controller
Simple controller, but very robust
PWM interface only
Brake and coast jumper
Fan optional
![Page 23: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/23.jpg)
Victor Motor Controller
Also simple and robust
Newest model is 888. 884 also usable.
PWM interface only
Brake and coast jumper
No PID closed-loop control
![Page 24: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/24.jpg)
Spike “H-Bridge”
Relay operation
On-Off-Reverse
Connects to “relay” output of digital
sidecar, not PWM
Use for on-off motor control,
compressor
![Page 25: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/25.jpg)
Operator Interface
Classmate Computer or equivalent
Must run correct version of supplied
software – CHECK UPDATES!
IP connected
Communicates constantly with cRIO
USB expansion hub
Joysticks (USB)
Cypress pSOC I/O expansion device
Many teams use their own computers
![Page 26: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/26.jpg)
Operator Interface
Typically a 48” x 8” console
Joysticks or other driving interface
Buttons, switches, dials, lights
Your team designs and builds it
Effective driving operation is enabled by
careful ergonomic design, especially
when it comes to controlling the non-
drive functions
![Page 27: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/27.jpg)
Operator Interface
Cypress board provides 16 configurable
digital pins, 8 analog inputs
Plug into proto board, or build/buy
carrier board
Digital and analog functions map to
software
![Page 28: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/28.jpg)
Typical OI Functions
switch (on/off) – 1 digital input
3 position switch (on/off/on) – 2 digital
inputs
Potentiometer (variable position) – 1
analog input
Push button switch (momentary
contact) – 1 digital input
Indication (LED) – 1 digital output
![Page 29: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/29.jpg)
Link between OI and cRIO
Default software causes cRIO and
classmate computer to update each
other several times a second
All OI data is fed to cRIO automatically
If they don’t talk, your robot disables
itself
Status of communication shown in
classmate GUI
![Page 30: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/30.jpg)
Other Handy Parts
10-turn potentiometers
Not supplied – Norvac, Fry’s, Digi-Key
Wire to analog input
US Digital Quadrature Encoders
Mount in many transmissions
Count transmission rotation, direction
Can interface directly with Jaguars
3-axis accelerometer (supplied)
Gyro (supplied)
Analog Ultrasonic detectors
For measuring close distances
![Page 31: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/31.jpg)
Sources for parts
Digikey and Mouser (web ordering, fast
shipping, good prices)
Fry’s and Oregon Electronics (more expensive,
but stock on shelf. Limited assortment)
US Digital (quadrature encoders)
Sparkfun electronics (sensors, arduinos)
Pololu robotics (sensors, arduinos)
![Page 32: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/32.jpg)
Helpful Hints
![Page 33: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/33.jpg)
Working the Wago
Yes !
NO !
• Find a Wago tool, or make one. Most screwdrivers cause damage
• Take care to insert directly at a fixed angle, pressing straight in
• Do not pry. The goal is to open the spring by pressing in the
screwdriver, not by prying
End View
![Page 34: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/34.jpg)
802.11 Radio Link
Only the DAP-1522 Rev B is acceptable at
events
Learn how to set static IP addresses on
your PC, and how to log into AP and
adapter to configure them manually
Turn off “Wireless Protection”, so that
inadvertent presses of external buttons
don’t change settings unexpectedly
At competitions, must put switch in
“bridge”
![Page 35: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/35.jpg)
Bridge Placement
The DAP-1522 has antennas at either end
Uses both antennas for 802.11n MIMO
Mount it up away from robot frame,
motors, cRIO
Don’t show up with a Rev-A model
![Page 36: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/36.jpg)
Hints Learned the Hard Way
Solder your terminals – prevent failure
Keep large gauge wiring as short as possible
Lay your electronics out so you can
troubleshoot it – 2 layers sometimes works
Make a battery charging record
◦ During tournaments, know which one is charged
Read the inspection rules early – a great “cheat
sheet” for guiding you
Label your wires or use color markings, to
make troubleshooting easier
Robot frame is NOT connected to ground
![Page 37: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/37.jpg)
Hints Learned the Hard Way
Use red wire for +, black wire for –
Never lift a battery by the leads.
Shut off the power before plugging or
unplugging any thing!
Cover electronics when doing metal work
above – metal shavings will ruin your day
Pay attention to wire gauge requirements
All electrical failures are mechanical in nature
…. Make your electrical connections so they
will survive being whacked. - check before
every round.
![Page 38: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/38.jpg)
Hints Learned the Hard Way
Before bagging your robot….. Inspect it
◦ Get an experienced robot inspector to come to your
location and go over it.
◦ Minimize the number of surprises you may
experience at your first event
◦ If pre-inspection is allowed, take advantage of it
At the first competition … get out for a
practice match
◦ This gives you a chance to confirm connecting to the
field
![Page 39: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/39.jpg)
Hints Learned the Hard Way
At the competition
◦ There is no power for your custom laptop at the
driver station of the field.
◦ YOU MAY NOT PLUG YOUR DS LAPTOP IN AT
THE FIELD – so keep your battery charged
Develop and use a checklist to use before each
match
◦ Matches do not get re-run because your robot has a
loose wire, dead battery, or wasn’t properly prepared
![Page 40: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/40.jpg)
Wrapping Up
Go to the FIRST website
◦ FRC – Resources – Technical Resources
![Page 41: FIRSTFare 2013 overview of electronics-2014](https://reader033.vdocuments.us/reader033/viewer/2022052900/555a7a69d8b42abb628b472c/html5/thumbnails/41.jpg)
Wrapping Up
Read last year’s Robot Rules Manual
Look at the schematics and technical
information from last year – now!
Visit an experienced team for a day
Ask around
◦ Tim Bennington-Davis
(503) 449-9507