Proces Dynamics & Controls PDF
Proces Dynamics & Controls PDF
<
=
0 if ,
0 if ,
) (
min
max
e u
e u
t u
The final control element is either
completely open/maximum, or
completely closed/minimum
dead
band
output
input
ON
OFF time
Widely used as
thermostat in
domestic heating
systems, refrigerators,
; also in noncritical
industrial applicns
(some level and
heating loops)
Process Dynamics
HHS, 8- Sep, 2011
Example
Process Dynamics
HHS, 8- Sep, 2011
Summary for on-off control
Advantages
simple & easy to design
inexpensive
easily accepted among operators
Pitfalls
not effective for good set-point control (the
controlled variable cycles)
produce wear on the final control element (it can be
attenuated by a large dead band, at the expense of a loss of
performance)
Process Dynamics
HHS, 8- Sep, 2011
Common Input Signals
1. Step Input Signal: a sustained instantaneous
change
e.g. Unit step input introduced at time 1
0 1 2 3 4 5 6 7 8 9 1 0
0
0 . 5
1
1 . 5
I
n
p
u
t
T i m e
0 1 2 3 4 5 6 7 8 9 1 0
0
0 . 2
0 . 4
0 . 6
0 . 8
1
1 . 2
1 . 4
Process Dynamics
HHS, 8- Sep, 2011
Common Input Signals
2. Ramp Input: A sustained constant rate of change
e.g.
0 1 2 3 4 5 6 7 8 9 1 0
0
1
2
3
4
5
6
7
8
9
I
n
p
u
t
T i m e
0 1 2 3 4 5 6 7 8 9 1 0
- 1
0
1
2
3
4
5
6
7
8
O
u
t
p
u
t
T i m e
Process Dynamics
HHS, 8- Sep, 2011
Common Input Signals
3. Pulse: An instantaneous temporary change
e.g. Fast pulse (unit impulse)
0 1 2 3 4 5 6 7 8 9 1 0
0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
1 0 0
I
n
p
u
t
T i m e
0 1 2 3 4 5 6 7 8 9 1 0
- 0 . 0 5
0
0 . 0 5
0 . 1
0 . 1 5
0 . 2
0 . 2 5
0 . 3
0 . 3 5
0 . 4
0 . 4 5
T i m e
O
u
t
p
u
t
Process Dynamics
HHS, 8- Sep, 2011
Common Input Signals
3. Pulses:
e.g. Rectangular Pulse
0 1 2 3 4 5 6 7 8 9 1 0
0
0 . 5
1
1 . 5
I
n
p
u
t
T i m e
0 1 2 3 4 5 6 7 8 9 1 0
- 0 . 2
0
0 . 2
0 . 4
0 . 6
0 . 8
1
1 . 2
O
u
t
p
u
t
T i m e
Process Dynamics
HHS, 8- Sep, 2011
Common Input Signals
4. Sinusoidal input
0 5 1 0 1 5 2 0 2 5 3 0
- 1 . 5
- 1
- 0 . 5
0
0 . 5
1
1 . 5
I
n
p
u
t
T i m e
0 5 1 0 1 5 2 0 2 5 3 0
- 0 . 8
- 0 . 6
- 0 . 4
- 0 . 2
0
0 . 2
0 . 4
0 . 6
0 . 8
O
u
t
p
u
t
T i m e
Process Dynamics
HHS, 8- Sep, 2011
Common Input Signals
5. Random Input
0 5 1 0 1 5 2 0 2 5 3 0
- 1 . 5
- 1
- 0 . 5
0
0 . 5
1
1 . 5
I
n
p
u
t
T i m e
0 5 1 0 1 5 2 0 2 5 3 0
- 0 . 8
- 0 . 6
- 0 . 4
- 0 . 2
0
0 . 2
0 . 4
0 . 6
O
u
t
p
u
t
T i m e
Process Dynamics
HHS, 8- Sep, 2011
Feedback control
) ( ) ( ) ( t y t y t e
sp
=
y
sp
= set point (target value)
y = measured value
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:
process
transmitter
controller
disturbance
comparator manipulated
variable
controlled
variable
+
error
set-point
y
sp
y
Process Dynamics
HHS, 8- Sep, 2011
The typical control problems
C Regulatory control
the task is to counteract the effect of external
disturbances in order to maintain the output at its
constant set-point (disturbance rejection)
C Servo control
the objective is to cause the output to track the
changing set-point
In both cases, one or more variables are
manipulated by the control system
Process Dynamics
HHS, 8- Sep, 2011
Material balance control # 1
Liquid holdup control
(level control)
LT
LC
SP
Flow in
Flow out
If the level h tends to
increase, the error
(h
sp
h) decreases
The controller sends a
signal to the control valve
actuator
The flow out is increased
The level in the tank
decreases
Process Dynamics
HHS, 8- Sep, 2011
Material balance control # 1 (contd)
The controllers job is to enforce the total mass balance
around the tank, in order to have neither accumulation nor
depletion of liquid matter inside the tank
rate of mass out = rate of mass in
set by the controller unknown to the controller
The equality is enforced by the controller
regardless of the value of the level set-point
Process Dynamics
HHS, 8- Sep, 2011
Process Modeling
For control applications:
Modeling objectives is to describe process dynamics
based on the laws of conservation of mass, energy and
momentum
The balance equation
1. Mass Balance (Stirred tank)
2. Energy Balance (Stirred tank heater)
Rate of Accumulation
of fundamental quantity
Flow
In
Flow
Out
Rate of
Production
=
-
+
Process Dynamics
HHS, 8- Sep, 2011
Process Modeling
Application of a mass balance
Holding Tank
Modeling objective: Control of tank level
Fundamental quantity: Mass
Assumptions: Incompressible flow
h
F
F
in
Process Dynamics
HHS, 8- Sep, 2011
Process Modeling
Total mass in system = V = Ah
Flow in = F
in
Flow out = F
Total mass at time t = Ah(t)
Total mass at time t+t = Ah(t+t)
Accumulation Ah(t+t) Ah(t) = t(F
in
-F ),
lim
( ) ( )
( ),
t
in
Ah t t Ah t
t
F F
+
=
0
Ah t t Ah t
t
F F
in
( ) ( )
( ),
+
=
A
dh
dt
F F
in
= ( ).
Process Dynamics
HHS, 8- Sep, 2011
Process Modeling
Model consistency
Can we solve this equation?
Variables: h, , F
in
, F, A 5
Constants: , A 2
Inputs: F
in
, F 2
Unknowns: h 1
Equations 1
Degrees of freedom 0
There exists a solution for each value of the inputs F
in
, F
Process Dynamics
HHS, 8- Sep, 2011
Process Modeling
Energy balance
Objective: Control tank temperature
Fundamental quantity: Energy
Assumptions: Incompressible flow
Constant hold-up
M
T
in
, w
Q
T, w
Process Dynamics
HHS, 8- Sep, 2011
Process Modeling
Under constant hold-up and constant mean
pressure (small pressure changes)
Balance equation can be written in terms of the
enthalpies of the various streams
Typically work done on system by external forces is
negligible
Assume that the heat capacities are constant such that
dH
dt
H H Q
in out
= +
& &
dH
dt
H H Q W
in out s
= + +
& &
H C V T T
P ref
= ( )
&
( ) H C w T T
out P ref
=
&
( ) H C w T T
in P in ref
=
Process Dynamics
HHS, 8- Sep, 2011
Process Modeling
After substitution,
Since T
ref
is fixed and we assume constant ,C
p
Divide by C
p
V
C V
d T T
dt
C w T T C w T T Q
P
ref
P in ref P ref
( )
( ) ( )
= +
d C V T T
dt
C w T T C w T T Q
P ref
P in ref P ref
( ( ))
( ) ( )
= +
dT
dt
w
V
T T
Q
C V
in
P
= + ( )
Process Dynamics
HHS, 8- Sep, 2011
Process Modeling
Resulting equation:
(lets use F instead of w)
Model Consistency
Variables: T, F, V, T
in
, Q, C
p
, 7
Constants: V, C
p
, 3
Inputs: F, T
in
, Q 3
Unknown: T 1
Equations 1
There exists a unique solution
dT
dt
F
V
T T
Q
VC
in
P
= + ( )
Process Dynamics
HHS, 8- Sep, 2011
Types of feedback controllers
There are three basic types of feedback
controllers;
Proportional,
Proportional-integral and
Proportional-integral-derivative.
Process Dynamics
HHS, 8- Sep, 2011
Proportional (P) controllers
The control variable is manipulated according to:
) ( ) ( t e K c t c
C s
+ =
C
s
is the controller bias
K
C
is the controller gain
The controller gain can be adjusted (tuned) to make the
manipulated variable changes as sensitive as desired to
the deviations between set-point and controlled variable
The sign of K
C
can be chosen to make the controller
output c(t) increase or decrease as the error increases
Process Dynamics
HHS, 8- Sep, 2011
P-only controllers
const = =
s
c c
: at the nominal steady state
The bias C
s
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
) ( ) ( t e K c t c
C s
+ =
Process Dynamics
HHS, 8- Sep, 2011
P-only controllers (contd)
The manipulated input c must change to guarantee that
the process stays at steady state, i.e.
What if the disturbance changes during the process?
s
c c
A steady state error e 0 must be enforced by the P-only
controller to keep the process at steady state:
A P-only controller cannot remove off-set
s C s s s
c t e K c c + = ) (
. .
) ( ) ( t e K c t c
C s
+ =
Process Dynamics
HHS, 8- Sep, 2011
no control
(K
C
=0)
off-set
set-point
increasing K
C
c
o
n
t
r
o
l
l
e
d
v
a
r
i
a
b
l
e
time
Performance of P-only controllers
Response to a disturbance step change
Whatever the value of
K
C
, the offset is reduced
with respect to open-loop
operation
Increasing K
C
:
the offset is reduced
the system may oscillate
the process response is
speeded up
Although the open-loop
response may be 1
st
order, the closed-loop
one is not
Process Dynamics
HHS, 8- Sep, 2011
Summary for P-only control
Advantages
conceptually simple
easy to tune (a single parameter is needed, K
C
; the bias
is determined from steady state information)
Disadvantage
cannot remove off-set (off-set is enforced by the
controlled)
Process Dynamics
HHS, 8- Sep, 2011
PI controllers
|
|
\
|
+ + =
t
I
C s
t t e t e K c t c
0
d ) (
1
) ( ) (
c
s
is the controller bias
K
C
is the controller gain
I
is the integral time const.
(also called reset time)
P=Proportional , I=Integral
integral action contribution
The P controller cannot remove off-set because the only
way to change the controller bias during non-nominal
operations is to cause e 0
The rationale behind a PI controller is to set the actual
bias different from c
s
, thus letting the error be zero
The control variable is manipulated according to:
Process Dynamics
HHS, 8- Sep, 2011
PI controllers (contd)
|
|
\
|
+ + =
t
I
C s
t t e t e K c t c
0
d ) (
1
) ( ) (
\
|
+ + + =
t
t e
t t e t e K c t c
D
t
I
C s
d
) ( d
d ) (
1
) ( ) (
0
D
is called derivative time const.
i) If the error is increasing very rapidly, a large deviation
from the setpoint may arise in a short time
ii) Sluggish processes tend to cycle
P=Proportional , I=Integral , D=Derivative
derivative action contribution
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:
Process Dynamics
HHS, 8- Sep, 2011
Performance of PID controllers
Response to a disturbance step change
Increasing
D
:
the oscillations caused by
the integral action are
dampened
the process response is
speeded up
no derivative action
D
= 0
increasing
D
set-point
c
o
n
t
r
o
l
l
e
d
v
a
r
i
a
b
l
e
time
Process Dynamics
HHS, 8- Sep, 2011
Summary for PID control
Advantages
oscillations can be dampened with respect to PI control
Disadvantages
tuning is harder than PI (three parameters must be specified, K
C
,
I
and
D
)
the derivative action may amplify measurement noise potential
wear on the final control element
Use of derivative action
avoid using the D action when the process is not sluggish
Process Dynamics
HHS, 8- Sep, 2011
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)
When it is important to compensate for some natural
sluggishness in the system, and the process signal are
relatively noise-free, use a PID controller
Process Dynamics
HHS, 8- Sep, 2011
Recommendations
Chapter 13 & 14 of Chemical
Process Control
Chapter: 13 Introduction to feedback control
Chapter: 14 Dynamic behavior of feedback-
controlled process
Author: George Stephanopoulos
Process Dynamics
HHS, 8- Sep, 2011
0 5 10 15 20 25 30
0.0
0.2
0.4
0.6
0.8
1.0
1.2
1.4
t
s
t
p
t
r
0.95
1.05
P
c
b
a
n
o
r
m
a
l
i
z
e
d
c
o
n
t
r
o
l
l
e
d
v
a
r
i
a
b
l
e
time units
Performance assessment
t
r
= rise time
t
p
= time to first peak
t
s
= settling time
a /b = overshoot
c /a = decay ratio
P = period of oscillation
A good
decay ratio is
1/4 (quarter
amplitude
decay)
(set-point tracking problem)