필터 지우기
필터 지우기

MPC for state space model with constant term

조회 수: 3 (최근 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 CenterFile Exchange에서 Refinement에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by