82
1

A guide to wiring your robot

  • Upload
    tyme

  • View
    30

  • Download
    0

Embed Size (px)

DESCRIPTION

A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics. Email: [email protected]. www.chantillyrobotics.org/wiring. Presentation available online at:. Agenda. Overview of the major electrical components. Agenda. Overview of the major electrical components - PowerPoint PPT Presentation

Citation preview

Page 1: A guide to wiring your robot

1

Page 2: A guide to wiring your robot

A guide to wiring your robot.

Jerry Skene

Past mentor – Chantilly RoboticsEmail: [email protected]

Page 3: A guide to wiring your robot

3

www.chantillyrobotics.org/wiring

Presentation available online at:

Page 4: A guide to wiring your robot

4

• Overview of the major electrical components

Agenda

Page 5: A guide to wiring your robot

5

• Overview of the major electrical components• Power Distribution

Agenda

Page 6: A guide to wiring your robot

6

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

Agenda

Page 7: A guide to wiring your robot

7

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

Agenda

Page 8: A guide to wiring your robot

8

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

Agenda

Page 9: A guide to wiring your robot

9

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

Driver Control System

Page 10: A guide to wiring your robot

10

Major Components

Page 11: A guide to wiring your robot

11

Major Components

Battery & Connector

Page 12: A guide to wiring your robot

12

Major Components

High Amp Circuit Breaker

Page 13: A guide to wiring your robot

13

HIGH – AMP CIRCUIT BREAKER

Page 14: A guide to wiring your robot

14

Major Components

Power Distribution Panel

Page 15: A guide to wiring your robot

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: A guide to wiring your robot

16

Power Distribution Module

Page 17: A guide to wiring your robot

17

Major Components

ROBOTCONTROLLER

Page 18: A guide to wiring your robot

18

National Instruments Compact RIORobot Controller

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

Page 19: A guide to wiring your robot

19

CRIO•400mHz CPU, 64MB/128MB

Page 20: A guide to wiring your robot

20

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

• (2) Analog modules – can read potentiometer input

Page 21: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

24

Major Components

Analog Module

Page 25: A guide to wiring your robot

Analog Module

25

• Requires analog header plug

Page 26: A guide to wiring your robot

Analog Module

26

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

Page 27: A guide to wiring your robot

Analog Module

27

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

voltage

Page 28: A guide to wiring your robot

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: A guide to wiring your robot

29

Major Components

Digital Sidecar

Page 30: A guide to wiring your robot

30

Digital Sidecar

• Used to connect digital devices to cRio processor

Page 31: A guide to wiring your robot

31

Digital Sidecar

• Used to connect digital devices to cRio processor

• Gets 12V from Power Distribution panel

Page 32: A guide to wiring your robot

32

Digital Sidecar

• Used to connect digital devices to cRio processor

• Gets 12V from Power Distribution panel

• DB-37 cable to cRIO

Page 33: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

37

Solenoid Breakout

Major Components

Page 38: A guide to wiring your robot

Solenoid Breakout

38

Used to connect to

higher power devices,

such as pneumatic

solenoid control valves

Page 39: A guide to wiring your robot

39

Major Components

VICTOR & JAGUARSPEED

CONTROLLERS

Page 40: A guide to wiring your robot

40

Page 41: A guide to wiring your robot

41

Jaguar Motor Speed Controller

• Converts signal from CRIO/Sidecar to power motors

Page 42: A guide to wiring your robot

42

Jaguar Motor Speed Controller

• Converts signal from CRIO/Sidecar to power motors

• Limit switch inputs (forward/reverse)

Page 43: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

47

Major Components

VIDEOCAMERA

Page 48: A guide to wiring your robot

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: A guide to wiring your robot

49

Major Components

RELAYS(SPIKES)

Page 50: A guide to wiring your robot

50

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

Page 51: A guide to wiring your robot

51

Major Components

WIRELESS BRIDGE

Page 52: A guide to wiring your robot

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: A guide to wiring your robot

53

Driver StationProvides remote control interface to cRIO

Major Components

Page 54: A guide to wiring your robot

54

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

Xbox, etc.

Page 55: A guide to wiring your robot

55

• Connections & polarities – what goes where

Power Distribution

Page 56: A guide to wiring your robot

56

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

Power Distribution

Page 57: A guide to wiring your robot

57

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

Power Distribution

Page 58: A guide to wiring your robot

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: A guide to wiring your robot

59

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

Power Distribution

Page 60: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

62

Power Distribution

PowerDistribution

Panel

WirelessBridge

MobileDevice

Controller

DigitalSidecar

Camera

Hi-ampCircuitBreaker

VictorMotor

Controller

Page 63: A guide to wiring your robot

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: A guide to wiring your robot

64

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

Power Distribution – WAGO connectors

Page 65: A guide to wiring your robot

65

SIGNAL DISTRIBUTION

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

Page 66: A guide to wiring your robot

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: A guide to wiring your robot

67

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

Compliments to Dave Lavery - Team 116

Page 68: A guide to wiring your robot

68

Robotic Sensors

Page 69: A guide to wiring your robot

69

Robotic Sensors

• Detect information about the physical world

What do they do?

Page 70: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

73

Robotic Sensors

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

IR rangefinder

Page 74: A guide to wiring your robot

74

Robotic SensorsUltrasonic Rangefinder

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

Page 75: A guide to wiring your robot

75

Robotic Sensors

Potentiometer

Function: Measures rotary input, outputs an analog value

Page 76: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

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: A guide to wiring your robot

79

Questions ???

??

?

?

?

?

?

?

?

Some images borrowed from Cybersonics, Team 103

Page 80: A guide to wiring your robot

80

Thank you.

www.chantillyrobotics.org/wiring

Page 81: A guide to wiring your robot

81

END

Page 82: A guide to wiring your robot

82