Get Started withModel Predictive Control Toolbox
Model Predictive Control Toolbox™ provides functions, an app, and Simulink®blocks for designing and simulating controllers using linear and nonlinear model predictive control (MPC). The toolbox lets you specify plant and disturbance models, horizons, constraints, and weights. By running closed-loop simulations, you can evaluate controller performance.
You can adjust the behavior of the controller by varying its weights and constraints at run time. The toolbox provides deployable optimization solvers and also enables you to use a custom solver. To control a nonlinear plant, you can implement adaptive, gain-scheduled, and nonlinear MPC controllers. For applications with fast sample rates, the toolbox lets you generate an explicit model predictive controller from a regular controller or implement an approximate solution.
For rapid prototyping and embedded system implementation, including deployment of optimization solvers, the toolbox supports C code and IEC 61131-3 Structured Text generation.
Tutorials
- Design Controller Using MPC Designer
使用MPC设计器为连续搅拌坦克反应器(CSTR)设计模型预测控制器。
- 设计MPC Controller in Simulink
使用MPC设计器为Simulink模型设计和模拟模型预测控制器。金宝app
- 设计MPC Controller at the Command Line
Design and simulate a model predictive controller at the MATLAB®command line.
- Model Predictive Control of a Single-Input-Single-Output Plant
Create and simulate a model predictive controller for a SISO plant.
- Model Predictive Control of Multi-Input Single-Output Plant
Create and simulate a model predictive controller for a plant with multiple inputs and a single output.
- Model Predictive Control of a Multi-Input Multi-Output Nonlinear Plant
Create and simulate a model predictive controller for a MIMO plant.
About Model Predictive Control
- What is Model Predictive Control?
MPC主要概念简介。
- MPC Signal Types
Plant inputs are independent variables that affect the plant, and plant outputs are dependent variables that you want to control or monitor.
- MPC Prediction Models
Model predictive controllers use plant, disturbance, and noise models for prediction and state estimation.
- Controller State Estimation
MPC controllers use their current state as the basis for predictions. In general, the controller states are unmeasured and must be estimated.
- Optimization Problem
Model predictive controllers compute optimal manipulated variable control moves by solving a quadratic program at each control interval.
- QP Solvers
模型预测控制器QP求解器将MPC优化问题转换为通用形式二次编程问题。
Videos
Why Use MPC?
Understand the benefits of using model predictive control.
What Is MPC?
了解模型预测控制的工作原理。
MPC Design Parameters
Understand common MPC design parameters, such as sample time, horizons, tuning weights, and constraints.