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

Version 1.1.0.0 (36.5 KB) by Yi Cao
A tool and tutorial for multivariable state space MPC
8.3K Downloads
Updated 2 Jul 2011

View License

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.

Cite As

Yi Cao (2024). MPC Tutorial II: Multivariable and State Space MPC V2.0 (https://www.mathworks.com/matlabcentral/fileexchange/19650-mpc-tutorial-ii-multivariable-and-state-space-mpc-v2-0), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Model Predictive Control Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

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

1.0.0.0