Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2016 Jul 1.
Published in final edited form as: Supercond Sci Technol. 2015 May 19;28(7):075006. doi: 10.1088/0953-2048/28/7/075006

An Analytical Approach towards Passive Ferromagnetic Shimming Design for a High-Resolution NMR Magnet

Frank X Li 1, John P Voccio 2, Min Cheol Ahn 3, Seungyong Hahn 2, Juan Bascuñán 2, Yukikazu Iwasa 2
PMCID: PMC4621159  NIHMSID: NIHMS695242  PMID: 26516300

Abstract

This paper presents a warm bore ferromagnetic shimming design for a high resolution NMR magnet based on spherical harmonic coefficient reduction techniques. The passive ferromagnetic shimming along with the active shimming is a critically important step to improve magnetic field homogeneity for an NMR Magnet. Here, the technique is applied to an NMR magnet already designed and built at the MIT's Francis Bitter Magnet Lab. Based on the actual magnetic field measurement data, a total of twenty-two low order spherical harmonic coefficients is derived. Another set of spherical harmonic coefficients was calculated for iron pieces attached to a 54 mm diameter and 72 mm high tube. To improve the homogeneity of the magnet, a multiple objective linear programming method was applied to minimize unwanted spherical harmonic coefficients. A ferromagnetic shimming set with seventy-four iron pieces was presented. Analytical comparisons are made for the expected magnetic field after Ferromagnetic shimming. The theoretically reconstructed magnetic field plot after ferromagnetic shimming has shown that the magnetic field homogeneity was significantly improved.

1. Introduction

As part of an ongoing 1.3 GHz NMR program, a 700 MHz hybrid HTS (High Temperature Superconductor) and LTS (Low Temperature Superconductor) magnet was developed and built at the MIT Francis Bitter Magnet Lab. The magnet assembly consists of one 600 MHz LTS winding and one 100 MHz HTS insert as shown in Fig. 1. Due to the complexity of the coil windings and construction, the measured homogeneity of the magnet was 172 parts per million (ppm), which is not yet NMR quality [1]–[3]. To achieve a high homogeneity field, two methods are typically applied: passive and active shimming. This paper presents a room temperature bore, ferromagnetic shimming design to reduce the spherical harmonic components to a level, such that additional active shimming will be able to achieve the NMR quality homogeneity [4].

Figure 1.

Figure 1

(a) An NMR magnet with 600 MHz LTS (L600) and 100 HTS (H100) insert. Note: the drawing is not in scale. ; (b) Polar coordinate system for the magnetic field mapping path

Modern NMR spectroscopy requires the magnetic field to be spatially homogeneous in the sample volume. Typical NMR spectroscopy demands the magnetic field should not vary more than 100 parts per billion (ppb). In order to precisely describe such small magnetic field variations, a series of spherical harmonic expansions are necessary to express the magnetic field variations along the x, y, and z axes [5]–[8]. In a polar coordinate system, for any given point P, the spatial variables are r, ϕ, and θ. The ferromagnetic shimming design, as applied to the 700 MHz magnet involves the following steps:

  • Map the magnetic field with a high resolution NMR probe along a cylindrical path on a cylinder of 17 mm diameter and 30 mm high cylinder as shown in Fig. 1b

  • Derive twenty-two low-order spherical harmonic coefficients from the magnetic field measurement data

  • Calculate the spherical harmonic matrix for all possible locations of the iron pieces

  • Develop a linear programming model for the ferro-magnetic shimming to minimize the low-order spherical harmonic coefficients after shimming

  • Reconstruct the magnetic field with the spherical harmonic coefficients and evaluate the magnetic field homogeneity

2. Theoretical Background for Spherical Harmonic Coefficients

2.1. Spherical Harmonic Coefficient Derivation from Magnetic Field Mapping Data

For an NMR magnet, the sample volume has no magnetic ux sources: i.e., all magnetic ux lines enter into the sample volume and leave the sample eventually. Based on Maxwell's equation, the curl of the magnetic field in an enclosed space around the NMR sample equals zero. Therefore, the magnetic field at any given point on the spherical surface can be calculated by solving the following Laplace equation [9],

Φ(r,θϕ)=n=0m=0nr2Pnmcos(θ)[Anmcosmϕ+Bnmsinmϕ] (1)

where r, ϕ, θ are the polar coordinates of the field point. n, m are the integer indices, and Pnmcos(θ) is the associated Legendre coefficient. From Eq. (1), an infinite series of orthogonal functions can be introduced to describe the magnetic field distribution for an enclosed space, in this case, a 20-mm diameter spherical volume (DSV).

For the 700 MHz NMR magnet, the only field component of interest is along the z-axis, since typical nuclear spins are aligned along the z-axis only. By taking the derivative with Eq. (1), the z-axis magnetic field component at any given point can be expressed by the sum of an infinite series of terms. However, the contribution of the spherical harmonics becomes smaller and smaller as the index integers n and m increase. Therefore, the magnetic field can be well approximated by a finite series of low order spherical harmonic terms as shown in the following equation,

Bz(r,θϕ)=Φ(r,θϕ)zn=06m=0n(n+m+1)rnPnmcos(θ)[An+1mcosmϕ+Bn+1msinmϕ] (2)

Since the magnetic field mapping is performed on a certain cylindrical surface programmed by the positioning system, the spatial variables r, ϕ, and θ are known. The total unknown variables can be solved by multiple magnetic field measurements. The actual magnetic field mapping in this case consists of 256 magnetic field measurement data points. In this paper, only twenty-two data points were used to calculate spherical harmonics, as shown in Table 1. The harmonic coefficients derived from all 256 data points have shown good convergence [2]. It is clearly shown that a few harmonic coefficients are very large, such as the x, y, z, zy, z2y, and z2 harmonic coefficients.

Table 1.

Spherical Harmonic Coefficients Before Ferro-magnetic Shimming

1 x Y c2 c3 s2 s3
1 10672a 19149a −3541b 372c −1924b 101c
Z 18534a 222b 28769b −1105c 454d −25c −445d
z2 5612b −391c −7830c 1343d 1352d
z3 −426c 989d −2943d
z4 222d

Note: The units of the spherical harmonic Coefficients are [Hz/cm]a,

[Hz/cm2]b,

[Hz/cm3]c,

[Hz/cm4]d,

2.2. Calculating The Magnetic Field with the Magnetized Iron Pieces

The ferromagnetic shimming depends on the supperposition of the magnetic field created by the magnetized iron pieces. As shown in Fig. 2, a magnetized iron piece located at point Q acts like a small magnetic dipole, which creats its own magnetic field on a point P.

Figure 2.

Figure 2

Polar coordinate system schematic for a sphere and magnetic dipole moment

The magnetic dipole of an iron piece can be expressed as the following,

m=χdVHzK (3)

where χ is the susceptibility of the iron piece, dV is volume of the iron piece, and k is the unit vector in z-direction. Hz is the magnetic field strength generated by the magnetization of the iron piece. The magnetic dipole moment creates a magnetic scalar potential at point P given by,

Φ=m4π(1rq) (4)

rq is the distance between point Q and origin. The expansion of Green's function (1/rq), for r < rq in spherical harmonics can be written as,

Φ=χdVHz4π1rq2n=0m=0nεm(nm+1)!(n+m)!Pn+1m(cosα)(rrq)nPnm(cosθ)cos[m(ϕψ)] (5)

The magnetic field at point P is the negative gradient of the magnetic scalar potential,

B=μ0Φ(r,ϕ,θ) (6)

where μ0 is permeability of free space. For an NMR magnet, the only effective magnetic field component is on the z-axis: therefore,

Bz=μ0Φ(r,ϕ,θ)zz (7)

By converting the Cartesian coordinates to polar coordinates in the derivative format, the magnetic field at point P created by the magnetic dipole moment m can be expressed as the following approximation with finite series of expansions,

Bzμ0χdVHz4πrq2n=17m=0n1ε1rqn(n+m+1)!(n+m)!Pn+1m(cosα)rn1(n+mPn1m(cosθ)cosm(ϕψ)z (8)

where Bz is the magnetic field at point P generated by the magnetic dipole moment at point Q. χ is the susceptibility, dV is the volume of the iron piece, and r, ϕ, θ are the polar coordinates for the point P. The iron pieces are made out of sheet steel with a saturation field of approximately 1.8 Tesla. So, in this study, the iron piece was assumed to have constant magnetic field during the steady state operations of the NMR magnet.

3. Ferromagnetic Shimming Design

3.1. Overall Spherical Harmonic Coefficients Calculation

The objective of ferromagnetic shimming is to arrange iron pieces in the room temperature bore of the magnet to cancel out unwanted spherical harmonics. In our approach, a thin-walled shimming tube with a 54 mm diameter and 72 mm height is used to attach a maximum of 480 iron pieces, as shown in Fig. 3. Each iron piece is 3 mm wide and 8 mm high with twenty different possible thicknesses. The iron pieces will be located and secured with epoxy to a phenolic holder. The superposition principle applies to magnetic fields, and spherical harmonics are linear expansion terms of the magnetic fields. Therefore, the superposition principle applies to the spherical harmonic coefficients as well. The overall spherical harmonic coefficients after the iron pieces are in place can be calculated as following,

SHnm=SHmnm+SHinm (9)

where the SHnm is the set overall or after ferromagnetic shimming spherical harmonic coefficients. SHmnm is the set of spherical harmonic coefficients before shimming and SHinm is the set of spherical harmonic coefficients induced by the iron pieces.

Figure 3.

Figure 3

Polar coordinate system for a magnetic dipole moment m and any given points on a sphere surface.

From Eq. (8), the magnetic field is linearly proportional to the volume of the iron piece. Each iron piece creates its own magnetic field, which corresponds to a set of spherical harmonics. Assuming the thickness of the iron piece is 25.4 µm, a matrix of 480 × 22 spherical harmonics can be calculated based on the location of the iron pieces. The problem now becomes to determine which iron piece will be attached to the shimming tube and the thickness of the iron piece. One solution is to calculate the spherical harmonics for all possible locations and thicknesses of the iron pieces.

3.2. Multiple Objective Linear Programming Optimization

If the iron pieces have 20 different thicknesses, the number of possible solutions is the factorial of 9600, which is infinity for most 32-bit calculators. It would take a supercomputer to calculate all possible solutions and then find the optimal solution. However, the objective of the ferromagnetic shimming can be achieved by linear programming [10]–[12]. A set of 480 decision variables are defined in the range of 0 to 20. Each decision variable corresponds to one location on the shimming tube. If the decision variable is zero, then the location will be empty without iron pieces. Otherwise, the value of the decision variable represents the thickness of the iron pieces. The objective of the linear programming is now to minimize the sum of SHnm. The output of the linear programming software is shown in Fig. 4, which provides the information of iron piece thicknesses.

Figure 4.

Figure 4

Screen shot of the linear programming software showing partial 480 decisions

4. Ferromagnetic Shimming Set and Simulation Results

4.1. 3-D Rendering of the Ferromagnetic Shimming Set

By using the linear programming approach, seventy-four iron pieces are required to achieve optimal solutions. The location of the iron pieces can be determined by the ψ angle and the z-axis coordinate. The detailed location and thickness information is shown in Table 2.

Table 2.

Location and Thickness of Iron Pieces in the Ferromagnetic Shimming Set

ψ
Deg
Height
cm
Thickness
mil
ψ
Deg
Height
cm
Thickness
mil
ψ
Deg
Height
cm
Thickness
mil
0 −3.5 20 90 3.5 20 216 3.5 20
0 −0.5 6 108 −3.5 20 234 −0.5 16
0 0.4 19 108 −2.9 20 234 0.4 20
0 2.9 20 108 3.5 20 234 1.1 20
0 3.5 20 126 −3.5 20 234 1.7 20
18 2.9 20 126 −2.9 20 234 2.9 20
18 3.2 20 126 −1.4 19 234 3.5 20
18 3.5 20 126 −0.8 20 252 1.1 20
36 −1.4 20 126 −0.5 3 252 3.5 20
36 0.4 20 126 3.5 15 270 −3.5 20
36 2.9 20 144 −3.5 20 270 −0.2 20
36 3.2 20 144 1.4 4 270 1.1 7
36 3.5 20 162 −3.5 20 270 1.7 10
54 −1.4 20 162 −0.2 15 288 −3.5 20
54 2.9 20 162 1.4 20 288 −0.5 8
54 3.2 20 162 3.5 20 288 −0.2 12
54 3.5 20 180 −3.5 20 288 1.1 17
72 −1.4 16 180 3.5 20 288 1.7 10
72 0.7 11 198 2.3 20 306 −3.5 20
72 2.9 20 198 2.9 20 306 1.1 16
72 3.2 20 198 3.2 7 324 −3.5 20
72 3.5 20 198 3.5 20 324 1.7 20
90 −3.5 20 216 0.4 6 342 −3.5 20
90 2.9 20 216 2.3 20 342 1.7 20
90 3.2 17 216 2.9 20

To better illustrate the location and relative thickness of the iron pieces, a 3D rendering of all seventy-four iron pieces is shown in Fig. 5. The thickness of the iron pieces is scaled by a factor of 3 to better show the differences between all iron piece.

Figure 5.

Figure 5

(a) 3-D rendering of the ferromagnetic shimming set, (b) Rotated 90° along z-axis, (c) Rotated −90° along z-axis,

4.2. The Spherical Harmonics After Ferromagnetic Shimming

After calculating the spherical harmonic coefficients created by the seventy-four iron pieces, the reduced spherical harmonic coefficients are shown in Table 3. The low order harmonics, x, y, z, zy, z2y, and z2, have been reduced significantly.

Table 3.

Spherical Harmonic Coefficients After Ferro-magnetic Shimming

1 x y c2 c3 s2 s3
1 −286a −8a −78b 647c −76b 339c
z −140a 317b −109b −12c 9d −41c −53d
z2 −15b 172c −33c 31d −21d
z3 115c −747d −10d
z4 −277d

Note: The units of the spherical harmonic Coefficients are [Hz/cm]a,

[Hz/cm2]b,

[Hz/cm3]c,

[Hz/cm4]d,

4.3. The Magnetic Field Comparisons Before and After Ferromagnetic Shimming

To illustrate homogeneity differences of the magnetic fields before and after the ferromagnetic shimming, the spherical harmonic coefficients in both Table 1 and 2 were used to reconstruct the magnetic field plots, as shown in Fig. 6. If the homogeneity were 0 ppm, the main magnetic field plot would be a vertical line at 700 MHz, which is 0 Hz in Fig. 6. For a 30 mm high and 17 mm diameter cylinder, the magnetic field before shimming is 112 kHz, which is approximately 160 ppm. The frequency width after shimming is around 13 kHz; therefore, the homogeneity is approximately 18 ppm. From the magnetic field plot comparison, the ferromagnetic shimming indeed improves the magnetic field homogeneity significantly.

Figure 6.

Figure 6

Reconstructed magnetic field plots based on the spherical harmonic coefficients

5. Conclusion

A passive ferromagnetic shimming set was designed for a high resolution NMR magnet using a linear programming model. The analysis has shown that the passive shimming set was able to theoretically increase the homogeneity of the magnet to less than 20 ppm. The shimming set will be built to test the effectiveness of the shimming set in the near future. This paper is just the first step for the realization of the actual magnet shimming design. The same design approach will be extended and applied to the design of the final 1.3 GHz NMR magnet. The linear programming and spherical harmonic co-efficient reduction techniques allow us to find optimal solutions quicker. Many iterations of magnetic field mapping and shimming will be carried out before a passive shimming set can be finalized.

Acknowledgement

The authors would like to thank the National Center for Research Resources for support of the 700-MHz NMR magnet program and also the National Institute of Bio-medical Imaging and Bio-engineering and the National Institute of General Medical Sciences for the ongoing 1.3-GHz NMR magnet program.

Reference

  • 1.Bascuñán J, Kim W, Hahn S, Bobrov ES, Lee H, Iwasa Y. An LTS/HTS NMR magnet operated in the range 600–700 MHz. IEEE Trans. Applied Superconductivity. 2007 Jun;17(2):1446–1449. [Google Scholar]
  • 2.Hahn S, Bascuñán J, Lee H, Bobrov ES, Kim W, Iwasa Y. Development of a 700 MHz low−/high- temperature superconductor nuclear magnetic resonance magnet: Test results and spatial homogeneity improvement. Review of Scientific Instruments. 2008;79:026105. doi: 10.1063/1.2838587. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Hahn S, Bascuñán J, Kim W, Bobrov ES, Lee H, Iwasa Y. Field Mapping, NMR Lineshape, and Screening Currents Induced Field Analyses for Homogeneity Improvement in LTS/HTS NMR Magnets. IEEE Trans. Applied Superconductivity. 2008 Jun;18(2) doi: 10.1109/TASC.2008.921225. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Iwasa Y, Hahn S, Voccio J, Park D, Kim Y. Persistent-mode high-temperature superconductor shim coils: A design concept and experimental results of a prototype Z1 high-temperature superconductor shim. Applied physics letters. 2013;103:052607. doi: 10.1063/1.4816132. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Feng L, Jianfeng Z, Lin X, Crozier S. A hybrid field-harmonics approach for passive shimming design in MRI. IEEE Trans. Appl. Supercond. 2011 Apr.21(2):60–67. [Google Scholar]
  • 6.Kakugawa S, Hino N, Komura A, Kitamura M, Takeshima H, Yatsuo T, Tazaki H. Three-Dimensional Optimization of Correction Iron Pieces for Open High Field MRI System. IEEE Trans. Appl. Supercond. 2004 Jun;14(2):1624–1627. [Google Scholar]
  • 7.Noguchi S, Nobuyama F, Kim SB, Hahn S, Iwasa Y. Spherical harmonics coefficients of all magnetic field components generated by iron piece; Proc. 19th COMPUMAG; 2013. Jul. pp. 1–2. [Google Scholar]
  • 8.Noguchi S. Formulation of the spherical harmonic coefficients of the entire magnetic field components generated by magnetic moment and current for shimming. Journal of Applied Physics. 2014;115:163908. [Google Scholar]
  • 9.Romeo F, Hoult DI. Magnet Field Profiling: Analysis and Correcting Coil Design. Magn. Reson. Med. 1984;1:44. doi: 10.1002/mrm.1910010107. [DOI] [PubMed] [Google Scholar]
  • 10.Helsin JS, Hobbs BF. A multiobjective production costing model for analyzing emission dispatching and fuel switching. IEEE Trans. Power Syst. 1989 Aug.4(3):836–842. [Google Scholar]
  • 11.Farina M, Deb K, Amato P. Dynamic multiobjective optimization problems: Test cases, approximations, and applications. IEEE Trans. Evol. Comput. 2004 Oct.8:425–442. [Google Scholar]
  • 12.Soni SK, Bhuria V. Multi-objective Emission constrained Economic Power Dispatch Using Differential Evolution Algorithm. International Journal of Engineering and Innovative Technology (IJEIT) 2012 Jul;2(1) [Google Scholar]

RESOURCES