# Observability

{{#invoke:Hatnote|hatnote}} In control theory, observability is a measure for how well internal states of a system can be inferred by knowledge of its external outputs. The observability and controllability of a system are mathematical duals. The concept of observability was introduced by American-Hungarian scientist Rudolf E. Kalman for linear dynamic systems.

## Definition

Formally, a system is said to be observable if, for any possible sequence of state and control vectors, the current state can be determined in finite time using only the outputs (this definition is slanted towards the state space representation). Less formally, this means that from the system's outputs it is possible to determine the behaviour of the entire system. If a system is not observable, this means the current values of some of its states cannot be determined through output sensors. This implies that their value is unknown to the controller (although they can be estimated through various means).

For time-invariant linear systems in the state space representation, there is a convenient test to check if a system is observable. Consider a SISO system with $n$ states (see state space for details about MIMO systems), if the row rank of the following observability matrix

${\mathcal {O}}={\begin{bmatrix}C\\CA\\CA^{2}\\\vdots \\CA^{n-1}\end{bmatrix}}$ is equal to $n$ , then the system is observable. The rationale for this test is that if $n$ rows are linearly independent, then each of the $n$ states is viewable through linear combinations of the output variables $y(k)$ .

A module designed to estimate the state of a system from measurements of the outputs is called a state observer or simply an observer for that system.

Observability index

The Observability index $v$ of a linear time-invariant discrete system is the smallest natural number for which is satisfied that $rank{(O_{v})}=rank{(O_{v+1})}$ , where

${\mathcal {O}}_{v}={\begin{bmatrix}C\\CA\\CA^{2}\\\vdots \\CA^{v-1}\end{bmatrix}}.$ Detectability

A slightly weaker notion than observability is detectability. A system is detectable if and only if all of its unobservable modes are asymptotically stable. Thus even though not all system modes are observable, the ones that are not observable do not require stabilization.

## Continuous time-varying system

Consider the continuous linear time-variant system

${\dot {\mathbf {x} }}(t)=A(t)\mathbf {x} (t)+B(t)\mathbf {u} (t)\,$ $\mathbf {y} (t)=C(t)\mathbf {x} (t).\,$ $M(t_{0},t_{1})=\int _{t_{0}}^{t_{1}}\phi (t,t_{0})^{T}C(t)^{T}C(t)\phi (t,t_{0})dt$ Note that the matrix $M$ defined as above has the following properties:

${\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})=M(t_{0},t)+\phi (t,t_{0})^{T}M(t,t_{1})\phi (t,t_{0})$ ## Nonlinear case

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

## 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 $\mathbb {R} ^{n}$ ,. 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 $\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.