Algorithm Search⌘K

Definitionintro

State observer

Also called state estimator.

A dynamical system that takes the input and output of a plant and produces an estimate of its state that converges to the true state.

Definition

Consider a plant

x˙=Ax+Bu,y=Cx,\dot x = Ax + Bu, \qquad y = Cx,

with state x∈Rnx \in \mathbb{R}^n, a known input u∈Rmu \in \mathbb{R}^m and a measured output y∈Rpy \in \mathbb{R}^p. A state observer for the plant is a dynamical system with input (u,y)(u, y), state z∈Rqz \in \mathbb{R}^q and output x^∈Rn\hat x \in \mathbb{R}^n,

z˙=Fz+Gu+Hy,x^=Mz+Ny,\dot z = Fz + Gu + Hy, \qquad \hat x = Mz + Ny,

such that for every initial state x(0)x(0), every initial state z(0)z(0) and every locally integrable input uu,

lim⁡t→∞(x(t)−x^(t))=0.\lim_{t \to \infty} \bigl(x(t) - \hat x(t)\bigr) = 0.

The observer is exponential if moreover ∣x(t)−x^(t)∣≤c e−σt(∣x(0)−x^(0)∣+∣z(0)∣)|x(t) - \hat x(t)| \le c\,e^{-\sigma t}\bigl(|x(0) - \hat x(0)| + |z(0)|\bigr) for constants c,σ>0c, \sigma > 0 that do not depend on uu. The number qq is the order of the observer. For linear time-invariant observers the two notions agree. In discrete time the definition is the same with zk+1=Fzk+Guk+Hykz_{k+1} = Fz_k + Gu_k + Hy_k and x^k=Mzk+Nyk\hat x_k = Mz_k + Ny_k. For a nonlinear plant x˙=f(x,u)\dot x = f(x, u), y=h(x)y = h(x), the observer is a system z˙=φ(z,u,y)\dot z = \varphi(z, u, y), x^=ψ(z,y)\hat x = \psi(z, y) with the same convergence property, often only for initial states in a given set.

The observers of this area are deterministic: they need no noise model, and the convergence is a property of the error dynamics. Estimators that use a model of the noise belong to state estimation in the stochastic sense, such as the Kalman filter and the Kalman-Bucy filter.

A sufficient condition (Luenberger). If FF is Hurwitz and there is T∈Rq×nT \in \mathbb{R}^{q \times n} with

TA−FT=HC,G=TB,TA - FT = HC, \qquad G = TB,

then z−Tx→0z - Tx \to 0 for every input. Indeed, e=z−Txe = z - Tx satisfies e˙=Fz+Gu+HCx−TAx−TBu=Fe+(FT+HC−TA)x+(G−TB)u=Fe\dot e = Fz + Gu + HCx - TAx - TBu = Fe + (FT + HC - TA)x + (G - TB)u = Fe. If moreover MT+NC=IMT + NC = I, then x^−x=Me→0\hat x - x = Me \to 0, so the system is a state observer. The identity observer has q=nq = n, T=IT = I, F=A−LCF = A - LC, H=LH = L, G=BG = B, M=IM = I and N=0N = 0.

Existence. For a linear time-invariant plant, a state observer exists if and only if (C,A)(C, A) is detectable. An observer whose error decays with any prescribed rate (all eigenvalues of FF freely chosen) exists if and only if (C,A)(C, A) is observable. Both follow from the identity observer and the pole placement theorem applied to (AT,CT)(A^T, C^T). Conversely, if (C,A)(C, A) is not detectable, there is an initial state x(0)≠0x(0) \ne 0 with y(t)=0y(t) = 0 for u=0u = 0 and x(t)↛0x(t) \not\to 0. The plant started at x(0)x(0) and the plant started at 0 then give the same input and output, so no system that sees only uu and yy can estimate both states correctly.

Examples and non-examples

  • Identity observer of the double integrator. A=[0100]A = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}, B=[01]B = \begin{bmatrix} 0 \\ 1 \end{bmatrix}, C=[1,0]C = [1, 0]. The system x^˙=Ax^+Bu+L(y−Cx^)\dot{\hat x} = A\hat x + Bu + L(y - C\hat x) with L=[5,6]TL = [5, 6]^T has the error matrix A−LC=[−51−60]A - LC = \begin{bmatrix} -5 & 1 \\ -6 & 0 \end{bmatrix} with characteristic polynomial s2+5s+6s^2 + 5s + 6, eigenvalues −2-2 and −3-3. It is an exponential state observer of order 2. This is the Luenberger observer.
  • Reduced-order observer of the same plant. Since y=x1y = x_1 is measured, only x2x_2 must be estimated. The system z˙=−3z−9y+u\dot z = -3z - 9y + u, x^2=z+3y\hat x_2 = z + 3y has x^2−x2=e−3t(x^2(0)−x2(0))\hat x_2 - x_2 = e^{-3t}(\hat x_2(0) - x_2(0)). It is a state observer of order 1. See the reduced-order observer.
  • A copy of the model is not an observer in general. With L=0L = 0, the system x^˙=Ax^+Bu\dot{\hat x} = A\hat x + Bu has the error e(t)=eAte(0)e(t) = e^{At}e(0). For the double integrator with e(0)=(0,1)e(0) = (0, 1) the position error is tt, which grows without bound. A copy of the model is a state observer exactly when AA is Hurwitz.
  • A differentiator is not an observer in this sense. For the double integrator, x^=(y,y˙)\hat x = (y, \dot y) gives the state exactly, but it is not a system of the form above: it needs the derivative of yy, which is not proper and amplifies measurement noise without bound at high frequency.
  • A detectable but unobservable plant. A=[−1001]A = \begin{bmatrix} -1 & 0 \\ 0 & 1 \end{bmatrix}, C=[0,1]C = [0, 1]. The first state is not seen in yy, but it decays by itself. An identity observer with L=[0,ℓ]TL = [0, \ell]^T, ℓ>1\ell > 1, is a state observer, but the error in x1x_1 always decays like e−te^{-t}, whatever LL is.
  • A plant with no observer. A=[100−1]A = \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix}, C=[0,1]C = [0, 1]. The first state grows and is not seen. No state observer exists.
  • An unknown input breaks the definition. If the plant is x˙=Ax+Bu+Ed\dot x = Ax + Bu + Ed with an unmeasured dd, the identity observer has e˙=(A−LC)e+Ed\dot e = (A - LC)e + Ed, and the error does not go to 0 in general. An unknown input observer restores the definition for every dd under a rank condition.

The observers of this area differ in what they estimate, in what they assume, and in their order:

  • Luenberger observer. The identity observer of order nn, x^˙=Ax^+Bu+L(y−Cx^)\dot{\hat x} = A\hat x + Bu + L(y - C\hat x), with LL from pole placement for the dual pair.
  • Reduced-order observer. Order n−pn - p. It takes the part of the state that yy gives directly and estimates only the rest. It passes measurement noise to x^\hat x without filtering.
  • Unknown input observer. Its error does not depend on an unmeasured input dd at all, when rank⁡(CE)=rank⁡(E)\operatorname{rank}(CE) = \operatorname{rank}(E) and the invariant zeros of (A,E,C)(A, E, C) are stable.
  • Disturbance observer. It estimates a lumped disturbance on the input, not the state, from a nominal inverse model and a low-pass filter, and is usually used to cancel it.
  • High-gain observer. For nonlinear plants in an observable normal form. Large gains make the error small quickly, at the price of peaking and noise sensitivity.
  • Sliding mode observer. Uses a discontinuous output injection, which makes the error insensitive to matched uncertainties and can reconstruct unknown inputs.
  • Kalman-Bucy filter and Kalman filter. Observers whose gain minimizes the error covariance under a noise model, in continuous and in discrete time.
  • Functional observer. An observer that estimates only KxKx, for example the signal that a state feedback needs. It can have a lower order than n−pn - p.
  • Separation principle. If a state feedback u=−Kx^u = -K\hat x uses the estimate of a linear observer, the closed-loop eigenvalues are those of the feedback and those of the observer.
  • Observability and detectability. The conditions for an observer with any error rate, and for an observer at all.

References

  1. David G. Luenberger, Observing the state of a linear system, IEEE Transactions on Military Electronics 8(2), 74-80, 1964, the definition of an observer as a linear system driven by the plant input and output, and the conditions TA - FT = HC and G = TB
  2. David G. Luenberger, An introduction to observers, IEEE Transactions on Automatic Control 16(6), 596-602, 1971, the tutorial account of identity, reduced-order and functional observers
  3. Chi-Tsong Chen, Linear System Theory and Design, third edition, Oxford University Press, 1999, Section 8.4 (state estimators, including the reduced-dimensional estimator) and Section 8.7 (the multivariable case)
  4. Karl J. Åström and Richard M. Murray, Feedback Systems, An Introduction for Scientists and Engineers, second edition, Princeton University Press, 2021, Chapter 8, Output Feedback (the sections Observability and State Estimation)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW0 stub
  • the lead paragraph