Professional Documents
Culture Documents
Tuning Workshop
PID Controllers
What is Controller?
Fuel flow TT
Furnace
TC
Set Value
CP0420
PID Controller Key Concepts
TC
Process
TC
Process
G c = Controller Gain
in = deviation or (PV-SV)
Also:
100% = Proportional Band (PB)
G c
Shell Global Solutions 7
CP0520
Proportional-only control
Controller output
( MV )
100%
50
Controller input
( PV )
0 20 50 80 100%
CP0585
Proportional-only control
Low Gain
Set value
Deviation Offset
Process variable
time
High gain
Set value
Offset
Deviation
time
- smaller offset
- less damping of measured value
Shell Global Solutions 9
CP0560
Proportional-only control - Offset
Offset
temperature
time
CP0550
Proportional action
• Proportional action gives an output signal proportional to the size of the
error.
• Proportional action can be tuned via the Controller Gain (Gc)
• Proportional action will leave an offset between SP and PV.
DOP = K * D
With:
= (PVP – SPP)
PVP = PV / “Range” * 100 % = PV / (PVEUHI – PVEULO) * 100 %
SPP = SP / “Range” * 100 % = SP / (PVEUHI – PVEULO) * 100 %
Dout = 1 0 q(t) dt
ti
Integral action therefore provides a signal which depends the
length of time a deviation has existed.
Integral action time ti is defined as the time taken for the
controller output to change by the same amount from integral
action as that from proportional action.
CP0570
Integral action
Deviation
Time
Controller Output
Time
Controller Output
Proportional + Integral Action
Proportional Action Only
Change due to the Proportional Action
Time
ti
Controller Output
Proportional + Integral Action
Proportional Action Only
Change due to the Proportional Action
Time
ti
Time
ti
80 100.00
70 90.00
Set point / Process Value
80.00
60
70.00
Output (%)
50 60.00 SP
(EU)
40 50.00 PV
Integral action eliminates the off set
30 40.00 OP
Initial kick from proportional action 30.00
20
20.00
10 10.00
0 0.00
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
Time (minutes)
Deviation
Process Variable
time
Deviation
Process Variable
time
Deviation
time
Controller output
Derivative action only
time
Controller output
Proportional + Derivative action
Proportional action only
change due to the Proportional action
time
td
Shell Global Solutions 18
CP0610
Derivative Action Definition
Dout = td
dq
dt
Derivative action therefore provides a signal which depends on
the rate-of-change of deviation
CP0600
Proportional & Integral & Derivative action
• Disturbance at t = 10 (min). Initial kick in output from proportional and
derivative action; integral action increases OP further; when PV starts to
move derivative action brings OP quickly back to steady state value.
PI controller - with derivative action
(Kp = 1; Tp = 6; Td = 2; Kc = 2.3; Ti = 6; Tder = 0.6)
80 100.00
70 90.00
80.00
Set point / Process
60
70.00
Output (%)
Value (EU)
50 60.00 SP
40 50.00 PV
30 40.00 OP
30.00
20
20.00
10 Disturbance of - 5 10.00
0 0.00
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
Time (minutes)
80 100.00
70 90.00
80.00
Set point / Process
60
70.00
Output (%)
Value (EU)
50 60.00 SP
40 50.00 PV
30 40.00 OP
30.00
20
20.00
10 Disturbance of - 5 10.00
0 0.00
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
P + I action
(without Derivative action)
Set value
Deviation
Process Variable
time
P + I + D action
Set value
Deviation
Process Variable
time
CP0620
PID controller actions - summary
• Proportional action
Dout = Gc * Din = Gc * Dq
• Integral (reset) action
t
Dout =
1q(t).dt
ti 0
• Derivative action
Dout = td dq
dt
• P + I + D controller
t
Out = Gc * q +
1 q(t).dt + td dq
i
0
t dt
for a P-only controller Out = Gc * q + 50%
Shell Global Solutions 23
CP0630
Controller Responses
Proportional control
Offset
Offset
• P-Only Controllers:
•Used when offset is uncritical (some level
applications).
• PI controllers are used in 95% of the applications:
•When offset is undesirable
• On applications having long dead time and time
constant use PID except if the measurement is noisy.
•Examples
- PI x x x x
- PID x x
- PIT x x x
- I-only x
One Overshoot
Set Value
One Undershoot
Process Variable
Time
Direct-Acting
C-1 Controller
Output
LC
Pump
increase of PV leads to increase of OP of
controller with constant SP
LC
Output
Reverse-Acting Controller
Pump
increase of PV leads to decrease of
OP of controller with constant SP
Quick Opening
High gain when valve is nearly closed
Low gain when valve is nearly open