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

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 β, G=A/(1+Aβ), against A on a log axis.
  • Once Aβ≫1, the gain flattens out at 1/β: 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?

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 L=PC (times the sensor's gain, if it isn't 1). Solving y=PC(r−y):

T=yr=L1+L

Sensitivity

A fractional change in the plant changes T by the fractional change times the sensitivity function

S=11+L,dTT=SdPP

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 C=Kp and a plant of DC gain P(0), a step reference leaves an error of 1/(1+KpP(0)) 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 Kp = 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
  1. Loop gain. The controller's gain times the heater's: L=10×2=20
  2. Closed-loop gain. T=L1+L=2021
  3. Settled temperature. ΔT=50×2021=47.6°C above ambient, 2.4 °C short.
  4. What removes the error. Raising Kp 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
  1. Feedback divides the disturbance. It's divided by 1+L=21
  2. Remaining slowdown. Δv=10km/h21=0.48km/h
  3. 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
  1. The vibration. It's a disturbance, reduced by S=1/51: 1mm×151=0.0196mm
  2. The sensor noise. It passes through T=50/51 almost unchanged: 0.01mm×5051=0.0098mm
  3. Combine them. Uncorrelated, they combine to Δx=0.01962+0.00982=0.022mm
  4. 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 Kp = 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 1/β 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°.

Explain why

Why does feedback make a system less sensitive to changes in its own parts?

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.