bomonike

pid.png This is at https://bomonike.github.io/pid from code at https://github.com/bomonike/bomonike.github.io/blob/master/pid.md

To maintain a process variable such as ambiant temperature at a target Setpoint, a PLC controller activates a heater or cooler based on sensor readings, in a feedback control loop. Other variables include regulating pressure and flow rate.

VIDEO by realpars.com: plc-pid-feedback.png

VIDEO: To dampen wild swings in actions and values, PLCs use the PID (Proportional Integral Derivative) approach to use keep the Setpoint Value (SV) at a desired temperature, pressure, battery or fuel level, etc. The difference between the SV and current observed PV (Process Variables) is the Error/Deviation. To keep that low, Control actions such changing the flow rate, varying voltage levels, etc. are applied to MV (Manipulated Variables) such as the position of values and voltage levels set.

VIDEO: PID Control and Tuning by Rob Sink at Yokogawa 2016 covers the topic fully in 1 hour.

VIDEO: PID (Proportional Integral Derivative) controllers are tuned using three K Controller Gain settings to reduce errors with minimal oscillations:

DigiKey’s math:
plc-pid-math.png

pid-formula-1909x819.png</a>

HANDS-ON: Manually adjust kp, ki, kd in real time on the PID simulator Excel sheet from https://www.engineers-excel.com/Apps/PID_Simulator/Description.htm

Alternately, use web pages at

They’re an improvement over the original https://grauonline.de/alexwww/ardumower/pid/pid.html provides a PID simulator you can adjust in real time by changing JavaScript code (ported in 2004 from the Arduino PID library and Arduino AutoTune Library with tests, as explained by Brett). Learnings: Auto tune.

this video https://www.aaedmusa.com/projects/project-three-sng7y-gaslp

References about PID:

Other approaches: