Theoremcore
Kalman rank condition
Also called controllability matrix test, Kalman controllability test.
An LTI system is controllable if and only if the matrix [B, AB, ..., A^(n-1)B] has full rank n, and observable by the dual test.
The Kalman rank condition decides controllability of a linear time-invariant system by one rank computation: the pair is controllable if and only if the controllability matrix has rank , the dimension of the state. The transposed test decides observability. The proof also shows that the range of this matrix is exactly the set of states the input can reach. The test is exact in rational arithmetic, but in floating point it is badly conditioned, and numerical codes use orthogonal methods or the Popov-Belevitch-Hautus test instead.
Statement
Let , and . Define the controllability matrix and the observability matrix
Theorem. For the system , with piecewise continuous inputs, and for every :
- The set of states reachable from is the subspace .
- is controllable if and only if .
- The set of initial states with for all is the subspace .
- is observable if and only if .
For the discrete-time system , the states reachable from in steps form , and the outputs with zero input determine if and only if .
In plain words
Push the system with the input and watch where the state can go. The input moves the state along the columns of the input matrix. The dynamics then turn those directions, and turned again, and so on. The theorem says that a finite list is enough: the input directions and their images under the dynamics, applied up to one time less than the number of state variables. If these directions span the whole state space, every state can be reached. If they span less, the states the input can reach form exactly their span, whatever input and whatever time is used. Observability is the same test on the transposed system: the output must see every direction of the state.
Proof
Step 0: an invariant subspace. By the Cayley-Hamilton theorem, , where is the characteristic polynomial of . By induction on , every with is a linear combination of . So the columns of lie in for every .
Step 1: reachable states lie in . With , . The series converges, and each term has its columns in by Step 0. A subspace of is closed, so for every and , and so is the integral.
Step 2: the gramian has the same range. Let , a symmetric matrix. If , then for all by Step 0, so for all , and . Conversely, if , then
The integrand is continuous and nonnegative, so for all . Differentiate times at : for , so . Hence . Since is symmetric, .
Step 3: every state of is reachable. Let , and pick with . The input gives, with the substitution ,
Steps 1 and 3 prove part 1.
Part 2. From the state at time is with in the reachable set of part 1. So can be steered to at time if and only if . This holds for all if and only if , that is, . If the rank is less than , it fails for every , so no time helps.
Parts 3 and 4. If , then for all by Step 0 applied to and , so . Conversely, if on , differentiating times at gives for . So the set in part 3 is . By the reduction on the observability page, the system is observable if and only if this set is , that is, if .
Discrete time. By induction, when . As the vary over , these sums fill , which equals for by Step 0. With zero input, for , and the stacked map has the same kernel as for , again by Step 0.
Consequences
Example. For and , and has determinant : the pair is controllable. With , and has rank 1: the pair is not observable, and is spanned by .
Invariance. For an invertible , the controllability matrix of is , so the rank is a property of the system. For state feedback, of the controllability matrix of equals , so feedback neither creates nor destroys controllability.
Fewer powers are enough with more inputs. Let . Then . Proof: the subspaces grow with , and . If , then , so the sequence is constant from then on. The dimension starts at for , grows by at least one at each step before it stops, and cannot pass , so it stops by . For a controllable pair, the least with is the controllability index of the pair (Chen 1999, Section 6.2.1).
Controllability is generic. The pair is uncontrollable exactly when every minor of vanishes. These minors are polynomials in the entries of and , and at least one is not the zero polynomial: it is nonzero at the chain of integrators of the Tightness section, extended to dimension and with as the first column of . So the uncontrollable pairs form a closed set with empty interior, and a perturbation of an uncontrollable pair by a random matrix with a density is controllable with probability 1. This is why a model that is "nearly uncontrollable" must be judged by a distance, not by a rank.
Uses. The single-input Ackermann formula inverts , and the pole placement theorem needs . The range of is the Krylov subspace of and of order , and the Kalman decomposition uses it as the first block of coordinates.
Cost. In the real RAM, forming takes products of with an block, operations, and its rank by Gaussian elimination takes more. With rational data and exact rational arithmetic the rank is exact.
Numerical use: a pitfall. In floating point the rank of is a poor test (Paige 1981). The columns turn toward the dominant eigenvector, as in power iteration, so is close to rank deficient even for systems far from any uncontrollable one. For and the vector of ones, the pair is controllable for every (distinct eigenvalues, and reaches each mode). In double precision, the condition number of is about for and about for , and for the usual rank tolerance (largest singular value times times the unit roundoff) gives rank 8. Yet at every eigenvalue of the smallest singular value of stays above . The robust measure is the distance to the nearest uncontrollable pair, (Eising 1984, Systems and Control Letters 4(5)). Software uses an orthogonal staircase reduction instead of .
Tightness
The power cannot be lowered in general. Take the single-input chain and , a triple integrator. Then and , so has rank 2 and only has rank 3. The same holds in dimension : with one input () the bound of the Consequences section is attained.
The test is for time-invariant systems. For the pointwise rank of does not decide controllability; the test is the time-varying gramian on the linear time-varying system page.
History
Kalman introduced controllability for linear systems in 1960 and tested it with the integral now called the controllability gramian (Kalman 1960). The rank form of the test appears in Kalman, Ho and Narendra (1963), together with the discrete-time case and the effect of sampling. Gilbert (1963) gave the test for systems with distinct eigenvalues in modal coordinates. Paige (1981) showed why the rank test fails as a numerical method and gave a numerically stable orthogonal algorithm.
References
- R. E. Kalman, Y. C. Ho and K. S. Narendra, Controllability of linear dynamical systems, Contributions to Differential Equations 1, 189-213, 1963, the rank condition for controllability of time-invariant linear systems
- R. E. Kalman, Contributions to the theory of optimal control, Boletín de la Sociedad Matemática Mexicana (2) 5, 102-119, 1960, controllability and its test by the gramian integral
- C. C. Paige, Properties of numerical algorithms related to computing controllability, IEEE Transactions on Automatic Control 26(1), 130-138, 1981, why the rank of the controllability matrix is a poor numerical test, and a numerically stable orthogonal alternative
- Chi-Tsong Chen, Linear System Theory and Design, third edition, Oxford University Press, 1999, Section 6.2 (controllability and controllability indices), Section 6.3 (observability) and Section 6.6 (discrete time)
- Kemin Zhou, John C. Doyle and Keith Glover, Robust and Optimal Control, Prentice Hall, 1996, Section 3.2, Controllability and Observability
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag A2NF3D Edit this page History Report an error Markdown