Documentation

Model Predictive Control Toolbox

Design and simulate model predictive controllers

Model Predictive Control Toolbox™ provides functions, an app, and Simulink® blocks for systematically analyzing, designing, and simulating model predictive controllers. You can specify plant and disturbance models, horizons, constraints, and weights. The toolbox enables you to diagnose issues that could lead to run-time failures and provides advice on tuning weights to improve performance and robustness. By running different scenarios in linear and nonlinear simulations, you can evaluate controller performance.

You can adjust controller performance as it runs by tuning weights and varying constraints. You can implement adaptive model predictive controllers by updating the plant model at run time. For applications with fast sample times, you can develop explicit model predictive controllers. For rapid prototyping and embedded system design, the toolbox supports C-code and IEC 61131-3 Structured Text generation.

Plant Specification

Specify plant model, input and output signal types, scale factors

MPC Design

Basic workflow for designing traditional (implicit) model predictive controllers

Adaptive MPC Design

Adaptive control of nonlinear plant by updating internal plant model at run time

Explicit MPC Design

Fast model predictive control using precomputed solutions instead of run-time optimization

Gain-Scheduled MPC Design

Gain-scheduled control of nonlinear plants by switching controllers at run time

Code Generation

Generate code and deploy controllers on real-time targets