Abstract
This review is a compilation of relevant concepts in designing Halbach multipoles for magnetic resonance applications. The main focus is on providing practical guidelines to plan, design and build such magnets. Therefore, analytical equations are presented for estimating the magnetic field from ideal to realistic systems. Various strategies of homogenizing magnetic fields are discussed together with concepts of opening such magnets without force or combining them for variable fields. Temperature compensation and other practical aspects are also reviewed. For magnetic resonance two polarities (di- and quadrupole) are of main interest, but higher polarities are also included.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
The invention of rare-earth magnets (typical properties are summarized in Appendix A) in the 1970s to 80s changed the way magnets could be designed, because they have much higher coercivities (magnetic “hardness”) than formerly used AlNiCo or ferrite-permanent magnets. This fact allowed assembling magnetic flux sources similar to “toy blocks”, because the magnets hardly impair their magnetic properties. Their high remanence and their low permeability permitted to design very strong but compact permanent magnets using analytical approaches. One of the pioneers in this field was John C. Mallinson, who together with Klaus Halbach invented what nowadays is referred to as “Halbach arrays”. Their concept is based on a spatially oscillating magnetization in rare-earth magnets that produces enhanced magnetic flux only on one of their sides. Generalization then led to cylinders, spheres etc. with extremely strong and homogeneous magnetic fields of variable polarity, which naturally found many applications in various fields.
The properties and uses of Halbach magnets have already been reviewed several times [1,2,3]. However, there has been only little focus on practical aspects in magnet construction. It is the aim of this work to show, how the magnetic fields of Halbach multipoles can be estimated and which design criteria are critical, how they can be built and what further options can be implemented. All this is done with emphasis on applications in magnetic resonance. During the last two decades Halbach dipoles have developed from tinkered lab-instruments to full commercial productsFootnote 1 for benchtop NMR-relaxometry and spectroscopy. They work at magnetic fields from 1 to 3 T with homogeneities in the ppb-regime. Nevertheless, this field is still quite active in research, particular in developing portable MRI-scanners for the human head [4,5,6,7] for point-of-care application and to provide more affordable instrumentation for developing countries [8]. On the other hand, they have also been designed for EPR [9, 10], and DNP [10,11,12].
For magnetic resonance applications the interest in generating multipolar magnetic fields is typically limited to dipolar (for homogeneous magnetic fields) and quadrupolar (for homogeneous field gradients) arrangements. For completeness, however, higher polarities are touched at some points, but lengthy details are placed in appendices. The design of multipoles is interesting for particle traps in fundamental physics [13, 14], accelerators [15,16,17,18], motors [19], bearings [20], and linear machines [21]. Recently, they have also found use in techniques to guide magnetic nanoparticles remotely [2, 22] and in the emerging field of magnetic particle imaging, MPI [23].
This review is structured as follows: The concept of single-sided flux is introduced with Mallinson’s planar array (Sect. 2), which is then intuitively generalized to cylindrical Halbach multipoles (Sect. 3). After their principal field is introduced, this ideal case is step by step applied to more realistic structures. Each of these steps is accompanied by analytical expressions for the consequences on the magnetic flux inside them. The discussion of possible demagnetization concludes this section, which allows a basic design and choice of suitable materials. Section 4 deals with various strategies to homogenize the field in the plane of the magnet and along its axis using passive, mechanical and active shim strategies. Finally, Sect. 5 introduces concepts to open Halbach multipoles without force, combine them for variable field sources, achieve temperature compensation and give some practical hints for manually assembling such magnets.
2 Planar Halbach Arrays
In 1973 Mallinson [24] published the idea of what he considered a magnetic curiosity then, a planar permanent magnet with a magnetization pattern that results in single-sided flux. The conceptual idea is illustrated in Fig. 1, in which magnets with quadratic cross sections are arranged such that their flux cancels on one side and increases on the other. An analytical expression for this one-dimensional magnetization pattern along x is also given in the original publication
where \(k^{\prime}\) is the wave number (spatial frequency) or \(\lambda\) the wavelength of the pattern (cf. Fig. 2a). The resulting field above the surface (y > 0) of such a structure of thickness d (and infinite length in z) is then
where BR is the remanence of the magnetic material (for typical values see Appendix A). The magnetic field components Bx and By are harmonic functions outside the magnet material. As a consequence, the sinusoidal variation in the horizontal direction goes together with an exponential decay in the vertical direction. Nowadays, many household magnets (see Fig. 2b) and magnetic foils have such magnetization patterns. This has the advantage that the holding force is roughly doubled per magnet weight and magnetic foils can be made thinner and more flexible. Other applications of such magnetization patterns are in the inductrack magnetic levitation [21] or wigglers and undulators to generate synchrotron radiation [25].
If half a wavelength of such a pattern is rotated parallel to an offset axis, permanent magnets with axial fields can be generated (cf. Fig. 2c). However, the end effects will be strong and have to be compensated e.g. by material thickness [26, 27]. Halbach then later generalized this concept to cylindrical [28] and spherical [29] arrangements to create multipolar magnetic fields. Due to his pioneering work in this area, these arrangements are usually all named after him. The pattern shown in Figs. 1 and 2 will typically be referred to as a 1D, linear or planar Halbach array.
3 Cylindrical Halbach Multipoles
If a planar Halbach array of length \(\lambda\) is now wrapped around a cylinder like illustrated in Fig. 3a, the variable x in Eq. (1) needs to be replaced by a position angle \(\theta=2\pi\) x/\(\lambda\) or x = \(\theta\) \(\lambda\)/(\(2\pi\)). However, the fact that the magnetization is now lying on a cylinder at an angle \(\theta\) must be taken into account by adding this angle to the magnetization position (cf. Fig. 3a). Hence, the magnetization of a cylindrical magnet with one wavelength, i.e. \({\varvec{M}}(\theta ) = M_{0} \;\left( {\sin 2\theta ,\;\cos 2\theta } \right)\), yields a homogeneous (dipolar) field. If two wavelengths of a planar Halbach array are bent to a cylinder (cf. Fig. 3b) the same arguments then result in \({\varvec{M}}(\theta ) = M_{0} \;\left( {\sin 3\theta ,\;\cos 3\theta } \right)\) and so forth.
If this concept is generalized in rolling planar Halbach arrays of length k\(\lambda\) up this way, multipolar fields of polarity \(p = 2\left| k \right|\) are produced (dipole for \(\left| k \right|\; = 1\), quadrupole for \(\left| k \right|\; = 2\), etc.). The basic design idea is illustrated in Fig. 4a, where the coordinate system has been changed in order to have \(\theta\) = 0 along the x-axis. It is still an idealized magnet with the shape of a hollow cylinder or ring of infinite length and continuously varying magnetization direction. The angle of the magnetization direction, \(\varphi\), depends on the position angle, \(\theta\), (cf. Fig. 4a) as
Figure 4b–g illustrate how the modulus of k determines the polarity, \(p = 2\left| k \right|\), and its sign the location of the produced magnetic field. For k > 0 the field is exclusively inside the ring (as shown in Fig. 3) and for k < 0 exclusively on its outside (that would be the case if in Fig. 3 the planar array is bent down and rolled up). The magnetization M [A/m] of such a hollow cylinder changes with respect to the position angle \(\theta\) as
Here, the vectors in the magnet plane are represented in complex and cylinder coordinates, because both are used in the literature. It is also more practical to use the remanent flux density (or remanence) of a permanent magnet instead of its magnetization \(M\; = B_{{\text{R}}} /\mu_{0}\) with \(\mu_{0}\approx 4\pi\) · 10–7 kg m/(A s)2 , the permeability of vacuum.
For this work only magnetic structures are relevant which encase the magnetic flux density, B, they produce. This limits the discussion to k > 0 with the following general expression (the asterisk indicates the complex conjugate) (Eq. (21) in [28])
This results in multipolar magnetic fields of amplitude f(k), which is given by
where Ri and Ro are the inner and the outer radius of the hollow cylinder (cf. Fig. 4a), respectively. This amplitude f(k) is the \((k - 1)^{\text{th}}\) derivative of the generated flux, which is constant for each polarity. Hence, an ideal dipole (k = 1) generates a perfectly homogeneous magnetic field and a quadrupole (k = 2) perfectly homogeneous magnetic field gradients, which are orthogonal and have opposite signs.
The fact, that the flux of Halbach rings (k ≥ 1) is concentrated completely inside, makes them extremely efficient magnets. The efficiency of magnets is defined as the ratio of the energy stored in the accessible region to the maximally storable energy in the magnetic material [30, 31]. Halbach magnets reach a maximum efficiency for dipoles with Ro = 2.21 Ri.
These equations are only valid for ideal Halbach rings, which implies that they are continuously magnetized and infinitely long. Therefore, several steps have to be undertaken to convert these ideal Halbach multipoles to more realistic structures (cf. Fig. 5). This will be included in the Eq. (5) of the ideal system by modifying the amplitude of the generated magnetic flux by additional factors, f. Equation (5) describes the entire spatial flux distribution of the magnetic structure, which will be altered by discretizing and truncating it. Depending on the number of discrete parts, their shapes and distances, this will result in much more complicated field patterns, which cannot be generalized. The following simple equations will only be an estimate of the central field amplitude and say nothing about deviations at larger distances, i.e. about homogeneity. However, they are extremely useful at the planning stage of a magnet design and will give a good estimate about the achievable field/gradient strength.
3.1 Permeability
Permanent magnets are usually characterized by their B(H) dependence in the second quadrant, where the most prominent features are their remanent induction B(0) = BR, and the coercitivity field strength Hc, for which B(Hc) = 0. Typical values in the case of NdFeB permanent magnets are BR = 1.3 T and Hc = 1 MA/m. The relative permeability of the magnetic material \(\mu\)r is described as the slope of this line, i.e. \(\mu_{{\text{r}}} \; = \;{{\partial B(H)} \mathord{\left/ {\vphantom {{\partial B(H)} {\partial H}}} \right. \kern-0pt} {\partial H}}\).
Usually, the structural materials in the construction are diamagnetic or slightly paramagnetic (aluminum, copper) and can be described by the linear relationship \(B=\mu_{0}\,\mu_{r}\) H, with values of \(\mu\)r differing from unity by only about 10–5 (which can be also expressed as, \(\mu\)r = 1 + \(\chi\), with \(\chi\) the magnetic susceptibility). For this reason, these materials can be neglected compared to permanent magnets (“neodymium magnets” or Nd2Fe14B typically have \(\mu\)r = 1.05, and “samarium-cobalt magnets” SmCo5 or Sm2Co17 have \(\mu\)r = 1.03–1.11, cf. Appendix A). In order to estimate the effect of these not quite negligible permeability values we treat a Halbach ring like a continuous shell which shields the field of a larger ring surrounding it. Thus, an ideal Halbach ring can be treated like a cylindrical shield with an inner field reduced by a factor (Eq. (72) in [32])
If we imagine the magnetized hollow cylinder as a superposition of very thin cylindrical shells, the field generated by the outermost shell is shielded by all the inner shells, while the innermost is only shielded by the sample volume. The solution for this scenario is given by (Eq. (31) in [33])
Simulations for the relevant range of the permeability show that Eq. (8) can be approximated by (with an error smaller than 1% for \(<1.35\))
If more than one Halbach ring is used to construct a (nested) system, the shielding of the field originating from the outer rings by the permeability of the inner rings must also be taken into account (e.g. by using Eq. (7)).
3.2 Segmented Rings
Unlike for planar Halbach arrays there is no accurate technique available yet to magnetize a hollow cylinder of permanent magnet material with the desired continuous magnetization patterns as demanded by Eq. (4). A real Halbach ring is therefore always an approximation of the ideal Halbach multipole by constructing it from N segments each with a single magnetization direction (cf. Fig. 5b). This type of segmentation reduces the inner field by (Eq. (24b) in [28])
This correction becomes mainly important for small N and high k (e.g. for k = 1 and N = 8, f seg= 0.6366, but for N = 16, f seg = 0.9745). It is trivial that the level of discretization must be at least the number of poles (N ≥ 2 k), an equivalent of Nyquist’s theorem of “sampling” the theoretical magnetization wave that defines the multipole (cf. Figs. 2 and 3). At this limit the magnetization vectors of neighboring segments point in opposite radial directions.
3.3 Non-cylindrical Segments
Replacing the cylindrical segments of Fig. 5b by N identical magnets with a polygonal, round or trapezoidal footprint (as shown in Fig. 5c exemplarily by squares) can be advantageous in terms of costs but also for strategies to optimize homogeneity (see Sect. 4.1). This concept is also named Mandhalas [34] and the pros and cons of differently shaped sub-pieces are discussed in [35]. Obviously, the reduction of magnetic volume by this approach reduces the magnetic flux density additionally. If the footprint of the sub-pieces covers an area AM, the strength of the resulting magnet is reduced by the ratio to the area of the ideal Halbach (i.e. \(\pi \left( {R_{{\text{o}}}^{2} - R_{{\text{i}}}^{2} } \right)\)).
The geometry (calculation of vertices and distances) of dense arrangements of polygonal pieces is described in Appendix B.
3.4 Finite Length
So far, the magnets were described only in two dimensions, corresponding to an infinite length in the third or z-dimension. Obviously, a real magnet must be truncated to a certain length, L. Zijlstra gives an analytical expression (Eq. (49) in [36]) for the reduction factor, \(f^{\text{L}}(k)\), of the field in the center of such a truncated Halbach dipole
In order to generalize this for multipolar Halbach rings, they are constructed by a continuous distribution of dipoles on the circumference of a circle with radius Rc. Then the decay along the third dimension (for k = 1 see Eq. (8) in [37]) is given by
In order to account for the length, L, of the magnet, Eq. (13) is integrated over z0 = ± L/2 and set in relation to the integral for the infinitely long ideal cylinder (z0 = ± ∞). The reduction factor, \(f^{{\text{L}}}\), is then found for z = 0. For the two relevant cases (i.e., k = 1 and k = 2) the following simple expressions can be found (for k = 1 see Eq. (A.5) in [23]) at z = 0.
The solutions for higher k values and a general equation are listed in Appendix C. Note that it is still the field components in the xy-plane whose decay in z-direction is described here. The expression in Eq. (14) for k = 1 can be found from Eq. (12) for a very thin ring by expressing Ro = Rc + δr and Ri = Rc−δr as the zeroth order expansion in δr.
In Sect. 4.3 it is shown how the decay ~ z−5 for k = 1 along the central axis can be avoided by using multiple rings with gaps in between them [37].
As already mentioned in the introduction, for most magnetic resonance experiments dipolar (k = + 1) and quadrupolar (k = + 2) Halbach magnets are of interest only. Therefore, the effects discussed in the previous sections can be summarized as
Dipole: (k = 1)
Quadrupole: (k = 2)
Equations (15) and (16) are very helpful for first estimations of field strengths of magnet geometries. A table in Appendix D compares the quality of the terms with the more accurate results from FEM simulations. The agreement is very good (discrepancies are less than a percent, except for the last two factors).
3.5 Demagnetizing Field
If a certain geometry is found that produces the desired magnetic flux density, B, inside the magnet system one has to check if the chosen material is magnetically hard enough. Inside the magnetic material the magnetic field, H, is not in the same direction as the magnetization, M. If in certain regions the component of H in the direction opposite to M exceeds the coercivity, Hc, the local magnetization will be quenched or demagnetized (for Halbach systems [31, 38]). Otherwise, permanent magnets could be built that generate virtually any field strength by adding more magnetic material. Hence, simulations that account for the full BH- or MH-curve are needed. Alternatively, calculations of the magnetic field inside the magnetic material can be inspected if the coercivity is exceeded (typical values and their dependence on temperature are listed in Appendix A). The intrinsic coercivity, Hc, is the magnetic field, which is needed to reduce the magnetization to zero, but the magnetization starts to deviate from its initial slope even earlier. However, in rare-earth magnets this transition is very steep. The magnetic field, H (see Fig. 6c), can be calculated from the flux density, B (see Fig. 6b), and the magnetization of the material, M (cf. Eq. (4) and Fig. 6a)
Figure 6 illustrates this effect on a thick-walled Halbach dipole and quadrupole. The internal magnetic field exceeds the coercivity of the chosen material in several regions (marked by black lines in Fig. 6d, e) at the outer and inner rim, which would be demagnetized and hence no longer contribute to the planned magnetization pattern, causing a lower field and homogeneity than predicted.
In [31] Bjørk et al. calculated conditions for these inner and outer regions with highest magnetic field. Demagnetization is avoided if
At the outer rim these regions are located at the poles (0° and 180° for a dipole) and at the inner rim between them (90° and 270° for a dipole).
However, it may be worth noting that for accelerators Halbach dipoles (Ri = 3 mm, Ro = 100 mm) have been constructed which reach almost 4 T (homogeneity 0.4%) [17] and recently even 5.16 T in a 2 mm gap [39]. The same group also developed extremely strong multipoles [40], e.g. quadrupoles with gradients of ca. 300 T/m [39]. This was achieved by using various materials with different Hc to avoid demagnetization.
Finally, one should be aware that Hc is also strongly temperature dependent (cf. Table 1).
4 Homogenizing
4.1 Homogenizing in the Magnet Plane
The magnetic fields of ideal Halbach multipoles are flawless (see Figs. 5a, 6d, e). The inhomogeneities introduced by discretization increase with each step in Fig. 5. At first glance, it is unclear how the concept of Mandhalas [34] (constructing the magnet from the same magnetic parts) might help here. To understand this strategy the main sources which cause field inhomogeneities have to be discussed. Typically, the production and magnetization process of the permanent magnets is outsourced to companies that have specialized in this field. Usually, the quality of these building blocks of the Halbach system is most crucial for the final result, and unfortunately the underlying steps are out of direct control. Figure 7b shows the variation of the field produced at a fixed distance from the surface of some 600 permanent magnets. The variation can easily reach percent ranges, but clearly the numbering provided by the producer reveals two batches in the production by the change in variance. Such variations can have their origin in the production of the magnets and/or the magnetization process.
Another problem arises from the accuracy of the magnetization direction. The cylindrical segments in Fig. 5b for instance need correct individual magnetization angles. It is easy to imagine that this will add another error in the percent range. An easy strategy to circumvent these problems is to order magnets of identical shape and measure their far field. Figure 7a shows how the magnetic field drops off the surface of a cube-shaped magnet in this example. At a distance roughly equal the size of the magnet, a dipolar regime is entered (dashed blue line), which means that shape and local magnetization variations inside the magnet average out and the magnet can be regarded as a spherical magnet of the same volume, or equivalently a point source described as a magnetic dipole. Note that this distance should be not too far away to ensure sufficient accuracy in measuring its stray field. In Appendix E a simple method is described that uses this dipole approach to minimize the error in the center of the arrangement [37]. This strategy typically improves the homogeneity by an order of magnitude. However, this strongly depends on the number of magnets to select from, their deviation and the chosen geometry. More evolved methods optimize larger field maps for different arrangements [6, 41, 42].
Using magnets with a polygonal footprint further reduces the error in misalignments of the magnetization direction because it coincides with a certain edge. However, edges in the magnet shape introduce higher polarities in the resulting field (cf. Fig. 5c, d), which can be reduced by using round magnets (spheres, bullet shaped, cylinders, cf. Fig. 5e). If one uses such round magnets, their correct orientation can be achieved by using a magnetic alignment procedure [35] giving excellent homogeneities. All the described concepts assume that one really uses only the innermost section of the magnet (somewhat like the far field). If the sample space is close to the size of the opening (2Ri) of the ring, the spatial inhomogeneity of the individual magnets can no longer be neglected (cf. Fig. 10a).
For dipoles Tewari et al. showed that the rotation angle \(\varphi\)i = (k + 1) \(\theta\)i (see Fig. 4a) of each magnet is not necessarily the best choice for optimal homogeneity [43]. From the same group there is also the suggestion to deviate from a circular arrangement and that arranging magnets on ellipses instead also improves overall homogeneity [44].
4.2 Axial Homogenization
The truncation of an ideal Halbach multipole to a certain length or height introduces an additional inhomogeneity of Bxy along the z-axis. This decay can be approximated by Eq. (14), and as already stated in Sect. 3.4 it is advantageous to separate the Halbach cylinders into differently spaced rings. This approach is very much like in Helmholtz coils or solenoids with denser pitch towards their ends to improve the homogeneity along their axis [37]. To homogenize the central field, \(B_{xy}^{\Sigma }\), produced by two dipole rings placed at distances ± s1, the second derivative has to become zero at the center z = 0.
with the second derivative
In the center (z = 0) this has to become zero for a flat maximum (cf. Fig. 8a)
Generally, this is fulfilled at \(s_{1} \; = \; \pm R_{{\text{c}}} /\sqrt {2k + 4} \;\;{\text{for}}\;\;k \ge 1\). Appendix F lists the optimal distances for up to 12 rings (cf. Fig. 8c) for k = 1—6.
Figure 8b shows a differential arrangement, which generates a constant gradient \(\partial B_{xy}^{\Delta} /\partial z\). For this the optimal distance is \(s_{1} \; = \; \pm R_{{\text{c}}} /\sqrt 2\) with a gradient of \(\frac{{\partial B_{xy}^{\Delta} }}{\partial z}\; = \;\frac{80}{{81}}\sqrt 3 \;\frac{{B_{xy}(0,0,0) }}{{R_{{\text{c}}} }}\) in the center.
Again, these distances are first starting points, which need refinement via simulations. The very homogeneous regions in Fig. 8a, c are, of course, limited to the axis. Farther away from the axis the gaps between the magnets will cause inhomogeneities increasing with radial distance (cf. Fig. 10b). Strategies to remove them will be discussed in the next section. An alternative to stacks of rings of the same length is to change the thickness of the individual rings [45] and remove/reduce the gaps in between them as shown in Fig. 8d. Nevertheless, the use of only one magnet size has to be sacrificed for this approach and the presented solutions in Appendix E are no longer valid because they were obtained for infinitesimal thin rings. However, the density distribution presented by them can be used as a starting point to optimize the ring thicknesses.
Another possibility to build Halbach arrays without end effects by truncation would be to use Halbach spheres [18]. This is more of a theoretical concept because the authors are not aware that anyone ever built such a demanding structure for magnetic resonance (in [46] a sphere has been roughly approximated). Figure 9a shows the principle layout of such a Halbach sphere generated by rotating the cross section of an ideal Halbach dipole around the axis of its poles [29, 47]. A Halbach sphere has 4/3 more internal flux than an ideal ring with the same shell thickness and additionally a strong stray field. At first glance it looks a bit foolish to wall an apparatus inside a hollow sphere, but there are certain angles where such spheres can be opened without force [1] to provide access to the inner volume (see also Sect. 5.1). This inner space can be extended by using Halbach hemispheres as endcaps of a Halbach ring (cf. Fig. 9b) [48]. The field strength of such a hemisphere is then half of that of the complete sphere, and the Halbach cylinder outer radius has to be adopted to match this by being \(R_{{\text{o}}}^{2/3} R_{{\text{i}}}^{1/3}\) of the hemispheres. Again, no one, to our knowledge, has ever built such a device.
4.3 Passive Shimming by Iron Pole Plates
Figure 10a shows the magnetic flux density measured close to the pole surface of eight magnets. Quite strikingly each of them shows a pronounced flux distribution over its surface. Although the methods described in Sect. 4.1 can compensate their overall strength at a distance, there are situations where one has to use as much of the inner volume of a magnet as possible. In [4] it was found that flat sheets of iron almost completely cancel this inhomogeneity out (cf. Fig. 10b, c). The iron plates (or other soft magnetic material with high permeability) act like a pole piece, and by bringing the various spatial magnetic field contributions to a similar magnetic potential smooths out the biggest inhomogeneities. Below about 1.5 T saturation effects are not expected in iron or low-carbon steels, but as it clearly can be seen in Fig. 10c, they also reduce the magnetic flux.
Recently, it has been reported that magnetic filaments for 3D-printers can be used to easily create arbitrarily shaped pole pieces or be already embedded in the support for magnets [49], however their low permeability (\(\mu\)r < 10) may become a problem.
4.4 Mechanical Shimming
Due to the variation in the magnetic materials, production and positioning tolerances it is hard to imagine building Halbach magnets with homogeneities much less than 100 ppm deviation of the magnetic flux over a larger part of the inner accessible volume, which is a comparable value for superconducting magnets before cryo-shimming. Typically, the last mechanical correction steps have to take spatial field information into account to find the optimal configuration for an individual magnet (a step which may already require the incorporation of ambient field distortions).
For permanent magnets this correction can be done by individually position either additional magnets or materials of high permeability [50]. Such a semi-permanent correction of course is best planned from detailed spatially resolved field maps. The corrective material can be inserted at suitable positions and/or mechanically moved (e.g. by set screws) for fine adjustments [51,52,53] or being rotated [54,55,56]. One major aspect is that not too much of the available sample space should be sacrificed by this additional equipment. A very elegant and space preserving concept is shown in Fig. 11 [57]. The very small magnet produces a field of 0.7 T and allows simple spectroscopy shown on the 1H-spectrum of toluene acquired in a 5 mm standard NMR tube (inset Fig. 11a). The resolution measured for a water sample was 4.5 Hz or 0.15 ppm at half height. This homogeneity was achieved first by shifting the rectangular sections to suitable positions and finally using additional coils for finer field adjustment of the first-order terms only. In the meantime this idea has been further developed and successfully commercialized [58].
Another idea for simple, adjustable and stationary shims is presented in Fig. 12. It makes use of a pair of permanent magnets both with the shape of a hollow cylinder and transverse magnetization, which are aligned coaxially (cf. Fig. 12 top row). They will have the same stray field if both have the same height and their geometry and remanences are chosen such that they both have the same product of remanence times their area, i.e.
where A/B indicates the inner or outer cylinder (RAo/i = outer/inner radius of cylinder A). Their fields add up when both point in the same direction. Their vector sum is minimal (vanishes if Eq. (22) is fulfilled) for antiparallel orientation as illustrated in Fig. 12. If a set of K such units is mounted on a circle with radius Rs and their geometry is chosen small compared to the rest of the magnet system, their influence in the center is approximately that of a dipole and the additional flux at a point p = [x, y] close to the center is given by
where \(\theta\)j is the angle at which the jth shim cylinder-pair is positioned, whose outer and inner cylinders are rotated by angles \(\varphi_{j}^{{\text{A}}}\) and \(\varphi_{j}^{{\text{B}}}\). The last equation is given if both cylinders with total volume V are made from the same material with remanence BR.
The correction field can then rather simply be calculated by the superposition of K individual dipoles of individual strength and angle to homogenize the original magnetic field. From that the angles of each cylinder pair are determined using Eq. (23). This approach has the advantage that it only uses components on a fixed axis. The method was successfully tested but needs further refinement [59].
If the instrument is going to be used for NMR spectroscopy the final fine adjustment (“active shimming”) of homogeneity is typically and reasonably done by a set of coils charged by finely regulated and stabilized currents. However, these coils deviate from the standard shim-coil designs used in superconducting magnets with axial fields. Due to the transverse field in Halbach magnets, the coil geometry has to be adapted (e.g. using cosine-coils [60]).
5 Additional Features
5.1 Force-Free Openable Magnets
For some applications it can be useful to open Halbach rings and particularly spheres, e.g. to clamp them around a tube or plant or to insert samples (cf. Fig. 13). Following the discussion in [4] Halbach multipoles can be opened without forces at angles, \(\theta_{j}^{{{\text{opt}}}}\), which are solutions to (see Appendix G, Eq. (42))
resulting in
Again, these are theoretically derived values for a dipole model. However, there are always clear minima in Halbach arrangements, but the optimal position to open such a magnet system depends also on the degree of discretization (see Appendix G). The optimal angle for k = 1 is \(\theta_{0}^{{{\text{opt}}}} \; \approx \; \pm 35.26^\circ\) and for k = 2, \(\theta_{0}^{{{\text{opt}}}} \; \approx \; \pm 17.63^\circ\). This variation of mutual forces can actually be experienced when building a Halbach dipole. Whereas the magnets close to \(\theta\) = 0 repel each other, they attract each other around \(\theta\) = 90°.
5.2 Nested Magnets with Adjustable Fields via Rotation
One of the most interesting ideas of using Halbach rings is to align them coaxially and rotate them to change the amplitude of the generated magnetic flux density in the center [61, 62]. Due to the fact that Halbach inner multipoles (k ≥ 1) have no stray fields they are not a magnet from the outside. Consequently, there is only negligible torque if they are rotated in the homogeneous field of another outer dipole [63]. The situation changes for multipoles which produce spatial field changes, but still the torque is relatively small, yet with some unavoidable cogging [33].
If B is a constant vector field over the entire sample region (i.e. a dipole, k = 1), its rotation by an angle \(\alpha\) is given by
where B′ is the rotated field by applying the rotation matrix R(\(\alpha\)).
For k > 1, however, the magnetic field depends on r (cf. Eq. (5)), and a real vector field rotation must be applied, e.g. for the gradients of a quadrupole (k = 2, see Eq. (16) and [2, 64])
Hence, the gradient rotates by 2\(\alpha\) when the quadrupole is rotated by an angle \(\alpha\) [64] (or generally the kth derivative of the magnetic field of a Halbach multipole with k ≥ 1, rotates with k\(\alpha\) when the multipole is rotated by \(\alpha\)).
The great advantage here is the possibility to change field and gradient strength when using nested magnets with the same polarity k. If, for instance, two dipoles are combined coaxially with radii chosen such that they produce the same flux, their combined field can be changed from twice that of a single one (parallel dipoles) to zero (antiparallel dipoles) as shown for dipoles and quadrupoles in Fig. 14.
This not only allows to adjust homogeneous fields for DNP [11, 12] or do field sweeps for EPR [9], but can also be used for imaging with gradients adjustable in strength and direction [64] (this will need a dipole and two rotating quadrupoles).
In this way very strong fields and gradients can be changed in less than a second, which may even be an alternative to electromagnets (considering their large inductance). In [65] a counter-rotating pair of dipoles generated an AC field of 150 mT with frequencies of about one Hz, a concept that may be also interesting for diffusion NMR on highly viscous melts.
5.3 Temperature Compensation
All sources of magnetic fields are temperature dependent and stable magnetic fields always require temperature control. While for superconducting magnets the boiling temperature of the cryogen depends only on ambient pressure, resistive electro- and permanent-magnets typically need active temperature control or locking systems [66].
However, Halbach systems can be constructed in a temperature compensated way. This very clever concept was proposed by Danieli et al. [67]. It uses the fact that the two main materials for rare-earth magnets (neodymium and samarium-cobalt) have temperature coefficients, \(\kappa\), of their remanence, which are different by a factor 2–4 (see Appendix A). They are defined via
where Bref is a reference magnetic flux at the temperature Tref. If two Halbach rings, which are made from two materials (A and B) with very different \(\kappa\), are combined such that their fields are antiparallel and their strength correspond to the ratios of their \(\kappa\), a change in temperature will shift the one field by the same amount as the other, but since they are subtracted the combined field stays constant (cf. Fig. 15).
The original publication also takes thermal expansion into account, which was neglected here for the sake of simplicity.
Temperature stabilization by this approach is a quite general concept, which can be adapted to various magnet geometries. In [67] it was also discussed for quadrupolar Halbach rings and planar Halbach arrays as used in undulators. However, the concept reduces the field by a factor of (1 − \(\kappa\)B/\(\kappa\)A). Recently new Sm2Co17 materials have become available which are completely temperature insensitive at RT. Although they have only remanence values in the regime of 0.8–0.9 T, this may still allow to generate higher fields than the approach discussed above [68].
5.4 Some Practical Considerations for Construction
The design of a Halbach array should start with an estimation of the necessary field and/or gradient strength needed for the planned experiment. Naturally, the necessary boundary conditions like size, homogeneity, temperature variations, and possible costs have to be determined as well. Then the equations in Sect. 3 should be used to estimate the sizes and the shapes of the magnets. Usually there are conditions that request compromises in field, homogeneity, space, and costs. The necessary equations are easy to program or can be copied from [69]. When a geometry seems to be suitable, the next step is a fine-tuning using some software that considers the actual magnet shapes (and not only their effect on the central field). This can be a simulation package that uses finite-element (e.g. COMSOL Multiphysics) or boundary-element methods (e.g. Amperes, IES, Winnipeg, Canada). If the design includes materials with non-linear magnetization (e.g. iron), the material properties must be properly included in the simulation. Quite often one has to request BH-curves from producers. However, there is also very useful freeware available, e.g. FEMM (https://www.femm.info/) which is limited to two dimensions, but includes the use of BH-curves. Another great package is magpylib (https://magpylib.readthedocs.io) [70], which is 3D and uses analytical solutions of a set of geometries, hence it is very fast, but needs some elementary skills in Python programming (it also does not include permeabilities and non-linear magnetic behavior). Regardless of which software package is used one should always predetermine the necessary accuracy up to which the geometric optimization is reasonable. Typically, this is limited by the precision to which magnets can be produced and supports machined (normally not better than 100 µm).
After optimizing the geometry and position of the magnets, the support needs some thought, ideally together with strategies on the procedure of mounting the magnets.
Mounting rare-earth magnets of sizes larger than ca. 10 cm3 can already become dangerous, as the forces roughly scale as [4] (for small distances to the surface of two magnets with surface area, A)
Several of the software packages also allow the calculation of the forces, but the direction must be also considered, because a repelled magnet needs some support and fixture to keep it at the position. A good advice is therefore a test run on a scaled down mockup system (e.g. using inexpensive magnets from internet stock and 3D-printed plastic supports). This helps tremendously to figure out if the procedures are feasible before ordering expensive custom-made magnets.
For instance, Eq. (30) predicts a force in the range of 100 N for ca. 1 cm2, while it amounts already to 1000 N for 10 cm2 sized FeNdB magnets. This is just the force between two magnets, two completely assembled rings can easily generate forces that exceed 10 kN. Therefore, upscaling of such magnetic designs quickly becomes an engineering problem in calculating and managing forces, using suitable materials of sufficient thickness and safe procedures for placing and fixing the permanent magnets. This is a process, which requires a lot of experience that can only be acquired safely by starting and tinkering with smaller systems.
For the construction a magnetic set of tools is more useful than expensive non-magnetic instruments. This is because in a well-planned construction iron plates underneath the support for the permanent magnets can work as a yoke and help to hold the magnets in place while the glue is setting. The same holds for magnetic pliers or clamps which can be placed over the poles of a magnet to shield it from the others during positioning, thus significantly reducing mutual forces [34]. Nevertheless, a good magnet manufacturer also has a larger supply of wooden blocks, plates and wedges (and some band-aid). The handiest tool of all though is a 3D-compass or pole-finder to quickly check the polarity of a magnet or entire arrangements.
Since magnetic resonance does not only require magnets, readers, who are interested in developing or building equipment (amplifiers, coils, magnets, software, etc.) are referred to the webpage [71] of the Open Source Imaging (OSI2) initiative [72].
6 Conclusion
The intention of this review on Halbach magnets for applications in magnetic resonance was to compile the necessary knowledge to plan, design and construct such arrays. Special emphasis was given to simple, analytical estimations of magnetic field strength or their gradients. Another focus was to summarize various strategies to homogenize the fields as this is of paramount importance for NMR. As to the topic of homogeneity, to provide a sufficiently homogeneous field in a given space is a difficult task, especially with permanent magnets, because their physical properties usually vary in the percent range, as has been shown here. Thus, without further measures, it would be a matter of coincidence if a homogeneity requirement is met, based only on an even perfect numerical design of the magnet arrangement. Several such measures have been mentioned in this publication, they comprise the appropriate placement of the permanent magnets in the arrangement such that their magnetic property variations cancel, the adaptive placement of shim magnets or steel disks/sheets on the poles and even the active shimming by adjustable coil currents. Homogeneity is difficult to achieve if space restrictions force the magnetic arrangement to be small, the homogeneous region scales with the size of the arrangement, but the size of the permanent magnets and the forces between them scale more than linearly, which may become a safety issue. In the end, it may only be possible to achieve a required homogeneity with a combination of all these measures. A good numerical design, as described in many publications, can only be the starting point for further experimental optimization.
The last section is a collection of features that are to some extent special for Halbach magnets and allows to use them in unique experiments. We hope that this compilation enables interested experimentalists to create dedicated magnets for their special needs, and maybe share a bit of the fascination for these ‘magic rings’.
Availability of Data and Materials
Not applicable.
Notes
NMR spectroscopy: e.g. Spinsolve 90 from magritek Ltd., Fourier 80 from Bruker Corp.
This notation means that it is rounded to the next smaller integer value.
References
P. Blümler, F. Casanova, in Mobile NMR and MRI: Developments and Applications, Ch. 4, ed. by M. Johns, E.O. Fridjonsson, S. Vogt, A. Haber (Royal Chemical Society, 2015). https://doi.org/10.1039/9781782628095-00133
P. Blümler, Magnetic guiding with permanent magnets: concept, realization and applications to nanoparticles and cells. Cells 10, 2708 (2021). https://doi.org/10.3390/cells10102708
J.M.D. Coey, Permanent magnet applications. J. Magn. Magn. Mater. 248, 441–456 (2002). https://doi.org/10.1016/S0304-8853(02)00335-9
C.W. Windt, H. Soltner, D. van Dusschoten, P. Blümler, A portable Halbach magnet that can be opened and closed without force: the NMR-CUFF. J. Magn. Reson. 208, 27–33 (2011). https://doi.org/10.1016/j.jmr.2010.09.020
C.Z. Cooley et al., A portable scanner for magnetic resonance imaging of the brain. Nat. Biomed. Eng. 5, 229–239 (2021). https://doi.org/10.1038/s41551-020-00641-5
T. O’Reilly, W.M. Teeuwisse, D. de Gans, K. Koolstra, A.G. Webb, In vivo 3D brain and extremity MRI at 50 mT using a permanent magnet Halbach array. Magn. Reson. Med. 85, 495–505 (2021). https://doi.org/10.1002/mrm.28396
W.T. Kimberly et al., Brain imaging with portable low-field MRI. Nat. Rev. Bioeng. (2023). https://doi.org/10.1038/s44222-023-00086-w
A. Webb, J. Obungoloch, Five steps to make MRI scanners more affordable to the world. Nature 615, 391–393 (2023). https://doi.org/10.1038/d41586-023-00759-x
C. Bauer, H. Raich, G. Jeschke, P. Blümler, Design of a permanent magnet with a mechanical sweep suitable for variable-temperature continuous-wave and pulsed EPR spectroscopy. J. Magn. Reson. 198, 222–227 (2009). https://doi.org/10.1016/j.jmr.2009.02.010
O. Neudert, D.G. Zverev, C. Bauer, P. Blümler, H.W. Spiess, D. Hinderberger, K. Münnemann, Overhauser DNP and EPR in a mobile setup: influence of magnetic field inhomogeneity. Appl. Magn. Reson. 43, 149–165 (2012). https://doi.org/10.1007/s00723-012-0347-4
B.D. Armstrong, M.D. Lingwood, E.R. McCarney, E.R. Brown, P. Blümler, S. Han, Portable X-band system for solution state dynamic nuclear polarization. J. Magn. Reson. 191, 273–281 (2008). https://doi.org/10.1016/j.jmr.2008.01.004
S. Ebert, A. Amar, C. Bauer, M. Koelzer, P. Blümler, H.W. Spiess, D. Hinderberger, K. Münnemann, A mobile DNP polarizer for continuous flow applications. Appl. Magn. Reson. 43, 195–206 (2012). https://doi.org/10.1007/s00723-012-0344-7
K. Dulitz, T.P. Softley, Velocity-selected magnetic guiding of Zeeman-decelerated hydrogen atoms. Eur. Phys. J. D (2016). https://doi.org/10.1140/epjd/e2015-60454-3
K.K.H. Leung, O. Zimmer, Proposed neutron lifetime measurement using a hybrid magnetic trap for ultra-cold neutrons. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrom. Detect. Assoc. Equip. 611, 181–185 (2009). https://doi.org/10.1016/j.nima.2009.07.087
M. Sullivan, G. Bowden, S. Ecklund, D. Jensen, M. Nordby, A. Ringwall, Z. Wolf, Results from a prototype permanent magnet dipole-quadrupole hybrid for the PEP-II B-factory. in IEEE Proceedings of the 1997 Particle Accelerator Conference, vol. 3 (1997), pp. 3330–3332. https://doi.org/10.1109/PAC.1997.753198
J.K. Lim, P. Frigola, G. Travish, J.B. Rosenzweig, S.G. Anderson, W.J. Brown, J.S. Jacob, C.L. Robbins, A.M. Tremaine, Adjustable, short focal length permanent-magnet quadrupole based electron beam final focus system. Phys. Rev. ST Accel. Beams 8, 072401 (2005). https://doi.org/10.1103/PhysRevSTAB.8.072401
M. Kumada, T. Fujisawa, Y. Hirao, Y. Iwashita, M. Endo, M. Aoki, T. Kohda, I. Bolshakova, R. Holyaka, Development of high field permanent magnet. IEEE Trans. Appl. Supercond. 12, 129–132 (2002). https://doi.org/10.1109/tasc.2002.1018367
H.A. Leupold, in Rare-earth Iron permanent magnets. ed. by J.M.D. Coey (Oxford University Press, Oxford, 1996), pp.381–429
R. Hanitsch, in Rare-earth Iron permanent magnets. ed. by J.M.D. Coey (Oxford University Press, Oxford, 1996), pp.452–497
J.-P. Yonnet, in Rare-earth iron permanent magnets. ed. by J.M.D. Coey (Oxford University Press, Oxford, 1996), pp.430–451
L. Yan, L. Zhang, J. Peng, L. Zhang, Z. Jiao, Electromagnetic linear machines with dual Halbach array. Springer (2017). https://doi.org/10.1007/978-981-10-2309-5
O. Baun, P. Blümler, Permanent magnet system to guide superparamagnetic particles. J. Magn. Magn. Mater. 439, 294–304 (2017). https://doi.org/10.1016/j.jmmm.2017.05.001
A.C. Bakenecker, J. Schumacher, P. Blümler, K. Gräfe, M. Ahlborg, T.M. Buzug, A concept for a magnetic particle imaging scanner with Halbach arrays. Phys. Med. Biol. 65, 195014 (2020). https://doi.org/10.1088/1361-6560/ab7e7e
J.C. Mallinson, One-sided fluxes - a magnetic curiosity? IEEE Trans. Magn. 9, 678–682 (1973). https://doi.org/10.1109/TMAG.1973.1067714
G. Brown, K. Halbach, J. Harris, H. Winick, Wiggler and undulator magnets—a review. Nucl. Inst. Methods 208, 65–77 (1983). https://doi.org/10.1016/0167-5087(83)91105-5
H.A. Leupold, Approaches to permanent-magnet circuit-design. IEEE Trans. Magn. 29, 2341–2346 (1993). https://doi.org/10.1109/20.280860
B.W. Hoff, C.H. Chen, J.C. Horwath, P.J. Mardahl, S.L. Heidger, Wide aperture permanent magnet solenoid. J. Appl. Phys. 111, 07A711 (2012). https://doi.org/10.1063/1.3673808
K. Halbach, Design of permanent multipole magnets with oriented rare earth cobalt material. Nucl. Inst. Methods 169, 1–10 (1980). https://doi.org/10.1016/0029-554X(80)90094-4
H.A. Leupold, A.S. Tilak, E. Potenziani II., Permanent magnet spheres: design, construction, and application. J. Appl. Phys. 87, 4730–4734 (2000). https://doi.org/10.1063/1.373141
J.M.D. Coey, Magnetism and Magnetic Materials (Cambridge University Press, Cambridge, 2010). https://doi.org/10.1017/CBO9780511845000
R. Bjørk, A. Smith, C.R.H. Bahl, The efficiency and the demagnetization field of a general Halbach cylinder. J. Magn. Magn. Mater. 384, 128–132 (2015). https://doi.org/10.1016/j.jmmm.2015.02.034
L. King, XXI Electromagnetic shielding at radio frequencies. Lond. Edinb. Dublin Philos. Mag. J. Sci. 15, 201–223 (1933). https://doi.org/10.1080/14786443309462178
R. Bjørk, A. Smith, C.R.H. Bahl, Analysis of the magnetic field, force, and torque for two-dimensional Halbach cylinders. J. Magn. Magn. Mater. 322, 133–141 (2010). https://doi.org/10.1016/j.jmmm.2009.08.044
H.P. Raich, P. Blümler, Design and construction of a dipolar Halbach array with a homogeneous field from identical bar magnets: NMR Mandhalas. Concepts Magn. Reson. Part B Magn. Reson. Eng. 23B, 16–25 (2004). https://doi.org/10.1002/cmr.b.20018
A. Wickenbrock, H. Zheng, G. Chatzidrosos, J.S. Rebeirro, T. Schneemann, P. Blümler, High homogeneity permanent magnet for diamond magnetometry. J. Magn. Reson. (2021). https://doi.org/10.1016/j.jmr.2020.106867
H. Zijlstra, Permanent-magnet systems for Nmr tomography. Philips J. Res. 40, 259–288 (1985)
H. Soltner, P. Blümler, Dipolar Halbach magnet stacks made from identically shaped permanent magnets for magnetic resonance. Concepts Magn. Reson. 36A, 211–222 (2010). https://doi.org/10.1002/cmr.a.20165
A.R. Insinga, C.R.H. Bahl, R. Bjørk, A. Smith, Performance of Halbach magnet arrays with finite coercivity. J. Magn. Magn. Mater. 407, 369–376 (2016). https://doi.org/10.1016/j.jmmm.2016.01.076
T. Mihara, Y. Iwashita, M. Kumada, A. Evgeny, C.M. Spencer, Super strong permanent magnet quadrupole for a linear collider. IEEE Trans. Appl. Supercond. 14, 469–472 (2004). https://doi.org/10.1109/tasc.2004.829698
Y. Iwashita et al., Strong variable permanent multipole magnets. IEEE Trans. Appl. Supercond. 18, 957–960 (2008). https://doi.org/10.1109/tasc.2008.921302
A. Bogaychuk, V. Kuzmin, Accounting for material imperfections in the design and optimization of low cost Halbach magnets. Rev. Sci. Instrum. (2020). https://doi.org/10.1063/5.0013274
C.Z. Cooley, M.W. Haskell, S.F. Cauley, C. Sappo, C.D. Lapierre, C.G. Ha, J.P. Stockmann, L.L. Wald, Design of sparse Halbach magnet arrays for portable MRI using a genetic algorithm. IEEE Trans. Magn. (2018). https://doi.org/10.1109/tmag.2017.2751001
S. Tewari, T. O’Reilly, A. Webb, Improving the field homogeneity of fixed- and variable-diameter discrete Halbach magnet arrays for MRI via optimization of the angular magnetization distribution. J. Magn. Reson. (2021). https://doi.org/10.1016/j.jmr.2021.106923
S. Tewari, A. Webb, The permanent magnet hypothesis: an intuitive approach to designing non-circular magnet arrays with high field homogeneity. Sci. Rep. 13, 2772 (2023). https://doi.org/10.1038/s41598-023-29533-9
P. Yu, Y. Wang, Y.J. Xu, Z.Y. Wu, Y. Zhao, B.W. Peng, F. Wang, Y.G. Tang, X.D. Yang, Theoretical foundation for designing multilayer Halbach array magnets for benchtop NMR and MRI. J. Magn. Reson. (2022). https://doi.org/10.1016/j.jmr.2022.107322
F. Bloch, O. Cugart, G. Meunier, J.C. Toussaint, Innovating approaches to the generation of intense magnetic fields: design and optimization of a 4 Tesla permanent magnet flux source. IEEE Trans. Magn. 34, 2465–2468 (1998)
H.A. Leupold, E. Potenziani, Novel high-field permanent-magnet flux sources. IEEE Trans. Magn. 23, 3628–3629 (1987). https://doi.org/10.1109/tmag.1987.1065195
J.Z. Chen, C.Y. Xu, Design and analysis of the novel test tube magnet as a device for portable nuclear magnetic resonance. IEEE Trans. Magn. 43, 3555–3557 (2007). https://doi.org/10.1109/tmag.2007.901888
B.M.K. Alnajjar, A. Buchau, L. Baumgartner, J. Anders, NMR magnets for portable applications using 3D printed materials. J. Magn. Reson. (2021). https://doi.org/10.1016/j.jmr.2021.106934
Y. Wang, Y.J. Xu, F. Wang, J.H. Zhang, B.W. Peng, P. Yu, Y.C. Yu, X.D. Yang, A passive shimming method for Halbach magnet based on magnetic sheet arrays. J. Magn. Reson. (2022). https://doi.org/10.1016/j.jmr.2022.107210
R.C. Jachmann, D.R. Trease, L.S. Bouchard, D. Sakellariou, R.W. Martin, R.D. Schlueter, T.F. Budinger, A. Pines, Multipole shimming of permanent magnets using harmonic corrector rings. Rev. Sci. Instrum. 78, 035115 (2007). https://doi.org/10.1063/1.2713438
C. Hugon, F. D’Amico, G. Aubert, D. Sakellariou, Design of arbitrarily homogeneous permanent magnet systems for NMR and MRI: theory and experimental developments of a simple portable magnet. J. Magn. Reson. 205, 75–85 (2010). https://doi.org/10.1016/j.jmr.2010.04.003
E. Danieli, J. Mauler, J. Perlo, B. Blümich, F. Casanova, Mobile sensor for high resolution NMR spectroscopy and imaging. J. Magn. Reson. 198, 80–87 (2009). https://doi.org/10.1016/j.jmr.2009.01.022
G. Moresi, R. Magin, Miniature permanent magnet for table-top NMR. Concepts Magn. Reson. Part B Magn. Reson. Eng. 19, 35–43 (2003). https://doi.org/10.1002/cmr.b.10082
O. Cugat, P. Hansson, J.M.D. Coey, Permanent-magnet variable flux sources. IEEE Trans. Magn. 30, 4602–4604 (1994). https://doi.org/10.1109/20.334162
H. Sakuma, Generation of 2D vector magnetic field by mangle-type magnetic field source using permanent magnets. J. Magn. Soc. Jpn. 44, 21–25 (2020). https://doi.org/10.3379/msjmag.2001R004
E. Danieli, J. Perlo, B. Blümich, F. Casanova, Small magnets for portable NMR spectrometers. Angewandte Chemie Int. Edit. 49, 4133–4135 (2010). https://doi.org/10.1002/anie.201000221
S.K. Küster, E. Danieli, B. Blümich, F. Casanova, High-resolution NMR spectroscopy under the fume hood. Phys. Chem. Chem. Phys. 13, 13172–13176 (2011). https://doi.org/10.1039/c1cp21180c
D. Bucher, N. Neuling, Private communication. (2023)
N. Amemiya, H. Miyahara, T. Ogitsu, T. Kurusu, in Proceedings of the 25th International Cryogenic Engineering Conference and International Cryogenic Materials Conference 2014, vol. 67. Physics Procedia, ed. by H.J.M. TerBrake, H.H.J. TenKate, S. Vanapalli (2015), pp. 776–780. https://doi.org/10.1016/j.phpro.2015.06.131
H.A. Leupold, Field adjustable transverse flux sources. US Patent patent (1989)
H.A. Leupold, E. Potenziani II., M.G. Abele, Applications of yokeless flux confinement. J. Appl. Phys. 64, 5994–5996 (1988). https://doi.org/10.1063/1.342148
T.R. NiMhiochain, D. Weaire, S.M. McMurry, J.M.D. Coey, Analysis of torque in nested magnetic cylinders. J. Appl. Phys. 86, 6412–6424 (1999). https://doi.org/10.1063/1.371705
P. Blümler, Proposal for a permanent magnet system with a constant gradient mechanically adjustable in direction and strength. Concepts Magn. Reson. B Magn. Reson. Eng. 46, 41–48 (2016). https://doi.org/10.1002/cmr.b.21320
O. Tretiak, P. Blümler, L. Bougas, Variable single-axis magnetic-field generator using permanent magnets. AIP Adv. 9, 115312 (2019). https://doi.org/10.1063/1.5130896
G.V. Ivanov, D.I. Vainshtein, V.A. Safin, V.D. Shchepkin, Field stabilizer for permanent-magnet of nuclear magnetic-resonance spectrometer. Instrum. Exp. Tech. 25, 967–968 (1982)
E. Danieli, J. Perlo, B. Blümich, F. Casanova, Highly stable and finely tuned magnetic fields generated by permanent magnet assemblies. Phys. Rev. Lett. 110, 180801 (2013). https://doi.org/10.1103/PhysRevLett.110.180801
A. Jarmola, S. Lourette, V.M. Acosta, A.G. Birdwell, P. Blümler, D. Budker, T. Ivanov, V.S. Malinovsky, Demonstration of diamond nuclear spin gyroscope. Sci. Adv. (2021). https://doi.org/10.1126/sciadv.abl3840
P. Blümler, General code to calculate Halbach multipoles. https://www.blogs.uni-mainz.de/fb08-physics-halbach-magnets/software/
M. Ortner, L.G.C. Bandeira, Magpylib: a free Python package for magnetic field computation. SoftwareX 11, 100466 (2020). https://doi.org/10.1016/j.softx.2020.100466
Webpage of the OSI2 initiative. https://www.opensourceimaging.org/
F. Arndt et al, in 25th ISMRM. 4463 Proc. Intl. Soc. Mag. Reson. Med
B. Niederländer, Entwicklung eines kompakten 129Xe-Polarisators, Schwerpunkt: Magnetsysteme. Diploma thesis, University of Mainz (2013)
Acknowledgements
PB wants to thanks his former employers, H. W. Spiess (MPI for Polymer Research, Mainz), U. Schurr (Forschungszentrum Jülich), and W. Heil (University of Mainz) for their continuous interest and support in (t)his side activity, which led to some of the presented work. Furthermore, he wants to thank Mike Mallett, Hanspeter Raich, Dagmar van Dusschoten, and Carel Windt for their stimulating ideas, help and friendship. Both authors want to thank Bernhard Blümich for his mentor- and friendship and in particular his continuous stimulation and promotion of the entire field of compact and mobile NMR. This review is dedicated to him on the occasion of his 70th birthday. Finally, we are indebted to the two unknown referees of this manuscript, whose suggestions greatly improved the manuscript in particular Appendix G.
Funding
Open Access funding enabled and organized by Projekt DEAL. Open Access funding enabled and organized by Projekt DEAL.
Author information
Authors and Affiliations
Contributions
PB is responsible for the concept of this review and all figures. Both authors contributed about equally to writing the manuscript and the presented calculations. Both read and approved the final version of the manuscript.
Corresponding author
Ethics declarations
Conflict of interest
All authors declare that they have no conflict of interest.
Ethical approval
Not applicable.
Additional information
Prepared for submission to a special issue of Applied Magnetic Resonance dedicated to the 70th birthday Bernhard Blümich.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix A: Typical Properties of Rare-Earth Magnet Materials
See Table 1.
Appendix B: Mandhala Geometry
-
(a)
N and Rc given:
The geometry is illustrated in Fig. 16. When the number of magnets, N, and the central radius, Rc are given, Table 2 sums up the construction parameters. A distance between neighboring magnets, g, is also introduced, maximally dense packing is then for g = 0 [35].
Then the inner and outer radius of the arrangement are given by
Size, side length and area are listed in Table 2.
-
(b)
Ri and Ro given:
This is a less determined set, but very useful for fitting a magnet system between inner and outer limits.
From Eq. (12) \(R_{{\text{c}}}=\frac{{R_{{\text{i}}} + R_{{\text{o}}} }}{2},\) and for circular footprints this gives a diameter \(d=R_{{\text{o}}} - R_{{\text{i}}} - g/2,\) while for polygons with K vertices the long diagonal is given by \(d = \left( {2R_{{\text{o}}} - 2R_{{\text{i}}} - g} \right)\;\sin \left( {\pi /K} \right).\)
Note that for an ill-chosen set, overlapping structures are possible. The overlapping must then by avoided by adjusting \(N = \;\left[ {\;\pi /\sin^{ - 1} \left( {\tfrac{d\; + \;g}{{R_{{\text{o}}} \; + \;R_{{\text{i}}} }}} \right)} \right] \in {\mathbb{N}}\)Footnote 2 or g.
Appendix C: Reduction Factor f L for Various Values of k
See Table 3.
Appendix D: Comparison of Analytical Solution to FEM Simulation
See Table 4.
Appendix E: Optimal Arrangement of Individual Magnets in a Halbach Ring
We start from a set of K magnets each with an individual magnetic moment, mj, and an average of \(\overline{\varvec{m}} = 1/K\;\sum\nolimits_{j = 1}^{K} {{\varvec{m}}_{j} }\) (cf. Fig. 7b). The individual deviation of each magnet from the mean is then a deviation vector \(\Delta {\varvec{m}}_{j} \; = \;\left( {\overline{m}_{x} - m_{xj} ,\;\overline{m}_{y} - m_{yj} ,\;\overline{m}_{z} - m_{zj} } \right)\;\; = \;\left( {\begin{array}{*{20}l} {\Delta m_{xj} ,} & {\Delta m_{yj}, } & {\Delta m_{zj} } \\ \end{array} } \right)\;\) to include angular misalignments (however, the polarization directions of the magnets remain in the xy-plane). If an arbitrarily chosen ensemble of N magnets is then arranged to a Halbach multipole each magnet and hence Δmj must be rotated according to Eq. (4) by the following rotation matrix, R
where rj is the position vector and the magnet is situated at a position z in axial direction. When treated as a magnetic dipole it produces a “deviation” field in the center given by (cf. Eq. (23))
In a ring made from N (≤ K) magnets an ideal arrangement is then found if the erroneous contributions to the magnetic field due to the deviations Δmj cancel for each direction and each power of z. Hence, one gets 8 sums, which must be minimized numerically (symbolized by \(\min \left\{ \ldots \right\}\)).
The best arrangement of magnets is then the one for which all these sums are minimal. There are different strategies to compute this, e.g. using a Monte Carlo approach [73] or arrange N − 1 magnets and then look for a close to perfect match among the rest of magnets.
In the calculations above a magnetic moment vector was used to characterize the magnets or their deviations, respectively. Practically, this can be achieved by determining a value that scales with the magnetic moment, e.g., the magnetic flux at an arbitrarily chosen but fixed distance sampled by a 3D-Hall probe as suggested in Fig. 7a. However, this experiment has to be very reproducible. Great care has to be taken to avoid geometric misalignments or temperature drifts (even from keeping a magnet in the hands for too long). Such values can then be used to optimize one or several rings by minimizing Eq. (35). If a set of rings should be stacked like in Sect. 4.2, it must be checked if they have slightly different central field strengths. To optimize homogeneity in the center of a stack of these rings one strategy is to place the rings with highest homogeneity in the xy-plane in the center of that stack and optimize their position along z according to the concept discussed in Sect. 4.2. For instance, searching for a numerical minimum of a sum of equations of the type of Eq. (20).
Appendix F: Optimized Stack Distances
Table 5 gives the optimized distances sj of stacked Halbach multipoles for k = 1–6. All optimized to an accuracy better than 10–3 and relative to Rc (cf. [37] and Fig. 8). For instance, the optimal distance between two ring centers is then 2s1 Rc = 0.824 Rc for k = 1. The last but one column gives the increase of the field (or its (k-1)th derivative) by the factor, f zs, in the center of the stack relative to that of a single ring. The last column gives the central region, Δzhom, on the axis where the field (or its (k-1)th derivative) does not vary more than 10–3 from the central value.
Appendix G: Optimal Opening Angles for Mandhalas
The optimum opening angle for a Mandhala ring can be calculated in the dipole approximation, in which the magnetic field of every magnet is reduced to that of a dipole and only nearest neighbor interactions between dipoles are considered. This assumption is justified by the fact that the distance to next-but-one neighbors are already double the distance to the nearest neighbors and the forces between the magnets decrease inversely with the fourth power of the distance, as shown below. Thus, nearest neighbor interactions are at least 16 times stronger compared to that of any other pair in the ring.
The force exerted on one dipole with dipole moment \({\varvec{m}}_{1}\) by another dipole characterized by \({\varvec{m}}_{2}\) is given by
where d denotes the vector connecting the two dipoles and \(d\; = \;\left| {\varvec{d}} \right|\) is their distance, which will become the diameter of a corresponding sphere or cylinder later on (see Fig. 17a, b). The application of the gradient operator yields the following expression for the force
where \(m_{1}\) and \(m_{2}\) are the absolute values of the magnetic moments and \({\varvec{e}}_{d} ,{\varvec{e}}_{{m_{{{\kern 1pt} 1}} }} ,\,{\varvec{e}}_{{m_{{{\kern 1pt} 2}} }}\) are the unit vectors of the vectors specified in their subscripts. In this representation the amplitude of the force and its angular dependence are clearly separated. Also, the force between the dipoles has components which may be perpendicular to the vector d connecting them, see the first terms in the nominator.
When arranged in a Mandhala ring, two such dipoles on opposite sides of the opening line would generate a torque, \(\tau\), which is calculated based on the component of the force along the direction given by \({\varvec{e}}_{d}\). The length of the lever arm is given by \(2R_{{\text{c}}}\)
The last fraction, describing the angular dependence, Ξ, is normalized by a factor of 2 in order to restrict its values between − 1 and + 1. The coefficients can then be regarded as an amplitude of the torque.
If this formula is to be applied to real magnets, their magnetic moments should be related to their respective volumes V via
where the absolute value of the magnetization M is given by \(M\;{\kern 1pt} = \;{{B_{{\text{R}}} } \mathord{\left/ {\vphantom {{B_{{\text{R}}} } {\mu_{0} }}} \right. \kern-0pt} {\mu_{0} }}\).
To put the calculated torques into perspective, the maximum torque τ in a Mandhala ring can be estimated by using the amplitude factor in Eq. (38) and applying some simplifications in order to translate from dipoles to real magnets. The calculated torque values would be best reproduced, if the magnets had the shape of spheres, because homogeneously magnetized spheres generate an exact dipolar field on their outside. For the usual case of cylindrical magnets, the results will be transferable if their height L is chosen such that they have the same volume as their spherical counterparts with the same cross-sectional area, which is fulfilled for the height L = 2/3 d. For higher magnets the torque, τ, must be scaled in these units, thus we find for the torque amplitude, \(\tau_{{{\text{cyl}}}}\), for cylindrical magnets
The angular dependence, Ξ, of the torque given in the underbrace in Eq. (38) can be evaluated for two neighboring magnets in the ring with indices j and j + 1 (see Eq. (32)), respectively, in order to identify the set of magnet numbers N in a ring which lend themselves best for force-free opening. This gives
Figure 17d shows this dependence for several values of N. The maximum contribution of this angular expression to the torque is a factor of 1. Obviously, angles with close to vanishing torque can be realized (e. g. for N = 14). Higher values of N may also give interesting configurations, but it must be kept in mind that an increase in N means a reduction of the magnet size and a reduced field in the center. To give an example for the order of magnitude of a typical range of torque in a Mandhala dipole made from N = 16 cylindrical magnets with BR = 1.4 T arranged on a circle with Rc = 5 cm (d = 1.95 cm, L = 1.3 cm) Eq. (40) yields a torque amplitude of τcyl = 7.77 Nm. The angular dependence yields the torque closest to zero τmin = − 0.86 Nm [− 1.13 Nm] (at j = 1, 6, 9, 14) and a maximal value of τmax = + 6.76 Nm [+ 8.47 Nm] (at j = 3, 4, 11, 12). For comparison, the values obtained by a numerical simulation are shown in square brackets.
The magnetization directions of two consecutive magnets (dipoles) in a Mandhala ring with many magnets differ very little. If their common angle with their connecting line is denoted by \(\theta\), which is also their common angle with respect to the origin, see Fig. 13 a, the angular dependence of the torque according to Eq. (41) becomes
This expression vanishes for the values, \(\theta\)opt, given in Eq. (25), where the Mandhala ring can be opened without force in the limit of many dipoles forming the ring.
High torque values are not a real issue for small magnets but can become considerable for larger systems. Therefore, it is easier to tilt the magnetization pattern or the magnet orientation (given by Eq. (4)) by a phase \(\varphi\) = \(\theta\)opt − \(\alpha\), as explained in Fig. 17b, c. This rotates the flux pattern by \(\varphi\) but causes the geometrically determined angle \(\alpha\) = \(\theta\)opt to allow opening the structure without force. A specific phase angle is \(\varphi \; = \;\tfrac{1}{2}\;\tfrac{2\pi }{N}\), which puts the magnets in the intermediate positions and leads to another symmetric, “conjugate” arrangement. In any case, a nonzero phase angle \(\varphi\), will lead to different positions of the markers in Fig. 17d.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Blümler, P., Soltner, H. Practical Concepts for Design, Construction and Application of Halbach Magnets in Magnetic Resonance. Appl Magn Reson 54, 1701–1739 (2023). https://doi.org/10.1007/s00723-023-01602-2
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00723-023-01602-2