Model Predictive Control
Model Predictive Control
The Model Predictive Control is an advanced model-based control method that relies on an
accurate mathematical model of the controlled system to predict its future behavior. The
MPC’s control strategy can be regarded as a constrained optimization problem, which consists
of the discretized model of the plant and an objective function that can be tailored to the user’s
control objectives.
Starting from its current state, the behavior of the controlled system variables is predicted over
a finite prediction horizon prediction, thus giving MPC the capability to anticipate system
responses to disturbances and make informed decisions regarding optimal control outputs
while considering system constraints and limitations.
Rather than implementing the entire sequence of optimal control outputs computed during the
optimization process, only the first element is executed, and this process is repeated at the
next time step thanks to a receding horizon strategy.
Model Predictive Control vs classical PID control
Control strategy: By knowing the mathematical model of the controlled system, the MPC
control strategy focuses on how the controlled variables will behave starting from the current
information and the given prediction horizon. Conversely, PI control is a feedback-based
control strategy that computes the control output based on the current error (the difference
between the desired setpoint and the measured process variable) and its past behavior through
proportional, integral and derivative terms.
Robustness to disturbances: MPC, being a predictive control method, can find the best
control action that minimizes the impact of disturbances over the given time horizon, leading
to more stable control performance. Conversely, in the feedback-based control strategy of
PID controllers, only the immediate control action is optimized, making PID controllers
generally more susceptible to disturbances compared to MPC controllers
Constraint management: MPC naturally incorporates constraints on control inputs, state
variables, and performance criteria into its optimization framework. It can enforce constraints
on the system variables throughout the control process. Conversely, PID control does not
directly handle constraint management. To ensure that system variables remain within their
acceptable limits, one common approach is to incorporate limiters or saturation functions into
the control loop to prevent the control output from exceeding the specified limits. However,
unlike MPC, which proactively considers constraints during optimization, this approach in PID
control is more reactive and therefore can be too aggressive in specific scenarios.
To implement MPC effectively, a precise mathematical model of the controlled process has to
be developed, including dynamics and constraints. This modeling process can be complex
and time-consuming, especially for systems with nonlinearities or time-varying behavior.
However, for systems where accuracy, robustness, and flexibility are critical, the benefits of
MPC often outweigh the added complexity.