Algorithm Search⌘K

Definitioncore

Controllability

Also called state controllability, complete controllability.

A system is controllable if some input moves it from any initial state to any final state in finite time.

A linear system is controllable when its input can move the state from any initial state to any other state in finite time. It is the property that makes state feedback design possible: by the pole placement theorem, the eigenvalues of A−BKA - BK can be put anywhere exactly when the pair (A,B)(A, B) is controllable. The dual property for the output is observability, and the weaker property that the input can at least stabilize the system is stabilizability. This page is about dynamical systems; the dynamic controllability of temporal networks in planning is a different notion.

Definition

Notation. The system is the continuous-time state-space model

x˙(t)=Ax(t)+Bu(t),x(t)∈Rn,u(t)∈Rm,\dot x(t) = A x(t) + B u(t), \qquad x(t) \in \mathbb{R}^n, \quad u(t) \in \mathbb{R}^m,

with real matrices AA (n×nn \times n) and BB (n×mn \times m). Inputs are piecewise continuous functions of the time tt in seconds. By the variation of constants formula, the state at time TT is

x(T)=eATx(0)+∫0TeA(T−s)B u(s) ds.x(T) = e^{AT} x(0) + \int_0^T e^{A(T - s)} B\, u(s)\, ds .

The output equation y=Cx+Duy = C x + D u plays no part in controllability.

Definition. The pair (A,B)(A, B), or the system, is controllable if for every x0∈Rnx_0 \in \mathbb{R}^n and every x1∈Rnx_1 \in \mathbb{R}^n there are a time T>0T > 0 and an input uu on [0,T][0, T] such that the solution with x(0)=x0x(0) = x_0 has x(T)=x1x(T) = x_1.

Two weaker looking notions. A state x1x_1 is reachable if some input steers x(0)=0x(0) = 0 to x(T)=x1x(T) = x_1. A state x0x_0 is controllable to the origin if some input steers x(0)=x0x(0) = x_0 to x(T)=0x(T) = 0. For a continuous-time linear time-invariant system the three properties "controllable", "every state is reachable" and "every state is controllable to the origin" are equivalent, and the time TT can be any positive number. The reason is that eATe^{AT} is invertible, so the map from x0x_0 to x(T)x(T) for a fixed input is a bijection.

The reachable subspace. The set of states reachable from 00 is the subspace

R=range⁡[BABA2B⋯An−1B].\mathcal{R} = \operatorname{range} \begin{bmatrix} B & AB & A^2 B & \cdots & A^{n-1} B \end{bmatrix}.

It does not depend on T>0T > 0. It is AA-invariant, it contains the range of BB, and it is the smallest subspace with these two properties. The system is controllable if and only if R=Rn\mathcal{R} = \mathbb{R}^n. The proof and the rank test are on Kalman rank condition. Two other tests give the same answer: the Popov-Belevitch-Hautus test, which checks one eigenvalue at a time, and the controllability gramian Wc(T)=∫0TeAsBBTeATsdsW_c(T) = \int_0^T e^{As} B B^T e^{A^T s} ds, which is positive definite exactly when the pair is controllable.

The input that does the job. If Wc(T)W_c(T) is invertible, the input

u(t)=BTeAT(T−t) Wc(T)−1(x1−eATx0),0≤t≤T,u(t) = B^T e^{A^T (T - t)}\, W_c(T)^{-1} \bigl(x_1 - e^{AT} x_0\bigr), \qquad 0 \le t \le T,

steers x0x_0 to x1x_1 at time TT. Among all inputs that do this, it has the least energy ∫0T∣u(t)∣2dt\int_0^T |u(t)|^2 dt, and that energy is (x1−eATx0)TWc(T)−1(x1−eATx0)(x_1 - e^{AT} x_0)^T W_c(T)^{-1} (x_1 - e^{AT} x_0). See minimum energy control.

What does not change it. Controllability is a property of the pair, not of the coordinates. A change of state coordinates (A,B)→(TAT−1,TB)(A, B) \to (T A T^{-1}, T B) maps R\mathcal{R} to TRT \mathcal{R}. State feedback u=−Kx+vu = -K x + v gives the pair (A−BK,B)(A - BK, B), and R\mathcal{R} stays the same, because (A−BK)kB(A - BK)^k B is AkBA^k B plus a combination of the columns of B,AB,…,Ak−1BB, AB, \dots, A^{k-1} B. An invertible change of input coordinates B→BMB \to B M also keeps R\mathcal{R}.

Discrete time. For xk+1=Axk+Bukx_{k+1} = A x_k + B u_k, the states reachable from 00 in NN steps form the range of [B,AB,…,AN−1B][B, AB, \dots, A^{N-1} B], and this range stops growing at N=nN = n. Every state is reachable if and only if this matrix has rank nn for N=nN = n. Here the notions split: every state is controllable to the origin if and only if range⁡An⊆R\operatorname{range} A^n \subseteq \mathcal{R}, which holds for every nilpotent AA, whatever BB is. The two notions agree when AA is invertible, as for every sampled system with Ad=eAhA_d = e^{Ah}.

Time-varying and nonlinear systems. For x˙=A(t)x+B(t)u\dot x = A(t) x + B(t) u the definition is the same on a fixed interval [t0,t1][t_0, t_1], and the test is the gramian ∫t0t1Φ(t1,s)B(s)B(s)TΦ(t1,s)Tds\int_{t_0}^{t_1} \Phi(t_1, s) B(s) B(s)^T \Phi(t_1, s)^T ds with the state transition matrix Φ\Phi; see linear time-varying system. For a nonlinear system x˙=f(x,u)\dot x = f(x, u) the usual notions are local, near an equilibrium. If the linearization at an equilibrium is controllable, the nonlinear system is locally controllable there (Sontag 1998, Chapter 3). The Lie algebra rank condition gives local accessibility, which is weaker.

Examples and non-examples

  • Double integrator. A unit mass with position x1x_1, velocity x2x_2 and force uu has A=[0100]A = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix} and B=[01]B = \begin{bmatrix} 0 \\ 1 \end{bmatrix}. Then [B,AB]=[0110][B, AB] = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix} has rank 2, so the system is controllable. To move from rest at 00 to rest at position 11 in T=1T = 1 s, the gramian is Wc(1)=[1/31/21/21]W_c(1) = \begin{bmatrix} 1/3 & 1/2 \\ 1/2 & 1 \end{bmatrix}, the minimum energy input is u(t)=6−12tu(t) = 6 - 12 t, and its energy is ∫01(6−12t)2dt=12\int_0^1 (6 - 12t)^2 dt = 12. A direct integration gives velocity ∫01(6−12t)dt=0\int_0^1 (6 - 12 t) dt = 0 and position ∫01(1−s)(6−12s)ds=1\int_0^1 (1 - s)(6 - 12 s) ds = 1 at t=1t = 1.
  • Two equal tanks, one input (non-example). A=[−100−1]A = \begin{bmatrix} -1 & 0 \\ 0 & -1 \end{bmatrix} and B=[11]B = \begin{bmatrix} 1 \\ 1 \end{bmatrix}. The difference x1−x2x_1 - x_2 obeys (x1−x2)′=−(x1−x2)(x_1 - x_2)' = -(x_1 - x_2) whatever the input is, so no input changes it. The matrix [B,AB]=[1−11−1][B, AB] = \begin{bmatrix} 1 & -1 \\ 1 & -1 \end{bmatrix} has rank 1, and R\mathcal{R} is the line x1=x2x_1 = x_2.
  • Two different tanks. With A=diag⁡(−1,−2)A = \operatorname{diag}(-1, -2) and the same BB, [B,AB]=[1−11−2][B, AB] = \begin{bmatrix} 1 & -1 \\ 1 & -2 \end{bmatrix} has determinant −1-1, so the pair is controllable. One input can steer two decoupled modes when their eigenvalues differ and the input reaches each mode.
  • A mode the input does not reach (non-example). A=diag⁡(1,−2)A = \operatorname{diag}(1, -2) and B=[10]B = \begin{bmatrix} 1 \\ 0 \end{bmatrix}: the second state obeys x2′=−2x2x_2' = -2 x_2 for every input. The pair is not controllable. It is still stabilizable, because the mode that the input does not reach decays.
  • Sampling can destroy controllability. The oscillator A=[01−10]A = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}, B=[01]B = \begin{bmatrix} 0 \\ 1 \end{bmatrix} is controllable. Its zero-order-hold model with the sampling period h=πh = \pi s is Ad=eAπ=−IA_d = e^{A\pi} = -I and Bd=∫0πeAsds B=[20]B_d = \int_0^\pi e^{As} ds\, B = \begin{bmatrix} 2 \\ 0 \end{bmatrix}. Then [Bd,AdBd]=[2−200][B_d, A_d B_d] = \begin{bmatrix} 2 & -2 \\ 0 & 0 \end{bmatrix} has rank 1, so the sampled system is not controllable. The eigenvalues ±i\pm i differ by 2i2i, and h=πh = \pi makes eih=e−ihe^{ih} = e^{-ih}.
  • Controllable to the origin but not reachable (discrete time). With n=1n = 1, A=0A = 0 and B=0B = 0, the system xk+1=0x_{k+1} = 0 sends every state to 00 in one step, so every state is controllable to the origin. No state other than 00 is reachable.
  • Observability: the dual property. The pair (C,A)(C, A) is observable if and only if (AT,CT)(A^T, C^T) is controllable.
  • Stabilizability: every mode that the input cannot reach is asymptotically stable.
  • Kalman rank condition and Popov-Belevitch-Hautus test: the two algebraic tests, proved on their pages.
  • Controllability gramian: the integral that measures how much energy each direction needs.
  • Kalman decomposition: coordinates that split off the part of the state that the input cannot reach.
  • Controllable canonical form: the companion form of a controllable single-input pair.
  • Controlled invariant subspace: a subspace that state feedback can make invariant. It is a tool of geometric control, not a test of controllability.
  • Output controllability: the output, not the state, can be steered to any value. For y=Cx+Duy = C x + D u the test is rank⁡[CB,CAB,…,CAn−1B,D]=p\operatorname{rank} [CB, CAB, \dots, CA^{n-1} B, D] = p, where pp is the number of outputs. Neither property implies the other: a controllable pair with C=0C = 0 and D=0D = 0 is not output controllable.

References

  1. R. E. Kalman, Contributions to the theory of optimal control, Boletín de la Sociedad Matemática Mexicana (2) 5, 102-119, 1960, the definition of controllability for linear systems and its test by the integral that is now called the controllability gramian
  2. R. E. Kalman, Y. C. Ho and K. S. Narendra, Controllability of linear dynamical systems, Contributions to Differential Equations 1, 189-213, 1963, controllability of time-invariant and time-varying linear systems, the rank test, and the loss of controllability by sampling
  3. Chi-Tsong Chen, Linear System Theory and Design, third edition, Oxford University Press, 1999, Section 6.2 (controllability), Section 6.6 (controllability to the origin and reachability in discrete time), Section 6.7 (controllability after sampling) and Section 6.8 (time-varying systems)
  4. Eduardo D. Sontag, Mathematical Control Theory, Deterministic Finite Dimensional Systems, second edition, Springer, 1998, Chapter 3, Reachability and Controllability

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/8B4NJD/text.yaml