85
INTRODUCTION TO ROBOT SUBSYSTEMS Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.com Resources > WRRF Presentations

Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Embed Size (px)

Citation preview

Page 1: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

INTRODUCTION TOROBOT

SUBSYSTEMSPresented By:

Lynbrook Robotics, Team 846

Available online at lynbrookrobotics.com

Resources > WRRF Presentations

Page 2: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

PneumaticsYiming Jen and Haochuan Ni presents…

Page 3: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Pneumatics - Definition

Pneumatics is the use of pressurized air to achieve mechanical movement

Page 4: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

From FIRST pneumatics manual

•Compressor•Actuator•Valve

Page 5: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

From FIRST pneumatics manual

Page 6: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Compressor

Source of energy in pneumatic system Compacts air (animation)

Page 7: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Diaphragm pump

Page 8: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

From FIRST pneumatics manual

Page 9: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Actuators Actuators convert the difference in air

pressure to mechanical motion Linear actuators (also known as

cylinders) Narrower actuators move more

quickly

Page 10: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Electric Valves Controlled by the robot’s CPU

Solenoids opens a port to pressure when a voltage is applied

Double solenoids controls two portsWhen one port is open, the other is closed

Festo single solenoid valve Festo double solenoid valve

Page 11: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

From FIRST pneumatics manual

Page 12: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Regulator

Uses air from input to maintain the lower pressure of the output

Maximum of 60 psi for FIRST competitions

Page 13: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

The Force of Linear Actuators Pressure = Force / Area

Example: Cylinder bore = 3/4 inch Operating pressure = 40 psi

(pounds/inch2)

AreaPressureForce 2rA

22

in 64

27in

8

3

A

lbf 7.16in

lbf40in

64

272

2 F

Page 14: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

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 15: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Common Valves and Fittings Pressure switch

Release valve

Plug valve

Flow-rate valve

Page 16: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Tank

Tanks allows more air in the system

When air is lost, psi drop is mitigated by larger tanks

Page 17: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

From FIRST pneumatics manual

Page 18: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Electrical Components

Karthik Viswanathan presents…

Page 19: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Power Distribution Diagram

CPU

20A

20A40A

Page 20: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Battery

12 V Lead-Acid, 18 AH Supply over 100 amps of

current ~1200W 13 pounds Take precautions: 700

amps when terminals are shorted

Page 21: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Power Distribution Diagram

CPU

20A

20A40A

Page 22: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Robot Power Switch

Handles high current Doubles as 120 amp

circuit breakerOpens if current exceeds

120A

Does not automatically reset

Place in an accessible locationFrequently used

Emergency shut-off

Page 23: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Power Distribution Diagram

CPU

20A

20A40A

Page 24: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Power Distribution Board

Provides branches with resettable fuses

Each motor must be on its own branch circuit

20 - 40 amp fuse rangeDepends on wire diameterSmaller diameter creates

higher resistance and can be dangerous

Page 25: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Power Distribution Diagram

CPU

20A

20A40A

Page 26: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Power Distribution Diagram

CPU

20A

20A40A

Page 27: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Power Distribution Diagram

CPU

20A

20A40A

Page 28: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

CPU

Sends commands to the electronic speed controller

Can be replaced with servo testerGenerates control signal

Found at hobby stores

CPU

Page 29: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Power Distribution Diagram

CPU

20A

20A40A

Page 30: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Motors

Only allowed to use motors inside the kit of parts

Rules may allow purchasing extra motors of the same type

Mabuchi MotorJohnson Electric Motor

CCL Industrial Motor (CIM)

Page 31: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

CPU 2010 cRIO microcomputer Cannot directly control motors; not

enough power Use relays as an intermediary

Page 32: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Spike Relay Specifics

Control direction Only +12 V supply How do we go both forward and

back?

Page 33: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

H-Bridge

4 switches used to change direction Inside Spike relay

Page 34: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Speed Controller

2004 Victor 2009 Jaguar How is direction controlled? Variable amount of power

Page 35: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Pulse-Width Modulation

Applying variable power by electronically switching between fully on and fully off

Page 36: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

ESC Communications

Victor/Jaguar use PWM data signalSend information on how to

power the motors based off the width of pulses

1ms for full reverse, 1.5 ms for off, 2 ms for full forward

Immune to noise Jaguar also has a port for the CAN-

Bus

Page 37: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

CAN-Bus

Controller-Area Network Vehicle communication

network between the CPU and Jaguar speed controllers

Benefits: less wiring, current and temperature polling

Drawbacks: learning curve, hard to find support

Page 38: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

CAN-Bus Wiring

Telephone-style RJ11 instead of servo wire

Easy to make custom length with crimp tool

Daisy-chained

Page 39: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

CAN-Bus Software

cRIO’s serial port communication is slow

Ethernet to CAN adapter for $200 provides fast communication

Software solution for serial portSeparate process designed solely to

communicate with the CAN-bus

Avoid redundancy by caching old values

Page 40: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Sensors and Electronics

Brian Axelrod and Nikhil Unni present…

Page 41: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Limit switch

A simple switch Can be set up to be triggered near

a physical limit

Page 42: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Potentiometers (Pots)

Sensor for measuring position:Rotation, distance, etc.

Page 43: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Potentiometers

+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 44: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Reading the Value

Analog voltage level Analog-to-Digital Converter (ADC)

Converts to number

0-1023 for 10-bit ADC

Comes in kop with cRio as analog module 8 ports

Easy to implement in codem_liftPot.GetAverageValue()

Page 45: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Pots: Uses Sense position: e.g.

lift How to sense the lift

position?Travel length is 6 feet

No linear pot long enough

Rotary Pots

Page 46: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Pots

Multi-turn pot:Usually 3, 5, or 10 turns

Alignment is important!Continuous rotation: use encoder

Page 47: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Hall effect sensor

Detects a magnetic field Longer range Can be switched really frequently

Page 48: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Gear tooth sensor

Counts the teeth that went by on a nearby gear

Page 49: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Optical Encoders

Optical

Sensor

to controller

Optical Sensor

to controller

Page 50: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Optical Encoders

Optical

Sensor

to controller

Optical Sensor to

controller

Page 51: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Optical Encoders

Determining Distance TravelledCount pulses

Example:o Given: Encoder stripes = 128

o Given: Wheel diameter = 6”

o Given: counted 85 pulses

= 12.52 inches

1 revolution 6 inches85 pulses

128 pulses 1 revolution

Page 52: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Optical Encoders

Determining SpeedA. Count pulses per intervalo Example: in 1 second, 256 pulses.

Speed = 2 revolutions/second

Inaccurate and slow

Page 53: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Optical Encoders

Determining SpeedB. Measure time between pulseso Example: time between two pulses =

3.9ms

o Only requires observing two consecutive pulses

1 pulse

3.9 ms

1 revolution

128 pulses

1000 ms 2 rev/sec

1 sec

Page 54: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Other Encoders

Our 2006 robot’s ball launcher

Hall Effect Sensor, and embedded magnet in wheel

using encoder as a speed sensor

Page 55: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Yaw Rate Sensor/Gyro

Also commonly known as a gyro Indicates rotational velocity

Page 56: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Accelerometer Measures acceleration Detects gravity Going above max acceleration will

give you wrong readings Detect if going up a bump straight

Page 57: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Sensing Distance: Ultrasonic Sensors

Determine distance Send pulse of sound Measure time until echo

Page 58: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Infrared Proximity Sensors Determines distance

to object in front of it Analog voltage

reading vs. ultrasound:

Shorter range

More accurate

IR light source

Strip of light sensitive material

Page 59: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Camera

Not a magic bullet Always use other sensors if

possible Can choke your machine Image processing

Page 60: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

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 robotics

Digi-key

Mouser

Page 61: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

CHOOSING THE RIGHT DRIVETRAIN

Sarat Calamur, Chinmay Jaju & Alric Siu present…

Page 62: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Required Capabilities

General RequirementsSpeed

Controllability

Game Specific RequirementsPoint-to-point movement

Turning in place

Page 63: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Ackerman Steering

Team 34’s Design on Chief Delphi

Page 64: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Differential/Tank Steering

Power left and right sides independently

1 Joystick Per Side

Page 65: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

4 Wheels Differential SteeringWheels slide to turn

Page 66: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Ability to Turn Wheels generate force while

friction resists

Turning Torque – Resisting Torque

Page 67: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Terminology: Track (W )

Wheelbase (L)

µ = Coefficient of Friction

Weight = Weight of the robot

F = Force T = Torque

Page 68: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Maximum Turning Force Per Wheel (FTMax)

Track (W )

Wheelbase (L)

FTMax Weight

4

Page 69: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Maximum Turning Torque of robot (TTMax) Track (W )

Wheelbase (L)

FTMax Weight

4

W/2

2

WFT TMax TMaxWheel

2

W4FT TMax TMax

F Torque r

Page 70: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Maximum Resisting Torque (TResisting)

Track (W )

Wheelbase (L)

424

weight* T Resisting

L

4

weight*

per wheel force Resisting

L/2 F Torque r

Page 71: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Turning Torque v. Resisting Torque

24

4

weight* T Resisting

L

2

W4

4

WeightµTTMax

Page 72: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Wheel layouts Remember: Turning Force –

Resisting Force Only square and wide robots can turn

Page 73: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

6 Wheel Layout

Weight spread over 6 wheels

Only 4 wheels resist turning

Page 74: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Turning Torque v. Resisting Torque

TResisting *weight

6

4 L

2

TTMax Weight

6

6 W

2

Page 75: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

6 Wheel Layout

4/6 the resisting force

Page 76: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

6 Wheels dropped center Center wheels dropped about 1/8

inch“Rock” on center when turning

Improvement of 33% - 100%

30%

10%

10%

Page 77: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Swerve Drive Maneuverability Complicated design Inability to turn in

place

Craig Hickman’s Design on Chief Delphi

Unless….

Page 78: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Wheels

Rubber Roughtop Omni-wheels Tank Treads Mecanum

AndyMark Wheels

Page 79: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Mecanum Wheels

45° Rollers allow lateral movement

Page 80: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Video

Mechanum Wheel Demohttp://www.youtube.com/watch?v=JGAl

albpBLA&feature=related

Page 81: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

How it works: Forward movement

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

Page 82: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

How it works: Sideways movement

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

Page 83: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

How it works: Turn in Place

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

Page 84: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Videos

Omni, Mechanum, Swerve drive exampleshttp://www.youtube.comatch?v=r5WK

gQJtToM&feature=fvw

Nona-drivehttp://www.youtube.com/watch?v=6fLf

71xlVhE

Page 85: Presented By: Lynbrook Robotics, Team 846 Available online at lynbrookrobotics.comlynbrookrobotics.com Resources > WRRF Presentations

Conclusion

Covered major components of FIRST robots

Slides available at lynbrookrobotics.comResources > “WRRF Presentations”