EEN330 ElectromagneticsI Chapter4 Magnetostatics
EEN330 ElectromagneticsI Chapter4 Magnetostatics
EEN330 ElectromagneticsI Chapter4 Magnetostatics
Electromagnetics I
Dr. M. Bou Sanayeh
Chapter 4
Magnetostatics
Learning outcomes
Describe magnetic field intensity and magnetic flux density
Define Biot-Savart’s law & use it to find magnetic field intensity
Use Ampere’s Circuital law to find magnetic field intensity
Introduce magnetic forces, torque, and moment
Describe the features of magnetic materials
Compare the magnetic field across material boundaries
Define inductance and calculate it for various geometries
Describe magnetic circuits and electromagnets
A × B = A B sin θ AB a N
where aN is a unit vector in the normal direction of A×B taken by the right-
hand rule.
ar × aθ = aφ aρ × aφ = a z
In this example,
ax a y az
=
A×B 3 =
4 0 9a z HW: Drill 4.1
0 3 0 See Matlab 4.1
9 Dr. M. Bou Sanayeh, ECCE
4.1 Magnetic fields and the cross product
4.1.1 Oersted’s experiment
Hans Christian Oersted (1777-
1851) found that current produces
magnetic fields that loop around
the conductor.
Note:
Biot-Savart’s law:
∞ Idza z × ( − za z + ρ a ρ )
H= ∫−∞
( )
3
4π z + ρ 2 2 2
I ρ aφ ∞
dz
=
4π ∫ .
(z )
3
−∞
2
+ ρ2 2
+∞
I ρ aφ z
(integral in Appendix D): H =
4π ρ 2 z 2 + ρ 2 −∞
IdL = Iadφ aφ
R=
− aa ρ + ha z
−a h
R=a 2 + h 2 , a R =a ρ + a z
R R
2π
Iadφ aφ × ( ha z − aa ρ )
H= ∫φ
( )
3
=0 4π h + a
2 2 2
(from aφ × a z ) cancel
2π
Ia 2a z Ia 2
3 ∫
H = dφ az .
( ) ( )
3
4π h 2 + a 2 2 0 2 h2 + a 2 2
I
At h = 0, H = az
2a
HW: Drill 4.2, 4.3, 4.4
From Appendix D
H
NI z+h 2
−
( z − h 2 ) a
2h 2
z
( z + h 2) ( z − h 2) + a
2
+a 2 2
NI
At z = 0, assuming (h >> a), H = az
h
15 Dr. M. Bou Sanayeh, ECCE
4.2 Biot-Savart’s law
4.2.2 Surface and volume current densities
Linear current I [A]
Volume current density J [A/m2]
Surface current density K [A/m] Sheet current that flows in an
infinitesimally thin layer.
For example in a solenoid, the coils were considered so tightly wound that
the current could be assumed as an evenly distributed sheet current. We
could write for the solenoid
NI
K= aφ
h
In general, the Biot-Savart law for surface and volume current densities
KdS × a R Jdv × a R
H=∫ and H=∫
4πR 2 4πR 2
16 Dr. M. Bou Sanayeh, ECCE
4.2 Biot-Savart’s law
Example 4.4: Ribbon of current
• The field is sought at a point above
the center of the ribbon
KdS × a R K z dxdza z × a R
• H ∫=
= ∫ 4π R 2
4π R 2
• Numerical integration is needed for
this double integration
• Better approach is to treat sheet as a
collection of lines of current Kzdx
2π −∫d x 2 + a 2 −∫d x 2 + a 2
H −
∫ H.dL = I enc
∫ H.dL = ∫ H a
0
φ φ ⋅ ρdφa φ = 2πρH φ = I enc
I
I = I enc ⇒H= aφ
2πρ
b c d a
∫ H.dL = ∫ H ∆w
y (−a y ).dya y + ∫ H y (a y ).dya y = 2 H y ∆w = I enc
0
I = I enc ⇔ 2 H y ∆w = K x ∆w
Evaluating the left side of Ampere’s law (true for both paths)
2π
∫ H.dL = ∫ H a .ρdφa
0
φ φ φ = 2πρH φ = I enc
0 0
3
J 0ρ 2
I = I enc ⇔ Hφ =
3
25 Dr. M. Bou Sanayeh, ECCE
4.3 Ampere’s circuital law
Example 4.7: Cylindrical conductor
The current enclosed: by path#2 (ρ > a )
2πJ 0 a 3
I=
3
J 0a3
I = I enc ⇔ Hφ =
3ρ
∫ H.dL = ∫ H a .ρdφa
0
φ φ φ = 2πρH φ = I enc
∫∫
HH
.dLdL= H
∫ ∫=Haφ a.ρφ dρφadφ=aφ2πρ2H
φ φ φ
πρ H
φ = φI enc
0
I
AP#1 (ρ ≤ a):I enc I == ∫∫JJ i ⋅ddSS, where J i = 2 a z
πa
ρ 2π
II I I 2
So IIenc =∫ ∫ = a ρ d ρ dφ a
2 2 ⋅z a z .ρdρdφaz z
= 2 ∫
ρ d ρ ∫ dφ ρ
π πaa πa 0 0
a 2
I ρ2 Iρ
=
Then Hφ = for ρ ≤ a
a 2πρ 2π a
2 2
I
AP2 (a ≤ ρ ≤ b): Ienc= I and Hφ =
2πρ
29 Dr. M. Bou Sanayeh, ECCE
4.3 Ampere’s circuital law
Example 4.8: Coaxial cable
I (−a z )
AP3 (b ≤ ρ ≤ c): I enc= I + ∫ J o ⋅ddSS where J o =
π c2 − b2 ( )
ρ ρ 2π 2π
I (−Ia(z−)a z ) − I −I ρ 2 − b2
∫ J∫o J⋅ do Sd=S ∫ π∫(=
( )
πc −c b−)b
2 2 2
⋅2ρdρddφρadz φ=a z 2 2 ∫ ρ2dρ∫ ∫ρddφρ=∫ −dIφ 2
( )
π (c π− bc )−bb b 0 0 c − b 2
ρ 2 − b2 c2 − ρ 2
I enc =
I 1 − 2 2 = I 2 2
c −b c −b
I c2 − ρ 2
Hφ = 2
(
2π c − b ρ
2
)
AP#4 (ρ > c): total current enclosed is zero so Hφ = 0
30 Dr. M. Bou Sanayeh, ECCE
4.3 Ampere’s circuital law
Example 4.8: Coaxial cable
HW Drill 4.6:
Write a MATLAB program to plot the H-field intensity for all
paths of example 4.8.
Method1
Cross section in figure resembles a pair of infinite
extent sheets of current, one directed out of the
page and one into the page. The current density of
each of these sheets is
NI
K=
h
1
Using H = K × a N , we see that the fields from
2
the two sheets cancel each other outside and add
inside the solenoid (right-hand rule)
NI
H= az
h
32 Dr. M. Bou Sanayeh, ECCE
4.3 Ampere’s circuital law
Example 4.9: Infinite-length Solenoid
Method 2
1. Outside the solenoid
The Amperian path shown encloses no current
∫ H.dL =0
Hzaz is constant or zero outside the solenoid.
Constant Hzaz is unrealistic away from the
solenoid
Hz is zero outside the solenoid (confirmed
experimentally)
∫ H.dL = ∫ H a
0
z z ⋅ dza z = H z h = I enc
NI
I enc = NI ⇔ H z =
h
NI
At the center of the solenoid H = az Note: result independent from radius of
h solenoid
34 Dr. M. Bou Sanayeh, ECCE
4.4 Curl and the point form of Ampere’s circuital law
Recall Divergence and point form of Gauss’s law:
∇.D = ρv
∇×H = J
(Cylindrical)
(Spherical)
∫ H ⋅ dL = I enc = ∫ J ⋅ dS
and ∇ × H = J
∫ H ⋅ dL = ∫ (∇ × H )⋅ dS
B = µ 0 H [Wb/m 2 ]
φ = ∫ B ⋅ dS [Wb]
Unit conversions
Weber = Wb = H⋅A
Tesla = T = Wb/m2
Gauss = G = 10-4 T
Maxwell = Mx = G⋅cm2 = 10-8 Wb
Moreover, we cannot isolate magnetic poles The net magnetic flux that
is passing through a Gaussian surface (which is closed) must be zero:
Gauss’s law for static magnetic fields
∫ B ⋅ dS = 0
(also called law of conservation of magnetic flux)
42 Dr. M. Bou Sanayeh, ECCE
4.5 Magnetic flux density
Applying the divergence theorem Point form of Gauss’s law for static
magnetic fields
∇.B = 0
We can now present all four Maxwell’s equations for static fields
F = q (E + u × B) [N]
If we also know the particle mass m, the force is related to
acceleration a by the equation
F = ma
dF = dQu × B
dL
but u = dQ
dt dF = dL × B
dt
now dQ = I
dt dF = IdL × B motor equation
We can use the equation to find the force from a collection of current
elements using the integral
Magnetic force form B1 on
F12 = ∫ I 2 dL 2 × B1 an element I2dL2
µ 0 I1 µ 0 I1
B1 = aφ = (- a x )
2πρ 2πy
Replacing
µ 0 I1 µ 0 I1 I 2
dF12 = I 2 dza z × (-a x ) = dz (- a y )
2πy 2πy
I 2 ∫ dza z ×
F1b = ( −a x ) =
− ay ignoring the effect
2π ( yo + w ) 2π ( yo + w )
0
of loop on itself.
µ o I1 I 2 yo + w
F1c = − ln az ,
2π yo
HW: Drill 4.11
µIIw
48 F1d = o 1 2 a y .
2π yo
4.6 Magnetic forces
4.6.2 Magnetic torque and moment
In classical physics, torque (also called moment or moment of force) is the
tendency of a force to rotate an object about an axis. Just as a force is a push or a
pull, a torque can be thought of as a twist.
F12 = ∫ I 2 dL 2 × B1
τ= m × B
After point of torque zero is reached, due to conservation of momentum, there will
be an inertia and the loop continues to turn. At that point, we switch the current
direction, so the direction of m will be opposite and the rotor continues to be
torqued in the same direction as before motor keeps on turning
where M = χmH
and the permeability µ and the relative permeability µr of a material are defined by
B = µ 0 (1 + χ m )H = µH = µ r µ 0 H
Paramagnetic material: moments are not equal and there exist a net
magnetic dipole moment. However, the arrangement of moments is
random so material exhibit no magnetic behavior.
∫ H ⋅ dL = I enc and ∫ B ⋅ dS = 0
B N1 = B N 2
H1 = 6a x + 2a y + 3a z A/m
(a) H N 1 = 3a z (g) H 2 = 6a x + 2a y + 6a z A/m
(b) H=
T1 6a x + 2a y = N 2 µ r 2 µo
(f) H N 2 B= 6a z
(d) B N 1 = µr1µo H N 1 (c) H=
T2 H=
T1 6a x + 2a y
= 18, 000 µoa z (e) B=
N2 B=
N1 18, 000 µoa z
Vab
R= [Ω]
I
Capacitance was defined as the ratio of the total charge on either of two
conducting surface to the potential difference between them. Capacitance
is a function only of the geometry of the two conducting surfaces and the
permittivity of the dielectric medium between or surrounding them.
Q
C= [F]
V
73 Dr. M. Bou Sanayeh, ECCE
4.9 Inductance and magnetic energy
In order to define the inductance, we first need to introduce the concept
of the flux linkage. Let us consider a solenoid of N turns in which a current
I produces a total flux φtot.
The flux linkage λ is defined as the product of the number of turns N and
the flux φtot linking them λ ≡ Nφtot.
The inductance L is defined as the ratio of the total flux linkage to the
current which it links
λ Nφtot
L= = [H] or [Wb/A]
I I
Inductors are devices used to store energy in the magnetic field, analogous
to storage of energy in the electric field by capacitors.
NI µ NI
H= az , B = az ,
h h
µ NI π a 2
φφtottot = ∫=
= B⋅ dS
B
h
µ N 2 Iπ a2
=λ N=
φtot
h
λ µ N 2π a 2
L= =
I h HW: Drill 4.14
76 Dr. M. Bou Sanayeh, ECCE
4.9 Inductance and magnetic energy
Example 4.13: Coaxial cable
Inductance per unit length of the coax. Flux
through the area of height h and width from
a to b:
µµII
=φφ = = B d∫
B ⋅ dS =
S ∫∫∫∫
22πρ
aaφφ ⋅ddρρdz
πρ
dzaaφφ
µI b d ρ h µ Ih b
= ∫
2π a ρ 0 ∫ dz ln
2π a
N=1, so λ = φ,
λ µh b
L= = ln
I 2π a
Distributed inductance:
L µ b
L' = = ln
h 2π a
77 Dr. M. Bou Sanayeh, ECCE
4.9 Inductance and magnetic energy
4.9.1 Mutual inductance
What we have discussed before has been a self-inductance, where the flux is
linked to the circuit containing the current that produced the flux.
λ12 = N 2 φ12
λ12 N 2 φ12 N 2
M 12 =
I1
=
I1
=
I1 ∫ B1 ⋅ dS 2
µ N1I1
B1 = az
h
µ N1 I1π a 2
φ12 =
h
µ N1 N 2 I1π a 2
λ12 = N 2φ12 =
h
µ N1 N 2π a 2
M 12 =
h HW: Drill 4.15
80 Dr. M. Bou Sanayeh, ECCE
4.9 Inductance and magnetic energy
4.9.2 Magnetic energy
In electrostatics Work to assemble a collection of like charges
electrostatic potential energy
1 1
WE = ∫ D ⋅ Edv = ∫ εE 2 dv
2 2
1
WE −cap = CV 2
2
1 1
WM = ∫ ⋅ = ∫ µ 2
B H dv H dv
2 2
1
WM − Ind = LI 2
2
81 Dr. M. Bou Sanayeh, ECCE
4.9 Inductance and magnetic energy
Example 4.15: Magnetic energy in a solenoid
From example 4.12
µ NI Bh
B= a z where I =
h µN
µ N 2π a 2 1 2
L= , WM = LI
h 2
1 µ N π a Bh
2 2 2
WM =
1
BH π a (
2
h )
2 h µN 2
Likewise,
1
WM = ∫=
2
B⋅H
1
dv =
Hdv
2
BH ∫ dv
1
2
BH π a 2 h ( )
Iρ
Hφ =
2πa 2
2π
µ µI 2 h
2 a h
1 1 I
→ WM = ∫ µH φ dv =
2
2 4 ∫
ρ dρ ∫ dφ∫ dz =
3
2 2 4π a 0 0 0
16π
1 2 µI 2 h
→ WM = LI =
2 16π
L µ
⇒ = = internal inductance per unit length for a wire
h 8π
Note: L/h is only a function of the permeability µ
∫ H ⋅ dL = NI = V m
The flux φ can be calculated using magnetic circuit approach. By Ohm’s law
for magnetic circuits
Vm NIµA
φ= ≈
R 2πρ0
φ B B
B= , Hc = , Hg =
A µ µo
Hg µ Magnetic field intensity in air
= gap is a factor µ/µ0 greater than in
H c µ0 the core.
89 Dr. M. Bou Sanayeh, ECCE HW: Drill 4.18
4.10 Magnetic circuits
4.10.1 Electromagnets
Electromagnet a type of magnet whose magnetic field is produced by the flow of
electric current. The magnetic field disappears when the current ceases.
Electromagnets are very widely used as components of other electrical devices,
such as motors, generators, relays, loudspeakers, etc…
Goal Determine the magnetic force that is holding an iron bar in place.
Approach displace the bar from the magnet by a differential length dl and see
how system energy changes (approach of virtual work)
dW = F ⋅ dl
1 1
WM = ∫ B ⋅ Hdv = ∫ µ 0 H 2 dv
2 2
where dv = Adl for each end of the bar and 2Adl total. Then we have
1
( )
dWM = µ 0 H 2 2 Adl = µ 0 H 2 Adl
2
dWM = Fdl
⇒ F = µ0 H 2 A