Feedforward control

On this page 7

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.

FormInput signalPurposeExample
Reference feedforwardPlanned position, velocity, accelerationImprove tracking of commanded motionInertia and friction compensation on a joint
Disturbance feedforwardMeasured disturbanceCancel a known disturbance before it actsCompensating a measured payload force
Static feedforwardConstant or slowly varying offsetRemove steady biasGravity torque on a vertical axis
Dynamic feedforwardFull trajectory derivativesMatch transient dynamicsComputed torque term in a manipulator
Basic forms of feedforward control

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.

TermPhysical effectDepends onTypical tuning source
Velocity feedforwardViscous friction, back-EMFCommanded velocityConstant-speed tests
Acceleration feedforwardInertia of motor and loadCommanded accelerationMass or inertia identification
Gravity compensationWeight of links and payloadJoint configurationRobot kinematic and mass model
Coulomb friction termConstant friction at motion onsetSign of velocityBreak-away torque tests
Coriolis and centrifugal termsCoupling between moving jointsJoint velocities and configurationFull rigid-body dynamic model
Jerk feedforwardCompliance and drive dynamicsCommanded jerkFrequency-response measurement
Typical feedforward terms in servo and joint control

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 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.

StrategyUses measurementHandles model errorMain risk
Feedforward controlReference or disturbance onlyNoBias from an inaccurate model
Feedback controlMeasured outputYesInstability at high gains
Open-loop controlNoneNoDrift with no correction
Feedforward plus feedbackReference and outputYesRequires tuning both paths
Model predictive controlState and constraintsPartly, through re-planningHigh computational load
Feedforward versus related control strategies

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.

  1. Identify friction, inertia and gravity parameters with dedicated motion experiments.
  2. Generate smooth trajectories with bounded velocity, acceleration and jerk.
  3. Add terms one at a time and observe the reduction in following error.
  4. Retune feedback gains after feedforward is active, since the loop now handles smaller errors.
  5. 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.

SymptomLikely causeRemedy
Overshoot at the end of movesAcceleration gain set too highReduce gain or re-identify inertia
Error that changes with payloadFixed mass modelPayload estimation or adaptive terms
Vibration at high speedUnmodeled flexible modesInput shaping or notch filtering
Noisy actuator commandsDifferentiating a raw referenceUse planned derivatives, not numeric ones
No improvement near zero speedFriction model missing or wrongAdd Coulomb and Stribeck friction terms
Frequent feedforward problems and remedies

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.