Lesson 14 of 14 · Module D: Advanced strategies

Introduction to model predictive control

Process Dynamics and Control · EIE306

By the end of this lesson you can

  • Explain the receding-horizon idea
  • Describe why MPC handles constraints and many variables
  • Know where MPC is used in industry

Notes

Model predictive control (MPC) uses a dynamic model to predict the future output over a horizon, then chooses a sequence of future moves that minimises an objective while respecting limits.

$$\min_{\Delta u}\ \sum_{k=1}^{P}\left\|y_{sp} - \hat y(k)\right\|^2_Q + \sum_{k=0}^{M-1}\left\|\Delta u(k)\right\|^2_R$$

subject to $u_{min} \le u \le u_{max}$ and $y_{min} \le \hat y \le y_{max}$.

Receding horizon

  1. Measure the current output and correct the prediction for model error.
  2. Solve the optimisation over the prediction horizon $P$ with $M$ future moves.
  3. Apply only the first move.
  4. At the next sample, repeat with new measurements.

Why industry uses it

  • Handles constraints directly, so plants can run closer to limits.
  • Handles many interacting inputs and outputs in one controller.
  • Uses feedforward from measured disturbances naturally.

MPC is standard in refineries, petrochemical plants and power systems, usually as a layer above the PID loops: MPC sets the set-points and PID loops move the valves.

Lecture

🎬
Lecture video
Coming soon. The recorded lecture for this lesson will appear here.

Exercises

  1. Why does MPC apply only the first move and then re-solve?
    Show solution
    Because the model is never perfect and new disturbances arrive. Re-solving with fresh measurements adds feedback and corrects the plan.
  2. What is the effect of increasing the move-suppression weight $R$?
    Show solution
    Smaller, smoother input moves and a slower but more robust response.
  3. Give two reasons MPC is placed above PID loops rather than replacing them.
    Show solution
    PID loops are fast and reliable for single valves; MPC runs at a slower rate and handles the multivariable, constrained optimisation. If MPC is switched off the PID loops keep the plant running.