Robotics & Control
Advanced

PID Controller

Control output from proportional, integral and derivative of the error.

Formula

u(t)=Kpe+Ki ⁣edt+Kddedtu(t) = K_p e + K_i \!\int e\,dt + K_d \frac{de}{dt}

Variables

uControl output
eError
K_pProportional gain
K_iIntegral gain
K_dDerivative gain

Example

Tuning K_p, K_i, K_d balances speed, overshoot and stability.

Did You Know?

PID control dates to ship autopilots of the 1920s and still runs the vast majority of industrial systems today.

Share this formula