1. Optimal Control for MIMO system
Given an nth-order system (satisfying controllability and observability)
(1)
and the stabilizing state feedback
(2)
the closed-loop system is represented by
(3)
The behaviors of the state and the input are given by
(4)
and
(5)
respectively. Then consider a problem to determine to minimize the criterion function
(6)
The criterion function can be written as
(7)
Note that we have the following constraint on :
(8)
It is known that holds because of the closed-loop stability. Taking account of all zero-input responses, instead of (7), we consider to minimize
(9)
Therefore, we will minimize
(10)
using undetermined multiplier and the stability constraint (8). As the necessary conditions, we have
(11)
(12)
(13)
Substituting into (13),
(14)
That is, we have the Algebraic Riccati Equation (ARE) on :
(15)
By solving this, we can obtain and then by
(16)
The control methodology is called as LQ Control.
The sufficiency is discussed as follows. The following expression can be derived:
(17)
In fact, substituting into the right hand side and using the Riccati equation,
(18)
Integrating the both side,
(19)
As ,
(20)
Therefore, it is shown that minimizes the criterion function.
Exercise 1
Given , obtain the solution of the Riccati equation and calculate .
Expanding the Ricatti equation
(21)
we have
(22)
There are the two solutions on from , the two solutions on from , the one solution from . Therefore, we have the four kinds of solution as follows:
(23)
The only (1) satisfies . Therefore we have
(24)
●How to solve ARE
Given the Riccati equation , consider the Hamilton matrix
(25)
The eigenvalues of the Hamilton matrix with size are distributed symmetrically to not only the real axis but also the imaginal axis. So there are stable eigenvalues and unstable eigenvalues. The eigenvectors corresponding to stable eigenvalues are obtained as follows:
(26)
Based on this, we can obtain as
(27)
A program by SCILAB to solve the Riccati equation is given as follows.
//opt.sce
function [F,p]=opt(A,B,C,Q,R)
W=R\B’; [V,R]=spec([A -B*W;-C’*Q*C -A’]);
p=diag(R); [dummy,index]=gsort(real(p));
n=size(A,1); j=index(n+1:n+n);
p=p(j); V1=V(1:n,j); V2=V(n+1:n+n,j);
X=real(V2/V1); F=W*X;
endfunction
//eof
Solve the Riccati equation in Exercise 1 by using the above program.
A=[0 1;0 0]; B=[0;1]; C=eye(2,2);
Q=diag([1 1]); R=1;
[F,p]=opt(A,B,C,Q,R)
poles=spec(A-B*F)
Exercise 2
Consider the following spring-connected carts as a control object.
The motion is governed by
(28)
where is a spring constant with the range . The state equation and output equation are given by
(29)
(30)
The control purpose is to regulate the zero-input response under the initial condition:
(31)
by using the state feedback:
(32)
In order to determine the state feedback gain , for fixed to an appropriate nominal value , we will minimize the following criterion function:
(33)
that is
(34)
For example, the closed-loop zero-input response is simulated under the following assumptions:
1) , , ,
2) , , ,
().
Appendix 1
Check the following properties on matrix trace.
(35)
(36)
(37)
(38)
where for . In fact,
(39)
(40)
(41)
(42)