EL2520 Control Theory and Practice

Similar documents
Here represents the impulse (or delta) function. is an diagonal matrix of intensities, and is an diagonal matrix of intensities.

LQR, Kalman Filter, and LQG. Postgraduate Course, M.Sc. Electrical Engineering Department College of Engineering University of Salahaddin

EL2520 Control Theory and Practice

OPTIMAL CONTROL AND ESTIMATION

Chapter 3. LQ, LQG and Control System Design. Dutch Institute of Systems and Control

Contents. 1 State-Space Linear Systems 5. 2 Linearization Causality, Time Invariance, and Linearity 31

6.241 Dynamic Systems and Control

6.241 Dynamic Systems and Control

State Observers and the Kalman filter

Lecture 9. Introduction to Kalman Filtering. Linear Quadratic Gaussian Control (LQG) G. Hovland 2004

6 OUTPUT FEEDBACK DESIGN

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems. CDS 110b

Fall 線性系統 Linear Systems. Chapter 08 State Feedback & State Estimators (SISO) Feng-Li Lian. NTU-EE Sep07 Jan08

Contents lecture 5. Automatic Control III. Summary of lecture 4 (II/II) Summary of lecture 4 (I/II) u y F r. Lecture 5 H 2 and H loop shaping

5. Observer-based Controller Design

LINEAR QUADRATIC GAUSSIAN

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems. CDS 110b

Optimal control and estimation

Lecture 7 LQG Design. Linear Quadratic Gaussian regulator Control-estimation duality SRL for optimal estimator Example of LQG design for MIMO plant

Time-Invariant Linear Quadratic Regulators Robert Stengel Optimal Control and Estimation MAE 546 Princeton University, 2015

Automatic Control II Computer exercise 3. LQG Design

Linear Quadratic Gausssian Control Design with Loop Transfer Recovery

Chapter 9 Observers, Model-based Controllers 9. Introduction In here we deal with the general case where only a subset of the states, or linear combin

Autonomous Mobile Robot Design

Separation Principle & Full-Order Observer Design

Design Methods for Control Systems

16.31 Fall 2005 Lecture Presentation Mon 31-Oct-05 ver 1.1

Optimization-Based Control

Control Design. Lecture 9: State Feedback and Observers. Two Classes of Control Problems. State Feedback: Problem Formulation

SYSTEMTEORI - KALMAN FILTER VS LQ CONTROL

LQ Control of a Two Wheeled Inverted Pendulum Process

Lecture 10 Linear Quadratic Stochastic Control with Partial State Observation

Subject: Optimal Control Assignment-1 (Related to Lecture notes 1-10)

Linear-Quadratic-Gaussian Controllers!

Return Difference Function and Closed-Loop Roots Single-Input/Single-Output Control Systems

RECURSIVE ESTIMATION AND KALMAN FILTERING

EL 625 Lecture 10. Pole Placement and Observer Design. ẋ = Ax (1)

Linear-Quadratic-Gaussian (LQG) Controllers and Kalman Filters

Final Exam Solutions

ECE 388 Automatic Control

10/8/2015. Control Design. Pole-placement by state-space methods. Process to be controlled. State controller

Linear State Feedback Controller Design

Time-Invariant Linear Quadratic Regulators!

Limiting Performance of Optimal Linear Filters

A Comparative Study on Automatic Flight Control for small UAV

Pole placement control: state space and polynomial approaches Lecture 2

Stochastic Optimal Control!

I. D. Landau, A. Karimi: A Course on Adaptive Control Adaptive Control. Part 9: Adaptive Control with Multiple Models and Switching

Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science : MULTIVARIABLE CONTROL SYSTEMS by A.

MATH4406 (Control Theory) Unit 1: Introduction Prepared by Yoni Nazarathy, July 21, 2012

Control and Robustness for Quantum Linear Systems

Robust Control 5 Nominal Controller Design Continued

Chap. 3. Controlled Systems, Controllability

Lecture 12. Upcoming labs: Final Exam on 12/21/2015 (Monday)10:30-12:30

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules

Every real system has uncertainties, which include system parametric uncertainties, unmodeled dynamics

Multi-Model Adaptive Regulation for a Family of Systems Containing Different Zero Structures

Linear System Theory

Linear Systems Control

Lecture 5 Linear Quadratic Stochastic Control

Introduction to Model Order Reduction

FRTN 15 Predictive Control

Numerical atmospheric turbulence models and LQG control for adaptive optics system

Robust Multivariable Control

Steady State Kalman Filter

Denis ARZELIER arzelier

MODERN CONTROL DESIGN

LQR and H 2 control problems

EE C128 / ME C134 Final Exam Fall 2014

Decentralized LQG Control of Systems with a Broadcast Architecture

ẋ n = f n (x 1,...,x n,u 1,...,u m ) (5) y 1 = g 1 (x 1,...,x n,u 1,...,u m ) (6) y p = g p (x 1,...,x n,u 1,...,u m ) (7)

6.245: MULTIVARIABLE CONTROL SYSTEMS by A. Megretski. Solutions to Problem Set 1 1. Massachusetts Institute of Technology

Spectral factorization and H 2 -model following

FEL3210 Multivariable Feedback Control

Video 6.1 Vijay Kumar and Ani Hsieh

Extensions and applications of LQ

Communication constraints and latency in Networked Control Systems

João P. Hespanha. January 16, 2009

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Nonlinear Observers. Jaime A. Moreno. Eléctrica y Computación Instituto de Ingeniería Universidad Nacional Autónoma de México

ECE7850 Lecture 7. Discrete Time Optimal Control and Dynamic Programming

Zeros and zero dynamics

CBE507 LECTURE IV Multivariable and Optimal Control. Professor Dae Ryook Yang

X 2 3. Derive state transition matrix and its properties [10M] 4. (a) Derive a state space representation of the following system [5M] 1

Controllability, Observability, Full State Feedback, Observer Based Control

Exam in Automatic Control II Reglerteknik II 5hp (1RT495)

Introduction to Model Order Reduction

Gaussians. Pieter Abbeel UC Berkeley EECS. Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics

Optimal Polynomial Control for Discrete-Time Systems

An Adaptive LQG Combined With the MRAS Based LFFC for Motion Control Systems

AA/EE/ME 548: Problem Session Notes #5

Suppose that we have a specific single stage dynamic system governed by the following equation:

Overview of the Seminar Topic

Stochastic Models, Estimation and Control Peter S. Maybeck Volumes 1, 2 & 3 Tables of Contents

CONTROL DESIGN FOR SET POINT TRACKING

Computer Problem 1: SIE Guidance, Navigation, and Control

EEE582 Homework Problems

CONTROL SYSTEMS, ROBOTICS AND AUTOMATION CONTENTS VOLUME VII

Lecture 7 : Generalized Plant and LFT form Dr.-Ing. Sudchai Boonto Assistant Professor

TRACKING AND DISTURBANCE REJECTION

Transcription:

EL2520 Control Theory and Practice Lecture 8: Linear quadratic control Mikael Johansson School of Electrical Engineering KTH, Stockholm, Sweden

Linear quadratic control Allows to compute the controller F y (s) that minimizes for given (positive definite) weight matrices Q 1 and Q 2. Easy to influence control energy/transient performance trade-off 1.5 1 Output 0.5 0-0.5 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 x 10-3 0.3 0.2 Control 0.1 0-0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 x 10-3

Linear quadratic control Disadvantage of linear-quadratic control: Robustness and frequency-domain properties only indirectly Challenge: framework developed for stochastic disturbances Need to review stochastic disturbance models Have to skip some details (continuous-time stochastic processes technically tricky) Relation to H 1 control will be explored in next lecture.

Learning aims After this lecture, you should be able to model disturbances in terms of their spectra use spectral factorization to re-write disturbances as filtered white noise compute the LQG-optimal controller (observer/controller gains) describe how the LQG weights qualitatively affect the time responses Material: course book 5.1-5.4 + 9.1-9.3 + 9.A

State-space form State space description of multivariable linear system where x(t) is called the state vector, systems on state-space form often written as (A,B,C,D) Transfer matrix computed as

Controllability The state is controllable if, given x(0)=0, there exists u(t) such that x(t)= for some t<1. The system is controllable if all are controllable. The controllability matrix Controllable states can be written as for some α2 R mn System is controllable if S(A,B) has full rank (i.e., for each x there exists α such that x=s(a,b)α)

Observability The state is unobservable if and u(t)=0 for t>0 implies that y(t)=0 for t 0. The system is observable if no states are unobservable The observability matrix Unobservable states are solutions to System is observable if O(A,C) has full rank (i.e., only solves )

Modifying dynamics via state feedback Open loop system can be controlled using state feedback u(t)=-lx(t) è Q: can we choose L so that A-BL gets arbitrary eigenvalues? A: if and only if the system is controllable.

Observers The state vector of the system can be estimated using an observer Q: can we choose K so A-KC gets arbitrary eigenvalues? A: if and only if system is observable

Stabilizability and detectability Control objective concerns only outputs z of system, i.e., controllability and observability of all states may not be so important. Exception: must be able to control and observe unstable modes! A system (A,B) is stabilizable if there is L so that A-BL is stable A system (A,C) is detectable if there is K so that A-KC is stable

Today s lecture Recap: State-space represenation, state feedback and observers Review: Modeling disturbances as filtered white noise Linear quadratic Gaussian (LQG) control

Disturbances Disturbances model a wide range of phenomena that are not easily described in more detail, e.g. load variations, measurement noise, process variations, Important to model Size, frequency content and correlations between disturbances.

Signal sizes So far in the course, we have used the 2-norm If the integral does not converge, we can use A crude measure size (disregards frequency content of signal)

More informative measure How are z(t) related to z(t-τ)? One measure is For ergodic stochastic processes, we have (i.e., the covariance function of the signal)

Vector valued signals For vector-valued z, coupling between z i and z j can be described by Can be combined into matrix For ergodic stochastic processes, we get

Signal spectra Translating the signal measure to the frequency domain z(!) z(!) = Z 1 1 is called the spectrum of z. R z ( )e i! d Interpretation [ z(!)] ii measures the energy content of z i at frequency! [ z(!)] ij measures coupling of z i and z j at frequency! [ z(!)] ij =0 implies that z i and z j are uncorrelated A signal with constant for all is called white noise, z! (in this case, we call the covariance matrix of z) z

Examples: signals and spectra

Disturbances as filtered white noise Fact (spectral factorization): any spectrum which is rational in, can be represented as white noise filtered through a! 2 stable non-minimum phase linear system. (!) w, w(!) G v, v(!) =I G d w, w(!) G (see course book Theorem 5.1 for a precise statement)

State-space model with distubances If disturbances w 1 and w 2 are not white, but have spectra that can be obtained via w i = G i v i where v i is white noise, then we can re-write system as Note: is x augmented with the states from G 1, G 2 ; are A, B, augmented with state-space descriptions of G i

Today s lecture Recap: State-space represenation, state feedback and observers Recap: Modeling disturbances as filtered white noise Linear quadratic Gaussian (LQG) control

Linear quadratic Gaussian control Model: linear system with white noise where v 1, v 2 are white noise with Objective: minimize effect of v on z, punish control cost LQG: Linear system, Quadratic cost, Gaussian noise

Solution structure Optimal solution satisfies separation principle, composed of Optimal linear state feedback (Linear-quadratic regulator) Optimal observer (Kalman filter) G y Kalman filter u L ^x

Optimal solution State feedback where S is the solution to the algebraic Riccati equation Kalman filter where K=(PC T +NR 12 )R 2-1 and P is the solution to

Example: LQR for scalar system Scalar linear system with cost Riccati equation has solutions so the optimal feedback law is

Example: LQR for scalar system Closed loop system Note: if system is unstable (a>0), then if control is expensive then the minimum control input to stabilize the plant is obtained with the input u=-2 a x, which moves the unstable pole to its mirror image a if control is cheap (! 0), the closed loop bandwidth is roughly

Example: Scalar system Kalman filter Scalar linear system with covariances E{v 12 }=R 1, E{v 22 }=R 2, E{v 1 v 2 }=0. Riccati equation gives and estimation error dynamics Interpretation: measurements discarded if too noisy.

The Servo Problem Preferred way: augment system with reference model where the reference model states are measurable, and use However, when r is assumed to be constant the solution is where L ref is determined so that static gain of closed-loop (r z à z) equals the identity matrix

LQG and loop shaping LQG: simple to trade-off response-time vs. control effort but what about sensitivity and robustness? These aspects can be accounted for using the noise models Sensitivity function: transfer matrix w u à z Complementary: transfer matrix nà z Example: S forced to be small at low frequencies by letting (some component of) w 1 affect the output of the system, and let w 1 have large energy at low frequencies, (delta small, strictly positive, to ensure stabilizability)

LQG Control: pros and cons Pros: Simple to trade off response time vs. control effort Applies to multivariable systems Cons: Often hard to see connection between weight matrices Q 1, Q 2, R 1, R 2 and desired system properties (e.g. sensitivity, robustness, etc) In practice, iterative process in which Q 1 and Q 2 are adjusted until closed loop system behaves as desired Poor robustness properties in general

Summary State-space theory recap: Controllability, observability, stabilizability, detectability State feedback and observers Modeling disturbances as white noise Mean, covariance, spectrum Spectral factorization: disturbances as filtered white noise Linear-quadratic controller Kalman-filter + state feedback Obtained by solving Riccati equations Focuses on time-responses Loop shaping and robustness less direct