Textbooks/Feedback and Control/Chapter 3Lite (plain text) version
3Proportional control
Version 1 · Technically checked (automated checks only) · 3 source lessons · 8 practice items
Introduction
Instead of on or off, push in proportion to the error: far away, push hard; close, push gently. The gain sets how hard. Proportional control is smooth and simple, but it has a built-in flaw: to keep pushing against a load it needs some error left over, so it settles a little short of the setpoint. Raise the gain and the shortfall shrinks, but the actuator saturates and, in real systems, overshoot creeps in.
Explanation
This chapter is built from 3 School lessons. Each part below is the lesson's own explanation; open the lesson for its predict-and-discover activities.
3.1 Correct in proportion
When you park a bike next to a friend, you slow down as you get close. What rule is your brain using?
Push in proportion to the gap
A proportional controller makes its correction a fixed fraction of the gap:
correction = k × gap
Far away, big gap, big push. Close by, small gap, gentle push. The number k is called the gain.
Too little, just right, too much
With k below 1, each step closes part of the gap: a smooth glide in. k = 1 jumps straight there (in a perfect world). k between 1 and 2 overshoots and wobbles, then settles. k = 2 bounces for ever. k above 2 wobbles bigger and bigger: unstable.
Settling a little short
A proportional heater only heats when the room is too cold. Near the target the gap is small, so the heat is small, and it can only balance the heat leaking out if the room stays a little below target. Higher gain shrinks this offset; later levels add a trick (integral action) to remove it.
Common mix-ups
- A bigger gain is always better: it gets there faster.
✓ Too much gain overshoots, wobbles or goes unstable. - Proportional control always reaches the exact target.
✓ When something keeps pulling it away (like heat leaking out), it settles a little short.
3.2 Proportional control: push harder when further away
On/off heaters are either flat out or off. What if the heater could push gently when you are nearly there?
The proportional rule
effort = Kp × error. Big error, big effort; small error, small effort; no error, no effort. With PWM, 'effort' can be a duty cycle. Two practical limits: a heater cannot cool, so negative effort is clipped to 0, and it cannot exceed full power, so large efforts are clipped to 100%. When clipped, the controller is saturated and behaves like on/off.
The leftover error
On a cold night the heater must keep supplying heat. A proportional controller only supplies heat when there is an error, so it settles where the error is just big enough: the steady-state error. More gain means less error is needed, so it settles closer. Removing the error completely needs another idea, integral action, which you meet in Level 3.
Too much gain
Real systems have delays: the heater warms up, air takes time to mix, the sensor responds slowly, and firmware samples at intervals. With a very high gain, the controller overreacts to each change and can overshoot or oscillate. Engineers raise the gain until the error is small enough and stop well before the response turns twitchy.
Derivation: Where a proportional heater settles
Controller: heater power P = Kp × (r − T), limited to 0–3,000 W. (r = setpoint, T = temperature, Kp in W per °C.)
Greenhouse: heat leaks out at UA × (T − T_out) watts, with UA = 100 W per °C in the model.
Steady means heat in = heat out: Kp × (r − T) = UA × (T − T_out).
Expand and collect the T terms: Kp·r + UA·T_out = (UA + Kp) × T.
So T = (UA·T_out + Kp·r) ÷ (UA + Kp). With UA = 100, T_out = 5 °C, Kp = 400, r = 18 °C: T = (500 + 7,200) ÷ 500 = 15.4 °C, 2.6 °C short.
Kp = 1,500 gives (500 + 27,000) ÷ 1,600 ≈ 17.2 °C: closer. The error shrinks as Kp grows but only reaches zero if Kp were infinite.
Common mix-ups
- A proportional controller reaches the setpoint exactly, given time.
✓ Against a steady heat loss it settles short of the setpoint. That offset is built into the rule. - Turn the gain up as high as possible.
✓ Delays in real systems make very high gains overshoot or oscillate.
Open the full lesson: Proportional control: push harder when further away →
3.3 Why P control always falls short
Turn the proportional gain up from 1 to 9 and the error shrinks from half the setpoint to a tenth. Why does it never reach zero?
The error is doing a job
A P controller's output is proportional to the error. To hold a motor at speed, the motor needs a steady push; the only way P can provide one is to keep some error. That leftover is the steady-state error, e = r/(1 + K·Kp).
Designing to a spec
If the error must be within 2 % of r, set r/(1 + K·Kp) ≤ 0.02·r, so K·Kp ≥ 49. For a unit plant, Kp ≥ 49. That is a large gain, which leads to the next problem.
Why not just crank Kp?
High gain amplifies sensor noise into the motor command, can push the actuator into saturation, and on plants with more dynamics (a springy joint, a delay) causes overshoot and oscillation or even instability. Integral action removes steady-state error without needing enormous gain.
Derivation: Steady-state error of P control
Controller: u = Kp·e, where e = r − y (setpoint minus output).
Plant at steady state: once nothing is changing, the output is just its static gain times its input, y = K·u.
Combine: y = K·Kp·e. Substitute into e = r − y to get e = r − K·Kp·e.
Collect the e terms: e·(1 + K·Kp) = r.
So e = r / (1 + K·Kp). For a unit plant (K = 1) and unit setpoint, e = 1/(1 + Kp).
e is zero only if Kp is infinite. Any finite gain leaves an error, because the controller needs a non-zero error to produce the non-zero push that holds the output up.
Common mix-ups
- Steady-state error means the controller is badly tuned.
✓ With P only, some error is built in: e = r/(1 + K·Kp). Tuning trades its size against noise and overshoot. - Doubling Kp halves the error.
✓ The error goes as 1/(1 + K·Kp), so doubling Kp from 1 to 2 takes it from 1/2 to 1/3, not 1/4.
Worked examples
Correct in proportion: example 1
A robot is at 20 cm, target 100 cm, k = 0.25. Where is it after one step? After two?
Solution
Step 1: gap = 80, move 0.25 × 80 = 20, now at 40 cm. Step 2: gap = 60, move 15, now at 55 cm. Each move is a quarter of what's left.
Proportional control: push harder when further away: example 1
Kp = 25% per °C, setpoint 20 °C. Efforts at 19 °C, 16 °C and 21 °C?
Solution
19 °C: 25 × 1 = 25%. 16 °C: 25 × 4 = 100%, the limit: 100% (saturated). 21 °C: 25 × (−1) = −25% → clipped to 0%.
Why P control always falls short: example 1
K = 2, Kp = 4, r = 10. Find the steady-state error and final output.
Solution
e = 10/(1 + 2×4) = 10/9 ≈ 1.11. Output y = 10 − 1.11 ≈ 8.89.
Why P control always falls short: example 2
A unit plant must settle within 5 % of its setpoint. What Kp is needed?
Solution
Kp = (1/0.05 − 1)/1 = 19.
Interactive figures
Interactive figure (online). Description: The gap-closer can be replaced by this table, starting at 0 cm with target 60 cm. k = 0.5: 30, 45, 52.5, 56.3 cm (glides in). k = 1: 60 (straight there). k = 1.5: 90, 45, 67.5, 56.3 (overshoots, settles). k = 2: 120, 0, 120, 0 (bounces for ever). k = 2.2: 132, −26.4, 163.7 (grows: unstable).
Interactive figure (online). Description: The thermostat diagram plots 300 minutes of greenhouse temperature from a 12 °C start, with the setpoint, a ±1 °C band and the heater power underneath. In proportional mode the power is gain × error, limited to 0–3,000 W; the temperature settles below the setpoint at (100 × outside + gain × setpoint) ÷ (100 + gain), and the readout states that value. In on/off mode the heater is full on below the band and off above it, and the readout counts switchings.
Laboratory
Everything runs in your browser. No kit, nothing mains-powered. Simulations are simplified educational models.
Playground lab
Playground: Feedback control
Increase the proportional gain step by step and record the steady-state error at each setting.
Open Playground: Feedback control →Simulation OS experiment
Simulation OS: PID step response
With only P active, find the gain that halves the steady-state error, and note what happens to overshoot.
Open Simulation OS: PID step response →
Guided practice
Answers are checked on the server; wrong answers get a hint and another try. Signed in, solved items also count towards the source lesson.
- A robot is at 0 cm and wants to stop at 80 cm. Each step it moves 0.5 of the remaining gap. Where is it after one step, in cm? (cm)
- Which value of k makes the robot overshoot the target and then settle?
- 0.3
- 1.5
- 2.5
- A proportional heater targets 18 °C but the room settles at 16.6 °C. Why?
- The heater is broken
- Near the target the gap is small, so the heat is small: it only balances the losses below target
- The thermometer reads 1.4 °C too low
- A proportional heater controller uses effort = gain × error, where error = setpoint − temperature. The gain is 40% per °C and the effort is limited to the range 0 to 100%. The setpoint is 18 °C and the temperature is 16 °C. What heater effort does it command, in %? (%)
- At dusk the greenhouse is 8 °C below the setpoint and Kp × error is 300% of full power. What does the heater actually do?
- 300% power
- 100% power: the effort is saturated
- 0% power
- A plant with static gain K = 1 is under proportional control with Kp = 5. The setpoint steps to r = 5. What is the steady-state error e = r − y once it settles?
- A plant with static gain K = 2 must settle within 5 % of a setpoint r = 2 using proportional control only. What is the smallest Kp that achieves this?
- Why can a P controller never remove the steady-state error completely?
- Because the sensor is noisy
- Because its output is zero when the error is zero, but holding the setpoint needs a non-zero push
- Because the plant is too slow
Engineering applications
Steering
A line-following robot that steers in proportion to how far it is off the line runs smoothly where an on/off steerer would zigzag. Too much gain and it weaves; too little and it drifts wide on curves.
Droop
In power grids, generators deliberately use proportional control of frequency, called droop, so many machines share a change in load. The small steady error is accepted by design.
Watch
Optional verified videos. Nothing loads from YouTube until you press play.
- PID Control - A brief introduction (Brian Douglas)
- Final Value Theorem and Steady State Error (Brian Douglas)
Chapter summary
- Proportional control: effort = Kp × error, limited by what the actuator can give.
- With a plant of steady-state gain G, P control settles with error 1 / (1 + Kp·G) of the setpoint.
- Higher gain shrinks the steady error but saturates sooner and, with dynamics, overshoots more.
- The leftover error is the price of pushing against a load with P alone.
Glossary
- Proportional control
- A proportional controller sets the command to a gain times the error: u = Kp × e. Bigger errors get bigger corrections.
- Steady-state error
- Steady-state error is the error that remains after the response has settled and stopped changing.
- Setpoint and error
- The setpoint (or reference) is the value you want; the error is the setpoint minus the measured value. Controllers act on the error.
- Overshoot
- Overshoot is how far a response goes past its final value, usually given as a percentage of the step size.
Definitions from the Field Guide.
Project: How much gain?
A heater with steady-state gain 2 °C per unit of effort warms a tank that must stay within 0.5 °C of 40 °C. Find the minimum proportional gain that meets the spec at steady state, check the effort needed against an actuator limit of 30 units, and say what you would do if they conflict.
Deliverables
- The gain calculation from 1 / (1 + K·G)
- The effort check against the limit
- A plan for the conflicting case
Keep your work in your Engineering Journal; it stays private unless you choose to share it.
References
- Karl Johan Åström and Richard M. Murray (2008). Feedback Systems: An Introduction for Scientists and Engineers. Princeton University Press.
- Gene F. Franklin et al. (2015). Feedback Control of Dynamic Systems, 7th edition. Pearson.
- Katsuhiko Ogata (2010). Modern Control Engineering, 5th edition. Prentice Hall.
Publication record
- Version
- 1
- Status
- Technically checked (automated checks only)
- Technical review
- Automated checks only, last run 2026-11-29. No human, educator or mentor review is claimed.src/content/textbooks/textbooks.test.ts: schema, every lesson, diagram, practice item, video, Field Guide entry, lab and reference resolves; figure numbers recomputed; no practice answers in client payloads.
- Written by
- Compiled and written by the Tactiverge team with AI assistance, from Tactiverge School lessons that were themselves written with AI assistance.
- Licence
- All rights reserved by the founders unless a licence is approved.
- Corrections
- None recorded yet.Spotted a mistake? Use “Report a problem” on any chapter, or see the corrections page.