PID Tuner

Interactive closed-loop simulation with auto-tuning. Adjust PID gains and visualize step response in real time.

PID Tuning and Simulation

Interactive PID tuning and process control simulations. Adjust parameters in real time and visualize step responses and tuning rules.

PID Tuner — Closed-Loop Step Response

Process Output Setpoint Control Output

Process (FOLPD)

PID Parameters

PID Controller Equations

Time-constant form (ISA / PID standard):

$$ u(t) = K_p \Bigl[ e(t) + \frac{1}{T_i}\!\int_0^t e(\tau)\,d\tau + T_d\,\frac{de}{dt} \Bigr] $$

Kp = proportional gain

Ti = integral time constant (s)

Td = derivative time constant (s)

Standard gain form:

$$ u(t) = K_p\,e(t) + K_i\!\int_0^t e(\tau)\,d\tau + K_d\,\frac{de}{dt} $$

Ki = Kp / Ti (integral gain)

Kd = Kp · Td (derivative gain)

Implementation: This simulator uses the standard gain form with anti-windup, derivative-on-measurement, and first-order derivative filtering (τd). See the relay-feedback tutorial → for derivation.

New to PID tuning? Read the Getting Started Tutorial →