FRC wiring_2013 - Chantilly Robotics

Download Report

Transcript FRC wiring_2013 - Chantilly Robotics

1
A guide to wiring your robot.
Jerry Skene
Past mentor – Chantilly Robotics
Email: [email protected]
Presentation available online at:
www.chantillyrobotics.org/wiring
3
Agenda
• Overview of the major electrical components
4
Agenda
• Overview of the major electrical components
• Power Distribution
5
Agenda
• Overview of the major electrical components
• Power Distribution
• Signal Distribution
6
Agenda
•
•
•
•
Overview of the major electrical components
Power Distribution
Signal Distribution
Where to get electrical parts & tools
7
Agenda
•
•
•
•
•
Overview of the major electrical components
Power Distribution
Signal Distribution
Where to get electrical parts & tools
Questions
8
Overview of Major Components
- note some components may change for 2014 season
Driver Control System
9
Major Components
10
Major Components
Battery &
Connector
11
Major Components
High Amp Circuit Breaker
12
HIGH – AMP CIRCUIT BREAKER
13
Major Components
Power Distribution
Panel
14
Major Components
Power Distribution
Panel
Power Distribution Panel
- ensures safe distribution of power to various components
on your robot
- supports 20 – 40 amp resettable circuit breakers
- includes voltage regulators for main processor and camera
15
Power Distribution Module
16
Major Components
ROBOT
CONTROLLER
17
Ethernet to Wifi Radio & camera
Analog, Digital and Solenoid
Interface modules
National Instruments Compact RIO
Robot Controller
18
CRIO
•400mHz CPU, 64MB/128MB
19
CRIO
•400mHz CPU, 64MB/128MB
• Fixed positions for:
• (2) Analog modules – can read potentiometer input
20
CRIO
•400mHz CPU, 64MB/128MB
• Fixed positions for:
• (2) Analog modules – can read potentiometer input
• (2) Digital Modules – input and output modes:
Input - reads switches, digital sensors, etc.
Output - turns on/off relays, lights, etc.
- controls motor speed controllers
21
CRIO
•400mHz CPU, 64MB/128MB
• Fixed positions for:
• (2) Analog modules – can read potentiometer input
• (2) Digital Modules – input and output modes:
Input - reads switches, digital sensors, etc.
Output - turns on/off relays, lights, etc.
- controls motor speed controllers
• (1) Pneumatic Module
- connects to pneumatic
solenoids
22
CRIO
•400mHz CPU, 64MB/128MB
• Fixed positions for:
• (2) Analog modules – can read potentiometer input
• (2) Digital Modules – input and output modes:
Input - reads switches, digital sensors, etc.
Output - turns on/off relays, lights, etc.
- controls motor speed controllers
• (1) Pneumatic Module
- connects to pneumatic
solenoids
• (2) Ethernet ports
• (1) serial port (console)
• 24v power
23
Major Components
Analog Module
24
Analog Module
• Requires analog header plug
25
Analog Module
• Requires analog header plug
• Uses 3-wire PWM cable
26
Analog Module
• Requires analog header plug
• Uses 3-wire PWM cable
• Can measure robot’s battery
voltage
27
Analog Module
• Requires analog header plug
• Uses 3-wire PWM cable
• Can measure robot’s battery
voltage
• can measure analog voltage
from various sensors,
such as a potentiometer or a
rangefinder
28
Major Components
Digital Sidecar
29
Digital Sidecar
• Used to connect digital devices to
cRio processor
30
Digital Sidecar
• Used to connect digital devices to
cRio processor
• Gets 12V from Power Distribution
panel
31
Digital Sidecar
• Used to connect digital devices to
cRio processor
• Gets 12V from Power Distribution
panel
• DB-37 cable to cRIO
32
Digital Sidecar
• Used to connect digital devices to
cRio processor
• Gets 12V from Power Distribution
panel
• DB-37 cable to cRIO
• (10) PWM outputs for motor
controllers
– Jumper for servo use
33
Digital Sidecar
• Used to connect digital devices to
cRio processor
• Gets 12V from Power Distribution
panel
• DB-37 cable to cRIO
• (10) PWM outputs for motor
controllers
– Jumper for servo use
• (14) Digital IO (GPIO)
34
Digital Sidecar
• Used to connect digital devices to
cRio processor
• Gets 12V from Power Distribution
panel
• DB-37 cable to cRIO
• (10) PWM outputs for motor
controllers
– Jumper for servo use
• (14) Digital IO (GPIO)
• (8) Relays
35
Digital Sidecar
• Used to connect digital devices to
cRio processor
• Gets 12V from Power Distribution
panel
• DB-37 cable to cRIO
• (10) PWM outputs for motor
controllers
– Jumper for servo use
• (14) Digital IO (GPIO)
• (8) Relays
• Power status LEDs 5v, 6v, 12v
36
Major Components
Solenoid Breakout
37
Solenoid Breakout
Used to connect to
higher power devices,
such as pneumatic
solenoid control valves
38
Major Components
VICTOR & JAGUAR
SPEED
CONTROLLERS
39
40
Jaguar Motor Speed Controller
•
Converts signal from CRIO/Sidecar to power
motors
41
Jaguar Motor Speed Controller
•
•
Converts signal from CRIO/Sidecar to power
motors
Limit switch inputs (forward/reverse)
42
Jaguar Motor Speed Controller
•
•
•
Converts signal from CRIO/Sidecar to power
motors
Limit switch inputs (forward/reverse)
Coast/Brake (jumper or DIO)
43
Jaguar Motor Speed Controller
•
•
•
•
Converts signal from CRIO/Sidecar to power
motors
Limit switch inputs (forward/reverse)
Coast/Brake (jumper or DIO)
Slow flashing Yellow LED
indicates no valid pwm signal
44
Jaguar Motor Speed Controller
•
•
•
•
•
Converts signal from CRIO/Sidecar to power
motors
Limit switch inputs (forward/reverse)
Coast/Brake (jumper or DIO)
Slow flashing Yellow LED
indicates no valid pwm signal
Slow flashing Red LED
indicates limit switch, over
temp/current, or under
voltage <6V
45
Jaguar Motor Speed Controller
•
•
•
•
•
•
Converts signal from CRIO/Sidecar to power
motors
Limit switch inputs (forward/reverse)
Coast/Brake (jumper or DIO)
Slow flashing Yellow LED
indicates no valid pwm signal
Slow flashing Red LED
indicates limit switch, over
temp/current, or under
voltage <6V
Over-current protection can
cause motors to cut out in
pushing matches
46
Major Components
VIDEO
CAMERA
47
Axis M10112 Network Camera
• Ethernet Web-ready camera
• Requires special crossover cable
(orange)
• Fixed focus
• Reset button on back
• Use “Setup Axis Camera” on PC
to configure it for FRC
competition use
• !!! Isolate this from the chassis
(older Axis camera)
48
Major Components
RELAYS
(SPIKES)
49
Spike:
- allows the cRIO to turn a motor or other high
current load on/off
50
Major Components
WIRELESS BRIDGE
51
Wireless Bridge
-Allows wifi
communications
between the driver
station and the robot
-Must not be used in pit
area during
competition: use
Ethernet cat5 tether
cable instead
52
Major Components
Driver Station
Provides remote control interface to cRIO
53
Joysticks and controllers
• Two are provided in the Kit of Parts (KOP)
• any USB-based controller may be used:
Xbox, etc.
54
Power Distribution
• Connections & polarities – what goes where
55
Power Distribution
• Connections & polarities – what goes where
• Legal wire gauge and color
56
Power Distribution
• Connections & polarities – what goes where
• Legal wire gauge and color
• How to make reliable connections
57
Power Distribution
Battery: +12 volts:
- RED wire: 6 AWG from battery to hi-amp
breaker to power distribution panel
GND:
- BLACK or BLUE wire : 6 AWG from battery
to hi-amp breaker to power distribution panel
58
Power Distribution
Other power connections:
- use 12 AWG or larger diameter wire for all
circuits protected by a 40A Circuit Breaker.
59
Power Distribution
Other power connections:
- use 12 AWG or larger diameter wire for all
circuits protected by a 40A Circuit Breaker.
- use 14 AWG or larger diameter wire for all
circuits protected by a 30A Circuit Breaker.
60
Power Distribution
Other power connections:
- use 12 AWG or larger diameter wire for all
circuits protected by a 40A Circuit Breaker.
- use 14 AWG or larger diameter wire for all
circuits protected by a 30A Circuit Breaker.
- use 18 AWG or larger diameter wire for all
circuits protected by a 20A Circuit Breaker.
61
Power Distribution
Victor
Motor
Controller
Camera
Digital
Sidecar
Mobile
Device
Controller
Power
Distribution
Panel
Hi-amp
Circuit
Breaker
Wireless
Bridge
62
Power Distribution
• How to make reliable crimp connections:
– Use a ratchet-type crimping tool on crimp connections:
YES
(Eclipse crimpers or equivalent)
NO
63
Power Distribution – WAGO connectors
• Simply strip wire and push into connector – do not
tin wire first
64
SIGNAL DISTRIBUTION
• Digital I/O & PWM motor control signals come from
the Digital Sidecar
65
Signal Distribution
• Use 3-wire cables to connect PWM port on
Robot Controller to Victor Speed controller
You can buy extras at InnovationFirst.com or robotmarketplace.com
66
Try to keep your wiring neat – it will save you time!
Compliments to Dave Lavery - Team 116
67
Robotic Sensors
68
Robotic Sensors
What do they do?
• Detect information about the physical world
69
Robotic Sensors
What do they do?
• Detect information about the physical world
• Convert this information into an electrical
signal suitable for the robot’s computer
controller
70
Robotic Sensors
Simple Switch for sensing physical contact:
Function: Consists of two electrical contacts – they make or
break a connection when the switch is activated
71
Robotic Sensors
Optical Sensor for physical presence:
interrupted & reflected type are available
Function: Consists of light source (LED) and light detector
(photocell); can sense by interruption or reflection of beam
Optical Interrupter
Optical Reflector
72
Robotic Sensors
IR rangefinder
• Purpose: Measures distance to an object via
infrared emitter/detector combo
73
Robotic Sensors
Ultrasonic Rangefinder
Function: Measures distance to an object by means of
ultrasonic sound bursts, or pings
74
Robotic Sensors
Potentiometer
Function: Measures rotary input, outputs an analog value
75
Robotic Sensors
Rotary or shaft encoder
Purpose: For precisely measuring shaft angle using
a light source (LED) and light detector (photocell) with an
encoder disc
Rotary Encoder
Encoder Disc,
read by optical sensors inside decoder
76
Where to get electrical parts
• Some recommended sources:
– andymark.com – servos, PWM cables, Talon
controller, crimp tool, etc.
– Waytekwire.com – wire, etc.
– Mouser.com
– Allelectronics.com
– Digikey.com – Jaguars, sensors, etc.
– Sparkfun.com
– Robotmarketplace.com
77
Where to get answers:
• Some recommended sources:
– www.Chiefdelphi.com
• Unofficial source for information on all robotics topics
– www.Forums.usfirst.org
• Official source
78
Questions ???
?
?
?
?
?
?
?
?
?
Some images borrowed from Cybersonics, Team 103
79
Thank you.
www.chantillyrobotics.org/wiring
80
END
81
82