Solution for Assignment 7
Solution for Assignment 7
1. Given system: 3
− 41
−4 1
ẋ(t) = x(t) + u(t), y(t) = 4 2 x(t).
− 12 − 21 1
Since the rank of O is 1 (less than the number of states, 2) =⇒ the system is not completely
observable.
0 1 0
2. For the system ẋ = Ax + Bu with A = and B = , we have
0 0 1
At 1 t At t
e = and e B = .
0 1 1
1 3 1 2
3T 2T
RT T
The reachability Gramian is Wr (0, T ) = 0
eA(T −τ ) BB T eA (T −τ )
dτ = 1 2 .
2T T
1 4
Since det Wr (0, T ) = 12 T ̸= 0 for any T > 0, rankWr (0, T ) = n and (A, B) is reachable.
At
Notice again that R(e B) = R(Wr (0, T )) for every T > 0.
1
3. The state transition matrix is
−(t−τ ) 1 (t+τ )
− e−(t+3τ ) ]
e 2 [e
Φ(t, τ ) = −(t−τ ) .
0 e
−t
e
Here Φ(t, τ )B(τ ) = , and the reachability Gramian of the system is
0
Z t1 −2t
(t1 − t0 )e−2t1 0
e 0
Wr (t0 , t1 ) = dτ = .
t0 0 0 0 0
It is clear that rankWr (t0 , t1 ) < 2 = n for any t0 < t1 and therefore the system is not reachable at t1 .
The homogeneous part of the system is actually time-invariant, and therefore the state-transition matrix
is given by −(t−t )
e 0
0
Φ(t, t0 ) = eA(t−t0 ) = , ∀t, t0 ≥ 0.
0 e−2(t−t0 )
Z 1 τ
eτ
e 0 1 0
= 1 1 dτ
0 0 e2τ 1 0 e2τ
" 2 #
1 e −1 e3 −1
2τ
e3τ
Z
e 2 3
= 4τ dτ = e3 −1 e4 −1
.
0 e3τ e
3 4
Z 4 −(3−τ )
e−(3−τ )
e 0 1 0
= 1 0 dτ
3 0 e−2(3−τ ) 0 0 e−2(3−τ )
Z 4 −2(3−τ ) −2
e −1
e 0 0
= dτ = 2 .
3 0 0 0 0
Characteristic Equation:
(s − 1)(s + 1)(s − 1) = 0
The poles are at -1, 1, 1. The system is not stable.
Desired Characteristic Equation:
(s + 2)(s + 2)(s + 2) = s3 + 6s2 + 12s + 8
Gain Matrix K:
−1 −1 1
W = −1 1 0
1 0 0
0 2 0
T = Q−1
c W = 1 −2 1
−1 0 1
1 1 −1
1
T −1 = 1 0 0
2
1 1 1
−1
1 1 −1
1
8 − 1 T −1 =⇒ 7
K = 6 − (−1) 12 − (−1) 13 7 1 0 0
2
1 1 1
1
K= 27 14 0 = 13.5 7 0
2
Calculation of K’:
1 1 1 −1 1584 0 0
K̄ = 0 0 1 2 −2 0 351 882 0
2
−1 1 1 419 0 1584
1
= [−814 882 1584] = [−407 441 792]
2
The observer gain matrix is L = K̄ T , i.e.,
−407
L = K ′ = 441
792