Nonlinear Model Predictive controller toolbox?
1 view (last 30 days)
Show older comments
Hi,
Does any one knows if there exist a NMPC toolbox in Matlab?
I´ll appreciate your help.
Best Regards
Accepted Answer
Dennis
on 6 Jan 2016
Hi Cesar,
as I read through this topic, only linear MPC are available. Reason is that they are similar to a state feedback law and can be calculated fast. If you only look for nonlinear-MPC because your plant is nonlinear, Matlab helps by supplying a lot of awesome linearization tools. Recently, the MPC toolbox supports changing the linearization point during runtime so even though your model is linearized, it will be pretty close to the real solution. It is called multiple MPC:
http://de.mathworks.com/help/mpc/ug/nonlinear-control-using-multiple-models.html
If you need a nonlinear MPC because of you needing a very special cost function or other nonlinear (cool, awesome) stuff, the Toolboxes don't help. Then you need to make your own nonlinear MPC. Be aware that such things run very slow!
More Answers (1)
bingheng wang
on 14 Apr 2017
Hi,Cesar, I have the same problem with you, fortunately, I have found that we can use 'fmincon' to solve the nonlinear MPC. This is demonstrated clearly in the example 'Swing-up control of a pendulum using nonlinear predictive control'. You can find the example in the Mathworks community.
0 Comments
See Also
Categories
Find more on Nonlinear Control in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!