Skip to content
Tactiverge

School/□ Systems Engineer/Week 16

Why P control never quite arrives

A cruise control set to 100 km/h settles at 96 km/h on a hill and stays there. Is it broken?

About 30 min · 3 goals · Checked by automated tests

1.Why should I care?

Proportional control is the first controller most engineers build, and its leftover error is the first surprise they meet. Understanding exactly where it comes from tells you when it matters and what removes it.

  • ◇ Derive the steady-state error e∞ = r/(1 + K·Kp) of a P-controlled first-order plant.
  • ◇ Explain why a non-zero error is needed to produce a non-zero command.
  • ◇ Compute the error caused by a constant load disturbance under P control.

2.Predict

K = 1, Kp = 9, set point 10. Where does the output settle?

Guess first. Being wrong here is how the surprise works.

3.Discover

Set K = 1 and Kp = 3, then read the steady-state error. Increase Kp to 9, then 29. Write e∞ each time and check it against r/(1 + KKp). What would it take to make the error zero?

Loading the interactive…

Can't use the interactive? Read a description instead

The P-control explorer shows the closed-loop response settling below the set point. With loop gain 3 it settles at 0.75 (25 % error); with 9 at 0.9; with 29 at about 0.97. The error shrinks with gain but never reaches zero.

4.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

K = 2, Kp = 4, r = 10. What is the steady-state error?

5.Watch

→ Notice how the closed loop's behaviour differs from the plant's own, and what the speaker says feedback costs.

A clear whiteboard explanation of why feeding the measured result back into the controller beats acting from a plan alone.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

6.Understand

Error is the fuel

A P controller's command is proportional to the error. To hold a heater on, or a motor pushing uphill, it needs a steady command, so it needs a steady error. The loop settles at the point where the error is just big enough to produce the command that balances the plant.

The formula

For a plant with static gain K: e∞ = r/(1 + K·Kp). Loop gain KKp = 9 leaves 10 % error; 99 leaves 1 %. Raising the gain helps, but in real systems high gain amplifies noise, saturates actuators and, with any delay, threatens stability.

Disturbances too

A constant load (a hill, a heavier passenger, a draught) acts like an extra input. P control fights it but only by holding an error: the load's effect is divided by 1 + KKp, not removed. That is the lift's levelling error with a full cabin under P control.

Explain it another way

A tired person holding a door against the wind: they only push back once the door has moved, and they need it to stay a little open to keep pushing.

Derivation: Steady-state error of P control
  1. Plant τ·dy/dt + y = K·u. Controller u = Kp·e with e = r − y.

  2. At steady state nothing changes, so dy/dt = 0 and y∞ = K·u∞ = K·Kp·(r − y∞).

  3. Solve for y∞: y∞·(1 + K·Kp) = K·Kp·r, so y∞ = r·K·Kp/(1 + K·Kp).

  4. Error e∞ = r − y∞ = r/(1 + K·Kp). It shrinks as K·Kp grows but is never zero for finite gain.

  5. With a constant input disturbance d (u + d enters the plant), y∞ = (K·Kp·r + K·d)/(1 + K·Kp): the disturbance also leaves an error of −K·d/(1 + K·Kp).

Worked example 1

A heater loop has K = 0.5 °C per % power and Kp = 18 %/°C. Set point 60 °C above ambient. Steady error?

KKp = 9. e∞ = 60/10 = 6 °C. It settles at 54 °C above ambient.

Common mix-ups

  • A steady-state error means the controller is badly tuned.
    ✓ It is a structural property of P control on a plant without an integrator. Only very high gain shrinks it; integral action removes it.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2 · a fresh version every time

A first-order plant with static gain K = 0.5 is under proportional control with gain Kp = 9. The set point steps to r = 5. What steady-state error r − y∞ remains?

Practice 3

K = 1. What is the smallest Kp that keeps the P-only steady-state error at or below 1 % of the set point?

Practice 4

Why can't a P controller hold a heater at exactly the set point?

Practice 5

A constant load pushes the lift cabin down. Under P control, the levelling error is…

8.Apply it

Calculate how far below the floor a full cabin settles in the Elevator under P-only control with the build's numbers, then check your answer against the simulator.

Open BUILD 002: Engineer an Elevator →

9.Reflect

Concepts: Proportional control · Steady-state error and integral action