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

Similar documents
Control Systems Lab - SC4070 Control techniques

CBE507 LECTURE III Controller Design Using State-space Methods. Professor Dae Ryook Yang

Chapter 6 State-Space Design

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

Analysis of Discrete-Time Systems

Analysis of Discrete-Time Systems

Control System Design

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

Module 9: State Feedback Control Design Lecture Note 1

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

Controls Problems for Qualifying Exam - Spring 2014

Optimal Polynomial Control for Discrete-Time Systems

State Observers and the Kalman filter

Chapter 3. State Feedback - Pole Placement. Motivation

Control Systems Design

Design Methods for Control Systems

Optimal control and estimation

5. Observer-based Controller Design

EL2520 Control Theory and Practice

Lecture Note #6 (Chap.10)

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

Control Systems. Design of State Feedback Control.

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

Control Systems Design, SC4026. SC4026 Fall 2010, dr. A. Abate, DCSC, TU Delft

Full State Feedback for State Space Approach

Linear State Feedback Controller Design

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

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

Systems and Control Theory Lecture Notes. Laura Giarré

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

ECE 680 Fall Test #2 Solutions. 1. Use Dynamic Programming to find u(0) and u(1) that minimize. J = (x(2) 1) u 2 (k) x(k + 1) = bu(k),

Advanced Control Theory

Sampling of Linear Systems

EEE582 Homework Problems

4F3 - Predictive Control


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

Quis custodiet ipsos custodes?

Advanced Process Control Tutorial Problem Set 2 Development of Control Relevant Models through System Identification

Pole-Placement Design A Polynomial Approach

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

EE C128 / ME C134 Fall 2014 HW 9 Solutions. HW 9 Solutions. 10(s + 3) s(s + 2)(s + 5) G(s) =

CONTROL DESIGN FOR SET POINT TRACKING

Exam. 135 minutes, 15 minutes reading time

Numerical atmospheric turbulence models and LQG control for adaptive optics system

Observers for Linear Systems with Unknown Inputs

CDS 101/110a: Lecture 8-1 Frequency Domain Design

Control Systems. State Estimation.

Rural/Urban Migration: The Dynamics of Eigenvectors

Lec 6: State Feedback, Controllability, Integral Action

Problem 2 (Gaussian Elimination, Fundamental Spaces, Least Squares, Minimum Norm) Consider the following linear algebraic system of equations:

MODERN CONTROL DESIGN

ON CHATTERING-FREE DISCRETE-TIME SLIDING MODE CONTROL DESIGN. Seung-Hi Lee

Course Outline. Higher Order Poles: Example. Higher Order Poles. Amme 3500 : System Dynamics & Control. State Space Design. 1 G(s) = s(s + 2)(s +10)

RECURSIVE ESTIMATION AND KALMAN FILTERING

Modelling and Control of Dynamic Systems. Stability of Linear Systems. Sven Laur University of Tartu

ẋ 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)

Process Modelling, Identification, and Control

LINEAR QUADRATIC GAUSSIAN

State Feedback MAE 433 Spring 2012 Lab 7

State Feedback and State Estimators Linear System Theory and Design, Chapter 8.

Intro. Computer Control Systems: F9

Ingegneria dell Automazione - Sistemi in Tempo Reale p.1/28

Feedback Control of Linear SISO systems. Process Dynamics and Control

Digital Control Systems State Feedback Control

Pole placement control: state space and polynomial approaches Lecture 2

Outline. Classical Control. Lecture 1

4F3 - Predictive Control

Chapter 2. Classical Control System Design. Dutch Institute of Systems and Control

Discrete and continuous dynamic systems

MATH4406 (Control Theory) Unit 6: The Linear Quadratic Regulator (LQR) and Model Predictive Control (MPC) Prepared by Yoni Nazarathy, Artem

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering 2.04A Systems and Controls Spring 2013

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11

MAE 143B - Homework 8 Solutions

Outline. 1 Full information estimation. 2 Moving horizon estimation - zero prior weighting. 3 Moving horizon estimation - nonzero prior weighting

Moving Horizon Estimation (MHE)

Intermediate Process Control CHE576 Lecture Notes # 2

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

Motor Controller. A block diagram for the motor with a feedback controller is shown below

Lecture 15: H Control Synthesis

Chapter 8 Stabilization: State Feedback 8. Introduction: Stabilization One reason feedback control systems are designed is to stabilize systems that m

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

EE C128 / ME C134 Final Exam Fall 2014

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

University of Toronto Department of Electrical and Computer Engineering ECE410F Control Systems Problem Set #3 Solutions = Q o = CA.

Chap 8. State Feedback and State Estimators

AERT 2013 [CA'NTI 19] ALGORITHMES DE COMMANDE NUMÉRIQUE OPTIMALE DES TURBINES ÉOLIENNES

Linear Quadratic Regulator (LQR) Design II

Digital Control: Part 2. ENGI 7825: Control Systems II Andrew Vardy

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

Course on Model Predictive Control Part II Linear MPC design

Lecture 2 and 3: Controllability of DT-LTI systems

Enhancing Transient Response of Asymptotic Regulation with Disturbance Onset

Infinite Horizon LQ. Given continuous-time state equation. Find the control function u(t) to minimize

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

Control of Manufacturing Processes

Note. Design via State Space

CHAPTER 4 STATE FEEDBACK AND OUTPUT FEEDBACK CONTROLLERS

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

Transcription:

Lecture 9: State Feedback and s [IFAC PB Ch 9] State Feedback s Disturbance Estimation & Integral Action Control Design Many factors to consider, for example: Attenuation of load disturbances Reduction of the effect of measurement noise Command signal following Variations and uncertainties in process behavior Two Classes of Control Problems Regulation problems: compromise between reduction of load disturbances and injection of measurement noise Lecture 9 Servo problems: make the output respond to command signals in the desired way Lecture State Feedback: Problem Formulation Discrete-time process model x(k + = Φx(k+ Γu(k Linear feedback from all states u(k = Lx(k Disturbances modelled by nonzero x( =x Reasonable stability margins required Control signal magnitude must be reasonable 3 4 Closed-Loop System The state equation x(k + = Φx(k+ Γu(k with the control law u(k = Lx(k gives the closed-loop system x(k + =[Φ ΓL] x(k Choose L to obtain the desired characteristic equation det(zi Φ + Γ L = (Matlab: place or acker Example Double Integrator x(k + = h x(k+ h / u(k h Linear state-feedback controller Closed-loop system becomes u(k = Lx(k = l x (k l x (k x(k + =(Φ ΓLx(k = l h / h l h / x(k l h l h Characteristic equation ( ( z l h + + l l h h z + l h + = 6

Example Cont d Characteristic equation ( ( z l h + + l l h h z + l h + = Assume desired characteristic equation z + a z + a =. Solution: Example Cont d l = h ( + a + a l = h (3 + a a Linear equations for l and l l h + l l h h = a l h + = a Linear in l, l for every a, a L depends on h 7 8 Where to Place the Poles? Example Choice of Design Parameters Recall from Lecture 7: Loci of constant ζ (solid and ω h (dashed when Double integrator, x T ( =[], ω h =.44, ζ =.77 (b ω =. (dash-dotted, (c ω = (dashed, (d ω = (solid is sampled: Imaginary axis. ω s + ζωs + ω ζ= ζ =. ζ =.4 ζ =.6 ζ =.8 (a Output (c (b (d ζ =... Real axis 9 Deadbeat Control Only in Discrete State Feedback in Controllable Form Choose P(z =z n h only remaining design parameter Drives all states to zero in at most n steps after an impulse disturbance in the states. Finite time as opposed to infinite time in continuous time. Example: Double integrator, x T ( =[] h = (a Output h = h =. We previously derived the controllable canonical form 3 3 a a... a n... x(k + = 6. 4..... 7 x(k+ 6 4 7. u(k In this case, application of the state feedback u = l x l nx n changes the coefficients a,...,a n to a + l,...,a n + l n,sothe characteristic polynomial changes to z n +(a + l z n + +(a n + l n z + a n + l n Design method: Transform to controllable canonical form, apply state feedback, transform the controller back again Ackermann s formula (see IFAC PB

Controllability The eigenvalues of Φ Γ L can be assigned to arbitrary positions if and only if the system is controllable, i.e.ifthe matrix W c = Γ ΦΓ... Φ n Γ Reconstruction What should you do if you can not measure the full state vector or if you have noisy measurements? has full rank. In practice, moving some eigenvalues could require very high gain and lead to very bad controllers. 3 4 Reconstruction Through Direct Calculations Basic idea: Reconstruct the state vector through direct calculations using the input and output sequences y(k, y(k,..., u(k, u(k l,... together with the state-space model of the plant. Explained in detail in IFAC PB pg 6 6 Make sure that you understand it (a lot of notation but not difficult! Often sensitive to disturbances. A better alternative is to use the model information explicitly. Reconstruction Using x(k + = Φx(k+ Γu(k y(k =Cx(k Introduce "feedback" from measured y(k ˆx(k + = Φ ˆx(k+ Γu(k+ K [y(k C ˆx(k] Form the estimation error x = x ˆx x(k + = Φ x(k KC x(k =[Φ KC] x(k C. Any eigenvalues possible, provided W o =. full rank CΦ n Choose K to get good convergence Trade-off against noise amplification 6 Deadbeat A deadbeat observer is obtained if the observer gain K is chosen so that the matrix Φ KC has all eigenvalues zero. The observer error goes to zero in finite time (in at most n steps, where n is the order of the system Noise sensitive (fast observer dynamics Equivalent to reconstruction using direct calculations. for the Double Integrator Φ KC = h k = k h k Characteristic equation k Desired characteristic equation: z ( k z + k + k h = z + p z + p = Gives: k = p k + k h = p 7 8

for the Double Integrator cont d An Alternative Solution: k = + p k =( + p + p /h The observer presented so far has a one sample delay: ˆx(k k depends only on measurements up to time k Alternative observer with direct term: Assume deadbeat observer (p = p = k = k = /h Resulting observer ( ˆx (k + = ˆx (k+hˆx (k+ y(k ˆx (k ˆx (k + = ˆx (k+ ( y(k ˆx (k h ˆx(k k =Φ ˆx(k k +Γu(k [ ( ] + K y(k C Φ ˆx(k k +Γu(k ( =(I KC Φ ˆx(k k +Γu(k + Ky(k Reconstruction error: x(k k =x(k ˆx(k k =(Φ KCΦ x(k k Φ KCΦ can be given arbitrary eigenvalues if Φ KC can K may be chosen so that some of the states will be observed directly through y the order of the observer can be reduced 9 Reduced order observer or Luenberger observer Output Feedback Analysis of the Closed-Loop System State feedback from observed state: ˆ x L u Process y x(k + = Φx(k+ Γu(k x(k + =(Φ KC x(k u(k = L ˆx(k = L(x(k x(k Controller: ˆx(k + = Φ ˆx(k+ Γu(k+ K (y(k C ˆx(k u(k = L ˆx(k Eliminate u(k x(k + = Φ Γ L Γ L x(k x(k + Φ KC x(k Separation Transfer function from y to u: L(zI Φ + Γ L + KC K Control poles: A c (z =det(zi Φ + Γ L poles: A o (z =det(zi Φ + KC Disturbance Estimation How to handle disturbances that can not be modeled as impulse disturbances in the process state? Assume that the process is described by dx = Ax + Bu + v dt y = Cx where v is a disturbance modeled as dw dt = A ww v = C w w Since disturbances typically have most of their energy at low frequencies, the eigenvalues of A w are typically in the origin or on the imaginary axis (sinusoidal disturbance Disturbance Estimation Augment the state vector: x w Gives the augmented system d x = A C w x + B u dt w A w w y = C x w which is sampled into x(k + = Φ Φ xw x(k + Γ u(k w(k + Φ w w(k y = C x(k w(k 3 4

Augmented and State Feedback Disturbance Estimation: Block Diagram Augmented observer: ˆx(k + = Φ Φ xw ˆx(k + Γ u(k+ K ɛ(k ŵ(k + Φ w ŵ(k K w with ɛ(k =y(k Cˆx(k x ˆ ŵ L L w u Process y Augmented state feedback control law: u(k = L ˆx(k L w ŵ(k If possible, select L w such that Φ xw Γ L w = 6 Disturbance Estimation: Closed-Loop System The closed-loop system can be written x(k + =(Φ ΓLx(k+(Φ xw Γ L w w + Γ L x(k+γl w w w(k + =Φ w w(k x(k + =(Φ KC x(k+φ xw w(k w(k + =Φ w w(k K w C x(k L ensures that x goes to zero at the desired rate after a disturbance. The gain L w reduces the effect of the disturbance v on the system by feedforward from the estimated disturbances ŵ. K and K w influence the rate at which the estimation errors go to zero. Special Case: Constant Disturbance Assume constant disturbance acting on the plant input: v = w Φ w = Φ xw = Γ If we choose L w = we will have perfect cancellation of the load disturbance New controller + estimator u(k = Lˆx(k ˆv(k ( ˆx(k + =Φ ˆx(k+Γ ˆv(k+u(k + K ɛ(k ˆv(k + = ˆv(k+K w ɛ(k ɛ(k =y(k Cˆx(k 7 8 ˆ x ε Special Case: Block Diagram L Disturbance State v ˆ u v Process The disturbance estimator is integrating the prediction error of the observer. The overall controller will have integral action y 9 Example Design Control of double integrator dx dt = x + u y = x Sample with h =.44 Discrete state feedback designed based on continuoustime specification ω =, ζ =.7 Gives L =[.73.] Extended observer assuming constant input disturbance to obtain integral action; all three poles placed in z =.7. 3

(a (b (c Output Disturbance Example Simulation.. Optimization-Based Design Pole-placement design: L and K derived through pole-placement In the course Multivariable Control (Flervariabel Reglering, Lp Vt L and K are instead derived through optimization LQ (Linear Quadratic and LQG (Linear Quadratic Gaussian control Short overview in Ch of IFAC PB Not part of this course 3 3 Examples in Matlab >> A = [ ; ]; >> B = [; ]; >> h =.44; >> % Sampled system matrices >> [Phi,Gamma] = cd(a,b,h >> % Desired poles in continuous time >> omega = ; zeta =.7; >> pc = roots([ *zeta*omega omega^] >> % Corresponding desired discrete poles >> pd = exp(pc*h >> % Design state feedback >> L = place(phi,gamma,pd >> % Design augmented observer >> Phie = [Phi Gamma; zeros(, ]; >> Ce = [C ]; >> Ke = acker(phie,ce,[.7.7.7] 33