#Given data :
P=8;#no. of poles
T=5;#no. of teeteh in each pole
Nr=50.;#no. of teeth in rotor
#Calculations
Ns=P*T;#no. of teeth
Beta=(Nr-Ns)*360/(Nr*Ns);#in degree
#Result
print "Stepping Angle(in degree) : = ",Beta;
#Given data :
Beta=2.5;#in degree
f=3600;#in PPs
Resolution=360;#in degree
#Calculations&Results
print "Resolution : ",Resolution;
Beta1=Resolution/Beta;#steps/revolution
print "Steps per revolution : ",Beta1;
n=Beta*f/360;#in rps
print "Steps required for making 25 revolution(in rps) : ",n;
#Given data :
Beta=15;#in degree
Phase=3;#no. of phase
#Calculations&Results
#Formula : Beta*Nr=(360/phase)
Nr=(360./Phase)/Beta;#unitless
print "No. of rotor :",Nr;
#Case (i) : when Ns>Nr : Formula : Beta=(Ns-Nr)*360/(Ns*Nr)
Ns=Nr/(1-Beta*Nr/360);
print "No. of stator poles if Ns>Nr :",Ns;
#Case (ii) : when Nr>Ns : Formula : Beta=(Nr-Ns)*360/(Ns*Nr)
Ns=Nr/(1+Beta*Nr/360);
print "No. of stator poles if Nr>Ns :",Ns;
#Given data :
Beta=1.8;#in degree
m=4;#no. of phases
#Calculations
#Formula : Beta*Nr=(360/m)
Nr=(360/m)/Beta;#unitless
#Results
print "No. of rotor teeth : = ",Nr;
print "In multi stack motor rotor teeth equals to stator teeth equals to : ",Nr;