PID controller

| Vectorized | C |
in the palette on the schematic

The block implements a mathematical model of regulators consisting of one link: P–, I–, D– controllers, two links: PI-, PD-controllers or three links: PID controller, depending on the specified properties.

The block implements the transfer function of the PID controller of the following type:
where Kp, Ki, Kd are the gain coefficients of the proportional, integrating and differentiating terms of the regulator, respectively, Td is the derivative time constant.
A PID controller is a device used in control loops equipped with a feedback link (Рисунок 1).

Рисунок 1. Structural diagram of a feedback control system with a PID controller.

The output signal of the PID controller is determined by three terms: the first term is proportional to the value of the loop error sign (error), the second term is proportional to the integral of the loop error sign, and the third term is its derivative:

If any of the three components is not used, the controller will be proportional, integrating, differentiating, or proportionally differentiating, or proportionally integrating, respectively, the components used.

Inputs

Outputs

Properties: