PMC 06 Controller Tuning Loop Optimization
PMC 06 Controller Tuning Loop Optimization
CONTROLLER
CONTROL LOOP OPTIMIZATION
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
OUTLINE
• B i principle
Basic i i l off controller
t ll tuning
t i
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
LEARNING OBJECTIVES
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
WHAT MEANS GOOD TUNED CONTROLLER?
CONTROLLER?
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
COMMON PROBLEMS IN CONTROL LOOPS
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
SPEED VERSUS STABILITY
• The fundamental trade-off in control loop tuning is between a
control loop’s
loop s speed and stability
stability;
• If you increase increase speed of response to a SP change or
disturbance, the loop becomes less stable.
• If you increased
i d th
the speedd more, ththe control
t l lloop will
ill eventually
t ll
become completely unstable;
• If a control loop is tuned for stability its speed of response suffers.
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
ROBUSTNESS
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
CONTROL LOOP SPEED OF THE RESPONSE
• Due to the dynamic characteristics of the process and
control loop actual deviation from SP can not be removed
instantly;
• The control loop can always be adjusted for a slower
response but can not always be adjusted for faster response
response,
because it will become unstable;
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
CONTROLLER TUNING PROCEDURE
• In controller tuning the term PROCESS includes all elements between
the output of the controller (OP) and the input to the controller (PV);
• To optimize
T ti i the
th controller
t ll it iis necessary tto d
determine
t i ththe
following process parameters:
process gain
p g ((K),
),
dead time (Θ),
time constant (τ) ili integrating rate (ri)
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
CONTROLLER TUNING – PARAMETER OPTIMIZATION
DV
CV
PROCESS
PROCES S
MV
Time constant - τ
Process (steady state) gain-
gain- k
Dead time - θ
Controller gain-
gain- kc
PV
Integral time - τi
D i ti time
Derivative ti - τd
OP e
ALGORITHM
CONTROLLER SP
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
CONTROL LOOP TUNING METHODS
1 Trial
1. Trial--and
and--error tuning
- Ziegler
Ziegler--Nichols method appeared in 1942;
- Cohen
Cohen--Coon method published roughly decade after;
- Most other methods are modifications of the above methods;
3. Automatic tuning (self
self--tuning
tuning))
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
CONTROL LOOP TUNING PROBLEMS
2. Process nonlinearites
4 Measurement noise
4.
7 Improper
7. I nesting
ti off cascade
d loops
l
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
1 – TRIAL AND ERROR METHOD
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
1 - TRIAL AND ERROR METHOD
Control loop FC PC LC TC AC
Controller type PI PI P, PI PI, PID PID
P [%/%] 0,1-3 1-20 0,2-10 0,5-10 0,1-5
I [min] 0,1-6 0,5-20 15-1000 5-100 10-200
0-2 0,5-4
D [min] - 0.5-3 0,5-4
rarely rarely
Settling time [min] 0,5-2 0,5-6 --- 15-90 60-720
Noise offtten rarely somettiimes rarely occasionalllly
Nonlinearity quadratic linear linear exists exists
• If you are adventorous and have enough time, you can also
change the third controller parameter (derivative time) and
interatively go back to the other two until you finally have an
optimally
ti ll tuned
t d controller;
t ll
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
1 – TRIAL AND ERROR METHOD
OBSERVATION
Loop seems sluggish Loop oscillates or
overshoots set point
p
Corrective action
Control g
gain Increase Decrease
Proportional band Decrease Increase
Integral time
Decrease Increase
(min or sec)
Integral gain
Increase Decrease
(repeat / min or sec)
Derivative time or Try a small decrease.
derivative gain Try a small increase If condition
If condition worsens,
worsens, decrease.
(min or sec) increase.
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
TRIAL AND ERROR – P CONTROLLER
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
TRIAL AND ERROR METHOD – PI CONTROLLER
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
TRIAL AND ERROR METHOD – PID CONTROLLER
Vrijeme (min)
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
2 – STANDARD (TRADITIONAL) TUNING METHODS
• Open
O
Open-
-loop
l methods
th d
• Closed
Closed--loop methods
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
2 – CONTROLLER TUNING PROCEDURE
p 1 – Process testing
Step g
• It is necessary to cause OP step change (step test
test)).
• Th put the
They h controll lloop iin sustained
i d cycling;
li
For many
y loops,
p , the severity
y of such a test is unacceptable.
p
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
Z–N CLOSED LOOP METHOD TUNING PROCEDURE
TUNING PROCEDURE:
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
Z–N METHOD: Continous oscillation test
Temperature
(°C)
Vallve opening
(%)
Time(min)
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
ZIEGLER–
ZIEGLER–NICHOLS OPEN LOOP METHOD
TUNING PROCEDURE:
PROCEDURE:
4
4. Based on empirical relationship ( table on the following slide!)
slide!)
calculate controller parameters.
parameters.
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
ZIEGLER–
ZIEGLER–NICHOLS OPEN LOOP METHOD
Tangent
perature
((°C)
Temp
Steady-state
ve opening
(%)
Valv
Time (min)
© Laboratory for Automatics and Measurement, Faculty of Chemical Engineering and Technology University of Zagreb
Z–N OPEN LOOP METHOD