Professional Documents
Culture Documents
Process Dynamics - Fourth Class (2020-2021)
Process Dynamics - Fourth Class (2020-2021)
Fourth Year
Units 3
Fourth Year - Process Dynamics Theoretical 2 hr/week
Tutorial 1 hr/week
Practical - hr/week
Course Outline
1. Laplace and Laplace Inverse
Quick Review (4 hrs)
2. Linear Open-Loop Systems
Response of First-order Systems, Transfer Function, Transient Response. (4 hrs)
3. Physical Examples of First Order Systems
Dynamic behavior of 1st order system. (6 hrs)
4. Response of First-Order Systems in Series
Non-interacting System, Interacting System. (6 hrs)
5. Linearization of non-linear systems (4 hrs)
6. Higher-Order Systems
2nd order Under-damped System, 2nd order Over-damped System, Transportation Lag. (6 hrs)
Course Description
This course will introduce the concepts of systems modeling, and transient response analysis.
Process dynamics is concerned with the study of steady-state and transient behavior of processes.
At the end of this course, students will be able to:
1. Develop mathematical models of chemical and biological processes by writing unsteady-
state mass and energy balances.
2. Recognize and fit various simple empirical models that are used for designing controllers.
3. Analyze linear dynamical systems using Laplace transforms.
4. Model and simulate the behavior of 1st, 2nd and higher order dynamical systems.
Textbook
1. Donald R. Coughanowr and Steven E. LeBlanc, Process Systems Analysis and Control,
3rd edition, McGraw Hill, 2009.
Reference Books
1. Stephanopoulos G., Chemical Process Control: An Introduction to Theory and
Practice, Prentice -Hall, New Jersey, 1984.
2. Luyben W. L., Process Modeling, Simulation and Control for Chemical Engineers,
McGraw-Hill, New York, 2nd Ed., 1990.
3. Marlin, T., Process Control: Designing Processes and control systems for dynamic
Performance, McGraw Hill, New York, 1995.
Course Instructors
Dr. Zaidoon M. Shakor Dr. Haider Al-Rubaye
80063@uotechnology.edu.iq haa9r6@mst.edu
Laplace Transforms
1.1 Introduction
Laplace transform techniques provide powerful tools in numerous fields of
technology such as Process Dynamics and Control where knowledge of the system
transfer function is essential and where the Laplace transform comes into its own.
Definition
The Laplace transform of an expression f (t ) is denoted by L f (t ) and is defined as
the semi-infinite integral: L f (t ) f (t )e
st
dt .
t 0
The parameter s is assumed to be positive and large enough to ensure that the integral
converge. In more advanced applications s may be complex and in such cases the real
part of s must be positive and large enough to ensure convergence.
In determining the transform of an expression, you will appreciate that the limits of
the integral are substituted for t, so that the result will be an expression in s.
Therefore: L f (t ) f (t )e
st
dt F ( s)
t 0
s
cos at
s a2
2
a
sinh at
s a2
2
s
cosh at
s a2
2
1
e at
sa
L f (t ) Ae
At A A
st
0e st
e st (e sa e s 0 ) (1 e sa )
0 a
s 0 s s
if A=1unit Pulse (Impulse)
This function is represented by δ(t). The unit impulse function is a special case of the
pulse function with zero width (tw →0) and unit pulse area (so a = 1/tw). Taking the
limit and applying L’Hopitals rule:
L (t ) lim
1 1
[1 e st w ] lim [ se st w ] 1
t w 0 t s t w 0 s
w
4. Ramp function
0 t0
f (t ) Slope=A
At t0
f(t)
A
f ( s) 2
s Time
A 1 st
LAt Ate st
At st A At
e e st dt e st e
0
s 0 s s 0 s s 0
A A A
(e 0e 0 ) 2 (e e 0 ) 2
s s s
Ramp function with time delay
0 ta
f (t ) Slope=A
At t a
A f(t)
f ( s ) 2 e as
s
a Time
Solution:
1. At t=0 the function looks like the very basic unit step function. But unit function
knows only about 0 and 1, here we have f(t)=2. That means we have to use 2u(t).
2. Then in time t=2 its value changes from 2 to −1 (i.e. 3 down at t=2) which means
we have to add −3u(t−2).
3. Finally the value at t=3 jumps 1 higher, which brings member u(t−3).
f(t)=2u(t)−3u(t−2)+u(t−3)
So far we collected unit step functions to express function from the graph.
L f (t ) L2u(t) - 3u(t - 2) u(t - 3) L2u(t) - 3Lu(t - 2) + Lu(t - 3) =
2 3 - 2s 1 -3s
- e + e
s s s
Solution:
f (t ) 0u(t 0) 1u(t 1) 2u(t 3) 1u(t 5) 2u(t 6)
1 2 1 2 1
F ( s) e s e 3s e 5 s e 6 s (e s 2e 3s e 5 s 2e 6 s )
s s s s s
Example:
0.5
-.5
Solution:
f (t ) 0.5 1u (t 0.5) 0.5u (t 1.5) 0.5u (t 2) 1u (t 3) 0.5u (t 3.5)
0.5 1 0.5 s 0.5 1.5 s 0.5 2 s 1 3s 0.5 3.5 s
f ( s) e e e e e
s s s s s s
Solution:
f (t ) tU (t ) t (t 1)U (t 1) (t 1)U (t 1) (t 2)U (t 2)
tU (t ) 2(t 1)U (t 1) (t 2)U (t 2)
L f (t ) LtU (t ) 2(t 1)U (t 1) (t 2)U (t 2)
LtU (t ) L2(t 1)U (t 1) L(t 2)U (t 2)
1 2 1
2 2 e s 2 e 2 s
s s s
Example: Determine the Laplace transform of the function
Solution:
Solution:
f (t ) 2tu(t ) 2(t 1)u (t 1) 2(t 4)u (t 4) 2(t 5)u (t 5) 2(t 6)u (t 6)
2 2(t 7)u (t 7) 2(t 8)u (t 8)
2 2 2 2 2 4 2
f ( s ) 2 2 e s 2 e 4 s 2 e 5 s 2 e 6 s 2 e 7 s 2 e 8 s
s s s s s s s
1
0 1 3 4 5
T
Solution:
f (t ) tu(t ) (t 1)u (t 1) 2(t 3)u (t 3) 2(t 4)u (t 4) (t 5)u (t 5)
1 1 2 2 1
f ( s) 2 2 e s 2 e3s 2 e 4 s 2 e5 s
s s s s s
a
sinh at
s2 a2
s
cosh at
s a2
2
Before studying the control system it is necessary to become familior with the
response os some of simple basic systems (i.e study the dynamic behaviour of the
first and second order systems).
( )
( )
( )
This definition is applied to linear systems
[ ( ) ( )] ( ) ( )
( ) ( ) ( )
( )
( )
( )
Any system has a T.F of the form of equation (3) it is called first order system which
is a first order differntial equation (Linear).
Find the T.F. that relates the head to the input flowrate q(t).
We can analyze this system by writing a transient mass balance around the tank:
Mass flow in - mass flow out = rate of accumulation of mass in the tank
dV
q qo (V Ah)
dt
dh
q qo A
dt
h dh
q A ………………(2)
R dt
At staedy state
hs dh
qs A s 0 ………………(3)
R dt
Substracting Eq(3) from Eq. (2)
h hs d (h hs )
( q qs ) A
R dt
let Q q qs , H h hs
R
H ( s) Q( s ) …………………(5)
(s 1)
Comparing the T.F. of the tank with thr T.F. of the thermometer we see that eq. (5)
contain the factor (R) which is relate H(t) to Q(t) at s.s. as s 0 , t
R
For this reason, a factor R in the transfer function is called the steady state gain
s 1
To show that
1
Take Q( s )
s
R 1
Therefore H ( s) .
s 1 s
Final value theorm
R 1 R
lim H (t ) lim sH ( s) lim s . lim R s.s gain
t s 0 s 0 s 1 s s0 s 1
2.2.3.Mixing Tank
Example:
Find the T.F for the system shown in figure F1 F2
Solution:
h dh
F1 F2 A
R dt
hs dh h
F1s F2 s A s qo
R dt
let F1 F1 F1s , F2 F2 F2 s , h h hs
h dh
F1 F2 A
R dt
dh
AR h F1 R F2 R
dt
(s 1)h (s) F1 (s) R F2 (s) R
R R
h ( s) F1 ( s) F2 ( s)
(s 1) (s 1)
R R
When F1 constant F1 ( s ) 0 h ( s) F2 ( s)
(s 1) (s 1)
R R
When F2 constant F2 ( s ) 0 h ( s) F1 ( s)
(s 1) (s 1)
dT
If the process is at steady-state, 0
dt
0 wC (Tis Ts ) Qs Figure: Continuous stirred-tank heater.
Subtract equations
dT d (T Ts )
VC VC wC [(Ti Tis ) (T Ts )] (Q Qs )
dt dt
Define some important new variables(Deviation variables).
T T Ts , Ti Ti Tis , Q Q Qs
By substituting deviation variables for variables.
dT
VC wC (Ti T ) Q
dt
V dT
Ti T Q / wC
w dt
Let k 1 wC , V w
Apply Laplace Transform.
sT ( s ) (Ti ( s ) T ( s )) kQ ( s )
(s 1)T ( s ) Ti ( s ) kQ ( s )
1 k
T (s) Ti ( s) Q ( s)
s 1 s 1
T (s) k
If Ti ( s ) 0 , G1 ( s)
Q ( s) s 1
T (s) 1
If Q ( s ) 0 , G2 ( s)
Ti ( s ) s 1
dC A
V FC Ai FC A VKCA
dt
dC A,ss
at steady state V FC Ai,ss FC A,ss VKC A,ss
dt
by subtracting both equations
d (C A C A,ss )
V F (C Ai C Ai,ss ) F (C A C A,ss ) VK (C A C A,ss )
dt
dC A
V ( F VK )C A FCAi ( F VK )
dt
V dC A F
CA CAi
( F VK ) dt ( F VK )
Let V and K
F
( F VK ) ( F VK )
dC
A C A K CAi
dt
Taking Laplace Transform:
(s 1)C A (s) KCAi (s)
K CAi ( s)
C A ( s)
(s 1)
( ) ( ) ( ) ( )
( ) ( )
1-Step Change
A
X (t ) A X ( s)
s
K A
Y ( s) .
s 1 s
Solving by partial fractions
K A o
. 1
s 1 s s s 1
KA o (s 1) 1s
s 0 o KA
1
s 1 / KA o ( / 1) 1 then 1 KA
KA KA KA KA 1 / KA KA
Y ( s)
s s 1 s s 1 1 / s s 1/
t t
Y (t ) KA KAe KA(1 e )
The above equation is the general form of first order system response to step change.
2-Impulse Input
X (t ) A (t ) x(t)
Y ( s) K
X ( s ) s 1
Area
X ( s) A
K KA KA 1
Y ( s) A ( )
s 1 s 1 s 1/
KA
Y (t ) y (t ) ys e t
A
y (t ) e t ys
3-Pulse Input
H 0tT
X(t )
0 t T
Write the function X(t) in terms of the two unit step function
X (t ) H u(t ) H u(t T )
H H Ts
X ( s) e
s s
K H H Ts
Y ( s) ( e )
s 1 s s
4-Ramp Input
X (t ) At
where A is the slope of the ramp function
Y ( s) K
X ( s ) s 1
A
X ( s)
s2
KA
Y ( s)
KA
s (s 1) s 2 ( s 1 )
2
Solving by partial fractions
o 1 2
Y ( s) 2
s s 1
s
KA 1 1
o ( s ) 1 s ( s ) 2 s 2
s 0 : o KA
1
s1 : o 0 1 0 KA
s 2 : 1 2 0 2 1 KA
Process Dynamics 18 Fourth Class
Dr. Zaidoon M. Shakor Dr. Haider A. Ali
KA KA KA
Y ( s)
s2 s s
1
KA KA KA
Y ( s)
s2 s s
1
t
Y (t ) KAt KA KA e
t
Y (t ) KAt KA (1 e )
5-Sinsoidal input
x( t ) xs A sin wt t 0
x( t ) xs A sin wt
X (t ) x(t ) xs A sin wt
Aw
X( s )
s w2
2
Aw 1 1
Y( s ) 2 Aw[ ]
s w 2 ( s 1 ) ( s 2 w 2 )( s 1 )
This equation can be solved for y(t) by means of a partial fraction expansion as
described in previous lectures.
1 o s 1 2
Y ( s ) Aw[ 2 ] Aw[ ]
( s w 2 )( s 1 ) ( s 2 w 2 ) ( s 1 )
( o s 1 )( s 1 ) 2 ( s 2 w 2 ) 1
o s 2 o s 1s 1 2 s 2 2 w 2 1
Process Dynamics 19 Fourth Class
Dr. Zaidoon M. Shakor Dr. Haider A. Ali
s0 1 2 w 2 1 (4)
s1 o 1 0 o 1 (5)
s2 o 2 0 2 o (6)
By substitution eq.(5) in eq.(6)
2 1 2 (7)
By substitution eq.(7) in eq.(4)
1 1 2 w 2 1
1 2
1 , 2 , 0
1 2 w2 1 2 w2 1 2 w2
1 2
s
Y ( s ) Aw[ 1 2 2
w 1 2 w2 1 2 w2 ]
( s 2 w2 ) ( s 1 )
1 s 1 2
Y ( s ) Aw [ ]
1 2 w2 ( s 2 w2 ) ( s 1 )
Aw s 1 w 2
Y( s ) [ ]
1 2 w 2 ( s 2 w 2 ) ( s 2 w2 ) w ( s 1 )
Aw s 1 w
Y( s ) [ 2 ]
1 w ( s w ) w ( s w ) ( s 1/ )
2 2 2 2 2
Aw 1
Y (t ) [ cos wt sin wt e t ]
1 w
2 2
w
Using the definition
p cos q sin r sin( )
p
r p2 q2 tan
q
p
tan1
q
1
q p
w
tan1 ( w )
1 w2 2
r ( ) 2
1 1
2
2
w w2 w
1
cos wt sin wt r sin( wt )
w
Process Dynamics 20 Fourth Class
Dr. Zaidoon M. Shakor Dr. Haider A. Ali
Aw t 1 w2 2
Y (t ) [e sin( wt )]
1 2 w2 w
Aw t A
Y (t ) e sin( wt )]
1 w
2 2
1 w2 2
where
tan 1 ( w )
As t then e t 0 , the first term on the right side of main equation
vanishes and leaves only the ultimate periodic solution, which is sometimes called the
steady-state solution
A
Y( t ) sin( wt )]
1 w2 2
A X(t) _______T_______
-A
By comparing Eq. for the input forcing Y(t) function with Eq. for the ultimate
periodic response X(t), we see that
1. The output is a sine wave with a frequency w equal to that of the input signal.
1
2. The ratio of output amplitude to input amplitude is 1.
1 w 2 2
3. The output lags behind the input by an angle . It is clear that lag occurs, for the
sign of is always negative.
0 phase lag
0 phase load
Example:
A mercury thermometer having a time constant of 0.1 min is placed in a temperature
bath at 100°F and allowed to come to equilibrium with the bath. At time t= 0, the
temperature of the bath begins to vary sinusoidally about its average temperature of
l00oF with an amplitude of 2°F If the frequency of oscillation is 10/ cycles/min, plot
the ultimate response of the thermometer reading as a function of time. What is the
phase lag?
In terms of the symbols used in this chapter
63.5o
Ultimate response at the above angle
2
Y( t ) sin( 20t 63.5 )]
1 ( 0.1 20 ) 2
2
Y( t ) sin( 20t 63.5 )]
5
Y ( t ) 0.896 sin( 20t 63.5 )] Ultimate response
0.63 A
Y (t ) A(1 e t )
as t Y () A(1 e ) A
as t Y ( ) A(1 e 1 ) A(1 0.3678) 0.63 A
Time constant ( )is the time required for the response to reach 63% of the its utimate
value.
3. Third method
Y ( t ) A( 1 e t ) A
dy A
Ae t ( 1 ) e t
dt Y(t)slope
dy A A
lim e 0
t 0 dt
A t
Slope of the tangent at t=0 is t
A
Therfore
slope
Y ( t ) A( 1 e t )
Y ( t ) A Ae t
Process Dynamics 23 Fourth Class
Dr. Zaidoon M. Shakor Dr. Haider A. Ali
Ae t A Y ( t )
A Y( t )
e t
A
A Y( t )
t ln
A
AY( t )
Let B A
1
ln B t
let y ln B and x t
1
slope
Y(t) A Y( t ) ln B t
B lnB
A slope
1
1
slope
1
slope
The time constant obtained from the graphical construction shown in above Figure is
5 min.
Note that this result agrees with the time constant when 63.2% of the response is
complete, that is
T = 140+0.632*20 = 152.6 ºC
Consequently, the desired process model (Transfer Function) is:
( )
( )
Example: The level in a tank responds as a first order system with changes in the
inlet flow. Given the following level vs. time data that was gathered after the inlet
flow was increased quickly from 1.5 gal/min to 4.8 gal/min, determine the transfer
function that relates the height in the tank to the inlet flow. Be sure to use deviation
variables and include units on the steady state gain and the time constant.
Time Time Time
Level (ft) Level (ft) Level (ft)
(min) (min) (min)
0 4.8 1.2423 8.9354 2.4847 11.4513
0.138 5.3673 1.3804 9.2805 2.6227 11.6612
0.2761 5.9041 1.5184 9.6071 2.7607 11.8599
0.4141 6.412 1.6564 9.9161 ………….. …………..
0.5521 6.8927 1.7945 10.2085 14.3558 15.3261
0.6902 7.3475 1.9325 10.4853 14.4938 15.328
0.8282 7.7779 2.0705 10.7471 14.6319 15.3297
0.9663 8.1852 2.2086 10.9949 14.7699 15.3313
1.1043 8.5706 2.3466 11.2294
Solution:
( )
( ) ( )
This height occurs at t 2.5 min = .
( )
The transfer function is thus:
( )
In this equation: H(s) and Q(s) are deviation variables.
H(s) = h(s) 4.8 ft and Q(s) = q-1.5 gal/min.
h1
In fig (5.1 a) variation of h2 does not effect on q1 then q1
R1
h1 h2
In fig (5.1 b) variation of h2 does effect on q1 then q1
R1
H 2( s ) R2
Qi ( s ) ( 1s 1 )( 2 s 1 ) Non-interacting system
In the case of three non-interacting tanks in sereies the transfer function of the system
will be as below:-
H 3( s ) R3
Qi ( s ) ( 1s 1 )( 2 s 1 )( 3 s 1 )
Process Dynamics 27 Fourth Class
Dr. Zaidoon M. Shakor Dr. Haider A. Ali
Example:
Two non-interacting tanks are connected in series as shown in Fig. 5.1 a. The time
constants are τ2 =1 and τ1 =0.5; R 2=1. Sketch the response of the level in tank 2 if a
unit-step change is made in the inlet flow rate to tank 1.
Solution:
The transfer function for this system is found directly from Equation above thus
R2
H 2( s ) Qi ( s )
( 1s 1 )( 2 s 1 )
1
Substituting Qi ( s ) Unit step change in Qi
s
R2 1
H 2( s )
( 1s 1 )( 2 s 1 ) s
o 1 2
s ( 1s 1 ) ( 2 s 1 )
R2 o ( 1s 1 )( 2 s 1 ) 1s( 2 s 1 ) 2 s( 1s 1 )
let s 0 o R2
1 1 1 1
let s 1( )( 2 ( ) 1 ) R2 1( 22 ) R2 1( 2 2 1 ) R2
1 1 1 1 1 1
12
1 R2 ( )
2 1
1 1 1 1
let s 2 ( )( 1( ) 1 ) R2 2 ( 12 ) R2 2 ( 1 2 2 ) R2
2 2 2 2 2 2
22
2 R2 ( )
1 2
R2 12 1 22 1
H 2( s ) R2 ( ) R2 ( )
s 2 1 ( 1s 1 ) 1 2 ( 2 s 1 )
1 1 1
H 2 ( s ) R2 [ ( 1 2 ) 1 ( 1 2 ) 2 ]
s 2 1 2 ( 1s 1 ) 1 2 1 ( 2 s 1 )
1 1 1 1 1
H 2 ( s ) R2 [ ( 1 2 ) ( 1 2 ) ]
s 1 2 2 ( s 1 / 1 ) 1 2 1 ( s 1 / 2 )
1 2 1 1
H 2 (t ) R2 (1 ( )( e t / e t / ))
1 2
1 2 2 1
1 0.5 1 t / 0.5 1 t / 1
H 2( t ) 1 ( )( e e )
0.5 1 1 0.5
H 1( t ) 1 e 2t
Example:
Obtain the transfer function of the following system (no reaction):
Where:
F = volumetric flow rate, Fi = F1 Fi , Ci
C = conc. of solute in stream
FiiCii
V = liquid volume in tank
F1, C1
V1 c1
Solution:
Mass balance on concentration; i.e.
In – out = accumulation V2, C2 F2, C2
dC (non-interacting system)
Tank 1: Fi Ci - F1 C1 = V1 1
dt
dC1
1 C1 Ci where τ1 = V1/F1
dt
Laplace transform → 1 s C1 (s) + C1 (s) = Ci (s)
C1 ( s) 1
1
Ci ( s ) 1s 1 …. (1) Ci (s)
1s 1
C1 (s)
dC2
Tank 2: F1 C1 + Fii C ii - F2 C2 = V2
dt
V2 dC 2 F F
C2 1 C1 + ii C ii
F2 dt F2 F2
dC 2
2 C 2 K1C1 K 2 Cii
dt
Process Dynamics 29 Fourth Class
Dr. Zaidoon M. Shakor Dr. Haider A. Ali
V2 F1 Fii
2 , K1 , K2
F2 F2 F2
2.Interacting System
R2
H 2( s ) .Qi ( s ) Non- Interacting system
1 2 s 2 ( 1 2 )s 1
The difference between the transfer function for the non-interacting system, and that
for the interacting system, is the presence of the cross-product term A1R2 in the
coefficient of s. 12 A1 R2
1-Non-linear solution
It is difficult and give exact solution
2-Linearization method
Making the non-linear function as linear using Taylar series and give approximate
results.
Linearization Technique
y 2t
Linear(all terms to power =1)
y t x
y t2
y2 t Non-Linear (power ≠1)
y ln x
Neglacting the non linear terms because their value are very small.
Then
d f ( x)
f ( x ) f ( xo ) ( x xo )
dx x xo
1 1 dh
qi c hs1 / 2 1/ 2
( h hs A
) …….. (2)
2 h s dt
dh
qis c hs1 / 2 A s 0
dt
at s.s h=hs …….. (3)
1 1 d ( h hs )
( qi qis ) c 1 / 2 ( h hs ) A
2 hs dt
c 1 dH
Qi 1 / 2 H A
2 hs dt
c 1
assume
2 hs R
H dH
Qi A
R dt
dH
RA H RQi
dt
By taking laplace transform
( s 1 )H ( s ) RQi ( s )
H( s ) R
………….. 1st order system
Qi ( s ) s 1
2 hs
Where R and AR
c
Process Dynamics 35 Fourth Class
Dr. Zaidoon M. Shakor Dr. Haider A. Ali
1-Transfer function is similar to linear.
2- R depends on the s.s. condition (at steady state the flow entering the tank equals to
the flow leaving the tank,then qo=qos).
Where C c c s , Ci ci cis
V F
, R
F 2Vkcs F 2Vkcs
df ( x1 , x2 ,...xn ) df ( x1 , x2 ,...xn )
( x2 x2o ) ( xn xno )
dx2 x x0
dxn x x0
i i i i
Example:
Mixing tank F, ci
C( s )
G( s ) ? F, c
F( s )
c : Variable (kg/L)
F: Variable (L/min) h
Ci: Variable (kg/L)
V: Constant
Solution:
dc
Fc Fc
V
i non linear term dt
non linear term
f f
f ( x , y ) f ( xs , y s ) x xs ( x xs ) x xs ( y ys )
x y ys y y ys
Fc Fs cs cs ( F Fs ) Fs (c cs )
dc
[ Fs cis cis ( F Fs ) Fs (ci cis )] [ Fs c s c s ( F Fs ) Fs (c c s )] V Un s.s
dt
dc s
Fs cis Fs c s V 0 s.s
dt
K F ( s ) ci ( s )
c ( s) st
s 1 s 1 1 order system
Solution:
Total mass balance
= ( )
Process Dynamics 38 Fourth Class
Dr. Zaidoon M. Shakor Dr. Haider A. Ali
=
By linearization of non linear terms
= ( ) ( )
= ( ) ( )
Substituting the last two equations gives:
= ( ) ( ) ( ) (
)
At steady state:
=
Subtracting:
( ) ( )
= ( ) ( ) ( ) ( )
̅ ̅
= ̅ ̅ ̅ ̅
̅ ̅
̅= ̅ ( )̅
̅ ( ) ̅
̅=̅ ̅
let
( )
= = =
̅
̅=̅ ̅ ̅
Taking Laplace
̅( ) ̅( ) = ̅( ) ̅( ) ̅( )
( ) ̅( ) = ̅ ( ) ̅( ) ̅( )
̅( ) ̅( ) ̅( )
̅( ) =
( ) ( ) ( )
Solution:
Total mass balance
=
Heat Balance
=
By linearization of non linear terms
= = ( )
= ( ) ( )
= ( ) ( )
Substituting the last three equations gives:
( )= ( ) ( )
( ) ( )
At steady state:
( )=
Subtracting:
( )
( ) ( )= ( ) ( )
( )
( ) ( )
̅ ̅
̅= ̅ ̅ ̅
̅ ̅
̅= ̅ ̅ ̅
let
= = = = =
̅
̅= ̅ ̅ ̅ ̅
Taking Laplace
̅( ) ̅( ) = ̅( ) ̅( ) ̅( ) ̅( )
( ) ̅( ) = ̅ ( ) ̅( ) ̅( ) ̅( )
̅( ) ̅( ) ̅( ) ̅( )
̅( ) =
( ) ( ) ( ) ( )
Time Delay
The most commonly used model to describe the dynamics of chemical process is
First-Order Plus Model Delay Model. By proper choice τd , this model can be
represent the dynamics of many industrial processes.
Time delay or dead time between inputs and outputs are very common
industrial procsses, engineering systems, economical, and biological systems.
qi(t) qo(t)
Dead
Time
If the variation in x(t) were some arbitrary function, as shown in figure below, the
response y(t) at the end of the pipe would be identical with x(t) but again delayed by t
A linear second order system under dynamic condition is given by the differential
equation:-
1 d 2Y 2 dY
Y kX
n2 dt 2 n dt
1
n
d 2Y dY
2 2 Y kX
dt 2 dt
Where:-
k : Steady state gain
Y : Response value
X : Input disturbing variable
ωn: Natural frequency of oscillation of the system.
Y (0) Y (0) 0
ξ : Damping factor (damping coefficient)
By taking laplace for the above second order differential equation
2 s 2Y ( s) 2sY ( s) Y ( s) kX ( s)
( 2 s 2 2s 1)Y ( s ) kX ( s )
Y ( s) k
G(s) 2 2 T.F. of second order system
X ( s ) s 2s 1
If x is sudden force, such as, step change inputs, Y will oscillate depending on the
value of damping coefficient ξ .
ξ <1 Response will oscillate (Under damped)
ξ>1 Response will oscillate (Over damped)
ξ=1 Response critical oscillation (critical damped)
2 1
2 1
s1 and s2 ……(2)
k A 0 1 s 2
Y ( s)
2 s 2 2s 1 s s 2 s 2 2s 1
o ( 2 s 2 2s 1) 1s 2 2 s kA
s0 0 kA
s1 2 0 2 0 2 2kA
s2 0 2 1 0 1 kA 2
1 2 s 2
Y ( s) kA[ 2 2 ]
s s 2s 1
1 2
w
Y (t ) kA[1 e ( / )t (cos wt sin wt ]
1 2
1
r p2 q2 1 ( )2
1 2 1 2
p 1 1 2
tan 1
tan 1 tan 1
q
1 2
1.05 b
0.95 b
tp
1. Overshoot (OS)
Overshoot is a measure of how much the response exceeds the ultimate value (new
steady-state value) following a step change and is expressed as the ratio in the Fig.
(8-3).
OS exp
1 2 )
OS % 100 OS
3. Rise time(tr)
This is the time required for the response to first reach its ultimate value and is
labeled in Fig. (8.3).
1 2
tan 1
tr
w
Process Dynamics 48 Fourth Class
Dr. Zaidoon M. Shakor Dr. Haider A. Ali
4. Response time
This is the time required for the response to come within ±5 percent of its ultimate
value and remain there. The response time is indicated in Fig. (8.3).
1-Over shoot
wt n
n
t max or min n=1, 2, 3 ……
w
1 2
y max kA[1 e ]
A max B
Overshoot
B B
1 2
kA[1 e ] kA
Overshoot
kA
Overshoot exp
1 2 )
At tr y(t)=kA
t
1
kA kA[1 e
sin (t r w )]
1 2
0 sin (t r w )]
sin 1 (0)
tr
w
1 2
n tan 1
n
tr
w w
1 2
tan 1
tr for n=1
w
1 2
f
2
2
T
1 2
6-Response time(ts)
The time required for the response to reach (±5%) of its ultimate value and remain
there.
n
tp
w w 1 2
i) ξ>1
kA 2 1
kA / 2 kA / 2 2 1
2
Y ( s)
2 1 2 2
2
2 1
2
(s ) 2 (s ) 2
1 (s ) 2
t
kA
Y (t ) e sinh wt
1
2
2 1
w
ii)ξ<1
kA 1 2
kA / 2 kA / 2 2 1 2
Y ( s)
1 2 2 1 2
2
2 1 2
2
(s ) 2 2 (s ) (s )
t
kA
Y (t ) e sin wt
1 2
iii)ξ=1
kA / 2 kA / 2 kA / 2
Y (s)
1 2 1 1 12 1
(s ) 2
(s ) 2 2 (s ) 2 2
kA
Y (t ) te t /
2
Example: A step change from 15 to 31 psi in actual pressure results in the measured
response from a pressure indicating element shown in Figure.
Assuming second-order dynamics, calculate all important parameters and write and
approximate transfer function in the form
R' ( s ) K
2 2
P' ( s) s 2s 1
where R' is the instrument output deviation (mm), P' is the actual pressure deviation
(psi).
Solution:
11.2 mm 8 mm
Gain 0.20 mm / psi
31 psi 15 psi
12.7 mm 11.2 mm
Overshoot 0.47
11.2 psi 8 psi
Overshoot exp 0.47
1 2
0.234
2
Period 2.3 sec
1 2
2
X (s)
s
10
Y (s)
s (0.25s 0.316s 1)
2
10
lim t Y (t ) lim s0 [ sY ( s)] lim s0 10
(0.25s 0.316s 1)
2
Solution
Thermometer with τ=1 min
Let x = bath temperature, y = indicated temperature Thermocouple
T(t=0) = 50oC
ys = 50oC
Y = y(t) – ys = y(t) – 50
X = x(t) – xs = x(t) – 50
Y (s) 1
= = 1 100oC
X (s) s 1 s 1 Bath
50 1
X(t) = 50u(t) X(s) = 50/s Y(s) = Y(t) = 50(1 – e-t)
s s 1
Y(1.2) = 50(1 – e-1.2) = 34.9oC y(1.2) = Y(1.2) + 50 = 34.9 + 50 = 84.9oC
The thermometer reading is 84.9oC at t = 1.2 min
Example 2: Derive the transfer functions Hl(s)/Q(s) and H2(s)/Q(s) for the liquid
level system shown in Fig.(1). The resistances are linear and R1 = R2 = 1. Note that
two streams are flowing from tank 1, one of which flows into tank 2.
Solution:
Material balance on 1st tank
dh1
q - q a - q1 = A1
dt
h1 h1 dh1
q- - = A1
R1 Ra dt
1 1 dh1
q - h1 ( + ) = A1
R1 Ra dt
1 dh1 1 1 1
q - h1 ( ) = A1 where = +
R dt R R1 Ra
Process Dynamics 57 Fourth Class
Dr. Zaidoon M. Shakor Dr. Haider A. Ali
Steady state
1 dh1s
q s - h1s ( ) = A1
R dt
By substracting both equations
h1 - h1s d ( h1 - h1s )
( q - qs ) - = A1
R dt
H1 dH 1
Q= + A1 ×R
R dt
dH 1
QR = H 1 + A1 R
dt
dH 1
QR = H 1 + τ 1 where τ 1 = A1 R
dt
( τ 1 s + 1 )H 1 ( s ) = RQ( s )
H1( s ) R
=
Q( s ) ( τ 1 s + 1 )
H1( s ) Q1 ( s )R1 R Q1 ( s ) R / R1
Q1 ( s ) = ⇒ = ⇒ =
R1 Q( s ) ( τ1s + 1 ) Q( s ) ( τ 1 s + 1 )
H1( s ) Qa ( s )R a R Qa ( s ) R / Ra
Qa ( s ) = ⇒ = ⇒ =
Ra Q( s ) ( τ1s + 1 ) Q( s ) ( τ 1 s + 1 )
Similarity for tank 2
Q2 ( s ) 1
=
Q1 ( s ) ( τ 2 s + 1 )
H2( s ) R2
=
Q1 ( s ) ( τ 2 s + 1 )
By substitute Q1(s)
H 2 ( s ) H 2 ( s ) Q1 ( s ) R / R1 R2
= =
Q( s ) Q1 ( s ) Q( s ) ( τ 1 s + 1 ) ( τ 2 s + 1 )
Y( s ) 1
=
U ( s ) [ s - ( 1 + 2 y s )]
T m (s) 1
T g ( s) 1s 1
(1)
Heat balance on glass
dTg
h2 A2 (Ta Tg ) h1 A1 (Tg Tm ) V g g Cp g
dt
h1 A1 V g g Cp g dTg
(Ta Tg ) (Tg Tm )
h2 A2 h2 A2 dt
T g (s) ( 1s 1)
T a ( s) 1 2 s ( 1 2 12 ) s 1
2
T g ( s)
By substituting equation (1) T m ( s)
1s 1
T m ( s) 1
T a ( s) 1 2 s ( 1 2 12 ) s 1
2