MEM 355 Performance Enhancement of Dynamical Systems MIMO Introduction

Similar documents
Robust Control 2 Controllability, Observability & Transfer Functions

João P. Hespanha. January 16, 2009

MULTIVARIABLE ZEROS OF STATE-SPACE SYSTEMS

Controllability, Observability, Full State Feedback, Observer Based Control

Letting be a field, e.g., of the real numbers, the complex numbers, the rational numbers, the rational functions W(s) of a complex variable s, etc.

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

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

EEE582 Homework Problems

SMITH MCMILLAN FORMS

Control Systems. Laplace domain analysis

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

Advanced Control Theory

Full State Feedback for State Space Approach

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

Module 03 Linear Systems Theory: Necessary Background

Chap 3. Linear Algebra

Linear System Fundamentals

Intro. Computer Control Systems: F8

Control Systems Design

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

CONTROL DESIGN FOR SET POINT TRACKING

Represent this system in terms of a block diagram consisting only of. g From Newton s law: 2 : θ sin θ 9 θ ` T

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

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

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

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

MEM 355 Performance Enhancement of Dynamical Systems

EE221A Linear System Theory Final Exam

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

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

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

Dynamical Systems & Lyapunov Stability

Stability of Parameter Adaptation Algorithms. Big picture

EL2520 Control Theory and Practice

State Space Design. MEM 355 Performance Enhancement of Dynamical Systems

Differential equations

Linear Algebra III Lecture 11

A Necessary and Sufficient Condition for High-Frequency Robustness of Non-Strictly-Proper Feedback Systems

ECE 388 Automatic Control

CDS Solutions to the Midterm Exam

FEL3210 Multivariable Feedback Control

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

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

Control Systems. Frequency domain analysis. L. Lanari

Lec 6: State Feedback, Controllability, Integral Action

Solution of Linear State-space Systems

Linear State Feedback Controller Design

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

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Stability, Pole Placement, Observers and Stabilization

Lecture 7 (Weeks 13-14)

MA 527 first midterm review problems Hopefully final version as of October 2nd

Module 08 Observability and State Estimator Design of Dynamical LTI Systems

EE Control Systems LECTURE 9

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

Cayley-Hamilton Theorem

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

Linear System Theory

7 Minimal realization and coprime fraction

Solution via Laplace transform and matrix exponential

Theorem 1. ẋ = Ax is globally exponentially stable (GES) iff A is Hurwitz (i.e., max(re(σ(a))) < 0).

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

0.1 Rational Canonical Forms

Lecture plan: Control Systems II, IDSC, 2017

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

6 Linear Equation. 6.1 Equation with constant coefficients

Math Exam 3 Solutions

Robust Control 3 The Closed Loop

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

Modeling and Analysis of Dynamic Systems

Balanced Truncation 1

The Important State Coordinates of a Nonlinear System

MATH 3321 Sample Questions for Exam 3. 3y y, C = Perform the indicated operations, if possible: (a) AC (b) AB (c) B + AC (d) CBA

ECE557 Systems Control

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

Zeros and zero dynamics

Zero controllability in discrete-time structured systems

Objective Type Questions

CDS Solutions to Final Exam

Math 489AB Exercises for Chapter 2 Fall Section 2.3

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

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

Nonlinear Control Systems

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

Linear Algebra: Matrix Eigenvalue Problems

Chap. 3. Controlled Systems, Controllability

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

3.1 Overview 3.2 Process and control-loop interactions

Topic # /31 Feedback Control Systems

OPTIMAL CONTROL SYSTEMS

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

Control Systems. System response. L. Lanari

ECEEN 5448 Fall 2011 Homework #4 Solutions

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

Chapter 30 Minimality and Stability of Interconnected Systems 30.1 Introduction: Relating I/O and State-Space Properties We have already seen in Chapt

Decay rates for partially dissipative hyperbolic systems

Lecture 4 Stabilization

Robust Control 5 Nominal Controller Design Continued

Problem Set 5 Solutions 1

Transcription:

MEM 355 Performance Enhancement of Dynamical Systems MIMO Introduction Harry G. Kwatny Department of Mechanical Engineering & Mechanics Drexel University 11/2/214

Outline Solving State Equations Variation of parameters formula Matrix exponential Controllability/Observability/Kalman Decomposition System Zeros SISO/MIMO Closed Loops

Solving Linear State Equations n x = Ax + Bu t, x R, u R find : x t given : x t = x, u t for t t for t t x = Ax + b t, b t : = Bu t, forced or nonhomogeneous x = Ax homogeneous m

Approach Basic Properties Variation of Parameters Formula State Transition Matrix Matrix Exponential Laplace Transform

Basic properties p x t, x t sol'ns of homog., c, c constants 1 2 1 2 = + x t cx t cx t 1 1 2 2 1 2 = 1 2 any sol'n of forced, is a sol'n of homog. x t, x t sol'ns of forced x t x t x t x t x t is a sol'n of homog. any sol'n of homog. x t = x t + x t is a sol'n of forced h p h

Variation of Parameters Formula Recall, any sol'n of (forced) satisfies where = + x t x t x t h p h = p ( t) is any (particular) sol'n of (forced) xp( t) xp( t) = X ( t) c( t) = + and 1 = x c ( t) = X ( t) B( t) u( t) x t X t c for constant vector c, satisfies (homog.) x We seek. Assume the form. x Ax Bu X A p p = c( t ) c t + t t 1 X B u d τ τ τ τ

Variation of Parameters Formula, Cont d h = x t Ax t assume ( ) ( 1 2 2 1 k k = ) + + + + + h 2 = + 1 + 2 + a + 2at+ 3at + = A a + at+ at + 2 2 1 2 3 1 2 a = Aa, a = Aa, a = Aa,, a = Aa 1 1 1 1 2 2 1 3 3 2 k k k 1 a = Aa, a = A a, a = A a,, a = A a h x t a at at 1 2 1 3 1 k 1 2 2 3 32 k k! x t a Aat Aat Aat 2 k! = + + + + ( + ) 1 2 2 1 k k xh t I At 2 A t k! A t ( 2 2 + + 1 + + 1 + ) e I At A t A t At k k 2 k! initial condition = = At a c xh t e c a

Variation of Parameters Formula, Cont d We seek x t. Assume the form x t = e c t. p At d At x = Ax + Bu and e = Ae p p dt + = + At At At Ae c t e c t Ae c t B t u t c t = e B t u t c t At = c + t At Aτ e B u d t At ( τ ) x p t = e B u d p τ τ τ τ τ τ

Variations of Parameters Formula Cont d Thus, we have x t = x t + x t h t At At ( τ ) x t = e c + e Bu ( τ) d Now impose: x = x c= x p t At At ( τ ) x t = e x + e Bu τ d τ τ

Transition Matrix via Laplace Transform d e At At At = Ae, e = I dt t= L = L At At s e I A e ( ) At 1 1 e si A e si A L = = [ ] At 1, L [ ]

Caley-Hamilton Theorem Cayley-Hamilton Theorem: Every square matrix satisfies its own characteristic equation, i.e. φλ = λ = λ + λ + + n n 1 I A an 1 a n φ( A) = A + a A + + ai= n 1 n 1 From this we obtain: At e = α () ti+ α () ta+ + α ( t) A 1 n 1 n 1

System x = Ax + Bu y = Cx x R, u R, y R n m p t At A(t-s) x(t; x,u) = e x + e Bu(s)ds

Summary: Controllability/Observability Controllability rank = C CA Observability rank = n 1 CA Kalman Decomposition, x z such that d dt n 1 B AB A B n z1 A11 A12 A13 A14 z1 B1 z1 z 2 A22 A 24 z 2 B 2 z = 2 + u, y = [ C 2 C ] 4 z 3 A33 A 34 z 3 z 3 z4 A44 z4 z 4 z, z controllable z, z observable 1 2 2 4 Notice that the substate z 2 is both controllable and observable

Example 2 2 1 x =, [ 1 ] 4 x+ u y = x 1 1 4 C = [ B AB] = not controllable 1 4 s + 4 2 s + 2 1 G s = C si A B = + + 1 [ 1 ] [ 1 ] ( s 2 )( s 4 ) ( s + 2) 1 = = ( s+ 2)( s+ 4) s+ 4

Transfer Functions x = Ax + Bu y = Cx = [ ] = [ ] 2 2 2 x R, u R, y R n m p 1 1 G s C si A B C si A B 2 2 2 where A, B, C are those of the Kalman decomposition -, i.e., parameters of a minimal realization. So, only the controllable and observable part of the system is characterized by its transfer function. Definition: G s is called a complete characterization of the system if the system is completely observable and controllabl e.

Some MATLAB Functions Function canon ctrb ctrbf gram obsv obsvf ss2ss ssbal minreal canonical state-space realizations controllability matrix controllability staircase form controllability and observability gramians observability matrix observability staircase form state coordinate transformation diagonal balancing of state-space realizations returns a minimal realization

Example, Continued >> A=[-2-2;,-4]; >> B=[1;1]; >> C=[1 ]; >> sys=ss(a,b,c,); >> ctrb(sys) ans = 1-4 1-4 >> gram(sys,'c') ans =.125.125.125.125 >> tf(sys) Transfer function: s + 2 ------------- s^2 + 6 s + 8 >> tf(minreal(sys)) 1 state removed. Transfer function: 1 ----- s + 4

System Poles & Zeros Two descriptions of linear time-invariant systems state space and transfer function. x = Ax + Bu y = Cx + Du [ ] 1 G s = C si A B + D Assumption: Gis a complete characterization of ABCD,,, or, equivalently, ABCD,,, is a minimal realization of G. Defining poles via state space is very easy: the eigenvalues of A. the poles of Defining zeros is more complicated. We do it via state space in the followin g. G are

SISO System Zeros recall: x = Ax + Bu n x R, u Ry, R y = Cx + Du { } [ ] [ ] 1 1 Y () s = C si A x + C si A B + D U () s suppose: { [ ] } λt 1 ns () u t = e, G( s): = C si A B + D = k, d ( s) = si A ds () Y s [ ] Adj[ ] CAdj si A x ns () 1 C si A x ns () G( λ) = + k = + + ds () ds () s λ ds () ds () s λ (), Partial fraction expansion N( s) A( s) B = + ( λ) ( λ) ( s λ ) N( s) ( s λ ) A( s) lim λ s λ d( s) ( s λ ) d( s) N ( λ ) = d ( λ ) d s s d s s lim s B = + lim s λ ( s λ ) ( s λ ) B

SISO System Zeros, Cont d x can always be chosen so that [ ] CAdj si A x ns () + ds () ds () in which case ( λ ) G Y( s) =, if λ is a zero of G( λ ), then Y( s) =, y( t) = s λ In summary: if λ is a system zero, there exists x such that x t = x and u( t) = e λ t y t

MIMO System Zeros x = Ax + Bu y = Cx + Du x R, u R, y R n m p m n Does there exist g R and x R such that λt λt u() t = ge x() t = x e and y() t? The assumed solution must satisfy λt λt λt λxe = Axe + Bge λi A B x = C D g λt λt = Cxe + Dge The solution is nontrivial only if the system matrix is singular

MIMO System Zeros, Cont d This represents n+ p equations in n+ m unknowns. Suppose λi A B r = rank C D r = n+ min( mp, ) max r< n+ min( mp, ) nontrivial sol'ns p< m always nontrivial sol'ns r= r = n+ p m p max max independent sol'ns p> m and r= r = n+ m there are no nontrivial sol'ns

Square MIMO Systems (p=m) Nondegenerate case: If for typical λ, λi A B r = rank n m C D = + Those specific values of λ for which r < n+ m invariant zeros. Invariant zeros consist of are called input decoupling zeros (uncontrollable modes), λ satisfies rank [ λ ] I A B < n output decoupling zeros (unobservable modes), λ satisfies λi A rank n C < transmission zeros, all other invariant zeros.

Square MIMO Systems, Cont d degenerate case: ( λ ) For typical λ, λi A B r = rank < n+ m C D G insufficient independent controls,rank B< m insufficient independent outputs, rank C < p

Example - GTM θ = q x = V cosγ z = Vsinγ 1 1 2 V = ( T cos α ρv SC 2 D( αδ, e, q) mg sin γ) m 1 1 2 γ= ( T sin α+ ρv SC 2 L( αδ, e, q) mg cosγ) mv M q =, M = V ScC,, q + V ScC,, q x x mgx + lt I y α = θ γ 2 2 ( ) 1 ρ 1 2 m αδe ρ 2 Z αδe cgref cg cg t

Choose Equilibrium & Linearize Equilibrium Requires: = θ = q = x = V cosγ = z = Vsinγ 1 1 2 = V = ( T cos α ρv SC 2 D( αδ, e, q) mg sin γ), α= θ γ m 1 1 2 = γ= ( T sin α+ ρv SC 2 L( αδ, e, q) mg cosγ) mv M = q =, M = V ScC,, q + V ScC,, q x x mgx + lt I y 2 2 ( ) 1 ρ 1 2 m αδe ρ 2 Z αδe cgref cg cg t Also require: horizontal flight: γ = specify speed: V = V Solve 6 equations for remaining 4 states xz,, θ, q and 2 controls δ, T e

GTM Equilibrium Surface Straight and Level Flight Analysis 27

Controllability Around Bifurcation Point GTM Example: Straight Wings-Level Climb Note: Even though the system loses linear controllability at the bifurcation point, it is locally (nonlinearly) controllable in the sense that the controllability distribution has full generic rank around the bifurcation 28 point. Thus, any stabilizing feedback controller would have to be nonlinear and probably non-smooth (and possibly non-intuitive)

GTM Cont d Coordinated Turn Analysis Coordinated turn of GTM @ 85 fps Coordinated turn of GTM @ 9 fps Coordinated turn of GTM @ 87 fps 29

GTM Cont d Coordinated Turn Analysis Techno-Sciences, Inc. Proprietary 3

Example: GTM Phugoid Dynamics T V δ e γ d V.18644 33.2125 V.449195 62.333 T dt γ =.8844275.15152 + γ.416546.751226 δ e Normal trim d V.3111 33.2514 V.494357 31.5244 T dt γ =.638713.338864 + γ.127241 1.22673 δ e High AOA trim Stall trim d V.27235 33.855 V.4642 62.5119 T dt γ =.791414.28613 + γ.178.265262 δ e

Multivariable Interconnections & Feedback Loops 11/2/214

Well-Posed Loops: Example 1 G( s) - 1 s G( s) = 1 s 2 s+ 1 s+ 1 1 s+ 1 s 1 Gcl ( s) = G( s) I + G( s) = improper s 1 Theorem: Let GH, be proper rational transfer matrices. Then cl [ ] G = G I + HG 1 is proper and rational iff I + H G is nonsingular.

Poles of Closed Loops - G( s) H( s) cl [ ] G = G I + HG 1 It might be anticipated that the poles of the roots of det [ I + HG]. Not True!! G cl are s s s 1 s+ 1 G( s) =, H( s) = I2 2 1 s + 1 2s s s+ 1 s+ 1 Gcl ( s) =, det [ I + HG] 1 s 2 1 s 1 obviously, has poles at s = ± 1.

Poles, Cont d Theore m: If GH, are proper, reational matrices and det I + H G, then the poles of Gcl are the roots of the polynomial G s ( s) ( s) ( s) det I H( s) G( s) = G H + Example: 1 1 + = s +.5 1 ( s.5)( s 1.5) ( s. 5) ( s.5)( s+ 1.5 ) ( s.5), H = I 2

Poles: Example Cont d G cl ( s) ( s 1.5)( s.5 ), ( s) 1,det I G( s) G = + H = + = ( s) ( s) ( s) ( s) det I G( s) ( s 1.5)( s.5) = G H + = + + 1 ( s.5) = 1 1 ( s 1.5) ( s 1.5 + + ) s + 1.5 1 = ( s+ 1.5)( s+.5) s+.5 s+.5 1 1 s +.5 s.5

System Interconnections G 1 G 2 parallel G 1 series - G 1 G 2 feedback G 2 Systems G, G are complete characterizations, with 1 2 1 1 Gi = Dli Nli = NriDri, i = 1, 2 coprime fractions. parallel connection controllable D, D left coprime r1 r2 observable Dl1, Dl2 right coprime series connection controllable D, N, or DD, N or D, N N are left coprime r2 r1 l1 r2 l1 l2 l2 r1 observable D, N, or DD, N or D, N N right coprime det I + G2 G1. Then controllable GG 1 2 controllable observable G 2 G 1 observable l1 r2 l1 r2 r2 r1 l2 r1

Stability x = Ax + Bu y = Cx + Du [ ] 1 x R, u R, y R G s = C si A B + D n m p The basic idea is that stable system responds to a perturbation by remaining within a neighborhood of its equilibrium point. a state perturbation with zero input (Lyapunov/Asymptotic) an input perturbation with zero state (BIBO) simultaneous state and input perturbation (Total) Lyapunov: Reλ A, eigenvalues with Reλ = have full set of eigenvectors. Asymptotic: Reλ A < BIBO: poles of G s < Total: Lyapunov + poles of G s <

Poles & Zeros from Transfer Functions 11/2/214

Numbers: Prime & Coprime A prime number (or integer) is a positive integer p > 1 that has no positive integer divisors other than 1 and itself. Two integers are relatively prime or coprime if they share no positive integer factors (divisors) other than 1 - i.e., their greatest common divisor is 1. Bezout's identity: exist integers x and y such that (, ) GCD a b = ax + by If a and b are integers not both zero, then there If a and b are coprime then there exist integers x and y such that 1 = ax + by

Polynomials These ideas have been extended to polynomials, matrices with polynomial elements matrices with rational elements Two polynomials ns = as + a s + + a, a m m 1 m m 1 m d s = bs + b s + + b, b n 1 n n 1 n are coprime if their greatest common divisor is a nonzero constant, i.e., they have no common factors.

Example F 1 = s 4 + 2s 3 + s + 2 = (s + 1) (s + 2) (s 2 - s + 1) F 2 = s 5 + s 4 + 2s 3 + 3s 2 + 3s + 2 = (s + 1) (s 2 - s + 2) (s 2 + s + 1) gcd(f 1,F 2 ) = (s + 1) Bezout relation: (5/24s 3 + 1/12s 2 + 1/4s + 5/24) F 1 + (-5/24s 2-7/24s + 7/24) F 2 = s + 1

Polynomial Matrices Two matrix polynomials m m 1 = + + + n 1 i = n + n 1 + + right common divisor R( s) R =, = D( s) right coprime R( s) N s As A s A have a m m 1 pa, q pb, q A R, Bi R D s Bs B s B N s N s R s D s D s R s N s, are if the only right common qq, divisors are unimodular, i.e., det = c. Similary, left coprimeness can be defined for polynomial matrices with the same number of rows. if

Poles Suppose the q m transfer matrix G s is a complete characterization of x = Ax + Bu, y = Cx + Du can always be factored into 1 1 G( s) = D ( s) N ( s) = N ( s) D ( s) G s l l r r where D, N and D, N are coprime pairs of polynomial matrices. N l l r r and D, D are called numerator, denominator matrices, respectively. Theorem: [ si A] = D s = D ( s) det α det α det α, α are constants. Definition: Poles are the roots of: det r r 1 l 2 r 1 2 [ si A], or det D ( s), or det D ( s) = = = l r r, N l

Poles & Zeros from Transfer Functions Assume G(s) is a complete characterization. Theorem: The pole polynomial (s) is the least common denominator of all non-identically-zero minors of all orders of G(s). Theorem: The zero polynomial is the greatest common divisor of all numerators of all order-r minors of G(s), where r is the generic rank of G(s), provided that these minors have been adjusted to have (s) as there denominator.

Example Recall a minor of a matrix is the determinant of a matrix obtained by deleting rows and columns. Consider the transfer function: 1 s 1 4 G( s) = 2 4.5 2( s 1 s + ) To determine poles we need all minors of all orders. The 4 minors of order 1 are s 1 4 4.5 s 1,,,2 s+ 2 s+ 2 s+ 2 s+ 2 rank G s =2. The single minor of order 2 is det G s = 2 ( s) pole polynomial: φ = s+ 2 zero polynomial: z s = s 4 s 4 ( s + 2)