1. a guide to wiring your robot. jerry skene past mentor – chantilly robotics email:...

82
1

Upload: emmeline-joseph

Post on 23-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

1

Page 2: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

A guide to wiring your robot.

Jerry Skene

Past mentor – Chantilly RoboticsEmail: [email protected]

Page 3: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

3

www.chantillyrobotics.org/wiring

Presentation available online at:

Page 4: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

4

• Overview of the major electrical components

Agenda

Page 5: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

5

• Overview of the major electrical components• Power Distribution

Agenda

Page 6: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

6

• Overview of the major electrical components• Power Distribution • Signal Distribution

Agenda

Page 7: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

7

• Overview of the major electrical components• Power Distribution • Signal Distribution • Where to get electrical parts & tools

Agenda

Page 8: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

8

• Overview of the major electrical components• Power Distribution • Signal Distribution • Where to get electrical parts & tools• Questions

Agenda

Page 9: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

9

Overview of Major Components- note some components may change for 2014 season

Driver Control System

Page 10: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

10

Major Components

Page 11: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

11

Major Components

Battery & Connector

Page 12: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

12

Major Components

High Amp Circuit Breaker

Page 13: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

13

HIGH – AMP CIRCUIT BREAKER

Page 14: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

14

Major Components

Power Distribution Panel

Page 15: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

15

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

Page 16: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

16

Power Distribution Module

Page 17: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

17

Major Components

ROBOTCONTROLLER

Page 18: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

18

National Instruments Compact RIORobot Controller

Ethernet to Wifi Radio & camera Analog, Digital and SolenoidInterface modules

Page 19: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

19

CRIO•400mHz CPU, 64MB/128MB

Page 20: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

20

CRIO•400mHz CPU, 64MB/128MB• Fixed positions for:

• (2) Analog modules – can read potentiometer input

Page 21: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

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

Page 22: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

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

Page 23: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

23

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

Page 24: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

24

Major Components

Analog Module

Page 25: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

Analog Module

25

• Requires analog header plug

Page 26: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

Analog Module

26

• Requires analog header plug• Uses 3-wire PWM cable

Page 27: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

Analog Module

27

• Requires analog header plug• Uses 3-wire PWM cable• Can measure robot’s battery

voltage

Page 28: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

Analog Module

28

• 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

Page 29: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

29

Major Components

Digital Sidecar

Page 30: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

30

Digital Sidecar

• Used to connect digital devices to cRio processor

Page 31: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

31

Digital Sidecar

• Used to connect digital devices to cRio processor

• Gets 12V from Power Distribution panel

Page 32: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

32

Digital Sidecar

• Used to connect digital devices to cRio processor

• Gets 12V from Power Distribution panel

• DB-37 cable to cRIO

Page 33: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

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

Page 34: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

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)

Page 35: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

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

Page 36: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

36

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

Page 37: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

37

Solenoid Breakout

Major Components

Page 38: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

Solenoid Breakout

38

Used to connect to

higher power devices,

such as pneumatic

solenoid control valves

Page 39: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

39

Major Components

VICTOR & JAGUARSPEED

CONTROLLERS

Page 40: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

40

Page 41: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

41

Jaguar Motor Speed Controller

• Converts signal from CRIO/Sidecar to power motors

Page 42: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

42

Jaguar Motor Speed Controller

• Converts signal from CRIO/Sidecar to power motors

• Limit switch inputs (forward/reverse)

Page 43: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

43

Jaguar Motor Speed Controller

• Converts signal from CRIO/Sidecar to power motors

• Limit switch inputs (forward/reverse)

• Coast/Brake (jumper or DIO)

Page 44: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

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

Page 45: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

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, overtemp/current, or under voltage <6V

Page 46: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

46

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, overtemp/current, or under voltage <6V

• Over-current protection can cause motors to cut out inpushing matches

Page 47: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

47

Major Components

VIDEOCAMERA

Page 48: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

48

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)

Page 49: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

49

Major Components

RELAYS(SPIKES)

Page 50: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

50

Spike: - allows the cRIO to turn a motor or other high current load on/off

Page 51: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

51

Major Components

WIRELESS BRIDGE

Page 52: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

52

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

Page 53: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

53

Driver StationProvides remote control interface to cRIO

Major Components

Page 54: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

54

Joysticks and controllers• Two are provided in the Kit of Parts (KOP)• any USB-based controller may be used:

Xbox, etc.

Page 55: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

55

• Connections & polarities – what goes where

Power Distribution

Page 56: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

56

• Connections & polarities – what goes where• Legal wire gauge and color

Power Distribution

Page 57: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

57

• Connections & polarities – what goes where• Legal wire gauge and color• How to make reliable connections

Power Distribution

Page 58: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

58

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

Page 59: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

59

Other power connections: - use 12 AWG or larger diameter wire for all circuits protected by a 40A Circuit Breaker.

Power Distribution

Page 60: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

60

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.

Power Distribution

Page 61: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

61

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.

Page 62: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

62

Power Distribution

PowerDistribution

Panel

WirelessBridge

MobileDevice

Controller

DigitalSidecar

Camera

Hi-ampCircuitBreaker

VictorMotor

Controller

Page 63: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

63

• How to make reliable crimp connections:– Use a ratchet-type crimping tool on crimp connections:

Power Distribution

YES(Eclipse crimpers or equivalent) NO

Page 64: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

64

• Simply strip wire and push into connector – do not tin wire first

Power Distribution – WAGO connectors

Page 65: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

65

SIGNAL DISTRIBUTION

• Digital I/O & PWM motor control signals come from the Digital Sidecar

Page 66: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

66

• Use 3-wire cables to connect PWM port on Robot Controller to Victor Speed controller

Signal Distribution

You can buy extras at InnovationFirst.com or robotmarketplace.com

Page 67: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

67

Try to keep your wiring neat – it will save you time!

Compliments to Dave Lavery - Team 116

Page 68: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

68

Robotic Sensors

Page 69: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

69

Robotic Sensors

• Detect information about the physical world

What do they do?

Page 70: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

70

Robotic Sensors

• Detect information about the physical world

• Convert this information into an electrical signal suitable for the robot’s computer controller

What do they do?

Page 71: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

71

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

Page 72: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

72

Robotic SensorsOptical 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

Page 73: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

73

Robotic Sensors

• Purpose: Measures distance to an object via infrared emitter/detector combo

IR rangefinder

Page 74: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

74

Robotic SensorsUltrasonic Rangefinder

Function: Measures distance to an object by means of ultrasonic sound bursts, or pings

Page 75: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

75

Robotic Sensors

Potentiometer

Function: Measures rotary input, outputs an analog value

Page 76: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

76

Robotic SensorsRotary 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

Page 77: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

77

• 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

Where to get electrical parts

Page 78: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

78

• Some recommended sources:– www.Chiefdelphi.com

Unofficial source for information on all robotics topics

– www.Forums.usfirst.orgO

fficial source

Where to get answers:

Page 79: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

79

Questions ???

??

?

?

?

?

?

?

?

Some images borrowed from Cybersonics, Team 103

Page 80: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

80

Thank you.

www.chantillyrobotics.org/wiring

Page 81: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

81

END

Page 82: 1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics Email: mrskene@chantillyrobotics.org

82