We consider the input-state-output system with state \(x:[0,\infty )\to \mR ^n\), external input \(w:[0,\infty )\to \mR ^{m_1}\), control input \(u:[0,\infty )\to \mR ^{m_2}\) and performance output \(z:[0,\infty )\to \mR ^{p_1}\) described by
\(\seteqnumber{0}{9.}{0}\)\begin{equation} \label {eq:control:xz} \dot {x}=Ax+B_1w+B_2u,\qquad z=C_1x+D_{11}w, \end{equation}
with the initial condition \(x(0)=x^0\) where \(x^0\in \mR ^n\) and
\(\seteqnumber{0}{9.}{1}\)\begin{equation} \label {eq:control:xzmatrices:reg} A\in \mR ^{n\times n},~ B_1\in \mR ^{n\times m_1},~ B_2\in \mR ^{n\times m_2},~ C_1\in \mR ^{p_1\times n},~ D_{11}\in \mR ^{p_1\times m_1}. \end{equation}
We assume that the external input \(w\) is generated by an exo-system
\[ \dot {x}_e=A_ex_e,\qquad w=C_ex_e, \]
with the initial condition \(x_e(0)=x_e^0\) where \(x_e^0\in \mR ^{n_e}\) and
\(\seteqnumber{0}{9.}{2}\)\begin{equation} \label {eq:control:exo:reg} A_e\in \mR ^{n_e\times n_e},\qquad C_e\in \mR ^{m_1\times n_e}. \end{equation}
Remark 9.1. The two must common forms of an exosystem are the following. The first is:
\[ n_e=m_1=1,\qquad A_e=0,\quad C_e=1, \]
in which case we obtain \(w=x_e^0\), i.e. the external input \(w\) is constant. The second is:
\[ n_e=2,~m_1=1,\qquad A_e=\bbm {0&1\\-\omega _e^2&0},\quad C_e=\bbm {1&0}, \]
where \(\omega _e>0\) is given, which is the first order form of the second order equation \(\ddot {w}=-\omega _e^2w\) which means that the external input \(w\) is a sinusoid of frequency \(\omega _e\), i.e. \(w(t)=R\sin (\omega _e t-\varphi )\) for \(R\geq 0\) and \(\varphi \in \mR \).
Definition 9.2. [Full information output regulation and disturbance rejection problem] The objective is to find a matrix
\[ F\in \mR ^{m_2\times (n_e+n)}, \]
such that with the control
\[ u=F\bbm {x_e\\x}, \]
the following two conditions are both satisfied:
1. for all \(x^0\) and \(x_e^0\) we have \(\lim _{t\to \infty }z(t)=0\);
2. for \(x_e^0=0\) and all \(x^0\) we have \(\lim _{t\to \infty }x(t)=0\).
The first of these is the regulation requirement, the second is the stability requirement.
Remark 9.4. We can re-write the regulator equations as
\[ \bbm {I&0\\0&0}\bbm {\Pi \\V}A_e-\bbm {A&B_2\\C_1&0}\bbm {\Pi \\V}=\bbm {B_1\\D_{11}}C_e, \]
which shows that the regulator equations are a generalized Sylvester equation.
Using the Kronecker product and the vectorization of a matrix, this can in turn be written as the standard linear system
\[ \left (A_e^T\otimes \bbm {I_n&0_{n\times m_2}\\0_{p_1\times n}&0_{p_1\times m_2}} -I_{n_e}\otimes \bbm {A&B_2\\C_1&0_{p_1\times m_2}}\right ) \vecc \left (\bbm {\Pi \\V}\right ) =\vecc \left (\bbm {B_1C_e\\D_{11}C_e}\right ). \]
Theorem 9.6. Assume that \((A,B_2)\) is stabilizable and that the regulator equations have a solution \(\Pi \), \(V\). Let \(F_2\in \mR ^{m_2\times n}\) be such that \(A+B_2F_2\) is asymptotically stable. Then \(F=\bbm {V-F_2\Pi &F_2}\) solves the full information output regulation and disturbance rejection problem.
Moreover, for all \(x^0\) and \(x_e^0\) we have \(\lim _{t\to \infty } x(t)-\Pi x_e(t)=0\).
Remark 9.7. Because of the stability requirement, stabilizability of \((A,B_2)\) is necessary for the full information output regulation and disturbance rejection problem to be solvable. If \(A_e\) has only eigenvalues with nonnegative real part, then solvability of the regulator equations is also necessary for the full information output regulation and disturbance rejection problem to be solvable.
Remark 9.9. A partial converse of Proposition 9.8 is also true in case \(A_e\) has only eigenvalues with nonnegative real part: if the regulator equations are solvable for all \(B_1\), \(D_{11}\) and \(C_e\), then the surjectivity condition on \(\sbm {sI-A&-B_2\\C_1&0}\) must hold.
Remark 9.10. If the eigenvalues of \(A_e\) are not eigenvalues of \(A\) and the transfer function \(C_1(sI-A)^{-1}B_2\) is surjective for all eigenvalues \(s\) of \(A_e\), then the surjectivity condition from Proposition 9.8 holds. This can be seen as follows. Let \(q\in \mR ^n\) and \(z\in \mR ^{p_1}\) be arbitrary and let \(s\) be an eigenvalue of \(A_e\). We then have
\[ \bbm {q\\z}=\bbm {sI-A&-B_2\\C_1&0}\bbm {x\\u}, \]
where \(u\) is a solution of
\[ C_1(sI-A)^{-1}B_2u=z-C_1(sI-A)^{-1}q, \]
(which exists by our surjectivity assumption) and
\[ x=(sI-A)^{-1}q+(sI-A)^{-1}B_2u. \]
When \(m_2=p_1=1\), then surjectivity of \(C_1(sI-A)^{-1}B_2\) simply means that it is nonzero. Therefore the condition becomes that eigenvalues of \(A_e\) should not be eigenvalues of \(A\) and should not be zeros of the transfer function \(C_1(sI-A)^{-1}B_2\). If this condition is satisfied, then the regulator equations are solvable (and the full information output regulation and disturbance rejection problem is therefore solvable) whereas if this condition is not satisfied, then we should expect problems with solvability.
Remark 9.11. The regulator equations do not necessarily have a unique solution (but any solution will give a solution of the full information output regulation and disturbance rejection problem).
Example 9.12. Consider the first order system
\[ T\dot {x}(t)+x(t)=Ku(t), \]
where \(T,K>0\). The objective is to find a control \(u\) such that for a given \(r\in \mR \) we have \(\lim _{t\to \infty }x(t)=r\) no matter what \(x(0)\) is.
To put this in the framework of the full information output regulation and disturbance rejection problem, define the performance output and exosystem
\[ z=x-w,\qquad \dot {x}_e=0,\qquad w=x_e,\qquad x_e(0)=r. \]
We then have \(w(t)=x_e(t)=r\) for all \(t\) so that \(z(t)=x(t)-r\) and the regulation requirement implies that \(\lim _{t\to \infty }x(t)=r\) no matter what \(x(0)\) is.
We have \(n=n_e=m_1=m_2=p_1=1\) and
\[ A=-\frac {1}{T},\quad B_1=0,\quad B_2=\frac {K}{T},\quad C_1=1,\quad D_{11}=-1,\quad A_e=0,\quad C_e=1. \]
The regulator equations are
\[ -\frac {1}{T}\Pi +\frac {K}{T}V=0,\qquad \Pi -1=0. \]
Hence \(\Pi =1\) and \(V=\frac {1}{K}\). Since \(A\) is asymptotically stable we can take \(F_2=0\). From Theorem 9.6 we have that (using that \(x_e=r\))
\[ u=\frac {r}{K}, \]
solves our problem.
We explicitly check that this indeed works. Substituting \(u=\frac {r}{K}\) into the differential equation gives
\[ T\dot {x}(t)+x(t)=r, \qquad x(0)=x^0, \]
which has solution \(x(t)=r+(x^0-r)\e ^{-t/T}\), which we see indeed satisfies \(\lim _{t\to \infty }x(t)=r\) no matter what \(x^0\) is.
We note that with a general \(F_2\) we obtain
\[ u=\left (\frac {1}{K}-F_2\right )r+F_2x, \]
and substituting this into the differential equation gives
\[ T\dot {x}(t)+\left (1-KF_2\right )x(t)=\left (1-KF_2\right )r, \]
which has general solution \(x(t)=r+(x^0-r)\e ^{-t(1-KF_2)/T}\). Therefore if \(F_2\) is such that \(1-KF_2>0\) (i.e. \(A+B_2F_2\) is asymptotically stable), then we again have \(\lim _{t\to \infty }x(t)=r\) no matter what \(x^0\) is. We now have the freedom to choose \(F_2\) in such as a way as to make this convergence faster.
Example 9.13. Consider the second order system
\[ \ddot {q}(t)+2\zeta \omega _0\dot {q}(t)+\omega _0^2q(t)=K\omega _0^2u(t), \]
where \(\omega _0,K>0\) and \(\zeta >0\). The objective is to find a control \(u\) such that for a given \(r\in \mR \) we have \(\lim _{t\to \infty }\dot {q}(t)=r\) no matter what \(x(0)\) is.
We have \(n=2\), \(m_1=m_2=p_1=1\) and
\[ x=\bbm {q\\\dot {q}},\quad A=\bbm {0&1\\-\omega _0^2&-2\zeta \omega _0},\quad B_1=\bbm {0\\0},\quad B_2=\bbm {0\\K\omega _0^2},\quad C_1=\bbm {0&1},\quad D_{11}=-1. \]
We note that the transfer function \(C_1(sI-A)^{-1}B_2\) is (by Section 5.1)
\[ G(s)=\frac {K\omega _0^2s}{s^2+2\zeta \omega _0s+\omega _0^2}, \]
which has a zero at \(s=0\) which by Remark 9.1 will be an eigenvalue of \(A_e\). Therefore by Remark 9.10 we expect there to be an issue with solvability of the problem.
Consistent with Remark 9.1, we choose
\[ n_e=1,\quad A_e=0,\qquad C_e=1. \]
The regulator equations are
\[ \bbm {0&1\\-\omega _0^2&-2\zeta \omega _0}\bbm {\Pi _1\\\Pi _2} +\bbm {0\\K\omega _0^2}V =0,\qquad \bbm {0&1}\bbm {\Pi _1\\\Pi _2}-1=0. \]
It follows from the second equation that \(\Pi _2=1\) so that the first equation is
\[ \bbm {1\\-\omega _0^2\Pi _1-2\zeta \omega _0+K\omega _0^2V}=\bbm {0\\0}. \]
We see that the first component of this gives the contradiction \(1=0\). Therefore the regulator equations do not have a solution (as we expected might be the case).
We instead consider
\[ n_e=2,\qquad A_e=\bbm {0&1\\0&0},\qquad C_e=\bbm {0&1}. \]
The regulator equations are
\(\seteqnumber{0}{9.}{3}\)\begin{gather*} \bbm {0&1\\-\omega _0^2&-2\zeta \omega _0}\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}} +\bbm {0\\K\omega _0^2}\bbm {V_1&V_2} =\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}}\bbm {0&1\\0&0}, \\ \bbm {0&1}\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}}-\bbm {0&1}=0. \end{gather*} The second of these equations give \(\Pi _{21}=0\), \(\Pi _{22}=1\). The first equation then is
\[ \bbm {0&1\\-\omega _0^2&-2\zeta \omega _0}\bbm {\Pi _{11}&\Pi _{12}\\0&1} +\bbm {0&0\\K\omega _0^2V_1&K\omega _0^2V_2} =\bbm {0&\Pi _{11}\\0&0}, \]
which is
\[ \bbm {0&1\\-\omega _0^2\Pi _{11}&-\omega _0^2\Pi _{12}-2\zeta \omega _0} +\bbm {0&0\\K\omega _0^2V_1&K\omega _0^2V_2} =\bbm {0&\Pi _{11}\\0&0}, \]
from which we deduce \(\Pi _{11}=1\), \(V_1=\frac {1}{K}\) and \(\Pi _{12}=KV_2-2\zeta \omega _0^{-1}\). We see that now the regulator equations have a solution, but that this solution is not unique (as \(V_2\in \mR \) is arbitrary). We have
\[ \Pi =\bbm {1&KV_2-2\zeta \omega _0^{-1}\\0&1},\qquad V=\bbm {\frac {1}{K}&V_2}. \]
Since \(A\) is asymptotically stable, we can take \(F_2=0\) and we obtain the control
\[ u=\frac {1}{K}x_{e,1}+V_2x_{2,e}. \]
With the initial condition \(x_e^0=\sbm {0\\r}\) we obtain \(x_e(t)=\sbm {rt\\r}\) and \(w(t)=r\), so that the above control is
\[ u(t)=\frac {rt}{K}+V_2r, \]
where \(V_2\in \mR \) is an arbitrary constant. We note that this arbitrary constant arises because the transfer function from \(u\) to \(z\) has a zero at \(s=0\), so that constant inputs result in a zero output (therefore the arbitrary term \(V_2r\) in \(u\) does not affect the output and hence for the purposes of output regulation is indeed irrelevant).
Example 9.14. Consider the first order system
\[ T\dot {x}(t)+x(t)=K_1w(t)+K_2u(t), \]
where \(T,K_1,K_2>0\). The objective is to find a control \(u\) such that \(\lim _{t\to \infty }x(t)=0\) no matter what \(x^0\) is when \(w(t)=R\sin (\omega _e t-\varphi )\) where \(\omega _e,R>0\) and \(\varphi \in \mR \). Note that this problem has an obvious solution: \(u=-\frac {K_1}{K_2}w\) cancels out the disturbance \(w\) completely (regardless of whether it is a sinusoid or not).
This is of the standard form with
\[ A=\frac {-1}{T},\quad B_1=\frac {K_1}{T},\quad B_2=\frac {K_2}{T},\quad C_1=1,\quad D_{11}=0. \]
Consistent with Remark 9.1, we introduce the exosystem
\[ A_e=\bbm {0&1\\-\omega _e^2&0},\qquad C_e=\bbm {1&0}. \]
The regulator equations are
\[ \frac {-1}{T}\bbm {\Pi _{11}&\Pi _{12}} +\frac {K_1}{T}\bbm {1&0} +\frac {K_2}{T}\bbm {V_1&V_2} =\bbm {\Pi _{11}&\Pi _{12}}\bbm {0&1\\-\omega _e^2&0}, \qquad \bbm {\Pi _{11}&\Pi _{12}}=0, \]
which has solution \(\Pi =0\) and \(V_1=-\frac {K_1}{K_2}\) and \(V_2=0\). Since \(A\) is asymptotically stable we can choose \(F_2=0\). The control therefore is
\[ u=-\frac {K_1}{K_2}w, \]
which is consistent with what we obtained above.
Example 9.15. Consider the second order system
\[ \ddot {q}(t)+2\zeta \omega _0\dot {q}(t)+\omega _0^2q(t)=K_1\omega _0^2w(t)+K_2\omega _0^2u(t), \]
where \(\omega _0,K_1,K_2>0\) and \(\zeta \geq 0\). The objective is to find a control \(u\) such that \(\lim _{t\to \infty }\dot {q}(t)=0\) for all initial conditions and all \(w\) which are known sinusoids with a given frequency \(\omega _e>0\).
Note that this problem has an obvious solution: \(u=-\frac {K_1}{K_2}w\) cancels out the disturbance \(w\) completely (regardless of whether it is a sinusoid or not).
We have
\(\seteqnumber{0}{9.}{3}\)\begin{gather*} A=\bbm {0&1\\-\omega _0^2&-2\zeta \omega _0},\qquad B_1=\bbm {0\\K_1\omega _0^2},\qquad B_2=\bbm {0\\K_2\omega _0^2},\qquad C_1=\bbm {0&1},\qquad D_{11}=0, \\ A_e=\bbm {0&1\\-\omega _e^2&0},\qquad C_e=\bbm {1&0}. \end{gather*} The regulator equations are
\(\seteqnumber{0}{9.}{3}\)\begin{gather*} \bbm {0&1\\-\omega _0^2&-2\zeta \omega _0}\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}} +\bbm {0\\K_1\omega _0^2}\bbm {1&0} +\bbm {0\\K_2\omega _0^2}\bbm {V_1&V_2} =\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}}\bbm {0&1\\-\omega _e^2&0}, \\ \bbm {0&1}\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}}=\bbm {0&0}. \end{gather*} From the second equation we obtain \(\Pi _{21}=\Pi _{22}=0\). The first equation then is
\[ \bbm {0&0\\-\omega _0^2\Pi _{11}&-\omega _0^2\Pi _{12}} +\bbm {0&0\\K_1\omega _0^2&0} +\bbm {0&0\\K_2\omega _0^2V_1&K_2\omega _0^2V_2} =\bbm {-\omega _e^2\Pi _{12}&\Pi _{11}\\0&0}. \]
The top row gives \(\Pi _{11}=\Pi _{12}=0\). The bottom row then gives \(V_1=-\frac {K_1}{K_2}\) and \(V_2=0\). If \(\zeta >0\), then \(A\) is stable and we can therefore choose \(F_2=0\). We then obtain the control \(u=Vx_e\), which is
\[ u=-\frac {K_1}{K_2}w, \]
which is the one we already saw above. If \(\zeta =0\), then we can for example choose \(F_2=\bbm {0&\frac {-2\zeta _0}{K_2\omega _0}}\) for \(\zeta _0>0\) (so that \(A+B_2F_2\) is the matrix corresponding to a second order system with natural frequency \(\omega _0\) and damping ratio \(\zeta _0\), which we know is stable) and obtain the feedback
\[ u=-\frac {K_1}{K_2}w-\frac {2\zeta _0}{K_2\omega _0}\dot {q}. \]
We return to the tape drive problem from Section 1.1. Recall that
\(\seteqnumber{0}{9.}{3}\)\begin{gather*} 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_1=\bbm {0&0&0\\0&0&0\\0&0&k},\qquad B_2=\bbm {\frac {1}{M_1}&0\\0&\frac {1}{M_2}\\0&0}, \\ C_1=\bbm {1&0&0\\0&0&1},\qquad D_{11}=\bbm {-1&0&0\\0&-1&0}. \end{gather*} Assuming that the references for the velocity at the head and the tension are constant and that the disturbance is of the form \(v_e(t)=R\sin (\omega _e t-\varphi )\) where \(\omega _e>0\) and \(R>0\), \(\varphi \in \mR \) are given, the exosystem is
\[ A_e=\bbm { 0&0&0&0\\ 0&0&0&0\\ 0&0&0&1\\ 0&0&-\omega _e^2&0},\qquad C_e=\bbm { 1&0&0&0\\ 0&1&0&0\\ 0&0&1&0}. \]
The second regulator equation is
\[ \bbm {1&0&0\\0&0&1} \bbm { \Pi _{11}&\Pi _{12}&\Pi _{13}&\Pi _{14}\\ \Pi _{21}&\Pi _{22}&\Pi _{23}&\Pi _{24}\\ \Pi _{31}&\Pi _{32}&\Pi _{33}&\Pi _{34} } +\bbm {-1&0&0\\0&-1&0} \bbm { 1&0&0&0\\ 0&1&0&0\\ 0&0&1&0}=0, \]
which gives
\[ \bbm { \Pi _{11}&\Pi _{12}&\Pi _{13}&\Pi _{14}\\ \Pi _{31}&\Pi _{32}&\Pi _{33}&\Pi _{34} } = \bbm { 1&0&0&0\\ 0&1&0&0 }. \]
The first regulator equation then is
\(\seteqnumber{0}{9.}{3}\)\begin{multline*} \bbm { -\frac {d_1}{M_1}&0&\frac {1}{M_1}\\ 0&-\frac {d_2}{M_2}&-\frac {1}{M_2}\\ -k&k&0 } \bbm { 1&0&0&0\\ \Pi _{21}&\Pi _{22}&\Pi _{23}&\Pi _{24}\\ 0&1&0&0 } +\bbm {0&0&0\\0&0&0\\0&0&k} \bbm { 1&0&0&0\\ 0&1&0&0\\ 0&0&1&0} \\+\bbm {\frac {1}{M_1}&0\\0&\frac {1}{M_2}\\0&0} \bbm {V_{11}&V_{12}&V_{13}&V_{14}\\V_{21}&V_{22}&V_{23}&V_{24}} =\bbm { 1&0&0&0\\ \Pi _{21}&\Pi _{22}&\Pi _{23}&\Pi _{24}\\ 0&1&0&0 } \bbm { 0&0&0&0\\ 0&0&0&0\\ 0&0&0&1\\ 0&0&-\omega _e^2&0}, \end{multline*} which is
\(\seteqnumber{0}{9.}{3}\)\begin{multline*} \bbm { -\frac {d_1}{M_1}&\frac {1}{M_1}&0&0\\ -\frac {d_2}{M_2}\Pi _{21}&-\frac {d_2}{M_2}\Pi _{22}-\frac {1}{M_2}&-\frac {d_2}{M_2}\Pi _{23}&-\frac {d_2}{M_2}\Pi _{24}\\ -k+k\Pi _{21}&k\Pi _{22}&k\Pi _{23}&k\Pi _{24} } +\bbm { 0&0&0&0\\ 0&0&0&0\\ 0&0&k&0 } +\bbm { \frac {V_{11}}{M_1}&\frac {V_{12}}{M_1}&\frac {V_{13}}{M_1}&\frac {V_{14}}{M_1}\\ \frac {V_{21}}{M_2}&\frac {V_{22}}{M_2}&\frac {V_{23}}{M_2}&\frac {V_{24}}{M_2}\\ 0&0&0&0 } \\ = \bbm { 0&0&0&0\\ 0&0&-\omega _e^2\Pi _{24}&\Pi _{23}\\ 0&0&0&0 }. \end{multline*} The bottom row gives \(\Pi _{21}=1\), \(\Pi _{22}=0\), \(\Pi _{23}=-1\), \(\Pi _{24}=0\), so that
\[ \Pi =\bbm { 1&0&0&0\\ 1&0&-1&0\\ 0&1&0&0 }, \]
and the top two rows then give
\[ V=\bbm { d_1&-1&0&0\\ d_2&1&-d_2&-M_2 }. \]
Since \(A\) is asymptotically stable, we can take \(F_2=0\). If the initial condition of the exo-system is such that \(x_{e1}=r_v\), \(x_{e2}=r_T\), \(x_{e3}(t)=\sin (\omega _e t)\), \(x_{e4}=\omega _e\cos (\omega _e t)\), then the corresponding control is
\[ u_1=d_1r_v-r_T,\qquad u_2=d_2r_v+r_T-d_2\sin (\omega _e t)-M_2\omega _e\cos (\omega _e t). \]
Remark 9.17. If we ignore the disturbance, then
\[ A_e=\bbm {0&0\\0&0},\qquad C_e=\bbm {1&0\\0&1}, \]
and the solution of the regulator equations is
\[ \Pi =\bbm {1&0\\1&0\\0&1},\qquad V=\bbm {d_1&-1\\d_2&1}. \]
With \(F_2=0\), this gives the control
\[ u_1=d_1r_v-r_T,\qquad u_2=d_2r_v+r_T. \]
With this control the equations become
\(\seteqnumber{0}{9.}{3}\)\begin{align*} M_1\frac {d}{dt}(v_1-r_v)+d_1(v_1-r_v)-(T-r_T)&=0, \\ M_2\frac {d}{dt}(v_2-r_v)+d_2(v_2-r_v)+(T-r_T)&=0, \\ \frac {d}{dt}(T-r_T)+k\left [(v_1-r_v)-(v_2-r_v)\right ]=kv_e. \end{align*} This is the same system that we started with, but with the replacements
\[ v_1\leftrightarrow v_1-r_v,\qquad v_2\leftrightarrow v_2-r_v,\qquad T\leftrightarrow T-r_T. \]
In particular, the Bode plot from Section 6.5 is still relevant, but should now be interpreted as being from the disturbance \(v_e\) to the errors \(v_1-r_v\), \(v_2-r_v\) and \(T-r_T\).
• Consider the system
\[ \dot {x}=x+u. \]
Find a control \(u\) such that for a given \(r\in \mR \), we have \(\lim _{t\to \infty }x(t)=r\), no matter what \(x(0)\) is.
Solution. This is of the standard form with
\[ A=1,\quad B_1=0,\quad B_2=1, \]
the exo-system (so that \(r=x_e^0=x_e=w\))
\[ A_e=0,\quad C_e=1, \]
and the performance output \(z=x-w\) so that
\[ C_1=1,\quad D_{11}=-1. \]
The regulator equations are
\[ \Pi +V=0,\qquad \Pi -1=0, \]
so that \(\Pi =1\) and \(V=-1\). Since \(A\) is not asymptotically stable, we cannot pick \(F_2\) to be zero. We need \(A+B_2F_2=1+F_2<0\), so we can pick \(F_2=-2\). Then \(F=\bbm {1&-2}\), so that the control is
\[ u=\bbm {1&-2}\bbm {r\\x}=r-2x. \]
We note that with this \(u\) the differential equation is \(\dot {x}=-x+r\), which is easily seen to indeed give \(\lim _{t\to \infty }x(t)=r\), no matter what \(x(0)\) is (because \(x=r\) is a particular solution and the system is asymptotically stable). □
• We consider the situation as in Section 1.4 but without the external force \(F_e\) so that \(w=v_e\). Assume that \(v_e\) is a known sinusoid with given frequency \(\omega _e>0\), i.e. consider the exosystem
\[ A_e=\bbm {0&1\\-\omega _e^2&0},\qquad C_e=\bbm {1&0}. \]
Consider the performance output \(z=q\). Solve the full information disturbance rejection problem for this situation. The physical meaning is that we want to distance between the mass and the platform to converge to zero as time goes to infinity in spite of the sinusoidal movement of the platform. Consider both the case \(d>0\) and the case \(d=0\).
Solution. We have similarly as in Section 1.4
\[ A=\bbm {0&1\\\frac {-k}{m}&\frac {-d}{m}},\quad B_1=\bbm {-1\\0},\quad B_2=\bbm {0\\\frac {1}{m}},\quad C_1=\bbm {1&0},\quad D_{11}=0,\quad D_{12}=0. \]
The regulator equations are
\(\seteqnumber{0}{9.}{3}\)\begin{gather*} \bbm {0&1\\\frac {-k}{m}&\frac {-d}{m}}\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}} +\bbm {-1\\0}\bbm {1&0}+\bbm {0\\\frac {1}{m}}\bbm {V_1&V_2} =\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}}\bbm {0&1\\-\omega _e^2&0}, \\ \bbm {1&0}\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}}=\bbm {0&0}. \end{gather*} The second equation gives \(\Pi _{11}=\Pi _{12}=0\) and the first equation then is
\[ \bbm {\Pi _{21}&\Pi _{22}\\\frac {-d}{m}\Pi _{21}&\frac {-d}{m}\Pi _{22}} +\bbm {-1&0\\0&0} +\bbm {0&0\\\frac {V_1}{m}&\frac {V_2}{m}} =\bbm {0&0\\-\omega _e^2\Pi _{22}&\Pi _{21}}. \]
The top row gives \(\Pi _{21}=1\), \(\Pi _{22}=0\) so that
\[ \Pi =\bbm {0&0\\1&0}, \]
and the bottom row then gives \(V_1=d\), \(V_2=m\) so that
\[ V=\bbm {d&m}. \]
Consider the case \(d>0\). Since \(A\) is stable (as \(d>0\)), we can take \(F_2=0\) and the control
\[ u=Vx_e=dx_{e1}+mx_{e2}, \]
solves the problem.
If \(d=0\), then we can take \(F_2=\bbm {0&-d_0}\) for some \(d_0>0\) and the control
\[ u=(V-F_2\Pi )x_e+F_2x=d_0x_{e1}+mx_{e2}-d_0x_2, \]
solves the problem.
As an aside, it is less clear in this example that the above \(u\) “cancels” \(w\). This is because \(B_1\) and \(B_2\) are linearly independent. However, this is the case. We can eliminate \(v\) from the original equations
\[ \dot {q}=v-v_e,\qquad m\dot {v}+dv+kq=u, \]
to obtain
\[ m\ddot {q}+d\dot {q}+kq=u-m\dot {v}_e-dv_e, \]
so that \(u=m\dot {v}_e+dv_e\) “cancels” the external input. Since \(v_e=x_{e,1}\) and \(\dot {v}_e=x_{e,2}\), this is indeed the above calculated control (when \(d>0\)). □
• Consider the second order system
\[ \ddot {q}(t)+2\zeta \omega _0\dot {q}(t)+\omega _0^2q(t)=K\omega _0^2u(t), \]
where \(\omega _0,K>0\) and \(\zeta \geq 0\). Find a control \(u\) such that for a given \(r\in \mR \) we have \(\lim _{t\to \infty }q(t)=r\) no matter what \(x(0)\) is.
Solution. We have
\[ x=\bbm {q\\\dot {q}},\quad A=\bbm {0&1\\-\omega _0^2&-2\zeta \omega _0},\quad B_1=\bbm {0\\0},\quad B_2=\bbm {0\\K\omega _0^2},\quad C_1=\bbm {1&0},\quad D_{11}=-1, \]
and (with \(x_e^0=r\))
\[ A_e=0,\qquad C_e=1. \]
The regulator equations are
\[ \bbm {0&1\\-\omega _0^2&-2\zeta \omega _0}\bbm {\Pi _1\\\Pi _2} +\bbm {0\\K\omega _0^2}V=\bbm {0\\0}, \qquad \bbm {1&0}\bbm {\Pi _1\\\Pi _2}-1=0. \]
The second equation gives \(\Pi _1=1\). The first equation then is
\[ \bbm {\Pi _2\\-\omega _0^2-2\zeta \omega _0\Pi _2}+\bbm {0\\K\omega _0^2}V=\bbm {0\\0}. \]
This gives \(\Pi _2=0\) and \(V=\frac {1}{K}\). Hence \(\Pi =\sbm {1\\0}\). If \(\zeta >0\), then
\[ u=\frac {r}{K}. \]
If \(\zeta =0\), then \(F_2=\bbm {0&-\frac {2\zeta _0}{K\omega _0}}\) with \(\zeta _0>0\) is stabilizing and this gives the control
\[ u=\frac {r}{K}-\frac {2\zeta _0}{K\omega _0}\dot {q}. \]
□
• Consider the second order system
\[ \ddot {q}(t)+2\zeta \omega _0\dot {q}(t)+\omega _0^2q(t)=K_1\omega _0^2w(t)+K_2\omega _0^2u(t), \]
where \(\omega _0,K_1,K_2>0\) and \(\zeta >0\). Find a control \(u\) such that \(\lim _{t\to \infty }q(t)=0\) for all initial conditions and all \(w\) which are known sinusoids with a given frequency \(\omega _e>0\).
Solution. We have
\(\seteqnumber{0}{9.}{3}\)\begin{gather*} A=\bbm {0&1\\-\omega _0^2&-2\zeta \omega _0},\qquad B_1=\bbm {0\\K_1\omega _0^2},\qquad B_2=\bbm {0\\K_2\omega _0^2},\qquad C_1=\bbm {1&0},\qquad D_{11}=0, \\ A_e=\bbm {0&1\\-\omega _e^2&0},\qquad C_e=\bbm {1&0}. \end{gather*} The regulator equations are
\(\seteqnumber{0}{9.}{3}\)\begin{gather*} \bbm {0&1\\-\omega _0^2&-2\zeta \omega _0}\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}} +\bbm {0\\K_1\omega _0^2}\bbm {1&0} +\bbm {0\\K_2\omega _0^2}\bbm {V_1&V_2} =\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}}\bbm {0&1\\-\omega _e^2&0}, \\ \bbm {1&0}\bbm {\Pi _{11}&\Pi _{12}\\\Pi _{21}&\Pi _{22}}=\bbm {0&0}. \end{gather*} From the second equation we obtain \(\Pi _{11}=\Pi _{12}=0\). The first equation then is
\[ \bbm {\Pi _{21}&\Pi _{22}\\-2\zeta \omega _0\Pi _{21}&-2\zeta \omega _0\Pi _{22}} +\bbm {0&0\\K_1\omega _0^2&0} +\bbm {0&0\\K_2\omega _0^2V_1&K_2\omega _0^2V_2} =\bbm {0&0\\-\omega _e^2\Pi _{22}&\Pi _{21}}. \]
The top row gives \(\Pi _{21}=\Pi _{22}=0\). The bottom row then gives \(V_1=-\frac {K_1}{K_2}\) and \(V_2=0\). Since \(\zeta >0\), we have that \(A\) is stable and we can therefore choose \(F_2=0\). We then obtain the control \(u=Vx_e\), which is
\[ u=-\frac {K_1}{K_2}w. \]
□