explicitmpc
显式模型预测控制器
Description
显式模型预测控制使用离线计算来确定通过评估线性函数确定最佳控制移动的所有操作区域。与传统(隐式)模型预测控制器相比,显式MPC控制器所需的运行时间计算较少,因此对于需要少量样品时间的应用程序很有用。
To implement explicit MPC, first design a traditional (implicit) model predictive controller for your application, and then use this controller to generate an explicit MPC controller for use in real-time control. For more information, seeDesign Workflow for Explicit MPC。
创建
创建一个explicitmpc
目的:
Create an implicit MPC controller using an
mpc
目的。Define the operating range for the explicit MPC controller by creating a range structure using the
生成解释性
功能并使用点表示法指定边界。Define the optimization options for converting the implicit controller into an explicit controller using the
生成解释性
功能。根据隐式控制器,操作范围和优化选项创建明确的MPC控制器
generateExplicitMPC
功能。
特性
对象功能
SIMplify |
减少明确的MPC控制器的复杂性和内存要求 |
plotSection |
将显式MPC控制法视为2-D分段图 |
mpcmoveExplicit |
使用显式MPC计算最佳控制 |
SIM |
Simulate an MPC controller in closed loop with a linear plant |
mpcstate |
MPC控制器状态 |
getCodeGenerationData |
创建数据结构mpcmoveCodeGeneration |
Examples
也可以看看
Introduced in R2014b