1 Introduction

Magnetic fields of a specific spatial distribution are used in many areas of physics and technology and analytic approaches to the problem of designing systems, which are capable of generating the desirable fields may be found in the comprehensive surveys papers [14] and literature cited therein.

In many applications it is required that the field be highly homogenous over some specified volume. This is of particular importance in magnetic resonance imaging experiments. The systems used for in vivo medical diagnostic studies most often employ solenoidal superconducting electromagnets that are expensive and in certain applications pose disadvantages associated with the limited access to the region of uniform field. In electron paramagnetic resonance imaging (EPRI) [5] and in some functional nuclear magnetic resonance imaging (MRI) experiments [6], electromagnets generating low fields and/or allowing access to the working space from all directions and not just axial are desirable. A classic example of systems satisfying these conditions are air-core assemblies comprising a number of circular or square windings placed co-axially and distributed so that the leading perturbation terms in the field series expansion are eliminated.

In this paper, we consider the system consisting of two coaxial pairs of circular loops with the same radius. The use of properly distributed windings of the same radius makes the radial access to the uniform field possible and does not impose restriction on the axial access, which may sometime occur in systems based on spherical harmonic expansion [4, 10] with outer pair of windings of smaller radius or having a single loop in the mid plane.

We use a simple analysis based on properties of the axial magnetic field with the aim to reveal the possible distributions of windings, that result in systems featuring zero octupole and 32 magnetic moments, i.e., generating the central magnetic field in which the sixth-order term is the first one non-vanishing in the field expansion. The table, formulae, and graphs given in the paper facilitate the choice of design, which is the most suitable for the problem at hand.

The system presented generates extended volume of uniform magnetic field, which can be accessed from all directions. It may be suitable for very-low field MRI and EPRI as well as bioelectromagnetic experiments [7]. The high-field system can be easily shielded by confinement in other with larger radius, which cancels the total dipole moment and results in reduction of the stray field at the expense of a slight decrease of strength of the very homogenous central field.

2 System Configuration Analysis

Consider a system of two circular current loops of the same radius \( R \), with current \( I \) flowing in the same sense in each loop. Let the loops encircle z-axis, be located symmetrically with respect to the origin, and separated by the distance \( 2d \). Using the Biot–Savart law we calculate that the axial field \( B_{z} \) is:

$$ B_{z} = \frac{{\mu_{0} IR^{2} }}{2}\left[ {\left( {R^{2} + z^{2} - 2zd + d^{2} } \right)^{ - 3/2} + \left( {R^{2} + z^{2} + 2zd + d^{2} } \right)^{ - 3/2} } \right]. $$
(1)

Let us now focus the attention on how the axial field behaves outside the coil system and in its central region. To show the behavior of the distant axial \( B_{z} \) field, we may expand in the Taylor series the function in square brackets of Eq. (1) in inverse powers of \( z \). This yields:

$$ B_{z} = c_{k - 1} z^{ - (k + 2)} . $$
(2)

It is seen the distant axial field may be viewed as the superposition of magnetic multipoles at the system origin. Due to symmetry of current distribution all coefficients \( c_{k - 1} \) for an even \( k \) will vanish. This means that in the field expansion there will be no \( 2^{k} \) poles with \( k \) even, just dipole (\( k = 1 \)), octupole (\( k = 3 \)), 32 pole (\( k = 5 \)) and so on.

The first coefficients are found to be:

$$ c_{0} = \mu_{o} IR^{2}, $$
(3a)
$$ c_{2} = 3\mu_{0} IR^{2} (4d^{2} - R^{2} )/2, $$
(3b)
$$ c_{4} = 15\mu_{0} IR^{2} \left( {8d^{4} - 12d^{2} R^{2} + R^{4} } \right)/8. $$
(3c)

The first term in the field expansion \( c_{0} z^{ - 3} \) is evidently the axial field due to the dipole at origin (\( k = 1 \)). The second term \( c_{2} z^{ - 5} \) is the octupole term (\( k = 3 \)), the third (\( k = 5 \)) \( 32 \) pole term and so on. But we see from Eqs. (2) and (3b) that the octupole term becomes zero if \( 2d = R \) (the Helmholtz condition). Now as Purcell [9] pointed out, the field of any symmetrical multipole cannot be zero along the symmetry axis unless it is zero off the axis everywhere as well. Consequently, the entire octupole field, not just \( B_{z} \) on the axis, vanishes, if \( 2d = R \). This means that every Helmholtz pair has the zero octupole moment.

By expanding in the Taylor series the function in square brackets of Eq. (1) around the center, we can readily show that the central field generated by the system is:

$$ B_{z} = \mathop \sum \limits c_{k - 1} z^{k - 1}, $$
(4)

where:

$$ c_{0} = \frac{{\mu_{0} IR^{2} }}{{\left( {R^{2} + d^{2} } \right)^{3/2} }}, $$
(5a)
$$ c_{2} = \frac{{3\mu_{0} IR^{2} }}{{2(R^{2} + d^{2} )^{5/2} }} \cdot \frac{{(4d^{2} - R^{2} )}}{{(R^{2} + d^{2} )}}, $$
(5b)
$$ c_{4} = \frac{{15\mu_{0} IR^{2} }}{{8(R^{2} + d^{2} )^{7/2} }} \cdot \frac{{(8d^{4} - 12d^{2} R^{2} + R^{4} )}}{{(R^{2} + d^{2} )}}. $$
(5c)

Owing to the symmetry of current distribution the axial magnetic field in the central region of the system is an even function of \( z \).

But for the Helmholtz condition (\( 2d = R \)) the \( c_{2} \) coefficient vanishes, which maximizes the volume and uniformity of the field in the central region of the system. It is possible to make this field still more uniform and to extend its useful volume by using additional pairs of coils, which help to nullify the next coefficient in the field expansion [1].

To eliminate both octupole and 32 pole terms, we consider a system of two coaxial pairs of circular current loops of the same radius \( R \), i.e., a four-coil system with number of Amp–turns \( (NI)_{1} \) and \( (NI)_{2} \), respectively, and current flowing in the same sense in each loop. Let the loops be located symmetrically with respect to the origin of z-axis at distances \( 2d_{1} \) and \( 2d_{2} \), respectively. From the Biot–Savart law the axial field \( B_{z} \) generated by the system is:

$$ \begin{aligned} B_{z} & = \frac{{\mu_{0} \left( {NI} \right)_{1} R^{2} }}{2}\left[ {\left( {R^{2} + z^{2} - 2zd_{1} + d_{1}^{2} } \right)^{ - 3/2} + \left( {R^{2} + z^{2} + 2zd_{1} + d_{1}^{2} } \right)^{ - 3/2} } \right] \\ & \quad + \frac{{\mu_{0} \left( {NI} \right)_{2} R^{2} }}{2}\left[ {\left( {R^{2} + z^{2} - 2zd_{2} + d_{2}^{2} } \right)^{ - 3/2} + \left( {R^{2} + z^{2} + 2zd_{2} + d_{2}^{2} } \right)^{ - 3/2} } \right]. \\ \end{aligned} $$
(6)

Expanding in the Taylor series the function in square brackets around the center we have:

$$ B_{z} = \mathop {\sum \left( {c_{k - 1}^{(1)} + c_{k - 1}^{(2)} } \right)}\limits z^{k - 1}, $$
(7)

where \( c_{k - 1}^{(1)} \) and \( c_{k - 1}^{(2)} \) are the coefficients in the multipole field expansion for respective coil pairs. By analogy to Eqs. (5a, 5b, 5c) we may write:

$$ \begin{gathered} c_{0}^{(1)} = \frac{{\mu_{0} (NI)_{1} R^{2} }}{{(R^{2} + d_{1}^{2} )^{3/2} }}, \hfill \\ c_{0}^{(2)} = \frac{{\mu_{0} (NI)_{2} R^{2} }}{{(R^{2} + d_{2}^{2} )^{3/2} }}, \hfill \\ \end{gathered} $$
(8a)
$$ \begin{gathered} c_{2}^{(1)} = \frac{{3\mu_{0} (NI)_{1} R^{2} }}{{2(R^{2} + d_{1}^{2} )^{5/2} }} \cdot \frac{{(4d_{1}^{2} - R^{2} )}}{{(R^{2} + d_{1}^{2} )}}, \hfill \\ c_{2}^{(2)} = \frac{{3\mu_{0} (NI)_{2} R^{2} }}{{2(R^{2} + d_{2}^{2} )^{5/2} }} \cdot \frac{{(4d_{2}^{2} - R^{2} )}}{{(R^{2} + d_{2}^{2} )}}, \hfill \\ \end{gathered} $$
(8b)
$$ \begin{gathered} c_{4}^{(1)} = \frac{{15\mu_{0} (NI)_{1} R^{2} }}{{8(R^{2} + d_{1}^{2} )^{7/2} }} \cdot \frac{{(8d_{1}^{4} - 12d_{1}^{2} R^{2} + R^{4} )}}{{(R^{2} + d_{1}^{2} )}}, \hfill \\ c_{4}^{(2)} = \frac{{15\mu_{0} (NI)_{2} R^{2} }}{{8(R^{2} + d_{2}^{2} )^{7/2} }} \cdot \frac{{(8d_{2}^{4} - 12d_{2}^{2} R^{2} + R^{4} )}}{{(R^{2} + d_{2}^{2} )}}. \hfill \\ \end{gathered}$$
(8c)

It is seen that both octupole (\( k = 3 \)) and 32 pole (\( k = 5 \)) terms in the field expansion will be zero if:

$$ c_{2}^{(1)} + c_{2}^{(2)} = 0, $$
(9a)
$$ c_{4}^{(1)} + c_{4}^{(2)} = 0. $$
(9b)

The set of Eqs. (9a, 9b) contains three variables \( \left\{ {d_{1} ,d_{2} ,(NI)_{1} /(NI)_{2} } \right\} \), one of which can be treated as a parameter. In our calculation the chosen parameter has been the Amp–turn ratio.

The numerical solutions of Eqs. (9a, 9b) may be divided into two families. The first one, which contracts the length of the coils system, and the second one, which extracts the length.

3 Numerical Results

Table 1 lists the Amp–turn ratios and the corresponding coil spacing obtained for the family of solutions contracting the coil length. Using the LS approximation we have found that these solutions may be approximated by:

$$ \frac{{d_{1} }}{R} = 0.25153 + 0.06065e^{ - t} - 0.00173t - 0.00001t^{2}, $$
(10a)
$$ \frac{{d_{2} }}{R} = 0.96173 - 0.06781e^{ - t} - 0.00466t + 0.22810te^{ - t} + 0.00003t^{2}, $$
(10b)
$$ (NI)_{2} /(NI)_{1} = 2.12 + 0.02t $$
(10c)

for \( 1 \le t \le 82 \). The obtained solutions are shown graphically in Fig. 1. For the family extracting the length, the solutions may be approximated by:

$$ \frac{{d_{1} }}{R} = 0.28115 - 0.00004t + 0.00921\ln t, $$
(11a)
$$ \frac{{d_{2} }}{R} = 1.11207 + 0.01702t + 3.4 \cdot 10^{ - 6} t^{2} - 0.00263t\ln t, $$
(11b)
$$ (NI)_{2} /(NI)_{1} = 2.12 + 0.02t $$
(11c)

for \( 1 \le t \le 394 \). The latter solutions are shown graphically in Fig. 2a, b. The derived solutions allow easy construction of the four-coil system featuring zero octupole and 32 pole terms.

Table 1 Coil spacings and design specifications for contracting systems
Fig. 1
figure 1

Dimensionless coordinates of coils (contracting geometry). Solid line inner coils, dotted line outer coils

Fig. 2
figure 2

a Dimensionless coordinates of inner coils (extracting geometry). b Dimensionless coordinates of outer coils (extracting geometry)

For the family of solutions contracting the coils length one set of the derived variables corresponds well to that obtained previously by means of the Bessel functions formalism by Lee-Whiting [8]. As it is seen from Table 1, for \( \left( {NI} \right)_{2} /\left( {NI} \right)_{1} = 2.26 \) we have calculated \( d_{1} /R = 0.24325 \) and \( d_{2} /R = 0.9409 \) in good agreement with the respective variables: 2.2604, 0.24319 and 0.94073 given in Ref. [7].

4 Analysis of the Magnetic Field Uniformity

Hereafter, we consider in more detail the \( \left( {NI} \right)_{2} /\left( {NI} \right)_{1} = 9/4 \) system, which has the potential of being power supply in series. For this Amp–turn ratio the windings are positioned at \( d_{1} /R = 0.24483 \) and \( d_{2} /R = 0.94485 \). To compare performance of the system with that of Lee-Whiting [8], we have analyzed the spatial distribution of the magnetic field generated by both systems. The evaluation of the field homogeneity involved the use of the Biot–Savart relation applied to small segments of windings. Results of analysis are presented in Fig. 3a, b, which show contours of constant magnetic field relative to the field at center (field error contours) defined as (B given point − B center)/B center plotted at ±1, ±5, and ±10 ppm intervals for the ideal eight-order Lee-Whiting design and our 9/4 system, respectively. It is seen that that the field error contours of both systems compare excellently and the volume of the homogenous magnetic field is similar.

Fig. 3
figure 3

a Contours of the constant magnetic field plotted at 1, 5, 10 ppm intervals (ideal system proposed by Lee-Whiting). b Contours of the constant magnetic field plotted at 1, 5, 10 ppm intervals (ideal (NI)2/(NI)1 = 9/4 contracting system)

In Ref. [11] the Amp–turn ratio of 2.2604 given by Lee-Whiting is approximated by 9/4 (2.25) and the windings placements are left unchanged. Such an approximation expressing the numerator and denominator of the Amp–turn ratio by integers allows the design of systems having coils connected in series and fed by one common source, which is most preferable in practical applications. Unfortunately, as we show in Fig. 4 this small change of only one parameter has a significant impact on the system performance, leading to a very substantial reduction of the generated field homogeneity.

Fig. 4
figure 4

Contours of the constant magnetic field plotted at 1, 5, 10, 50, 100 ppm intervals (system of Lee-Whiting with 9/4 Amp–turn ratio)

In Table 1 we specify the coil’s position with an accuracy of 5 significant digits. With the same accuracy the location of windings is given in the Lee-Whiting paper. Such a precision, however, would be difficult to achieve when constructing the real system. To evaluate the influence of the location of coils on the field homogeneity, we have calculated the field error contours of both systems assuming the coils placement specified with the accuracy of 3 significant digits, i.e., we have assumed \( d_{1} /R = 0.243 \) and \( d_{2} /R = 0.941 \) for the Lee-Whiting system and \( d_{1} /R = 0.245 \) and \( d_{2} /R = 0.945 \) for the system presented in this paper. The results of calculation are plotted in Fig. 5a, b for the Lee-Whiting arrangement and our 9/4 system, respectively. When comparing pair of Figs. 3a, 5a with the pair 3b and 5b, we see that the 9/4 restricted system generates the greater volume of homogenous magnetic field and is less sensitive to the precision of the location of coils.

Fig. 5
figure 5

a Contours of the constant magnetic field plotted at 1, 5, 10 ppm intervals (ideal Lee-Whiting system with 3 significant digits for wires distribution). b Contours of the constant magnetic field plotted at 1, 5, 10 ppm intervals [(NI)2/(NI)1 = 9/4 contracting system with 3 significant digits for wires distribution]

The real assemblies with coils connected in series consist of many turns of wire fed with equal current and their Amp–turn ratio (NI)2/(NI)1 depends solely on the number of windings of the outer and inner coils. As an example of such assemblies, we have analyzed the arrangements comprising nine circular current loops in the outer coils and four loops in the inner coils. The loops are deposited side by side around z coordinates corresponding to the Lee-Whiting and our 9/4 contracted designs. The expected distributions of the magnetic field generated by the two designs are shown in Fig. 6a, b, respectively. It is seen that the setup suitable for the serial power supply based on our 9/4 system produces much greater volume of the homogeneous magnetic field than that using the Lee-Whiting coordinates.

Fig. 6
figure 6

a Contours of the constant magnetic field plotted at 1, 5, 10, 50, 100 ppm intervals (real Lee-Whiting system). b Contours of the constant magnetic field plotted at 1, 5, 10, 50, 100 ppm intervals [real (NI)2/(NI)1 = 9/4 contracting system]

The setup based on the 9/4 contracted system having the unit radius (R = 1 m) and fed with the current 1 A generates magnetic field whose value in the center is 89.5 × 10−7 T (89.5 mG). The field homogeneous to 50 ppm, which meets, e.g., EPRI requirements, extends axially to 0.22R and radially to 0.3R from the center. In the case of setup that uses the Lee-Whiting coordinates, the field value is 89.9 × 10−7 T and the field homogeneous to 50 ppm extends axially to 0.11R and radially to 0.17R from the center.

The magnetic field homogeneity has been analyzed for all systems listed in Table 1. The maximum volume of the homogeneous field is generated by the \( \left( {NI} \right)_{2} /\left( {NI} \right)_{1} = 2.26 \) system. When the Amp–turn ratio changes the volume of the uniform magnetic field slowly decreases. For the last system listed in Table 1 the field homogeneous to 1 ppm extends axially to 0.11R and radially to 0.13R. The value of field is 142 × 10−7 T.

5 Shielding of the System

The distant (stray) field of the two-pair coil system may be easily shielded. To show the behavior of the distant axial \( B_{z}, \) we may expand Eq. (6) in inverse powers of \( z \). This yields:

$$ B_{z} = \mathop \sum \limits_{k} (c_{k - 1}^{(1)} + c_{k - 1}^{(2)} )z^{ - (k + 2)} . $$
(12)

The first three turns in the expansion are readily found to be those for \( k = 1 \), \( k = 3 \) and \( k = 5 \) with coefficients:

$$ c_{0} = \mu_{o} [(NI)_{1} + (NI)_{2} ]R^{2}, $$
(13a)
$$ c_{2} = 3\mu_{0} (NI)_{1} R^{2} (4d_{1}^{2} - R^{2} )/2 + 3\mu_{0} (NI)_{2} R^{2} (4d_{2}^{2} - R^{2} )/2, $$
(13b)
$$ \begin{gathered} c_{4} = 15\mu_{0} (NI)_{1} R^{2} \left( {8d_{1}^{4} - 12d_{1}^{2} R^{2} + R^{4} } \right)/8 \hfill \\ + 15\mu_{0} (NI)_{2} R^{2} \left( {8d_{2}^{4} - 12d_{2}^{2} R^{2} + R^{4} } \right)/8. \hfill \\ \end{gathered} $$
(13c)

So, we see that the external (stray) field of the system is dominated by the dipolar term and decreases as \( z^{ - 3} \). However, in some applications, it is required that the central field be very homogenous and at the same time the stray field be falling off rapidly. Could we somehow suppress the dipolar term of the four-coil system? Yes, and it is rather easy to do. We can surround the system with another one of larger radius with opposed currents arranged so dipolar moments of the systems given by Eqs. (13a, 13b, 13c) cancel.

For example, if the outer system has twice the radius of the inner one, we need the current flowing in it to be four times smaller than that in the inner system to achieve cancellation. Adding the outer system cancels the total dipole moment not effecting the homogeneity of the central field, but slightly reducing the field value. For the case considered it amounts to 12.5 %.The behavior of the stray field is shown in Fig. 7, it does fall off faster to zero when the whole nested system is energized compared with the inner four-coil system alone.

Fig. 7
figure 7

Axial magnetic field generated by a four-coil system, b nested four-coil system

It is clear that the confinement provides a simple system with the reduced stray field, which in some circumstances may prove to be useful.

6 Conclusions

The possible distributions of two coaxial pairs of circular windings resulting in systems featuring zero octupole and 32 pole moments are given. Analysis given in the paper shows that one of the derived system, which has the Amp–turn ratio of 9/4, generates homogeneous magnetic field whose volume compares excellently with that of the eight-order Lee-Whiting design, but is less sensitive to the impact of current distribution and the precision of windings location. Moreover, the system may be more easily adopted for the serial power supply. The ideal 9/4 system of the unit radius fed with 1 A current generates the magnetic field of 89.5 mG, which is about 10 times stronger than that yielded by the Helmholtz pair. The field is proportional to the number of Amp–turns and scales with R −1, hence systems of smaller radius and/or carrying higher currents will generate higher magnetic fields. Yet, to avoid heating problems they will require thermal and current stabilization. This refers particularly to long-time experiments. Based on the design presented, we plan to build 90 G magnet for micro-EPRI experiments, which should shed some light on the problems associated with practical implementation of the system. Finally, we would like to add that the high-field version of the system can be easily shielded by confinement of the system inside another one with bigger radius. This exerts no significant influence on the center field, but reduces greatly the stray field outside.