Magnetic Circuit Matlab Script: Difference between revisions
Jump to navigation
Jump to search
John.hawkins (talk | contribs) No edit summary |
John.hawkins (talk | contribs) (Error correction) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<font face="Courier New"> |
<font face="Courier New"> |
||
% |
|||
% John Hawkins |
% John Hawkins |
||
Line 18: | Line 16: | ||
Bfg=.1; |
Bfg=.1; |
||
% Assumed relative permeability |
<br />% Assumed relative permeability |
||
mu0=4e-7*pi; |
mu0=4e-7*pi; |
||
Line 26: | Line 24: | ||
mu=mur*mu0 |
mu=mur*mu0 |
||
% Geometry |
<br />% Geometry |
||
lfg=1e-2 |
lfg=1e-2 |
||
Line 36: | Line 34: | ||
ldc=48e-2 |
ldc=48e-2 |
||
ldabc= |
ldabc=45e-2+48e-2+45e-2 |
||
Afg=4e-2*8e-2 |
Afg=4e-2*8e-2 |
||
Line 48: | Line 46: | ||
Adabc=2e-2*4e-2 |
Adabc=2e-2*4e-2 |
||
% Air gap |
<br />% Air gap |
||
Rfg=lfg/(mu*Afg) |
Rfg=lfg/(mu*Afg) |
||
Line 56: | Line 54: | ||
Ffg=Rfg*Ifg |
Ffg=Rfg*Ifg |
||
% Right arms |
<br />% Right arms |
||
Idef=Ifg |
Idef=Ifg |
||
Line 70: | Line 68: | ||
Fghc=Fdef; |
Fghc=Fdef; |
||
% Center Column |
<br />% Center Column |
||
Fdc=Fdef+Ffg+Fghc |
Fdc=Fdef+Ffg+Fghc |
||
Line 78: | Line 76: | ||
Idc=Fdc/Rdc |
Idc=Fdc/Rdc |
||
% Left arm |
<br />% Left arm |
||
Idabc=Idc-Idef |
Idabc=Idc-Idef |
||
Line 86: | Line 84: | ||
Fdabc=Rdabc*Idabc |
Fdabc=Rdabc*Idabc |
||
% Results |
<br />% Results |
||
Ftotal = Fdabc+Fdc+Fdef+Ffg+Fghc |
Ftotal = Fdabc+Fdc+Fdef+Ffg+Fghc |
Latest revision as of 10:48, 18 January 2010
% John Hawkins
% EMEC
% Magnetic Circuit Calculations
% Professor Rob Frohne
% January 10, 2009
% Problem Statement Constraints
N=1600;
Bfg=.1;
% Assumed relative permeability
mu0=4e-7*pi;
mur=500;
mu=mur*mu0
% Geometry
lfg=1e-2
ldef=31e-2+24.5e-2
lghc=ldef
ldc=48e-2
ldabc=45e-2+48e-2+45e-2
Afg=4e-2*8e-2
Adef=Afg
Aghc=Afg
Adc=8e-2*12e-2
Adabc=2e-2*4e-2
% Air gap
Rfg=lfg/(mu*Afg)
Ifg=Bfg*Afg
Ffg=Rfg*Ifg
% Right arms
Idef=Ifg
Rdef=ldef/(mu*Adef)
Fdef=Rdef*Idef
Ighc=Idef;
Rghc=Rdef;
Fghc=Fdef;
% Center Column
Fdc=Fdef+Ffg+Fghc
Rdc=ldc/(mu*Adc)
Idc=Fdc/Rdc
% Left arm
Idabc=Idc-Idef
Rdabc=ldabc/(mu*Adabc)
Fdabc=Rdabc*Idabc
% Results
Ftotal = Fdabc+Fdc+Fdef+Ffg+Fghc
i=Ftotal/N