フィルターのクリア

MPC for state space model with constant term

2 ビュー (過去 30 日間)
aurochs
aurochs 2021 年 12 月 17 日
編集済み: aurochs 2021 年 12 月 17 日
I want to design an MPC for a plant with state space model that includes constant term f:
Following suggestions from other answers (Discussion 1, Discussion 2), I tried several methods:
  1. Include unmeasured input disturbance of random step-like model with magnitude f
A = [0 1;-2.4e3 -528];
B = [0 0 0;0.0004 0 -1];
C = eye(3);
D = zeros(2,3);
f = 42.6506;
Ts = 0.2;
plant = ss(A,B,C,D,Ts);
p = 5;
m = p;
mpcobj = mpc(plant,Ts,p,m);
setindist(mpcobj,'model',tf(f,[1 0]));
2. Include an offset of f/B to the MPC's control signal before the plant
A = [0 1;-2.4e3 -528];
B = [0 0;0.0004 0];
C = eye(2);
D = zeros(2,2);
f = 42.6506;
Ts = 0.2;
Offset_time=[0:Ts:30 f/B(2,1) 0];
plant = ss(A,B,C,D,Ts);
p = 5;
m = p;
mpcobj = mpc(plant,Ts,p,m);
However, I did not get the response that I expected. Please advise if what I'm doing are correct. Thank you.

回答 (0 件)

カテゴリ

Help Center および File ExchangeRefinement についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by