introduction to robot subsystems

92
INTRODUCTION TO ROBOT SUBSYSTEMS Presented By: Funky Monkeys, Team 846 Available online at lynbrookrobotics.com Resources > WRRF Presentations

Upload: tex

Post on 22-Mar-2016

70 views

Category:

Documents


7 download

DESCRIPTION

Presented By: Funky Monkeys, Team 846 Available online at lynbrookrobotics.com Resources > WRRF Presentations. Introduction to Robot Subsystems. Presented by: Miles Chan. Choosing the Right DriveTrain. Drivetrain Requirements. Common Features: Fast Easy to turn High acceleration - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Introduction to Robot Subsystems

INTRODUCTION TOROBOT

SUBSYSTEMSPresented By:

Funky Monkeys, Team 846Available online at lynbrookrobotics.com

Resources > WRRF Presentations

Page 2: Introduction to Robot Subsystems

CHOOSING THE RIGHT DRIVETRAINPresented by:

Miles Chan

Page 3: Introduction to Robot Subsystems

Drivetrain Requirements Common Features:

FastEasy to turnHigh acceleration

FIRST Competition Demands:Point-to-point movementTurn in placePush hard

Page 4: Introduction to Robot Subsystems

Ackerman Steering

Team 34’s Design on Chief Delphi

Page 5: Introduction to Robot Subsystems

Differential/Tank Steering Power left and

right sides independently

FeaturesSimpleEasy to drivePushes hard

Page 6: Introduction to Robot Subsystems

4 Wheels Differential SteeringWheels slide to turn

Page 7: Introduction to Robot Subsystems

Ability to Turn Wheels generate force while

friction resists

Turning Torque – Resisting Torque

Page 8: Introduction to Robot Subsystems

Terminology: µ = Coefficient of

Friction Weight = Weight

of the robot F = Force T = Torque

Track (W )

Wheelbase (L)

Page 9: Introduction to Robot Subsystems

Maximum Tractive Force Per Wheel (FTMax)

Track (W )

Wheelbase (L) 4

Weight* FTMax

Page 10: Introduction to Robot Subsystems

2W4FT TMax TMax

Maximum Turning Torque (TTMax)

Track (W )

Wheelbase (L)

4Weight* FTMax

W/2

2WFT TMax TMaxWheel

rF Torque

Page 11: Introduction to Robot Subsystems

Maximum Resisting Torque (TResisting)

Track (W )

Wheelbase (L)

2L4

4Weight* T Resisting

4Weight*

per wheel force Resisting

L/2 rF Torque

Page 12: Introduction to Robot Subsystems

2W4

4WeightTTMax

2L4

4Weight* T Resisting

Turning Torque v. Resisting Torque

Page 13: Introduction to Robot Subsystems

4 Wheel Layout Remember: Turning Force –

Resisting Force Only wide robots can turn

Page 14: Introduction to Robot Subsystems

6 Wheel Layout

Weight spread over 6 wheels

Only 4 wheels resist turning

Page 15: Introduction to Robot Subsystems

2W6

6weightTTMax

Turning Torque v. Resisting Torque

2L4

6weight* T Resisting

Page 16: Introduction to Robot Subsystems

6 Wheels Dropped Center Center wheels dropped about 1/8

inchImprovement of 33% - 100% Rocks on center when turning

30%

10%

10%

Page 17: Introduction to Robot Subsystems

2 Wheels, 2 Omniwheels Omniwheels

90° rollers allow sideways motion

Center of rotation between non-omni wheels

4 wheels provide tractive force

No Wheels Resistccc

ccc

Page 18: Introduction to Robot Subsystems

Wheel modules rotate

AdvantagesTranslational

movementPushes hard

DisadvantagesComplicated

designIncreased need for

driver trainingRequires

additional steering motor

Swerve Drive

Craig Hickman’s Design on Chief Delphi

Page 19: Introduction to Robot Subsystems

Mecanum Wheels45° Rollers allow lateral movement

Page 20: Introduction to Robot Subsystems

Mecanum Drive Demo:

http://www.youtube.com/watch?v=JGAlalbpBLA&feature=related

AdvantageTranslational movement

DisadvantageMore gearboxesExpensive wheelsLow pushing force

Page 21: Introduction to Robot Subsystems

How it works: Forward movement

http://wiki.robojackets.org/images/0/08/2007_TE_Session_-_Drive_Trains_(Handouts).pdf

Page 22: Introduction to Robot Subsystems

How it works: Sideways movement

http://wiki.robojackets.org/images/0/08/2007_TE_Session_-_Drive_Trains_(Handouts).pdf

Page 23: Introduction to Robot Subsystems

Videos Omni, Mecanum, Swerve drive

exampleshttp://www.youtube.com/watch?v=r5WK

gQJtToM Nona-drive (variant of Slide Drive)

http://www.youtube.com/watch?v=_hTyXQUgYLE&feature=related

Page 24: Introduction to Robot Subsystems

Conclusion Exotic Drives

Cool factorMay give key advantage in a particular

game.

Tank DrivetrainSimple solution - rugged & reliable

Page 25: Introduction to Robot Subsystems

Electrical SubsystemPresented by: The Funky Monkeys Team 846Akshat Agrawal, Anurag Makineni,and Jackie Zhang

Page 26: Introduction to Robot Subsystems

Power Distribution Diagram

Robot Controlle

r

Page 27: Introduction to Robot Subsystems

Battery 12V Lead Acid Battery (18Ah) 13 Pounds Provides over 100 amperes of

current. Total output of over 1200 watts of power.

Can supply over 700 amperes of current when terminals are shorted.

Page 28: Introduction to Robot Subsystems

Robot Power Switch Used to turn robot on

and off, including emergency shut off

Also a 120 amp circuit breaker

Must be placed in an accessible location

Page 29: Introduction to Robot Subsystems

20-40 Ampere Fuse Location

Branch circuit power

connection

Main Power Circuit

connection

Power Distribution Board

Page 30: Introduction to Robot Subsystems

DC To DC Converters Used to change

voltage coming from battery to specific voltage required in branch circuit• 12V-5V• 12V-24V (for robot controller)

Page 31: Introduction to Robot Subsystems

Power Distribution Diagram

Robot Controlle

r

40A

20A100A

18AWG

18AWG

12AWG

6AWG

Page 32: Introduction to Robot Subsystems

American Wire Gauge Sizes are based on the AWG

(American Wire Gauge) SystemAWG sizes are based on number of wire

draws – Higher gauge = thinner wire

Page 33: Introduction to Robot Subsystems

Motors (FRC 2011)Name # in KOP Additional

AllowedTotal

CIM 2 2 4BaneBots 4 0 4

Fisher Price 1 0 1Window Motors 4 0 4

Automotive Window Motor

Worm Gear

RS Series Motor CCL Industrial Motors Limited (CIM)

Page 34: Introduction to Robot Subsystems

Robot ControllerCompactRio National Instruments Embedded Controller

The “Brain” of the robotSends control signals to

components In 2012, rookie teams

will receive new smaller cRIO.Costs $525 for veteran

teamsCosts $285 without I/O

modules

Page 35: Introduction to Robot Subsystems

cRIO Specs 2012 cRIO-4 Slots

Powero 24V Power via PD Board

Proccessoro 400 MHzo Freescale MPC5125

Memoryo 256MB System Memoryo 512MB Storage Memory

Softwareo VXWorks Operating Systemo Lab View, C++, Javao Has an Field Programmable Gate Array (FPGA) allows for real time access to the robot

Page 36: Introduction to Robot Subsystems

PROBLEM! The cRIO cannot directly control

the motors.Cannot provide enough power – will

get fried if that much power runs through it.

SolutionIntermediary Motor Controllerso Relayso Electronic Speed Controllers

Page 37: Introduction to Robot Subsystems

Spike Relays Relays close or open

the circuit based on signals from the cRIO.

Use an H-Bridge

Page 38: Introduction to Robot Subsystems

How an H-Bridge Works

MOTOR

+12V

Ground

S1 S3

S4S2

S1+S4

FULL FORWARD

S3+S2

FULL REVERSE

S1+S3

BRAKE

Page 39: Introduction to Robot Subsystems

Electronic Speed Controller (ESC) Control the amount of power sent to

the motors in addition to direction that motor turns.

Two types of ESC’s: Victor 884 ESC Jaguar ESC

Page 40: Introduction to Robot Subsystems

Speed Controller Comparison Jaguar ESC

•Larger•Communication via: • Servo Wire• CAN-bus

Victor ESC•Smaller•Communication via: • Servo Wire

Page 41: Introduction to Robot Subsystems

Pulse Width Modulation (PWM) Pulse Width Modulation is used in two

ways on our FIRST Robots:1. To provide a varying amount of power to

the motors.2. To communicate with the Speed controller.

Page 42: Introduction to Robot Subsystems

Variable Power Delivery The Speed Controller varies the power

delivered to the motors by changing the “Duty Cycle.”

12V

0VPERIOD

(ms)

DUTY CYCLE (%) = TIME ON PERIOD

12V

0V

DUTY CYCL

E

Page 43: Introduction to Robot Subsystems

Speed Controller Communications There are two ways to communicate

with the ESC1. CAN-buso Uses “Message based protocol” (like

Ethernet)

2. Servo Cableo Uses Pulse Width Modulation

Page 44: Introduction to Robot Subsystems

Speed Controller Communications using PWM RC Model Aircraft standard: The width of the pulse is measured as

unit of time. Time which each pulse lasts is the pulse width.

Signal:1.5 ms

± 0.5 ms

40 ms(20ms-50ms)

2.0 ms = full forward 1.75 ms = 50%

fwd 1.5 ms = off 1.0 ms = full

reverse

Page 45: Introduction to Robot Subsystems

CAN-Bus “CAN” Stands for “Controller Area

Network” Is a single chain of point-to-point

connections The “bus” goes around the chain

delivering the signal to different addresses – each ESC has its own address

2 CAN

ESC

ESC

cRIO

ESC

ESC

ESC

ESC

ESC

ESC

Page 46: Introduction to Robot Subsystems

How does the CAN-bus simplify wiring?

ESC

ESC

cRIO

ESC

ESC

ESC

ESC

ESC

ESC

2 CAN

ESC

ESC

cRIO

ESC

ESC

ESC

ESC

ESC

ESC

(Daisy Chaining)

Although the amount of wires is the same in each case, without the CAN-bus, the wires have to stretch all the way across the robot from the cRIO to each ESC, whereas with the CAN-bus, they are all linked together in a single chain.

Page 47: Introduction to Robot Subsystems

CAN-Bus Wiring Telephone-style RJ11 instead of

servo wire Easy to make custom length with

crimp tool Can’t be put in backwardsServo

Wire

Telephone Wire

Page 48: Introduction to Robot Subsystems

Power Distribution Diagram

Robot Controlle

r

Page 49: Introduction to Robot Subsystems

Sensors and ElectronicsPresented by:

Brian Axelrod

Page 50: Introduction to Robot Subsystems

Sensors and ElectronicsPresented by:

Brian Axelrod

Page 51: Introduction to Robot Subsystems

Why use sensors?

Page 52: Introduction to Robot Subsystems

Why use sensors?

Page 53: Introduction to Robot Subsystems

Why use sensors? Increased performance

SpeedPreset Positions

SafetyPrevent robot from damaging itself

Page 54: Introduction to Robot Subsystems

Limit switch A simple switch Can be set up to be triggered near

a physical limit $

Page 55: Introduction to Robot Subsystems

Hall effect sensor Detects a magnetic field Longer range Can switch much faster than a

mechanical switch $

Page 56: Introduction to Robot Subsystems

Potentiometers (Pots) Sensor for measuring position:

Rotation, distance, etc. $

Page 57: Introduction to Robot Subsystems

Potentiometers (Pots)+5V

Ground/0V

5V

2.5V

0V

+5V

GND

Output

Simplest type:Slider

Slider is connected to output.

10 KΩ

+5V

Ground/0V

100%

50%

0%

Page 58: Introduction to Robot Subsystems

Types of Potentiometers (pots) Slide

Rotary

Page 59: Introduction to Robot Subsystems

Pots: Uses Sense position: e.g.

lift How to sense the lift

position?Travel length is 6 feetNo linear pot long

enough

Page 60: Introduction to Robot Subsystems

Multi-turn Pots Multi-turn pot:

Usually 3, 5, or 10 turns$$

Alignment is important!Continuous rotation: use encoder

Page 61: Introduction to Robot Subsystems

Reading the Value Analog voltage level Analog-to-Digital Converter (ADC)

Converts to number0-1023 for 10-bit ADCComes in kop with cRio as analog

module 8 ports Easy to implement in code

m_liftPot.GetAverageValue()

Page 62: Introduction to Robot Subsystems

Optical Encoders

Optical

Sensor (A)

to controller

Optical Sensor

(B)to controller

A Channel

B Channel

Page 63: Introduction to Robot Subsystems

Optical Encoders

Optical

Sensor

to controller

Optical Sensor to controller

Page 64: Introduction to Robot Subsystems

Optical Encoders Determining Distance Travelled

Count pulses Determining Speed

Distance over timeTime over distance

Page 65: Introduction to Robot Subsystems

Other EncodersOur 2006 robot’s ball launcher

Hall Effect Sensor, and embedded magnet in wheel

using encoder as a speed sensor

Page 66: Introduction to Robot Subsystems

Yaw Rate Sensor/Gyro Also commonly known as a gyro Indicates rotational velocity

Page 67: Introduction to Robot Subsystems

Accelerometer Measures acceleration Detects gravity Going above max acceleration will

give you wrong readings Detect if going up a bump straight

Page 68: Introduction to Robot Subsystems

Sensing Distance: Ultrasonic Sensors

Determine distance Send pulse of sound Measure time until echo

Page 69: Introduction to Robot Subsystems

Infrared Proximity Sensors Determines distance

to object in front of it Analog voltage

reading vs. ultrasound:

Shorter rangeMore accurate

Page 70: Introduction to Robot Subsystems

Camera Not a magic bullet Can choke your machine Image processing Can sense enviroment

Page 71: Introduction to Robot Subsystems

Kinect Still not a magic bullet RGB-D With proper processing easier to

make reliableDepth image not dependant on

lighting

Page 72: Introduction to Robot Subsystems

Conclusion Never rely on the operator to do the

right thing Useful for adding functionality and as

safety features Large variety of sensors that can detect

a variety of parameters Can buy sensors at

Trossen roboticsDigi-key MouserAcroname

Page 73: Introduction to Robot Subsystems

PneumaticsMichael Lin and Eric Yeh presents…

Page 74: Introduction to Robot Subsystems

Pneumatics - Definition Pneumatics is the use of

pressurized air to achieve mechanical movement

Jack Hammer Nail gunDrill

Pneumatics?

Page 75: Introduction to Robot Subsystems

Overview of Pneumatics

Page 76: Introduction to Robot Subsystems

From FIRST pneumatics manual

Page 77: Introduction to Robot Subsystems

Compressor Source of energy in pneumatic system

Can Generate up to 120 PSI

Compacts air

Page 78: Introduction to Robot Subsystems

Diaphragm pump

Page 79: Introduction to Robot Subsystems

From FIRST pneumatics manual

Page 80: Introduction to Robot Subsystems

Regulator Maintains a

constant level of pressure.Working air

pressure Maximum of 60 psi

for FIRST competitions

Page 81: Introduction to Robot Subsystems

From FIRST pneumatics manual

Page 82: Introduction to Robot Subsystems

Actuators Actuators convert the difference in air

pressure to mechanical motionTakes the working air and makes it into

mechanical motion Linear actuators (also known as

cylinders) Narrower actuators move more

quickly

Page 83: Introduction to Robot Subsystems

From FIRST pneumatics manual

Page 84: Introduction to Robot Subsystems

Solenoid Valves Controlled by the robot’s CPU Solenoids opens a port to pressure when a

voltage is applied Double solenoids controls two ports

When one port is open, the other is closed

Festo single solenoid valve

Festo double solenoid valve

Page 85: Introduction to Robot Subsystems

From FIRST pneumatics manual

Page 86: Introduction to Robot Subsystems

Tank Tanks are a

reserve of compressed air

Maximum of 120 psi for First competitions

Page 87: Introduction to Robot Subsystems

89

Finding Linear Force

89

𝐷2radiusArea

2

2

diameterArea

AreaForceessure Pr

AreaessureForce Pr

22

77.125.1 inin

lbfinpsi 8.70767.140 2

Page 88: Introduction to Robot Subsystems

90

Finding Linear Force

90

𝐷

𝑑

2radiusArea

2

2

diameterArea

AreaForceessure Pr

AreaessureForce Pr

4

2DA 4

2DPF

4

22 dDA

4

22 dDPF

44

22 dDA

Page 89: Introduction to Robot Subsystems

91

Finding Linear Force

91

𝐷

𝑑

4

2DPF

4

22 dDPF

lbf7.17

4

)25.0()75.0(4022 ininpsi

4

)75.0(402inpsi

lbf7.15

Page 90: Introduction to Robot Subsystems

Forces of Different Bore Cylinders at 40 psi and 60 psi

Bore (inches) 0.75 1.50 2.00

Extending (40 psi) 18 lbf 71 lbf 126 lbf

Retracting (40 psi) 16 lbf 65 lbf 113 lbf

Extending (60 psi) 26 lbf 106 lbf 188 lbf

Retracting (60 psi) 24 lbf 97 lbf 170 lbf

From FIRST pneumatics manual

Page 91: Introduction to Robot Subsystems

From FIRST pneumatics manual

Page 92: Introduction to Robot Subsystems

Conclusion Covered major components of

FIRST robots Slides available at

lynbrookrobotics.comResources > “WRRF Presentations”