필터 지우기
필터 지우기

MPC Alternative Cost Function

조회 수: 1 (최근 30일)
João
João 2011년 5월 31일
How can I use the alternative cost function in model predictive control toolbox? Is it just necessary to specify Q and R weight matrices as positive-semi-definite matrices ?
Thanks,
João

채택된 답변

João
João 2011년 6월 1일
Its just necessary to enter with the matrices.
Typing mpcprops you can see:
Alternative weighting: using the syntax Weights.MV={R}, where R is a Nu x Nu
symmetric and positive semi-definite matrix, one can specify a matrix weight R,
which is constant over the prediction horizon (similar syntax for Weights.MVRate and Weights.OV)
Thanks.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2011년 5월 31일
It looks like you need a total of three positive semi-definite matrices
though defaults do apply if you omit one of them.
  댓글 수: 1
João
João 2011년 5월 31일
Walter, this is true. You're correct.
But I want to know if this is the only requirement.
I've specified the matrices and the MPCobj get it. But how can I know if it is using the alternative cost function?
Thanks.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by