用MATLAB的Simulink工具箱实现MPC控制,对MPC对象添加白噪音,代码如下:
%% Modify Controller Design: Increase Estimator Signal-to-%% Noise
% The controller is stable but its disturbance rejection is % sluggish. Try increasing the state estimator signal-to-% noise by a factor of 10 and test the design again.
D = ss(getindist(MPC_OBJ));
D.b = eye(2)*10;
set(D,’InputName’,[],’OutputName’,[],’InputGroup’,[],’OutputGroup’,[]);
setindist(MPC_OBJ, ‘model’, D);
转载请注明:王杭州的个人网页 » 在MPC控制系统中添加白噪音