Professional Documents
Culture Documents
1.2
CONTROL (SYSTEM)
The term control means methods to force parameters in the environment to have
specific values. This can be as simple as making the temperature in a room stay at 25C or
as complex as manufacturing an integrated circuit or guiding a spacecraft to Jupiter. In
general, all of the elements necessary to accomplish the control objective are described by
the term control system.
The basic strategy by which a control system operates is quite logical and natural. In
fact, the same strategy is employed in living organisms to maintain temperature, fluid flow
rate, and a host of other biological functions. This is natural process control.
The technology of artificial control was first developed with a human as an integral part
of the control action. When it is learnt how to use machines, electronics, and computers to
replace the human function, the term automatic control came into use.
1
1.3
PROCESS CONTROL
PROCESS CONTROL
The process may be controlled by measuring a variable representing the desired state
of the product and automatically adjusting one of the other variables of the process. In
process control, the basic objective is to regulate the value of some quantity. To regulate
means to maintain that quantity at some desired value (reference value or set point) regardless
of external influences.
During the first industrial revolution the workdone by human muscles was gradually
replaced by the power of machines. Process control opened the door to the second industrial
revolution, where the routine functions of the human mind and the need for the continuous
presence of human observers were also taken care of by machines. In true sense process
control had made optimization, and thereby, the beginning of the third industrial revolution
possible. Here the traditional goal of maximizing the quantity production is gradually replaced
by the goal of maximizing the quality and durability of the produced goods, while minimizing
the consumption of energy and raw materials and maximizing recycling and reuse. Optimized
process control is the moto.
1.4
1.4.2
The state of a process or the configuration of a system is determined when each of its
degrees of freedom is specified. Consider, for example, a ball placed on a billiard table. In
order to specify its position, we would require three coordinates : One north-south coordinate,
one east-west coordinate, and the height. However, the height is not arbitary because it is
given by the height of the table surface above a reference plane. Consequently the ball has
two degrees of freedom.
Mathematically, the number of degrees of freedom is defined as
n = nv ne
where
(1.1)
In the example of the billiard ball there are three variables of position (nv = 3), one
defining equation (ne =1), and therefore two degrees of freedom (n = nu ne = 3 1 = 2). It
is easy to see intuitively that a train has only one degree of freedom because only its speed
can be varied, while boats have two and air planes have three [ Refer Fig. 1.1 and Fig. 1.2].
N
S
Variab le s
A ltitud e
1
L atitu de
1
L on gitud e
1
3
E q ua tion s
A ltitud e-se a leve l 1
D e gre es o f free do m 2
PROCESS CONTROL
A ltitud e
Variab le s
1
A ltitud e
1
L atitu de
L on gitud e
1
3
E q ua tion s
0
N on e
D e gre es o f free do m 3
n = nc np +2
(1.2)
n = nc n p +1
and for a constant-pressure process
n = nc n p +1
For example, consider a steam boiler producing saturated steam (Refer Fig. 1.3) . The
number of components is one (water), and the number of phases are two (liquid and gas).
Therefore the number of degrees of freedom are
n = 1 2 + 2 = 1
and either temperature or pressure (but not both) may be selected as the independent
variable. For a boiler producing superheated steam the number of degrees of freedom are
two, and both temperature and pressure must be controlled.
P 3 = P ressu re
W s = S te a m Flo w
S a tu rated
Vap or
Q = H e at in pu t (B TU )
W a te r
Fig. 1.3 The number of degrees of freedom of a saturated steam boiler is one
m h ea t flow rate
There is one defining equation obtained from conservation of energy (first law of
thermodynamics). Therefore ne = 1 . Hence the number of degrees of freedom in this case
are n = n u n e = 4 1 = 3 .
Whenever the heat input is through steam, the heat exchanger can be called as steam
heater also.
m
u1
u2
u4
c1u3
6 Variab le s:
c = he ated fluid ou tle t tem pe ra ture
m = he atin g flu id flow rate
u 1 = h e ating fluid in le t te m pe rature
u 2 = h e ating fluid ou tle t tem p era tu re
u 3 = h e ate d flu id flow rate
u 4 = h e ate d flu id inlet tem p era tu re
This means that if five variables are held constant, this will result in a constant state
for the sixth variable, the outlet temperature (c). Therefore, the maximum number of automatic
controllers that can be placed on this process is five. Usually one would not consider this
option of using five controllers, but one might use only a single control loop.
PROCESS CONTROL
One would select the controlled variable (c) to be the process property which is most
important, because it has the most impact on plant productivity, safety, or product quality.
One would select the manipulated variable (m) to be that process input variable which has
the most direct influence on the controlled variable (c) which in this case the flow rate of the
heating fluid. The other load variables (u1 to u4) are uncontrolled independent variables,
which, when they change, will upset the control system, and their effects can only be
corrected in a feedback manner. This means that a change in load variables is not responded
to until they have upset the controlled variable (c).
O verh ea d pro du ct
(D )
Fe ed
S tea m
(V )
B o tto m P ro du ct
(B )
A p pa re nt
Variab le s
c 1 = overh e ad te m p e ratu re
c 2 = o ve rh ea d pre ssu re
c 3 = o ve rh ea d co m po sitio n
c 4 = o ve rh ea d flo w ra te
u 1 = b ottom tem pe ra ture
u 2 = b ottom p re ssure
u 3 = b ottom co m p ositio n
u 4 = b ottom flo w ra te
u 5 = fe ed tem pe ra ture
u 6 = fe ed p ressure
u 7 = fe ed com p ositio n
u 8 = fe e pe r cen t va po ur
u 9 = fe ed flow rate
m = ste am flo w ra te (he a t in p ut)
In de pe n de nt
Variab le s
2
1
2
1
2
1
1
1
11
1.5
The first use of automatic control seems to have been the flyball governor on Watt's
steam engine during 1775. This device was employed to regulate the speed of the engine by
manipulating the steam flow by means of a valve.
Nowadays automatic process control devices are used in almost every phase of industrial
operations. They are commonly employed in the following areas.
1. Processing industries such as petroleum, chemical, steel, power and food for the
control of assembly operations, work flow, heat treating, and similar variables.
2. Goods manufacturers such as automobile parts, refrigerators, and electronic equipment
like television sets, radio etc for the control of assembly operations, work flow, heat
treating, and similar operations.
3. Transportation systems such as railways, airplanes, free missiles and ships.
4. Power machines such as machine tools, compressors and pumps, prime movers, and
electric power-supply units for the control of position, speed and power.
Automatic control devices are used because their application results in economical
behaviour of the system under control or because they are required for humanitarian purposes.
Some of the needs and advantages of a process automation are listed below.
(a) Increase in productivity (increase in quantity or number of products) : Helps to
increase the efficiency of both men and machine.
(b) Improvement in quality of products by meeting the product specifications overcoming
operational constraints.
(c) Improvement in consistency of the product dimensions, performance and the length
of service.
(d) Economical improvement by way of savings in processing raw materials, savings in
energy, effective utilization of capital and human labour etc.
(e) Minimise/suppress the influence of external disturbances on the process.
(f) Ensure the stability of the process.
(g) Optimize the performance of the process.
(h) Meet environmental regulations.
All these factors generally lead to an increase in quantity produced with improved
consistent quality at less cost taking the safety of men and machine into account and keeping
the healthy environment.
1.6
PROCESS CONTROL
L ( f ( t)) =
f (t).e
s t
dt. = F ( s )
(1.3)
Example :
Find out the transient response for u(t) = Unit step at t > 0 if the input (u) and output
(y) relation of a process is governed by the following equation.
d3 y
d2 y
dy
du
6
+
+ 11
+6y = 4
+ 2x
3
2
dt
dt
dt
dt
(1.4)
du
=0
dt
|
||
and at t = 0, y (0) = y (0 ) = y (0 ) = 0 a n d
Steps involved
1. Take Laplace transform
2. Factorise using partial fraction decomposition
3. Take inverse Laplace transform.
4s +2
U (s ) =
+ 6 s 2 + 11 s + 6
U(s) = 1/S
Transfer function = G(s) =
(1.5)
(1.6)
( s ).U ( s )
(1.7)
4s + 2
+ 6 s 2 +11s + 6
(1.8)
Y (s )
=
U (s ) s
4s +2
1
x
+ 6 s 2 +11 s + 6 s
(s
Y(s) = S
+ 6s
+ 11s + 6
(1.9)
= S (S + 1) (S + 2) (S + 3)
Using partial fraction decomposition
4s +2
=
s ( s + 1)( s + 2)( s + 3)
a 1
a 2
a 3
a 4
+
+
+
s
s +1 s + 2 s + 3
Multiply by S, Set S = 0
4s +2
( s + 1)( s + 2)( s + 3)
S = 0 = a
+s [
2
= a
1 2 3
s +1
s +2
1
3
s +3
10
PROCESS CONTROL
1
5
+ e t 3 e2 t + e 3 t
3
3
y( t)
(1.10)
1
3
(1.11)
11
[It should be remembered that for the physical and chemical processes, the total mass
and total energy cannot be generated from nothing ; neither do they disappear.]
Let us review now the forms used most often for the balance equations. Consider the
system shown in Fig. 1.7. We have :
Q
B o un da ry de fining
th e system
1
S ystem
2
In le t
O utle ts
Ws
Fig. 1.7 A general system and its interactions with the external world
d( V )
= i F i
dt
i= in let
jF
(1.12)
j = ou tlet
d ( n A ) d (C A V )
=
=
dt
dt
A i
Fi
i= in let
A j
F j rV
(1.13)
j = ou tlet
dE
d (U + K + P )
=
=
dt
dt
i F i h i
i= in let
j F jh j Q W
j = ou tlet
(1.14)
12
PROCESS CONTROL
Equations of state
Equations of state are needed to describe the relationship among the intensive variables
describing the thermodynamic state of a system. The ideal gas law and the van der Waals
equation are two typical equations of state for gaseous systems.
13
dead time or transportation lag, or pure delay, or distance-velocity lag. The dead time is
an important element in the mathematical modeling of processes and has a serious impact
on the design of effective controllers. The presence of dead time can very easily destabilize
the dynamic behaviour of a controlled system.
1.7
A first order system is one whose output y(t) is modeled by a first order differential equation.
Thus in the case of linear (or linearised) system, we have
dy
+ a 0 y = b f (t)
dt
where f(t) is the input (forcing function).
a
(1.15)
a
a
1
0
dy
b
f ( t)
+ y=
dt
a 0
dy
+ y = K P f ( t)
dt
(1.16)
a
b
Where P = 1 is known as the time constant of the process and K P = is called
a
0
a 0
the 'steady-state gain' or 'static gain' or simply the 'gain' of the process.
If y(t) and f(t) are interms of deviation variables around a steady state, the initial
conditions are y(0) = 0 and f(0) = 0. Then the transfer function of a first order process is given
by,
y( s )
KP
=
(1.17)
f (s ) P s + 1
A first order process with a transfer function given above is also known as first-order
lag, linear lag or exponential transfer lag.
G(s) =
dy b
f ( t) = K P f ( t) which gives a transfer function,
=
dt a 1
y( s ) K P
=
s
f (s )
In such case, the process is called purely capacitive or pure integrator.
G(s) =
(1.18)
14
PROCESS CONTROL
Thus the dynamic response of tanks that have the capacity to store liquids or gases can
be modeled as first order. The resistance is associated with the pumps, valves, weirs and pipes
which are attached to the inflowing or outflowing liquids or gases. Similarly the temperature
response of solid, liquid, or gaseous systems which can store thermal energy (thermal capacity,
Cp) is modeled as first order. For such systems the resistance is associated with the transfer
of heat through walls, liquids, or gases. In other words, a process that possesses a capacity
to store mass or energy and thus act as a buffer between inflowing and outflowing streams
will be modeled as a first order system.
1.7.2
Fo
h
R
(1.19)
At any point of time, the tank has the capacity to store mass. The total mass balance
gives
Input flow rateOutput flow rate = Rate of accumulation
Fi Fo =
or
A R
d( A h )
dh
h
=A .
=Fi
dt
dt
R
dh
+h =R Fi
dt
(1.20)
(1.21)
15
From equations (1.20) and (1.21), we get the following equation in terms of deviation variables.
A R
dh
+ h = R F i
dt
(1.22)
Where
h = h hs, and
Fi = Fi Fis
KP
h ( s )
=
F ( s )
P s +1
G(s) =
(1.23)
The cross-sectional area of the tank 'A' is a measure of its capacitance to store mass. Thus
the larger the value of 'A', the larger the storage capacity of the tank. Since P = AR, for
the tank.
Time constant = Storage capacitance Resistance to flow.
From Equation (1.19), we get
h ( s )
=R
F 0 ( s )
G(s) =
The term
(1.24)
F 0 ( s )
1
=
F ( s ) P s + 1
(3Kp = R)
(1.25)
1
P s + 1 is called first order lag and is typical of first order processes.
y( s )
KP
=
f (s ) P s + 1
1
, from the
s
y( s ) =
KP
K
=
s ( P s + 1)
s
t
P
K P P
P s +1
(1.26)
16
PROCESS CONTROL
t
P
(1.27)
Fig. 1.9 shows how y(t) changes with time. The Plot is in terms if dimensionless
y( t)
t
vers u s
and as such can be used to determine the response of any typical
A KP
P
first order system, independently of the particular values of A, KP and P .
coordinates
Several features of the plot in Fig. 1.9 are characteristic of the response of first order
systems and these features are :
1. A first order lag process is self-regulating and it reaches a new steady state.
Refering to the tank level system, when the inlet flowrate increases by unit step,
the liquid level goes up. As the liquid level goes up, the hydrostatic pressure increases,
which inturn increases the output flow rate F0 [Refer Eqn. 1.19]. This action works
towards the restoration of an equilibrium state (steady state).
1 .0
0 .8
0 .6
y(t)
AKp
0 .4
0 .2
t
p
d [ y( t) / A
t
d
P
KP]
t =0
(e
t
P
) t= 0 = 1
This implies that if the initial rate of change of y(t) were to be maintained, the
response should reach its final value in one time constant (see the dotted line in the
Fig. 1.19). The corollary conclusions are :
The Smaller the value of the time constant P , the steeper the initial response of the system.
The time constant P of a process is a measure of the time necessary for the process
to adjust to a change in its input.
17
3. The value of the response y(t) reaches 63.2 % of its final value when the time
elapsed is equal to one time constant, P . Subsequently we have y(t) values for 2 P =
86.5 %, 3 P =95%. And 4 P =98%. Thus, after four time constants, the response has
essentially reached its ultimate value.
4. The ultimate value of the response (its value at the new steady state) is equal to
KP for a unit step change in the input, or A.Kp for a step size A. This is easily seen
from the equation (1.27), which yields y > A.KP as t > . This characteristic
explains the name steady state or 'static gain' given to the parameter KP since for
any step change (input) in the input, the resulting change in the output steady
state is given by
(output) = KP (input)
(1.28)
It is clear from equation 1.28 that, to effect the same change in the output, we need:
(i) A small change in the input if KP is large (very sensitive system)
(ii) A large change in the input if KP is small.
5. The effect of time constant P (determined by the cross sectional area of the tank,
A) and static gain KP (determined by the resistance to the flow of the liquid, R) in
the response of first order lag systems is given in Fig. 1.10.
h
Tan k w ith A = A 1
Tan k w ith A = A 2
A1 > A2
t
(a )
h
Kp2 = R 2
Kp1 = R 1
1
1
p 1 = p 2
(b )
Fig. 1.10 Effect of (a) time constant and (b) static gain, in the
response of first-order lag systems
18
PROCESS CONTROL
V C
dT
= Q = U A t (T s t T )
dt
(1.29)
T
Q
T3t
where
U A t (T s ts T s ) = 0
(1.30)
Subtract (1.30) from (1.29) and take the following equation in terms of deviation variables :
V C
dT
= U A t (T s t T )
dt
(1.31)
where T = T Ts and Tst = Tst Tst.s. The Laplace transform of equation (1.31) will yield
the following transfer function:
G(s) =
where
T ( s )
1
KP
=
=
T s t ( s ) V C P s + 1 P s + 1
U A t
(1.32)
V C P
U A t
Time Constant = P =
V C P
U A t
19
L iqu id
TF
S te a m
L iqu id F ilm resistance
W a ll
M ercu ry W e ll
Hg
T
U A (T F T ) 0 = M C
dT
dt
U A (T F T ) = M C
dT
dt
where,
A = Surface area of the bulb for heat transfer in m2
M = Mass of mercury in the bulb, kg
CP = Heat capacity of the mercury in kJ/kgK
U = Film heat transfer coefficient kW/m2K
(1.33)
20
PROCESS CONTROL
(1.34)
d (T T S )
dt
and T TS = T and
U A (T
T ) = M C
M C
U A
dT
dt
dT
dt
(1.35)
M C
U A
= P .
dT
dt
(1.36)
F (S )
(S )
F (S )
=P s T
=T
(S )
T (S )
1
=
T F (S ) 1 + P s
(S )
[1 + P s ]
and hence is a first order lag system.
21
P i N /m 2
W i kg/se c
g as
R
Wi =
d (V )
d
=V
dt
dt
(1.37)
P
R gT
Wi =
Pi P
R
R V dP
dP
= P
Pi P =
dt
R g T dT
N S ec
R V
=
w h ere P =
m
R gT K gK m 2
(1.38)
K gK
1
= s ec
Nm
K
(s ) =
P (S )
1
=
P i( S ) P s + 1
(1.39)
Tan k
V, P
R2
F2
P2
Consider a pressure system with tank of volume V and varying pressure P at constant
temperature. F1 is inlet flow through resistance R1 with source pressure P1. F2 is output flow
through resistance R2 and flowing out at pressure P2. As the flows into and out of the tank
are both influenced by the tank pressure, both flow resistances affect the time constant.
Making a mass balance,
Accumulation in the tank = Input flow rate (F1) Output flow rate (F2)
22
PROCESS CONTROL
dp P 1 P
P P2
=
dt
R1
R 2
V.
where R1 =
d( P 1 P )
a nd R
dF 1
V.
d( P P 2 )
dF 2
1
dp
1 P1
P
+P
+
+ 2
=
dt
R 1 R 2 R 1 R 2
V.
R + R 2 P1
dp
P
+P 1
+ 2
=
dt
R 1R 2 R 1 R 2
R R
dp
R R
V . 1 2
+P = 1 2
R
R
dt
1+ 2
R 1 +R 2
P
where
(1.40)
K1 =
P1 R 1 R 2 P 2
+
R 1 R 1 +R 2 R 2
dP
+ P = K 1 P1 + K 2P 2
dt
R 2
R 1 +R
K2 =
R1
R 1 +R
(1.41)
V R 1R 2
R 1 +R 2
P =
,
2
P s P (S ) + P ( S ) = K 1 P 1 ( S ) + K 2 P 2 ( S
P ( S ) (1 + P s ) = K 1 P 1 ( S ) + K 2 P 2 ( S
P (S ) =
K1
K2
P 1(S ) +
P 2(S
1 + P s
1 + P s
(1.42)
P2
K2
p S + 1
P
+
P1
K1
p S + 1
23
The output pressure P (Tank pressure) depends on both P1 and P2. Either of them could
be the controlled variable or the load variable or both could be load variables if the controller
acts to change R1 or R2.
Note: If there are several inlets and outlets the system is still first order one. A first order system
with multiple resistances (Refer Fig. 1.16) will have the following binding equation.
P1
R1
R3
P3
V, P
P2
P4
R2
R4
dP
+ P = K 1 P1 + K 2P 2 + K 3 P 3 + K 4 P 4
dt
V
1
R
1
=
,
1
R 1
R
(1.43)
P =
where
K1
K2 =
1
1
R 2
R
etc.
h
Fo
R
Fig. 1.17 Systems with capacity for mass storage pure capacitive
dh
=FiF
dt
(1.44)
24
PROCESS CONTROL
At steady state
O = Fis Fo
(1.45)
Subtracting equation (1.45) from (1.44) and taking the equation in terms of deviation
variables we get,
dh
= F i
dt
h ( s )
1
=
F i ( s ) A S
G(s) =
(1.46)
y( s )
G(s) =
f (s )
K p
s
(1.18)
When f(t) undergoes a unit step change, y(t) changes with time as below :
f(t) = 1 for t > 0
1
s
f (s ) =
Therefore the equation (1.18) yields
K p
s 2
y( s ) =
and after inversion we get,
y(t) = Kpt
The output grows linearly with time in an unbounded fashion as in Fig. 1.18. Thus
y( t) as
y( t )
K 'p
t
25
Such response, characteristic of a pure capacitive process, lends the name 'pure integrator'
because it behaves as if there were an integrator between its input and output. A pure
capacitive process will cause serious control problems, because it cannot balance itself. In the
tank discussed under section 1.7.7, we can adjust manually the speed of the constant
displacement pump, so as to balance the flow coming in and thus keep the level constant. But
any small change in the flow rate of the inlet steam will make the tank flood or run dry. This
attribute is known as non-self-regulation.
Processes with integrating action mostly commonly encountered in a chemical process
are tanks with liquids, vessels with gases, inventory systems for raw materials or products,
and so on.
i
Ei
Eo
C
Fig 1.19
or
dE 0
RC
dt
Taking Laplace transform,
+ E
=E
E O (S )
1
1
=
=
E i( S ) R C S + 1 P s + 1
Where P = R C
1.7.10 First Order Systems with Variable Time Constant and Variable Gain
So far in our discussions we assumed that the coefficients of the first order differential
equation [Equation 1.15 ] were constant. This led to the conclusion that the time constant
P and steady state gain Kp of the process were constant. But this is not true for a large
number of components in a chemical process. As a matter of fact, in a chemical plant, we will
more often encounter processes with variable time constants and gains than not.
26
PROCESS CONTROL
1.7.10.1 Tank Level Control System with Variable Time Constant and Gain
For the tank system discussed in section 1.7.2, assume that the effluent flow rate, F0,
is not a linear function of the liquid level, but is given by the following relationship which
holds for turbulent flow:
where = constant
Fo = h
dh
+ h
dt
= Fi
Linearise this equation around a steady state and put it in terms of deviation variables :
dh
+
h = F i
dt 2 h s
P
or
Where P = 2 A
hs
a nd K
(1.47)
dh
+ h = K P F i
dt
=2
hs
. We notice that both the time constant P and the
steady-state gain KP depend upon steady state value of the liquid level, hs. Since we can vary
the value of h, by varying the steady-state value of the inlet flow rate Fis, we conclude that
the system has variable time constant and static gain.
V C
U A
a nd K
=1
The overall heat transfer coefficient, U, does not remain the same for a long period of
operation. Corrosion, dirt, or various other solids deposited on the internal or external
surfaces of the heating coil result in a gradual decrease of the heat transfer coefficient. This,
in turn, will cause the time constant of the system to vary. This example is characteristic of
what can happen to even simple first-order systems.
1.7.10.3 Handling of First-order systems with variable time constant and static gains
We can assume that such systems possess constant time constants and static gains for
a certain limited period of time only. At the end of such a period we will change the values
of p and Kp and consider that we have a new first order system with new but constant p
and Kp, which will be changed again at the end of the next period. Such an 'adaptive
procedure' can be used successfully if the time constant and the static gain of a process
change slowly, in which case the time period of relatively constant values is rather long.
27
KP
is considered for the purpose.
P s + 1
The dynamic response of the system for a unit step change is already discussed in the
section 1.7.3. Hence the response for the remaining four forcing functions will be discussed
here.
x ( t ),
y ( t)
f( t)
ti
t=0
tf
t
(a )
(b )
In a storage tank, if the inlet flow rate is gradually increasing, then it is called a ramp
change. If the rate of change is constant it is called linear ramp. We will discuss here the
response of a first order system with a linear ramp forcing function in the input.
(Refer Fig. 1.20)
The function,
f(t) = 0 when t < 0
= M t when t 0
Slope,
A
t
M =
A
Laplace transform of f(t) =
= X (s )
Y (s )
1
=
X (s ) P s + 1
28
PROCESS CONTROL
A
P = C 1 + C 2 + C 3
Y(s) =
1
1
s
s 2
s 2 (s + ) s +
P
P
A
1
1
= C 1 s 2 + C 2 s ( s + ) + C 3 (s + )
P
P
P
Putting s = 0, we get
Putting s =
1
, we get
P
C
A
= 3
P P
or C
C
A
= 12
P P
or C
(1.48)
=A
= A P
1
s (1) + s + (1) + C
P
0 = 2 C 1 s + 2C 2 s +
C 2
+C
P
Putting s = 0, we get
C 2
+C
P
=0 a nd
Y(s) =
C 2
= C
P
or C
= A P
A P
A P
A
+ 2
1
s
s
s +
P
(1.49)
t
P
A P + A t
y(t) = A ( t P ) + A P e
t
P
(1.50)
At steady state, t
y(t) = A ( t P ) or
y( t)
= (t P )
A
(1.51)
x ( t)
=t
(1.52)
A
Dynamic Error : It is defined as the difference between input variable x(t) and the
response y(t) at steady state.
x(t) = At
or
29
x ( t)
y( t)
=
A
A
At this condition,
x ( t)
y( t)
= tf P
= ti a n d
A
A
t i = tf P
Time lag = tf ti = P
(1.53)
Therefore the time lag is only the time constant for ramp or linear forcing function for
the first order control system.
x
y
x3
y3
t
(a )
(b )
For an impulse,
x(s) = A
Y (s )
1
G(s) = X ( s ) = s + 1
P
Y(s) =
Then
y(t) =
A
P +1
t
A P
e
P
(1.54)
30
PROCESS CONTROL
A
P
At t = 0,
y(t) =
And at t =
y(t) = 0
t
dy
A
= 2 e P
dt
P
A
att =t =0
2
= 0 at
ym a x
A
y
ys
xs
t
(a )
(b )
For a pulse,
and hence
A
X(s) = (1 e s
s
A
Y(s) =
s
(1 e )
s
P s +1
A
A e-s
Y(s) =
s ( P s + 1) s ( P s + 1 )
(1.55)
A
The first part s ( s + 1) is for a step increase of A from t = 0 to t = and the second
P
A e-s
part
is decrease of A at t .
s ( P s + 1)
31
P
y(t) = A 1 e
for 0 t <
( t )
t
P
P
y(t) = A 1 e A 1 e
(1.56)
for t
(1.57)
Hence in the response curve, Ymax occurs at t = and from equations (1.56) and (1.57),
we get
Ymax = A 1 e P
(1.58)
Fig. 1.23 shows the sinusoidal disturbance and the response of the first order system to
such a disturbance.
Tra nsie nt d ies
Y
x
xs
ys
(a )
(b)
X (s ) =
G(s) =
Y(s) =
when t > 0
A
s + 2
2
A
+ 2
Y (s )
1
=
X (s ) P s + 1
(s
A /P
1
+ 2 ) s +
P
32
PROCESS CONTROL
(s
C1
C s
C
A /P
+ 2 2 2 + 2 3 2
=
1
s +
s +
1
s +
+ 2 ) s +
P
P
(1.59)
1
Cross multiplying the above equation by s + s
Putting s =
1
,
P
A
P
= C 1 (s
A
P
1
= C 1 2 + 2
P
C1 =
Putting s = 0,
1
1
+2 ) + C 2s s + + C 3 s +
P
P
(1.60)
A P
1 + 2 P
A
P
C 3
2
= C 1 +
P
A
P
A P
=
2
2
1 + P
C3 =
+ 2 )
2 C 3
+
P
A
2
1 + 2 P
Putting s = 0,
+ 2s C
= C 3 P =
C2
+C
P
A P
1 + 2 P
A P
Y(s) =
2
2
1 + P
1 A P
1 + 2 P 2
s +
s
A
+
2
+ 1 + 2 P 2
2
+
(1.61)
33
A P
1 + 2 P
t
P
A P
1 + 2 P
cos t +
A
1 + 2 P
s in t
(1.62)
p cos + q s in = r s in ( + )
where
p2 + q
r =
(1.63)
and
p
= ta n 1
q
p =
A P
A
and = t
2 , q =
2
2
1 + P
1 + 2 P
r =
A P
2
2
1 + P
A
+
2
2
1 + P
2
A P / 1 + 2 P 2
= ta n 1
2
2
A /(1 + P )
A
1 + 2 P
= ta n 1 ( P )
A P
A
e P +
s in ( t + )
2
2
2
1 + P
1 + 2 P
y(t) =
(1.64)
At steady state, t , the first term in the equation (1.64) becomes zero and hence,
A
y(t) =
1 + 2 P
s in ( t + )
(1.65)
where = tan1 ( P ) and is called Phase angle. In Fig 1.23 (b) the transient dies after
about 5 P and we have a steady sine wave of radian frequency .
Amplitude Ratio
The ratio of the output or response amplitude of variation to the input amplitude of
variation is called as Amplitude Ratio.
x(t) = A sin t
A
y(t) =
1 + 2 P
s in ( t + )
34
PROCESS CONTROL
Amplitude Ratio =
A
1 + 2 P
1
1 + 2 P
(1.66)
2
Phase Angle () = ta n 1 ( P )
(1.67)
a
If a
d2 y
+a
dt
dy
+ a 0 y = b f (t)
dt
(1.68)
Where
2 =
a
a
2
0
d2 y
dy
+ 2
+ y = K P f ( t)
dt
dt
, 2 =
a
a
a nd K
(1.69)
b
a
= damping factor
KP = Steady state, or static, or simply gain of the system.
If equation (1.69) is interms of deviation variables, the initial conditions are zero and its
Laplace transform yields the following standard transfer function for a second-order system :
G(s) =
Y ( s ) y( s )
=
=
X (s ) f (s ) 2 s
KP
+ 2 s + 1
(1.70)
35
KP
(1.71)
s ( s + 2 s + 1)
The two poles of the second-order transfer function are given by the roots of the
characteristic polynomial,
Y(s) =
2s
+ s
= 0
p1 =
2 1
and
p2 =
2 1
K P / 2
(1.72)
s ( s p1 )( s p 2 )
and the form of the response y(t) will depend on the location of the two poles, p1 and p2, in
the complex plane. Thus we can distinguish three cases.
Y(s) =
36
PROCESS CONTROL
t
t
t
2
2
(1.73)
1
cos
h
1
s
in
h
1
e
P
2
Where cosh(.) and sinh(.) are the hyperbolic trigonometric functions defined by
y(t) = K
e e
e + e
and cosh =
2
2
The response has been plotted in fig 1.24 (a) for various values of , >1. It is known
as overdamped response and resembles a little the response of a first order system to a unit
step input. But when compared to a first-order response we notice that the system initially
delays to respond and then its response is rather sluggish. It becomes more sluggish as
increases (i.e., as the system becomes more heavily overdamped.) Finally, we notice that as
time goes on, the response approaches its ultimate value asymptotically. As it was the case
with first-order systems, the gain is given by,
sinh =
KP =
Overdamped are the responses of multicapacity processes, which result from the
combination of first-order systems in series as we will see in section (1.8.2).
y(l)
Kp
1 .0
C ritically d am p ed
re sp on se ( = 1)
1
O verd am p ed
re sp on se
(2 > 4 > 1)
2
0
(a )
2 .0
D a m p in g facto r
= 0 .1
U n de rda m pe d
re sp on se ( < 1)
0 .2
1 .5
0 .4
0 .7
y(t)
K p 1 .0
1
1 .5
3
5
10
0 .5
Fig. 1.24
6
t
(b )
10
12
37
t t
+
1
1
e
(1.74)
The response is also shown in Fig 1.24(a). We notice that a second-order system with
critical damping approaches its ultimate value faster than does an over damped system.
where
1
1
e S in ( t + )
1 2
1 2
1
and = ta n
1 2
(1.75)
The response has been plotted in Fig. 1.24(b) for various values of damping factor, .
From the plots we can observe the following :
1. The underdamped response is initially faster than the criticalled damped or over
damped responses, which are characterized as sluggish.
2. Although the under damped response is initially faster and reaches its ultimate
value quickly, it does not stay there, but it starts oscillating with progressively
decreasing amplitude. This oscillatory behaviour makes an underdamped response
quite distinct from all previous ones.
3. The oscillatory behaviour becomes more pronounced with smaller values of the
damping factor, .
It must be emphasized that almost all the underdamped responses in a chemical plant
are caused by the interaction of the controllers with the process units they control. Therefore,
it is a type of response that we will encounter very often, and it is wise to become well
acquainted with its characteristics.
-
A
= ex p
1-2
B
(1.76)
38
PROCESS CONTROL
y(t)
Kp
A
C
5 %
tim e
0
t(rise tim e)
Fig. 1.25
Fig. 1.26 shows the plot of overshoot versus given by equation (1.76). We notice that
the overshoot increases with decreasing , while as approaches 1 the overshoot approaches
zero (critically damped response).
1 .0
0 .8
0 .6
0 .4
O versho o t
0 .2
D e ca y
ra tio
0
0 .2
0 .4
0 .6
0 .8
1 .0
2. Decay Ratio : The decay ratio is the ratio of the amounts above the ultimate value
of two successive peaks. The decay ratio can be shown to be related to the damping factor
through the equation.
Decay Ratio =
2
C
= ex p
1 2
A
= (O vers h oot) 2
(1.77)
= ra dia n f req u en cy =
1 2
(1.78)
39
= 2 f = 2
1 2
1
=
T
T =
(1.79)
1 2
K
s
2 2
+1
K P / 2
1
1
s j s + j
(1.80)
It has two purely imaginary poles (on the imaginary axis) and it will oscillate continuously
with a constant amplitude and a natural frequency.
n =
(1.81)
It is the property of the parameter that gave its name, the natural period of oscillation.
5. Response Time : The response of an underdamped system will reach its ultimate
value in an oscillatory manner as t . For practical purposes, it has been agreed to
consider that the response reached its final value when it came within + 5% of its final value
and stayed there. The time needed for the response to reach this situation is known as the
response time (Refer Fig. 1.25).
6. Rise Time : This term is used to characterize the speed with which an underdamped
system responds. It is defined as the time required for the response to reach its final value
for the first time (Refer Fig. 1.25). From Fig. 1.24(b) we notice that the smaller the value of
, the shorter the rise time (i.e., The faster the response of the system), but at the same time
the larger the value of the overshoot.
Note : Good understanding of the underdamped behaviour of a second-order system will help
tremendously in the design of efficient controllers. The values of and are to be selected while
designing a controller in such a way that the overshoot is small, the rise time short, the decay ratio
small, and the response time short. It may not be possible to achieve all these objectives for the same
values of and , but an acceptable compromise is always possible.
1.8.3 Second Order Systems : Two First Order System in series : Non-Interacting
When material or energy flows through a single capacity, we get a first-order system.
If on the other hand, mass or energy flows through a series of two capacities, the behaviour
of the system is described by second-order dynamics. In Fig. 1.27 tank-1 feeds tank-2 and thus
40
PROCESS CONTROL
it affects its dynamic behaviour, whereas the opposite is not true. Such a system is characteristic
of a large class of non interacting capacities or non interacting first order systems in series.
Fi
h1
R1
Tan k 1
F1
h2
R2
F2
Tan k 2
Multicapacity processes do not have to involve more than one physical processing unit.
It is quite possible that all capacities are associated with the same processing unit. For
example, the distillation column is a multicapacity process. There is a series of liquid flow
elements which are non-interacting.
When a system is composed of two non interacting capacities, it is described by a set
of two differential equations of the general form :
P 1
dy1
+ y1 = K
dt
P1 1
P 2
dy2
+ y2 = K
dt
P 2 1
f 1 (s)
G 1 (s)
f ( t)
f irs t ca p a city
(1.82)
f ( t)
s econ d ca pa city
(1.83)
y 1 (s)
G 2 (s)
y 2 (s)
(a )
f 1 (s)
G 1 (s)
y 1 (s)
G 2 (s)
y 2 (s)
y N 1 (s)
y N (s)
G N (s)
(b )
Fig. 1.28
In other words, the first system affects the second by its output, but it is not affected
by the second system [Fig. 1.28(a) ] . Equation (1.82) can be solved first and then we can solve
equation (1.83). This sequential solution is characteristic of non interacting capacities in
series. The corresponding transfer functions are
1
(s ) =
Y 1 (s )
K P1
=
F 1 (s ) P 1 s + 1
a nd
(s)=
Y 2 (s )
KP2
=
Y 1 (s ) P 2 s + 1
The overall transfer function between the external input f1(t) and y2(t) is
0
(s ) =
Y 2 (s ) Y 1 (s ) Y 2 (s )
,
=
=
F 1 ( s ) F 1 ( s ) Y 1 (s )
(s)
( s)
41
(s ) =
(s ) =
P1
P 1s +1
( ) 2 s
P 2
(1.84)
P 2s +1
KP
+ 2 s + 1
2 = P 1 + P 2
Where (| ) 2 = P 1 P 2 ,
(1.85)
K P = K
P1
.K
P 2
Equation (1.85) very clearly indicates that the overall response of the system is second
order. From equation (1.84) we also notice that the two poles of the overall transfer function
are real and distinct :
p1 =
1
,
P 1
p2 =
1
P 2
If the time constant P 1 a n d P 2 are equal, we have two equal poles. Therefore, noninteracting systems always result in an overdamped and critically damped second order
system and never in an underdamped system.
For the case of N noninteracting systems [Fig 1.28(b)] it is easy to show that the overall
transfer function is given by
0
(s ) =
(s)
( s ).............
( s) =
K P 1 K P 2 ...........................K P N
( P 1 s + 1 )( P 2 s + 1 ).....................( P N s + 1)
(1.86)
System in Fig. 1.27 is a system with two noninteracting tanks in series. The transfer
functions for the two tanks are :
1
(s ) =
K P1
P 1 s + 1
a nd
(s) =
K P2
P 2 s + 1
P 1 = A 1 R
a n d P 2 = A 2 R
h 1
,K
R1
P 1
= R 1 ,K
P 2
= R 2,
(s ) =
( s ).
( s) =
H 2 (s )
K P2
=
F i ( s ) ( P 1 s + 1 )( P 2 s + 1 )
P P 2s
R 2
+ ( P 1 + P 2 ) s + 1
(1.87)
1.8.4 Second Order Systems : Two First Order Systems in Series Interacting
In contrast to noninteracting systems, in the system shown in Fig 1.29, tank1 affects
the dynamic behaviour of tank2, and vice versa, because the flow rate F1 depends on the
42
PROCESS CONTROL
difference between liquid levels h1 and h2. This system represents interacting capacities or
interacting first-order systems in series.
Fi
h2
h1
R1
R2
Tan k 1
Tan k 2
F1
F2
The stirred tank heater, a multicapacity process with capacity to store mass and energy,
is another example of such systems. It is easy to show that these two capacities interact when
the inlet flowrate changes. Thus, a change in the inlet flowrate affects the liquid level in the
tank, which inturn affects the temperature of the liquid. Consequently, the temperature
response to an inlet flowrate change exhibits second-order overdamped characteristics. It is
to be noted that the two capacities do not interact when the inlet temperature changes.
Therefore, the temperature response to inlet temperature changes exhibits first-order
characteristics. Also the multiple capacities need not correspond to physically different units,
but could be present within the same processing unit.
Let us analyse the characteristics of an interacting system with two interacting tanks
(Refer Fig. 1.29). The mass balances yield,
dh 1
=FiF1
dt
f or ta n k 1
dh 2
= F1 F2
dt
f or ta n k 2
F1 =
h1 h2
R1
a nd
F2 =
h
R
2
2
A 1R
A 2R
dh 1
+ h 1 h 2 = R 1F i
dt
dh 2
R
R
+ (1 + 2 ) h 2
dt
R1
R
h1 =0
(1.88)
(1.89)
h 1S h
R
1 +
R
2
1
2S
R
R
2
1
2S
= R 1F
h 1S = 0
iS
(1.90)
(1.91)
43
Subtracting (1.90) from (1.88) and (1.91) from (1.89) and introducing the deviation variables,
we get
A 1R
A 2R
dh 1
+ h 1 h 2 = R 1 F i
dt
dh 2
R
R
+ (1 + 2 ) h 2
dt
R1
R
Where h 1 = h 1 h 1 S , h 2 = h 1 h
2S
(1.92)
h 1 = 0
(1.93)
, a n d F i = F i F
iS
(A 1R
R
R
2
1
s + 1 ) h 1 ( S ) h 2 ( S ) = R 1 F i( S
R
h 1 ( S ) + A 2 R 2 s + 1 + 2 h 2 S = 0
R 1
a n d h 2 ( S ) , We get
H 1 ( s ) h 1 ( S )
P 2 R 1 s + (R 1 + R 2 )
=
=
2
F i( s ) F i( S ) P 1 P 2 s + ( P 1 + P 2 + A 1 R 2 ) s + 1
(s ) =
H 2 ( s ) h 2 ( S
=
F i( s ) F |i( S
)
)
P 1 P 2 s
R 2
+ ( P 1 + P 2 + A 1 R 2 ) s + 1
(1.94)
(1.95)
p1 ,2 =
But
( P 1 + P 2 + A 1 R
) ( P 1 + P 2 + A 1 R 2 )
2 P 1 P 2
( P 1 + P 2 + A 1 R 2 )
4 P 1 P 2
(1.96)
4 P 1 P 2 > 0
Therefore, p1 and p2 are distinct and real poles. Consequently, the response of interacting
capacities is always overdamped.
Since the response is overdamped with poles p1 and p2 given by equation (1.96), then
equation (1.96) can be written as follows :
44
PROCESS CONTROL
H 2 (s )
R 2 / P 1 P 2
( ) R /
=
= 1 2 2 P1 P2
F i ( s ) ( s p1 ) ( s p 2 ) (1 s + 1 )( 2 s + 1 )
Where 1 =
(1.97)
1
1
a n d 2 = . Equation (1.97) implies that two interacting capacities can
p1
p2
be viewed as noninteracting capacities but with modified effective time constants. Thus,
whereas initially the two interacting tanks had effective time constants P 1 a n d P 2 , when
they are viewed as noninteracting, they have different time constants 1 a n d 2 .
1.8.5
(1.98)
Since acceleration
a =
d (velocity) dv
=
dt
dt
And velocity
v =
We conclude that
Balance of forces on the system = mass of the system
F = m
d2 x
dt2
(1.99)
p1
p2
L eg 1
L eg 2
h
h
P lan e C
P lan e of
in itia l
re st
(p 1 = p2 )
45
Let us apply Newtons law on the plane C of the manometer. [ Refer Eqn (1.98) ]
{(Force due to pressure p1 on leg1) (force due to pressure p2 on leg2)
(Force due to liquid level difference in the two legs) (Force due to fluid friction)}
= (Mass of liquid in the tube) (Acceleration)
OR
p1 A
where
p2 A
m dv
g
A 2 (2 h ) (f orce du e to f lu id f riction ) =
.
gC
g C dt
(1.100)
dh R 4 p
=
.
dt 8 L
(1.101)
Therefore, applying poiseuilles equation to the flow of liquid in the manometer we get,
Force due to fluid friction =
p R
gC
=A
8 L dh
.
R 2 g C dt
(1.102)
where p = p1 p2 . Recall also that the fluid velocity and acceleration are given by,
v=
dh
a nd
dt
dv d 2 h
=
dt dt2
2 gA
8 L A dh
pA L d 2 h
=
h 2
.
. 2
gC
R g C dt
gC
dt
(1.103)
46
PROCESS CONTROL
2 +
2
2 g dt g R
By defining 2 =
L
4L
, 2 =
a nd K
2g
gR 2
2
dh
g
+h = C
dt
2g
(1.104)
gC
, the equation (1.104) becomes
2g
d2 h
dh
+ 2
+ h = K P .p
dt2
dt
(1.105)
H (s )
h (s )
=
=
p ( s ) p ( s ) 2 s
KP
+ 2 s + 1
Both equations (1.105) and (1.106) indicate the inherent second-order dynamics of the
manometer.
Tan k
D isp la ce r
hm
D isp la ce r
cha m b e r
( s ) h m (s )
=
= 2
H (s )
h (s ) m s
Pm
+ 2 m m s + 1
(1.107)
47
pressure signal is transferred through an isolating diaphragm and fill liquid in a sealed
capillary system with a differential -pressure sensing element (a) attached at the other end
of the capillary (b). Here, the pressure is transmitted through a second isolating diaphragm
and fill liquid (silicone oil), to a sensing diaphragm. A reference pressure will balance the
sensing diaphragm on the other side of this diaphragm. The position of the sensing diaphragm
is detected by capacitor plates on both sides of the diaphragm. A change in pressure p1 of a
processing unit will make the pressure p2 change at the end of the capillary tube.
L ea d
w ires
C a pa cito r
p la tes
S e nsin g
d ia ph rag m
C a pa cito r
p la tes
S e nsin g
d ia ph rag m
P2
P1
R igid
in sulation
L
S ilico n oil
Isolatin g
d ia ph rag m
W elde d
sea ls
= (mass) (acceleration)
OR
p1 A p 2 A =
where
A L d2 x
. 2
gC
dt
(1.108)
(1.109)
48
PROCESS CONTROL
where
Substituting p2A from equation (1.109) in equation (1.108), and rearranging, we get
A L d 2 x C dx
A
2 + . + x = p1
K dt
K
K g C dt
(1.110)
Equation (1.110) clearly indicates that the response of the device (i.e., the diaphragm
displacement, x) follows second-order dynamics to any changes in process pressure p1. If we
2
define =
A L
C
, 2 =
a nd K
K gC
K
A
K
X (s )
x(s )
= 2
G(s) = p ( s ) =
p1 ( s ) s
1
KP
+ 2 s + 1
(1.111)
S ipring
S te m
P lug
pA = Force exerted by the compressed air at the top of the diaphragm; pressure p is the
signal that opens or closes the valve and A is the area of the diaphragm.
Kx = Force exerted by the spring attached to the stem and the diaphragm; K is the
Hookes constant for the spring and x is the displacement; it acts upward.
49
dx
= Frictional force exerted upward and resulting from the close contact of the stem
dt
with valuve packing; C is the friction coefficient between stem and packing.
Applying Newtons law, we get
dx M d 2 x
pA Kx C dt = g dt
C
2
Defining =
We get
OR
M
C
, 2 = , a n d K
K gC
K
2
M d 2 x C dx
A
+x= p
2 +
K
g
dt
K
dt
K
A
,
K
d2 x
dx
+ 2
+x=K P p
2
dt
dt
The last equation indicates that the stem position x follows inherent second-order
dynamics. The transfer function is
A
X (s ) x (s )
K
=
=
G(s) =
P (s ) p(s ) M 2 C
s + s +1
K
K gC
KP
G(s) = 2 2
s + 2 s + 1
(1.112)
Note : Usually, M<<KgC and as a result, the dynamics of a pneumatic value can be approximated
by that of first-order system.
M
where
d2 x
dx
= B
K x + F ( t)
2
dt
dt
M = mass in Kg
B = damping coefficient in N.S/m
K = spring gradient or modulus of the spring in N/m
F = force acting on the mass M in N
x = displacement in m
(1.113)
PROCESS CONTROL
0 .7
O utpu t variab le , c
1 .0
0 .5
50
Tim e , t
c, d isplace m e nt
m , force
P h ysica l d ia g ram
1 /K
T 2 s 2 + 2 Ts + 1
B lock diag ra m
i.e.,
M d 2 x B dx
F
.
+ . +Kx=
K dt K dt
K
Defining 2 =
M
B
, 2 = , a n d K
K
K
2
(1.114)
1
, we get
K
d2 x
dx
+ 2
+ x = K P F ( t)
2
dt
dt
The above equation indicates that the displacement x follows inherent second-order
dynamics. The transfer function is
X (s )
G(s) = F ( s ) = 2 s
KP
+ 2 s + 1
(1.115)
51
The response of an oscillatory system element is shown in Fig. 1.34 for a step change
in input variable. The system is underdamped for < 1, critically damped for = 1 and
overdamped for > 1.
+a
N 1
N 1
+ .................... + a 1 s + a
The overall transfer function for the N capacities which are nonreacting is :
0
(s ) =
( s ).
( s ).........
( s) =
K 1 K 2 ...........................K N
( 1 s + 1 )( 2 s + 1 ).....................( N s + 1 )
(1.116)
52
PROCESS CONTROL
B
A, B
A, B
W a ll
C o ld w ater
(a )
Fig. 1.35
(b )
For the jacketed continuous flow cooler of Fig. 1.35(b), we have more interacting capacities.
1. Total material capacity of the tank
2. Tanks capacity for component A
3. Heat capacity of the tanks content
4. Heat capacity of the tanks wall
5. Heat capacity of the cold water in the jacket.
Here again, all the five capacities are interacting. It is expected that the response of the
coolers to input changes will be overdamped and rather sluggish.
L iqu id stre am
xA = 0
y1
xA
yA
Fg
Fig. 1.36
L iqu id + A
G ascou s strea m
Absorption column
53
Similarly, a step change in the reflux ratio of a distillation column (See Fig. 1.37) will
quickly have an effect on the composition of the overhead product while the composition of
the bottoms stream will respond very sluggishly (delayed and slow)
C o oling w a te r
Fe ed
F f, c f
Fg
f
I
S te a m
B o tto m s pro du ct
F B , xB
Finally, a step change in the steam flow rate of the reboiler will have almost an
immediate effect on the composition of the bottoms stream. On the contrary, the effect on
the composition of the overhead product will be delayed and slow.
L [ y( t) ]
L [ f ( t) ]
KP
y( s ) Y ( s )
=
=
f (s ) F (s ) P s + 1
L [ y( t td ) ]
L [ y( t) ]
= e td s
54
PROCESS CONTROL
f(t)
First-orde r
p rocess
y(t)
D e ad tim e
y(t t d)
(a )
L [f(t)]
Kp
tp s + 1
L [y(t)]
e tus
L [y(t t d )]
(b )
Fig. 1.38
Therefore, the transfer function between the input f(t) and the delayed output y(t td)
is given by : [Refer Fig 1.38(b)]
L [ y( t td )] K P e td s
=
P s + 1
L [f ( t)]
(1.117)
Similarly, the transfer function for a second-order system with delay is given by :
L [ y( t td )}
K e td s
= 2 2 P
s + 2 s + 1
L [f ( t)]
y
(1.118)
Tim e
(a )
Fig. 1.39
(b )
Tim e
Fig. 1.39 shows the response of first-order and second-order systems with deadtime to
a step change in the input. Processes with deadtime are difficult to control because the output
does not contain information about current events.
55
in the water that is occupied by steam bubbles. Thus, as load is increased there are more
steam bubbles, and this causes the water to swell, or rise, rather than fall, because of the
added water usage. Therefore if the drum volume is kept constant, the corresponding mass
of water is minimum at high boiler loads and maximum at low boiler loads. The control of
feed water therefore needs to respond to load changes and to maintain water by constantly
adjusting the mass of water stored in the system.
S tea m
Fa lse w ater le ve l
in d ication
C o ld fe ed w a ter
H ig h stea m in g rate
Fu el
B u rne r
D o w nco m e r
E vap o rating
tu be s
Fig. 1.40 Partial vaporization in the evaporating tubes causes drum level to shrink
when feed water flow increases and when pressure rises. On the other hand, an
increase in the demand for steam causes the level to Swell
K2
S
In pu t
y (s)
K1
S1 3 + 1
O utpu t
y(s)
(a )
y(s) O u tp ut
(2 )
O vera ll re sp on se
t
(1 )
(b )
56
PROCESS CONTROL
1. The cold feedwater causes a temperature drop which decreases the volume of the
entrained steam bubbles. This leads to a decrease of the liquid level of the boiler
water, following first-order behaviour [Curve 1 in Fig. 1.41(b) ]
That is, K 1 /( 1 s + 1)
2. With constant heat supply, the steam production remain constant and consequently
the liquid level of the boiler water will start increasing in an integral form (pure
capacity), leading to a pure capacitive response, K2/s [curve 2 in Fig. 1.41(b)].
3. The result of the two opposing effects is given by [Refer Fig 1.41(a)],
K2
K1
( K K 1 )s + K
= 2 1
s
s ( 1 s + 1)
1 s + 1
(1.119)
and for K 2 1 < K 1 the second term [ K 1 /( 1 s + 1) ] dominates initially and we take the
inverse response. If the condition above is not satisfied, we dont have inverse
response.
When K 2 1 < K 1 , then from equation (1.119) we notice that the transfer function has a
positive zero, at the point s = K 2 /( K 2 1 K 1 ) > 0
( K 2 1 K 1 ) s + K
K2
K1
=
s
s
s ( 1 s + 1)
1
1 +
For
( K 1 2 K 2 1 ) s + ( K 1 K 2 )
K1
K2
=
( 1 s + 1)( 2 s + 1)
1 s + 1 2 s + 1
1 K 1
>
> 1 zero = ( K 1 K 2 ) /( K 1 2 K 2 1 ) > 0
2 K 2
3. Difference between two first-order responses with dead time
For
G(s) =
For K 1 > K
K 1 e t1 s K 2 e t2 s
1 s + 1 2 s + 1
and t1 > t2 0 .
s
2
K1
K2
+ 2 s + 1 2 s + 1
57
K1
1 s
2
+ 2 1 1 s + 1
K
2 s
2
+ 2 2 2 s + 1
K
1
> 1 >1 .
For
2
K2
2
2
and
K 1 e t1 s
1 s
2
+ 2 1 1 s + 1
K 2 e t2 s
2 s
2
+ 2 2 2 s + 1
t1 > t2 0 .
The above drum level control example demonstrates that the inverse response is the
result of two opposing effects. Table 1.1 shows several such opposing effects between first or
second-order systems. In all cases we notice that when the system possesses an inverse
response, its transfer function has a positive zero. In general, the transfer function of a
system with inverse response is given by :
bm s
G(s) =
a ns
m
n
+ b m 1 s m 1 + .................... + b 1 s + b 0
+ a n 1 s n 1 + .................... + a 1 s + a 0
(1.120)
Where one of the roots of the numerator (i.e.,one of the zeros of the transfer function)
has positive real part.
Systems with inverse response are particularly difficult to control and require special
attention.
K1
K2
y( s ) =
f (s )
1 s + 1 2 s + 1
or
( K K 21 ) + ( K 1 K 2 )
y( s ) = 1 2
f (s )
( 1 s + 1)( 2 s + 1)
(1.121)
58
PROCESS CONTROL
Note that when 1/2 > K1/K2 > 1 the process exhibits inverse response, and we find that
the system's transfer function has a positive zero.
Z =
K1 K2
>0
K 1 2 K 21
f (s)
O utpu t
P ro cess 1
K1
r1 5 + 1
+
f (s)
P ro cess 2
O utpu t
f (s)
R e sp on se o f pro ce ss 1
O vera ll re sp on se
K2
r2 5 + 1
t
(a)
R e sp on se o f pro ce ss 2
(b )
1.10
A process in which the materials or work are stationary at one physical location while
being treated is termed a Batch Process. Batch processes are most often of the thermal type
where materials are placed in a vessel or furnace and the system is controlled for a cycle of
temperatures under controlled pressure for a period of time. Batch or Hood annealing of steel
rolled coils, steel melting in bessemer converters, coke making in coke ovens, furnaces in
foundries, batch reactors in chemical plants etc are some of the familiar batch processes.
Idlies making in kitchen is one of the simplest example of batch process.
Batch processes are nearly always defined by temperature, pressure, or associated
conditions such as composition. The degrees of freedom are usually well-defined. The purpose
of such processes is to produce one or more products at (a) a given composition, (b) a
maximum amount, and (c) best economy (employing least materials, energy, and time) . In
short production rate (quantity), quality and economics are all to be taken care of.
The product composition desired is that at the end of the processing period and thus
cannot be measured during the process. Consequently it is necessary to manipulate the
variables of the process in such a manner that the behaviour of the process insures obtaining
the desired composition. Maximum production and best economy result when the variables
of the process are properly manipulated. A process computer may be used to insure a
relationship among variables providing best operation.
59
A process in which the materials or work flows more or less continuously through a
plant apparatus while being manufactured or treated is termed a continuous process. Heating
and rolling of steel ingots or billets, production of sinter, continuous annealing of metal
sheets, production of steam and hence power, continuously stirred tank reactors (CSTR) etc
are some of the familiar continuous processes.
Continuous processes possesses a number of degrees of freedom given by the number
of variables and defining relations for the system. These variables are generally the
temperature, pressure, flow-rate, and composition of each of the entering and leaving materials.
Usually the purpose of the process is to produce one or more product at (a) a given composition,
(b) a given or maximum flow rate, and (c) best economy (employing least materials, energy,
personnel time, and equipment). Product composition is best insured by measuring product
composition and controlling it by manipulating one of the degrees of freedom of the process.
Fixed product flow rate usually requires flow controllers at several points of entering and
leaving materials. Best economy is accomplished by maintaining all process variables in a
predetermined relation such that the highest efficiency, least waste or some other criteria are
satisfied.
60
PROCESS CONTROL
Tim e
(a )
Tim e
(b )
Elimination of overshoot
Overshoot is prevented in one of several ways. First, many electric controllers with
integral response incorporate a rate of approach setter. This device limits the integral action
until the first approach to the set point has been made. Second, a controller which incorporates
a proportional derivative unit followed by a proportional -integral unit also may be adjusted
to prevent overshoot. In the latter case the derivative response provides anticipation by
making the integral controller think that the controlled variable has approached the set point
as illustrated in Fig. 1.43. The sensitivity of the first controller may be adjusted so that with
a given setting of derivative time the overshoot is eliminated.
e
K 1 (1 + T a S )
m1
K 2 (1 + 1 )
Ta S
m2
m1
C o ntrolle d va rab le
m2
Tim e
Time-variable control
In the processing of metals and chemicals it is sometimes necessary to vary the controlled
variable over a definite time schedule. For example, in annealing steel, a schedule may be
61
required such that the furnace temperature is raised at a desired rate to 1200C, held or
soaked for 8 hrs and lowered to 300C in 6 hrs before allowing for natural cooling. This time
schedule must be incorporated into the automatic control system. Time-variable control
operates on the principle that the set point is moved through the desired time schedule. The
control system functions to maintain the controlled variable (Temperature here) as close to
the moving set point as required. Very often it is required to change the controlled variable
at a steady rate in such batch processes involving controlled rates of heating or cooling.
1.10.2
Continuous-Process Control
The problems of continuous -process control are caused by load changes. Flow rate of the
materials is almost always important in continuous processing, particularly where quantitative
reactions are involved as in blending . On the other hand the supply of material is sometimes
not constant and a flow control is necessary as shown in Fig. 1.44. The resulting flow of
materials is nearly constant inspite of large changes of head in the tank. It is necessary to size
the tank only large enough so that the longest charging period will not run the tank over, and
the longest off-time of the inlet will not allow the tank to run dry. In order to keep load changes
at a minimum, a short tank of large cross-section area (large capacitance) should be employed.
In many applications, particularly in continuous processing, the outflow of one unit
becomes the feed to a succeeding unit. In order to obtain stability of operation in the plant,
it is sometimes important that fluctuation of outflow and inflow be reduced to a minimum,
thereby maintaining all feeds relatively constant. The storage capacity of the vessel may be
utilized to proportion out flow against changes of inflow. The vessel thereby serves as a surge
tank for absorbing fluctuations in flow rates. Averaging control gets its name since the
outflow is averaged against level, and the level is controlled between upper and lower limits
rather than at a single point.
c
q
FC
O u tflo w
Head
In flo w
Tim e
For the vessel in Fig 1.45 with control of outflow (outlet valve at a fixed setting),
dc
=u q
(1.122)
dt
Where A = cross-section area of tank. When the vessel is under controlled pressure, as
is generally the case, the outflow is then constant if the pressure differential at the valve is
constant. Obviously if there is no control, the tank would ultimately fill or run dry for
changes in inflow. If control of level is added,
A
q = KC (u c)
(1.123)
62
PROCESS CONTROL
H ea d
Inflo w
LC
O utflo w
Tim e
Q (S
U (S
and
where
C
U
1
S + 1
(1.124)
1
1
.
K C S + 1
(1.125)
(S )
(S )
A
KC
The inflow, head and outflow are also shown in Fig. 1.45. (Dotted curves are without
level control). The time constant may be selected by adjusting the proportional sensitivity
of the controller so as to spread out the inflow change over a period of about four time
constants. In order to absorb changes of inflow the time constant should be made as large
as possible (proportional sensitivity Ke as small as possible) without completely filling or
emptying the tank. Sometimes a proportional-integral controller is used with integral time
set to a large value so that the outflow is further increased and the head in the tank
maintained near the set point.
63
to
Tim e
to
Fig 1.47
Tim e
QA
To
QS
TS
TA
C o ntrol va lve
TL
B
QB
O utpu t
C o ntroller
M ea sure m e n t
S e tp oint
Fig. 1.48
64
PROCESS CONTROL
In this case, the steam flow rate is the Controlling parameter chosen to provide control
over the variable (liquid temperature). If one of the other parameters changes, a change in
temperature results. To bring the temperature back to the set point value, we only change
the steam flow rate, that is, heat input to the process.
The process explained above has self-regulation as per the following argument. Suppose
we fix the steam valve at 50 % opening so that no changes in valve position are possible when
the process is going on. The liquid heats up until the energy carried away by the liquid equals
that energy from steam flow. If the load changes, a new temperature is adopted (because the
system temperature is not controlled). The process is self-regulating, however, because the
temperature will not run away, but stabilises at some value under given conditions.
[An example of a process without self-regulation is tank from which liquid is pumped out
at a fixed rate. Assume that the influx just matches with the outlet rate. Then the liquid in
the tank is fixed at some nominal level. If the influx increases slightly, however, the level
rises until the tank overflows. No self-regulation of the level is provided.]
Fc, Tco
Fc, Tci
C A , T, F
C o olan t
P ro du ct
Assume that we are able to start the reactor at the temperature T2 and the concentration
CA2 that corresponds to this temperature. Consider that the temperature of the feed Ti
increases. This will cause an increase in the temperature of the reacting mixture, say T 2 .
At T 2 the heat released by the reaction ( Q 2 ) is more than the heat removed by the coolant
( Q 2 ), thus leading to higher temperatures in the reactor and consequent to increased rates
of reaction. Increased rates of reaction produce larger amounts of heat released by the
exothermic reaction, which in turn lead to higher temperatures, and so on. Therefore, we see
65
that an increase in Ti takes the reactor temperature away from steady state P2 and that the
temperature will eventually reach the value of the steady state P3. (i.e., T3). [Fig. 1.51(a)].
Similarly if Ti were to decrease, the temperature of the reactor would take off from P2 and
end up at P1 (i.e., T1) [Fig. 1.51(b)]. By contrast, if we were operating at steady state P3 or
P1 and we perturbed the operation of the reactor, it would return naturally back to point P3
or P1 from which it started [Fig 1.51(c) and (d)].
H e at/tim e
P3
A
Q '2
Q '' 2
P2
P1
T1
T 2 T' 2
T3
Tem pe ra ture
T3
T2
T2
T1
T1
0
(a )
Tim e t
T3
T3
T2
T2
T1
T1
0
(c )
(b )
(d )
For want of higher yield and safety reasons, sometimes we would like to operate the
CSTR at the middle unstable steady state (P2). In that case we need a controller that will
ensure the stability of the operation at the middle steady state (P2) in the presence of external
disturbances that tend to take the system away from the desired point.
66
1.12
PROCESS CONTROL
Servomechanisms and Regulators are used to control the process either via automatic
controllers or as a self contained unit. They are physically doing the job of adjusting the
manipulated variable to have the controlled variable at around set point. A controller
automatically adjusts one of the inputs to the process in response to a signal fed back from
the process output.
1.12.1
Servo Operation
If the purpose of the control system is to make the process follow changes in the set
point as closely as possible, such an operation is called servo operation. Changes in load
variables such as uncontrolled flows, temperature and pressure cause large errors than the
set point changes (normally in batch processes). In such cases servo operation is necessary.
Though the set point changes quite slowly and steadily, the errors from load changes may
be as large as the errors caused by the change of set point. In such cases also servo operation
may be considered.
A type of control system in common use, which has a slightly different objective from
process control is called Servomechanism. In this case the objective is to force some parameter
to vary in a specific manner. This may be called a tracking control system or a following
control system. Instead of regulating a variable value to a set point, the servomechanism
forces the controlled variable value to follow variation of the reference value. This kind of
automatic control is characterized mainly by a variable desired value, but a fixed load. Powersteering of automobiles, ship- sheering mechanism, robot arm movements etc are some of the
examples.
1.12.2
Regulator Operation
In many of the process control applications, the purpose of control system is to keep the
output (controlled variable) almost constant in spite of changes in load. Mostly in continuous
processes the set point remains constant for longer time. Such an operation is called Regulator
Operation.
The set point generated and the actual value from sensors are given to a controller. The
controller compares both the signals, generates error signal which is utilized to generate a
final signal as controller output. The controller output is finally utilized to physically change
the values of manipulated variable to achieve stability. The above action is achieved with the
help of final control elements. They are operatable either with electrical, pneumatic or with
hydraulic signals.
The system that serves good for servo operation will generally not be the best for
regulator operation. Large capacity or inertia helps to minimize error here whereas it makes
the system sluggish in case of servo operation. If the setpoint changes quite slowly and
steadily, but the error from the load changes is as large as if caused by sudden change of
setpoint, the responses of both regulator and servo operations may be considered for such
systems.
67
regualtors, Level regulators etc are such self-contained regulator systems. They are low cost
ones and can be mounted directly on the process lines or furnaces. Regulators are mostly self
contained mechanical devices, while controllers require an external energy (Pneumatic,
Hydraulic or Electric). They are called regulators and not controllers because they are
mechanical (mostly) and self-contained, requiring no external energy source.
1.13
Problem 1.1
L
T
S
1 20 0C
P
Variab le
V
E
Solution :
(i) Setpoint variable is S and its value = 1200C [Remains constant through out the
cycle].
(ii) Controlled variable is T [started raising from ambient temperature and reached the
set point and stabilizes afterwards]
(iii) Manipulated variable is E [E is energy input to raise the temperature. Remains at
maximum till controlled variable reaches setpoint and then decreases to the minimum
and stays there to maintain the temperature].
(iv) Load variables are V, P and L.
Problem 1.2
Fig. 1.53 shows a steam heater where the process fluid is heated with the help of steam.
Find out the number of degrees of freedom of this heating system.
68
PROCESS CONTROL
In
S tea m
P ro cess flu id
O ut
In
O ut
C o nd en sa te
Solution :
The number of system variables involved :
1. Inlet process fluid temperature Ti
2. Process fluid flowrate Fi
3. Outlet process fluid temperature TO
4. Steam flow rate FS.
The system-defining equation according to the first law of thermodynamics (law of
conservation of energy) is given by :
HSFS = CP Fi (TO Ti)
where
n = 3
Problem 1.3
A binary mixture (benzene and toluene) is to be distilled at atmospheric pressure as
shown in Fig. 1.54. The variables are :
1. FOOverhead flow
2. TOOverhead temperature
3. EiHeat input rate.
Calculate the degrees of freedom. Also state how many number of automatic controllers
may be used.
69
To co nd en se r
H e at-inp ut
Fig. 1.54
Binary mixture
Solution :
For the distillation at constant pressure, the number of degrees of freedom
n = nC nP + 1
The number of components
nC = 2
nP = 2
Therefore
n = 2 2 + 1 =1 (Temperature)
OR
n = nV ne = 3 2 = 1.
Problem 1.4
The flow rate through an exit pipe FO in m3 / sec is given by relation FO = 0 .6 h where
h is the tank level in meter (Refer Fig. 1.8) . Find time constant P for the steady state levels
of 2 m and 5 m. Cross sectional area of the tank A is 2 m2.
Solution :
Refer section 1.7.10.1
P =
2A
hs
f or th e rela tion F O = h
For hs = 2 m
P =
2 2 2
= 9.43 s ec
0.6
For hs = 5 m
P =
22 5
= 14.9 s ec
0.6
Problem 1.5
Derive the transfer function H(s)/Q(s) for the liquid level system shown in Fig. 1.55.
[H and Q are the deviation variables in h and q respectively.]
70
PROCESS CONTROL
a = 0.7 5 m 2
n
R1 = 1
R2 = 2
Fig. 1.55
Solution :
The material balance equation can be written as :
h
h
dh
=a
R1 R 2
dt
at steady state :
(q q
Substracting
hS
h
R1 R
=0
S
2
(h h S ) (h h
R 1
R 2
S )
=a
d (h h S )
dt
H
H
dH
=a
R1 R 2
dt
1
1
dH
Q H +
=a
R
R
dt
1
2
Q
H
R
=a
eq
dH
dt
where
eq
R 1R 2
2
=
R 1 +R 2 3
Q (s )
H (s )
= a s H (s )
R eq
2
R eq
H (s )
3
=
=
Q ( s ) a R eq s + 1 0.5 s + 1
H (s )
0.67
=
Q ( s ) 0.5 s + 1
71
Problem 1.6
A Tank system having a time constant of 0.5 min and a resistance of 0.25 min /m2 is
operating at steady state with an inlet flow of 2m3/min. The flow is suddenly increased to
3m3/min. Plot the response of the tank level (Assume area of cross section A = 2 m2)
Solution :
From equation (1.23)
h |(s )
G(s) =
|
i
F (s )
KP
P s + 1
Where
KP = R = 0.25 min/m2
a = Cross sectional area of the tank = 2 m2.
A = Change in inlet flow Fi from 2 m3/min to 3 m3/m (i.e., unit step)
P = 0.5 min
Fi(s) = 1/s
H (s )
0.2 5
=
F i ( s ) 0.5 s + 1
From equation 1.27, we get the response as
( t)
= A .K P (1 e t/ p )
( t)
= 1 0 .2 5 (1 e
t
0 .5
From the above equation the response of the tank level for the sudden increase of
flowrate from 2 to 3 m3/min can be tabulated and plotted as below : (Refer Table 1.2 and Fig
1.56).
Table 1.2 Response to step change
Time, min
H(t)
0.5
0.158
1.0
0.216
1.5
0.2376
2.0
0.245
2.5
0.2483
0.2493
0.25
72
PROCESS CONTROL
0 .25
0 .20
H (t)
0 .15
0 .10
0 .05
0 .00
4 .00
Fig. 1.56
8 .00
1 2.0 0
Problem 1.7 :
Derive the transfer function H(s)/Q(s) for the liquid level system shown in Fig. 1.57.
When
(a) The tank operates about the steady state value of hS =0.3 m
(b) The tank operates about the steady state value of hS =1 m
The pump removes water at a constant rate of 0.3 m3/min, and is independent of head.
The cross sectional area of the tank is 0.1 m2 and the resistance R is 11 m2/min.
q .m 3 /m in.
a .m 2
R
x
h ,m
0 .6 m
0 .3 m 3 /m in.
Fig. 1.57
Solution :
(a) The tank operates about the steady state value of 0.3 m. At this height the only
outlet from the tank is through the pump.
Hence the mass balance equation can be written as
q 0 .3 = a
dh
dt
At steady state
q
substracting
0.3 = 0
(q q
d(h h S )
dt
dH
Q =a
dt
)=a
73
Q ( S ) = a .s H
(S )
H (s )
1
1
=
=
Q ( s ) a .s
0 .1 s
(b) The tank operates at a steady state value of hS = 1 m. At this height the flow is
through both the resistance and the pump.
The mass balance equation gives,
dh
h 0.6
q 0.3
=a
dt
R
h
0 .3
0 .6
R
=0
Substracting
(q q
(h h S )
d (h h S )
=a
R
dt
( t)
=a
dH
dt
Q (s )
H (s )
= a .s H (s )
R
R Q ( s ) H ( s ) = R .a .s ( H ( s ))
H (s )
Q (s )
(s ) =
R
R
11
=
=
a .R .s + 1 P s + 1 11 0.1 s + 1
11
1 .1 s + 1
Problem 1.8
A Thermometer having a time constant of 0.5 min is placed in a temperature bath and
after thermometer comes to equilibrium with the bath, the temperature of the bath Ti is
increased linearly at the rate of 1C /min. What is the difference between the indicated and
bath temperatures.
(a) 0.25 min after the change in temperature begins.
(b) 3 min after the change in temperature begins.
74
PROCESS CONTROL
(c) What is the maximum deviation between the indicated and bath temperature and
when does it occur.
(d) How many minutes does the response lag after long enough time is elapsed?
Solution :
Time constant, P = 0.5 m in . Here A = 1
From equation (1.50)
y( t) = A ( t P ) + A P e1 / P
T = 1 ( t 0 .5 ) + 1 0 .5 e t / 0 .5 = ( t 0 .5 + 0 .5 + 0 .5 e t / 0 .5 )
Difference between indicated temperature, T, and bath temperature, Ti, is
t / 0 .5
)t
= T T i = ( t 0 .5 + 0 .5 e
t / 0 .5
)
= 0.5(1 0.5 e
0 .2 / 0 .5
) = 0.1967
(a) at t = 0.25 min, = 0.5(1 0.5 e
Problem 1.9
Determine the transfer function H(s)/Q i(s) for the liquid level system shown in Fig. 1.58.
[Resistances R1, R2 and R3 are linear. The flowrate from tank-4 is maintained constant at a
by means of a pump.]
q0
h1
Tan k 1
R1
q1
h2
R2
q2
Tan k 2
h3
Tan k 3
R3
q3
h4
q4 = a
Tan k 4
Fig 1.58
Solution :
Defining Qi = qi qs, Q1 = q1 q1s, Q2 = q2 q2s, Q3 = q3 q3s and H = h hs
75
dq 1
dt
Qi(s) Q1(s) = a1R1Q1(s)
qi q1 = a1R1
Or
Q1 (s )
Q i (s )
1
a 1 R 1 s +1
Q 2 (s )
1
=
Q1 (s )
a 2 R 2s +1
1
Q 3 (s )
=
a
R
Q 2 (s )
3 3s +1
For tank-4, material balance gives,
q3 a = a4
At steady state
dh
dt
q3s a = 0
(q3 q3S) = a4
dH
dt
H (s )
1
=
Q 3 (s )
a 4s
Q 1 (s ) Q 2 (s ) Q 3 (s ) H (s )
H (s )
= Q (s ) Q ( s ) Q (s ) Q (s )
i
i
2
3
Q i(s )
=
1
1
1
1
a 1 R 1s +1 a 2R 2s +1 a 3 R 3s +1 a 4s
1
H (s )
=
a
R
s
a
R
s
(
1)(
+
Q i(s )
1 1
2 2 + 1)( a 3 R 3 s + 1) a 4 s
Problem 1.10
There are N storage tanks of volume V arranged so that when water is fed into first tank,
equal volume of liquid overflows from the first tank to the second tank and so on. Each tank
initially contains zero concentration of component A and equipped with a perfect stirrer.
At time zero, a stream of concentration Co of component A is fed into first tank at a
volumetric flowrate q. Find the resulting concentration in each tank as a function of time.
[Refer Fig. 1.59]
76
PROCESS CONTROL
q C1
C1
V
C2
V
C3 V
Fig. 1.59
Solution :
For tank-1
C
C
Since
w h ere P = V / q
P s +1
C
C i(s ) =
,C 1 ( t) = C O [1 e t/ p ]
In tank-2
C 2 (s )
1
=
C i (s )
P s + 1
= C
C 3 ( t) = C
C n ( t) = C
2 ( t)
or
C O
s ( P s + 1) 2
C 2 (s ) =
t t/ p
1 1 + e
Similarly,
t
t2
+
1 1 +
P 2 P 2
t/ p
t
t2
t3
tn 1
+
+
+ ...... +
1 1 +
2
3
n 1
P 2! P
3! P
n ! P
t/ p
Problem 1.11
Find the transfer function H2(s)/Q(s) and H3(s)/Q(s) for a three tank system in Fig 1.60.
Where H2, H3 and Q are deviation variables. For a unit step change in Q, determine the initial
and final heights in tank-3.
Solution :
Tanks 1 and 2 are interacting
P 1 = a 1 R
= 2, P 2 = a 2 R
= 2, P 3 = a 2 R
= 1.
77
a1 = 1
a2 = 2
q1
h1
h2
R1 = 2
R2 = 1
q2
a 3 = 0 .5
h3
R3 = 2
q3
Fig. 1.60
H 2 (s )
=
Q i (s )
P 1 P 2 s
Q 2 ( s )/Q i ( s ) =
4s
+ ( P 1
R 2
+P 2 + a 1 R 2 )s +1
1
+ 5s +1
Q H 2 (s ) =
Q 2 (s )
R 2
H 3 (s )
K P3
R3
2
=
=
=
Q 2 (s )
P 3s + 1 a 3 R 3s + 1 s + 1
H 3 (s )
H 3 ( s ) Q 2 (s )
2
=
=
Q i(s )
Q 2 (s ) Q i (s ) s + 1 4 s
1
+ 5s +1
2
H 3 (s ) =
s ( s + 1)(4 s
+ 5 s + 1)
L t [H 3 ( t)] = L t [s H
t 0
i.e.,
( s )]
H3(o) = 0
The initial height in tank 3 = 0
L t [H 3 ( t)] = L t [s H 3 ( s )]
S 0
H3( ) = 2
i.e.,
Problem 1.12
A step change of magnitude 5 is introduced into a system having the transfer function
Y (S )
=
X (S ) s
8
.
+ 1.6 s + 4 Determine
78
PROCESS CONTROL
Solution :
Y (s )
=
X (s ) s
Y (s ) =
8
+ 1.6 s + 4
a nd
X (s ) =
5
s
10
s (0.25 s + 0.4 s + 1)
2
and 2 = 0 .2 5, = 0 .5, 2 = 0 .4 , = 0 .4
(a) From equation (1.76)
Overshoot = exp
2
1
Percent overshoot = 100 exp
1 2
= 100 e
(b)
0.4 / 1 - 0.4 2
= 25. 4 %
L t Y ( t) = L t s Y ( s ) = L t
t
Therefore,
S 0
S 0
0 .2 5 s
10
+ 0 .4 s + 1
Yultimate = 10
(c) Overshoot
0.254 =
Y m a x Y ( )
Y ()
Y m a x 10
10
Ymax = 2 .5 4 + 1 0 = 1 2 .5 4
(d) From equation (1.79)
Period of oscillation T =
2
1 2
79
T =
2 0.5
1 0.42
= 3.42
s in ( tr + ) = 0
tr + =
tr =
1 2
ta n 1
=
=
2
1 /
1 2
ta n 1
1 2
1 0 .16
1
ta n
0.4
1 0.16
0.5
= 1.08 min.
80
PROCESS CONTROL
F i,T i
h
F o ,T o
F st
C o nd en sa te
S te a m
Fig 1.61
16. Consider a first order system with P = 0.5 and KP = 1. Initially, the system is at steady state.
Then the input changes linearly with time : m(t) = t.
(a) Develop an expression that shows how the output changes with time in response to the
input above.
(b) What is the minimum and what is the maximum difference between the output y(t) and
input m(t) ? When do these extreme points occur?
(c) Plot the input m(t) and output y(t) in the same graph as functions of time.
17. Consider a second-order system with the following transfer function :
G(s) =
y( s )
=
m (s ) s
1
+ s +1
Introduce a step change of magnitude 10 into the system and find (a) Percent overshoot, (b)
decay ratio, (c) maximum value of y(t), (d) ultimate value of y(t), (e) rise time, and (f) Period
of oscillation.
18. Consider a conical water tank shown below. (Fig. 1.62). Write the dynamic material balance
equation if the flow rate out of tank is a function of the square root of height of the water
in the tank ( q
= h ).
qi
q0
Fig 1.62
19. The two tank liquid system shown in Fig. 1.63 is operating at steady state when a unit step
change is made in the flow rate to tank-1. The transient response is critically dampened and
it takes 1 min. for the change in level of tank 2 to reach 50% of the total change. If the ratio
of the cross-sectional area of the tanks a1/a2 = 2, calculate the ratio R1/R2. Calculate the time
constant of each tank. How long does it take for the change in level of the first tank to reach
90 % of the total change ?
81
qi
a1
h1
R1
q1
a2
h2
R2
q2
Fig 1.63
20. In the liquid level system shown in Fig. 1.64, the deviation in flow rate to the first tank is
an impulse function of magnitude 5. The following data apply :
a1 = 0.3 m2, a2 = a3 = 0.6 m2, R1 = 3.33 m/m3/min
R2 = 5 m/m3/min
q0
a1
h1
Tan k 1
R1
q1
a2
h2
Tan k 2
R2
a3
h3
Tan k 3
Fig 1.64
(a) Determine H1(s), H2(s) and H3(s) where H1, H2 and H3 are the deviations in tank level.
(b) Sketch the response of H1, H2 and H3.
(c) Determine H1 (t = 3.46 min), H2 (3.46) and H3 (3.46)