Algorithm Search⌘K

Definitioncore

Observable canonical form

Also called observer canonical form.

The dual of the controllable canonical form, in which the output map is a unit vector and the coefficients appear in one column.

The observable canonical form is a state-space model of a single-output system in which CC is the last unit row vector and AA is a companion matrix with the coefficients of the characteristic polynomial in its last column. It is the transpose of the controllable canonical form: AA and CC here are ATA^T and BTB^T there, and BB here holds the numerator coefficients. Every observable single-output pair (C,A)(C, A) can be brought to this form, and in it the design of an observer gain is a matter of matching coefficients.

Definition

Notation. As on the controllable canonical form page,

G(s)=b1sn−1+b2sn−2+⋯+bnsn+a1sn−1+⋯+an+d.G(s) = \frac{b_1 s^{n-1} + b_2 s^{n-2} + \dots + b_n}{s^n + a_1 s^{n-1} + \dots + a_n} + d .

Definition. The observable canonical form of GG is

A=[00⋯0−an10⋯0−an−101⋯0−an−2⋮⋱⋮00⋯1−a1],B=[bnbn−1⋮b1],C=[0⋯01],D=d.A = \begin{bmatrix} 0 & 0 & \cdots & 0 & -a_n \\ 1 & 0 & \cdots & 0 & -a_{n-1} \\ 0 & 1 & \cdots & 0 & -a_{n-2} \\ \vdots & & \ddots & & \vdots \\ 0 & 0 & \cdots & 1 & -a_1 \end{bmatrix}, \quad B = \begin{bmatrix} b_n \\ b_{n-1} \\ \vdots \\ b_1 \end{bmatrix}, \quad C = \begin{bmatrix} 0 & \cdots & 0 & 1 \end{bmatrix}, \quad D = d .

Why it realizes GG. If (Ac,Bc,Cc,d)(A_c, B_c, C_c, d) is the controllable canonical form, this one is (AcT,CcT,BcT,d)(A_c^T, C_c^T, B_c^T, d). A scalar transfer function equals its transpose, so C(sI−A)−1B+d=(Cc(sI−Ac)−1Bc)T+d=G(s)C (sI - A)^{-1} B + d = \bigl(C_c (sI - A_c)^{-1} B_c\bigr)^T + d = G(s). A direct reading also works: the rows give z˙1=−anzn+bnu\dot z_1 = -a_n z_n + b_n u and z˙k=zk−1−an−k+1zn+bn−k+1u\dot z_k = z_{k-1} - a_{n-k+1} z_n + b_{n-k+1} u, with y=zn+duy = z_n + d u. Eliminating z1,…,zn−1z_1, \dots, z_{n-1} gives a(s)(Y−dU)=b(s)Ua(s) (Y - dU) = b(s) U. The input enters each integrator of a chain, which is why the form is drawn as nested integrators with feedback from the output.

Properties. They are the transposes of those of the controllable form.

  • The characteristic polynomial of AA is a(s)=sn+a1sn−1+⋯+ana(s) = s^n + a_1 s^{n-1} + \dots + a_n.
  • (C,A)(C, A) is always observable: the observability matrix has ones on the antidiagonal and zeros above it.
  • (A,B)(A, B) is controllable if and only if a(s)a(s) and b(s)b(s) have no common root.

Transformation to the form. Let (c,A)(c, A) be an observable single-output pair with characteristic polynomial sn+a1sn−1+⋯+ans^n + a_1 s^{n-1} + \dots + a_n, let O=[c;cA;… ;cAn−1]O = [c; cA; \dots; cA^{n-1}] be its observability matrix and WW the symmetric matrix of coefficients from the controllable form page. The coordinates z=WOxz = W O x give WOA(WO)−1W O A (W O)^{-1} in observable canonical form and c(WO)−1=[0,…,0,1]c (W O)^{-1} = [0, \dots, 0, 1]. This is the controllable case applied to (AT,cT)(A^T, c^T) and transposed back.

Use in observer design. For the observer error matrix A−LCA - L C with L=(l1,…,ln)TL = (l_1, \dots, l_n)^T, only the last column changes, since LCL C is LL placed in the last column. That column becomes (−(an+l1),…,−(a1+ln))T(-(a_n + l_1), \dots, -(a_1 + l_n))^T, so the characteristic polynomial of A−LCA - L C is sn+(a1+ln)sn−1+⋯+(an+l1)s^n + (a_1 + l_n) s^{n-1} + \dots + (a_n + l_1). To get the polynomial sn+α1sn−1+⋯+αns^n + \alpha_1 s^{n-1} + \dots + \alpha_n, take ln+1−i=αi−ail_{n + 1 - i} = \alpha_i - a_i. In the original coordinates the gain is (WO)−1L(W O)^{-1} L. This is the dual of single-input pole placement, used for the Luenberger observer.

The observability form, a variant. Another companion realization keeps the AA of the controllable form, takes C=e1TC = e_1^T, and puts the first nn Markov parameters h1,…,hnh_1, \dots, h_n of G(s)−d=∑k≥1hks−kG(s) - d = \sum_{k \ge 1} h_k s^{-k} in BB. Its states are yy and its first n−1n - 1 derivatives when u=0u = 0. Some books call this one the observable form, so the matrices, not the name, fix the meaning. Some books also reverse the state order, which puts the coefficients in the first column and makes C=e1TC = e_1^T.

Multi-output systems. For p>1p > 1 outputs, Luenberger (1967) built a block companion form from the observability indices ν1,…,νp\nu_1, \dots, \nu_p, with ν1+⋯+νp=n\nu_1 + \dots + \nu_p = n, by the dual of the multi-input construction.

Numerical caution. As with the controllable form, the coefficients can be badly conditioned functions of the eigenvalues (root conditioning), and WOW O inherits the conditioning of the observability matrix. The form is for proofs and small examples.

Examples and non-examples

  • A two-state example. G(s)=(s+3)/(s2+3s+2)G(s) = (s + 3)/(s^2 + 3 s + 2) gives A=[0−21−3]A = \begin{bmatrix} 0 & -2 \\ 1 & -3 \end{bmatrix}, B=(3,1)TB = (3, 1)^T, C=[0,1]C = [0, 1]. Check: C(sI−A)−1=[1,s]/(s2+3s+2)C (sI - A)^{-1} = [1, s] / (s^2 + 3 s + 2), and [1,s](3,1)T=s+3[1, s] (3, 1)^T = s + 3.
  • Transforming a diagonal pair. A=diag⁡(−1,−2)A = \operatorname{diag}(-1, -2), c=[1,1]c = [1, 1], b=(1,−1)Tb = (1, -1)^T, so G(s)=1/(s+1)−1/(s+2)=1/(s2+3s+2)G(s) = 1/(s + 1) - 1/(s + 2) = 1/(s^2 + 3 s + 2). Here O=[11−1−2]O = \begin{bmatrix} 1 & 1 \\ -1 & -2 \end{bmatrix}, W=[3110]W = \begin{bmatrix} 3 & 1 \\ 1 & 0 \end{bmatrix}, and WO=[2111]W O = \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix} with inverse [1−1−12]\begin{bmatrix} 1 & -1 \\ -1 & 2 \end{bmatrix}. Then WOA(WO)−1=[0−21−3]W O A (W O)^{-1} = \begin{bmatrix} 0 & -2 \\ 1 & -3 \end{bmatrix}, c(WO)−1=[0,1]c (W O)^{-1} = [0, 1] and WOb=(1,0)TW O b = (1, 0)^T, which is (b2,b1)T(b_2, b_1)^T for the numerator 0⋅s+10 \cdot s + 1.
  • The observability form. For G(s)=(s+3)/(s2+3s+2)G(s) = (s + 3)/(s^2 + 3 s + 2) the Markov parameters are h1=1h_1 = 1 and h2=0h_2 = 0, from G(s)=s−1+0⋅s−2−2s−3+…G(s) = s^{-1} + 0 \cdot s^{-2} - 2 s^{-3} + \dots. With A=[01−2−3]A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix}, B=(1,0)TB = (1, 0)^T and C=[1,0]C = [1, 0], C(sI−A)−1B=(s+3)/(s2+3s+2)C (sI - A)^{-1} B = (s + 3)/(s^2 + 3 s + 2).
  • A form that is not minimal. G(s)=(s+1)/(s2+3s+2)G(s) = (s + 1)/(s^2 + 3 s + 2) gives B=(1,1)TB = (1, 1)^T with the same AA and CC. Then AB=(−2,−2)TA B = (-2, -2)^T, so [B,AB]=[1−21−2][B, AB] = \begin{bmatrix} 1 & -2 \\ 1 & -2 \end{bmatrix} has rank 1, and the pair (A,B)(A, B) is not controllable. The factor s+1s + 1 cancels.
  • No form for an unobservable pair (non-example). The double integrator with velocity measured, A=[0100]A = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix} and c=[0,1]c = [0, 1], has O=[0100]O = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}, which is singular. Every pair in observable canonical form is observable, so no change of coordinates brings this pair to the form.

References

  1. David G. Luenberger, Canonical forms for linear multivariable systems, IEEE Transactions on Automatic Control 12(3), 290-293, 1967, canonical forms for multi-output systems, built from the observability indices by duality
  2. Chi-Tsong Chen, Linear System Theory and Design, third edition, Oxford University Press, 1999, Section 4.4 (realizations of a proper rational transfer function) and Section 7.5 (realizations from Markov parameters)
  3. Kemin Zhou, John C. Doyle and Keith Glover, Robust and Optimal Control, Prentice Hall, 1996, Section 3.4, Pole Placement and Canonical Forms
  4. Thomas Kailath, Linear Systems, Prentice Hall, 1980, the observer canonical form of a scalar transfer function and its relation to the other canonical realizations

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)
WritingW4 complete
  • a review of the text: no review record reviews/6MHF8K/text.yaml