Professional Documents
Culture Documents
Ceic3006 Lecture 4
Ceic3006 Lecture 4
CEIC3006
Process Dynamics and Control
Week 4
Lecturer: Prof. Jie Bao
This week’s lectures
Step response
2
1.8
ζ=0
1.6 ζ=0.2
1.4
y/KM
1.2 ζ=1
1
0.8
0.6
ζ=2
0.4
0.2
0
0 1 2 3 4 5 6 7 8 9 10
t/τ
CEIC3006 Term 2, 2022
Second order process
Observations
Damping ratio ζ indicates the amount of damping in the system.
That is the degree of oscillation in the process response after a perturbation.
Damping coefficient
Mass on spring: Mass on spring with damping:
1.6
1.4
1.2 +5%
1
-5%
0.8
0.6
0.4
0.2
0
0
tr tp 5 10 15
ts
20 25 30 35 40 45 50
Rise time: tr is the time the process output takes to first reach the new steady-state value.
Time to First Peak: tp is the time required for the output to reach its first maximum value.
Settling time: ts is defined as the time required for the process output to reach and remain
inside a band whose width is equal to ±5% of the total change in y.
1.4
a
1.2 +5%
c
1
-5%
0.8
0.6
b
0.4
0.2
0
0 5 10 15 20 25 30 35 40 45 50
Overshoot: OS=a/b
Decay ratio: DR=c/a
Period of oscillation: P is the time between two successive peaks or two successive valleys of the response.
Overshoot:
Decay ratio:
ζ
Period
Tin, w
Thermocouple
Heater
Q T, w
TC
(a) Sudden change of Q from 4kW to 5 kW causes a dynamic change of T from a steady-state of 100C to
eventually 102C. What is the steady state gain of the overall system?
where:
A = 4.12 °C
The reactor temperature is varying between 181.5
− 4.12 = 177.38 °C and 181.5 + 4.12 = 185.62°C,
nearly three times the variation indicated by the
measured value.
Overdamped system (ζ = 1.19) results in
sinusoidal perturbations in the reactor
temperature that will always be attenuated in the
measurement system regardless of the frequency
of the perturbation.
CEIC3006 Term 2, 2022
Dynamic Response Characteristics of More
Complicated Processes
For first order and second order systems, system response characteristics are
determined by the factors of the transfer function denominator.
Assume n(s) does not cancel any factor in the denominator of G(s).
1 σ
s2 = − s1 = 0
τ1
ζ 1−ζ 2
s4 = − − j
τ2 τ2
Real poles
If a linear system has a real pole, there is a corresponding term in the
process response:
1
0.8
0.6
0.4
Imag Axis
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-2 -1.8 -1.6 -1.4 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0
Real Axis
Step Response
1
0.9
0.8
0.7
Amplitude
0.6
0.5
0.4
0.3
0.2
0.1
0
0 1 2 3 4 5 6
Time (sec.)
CEIC3006 Term 2, 2022 29
Poles
1.5
Left Right
Imag Axis
0.5
0
Half Half
-0.5
Plane Plane
-1
-1.5
-2
-2 -1.5 -1 -0.5 0 0.5 1
Real Axis
1.8
1.6
1.4
Amplitude
1.2
To: Y(1)
0.8
0.6
0.4
If Re(pi)<0, then there are terms of the form y(t) vanishes to a unique point – the
system is stable.
If any Re(pi)>0, then there is at least one term of the form i.e., y(t) will be
unbounded – the system is unstable.
CEIC3006 Term 2, 2022 33
Poles
Process behavior with mixed real and complex poles
1
0.8
0.6
0.4
0.2
0
Roots:
-0.2
-0.25+0.66j, RHP
-0.4 -0.25-0.66j
-0.6
-0.8
-1
-0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5
Real axis
Step Response
1.4
1.2
1
y(t)
0.8
0.6
0.4
0.2
0
0 5 10 15 20 25
Time (sec.)
CEIC3006 Term 2, 2022 34
Poles
Process behavior with unstable poles
1.5
1
Roots:
0.5 -0.7441,
-0.3805+1.0830j,
Imaginary axis
-0.3805-1.0830j,
0.2550
-0.5
-1
-1.5
-0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6
Real axis
140
120
100
80
y(t)
60
40
20
-20
0 2 4 6 8 10 12 14 16 18 20
t
CEIC3006 Term 2, 2022 35
Poles
jω 1
Step Response
0.6
Amplitude
σ
0.4
ζ >1 0.2
0
0 10 20 30 40 50 60
Time (sec)
jω Step Response
1
0.6
Amplitude
σ 0.4
ζ =1 0.2
0
0 10 20 30 40 50 60
Time (sec)
Step Response
jω 1.5
s-plane
Complex poles 1
Amplitude
0.5
σ
ζ<1
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7
Time (sec) 36
CEIC3006 Term 2, 2022
Poles
jω
Step Response
s-plane
2
Imaginary poles
1.5
Amplitude
σ
1
ζ=0 0.5
0
0 5 10 15 20 25 30 35 40
Time (sec)
jω 60
Step Response
20
Amplitude
σ
0
−1< ζ <0
-20
-40
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4
Time (sec)
Step Response
jω 1
0.6
Amplitude
0.4
σ 0.2
ζ < −1 0
0 0.05 0.1 0.15 0.2 0.25
Time (sec)
CEIC3006 Term 2, 2022 37
Poles
Liquid level in second tank does not affect the level in first tank
CEIC3006 Term 2, 2022 40
Zeros: Interacting Systems
Interacting Systems qi
h1 q1 h2
q2
R1 R2
h1 q1 h2
q2
R1 R2
If K1 and K2 have different signs and time constants are different then a right half plane
zero may occur (when ) inverse response!
2.5 16
1.5 8
y(t)/KM
4
1
2
1
0.5 0
-1
0 -2
-0.5
0 2 4 6 8 10 12 14 16 18 20
Time
CEIC3006 Term 2, 2022 45
Example
Case i
Overshoot can occur if τa is sufficiently
large.
Case ii
3
Similar to a first-order process response.
2.5 16 Case iii
2 Positive zero, also called a right-half
1.5 8 plane zero, exhibits an inverse response,
y(t)/KM
1
4 an infrequently encountered yet
2
0.5
1 important dynamic characteristic.
0
-1
0 -2
-0.5
0 2 4 6 8 10 12 14 16 18 20
Time
Observations:
Adding a zero to an overdamped second order process yields overshoot and
inverse response
Inverse response is observed when the zeros lie in right half complex plane,
Re(z)>0
Overshoot is observed when the zero is dominant ( τ a > τ1)
In physical systems, overshoot and inverse response are a result of two process
with different time constants, acting in opposite directions
e.g.
» roots([1 1 1 1])
ans =
-1.0000
0.0000 + 1.0000i
0.0000 - 1.0000i
» roots([1 2 2])
ans =
-1.0000 + 1.0000i
-1.0000 - 1.0000i Matlab
CEIC3006 Term 2, 2022 48
Matlab
Define a linear system:
Transfer function:
» s=tf(‘s’);
» G=(s+1)/(10*s+1)
Transfer function:
s + 1
--------
10 s + 1
Matlab
or equivalently, by
Taylor expansion:
Padé approximation:
First
order
Second
order
Time delay
-0.5
-1
0 5 10 15
Time (sec.)
0.8
Amplitude
0.6
To: Y(1)
0.4
0.2
-0.2
0 2 4 6 8 10 12 14 16 18 20
Time (sec.)
• Padé approximations are better when one approximates a first order plus dead
time process
• They introduce inverse response (right half plane zeros) in the transfer function
CEIC3006 Term 2, 2022 57
Simulink
s+1
10s+1
Sine Wave Transport Transfer Fcn Scope
Delay
The time constant(s) which is (are) significantly larger than the rest
of time constants of the system is (are) called dominant time
constant(s). (e.g. 5 times larger)
Condenser
holdup
Distillate
Reflex D, yD
L
Feed
F, zF
Boilup
MB V Reboiler
Bottom
product B, xB
• On each tray, the system relates temperature to flow rate is a first order system.
• A change in reflux rate affects conditions in the reboiler only after some period of time
Step Response
10
9
8
7
Amplitude
6
5
n=1
4
3
2 n=32
1
0
0 10 20 30 40 50 60
Time (sec.)
Example
Step Response
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 50 100 150
Time (sec.)
Methodologies:
1. Least Squares Estimation (just curve fitting!)
• more systematic statistical approach
2. Process Reaction Curve Methods
• quick and easy
• based on engineering heuristics
Models obtained are only valid in the narrow range of operating
conditions close to the nominal steady state
or, simply
Example
Nonlinear Least Squares Fit of a first order process from step response
data
Model 4.5
Step Response
3.5
Data 3
2.5
2
y(t)
1.5
0.5
-0.5
0 10 20 30 40 50 60 70 80
t
Run lsqnonlin
x = lsqcurvefit(fun,x0,t,y)
1. Step in u is introduced
2. Observe behavior ym(t)
3. Fit a first order plus dead time model
0.8
0.6
KM
0.4
0.2
-0.2
θ
0 1
τ− θ
2 3 4 5 6 7 8
0.9
0.8
0.7
0.6
0.5
y(t)
0.4
0.3
0.2
0.1
0
0 20 40 60 80 100 120 140 160
t1 t2
t
Estimate
0.9
0.8
0.7
0.6
0.5
y(t)
Estimates: 0.4
0.3
0.2
0.1
Comparison: 0
0 20
t1
40 60
t2
80
t
100 120 140 160