Observers for Linear Systems with Unknown Inputs

Similar documents
Control Over Packet-Dropping Channels

Designing Stable Inverters and State Observers for Switched Linear Systems with Unknown Inputs

4F3 - Predictive Control

c 2005 by Shreyas Sundaram. All rights reserved.

Solution Set 3, Fall '12

Optimal State Estimators for Linear Systems with Unknown Inputs

Dynamic Attack Detection in Cyber-Physical. Systems with Side Initial State Information

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

Module 9: State Feedback Control Design Lecture Note 1

Rural/Urban Migration: The Dynamics of Eigenvectors

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

Properties of Open-Loop Controllers

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

18.06 Professor Johnson Quiz 1 October 3, 2007

Math 215 HW #9 Solutions

Topic 15 Notes Jeremy Orloff

EK102 Linear Algebra PRACTICE PROBLEMS for Final Exam Spring 2016

On the Equivalence of OKID and Time Series Identification for Markov-Parameter Estimation

EEE582 Homework Problems

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

18.06 Problem Set 3 - Solutions Due Wednesday, 26 September 2007 at 4 pm in

Lecture 4 and 5 Controllability and Observability: Kalman decompositions

Control engineering sample exam paper - Model answers

MATRICES. a m,1 a m,n A =

Linear Algebra. Chapter Linear Equations

6.241 Dynamic Systems and Control

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

Answer Key for Exam #2

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

Lecture 9: Elementary Matrices

18.06 Spring 2012 Problem Set 3

MATH 320, WEEK 11: Eigenvalues and Eigenvectors

(a) If A is a 3 by 4 matrix, what does this tell us about its nullspace? Solution: dim N(A) 1, since rank(a) 3. Ax =

COMP 558 lecture 18 Nov. 15, 2010

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

Observability and Constructability

Linear Algebra. and

4 ORTHOGONALITY ORTHOGONALITY OF THE FOUR SUBSPACES 4.1

Designing Information Devices and Systems II Fall 2015 Note 22

Math Final December 2006 C. Robinson

pset3-sol September 7, 2017

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

Chapter 2. General Vector Spaces. 2.1 Real Vector Spaces

Positive observers for positive interval linear discrete-time delay systems. Title. Li, P; Lam, J; Shu, Z

Systems and Control Theory Lecture Notes. Laura Giarré

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #1. July 11, 2013 Solutions

MIT Final Exam Solutions, Spring 2017

Conceptual Questions for Review

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

HOMEWORK PROBLEMS FROM STRANG S LINEAR ALGEBRA AND ITS APPLICATIONS (4TH EDITION)

Lecture 1: Systems of linear equations and their solutions

Answer Key for Exam #2

Math 240 Calculus III

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix

Optimal control and estimation

IMPULSIVE CONTROL OF DISCRETE-TIME NETWORKED SYSTEMS WITH COMMUNICATION DELAYS. Shumei Mu, Tianguang Chu, and Long Wang

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

A = 3 1. We conclude that the algebraic multiplicity of the eigenvalues are both one, that is,

Vector Spaces. 9.1 Opening Remarks. Week Solvable or not solvable, that s the question. View at edx. Consider the picture

Math 242 fall 2008 notes on problem session for week of This is a short overview of problems that we covered.

Eigenvalues and Eigenvectors

Advanced Engineering Mathematics Prof. Pratima Panigrahi Department of Mathematics Indian Institute of Technology, Kharagpur

Linear Algebra II. 2 Matrices. Notes 2 21st October Matrix algebra

18.06 Problem Set 3 Solution Due Wednesday, 25 February 2009 at 4 pm in Total: 160 points.

16.30 Estimation and Control of Aerospace Systems

Full-State Feedback Design for a Multi-Input System

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013

Appendix A: Matrices

Control System Design

This lecture is a review for the exam. The majority of the exam is on what we ve learned about rectangular matrices.

Matrices. Chapter Definitions and Notations

Matrices, Row Reduction of Matrices

Automatic Control 2. Model reduction. Prof. Alberto Bemporad. University of Trento. Academic year

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Discrete Time Systems:

18.06 Problem Set 8 Due Wednesday, 23 April 2008 at 4 pm in

is Use at most six elementary row operations. (Partial

Row Space, Column Space, and Nullspace

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 8

Module 03 Linear Systems Theory: Necessary Background

AMS 209, Fall 2015 Final Project Type A Numerical Linear Algebra: Gaussian Elimination with Pivoting for Solving Linear Systems

Iterative Methods for Solving A x = b

Math 314H Solutions to Homework # 3

MODULE 8 Topics: Null space, range, column space, row space and rank of a matrix

Module 08 Observability and State Estimator Design of Dynamical LTI Systems

x + 2y + 3z = 8 x + 3y = 7 x + 2z = 3

Operations On Networks Of Discrete And Generalized Conductors

1 Linearity and Linear Systems

THE JORDAN-FORM PROOF MADE EASY

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

Math 54 HW 4 solutions

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th.

MTH6108 Coding theory Coursework 7

EE451/551: Digital Control. Chapter 8: Properties of State Space Models

Maths for Signals and Systems Linear Algebra in Engineering

Control Systems. State Estimation.

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

Definition 2.3. We define addition and multiplication of matrices as follows.

22.3. Repeated Eigenvalues and Symmetric Matrices. Introduction. Prerequisites. Learning Outcomes

2 b 3 b 4. c c 2 c 3 c 4

Transcription:

Chapter 3 Observers for Linear Systems with Unknown Inputs As discussed in the previous chapters, it is often the case that a dynamic system can be modeled as having unknown inputs (e.g., representing disturbances and faults [68). The problem of constructing an observer for such systems has received considerable attention over the past few decades, and various methods of realizing both full and reduced-order observers have been presented in the literature (e.g., [13, 35, 40). In this chapter, we will study this topic and provide a design procedure to construct unknown input observers. This will generalize the state-estimators that we studied in Section 2.8, and will turn out to be quite useful in diagnosing system faults, as we will see later. 3.1 Unknown Input Observer Consider the discrete-time linear system x[k +1 = Ax[k+Bu[k y[k = Cx[k+Du[k, (3.1) with state vector x R n, unknown input u R m, output y R p, and system matrices (A,B,C,D) of appropriate dimensions. Note that known inputs can be handled in a straightforward manner, and so we omit them for clarity of development. We also assume without loss of generality that the matrix [ D B is full column rank. This assumption can always be enforced by an appropriate transformation and renaming of the unknown input signals. Recall from (2.11) in Section 2.6.2 that the response of system (3.1) over L+1 time-steps is given by y[k : k +L = O L x[k+j L u[k : k +L. (3.2)

3.1 Unknown Input Observer 40 The matrices O L and J L in the above equation can be expressed in a variety of ways. We will be using the following identities in our derivations: [ [ C OL 1 O L = = O L 1 A CA L, (3.3) [ [ D 0 JL 1 0 J L = =, (3.4) O L 1 B J L 1 CC L 1 D where C L 1 is the observability matrix for the pair (A,B). We are now ready to proceed with the construction of an observer to estimate the states in S. Consider an observer of the form ˆx[k +1 = Eˆx[k+Fy[k : k +L. (3.5) Definition 3.1. The system (3.5) is said to be an unknown input observer with delay L if ˆx[k x[k 0 as k, regardless of the values of u[k. Note that the observer given by (3.5) is of the same form as the observer studied in Section 2.8, except that (i) the input is no longer included in this equation (since it is assumed to be unknown), and (ii), we allowthe use ofthe system outputs up to time-step k+l to estimate the state x[k. Alternatively, this observer can be viewed as producing an estimate of the state x[k L from the outputs of the system up to time-step k (i.e., it is a delayed state-estimator). We will see the utility of allowing a delay in estimation in our derivation. To choose the observer matrices E and F, we examine the estimation error e[k +1 ˆx[k +1 x[k +1 = Eˆx[k+Fy[k : k +L Ax[k Bu[k = Ee[k+Fy[k : k +L+(E A)x[k Bu[k. Using (3.2), the error can then be expressed as e[k +1 = Ee[k+Fy[k : k +L+(E A)x[k Bu[k = Ee[k+(E A+FO L )x[k+fj L u[k : k +L Bu[k. In order to force the error to go to zero, regardless of the values of x[k and the inputs, E must be a stable matrix and the matrix F must simultaneously satisfy FJ L = [ B 0 0, (3.6) E = A FO L. (3.7) The solvability of condition (3.6) is given by the following theorem.

3.1 Unknown Input Observer 41 Theorem 3.1. There exists a matrix F that satisfies (3.6) if and only if rank(j L ) rank(j L 1 ) = m. (3.8) Proof. There exists a F satisfying (3.6) if and only if the matrix R [ B 0 0 is in the space spanned by the rows of J L. This is equivalent to the condition [ R rank = rank(j JL L ). Using (3.4), we get [ R rank = rank B 0 D 0 = rank I 0 0 0 I 0 B 0 D 0 JL O L B J L 1 O L 0 I O L B J L 1 = rank B 0 D 0. 0 J L By our assumption that the matrix [ D B has full column rank, we get [ R rank = m+rankj L 1, thereby completing the proof. J L Note that (3.8) is the condition for inversion of the inputs with known initial state and delay L, as discussed in Section 2.6.3. This is a fairly strict condition, and demonstrates the utility of a delayed observer. When designing such an observer, one can start with L = 0 and increase L until a value is found that satisfies (3.8). Recall from Theorem 2.4 that an upper bound on L is given by n; in other words, if (3.8) is not satisfied for L = n, asymptotic estimation of the states is not possible with an observer of the form (3.5). The use of delayed observers has been studied in [79, 47, 41, which generalize the investigations of zero-delay observers in [35, 40, 83. From (3.6), we see [ that the matrix F must be in the left nullspace of the lastlm columns 0 of J L (given by ). Specifically, let J N be a matrix whose rows form a basis for L 1 [ Ip 0 the left nullspace of J L 1, so that is a matrix whose rows form a basis for the 0 N [ 0 left nullspace of. For any invertible matrix W, define the matrix J L 1 N = W [ Ip 0. (3.9) 0 N

3.1 Unknown Input Observer 42 Then the rows of N also form a basis for the left nullspace of W in a special way. First, note that [ [ D 0 N = W O L 1 A J L 1 D 0 NO L 1 A 0 [ 0 J L 1. We will choose Next, recall from Theorem 3.1 that the first m columns of J L must be linearly independent of each other and of the remaining Lm columns. This means that the matrix [ D must haverank m. ChooseW so that the bottom m rowsform a left-inverse NO L 1 A for the above matrix, and the top rows form a basis for the left nullspace of the matrix. Thus, matrix N satisfies [ 0 0 NJ L =. (3.10) I m 0 From (3.6), we see that F can be written in the form F = FN for some F = [ F1 F2, where F 2 has m columns. Equation (3.6) then becomes [ F1 [ 0 0 F2 = [ B 0, I m 0 from which it is obvious that F 2 = B and F 1 is a free matrix. Returning to equation (3.7), we have E = A FO L = A [ F1 B NO L. Defining where S 2 has m rows, we come to the final equation. [ S1 NO S L, (3.11) 2 E = (A BS 2 ) F 1 S 1 (3.12) Since we require E to be a stable matrix, the pair (A BS 2,S 1 ) must be detectable (i.e., any eigenvalue that cannot be arbitrarily specified must be stable). As demonstrated by the development so far, the concept of state estimation and system inversion are intimately connected. Indeed, as discussed in [47, once a state observer is constructed, one can readily obtain an estimate of the unknown inputs by first rearranging (3.1) as [ [ x[k +1 Ax[k B = u[k. (3.13) y[k Cx[k D Since [ D B is assumed to be full column rank, there exists a matrix G such that [ B G = I D m. (3.14)

3.2 Design Procedure 43 Left-multiplying (3.13) by G and replacing x[k with the estimated value ˆx[k, we get the estimate of the input to be [ˆx[k +1 Aˆx[k û[k = G. (3.15) y[k Cˆx[k Since ˆx[k x[k 0 as k, the above estimate will asymptotically approach the true value of the input. 3.2 Design Procedure We now summarize the design steps to construct a delayed observer for system (3.1). 1. Find the smallest L such that rank[j L+1 rank[j L = m. If the condition is not satisfied for L = n nullity[d, it is not possible to reconstruct the entire state of the system. 2. Find the matrix N satisfying (3.10), and form the matrix [ S 1 S 2 from (3.11). 3. If possible, choose the matrix F 1 such that the eigenvalues of E = (A BS 2 ) F 1 S 1 are stable. Set F = [ F1 B N. 4. The final observer is given by equation (3.5). An estimate of the unknown inputs can be obtained from (3.15), where the matrix G is chosen to satisfy (3.14). Example 3.1. Consider the system given by the matrices A = 1 0 0 0 1 1, B = 0 1 [ 0 1 1 1 1,C = 1 0 0 0 0 1 1 0, D = [ 0 1 0 1. We first find the smallest L for which the system is invertible. For L = 2 we have 0 1 0 0 0 0 J 2 = D 0 0 0 1 0 0 0 0 CB D 0 = 0 1 0 1 0 0 CAB CB D 0 1 0 1 0 0, 1 1 0 1 0 1 0 1 0 1 0 1 and the first two columns of this matrix are linearly independent of each other and of all other columns (i.e., (3.8) is satisfied). Thus our observer must have a delay of 2 time-steps. The matrix N whose rows form a basis for the left nullspace of J 1 is given by [ 1 1 0 0 N =, 0 0 1 1

3.2 Design Procedure 44 and thus the matrix N in (3.10) has the form [ I2 0 N = W, 0 N for some invertible matrix W. Specifically, we would like to choose W such that [ 0 = N D CB = W[ I2 0 D CB I m 0 N CAB CAB 0 1 = W 0 1 0 0. 1 0 Choose W so that the top two rows form a basis for the left nullspace of this matrix, and the bottom two rows to be a left-inverse of the matrix, so that 1 1 0 0 1 1 0 0 0 0 W = 0 0 1 0 0 0 0 1, N = 0 0 1 1 0 0 0 0 0 0 1 1. 1 0 0 0 1 0 0 0 0 0 Next, we calculate [ S1 S 2 C = N CA = CA 2 }{{} O 2 1 1 1 1 1 0 1 1 1 0 1 1., where S 2 is the last m = 2 rows of the above matrix. Finally, we try to find a matrix F 1 such that the matrix E = A BS 2 F 1 S 1 is stable. Using the matrices found above, we have A BS 2 = 1 1 1 1 1 1 1 1 0 and this has three eigenvalues at 0 (found using MATLAB, for example). Since all of these eigenvalues are stable already (and in fact, are in the best possible position already), we can just choose F 1 to be zero. 1 We now get E = A BS 2 = F = [ F1 B N = 1 1 1 1 1 1 1 1 0 0 0 0 1 0 0 1 1 N = 0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 1 1 1 If the eigenvalues were not stable, one can use the command place((a BS 2 ),S 1,p) in MATLAB to determine the matrix F 1 to place the eigenvalues at the locations specified by vector p..

3.3 Relationship to Strong Detectability 45 The final observer is given by ˆx[k +1 = Eˆx[k+Fy[k : k +2. To reconstruct the input, we find a matrix G satisfying [ [ B 0 0 1 0 0 G = I D m G =. 1 0 0 0 0 The estimate of the inputs to the system are now given by [ˆx[k +1 Aˆx[k û[k = G. y[k Cˆx[k 3.3 Relationship to Strong Detectability In this section, we will show that the system will have an unknown input observer if and only if the system is strongly detectable. Specifically, consider the condition for being able to obtain a stable E matrix, given by the detectability of the pair (A BS 2,S 1 ) in (3.12). This detectability condition can actually be stated in terms of the original system matrices as shown by the following theorem. Theorem 3.2. The rank condition [ A BS2 zi rank n = n, z C, z 1 S 1 is satisfied if and only if [ A zi rank = n+m, z C, z 1. C D To prove Theorem 3.2, we make use of the following lemma, which is obtained by a simple modification of a lemma from [47. Lemma 3.1. For any L > 0, rank A zi 0 [ C D 0 A zi = rank +rankj C D L 1. (3.16) O L 1 A O L 1 B J L 1 Proof. To illustrate the proof and to keep the ideas clear, we will consider the case where

3.3 Relationship to Strong Detectability 46 L = 2. The same idea is easily extended to prove the Lemma for general L. Note that rank A zi A zi 0 0 0 C D 0 = rank CA CB D 0 O 1 A O 1 B J 1 CA 2 CAB CB D A zi 0 0 = rank zc 0 D 0 zca 0 CB D A zi 0 0 = rank 0 zd D 0 zca 0 CB D A zi 0 0 = rank 0 0 D 0. zca zcb CB D The second equality is obtained by subtracting C times the first row from the third row, and CA times the first row from the fourth row. The third equality is obtained by subtracting z times the second row from the third row. The fourth equality is obtained by adding z times the third column to the second column. Repeating this sequence, we obtain A zi 0 0 A zi 0 0 rank This concludes the proof. 0 0 D 0 zca zcb CB D We are now in place to prove Theorem 3.2. = rank 0 0 D 0 z 2 C 0 CB D A zi 0 0 = rank 0 0 D 0 0 z 2 D CB D A zi 0 0 = rank 0 0 D 0 0 0 CB D [ A zi = rank +rankj C D 1.

3.3 Relationship to Strong Detectability 47 Proof. We start by noting from the definition of N in (3.10) that [ [ D 0 0 0 N =. O L 1 B J L 1 I m 0 Let N be a matrix whose rows form a basis for the left nullspace of J L 1. From (3.9), we saw that we could write [ Ip 0 N = W 0 N for some invertible matrix W. We now have rank A zi 0 C D 0 = rank O L 1 A O L 1 B J L 1 A zi 0 C D 0 NO L 1 A NO L 1 B 0 O L 1 A O L 1 B J L 1 where we have simply inserted a new set of rows corresponding to N times the third row in the first matrix (which does not introduce any new linearly independent rows, and thus does not change the rank). Now, if we apply the same procedure as in the proof of Lemma 3.1, we can eliminate the last elements in the first two columns to obtain rank A zi A zi 0 0 C D 0 = rank C D 0 NO O L 1 A O L 1 B J L 1 A NO L 1 B 0 L 1 0 0 J L 1 = rank A zi C D +rankj NO L 1 A NO L 1. L 1 B Using (3.10), (3.11) and (3.9), we obtain rank C D NO L 1 A NO = rank n 0 0 0 I p 0 C D L 1 B 0 0 N O L 1 A O L 1 B = rank [ In 0 I n 0 0 0 I 0 W p 0 C D 0 0 N O L 1 A O L 1 B = rank [ In 0 A zi C D 0 N O L 1 A O L 1 B = rank S 1 0 = rank 2 zi S 1 0 S 2 I m 0 I m A BS 2 zi n 0 = rank S 1 0. 0 I m,

3.3 Relationship to Strong Detectability 48 This gives rank A zi 0 C D 0 A BS2 zi = m+rankj L 1 +rank[ n S O L 1 A O L 1 B J 1 L 1. Using Lemma 3.1, we get [ A zi rank C D [ A BS2 zi = m+rank n S 1, and thus the matrix on the left has rank n+m for all z C, z 1 if and only if the matrix on the right has rank n for all such z. From Theorem 3.1, Theorem 3.2, and our discussion so far, we immediately obtain the following theorem. Theorem 3.3. The system (3.1) has an observer with delay L if and only if 1. rank(j L ) rank(j L 1 ) = m, [ A zi B 2. rank = n+m, z C, z 1. C D Recall that the first condition in the above theorem means that the system is invertible with delay L + 1. However, the second condition was shown in Theorem 2.7 of Section 2.9.2 (and [58) to be sufficient for the existence of an inverse. This leads to the following theorem. Theorem 3.4. The system S in (3.1) has an observer (possibly with delay) if and only if [ A zi B rank = n+m, z C, z 1. C D From Section 2.9.3, we see that this is the condition for the system to be strongly detectable, and thus strong detectability and the ability to construct an unknown input observer are equivalent.