Professional Documents
Culture Documents
z
R i
u m
b
d2 d
m 2
z(t) + b z(t) = ci(t)
dt dt ,
d u(t)
τ i(t) + i(t) =
dt R
where m, b, c, τ and R are the physical parameters of the system.
a) Determine a state space representation of the system with input voltage u(t) as
input and position z(t) as output.
In the following parts of this problem, suppose m = b = c = τ = R = 1.
d) What is the dimension of the observable subspace if only position z(t) can be mea-
sured?
e) What is the dimension of the observable subspace if only current i(t) can be mea-
sured?
f) Suppose that the system matrices A,b,c,d are available in the workspace of MAT-
LAB. Give MATLAB code for checking the observability and controllability of the
system.
1
Problem 2 (25 Marks)
ẋ = Ax + Bu
y = Cx + Du
where
−3 −2 0 2 0
1 2 0 0 3
A= 1 0 0 , B = 0 0 , C= , D= .
0 0 1 0 0
0 0 −3 0 1
s(s + 3) −2(s + 3) 0
1 (s + 3) (s + 3)2 0 .
(s + 1)(s + 2)(s + 3)
0 0 (s + 1)(s + 2)
d) Suppose that the system matrices A,B,C,D are available in the workspace of MAT-
LAB.
e) If the measurement noise is too high, which weighting matrix should be modified
and how?
How does this affect the speed of estimation?
2
Problem 3 (25 Marks)
z+3
G(z) =
z2 + 3z + 2
b) Assume the system in (a) was generated by sampling the input and output signal
of a continuous-time system. What will happen with the poles of the discrete-time
system if the sampling time approaches zero?
c) Sketch the lines of constant real parts of the poles of a second order system in the
s-plane and map them into the z-plane.
d) i) Sketch a block diagram of the system G(z) which can be used to derive the
observer canonical form assuming that u(k) is the input and y(k) is the output
of G(z).
ii) Derive a state space model in terms of the matrices Φ, Γ, C and D in observer
canonical form for G(z).
e) Give MATLAB code to plot the response of the system G(z) to the input u(k) as
given in problem (a.ii).
3
Problem 4 (25 Marks)
Given is the discrete-time system G(z) represented by the following state-space model
where
0.5 1 1
Φ= , Γ= , c = [ 1 1] .
0 0.2 0
d) Assume that the Hankel matrix Hk given in part b) is in the workspace of MATLAB
as Hk. Give MATLAB code to calculate the input and output matrices.