mpc控制与pid控制效果matlab,MPC模型预测控制(三)-FAST_MPC MATLAB代码实现

fast_mpc是用于快速模型预测控制的C语言实现,带有MATLAB mex接口。该软件包包含两个函数,用于解决线性时不变系统的优化问题,适用于快速MPC。通过fmpc_step和fmpc_sim函数,可以解决约束下的优化问题,并进行MPC仿真。文章提供了安装指南、函数使用方法以及示例代码。
摘要由CSDN通过智能技术生成

fast_mpc: code for fast model predictive control

Version Alpha (Sep 2008)

Yang Wang and Stephen Boyd

Purpose

fast_mpc contains two C functions, with MATLAB mex interface, that implement the fast model predictive control methods described in the paper Fast Model Predictive Control Using Online Optimization. See this paper for the precise problem formulation and meanings of the algorithm parameters.

Download and install

Get and unpack the package files from either of

fast_mpc-0.0.1.tar.gz

fast_mpc-0.0.1.zip

This will create a directory that contains all source, as well as this documentation.

See the file INSTALL for installation instructions.

What fast_mpc does

We consider the control of a time-invariant linear dynamical system

07a54caae019115c566459a8b74aa048.png

where

3750ceb1c34195a04d09569bb6e9edd6.png

12266fdfae64fb7a578f60064b5e3565.png, and 

cdf3e0f6619a1975657231952401bbb0.png are the state, input, and disturbance at time 

ca8e0f84581e0482a9ccca4ff876c016.png, and 

18f4b9c5daa12952261405aa9335c052.png and 

9a7a54df54a847da6265229d6180bc04.png are the dynamics and input matrices.

In

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值