基于MATLAB的直流电机双闭环调速系统的设计与仿真资?- 百度文库 ر

ݷʱ : 2024/11/15 1:52:45һ µȫĶ

δСںϲƺĵλԾӦ

ԽԾӦ߽зͼʾ֪?i=4.57%5%ָҪ

8

ȽϾСںϲƺĵλԾӦߺδСںϲƺĵλԾӦ߿֪ǰ£԰СԻڵĽ״СԻںϲһԻڣӶ򻯵ҲӰ

3.תٻĶ̬У

1MATLABߣƾСںϲƺתٻƵߺ͵λԾӦ

ƹ̺ͽͼʾľСںϲ򻯺תٻ̬ṹͼ

ҲͨMARLABз棬£

>> n=50;

>> sys1=tf(0.016,[0.0016 1]); >> sys2=tf(8,[0.02 0]);

>> w=53.71*tf([0.016 1],[0.016 0]); >> figure(1);

>> margin(sys1*sys2*w); >> hold on >> grid on >> figure(2);

>> closys1=n* sys1*sys2*w/(1+sys1*sys2*w); >> t=0:0.001:0.06; >> step(closys1,t); >> grid on

ͨMATLAB棬ͼʾľСںϲƺתٻƵߺ͵λԾӦߣ

9

СںϲƺתٻƵ

СںϲƺתٻλԾӦ

ԽԾӦ߽зͼʾ֪תٳ=23.3%%ɹԶС0.5sָҪ

10

2δСںϲƺתٻƵߺ͵λԾӦMATLAB

ƹ̺ͽͼʾľСںϲ򻯺תٻ̬ṹͼ

ҲͨMARLABз棬£

>> sys0=tf(1,[0.001 1]);

>> sys1=tf(0.8,[0.0003/1666.67 1/1666.67 1]); >> sys2=tf(8,[0.02 0]); >> sys3=tf(0.02,[0.001 1]);

>> w=53.71*tf([0.016 1],[0.016 0]); >> figure(1);

>> margin(sys1*sys2*sys3*w); >> hold on >> grid on

11