blob: 2c63042429b9a26e2865f44dd2f121aa63612368 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
clc;
disp('case a');
// as per the data taken from Ex 1_3
rlg=24.948*10^5; // air gap reluctance for example 1_3(a)
rlc=12.474*10^5; // iron core reluctance for example 1_3(a)
rl=rlg+rlc; // net reluctance
N=500; // Number of turns
L=(N^2/rl)*1000;
printf('Inductance for case a is %f mH\n',L);
disp('case b');
// as per the data taken from Ex 1_3 part(c)
B=1.254; // calculated flux density
H=3200; // magnetic field intensity obtained from magnetisation curve corresponding to the flux density calculated
uo=4*%pi*10^-7; // free space permeability
ur=B/(H*uo); // relative permeability of iron core
d=2.85*10^-2; // diameter of cross section
A=(%pi*d^2)/4; // area of core
l=0.5; // core length
rlc=l/(ur*uo*A); // reluctance of iron core for part C
rt=rlg+rlc; // net reluctance
L=(N^2/rt)*1000;
printf('Inductance for case b is %f mH\n',L);
|