cummtr.m

来自「Although most of the health problems rel」· M 代码 · 共 40 行

M
40
字号
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  cummtr.m - plots developed torque-speed curve for cumulative 
%             compound excited dc motor with rated voltage applied.
%             Armature reaction neglected.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear; clf;
VtR=600;                      % Rated terminal voltage
PR=80;                        % Rated output horsepower
Ra=0.25;                      % Armature resistance
Rs=0.03;                      % Series field resistance
Nf=750;                       % Shunt field turns
Ns=3;                         % Series field turns
nmR=1200;                     % Rated speed(rpm)
% Rated developed torque & armature current assuming 4% F&W losses
TdR=PR*746/(nmR*pi/30)/0.96; 
IaR=(VtR-sqrt(VtR^2-4*(Ra+Rs)*TdR*nmR*pi/30))/2/(Ra+Rs);

load eif                      % Load stored OCC for speed of nmR
m=length(eif); npts=200;
Kphip=eif(1:m,1)/(nmR*pi/30); If=eif(1:m,2);
% Rated If
IfR=interp1( Kphip, If, (VtR-IaR*(Ra+Rs))/(nmR*pi/30))-Ns/Nf*IaR;
Rfeq=VtR/IfR;    % Total shunt field circuit resistance
npts=200; Ia=linspace(0,1.5*PR*746/VtR,npts);
% Determination of Td-nm
for i=1:npts
   Kphi=interp1(If, Kphip, IfR+Ns/Nf*Ia(i));
   Td(i)=Kphi*Ia(i);
   wm(i)=VtR/Kphi-Td(i)*(Ra+Rs)/Kphi^2;
end
nm=wm*30/pi;
subplot(2,1,1); plot(0,0,Td,nm,TdR,nmR,'o'); grid;
title('Cumulative compound dc motor');
ylabel('Speed, rpm'); xlabel('Torque, N-m');
subplot(2,1,2); plot(0,0,Ia+IfR,nm,IaR+IfR,nmR,'o'); grid;
title('Cumulative compound dc motor');
ylabel('Speed, rpm'); xlabel('Line current, A');

⌨️ 快捷键说明

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