Robots Atlas>ROBOTS ATLAS
Robotics

MPC

1978ActivePublished: 4 May 2026Updated: 4 May 2026Published
Key innovation
Optimizes a control sequence over a prediction horizon with explicit state and input constraints, applying only the first step at each iteration (receding horizon).
Category
Robotics
Abstraction level
Paradigm
Operation level
Robot control
Use cases
Manipulator control with joint constraintsBiped locomotion planningDrones — trajectory tracking with constraintsAutonomous vehicles (predictive path planning)Chemical and refinery processes (classical MPC domain)Reconfiguration after failure in FTCModel-based reinforcement learning (MPC as policy)

How it works

At each time step T: (1) estimate the current state x(t) (e.g., via KF); (2) solve a QP/NLP: min Σ||x-ref||²_Q + ||u||²_R s.t. x_{t+1}=f(x_t,u_t), u_min≤u≤u_max, x_min≤x≤x_max, over horizon N; (3) apply u*(0) to the plant; (4) shift the horizon by 1 step.

Problem solved

How to explicitly incorporate physical constraints (actuator saturation, safe operating ranges) into the control loop while optimizing a multi-step trajectory.

Components

Internal ModelPredicts object behavior in response to a sequence of control inputs.

Plant dynamics model (linear or nonlinear) used to predict the state trajectory over the horizon.

Cost FunctionCel optymalizacji.

Cost function penalising reference deviations and input cost: J = Σ(||x-xref||²_Q + ||u||²_R) + ||x_N-xref||²_P.

Constraint SetSafety and physical constraint enforcement for the controlled plant.

Explicit constraints on states and inputs: u_min ≤ u ≤ u_max, x_min ≤ x ≤ x_max.

QP/NLP SolverComputes the optimal control sequence.

Optimization solver (OSQP, HPIPM, IPOPT, ACADOS) solving the problem in real time.

Implementation

Implementation pitfalls
Computation time exceeds sampling periodCritical

NMPC may exceed the sampling period on embedded CPUs, causing instability.

Fix:Use solver warm-starting, real-time iteration (RTI), a shorter horizon, or a faster solver (HPIPM, ACADOS).
Internal Model ErrorHigh

Mismatch between internal model and plant (especially after a fault in FTC) degrades control quality.

Fix:Adaptive model updates, robust MPC, integration with FDI.
Optimization task feasibilityHigh

Infeasible QP/NLP under tight constraints or disturbances may block control computation.

Fix:Slack variables, softened constraints, feasibility recovery procedure.

Evolution

1978
IDCOM — first industrial MPC
Inflection point

Richalet et al. propose IDCOM — the first industrial MPC implementation in a refinery.

1980
DMC — Dynamic Matrix Control

Cutler & Ramaker present DMC — MPC with step-response model.

1999
Mayne et al. — theoretical foundations
Inflection point

Mayne, Rawlings, Rao, Scokaert publish foundational theory with stability guarantees.

2012
Real-time NMPC for robotics

ACADO and CasADi enable NMPC on embedded hardware for drones and manipulators.

2020
Learning-based MPC

Integration of learned models (GP, NN) into the MPC framework — better prediction accuracy while retaining safety guarantees.

Hardware requirements

Primary

QP solvers (OSQP, HPIPM) heavily optimised for SIMD/AVX on CPU.

Possible

GPUs used for batched MPC or learning-based MPC with neural networks.

Possible

FPGA MPC solutions for ultra-short horizons (explicit MPC / pre-computed LUT).