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

Similar documents
Control. CSC752: Autonomous Robotic Systems. Ubbo Visser. March 9, Department of Computer Science University of Miami

Chapter 7 Control. Part Classical Control. Mobile Robotics - Prof Alonzo Kelly, CMU RI

Automatic Control Systems. -Lecture Note 15-

Application Note #3413

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

Lab 3: Model based Position Control of a Cart

MEAM 510 Fall 2012 Bruce D. Kothmann

Positioning Servo Design Example

MEAM 510 Fall 2011 Bruce D. Kothmann

Laboratory Exercise 1 DC servo

DC-motor PID control

Lab 7: EC-5, Faraday Effect Lab Worksheet

Analysis and Design of Control Systems in the Time Domain

SRV02-Series Rotary Experiment # 1. Position Control. Student Handout

Spontaneous Speed Reversals in Stepper Motors

Digital Control Semester Project

Index. Index. More information. in this web service Cambridge University Press

THE REACTION WHEEL PENDULUM

Lab 6d: Self-Erecting Inverted Pendulum (SEIP)

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

Equal Pitch and Unequal Pitch:

What happens when things change. Transient current and voltage relationships in a simple resistive circuit.

Lecture 25: Tue Nov 27, 2018

EE 474 Lab Part 2: Open-Loop and Closed-Loop Control (Velocity Servo)

FEEDBACK CONTROL SYSTEMS

Power System Analysis Prof. A. K. Sinha Department of Electrical Engineering Indian Institute of Technology, Kharagpur

2.004 Dynamics and Control II Spring 2008

Lab 3: Quanser Hardware and Proportional Control

9.1 Harmonic Motion. Motion in cycles. linear motion - motion that goes from one place to another without repeating.

Stepping Motors. Chapter 11 L E L F L D

IVR: Introduction to Control (IV)

Reglerteknik, TNG028. Lecture 1. Anna Lombardi

Acknowledgements. Control System. Tracking. CS122A: Embedded System Design 4/24/2007. A Simple Introduction to Embedded Control Systems (PID Control)

Passivity-based Control of Euler-Lagrange Systems

CAPACITORS / ENERGY STORED BY CAPACITORS / CHARGING AND DISCHARGING

Control Theory. Noel Welsh. 26 October Noel Welsh () Control Theory 26 October / 17

Rigid Manipulator Control

Lab 6a: Pole Placement for the Inverted Pendulum

Feedback Control of Linear SISO systems. Process Dynamics and Control

Mechatronics Modeling and Analysis of Dynamic Systems Case-Study Exercise

DO PHYSICS ONLINE MOTORS AND GENERATORS FARADAY S LAW ELECTROMAGNETIC INDUCTION

ELECTRICITY. Chapter ELECTRIC CHARGE & FORCE

RL 3: Reinforcement Learning

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation

Assignment 9. to roll without slipping, how large must F be? Ans: F = R d mgsinθ.

Power System Operations and Control Prof. S.N. Singh Department of Electrical Engineering Indian Institute of Technology, Kanpur. Module 3 Lecture 8

EE 422G - Signals and Systems Laboratory

WHAT A SINGLE JOINT IS MADE OF RA

D(s) G(s) A control system design definition

Power Electronics. Prof. B.G Fernandes. Department Of Electrical Engineering. Indian Institute of Technology, Bombay.

Dr Ian R. Manchester

Magnets attract some metals but not others

Lecture 8: Sensorless Synchronous Motor Drives

(Refer Slide Time 1:25)

Dynamics of Physical System Prof. S. Banerjee Department of Electrical Engineering Indian Institute of Technology, Kharagpur

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

Solutions to these tests are available online in some places (but not all explanations are good)...

AP Physics C - E & M

End-of-Chapter Exercises

Video 5.1 Vijay Kumar and Ani Hsieh

PHYSICAL SCIENCES: PAPER I

Overview of motors and motion control

E11 Lecture 13: Motors. Professor Lape Fall 2010

INC 341 Feedback Control Systems: Lecture 3 Transfer Function of Dynamic Systems II

Today. Why idealized? Idealized physical models of robotic vehicles. Noise. Idealized physical models of robotic vehicles

Control System Design

The Control of an Inverted Pendulum

Introduction to Feedback Control

Designing Information Devices and Systems II Fall 2018 Elad Alon and Miki Lustig Homework 7

ME 112 Mechanical Systems Design, Winter 2014

MCE493/593 and EEC492/592 Prosthesis Design and Control

Robust Speed and Position Control of Permanent Magnet Synchronous Motor Using Sliding Mode Controller with Fuzzy Inference

R10 JNTUWORLD B 1 M 1 K 2 M 2. f(t) Figure 1

Feedback design for the Buck Converter

Electron Theory of Charge. Electricity. 1. Matter is made of atoms. Refers to the generation of or the possession of electric charge.

Introduction to Control (034040) lecture no. 2

Instrument types and performance characteristics

PINBALL MACHINE HOW SCIENTIFIC IS A PINBALL MACHINE? WRITTEN AND CREATED BY: KATHRYN WILMOT JAYCE GRUPPEN LUKE HULSMAN

6) Motors and Encoders

Electric Machines I Three Phase Induction Motor. Dr. Firas Obeidat

Modelling the Temperature Changes of a Hot Plate and Water in a Proportional, Integral, Derivative Control System

(Refer Slide Time: 00:01:30 min)

Acceleration Feedback

Rotational Systems, Gears, and DC Servo Motors

CIRCUITS AND ELECTRONICS. Dependent Sources and Amplifiers

THE stick-slip friction system is known to exhibit very

State Feedback Controller for Position Control of a Flexible Link

Test Booklet. Subject: SC, Grade: HS 2008 Grade High School Physics. Student name:

Section 1 Electric Charge and Force

Feedback Basics. David M. Auslander Mechanical Engineering University of California at Berkeley. copyright 1998, D.M. Auslander

= ~ M3~ Figure 0.1: Sensor and sensorless modes

3 Electric current, resistance, energy and power

B1-1. Closed-loop control. Chapter 1. Fundamentals of closed-loop control technology. Festo Didactic Process Control System

Dynamic Electricity. All you need to be an inventor is a good imagination and a pile of junk. -Thomas Edison

The loop shaping paradigm. Lecture 7. Loop analysis of feedback systems (2) Essential specifications (2)

Teaching State Variable Feedback to Technology Students Using MATLAB and SIMULINK

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BSC (HONS) MECHATRONICS TOP-UP SEMESTER 1 EXAMINATION 2017/2018 ADVANCED MECHATRONIC SYSTEMS

(Refer Time Slide: 1:35)

Chapter 12. Magnetism and Electromagnetism

Transcription:

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.

At time t, Time Delay t 1 t t 2 now 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.

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 motor Sense as a generator 20ms

Back EMF Motor Control

Integrator Wind-Up Suppose we have a PI controller u(t) = "k P e(t) " k I # e dt + u b Motion might be blocked, but the integral is winding up more and more control action. u(t) = "k P e(t) + u b u b (t) = "k I e(t) Reset the integrator on significant events. t 0

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.