Chapter 13 Controllability II

13.1 Examples

  • Example 13.1. Consider two first order systems with the same control acting on both:

    \begin{align*} \dot {x}_1+x_1=u,\\ \dot {x}_2+\alpha x_2=u, \end{align*} where \(\alpha >0\). This gives

    \[ A=\bbm {-1&0\\0&-\alpha },\qquad B=\bbm {1\\1}. \]

    If \(\alpha =1\), then it is easy to see from the definition that the system is not controllable. Choose \(x^0=\sbm {0\\0}\). Since the equations are identical (and we have chosen identical initial conditions), we then have \(x_1(t)=x_2(t)\) for all \(t\), no matter what \(u\) is. With \(x^1=\sbm {0\\0}\) we then have that \(x^1\) is not reachable from \(x^0\): assume that it is reachable in time \(T\), then \(1=x_1(T)=x_2(T)=0\), which is a contradition.

    The Kalman controllability matrix is

    \[ \bbm {B&AB}=\bbm {1&-1\\1&-\alpha }, \]

    which has determinant

    \[ -\alpha +1, \]

    which is zero if and only if \(\alpha =1\). We see that the system is controllable if and only if \(\alpha \neq 1\). If \(\alpha =1\), then the Kalman controllability matrix equals

    \[ \bbm {1&-1\\1&-1} \]

    and we see that its image equals the multiples of

    \[ \bbm {1\\1}, \]

    so that the reachable subspace consists of vectors in \(\mR ^2\) which have their first and second component the same.

    The Hautus controllability matrix is

    \[ \bbm {sI-A&B}=\bbm {s+1&0&1\\0&s+\alpha &1}. \]

    Selecting the first and last column we obtain a matrix with determinant \(s+1\) which therefore is invertible as long as \(s\neq -1\). Therefore the Hautus controllability matrix is surjective for \(s\neq -1\). For \(s=-1\) the Hautus controllability matrix equals

    \[ \bbm {0&0&1\\0&-1+\alpha &1}. \]

    Since the first column is zero, we only have to consider the last two columns. The matrix formed of the last two columns has determinant \(\alpha -1\) and is therefore invertible if and only if \(\alpha \neq 1\). We then obtain (using that the neglected column is zero) that the Hautus controllability matrix is invertible for all \(s\in \mC \) if and only if \(\alpha \neq 1\). Therefore we again see the system is controllable if and only if \(\alpha \neq 1\).

    The control Lyapunov equation is (using that we know that \(Q\) is symmetric)

    \[ \bbm {-1&0\\0&-\alpha }\bbm {Q_1&Q_0\\Q_0&Q_2} +\bbm {Q_1&Q_0\\Q_0&Q_2}\bbm {-1&0\\0&-\alpha } +\bbm {1\\1}\bbm {1&1} =\bbm {0&0\\0&0}, \]

    which is

    \[ \bbm {-2Q_1+1&Q_0\left (-1-\alpha \right )+1\\ Q_0\left (-1-\alpha \right )+1&-2\alpha Q_2+1}=\bbm {0&0\\0&0}. \]

    Solving this (we really just have three separate equations in the three unknowns \(Q_1\), \(Q_2\) and \(Q_0\)) gives

    \[ Q=\bbm {\frac {1}{2}&\frac {1}{1+\alpha }\\\frac {1}{1+\alpha }&\frac {1}{2\alpha }}. \]

    The determinant of \(Q\) equals

    \[ \frac {1}{4\alpha }-\frac {1}{(1+\alpha )^2}, \]

    which is zero if and only if \((1+\alpha )^2=4\alpha \), i.e. when \((1-\alpha )^2=0\), i.e. when \(\alpha =1\). So we again see that the system is controllable if and only if \(\alpha \neq 1\). When \(\alpha =1\) we have

    \[ Q=\bbm {\frac {1}{2}&\frac {1}{2}\\\frac {1}{2}&\frac {1}{2}}, \]

    which has image the scalar multiples of

    \[ \bbm {1\\1}, \]

    so that we again obtain the reachable subspace as obtained using a different method above.

  • Example 13.2. Consider the second order scalar differential equation

    \[ \ddot {q}+2\zeta \dot {q}+q=u, \]

    where \(\zeta \geq 0\), with state \(x=\sbm {q\\\dot {q}}\). We then have

    \[ A=\bbm {0&1\\-1&-2\zeta },\qquad B=\bbm {0\\1}. \]

    The Kalman controllability matrix is

    \[ \bbm {B&AB}=\bbm { 0&1\\ 1&-2\zeta }. \]

    The determinant equals \(-1\) which is nonzero so that the Kalman controllability matrix is invertible and therefore surjective and therefore the system is controllable.

  • Example 13.3. We again consider the second order scalar differential equation from Example 13.2 (now with \(\zeta >0\)) and aim to find the infinite-time controllability Gramian. The control Lyapunov equation (using that \(Q\) is symmetric) is

    \[ \bbm {0&1\\-1&-2\zeta }\bbm {Q_1&Q_0\\Q_0&Q_2} +\bbm {Q_1&Q_0\\Q_0&Q_2}\bbm {0&-1\\1&-2\zeta } +\bbm {0\\1}\bbm {0&1}=\bbm {0&0\\0&0}, \]

    which is

    \[ \bbm {2Q_0&Q_2-Q_1-2\zeta Q_0\\ Q_2-Q_1-2\zeta Q_0&-2Q_0-4\zeta Q_2+1} =\bbm {0&0\\0&0}. \]

    From the top-left corner we obtain \(Q_0=0\) and subsequently from the bottom-right corner we obtain \(Q_2=\frac {1}{4\zeta }\) and from the off-diagonal entry we obtain \(Q_1=\frac {1}{4\zeta }\). Hence

    \[ Q=\frac {1}{4\zeta }\bbm {1&0\\0&1}. \]

    Since this is invertible, we see (once again) that the system is controllable.

  • Example 13.4. Consider the undamped second order scalar differential equation

    \[ \ddot {q}+q=u, \]

    with state \(x=\sbm {q\\\dot {q}}\), so that

    \[ A=\bbm {0&1\\-1&0},\qquad B=\bbm {0\\1}. \]

    The aim is to, for a given \(\zeta >0\), find a \(F\) such that the characteristic polynomial of \(A\) equals \(s^2+2\zeta s+1\). From our knowledge of second order scalar differential equations, we know that \(u=-2\zeta \dot {q}\) will achieve this. We want to check that Ackermann’s formula also leads to this.

    Ackermann’s formula tells us that

    \[ F=-\bbm {0&1}\bbm {B&AB}^{-1}\left (A^2+2\zeta A+I\right ), \]

    will achieve the objective. From Example 13.2 we have

    \[ \bbm {B&AB}=\bbm { 0&1\\ 1&0 }, \]

    so that

    \[ \bbm {B&AB}^{-1}=\bbm { 0&1\\ 1&0 }. \]

    We further have

    \[ A^2=\bbm { -1&0\\0&-1 }, \]

    so that Ackermann’s formula is

    \begin{align*} F&= -\bbm {0&1} \bbm {0&1\\1&0} \left (\bbm {-1&0\\0&-1}+2\zeta \bbm {0&1\\-1&0}+\bbm {1&0\\0&1}\right ) \\&= -\bbm {0&1} \bbm {0&1\\1&0} 2\zeta \bbm {0&1\\-1&0} \\&= -\bbm {0&1}2\zeta \bbm {-1&0\\0&1} \\&=-2\zeta \bbm {0&1}, \end{align*} which indeed is equivalent to the formula \(u=-2\zeta \dot {q}\) that we obtained above.

13.2 Case study: control of a tape drive*

We consider the tape drive with only the control input. This gives an input-state system with

\[ A=\bbm { -\frac {d_1}{M_1}&0&\frac {1}{M_1}\\ 0&-\frac {d_2}{M_2}&-\frac {1}{M_2}\\ -k&k&0 },\qquad B=\bbm {\frac {1}{M_1}&0\\0&\frac {1}{M_2}\\0&0}. \]

We show that this system is controllable by considering the Kalman controllability matrix. We have

\[ AB=\bbm { -\frac {d_1}{M_1^2}&0\\ 0&-\frac {d_2}{M_2^2}\\ -\frac {k}{M_1}&\frac {k}{M_2} }. \]

We see that \(\bbm {B&AB}\) already has rank 3 as the first three colums are

\[ \bbm {\frac {1}{M_1}&0&-\frac {d_1}{M_1^2}\\0&\frac {1}{M_2}&0\\0&0&-\frac {k}{M_1}}, \]

which is upper-triangular with non-zero diagonal entries and therefore invertible. Hence the Kalman controllability matrix \(\bbm {B&AB&A^2B}\) is surjective.

13.3 Case study: a suspension system*

Consider the suspension system with only the control inputs. This gives an input-state system with

\[ A=\bbm {0&k_{us}&0&0\\ \frac {-1}{m_{us}}&0&0&0\\ 0&1&0&-1\\ 0&0&0&0 },\qquad B=\bbm {0\\\frac {1}{m_{us}}\\0\\\frac {-1}{m_s}}. \]

We show that this system is controllable by considering the Kalman controllability matrix. We have

\[ \bbm {B&AB&A^2B&A^3B}=\bbm { 0&\frac {1}{m_{us}}&0&\frac {-k_s}{m_{us}^2}\\ \frac {1}{m_{us}}&0&\frac {-k_s}{m_{us}^2}&0\\ 0&\frac {-1}{m_s}+\frac {-1}{m_{us}}&0&\frac {k_s}{m_{us}^2}\\ \frac {-1}{m_s}&0&0&0 }. \]

To see that this matrix is invertible, we calculate its determinant. We develop by the last row to obtain

\[ \frac {1}{m_s}\det \bbm { \frac {k_{us}}{m_{us}}&0&\frac {-k_{us}^2}{m_{us}^2}\\ 0&\frac {-k_{us}}{m_{us}^2}&0\\ \frac {1}{m_{us}}+\frac {1}{m_s}&0&\frac {-k_{us}}{m_{us}^2} }, \]

which we develop by the middle row to obtain

\[ \frac {-k_{us}}{m_{us}^2m_s}\det \bbm { \frac {k_{us}}{m_{us}}&\frac {-k_{us}^2}{m_{us}^2}\\ \frac {1}{m_{us}}+\frac {1}{m_s}&\frac {-k_{us}}{m_{us}^2} }, \]

which gives

\[ \frac {-k_{us}}{m_{us}^2m_s}\left (\frac {-k_{us}^2}{m_{us}^3}+\frac {k_{us}^2}{m_{us}^3}+\frac {k_{us}^2}{m_{us}^2m_s}\right )=\frac {-k_{us}^3}{m_{us}^4m_s^2}, \]

which is nonzero. Hence the Kalman controllability matrix is surjective and therefore our system is controllable.