Automatic Control Linear Systems PART VI
Younger than I thought.
Table of Contents
- Lec 7 Controllability and Observability
Lec 7 Controllability and Observability
I. LA Recall
a. Rank of matrix
The rank of a matrix ๐ด is the dimension of the vector space generated (or spanned) by its columns. This corresponds to the maximal number of linearly independent columns of ๐ด.
In MATLAB, using rank() would be quick.
II. Controllability
a. Definition
A system is said to be completely state controllable if it is possible to transfer the system states from any initial state ๐ฅ(๐ก0) to any other desired state ๐ฅ(๐ก1) in a desired finite time interval ๐ก1 by unconstrained control vector ๐ข ๐ก . Otherwise the system is not completely state controllable.
- if the system is controllable, the car can be moved to a desired position from any point in finite time.
- Unstrained control, itโs more theoretical.
- Note that not all parts are controllable and whoโs in charge of the system - Matrix B.
b. Example.
c . Definition 2
A way to calculate the coresponding u.
Here, Matrix W_c is usually called Controllability Gramian
In linear algebra, the Gram matrix (or Gramian matrix, Gramian) of a set of vectors in an inner product space is the Hermitian matrix of inner products, whose entries are given by ${\displaystyle G_{ij}=\left\langle v_{i},v_{j}\right\rangle }$https://en.wikipedia.org/wiki/Gramian_matrix#cite_note-HJ-7.2.10-1)
An important application is to compute linear independence: a set of vectors are linearly independent if and only if the Gram determinant (the determinant of the Gram matrix) is non-zero.
d. Example
e. Theorem
The following statements are equivalent:
S1) The pair ๐ด, ๐ต is controllable;
S2) is nonsigular for any t>0
S3) The controllability matrix ๐๐ โ ๐ ๐ร๐๐:
โ ๐๐ =[๐ต,๐ด๐ต,.$๐ด^{๐โ1}$๐ต]
S4)๐๐๐๐ (๐๐๐ผโ๐ดโฎ๐ต )=๐ for all eigenvalues ๐๐ of ๐ด.
d. Condition
The controllability matrix ๐๐ โ ๐ ๐ร๐๐ has rank n:
- The controllability matrix ๐๐ is square matrix if the system is single input only.
- If the matrix ๐๐ has rank less than ๐, this condition does not give which states are uncontrollable and the rest are controllable.
- If there is any ๐ ร ๐ submatrix of ๐๐ with nonzero determinant, the matrix ๐๐ has rank ๐.
- The matrix ๐๐ has rank ๐ if the matrix ๐ = ${๐๐^๐ }$๐๐ (or ๐ = ๐๐${๐๐^๐ }$) has nonzero determinant.
In MATLAB, ctrb(A,B) returns the controllability matrix.
III. Output controbility
a . Definition
A system is said to be completely output controllable if it is possible to transfer the system output from any ๐ฆ($๐ก_0$) to any other desired output ๐ฆ($๐ก_1$) in a desired finite time interval $๐ก_1$ by unconstrained control vector ๐ข(๐ก).
In this case, we do not care controllability of each state, but the output.
b. Theorem
The necessary and sufficient condition for the system to be output controllable is that the rank of the output controllability matrix
โ ๐๐๐ = [๐ถ๐ต,๐ถ๐ด๐ต,.๐ถ$๐ด^{๐โ1}$๐ต,๐ท]
has rank ๐, where ๐ is a dimension of output vector ๐ฆ.
- A controllable system is not necessarily output controllable!
- An output controllable system is not necessarily state controllable!
IV. Reachability
a. Definition
A particular state $๐ฅ_1$ is called reachable if there exists an input that transfers the state of the system from the initial state $๐ฅ_0$ to $x_1$ in some finite time interval $[t0, t).$
V. Stabilizability
a. Definition
A system is stabilizable if all states that cannot be reached decay to zero asymptotically.
- In other words, in such system, limited states can be controlled to certain values in reachable set and others tend to zero.
VI. Observability
a. Definition
A system is said to be completely observable if every (critical) state ๐ฅ($๐ก_0$) can be completely identified by measurement of the output ๐ฆ(๐ก) over a finite time interval assuming that the control ๐ข(๐ก) is also available.
Controllability study the possibility to control the state from the input, while the observability study the possibility of estimating the state vector from the system output ๐ฆ(๐ก). If a system is not completely observable then some of its state variables are not practically measurable and are shielded from the observation.
b. Theorem
c. Condition
The Observability matrix $๐_๐$ โ $๐ ^{๐๐ร๐}$ has rank n:
- The observability matrix $๐_๐$ is square matrix if the system is single output only.
- If the matrix ๐๐ has rank less than ๐, this condition does not give which states are unobservable and the rest are observable.
- Thematrix $๐_๐$ has rank ๐ if there is an ๐ร๐ submatrix of ๐๐ that has nonzero determinant.
- The matrix ๐๐ has rank ๐ if the matrix ๐ = $๐_๐^๐ ๐๐$ (or ๐ = $๐๐๐_๐^๐$ ) has nonzero determinant.
In MATLAB, you may use obsv(A,C)
VII. Detectability
a. Definition
A system is detectable if all states that cannot be observed decay to zero asymptotically.