
386 8 Optimal Process Control
B
T
Rs
(−s)K
T
A
R
(s)+A
T
R
(−s)KB
Rs
(s)+B
T
Rs
(−s)K
T
KB
Rs
(s)
= B
T
Rs
(−s)QB
Rs
(s) (8.525)
Adding A
T
R
(−s)A
R
(s) to either side of equation yields
(A
T
R
(−s)+B
T
Rs
(−s)K
T
)(A
R
(s)+KB
Rs
(s))
= A
T
R
(−s)A
R
(s)+B
T
Rs
(−s)QB
Rs
(s) (8.526)
From (8.405) follows that LQ design F
R
(s) needed for determination of K
from (8.523) is a solution of the spectral factorisation equation
F
T
R
(−s)F
R
(s)=A
T
R
(−s)A
R
(s)+B
T
Rs
(−s)QB
Rs
(s) (8.527)
All subsequent steps of the multivariable LQ control design are the same as
in the pole placement design. Thus, L is determined from (8.411) and the
controller transfer function matrix from (8.413).
Example 8.11: Multivariable LQ control
www
Consider a continuous-time multivariable controlled system with the
transfer function matrix
G(s)=A
−1
L
(s)B
L
(s)
where
A
L
(s)=
1+0.3s 0.5s
0.1s 1+0.7s
, B
L
(s)=
0.20.4
0.60.8
The task is to design LQ controller with observer. It is required that the
controller contains an integration term.
The problem can be solved using the relations given above and it is shown
in Program 8.3. We use the Polynomial toolbox for MATLAB.
Program 8.3 (LQ controller design – optlq22.m)
%PLANT
al = [1+.3*s, .5*s; .1*s 1+0.7*s];
bl = [.2 .4;.6 .8];
bl = pol(bl);
[a,b,c,d] = lmf2ss(bl,al);
G = ss(a,b,c,d);
%CONTROLLER
als = al*s;
[As,Bs,Cs,Ds] = lmf2ss(bl,als);
[Brs,Ar] = ss2rmf(As,Bs,eye(4));
Q =10*eye(4);
Fr = spf(Ar’*Ar+Brs’*Q*Brs);