1. The playground
The plant is fixed: wn = 1 rad/s and ζ = 0.3, so ÿ + 0.6 ẏ + y = u. The reference is 1. Kp, Ki, and Kd are the only choices, and the trace is a numerical integration of the closed loop.
2. What to notice
- Ki = 0 leaves a final value below 1. The shortfall is 1 / (1 + Kp).
- Raising Kp alone makes the ring faster and, on this plant, larger.
- Kd damps that ring. It does not remove the offset.
- A modest Ki removes the offset. A large Ki brings the overshoot back.
3. The equations behind it
u = Kp(r − y) + Ki ∫(r − y) dt − Kd ẏ. With Ki = Kd = 0 the steady state is y = Kp / (Kp + 1). With Ki positive and the loop stable, the only steady state is y = r. Settling on the readout is the last time the trace entered the ±2% band around 1, and it stays blank if the trace is not inside that band at the end of the window.