summaryrefslogtreecommitdiff
path: root/3784/CH4/EX4.11/Ex4_11.sce
blob: e5fdb8d665f5122b965b3f68ae5d71f358025869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
clc
//Variable Initialisation
Ea=200//Input Voltage of motor in volts
Ra=0.12//Armature resistance in ohm
La=12e-3//Armature Inductance in ohm
K=2//Motor constant in V-s/rad
Eb=150//Motor back EMF
Ia=30//Armature Current in Ampere
f=300//Chopper Frequency
//Solution
T=1/f
d=(Eb+(Ia*Ra))/Ea
ton=d*T
toff=(1-d)*T
t=Ra/La
Ea1=Ea
Imin=poly(0,'Imin');
Ia1=((Ea1-Eb)/Ra)*(1-%e^(-ton*t))+(Imin*%e^(-ton*t))
disp (Ia1 ,"Imax is")
Ea2=0
Imax=poly(0,'Imax');
Ia2=((Ea2-Eb)/Ra)*(1-%e^(-toff*t))+(Imax*%e^(-toff*t))
disp (Ia2 ,"Imin is")
a=poly(0,'a');
b=poly(0,'b');
Imax1=(10.409+(0.975*(-9.96)))/(1-(0.975*0.992))//From above displayed values and rounding off
Imin1=(-9.960)+(0.992*Imax1)
Im=Imax1-Imin1//Armature Current Excursion
printf('\n\n Maximum Armature Current=%0.1f Amp\n\n',Imax1)
printf('\n\n Minimum Armature Current=%0.1f Amp\n\n',Imin1)
printf('\n\n Armature Current Excursion=%0.1f Amp\n\n',Im)