Observability

Revision as of 21:58, 19 May 2024 by imported>Rofraja (Fix bare URLs references, add title)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Short description Template:For-multi 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.<ref>Template:Cite journal</ref><ref>Template:Cite journal</ref> 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.

DefinitionEdit

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 systemsEdit

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 <math>n</math> state variables (see state space for details about MIMO systems) given by

<math>\dot{\mathbf{x}}(t) = \mathbf{A} \mathbf{x}(t) + \mathbf{B} \mathbf{u}(t)</math>
<math>\mathbf{y}(t) = \mathbf{C} \mathbf{x}(t) + \mathbf{D} \mathbf{u}(t)</math>

Observability matrixEdit

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

<math>\mathcal{O}=\begin{bmatrix} C \\ CA \\ CA^2 \\ \vdots \\ CA^{n-1} \end{bmatrix}</math>

is equal to <math>n</math>, then the system is observable. The rationale for this test is that if <math>n</math> columns are linearly independent, then each of the <math>n</math> state variables is viewable through linear combinations of the output variables <math>y</math>.

Related conceptsEdit

Observability indexEdit

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

<math> \mathcal{O}_v=\begin{bmatrix} C \\ CA \\ CA^2 \\ \vdots \\ CA^{v-1} \end{bmatrix}.</math>

Unobservable subspaceEdit

The unobservable subspace <math>N</math> of the linear system is the kernel of the linear map <math>G</math> given by<ref name=":1">Sontag, E.D., "Mathematical Control Theory", Texts in Applied Mathematics, 1998</ref>

<math> \begin{align}

G \colon \mathbb{R}^{n} &\rightarrow \mathcal{C}(\mathbb{R};\mathbb{R}^n) \\ x(0) &\mapsto C e^{A t} x(0)

\end{align} </math>

where <math>\mathcal{C}(\mathbb{R};\mathbb{R}^n)</math> is the set of continuous functions from <math>\mathbb{R}</math> to <math>\mathbb{R}^n </math>. <math>N</math> can also be written as <ref name=":1" />

<math> N = \bigcap_{k=0}^{n-1} \ker(CA^k)= \ker{\mathcal{O}} </math>

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

The following properties for the unobservable subspace are valid:<ref name=":1" />

  • <math> N \subset Ke(C) </math>
  • <math> A(N) \subset N </math>
  • <math> N= \bigcup \{ S \subset R^n \mid S \subset Ke(C), A(S) \subset N \} </math>

DetectabilityEdit

A slightly weaker notion than observability is detectability. A system is detectable if all the unobservable states are stable.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Detectability conditions are important in the context of sensor networks.<ref>Template:Cite journal</ref><ref>Template:Cite journal</ref>

Linear time-varying systemsEdit

Consider the continuous linear time-variant system

<math>\dot{\mathbf{x}}(t) = A(t) \mathbf{x}(t) + B(t) \mathbf{u}(t) \, </math>
<math>\mathbf{y}(t) = C(t) \mathbf{x}(t). \, </math>

Suppose that the matrices <math>A</math>, <math>B</math> and <math>C</math> are given as well as inputs and outputs <math>u</math> and <math>y</math> for all <math>t \in [t_0,t_1];</math> then it is possible to determine <math>x(t_0)</math> to within an additive constant vector which lies in the null space of <math>M(t_0,t_1)</math> defined by

<math>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</math>

where <math>\varphi</math> is the state-transition matrix.

It is possible to determine a unique <math>x(t_0)</math> if <math>M(t_0,t_1)</math> is nonsingular. In fact, it is not possible to distinguish the initial state for <math>x_1</math> from that of <math>x_2</math> if <math>x_1 - x_2</math> is in the null space of <math>M(t_0,t_1)</math>.

Note that the matrix <math>M</math> defined as above has the following properties:

<math>\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</math>
  • <math>M(t_0,t_1)</math> satisfies the equation
<math>M(t_0,t_1) = M(t_0,t) + \varphi(t,t_0)^T M(t,t_1)\varphi(t,t_0)</math><ref>Template:Cite book</ref>

Observability matrix generalizationEdit

The system is observable in <math>[t_0,t_1]</math> if and only if there exists an interval <math>[t_0,t_1]</math> in <math>\mathbb{R}</math> such that the matrix <math>M(t_0,t_1)</math> is nonsingular.

If <math>A(t), C(t)</math> are analytic, then the system is observable in the interval [<math>t_0</math>,<math>t_1</math>] if there exists <math>\bar{t} \in [t_0,t_1]</math> and a positive integer k such that<ref name=":0">Eduardo D. Sontag, Mathematical Control Theory: Deterministic Finite Dimensional Systems.</ref>

<math> \operatorname{rank} \begin{bmatrix}
& N_0(\bar{t}) & \\ 
& N_1(\bar{t}) & \\ 
& \vdots & \\ 
& N_{k}(\bar{t}) & 

\end{bmatrix} = n, </math>

where <math>N_0(t):=C(t)</math> and <math>N_i(t)</math> is defined recursively as

<math>N_{i+1}(t) := N_i(t)A(t) + \frac{\mathrm{d}}{\mathrm{d} t}N_i(t),\ i = 0, \ldots, k-1 </math>

ExampleEdit

Consider a system varying analytically in <math> (-\infty,\infty) </math> and matrices

<math>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}.</math>

Then <math> \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}</math> , and since this matrix has rank = 3, the system is observable on every nontrivial interval of <math>\mathbb{R}</math>.

Nonlinear systemsEdit

Given the system <math>\dot{x} = f(x) + \sum_{j=1}^mg_j(x)u_j </math>, <math>y_i = h_i(x), i \in p</math>. Where <math>x \in \mathbb{R}^n</math> the state vector, <math>u \in \mathbb{R}^m</math> the input vector and <math>y \in \mathbb{R}^p</math> the output vector. <math>f,g,h</math> are to be smooth vector fields.

Define the observation space <math>\mathcal{O}_s</math> to be the space containing all repeated Lie derivatives, then the system is observable in <math>x_0</math> if and only if <math>\dim(d\mathcal{O}_s(x_0)) = n</math>, where

<math>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.</math><ref>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.</ref>

Early criteria for observability in nonlinear dynamic systems were discovered by Griffith and Kumar,<ref>Template:Cite journal</ref> Kou, Elliot and Tarn,<ref>Template:Cite journal</ref> and Singh.<ref>Template:Cite journal</ref>

There also exist an observability criteria for nonlinear time-varying systems.<ref>Template:Cite journal</ref>

Static systems and general topological spacesEdit

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 <math>\mathbb{R}^n</math>.<ref>Template:Cite journal</ref><ref>Template:Cite journal</ref> 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 <math>\mathbb{R}^n</math> 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 alsoEdit

ReferencesEdit

Template:Reflist

External linksEdit

fr:Représentation d'état#Observabilité et détectabilité