How can I know the Cost function expression used in MPC command line, when I use 'sim' command
이전 댓글 표시
hi
I have used sim command to solve the MPC problem, with weighting matrices for MV,MVRate and OV. And also I have given the constriants on MV & OV. The state estimator used for this problem is inbuilt kalman filter. Then what could be the cost expression considered by the MPC controller?. will weight matrices become "diag or blk diag"? will you please give a clarity on this..I'm littlebit confused.
your inputs become more helpful to me
thank you in advance
댓글 수: 5
Emmanouil Tzorakoleftherakis
2023년 3월 15일
how did you define the cost weights?
Sarala Gurijala
2023년 3월 15일
Sarala Gurijala
2023년 3월 17일
Emmanouil Tzorakoleftherakis
2023년 3월 20일
As I mentioned in the other thread, if you follow this example and provide the entire weight matrix as a cell array, you will use the alternate cost. Otherwise, you can just specify a single scalar weight for the respective diagonal element
Sarala Gurijala
2023년 3월 21일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Model Predictive Control Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!