Model Predictive Control (MPC)
Repeatedly predicting future behaviour and choosing control actions over a moving time horizon.
The Robot Version of “Let Me Think One Move Ahead”
Ever watched someone carry a full coffee to the couch like they’re defusing a bomb?
That’s basically Model Predictive Control. Except with robots, cars, and machines that cost more than your apartment.
The trick
MPC is how a machine plans its next move by constantly asking: “If I do this now, what’s probably about to happen?”
Not forever. Just the near future. A few steps ahead.
It runs little mental simulations, fast. Like:
- If I step here, will I wobble?
- If I turn this much, will I overshoot?
- If I brake now, will I stop smoothly or launch your lunch into the dashboard?
Then it picks the best next action.
Important bit. Just the next action.
A second later, it does the whole thing again with fresh info. So it’s not making one giant life plan like a guy at brunch explaining his five-year vision. It’s constantly re-planning.
Think: driving in traffic
You don’t drive by choosing one steering angle and praying.
You glance ahead. See the bad driver drifting. Notice the light changing. Guess what happens if you speed up, brake, or switch lanes. Then you make the best move now.
That’s MPC.
It uses a model, basically a math-based guess of how the system behaves, to predict what happens next. Hence the name. Very serious name for something that’s really just “try a bunch of likely futures, pick the least dumb option.”
Why people care
This is a big deal when the world is messy and timing matters. Humanoid robots. Self-driving cars. Drones. Factory machines. Anything where one bad move turns into a faceplant, crash, or expensive oops.
MPC helps machines act less like toddlers in oversized shoes and more like they’ve actually thought this through.
That’s why it matters. It’s not magic. It’s a machine repeatedly rehearsing the immediate future so reality goes less off the rails.