Feedforward control is a control strategy that computes the actuator command directly from the desired reference and a model of the system, or from a measured disturbance, without waiting for an error to appear. In robotics and control systems, it is used to make joints and machines follow fast trajectories accurately, because it supplies most of the required torque or voltage in advance instead of reacting after the robot has already deviated.
Feedforward is almost never used alone in a robot. It is paired with feedback control, typically a PID loop, in a two-degree-of-freedom structure: the feedforward path handles what is known and predictable, while the feedback path corrects what the model misses. This division of labor lets engineers keep feedback gains moderate, which improves stability margins and noise rejection.
How feedforward control anticipates the required input
A feedforward controller works by inverting a model of the plant. If the plant model says that a joint needs a certain torque to produce a given acceleration, the controller takes the planned acceleration from the trajectory and outputs that torque immediately. Ideally, the model inverse cancels the plant dynamics, and the output follows the reference with no error at all.
In practice the cancellation is only partial, because every model has errors and some dynamics cannot be inverted. Feedforward therefore acts as a prediction, and the feedback loop absorbs the remaining tracking error. The better the model, the smaller the work left for feedback and the closer the robot follows its path at high speed.
The following table lists the two basic forms of feedforward and the signal each one uses.
| Form | Input signal | Purpose | Example |
|---|---|---|---|
| Reference feedforward | Planned position, velocity, acceleration | Improve tracking of commanded motion | Inertia and friction compensation on a joint |
| Disturbance feedforward | Measured disturbance | Cancel a known disturbance before it acts | Compensating a measured payload force |
| Static feedforward | Constant or slowly varying offset | Remove steady bias | Gravity torque on a vertical axis |
| Dynamic feedforward | Full trajectory derivatives | Match transient dynamics | Computed torque term in a manipulator |
Feedforward terms used in robot motion control
In robot motion control, feedforward is built from physically meaningful terms, each tied to a specific effect in the manipulator dynamics. Servo drives and motion controllers commonly expose these terms as separately tunable gains.
| Term | Physical effect | Depends on | Typical tuning source |
|---|---|---|---|
| Velocity feedforward | Viscous friction, back-EMF | Commanded velocity | Constant-speed tests |
| Acceleration feedforward | Inertia of motor and load | Commanded acceleration | Mass or inertia identification |
| Gravity compensation | Weight of links and payload | Joint configuration | Robot kinematic and mass model |
| Coulomb friction term | Constant friction at motion onset | Sign of velocity | Break-away torque tests |
| Coriolis and centrifugal terms | Coupling between moving joints | Joint velocities and configuration | Full rigid-body dynamic model |
| Jerk feedforward | Compliance and drive dynamics | Commanded jerk | Frequency-response measurement |
For a multi-joint arm, the full rigid-body dynamic model combines inertia, Coriolis, centrifugal and gravity effects. Using this model to compute feedforward torques is the basis of computed torque control and of the inverse-dynamics feedforward used in many industrial robot controllers. Simpler machines such as linear axes often need only velocity and acceleration feedforward to cut tracking errors substantially.
Feedforward compared with feedback and related strategies
Feedforward and feedback solve different problems, and the comparison below explains why most robots combine them. Feedforward also differs from open-loop control, although the two are closely related.
| Strategy | Uses measurement | Handles model error | Main risk |
|---|---|---|---|
| Feedforward control | Reference or disturbance only | No | Bias from an inaccurate model |
| Feedback control | Measured output | Yes | Instability at high gains |
| Open-loop control | None | No | Drift with no correction |
| Feedforward plus feedback | Reference and output | Yes | Requires tuning both paths |
| Model predictive control | State and constraints | Partly, through re-planning | High computational load |
Feedforward can be viewed as open-loop control used as one part of a closed-loop system. Because it does not use the output, a feedforward path cannot destabilize a stable loop, which is one of its most valuable properties. It can, however, inject large commands if the model or the reference is wrong, so actuator saturation and command limits remain essential.
Designing and tuning a feedforward path
Designing feedforward starts with a reliable plant model, obtained either from physics or from system identification. Engineers then shape the reference so that the model inverse produces realistic commands, because a step reference would demand infinite acceleration.
- Identify friction, inertia and gravity parameters with dedicated motion experiments.
- Generate smooth trajectories with bounded velocity, acceleration and jerk.
- Add terms one at a time and observe the reduction in following error.
- Retune feedback gains after feedforward is active, since the loop now handles smaller errors.
- Verify behavior at the edges of the workspace and with different payloads.
Where the plant changes over time, designers use adaptive feedforward, which updates model parameters online, or iterative learning control, which refines the feedforward signal from one repetition to the next. Iterative learning is effective for repetitive industrial motions such as pick-and-place cycles.
Limitations and common mistakes
Feedforward delivers large gains only when its assumptions hold, and several typical mistakes reduce or reverse its benefit.
| Symptom | Likely cause | Remedy |
|---|---|---|
| Overshoot at the end of moves | Acceleration gain set too high | Reduce gain or re-identify inertia |
| Error that changes with payload | Fixed mass model | Payload estimation or adaptive terms |
| Vibration at high speed | Unmodeled flexible modes | Input shaping or notch filtering |
| Noisy actuator commands | Differentiating a raw reference | Use planned derivatives, not numeric ones |
| No improvement near zero speed | Friction model missing or wrong | Add Coulomb and Stribeck friction terms |
A common misconception is that feedforward can replace feedback. It cannot, because unmeasured disturbances and model errors always remain. The opposite error is to rely only on high feedback gains, which amplifies sensor noise and narrows stability margins when a model-based feedforward could do much of the work.
The idea in brief
Think of a driver approaching a hill. A careful driver presses the accelerator before the car starts to slow, because they can see the slope ahead. That is feedforward: acting on what is known in advance. A driver who waits until the speedometer drops and only then reacts is using feedback.
Robots use both. Feedforward gives the motors the push they will need for the planned movement, and feedback makes small corrections for anything unexpected. Together they produce fast, smooth and accurate motion.
A practical scenario
A packaging line uses a delta robot that moves small cartons at about 120 picks per minute. With PID feedback alone, each joint lags behind its trajectory during rapid accelerations, and the tool center point misses the conveyor target by up to 2 millimeters, causing occasional misplacements.
The integration engineer identifies the inertia and friction of each arm and enables velocity and acceleration feedforward in the servo drives, using the planned trajectory derivatives. Gravity effects are small on this lightweight design, so a static offset is sufficient. After retuning the PID gains, the peak following error drops to roughly 0.3 millimeters.
The result is reliable placement at full speed without raising feedback gains, which keeps the drives quiet and avoids exciting vibration in the carbon-fiber arms.