PID Controller

Robotics Engineering

How It Works

A Proportional-Integral-Derivative (PID) controller is an ubiquitous closed-loop feedback mechanism that continuously corrects system tracking errors in robotic drives. The controller measures deviation e(t) between a desired trajectory setpoint r(t) and process output y(t). Corrective command effort u(t) combines proportional gain for immediate tracking, integral gain to eliminate steady-state offset, and derivative damping to suppress dynamic overshoot.

Governing Equation
$$ u(t) = K_p e(t) + K_i \int_0^t e(\tau) d\tau + K_d \frac{de(t)}{dt} \quad\vert\quad e(t) = r(t) - y(t) $$