Control systems
Feedforward
Also called: feed-forward · model-based command · gravity compensation
Definition
Feedforward adds a command computed from a model of what the system will need, before any error appears; feedback then corrects whatever the model got wrong.
Picture it
If you know a lift car needs 400 N just to hover, send that straight away rather than waiting for it to sag and the error to build up. Feedforward makes the response fast; feedback keeps it accurate.
The maths
u = u_ff + u_fb u_ff = model of the required command (e.g. m g for gravity)
| Quantity | Unit | Symbol |
|---|---|---|
| force | newton | N |
| ratio | dimensionless | 1 |
Worked example
A lift car of 40 kg is held by a motor. What gravity feedforward force should be commanded, and if the PID adds 12 N, what is the total?
- u_ff = 40 × 9.81 = 392.4 N
- u = 392.4 + 12 = 404.4 N
Answer392.4 N of feedforward, 404.4 N in total.
✓ The 2 numbers in this answer are recomputed from scratch by an automated test.
Common misconceptions
- Misconception: Feedforward does not replace feedback; models are never perfect.
- Misconception: A wrong feedforward model can make things worse than none at all.