Algorithm Search⌘K

Conceptintro

Feedback control loop

Also called closed-loop control, unity feedback loop.

A loop in which a controller acts on the error between a reference and the measured output. It lowers the effect of disturbances and plant errors, but feeds sensor noise in and can destabilize.

A feedback control loop is a connection in which a controller measures the output yy of a system, compares it with a reference rr, and acts on the error e=r−ye = r - y to drive the system. The system to control is the plant PP, and the controller is CC. In the linear case the whole loop is described by the transfer functions of PP and CC: the product L=PCL = P C is the loop transfer function, and the sensitivity function S=1/(1+L)S = 1/(1 + L) and the complementary sensitivity function T=L/(1+L)T = L/(1 + L) give the response of the loop to each external signal. Feedback makes the output follow the reference with little dependence on the exact plant, and it reduces the effect of disturbances. The price is that sensor noise enters the loop, and that a loop can be unstable even when the plant and the controller are each stable.

In plain words

A thermostat measures the room temperature, compares it with the temperature you set, and turns the heater on when the room is too cold. It does not need to know how big the room is or how cold it is outside. It only looks at the difference between what you want and what you get. This is feedback.

The same idea works for a cruise control, an amplifier or a robot arm. The controller corrects errors after they appear, so it corrects errors from any cause, also causes that nobody modeled. Two costs come with it. The controller only knows what the sensor tells it, so sensor errors become output errors. And a controller that reacts too strongly or too late can make the output swing more and more, so that the loop becomes unstable.

The idea

The loop and its signals. Take a linear time-invariant plant P(s)P(s) and controller C(s)C(s), with ss the Laplace variable of the one-sided Laplace transform. The external signals are the reference rr, a load disturbance dd at the plant input and a measurement noise nn. The loop equations are

u=C (r−y−n),y=P (u+d).u = C\,(r - y - n), \qquad y = P\,(u + d).

The controller sees the measured output y+ny + n, not the true output. This is negative feedback, the default in this area. When the loop is well posed, that is 1+L(∞)≠01 + L(\infty) \ne 0, solving the two equations gives

y=T r+PS d−T n,e=r−y−n=S r−PS d−S n,u=CS r−T d−CS n,y = T\,r + P S\,d - T\,n, \qquad e = r - y - n = S\,r - P S\,d - S\,n, \qquad u = C S\,r - T\,d - C S\,n,

with L=PCL = P C, S=1/(1+L)S = 1/(1 + L) and T=L/(1+L)T = L/(1 + L). The four transfer functions SS, TT, PSP S and CSC S (the "gang of four" of Åström and Murray) describe the loop fully. A loop with a controller in the forward path and the plain output fed back, as here, is a unity feedback loop. A sensor with its own dynamics H(s)H(s) gives L=PCHL = P C H and a reference path that has to be scaled; block diagram reduction handles such loops.

Internal stability. Write P=b/aP = b/a and C=nc/dcC = n_c/d_c as ratios of coprime polynomials. The loop is internally stable if the four transfer functions above are all stable, which holds if and only if the characteristic polynomial

χ(s)=a(s) dc(s)+b(s) nc(s)\chi(s) = a(s)\,d_c(s) + b(s)\,n_c(s)

has all its roots in the open left half plane. Then a bounded rr, dd and nn give a bounded uu and yy (BIBO stability). Stability of TT alone is not enough, because a pole-zero cancellation in the right half plane can hide an unstable mode from TT (see poles and zeros). Whether χ\chi is Hurwitz is decided by the Routh-Hurwitz criterion, or from the frequency response of LL by the Nyquist stability criterion.

What feedback buys. Four effects follow from the formulas:

  • Disturbance rejection. A disturbance dod_o added at the plant output reaches yy through SS. Where ∣L(jω)∣≫1|L(j\omega)| \gg 1, ∣S(jω)∣≈1/∣L(jω)∣|S(j\omega)| \approx 1/|L(j\omega)| is small.
  • Robustness to the plant. The relative change of TT per relative change of PP is SS, so where ∣S∣|S| is small, errors in the plant model hardly change the response.
  • Tracking. y=Try = T r with T≈1T \approx 1 where ∣L∣≫1|L| \gg 1. With an integrator in LL, S(0)=0S(0) = 0, and a constant reference is followed with zero steady-state error.
  • Change of dynamics. The closed-loop poles are the roots of χ\chi, not the poles of PP. Feedback can make an unstable plant stable, and it can make a slow plant fast.

What feedback costs. Noise reaches the output through TT, and S+T=1S + T = 1 at each frequency, so SS and TT cannot both be small at one frequency. The loop is therefore designed with ∣S∣|S| small at low frequencies, where references and disturbances live, and ∣T∣|T| small at high frequencies, where the noise and the model errors are. Feedback can also destabilize a stable plant: the loop with L(s)=k/(s(s+1)(s+2))L(s) = k/(s(s + 1)(s + 2)) is internally stable for 0<k<60 < k < 6 and unstable for k>6k > 6, because at k=6k = 6 two closed-loop poles cross the imaginary axis at ±j2\pm j\sqrt{2}. The control signal u=CS r+…u = C S\,r + \ldots can be large when ∣CS∣|C S| is large, and actuators saturate. Feedback reacts only after an error appears; feedforward control acts before, from a measured disturbance or a known reference.

Examples

Black's amplifier. An amplifier with gain AA and a feedback network with gain β\beta has the closed-loop gain A/(1+Aβ)A/(1 + A\beta). With A=105A = 10^5 and β=0.01\beta = 0.01 the gain is 99.9099.90. If the amplifier gain drops by half, to A=5⋅104A = 5 \cdot 10^4, the closed-loop gain is 99.8099.80: a 50 percent change of AA gives a 0.1 percent change of the loop. The ratio of the two relative changes is close to S=1/(1+Aβ)=1/1001S = 1/(1 + A\beta) = 1/1001. Black traded a large, unreliable gain for a smaller, precise one.

A load disturbance on a first-order plant. Let P(s)=1/(s+1)P(s) = 1/(s + 1) (time constant 1 s, unit gain) and C(s)=kC(s) = k, a proportional controller. A unit step disturbance dod_o at the output gives y(t)→S(0)=1/(1+k)y(t) \to S(0) = 1/(1 + k). Without feedback the output moves by 1. With k=9k = 9 it moves by 0.1. The closed-loop pole is at s=−(1+k)=−10s = -(1 + k) = -10, so the loop is also ten times faster than the plant. A finite gain leaves an error; integral action in CC removes it (see steady-state error).

An unstable plant made stable. Let P(s)=1/(s−1)P(s) = 1/(s - 1) and C(s)=kC(s) = k. Then χ(s)=s−1+k\chi(s) = s - 1 + k, and the loop is internally stable for every k>1k > 1. A controller in series with the plant and without feedback cannot do this: the mode ete^{t} stays in the system, and any nonzero initial state of the plant makes it grow.

A loop that looks stable and is not. Let P(s)=1/(s−1)P(s) = 1/(s - 1) and C(s)=(s−1)/(s+1)C(s) = (s - 1)/(s + 1). Then L=1/(s+1)L = 1/(s + 1) and T=1/(s+2)T = 1/(s + 2), which is stable. But PS=(s+1)/((s−1)(s+2))P S = (s + 1)/((s - 1)(s + 2)) has a pole at s=1s = 1, and χ(s)=(s−1)(s+1)+(s−1)=(s−1)(s+2)\chi(s) = (s - 1)(s + 1) + (s - 1) = (s - 1)(s + 2). A small load disturbance makes the output grow like ete^t. The controller zero cancels the unstable plant pole only in the formula for TT.

Where it is used

References

  1. Karl J. Åström and Richard M. Murray, Feedback Systems, An Introduction for Scientists and Engineers, second edition, Princeton University Press, 2021, Chapter 1, Introduction, Chapter 2, Feedback Principles, and Chapter 12, Frequency Domain Design (the section Sensitivity Functions, with the four transfer functions of the loop)
  2. J. C. Maxwell, On governors, Proceedings of the Royal Society of London 16 (1868) 270-283, the whole paper (the linearized equations of governors and the conditions for their stability)
  3. H. S. Black, Stabilized feed-back amplifiers, Electrical Engineering 53(1) (1934) 114-120; also in the Bell System Technical Journal 13(1) (1934) 1-18, the whole paper (the gain mu / (1 - mu beta) of an amplifier with feedback, and its low sensitivity to changes in the tube gain)
  4. Gene F. Franklin, J. David Powell and Abbas Emami-Naeini, Feedback Control of Dynamic Systems, eighth edition, Pearson, 2019, Chapter 4, A First Analysis of Feedback

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/PVCKWK/text.yaml