AKS Anvil

PID Controller Simulator

1.00
1.00 s
2.00 rad/s
0.40
4.00
2.00
0.80
10 s

Step response (closed loop)

Output y(t) Reference r(t) Control u(t)

Bode-like open-loop view |L(jω)| & ∠L(jω)

Magnitude (dB) Phase (deg)
Stable response
Overshoot
—
Rise time (10–90%)
—
Settling (2%)
—
Steady-state error
—
Peak time
—
Gain margin (approx.)
—
Phase margin (approx.)
—
Oscillation score
—

Loop equations

Discrete simulation of a unity-feedback loop. Bode margins are estimated from the open-loop frequency response of L(s)=C(s)G(s). See the theory page for math and tuning tips.