DR Lee Peng Hin: EE6203 Computer Control Systems 77 DR Lee Peng Hin: EE6203 Computer Control Systems 78
DR Lee Peng Hin: EE6203 Computer Control Systems 77 DR Lee Peng Hin: EE6203 Computer Control Systems 78
x(n)
n−1
= Anx(0) + A(n−i−1)Bu(i)(8.3)
i=0
= Anx(0) + A(n−1)Bu(0) +
· · · + Bu(n − 1) (8.4)
= Anx(0) + WcU (8.5)
Figure 7: A feedback control system using measurement
Dr Lee Peng Hin : EE6203 Computer Control Systems 81 Dr Lee Peng Hin : EE6203 Computer Control Systems 82
where
Wc = B AB A2B . . . An−1B (8.6)
T
U = u(n − 1) . . . u(0) (8.7)
Hence,
rank Wc = n
Multivariable systems
⎡ ⎤
0.5 0.5 0
⎢ ⎥
x(k + 1) = ⎣ 0 1 0 ⎦ x(k) +
0.83 −2.16 −0.33
⎡ ⎤
3 1
⎢ ⎥
⎣ 2 0 ⎦ u(k)
−1 1
Dr Lee Peng Hin : EE6203 Computer Control Systems 97 Dr Lee Peng Hin : EE6203 Computer Control Systems 98
Soln : 9 Observability
⎡ ⎤ ⎡ ⎤
2.25 0.5 2.25 0.25
⎢ ⎥ 2 ⎢ ⎥ • Observability is a property of a sys-
AB = ⎣ 2 0 ⎦;A B = ⎣ 2 0 ⎦
−1.5 0.5 −1.75 0.25 tem which is strongly related to the
The controllability matrix, ability to determine the initial state
Wc = B AB A B 2 x(0) on the basis of the input and
⎡ ⎤
3 1 2.5 0.5 2.25 0.25 output data.
⎢ ⎥
= ⎣ 2 0 2 0 2 0 ⎦
• Consider the system,
−1 1 −1.5 0.5 −1.75 0.25
rank of Wc is at most 3. x(k + 1) = Ax(k), x(0) = xo(9.1)
R1 − R3 = 2R2. Hence, the three y(k) = Cx(k) (9.2)
rows at not linearly independent and
• Assume that y(0), . . . , y(k − 1) are
rank Wc is at most 2, so system is not
given for a certain k. To simplify
completely controllable.
derivations, assume that u(k) = 0.
Dr Lee Peng Hin : EE6203 Computer Control Systems 99 Dr Lee Peng Hin : EE6203 Computer Control Systems 100
rank Wo = n
and
system is given by the homogeneous Suppose that the closed loop poles are
equation, desired to be at,
Then the desired closed loop charac- Q : Under what circumstances will there
teristic polynomial can be formed as exists a state feedback matrix gain K
(11.5) ≡ (11.8)
k1 = 4.52, k2 = 1.12
Dr Lee Peng Hin : EE6203 Computer Control Systems 131 Dr Lee Peng Hin : EE6203 Computer Control Systems 132
Dr Lee Peng Hin : EE6203 Computer Control Systems 133 Dr Lee Peng Hin : EE6203 Computer Control Systems 134
Dr Lee Peng Hin : EE6203 Computer Control Systems 135 Dr Lee Peng Hin : EE6203 Computer Control Systems 136
Dr Lee Peng Hin : EE6203 Computer Control Systems 137 Dr Lee Peng Hin : EE6203 Computer Control Systems 138
where
e−T 0
Φ(T ) =
1 − e−T 1
1 − e−T
Θ(T ) =
T − 1 + e−T
Now, design a state feedback controller
Dr Lee Peng Hin : EE6203 Computer Control Systems 139 Dr Lee Peng Hin : EE6203 Computer Control Systems 140
The closed loop characteristics polyno- (−e−T +(1−e−T )k1)(−1+(T −1+e−T )k2)
mial is −(1−e−T )k2(−(1−e−T )+(T −1+e−T )k1)
α(z) = z 2 + (−e−T + (1 − e−T )k1 − 1+ = p1p2 (11.20)
(T − 1 + e−T )k2)z
Solving (11.19) and (11.20) gives k1 and
+ (−e−T + (1 − e−T )k1) k2. Obviously, if the system order is
(−1 + (T − 1 + e−T )k2) more than 2, solving these two equa-
− (1 − e−T )k2(−(1 − e−T ) tions is rather tedious.
+ (T − 1 + e−T )k1) (11.17) But if the state space model is in the
The desired closed loop polynomial is controllable canonical form (Ac, Bc), then
αc(z) = z 2 + (p1 + p2)z + p1p2 (11.18) the problem of finding K is much sim-
Dr Lee Peng Hin : EE6203 Computer Control Systems 141 Dr Lee Peng Hin : EE6203 Computer Control Systems 142
Thus,
2
1 0.0952 1 0.0952
αc(A) = − 1.776
0 0.905 0 0.905
+0.819I
2 (12.6)
0.043 0.01228
= (12.7)
0 0.03075
Also,
−1 −95.13 15.34
Wc−1 = B AB =
105.1 −5.342
Dr Lee Peng Hin : EE6203 Computer Control Systems 147 Dr Lee Peng Hin : EE6203 Computer Control Systems 148
• If
λi[A − BK] = 0, ∀ i = 1, . . . , n
(13.3)
then
– stable.
Dr Lee Peng Hin : EE6203 Computer Control Systems 149 Dr Lee Peng Hin : EE6203 Computer Control Systems 150
where
u(k) = −Kx(k)
= −KPw(k)
Then,
and k = 0,
1 T 1 3
[A − BK] = 2 4 u(0) = −Kx(0) = − +
− T − 12
1 T2 2T
(13.12)
Note that [A − BK]q = 0 for q > 1.
k = 1,
Therefore, x(k) = 0 for k > 1 which
1 1
u(1) = −Kx(1) = + (13.13)
means that the system will come to a T2 2T
standstill at the second sampling in- Using (13.12) and (13.13), we can sum-