Lesson 10 of 19 · Module 2: Time response analysis

P, PI and PID controllers

Control System Engineering · EEE2510 · Sessions 23–24 · CO3

By the end of this lesson you can

  • Write the transfer functions of P, PI, PD and PID controllers
  • Explain the effect of each action on the response
  • Tune a PID controller by observation

Notes

$$G_c(s) = K_p + \frac{K_i}{s} + K_ds$$

IncreaseRise timeOvershootSettling timeSteady-state error
$K_p$DecreasesIncreasesSmall changeDecreases
$K_i$DecreasesIncreasesIncreasesEliminated
$K_d$Small changeDecreasesDecreasesNo 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.

Lecture

🎬
Lecture video
Coming soon. The recorded lecture for this lesson will appear here.

Try it

Exercises

  1. A type-0 plant with steady-state gain 2 is under P control with gain 4. Find the step offset.
    Show solution
    $e_{ss} = 1/(1 + 8) = 0.111$.
  2. What does a PI controller do to the system type and why does that matter?
    Show solution
    It adds a pole at the origin, raising the type by one, so a type-0 plant becomes type 1 with zero step error.
  3. Find gains in the simulation that give under 10 % overshoot and IAE below 2.5.
    Show solution
    For example $K_p = 3$, $K_i = 0.5$, $K_d = 1$ gives almost no overshoot and IAE about 2.1.