CHE302 Process Dynamics and Control
Korea University 6-1
CHE302 LECTURE VI
DYNAMIC BEHAVIORS OF REPRESENTATIVE PROCESSES
Professor Dae Ryook Yang
Fall 2001
Dept. of Chemical and Biological Engineering Korea University
REPRESENTATIVE TYPES OF RESPONSE
• For step inputs
U(s) ProcessG(s) Y(s)?
Unstable, oscillation, complex RHP poles Unstable, no oscillation, real RHP poles Inverse response, negative (RHP) zeros Overdamped oscillation, 2ndor higher order Underdamped oscillation, 2ndor higher order 1storder+Time delay
Nonzero initial slope, no overshoot or nor oscillation, 1storder model
Type of Model, G(s) Y(t)
CHE302 Process Dynamics and Control
Korea University 6-3
1 ST ORDER SYSTEM
( ) ( ) ( ) ( 1) ( ) ( )
dy t y t Ku t s Y s KU s
τ dt = − + →
Lτ + =
• First-order linear ODE (assume all deviation variables)
• Transfer function:
• Step response:
– – –
( )
( ) ( 1)
Y s K
U s = τ s
+
Time constantGain
/
With ( ) / ,
( ) ( ) (1 )
( 1)
t
U s A s
Y s KA y t KA e
s s
τ
τ
−
=
= → = −
+
L( ) (1
/) 0.632
y τ = KA − e
−τ τ≈ KA
t y(t)
KA
0.632KA
τ (1
t/) 0.99 4.6 (Settling time=4 5 ) KA − e
− τ≥ KA ⇒ ≈ t τ τ : τ
/
(0)
t/
0/ 0 (Nonzero initial slope) y ′ = KAe
− ττ
t== KA τ ≠
• Impulse response
• Ramp response
• Sinusoidal response
/
With ( ) ,
( ) ( )
( 1)
t
U s A
KA KA
Y s y t e
s
τ
τ τ
−
=
= → =
+
L ty(t)
τ
K A τ
2
/ 2
With ( ) / ,
( ) ( ) ( )
( 1)
t
U s a s
Y s Ka y t Ka e Ka t
s s
τ
ττ
τ
−
=
= → = + −
+
L[ ]
2 22 2
With ( ) sin /( ),
( ) ( 1)( )
U s A t s
Y s KA
s s
ω ω ω
ω
τ ω
= = +
= →
+ +
LL
t/
y(t)
τ
τ
1 2 3 4 5
( ) K u t
t
y(t) 1
φ= −tan−ωτ
2 2
1 KA ω τ +
2 2 ( )
1 K u t ω τ + /
2 2
( ) ( cos sin )
1 KA
ty t ωτ e
τωτ ω t ω t
ω τ
=
−− +
+
CHE302 Process Dynamics and Control
Korea University 6-5
• Ultimate sinusoidal response
– The output has the same period of oscillation as the input.
– But the amplitude is attenuated and the phase is shifted.
– High frequency input will be attenuated more and phase is shifted more.
( t → ∞ )
/ 2 2
2 2
1 2 2
( ) lim ( cos sin )
1
( cos sin )
1
sin( ) ( tan )
1
t t
y t KA e t t
KA t t
KA t
ωτ
τωτ ω ω
ω τ
ωτ ω ω
ω τ
ω φ φ ωτ
ω τ
∞ →∞ −
−
= − +
+
= − +
+
= + = −
+
0
Amplitude
Phase angle
2 2
1 1
ω τ 1
= <
+
Normalized Amplitude Ratio
(ARN)
Phase angle
= − tan
−1ωτ
Korea University 6-6
BODE PLOT FOR 1 ST ORDER SYSTEM
• AR plot asymptote
• Phase plot asymptote
• It is also called “low-pass filter”
2 2 0
( 0) lim 1 1
N
1
AR ω
ωω τ
→ =
→=
+
2 2
1 1
( ) lim
N
1
AR ω
ωω τ ωτ
→ ∞ =
→∞=
+
1 o
0
( 0) limtan 0
φ ω
ω −ωτ
→ = −
→=
1 o
( ) limtan 90
φ ω → ∞ = −
ω→∞ −ωτ = −
CHE302 Process Dynamics and Control
Korea University 6-7
1 ST ORDER PROCESSES
• Continuous Stirred Tank
– With constant heat capacity and density
A
Ai A
V dc qc qc dt = −
h V cAi, qi
cA, q
( ) 1
( ) ( / ) 1
A
Ai
C s q
C s = Vs q = V q s
+ +
h V T0, qi 0 T, q
( )
( )
( )
ref
p p ref
p ref
d T T
VC qC T T
dt
qC T T
ρ ρ
ρ
− = −
− −
0
( ) 1
( ) ( / ) 1
T s q
T s = Vs q = V q s
+ +
Korea University 6-8
INTEGRATING SYSTEM
•
• Transfer Function:
• Step Response
– The output is an integration of input.
– Impulse response is a step function.
– Non self-regulating system
( ) ( ) ( ) ( )
dy t Ku t sY s KU s
dt = →
L=
( ) ( ) Y s K U s = s
t y(t)
Slope= K 2
With ( ) 1/ ,
( ) ( )
U s s
Y s K y t Kt
s
=
= →
L=
CHE302 Process Dynamics and Control
Korea University 6-9
INTEGRATING PROCESSES
• Storage tank with constant outlet flow
– Outlet flow is pumped out by a constant-speed, constant- volume pump
– Outlet flow is not a function of head.
h V qi
q Area = A
i
A dh q q dt = − ( ) 1
i
( ) H s
Q s = As ( ) 1
( ) H s
Q s = − As
2 ND ORDER SYSTEM
• 2
ndorder linear ODE
• Transfer Function:
• Step response
– Varies with the type of roots of denominator of the TF.
• Real part of roots should be negative for stability:
• Two distinct real roots ( ): overdamped (no oscillation)
• Double root ( ): critically damped (no oscillation)
2
2 2 2
2
( ) ( )
2 ( ) ( ) ( 2 1) ( ) ( )
d y t dy t
y t Ku t s s Y s KU s
dt dt
τ + ζτ + = →
Lτ + ζτ + =
2 2
( )
( ) ( 2 1)
Y s K
U s = τ s ζτ s
+ +
Time constantGain
Damping Coefficient
ζ > 1 ζ = 1
ζ ≥ 0
CHE302 Process Dynamics and Control
Korea University 6-11
• Case I with U(s)=1/s
• Case II
• Case III ( ζ > 1)
1 2
/ /
1 2
2 2
1 2 1 2
( ) ( ) 1
( 2 1) ( 1)( 1) ( )
t t
K K e e
Y s y t K
s s s s s s
τ τ
τ τ
τ ζτ τ τ τ τ
− −
−
= + + = + + → = − −
L
( ζ = 1)
( )
/2 2 2
( ) ( ) 1 1 /
( 2 1) ( 1)
K K
tY s y t K t e
s s s s s
τ
ττ τ τ
−
= + + = + →
L= − +
(0 ≤ < ζ 1)
2 /
2 2
( ) ( ) 1 cos sin ( 1 )
( 2 1)
K
tY s y t K e t t
s s s
ζ τ
α ζ α α ζ
τ τ
−ατ τ
−
= + + → = − + =
L
Natural frequency
• Ultimate sinusoidal response
– Other method to find ultimate sinusoidal response
[ ]
2 2 2 2
With ( ) sin ,
( )
( 1)( )
U s A t
Y s KA
s s s
ω ω
τ τ ω
=
= →
+ + +
L
L
1
2 2
2 2 2 2
( ) sin( ) ( tan 2 )
(1 ) ( 2 ) 1
y t KA ω φ t φ ζωτ
ω τ ζωτ ω τ
= + = −
−− + −
2 2 2 2
( ) ( )
( 2 1) (1 ) 2
s j
K K
G s G j
s s j
ω
ω
τ ζτ τ ω ζτω
= →
→=
+ + − +
2 2 2 2 2 2
( )
(1 ) (1 ) ( 2 )
K K
AR G j ω j
τ ω τω ω τ ζωτ
= = =
− + − +
1
Im( ( ))
12
( ) tan G j tan
G j ω ζωτ
φ = R ω =
−= −
−-( ) -
For ( s + + α j ω ), ( ) has and it becomes as ( y t e
α+jωte
j tωt → ∞ α > 0).
CHE302 Process Dynamics and Control
Korea University 6-13
BODE PLOT FOR 2 ND ORDER SYSTEM
• AR plot
• Phase plot
• Resonance
( )
22 2 2 2
1 1
( ) lim
(1 ) (2 )
AR
Nω
ωω τ ζωτ ωτ
→ ∞ =
→∞=
− +
1 1 o
2 2
2 2
( ) limtan limtan 180
ω
1
ωζωτ ζ
φ ω
→∞ −ω τ
→ ∞ −ωτ
→ ∞ = − = − = −
− −
Resonance
(
N) / 0
d AR dω =
2 max
1 2 ζ
ω τ
= −
for 0 < < ζ 0.707
The amplitude of output oscillation is bigger than that of input when the resonance occurs .
Korea University 6-14
1ST ORDER VS. 2ND ORDER (OVERDAMPED)
• Initial slope of step response
• Shape of the curve (Convexity)
{
2}
1st order: (0) lim ( ) lim 0
1
s s
KAs KA
y s Y s
τ s τ
→∞ →∞
′ = = = ≠
{
2} +2
2nd order: (0) lim ( ) lim 0
2 1
s s
y s Y s KAs
s s
τ ζτ
→∞ →∞
′ = = =
+ +
1st order: ( ) y t ′′ = − Ke
−t/τ< 0 (For 0) No inflection K > ⇒
1 2
/ /
1 2 1 2
2nd order: ( ) ( )
( as t ) Inflection
t t
KA e e
y t
τ τ
τ τ τ τ
− −
′′ = − −
−
+ → − ↑ ⇒
CHE302 Process Dynamics and Control
Korea University 6-15
CHARACTERIZATION OF SECOND ORDER SYSTEM
• 2
ndorder Underdamped response – Rise time (t
r)
– Time to 1
stpeak (t
p)
– Settling time (t
s)
– Overshoot (OS)
– Decay ratio (DR): a function of damping coefficient only!
– Period of oscillation (P)
22 / 1
P = πτ − ζ
(
2)
/ exp / 1
OS = a b = − πζ − ζ
( )
2 2
/ ( ) exp 2 / 1
DR = c a = OS = − πζ − ζ
1 2
( cos ) / 1 ( 1)
t
r= τ π n −
−ζ − ζ n =
/ 1
2t
p= τπ − ζ
/ ln(0.05) t
s≈ − τ ζ
1 2
τπ ζ
− 2
2 1 τπ
ζ
− 2
3 1
τπ ζ
−
( )
1 exp+ ζ τt/
2
1 exp 3 1
ζπ ζ
+ −
2
1 exp 1
ζπ ζ
+ −
Korea University 6-16
2 ND ORDER PROCESSES
• Two tanks in series
– If v
1=v
2, critically damped.
– Or, overdamped(no oscillation)
• Spring-dashpot (shock absorber)
– By force balance
cAi, qi
cA, q V1
V2
1 2
( ) 1
( ) (( / ) 1)(( / ) 1)
A Ai
C s
C s == V q s V q s
+ +
( mg + f t ( )) − ky cv − = ma
( ( ))
my ′′ = − − ky cy ′ + mg + f t
2 2
2 ( )
4
m c m
y y y f t
k mk k
′′ + ′ + =
%
τ ζ
(can be <1: underdamped )CHE302 Process Dynamics and Control
Korea University 6-17
Underdamped Processes
• Many examples can be found in mechanical and electrical system.
• Among chemical processes, open-loop underdamped process is quite rare.
• However, when the processes are controlled, the responses are usually underdamped.
• Depending on the controller tuning, the shape of response will be decided.
• Slight overshoot results short rise time and often more desirable.
• Excessive overshoot may results long-lasting oscillation.
POLES AND ZEROS
• Poles (D(s)=0)
– Where a transfer function cannot be defined.
– Roots of the denominator of the transfer function – Modes of the response
– Decide the stability
• Zero (N(s)=0)
– Where a transfer function becomes zero.
– Roots of the numerator of the transfer function – Decide weightings for each mode of response – Decide the size of overshoot or inverse response
• They can be real or complex
1 1 1
1
1 1
( ) ( 1)
( ) ( ) ( 1)
m m
m m
n n
n n
N s K b s b s b s
G s D s a s a s a s
− −
− −
+ + + +
= =
+ + + L +
L
CHE302 Process Dynamics and Control
Korea University 6-19
• Real pole from
– Mode:
– If the pole is at the origin, it becomes “integrating pole.”
– If the pole is in RHP, the response increases exponentially.
• Complex pole from ( τ s + 1)
/
e
−t τ ReIm
1 /τ
−
τ↑ τ↓t y(t)
τ↑
( τ
2 2s + 2 ζτ s + 1) (-1 < < ζ 1) s 1
= − τ
1
2s ζ j ζ α j β
τ τ
= − ± − = − ±
2 2
2
1 1
(function of only)
s ζ ζ τ
τ τ
= + − =
2
1
1
tan (function of only)
s ζ ζ
ζ
−
−
R = ±
Re Im
ζ τ/
−
1−ζ τ2/
1 ζ τ2/
− −
τ ↓
ζ↓
ζ = cos θ
θ– Modes:
– Assume is positive.
– If , the exponential part will grow as t increases: unstable – If , the exponential part will shrink as t increases: stable – If , the roots are pure imaginary: sustained oscillation
• Effect of zero
– The effects on weighting factors are not obvious, but it is clear that the numerator (zeros) will change the weighting factors.
2 2
/
(cos sin )
1 1
(cos sin )
t j t t
t
e e t j t
e t j t
α β α
ζ τ
β β
ζ ζ
τ τ
− ± −
−
= ±
− −
= ±
ζ <
0
τ
ζ >
0
ζ=0
1
1 1
( ) 1 1
( ) ( ) (
n) ( )
n(
n)
G s N s w w
s p s p s p s p
= = + +
+ L + + L +
CHE302 Process Dynamics and Control
Korea University 6-21
EFFECTS OF ZEROS
• Lead-lag module
– Depending on the location of zero
(a)
The lead dominates the lag.
(b)
The lag dominates the lead.
(c)
Inverse response
1
( ) ( 1)
( ) ( ) ( 1)
N s K
as
G s D s s
τ τ
= = +
+
LagLead
1
1 1
( 1) 1
( ) ( 1) 1
a a
KM s
Y s KM
s s s s
τ τ τ
τ τ
+ −
= + = + +
1
0
τ
a> > τ
0 ≤ τ
a< τ
10 > τ
a/1
1
( ) 1 1
a ty t KM τ e
ττ
−
= − −
Korea University 6-22
• Overdamped 2
ndorder+single zero system
(a)
The lead dominates the lags.
(b)
The lags dominate the lead.
(c)
Inverse response
1 2
( ) ( 1)
( ) ( ) ( 1)( 1)
N s K
as
G s D s s s
τ
τ τ
= = +
+ +
1 1 2 2
1 2 1 2 1 2 1 2
( 1) 1 ( ) 1 ( ) 1
( ) ( 1)( 1) 1 1
a a a
KM s
Y s KM
s s s s s s
τ τ τ τ τ τ τ
τ τ τ τ τ τ τ τ
+ − −
= + + = + − + + − +
1 2
1 / 2 /
1 2 2 1
( ) 1
a t a ty t KM τ τ e
ττ τ e
ττ τ τ τ
− −
− −
= + − + −
1
0 (assume
1 2) τ
a> > τ τ τ >
0 < ≤ τ
aτ
10 > τ
aCHE302 Process Dynamics and Control
Korea University 6-23
• Other interpretation
– Since , 1 is slow dynamics and 2 is fast dynamics.
1 2
1 2 1 2
( 1)
( ) ( 1)( 1) ( 1) ( 1)
K
as K K
G s s s s s
τ
τ τ τ τ
= + = +
+ + + +
1
1 1
2 1 2
1/
( 1) ( )
( 1) ( )
a a
s
K s K
K s
ττ τ τ
τ
=−τ τ
+ −
= =
+ −
2
2 2
1 1 2
1/
( 1) ( )
( 1) ( )
a a
s
K s K
K s
ττ τ τ
τ
=−τ τ
+ −
= =
+ −
1
(
11)
K τs+2
(
21)
K τ s+U(s) Y(s)
Y1(s)
Y2(s)
1 2
τ τ >
t y1(t)
y2(t)
t
t
y(t) K1> K2
2
0
K <
1
0
K >
t y(t) K1<K2t
y2(t)
2
0
K >
y1(t)
t
1
0
K <
1
τ
a> τ τ
a< 0
t y(t)
t y1(t)
1
0
K >
1 a
0
τ τ ≥ >
y2(t)
t K2 <ε
Korea University 6-24
Re(s) Im( s )
Unstable Region
Faster response
Faster response More
oscill.
Less oscill.
Faste r resp
onse
Shorter period of
oscill.
EFFECTS OF POLE LOCATION
Shorter period of
oscill.
CHE302 Process Dynamics and Control
Korea University 6-25
EFFECTS OF ZERO LOCATION
Re(s) Im( s )
Dominant Pole
Inverse response region
Deeper valley
0
More overdamped
More overshoot Real LHP zero:
Bigger inverse response Real RHP zero:
Complex RHP zero:
Zero at origin:
Complex LHP zero:
valley