MPC Toolbox : How to set "time optimal" Control problem using Custom Constrain function?

조회 수: 2 (최근 30일)
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!

채택된 답변

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2023년 2월 6일
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.
  댓글 수: 1
종원 이
종원 이 2023년 2월 7일
Thank you for your answering. Please let me know if time optimal control is possible.
Thank you very much.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Controller Creation에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by