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

Slides:



Advertisements
Similar presentations
PID Control Professor Walter W. Olson
Advertisements

Pole Placement.
PID Controllers and PID tuning
استاد محترم : دکتر توحيدخواه ارائه دهنده : فاطمه جهانگيري.
SacMan Control Tuning Bert Clemmens Agricultural Research Service.
Robotics Research Laboratory 1 Chapter 6 Design Using State-Space Methods.
Chapter 10 Stability Analysis and Controller Tuning
Ratio Control Chapter 15.
PID Control -1 + Professor Walter W. Olson
Introduction to Control: How Its Done In Robotics R. Lindeke, Ph. D. ME 4135.
Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.
Model Predictive Control for Humanoid Balance and Locomotion Benjamin Stephens Robotics Institute.
280 SYSTEM IDENTIFICATION The System Identification Problem is to estimate a model of a system based on input-output data. Basic Configuration continuous.
The City College of New York 1 Jizhong Xiao Department of Electrical Engineering City College of New York Manipulator Control Introduction.
Controller Tuning: A Motivational Example
Control Theory (2) Jeremy Wyatt School of Computer Science University of Birmingham.
Modeling, Simulation, and Control of a Real System Robert Throne Electrical and Computer Engineering Rose-Hulman Institute of Technology.
Model Predictive Controller Emad Ali Chemical Engineering Department King Saud University.
Process Control Instrumentation II
Internal Model Controller Design for a Robot arm By Vishal Kumar Advisor: Gary L. Dempsey 5/6/08 Bradley University Department of Computer and Electrical.
Chapter 8. The PID Controller Copyright © Thomas Marlin 2013
Lecture 4: Basic Concepts in Control CS 344R: Robotics Benjamin Kuipers.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
Ch. 6 Single Variable Control
Introductory Control Theory CS 659 Kris Hauser.
Book Adaptive control -astrom and witten mark
PSE and PROCESS CONTROL
Time-Varying Angular Rate Sensing for a MEMS Z-Axis Gyroscope Mohammad Salah †, Michael McIntyre †, Darren Dawson †, and John Wagner ‡ Mohammad Salah †,
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Feedback Control.
Controller Design (to determine controller settings for P, PI or PID controllers) Based on Transient Response Criteria Chapter 12.
20/10/2009 IVR Herrmann IVR:Control Theory OVERVIEW Control problems Kinematics Examples of control in a physical system A simple approach to kinematic.
Introduction to ROBOTICS
Chapter 5 Transient and Steady State Response “I will study and get ready and someday my chance will come” Abraham Lincoln.
Model Reference Adaptive Control (MRAC). MRAS The Model-Reference Adaptive system (MRAS) was originally proposed to solve a problem in which the performance.
Power PMAC Tuning Tool Overview. Power PMAC Servo Structure Versatile, Allows complex servo algorithms be implemented Allows 2 degree of freedom control.
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,
Control of Robot Manipulators
Reinforcement Learning Control with Robust Stability Chuck Anderson, Matt Kretchmar, Department of Computer Science, Peter Young, Department of Electrical.
Motor Control. Beyond babbling Three problems with motor babbling: –Random exploration is slow –Error-based learning algorithms are faster but error signals.
Pioneers in Engineering, UC Berkeley Pioneers in Engineering Week 8: Sensors and Feedback.
Introductory Control Theory. Control Theory The use of feedback to regulate a signal Controller Plant Desired signal x d Signal x Control input u Error.
Introduction to Biped Walking
PID CONTROLLERS By Harshal Inamdar.
Review: Neural Network Control of Robot Manipulators; Frank L. Lewis; 1996.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
ME 431 System Dynamics Dept of Mechanical Engineering.
PID Control of Car Position Exercises in Manual Tuning.
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
Lec 11. Common Controllers Some commonly used controllers –Proportional Controller –Integration Controller –Derivative Controller Reading: 5-8. TexPoint.
Subsea Control and Communications Systems
Features of PID Controllers
1 Lecture 15: Stability and Control III — Control Philosophy of control: closed loop with feedback Ad hoc control thoughts Controllability Three link robot.
Controllability Analysis for Process and Control System Design
Control. 3 Motion Control (kinematic control) for mobile platform The objective of a kinematic controller is to follow a trajectory described by its position.
ChE 433 DPCL Model Based Control Smith Predictors.
Control Engineering. Introduction What we will discuss in this introduction: – What is control engineering? – What are the main types of control systems?
Intelligent Robot Lab Pusan National University Intelligent Robot Lab Chapter 7. Forced Response Errors Pusan National University Intelligent Robot Laboratory.
SKEE 3143 Control Systems Design Chapter 2 – PID Controllers Design
1 PID Feedback Controllers PID 反馈控制器 Dai Lian-kui Shen Guo-jiang Institute of Industrial Control, Zhejiang University.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Control Systems EE 4314 Lecture 12 March 17, 2015
Presentation at NI Day April 2010 Lillestrøm, Norway
Introduction to Control Systems Objectives
Lec 14. PID Controller Design
Control Loops Nick Schatz FRC 3184.
Controller Tuning: A Motivational Example
Features of PID Controllers
Dynamical Systems Basics
Chapter 7 Inverse Dynamics Control
Presentation transcript:

Introductory Control Theory I400/B659: Intelligent robotics Kris Hauser

Control Theory The use of feedback to regulate a signal Controller Plant Desired signal x d Signal x Control input u Error e = x-x d (By convention, x d = 0) x = f(x,u)

What might we be interested in? Controls engineering Produce a policy u(x,t), given a description of the plant, that achieves good performance Verifying theoretical properties Convergence, stability, optimality of a given policy u(x,t)

Agenda PID control Feedforward + feedback control Control is a huge topic, and we wont dive into much detail

Model-free vs model-based Two general philosophies: Model-free: do not require a dynamics model to be provided Model-based: do use a dynamics model during computation Model-free methods: Simpler Tend to require much more manual tuning to perform well Model-based methods: Can achieve good performance (optimal w.r.t. some cost function) Are more complicated to implement Require reasonably good models (system-specific knowledge) Calibration: build a model using measurements before behaving Adaptive control: learn parameters of the model online from sensors

PID control Proportional-Integral-Derivative controller A workhorse of 1D control systems Model-free

Proportional term u(t) = -K p x(t) Negative sign assumes control acts in the same direction as x x t Gain

Integral term x t Residual steady-state errors driven asymptotically to 0 Integral gain

Instability For a 2 nd order system (momentum), P control x t Divergence

Derivative term u(t) = -K p x(t) – K d x(t) x Derivative gain

Putting it all together

Parameter tuning

Example: Damped Harmonic Oscillator Second order time invariant linear system, PID controller x(t) = A x(t) + B x(t) + C + D u(x,x,t) For what starting conditions, gains is this stable and convergent?

Stability and Convergence System is stable if errors stay bounded System is convergent if errors -> 0

Example: Damped Harmonic Oscillator x = A x + B x + C + D u(x,x) PID controller u = -K p x –K d x – K i I x = (A-DK p ) x + (B-DK d ) x + C - D K i I Assume K i =0…

Homogenous solution Instable if A-DK p > 0 Natural frequency 0 = sqrt(DK p -A) Damping ratio =(DK d -B)/2 0 If > 1, overdamped If < 1, underdamped (oscillates)

Example: Trajectory following x des (t) x(t)

Controller Tuning Workflow Hypothesize a control policy Analysis: Assume a model Assume disturbances to be handled Test performance either through mathematical analysis, or through simulation Go back and redesign control policy Mathematical techniques give you more insight to improve redesign, but require more work

Example

Feedforward control If we know a model for a system and know how it should move, why dont we just compute the correct control? Ex: damped harmonic oscillator x = A x + B x + C + D u Calculate a trajectory x(t) leading to x(T)=0 at some point T Compute its 1 st and 2 nd derivatives x(t), x(t) Solve for u(t) = 1/D*(x(t) - A x(t) + B x(t) + C) Would be perfect!

Feedforward control If we know a model for a system and know how it should move, why dont we just compute the correct control? Ex: damped harmonic oscillator x = A x + B x + C + D u Calculate a trajectory x(t) leading to x(T)=0 at some point T Compute its 1 st and 2 nd derivatives x(t), x(t) Solve for u(t) = 1/D*(x(t) - A x(t) + B x(t) + C) Problems Control limits: trajectory must be planned with knowledge of control constraints Disturbances and modeling errors: open loop control leads to errors not converging to 0

Handling errors: feedforward + feedback Idea: combine feedforward control u ff with feedback control u fb e.g., u fb computed with PID control Feedback term doesnt have to work as hard (= 0 ideally) Plant u ff Feedforward calculation x(0) + u fb Feedback controller u x(t) x des

Application: Feedforward control Feedback control: let torques be a function of the current error between actual and desired configuration Problem: heavy arms require strong torques, requiring a stiff system Stiff systems become unstable relatively quickly

Application: Feedforward control Solution: include feedforward torques to reduce reliance on feedback Estimate the torques that would compensate for gravity and achieve desired accelerations (inverse dynamics), send those torques to the motors

Handling errors: feedforward + feedback Idea: combine feedforward control u ff with feedback control u fb e.g., u fb computed with PID control Feedback term doesnt have to work as hard (= 0 ideally) Plant u ff Feedforward calculation x(0) + u fb Feedback controller u x(t) x des Model based Model free

Model predictive control (MPC) Idea: repeatedly compute feedforward control using model of the dynamics In other words, rapid replanning Plant Feedforward calculation u=u ff x(t) x des

MPC to avoid moving obstacles

Next class: Sphero Lab You will design a feedback controller for the move command