MPC Tutorial II: Multivariable and State Space MPC (Scripts) Publisher's description
from Yi Cao
As planned, this is the second part of the MPC series.
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.
System Requirements:MATLAB 7.6 (R2008a)
Program Release Status: Major Update
Program Install Support: Install and Uninstall