Pengendali PID
(Proportional,
Integrator, Derivative)
Hamid/Fauzan Amir
PID Control 1
Maret 2005
Tujuan
Memahami pengendalian PID
Memahami fungsi dari tiap-tiap bentuk pengendalian PID
(P&I&D)
Dapat memilih kombinasi yang baik dan melakukan tuning dari
PID untuk berbagai penerapan pengendalian proses.
Mengetahui fitur tambahan yang diinstal ke dalam pengendali
yang diterapkan dalam praktek
PID Control 2
Maret 2005
PID Control 3
Maret 2005
PID Control 4
Maret 2005
Konsep Kunci(1)
Aksi Proses
• Definisi hubungan antara perubahan pada
valve dan perubahan pada variabel
proses
DIRECT Peningkatan posisi valve
mengakibatkan peningkatan pada
variabel proses
REVERSE Peningkatan posisi valve
mengakibatkan penurunan pada variabel
proses
PID Control 5
Maret 2005
PID Control 6
Maret 2005
PID Control 7
Maret 2005
PID Control 8
Maret 2005
PID Control 9
Maret 2005
CO = P .e
SP
+
e CO
P = proportional Gain (dimensionless)/ Kp
PP
CO = controller output (%) PVm
b = Bias (%) (dikenal juga sebagai manual reset) BIASANYA 0
e = ( SP – PVm ) (%) “reverse process, direct control”, atau
e = – ( SP – PVm ) (%) “direct process, reverse control”
PB =
100
CO. = P e= 100 e
P PB
PID Control 10
Maret 2005
PVm
SP
Large P
Small P
time
PID Control 11
Maret 2005
PVm
SP
Manual reset
P constant
Manual reset
time
PID Control 12
Maret 2005
Tm = integral time (minute per repeat or PVm
second per repeat)=1/I=1/Ki
CO = controller output (%)
e = ( SP – PVm ) (%) “reverse action” or
e = – ( SP – PVm ) (%) “direct action”
Some manufacturers use repeat per minute (or repeat per second)
instead of minute per repeat (or second per repeat)
• Repeat per minute (or second) is the time it takes the reset (or integral) element to
repeat (reset) the action of the proportional element
e dt
1
repeat per minute (Tr) =
minute per repeat (Tm) CO = I
PID Control
13
Maret 2005
I-only
Small P
time
PID Control 14
Maret 2005
Mode Proportional-Integral(1)
PP
SP
+
e 11 CO
TTmm
dt
PVm
1
CO = P (e +
Tm e dt )
PID Control 15
Maret 2005
in magnitude to
Proportional
response
Response due to
Proportional P
control action
Tm time
Error
0
time
PID Control 16
Maret 2005
PVm PI
SP
P-only
I-only
Small P
time
PID Control 17
Maret 2005
CO = D de SP
+
e d CO
dt D
D dt
PVm
D = derivative time (minute or second) = Kd
CO = controller output (%)
e = ( SP – PVm ) (%) “reverse action” or
e = – ( SP – PVm ) (%) “direct action”
PID Control 18
Maret 2005
PID Control 19
Maret 2005
d b
D
D dt +
SP e + CO
+
PP
+
+
PVm
de
)
CO = P (e + D dt + b
PID Control 20
Maret 2005
Theoretical
Actual
Response due to
Proportional mode
only
D
time
Ramp
Generator OFF
Error
Ramp
Generator ON time
PID Control 21
Maret 2005
PD
P-only
Small P
time
PID Control 22
Maret 2005
11
TTmm
dt
SP e + CO
+ +
PP
+
d
D
D dt
PVm
1 de
CO = P (e +
Tme dt + D dt )
PID Control 23
Maret 2005
time
PID Control 24
Maret 2005
PID Control 25
Maret 2005
PID Control 26
Maret 2005
PID Control 27
Maret 2005
y
PVm
ysp
SP
c
CO
Time
Anti-Reset Windup
ySPsp y
PVm
c
CO
Time
When the manipulated variable saturates, the integral is not allowed
to accumulate
When control returns, the controller takes immediate action and the
process returns smoothly to the setpoint
PID Control 29
Maret 2005
PID Control 30
Maret 2005
PID Control 31
Maret 2005
True Setpoint
Internal Setpoint
Time
PID Control 32
Maret 2005
w/ bumpless transfer
Time
PID Control 33
Maret 2005
Derivative
Spike
MV
SP
PVm
time
Fig. Process variable and valve response
to a setpoint change using standard PID
PID Control 34
Maret 2005
d
PP .D
D dt
PVm
1 dPVm
CO = P (e +
Tm ) .
e -P D
dt
PID Control 35
Maret 2005
MV
SP
PVm
time
Fig. Process variable and valve response
to a setpoint change using
“Derivative on Process Measurement” PID
PID Control 36
Maret 2005
PID Control 37
Maret 2005
PID Control 38
Maret 2005
MV
Gain
response
SP
PVm
time
Fig. Process variable and valve response
to a setpoint change using
“Gain on error and Derivative on Process Measurement” PID
PID Control 39
Maret 2005
SP e
+ PP
TTmm
dt
+ CO
PP
d
PP .D
D dt
PVm
P dPVm
CO =
Tm
e dt + P ( PVm +
dt
)
PID Control 40
Maret 2005
MV
SP
PVm
time
Fig. Process variable and valve response
to a setpoint change using
“Gain and Derivative on Process Measurement” PID
PID Control 41
Maret 2005
Continuous signal
t
sample
t = sampling time
2t
1 de
Continuous form: CO = P (e +
Tm
e dt + D dt )
t D
Digital form: CO = P [ei + T
m
ei + t (ei – ei-1) ]
i = sampling instant
PID Control 43
Maret 2005
t D
COi = P[ ei +T
m
ei dt + t (ei – ei-1) ]
• Velocity form
Inherently have anti reset windup feature
t D
COi = COi-1 + P [ (ei – ei-1) + ei + t (ei – 2ei-1+ei-2) ]
Tm
PID Control 44
Maret 2005
Not used
Algorithm D Not used Error
PID Control 45
Maret 2005
PID Control 46
Maret 2005
P-only
PI
PID
PID Control 47
Maret 2005
PID Control 48
Maret 2005
PID Control 49
Maret 2005
Temperature control
Wide variety of the process nature
Usually slow response with time delay
Use PID controller to speed up the response
PID Control 50
Maret 2005
PID Control 51
Maret 2005
Session Summary
PID control, which is the most widely used control
algorithm in process control application, comes in different
forms and terms
Each of the terms of the PID equation must be
understood to obtain a right combination of the PID
control elements for various process control application
objectives
PID Control 52