Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

 

Model Predictive Control Toolbox

Learn more about Model Predictive Control Toolbox through product examples and online seminars that highlight features or application examples.
 

Videos

 

Getting Started with Model Predictive Control Toolbox   9:59

Use Model Predictive Control Toolbox to design and simulate model predictive controllers.

 

Using Tuning Adviser for Designing Model Predictive Controllers   7:23

Use Tuning Adviser to adjust model predictive controller weights to improve controller performance.

 

Online System Identification and Control Using OPC Communication   18:06

Improve process performance by designing and implementing a model predictive controller. Use OPC Toolbox and System Identification Toolbox to collect the input-output data and create a plant model.

 

Case Studies

 

Thermo-Mechanical Pulping Process with Multiple Control Objectives  

This example illustrates control of a thermo-mechanical pulping (TMP) application using model predictive controller.

 

AFTI-F16 Aircraft with Unstable Predictive Model  

This example shows how to use Model Predictive Control Toolbox to control a simplified model of the dynamics of an AFTI-F16 aircraft with saturating actuators.

 

DC Servomotor with Constraint on Unmeasured Output  

This example shows how to design an MPC controller to control a DC servomechanism under voltage and shaft torque constraints.

 

Chemical Reactor with Multiple Operating Points  

This example shows how Multiple MPC Controllers block can be used to create a scheduling based strategy to solve a nonlinear control problem with multiple operating conditions.

 

Nonlinear Blending Process with Custom Constraints  

This example shows how to use constraints on a combination of inputs and outputs to control a nonlinear blending process.

 

Getting Started with Model Predictive Control Toolbox

 

Control of a Multi-Input Single-Output Plant  

This example shows several features of Model Predictive Control Toolbox on a test system with one measured output, one manipulated variable, one measured disturbance, and one unmeasured disturbance.

 

Control of a Multi-Input Multi-Output Nonlinear Plant  

This example shows how to use model predictive controller to control a multi-input multi-output nonlinear system.

 

Design for Performance and Robustness

 

Setting Targets For Manipulated Variables  

This example shows how to design an MPC controller to control a system with two inputs and one output, and how to assign a target set-point for the first manipulated variable.

 

Using Custom Input and Output Constraints  

This example shows how to use mixed input/output constraints in an MPC Controller.

 

Simulating Model Predictive Controller with Plant Model Mismatch  

This example shows how to test an MPC controller under a mismatch between the nominal model which the controller is based on and the actual plant which is controlled by MPC.

 

Reviewing Model Predictive Controller Design for Potential Stability and Robustness Issues    New

Use the review command to detect potential issues with a model predictive controller design.

 

Understanding Control Behavior by Examining Optimal Control Sequence  

This example shows how to inspect the optimized sequence of manipulated variables computed by MPC controller at each sample time.

 

Designing Model Predictive Controller Equivalent to Infinite-Horizon LQR  

This example shows how to design an infinite-horizon MPC controller by setting the weights on the terminal predicted states.

 

Run-Time Features

 

Varying Input and Output Constraints  

This example shows how to vary input and output saturation limits in real-time using Model Predictive Control Toolbox.

 

Tuning Controller Weights    New

Vary weights on outputs, inputs, and ECR slack variable for soft constraints in real-time.

 

Monitoring Optimization Status to Detect Controller Failures    New

Detect controller failures at run-time.

 

Turning Controller Online and Offline with Bumpless Transfer  

This example shows how to obtain bumpless transfer when switching MPC from manual to automatic operation or vice versa.

 

Scheduling Controllers for a Plant with Multiple Operating Points  

This example shows how to use Multiple MPC Controllers block in a multi-controller set-up to achieve a simple nonlinear control scheme.

 

Switching Controllers Based on Optimal Costs  

This example shows how to use the optimal cost outport of the MPC Controller block to switch between multiple MPC controllers whose outputs are restricted to discrete values.

 

Improving Control Performance with Look-Ahead (Previewing)  

This example shows how to use MPC control with look-ahead (previewing) on reference and measured disturbance trajectories.


Trial Software Available

Licensed Users: Download a 15-day trial of most MathWorks products (login required).
Don't Have a License? Request trial software and a MathWorks representative will call to get you started.

Contact sales
Free technical kit
Trial software

Get Pricing and
Licensing Options