Dynamic Response of Complex Processes
Dynamic Response of Complex Processes
CHE 456
Process Dynamics and
Control
Topic 8
Dynamic response of more
complex processes
Prof. Zoltan K. Nagy
Background:
Last time we saw
First order systems (time domain and s domain)
Second order systems (time domain and s domain)
Linear/locally linear systems
CHE 456
Lecture Overview
Review (background) Transfer functions
Poles and Zeros and process response
Integrating process
Processes with zeros (nominator
dynamics)
Time delay systems
Approximation of higher order systems
(process approximation)
Noninteracting versus interacting systems
3
Background
Review/look ahead
Transfer Functions - Properties
The TF enables us to determine the output
response to any input signal
G s
Y s
X s
Principle of Superposition
simple block
diagram algebra to combine simple linear
dynamic systems into complex linear systems.
Two important properties:
A. Multiplicative Rule
B. Additive Rule
CHE 456
Y s
bm s m
b0
U s
a0
an s
bm ( s z1 ) ( s zm )
an ( s p1 ) ( s pn )
Polynomial form
( 1s 1) (
( 1s 1) (
m
n
1)
1)
Pole-zero form
Imaginary
Part
bm ( s z1 ) ( s zm )
an ( s p1 ) ( s pn )
faster
response
unstable
Zero in RHP
inverse response
number of
output
input
No of zeros in RHP
inversions
time
Real
Part
Inverse
response
(zeros)
Pole in RHP
Unstable
(poles)
more oscillatory
1 zero
2 zeros
time
Is this
system
easy or
difficult to
control?
6
CHE 456
x
time
time
x
time
x
x
time
7
qi
1 #
qi
As
Ah # s
qi#
h#
qi#
1 #
q
As
q#
1/ A
s
and
Ah # s
qi#
q#
h#
q#
1/ A
s
dh
h0
t0
1
[qi (t ) q(t )]dt
A
h(t ) h0
t0
1
[qi (t ) q(t )]dt
A
K
s
pole
s=0
CHE 456
G(s )
K/
s
Integrating
systems: G(s )
Pure gain:
G(s )
1.2
y(t)
0.8
1
2s 1
G(s )
0.6
0.4
0.2
0
0
time
10
9
Example:
2 2
2
e-t/
constant
0
2
1)
2s
t
2
Function
with term:
sin( 1
2 t
cos( 1
2 t
t
2
Natural modes (plus some modes determined by the input (forcing function)
s1
integrating
s2
x s3
s2
s3 , s 4
j
2
s1
1
2
s4
10
CHE 456
dy
dt
dy
dt
K (u
K u
du
)
dt
G( s )
K ( a s 1)
s 1
u(t )dt
G( s )
K ( as 1)
1)
a s( s
a 0
Generally m < n
physically realizable systems
If m = n the output response in discontinuous after a step input
change (most real system exhibit some level of inertia)
11
K ( as 1)
s 1
y (t )
MK 1 (1
y#
a
)e
MK ( as 1)
s( s 1)
t/
if < a
y jumps to new value and
then decays exponentially to MK
if > a
y jumps to new value and
then increases exponentially to MK
if a < 0
y jumps to negative value and
then increases exponentially to MK (inverse
response)
if
= a
pole-zero cancellation
G(s)=K
pure gain (step change in output)
y#
MK
1
s
s 1
if t = 0
y(0) = MK a /
y changes abruptly
New steady state y( ) = MK
y(t)/(MK)
G( s )
1
0
time
12
CHE 456
G s
1s
as
1
2s
AK
y#
as
1s 1
1
2s 1
y t
KM 1
a
1
1 e t/
2
a
2
2 e t/
1
if t = 0
y(0) = 0
no abrupt change
New steady state y( ) = MK
Including single zero does not change initial or final value
Response is the sum of two exponential modes
Zero does not affect basic characteristics of the process
(initial & final value & stability) but affects how the natural
modes are weighted in the response
13
K
1s 1
as
1
2s 1
y t
KM 1
a
1
1 e t/
2
a
1
2 e t/
2
CHE 456
Y(s)
K2
2s 1
G ( s)
( a s 1)
( 1s 1)( 2 s 1)
K1 K2
K1 2 K2 1
K1 K2
Chapter 6
Mathematical description:
A time delay, , between an input u and an output y results in
the following expression:
y t
0
u t
for t
for t
16
CHE 456
Input (u)
Output (y)
Length of pipe
fluid velocity
volume of pipe
volumetric flowrate
y(t )
Ku(t
G (s )
y(s )
u(s )
Ke
18
CHE 456
Y(s)
G ( s)
e ds
Y ( s) e d sG ( s)U ( s)
Example first order plus time
delay (FOPTD)
1
0.9
0.8
0.7
FOPTD response
to a unit step
change at t = 0
0.6
s 1
y/KM
G ( s)
e d sK p
0.5
0.4
0.3
0.2
G ( s)
2 s2
ds
KP
0.1
0
2 s 1
0.5
1.5
2.5
3
t/tau
3.5
4.5
Time delay
5.5
19
G ( s)
Problem
s 1
use of the dead time makes analysis (poles & zeros) more difficult
2 2
3 3
s
2!
s
3!
4 4
s
4!
1
G1(s)
2
2
s
e
1
G2 (s )
1
2
2
12
2
12
s2
s2
20
10
CHE 456
FOPTD
G ( s)
e sK p
s 1
s K
p
s s 1
Process approximation
Higher order TFs can often be approximated by lower order TFs plus
time delay which have similar dynamic and steady-state characteristics
FOPTD model is often used to approximate complex higher order
(overdamped) processes
1.2
Real Process
0.8
0.6
- FOPTD
o Second Order
0.4
0.2
-0.2
11
CHE 456
Process approximation
Higher order TFs can often be approximated by lower order TFs plus
time delay which have similar dynamic and steady-state characteristics
Taylor series approximation (for small values of s)
s
RHP zero at s =
1
e
1
1
Process approximation
Higher order process (example N tanks in series)
U(s)
K P1K P 2 K PN
( 1s 1)( 2 s 1) ( N s 1)
G ( s)
e sK p
( 1s 1)( 2 s 1)
e sKp
( 1s 1)
and
>
i 3
1
>
>>
G ( s)
Y(s)
1
1
N
i 2
i
24
12
CHE 456
G ( s)
1.2
0.8
e 12 s
25s 1
e 2s
G2 ( s)
(10s 1)(25s 1)
G1( s)
0.6
0.4
0.2
Model identification is to
estimate parameters (e.g.
Kp, and ) so that model
describes experimental
data
Least squares estimation
Process reaction curve
method
-0.2
20
40
60
80
100
120
140
160
180
200
25
Process approximation
Skogestads half rule
Skogestad (2002) has proposed a related approximation
method for higher-order models that contain multiple time
constants.
He approximates the largest neglected time constant in the
following manner.
One half of its value is added to the existing time delay (if
any) and the other half is added to the smallest retained
time constant.
Time constants that are smaller than the largest neglected
time constant are approximated as time delays.
26
13
CHE 456
Example
Consider a transfer function:
0.1s 1
G s
5s 1 3s 1 0.5s 1
Solution
K
G s
0.1s 1
5s 1 3s 1 0.5s 1
1
e
3s 1
0.1s
3s
1
e
0.5s 1
0.5 s
GTS s
Ke
0.1s
e 3s e
5s 1
0.5 s
Ke 3.6 s
5s 1
28
14
CHE 456
Solution
G s
0.1s 1
5s 1 3s 1 0.5s 1
Solution
G s
0.1s 1
5s 1 3s 1 0.5s 1
GSk s
Ke 2.1s
6.5s 1
GTS s
Ke 3.6 s
5s 1
30
15
CHE 456
31
32
16
CHE 456
Noninteracting Systems
1
h1
R1
q1
A1
dh1
dt
qi
H1 s
Qi s
Q1 s
H1 s
H2 s
Q2 s
R2
A2 R2 s 1
K2
2s 1
q1
A1
dh1
dt
R1
A1R1s 1
1
R1
Q2 s
H2 s
qi
1
h1
R1
K1
1s 1
1
K1
1
R2
1
K2
33
Noninteracting Systems
Q2 s
Q2 s H 2 s Q1 s H1 s
Qi s
H 2 s Q1 s H1 s Qi s
Q2 s
Qi s
1
K2
K 2 1 K1
2 s 1 K1 1s 1
Q2 s
Qi s
1
1s
2s
34
17
CHE 456
q1
35
where
1 2
H1 s
K1
as
Qi s
2 2
2 s 1
R2 A1
, and
R1R2 A2 / R1
R2
1 2
R2
R1 R2
R1R2 A2
s 1
R1 R2
H2 s
Qi s
R2
2 2
2 s 1
36
18
CHE 456
Model Comparison
Noninteracting system
Q2 s
Qi s
where
Interacting system
1s
A1 R1 and
Q2 s
2s
A2 R 2 .
Qi s
2 2
where
1 and
2 s 1
1 2
General Conclusions:
1. The interacting system has a slower response.
(Example: consider the special case where = 1=
2. Which two-tank system provides the best damping
of inlet flow disturbances?
2.)
37
Summary
Dynamic response can be analyzed by looking at the poles
and zeros of the TF
Poles determine natural modes, zeros weights between them
Poles - stability, oscillations
zeros - inverse response, overshoot for overdamped system
19