Stokes’ theorem

Tangential and normal field components

May 4, 2015 ece1229 , , , , , , , , , , , , ,

[Click here for a PDF of this post with nicer formatting]

The integral forms of Maxwell’s equations can be used to derive relations for the tangential and normal field components to the sources. These relations were mentioned in class. It’s a little late, but lets go over the derivation. This isn’t all review from first year electromagnetism since we are now using a magnetic source modifications of Maxwell’s equations.

The derivation below follows that of [1] closely, but I am trying it myself to ensure that I understand the assumptions.

The two infinitesimally thin pillboxes of fig. 1, and fig. 2 are used in the argument.

pillboxForTangentialFieldsFig1

fig. 2: Pillboxes for tangential and normal field relations

pillboxForNormalFieldsFig2

fig. 1: Pillboxes for tangential and normal field relations

Maxwell’s equations with both magnetic and electric sources are

\begin{equation}\label{eqn:normalAndTangentialFields:20}
\spacegrad \cross \boldsymbol{\mathcal{E}} = -\PD{t}{\boldsymbol{\mathcal{B}}} -\boldsymbol{\mathcal{M}}
\end{equation}
\begin{equation}\label{eqn:normalAndTangentialFields:40}
\spacegrad \cross \boldsymbol{\mathcal{H}} = \boldsymbol{\mathcal{J}} + \PD{t}{\boldsymbol{\mathcal{D}}}
\end{equation}
\begin{equation}\label{eqn:normalAndTangentialFields:60}
\spacegrad \cdot \boldsymbol{\mathcal{D}} = \rho_\textrm{e}
\end{equation}
\begin{equation}\label{eqn:normalAndTangentialFields:80}
\spacegrad \cdot \boldsymbol{\mathcal{B}} = \rho_\textrm{m}.
\end{equation}

After application of Stokes’ and the divergence theorems Maxwell’s equations have the integral form

\begin{equation}\label{eqn:normalAndTangentialFields:100}
\oint \boldsymbol{\mathcal{E}} \cdot d\Bl = -\int d\BA \cdot \lr{ \PD{t}{\boldsymbol{\mathcal{B}}} + \boldsymbol{\mathcal{M}} }
\end{equation}
\begin{equation}\label{eqn:normalAndTangentialFields:120}
\oint \boldsymbol{\mathcal{H}} \cdot d\Bl = \int d\BA \cdot \lr{ \PD{t}{\boldsymbol{\mathcal{D}}} + \boldsymbol{\mathcal{J}} }
\end{equation}
\begin{equation}\label{eqn:normalAndTangentialFields:140}
\int_{\partial V} \boldsymbol{\mathcal{D}} \cdot d\BA
=
\int_V \rho_\textrm{e}\,dV
\end{equation}
\begin{equation}\label{eqn:normalAndTangentialFields:160}
\int_{\partial V} \boldsymbol{\mathcal{B}} \cdot d\BA
=
\int_V \rho_\textrm{m}\,dV.
\end{equation}

Maxwell-Faraday equation

First consider one of the loop integrals, like \ref{eqn:normalAndTangentialFields:100}. For an infinestismal loop, that integral is

\begin{equation}\label{eqn:normalAndTangentialFields:180}
\begin{aligned}
\oint \boldsymbol{\mathcal{E}} \cdot d\Bl
&\approx
\mathcal{E}^{(1)}_x \Delta x
+ \mathcal{E}^{(1)} \frac{\Delta y}{2}
+ \mathcal{E}^{(2)} \frac{\Delta y}{2}
-\mathcal{E}^{(2)}_x \Delta x
– \mathcal{E}^{(2)} \frac{\Delta y}{2}
– \mathcal{E}^{(1)} \frac{\Delta y}{2} \\
&\approx
\lr{ \mathcal{E}^{(1)}_x
-\mathcal{E}^{(2)}_x } \Delta x
+ \inv{2} \PD{x}{\mathcal{E}^{(2)}} \Delta x \Delta y
+ \inv{2} \PD{x}{\mathcal{E}^{(1)}} \Delta x \Delta y.
\end{aligned}
\end{equation}

We let \( \Delta y \rightarrow 0 \) which kills off all but the first difference term.

The RHS of \ref{eqn:normalAndTangentialFields:180} is approximately

\begin{equation}\label{eqn:normalAndTangentialFields:200}
-\int d\BA \cdot \lr{ \PD{t}{\boldsymbol{\mathcal{B}}} + \boldsymbol{\mathcal{M}} }
\approx
– \Delta x \Delta y \lr{ \PD{t}{\mathcal{B}_z} + \mathcal{M}_z }.
\end{equation}

If the magnetic field contribution is assumed to be small in comparison to the magnetic current (i.e. infinite magnetic conductance), and if a linear magnetic current source of the form is also assumed

\begin{equation}\label{eqn:normalAndTangentialFields:220}
\boldsymbol{\mathcal{M}}_s = \lim_{\Delta y \rightarrow 0} \lr{\boldsymbol{\mathcal{M}} \cdot \zcap} \zcap \Delta y,
\end{equation}

then the Maxwell-Faraday equation takes the form

\begin{equation}\label{eqn:normalAndTangentialFields:240}
\lr{ \mathcal{E}^{(1)}_x
-\mathcal{E}^{(2)}_x } \Delta x
\approx
– \Delta x \boldsymbol{\mathcal{M}}_s \cdot \zcap.
\end{equation}

While \( \boldsymbol{\mathcal{M}} \) may have components that are not normal to the interface, the surface current need only have a normal component, since only that component contributes to the surface integral.

The coordinate expression of \ref{eqn:normalAndTangentialFields:240} can be written as

\begin{equation}\label{eqn:normalAndTangentialFields:260}
– \boldsymbol{\mathcal{M}}_s \cdot \zcap
=
\lr{ \boldsymbol{\mathcal{E}}^{(1)} -\boldsymbol{\mathcal{E}}^{(2)} } \cdot \lr{ \ycap \cross \zcap }
=
\lr{ \lr{ \boldsymbol{\mathcal{E}}^{(1)} -\boldsymbol{\mathcal{E}}^{(2)} } \cross \ycap } \cdot \zcap.
\end{equation}

This is satisfied when

\begin{equation}\label{eqn:normalAndTangentialFields:280}
\boxed{
\lr{ \boldsymbol{\mathcal{E}}^{(1)} -\boldsymbol{\mathcal{E}}^{(2)} } \cross \ncap = – \boldsymbol{\mathcal{M}}_s,
}
\end{equation}

where \( \ncap \) is the normal between the interfaces. I’d failed to understand when reading this derivation initially, how the \( \boldsymbol{\mathcal{B}} \) contribution was killed off. i.e. If the vanishing area in the surface integral kills off the \( \boldsymbol{\mathcal{B}} \) contribution, why do we have a \( \boldsymbol{\mathcal{M}} \) contribution left. The key to this is understanding that this magnetic current is considered to be confined very closely to the surface getting larger as \( \Delta y \) gets smaller.

Also note that the units of \( \boldsymbol{\mathcal{M}}_s \) are volts/meter like the electric field (not volts/squared-meter like \( \boldsymbol{\mathcal{M}} \).)

Ampere’s law

As above, assume a linear electric surface current density of the form

\begin{equation}\label{eqn:normalAndTangentialFields:300}
\boldsymbol{\mathcal{J}}_s = \lim_{\Delta y \rightarrow 0} \lr{\boldsymbol{\mathcal{J}} \cdot \ncap} \ncap \Delta y,
\end{equation}

in units of amperes/meter (not amperes/meter-squared like \( \boldsymbol{\mathcal{J}} \).)

To apply the arguments above to Ampere’s law, only the sign needs to be adjusted

\begin{equation}\label{eqn:normalAndTangentialFields:290}
\boxed{
\lr{ \boldsymbol{\mathcal{H}}^{(1)} -\boldsymbol{\mathcal{H}}^{(2)} } \cross \ncap = \boldsymbol{\mathcal{J}}_s.
}
\end{equation}

Gauss’s law

Using the cylindrical pillbox surface with radius \( \Delta r \), height \( \Delta y \), and top and bottom surface areas \( \Delta A = \pi \lr{\Delta r}^2 \), the LHS of Gauss’s law \ref{eqn:normalAndTangentialFields:140} expands to

\begin{equation}\label{eqn:normalAndTangentialFields:320}
\begin{aligned}
\int_{\partial V} \boldsymbol{\mathcal{D}} \cdot d\BA
&\approx
\mathcal{D}^{(2)}_y \Delta A
+ \mathcal{D}^{(2)}_\rho 2 \pi \Delta r \frac{\Delta y}{2}
+ \mathcal{D}^{(1)}_\rho 2 \pi \Delta r \frac{\Delta y}{2}
-\mathcal{D}^{(1)}_y \Delta A \\
&\approx
\lr{ \mathcal{D}^{(2)}_y
-\mathcal{D}^{(1)}_y } \Delta A.
\end{aligned}
\end{equation}

As with the Stokes integrals above it is assumed that the height is infinestimal with respect to the radial dimension. Letting that height \( \Delta y \rightarrow 0 \) kills off the radially directed contributions of the flux through the sidewalls.

The RHS expands to approximately

\begin{equation}\label{eqn:normalAndTangentialFields:340}
\int_V \rho_\textrm{e}\,dV
\approx
\Delta A \Delta y \rho_\textrm{e}.
\end{equation}

Define a highly localized surface current density (coulombs/meter-squared) as

\begin{equation}\label{eqn:normalAndTangentialFields:360}
\sigma_\textrm{e} = \lim_{\Delta y \rightarrow 0} \Delta y \rho_\textrm{e}.
\end{equation}

Equating \ref{eqn:normalAndTangentialFields:340} with \ref{eqn:normalAndTangentialFields:320} gives

\begin{equation}\label{eqn:normalAndTangentialFields:380}
\lr{ \mathcal{D}^{(2)}_y
-\mathcal{D}^{(1)}_y } \Delta A
=
\Delta A \sigma_\textrm{e},
\end{equation}

or

\begin{equation}\label{eqn:normalAndTangentialFields:400}
\boxed{
\lr{ \boldsymbol{\mathcal{D}}^{(2)} – \boldsymbol{\mathcal{D}}^{(1)} } \cdot \ncap = \sigma_\textrm{e}.
}
\end{equation}

Gauss’s law for magnetism

The same argument can be applied to the magnetic flux. Define a highly localized magnetic surface current density (webers/meter-squared) as

\begin{equation}\label{eqn:normalAndTangentialFields:440}
\sigma_\textrm{m} = \lim_{\Delta y \rightarrow 0} \Delta y \rho_\textrm{m},
\end{equation}

yielding the boundary relation

\begin{equation}\label{eqn:normalAndTangentialFields:420}
\boxed{
\lr{ \boldsymbol{\mathcal{B}}^{(2)} – \boldsymbol{\mathcal{B}}^{(1)} } \cdot \ncap = \sigma_\textrm{m}.
}
\end{equation}

References

[1] Constantine A Balanis. Advanced engineering electromagnetics, volume 20, chapter Time-varying and time-harmonic electromagnetic fields. Wiley New York, 1989.

Updated notes for ece1229 antenna theory

March 16, 2015 ece1229 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

I’ve now posted a first update of my notes for the antenna theory course that I am taking this term at UofT.

Unlike most of the other classes I have taken, I am not attempting to take comprehensive notes for this class. The class is taught on slides which go by faster than I can easily take notes for (and some of which match the textbook closely). In class I have annotated my copy of textbook with little details instead. This set of notes contains musings of details that were unclear, or in some cases, details that were provided in class, but are not in the text (and too long to pencil into my book), as well as some notes Geometric Algebra formalism for Maxwell’s equations with magnetic sources (something I’ve encountered for the first time in any real detail in this class).

The notes compilation linked above includes all of the following separate notes, some of which have been posted separately on this blog:

Notes for ece1229 antenna theory

February 4, 2015 ece1229 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

I’ve now posted a first set of notes for the antenna theory course that I am taking this term at UofT.

Unlike most of the other classes I have taken, I am not attempting to take comprehensive notes for this class. The class is taught on slides that match the textbook so closely, there is little value to me taking notes that just replicate the text. Instead, I am annotating my copy of textbook with little details instead. My usual notes collection for the class will contain musings of details that were unclear, or in some cases, details that were provided in class, but are not in the text (and too long to pencil into my book.)

The notes linked above include:

  • Reading notes for chapter 2 (Fundamental Parameters of Antennas) and chapter 3 (Radiation Integrals and Auxiliary Potential Functions) of the class text.
  • Geometric Algebra musings.  How to do formulate Maxwell’s equations when magnetic sources are also included (those modeling magnetic dipoles).
  • Some problems for chapter 2 content.

Maxwell’s equations review (plus magnetic sources and currents)

January 28, 2015 ece1229 , , , , , , , , , , ,

[Click here for a PDF of this post with nicer formatting]

These are notes for the UofT course ECE1229, Advanced Antenna Theory, taught by Prof. Eleftheriades, covering ch. 3 [1] content.

Unlike most of the other classes I have taken, I am not attempting to take comprehensive notes for this class. The class is taught on slides that match the textbook so closely, there is little value to me taking notes that just replicate the text. Instead, I am annotating my copy of textbook with little details instead. My usual notes collection for the class will contain musings of details that were unclear, or in some cases, details that were provided in class, but are not in the text (and too long to pencil into my book.)

Maxwell’s equation review

For reasons that are yet to be seen (and justified), we work with a generalization of Maxwell’s equations to include
electric AND magnetic charge densities.

\begin{equation}\label{eqn:chapter3Notes:20}
\spacegrad \cross \boldsymbol{\mathcal{E}} = – \boldsymbol{\mathcal{M}} – \PD{t}{\boldsymbol{\mathcal{B}}}
\end{equation}
\begin{equation}\label{eqn:chapter3Notes:40}
\spacegrad \cross \boldsymbol{\mathcal{H}} = \boldsymbol{\mathcal{J}} + \PD{t}{\boldsymbol{\mathcal{D}}}
\end{equation}
\begin{equation}\label{eqn:chapter3Notes:60}
\spacegrad \cdot \boldsymbol{\mathcal{D}} = \rho
\end{equation}
\begin{equation}\label{eqn:chapter3Notes:80}
\spacegrad \cdot \boldsymbol{\mathcal{B}} = \rho_m.
\end{equation}

Assuming a phasor relationships of the form \( \boldsymbol{\mathcal{E}} =
\text{Real} \lr{ \BE(\Br) e^{j \omega t}} \) for the fields and the currents, these reduce to

\begin{equation}\label{eqn:chapter3Notes:100}
\spacegrad \cross \BE = – \BM – j \omega \BB
\end{equation}
\begin{equation}\label{eqn:chapter3Notes:120}
\spacegrad \cross \BH = \BJ + j \omega \BD
\end{equation}
\begin{equation}\label{eqn:chapter3Notes:140}
\spacegrad \cdot \BD = \rho
\end{equation}
\begin{equation}\label{eqn:chapter3Notes:160}
\spacegrad \cdot \BB = \rho_m.
\end{equation}

In engineering the fields

  • \( \BE \) : Electric field intensity (V/m, Volts/meter).
  • \( \BH \) : Magnetic field intensity (A/m, Amperes/meter).

are designated primary fields, whereas

  • \( \BD \) : Electric flux density (or displacement vector) (C/m, {Coulombs/meter).
  • \( \BB \) : Magnetic flux density (W/m, Webers/meter).

are designated the induced fields. The currents and charges are

  • \( \BJ \) : Electric current density (A/m).
  • \( \BM \) : Magnetic current density (V/m).
  • \( \rho \) : Electric charge density (C/m^3).
  • \( \rho_m \) : Magnetic charge density (W/m^3).

Because \( \spacegrad \cdot \lr{ \spacegrad \cross \Bf } = 0 \) for any
(sufficiently continuous) vector \( \Bf \), divergence relations between the
currents and the charges follow from \ref{eqn:chapter3Notes:100}…

\begin{equation}\label{eqn:chapter3Notes:180}
0
= -\spacegrad \cdot \BM – j \omega \spacegrad \cdot \BB
= -\spacegrad \cdot \BM – j \omega \rho_m,
\end{equation}

and

\begin{equation}\label{eqn:chapter3Notes:200}
0
= \spacegrad \cdot \BJ + j \omega \spacegrad \cdot \BD
= \spacegrad \cdot \BJ + j \omega \rho,
\end{equation}

These are the phasor forms of the continuity equations

\begin{equation}\label{eqn:chapter3Notes:220}
\spacegrad \cdot \BM = – j \omega \rho_m
\end{equation}
\begin{equation}\label{eqn:chapter3Notes:240}
\spacegrad \cdot \BJ = -j \omega \rho.
\end{equation}

Integral forms

The integral forms of Maxwell’s equations follow from Stokes’ theorem and the divergence theorems. Stokes’ theorem is a relation between the integral of the curl and the outwards normal differential area element of a surface, to the boundary of that surface, and applies to any surface with that boundary

\begin{equation}\label{eqn:chapter3Notes:260}
\iint
d\BA \cdot \lr{\spacegrad \cross \Bf}
= \oint \Bf \cdot d\Bl.
\end{equation}

The divergence theorem, a special case of the general Stokes’ theorem is

\begin{equation}\label{eqn:chapter3Notes:280}
\iiint_{V} \spacegrad \cdot \Bf dV
= \iint_{\partial V} \Bf \cdot d\BA,
\end{equation}

where the integral is over the surface of the volume, and the area element of the bounding integral has an outwards normal orientation.

See [5] for a derivation of this and various generalizations.

Applying these to Maxwell’s equations gives

\begin{equation}\label{eqn:chapter3Notes:320}
\oint d\Bl \cdot \BE = –
\iint d\BA \cdot \lr{
\BM + j \omega \BB
}
\end{equation}
\begin{equation}\label{eqn:chapter3Notes:340}
\oint d\Bl \cdot \BH =
\iint d\BA \cdot \lr{
\BJ + j \omega \BD
}
\end{equation}
\begin{equation}\label{eqn:chapter3Notes:360}
\iint_{\partial V} d\BA \cdot \BD = \iiint \rho dV
\end{equation}
\begin{equation}\label{eqn:chapter3Notes:380}
\iint_{\partial V} d\BA \cdot \BB = \iiint \rho_m dV
\end{equation}

Constitutive relations

For linear isotropic homogeneous materials, the following constitutive relations apply

  • \( \BD = \epsilon \BE \)
  • \( \BB = \mu \BH \)
  • \( \BJ = \sigma \BE \), Ohm’s law.

where

  • \( \epsilon = \epsilon_r \epsilon_0\), is the permutivity (F/m, Farads/meter ).
  • \( \mu = \mu_r \mu_0 \), is the permeability (H/m, Henries/meter), \( \mu_0 = 4 \pi \times 10^{-7} \).
  • \( \sigma \), is the conductivity (\( \inv{\Omega m}\), where \( 1/\Omega \) is a Siemens.)

In AM radio, will see ferrite cores with the inductors, which introduces non-unit \( \mu_r \). This is to increase the radiation resistance.

Boundary conditions

For good electric conductor \( \BE = 0 \).
For good magnetic conductor \( \BB = 0 \).

(more on class slides)

Linear time invariant

Linear time invariant meant that the impulse response \( h(t,t’) \) was a function of just the difference in times \( h(t,t’) = h(t-t’) \).

Green’s functions

For electromagnetic problems the impulse function sources \( \delta(\Br – \Br’) \) also has a direction, and can yield any of \( E_x, E_y, E_z \). A tensor impulse response is required.

Some overview of an approach that uses such tensor Green’s functions is outlined on the slides. It gets really messy since we require four tensor Green’s functions to handle electric and magnetic current and charges. Because of this complexity, we don’t go down this path, and use potentials instead.

In \S 3.5 [1] and the class notes, a verification of the spherical wave form for the Helmholtz Green’s function was developed. This was much simpler than the same verification I did in [4]. Part of the reason for that was that I worked in Cartesian coordinates, which made things much messier. The other part of the reason, for treating a neighbourhood of \( \Abs{\Br – \Br’} \sim 0 \), I verified the convolution, whereas Prof. Eleftheriades argues that a verification that \( \int \lr{\spacegrad^2 + k^2} G(\Br, \Br’) dV’ = 1\) is sufficient. Balanis, on the other hand, argues that knowing the solution for \( k \ne 0 \) must just be the solution for \( k = 0 \) (i.e. the Poisson solution) provided it is multiplied by the \( e^{-j k r} \) factor.

Note that back when I did that derivation, I used a different sign convention for the Green’s function, and in QM we used a positive sign instead of the negative in \( e^{-j k r } \).

Notation

  • Phasor frequency terms are written as \( e^{j \omega t} \), not \( e^{-j \omega t} \), as done in physics. I didn’t recall that this was always the case in physics, and wouldn’t have assumed it. This is the case in both [3] and [2]. The latter however, also uses \( \cos(\omega t – k r) \) for spherical waves possibly implying an alternate phasor sign convention in that content, so I’d be wary about trusting any absolute “engineering” vs. physics sign convention without checking carefully.
  • In Green’s functions \( G(\Br, \Br’) \), \( \Br \) is the point of observation, and \( \Br’ \) is the point in the convolution integration space.
  • Both \( \BM \) and \( \BJ_m \) are used for magnetic current sources in the class notes.

References

[1] Constantine A Balanis. Antenna theory: analysis and design. John Wiley \& Sons, 3rd edition, 2005.

[2] David Jeffrey Griffiths and Reed College. Introduction to electrodynamics, chapter {Electromagnetic Waves}. Prentice hall Upper Saddle River, NJ, 3rd edition, 1999.

[3] JD Jackson. Classical Electrodynamics, chapter {Simple Radiating Systems, Scattering, and Diffraction}. John Wiley and Sons, 2nd edition, 1975.

[4] Peeter Joot. Quantum Mechanics II., chapter {Verifying the Helmholtz Green’s function.} peeterjoot.com, 2011. URL https://peeterjoot.com/archives/math2011/phy456.pdf. [Online; accessed 28-January-2015].

[5] Peeter Joot. Exploring physics with Geometric Algebra, chapter {Stokes theorem}. peeterjoot.com, 2014. URL https://peeterjoot.com/archives/math2009/gabook.pdf. [Online; accessed 28-January-2015].