A PID controller is a feedback loop that continuously calculates an value (
) as the difference between a desired and a measured process variable .
Accounts for past errors by summing them up over time, which helps eliminate any "steady-state" offset that the P-term might miss.
