Observability

In control theory, visible state of a system

Observability is a measure of how well internal states of a system can be inferred from knowledge of its external outputs. In control theory, the observability and controllability of a linear system are mathematical duals.

The concept of observability was introduced by the Hungarian-American engineer Rudolf E. Kálmán for linear dynamic systems.[1][2] A dynamical system designed to estimate the state of a system from measurements of the outputs is called a state observer for that system, such as Kalman filters.

Definition

Consider a physical system modeled in state-space representation. A system is said to be observable if, for every possible evolution of state and control vectors, the current state can be estimated using only the information from outputs (physically, this generally corresponds to information obtained by sensors). In other words, one can determine the behavior of the entire system from the system's outputs. On the other hand, if the system is not observable, there are state trajectories that are not distinguishable by only measuring the outputs.

Linear time-invariant systems

For time-invariant linear systems in the state space representation, there are convenient tests to check whether a system is observable. Consider a SISO system with n {\displaystyle n} state variables (see state space for details about MIMO systems) given by

x ˙ ( t ) = A x ( t ) + B u ( t ) {\displaystyle {\dot {\mathbf {x} }}(t)=\mathbf {A} \mathbf {x} (t)+\mathbf {B} \mathbf {u} (t)}
y ( t ) = C x ( t ) + D u ( t ) {\displaystyle \mathbf {y} (t)=\mathbf {C} \mathbf {x} (t)+\mathbf {D} \mathbf {u} (t)}

Observability matrix

If and only if the column rank of the observability matrix, defined as

O = [ C C A C A 2 C A n 1 ] {\displaystyle {\mathcal {O}}={\begin{bmatrix}C\\CA\\CA^{2}\\\vdots \\CA^{n-1}\end{bmatrix}}}

is equal to n {\displaystyle n} , then the system is observable. The rationale for this test is that if n {\displaystyle n} columns are linearly independent, then each of the n {\displaystyle n} state variables is viewable through linear combinations of the output variables y {\displaystyle y} .

Related concepts

Observability index

The observability index v {\displaystyle v} of a linear time-invariant discrete system is the smallest natural number for which the following is satisfied: rank ( O v ) = rank ( O v + 1 ) {\displaystyle {\text{rank}}{({\mathcal {O}}_{v})}={\text{rank}}{({\mathcal {O}}_{v+1})}} , where

O v = [ C C A C A 2 C A v 1 ] . {\displaystyle {\mathcal {O}}_{v}={\begin{bmatrix}C\\CA\\CA^{2}\\\vdots \\CA^{v-1}\end{bmatrix}}.}

Unobservable subspace

The unobservable subspace N {\displaystyle N} of the linear system is the kernel of the linear map G {\displaystyle G} given by[3]

G : R n C ( R ; R n ) x ( 0 ) C e A t x ( 0 ) {\displaystyle {\begin{aligned}G\colon \mathbb {R} ^{n}&\rightarrow {\mathcal {C}}(\mathbb {R} ;\mathbb {R} ^{n})\\x(0)&\mapsto Ce^{At}x(0)\end{aligned}}}

where C ( R ; R n ) {\displaystyle {\mathcal {C}}(\mathbb {R} ;\mathbb {R} ^{n})} is the set of continuous functions from R {\displaystyle \mathbb {R} } to R n {\displaystyle \mathbb {R} ^{n}} . N {\displaystyle N} can also be written as [3]

N = k = 0 n 1 ker ( C A k ) = ker O {\displaystyle N=\bigcap _{k=0}^{n-1}\ker(CA^{k})=\ker {\mathcal {O}}}

Since the system is observable if and only if rank ( O ) = n {\displaystyle \operatorname {rank} ({\mathcal {O}})=n} , the system is observable if and only if N {\displaystyle N} is the zero subspace.

The following properties for the unobservable subspace are valid:[3]

  • N K e ( C ) {\displaystyle N\subset Ke(C)}
  • A ( N ) N {\displaystyle A(N)\subset N}
  • N = { S R n S K e ( C ) , A ( S ) N } {\displaystyle N=\bigcup \{S\subset R^{n}\mid S\subset Ke(C),A(S)\subset N\}}

Detectability

A slightly weaker notion than observability is detectability. A system is detectable if all the unobservable states are stable.[4]

Detectability conditions are important in the context of sensor networks.[5][6]

Linear time-varying systems

Consider the continuous linear time-variant system

x ˙ ( t ) = A ( t ) x ( t ) + B ( t ) u ( t ) {\displaystyle {\dot {\mathbf {x} }}(t)=A(t)\mathbf {x} (t)+B(t)\mathbf {u} (t)\,}
y ( t ) = C ( t ) x ( t ) . {\displaystyle \mathbf {y} (t)=C(t)\mathbf {x} (t).\,}

Suppose that the matrices A {\displaystyle A} , B {\displaystyle B} and C {\displaystyle C} are given as well as inputs and outputs u {\displaystyle u} and y {\displaystyle y} for all t [ t 0 , t 1 ] ; {\displaystyle t\in [t_{0},t_{1}];} then it is possible to determine x ( t 0 ) {\displaystyle x(t_{0})} to within an additive constant vector which lies in the null space of M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} defined by

M ( t 0 , t 1 ) = t 0 t 1 φ ( t , t 0 ) T C ( t ) T C ( t ) φ ( t , t 0 ) d t {\displaystyle M(t_{0},t_{1})=\int _{t_{0}}^{t_{1}}\varphi (t,t_{0})^{T}C(t)^{T}C(t)\varphi (t,t_{0})\,dt}

where φ {\displaystyle \varphi } is the state-transition matrix.

It is possible to determine a unique x ( t 0 ) {\displaystyle x(t_{0})} if M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} is nonsingular. In fact, it is not possible to distinguish the initial state for x 1 {\displaystyle x_{1}} from that of x 2 {\displaystyle x_{2}} if x 1 x 2 {\displaystyle x_{1}-x_{2}} is in the null space of M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} .

Note that the matrix M {\displaystyle M} defined as above has the following properties:

d d t M ( t , t 1 ) = A ( t ) T M ( t , t 1 ) M ( t , t 1 ) A ( t ) C ( t ) T C ( t ) , M ( t 1 , t 1 ) = 0 {\displaystyle {\frac {d}{dt}}M(t,t_{1})=-A(t)^{T}M(t,t_{1})-M(t,t_{1})A(t)-C(t)^{T}C(t),\;M(t_{1},t_{1})=0}
  • M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} satisfies the equation
M ( t 0 , t 1 ) = M ( t 0 , t ) + φ ( t , t 0 ) T M ( t , t 1 ) φ ( t , t 0 ) {\displaystyle M(t_{0},t_{1})=M(t_{0},t)+\varphi (t,t_{0})^{T}M(t,t_{1})\varphi (t,t_{0})} [7]

Observability matrix generalization

The system is observable in [ t 0 , t 1 ] {\displaystyle [t_{0},t_{1}]} if and only if there exists an interval [ t 0 , t 1 ] {\displaystyle [t_{0},t_{1}]} in R {\displaystyle \mathbb {R} } such that the matrix M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} is nonsingular.

If A ( t ) , C ( t ) {\displaystyle A(t),C(t)} are analytic, then the system is observable in the interval [ t 0 {\displaystyle t_{0}} , t 1 {\displaystyle t_{1}} ] if there exists t ¯ [ t 0 , t 1 ] {\displaystyle {\bar {t}}\in [t_{0},t_{1}]} and a positive integer k such that[8]

rank [ N 0 ( t ¯ ) N 1 ( t ¯ ) N k ( t ¯ ) ] = n , {\displaystyle \operatorname {rank} {\begin{bmatrix}&N_{0}({\bar {t}})&\\&N_{1}({\bar {t}})&\\&\vdots &\\&N_{k}({\bar {t}})&\end{bmatrix}}=n,}

where N 0 ( t ) := C ( t ) {\displaystyle N_{0}(t):=C(t)} and N i ( t ) {\displaystyle N_{i}(t)} is defined recursively as

N i + 1 ( t ) := N i ( t ) A ( t ) + d d t N i ( t ) ,   i = 0 , , k 1 {\displaystyle N_{i+1}(t):=N_{i}(t)A(t)+{\frac {\mathrm {d} }{\mathrm {d} t}}N_{i}(t),\ i=0,\ldots ,k-1}

Example

Consider a system varying analytically in ( , ) {\displaystyle (-\infty ,\infty )} and matrices

A ( t ) = [ t 1 0 0 t 3 0 0 0 t 2 ] , C ( t ) = [ 1 0 1 ] . {\displaystyle A(t)={\begin{bmatrix}t&1&0\\0&t^{3}&0\\0&0&t^{2}\end{bmatrix}},\,C(t)={\begin{bmatrix}1&0&1\end{bmatrix}}.}

Then [ N 0 ( 0 ) N 1 ( 0 ) N 2 ( 0 ) ] = [ 1 0 1 0 1 0 1 0 0 ] {\displaystyle {\begin{bmatrix}N_{0}(0)\\N_{1}(0)\\N_{2}(0)\end{bmatrix}}={\begin{bmatrix}1&0&1\\0&1&0\\1&0&0\end{bmatrix}}} , and since this matrix has rank = 3, the system is observable on every nontrivial interval of R {\displaystyle \mathbb {R} } .

Nonlinear systems

Given the system x ˙ = f ( x ) + j = 1 m g j ( x ) u j {\displaystyle {\dot {x}}=f(x)+\sum _{j=1}^{m}g_{j}(x)u_{j}} , y i = h i ( x ) , i p {\displaystyle y_{i}=h_{i}(x),i\in p} . Where x R n {\displaystyle x\in \mathbb {R} ^{n}} the state vector, u R m {\displaystyle u\in \mathbb {R} ^{m}} the input vector and y R p {\displaystyle y\in \mathbb {R} ^{p}} the output vector. f , g , h {\displaystyle f,g,h} are to be smooth vector fields.

Define the observation space O s {\displaystyle {\mathcal {O}}_{s}} to be the space containing all repeated Lie derivatives, then the system is observable in x 0 {\displaystyle x_{0}} if and only if dim ( d O s ( x 0 ) ) = n {\displaystyle \dim(d{\mathcal {O}}_{s}(x_{0}))=n} , where

d O s ( x 0 ) = span ( d h 1 ( x 0 ) , , d h p ( x 0 ) , d L v i L v i 1 , , L v 1 h j ( x 0 ) ) ,   j p , k = 1 , 2 , . {\displaystyle d{\mathcal {O}}_{s}(x_{0})=\operatorname {span} (dh_{1}(x_{0}),\ldots ,dh_{p}(x_{0}),dL_{v_{i}}L_{v_{i-1}},\ldots ,L_{v_{1}}h_{j}(x_{0})),\ j\in p,k=1,2,\ldots .} [9]

Early criteria for observability in nonlinear dynamic systems were discovered by Griffith and Kumar,[10] Kou, Elliot and Tarn,[11] and Singh.[12]

There also exist an observability criteria for nonlinear time-varying systems.[13]

Static systems and general topological spaces

Observability may also be characterized for steady state systems (systems typically defined in terms of algebraic equations and inequalities), or more generally, for sets in R n {\displaystyle \mathbb {R} ^{n}} .[14][15] Just as observability criteria are used to predict the behavior of Kalman filters or other observers in the dynamic system case, observability criteria for sets in R n {\displaystyle \mathbb {R} ^{n}} are used to predict the behavior of data reconciliation and other static estimators. In the nonlinear case, observability can be characterized for individual variables, and also for local estimator behavior rather than just global behavior.

See also

References

  1. ^ Kalman, R.E. (1960). "On the general theory of control systems". IFAC Proceedings Volumes. 1: 491–502. doi:10.1016/S1474-6670(17)70094-8.
  2. ^ Kalman, R. E. (1963). "Mathematical Description of Linear Dynamical Systems". Journal of the Society for Industrial and Applied Mathematics, Series A: Control. 1 (2): 152–192. doi:10.1137/0301010.
  3. ^ a b c Sontag, E.D., "Mathematical Control Theory", Texts in Applied Mathematics, 1998
  4. ^ http://www.ece.rutgers.edu/~gajic/psfiles/chap5traCO.pdf [bare URL PDF]
  5. ^ Li, W.; Wei, G.; Ho, D. W. C.; Ding, D. (November 2018). "A Weightedly Uniform Detectability for Sensor Networks". IEEE Transactions on Neural Networks and Learning Systems. 29 (11): 5790–5796. doi:10.1109/TNNLS.2018.2817244. PMID 29993845. S2CID 51615852.
  6. ^ Li, W.; Wang, Z.; Ho, D. W. C.; Wei, G. (2019). "On Boundedness of Error Covariances for Kalman Consensus Filtering Problems". IEEE Transactions on Automatic Control. 65 (6): 2654–2661. doi:10.1109/TAC.2019.2942826. S2CID 204196474.
  7. ^ Brockett, Roger W. (1970). Finite Dimensional Linear Systems. John Wiley & Sons. ISBN 978-0-471-10585-5.
  8. ^ Eduardo D. Sontag, Mathematical Control Theory: Deterministic Finite Dimensional Systems.
  9. ^ Lecture notes for Nonlinear Systems Theory by prof. dr. D.Jeltsema, prof dr. J.M.A.Scherpen and prof dr. A.J.van der Schaft.
  10. ^ Griffith, E. W.; Kumar, K. S. P. (1971). "On the observability of nonlinear systems: I". Journal of Mathematical Analysis and Applications. 35: 135–147. doi:10.1016/0022-247X(71)90241-1.
  11. ^ Kou, Shauying R.; Elliott, David L.; Tarn, Tzyh Jong (1973). "Observability of nonlinear systems". Information and Control. 22: 89–99. doi:10.1016/S0019-9958(73)90508-1.
  12. ^ Singh, Sahjendra N. (1975). "Observability in non-linear systems with immeasurable inputs". International Journal of Systems Science. 6 (8): 723–732. doi:10.1080/00207727508941856.
  13. ^ Martinelli, Agostino (2022). "Extension of the Observability Rank Condition to Time-Varying Nonlinear Systems". IEEE Transactions on Automatic Control. 67 (9): 5002–5008. doi:10.1109/TAC.2022.3180771. ISSN 0018-9286. S2CID 251957578.
  14. ^ Stanley, G. M.; Mah, R. S. H. (1981). "Observability and redundancy in process data estimation" (PDF). Chemical Engineering Science. 36 (2): 259–272. Bibcode:1981ChEnS..36..259S. doi:10.1016/0009-2509(81)85004-X.
  15. ^ Stanley, G.M.; Mah, R.S.H. (1981). "Observability and redundancy classification in process networks" (PDF). Chemical Engineering Science. 36 (12): 1941–1954. doi:10.1016/0009-2509(81)80034-6.

External links

  • "Observability". PlanetMath.
  • MATLAB function for checking observability of a system
  • Mathematica function for checking observability of a system