File Exchange

image thumbnail

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

version 1.1 (36.5 KB) by

A tool and tutorial for multivariable state space MPC

4.83333
6 Ratings

28 Downloads

Updated

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.

Comments and Ratings (7)

sam

sam (view profile)

sam

sam (view profile)

.

pedro rivera

nice, im doing an mpc multivariable work on my work degree, i want to ask you about mpc tuning methodology, i mean, i tune weights just making system stable and simulating all operation points i´ll need, but i want to do a better job.

dinesh singh

nice

Jingyun

V. Poor

Siddhi Adhikihal

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

Updates

1.1

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

MATLAB Release
MATLAB 7.12 (R2011a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video