S9 · Lesson 1 · Feedback and what it does
Open and closed loops, loop gain, sensitivity to plant changes, rejecting disturbances, steady-state error under proportional control, and the price feedback charges in noise and stability
The open-loop gain of an op amp can vary by a factor of three from one part to the next and drift with temperature, yet a non-inverting amplifier built around it holds its gain to a tenth of a percent, set by two resistors. A car's cruise control holds 100 km/h up a hill without knowing the hill's slope. Both work the same way: measure the output, compare it with what you want, and act on the difference. This course is about designing that loop so it's accurate, fast and stable, and this first lesson shows what feedback buys and what it costs.
- The closed-loop gain of an amplifier with open-loop gain A and feedback fraction β, , against A on a log axis.
- Once , the gain flattens out at : a factor of ten change in A barely moves it.
- Raise β and the flat region starts sooner, at a lower gain. Feedback trades gain for precision.
Predict
An amplifier has A = 100,000 and β = 0.01. If A halves to 50,000, how much does the closed-loop gain change?
goes from 100,000/1001 = 99.90 to 50,000/501 = 99.80, a 0.1% drop for a 50% drop in A. The loop gain = 1000 divides the effect of the change by about 1000.
Name it
The loop
A plant P (the thing being controlled) is driven by a controller C acting on the error e = r − y between the reference r and the measured output y. Around the loop the signal is multiplied by the loop gain (times the sensor's gain, if it isn't 1). Solving :
Sensitivity
A fractional change in the plant changes T by the fractional change times the sensitivity function
Disturbances
A disturbance d added at the plant's output reaches y multiplied by S: a loop gain of 20 shrinks it 21 times.
Steady-state error
With proportional control and a plant of DC gain , a step reference leaves an error of of the step. Integral action (lesson 10) removes it.
The price
The sensor sits inside the loop, so its errors and noise reach the output almost unreduced: y follows what the sensor says, with T ≈ 1 passing sensor noise straight through. And high loop gain combined with delays in the plant can make the loop oscillate. Most of this course is about getting the benefits without that instability.
Worked example
A proportional temperature controller with = 10 drives a heater whose DC gain is 2 °C per unit of drive. The setpoint is 50 °C above ambient. Where does it settle?
Show the solution
- Loop gain. The controller's gain times the heater's:
- Closed-loop gain.
- Settled temperature. above ambient, 2.4 °C short.
- What removes the error. Raising shrinks the error but never removes it; an integrator does (lesson 10).
Answer it settles 47.6 °C above ambient, 2.4 °C short of the setpoint.
Worked example
A hill would slow a car by 10 km/h with the throttle fixed. Its cruise control has a loop gain of 20 at the frequencies of a hill. How much does the car slow?
Show the solution
- Feedback divides the disturbance. It's divided by
- Remaining slowdown.
- How it did it. The controller found the extra throttle without knowing anything about the hill, only that the speed had dropped.
Answer the car slows by only 0.48 km/h.
Worked example
A positioning stage's loop gain is 50 at 1 Hz. A 1 Hz floor vibration would move it 1 mm, and its position sensor has 0.01 mm of noise at 1 Hz. What motion remains?
Show the solution
- The vibration. It's a disturbance, reduced by :
- The sensor noise. It passes through almost unchanged:
- Combine them. Uncorrelated, they combine to
- What more gain can do. More loop gain would shrink the first term but never the second: below about 0.01 mm, only a better sensor helps.
Answer about 0.022 mm of motion remains: 0.0196 mm from the vibration and 0.0098 mm from the sensor noise.
Check
An amplifier has open-loop gain 1000 and feedback fraction β = 0.01. What's its closed-loop gain?
Check
An amplifier's open-loop gain falls 50% from 10000, with β = 0.01. By what percentage does the closed-loop gain fall?
Check
A load step would slow a motor by 12 rpm without control. With a loop gain of 4, how much does it slow?
Check
A proportional controller with = 5 drives a plant with DC gain 0.4. What percentage of a step reference is left as steady error?
Check
A loop has very high gain, but its sensor reads 2% high. By what percentage does the output end up low?
Check
An amplifier must have a closed-loop gain within 0.5% of with β = 0.01. What's the least open-loop gain A that does it?
Check
A loop gain of 50 acts on a disturbance that would move the output 0.5 mm, and on 0.02 mm of sensor noise at the same frequency.
(a)
How much of the disturbance remains?
Write units the way you normally would: 1.5 mm, 1500 µm and 0.0015 m are the same answer.
(b)
How much sensor noise reaches the output?
Check
A loop has gain L, and the plant's gain changes by a fraction p.
Step 1
What is the closed-loop gain T?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is the sensitivity S?
Step 3
By about what fraction does T change?
Explain why
Why does feedback make a system less sensitive to changes in its own parts?
The loop drives the error between the reference and the measured output toward zero, and with high loop gain only a tiny error is needed to produce whatever drive the plant requires. If the plant gets weaker, the output starts to fall, the error grows a little, and the controller pushes harder until the output is back where it was. The output ends up set by the reference and the sensor, which are chosen to be precise, while the plant's gain only affects how big the leftover error is. That's why the change in closed-loop behavior is the plant's change divided by one plus the loop gain.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.