Lecture 4: Basic Concepts in Control CS 344R: Robotics Benjamin Kuipers.

Slides:



Advertisements
Similar presentations
Introductory Control Theory I400/B659: Intelligent robotics Kris Hauser.
Advertisements

Basics of Feedback Control
Chapter 4: Basic Properties of Feedback
FORCES and Newton’s 1 st Law. A force is a push or pull on an object which can cause the motion of the object to change. Forces cause accelerations! If.
Forces.
The Proportional-Integral-Derivative Controller
Feedback Controllers Chapter 8
Chapter 10 – The Design of Feedback Control Systems
Physics 218: Mechanics Instructor: Dr. Tatiana Erukhimova Lectures
LECTURE#11 PID CONTROL AUTOMATION & ROBOTICS
Basic Concepts in Control
Chapter 7 PID Control.
5. The Laws of Motion 5.1 The Concept of Force5.2 Newton’s First Law and Inertial Frames5.3 Mass5.4 Newton’s Second Law5.5 The Force of Gravity and Weight5.6.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
© 2007 Pearson Prentice Hall This work is protected by United States copyright laws and is provided solely for the use of instructors in teaching their.
Lecture 6: Control Problems and Solutions CS 344R: Robotics Benjamin Kuipers.
Ch. 6 Single Variable Control
Forces Chapter 4. Force & Motion Force-a push or a pull on an object System-the object(s) experiencing the force Environment-the world around the system.
DYNAMIC BEHAVIOR AND STABILITY OF CLOSED-LOOP CONTROL SYSTEMS
Models of Spring-Mass Systems Formulated as Cauchy Problems Ricky Bartels.
Control 1 Keypoints: The control problem Forward models: –Geometric –Kinetic –Dynamic Process characteristics for a simple linear dynamic system.
Quiz: What lateral acceleration does a pilot experience who is flying a jet at 350 m/s in a 1.00 km banked turn? a = v 2 /R a= (350. m/s) 2 /1000. m =
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.
Forces. Force: A push or a pull on an object. A vector quantity. Two Types of Forces: Contact Forces: When the object is directly pushed or pulled. Field.
Derivation of the proportionality of velocity and radius for an object in circular motion under a constant centripetal force.
Low Level Control. Control System Components The main components of a control system are The plant, or the process that is being controlled The controller,
* An object’s change in position relative to a reference point. * Without a reference point we are unable to see motion.
Lecture 9: Forces & Laws of Motion. Questions of Yesterday You must apply a force F to push your physics book across your desk at a constant velocity.
Feedback Control system
Lecture 5: Basic Dynamical Systems CS 344R: Robotics Benjamin Kuipers.
PID CONTROLLERS By Harshal Inamdar.
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.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
© 2007 Pearson Prentice Hall This work is protected by United States copyright laws and is provided solely for the use of instructors in teaching their.
Lecture 17: Introduction to Control (part III)
Newton’s Laws of Motion. “A body will remain at rest or will continue to move with constant velocity unless external forces cause it to do otherwise”
Features of PID Controllers
Control 3 Keypoints: PID control
Lecture 16: Introduction to Control (Part II)
Chapter 4 A First Analysis of Feedback Feedback Control A Feedback Control seeks to bring the measured quantity to its desired value or set-point (also.
Feedback Controllers Chapter 8
REVISION NEWTON’S LAW. Quantity with magnitude and direction. e.g. displacement, velocity, acceleration, force and weight.. VECTOR Quantity having only.
Forces & Motion. What is a Force? Force: push or pull Unit: Newton (N)  Kg x m/s 2 Vector: has both magnitude & direction.
Concept 2: Motions and Forces Analyze relationships between forces and motion. 1. Determine the rate of change of a quantity 2. Analyze the relationships.
Vern J. Ostdiek Donald J. Bord Chapter 2 Newton’s Laws.
Flow of signal So you have a sensor, now to process data taken from a sensor you will need a processing unit and that is your controller. sensorcontroller.
Lecture 9: PID Controller.
L7-s1,9 Physics 114 – Lecture 7 Chapter 4 Dynamics: Newton’s Laws of Motion We now investigate why bodies undergo motion. Why do bodies accelerate? They.
Dynamics. Motion with Regard to Mass Particle Dynamics Mass concentrated in point Newton’s Equation Governs Motion f = M x.
1 Physics: Chapter 4 Forces & the Laws of Motion Topics:4-1 Changes in Motion 4-2 Newton’s First Law 4-3 Newton’s Second & Third Laws 4-4 Everyday Forces.
Intelligent Robot Lab Pusan National University Intelligent Robot Lab Chapter 7. Forced Response Errors Pusan National University Intelligent Robot Laboratory.
General Physics I Lecturer: Rashadat Gadmaliyev Lecture 4: Dynamics; Force, Newton’s Laws.
BIRLA VISHWAKARMA MAHAVIDHYALAYA ELECTRONICS & TELECOMUNICATION DEPARTMENT o – ANKUR BUSA o – KHUSHBOO DESAI UNDER THE GUIDENCE.
Force and Motion–I Chapter 5. Newton's First and Second Laws A force: o Is a “push or pull” acting on an object o Causes acceleration We will focus on.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Lecture 2 Objects in Motion Aristotle and Motion Galileo’s Concept of Inertia Mass – a Measure of Inertia Net Force and Equilibrium Speed and Velocity.
EEN-E1040 Measurement and Control of Energy Systems Control I: Control, processes, PID controllers and PID tuning Nov 3rd 2016 If not marked otherwise,
Control Loops Nick Schatz FRC 3184.
Newton’s Laws of Motion
Electronic Control Systems Week 7 – PID Control
Lecture 10: Observers and Kalman Filters
Forces and Newton’s Laws of Motion
Forces & Motion.
Dynamical Systems Basics
Forces and Newton’s Laws of Motion
Control.
How does gravity affect falling objects?
Presentation transcript:

Lecture 4: Basic Concepts in Control CS 344R: Robotics Benjamin Kuipers

Controlling a Simple System Consider a simple system: –Scalar variables x and u, not vectors x and u. –Assume x is observable: y = G(x) = x –Assume effect of motor command u: The setpoint x set is the desired value. –The controller responds to error: e = x  x set The goal is to set u to reach e = 0.

The intuitions behind control Use action u to push back toward error e = 0 What does pushing back do? –Velocity versus acceleration control How much should we push back? –What does the magnitude of u depend on?

Velocity or acceleration control? Velocity: Acceleration:

Laws of Motion in Physics Newton’s Law: F=ma or a=F/m. But Aristotle said: –Velocity, not acceleration, is proportional to the force on a body. Who is right? Why should we care? –(We’ll come back to this.)

The Bang-Bang Controller Push back, against the direction of the error Error: To prevent chatter around Household thermostat. Not very subtle.

Proportional Control Push back, proportional to the error. –Set u b so that For a linear system, exponential convergence. The controller gain k determines how quickly the system responds to error.

Velocity Control You want the robot to move at velocity v set. You command velocity v cmd. You observe velocity v obs. Define a first-order controller: –k is the controller gain.

Steady-State Offset Suppose we have continuing disturbances: The P-controller cannot stabilize at e = 0. –Why not?

Steady-State Offset Suppose we have continuing disturbances: The P-controller cannot stabilize at e = 0. –If u b is defined so F(x set,u b ) = 0 –then F(x set,u b ) + d  0, so the system is unstable Must adapt u b to different disturbances d.

Nonlinear P-control Generalize proportional control to Nonlinear control laws have advantages –f has vertical asymptote: bounded error e –f has horizontal asymptote: bounded effort u –Possible to converge in finite time. –Nonlinearity allows more kinds of composition.

Stopping Controller Desired stopping point: x=0. –Current position: x –Distance to obstacle: Simple P-controller: Finite stopping time for

Derivative Control Damping friction is a force opposing motion, proportional to velocity. Try to prevent overshoot by damping controller response. Estimating a derivative from measurements is fragile, and amplifies noise.

Adaptive Control Sometimes one controller isn’t enough. We need controllers at different time scales. This can eliminate steady-state offset. –Why?

Adaptive Control Sometimes one controller isn’t enough. We need controllers at different time scales. This can eliminate steady-state offset. –Because the slower controller adapts u b.

Integral Control The adaptive controller means Therefore The Proportional-Integral (PI) Controller.

The PID Controller A weighted combination of Proportional, Integral, and Derivative terms. The PID controller is the workhorse of the control industry. Tuning is non-trivial. –Next lecture includes some tuning methods.

Habituation Integral control adapts the bias term u b. Habituation adapts the setpoint x set. –It prevents situations where too much control action would be dangerous. Both adaptations reduce steady-state error.

Types of Controllers Feedback control –Sense error, determine control response. Feedforward control –Sense disturbance, predict resulting error, respond to predicted error before it happens. Model-predictive control –Plan trajectory to reach goal. –Take first step. –Repeat.

Laws of Motion in Physics Newton’s Law: F=ma or a=F/m. But Aristotle said: –Velocity, not acceleration, is proportional to the force on a body. Who is right? Why should we care?

Who is right? Aristotle! Try it! It takes constant force to keep an object moving at constant velocity. –Ignore brief transients Aristotle was a genius to recognize that there could be laws of motion, and to formulate a useful and accurate one. This law is true because our everyday world is friction-dominated.

Who is right? Newton! Newton’s genius was to recognize that the true laws of motion may be different from what we usually observe on earth. For the planets, without friction, motion continues without force. For Aristotle, “force” means F external. For Newton, “force” means F total. –On Earth, you must include F friction.

From Newton back to Aristotle F total = F external + F friction F friction =  f(v) for some monotonic f. Thus: Velocity v moves quickly to equilibrium: Terminal velocity v final depends on: –F ext, m, and the friction function f(v). –So Aristotle was right! In a friction-dominated world.