Free tools & games for everyone
Free · No sign-up · No accounts
Tune a PID controller on a simulated process: step the setpoint, add a disturbance, read overshoot, rise and settling times, and try SIMC and Ziegler–Nichols tunings.
| Tab | Move between the settings; the chart redraws as you type |
|---|---|
| Enter or Space | Press a tuning button or tick a box |
The process is simulated with a 4th-order Runge–Kutta step 4,000 times per run, with the controller output held between steps and dead time as a delay line. The controller is the standard (ISA) form u = Kp (e + 1/Ti ∫e dt) − Kp Td dy/dt, with the derivative filtered (N = 10) and conditional-integration anti-windup. Rise time is 10–90 %, settling time is when the output stays within 2 % of the setpoint. Tunings: Ziegler–Nichols reaction-curve rules (Kp = 1.2 τ / (K θ), Ti = 2 θ, Td = θ / 2) and Skogestad's SIMC PI rules (Kp = τ / (K (τc + θ)), Ti = min(τ, 4 (τc + θ)), with τc = θ). For learning; real plants need proper testing and safety interlocks. Nothing is sent anywhere.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product