Recap 1
Recap 1
AUTOMATION
Process Dynamics
Basics of theoretical
modelling
BASICS IN PROCESS AUTOMATION
Learning outcomes?
BASICS IN PROCESS AUTOMATION
disturbances
State variables
y
Process Gain K
u
1.2 PROCESS ORDER AND TIME
CONSTANT
Video aikavakiosta
1.3 DELAY OR DEAD TIME
time between the response and the
change in the input variable
Part
II:
Proc
ess
Dyn
amic
s
2.1 TESTS WITH THE REAL PROCESS AND
THE RESPONSES
Forcing functions:
Step function
Ramp function
Sine function
impulsefunction
step ramp
impulse
sine
TESTS WITH THE REAL PROCESS AND
THEIR RESPONSES
L-transform
Laplace-
Transfer
Time space L-1 -transform space function
s-space
s = j
F-transform
x = Ax + Bu responses
Z-transform Z-space
2.3 CHEMICAL AND PHYSICAL BASIS OF
MODELLING
Time rate of
Mass flow _ Mass flow
change of mass =
into system out of system
inside system
EXAMPLE 1
F0(t)
0(t)
V(t) F(t)
(t) (t)
EXAMPLE 1
PROCESS DESCRIPTION
d ( V )
F0 0 F
dt
2.3.2 B) COMPONENT CONTINUITY
EQUATIONS
F0 , 0
CA0,CB0
F, , CA, CB
V, , CA, CB
EXAMPLE 2
PROCESS DESCRIPTION
Tank of perfectly mixed liquid where a simple
first-order isothermal reaction takes place
k
A--->B
Concentration of component A in the inflowing
feed stream is CA0.
Inflow stream is F0
Other parameters are in the picture above.
d (VC A )
F0C A0 FC A VkCA
dt
d (VC B )
F0CB 0 FC B VkCA
dt
EXAMPLE 3
V, ,
CA, CB, CC F, , CA, CB, CC
EXAMPLE 3
PROCESS DESCRIPTION
d (VC A )
dt F0C A0 FC A Vk1C A
d (VC B )
F0C B 0 FC B Vk1C A Vk 2C B
dt
d (VCc )
F0CC 0 FCC Vk 2C B
dt
If only two component balances are used in the solution, as a third
equation can be used: C
M
j A
j Cj
2.3.3 Energy Balance
F0,CA0,0,T0
F,CA,,T F,CA,,T
-Q
EXAMPLE 4
PROCESS DESCRIPTION
Stirred-tank, that removes the heat.
In the tank a simple first-order isothermal
reaction takes place, heat of reaction
Let
U internal energy /m.y.
K kinetic energy /m.y.
potential energy/ m.y.
W shaft work done by system
P pressure of system
P0 pressure of feed stream
EXAMPLE 4
ASSUMPTIONS
Usually shaft work done by system is zero, W=0
Kinetic energy almost 0, if the inlet and outlet flow
velocities are not very high.
If the elevations of the inlet and outlet flows are
about the same, = 0.
Enthalpy is the product of temperature and
average heat capacity.
Density of liquid is constant.
EXAMPLE 4
EQUATIONS OF MODEL
d
(U K )V F0 0 (U 0 K 0 0 )
dt
F (U K ) (QG Q) (W FP F0 P0 )
Simplifying:
d
(U K )V F0 0 (U 0 K 0 0 )
dt
F (U K ) (QG Q) (W FP F0 P0 )
EXAMPLE 4
EQUATIONS OF MODEL
d ( VU ) P P0
F0 0U 0 FU QG Q F F0 0
dt 0
F0 0 (U 0 P0V0 ) F (U PV ) QG Q
Enthalpy H U pV ( gas )
h U pV (liquid )
d ( VU )
F0 0 h0 Fh Q VkCA
dt
pV U
d ( Vh )
F0 0 h0 Fh Q VkCA
dt
EXAMPLE 4
EQUATIONS OF MODEL
Enthalpies are functions of composition,
temperature and pressure.
Assume, that enthalpy of liquid is mainly the
product of absolute temperature and mean heat
capacity
h=CpT
d (VT )
CP C p ( F0T0 FT ) Q VkCA
dt
h=CpT
Density constant
t
i
h
DYNAMIC SYSTEMS ANALYSIS USING
THE LAPLACE TRANFORM
Tranfer function model
L-transform
Laplace-space
Time space
s-space
L-1-transform
Physical
chemical
model
Easier to
Diff. Eq
analysis
solve
models
Dynamic systems analysis via Laplace-
transforms
Laplace-transformas and transfer
function
Transfer function characteristics
Lf (t ) F ( s) e st f (t ) dt
0
f (t ) 0, when t 0
FROM DIFF EQUATION TO THE TRANSFER
FUNCTION AND BLOCK DIAGRAMS
It
is assumed that the diff equation of the
process is as follows
dy (t )
T y (t ) Kx(t )
dt
where x(t) on input or manipulated variable
y(t) on output variable
T ja K are constants
T = time constant
K = gain
Laplace-transformation with the following initial
values t = 0, y(0) = 0 and x(0)= 0
Y ( s) K
G( s)
X ( s ) 1 Ts
G(s) is the transfer function of the process. (
The most common form of the G(s)
im
b i si
bm s ...b1s b 0
m 1
G(s) i0
in an sn ... a1s1 a 0
a i si
i0
G(s) is the ration of two polynomials, in which the
numerator order m is smaller or equal than
denominator order n.
Im
i
Re
-3 -2 -1
-i
pole-zero-map
THE EFFECTS OF THE POLES AND ZEROS
TO THE SYSTEM DYNAMIC BEHAVIOR
1. order dynamics:
Time space: dy(t)/dt+y(t)=Ku(t)
Laplace-space:
K
GI ( s )
s 1
K = process static gain
= process time constant
First order process
never oscillates.
1) τ < 0 --> process unstable
2) τ > 0 --> process is asymptotic stable
Im
X Re
-1/
2.ORDER DYNAMICS
Time space:
d 2 y (t ) dy (t )
2 0 0 y (t ) K 0 u(t )
2 2
dt dt
Laplace-space:
K 2
G( s) 2 0
s 2 0 s 02
missä: K = process gain
ω0 = process frequency
process damping coefficient
Kun :ω0 >0
1) <0 process unstable
>0 process stable