稳态误差分析实验报告 (2)(6)
时间:2025-04-20
时间:2025-04-20
0 I II型系统的误差分别为:
2、求单位斜坡响应及稳态误差 MATLAB程序如下:
t=0:0.1:20; t1=0:0.1:100;
[num1,den1]=cloop([1],[0.2 0.9 1]); [num2,den2]=cloop([1],[0.2 0.9 1 0]); [num3,den3]=cloop([1],[0.2 0.9 1 0 0]); y1=step(num1,[den1 0],t1); y2=step(num2,[den2 0],t); y3=step(num3,[den3 0],t); subplot(311);plot(t1,y1,t1,t1); subplot(312);plot(t,y2,t,t); subplot(313);plot(t,y3,t,t); er1=t1(length(t1))-y1(length(t1)); er2=t(length(t))-y2(length(t)); er3=t(length(t))-y3(length(t));
仿真图如下:
下一篇:药品展示柜的使用常识