PID Loop Operation
Maintenance
and T
roubleshooting
8–32
PID Loop Operation
The position algorithm variables and related variables are:
T
s
= Sample rate
K
c
= Proportional gain
K
i
= K
c
* (T
s
/T
i
) coefficient of integral term
K
r
= K
c
* (T
d
/T
s
) coefficient of derivative term
T
i
= Reset time (integral time)
T
d
= Rate time (derivative time)
SP
n
= Set Point for sampling time “
n
” (SP value)
PV
n
= Process variable for sampling time “n” (PV)
e
n
= SP
n
– PV
n
= Error term for sampling time “n”
M
0
= Control Output for sampling time “0”
M
n
= Control Output for sampling time “n”
Analysis of these equations will be found in most good text books on process control.
At a glance, we can isolate the parts of the PID Position Algorithm which correspond
to the P, I, and D terms, and the Bias as shown below.
S
M
n
=
K
c
*
e
n
+
K
i
*
e
i
+ K
r
* (e
n
– e
n–1
) + M
o
i=1
n
Control
Output
Proportional
Term
Initial
Output
Integral
Term
Derivative
Term
Bias
Term
The initial output is the output value assumed from Manual mode control when the
loop transitioned to Auto Mode. The sum of the initial output and the integral term is
the bias term, which holds the “position” of the output. Accordingly, the Velocity
Algorithm discussed next does not have a bias component.
The Velocity Algorithm form of the PID equation can be obtained by transforming
Position Algorithm formula with subtraction of the equation of (n–1)th degree from
the equation of nth degree.
The velocity algorithm variables and related variables are:
T
s
= Sample rate
K
c
= Proportional gain
K
i
= K
c
* (T
s
/T
i
) = coefficient of integral term
K
r
= K
c
* (Td/T
s
) = coefficient of derivative term
T
i
= Reset time (integral time)
T
d
= Rate time (derivative time)
SP
n
= Set Point for sampling time “
n
” (SP value)
PV
n
= Process variable for sampling time “n” (PV)
e
n
= SP
n
– PV
n
= Error term for sampling time “n”
M
n
= Control Output for sampling time “n”
The resulting equations for the Velocity Algorithm form of the PID equation are:
D
M
n
=
K
c
*
(e
n
–
e
n–1
)
+ K
i
* e
n
+ K
r
* (e
n
– 2*e
n–1
+e
n–2
)
D
M
n
=
M
n
–
M
n–1
Velocity Algorithm
Содержание DL05
Страница 1: ...DL05 User Manual Automationdirect com ...
Страница 2: ...DL05 User Manual Automationdirect com ...
Страница 436: ...1B DL05 Error Codes In This Appendix Ċ Error Code Table ...
Страница 443: ...1C Instruction Execution Times In This Appendix Ċ Introduction Ċ Instruction Execution Times ...
Страница 459: ...1D Special Relays In This Appendix Ċ DL05 PLC Special Relays ...
Страница 464: ...1E DL05 Product Weights In This Appendix Ċ Product Weight Table ...
Страница 466: ...1F European Union Directives CE In This Appendix Ċ European Union EU Directives Ċ Basic EMC Installation Guidelines ...