Tune Your PID Controller Visually

A free browser-based PID controller tuning simulator for students and engineers. Adjust Kp, Ki, and Kd sliders and watch the closed-loop step-response curve update instantly — complete with overshoot, rise time, settling time, and steady-state error metrics. Supports first-order lag and second-order mass-spring-damper plant models with anti-windup and actuator saturation.

How to Use the PID Tuning Simulator

1
Choose a plant model

Select "First-order lag" for simple thermal or hydraulic systems, or "Second-order" for mechanical mass-spring-damper dynamics.

2
Adjust the gains

Move the Kp, Ki, and Kd sliders. The step-response curve redraws live. Watch the performance metrics update below the chart.

3
Try presets or auto-tune

Load a preset to see classic tuning scenarios, or click "Auto-tune" to apply Ziegler–Nichols starting gains based on the selected plant.

4
Inject a disturbance

Press "Inject disturbance" to add a step load disturbance mid-run and see how the controller rejects it.

Visualize proportional, integral, and derivative control in real time

Setpoint / Output
Setpoint Output
Kp — Proportional / Ki — Integral / Kd — Derivative
Performance metrics
Overshoot %
Rise time s
Settling time (±2%) s
Steady-state error %
Presets
Published Updated