# 7.7: Magnetic Field of a Toroidal Coil

- Page ID
- 24287

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)A toroid is a cylinder in which the ends are joined to form a closed loop. An example of a toroidal coil is shown in Figure \(\PageIndex{1}\). Toroidal coils are commonly used to form inductors and transformers. The principal advantage of toroidal coils over straight coils in these applications is *magnetic field containment* – as we shall see in this section, the magnetic field outside of a toroidal coil can be made negligibly small. This reduces concern about interactions between this field and other fields and structures in the vicinity.

In this section, we use the magnetostatic form of Ampere’s Circuital Law (ACL) to determine the magnetic field due to a steady (DC) current flowing through a toroidal coil. The problem is illustrated in Figure \(\PageIndex{2}\). The toroid is circular with inner and outer radii \(a\) and \(b\), respectively. The coil consists of \(N\) windings (turns) of wire wound with uniform winding density. This problem is easiest to work in cylindrical coordinates with the toroid centered on the origin in \(z=0\) plane.

To begin, let’s take stock of what we already know about the answer, which is actually quite a bit. First, a review of Section 7.6 (“Magnetic Field Inside a Straight Coil”) is recommended. There it is shown that the magnetic field deep inside a straight coil is aligned with axis of the coil. This can be explained using the result for the magnetic field due to a straight line current (Section 7.5), in which we found that the magnetic field follows a “right-hand rule” – The magnetic field points in the direction of the curled fingers of the right hand when the thumb of the right hand is aligned in the direction of current flow. The wire comprising the coil is obviously *not* straight, but we can consider just one short segment of one turn and then sum the results for all such segments. When we do this, we see that the direction of the magnetic field inside the coil must be in the \(+\hat{\bf \phi}\) direction when the current \(I\) is applied as shown in Figure \(\PageIndex{2}\). Also, because the problem is identical after any amount of rotation around the \(z\) axis, the magnitude of the magnetic field cannot depend on \(\phi\). Putting these findings together, we find that the most general form for the magnetic field intensity inside or outside the coil is \({\bf H}=\hat{\bf \phi}H(\rho,z)\).

Here’s the relevant form of ACL:

\[\oint_{\mathcal C}{ {\bf H} \cdot d{\bf l} } = I_{encl} \label{m0049_eACL} \]

where \(I_{encl}\) is the current enclosed by the closed path \({\mathcal C}\). ACL works for *any* closed path, but we need one that encloses some current so as to obtain a relationship between \(I\) and \({\bf H}\). Also, for simplicity, we prefer a path that lies on a constant-coordinate surface. The selected path is a circle of radius \(\rho\) centered on the origin in the \(z=z_0\) plane, as shown in Figure \(\PageIndex{3}\). We further require \({\mathcal C}\) to lie entirely inside the coil, which ensures that the enclosed current includes the current of all the windings as they pass through the hole at the center of the toroid. We choose the direction of integration to be in the \(+\phi\) direction, which is consistent with the indicated direction of positive \(I\). That is, when \(I\) is positive, the current in the windings of the coil pass through the surface bounded by \({\mathcal C}\) in the same direction as the curled fingers of the right hand when the thumb is aligned in the indicated direction of \({\mathcal C}\).

In terms of the variables we have defined, the enclosed current is simply

\[I_{encl}=NI \nonumber \]

Equation \ref{m0049_eACL} becomes

\[\oint_{\mathcal C}{ \left[\hat{\bf \phi}H(\rho,z_0)\right] \cdot d{\bf l} } = NI \label{m0049_eACL1} \]

Now evaluating the integral:

\[\begin{aligned} N I & = \int _ { 0 } ^ { 2 \pi } \left[ \hat { \phi } H \left( \rho , z _ { 0 } \right) \right] \cdot ( \hat { \phi } \rho d \phi ) \\ & = \rho H \left( \rho , z _ { 0 } \right) \int _ { 0 } ^ { 2 \pi } d \phi \\ & = 2 \pi \rho H \left( \rho , z _ { 0 } \right) \end{aligned} \nonumber \]

It is now clear that the result is independent of \(z_0\). Summarizing:

\[\boxed{ {\bf H} = \hat{\bf \phi}\frac{NI}{2\pi\rho} ~~ \mbox{inside coil} } \label{m0049_eResult} \]

Let’s take a moment to consider the implications of this result.

- Note that it is dimensionally correct; that is, current divided by the circumference of \({\mathcal C}\) (\(2\pi\rho\)) gives units of A/m, which are the units of \({\bf H}\).
- We have found that the magnetic field is proportional to winding density (i.e., number of windings divided by circumference) times current. To increase the magnetic field you can either use more windings or increase the current.
- Remarkably, we have found that the magnitude of the magnetic field inside the coil depends only on \(\rho\); i.e., the distance from the central (here, \(z\)) axis. It is independent of \(z\).

## Summarizing:

The magnetic field inside a toroidal coil (Equation \ref{m0049_eResult}) depends only on distance from the central axis and is proportional to winding density and current.

Now let us consider what happens outside the coil. For this, we consider any path of integration (\({\mathcal C}\)) that lies completely outside the coil. Note that any such path encloses no current and therefore \(I_{encl}=0\) for any such path. In this case we have:

\[\oint_{\mathcal C}{ {\bf H} \cdot d{\bf l} } = 0 \nonumber \]

There are two ways this could be true. Either \({\bf H}\) could be zero everywhere along the path, or \({\bf H}\) could be non-zero along the path in such a way that the integral windings out to be zero. The radial symmetry of the problem rules out the second possibility – if \({\bf H}\) is radially symmetric and \({\mathcal C}\) is radially symmetric, then the sign of \({\bf H} \cdot d{\bf l}\) should not change over \({\mathcal C}\). Therefore:

The magnetic field everywhere outside an ideal toroidal coil is zero.

Note the caveat signaled by the use of the adjective “ideal.” In a practical toroidal coil, we expect there will be some leakage of magnetic flux between the windings. In practice, this leakage can be made negligibly small by using a sufficiently high winding density and winding the wire on material on a toroidal form (a “core”) having sufficiently large permeability. The use of a high-permeability core, as shown in Figure \(\PageIndex{1}\), will dramatically improve the already pretty-good containment. In fact, the use of such a core allows the spacing between windings to become quite large before leakage becomes significant.

One final observation about toroidal coils is that at no point in the derivation of the magnetic field did we need to consider the cross-sectional shape of the coil; we merely needed to know whether \({\mathcal C}\) was inside or outside the coil. Therefore:

The magnetic field inside an ideal toroidal coil does not depend on the cross-sectional shape of the coil.