PID, or proportional, integral, derivative control is the most commonly used control method when precision and accuracy are critical.
It works by summing scalar multiples of the error, integral of error, and derivative of error and outputting that summation as a reference to the system, or control device.
Each fundamental part of the function is used for a different reason, and adjustments can be made to the individual components to manipulate time dependent system responses like response time, decrease oscillations, reduce overshoot, etc.
Proportional control only relies on the error between the setpoint and the feedback from the system. The larger the error, the larger the increase in output.
The proportional gain, Kp scales the error that is fed back to the system. Getting the correct amount of proportional gain is critical because if there is too much of it, the system will overshoot and oscillate.
The integral component integrates or sums, the error over time.
An error can be positive or negative, therefore, even a small error term will slowly add up overtime, increasing or decreasing the output to the system until there is zero steady state error.
The integral gain, Ki is a multiplier to scale the amount of error that is summed together every cycle of the function block. Increasing the integral gain will increase the amount of correction to the point where the response may be undesirable.
Therefore, the standard is to use a small amount of gain to slowly reach a zero steady state error.
A few common HVAC applications that utilize a nano PLC’s PID control method include:
PID control can be used to address a variety of control applications. These include: