robust-tube-mpc
所属分类:其他
开发工具:matlab
文件大小:175KB
下载次数:27
上传日期:2020-04-21 21:05:05
上 传 者:
不器不器
说明: 使用管鲁棒模型预测控制
这个库包含示例管模型预测控制(tube-MPC)[1, 2]以及通用模型预测控制(MPC)用MATLAB编写的。
(Robust Model Predictive Control Using Tube
This repository includes examples for the tube model predictive control (tube-MPC)[1, 2] as well as the generic model predictive control (MPC) written in MATLAB.)
文件列表:
example\example_dist_inv_set.m (1147, 2019-03-27)
example\example_MPC.m (742, 2019-03-27)
example\example_optimalcontrol.m (765, 2019-03-27)
example\example_tubeMPC.m (1246, 2019-03-27)
fig\sample1.jpg (125712, 2019-03-27)
fig\sample2.jpg (134601, 2019-03-27)
LICENSE.md (1072, 2019-03-27)
src\Graphics.m (2842, 2019-03-27)
src\LinearSystem.m (1418, 2019-03-27)
src\ModelPredictiveControl.m (1738, 2019-03-27)
src\OptimalControler.m (6414, 2019-03-27)
src\TubeModelPredictiveControl.m (4443, 2019-03-27)
src\utils\convert_Poly2Mat.m (608, 2019-03-27)
src\utils (0, 2019-03-27)
example (0, 2019-03-27)
fig (0, 2019-03-27)
src (0, 2019-03-27)
# Robust Model Predictive Control Using Tube
This repository includes examples for the tube model predictive control (tube-MPC)[1, 2] as well as the generic model predictive control (MPC) written in MATLAB.
## Requirement
1) optimization_toolbox (matlab)
2) control_toolbox (matlab)
3) Multi-Parametric Toolbox 3 (open-source and freely available at http://people.ee.ethz.ch/~mpt/3/)
## Usage
See `example/example_tubeMPC.m` and `example/example_MPC.m` for the tube-MPC and generic MPC, respectively. Note that every inequality constraint here is expressed as a convex set. For example, the constraints on state `Xc` is specified as a rectangular, which is constructed with 4 vertexes. When considering a 1-dim input `Uc`, `Uc` will be specified by min and max value (i.e. `u[u_min, u_max]`), so it will be constructed by 2 vertexes. For more detail, please see the example codes.
## Short introduction to the tube MPC
After running `example/example_tubeMPC.m`, you will get the following figure.
Now that you can see that the green nominal trajectory starting from the bottom left of the figure and surrounding a "tube". The blue plot means the real trajectory affected by the disturbance. You can see that this real trajectory never stick out from the "tube", and is robustly guided into the region `Xf-Z`.