It is a common situation in electronics to have a control loop, that is some sort of feedback that drives the input to a system such as a motor or a heater based upon a sensor to measure something ...
Machines and processes are controlled using many strategies, from simple ladder logic to custom algorithms for specialized process control, but proportional-integral-derivative (PID) is the most ...