实例介绍
simulink中mpc模块的详细说明,希望给你的设计带来帮助!
Printing history: Jan 2000 Draft MPC Graphical User Interface -3 MPC Simulink library Pr eface Disclaimer State of Development The MPC Simulink Library is in a developmental(beta) stage. It is not an official Math Works product. It has been tested extensively, but it is likely that some problems remain. Please review all calculations with a critical eye We will also be improving features in response to your comments In Case of Difficulty This beta version of the MPC Simulink Library is not being supported by The Math Works. If you encounter a problem please check the FAQ (see"Updates"below). If that doesnt help, please send a detailed description by e-mail to a Bemporad at the following address bemporad@aut. eeethz. ch He would also be happy to have your suggestions for improvements in the usability of the mPc Simulink Library, its documentation and the mpc toolbox in general Updates The faQ and latest beta version of the MPc Simulink library will be inainlained for download at http://control.ethz./-bemporad/toolbox/mpclib.html Acknowledgements We appreciate the help of Federica Rusconi, Domenico Mignone, Carles Pedret Ferre, Adrian Toller, Konrad Stadler Tobias Raithel, Kazuro Tsuda, Jay Lee, Pascal Gahinet, and greg wolodkin Introduction MPC Simulink Library Overview 1-2 Options Starting the MPC Simulink Library System requirements Installation 1-3 Quick Start Leisurely Start 1-4 MPC Fundamentals lntroduction MPC Simulink Library Overview The MPC Simulink Library is designed to help you analyze and simulate Model Predictive Control (MPC)modules within any Simulink description of the environment. opti。ns The mPc simulink library supports four controller blocks, to be connected in feed back with the system to regulate. Each block receives output measurements and returns the control input action to the system. The four blocks are the following e Regulator. The MPC block regulates the output of the system to zero Controller. An additional reference signal is received by the mPc controller. The output of the system will track such a signal Controller with Measured Disturbance Rejection. An additional information about measured input disturbance signals entering the system is received by the mPC controller and taken into account in the computation of the control action Controller with Anticipation. Reference and measured disturbance signals are read from file. This allows knowing future samples when computing the control action Starting the MPC Simulink Library Starting the MPC Simulink Library System Requirements You'lI need the following MATLAB software MPC Toolbox for MaTLAB Version 5, including the MPC Simulink library files (which are currently an add-on to the standard MPC Tools release MATLAB Version 5.3 or greater Simulink version 3.0 or greater · Control toolbox. Installation 1 Make a backup copy of your MPC Tools directory(which should be located in your MATLAB directory,e. g MATLAB/toolbox/mpc). This will allow you to restore your original state if the gUi installation interferes in some unexpected way 2 Download the latest version of the MPC Simulink library from http://control.ethz.ch/-bemporad/toolbox/mpclib.html It's a ZIP archive. Extract the contents using one of the many available utility programs (e.g, WinZip). This should create a new mpclib directory within the mpc directory IMPORTANT: The Zip archive is not a full version of mpc tools. you must have existing mpc/ mpccmds and mpc/ mpcdemos directories. The files from the archive only update these directories 3 Set your MATLAB Path so the new mpc/mpclib directory is included. Verily that the original mpc/mpccmds and mpc/mpcdemos directories are also on the path 4 Type"mpclib"in the MATLAB Command window. You should see the MPC Simulink library 5 If it doesn't work or you have other problems, see section In Case of Difficulty in the preface to this document lntroduction Quick start 1Type‘ mpclibdemo” in the command window 2 Choose one of the tutorial examples 3 Examine the Simulink mdl file and the matlab m lile for the demo 4 Try it with your own applications Leisurely start The following sections of this document provide tutorial examples and additional details If possible, work through the steps in MATLAB! Simulink as you read MPC Fundamentals MPC FUndamentals This section reviews MPC concepts and defines key terms. If you're already familiar with MPC you may prefer to read Chapter 2, " MPC Worksheet Basics"next. Overview: single-input, single-output (SISO)MPC gure l-l shows a situation in which MPC is trying to hold a single variable, y, at a target description of the signals appearing in Figure 1/ r "actuator")u See Table 1-1 for a brief The box labeled"plant "is the real process or mechanism that produces y. It responds to changes in u as well as to two types of disturbance signals: measured, v, and unmeasured d. Some applications have unmeasured disturbances only; the v signal is optional. The unmeasured disturbance represents the usual mysterious events that upset plant operation, causing variations in y. The only sign that such an event has occured is a change in the measured output, y Measured Disturbance Noise Setpoint Actuator MPC Plant Output Disturber Measured Output( Controlled Variable) g Block diagram of a single-input, single-output MPC application. 【实例截图】
【核心代码】
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论