Professional Documents
Culture Documents
PID Tuning Methods
PID Tuning Methods
PID Tuning Methods
B
C
Time
Performance Assessment
Upper Limit
Product Composition
Lower Limit
0 1 2 3 4 5 6 7
Time (days)
Classical Tuning Methods
CA0=-0.5
2
T' (K)
CA0=0.5
-2
0 40 80 120 160
Time (seconds)
Controller Reliability
• Is determined by the combination of the following
factors
– Process nonlinearity
– Disturbance type
– Disturbance magnitude and duration
• If process nonlinearity is high but disturbance
magnitude is low, reliability is good.
• If disturbance magnitude is high but process
nonlinearity is low, reliability is good.
Tuning Criterion Selection
LC
L
Plug Flow Reactor
D
Tuning Criterion Selection
Product
Feed
LC
Product
Product
Product
Tuning Criterion Selection Procedure
• First, based on overall process objectives,
evaluate controller performance for the loop
in question.
• If the control loop should be detuned based
on the overall process objectives, the tuning
criterion is set.
• If the control loop should be tuned
aggressively based on the overall process
objectives, the tuning criterion is selected
based on a compromise between
performance and reliability.
Selecting the Tuning Criterion
based on a Compromise between
Performance and Reliability
2.1
performance, but the
2 more likely the
DR=1/6
1.9 controller can go
0 50 100 150 200 unstable.
Time (seconds)
Filtering the Sensor Reading
• For most sensor readings, a filter time
constant of 3 to 5 s is more than adequate
and does not slow down the closed-loop
dynamics.
• For a noisy sensor, sensor filtering usually
slows the closed-loop dynamics. To
evaluate compare the filter time constant
with the time constants for the acutator,
process and sensor.
Recommended Tuning Approach
c
ys
b
a
Time
Field Tuning Approach
• Decrease Kc by 10%.
• Make initial estimate of I (i.e.,I=5p).
• Reduce I until offset is eliminated
• Check that proper amount of Kc and I are used.
c
b
ys
Time
An Example of Inadequate
Integral Action
Time
ZN ZN
K c 0.45 K u I Pu / 1.2 • ZN settings
2.2
Mole Percent
Open Loop Test
2.1
ATV Test
2
1.9
0 20 40 60
Time (hours)
1
FT=1.6 FT=0.4
0
0 500 1000 1500 2000
Time (minutes)
0.9
0.8
0.7
0.6
0.5
0 50 100 150 200
Time (minutes)
CST Composition Mixer
Example
• Calculate Ku
• Calculate ZN settings
• Apply online tuning
Online Tuning for CST
Composition Mixer Example
Concentration 0.76
0.72
• FT=0.75
0.68
0 100 200
Time (minutes)
0.76
Concentration
0.72
0.68 • FT=0.5
0.64
0 100 200
Time (minutes)
Control Performance for Tuned
Controller
0.78
Concentration (gmoles/l)
0.76
0.74
0 50 100 150 200
Time (minutes)
Critically Damped Tuning for
CST Composition Mixer
0.76
Concentration
0.72
0.68
0 100 200
Time (minutes)
Comparison Between 1/6 Decay
Ratio and Critically Damped
Tuning
0.78
Concentration (gmoles/l)
Critically
Damped
0.76
0.74
0 50 100 150 200
Time (minutes)
Demonstration: Visual Basic
Simulator
ATV based tuning
PID Tuning Procedure
• Tune PI controller using field tuning or ATV
identification with online tuning.
• Increase D until minimum response time is
obtained. Initially set D=Pu/8.
• Increase D and Kc by the same factor until
desired response is obtained.
• Check response to ensure that proper amount of
integral action is being used.
Comparison between PI and PID
for the Heat Exchanger Model
120
Temperature (ºF)
115
110
105
100
0 50 100
Time (seconds)
Comparison of PI and PID
PID
PI
Time
• The derivative action allows for larger Kc which in
turn results in better disturbance rejection for
certain processes.
Demonstration: Visual Basic
Simulator
PID Tuning Example
Initial Settings for Level
Controllers for P-only Control
• Based on critically damped
FMAX response.
Kc • FMAX is largest expected
LMAX change in feed rate.
• LMAX is the desired level
change under feedback control.
• Useful as initial estimates for
slow responding level control
systems.
Initial Settings for Level
Controllers for PI Control
• Ac is cross-sectional area to
0.736 FMAX tank and is liquid density.
Kc
LMAX • FMAX is largest expected
change in feed rate.
4 Ac
I • LMAX is the desired level
Kc change under feedback control.
• Useful as initial estimates for
slow responding level control
systems.
Initial Settings for Level
Controllers
• Use online tuning adjusting Kc and I with
FT to obtain final tuning.
• Remember that Kc is expressed as
(flow rate/%); therefore, height difference
between 0% and 100% is required to
calculate I.
In-Class Example
• Calculate the initial PI controller settings
for a level controller with a critically
damped response for a 10 ft diameter tank
(i.e., a cylinder placed on its end) with a
measured height of 10 ft that normally
handles a feed rate of 1000 lb/h. Assume
that it is desired to have a maximum level
change of 5% for a 20% feed rate change
and that the liquid has a density
corresponding to that of water.
Control Interval, t
• t is usually 0.5 to 1.0 seconds for regulatory loops
and 30 to 120 seconds for supervisory loops for
DCS’s.
• In order to adequately approach continuous
performance, select the control interval such that:
t < 0.05(p+p)
• For certain processes, t is set by the timing of
analyzer updates and the previous formula can be
used to assess the effect on control performance
Effect of Control Interval on
Control Performance
• p =0.5
continuous
• When the controller
settings for continuous
control are used with
t=0.5, instability results.
y