Professional Documents
Culture Documents
Process Dynamics
Flow out
SP
LT
LC
Flow out
Feedback control
It is the most important and widely used
control strategy
It is a closed-loop control strategy
Block diagram
disturbance
ysp
manipulated
comparator
set-point
error
controller
variable
process
y
controlled
variable
transmitter
Training Course on:
Sustainable Industrial Development: Process Simulation, Analysis, Optimization and Control
disturbance
transmitter
desired value
(set-point)
SP
LT
LC
controller
controlled
variable
(measurement)
process
Flow out
manipulated
variable
Process dynamics
Given a dynamic model of the process, it
investigates the process response to various
input changes
Two elements are necessary:
u (t )
Step input
u (t )
Pulse input
time
time
state-space models
input-output models
(contd)
State-space model
d x(t )
f (x; u; d ; t )
dt
states
y h( x)
output
Input-output model
Y ( s ) G ( s )U ( s )
U (s )
G (s )
Y (s )
Linear systems
In the time domain, a linear system is
modeled by a linear differential equation.
For example, a linear, nth-order system is:
n
an
d y
dt
an 1
n 1
dt
n 1
dy
a1
a0 y b u (t )
dt
Our assumptions:
the coefficients of the
differential equations
are constant
the output y is equal
to the state x
Note
The Laplace-domain representation is possible only for
linear (or linearized) systems
We will assume that the process behavior in the
vicinity of the steady state is linear
Training Course on:
Sustainable Industrial Development: Process Simulation, Analysis, Optimization and Control
First-order systems
Time-domain model
Laplace-domain
model
( Dividing by a0 )
dy
P
y K P u (t )
dt
Y ( s )
KP
U ( s )
P s 1
KP
Transfer function of a first-order system:G ( s )
P s 1
Training Course on:
Sustainable Industrial Development: Process Simulation, Analysis, Optimization and Control
input,u output,y
A
K
P
0
.
6
3
2
A
K
P
P
0
A
The time-domain
response is:
y (t ) AK P 1 e
t
P
It takes 45 time
constants for the
process to reach
the new steady
state
tim
e
KP
y ss,new yss,ref
unew uref
(output )
(input )
steady state
The gain is a
dimensional
figure
output, y
AKP
0.632 AKP
time
An alternative approach
State the identification task as an optimization
problem:
given a first-order model, find the K and values that allow
P
P
the model to best-fit the experimental data
An alternative approach
(contd)
55
50
45
55
50
45
0
500
1000
Time
1500
results
of fttin
g
y
K P ,linear
u any steady state
nonlinear
y
K P ,nonlinear
u
Further remarks
Slow and fast
processes
1.0
y/(KPA)
0.8
50
100
0.6
0.4
0.2
10
0.0
0
50
100
150
200
Training Course on:
time units
Sustainable Industrial Development: Process Simulation, Analysis, Optimization and Control
The time
needed to
approach the
new steady
state increases
with increasing
P
Note
For all Ps, the
output starts to
change
immediately after
the input has been
Bangkok, 8-12 July, 2002
changed
Plug flow
Incompressible
fluid
react immediately to
excitation (as first order
systems instead do)
The time needed to
transport a fluid property
change from the inlet to
the outlet is:
L
P
v
: dead time
or time delay
(contd)
y (t )
Recorded output
P
time
u (t )
Applied input
0
0
time
Models
Time domain :
t P
0 ,
y (t )
x(t P ) , t P
Laplace domain :
Y ( s)
e P s
U (s)
FOPDT systems
input
output
frie
rsstp-o
rondse
re
The dynamic
behavior of
many real
systems can
be
approximated
as First Order
Plus Dead
Time (FOPDT)
tim
e
d y (t )
P
y (t ) K P u (t P )
dt
P s
KP e
G (s)
P s 1
Time domain
Laplace domain
Second-order systems
Time-domain
2
d
y
dy
representation:
a2 2 a1
a0 y bu (t )
dt
dt
2
d
y
dy
2
2
y Ku(t )
2
dt
dt
Laplace-domain representation:
Y (s)
K
2 2
U ( s ) s 2s 1
Y (s)
K
U ( s ) (1s 1)( 2 s 1)
K = process gain
= natural period
= damping
coefficient
.1
1
8
=
0
.
2
.1
6
.1
4
0
.
4
.1
2
6
.0
0
.0
8
.0
6
.0
4
.0.2
02468t1
0
1
2
1
4
1
6
1
8
2
0
/
y/(K
A
)
Underdamped systems
Open-loop
response to
a input step
disturbance
.1
1
8
.1
6
.1
4
.1
2
1
.
0
.0
0
5
.0
8
2
.
0
=
3
.
0
.0
6
.0
4
.0.2
02468t1
0
1
2
1
4
1
6
1
8
2
0
/
y/(K
A
)
Overdamped systems
Open-loop
response to
a input step
disturbance
<0:
unstable system
(the oscillation amplitude grows indefinitely)
a
c
t
u
a
l
t
r
a
j
e
c
t
o
r
y
.1.4
1
2
co
n
tro
ledvariab
le
.0.0
1
8
.0.6
0
4
d
e
s
i
r
e
d
v
a
l
u
e
.0.2
0
0051015202530
tim
eu
n
its
in
p
u
tan
d
o
u
tp
u
t
Inverse-response systems
outputvariable input
variable
There is an
initial inversion
in the response:
the process starts
moving away
from its ultimate
value
tim
e
The process
output
eventually
heads in the
direction of the
final steady state
Inverse-response systems
(contd)
Disturbance :
step increase in the
cold feedwater
flowrate
Cold feedwater
Hot medium
Output :
level in the boiler
Fundamentals of process
dynamics and control
Process Control
Feedback control
The process information (y) is fed back to the
controller
The objective is to reduce the error signal to
zero, where the error is defined as:
e(t ) y sp (t ) y (t )
ysp
manipulated
comparator
set-point
variable
error
process
controller
controlled
variable
transmitter
Training Course on:
Sustainable Industrial Development: Process Simulation, Analysis, Optimization and Control
SP
LT
LC
rate of mass in
u max , if e 0
u (t )
u min , if e 0
output
dead
band
ON
input
OFF
time
Widely used as
thermostat in
domestic heating
systems,
refrigerators, ;
also in noncritical
industrial applicns
(some level and
heating loops)
inexpensive
Pitfalls
u (t ) u0 K C e(t )
P-only controllers
u (t ) u0 K C e(t )
The bias u0 is the value of the controller output
which, in manual mode, causes the measured
process variable to maintain steady state at the
design level of operation
[e (t )=0] when the process disturbances are at
their expected values
The bias value is assigned at the controller design
level, and remains fixed once the controller is put
in automatic
u u const : at the nominal steady state
0
P-only controllers
Flow in
u (t ) u0 K C e(t )
70 L/h
Nominal operation:
u must be 60 L/h if
SP
LT
LC
Flow out
disturbance
60 L/h
10 L/h
Flow in
SP
LT
If the disturbance
changes to 20 L/h,
the steady state is
maintained only if
u=50 L/h since
70 L/h
disturbance
(contd)
LC
Flow out
50 L/h
P-only controllers
(contd)
u (t ) u0 K C e(t )
What if the disturbance changes during the process?
The manipulated input u must change to guarantee
that the process stays at steady state,
u u0i.e.
A steady state error e 0 must be enforced by the Ponly controller to keep the process at steady state:
u s.s. u0 K C e(t ) u0
controlled variable
increasing KC
Increasing KC :
off-set
set-point
time
conceptually simple
Pitfalls
PI controllers
P=Proportional , I=Integral
The P controller cannot remove off-set because the
only way to change the controller bias during nonnominal operations is to cause e 0
The rationale behind a PI controller is to set the
actual bias different from u0 , thus letting the
error be zero
The control variable is manipulated according to:
1
u (t ) u0 K C e(t ) e(t ) d t
I 0
PI controllers
(contd)
1
u (t ) u0 K C e(t ) e(t ) d t
I 0
Performance of PI controllers
Response to a disturbance step change: effect of KC
open-loop
(KC=0)
The offset is
eliminated
controlled variable
Increasing KC :
fixed
increasing KC
set point
time
For large
values of
the
controller
gain, the
closed-loop
response
mayBangkok,
be 8-12 July, 2002
Performance of PI controllers
(contd)
controlled variable
Increasing
I :
oscillations are
dampened
the process response
is made more sluggish
KC fixed
increasing I
CAUTION
set point
time
For small
values of
the integral
time, the
closed-loop
response
may be
unstable
!
Bangkok, 8-12 July, 2002
Pitfalls
PID controllers
P=Proportional , I=Integral , D=Derivative
i) If the error if increasing very rapidly, a large
deviation from the setpoint may arise in a short
time
ii) Sluggish processes tend to cycle
The rationale behind derivative action is to
anticipate the future behavior of the error signal by
considering its rate of change
The control variable is manipulated according to:
1
d e(t )
u (t ) u0 K C e(t ) e(t ) d t D
d
t
I 0
controlled variable
no derivative action
D = 0
D :
increasing D
CAUTION
set-point
time
Noisy
measurement
s may disrupt
the controller
performance
!
If the measured
dt
dt
controlled variable
+100%
time
manipulated variable
+50%
0
-50%
-100%
time
Pitfalls
Controller selection
recommendations
When steady state offsets can be tolerated, use a
P-only controller (many liquid level loops are on P control)
When offset cannot be tolerated, use a PI controller
(a large proportion of feedback loops in a typical plant are
under PI control)
Performance assessment
P
1.4
1.2
1.05
1.0
0.95
0.8
0.6
0.4
a /b = overshoot
b
A good
decay ratio
is 1/4
(quarter
amplitude
decay)
c /a = decay ratio
P = period of oscillation
0.2
0.0
0 tr tp 5
10 ts 15
20
25
30
Training Course on:
Sustainable Industrial Development: Process Simulation,
Optimization and Control
timeAnalysis,
units
Performance indexes
IAE
controlled variable
time
Tuning guidelines
Fit a FOPDT model to the process data obtained by
step (or pulse) changes in the manipulated
variable
0.586
P / P 0.916
KP
P
0.929
1.03 0.165 P / P
0.859
P / P 0.977
KP
P
0.680
0.674 P / P
Note
C is the larger
of (0.1P )
and (0.8P )
value of error
A disadvantage of feedback
control
In conventional feedback control the corrective
action for disturbances does not begin until after
the controlled variable deviates from the set point
TC
stack gas
TT
hot oil
fuel gas
cold oil
Cascade control # 1
TC
master loop
stack gas
set point
PC
TT
slave loop
PT
hot oil
fuel gas
The performance
can be improved
because the fuel
control valve will be
adjusted as soon as
the change in supply
pressure is detected
cold oil
Cascade control # 2
Fe e d in
Cooling
w ater out
Cooling
w ater in
water increases, it
slowly increases the
reactor T
TT
Cascade control # 2
(contd)
Fe e d in
slave loop
Cooling
w ater out
Cooling
w ater in
TT
TC
set point
TT
TC
master loop
removal rate at a
constant level, and the
reactor temperature is
less affected by the
unknown disturbance
Products out
Training Course on:
Sustainable Industrial Development: Process Simulation, Analysis, Optimization and Control
in manual
2 Tune the slave (inner) loop for set-point tracking first
Control Station
It is a software for process control, analysis,
tuning and training
Developed by Prof. Doug Cooper at the
Chem. Eng. Dept. (Univ. of Connecticut,
Storrs, CT, U.S.A.)
Information on the software at the following
Internet site:
http://www.engr.uconn.edu/control/
Useful references
Seborg, D. E., T. F. Edgar and D. A. Mellichamp (1989).
Process Dynamics and Control, John Wiley & Sons, New York
(U.S.A.)
Ogunnaike, B. A. and W. H. Ray (1994). Process Dynamics,
Modeling and Control, Oxford University Press, New York
(U.S.A.)
Marlin, T. E. (2000). Process Control: Designing Processes and
Control Systems for Dynamic Performance, Mc-Graw-Hill, New
York (U.S.A.)
Riggs, J. B. (1999). Chemical Process Control, Ferret
Publishing, Lubbock (U.S.A.)