• 大小: 28KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-05
  • 语言: Matlab
  • 标签: 教学  

资源简介

matlab code for mpc controller. 有step response 实例和 经典水箱加热 范例

资源截图

代码片段和文件信息

function p=dmc(p)
% DMC   Dynamic Matrix Control
% P=DMC(P) determines the dynamic matrix control (input change) based on
% the plant model (step response) and current measurement stored in the
% structure P. 
% Input:
%   P.sr - unit step response data
%   P.u  - current input initially 0
%   P.v  - past input initially empty
%   P.G  - dynamic matrix set by the initial call
%   P.F  - matrix to calculate free response set by the initial call
%   P.k  - DMC gain set by the initial call
%   P.r  - reference (set point)
%   P.a  - reference smooth factor
%   P.p  - prediction horizon
%   P.m  - moving horizon
%   P.y  - current mrasurement
%   P.la - performance criterion weight i.e. J = ||r-y|| + p.la*||du||
%          where du is the input change
% Output:
%   P.

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        2766  2008-04-08 01:18  dmc.m
     文件        4862  2008-04-08 01:21  dmctutorial.m
     文件       15119  2008-04-08 01:22  html\dmctutorial.html
     文件        5874  2008-04-08 01:22  html\dmctutorial_01.png
     文件        5906  2008-04-08 01:22  html\dmctutorial_02.png
     文件        5535  2008-04-08 01:22  html\dmctutorial_03.png
     文件        5553  2008-04-07 15:26  html\WaterHeater.PNG
     文件        1306  2014-02-12 12:35  license.txt

评论

共有 条评论