Control Systems Theory and Design: Examination
Control Systems Theory and Design: Examination
Figure 1 shows the scheme of a heating system for a swimming pool. Water is heated
in the boiler and circulated by the pump. The temperatures in the boiler Tb and in the
swimming pool Ts are assumed to be homogeneous.
Tb(t) Ts(t)
Pump
Boiler Swimming Pool
The input u(t) is the thermal power that the boiler is producing. The system can be
described by the following equations
T
a) Find the state space representation with the state vector Tb (t) Ts (t) Ta (t) Ṫa (t)
of the system depicted in Figure 1. Assume that Ts is measured (i.e. y(t) = Ts (t)).
c) Is the system controllable? If not, which states belong to the uncontrollable sub-
space?
1
Problem 2 (25 Marks)
c) Consider the control loop in Fig 2. The state space realization given above describes
the dynamics of the plant.
x̂ u y
- Observer F Plant
i) Write down the state space model from disturbance d to output y, in terms of
the plant model (A, B, C), F and L, where F is the state feedback gain, L the
observer gain. Define the state vector x̄ as [xT , xT − x̂T ]T , where x is the state
of the plant.
ii) Given an unit step disturbance d, calculate the static output y in terms of the
plant model (A, B, C), F and L.
iii) The cost function is chosen as
Z ∞
V = [y T (t)y(t) + uT (t)Ru(t)]dt
0
Now assume that R → ∞. Where will the optimal closed-loop plant poles be
placed?
2
Problem 3 (25 Marks)
0.5
-0.5
0.5
-0.5
-1
y(k)
-2
k 0 1
u(k) −8 4
c) Compute the output y(0), y(1), y(2) for the input and the initial states given in b).
d) Which method should be chosen if the sampling frequency is about ten times the
bandwidth of the system (ωs ≈ 10ωb )? Give reasons.
e) Complete the m-file below to generate a discrete-time optimal regulator with the
T T
cost function Σ∞
k=0 [x (k)x(k)+u (k)Ru(k)], where R = 0.1. Compare the controlled
T
and uncontrolled free responses for the initial state 16 8 0 . Assume the model
depicted in Figure 3 is given in the MATLAB/SIMULINK file sys.mdl.
1 [ A , B , C , D]= dlinmod ( . . . , 1 ) ;
2 K = dlqr ( A , B , . . . , . . . )
3 syss=ss ( . . . , . . . , . . . , . . . ,1);
4 syscl=feedback ( syss , K ) ;
5 . . . ( ss ( A , B , C , D , 1 ) , . . . ) ; hold on
6 . . . ( C∗ syscl , . . . , ’ r ’ ) ;
3
Problem 4 (25 Marks)
1.4 0.5 0 2
Φ= 0
0 −1 , Γ = 0
(1)
0 0 0.8 0
1 1 1
C= (2)
0 0 1
iv) Under the assumption of ideal, noise-free measurements, what is the rank of
the Hankel matrix Hk ? Give reasons.
v) Now assume that the system matrices Φ, Γ and C are unknown. Write MAT-
LAB code to compute Γ and C, when the Hankel matrix Hk is in the workspace.
4
i) Give expressions for the measurement matrix M and the vector p, in terms of
the measurement data and parameters a1 , a2 and b1 .
ii) If the matrix M in Rn×m (n < m) has the rank n, can the estimation problem
be solved? Give reasons.
b1 z1−1
G(z1 , z2 ) =
1 + a1 z1−1 + a2 z1−2 + a3 z1−1 z2−1
Let u(k) and y(k) be the input and output signals, respectively. Write down the dif-
ference equation of the system in the form of a linear regression y(k1, k2 ) = mT (k1 , k2 )p
in terms of the measurement data and parameters a1 , a2 , a3 and b1 .