⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 t21mo.m

📁 状态反馈matlab仿真程序
💻 M
字号:
%------------------------------------------------------------------
%  This program is used to solve (ot test) the step response 
%        of Close Loop System by Inner-model method
%  NOTE: The 'iden_c22e.m' must be executed first.
%------------------------------------------------------------------


Ts=120;
%Kp=0.9012, Ti=Kp/0.1904, Td=0.4719/Kp, 
lemda=7;
figure(4);
clf;
xlabel('t'); ylabel('y'); Title('The Step Response of Close Loop System');
hold on

for (i=1:1:10)
   
   Kp=b1/(2*lemda*K);
   Ti=b1/b0;
   Td=b2/b1;
   Lf=lemda/2;

   [t,xx,ym]=sim('t21c',Ts);
   plot(t,ym);
   
   i,lemda,
   lemda=lemda+0.5;
   
end
lemda=8,
Kp=b1/(2*lemda*K),
Ti=b1/b0,
Td=b2/b1,
Lf=lemda/2,


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -