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

📄 spwave.m

📁 Although most of the health problems related to fast food aren t felt until middle age -- obesity an
💻 M
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  spwave.m - simulates the component forward & backward 
%             air gap mmf waves of a single-phase induction    
%             motor for one magnetic pole-pair pitch of
%             movement in 10 magnetic (electric) degree
%             increments. Components are then added to give
%             resultant air gap standing wave.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

clear; colordef white;
p=input('How many poles    ');   % No. of poles
theta=linspace(0,2*pi,50); n=length(theta);
ro=6; rs=5; rr=4;  % Outside, bore, & rotor radii
rgr=4.5;           % Air gap center grid radius
Ro=ro*ones(1,n);Rs=rs*ones(1,n);Rgr=rgr*ones(1,n);Rr=rr*ones(1,n);
F=zeros(1,n); F1=F; F2=F; phi=pi/4;
for i=1:37; pause(0.001);
   polar(theta,Ro,'-.'); hold on; polar(theta,Rs,'-.');
   polar(theta,Rgr,'m'); polar(theta,Rr,'g-.');
for j=1:n; 
F1(j)=Rr(j)+0.5+0.225*cos(p/2*theta(j)-phi);
F2(j)=Rr(j)+0.5+0.225*cos(p/2*theta(j)+phi);
F(j)=F1(j)+F2(j)-Rr(j)-0.5; end
polar(theta,F,'r'); polar(theta,F1,'y:'); polar(theta,F2,'c-.');
text(0.9,rs+0.25,'Stator');text(-1.5,rr-0.75,'Rotor');
text(5.5,5,'.. Forward');text(5.5,4,'-. Backward');
text(5.5,6,'- Resultant');
name=['Air gap mmf waves of single-phase induction motor';
   '                                                 ';
   '                                                 ']; title(name);
phi=phi+pi/18; hold off;
end

⌨️ 快捷键说明

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