Lecture 6: Control Problems and Solutions CS 344R: Robotics Benjamin Kuipers.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

PID Control for Embedded Systems
Lecture 20 Dimitar Stefanov. Microprocessor control of Powered Wheelchairs Flexible control; speed synchronization of both driving wheels, flexible control.
KEB COMBIVERT F5-M Exercises.
Servo Background Servos provide control of rotary position Servos are used extensively in the remote control hobby world for: Aircraft (flaps, ailerons,
InnoSys Process Sequence. End Effector Components End Effector Prox Switch Load Cell Wire Conduit Crows Foot Nut Runner.
PID Control -1 + Professor Walter W. Olson
Loop Shaping Professor Walter W. Olson
Using the NXT Light Sensor. 2 Connect One Light Sensor – 1 From My Files use Left / Right NXT buttons and get to View menu and push Orange button. From.
Lecture Outline  DC motors  inefficiencies, operating voltage and current, stall voltage and current and torque  current and work of a motor  Gearing.
Geartrains Materials taken from several sources including: Building Robots with LEGO Mindstroms by Ferrari, Ferrari, and Hempel.
DC Motors DC Motors are widely used in robotics because of their small size and high energy output. Key characteristics of DC motors include: 1. High Speed.
Practical Process Control Using Control Station
Roberto - Balancing Robot RIT Computer Engineering Senior Design Project.
Part A: Controlling Oscillation Frequency with Capacitors and Resistors Part B: Diodes and Light Experiment Timer.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Patent Liability Analysis Andrew Loveless. Potential Patent Infringement Autonomous obstacle avoidance 7,587,260 – Autonomous navigation system and method.
Digital I/O Connecting to the Outside World
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
LECTURE#11 PID CONTROL AUTOMATION & ROBOTICS
Basic Concepts in Control
Lecture 4: Basic Concepts in Control CS 344R: Robotics Benjamin Kuipers.
1 Motors & Motor Controllers ECE AC or DC Motors AC –Few robots use AC except in factories –Most of those that use AC first convert to DC DC –Dominates.
Proportional/Integral/Derivative Control
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
MoBIES meeting Deerfield Beach ETC Challenge Problem ETC Model Requirements Simulation results Parametric verification Results Towards a Checkmate model.
Ch. 6 Single Variable Control
Getting the Most From Your Motors
20/10/2009 IVR Herrmann IVR: Introduction to Control OVERVIEW Control systems Transformations Simple control algorithms.
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
Today’s Agenda 1.Scribbler Program Assignment 1.Project idea due next class 2.Program demonstration due Wednesday, June 3 2.Attendance & lab pair groupings.
David GiandomenicoFeedback Control for your FIRST Robot’s DrivetrainDec 2010 WRRF Workshops #1 David Giandomenico Team mentor for Lynbrook Robotics – Team.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Loop Shaping.
Control 1 Keypoints: The control problem Forward models: –Geometric –Kinetic –Dynamic Process characteristics for a simple linear dynamic system.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Feedback Control.
20/10/2009 IVR Herrmann IVR:Control Theory OVERVIEW Control problems Kinematics Examples of control in a physical system A simple approach to kinematic.
VAV Box Control Loop The purpose of the VAV Box control loop is to adjust airflow through the box to maintain a space temperature. The difference between.
Chapter Twenty-Three: Waves 23.1 Harmonic Motion 23.2 Properties of Waves 23.3 Wave Motion 1.
Control of Robot Manipulators
DC Motor Control The material presented is taken from a variety of sources including: ponents/inductor001.html#howworks,
WAVES. Chapter Twenty-Three: Waves  23.1 Harmonic Motion  23.2 Properties of Waves  23.3 Wave Motion.
Feedback Control system
Lecture 5: Basic Dynamical Systems CS 344R: Robotics Benjamin Kuipers.
Control Theory Control System Objectives  Establish a final condition  Provide safe operation  Eliminate the human element  Assure economical operation.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
IVR 30/10/2009 Herrmann1 IVR: Control Theory Overview: PID control Steady-state error and the integral method Overshoot and ringing in system with time.
CSCI1600: Embedded and Real Time Software Lecture 12: Modeling V: Control Systems and Feedback Steven Reiss, Fall 2015.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
Final Presentation Prime Mobility Group Group Members: Fredrick Baggett William Crick Sean Maxon Project Advisor: Dr. Elliot Moore.
Features of PID Controllers
Control 3 Keypoints: PID control
SMV Electric Tutorials
Lecture 9: PID Controller.
Arms, Legs, Wheels, Tracks, and What Really Drives Them Effectors and Actuators.
ROBOTICS 01PEEQW Basilio Bona DAUIN – Politecnico di Torino.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
DC motor principles Speed control Direction Stepper motor principles
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
CNC FEED DRIVES.
Motors & Motor Controllers
DC Motors DC Motors are widely used in robotics because of their small size and high energy output. Key characteristics of DC motors include: 1. High Speed.
PID Control for Embedded Systems
Automatic control systems I. Nonlinearities in Control System
DC MOTOR SPEED CONTROL 1. Introduction
Smart Actuator Screen Guide
CSCI1600: Embedded and Real Time Software
8.7 Gated Integration instrument description
CSCI1600: Embedded and Real Time Software
Introduction to Motor Drives
Presentation transcript:

Lecture 6: Control Problems and Solutions CS 344R: Robotics Benjamin Kuipers

But First, Assignment 1: Followers A follower is a control law where the robot moves forward while keeping some error term small. –Open-space follower –Wall follower –Coastal navigator –Color follower Due October 4.

Control Laws Have Conditions Each control law includes: –A trigger: Is this law applicable? –The law itself: u = H i (y) –A termination condition: Should the law stop?

Open-Space Follower Move in the direction of large amounts of open space. Wiggle as needed to avoid specular reflections. Turn away from obstacles. Turn or back out of blind alleys. Try to be elegant and robust.

Wall Follower Detect and follow right or left wall. Implement the PD control law taught in class. Respond to step-changes in environment or set-point. Tune to avoid large oscillations. Terminate on obstacle or wall vanishing.

Coastal Navigator Join wall-followers to follow a complex “coastline” When a wall-follower terminates, make the appropriate turn, detect a new wall, and continue. Inside and outside corners, 90 and 180 deg. Orbit a box, a simple room, or the desks!

Color Follower Move to keep a desired color centered in the camera image. Train a color region from a given image. Follow an orange ball on a string, or a brightly-colored T-shirt. How quickly can the robot respond?

Problems and Solutions Time delay Static friction Pulse-width modulation Integrator wind-up Chattering Saturation, dead-zones, backlash Parameter drift

Unmodeled Effects Every controller depends on its simplified model of the world. –Every model omits almost everything. If unmodeled effects become significant, the controller’s model is wrong, –so its actions could be seriously wrong. Most controllers need special case checks. –Sometimes it needs a more sophisticated model.

Time Delay At time t, –Sensor data tells us about the world at t 1 < t. –Motor commands take effect at time t 2 > t. –The lag is dt = t 2  t 1. To compensate for lag time, –Predict future sensor value at t 2. –Specify motor command for time t 2. t1t1 t2t2 t now

Predicting Future Sensor Values Later, observers will help us make better predictions. Now, use a simple prediction method: –If sensor s is changing at rate ds/dt, –At time t, we get s(t 1 ), where t 1 < t, –Estimate s(t 2 ) = s(t 1 ) + ds/dt * (t 2 - t 1 ). Use s(t 2 ) to determine motor signal u(t) that will take effect at t 2. –"Smith predictor"

Static Friction (“Stiction”) Friction forces oppose the direction of motion. We’ve seen damping friction: F d =  f(v) Coulomb (“sliding”) friction is a constant F c depending on force against the surface. –When there is motion, F c =  –When there is no motion, F c =  +  Extra force is needed to unstick an object and get motion started.

Why is Stiction Bad? Non-zero steady-state error. –(runaway pendulum story) Stalled motors draw high current. –Running motor converts current to motion. –Stalled motor converts more current to heat. Whining from pulse-width modulation. –Mechanical parts bending at pulse frequency.

Pulse-Width Modulation A digital system works at 0 and 5 volts. –Analog systems want to output control signals over a continuous range. –How can we do it? Switch very fast between 0 and 5 volts. –Control the average voltage over time. Pulse-width ratio = t on /t period. (30-50  sec) t on t period

Pulse-Code Modulated Signal Some devices are controlled by the length of a pulse-code signal. –Position servo-motors, for example. 0.7ms 20ms 1.7ms 20ms

Back EMF Motor Control Motor torque is proportional to current. Generator voltage is proportional to velocity. The same physical device can be either a motor or a generator. Switch back and forth quickly, as in PWM. Drive as a motorSense as a generator 20ms

Back EMF Motor Control

Integrator Wind-Up Suppose we have a PI controller Motion might be blocked, but the integral is winding up more and more control action. Reset the integrator on significant events.

Chattering Changing modes rapidly and continually. –Bang-Bang controller with thresholds set too close to each other. –Integrator wind-up due to stiction near the setpoint, causing jerk, overshoot, and repeat.

Dead Zone A region where controller output does not affect the state of the system. –A system caught by static friction. –Cart-pole system when the pendulum is horizontal. –Cruise control when the car is stopped. Integral control and dead zones can combine to cause integrator wind-up problems.

Saturation Control actions cannot grow indefinitely. –There is a maximum possible output. –Physical systems are necessarily nonlinear. It might be nice to have bounded error by having infinite response. –But it doesn’t happen in the real world.

Backlash Real gears are not perfect connections. –There is space between the teeth. On reversing direction, there is a short time when the input gear is turning, but the output gear is not.

Parameter Drift Hidden parameters can change the behavior of the robot, for no obvious reason. –Performance depends on battery voltage. –Repeated discharge/charge cycles age the battery. A controller may compensate for small parameter drift until it passes a threshold. –Then a problem suddenly appears. –Controlled systems make problems harder to find

Unmodeled Effects Every controller depends on its simplified model of the world. –Every model omits almost everything. If unmodeled effects become significant, the controller’s model is wrong, –so its actions could be seriously wrong. Most controllers need special case checks. –Sometimes it needs a more sophisticated model.