Professional Documents
Culture Documents
Exercise 2 Sildes
Exercise 2 Sildes
Exercise Session 2
Ton van den Boom (a.j.j.vandenboom@tudelft.nl)
ẋ = Ax + Bu
ż = T ẋ = T Ax + T Bu = T AT −1z + T Bu
Let us compute the reachability matrix for the new set of coordinates, to
leverage the rank condition:
n−1
T B|T AT T B| · · · |T A
−1
T −1
TB =
n−1
T B|AB| · · · |A B .
2. Let µ = λ 6= 0 and α = 1.
Show that the system is reachable for b1 = 0, b2 = 0, and b3 = 1.
3. Let µ 6= 0, λ = 0, and α = 0.
Find necessary conditions for reachability of the pair (A, B).
1. First compute:
2
b1 µb1 + αb2 µ b1 + α(µ + λ)b2 + αb3
B AB A2B = b2 λb2 + b3 λ2b2 + 2λb3
b3 λb3 λ2b3
ẏ1 = αy1 + y5
ẏ2 = αy2 + u
ẏ3 = αy3 + y4
ẏ4 = y1 + αy4
ẏ5 = y2 + αy5
1. Write the given system in state space form. (Hint: choose state x in a
smart way).
ẏ3 = αy3 + y4
ẏ4 = y1 + αy4
ẏ1 = αy1 + y5
ẏ5 = y2 + αy5
ẏ2 = αy2 + u
α 1 0 0 0 0
0 α 1 0 0
0
ẋ =
0 0 α 1 0 x + 0 u
0 0 0 α 1 0
0 0 0 0 α 1
| {z } | {z }
A B
λ = {α}
First compute
2
α 2α 1 0 0
0 α2 2α 1 0
2
A =
0 0 α2 2α 1
0 0 0 α2 2α
0 0 0 0 α2
3 2
α 3α 3α 1 0
0 α3 3α2 3α 1
3
A =
0 0 α3 3α2 3α
0 0 0 α3 3α2
0 0 0 0 α3
d4 θ d3 θ d2 θ dθ
4
+ α 3 + β 2 + γ + θ = u,
dt dt dt dt
d3 θ d2 θ dθ
where u represents a control input. Assuming that , , and θ can
dt3 dt2 dt
all be measured, design a state feedback control scheme (use a single
input) which places the closed-loop eigenvalues at
s1 = −2, s2 = −3, s3 = −1 + i, s4 = −1 − i.
ẋ = (A − BK)x,
which, due to the nice canonical form, induces the following characteristic
polynomial:
det(sI − (A − BK)) =
s4 + (k1 + α)s3 + (k2 + β)s2 + (k3 + γ)s + (k4 + 1).
k1 = p1 − a1 = 7 − α
k2 = p2 − a2 = 18 − β
k3 = p3 − a3 = 22 − γ
k4 = p4 − a4 = 12 − 1 = 11 ✷
2. Compute the observer gain L such that the observer poles are s1 = −3
and s2 = −4.
Since its determinant is different than zero, the matrix is full rank and thus
the system is observable.
The observer error dynamics depend on the following closed-loop matrix
−2 −2 l1
A − LC = − 4 7
2 5 l2
−2 − 4l1 −2 − 7l1
= .
2 − 4l2 5 − 7l2
rank(Y)
yields 2 (full rank). The observer gain can be calculated by exploiting the
function acker and the dual problem, as:
l = acker(A’,C’,[-3 -4])
which outputs the result above.
✷
1 1
Wr = B AB = .
1 −2
Since its determinant is different than zero, the matrix is full rank and
thus the system is reachable.
0 1
T = W̃r Wr−1 =
1/3 −1/3
C̃ = CT −1
= 1 0
And so the state space realization is now
−2 3 1
ż = z+ u
1 0 0
y= 1 0 z
Since its determinant is different than zero, the matrix is full rank and
thus the system is observable.
Let à and B̃ be defined as
−2 1
à = . , C̃ = 1 0 .
3 0