Tuning of PID Controllers in
Both Open and Closed Loop
Control Systems
Technology Training that works
Tuning of Closed Loop Control Systems
z
z
z
z
z
z
Why Tune ?
Open loop tuning procedure
Closed loop tuning procedure
Damped oscillation tuning method
Other tuning conditions
Fine tuning of practical control loops
Technology Training that works
Objectives of Tuning (1)
1 - Minimize Integral of error
Technology Training that works
Objectives of Tuning (2)
2 - Minimize Amplitude of error squared
Technology Training that works
Other Aspects of Tuning (3,4,5)
3 - Minimize wear and tear
4 - No overshoot at Start Up
5 - Minimize effect of known disturbances
Technology Training that works
Loop Controller and Process
Technology Training that works
Steps of Open Loop Tuning
(Reaction Curve)
1. Put controller in
manual mode
2. Make a step change
to the OP value
3. Observe Reaction
Curve
4. Calculate timing
constants
Reaction curve
Technology Training that works
Open Loop Tuning Method (2)
Technology Training that works
Reaction Curve Calculations
P - Control
KC = OP % ( N L )
PI - Control
KC = 0.9 OP% N L
PID - Control
Tint = 3 L
KC = 12
. OP%
NL
Tint = 2 L
Tder = 0.5 L
Technology Training that works
Open Loop Tuning - Exercise #7
Single Loop control with Real PID
Controller mode to manual (F3)
Establish PVE steady at 50% (1000)
Step output from 50% to 65%
Determine L-lag and N-slope values
Technology Training that works
Continuous Cycling - Ziegler & Nichols
Find critical value of K for continuous oscillations
Do not use I or D - control
Observe critical frequency for 180 phase shift
Stabilize loop by reducing K and ensure that I & D
control still gives a phase lead
Technology Training that works
P-only for Continuous Cycling
Method
Technology Training that works
Reaction Curve Method (Ziegler & Nichols)
If we know the exact value of the effective lag
of an industrial process, then we are in the position
to find the frequency matching with the 180 phase
shift (and thence optimum tuning constants).
Technology Training that works
Continuous Cycling Method
1. Put controller in P - control only
2. P - control on ERR = (SP - PV)
3. Controller in Auto
4. Step change to SP
5. Double value of K until continuous cycling
6. Calculate tuning constants
Technology Training that works
Calculation of Tuning Constants
P - Control
KC = 0.5 KU
PI - Control
KC = 0.45 KU
P
Tint = U 1.2
PID - Control
KC = 0.6 KU
P
Tint = U 2
P
Tder = U 8
Technology Training that works
First Order Lag
Technology Training that works
First Order Lag Response Curve
Technology Training that works
Closed Loop Tuning - Exercise #8
Single Loop control with Real PID
Control to P-only - Tint = 999, Tder = 0
Adjust gain (K) for continuos oscillation
Step SPE from 1000 > 1100
Record gain-K and period for calculations
Technology Training that works
Damped Cycling Method
Variation on continuous cycling ....
to avoid danger to process ...
but damped oscillations are acceptable
requires some subjective evaluation
Technology Training that works
Damped Oscillation Decay Ratio
Technology Training that works
Steps of Damped Cycling Method
1. Put controller in P - control
2. P - control on ERR = (SP - PV)
3. Controller into Auto
4. Double K until oscillations.
5. Terminate immediately
6. Calculate tuning constants
Estimate damping of oscillation
Convert P into Pu using diagram
Technology Training that works
Convert P into Pu
using diagram
Estimate damping
of oscillation
(d) ... 0.5 acceptable
Technology Training that works
Calculate Tuning Constants
PI - Control
Tint =
PID - Control
Tint =
Tder =
(P
Rd )
1.2
P
Rd = u p
(P R )
d
(P R )
d
K determined by good judgement.....
Technology Training that works
Tuning for NO Overshoot on Start-up
Variation of continuous cycling method
When no overshoot even for start-up is
permitted (manual auto)
Technology Training that works
Formula for NO Overshoot on Start-up
Same as for continuous cycling
Formula for PID - control
KC = 0.2 KU
Tint =
PU
Tder =
PU
3
2
Technology Training that works
Tuning for SOME Overshoot on Start-up
Variation of continuous cycling method
No overshoot during normal modulating
control only
Technology Training that works
Formula for Some Overshoot on Start-up
Same as for continuous cycling
Formula for PID - control
K C = 0.33 KU
Tint =
PU
Tder =
PU
2
3
Technology Training that works
Choice of Tuning Constant (1)
Level Control
Maintain flow as
constant as possible
to downstream
equipment
Medium response
Tune as slowly as possible without overfilling or emptying
the tank
Technology Training that works
Choice of Tuning Constants (2)
Flow Control
Maintain constant flow
Aim for fast response
Small process lag in system
Tune for fast as possible response
Technology Training that works
Choice of Tuning Constants (3)
O utlet
Inlet
T2
SP
PV
TC
Temperature Control
Maintain a steady temperature
Major process lag and dead time in the system
Tune as quickly as possible without causing oscillations
Technology Training that works