Intro. Computer Control Systems: F8

Similar documents
Intro. Computer Control Systems: F9

Lec 6: State Feedback, Controllability, Integral Action

Control Systems I. Lecture 4: Diagonalization, Modal Analysis, Intro to Feedback. Readings: Emilio Frazzoli

Topic # Feedback Control

CONTROL DESIGN FOR SET POINT TRACKING

Control Systems I. Lecture 5: Transfer Functions. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

1. Find the solution of the following uncontrolled linear system. 2 α 1 1

Linear System Theory

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

Balanced Truncation 1

Solution of Linear State-space Systems

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

Observability. Dynamic Systems. Lecture 2 Observability. Observability, continuous time: Observability, discrete time: = h (2) (x, u, u)

Module 03 Linear Systems Theory: Necessary Background

ECE 388 Automatic Control

Control Systems. Laplace domain analysis

ECEN 605 LINEAR SYSTEMS. Lecture 7 Solution of State Equations 1/77

The disturbance decoupling problem (DDP)

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

Module 09 From s-domain to time-domain From ODEs, TFs to State-Space Modern Control

Control Systems I. Lecture 6: Poles and Zeros. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

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

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

EE221A Linear System Theory Final Exam

5. Observer-based Controller Design

ECEN 605 LINEAR SYSTEMS. Lecture 8 Invariant Subspaces 1/26

POLE PLACEMENT. Sadegh Bolouki. Lecture slides for ECE 515. University of Illinois, Urbana-Champaign. Fall S. Bolouki (UIUC) 1 / 19

Control Systems Design

EEE582 Homework Problems

CDS Solutions to the Midterm Exam

Identification Methods for Structural Systems

State will have dimension 5. One possible choice is given by y and its derivatives up to y (4)

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

ACM/CMS 107 Linear Analysis & Applications Fall 2016 Assignment 4: Linear ODEs and Control Theory Due: 5th December 2016

Perspective. ECE 3640 Lecture 11 State-Space Analysis. To learn about state-space analysis for continuous and discrete-time. Objective: systems

Autonomous system = system without inputs

Module 07 Controllability and Controller Design of Dynamical LTI Systems

ECE504: Lecture 9. D. Richard Brown III. Worcester Polytechnic Institute. 04-Nov-2008

SYSTEMTEORI - ÖVNING 5: FEEDBACK, POLE ASSIGNMENT AND OBSERVER

ELEC 3035, Lecture 3: Autonomous systems Ivan Markovsky

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

Full State Feedback for State Space Approach

ECE 602 Exam 2 Solutions, 3/23/2011.

Introduction to Nonlinear Control Lecture # 4 Passivity

Observability and state estimation

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

ECEEN 5448 Fall 2011 Homework #4 Solutions

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science : Dynamic Systems Spring 2011

Solution for Homework 5

Topics in control Tracking and regulation A. Astolfi

PARAMETERIZATION OF STATE FEEDBACK GAINS FOR POLE PLACEMENT

Lecture 19 Observability and state estimation

Kalman Decomposition B 2. z = T 1 x, where C = ( C. z + u (7) T 1, and. where B = T, and

Zeros and zero dynamics

Linear Systems. Linear systems?!? (Roughly) Systems which obey properties of superposition Input u(t) output

EC Control Engineering Quiz II IIT Madras

Chap. 3. Controlled Systems, Controllability

Introduction to Modern Control MT 2016

Control, Stabilization and Numerics for Partial Differential Equations

Lecture 4 and 5 Controllability and Observability: Kalman decompositions

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

Introduction to Computer Control Systems

Topic # Feedback Control

Topic # Feedback Control. State-Space Systems Closed-loop control using estimators and regulators. Dynamics output feedback

MEM 355 Performance Enhancement of Dynamical Systems MIMO Introduction

Exam in Systems Engineering/Process Control

Some solutions of the written exam of January 27th, 2014

Nonlinear Control Systems

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)

1 Continuous-time Systems

Nonlinear Control. Nonlinear Control Lecture # 6 Passivity and Input-Output Stability

Nonlinear Control Systems

Control Systems. Frequency domain analysis. L. Lanari

4F3 - Predictive Control

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

Control engineering sample exam paper - Model answers

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

There are none. Abstract for Gauranteed Margins for LQG Regulators, John Doyle, 1978 [Doy78].

Topic # /31 Feedback Control Systems

Modeling and Analysis of Dynamic Systems

ECE504: Lecture 10. D. Richard Brown III. Worcester Polytechnic Institute. 11-Nov-2008

ME 234, Lyapunov and Riccati Problems. 1. This problem is to recall some facts and formulae you already know. e Aτ BB e A τ dτ

Chap 4. State-Space Solutions and

Solution via Laplace transform and matrix exponential

Robust Control 2 Controllability, Observability & Transfer Functions

1. The Transition Matrix (Hint: Recall that the solution to the linear equation ẋ = Ax + Bu is

Linear System Theory

Linearization problem. The simplest example

CDS Solutions to Final Exam

Controllability. Chapter Reachable States. This chapter develops the fundamental results about controllability and pole assignment.

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

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

Control Systems I. Lecture 2: Modeling and Linearization. Suggested Readings: Åström & Murray Ch Jacopo Tani

Module 08 Observability and State Estimator Design of Dynamical LTI Systems

Pole placement control: state space and polynomial approaches Lecture 2

Module 9: State Feedback Control Design Lecture Note 1

Stability of Parameter Adaptation Algorithms. Big picture

Control Systems I. Lecture 2: Modeling. Suggested Readings: Åström & Murray Ch. 2-3, Guzzella Ch Emilio Frazzoli

Contents lecture 6 2(17) Automatic Control III. Summary of lecture 5 (I/III) 3(17) Summary of lecture 5 (II/III) 4(17) H 2, H synthesis pros and cons:

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

Transcription:

Intro. Computer Control Systems: F8 Properties of state-space descriptions and feedback Dave Zachariah Dept. Information Technology, Div. Systems and Control 1 / 22 dave.zachariah@it.uu.se

F7: Quiz! 2 / 22 dave.zachariah@it.uu.se

F7: Quiz! 1) The state-space description of a system is a not unique b unique c stable 2 / 22 dave.zachariah@it.uu.se

F7: Quiz! 1) The state-space description of a system is a not unique b unique c stable 2) The eigenvalues of the system matrix A reveals something about a poles b zeros c the closed-loop system 2 / 22 dave.zachariah@it.uu.se

F7: Quiz! 1) The state-space description of a system is a not unique b unique c stable 2) The eigenvalues of the system matrix A reveals something about a poles b zeros c the closed-loop system 3) Solution to ẋ = Ax + Bu with initial condition x 0 is obtained using a a linear system of equations b the matrix exponential c the Nyquist contour 2 / 22 dave.zachariah@it.uu.se

Nonlinear time-invariant systems 3 / 22 dave.zachariah@it.uu.se

Nonlinear systems and states Most systems are nonlinear! Nonlinear differential equations: ẋ = f(x, u) y = h(x, u) Linearize around operating point x 0, u 0. Typically use a stationary point: ẋ = f(x 0, u 0 )=0 4 / 22 dave.zachariah@it.uu.se

Nonlinear systems and states Nonlinear differential equations: ẋ = f(x, u) y = h(x, u) Taylor series expansion around stationary point x 0, u 0 with y 0 = h(x 0, u 0 ) results in linear deviation model: x = A x + B u y = C x + D u Linear state-space description of the deviations around the operating point of system. Matrices A, B, C and D given by derivatives of f(x, u) and h(x, u) with respect to x and u. See ch. 8.4 G&L. 4 / 22 dave.zachariah@it.uu.se

Feedback control using states 5 / 22 dave.zachariah@it.uu.se

State-feedback control State space description of linear time-invariant system ẋ = Ax + Bu y = Cx Y (s) = G(s)U(s) G u x y (si A) 1 B C 6 / 22 dave.zachariah@it.uu.se

State-feedback control State space description of linear time-invariant system ẋ = Ax + Bu y = Cx G(s) = C(sI A) 1 B u x y (si A) 1 B C 6 / 22 dave.zachariah@it.uu.se

State-feedback control Idea: Feedback control using states u = Lx + l 0 r, where L and l 0 are design parameters. rl 0 u x y (si A) 1 B C + L ẋ = Ax + B ( Lx + l 0 r) }{{} =u 6 / 22 dave.zachariah@it.uu.se

State-feedback control rl 0 u x y (si A) 1 B C + L Closed-loop system from r to y comes: ẋ = Ax + B ( Lx + l 0 r) = (A BL)x + Bl 0 r y = Cx Is it possible to control the system to all states x in R n? design the closed-loop system s poles? (estimate the state x(t)?) 6 / 22 dave.zachariah@it.uu.se

Controllability 7 / 22 dave.zachariah@it.uu.se

Controllability A sought state x is controllable if some input u(t) can move the system from x(0) = 0 to x(t ) = x x(t) x 8 / 22 dave.zachariah@it.uu.se

Controllability For x 0 = 0, we can compute the state at t = T T x(t ) = e At x 0 + e Aτ Bu(T τ)dτ 0 8 / 22 dave.zachariah@it.uu.se

Controllability Med x 0 = 0 är tillståndet vid t = T Therefore: x(t ) = T 0 e Aτ Bu(T τ)dτ = via Cayley-Hamiltons theorem = Bγ 0 + ABγ 1 + + A n 1 Bγ n 1 x(t ) is a linear combination of B, AB,..., A n 1 B. A state x is controllable if it can be expressed as such a linear combination, i.e., if x is in the column space of S [B AB A n 1 B] 8 / 22 dave.zachariah@it.uu.se

Controllability x(t ) x Figur : Example column space of S and non-controllable state x. Controllable system All states x are controllable S:s columns are linearly independent Note: rank(s) = n or det(s) 0 8 / 22 dave.zachariah@it.uu.se

Controllability x(t ) x Figur : Example column space of S and non-controllable state x. Controllable canonical form System is controllable It can be written on controllable canonical form 8 / 22 dave.zachariah@it.uu.se

Observability 9 / 22 dave.zachariah@it.uu.se

Observability Assume u(t) 0. A state x 0 is unobservable if the output y(t) 0 when system starts at x(0) = x. y(t) = Cx(t) x t 10 / 22 dave.zachariah@it.uu.se

Observability When u(t) 0 we obtain y(t) = Cx(t) = Ce At x +0 When y(t) 0 we do not observe any changes in the output: That is, d k dt k y(t) t=0 = CA k x =0. Cx = 0, CAx = 0,..., CA n 1 x = 0 10 / 22 dave.zachariah@it.uu.se

Observability When u(t) 0 and y(t) 0 we observe no changes: Cx = 0, CAx = 0,..., CA n 1 x = 0 or where O Ox = 0 C CA. CA n 1 Therefore: A state x 0 is unobservable if it belongs to the null space of O. 10 / 22 dave.zachariah@it.uu.se

Observability y(t) = Cx(t) x t Figur : Example null space of O and unobservable state x. Observable system All states x are observable O:s columns are linearly independent Note: rank(o) = n or det(o) 0 10 / 22 dave.zachariah@it.uu.se

Observability y(t) = Cx(t) x t Figur : Example null space of O and unobservable state x. Observable canonical form System is observable It can be written on observable canonical form 10 / 22 dave.zachariah@it.uu.se

Build intuition 11 / 22 dave.zachariah@it.uu.se

Build intuition from simple systems Example: controllable system System on controllable canonical form: [ 2 1 ẋ(t) = 1 0 Transfer function: y(t) = [ 1 G(s) = C(sI A) 1 B = 1 ] x(t) ] x(t) + [ ] 1 u(t) 0 s + 1 s 2 + 2s + 1 = s + 1 (s + 1) 2 = 1 s + 1 [Board: investigate observability using O] 12 / 22 dave.zachariah@it.uu.se

Build intuition from simple systems Example: controllable system System on controllable canonical form: [ 2 1 ẋ(t) = 1 0 Transfer function: y(t) = [ 1 G(s) = C(sI A) 1 B = 1 ] x(t) ] x(t) + [ ] 1 u(t) 0 s + 1 s 2 + 2s + 1 = s + 1 (s + 1) 2 = 1 s + 1 [Board: investigate observability using O] [ ] 1 1 O = det O = 0 unonbservable 1 1 12 / 22 dave.zachariah@it.uu.se

Build intuition from simple systems Example: observable system System on observable canonical form: [ ] 2 1 ẋ(t) = x(t) + 1 0 Transfer function: y(t) = [ 1 G(s) = C(sI A) 1 B = 0 ] x(t) [ ] 1 u(t) 1 s + 1 s 2 + 2s + 1 = s + 1 (s + 1) 2 = 1 s + 1 [Board: investigate controllability using S] 13 / 22 dave.zachariah@it.uu.se

Build intuition from simple systems Example: observable system System on observable canonical form: [ ] 2 1 ẋ(t) = x(t) + 1 0 Transfer function: y(t) = [ 1 G(s) = C(sI A) 1 B = 0 ] x(t) [ ] 1 u(t) 1 s + 1 s 2 + 2s + 1 = s + 1 (s + 1) 2 = 1 s + 1 [Board: investigate controllability using S] [ ] 1 1 S = det S = 0 non-controllable 1 1 13 / 22 dave.zachariah@it.uu.se

Build intuition from simple systems Exemple: controllable and observable system Systems in previous examples have the same transfer function G(s) = 1 s + 1. Can also be written in state-space form ẋ(t) = x(t) + u(t), y(t) = x(t). where x(t) is a scalar. [Board: investigate S and O] 14 / 22 dave.zachariah@it.uu.se

Build intuition from simple systems Exemple: controllable and observable system Systems in previous examples have the same transfer function G(s) = 1 s + 1. Can also be written in state-space form ẋ(t) = x(t) + u(t), y(t) = x(t). where x(t) is a scalar. [Board: investigate S and O] S = 1 O = 1 det S = 1 det O = 1 controllable and observable (1) Note: we eliminated invisible states 14 / 22 dave.zachariah@it.uu.se

Minimal realization 15 / 22 dave.zachariah@it.uu.se

Minimal realization System with transfer function G(s) and state-space form ẋ = Ax + Bu y = Cx u x y (si A) 1 B C Definition 8.2 G&L State-space form of G(s) is a minimal realization if vector x has the smallest possible dimension. 16 / 22 dave.zachariah@it.uu.se

Minimal realization System with transfer function G(s) and state-space form ẋ = Ax + Bu y = Cx u x y (si A) 1 B C Definition 8.2 G&L State-space form of G(s) is a minimal realization if vector x has the smallest possible dimension. Result 8.11(+8.12) G&L A state-space form is minimal realization controllable and observable A:s eigenvalues = G(s):s poles 16 / 22 dave.zachariah@it.uu.se

Design of state-feedback control 17 / 22 dave.zachariah@it.uu.se

State-feedback control State-space model with controller u = Lx + l 0 r where L = [ l 1 l 2 l n ] 18 / 22 dave.zachariah@it.uu.se

State-feedback control State-space model with controller u = Lx + l 0 r where L = [ l 1 l 2 l n ] Closed-loop system ẋ = (A BL)x + Bl 0 r y = Cx 18 / 22 dave.zachariah@it.uu.se

State-feedback control State-space model with controller u = Lx + l 0 r where L = [ l 1 l 2 l n ] Closed-loop system as a transfer function Output is Y (s) = G c (s)r(s), where G c (s) = C(sI A + BL) 1 Bl 0 18 / 22 dave.zachariah@it.uu.se

State-feedback control State-space model with controller u = Lx + l 0 r where L = [ l 1 l 2 l n ] System matrix of closed-loop system: (A BL) Eigenvalues/poles given by polynomial equation det(si A + BL) = 0 which we can design via L! 18 / 22 dave.zachariah@it.uu.se

State-feedback control Design of the gain l 0 Y (s) = G c (s)r(s) where G c (s) = C(sI A + BL) 1 Bl 0. It is desirable to have at least G c (0) = 1 19 / 22 dave.zachariah@it.uu.se

State-feedback control Design of the gain l 0 Y (s) = G c (s)r(s) where G c (s) = C(sI A + BL) 1 Bl 0. It is desirable to have at least G c (0) = 1 G c (0) = C( A + BL) 1 Bl 0 = 1 and so l 0 = 1 C( A + BL) 1 B 19 / 22 dave.zachariah@it.uu.se

State-feedback control Design of the gain l 0 Y (s) = G c (s)r(s) where G c (s) = C(sI A + BL) 1 Bl 0. It is desirable to have at least G c (0) = 1 G c (0) = C( A + BL) 1 Bl 0 = 1 and so l 0 = 1 C( A + BL) 1 B More generally, replace l 0 r with F r (s)r(s) How to design L? 19 / 22 dave.zachariah@it.uu.se

Build intuition from simple systems Exemple: state-vector in R 2 y u Figur : Force u(t) and position y(t). State-space form: [ ] [ ] 0 1 0 ẋ = x + u k/m 0 1/m y = [ 1 0 ] x [Board: design L so that closed-loop system has poles -2 and -3] 20 / 22 dave.zachariah@it.uu.se

Pole placement State-feedback control rl 0 u x y (si A) 1 B C + L Result 9.1 State-space form is controllable L can be designed to yield arbitrarily placed poles (real and complex-conjugated) of the closed-loop system 21 / 22 dave.zachariah@it.uu.se

Pole placement State-feedback control rl 0 u x y (si A) 1 B C + L Result 9.1 State-space form is controllable L can be designed to yield arbitrarily placed poles (real and complex-conjugated) of the closed-loop system L solved by det(si A + BL) = 0 with desired roots L very simple to solve for system on controllable canonical form 21 / 22 dave.zachariah@it.uu.se

Pole placement State-feedback control rl 0 u x y (si A) 1 B C + L Result 9.1 State-space form is controllable L can be designed to yield arbitrarily placed poles (real and complex-conjugated) of the closed-loop system L solved by det(si A + BL) = 0 with desired roots L very simple to solve for system on controllable canonical form What to do when we can t measure x directly? 21 / 22 dave.zachariah@it.uu.se

Summary and recap Linearization of nonlinear system models Properties: Controllable Observable Minimal realization State-feedback control Pole placement for the closed-loop system 22 / 22 dave.zachariah@it.uu.se