Interactive Process Control Laboratory | PID Dynamics & Nonlinear Response
Error = Setpoint − Measured Output · The controller continuously minimizes error through feedback
A closed-loop (feedback) control system continuously compares the actual output against the desired setpoint. The difference—called the error signal—drives corrective action. Unlike open-loop systems, it automatically compensates for disturbances and nonlinearities.
Produces an output proportional to current error. A higher gain Kp speeds response but risks overshoot. P-only control always leaves a steady-state error (offset).
Integrates error over time, eliminating steady-state offset. Too much Ki causes integral windup—accumulated error that drives excessive overshoot. The I-term captures the history of the process.
Responds to the rate of change of error—anticipating future error. Acts like a damper, reducing overshoot and settling time. Sensitive to measurement noise.
Overshoot occurs when the process variable exceeds the setpoint before settling. Nonlinear systems (e.g., valves with dead bands, temperature asymmetry) worsen this. The derivative term and gain scheduling are key countermeasures.
Rise Time — Time to reach 10%→90% of setpoint
% Overshoot — Peak above setpoint / setpoint × 100
Settling Time — Time to stay within ±5% of SP
Steady-State Error — Final residual offset
🌡️ Sensor reads current room temperature (Process Variable)
🎯 Comparator calculates: Error = Setpoint − Measured Temp
🧠 Controller processes error signal using on/off (bang-bang) logic with hysteresis
⚡ Actuator energizes furnace/AC based on control output
♻️ Feedback Loop continuously re-evaluates every cycle
Open-loop: no feedback — blind execution. Closed-loop: sensors measure output and feed back to correct errors automatically.
e(t) = SP − PV. If positive: output is below setpoint. If negative: above setpoint. Controller drives error toward zero.
When controller output saturates (maxes out), the integrator keeps accumulating error. Anti-windup prevents the integrator from charging beyond the saturation limit.
Simplest closed-loop: output is either fully ON or OFF. Thermostats use hysteresis (deadband) to prevent rapid switching and reduce overshoot oscillation.
Using different PID gain sets at different operating points to handle nonlinear process behavior across the entire operating range.