School/□ Systems Engineer/Week 16
More gain, less damping
On a first-order plant, cranking up P gain only helps. On a robot joint with inertia, it makes it shake. What's different?
About 35 min · 3 goals · Checked by automated tests
1.Why should I care?
This is the classic control trade-off: gain buys speed and accuracy but costs damping. Knowing exactly how much lets you choose a gain on paper, and see why almost every motion controller adds D.
- ◇ Show that P control of a second-order plant raises ωn by √(1 + KKp) and divides ζ by √(1 + KKp).
- ◇ Predict the overshoot that a given gain will cause.
- ◇ Explain why derivative action is the natural fix.
2.Predict
A joint has ζ = 0.9 on its own. You close a P loop with KKp = 8. Roughly what overshoot do you expect?
Guess first. Being wrong here is how the surprise works.
3.Discover
Choose P, actuator limit None. Raise Kp from 1 to 15 and note the overshoot. The plant has ζ = 0.7 and K = 1: predict each overshoot from ζ/√(1 + Kp) before reading it.
Loading the interactive…
Can't use the interactive? Read a description instead
In the PID tuner with P control and no actuator limit, Kp = 1 gives a small overshoot. As Kp rises to 15, the response rises faster, settles closer to the set point and overshoots more, with visible ringing.
4.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1
A second-order plant has ζ = 0.9 and K = 1. With Kp = 8, what is ζcl?
5.Understand
The algebra
Plant τ²ÿ + 2ζτẏ + y = K·u with u = Kp·(r − y) gives τ²ÿ + 2ζτẏ + (1 + KKp)·y = KKp·r. Matching to the standard form: ωn,cl = √(1 + KKp)/τ and ζcl = ζ/√(1 + KKp). The stiffness went up; the damping didn't.
What it feels like
Raising Kp is like fitting a stiffer spring to the joint: it springs back faster and harder, so it overshoots. The steady error still falls as 1/(1 + KKp). You trade accuracy against wobble.
Derivative action is extra damping
A D term adds a force proportional to velocity: exactly what a physical damper does. With u = Kp·e − Kd·ẏ, the ẏ coefficient grows from 2ζτ to 2ζτ + K·Kd, raising ζcl back up. That's why motion controllers are almost always PD or PID.
Explain it another way
P control is a spring tying the output to the target. A stiffer spring pulls it there faster but bounces more. D control is a shock absorber.
Closed-loop poles −ζωn,cl ± jωn,cl√(1 − ζcl²) with ζcl·ωn,cl = ζ/τ unchanged: P control moves the poles vertically. Decay rate stays fixed; oscillation frequency rises.
ζ = 0.9, KKp = 8: ζcl = 0.3, OS = 100·exp(−0.3π/√0.91) = 37.2 %. For OS ≤ 10 % you need ζcl ≥ 0.59, i.e. 1 + KKp ≤ (0.9/0.59)² = 2.33: KKp ≤ 1.33.
Hobby servo motors and drone attitude loops show this directly: turn the P gain up and the arm or drone starts to jitter; adding D calms it.
Worked example 1
Plant ζ = 0.8, K = 1. Which Kp gives ζcl = 0.4?
0.8/√(1 + Kp) = 0.4 → √(1 + Kp) = 2 → Kp = 3. Expected overshoot 25 %.
Common mix-ups
- If P control overshoots, the gain is too high, full stop.
✓ Lowering gain is one fix; adding damping (D) keeps the speed and accuracy while removing the overshoot.
6.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2
With ζcl = 0.3, what overshoot do you expect, in percent?
Practice 3 · a fresh version every time
An underdamped second-order system has damping ratio ζ = 0.32. What percent overshoot does its step response have?
Practice 4
When you raise Kp on a second-order plant, which stays the same?
Practice 5
Your P-controlled joint overshoots 35 %. Which change reduces overshoot while keeping the gain?
7.Apply it
In the PID tuner, find the largest Kp that keeps overshoot under 10 % with P only. Then add D and find how much more Kp you can use for the same overshoot. Report both.
8.Reflect
Concepts: Proportional control · Derivative action and damping · Stability, overshoot and delay