Controllability and observability tests#
Controllability and observability tests: structural (graph) and numerical (rank).
A system \((\mathbf{A},\mathbf{B})\) is controllable if the state can be driven from any initial value to any final value in finite time; Kalman’s criterion asks for \(\operatorname{rank}[\mathbf{B},\mathbf{A}\mathbf{B},\dots,\mathbf{A}^{N-1}\mathbf{B}]=N\). A structured system fixes only the zero pattern of the matrices; it is structurally controllable if almost all numerical realizations of the pattern are controllable. Lin’s theorem characterizes structural controllability by two graph conditions:
accessibility: every state can be reached from an input in the system graph;
no dilation: the generic rank of \([\mathbf{A},\mathbf{B}]\) is \(N\) (a matching covers every state).
Observability is the dual property of \((\mathbf{A}^{\mathsf T},\mathbf{C}^{\mathsf T})\).
Lin’s structural test, Kalman and PBH tests, generic controllable subspace, control centrality.
Functions#
Generic (structural) rank of a matrix: the size of a maximum matching between its rows and columns through non-zero entries. |
|
Lin's structural controllability test. |
|
Structural observability: structural controllability of the dual pair \((\mathbf{A}^{\mathsf T},\mathbf{C}^{\mathsf T})\). |
|
|
Boolean mask of the states reachable from the inputs in the graph of \((\mathbf{A},\mathbf{B})\). |
|
Kalman controllability matrix \([\mathbf{B},\mathbf{A}\mathbf{B},\dots,\mathbf{A}^{N-1}\mathbf{B}]\) (dense). |
|
Kalman observability matrix \([\mathbf{C};\mathbf{C}\mathbf{A};\dots;\mathbf{C}\mathbf{A}^{N-1}]\) (dense). |
|
Dimension of the controllable subspace of a numerical pair. |
|
Generic dimension of the controllable subspace of a structured pair. |
|
Controllability of \((\mathbf{A},\mathbf{B})\). |
|
Observability of \((\mathbf{A},\mathbf{C})\); dual of |
|
Eigenvalues \(\lambda\) of \(\mathbf{A}\) with \(\operatorname{rank}[\mathbf{A}-\lambda\mathbf{I},\mathbf{B}]<N\) (PBH test). |
|
Control centrality: generic dimension of the controllable subspace from one node. |
|
Observe centrality: control centrality of the dual system (MATLAB |
|
Random numerical realization of a zero pattern: magnitudes in |