Professional Documents
Culture Documents
The state space model to describe the dynamics of a hot air balloon is
given as:
1
Ṫ (t) − τ1 0 0 T (t) α 0
v̇(t) = β − 1 0 v(t) + 0 u(t) + 1 w(t) (1)
τ2 τ2
ḣ(t) 0 1 0 h(t) 0 0
where the state variable T (t) is the temperature change of air in the balloon,
u(t) is the manipulated variable and is proportional to change in heat added
to air balloon, v(t) is the vertical velocity of the balloon, h(t) is the change in
altitude from steady-state altitude, w(t) is the vertical wind velocity, which
is the disturbance for the control problem. The normalized constants in the
model are τ1 = 1, τ2 = 10, α = 1 and β = 0.01.
1. Can we measure velocity v(t) and temperature T (t) and construct an
observer to estimate the altitude h(t)? why? (5 marks)
2. Assume that T (t), v(t) and h(t) are measured. Design a state feed-
back control for the air balloon, where the closed-loop poles are posi-
tioned at −2. Simulate the closed-loop response with initial conditions
T (0) = v(0) = h(0) = 1 without the wind disturbance. In the simula-
tion, simulation time T sim = 20 and ∆t = 0.001. Present closed-loop
responses of the three state variables and the control signal (10 marks).
3. Generate a wind disturbance using the following code:
dis=10*randn(1,length(t));
dis=filter(0.01,[1 -0.99],dis);
dis=dis+2*[zeros(1,(length(t)-1)/2) ones(1,(length(t)+1)/2)];
Add this wind disturbance to the simulation from the previous ques-
tion. Present closed-loop responses of the three state variables and the
control signal, and discuss your results (10 marks). MATLAB Program
is required for this question.
4. In order to save the cost for the air balloon controller, we only measure
the altitude h(t). Design an observer to estimate T (t) and v(t) where all
closed-loop poles are positioned at −10. In order for the state feedback
control system to reject the wind disturbance, we will put an integrator
into the controller. Design the state feedback controller K with integral
action where all closed-loop poles are positioned at −2. Present Kob
and K values (10 marks).
5. Simulate the closed-loop response with reference signal to h(t) is zero
with the same wind disturbance. Present closed-loop responses of the
three state variables and the control signal, and discuss your results
and compare the results with the case without integral action in the
controller. What are your observations? (10 marks)
6. Simulate the closed-loop response with reference signal to h(t) is one
with the same wind disturbance. Also the control signal is constrained
between ±100. Present the closed-loop response of the altitude and
the control signal. What are your observations? (20 marks) MATLAB
program is required for this question.
4. We assume that x1 (0) = 0.5 and x3 (0) = 0.1, x2 (0) = x4 (0) = 0, and
x̂1 (0) = x̂2 (0) = x̂3 (0) = x̂4 (0) = 0. With sampling interval ∆t =
0.001 (sec) and simulation time Tsim = 3 (sec), simulate the closed-
loop response of the spring-mass system and present the responses of
the four state variables in response to the initial conditions of system.
(10 marks). MATLAB program is required for this question.
5. Where are the closed-loop poles for this state estimate feedback control
system? (5 marks)