An error signal is the difference between a desired state and its measured or feedback state. In closed-loop control, it tells the controller how far the system is from its target and guides corrective action. section 8.7
Room-temperature control
A thermostat compares the desired room temperature with the current measurement. If the room is too cold or too warm, the resulting error signal drives a heater or cooler to reduce the difference. section 8.7
A PID controller responds to different properties of the error:
- The proportional term responds to the current error magnitude. section 8.7
- The integral term responds to accumulated error over time. section 8.7
- The derivative term responds to the rate at which error changes. section 8.7
