WEEK 5 MODULE 5 - Design of More Complex Control Structures
WEEK 5 MODULE 5 - Design of More Complex Control Structures
MODULE 5:
Design of More Complex Control Structures
d
Manipulated u y Controlled
Variable Process Variable
Example 5.1
Symbols
F, D, B are flow rates
z, y, x are mole fractions of the light
component
Control objective
Control y despite disturbances in F
and z by manipulating D.
Fig.5.5: A simplified
schematic diagram of a
distillation column
(5.5b)
N.B.:
• The roots of the characteristic equation determine system stability.
• But this equation does not contain gf.
• Therefore, FF control does NOT affect stability of FB system.
The conventional feedback control system in Fig.5.8a may keep the hot
oil temperature close to the set point despite disturbances in oil flow rate
or cold oil temperature.
However, if a disturbance occurs in the fuel gas supply pressure, the fuel
gas flow will change, which upsets the furnace operation and changes the
hot oil temperature. Only then can the temperature controller(TC) begin
to take corrective action by adjusting the fuel gas flow based on the error
from the setpoint, which can result in very sluggish responses to changes
in fuel gas supply pressure.
This disturbance is clearly associated with the manipulated variable.
• Fig.5.8b shows a cascade control configuration for the furnace, which consists
of a primary control loop (utilizing TT and TC) and a secondary control loop
that controls the fuel gas pressure via PT and PC.
• The primary measurement is the hot oil temperature that is used by the
primary controller (TC) to establish the set point for the secondary loop
controller.
• The secondary measurement is the fuel gas pressure, which is transmitted to
the slave controller (PC).
• If a disturbance in supply pressure occurs, the pressure controller will
act very quickly to hold the fuel gas pressure at its set point.
• The cascade control scheme provides improved performance, because the
control valve will be adjusted as soon as the change in supply pressure is
detected.
Secondary loop
, (5.16)
(5.17)
(5.18c)
(5.18d)
(5.18e)
(5.18f)
Secondary loop
gc2=1
Master Slave
Controller Controller
gm2=0
Primary loop
Fig.5.10: Cascade control block diagram
Master
Controller
Primary loop
Fig.5.10: Cascade control block diagram
Where the time constants have units of minutes and the given have
consistent units .Assume for the secondary controller.
QUESTIONS
(a.) Determine for the inner loop when
(5.20a)
(5.22a)
(5.22b)
(5.22d)
(5.22e)
(5.22h)
Assume (5.22i)
(5.22j)
(5.22k)
(5.22l)
(5.22n)
Offset=
< (5.22o)
(5.22p)
(5.22q)
(5.22t)
Which gives
(ii) Characteristics equation for conventional feedback control
(5.19b)
(5.22u)
(5.22v)
(a) Specify so that the damping factor is 0.707 for the slave loop
So, (5.23a)
(5.23b)
(5.23f)
(5.23g)
(b) with (5.23h)
For the master loop: (5.23i)
Let =gain of controller
Characteristics equation for the master loop is
(5.23j)
(5.23k)
(5.23l)
(5.23m)
To determine and , put
(5.23n)
(5.23o)
(5.23p)
Equating both Real and Imaginary part to zero
(5.23q)
(5.23r)
(5.23p)
At
Z-N Settings
(5.25)
It is calculated as
usp = KR dm (5.27)
(b) From the stoichiometric equation, it follows that the desired ratio is
Rd = (u/d) = 1/3
N.B.:
Regardless of how ratio control is implemented, the process variables
must be scaled appropriately. For example, in Method II the gain setting
for the ratio station KR must take into account the spans of the two flow
transmitters.
(2.1)
Obafemi Awolowo University 66
Chemical Engineering
Example 5.7
Thus, the correct gain for the ratio station is given as:
(5.28)
Where is the desired ratio, and are the spans of the flow
transmitters for the manipulated and disturbance streams, respectively.
(5.29)
1 1
PID
5s+1 3s+1
Step PID Controller Transfer Fcn Transfer Fcn2 Scope
Designed by Bamimore A.
01/11/2009
t2
Step1
Clock To Workspace
Controller Parameter y2
P=1.23, I=1.23/7 min
To Workspace1
1 1
PID
5s+1 3s+1
Step PID Controller Transfer Fcn Transfer Fcn2 Transport Scope
Delay
r2
To Workspace2
Designed by Bamimore A.
01/11/2009
(c) The servo responses of the process are compared with and without
time delay. The MATLAB scripts below was used to generate Fig. 5.18,
having first run Fig.5.17a and b
plot(t2,y2,'-',t3,y3,'--',t2,r2,'-.')
ylabel('y')
xlabel('Time(min)')
legend('with delay','without delay')
0.6
the time-delay case has deteriorated,
0.4
with a 50% increase in response time
0.2
(30 vs. 20min).
This response is longer than might be
0
0 5 10 15 20 25 30 35 40 45 50
Time(min)
(5.32)
(5.34)
y1
Controller Parameters To Workspace1
P=3.02, I=3.02/6.5 min
1 1
PID
5s+1 3s+1
Step PID Controller Transfer Fcn Transfer Fcn2 Transport Scope
Delay2
r1
Designed by Bamimore A.
To Workspace2 01/11/2009
Modified on 27/11/09
1 1
5s+1 3s+1
Transfer Fcn3 Transfer Fcn1 Transport
Delay1
t3
Step1
Clock
To Workspace
y3
1 1
PID
5s+1 3s+1
Step PID Controller Transfer Fcn Transfer Fcn2 Scope
Designed by Bamimore A.
01/11/2009
0.8
0.6
0.2
plot(t1,y1,'-',t3,y3,'--',t1,r1,'-.')
0
0 5 10 15 ylabel('y')
20
Time(min)
25 30 35 40
xlabel('Time(min)')
Fig.5.21: A comparison of servo legend('Smith Predictor,with
responses with and without Smith delay','Conventional,without delay')
Predictor
(5.35)
Again, regulatory responses are compared for the two cases; when
Smith predictor is in use and when conventional feedback is in use,
by introducing a step change in disturbance of +1 into the system,
the results are as shown in Fig.5.22.
Obafemi Awolowo University 86
Chemical Engineering
Regulatory Control with Smith Predictor
t1
Clock
T o Workspace
1 1
5s+1 3s+1 y1
Step1 T ransfer Fcn5 T ransfer Fcn4
Controller Parameters T o Workspace1
P=3.02, I=3.02/6.5 min
1 1
PID
5s+1 3s+1
Step PID Controller T ransfer Fcn T ransfer Fcn2 T ransport Scope
Delay2
r1
Designed by Bamimore A.
T o Workspace2 01/11/2009
Modified on 27/11/09
1 1
5s+1 3s+1
T ransfer Fcn3 T ransfer Fcn1 T ransport
Delay1
1 1
t2
5s+1 3s+1
Clock
To Workspace Step1 Transfer
Transfer Fcn1 Fcn3
Controller Parameter y2
P=1.23, I=1.23/7 min
To Workspace1
1 1
PID
5s+1 3s+1
Step PID Controller Transfer Fcn Transfer Fcn2 Transport Scope
Delay
r2
To Workspace2
Designed by Bamimore A.
01/11/2009
0.6
Conventional PI
Smith Predictor
0.5
0.4
0.3
y
0.2
0.1
-0.1
0 5 10 15 20 25 30 35 40 45 50
Time(min)