weg CFW501 V3.0X — 15.6 ACADEMIC PID

PID Controller 15.6 ACADEMIC PID The PID controller implemented in the CFW501 is academic type. Below are presented the equations that characterize the academic PID, which is the algorithm base of this function. The transfer function in the frequency domain of the academic PID controller is: y(s) = Kp x e(s) x [ 1 + 1 + sTd ] sTi Replacing the integrator by a sum and the derivative by the incremental quotient, you obtain the approximation for the discrete (recursive) transfer equation presented below: y(k) = y(k-1) + Kp[(1 + Ki.Ta + Kd/Ta).e(k) – (Kd/Ta).e(k-1)] Where: y(k): present PID output, it may vary from 0.0 to 100.0 %. y(k-1): PID previous output. Kp (Proportional Gain): Kp = P0520.

Ki (Integral Gain): Ki = P0521 x 100 = [1/Ti x 100]. Kd (Differential Gain): Kd = P0522 x 100 = [Td x 100]. Ta = 0.05 sec (sampling period of the PID controller). e(k): present error [SP*(k) – X(k)]. e(k-1): previous error [SP*(k-1) – X(k-1)]. SP*: setpoint (reference), it may vary from 0.0 to 100.0 %. X: process variable (or feedback) read through one of the analog inputs, according to the selection of P0203, and it may vary from 0.0 to 100.0 %. 15 15-12 | CFW501