ISM 101 Guest Lecture on Robotics and Control

58
1 ISM 101 Gabriel Hugh Elkaim ISM 101 Guest Lecture on Robotics and Control 24.Feb.2005 Gabriel Hugh Elkaim

description

ISM 101 Guest Lecture on Robotics and Control. 24.Feb.2005 Gabriel Hugh Elkaim. Gabriel Hugh Elkaim. Background: Aerospace Engineering Interest: Robotics/Embedded Systems. Assistant Professor Computer Engineering 353B Baskin Engineering [email protected] (831) 459-3054. ASL LAB. - PowerPoint PPT Presentation

Transcript of ISM 101 Guest Lecture on Robotics and Control

Page 1: ISM 101 Guest Lecture on Robotics and Control

1ISM 101 Gabriel Hugh Elkaim

ISM 101Guest Lecture on Robotics and Control

24.Feb.2005Gabriel Hugh Elkaim

Page 2: ISM 101 Guest Lecture on Robotics and Control

2ISM 101 Gabriel Hugh Elkaim

Assistant ProfessorComputer Engineering

353B Baskin [email protected]

(831) 459-3054

Gabriel Hugh ElkaimGabriel Hugh Elkaim•Background: Aerospace Engineering

•Interest: Robotics/Embedded Systems

Page 3: ISM 101 Guest Lecture on Robotics and Control

3ISM 101 Gabriel Hugh Elkaim

ASL LABASL LAB

• Santa Cruz Santa Cruz Autonomous Systems Autonomous Systems LabLab

• Robotics and Robotics and Embedded SystemsEmbedded Systems

• Sensor FusionSensor Fusion• Robust Software Robust Software

DesignDesign

Page 4: ISM 101 Guest Lecture on Robotics and Control

4ISM 101 Gabriel Hugh Elkaim

Relevant ExpertiseRelevant Expertise

• Feedback Control SystemsFeedback Control Systems• Embedded System Embedded System

Software/HardwareSoftware/Hardware• Mechatronic DesignMechatronic Design• Microcontroller/DSP Microcontroller/DSP

projectsprojects• Navigation/Guidance Navigation/Guidance

SystemsSystems• Global Positioning SystemGlobal Positioning System

Page 5: ISM 101 Guest Lecture on Robotics and Control

5ISM 101 Gabriel Hugh Elkaim

Relevance to ISMRelevance to ISM

Autonomous Mobile Platforms depend on: Autonomous Mobile Platforms depend on:

• Sensing – environment, position, pose or Sensing – environment, position, pose or attitude, obstacles, etc.attitude, obstacles, etc.

• Path Planning (traditional A/I) – given the Path Planning (traditional A/I) – given the environment, get to objectiveenvironment, get to objective

• Control – How do you track the trajectory Control – How do you track the trajectory that you have generatedthat you have generated

Page 6: ISM 101 Guest Lecture on Robotics and Control

6ISM 101 Gabriel Hugh Elkaim

OutlineOutline

• Robotics in generalRobotics in general• Sensors in generalSensors in general

– Types of SensorsTypes of Sensors– Filtering IssuesFiltering Issues

• Control in generalControl in general– PID (Proportional Integral Derivative Control)PID (Proportional Integral Derivative Control)– Example, 3 wheeled ground vehicleExample, 3 wheeled ground vehicle

Page 7: ISM 101 Guest Lecture on Robotics and Control

7ISM 101 Gabriel Hugh Elkaim

Robotics

• Czech word Robota means compulsory labor.

• “Rosum’s Universal Robots” written in 1920 by Czechoslovakian author Karel Capeck

• Robotics: technology dealing with the design, construction, and operation of robots.

Page 8: ISM 101 Guest Lecture on Robotics and Control

8ISM 101 Gabriel Hugh Elkaim

RobotsRobots

According to Merriam-Webster:According to Merriam-Webster:1 a1 a :: a machine that looks like a human being and a machine that looks like a human being and performs various complex acts (as walking or performs various complex acts (as walking or talking) of a human being; talking) of a human being; alsoalso :: a similar but a similar but fictional machine whose lack of capacity for fictional machine whose lack of capacity for human emotions is often emphasized human emotions is often emphasized bb :: an an efficient insensitive person who functions efficient insensitive person who functions automaticallyautomatically22 :: a device that automatically performs a device that automatically performs complicated often repetitive taskscomplicated often repetitive tasks33 :: a mechanism guided by automatic controls a mechanism guided by automatic controls

Page 9: ISM 101 Guest Lecture on Robotics and Control

9ISM 101 Gabriel Hugh Elkaim

My DefinitionMy Definition

• Look at a Venn Look at a Venn diagram of diagram of Mechanical and/or Mechanical and/or Electrical Hardware, Electrical Hardware, Software, and Control Software, and Control Systems.Systems.

• Robotics is the Robotics is the overlapping area at the overlapping area at the center of the threecenter of the three

GNCGNC

MechanicalMechanical

SoftwareSoftware

RoboticsRobotics

Page 10: ISM 101 Guest Lecture on Robotics and Control

10ISM 101 Gabriel Hugh Elkaim

What are some of the Issues?What are some of the Issues?

• ConfigurationConfiguration– What mechanical scheme do you need to What mechanical scheme do you need to

complete the missioncomplete the mission– Example: UAV that deploys from a type “A” Example: UAV that deploys from a type “A”

sonobuoy (36” long x 4.875” in diameter)sonobuoy (36” long x 4.875” in diameter)– Example: Pipe Inspection must negotiate 90 Example: Pipe Inspection must negotiate 90

degree bends, self contained, etc.degree bends, self contained, etc.

Page 11: ISM 101 Guest Lecture on Robotics and Control

11ISM 101 Gabriel Hugh Elkaim

NavigationNavigation

• How do you know where you are?How do you know where you are?– OutdoorsOutdoors– UnderwaterUnderwater– In SpaceIn Space– IndoorsIndoors– UndergroundUnderground

Page 12: ISM 101 Guest Lecture on Robotics and Control

12ISM 101 Gabriel Hugh Elkaim

GuidanceGuidance

• Where do you want to go?Where do you want to go?

• How fast do you need to get there?How fast do you need to get there?

• Is there anything in the way?Is there anything in the way?

Page 13: ISM 101 Guest Lecture on Robotics and Control

13ISM 101 Gabriel Hugh Elkaim

ControlControl

• How do you get from where you are, to How do you get from where you are, to where you want to go?where you want to go?

• What if something is not as predictedWhat if something is not as predicted

Page 14: ISM 101 Guest Lecture on Robotics and Control

14ISM 101 Gabriel Hugh Elkaim

OdometryOdometry

Page 15: ISM 101 Guest Lecture on Robotics and Control

15ISM 101 Gabriel Hugh Elkaim

GPS – Global Positioning SystemGPS – Global Positioning System

Page 16: ISM 101 Guest Lecture on Robotics and Control

16ISM 101 Gabriel Hugh Elkaim

InertialsInertials

Page 17: ISM 101 Guest Lecture on Robotics and Control

17ISM 101 Gabriel Hugh Elkaim

AttitudeAttitude

Page 18: ISM 101 Guest Lecture on Robotics and Control

18ISM 101 Gabriel Hugh Elkaim

Control Issues

• Get the device to do what it is commandedGet the device to do what it is commanded• Open Loop ControlOpen Loop Control• Feedback ControlFeedback Control

– Must have a sensorMust have a sensor– Increases Disturbance RejectionIncreases Disturbance Rejection– Decreases Sensitivity to parameter variationDecreases Sensitivity to parameter variation

• Entire specialty of engineeringEntire specialty of engineering

Page 19: ISM 101 Guest Lecture on Robotics and Control

19ISM 101 Gabriel Hugh Elkaim

Examples of Control SystemsExamples of Control Systems

• Toilet BowlToilet Bowl• Cruise ControlCruise Control• Thermostat on HouseThermostat on House• Missile Guidance SystemMissile Guidance System• Mobile Robot Obstacle AvoidanceMobile Robot Obstacle Avoidance• Many, many moreMany, many more

Page 20: ISM 101 Guest Lecture on Robotics and Control

20ISM 101 Gabriel Hugh Elkaim

Cruise Control in DetailCruise Control in Detail

Page 21: ISM 101 Guest Lecture on Robotics and Control

21ISM 101 Gabriel Hugh Elkaim

Cruise Control – Open LoopCruise Control – Open Loop

Page 22: ISM 101 Guest Lecture on Robotics and Control

22ISM 101 Gabriel Hugh Elkaim

Cruise Control – Closed LoopCruise Control – Closed Loop

Page 23: ISM 101 Guest Lecture on Robotics and Control

23ISM 101 Gabriel Hugh Elkaim

Generic Control System Block DiagramGeneric Control System Block Diagram

Page 24: ISM 101 Guest Lecture on Robotics and Control

24ISM 101 Gabriel Hugh Elkaim

Sensor IssuesSensor Issues

• Dynamic RangeDynamic Range• LinearityLinearity• HysteresisHysteresis• QuantizationQuantization• Temperature EffectsTemperature Effects• BandwidthBandwidth

Page 25: ISM 101 Guest Lecture on Robotics and Control

25ISM 101 Gabriel Hugh Elkaim

Sensors – LinearitySensors – Linearity

Page 26: ISM 101 Guest Lecture on Robotics and Control

26ISM 101 Gabriel Hugh Elkaim

Sensors – Dynamic RangeSensors – Dynamic Range

Page 27: ISM 101 Guest Lecture on Robotics and Control

27ISM 101 Gabriel Hugh Elkaim

Sensors – HysteresisSensors – Hysteresis

Page 28: ISM 101 Guest Lecture on Robotics and Control

28ISM 101 Gabriel Hugh Elkaim

Sensors – QuantizationSensors – Quantization

Page 29: ISM 101 Guest Lecture on Robotics and Control

29ISM 101 Gabriel Hugh Elkaim

Sensors – Temperature EffectsSensors – Temperature Effects

Page 30: ISM 101 Guest Lecture on Robotics and Control

30ISM 101 Gabriel Hugh Elkaim

Sensors – BandwidthSensors – Bandwidth

Page 31: ISM 101 Guest Lecture on Robotics and Control

31ISM 101 Gabriel Hugh Elkaim

Actuator IssuesActuator Issues

• Power / StrengthPower / Strength• LinearityLinearity• HysteresisHysteresis• QuantizationQuantization• Temperature EffectsTemperature Effects• BandwidthBandwidth

Page 32: ISM 101 Guest Lecture on Robotics and Control

32ISM 101 Gabriel Hugh Elkaim

Control System – PIDControl System – PID • ProportionalProportional• IntegralIntegral• DerivativeDerivative

Page 33: ISM 101 Guest Lecture on Robotics and Control

33ISM 101 Gabriel Hugh Elkaim

Control System – Motor DriveControl System – Motor Drive

Page 34: ISM 101 Guest Lecture on Robotics and Control

34ISM 101 Gabriel Hugh Elkaim

Control System – Motor DriveControl System – Motor Drive

Page 35: ISM 101 Guest Lecture on Robotics and Control

35ISM 101 Gabriel Hugh Elkaim

Control System – Voice CoilControl System – Voice Coil

Page 36: ISM 101 Guest Lecture on Robotics and Control

36ISM 101 Gabriel Hugh Elkaim

Control System – Voice CoilControl System – Voice Coil

Page 37: ISM 101 Guest Lecture on Robotics and Control

37ISM 101 Gabriel Hugh Elkaim

Control System – HeaterControl System – Heater

Page 38: ISM 101 Guest Lecture on Robotics and Control

38ISM 101 Gabriel Hugh Elkaim

Control System – HeaterControl System – Heater

Page 39: ISM 101 Guest Lecture on Robotics and Control

39ISM 101 Gabriel Hugh Elkaim

Control System – Motor Drive w/PControl System – Motor Drive w/P

Page 40: ISM 101 Guest Lecture on Robotics and Control

40ISM 101 Gabriel Hugh Elkaim

Control System – Voice Coil w/PControl System – Voice Coil w/P

Page 41: ISM 101 Guest Lecture on Robotics and Control

41ISM 101 Gabriel Hugh Elkaim

Control System – Heater w/PControl System – Heater w/P

Page 42: ISM 101 Guest Lecture on Robotics and Control

42ISM 101 Gabriel Hugh Elkaim

Control System – Motor Drive w/IControl System – Motor Drive w/I

Page 43: ISM 101 Guest Lecture on Robotics and Control

43ISM 101 Gabriel Hugh Elkaim

Control System – Heater w/IControl System – Heater w/I

Page 44: ISM 101 Guest Lecture on Robotics and Control

44ISM 101 Gabriel Hugh Elkaim

Control System – Motor Drive w/PIControl System – Motor Drive w/PI

Page 45: ISM 101 Guest Lecture on Robotics and Control

45ISM 101 Gabriel Hugh Elkaim

Control System – Heater w/PIControl System – Heater w/PI

Page 46: ISM 101 Guest Lecture on Robotics and Control

46ISM 101 Gabriel Hugh Elkaim

Integrator Windup – Motor Drive w/PIIntegrator Windup – Motor Drive w/PI

Page 47: ISM 101 Guest Lecture on Robotics and Control

47ISM 101 Gabriel Hugh Elkaim

Integrator Limit – Motor Drive w/PIIntegrator Limit – Motor Drive w/PI

Page 48: ISM 101 Guest Lecture on Robotics and Control

48ISM 101 Gabriel Hugh Elkaim

Control System – Voice Coil w/PDControl System – Voice Coil w/PD

Page 49: ISM 101 Guest Lecture on Robotics and Control

49ISM 101 Gabriel Hugh Elkaim

Control System – Heater w/PIDControl System – Heater w/PID

Page 50: ISM 101 Guest Lecture on Robotics and Control

50ISM 101 Gabriel Hugh Elkaim

PID ControllersPID Controllers

• Proportional gain increases response speed, Proportional gain increases response speed, to much gain causes system to ring.to much gain causes system to ring.

• Integral gain kills steady-state error, wind-Integral gain kills steady-state error, wind-up and/or too much gain can cause system up and/or too much gain can cause system to go unstable.to go unstable.

• Derivative gain adds damping and stability, Derivative gain adds damping and stability, but is sensitive to jitter and noise.but is sensitive to jitter and noise.

Page 51: ISM 101 Guest Lecture on Robotics and Control

51ISM 101 Gabriel Hugh Elkaim

Tuning PID ControllersTuning PID Controllers

• Don’t need to understand Controls or Don’t need to understand Controls or System to use PID.System to use PID.

• Start with pure Derivative control.Start with pure Derivative control.• Increase gain until system oscillates or you Increase gain until system oscillates or you

see over 50% overshoot.see over 50% overshoot.• Go up to verge of ringing, back off by a Go up to verge of ringing, back off by a

factor of 2 or 4.factor of 2 or 4.

Page 52: ISM 101 Guest Lecture on Robotics and Control

52ISM 101 Gabriel Hugh Elkaim

Tuning PID ControllersTuning PID Controllers

• Start with Proportional gain, increase by Start with Proportional gain, increase by factor of 8 to 10 until oscillation.factor of 8 to 10 until oscillation.

• If it is already oscillating, decrease by factor If it is already oscillating, decrease by factor of 8 to 10.of 8 to 10.

• From verge of oscillation, back off by From verge of oscillation, back off by factor of 2 to 4.factor of 2 to 4.

Page 53: ISM 101 Guest Lecture on Robotics and Control

53ISM 101 Gabriel Hugh Elkaim

Tuning PID ControllersTuning PID Controllers

• Start with Integral gain very small, 0.0001 Start with Integral gain very small, 0.0001 to 0.01.to 0.01.

• Increase until you get response you like.Increase until you get response you like.• Be sure to implement anti-windup.Be sure to implement anti-windup.• If you have problems, play with sample If you have problems, play with sample

rate.rate.

Page 54: ISM 101 Guest Lecture on Robotics and Control

54ISM 101 Gabriel Hugh Elkaim

A 3-Wheeled VehicleA 3-Wheeled Vehicle

Page 55: ISM 101 Guest Lecture on Robotics and Control

55ISM 101 Gabriel Hugh Elkaim

A 3-Wheeled VehicleA 3-Wheeled Vehicle

Page 56: ISM 101 Guest Lecture on Robotics and Control

56ISM 101 Gabriel Hugh Elkaim

A 3-Wheeled VehicleA 3-Wheeled Vehicle

Page 57: ISM 101 Guest Lecture on Robotics and Control

57ISM 101 Gabriel Hugh Elkaim

A 3-Wheeled VehicleA 3-Wheeled Vehicle

Page 58: ISM 101 Guest Lecture on Robotics and Control

58ISM 101 Gabriel Hugh Elkaim

A 3-Wheeled VehicleA 3-Wheeled Vehicle