Process Control-Lecture 18
Process Control-Lecture 18
CE 560 / MT 580
Process control
Lecture 18
Dynamic behaviour of first-order systems
C. Botha (Mr.)
Contacts: Chemical Engineering Department
Email: [email protected]
Alt. Email: [email protected]
May, 2023
First-order systems
dy (t )
a1 a0 y (t ) bf (t )...............................................17.1
dt
o Where 𝑓(𝑡) and 𝑦(𝑡) are the input (forcing function) and output variables of the process.
o If 𝑎0 ≠ 0 then 17.1 can be rearranged as follows:
a1 dy (t ) b
y (t ) f (t )...............................................17.2
a0 dt a0
First-order systems
o Then the following can be defined;
a1 b
p and K ...............................................17.3
a0 a0
o The differential equation (process model) for a first-order system then becomes
dy (t )
p y (t ) K p f (t ).........................................17.4
dt
o Here 𝜏𝑝 is process time constant and 𝐾𝑝 is the steady-state or static gain of the process.
o Equation 17.4 is the standard form of the process model for a first-order system.
o The two parameters will be defined in later slides.
o 𝑦(𝑡) and 𝑓(𝑡) are usually in terms of deviation variables defined around steady state.
o Thus the initial conditions are;
y (0) 0 and f (0) 0........................................17.5
First-order systems
o From equation 17.4, it can be deduced that the transfer function of a first-order system
has a standard form
y( s ) Kp
G ( s) ..............................................17.6
f ( s ) p s 1
o First-order system with above transfer function is sometimes known as first-order lag or
linear lag or exponential transfer lag.
o On the other hand if 𝑎0 = 0, then
dy (t ) b
f (t ) K p f (t )......................................17.7
dt a1
o And this results in a transfer function
y ( s ) K p
G ( s) ................................................17.8
f (s) s
First-order systems
o The process with a transfer function as in eq. 17.8 is known as pure capacitive or pure
integrator.
o First-order systems are characterised by:
1) The capacity to store material (mass), energy or momentum,
2) The resistance associated with the flow of material, energy or momentum.
o Hence, dynamic response of tanks that possess the capacity to store liquids or gases
can be modelled as first-order systems.
o Resistance to flow in this case is associated with valves, pumps and pipes attached to
either the inflow or outflow.
First-order systems
o Also, the temperature response of solid, liquid or gaseous systems which have the
capacity to store thermal energy (possess thermal capacity) can be modelled as first
order. E.g. thermocouple/ thermometer
o For such systems, the resistance is associated with the flow of thermal energy
through the walls, liquids or gases.
o Therefore, any system with capacity to store mass or energy can be modelled as first-
order.
o Such system in most cases act as a buffer between the inlet and outlet streams, e.g.,
surge tanks.
o First-order systems are the most common type of dynamic systems in a process plant.
o Since majority of process equipment are mixing tanks, heating tanks, reaction vessels
etc. with capacity to store both mass and energy.
First-order systems with capacity to store mass: Capacitive
o Two liquid level systems, one with a pump attached to the outlet stream, are considered
here again.
Fi Fi
h h
A A Fo
Tank 1 R Tank 2
Fo
o For tank 1 in Fig. 17.0, the inlet and outlet volumetric flow-rates (volume/time) are 𝐹𝑖 and
𝐹0 respectively.
o In the outlet stream, there is a resistance to flow such as a valve or pipe.
First-order systems with capacity to store mass
o Assuming that the outflow is linearly related to the hydrostatic head ℎ of the liquid
through the resistance 𝑅 then
Driving force for flow h
F0 ....................................17.9
Resistance to flow R
o The tank possesses the capacity to store mass, therefore, the total mass balance yields
dh h
A Fi Fo Fi ........................................17.10
dt R
dh
AR h RFi ................................................17.11
dt
o Where 𝐴 is the cross-sectional area.
o For steady-state operation
hs RFi ,s .....................................................17.12
First-order systems with capacity to store mass
o For such a system, the total mass balance around the tank is:
dh
A Fi Fo ..........................................................17.18
dt
o For steady state operation 0 Fi ,s Fo ..................................................17.19
o In terms of deviation variables,
d h hs
A Fi Fi ,s ...................................................17.20
dt
o And
dh
A Fi.........................................................17.21
dt
o Which yields the following transfer function
H ( s ) 1 A K p
G ( s) .....................................17.22
Fi,s ( s ) s s
First-order systems with capacity to store energy
o In the Figure below, liquid is heated by saturated steam which flows through a coil
immersed in the liquid.
T
Q
Tst
Fig.17.2 Typical first-order system with capacity to store energy
d (T Ts )
V cp UAi (Tst Tst ,s ) (T Ts ) ....................17.25
dt
First-order systems with capacity to store energy
o Or dT
V cp UAi Tst T ..........................................17.26
dt
V c p sT ( s ) UAT
i
( s ) UAT
i st ( s ) or T ( s ) V c p s UAi UAT
i st ( s )...17.27( a )
T ( s ) 1 Kp
G ( s) ................................17.28
Tst ( s ) V c p ps 1
s 1
UAi
o Where
V cp
p time constant of the process and K p steady-state gain 1
UAi
First-order systems with capacity to store energy
o Equation 17.28 demonstrate that the stirred tank heater system has first-order dynamics.
o The system possesses capacity to store thermal energy.
o Resistance to the flow of thermal energy is characterised by 𝑈.
o Capacity to store thermal energy is measured by 𝑉𝜌𝐶𝑃 .
o And resistance to flow of thermal energy from steam to the liquid is measured by 1/𝑈𝐴𝑖.
o Hence, the time constant for this system is given by:
1
p V cp storage capacity resistance to flow
UAi
o The expression for time constant is thus the same as before and is true for a first-order
system.
Dynamic response of a pure capacitive system
o Response of a first-order system to a unit step change in 𝑓′(𝑡) will now be examined.
1
f (t ) 1 for t 0 and f ( s) .....................................17.34
s
o Then,
Kp
y( s ) ......................................................17.35
s ( p s 1)
o Inverting equation 17.35 results in
t p
y(t ) K p (1 e ).................................................17.36
o Increase in liquid level will increase hydrostatic pressure which in turn will increase the
outlet flow-rate.
o Eventually a point will be reached at which outlet flow will exactly be equal to inlet flow.
Dynamic response of a first-order system
o Thus, liquid level will stop increasing i.e., a new equilibrium liquid level is attained.
o The slope of the response at 𝑡 = 0 i.e. initial rate of change of response is equal to 1/𝜏𝑝 .
d y(t ) AK p 1 t p 1
e .........................................17.38
dt p p
t 0
o The smaller the time constant, the faster (steeper) the initial response of the system.
o Therefore, time constant is a measure of how fast a system responds to a change in the input.
o The smaller the time constant the faster the response and vice versa.
o When 𝑡 → ∞, 𝑦′ 𝑡 = 𝐴𝐾𝑝 i.e., the ultimate value of the response is simply 𝐴𝐾𝑝.
o And if 𝑡 = 𝜏𝑝 then the response will have reached 63.2% of its ultimate value since,
Dynamic response of a first-order system
o As y(t ) t p
1 e p 0.632.........................................17.39
AK p
o Consider two tanks with cross-sectional area 𝐴1 and 𝐴2 such that 𝐴1 > 𝐴2 and the same
resistance to flow 𝑅.
o Obviously, 𝜏1 > 𝜏2 i.e. the tank with a larger capacity has a large time constant.
o Suppose that the two tanks are subjected to the same unit step change in the inlet flow.
o Liquid level response in each tank is according to the Fig.17.5.
o In this case, the tank with a smaller cross-
h
sectional area has a faster response and reaches A2 ( 2 )
the ultimate value faster.
A1 ( 1 )
o However, both tanks reaches the same ultimate
A1 A2
value.
1 2 3 4 t
Fig.17.5 effect of time constant
Effect of parameters on response of first-order system
o Suppose now that the tanks have different cross-sectional areas and different resistance such
that A R 1
2
......................................................17.41
A2 R1
o Since 𝐴1 > 𝐴2 the 𝑅2 > 𝑅1 or 𝐾𝑝2 > 𝐾𝑝1 and the response is shown in Fig.17.5.
K p 2 R2
o Since the two tanks have the same time constant the K p1 R1
initial rate of response is the same in both cases. h
Question 12.3
A thermometer has first-order dynamics with a time constant of 1 sec and is placed in a
temperature bath at 120 oF. After the thermometer reaches steady state, it is suddenly placed
in a bath at 140 oF for 0 ≤ 𝑡 ≤ 10 𝑠𝑒𝑐. Then it is returned to the bath at 100 oF.
a) Sketch the variation of measured temperature Tm(t) with time.
b) Calculate Tm(t) at t = 0.5 sec and at t = 15.0 sec.
First-order systems: Ramp response
o For a ramp input 𝑓 𝑡 = 𝑎𝑡 the Laplace transform is 𝐹 𝑠 = 𝑎Τ𝑠 2 and the output is
thus
Y (s) K K a Ka
or Y ( s) .........................(17.43)
F (s) s 1 s 1 s 2
s s 1
2
o Sinusoidal response
o Consider a sinusoidal input 𝑢 𝑡 = 𝐴𝑠𝑖𝑛𝜔𝑡.
First-order systems: Sinusoidal response
KA
o Thus Y ( s) ..............................................................(17.49)
s 1 s
2 2
o Simplifying KA 2 j j
Y ( s) 2 2 ...................................(17.53)
1 s 1 2 s j 2 ( s j )
KA 2 s 1 KA 2 s 1
Y ( s) 2 2
1 s 1 s 2 2 2 2 1 s 1 s 2 2 s 2 2
.................(17.54)
KA e t KA
Y (s) sin t ......................................(17.56)
1
2 2
1
2 2
First-order systems: Sinusoidal response