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