MPC for state space model with constant term
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to design an MPC for a plant with state space model that includes constant term f:
- 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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Refinement에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!