$$G_c(s) = K_p + \frac{K_i}{s} + K_ds$$
| Increase | Rise time | Overshoot | Settling time | Steady-state error |
|---|---|---|---|---|
| $K_p$ | Decreases | Increases | Small change | Decreases |
| $K_i$ | Decreases | Increases | Increases | Eliminated |
| $K_d$ | Small change | Decreases | Decreases | No effect |
- P: simple; leaves an offset in type-0 systems.
- PI: adds a pole at the origin (type increases by one), removing step offset; may add oscillation.
- PD: adds a zero, improving damping and speed; sensitive to noise.
- PID: combines all three; used in most industrial loops (motor speed, temperature, pressure, level).
In the simulation, start with $K_i = K_d = 0$ and raise $K_p$: the offset shrinks but stays. Add $K_i$ to remove it, then $K_d$ to reduce the overshoot.