MPC Toolbox : How to set "time optimal" Control problem using Custom Constrain function?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
종원 이
am 1 Feb. 2023
Kommentiert: 종원 이
am 7 Feb. 2023
Hello,
I am trying to control some plant "time optimally" which means to reach target point in a minimal time.
However, I don't know how to put this "time" information into the cost function.
It seems MATLAB MPC toolbox only supports state, input and parameter for setting cost function.
I think it seems possible if I use parameter, but I don't know how.
Thank you for answering!
0 Kommentare
Akzeptierte Antwort
Emmanouil Tzorakoleftherakis
am 6 Feb. 2023
Hello,
Unfortunately you cannot solve time-optimal problems with Model Predictive Control Toolbox because time cannot be used as a decision variable in the optimization. I have let the development team know about this and we will consider it for a future release. One workaround, although not equivalent, would be to use an error-based cost and weight the appropriate states as needed.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Controller Creation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!