suppose I have the following LTI system:
$$ \begin{split} \dot{\mathbf{x}} &= \mathbf{A}\mathbf{x} + \mathbf{B}\mathbf{u} \\ \mathbf{y} &= \mathbf{C}\mathbf{x} + \mathbf{D}\mathbf{u} \end{split} $$
with
$$ \mathbf{A} = \begin{bmatrix} 0 & -1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & -1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 0 & 0 & 0 & 0 \end{bmatrix}, \, \mathbf{B} = \begin{bmatrix} 0 & 0 \\ 0.1 & 0 \\ 0 & 0 \\ 0 & 0.1 \\ 0 & 0 \\ -0.08 & 0 \end{bmatrix}, \, \mathbf{C}^T = \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ 0 & 0 \\ 0 & 0 \\ 0 & 0 \\ 0 & 0 \end{bmatrix}, \, \mathbf{D} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}\,. $$
Since the controllability matrix of the pair $(\mathbf{A}, \mathbf{B})$ has rank 4, the system has two uncontrollable modes.
I have two general questions now (actually three), for which I chose the above system as an example:
- Can the uncontrollable modes of the system be connected to the states of the system? I.e. can I say which states are uncontrollable? Which would be the uncontrollable states here?
- According to Matlab, the eigenvalues of the uncontrollable subsystem are located at $-8.76\times10^{-17} \pm i8.83\times 10^{-9}$... so is the sub-system stable or unstable?
- If unstable, is there nothing one can do about that in this specific case?
EDIT: Thanks for the answers, however those have created further questions for me:
If I change the $\mathbf{C}$ matrix of the system to identity matrix $\mathbf{I}$ (to output all states) and then use the Matlab command minreal, I get these reduced matrices:
$$ \mathbf{A}_{red} = \begin{bmatrix} 0.3942 & 0 & -0.1924 & 0 \\ 0 & 0 & 0 & 0 \\ 0.8076 & 0 & -0.3942 & 0 \\ 0 & -1 & 0 & 0 \end{bmatrix}\, , \mathbf{B}_{red} = \begin{bmatrix} -0.1151 & 0 \\ 0 & 0.1 \\ 0.0562 & 0 \\ 0 & 0 \\ \end{bmatrix} $$
My questions are now:
- Should I use the full or the reduced system for controller design (e.g. when using the lqr method)?
- If I use the reduced system for controller design, how would I implement this controller into a feedback loop in the full system (the dimension of my feedback matrix $\mathbf{K}$ wouldn't match)?
- Are the states of the reduced system still physically meaningfull? Or are those kind of "virtual" states?
In principle, the answer is yes. However, you will usually not see this directly in a given representation of the system. What you can do is performing a Kalman decomposition of the system into controllable and uncontrollable (and even observable/unobservable modes). See here for the transformation matrices. There is even a Matlab-command for computing it.
I don't know how you got to these eigenvalues (seems to be a numerical issue because they're practically zero). Actually, the eigenvalues of the given matrix are all located at 0 which can be seen easily due to the triangular struture of the matrix. This means that the whole system (and thus also the uncontrollable subsystem) is (marginally) stable but not unstable.
If a given system has unstable uncontrollable modes (i.e. it is not stabilizable) there is, indeed, nothing you can do about it. That's why people usually like to have at least stabilizable systems.