Basic Idea of MPC
Basic Idea of MPC
MPC can manage systems where multiple inputs affect multiple outputs, known as
MIMO systems. Because of these connections, it can be hard to design MIMO
systems with traditional controllers like PID. However, MPC can control all outputs
at once while considering how inputs and outputs influence each other.
MPC can also manage limits or constraints. These limits are important because
ignoring them can cause problems. MPC can predict changes (like feed-forward
control). If it knows about changes in advance, it can respond better and perform
more effectively.
Engineers have been using MPC in process industries since the 1980s. As
computers have become more powerful, MPC has also been used in other areas
like cars and airplanes.
The controller solves this optimization problem to get a sequence of optimal steering
angles but only applies the first one to the car. At the next time step, it updates with the
car’s new position, shifts its prediction horizon forward, and repeats the process—
continuously adjusting for smooth and accurate path tracking.
Mohamed Alamrouni 3787
Handling Nonlinearity :
For linear systems with linear constraints and cost functions, linear time-invariant MPC
is ideal. This formulation results in a convex optimization problem that can be
efficiently solved using standard numerical methods. When dealing with mildly
nonlinear systems, you have two practical options: adaptive MPC (which updates the
linear model in real-time as operating conditions change) or gain-scheduled MPC
(which uses pre-computed linear models at specific operating points).
However, for strongly nonlinear systems - or when dealing with nonlinear constraints
or cost functions even in linear plants - nonlinear MPC becomes necessary. This
approach handles the full complexity of the system dynamics but requires more
sophisticated optimization techniques.
To optimize MPC performance, key parameters must be set carefully. The sample
time is critical choose one that balances speed and computational effort. A
practical guideline is to take 10–20 control actions during the system’s response
time.
The prediction horizon must cover the system's significant dynamics, generally
spanning 20-30 time steps, while the control horizon is often set to 10-20% of the
prediction horizon to optimize maneuverability without excessive computation.