Model Predictive Control Toolbox

Model Predictive Control Toolbox

Design and simulate model predictive controllers

开始:

Designing Model Predictive Controllers

设计MPC控制器以控制受输入和输出约束的MIMO系统。运行闭环模拟以评估控制器性能。

MPC设计在Simulink万博1manbetx中

Model and simulate MPC controllers in Simulink using the MPC Controller block and other blocks provided by the toolbox. Trim and linearize a Simulink model to compute an internal linear time-invariant plant model for your MPC controller and obtain nominal values for plant inputs and outputs using万博1manbetxSimulink Control Design™.

MADLAB中的MPC设计

使用命令行功能设计MPC控制器。定义内部工厂模型;调整权重,约束和其他控制器参数。模拟闭环系统响应,以评估控制器性能。

在命令行中设计MPC控制器。

自动驾驶应用程序

Accelerate development of your ADAS systems using prebuilt Simulink blocks. Use the reference examples to quickly design ADAS controllers. Generate code from the Simulink blocks for deploying MPC controllers in the vehicle.

预建块

采用the Adaptive Cruise Control System, Lane Keeping Assist System, and Path Following Control System blocks as a starting point for your ADAS application and customize the design as needed. Generate code from the prebuilt blocks for in-vehicle deployment.

使用预设的Simulink块设计自适应万博1manbetx巡航控制系统。

Reference Application Examples

采用reference application examples to walk through a workflow for designing and deploying MPC controllers for automated driving systems. Reference application examples also show you how different parts of your system can be modeled at various levels of fidelity.

线性模型预测控制器

Design MPC controllers for systems with linear dynamics. Design adaptive and gain-scheduled MPC controllers for plants with dynamics that change with operating conditions.

线性MPC.

Design a linear MPC controller by specifying an internal plant model as a linear time-invariant (LTI) system created with Control System Toolbox™, or by linearizing a Simulink model with Simulink Control Design. Alternatively, import a model created from measured input-output data using System Identification Toolbox™.

为线性MPC设计指定内部工厂模型。

获得预定的MPC

Control nonlinear plants over a wide range of operating conditions with the Multiple MPC Controllers block. Design an MPC controller for each operating point and switch between the controllers at run time.

使用多MPC控制器块设计增益预定的MPC控制器。

MPC参数规范,状态估计和设计评审

Iteratively improve your controller design by defining an internal plant model, adjusting controller parameters, and simulating closed-loop system response to evaluate controller performance. Review your controller for potential design issues.

控制器参数

After defining the internal plant model, complete the design of your MPC controller by specifying the sample time, prediction and control horizons, scale factors, input and output constraints, and weights. The toolbox also supports constraint softening and time-varying constraints and weights.

在MPC设计器应用程序中指定控制器参数。

国家估计数

使用内置状态估计器估计控制器状态从测量的输出。或者,使用定制算法进行状态估计。

Custom state estimation.

Design Review

Detect potential stability and robustness issues with your MPC controller using the built-in diagnostic function. Use the diagnostic results to adjust controller weights and constraints during controller design to avoid run-time failures.

使用Design Review Report的建议改进控制器设计。

运行时参数调整and Performance Monitoring

Improve controller performance by tuning weights and constraints at run time. Analyze the run-time performance of your controllers.

运行时参数调整

调整重量和约束s of your MPC controller to optimize its performance at run time without redesigning or reimplementing it. Perform run-time controller tuning in both MATLAB®和Sim万博1manbetxulink。

在运行时调整权重和约束。

运行时性能监控

当优化可能无法收敛时,访问优化状态信号以检测罕见的场合。使用此信息指导关于备份控制策略的决策。

Detecting controller failures in real time.

实现快速模型预测控制器

在具有有限的计算资源的应用中设计,模拟和部署MPC控制器

Explicit MPC

从隐式MPC设计生成显式MPC控制器,以便更快执行。简化生成的显式MPC控制器,以减少内存占用。

Generating an explicit MPC controller from a previously designed implicit controller.

Approximate (Suboptimal) Solution

使用近似(次优)解决方案,设计,模拟和部署MPC控制器,具有保证的最坏情况执行时间。

Comparison of execution times of optimal and approximate (suboptimal) solutions.

Nonlinear Model Predictive Controllers

Design nonlinear MPC controllers to control plants using nonlinear prediction models, cost functions, or constraints.

Optimal Planning

使用非线性MPC控制器,以获得需要非线性成本或约束的非线性模型的最佳规划应用。

非线性MPC轨迹优化与飞行机器人的控制。

反馈控制

基于非线性成本下的非线性植物的闭环控制。默认情况下,非线性MPC控制器使用优化工具箱™来解决非线性编程问题。您还可以指定您自己的自定义非线性求解器。

放热化学反应器的非线性模型预测控制。

经济MPC

Design economic MPC controllers to optimize the controller for an arbitrary cost function under arbitrary nonlinear constraints. You can use a linear or nonlinear prediction model, a custom nonlinear cost function, and custom nonlinear constraints.

经济MPC控制环氧乙烷生产。

Code Generation

Generate code for model predictive controllers designed in Simulink and MATLAB and deploy it for real-time control applications.

使用matlab和simulink代码生成万博1manbetx

使用Simulink Coder™或Simulink P万博1manbetxLC编码器™设计Simulink中的MPC控制器,并生成C代码或IEC 61131-3结构化文本。使用MATLAB编码器™在MATLAB中生成C代码并将其部署用于实时控制。或者,使用MATLAB Compiler™打包并将MPC控制器作为独立应用程序共享。

从MPC控制器块生成C代码。

Built-In Solvers

Generate code from provided active-set and interior-point quadratic programming (QP) solvers for efficient implementation on embedded processors. For nonlinear problems, use the sequential quadratic programming (SQP) solver from Optimization Toolbox for simulation and code generation. Deploy the generated code to any number of processors.

内置求解器。

定制求解器

采用Embotech强制Pro QP和非线性编程(NLP)求解器模拟和生成线性和非线性MPC控制器的代码。或者,使用自定义QP和NLP求解器进行仿真和代码生成。

定制QP求解器进行仿真和代码生成。

获得免费试用

您的指尖30天的探索。


不知道从哪里开始?

如您需要帮忙,请联系我们。