• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (11): 154-159.

• 论文 • 上一篇    下一篇

MIMO系统预测控制及其Matlab与VC仿真实现

刘腾腾,王唯一   

  1. (上海大学机电工程与自动化学院,上海 200072)
  • 收稿日期:2011-06-10 修回日期:2011-09-02 出版日期:2011-11-25 发布日期:2011-11-25

Predictive Control and Simulation Using Matlab and VC for an MIMO System

LIU Tengteng,WANG Weiyi   

  1. (School of Electromechanical Engineering and Automation,Shanghai University,Shanghai 200072,China)
  • Received:2011-06-10 Revised:2011-09-02 Online:2011-11-25 Published:2011-11-25

摘要:

本文对一个多入多出耦合系统设计了一种基于隐式算法的广义预测控制器(GPC),此隐式算法利用与基于脉冲模型的预测控制(DMC)算法的等价性化简, 避免求解Diophantine方程。同时对此多入多出系统设计了DMC控制器,并对二种算法和控制效果进行了比较。本文用Matlab 编程实现两种控制算法,用VC++设计界面,在VC中调用M函数的动态链接库DLL实现Matlab和VC的混合编程。对此被控MIMO系统,最终即可通过在VC界面上实现控制方式和控制输出的设定得到控制输入输出的仿真图。此程序可以脱离Matlab环境运行。

关键词: 预测控制, 动态矩阵控制(DMC), 广义预测控制(GPC), Matlab, VC, 动态链接库(DLL)

Abstract:

An implicit expressive algorithm based GPC is designed for an MIMO system. The calculation of GPC is simplified by using the equivalency between GPC and DMC to avoid calculating the Diophantine equation in this implicit expressive algorithm. A DMC is also designed for this MIMO system to compare the methods and control results. The algorithms is executed using Matlab, while the interface is designed using VC++. DLL is used to make the cooperation of Matlab and VC possible. The result is that, the simulation of the control results can easily be obtained by simply setting the control method and the desired outputs. The program can run in the nonMatlab environments.

Key words: predictive control;dynamic matrix control (DMC);generalized predictive control(GPC);Matlab;VC;dynamic link library (DLL)