Siemens S7-1200 System Manual page 419

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

PID algorithm
The PID (Proportional/Integral/Derivative) controller measures the time interval between two
calls and then evaluates the results for monitoring the sampling time. A mean value of the
sampling time is generated at each mode changeover and during initial startup. This value is
used as reference for the monitoring function and is used for calculation. Monitoring includes
the current measuring time between two calls and the mean value of the defined controller
sampling time.
The output value for the PID controller consists of three components:
● P (proportional): When calculated with the "P" component, the output value is proportional
● I (integral): When calculated with the "I" component, the output value increases in
● D (derivative): When calculated with the "D" component, the output value increases as a
The PID controller uses the following formula to calculate the output value for the
PID_Compact instruction.
y
w
K
p
T
1
T
D
The PID controller uses the following formula to calculate the output value for the PID_3Step
instruction.
y
w
K
p
T
1
T
D
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
to the difference between the setpoint and the process value (input value).
proportion to the duration of the difference between the setpoint and the process value
(input value) to finally correct the difference.
function of the increasing rate of change of the difference between the setpoint and the
process value (input value). The output value is corrected to the setpoint as quickly as
possible.
Output value
Setpoint value
Proportional gain
(P component)
Integral action time
(I component)
Derivative action time
(D component)
Output value
Setpoint value
Proportional gain
(P component)
Integral action time
(I component)
Derivative action time
(D component)
x
Process value
s
Laplace operator
a
Derivative delay coefficient
(D component)
b
Proportional action weighting
(P component)
c
Derivative action weighting
(D component)
x
Process value
s
Laplace operator
a
Derivative delay coefficient
(D component)
b
Proportional action weighting
(P component)
c
Derivative action weighting
(D component)
Technology instructions
9.2 PID control
419

Advertisement

Table of Contents
loading

Table of Contents