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

Similar documents
Control Systems. Frequency domain analysis. L. Lanari

Control Systems. Laplace domain analysis

Solution of Linear State-space Systems

Observability. It was the property in Lyapunov stability which allowed us to resolve that

Lecture 2. Introduction to Systems (Lathi )

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

Linear dynamical systems with inputs & outputs

Chapter 1 Fundamental Concepts

Control Systems (ECE411) Lectures 7 & 8

Intro. Computer Control Systems: F8

MULTIVARIABLE ZEROS OF STATE-SPACE SYSTEMS

ECE557 Systems Control

Observability and state estimation

10 Transfer Matrix Models

e st f (t) dt = e st tf(t) dt = L {t f(t)} s

Lecture 2 and 3: Controllability of DT-LTI systems

Advanced Control Theory

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

School of Engineering Faculty of Built Environment, Engineering, Technology & Design

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

Lecture 19 Observability and state estimation

Identification Methods for Structural Systems

9.5 The Transfer Function

1.4 Unit Step & Unit Impulse Functions

Problem Set 3: Solution Due on Mon. 7 th Oct. in class. Fall 2013

Analog Signals and Systems and their properties

16.30 Estimation and Control of Aerospace Systems

I System variables: states, inputs, outputs, & measurements. I Linear independence. I State space representation

Systems and Control Theory Lecture Notes. Laura Giarré

Introduction to Modern Control MT 2016

EG4321/EG7040. Nonlinear Control. Dr. Matt Turner

Chapter 1 Fundamental Concepts

Topic # Feedback Control

Lecture 2 Discrete-Time LTI Systems: Introduction

Intro. Computer Control Systems: F9

Full State Feedback for State Space Approach

Modeling and Analysis of Dynamic Systems

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

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

Multivariable Control. Lecture 03. Description of Linear Time Invariant Systems. John T. Wen. September 7, 2006

CDS Solutions to Final Exam

Chapter 2: Time-Domain Representations of Linear Time-Invariant Systems. Chih-Wei Liu

EE 380. Linear Control Systems. Lecture 10

CONTROL DESIGN FOR SET POINT TRACKING

LTI Systems (Continuous & Discrete) - Basics

Dynamical system. The set of functions (signals) w : T W from T to W is denoted by W T. W variable space. T R time axis. W T trajectory space

CDS Solutions to the Midterm Exam

Chap 4. State-Space Solutions and

Motivation. From SS to TF (review) Realization: From TF to SS. MECH468 Modern Control Engineering MECH550P Foundations in Control Engineering

Chapter 2 Time-Domain Representations of LTI Systems

Linear System Theory

EE Control Systems LECTURE 9

Multivariable Control. Lecture 05. Multivariable Poles and Zeros. John T. Wen. September 14, 2006

Systems and Control Theory Lecture Notes. Laura Giarré

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

Raktim Bhattacharya. . AERO 632: Design of Advance Flight Control System. Norms for Signals and Systems

Chapter 3 Convolution Representation

Reachability and Controllability

Lecture 5: Linear Systems. Transfer functions. Frequency Domain Analysis. Basic Control Design.

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

ECEEN 5448 Fall 2011 Homework #4 Solutions

Solving a RLC Circuit using Convolution with DERIVE for Windows

6.241 Dynamic Systems and Control

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

Module 07 Controllability and Controller Design of Dynamical LTI Systems

Lecture 3. Chapter 4: Elements of Linear System Theory. Eugenio Schuster. Mechanical Engineering and Mechanics Lehigh University.

Systems Analysis and Control

Equilibrium points: continuous-time systems

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Dynamic Response

Series RC and RL Time Domain Solutions

TRACKING AND DISTURBANCE REJECTION

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

Noise - irrelevant data; variability in a quantity that has no meaning or significance. In most cases this is modeled as a random variable.

Module 02 Control Systems Preliminaries, Intro to State Space

EE263: Introduction to Linear Dynamical Systems Review Session 6

Source-Free RC Circuit

Interconnection of LTI Systems

Transfer function and linearization

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

Topic # Feedback Control Systems

One-Sided Laplace Transform and Differential Equations

Control Systems. Time response

U(s) = 0 + 0s 3 + 0s 2 + 0s + 125

Robust Control 2 Controllability, Observability & Transfer Functions

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

5. Observer-based Controller Design

Control Systems Design

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

Modeling and Control Overview

ME Fall 2001, Fall 2002, Spring I/O Stability. Preliminaries: Vector and function norms

Linear System Theory. Wonhee Kim Lecture 1. March 7, 2018

Linear System Theory

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2010

Review of Linear Time-Invariant Network Analysis

The Generalized Laplace Transform: Applications to Adaptive Control*

Differential and Difference LTI systems

University Question Paper Solution

A Tutorial on Recursive methods in Linear Least Squares Problems

Module 4. Related web links and videos. 1. FT and ZT

Lecture 7: Laplace Transform and Its Applications Dr.-Ing. Sudchai Boonto

Transcription:

Linear Systems Linear systems?!? (Roughly) Systems which obey properties of superposition Input u(t) output Our interest is in dynamic systems Dynamic system means a system with memory of course including those without memory - memoryless Linear memoryless system y(t) =Ku(t) Causal dynamic system eg y(t) =L(u(t)) L( u 1 (t)+ u (t)) = L(u 1 (t)) + L(u (t)) y(t) = Z t t e (t y(t) =fn(u( ) : apple t) ) u( ) d linearity of the integral implies linearity of this system See the discussion in Kailath Chapter 1 for the subtleties of linearity We like linear systems because of: their simplicity, the availability of tools (like matlab), their local approximation of many physical systems, their amenability for control system design, their propensity for conceptualization 1

Continuous-time State-space Linear Systems Continuous time: time t is a real variable on a connected interval ẋ(t) =A(t)x(t)+B(t)u(t), y(y) =C(t)x(t)+D(t)u(t), x() x R n,u R k y R m t [, 1) signals are the input, state and output The first equation is the state equation and the second is the output or measurement equation u :[, 1)! R k,x:[, 1)! R n,y:[, 1)! R m The state equation is incomplete It needs to have its initial value x() specified in order to yield a unique solution for the state and for the output Linearity ensures that the response is the sum of the input response (zero state response) and the initial condition response (zero input response) For scalar inputs, k=1, we say the system is single-input For k 1, we say the system is multi-input Likewise, single-output for m=1 and multi-output for m 1 SISO - single-input/single-output MIMO - multi-input/multi-output MISO and SIMO sometimes also used State-space encompasses MIMO as easily (with as much difficulty) as SISO

Discrete-time State-space Linear Systems Discrete time: time t takes on discrete values t=kt, k=,-1,,1,, as multiples of the sampling time T We often take just the sample number k as the index and start at So t N there is a need for care if T changes x(t + 1) = A(t)x(t)+B(t)u(t), x(), y(t) =C(t)x(t)+D(t)u(t), x R n,u R k y R m We can write this as x + = A t x + B t u, y = C t x + D t u, x The state equation is a first-order n-vector difference equation Sometimes, we denote a system just by its matrices S = apple At C t B t D t 3

Linear Time-invariant State-space Systems Time-invariance of a system is the property that the response y(t) to input u (t) =u 1 (t + ) y (t) =y 1 (t + ) is for any value of Note that we need to be careful that we handle the time interval properly here, eg t [, 1), so we need to consider the zero state response LTI continuous-time system ẋ(t) =Ax(t)+Bu(t), x() y(t) =Cx(t)+Du(t) LTI discrete-time system x(t + 1) = Ax(t)+Bu(t), x() y(t) =Cx(t)+Du(t) Briefly ẋ = Ax + Bu, x,y= Cx + Du x + = Ax + Bu, x,y= Cx + Du More briefly S : apple A C B D

Where do linear state-space systems come from? Basic principles: physics, chemistry, finance, computation System identification (MAE83A/B): time-series analysis of experimental data Example: Rocket motion We need two initial conditions Define the state Then ẋ(t) = M(t)ÿ(t) = Dẏ(t)+u(t) y(), ẏ() appleẏ(t) x(t) = y(t) appleÿ(t) apple appleẏ(t) apple D/M(t) 1/M (t) = ẏ(t) 1 y(t) + = A(t)x(t)+ B(t)u(t) u(t) x() = appleẏ() y() y(t) = 1 apple ẏ(t) y(t) + u(t) = C(t)x(t)+ D(t)u(t) 5

The concept of state The state of a system at time t is a sufficient set of information so that, given all future (t>t) inputs, we can compute exactly all future outputs y(t) This is a fundamental of systems theory and does NOT coincide with the use of the word state in most other realms, notably quantum mechanics The state provides a distinct separation between past and future hence the connection to dynamics and memory Note the connection to initial conditions and ODEs A finite-dimensional system can restart from a finite set of initial data An infinite-dimensional system, such as ẏ(t) = y(t 1) + u(t), cannot In many physical problems, the state variables are related to the elements figuring in energy position and velocity in the rocket, inductor currents and capacitor voltages in circuits memory storage stability dissipation

input u(t) + _ R i L A Circuit Example output + C v(t) - KVL: Ri(t)+L di (t)+v(t) =u(t) dt i(t) =C dv dt (t) capacitor relation =) Use the initial conditions to define the state di(t) dt dv(t) dt x(t) = = 1 [ Ri(t) v(t)+u(t)] L = 1 C i(t) apple i(t) v(t) This yields the LTI state-space system ẋ = apple R/L 1/L 1/C v = 1 x apple il () x() = v C () State-space ideas really took hold first in circuit theory Capacitor voltages and inductors currents are the natural state variables Resistors are memoryless Note the connection between memory and energy storage here 7 x + apple 1/L u

State-space realization of ODEs Consider the LTI n th -order system described by the ODE d n y dt n + a 1 d n Clearly, we need initial conditions to solve this so let us define a state x(t) = y (n y (n 3 1) (t) ) (t) 7 5 y (t) y(t) 3 y (n) (t) 1) (t) 7 y (t) 5 y (t) y (n Then =ẋ(t) = 1 y dt n 1 + + a n 1 dy dt + a ny = u 3 3 a 1 a a n 1 a n 1 1 1 x(t)+ u(t) 7 7 5 5 1 y(t) = 1 x(t) 8

More General State-space Realization of ODEs Consider a general LTI n th -order system described by an ODE Define the state similarly to (but not the same as) before Then Why? d n y dt n + a 1 1 y dt n 1 + + a dy n 1 dt + a d n 1 u ny = b 1 dt n 1 + + b n 1 d n (more on that later) Same initial conditions 3 z (n) (t) 1) (t) 7 z (t) 5 z (t) z (n =ẋ(t) = z(t)=xn is the response to u, so xn-1 is the response to u, etc du dt + b nu y(), y (), y (),,y (n 1) () 3 3 a 1 a a n 1 a n 1 1 1 x(t)+ u(t) 7 7 5 5 1 y(t) = b 1 b b n 1 b n x(t) This is known as the controllable canonical form state-space realization of the transfer function describing the ODE system 9

State-space Realization of LTI Difference Systems y(t + n)+a 1 y(t + n 1) + + a n y(t) =u(t) An n th -order ODE Initial conditions are clearly Take as state Then y(), y(1),,y(n 1) That is, given these values and {u(i): i=,1, } we can uniquely determine the future values of the output {y(i): i=n,n+1, } y(t + 1) y(t) x(t) = y(t n + 3) y(t n + ) 3 7 5 y(t) y(t 1) y(t n + ) y(t n + 1) = x(t + 1) = 3 7 5 3 3 a 1 a a n 1 a n 1 1 1 x(t)+ 7 7 5 5 1 y(t) = 1 x(t) u(t) 1

Same initial conditions vector x(t) More General LTI Difference System y(t + n)+a 1 y(t + n 1) + + a n y(t) =b 1 u(t + n 1) + + b n u(t) x(t + 1) = but a slightly different state y(), y(1),,y(n 1) 3 3 a 1 a a n 1 a n 1 1 1 x(t)+ u(t) 7 7 5 5 1 y(t) = b 1 b b n 1 b n x(t) This difference equation corresponds to the z-domain transfer function z n Y (z)+a 1 z n 1 Y (z)+ + a n Y (z) =b 1 z n 1 U(z)+ + b n U(z) (z n + a 1 z n 1 + + a n )Y (z) =(b 1 z n 1 + + b n )U(z) Y (z) = b 1 z n 1 + + b n z n + a 1 z n 1 U(z) + + a n = b 1z 1 + b z + + b n z n 1+a 1 z 1 + + a n z n U(z) 11

The ODE d n y dt n + a 1 d n Transfer Function Realization 1 y dt n 1 + + a dy n 1 dt + a d n 1 u ny = b 1 dt n 1 + + b n 1 du dt + b nu corresponds to the s-domain transfer function Y (s) = b 1s n 1 + b s n + + b n s n + a 1 s n 1 + + a n U(s) = G(s)U(s) Take Laplace transforms of the state equation ẋ(t) =Ax(t)+Bu(t) y(t) =Cx(t) sx(s) x( )=AX(s)+BU(s) Y (s) =CX(s) (si A)X(s) =x( )+BU(s) X(s) =(si A) 1 BU(s)+(sI A) 1 x( ) Y (s) =C(sI A) 1 BU(s)+C(sI A) 1 x( ) The transfer function is given by Discrete-time is identical G(s) =C(sI A) 1 B G(z) =C(zI A) 1 B 1

Transfer Function Realization continued Recall the formula for the inverse of a matrix det is the determinant adj M is the adjoint of M - the matrix of cofactors [cofij M] Try the example cofij M is the determinant of the submatrix of M obtained by deleting row i and column j multiplied by (-1) i+j G(s) =C(sI A) 1 B 1 = det(si A) C[adj (si A)]T B 3 1 8 A = 1 5, B = 1 C = 1 1 M 1 = 1 det M 3 1 5 (adj M)T Now try the same A, B and Next try A = C = 1 3 3 3 1 1 1 5, B = 5, C = 1 1 1 13

Now About Those Initial Conditions Discrete-time first Initial conditions for n th -order system: state-space realization: Can we reconstruct x() from Start by solving the equation x(t + 1) = Ax(t)+Bu(t) y(t) =Cx(t)+Du(t) y(), y(1),,y(n 1) and y(), y(1),,y(n 1) u(),,u(n 1) x(1) = Ax() + Bu() x() = Ax(1) + Bu(1) = A x() + ABu() + Bu(1) x(3) = Ax() + Bu() = A 3 x() + A Bu() + ABu(1) + Bu() x(n 1) = A n 1 x() + A n Bu() + A n 3 Bu(1) + + ABu(n 3) + Bu(n ) 1

From state recursion Initial Conditions y() = Cx() y(1) CBu() = CAx() y() CABu() CBu(1) = CA x() whence y(n 1) CA n Bu() CBu(n ) = CA n 1 x() C CA CA CA n 1 3 x() = 7 5 y() y(1) CBu() y() CABu() CBu(1) y(n 1) CA n Bu() CBu(n ) 3 7 5 If the matrix at left is full rank, ie rank n, then we can solve uniquely for the initial state, x(), in terms of the initial ys and us if present This conditions is called observability and is a property of the state-variable realization Failing observability is having too high a state dimension for the system which is like having a pole-zero cancellation in the transfer function 15

Improper Transfer Functions What if the degree of the numerator exceeds that of the denominator? G(z) = z3 z +z +1 z z +5 z +5 =z +1+ z z +5 =z +1+ 5 apple z 1 5 1 z Note that this corresponds to an anticipatory transfer function Outputs depend on future inputs - not physical 1 apple 1 At best the output depends on the current and past inputs G(z) =D + C(zI A) 1 B x(t + 1) = Ax(t)+Bu(t) Proper transfer functions are non-anticipatory and Strictly proper transfer functions are proper and y(t) =Cx(t)+Du(t) D = lim G(z) < 1 z!1 D = lim G(z) = z!1 In continuous-time properness means that the system does not yield derivatives of the input 1

Impulse Responses of LTI State-space Systems Recall the definition of the impulse response This is the zero-state response when the input is an impulse x()= and u(t)=δ(t) continuous Dirac-δ function or discrete Kronecker δt With MIMO mxk systems we need to specify the input channel which of the k possible input rows contains the impulse For such a system, the impulse response is a sequence of mxk matrices {h i : i =, 1,}, h i R m k ẋ(t) =Ax(t)+Bu i (t), x() =, u j (t) = (t)e j y j (t) =Cx(t), j =1,,,k, {e j } standard basis of R k Laplace transforms Y j (s) =C(sI A) 1 Be j = C(sI A) 1 B :,j The mxk matrix transfer function C(sI A) 1 B comprises the k individual impulse response Laplace transforms side-by-side Discrete-time uses the same argument with z-transforms 17

Equivalent State-space Realizations Consider our LTI state-space system For nonsingular matrix Then define the vector So [A, B, C, D, x()] and [T AT 1,TB,CT 1,D,Tx()] realize the same system for any nonsingular T The input-output behaviors are identical These realizations are called equivalent T is called an equivalence transformation or similarity transformation Note the following x(t) =T ẋ(t), T R n n = T Ax(t)+TBu(t) = T AT 1 x(t)+tbu(t) y(t) =Cx(t)+Du(t) =CT ẋ = Ax(t)+Bu(t), y(t) =Cx(t)+Du(t) x() = Tx() 1 x(t)+du(t) x(t) =Tx(t) CT 1 (si T AT 1 ) 1 TB + D = CT [T (si A)T 1 ] so the transfer functions and impulse responses are identical 1 TB + D = CT 1 T (si A) 1 T 1 TB + D = C(sI A) 1 B + D 18