#defnation ​
A proportional integral derivative controller (PID) is a control loop feedback mechanism used in industrial control systems. A PID controller continuously calculates an error value as the difference between the desired setpoint and a measured process variable.