Techniqueintro
Feedforward control
Also called feedforward compensation, disturbance feedforward.
Adds a control term computed from the reference or from a measured disturbance, so the loop acts before an error appears.
Feedforward control adds to the feedback signal a term that is computed from a signal the controller knows in advance: a measured disturbance , or the reference . If acts on the output through and the actuator acts through , the term with cancels the effect of before any error appears. Feedback cannot do this, because it acts only on an error that has already happened. In practice is not exact or not realizable, so feedforward is always used together with feedback, which removes what is left. Feedforward does not change the poles of the closed loop, so it cannot destroy internal stability when is BIBO stable.
In plain words
A feedback controller waits until the output is wrong and then corrects it. If you can measure a disturbance when it happens, you can correct for it at once, before the output moves. For example, if more cold water flows into a tank, you can open the heater more at the same moment instead of waiting for the temperature to drop. The correction is computed from a model: how strongly the disturbance pushes the output, and how strongly the actuator pushes back. A perfect correction needs a perfect model and an actuator that is at least as fast as the disturbance. Neither is ever true, so feedback stays in the loop to clean up what the correction misses. Feedforward costs a sensor and a model, but it does not make the loop oscillate.
When it applies
- A disturbance can be measured before or when it acts, and its effect on the output is known with a fair model.
- The actuator path is not slower than the disturbance path , or a static correction is enough.
- Feedback alone is too slow, for example because the plant has a long delay or because the loop gain is limited by robustness.
- For the reference: the set point changes in known ways, and a model of the plant gives the input that makes the output follow it.
The template
- Model the two paths. Find from to and from to , for example by step tests.
- Compute the ideal compensator .
- Make it realizable.
- If is improper, add a filter: a lead-lag .
- If has a longer delay than , the ideal needs a prediction. Drop the difference of the delays.
- If has a zero in the right half-plane, would have an unbounded response. Invert only the minimum phase part.
- The simplest choice is the static gain .
- Add it to the feedback. . Keep integral action in for the model error and the disturbances that are not measured.
- Check the residual. Simulate a step of with the model error you expect.
Why it works (theorems). With , the loop gives
If , the effect of is zero for every . Otherwise feedback reduces the residual by the factor . The characteristic equation does not contain , so a BIBO stable leaves the closed-loop poles and the internal stability unchanged. With a relative model error, when , so a 10 percent error in the gain of leaves 10 percent of the disturbance, before feedback.
Classic examples
Two lags. Let , , a unit step of , and the PI controller , , so . The ideal is improper. Use the static or the lead-lag .
Feedback only, by hand: , so for a unit step
with the peak at and the integral of the error equal to 1.
Feedforward only, by hand: with , and , with the peak at . With the lead-lag, and , with the peak 0.0774 at and the integral 0.1.
Measured with a simulation step of 0.001 s, with feedback:
| structure | peak of | time of the peak | IAE over 30 s |
|---|---|---|---|
| feedback only | 0.5463 | 1.209 s | 1.390 |
| static feedforward and feedback | 0.315 | 0.74 s | 0.921 |
| lead-lag feedforward and feedback | 0.0761 | 0.241 s | 0.130 |
The lead-lag reduces the peak by a factor of about 7 and the IAE by a factor of more than 10. Feedback lowers the peak of the lead-lag case only a little (from 0.0774 to 0.0761), because the residual is fast compared with the loop.
Reference feedforward. For a reference filtered by a model (a desired response), the term makes with an exact model, and the feedback acts only on . This is a two-degree-of-freedom structure. It needs to be proper and BIBO stable, so must keep the delay and the zeros in the right half-plane of .
Variations
- Static feedforward. A gain only, often with a ratio to a measured flow. It removes the steady effect of and some of the transient.
- Dynamic feedforward. A lead-lag, or a full inverse with a filter, for the transient.
- Feedforward to an inner loop. In a cascade, feed the disturbance to the inner set point, where the inner loop handles the actuator.
- Gain scheduling of . If and change with the operating point, schedule too.
- Estimated disturbances. If is not measured, a disturbance observer can estimate it, and the estimate is fed forward. This adds feedback again, and the loop poles change.
- Prediction. Model predictive control uses a model and known future references or disturbances to plan the input.
Pitfalls
- Model error. Feedforward reduces a disturbance only as much as the model allows. Keep feedback with integral action.
- Delay mismatch. If the actuator acts later than the disturbance, no causal cancels it. A static gain with the right sign still helps.
- Inverse of a zero in the right half-plane. It makes have a growing response. Use the minimum phase part only.
- Large lead. A large ratio of lead to lag in gives large peaks of and can saturate the actuator. A saturated actuator gives no cancellation; see anti-windup.
- Noise on the measured disturbance. A dynamic with a high gain at high frequencies passes the noise to the actuator.
- Sign and units. A wrong sign doubles the disturbance. Test with a small gain first.
Exercises
- Compute the ideal for and . (Answer: , which is improper.)
- Without feedback and with , find the response to a unit step of . (Answer: , peak at .)
- With the lead-lag and no feedback, find the integral of . (Answer: , and the integral is .)
- Show that does not change the closed-loop poles. (Answer: , and does not appear in .)
- Let and . What is the ideal , and what can you use instead? (Answer: needs a prediction of 1 s; use the static , which acts 1 s late.)
References
- Karl Johan Åström and Tore Hägglund, Advanced PID Control, ISA, 2006, the whole book (feedforward from measured disturbances and from the set point)
- Karl Johan Åström and Richard M. Murray, Feedback Systems, second edition, Princeton University Press, 2021, the whole book (feedforward and two-degree-of-freedom structures)
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag KDGAXT Edit this page History Report an error Markdown