Abstract
Ultra-low field magnetic resonance imaging (MRI) is a popular research topic in the field of mobile medical imaging. We construct a 50 mT ultra-low field MRI system for real-time monitoring of intracranial bleeding. The region of interest is a spherical space with a diameter of 200 mm, which is sufficiently large for a brain tissue. The homogeneity of the magnetic field determines the signal-to-noise ratio of MRI directly. First, the distribution of the main magnetic field is measured and expanded by using orthogonal spherical harmonic functions. Second, a harmonic coefficient method is used to design active shim coils of the first two orders, with each coil generating a specific harmonic magnetic field. Lastly, the contour distribution of the stream function is utilized to obtain the winding of the shim coils. Results show that each shim coil can generate a pure harmonic magnetic field within an error of 5%. The magnetic field uniformity is reduced from 137 ppm to 28 ppm by these shim coils.
Introduction
Intracranial bleeding [1] occurs when a blood vessel within the skull ruptures or leaks. This condition can result from physical trauma (during head injury) or nontraumatic causes (during hemorrhagic stroke), such as a ruptured aneurysm. Real-time monitoring [2] at the bedside and early indication of changes in the lesion area play key roles in rescue and treatment. A monitoring system for bedside use must be lightweight and easy to move. High-field magnetic resonance imaging (MRI) cannot satisfy these requirements given the large volume and high cost of this equipment. By contrast, an ultra-low field MRI system [3] is made of permanent magnets and does not demand a cooling system. Therefore, an ultra-low field MRI is appropriate for its mobility, which would be a point-of-care diagnostics tool in the future. An ultra-low field magnetic resonance device has high requirements for magnetic field homogeneity considering its low main magnetic field value (less than 50 mT), thereby affecting the signal-to-noise ratio (SNR) of images directly [4]. Therefore, shimming is essential.
Two major shimming methods, namely, passive and active, can be used [5]. Passive shimming [6,7] is a method of field correction that involves using ferromagnetic materials called shims. This method is a primary approach. We reduce the magnetic field uniformity from 236 ppm to 137 ppm by placing shims in a regular pattern at specific locations along the inner bore of the magnet. However, the magnetic field is significantly changed by the shims in the ultra-low field MRI system. The magnetic field uniformity cannot be reduced to a number of ppm with passive shimming only. By contrast, active shimming [8–10] uses shim coils with minimal DCs to uniform the magnetic field. Turner [11] proposed a target-field method to obtain the current distribution from a target field. Forbes and Crozier [12–14] designed biplanar active shim coils by constraining the distribution of current and selecting the regularization function. Liu [15–17] determined the relationship between current distribution and magnetic field. Corresponding integral equations have been derived according to the Biot–Savart law by setting target-field points and B z values to calculate current densities. Xia [18] demonstrated that biplanar shim coils can generate all harmonic fields through several specific operations and used physical experiments to validate the proposed approach.
However, no research on shim coils in ultra-low field MRI is found. In this study, the distribution of the main magnetic field is measured first and then expanded by using orthogonal spherical harmonic functions. Second, the harmonic coefficient method based on the target-field method is used to design active shim coils of the first two orders, with each coil generating a specific harmonic magnetic field. Lastly, the contour distribution of a stream function is utilized to obtain the winding of the shim coils.

Structure diagram of a biplanar magnet.
A diagram of the biplanar magnet structure is illustrated in Fig. 1. The magnets and shim coils are distributed in two planes. In the biplanar MRI system, the main magnetic field B
0 is selected in the z-axis direction. In the region of interest (ROI), B
z
is larger than B
x
and B
y
, so B
x
and B
y
can be ignored. Based on relevant electromagnetic field knowledge, B
z
in the rectangular coordinate system is written as [19]
B z consists of constant magnetic field A 00 and the first-, second-, and high-order components of x, y, and z. Table 1 lists the harmonic expressions of the magnetic field in spherical and rectangular coordinates. The harmonic magnetic field is necessary to offset by the opposite field that is generated by the corresponding shim coil.
Harmonic expressions of a magnetic field

Measurement system of the magnetic field map. CuSO 4 ⋅ 5H2O samples are located on the disk, where the angles between the z positive axis and the sample are 18°, 30°, 42°, 54°, 66°, 78°, and 90°. These samples are distributed at different heights.

Original uniformity map of the magnetic field before shimming.
The magnetic field intensity is approximately 50 mT, and the ROI is a spherical space of 200 mm diameter. The confirmation that the maximum and minimum values of the magnetic field must appear on the surface of the sphere is theoretically feasible [20]. Therefore, we only measure the magnetic field on the sphere. Figure 2 depicts a magnetic field measurement system that consists of biplanar magnets, a magnetic field measurement disk, a computer, an NMR spectrometer (Magritek, Kea2, New Zealand), and an RF power amplifier (TOMCO, BT00500 ALPHA-S, Australia). The CPMG echo signal of the small sample is measured. The magnetic field is obtained by B = f∕𝛾 (𝛾 is the gyromagnetic ratio). The magnetic field intensity at different positions of the upper hemispherical surface is measured by rotating the measuring disk around the z-axis every 30°. This condition is the same for the other half. The magnetic field values are substituted into Eq. (1), and the first two-order formula of the measured magnetic field is obtained, as presented in Table 2. Figure 3 demonstrates the uniformity map of the measured magnetic field in the ROI in which we define D = (B − B 0) ×106∕B 0, where B refers to the measured magnetic field intensity, and B 0 refers to 50 mT.
Harmonic coefficients of the measured magnetic field of the first two orders. The unit of B z is mT

Geometric structure of biplanar shim coils with field point
We use the harmonic coefficient method on the basis of the target-field method to design active shim coils of the first two orders. The geometry structure of a biplanar shim coil is exhibited in Fig. 4. The distribution of the two coils is at z = ±a, and the maximum radius of the winding area is 𝜌
a
. The continuous current density J (𝜌, 𝜓) is distributed in the winding area and can be written as tangential and radial components J = J
𝜓
For the coil plane, z = ±a = fcos𝛼, and 𝜌 = fsin𝛼. The stream functions can be set as [20]

Structures and magnetic field distributions of z 2 − (x 2 + y 2)∕2, y, and xz shim coils. (A) Structure of the z 2 − (x 2 + y 2)∕2 shim coil. The arrows indicate the direction of the current. This setting also applies to (D) and (G). (B) PCB of the z 2 − (x 2 + y 2)∕2 shim coil. (C) Magnetic field distribution of the z 2 − (x 2 + y 2)∕2 shim coil in the ROI. (D) Structure of the y shim coil. (E) PCB of the y shim coil. (F) Magnetic field distribution of the y shim coil in the ROI. (G) Structure of the xz shim coil. (H) PCB of the xz shim coil. (I) Magnetic field distribution of the xz shim coil in the ROI.
The winding area is distributed in z = ±130 mm, which has a maximum radius of 𝜌 a = 220 mm. The ROI is a sphere that is located at (0,0,0) with a diameter of 200 mm. We consider z 2 − (x 2 + y 2)∕2 shim coil an example to describe the design process and result of a biplanar shim coil. In this case, l = 2, k = 0, m = 2, n = 2 i −2, and i = 1, 2, …, N. The shim coil generates T 00, T 20, T 40, and T 60 harmonic fields when N is set to 4; T 20 is the target harmonic field. Therefore, C should be [0, b 20, 0, 0]T. The coil structure is calculated in accordance with the above-mentioned design method. The z 2 − (x 2 + y 2)∕2 shim coil is composed of several concentric circle windings and has different radii but the same current directions. The coil magnetic field has an even symmetry for the z = 0 plane, and the upper and lower planar coil structures are exactly the same because l + k = 2 is even. The structures of the z 2 − (x 2 + y 2)∕2, y, and xz shim coils, the printed circuit board (PCB), and the corresponding magnetic field distributions with 5 A current are displayed in Fig. 5. We position every two shim coil on one PCB to reduce space. X shim coil can be obtained by rotating y shim coil 90°, and yz shim coil can be obtained by rotating xz shim coil 90°.
The coil structure is slightly modified to be a closed-loop circuit before fabrication. Short copper wires are required to connect the circles, which will bias the magnetic field distribution. We establish a real coil structure in ANSOFT and analyze its magnetic field purity to assess the deviation. The analysis results are summarized in Table 3. For example, if the z shim coil is the ideal coil, the coefficient of z harmonic (called the main coefficient) will not be zero, whereas the coefficients of the other harmonics will be zero. Table 3 presents that the coils are not pure. However, the coefficients of the other harmonics are smaller than the main coefficient. Hence, the impurity is only 4.98%.
Impurities of a real shim coil structure
Impurities of a real shim coil structure

System for measuring the magnetic field distributions of shim coils.

Comparison of the measured and simulated magnetic fields of the z 2 − (x 2 + y 2)∕2 shim coil in the ROI. (A) Comparison on the x-axis. (B) Comparison on the z-axis. The red dotted lines indicate the measured distribution of the magnetic field that is generated by the coil; the blue solid line represents the simulation result.
The shim coils are fabricated on a 1.6 mm-thick fiber-reinforced 4 round board (250 mm diameter) using a coated Cu. The copper thickness is 70 μm. The magnetic field distribution of B z is measured by using an FW Bell 8030 gauss meter, and the coil current is supplied by using Agilent 6654A DC power, as illustrated in Fig. 6. The shim coils cannot be driven by the actual shim current given the limitation of the measuring range of the gauss meter. Here, we use the amplified current (5 A) to analyze the magnetic field distribution. Figure 7 presents the magnetic fields of the z 2 − (x 2 + y 2)∕2 shim coil on the x- and z-axes. The measured and ideal magnetic fields have the same trend and numerical range. The small error is caused by additional copper wires.

System for measuring the magnetic field uniformity.

Spectrum, FID signal and magnetic field uniformity map before and after shimming. (A) Comparison of spectra. (B) Comparison of FID signal. (C) Magnetic field uniformity map after shimming.
We measure the magnetic field uniformity in the ROI by using a Magritek Kea2 spectrometer (New Zealand), as depicted in Fig. 8. The experimental sample, which is a sphere with a radius of 100 mm, is a mixed solution of 3.6 g/L of CuSO4 and 1.955 g/L of NaCl. The current of the coils is supplied by an MXB-8-RCU multichannel shim power amplifier. The RF is 2.17 MHz. A CPMG ADD sequence is used to measure the transverse relaxation time T2 of the sample, and the spectrum of the echo signal is obtained. Table 4 lists the shim result. Figure 9 demonstrates the spectrum, Free Induction Decay (FID) signal and magnetic field uniformity map before and after shimming. The magnetic field uniformity is significantly reduced from 137 ppm to 28 ppm.
Results of shimming
This study is conducted on the basis of the research on ultra-low field magnetic resonance brain imaging. The harmonic coefficient method based on the target-field method is used to design biplanar active shim coils, which are expected to improve the static magnetic field uniformity to ensure the SNR. First, the distribution of the main magnetic field is measured and expanded by orthogonal spherical harmonic functions. Second, we design active shim coils of the first two orders. Each coil can generate a specific harmonic magnetic field. Lastly, the contour distribution of the stream function is utilized to obtain the winding of the shim coils. The results show that each shim coil can generate a pure harmonic magnetic field, and the error of the other harmonic magnetic fields is up to 5%. The magnetic field uniformity is reduced from 137 ppm to 28 ppm with these shim coils, thereby indicating that the design is successful and effective. However, improvements remain essential. First, using multiple shim coils consumes the gap or bore space of the magnet. Second, the current when a shim coil works alone is different from that when the shim coil works with other shim coils. These ideas are the points of our future work.
Footnotes
Acknowledgements
This work was supported by the National Natural Science Foundation of China (Nos. 51677008, 51377182, 51707028, and 11647098), the National Key Basic Research and Development Program (973∼Project) (No. 2014CB541602), and the Fundamental Research Funds for the Central Universities (No. 106112017CDJQJ158834).
