4.66667

4.7 | 3 ratings Rate this file 52 Downloads (last 30 days) File Size: 36.51 KB File ID: #19650
image thumbnail

MPC Tutorial II: Multivariable and State Space MPC V2.0

by Yi Cao

 

21 Apr 2008 (Updated 02 Jul 2011)

A tool and tutorial for multivariable state space MPC

| Watch this File

File Information
Description

As planned, this is the second part of the MPC series. To dealing with multivariable, state-space model is most convenient. In this part, a tool to setup the state-space model based predictive controller is provided. The setup program returns a function handle for the online MPC controller.

The online controller is implemented as a nested function, hence the internal model, internal states, control parameters are all stored inside of the workspace of the setup program so that the interface of the online controller is significantly simplified.

A 2-CSTR example is included to demonstrate the usage of this tool.

The tool also provides an example for beginners to learn how to use nested function to replace persistent variables.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Model-based Predictive Control: A Practical Approach, MPC Tutorial I: Dynamic Matrix Control
This submission has inspired the following:
MPC Tutorial III: MPC in Simulink V2

MATLAB release MATLAB 7.12 (2011a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
30 Aug 2008 Siddhi Adhikihal

Well,its a good tutorial. Just need more example to make it perfect.

05 Apr 2009 V. Poor  
09 Aug 2011 Jingyun  
Please login to add a comment or rating.
Updates
02 Jul 2011

A bug removed. Now different output can follow different setpoint properly.

Tag Activity for this File
Tag Applied By Date/Time
model predictive control Yi Cao 22 Oct 2008 09:58:31
general predictive control Yi Cao 22 Oct 2008 09:58:31
receding horizon Yi Cao 22 Oct 2008 09:58:31
mpc ben harper 24 Aug 2009 06:48:37
model predictive control vasile zeno 28 Jun 2011 14:52:33

Contact us at files@mathworks.com