844 Chapter 10 / Control Systems Design in State Spacee0246800.20.40.60.81t (sec)x^1 x^20.60.811.20.4
0.2
002468 02468−0.200.5−0.5
− 1− 2−1.5−2.5
t (sec) t (sec)Figure 10–53
Response curves to
initial condition.The transfer function of the observer controller, when the system uses the minimum-order
observer, can be obtained by use of MATLAB Program 10–33. The result is
num
den=
7 s+ 32
s+ 10=
7 (s+4.5714)
s+ 10MATLAB Program 10–33
% Determination of transfer function of observer controller ---- minimum-order observer
A = [0 1;0 -2];
B = [0;4];
Aaa = 0; Aab = 1; Aba = 0; Abb = -2;
Ba = 0; Bb = 4;
Ka = 4; Kb = 0.5;
Ke = 6;
Ahat = Abb - Ke*Aab;
Bhat = AhatKe + Aba - KeAaa;
Fhat = Bb - Ke*Ba;
Atilde = Ahat - Fhat*Kb;
Btilde = Bhat - Fhat(Ka + KbKe);
Ctilde = -Kb;
Dtilde = -(Ka + Kb*Ke);
[num,den] = ss2tf(Atilde, Btilde, -Ctilde, -Dtilde)
num =
7 32
den =
1 10
Openmirrors.com