Ench 617 Assign1 2021
Ench 617 Assign1 2021
ADVANCED CONTROL
1. [20 marks]
Discuss the relative merits of empirical (or “black-box”) dynamic models and first
principles (or theoretical) dynamic models.
Page 2 of 12
Page 3 of 12
2. [80 marks]
Fin(t)
Y(t)
LT LC Ysp(t)
h(t)
U(t)
Fout(t)
Figure Q2 - Control scheme for regulating liquid level in a cylindrical surge tank.
At steady-state, the inlet and outlet flows are 15 m3/min with accumulated liquid at a level
of 1.5 m. The installed characteristics of the control valve are linear with a range of 0 – 20
m3/min corresponding to 0 – 100% controller output. The height of the tank is 3 m.
Dynamics associated with the control valve and level sensor/transmitter may be neglected.
(a) Show that the vessel level dynamics are described by the differential equation
d h (t )
K vel ( Fin (t ) Fout (t )) (2.1)
dt
The velocity gain Kvel 1/ A, where A denotes the cross-sectional area of the tank. Be
sure to state any additional assumptions made in your derivation.
[10 marks]
Page 4 of 12
Page 5 of 12
(b) Provide a physical interpretation of the velocity gain.
[5 marks]
Page 6 of 12
(c) Specify the action of the control valve (e.g. air-to-open or air-to-close) as well as that
of the controller (reverse or direct). Explain your reasoning.
[10 marks]
Page 7 of 12
(d) Calculate the steady-state controller output signal U ss .
[5 marks]
Page 8 of 12
(e) Build a Simulink model named surgep_mdl.slx to simulate 2 hours of proportional-
only level control. Step changes of +2.5 m3/min and -15 m3/min in the inlet flowrate are
to be introduced at times t = 10 and t = 60 minutes, respectively. Create a script file called
surgep.m which executes surgep_mdl and plots the results. The measured variable Y(t) and
setpoint Ysp(t) must be displayed in the upper subplot and the inlet and outlet flowrates in
the lower subplot. Use the following expression to compute the proportional gain:
100 %
KC (2.2)
Desired Range of the Measured Level
assuming that Operations demands that the tank level be kept in the range 30 – 70%. The
level setpoint is constant at 50% of scale. Why does the liquid level violate the lower limit
following the step decrease in feedrate?
[40 marks]
Page 9 of 12
Page 10 of 12
(f) Repeat part (e) for the situation where the LC is a proportional-integral controller.
Tune the controller using the method of St. Clair (1993):
100 %
KC (2.3)
0.5 ( Desired Range of the Measured Level )
4V
I (2.4)
K C Fmax
where V and Fmax refer to the tank volume and maximum effluent flowrate, respectively.
The new Simulink model should be named surgepi_mdl.slx and the corresponding script
file surgepi.m. Discuss your results and explain why this choice of K C is guaranteed to
keep the tank level in the desired range regardless of the value of the controller bias.
[Hint: For the purpose of justifying this performance guarantee, you may wish to assume
that the control algorithm is P-only with proportional gain calculated according to (2.3).]
[10 marks]
Page 11 of 12
************************************************************************
Page 12 of 12