Algorithm Search⌘K

Definitioncore

Controllable canonical form

Also called controller canonical form, phase-variable form.

A state-space form of a single-input system with a companion matrix whose last row holds the coefficients of the characteristic polynomial.

The controllable canonical form is a state-space model of a single-input system in which AA is a companion matrix, with the coefficients of the characteristic polynomial in its last row, and BB is the last unit vector. Every controllable single-input pair (A,b)(A, b) can be brought to this form by a change of coordinates, and the form can be written down directly from a transfer function. It makes state feedback design a matter of matching coefficients. The dual form, with the coefficients in a column and the output as a unit vector, is the observable canonical form.

Definition

Notation. A single-input single-output transfer function of order nn is written

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 .

Any proper rational function can be put in this form, with d=lim⁡s→∞G(s)d = \lim_{s \to \infty} G(s).

Definition. The controllable canonical form of GG is

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

Why it realizes GG. The first n−1n - 1 rows say z˙k=zk+1\dot z_k = z_{k+1}, so zk=z1(k−1)z_k = z_1^{(k-1)}; the states are z1z_1 and its derivatives, which is the reason for the name phase-variable form. The last row says

z1(n)+a1z1(n−1)+⋯+anz1=u,z_1^{(n)} + a_1 z_1^{(n-1)} + \dots + a_n z_1 = u ,

so Z1(s)=U(s)/a(s)Z_1(s) = U(s)/a(s) with a(s)=sn+a1sn−1+⋯+ana(s) = s^n + a_1 s^{n-1} + \dots + a_n. The output is y=bnz1+bn−1z˙1+⋯+b1z1(n−1)+duy = b_n z_1 + b_{n-1} \dot z_1 + \dots + b_1 z_1^{(n-1)} + d u, so Y(s)=(b(s)/a(s)+d) U(s)Y(s) = (b(s)/a(s) + d)\, U(s) with b(s)=b1sn−1+⋯+bnb(s) = b_1 s^{n-1} + \dots + b_n.

Properties.

  • The characteristic polynomial of AA is a(s)a(s).
  • The pair (A,B)(A, B) is always controllable. The controllability matrix [B,AB,…,An−1B][B, AB, \dots, A^{n-1} B] has ones on the antidiagonal and zeros above it, so its determinant is ±1\pm 1.
  • The pair (C,A)(C, A) is observable if and only if a(s)a(s) and b(s)b(s) have no common root. So the form is a minimal realization exactly when G=b/aG = b/a is in lowest terms.

Transformation to the form. Let (A,b)(A, b) be any controllable single-input pair with characteristic polynomial sn+a1sn−1+⋯+ans^n + a_1 s^{n-1} + \dots + a_n. Let M=[b,Ab,…,An−1b]M = [b, Ab, \dots, A^{n-1} b] and

W=[an−1an−2⋯a11an−2an−3⋯10⋮⋮a11⋯0010⋯00].W = \begin{bmatrix} a_{n-1} & a_{n-2} & \cdots & a_1 & 1 \\ a_{n-2} & a_{n-3} & \cdots & 1 & 0 \\ \vdots & & & & \vdots \\ a_1 & 1 & \cdots & 0 & 0 \\ 1 & 0 & \cdots & 0 & 0 \end{bmatrix}.

The coordinates zz with x=MWzx = M W z give (W−1M−1AMW,W−1M−1b)(W^{-1} M^{-1} A M W, W^{-1} M^{-1} b) in controllable canonical form, and the output matrix becomes CMWC M W. Two controllable single-input pairs with the same characteristic polynomial are therefore similar, and the form is unique for each such polynomial.

Use in pole placement. In the canonical coordinates, the feedback u=−Kzu = -K z with K=[k1,…,kn]K = [k_1, \dots, k_n] changes only the last row, which becomes [−(an+k1),…,−(a1+kn)][-(a_n + k_1), \dots, -(a_1 + k_n)]. The closed loop characteristic polynomial is sn+(a1+kn)sn−1+⋯+(an+k1)s^n + (a_1 + k_n) s^{n-1} + \dots + (a_n + k_1). To get a desired polynomial sn+α1sn−1+⋯+αns^n + \alpha_1 s^{n-1} + \dots + \alpha_n, take kn+1−i=αi−aik_{n + 1 - i} = \alpha_i - a_i. The gain in the original coordinates is K(MW)−1K (M W)^{-1}. This is the proof of the single-input pole placement theorem, and written out it is the Ackermann formula.

Numerical caution. The form is a tool for proofs and small examples, not for computing. The coefficients aia_i can be very sensitive to the eigenvalues and the reverse, as for the Wilkinson polynomial; see root conditioning. The transformation MWM W inherits the conditioning of the controllability matrix MM, which for A=diag⁡(−1,…,−10)A = \operatorname{diag}(-1, \dots, -10) and bb the vector of ones has a condition number near 2×10122 \times 10^{12}. Numerical pole placement uses orthogonal transformations instead; see robust pole placement.

Conventions. Books differ in the order of the states. Some put the coefficients −a1,…,−an-a_1, \dots, -a_n in the first row and take B=e1B = e_1; Kailath (1980) calls a form of this kind the controller canonical form. The two orders are related by the permutation that reverses the states. The names "controllable", "controller" and "phase-variable" are also used for slightly different forms in different books, so the matrices, not the name, fix the meaning.

Multi-input systems. A controllable pair with m>1m > 1 inputs has no single companion form. Luenberger (1967) chose basis vectors bj,Abj,…,Aμj−1bjb_j, A b_j, \dots, A^{\mu_j - 1} b_j by the controllability indices μ1,…,μm\mu_1, \dots, \mu_m, with μ1+⋯+μm=n\mu_1 + \dots + \mu_m = n. In these coordinates AA is block companion with diagonal blocks of sizes μj\mu_j and BB is nearly a selection of unit vectors. The indices, but not all the coefficients, are invariant under changes of state and input coordinates.

Examples and non-examples

  • A two-state example. G(s)=(s+3)/(s2+3s+2)G(s) = (s + 3)/(s^2 + 3 s + 2) has a1=3a_1 = 3, a2=2a_2 = 2, b1=1b_1 = 1 and b2=3b_2 = 3. Its form is A=[01−2−3]A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix}, B=(0,1)TB = (0, 1)^T, C=[3,1]C = [3, 1], D=0D = 0. Check: C(sI−A)−1B=(3+s)/(s2+3s+2)C (sI - A)^{-1} B = (3 + s)/(s^2 + 3 s + 2), since (sI−A)−1B=(1,s)T/(s2+3s+2)(sI - A)^{-1} B = (1, s)^T / (s^2 + 3 s + 2).
  • Transforming a diagonal pair. A=diag⁡(−1,−2)A = \operatorname{diag}(-1, -2), b=(1,1)Tb = (1, 1)^T. The characteristic polynomial is s2+3s+2s^2 + 3 s + 2, M=[1−11−2]M = \begin{bmatrix} 1 & -1 \\ 1 & -2 \end{bmatrix} and W=[3110]W = \begin{bmatrix} 3 & 1 \\ 1 & 0 \end{bmatrix}, so MW=[2111]M W = \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix} with inverse [1−1−12]\begin{bmatrix} 1 & -1 \\ -1 & 2 \end{bmatrix}. Then (MW)−1AMW=[01−2−3](M W)^{-1} A M W = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix} and (MW)−1b=(0,1)T(M W)^{-1} b = (0, 1)^T.
  • Pole placement on the double integrator. A=[0100]A = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}, B=(0,1)TB = (0, 1)^T is already in the form with a1=a2=0a_1 = a_2 = 0. For the closed loop polynomial s2+2s+1s^2 + 2 s + 1, k2=2k_2 = 2 and k1=1k_1 = 1, so K=[1,2]K = [1, 2].
  • A form that is not minimal. G(s)=(s+1)/(s2+3s+2)G(s) = (s + 1)/(s^2 + 3 s + 2) gives the same AA and BB with C=[1,1]C = [1, 1]. The pair is controllable but not observable: CA=[−2,−2]C A = [-2, -2]. The common factor s+1s + 1 cancels, and the minimal order is 1.
  • No form for an uncontrollable pair (non-example). A=−I2A = -I_2, b=(1,1)Tb = (1, 1)^T: M=[1−11−1]M = \begin{bmatrix} 1 & -1 \\ 1 & -1 \end{bmatrix} is singular. Every pair in controllable canonical form is controllable, and controllability does not change under a change of coordinates, so no TT exists.

References

  1. David G. Luenberger, Canonical forms for linear multivariable systems, IEEE Transactions on Automatic Control 12(3), 290-293, 1967, canonical forms for controllable multi-input pairs, built from the controllability indices
  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 in companion form)
  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 controller 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/N353PN/text.yaml