Solution Assignment 12
Solution Assignment 12
Control Engineering
Sept.-Dec 2020
Solution: Assignment 12
Common Data for Q1-Q3
Through the first three questions, we will explore the controllability properties of the following state-space
canonical forms.
1. Which of the following options has the conditions for the Modal canonical form to be controllable?
(a) λi 6= 0 for i ∈ {1, 2, 3}
(b) Always controllable
(c) λi 6= 0 and bi 6= 0 for i ∈ {1, 2, 3}
(d) λi are distinct and bi 6= 0 for i ∈ {1, 2, 3} [Correct]
Solution : The determinant of the controllability matrix is −b1 b2 b3 (λ1 − λ2 )(λ2 − λ3 )(λ3 − λ1 ) =
0. Therefore, the modal canonical form is controllable if and only if the eigenvalues are distinct
(λ1 6= λ2 , λ2 6= λ3 and λ3 6= λ1 ) and bi 6= 0 for i ∈ {1, 2, 3}. Therefore, Option (d) is correct.
2. Which of the following options has the conditions for the Jordan canonical form to be controllable?
(a) c3 6= 0 [Correct]
(b) ci 6= 0 for i ∈ {1, 2, 3}
(c) λ1 6= 0 and ci 6= 0 for i ∈ {1, 2, 3}
(d) Always controllable
Solution : The controllability matrix of the Jordan Canonical form is
c1 c1 λ1 + c2 c1 λ21 + 2c2 λ1 + c3
1
3. Which of the following are conditions for the controllable canonical form to be controllable?
(a) a3 6= 0
(b) a1 6= 0
(c) ai 6= 0 for i ∈ {1, 2, 3}
(d) Always controllable [Correct]
Solution : The controllability matrix is
0 0 1
C = 0 1 a1 .
1 a1 a2 + a21
This matrix is always invertible, irrespective of the values taken by a1 , a2 and a3 , as the det(C) =
−1 6= 0. Therefore, the system is always controllable. This is the very reason for naming this
canonical form as controllable canonical form. Option (d) is correct.
The minimum number of non-zero elements in the matrix B such that the above system is control-
lable is . [Correct answer : 1; Range 0.99 to 1.01]
Solution : Let [b1 b2 b3 ]> be the B matrix. The controllability matrix is
b1 b2 a1 b3 a1 a2
C = b2 b3 a2 0 .
b3 0 0
The determinant is −b33 a1 a22 . With respect to the matrix B, it suffices to have just b3 6= 0 for the
system to be controllable. Therefore, the minimum number of non-zero elements in the matrix B
which renders the given system controllable is 1.
5. Consider the following system
0 0 a3
ẋ = 1 0 a2 x, y = 0 0 1 x.
0 1 a1
2
Just for verification, we can compute the observability matrix.
0 0 1
O = 0 1 a1 .
1 a1 a2 + a21
This matrix is always invertible as the det(O) = −1 6= 0. Therefore, the system is always observable
irrespective of the values taken by a1 , a2 and a3 . This is the very reason because of which this
canonical form is called the observable canonical form. Option (d) is correct.
6. Consider the following system
7 0 0
ẋ = 0 1 0 x, y = c1 c2 c3 x
0 0 4
The system is observable for
(a) c1 6= 0, c3 6= 0, c2 6= 0 [Correct]
(b) c2 = 0
(c) c1 = 0, c2 = c3 6= 0
(d) unobservable for all c1 , c2 , c3
Solution : The system is in the diagonal canonical form. If the diagnonal entries are distinct, the
diagonal form is controllable when c1 6= 0, c3 6= 0, c2 6= 0.
By duality, we can conclude that, the given system is observable when c1 6= 0, c3 6= 0, c2 6= 0.
Therefore, Option (a) is correct.
Just to verify, we can compute the observability matrix.
c1 c2 c3
O = 7c1 c2 4c3 .
49c1 c2 16c3
The determinant of O is 54c1 c2 c3 . For the determinant to be non-zero c1 , c2 and c3 should be
non-zero. Therefore, the given system is observable when c1 6= 0, c3 6= 0, c2 6= 0. Option (a) is
correct.
Common data for Q7 - Q15
Consider the system ẋ = Ax + Bu where
1 0 1 1
A = −2 1 0 , B = 0 .
0 2 1 1
Using Ackerman’s formula, find a state-feedback controller K = k1 k2 k3 such that the control
law u = −Kx places the closed-loop poles at −5, −3, −1.
7. k1 = . [ans = 16, range = 15.9 to 16.1]
8. k2 = . [ans = -14, range = -14.1 to -13.9]
9. k3 = . [ans = -4, range = -4.1 to -3.9]
Using a similarity transformation, convert the system to its controllable canonical form denoted by
0 1 0 0
x̂˙ = 0 0 1 x̂ + 0 u
a1 a2 a3 1
Enter the following entries of the matrix.
3
10. a1 = . [ans = -3, range = -3.1 to -2.9]
11. a2 = . [ans = -3, range = -3.1 to -2.9]
12. a3 = . [ans = 3, range = 2.9 to 3.1]
Using the controllable canonical form obtained above, find a state-feedback controller K = k1 k2 k3
such that the control law u = −Kx places the closed-loop poles of the original system, i.e., eigen-
values of A − BK, at −6, −4, −2.
13. k1 = . [ans = 30, range = 29.9 to 30.1]
14. k2 = . [ans = -20.5, range = -20.6 to -20.4]
15. k3 = . [ans = -15, range = -15.1 to -14.9]
Solutions: The desired characteristic polynomial is
Thus,
44 24 44
φ(A) = A3 + 9A2 + 23A + 15 = −88 44 −24 .
−48 88 44
1 C −1 φ(A) = 16 −14 −4
K= 0 0
det(sI − A) = s3 − 3s2 + 3s + 3.
we have
0 −1 1
P = CW = 0 −2 0 .
−3 −2 1
4
Note that the eigenvalues of A − BK are same as the eigenvalues of P −1 (A − BK)P = Â − B̂ K̂,
where we have defined K̂ = k̂1 k̂2 k̂3 = KP . Thus, it is enough to design a K such that
eigenvalues of  − B̂ K̂ are placed at −6, −4, −2.
0 1 0 0 0 1 0
 − B̂ K̂ = 0 0 1 − 0 k̂1 k̂2 k̂3 = 0 0 1 .
−3 −3 3 1 −3 − k1 −3 − k2 3 − k3