D32 of 10
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

D3 · Lesson 2 · Feedback and error

The standard feedback loop with a plant, a controller and a sensor, the closed-loop gain G/(1 + GH), how loop gain makes the result depend on the sensor instead of the plant, the steady-state error of proportional control, and the sensitivity function that measures how much a disturbance gets through

In 1927 Harold Black was trying to build telephone amplifiers whose gain wouldn't drift with temperature and aging tubes. His solution, sketched on a newspaper on the ferry to work, was to build an amplifier with far more gain than needed and feed a fixed fraction of the output back to subtract from the input. The result had a gain set almost entirely by two resistors, and every op-amp circuit since works the same way. The same arithmetic describes the cruise control of lesson 1, a thermostat and an autopilot: high loop gain makes the output follow the reference and ignore the plant's quirks.

  • A first-order plant (time constant 1 s) under proportional control with loop gain K, stepped from 0 to a reference of 1.
  • The output settles to K/(1+K), leaving a steady error of 1/(1+K), and it gets there with time constant 1/(1+K) s.
  • Raising K shrinks the error and speeds the response; for this simple plant nothing goes wrong, but real plants with delays and extra lags oscillate at high gain (lesson 5).

Predict

An amplifier with open-loop gain 100,000 has a feedback fraction of 0.1. Its open-loop gain then falls by half as it warms up. By how much does the closed-loop gain change?

Name it

The loop

A plant G (the thing being controlled) is driven by a controller C; a sensor H measures the output and the error is e=r−Hy. Lumping controller and plant into G, the closed-loop gain is

T=yr=G1+GH

and L=GH is the loop gain. When |L|≫1, T≈1/H: the output depends on the sensor and hardly at all on the plant.

Sensitivity

A fractional change in G changes T by

ΔTT=11+L⋅ΔGG

and a disturbance added at the output is also reduced by the sensitivity S=1/(1+L). Black's amplifier with L = 10,000 cuts a 50% drift in A to 0.005% in T (a little more for a change as large as half, which the linear formula only approximates).

Steady-state error

With unity feedback (H = 1), a plant of DC gain G0 and a proportional controller of gain Kp, a step reference leaves

ess=11+KpG0

of the step. To make the error vanish, the controller needs integral action (lesson 3).

Worked example

A unity-feedback loop with a plant of DC gain 2 uses a proportional gain of 4.5. What fraction of a step remains as error? What gain would cut it to 1%?

Show the solution
  1. Steady-state error. ess=11+4.5×2=1/10=10%
  2. Gain for 1%. 1+2Kp=100 so Kp=49.5.

Answer 10% of the step remains as error, and Kp=49.5 cuts it to 1%.

Worked example

Black's amplifier: A = 100,000, β = 0.1. What's the closed-loop gain, and what fraction of an output disturbance gets through?

Show the solution
  1. Closed-loop gain. T=1000001+10000=9.9990
  2. Disturbance that gets through. S=1/10001=0.01% so a 1 V disturbance at the output appears as 0.1 mV.

Answer the closed-loop gain is 9.9990, and 0.01% of an output disturbance gets through.

Worked example

Black's amplifier ages, and its open-loop gain falls 20%, from 100,000 to 80,000. How much does the closed-loop gain change (β = 0.1)?

Show the solution
  1. Gain before. 100000/10001=9.99900
  2. Gain after. 80000/8001=9.99875
  3. Change. That's a change of 0.0025%.
  4. Why it's so small. Feedback divides the plant's variation by about 1+Aβ, here ten thousand, which is why amplifiers are built from imprecise transistors.

Answer the closed-loop gain changes by only 0.0025%.

Check

An amplifier with gain 10000 has feedback fraction 0.01. What's its closed-loop gain?

Check

A unity-feedback loop has a proportional gain of 4 and a plant of DC gain 1. What percentage of a step input remains as steady-state error?

Check

A plant's gain drifts by 5%. If the loop gain is 10, by about what percentage does the closed-loop gain drift?

Check

A plant has DC gain 2. What proportional gain holds the steady-state error to a step at 2%?

Check

A unity-feedback loop has plant DC gain 2 and proportional gain 3.

(a)

What fraction of a step remains as error?

(b)

What gain would cut it to 1%?

Check

An amplifier with open-loop gain 10000 and feedback 0.01 loses 50% of its open-loop gain with age.

(a)

What is the closed-loop gain at first?

(b)

By what percentage does the closed-loop gain fall?

Explain why

Why does a high loop gain make the closed-loop gain depend on the feedback path instead of the plant?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.