Open Interactive Lab 100% Browser-Sandboxed Physics

Interactive PID Controls Loop Lab

Tune Proportional (Kp), Integral (Ki), and Derivative (Kd) gains live, switch between classic tuning behaviors, or inject thermal load disturbances to observe closed-loop stability, droop, anti-windup, and settling time in real time.

Setpoint (SP) Process Variable (PV) Control Output (CV %)
LOCKED
Process Variable (PV)
70.0°F
Tracking Error (PV − SP)
+0.0°F
Control Output (CV)
25%
Critically damped response — fast settling with minimal overshoot.
70.0°F
6.8
1.5
2.2
Proportional (Kp)

Drives output proportional to present error. Raising Kp speeds up initial response, but too much gain causes hunting/oscillation. Try P-Only (Droop) to see steady-state offset without Integral action.

Integral (Ki) & Anti-Windup

Accumulates error over time to eliminate steady-state offset. Excessive Ki introduces phase lag and overshoot. This simulator uses conditional clamping so the integrator pauses when CV saturates at 0% or 100%.

Derivative (Kd) on PV

Reacts to the rate of change of the measured variable (derivative-on-PV avoids output spikes on setpoint steps), acting as a damper to tame overshoot during rapid thermal load disturbances.