State-Space Realizations, Similarity & Canonical Forms

One input/output behavior has infinitely many state-coordinate descriptions. Similarity transformations preserve behavior while changing matrix structure; canonical and modal forms expose algebraic features, but minimality, physical meaning, and numerical conditioning determine whether a realization is useful.

A realization is a particular set of state coordinates for a dynamic input/output behavior. Two realizations can have very different-looking matrices and state variables yet predict exactly the same external response. The distinction matters because controller and observer calculations act on coordinates, while actuators, sensors, limits, and initialization belong to the physical system.

Similarity changes coordinates, not dynamics #

Start with

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

Choose an invertible matrix TT and define z=Txz=Tx. Since x=T−1zx=T^{-1}z,

z˙=TAT−1z+TBu,y=CT−1z+Du.\dot z=TAT^{-1}z+TBu,\qquad y=CT^{-1}z+Du.

Thus

Az=TAT−1,Bz=TB,Cz=CT−1,Dz=D.A_z=TAT^{-1},\quad B_z=TB,\quad C_z=CT^{-1},\quad D_z=D.

Equivalent state-space realizations connected by a similarity transformation The same input passes through original and transformed realizations to the same output. An invertible transformation maps x to z and the inverse maps z back to x. u y u y Original coordinates x ẋ = Ax + Bu y = Cx + Du Transformed coordinates z ż = TAT⁻¹z + TBu y = CT⁻¹z + Du same external behavior z = Tx · T invertible coordinates and state meaning change; eigenvalues, transfer behavior, controllability and observability do not
The original and transformed realizations share the same input/output behavior. State values and matrix entries change; transfer behavior, eigenvalues, controllability, observability, and minimal order do not.

Similarity preserves the characteristic polynomial and eigenvalues of AA, the transfer matrix C(sI−A)−1B+DC(sI-A)^{-1}B+D, and whether the realization is controllable or observable. It does not preserve the numerical values, units, or direct physical interpretation of individual state coordinates.

A transfer function does not select unique state #

For zero initial state, an LTI realization produces

G(s)=C(sI−A)−1B+D.G(s)=C(sI-A)^{-1}B+D.

Converting a scalar $n$th-order differential equation to nn first-order equations creates one valid realization. Partial fractions may create a modal realization. A controllable companion form can place the denominator coefficients in a structured row. All can express the same G(s)G(s).

The reverse conversion loses internal information. A transfer function cannot reveal an uncontrollable mode, because the input never excites it, or an unobservable mode, because the output never exposes it. Pole-zero cancellation may therefore hide internal unstable dynamics.

What common forms reveal #

Form Structure exposed Useful for Main caution
physical coordinates stored energy, position, current, temperature, inventory limits, initialization, diagnosis matrices may be dense or poorly scaled
phase-variable / controllable canonical characteristic-polynomial coefficients and an input chain hand derivations, SISO theory transformation can be ill-conditioned
observable canonical dual output chain observer derivations same conditioning problem
modal real modes or real 2×22\times2 blocks for complex pairs separating time scales and oscillations eigenvectors can be ill-conditioned or nonunique
balanced comparable controllability/observability energy reduction and numerical work states usually lose physical meaning

For the monic denominator

p(s)=sn+an−1sn−1+⋯+a1s+a0,p(s)=s^n+a_{n-1}s^{n-1}+\cdots+a_1s+a_0,

one common controllable phase-variable convention uses

Ac=[010⋯0001⋯0⋮⋱⋮−a0−a1−a2⋯−an−1],Bc=[00⋮1].A_c= \begin{bmatrix} 0&1&0&\cdots&0\\ 0&0&1&\cdots&0\\ \vdots&&&\ddots&\vdots\\ -a_0&-a_1&-a_2&\cdots&-a_{n-1} \end{bmatrix},\qquad B_c=\begin{bmatrix}0\\0\\\vdots\\1\end{bmatrix}.

Other texts and tools reverse the state order, so the ones and polynomial coefficients appear transposed or reflected. Always state the convention; a familiar label does not determine the matrix layout.

Minimality is structural #

A realization is minimal when no lower-order realization has the same transfer behavior. For finite-dimensional LTI systems, minimality is equivalent to being both controllable and observable. A nonminimal realization can be decomposed into four state classes: controllable/observable, controllable/unobservable, uncontrollable/observable, and uncontrollable/unobservable. Only the controllable/observable block is required by the external transfer behavior.

Minimal does not mean physically complete. A reduced input/output model may intentionally omit thermal, saturation, structural, or failure states that matter outside the identification experiment. Conversely, a physical model may retain an unactuated state because it is safety-relevant even though it cannot participate in one controller design.

Numerical conditioning is part of the representation #

The classical controllability matrix

C=[B  AB  A2B  ⋯  An−1B]\mathcal C=[B\;AB\;A^2B\;\cdots\;A^{n-1}B]

is central to theory and to companion-form derivations. Its powers of AA can, however, span wildly different magnitudes. Official current tooling therefore warns that companion transformations and raw rank tests can become numerically singular for moderate-order systems.

Practical rules:

  • scale states, inputs, and outputs to comparable engineering magnitudes;
  • prefer orthogonal staircase, Schur, or Gramian-based algorithms for computation;
  • treat a reported numerical rank as tolerance- and scaling-dependent;
  • verify the transformed model's input/output response and initial-state mapping;
  • use canonical forms as explanatory coordinates, not as a mandatory implementation format.

The best realization is the one that makes the required inference reliable: physical coordinates for limits and diagnosis, modal coordinates for modes, balanced coordinates for reduction, and structurally stable numerical forms for computation.

Sources

  1. docsMathWorks: State-Space Realizations

Searches titles, aliases, headings, summaries, and full text.↑↓ move ↵ open esc close