NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Simulation and Optimization of a Permanent Magnet for Small-sized MRI by Genetic Algorithm

Yiyuan Cheng, Ling Xia, Wei HeProceedings of the 2nd International Conference On Systems Engineering and Modeling 2013

TL;DR

Researchers have developed a practical method to improve the magnetic field uniformity of small-scale MRI magnets by 65%. By using a Genetic Algorithm to optimize the dimensions of a simple shimming ring, they created a design that is both high-performing and easy to manufacture, making low-cost permanent magnets more viable for specialized medical imaging.

What Problem Does This Paper Address?

The quality of an MRI image depends almost entirely on the homogeneity (uniformity) of the main magnetic field ($B_0$). While superconducting magnets provide excellent uniformity, they are incredibly expensive and require liquid helium for cooling. Permanent magnets are a cheaper, "greener" alternative for small-scale applications like imaging wrists, ankles, or small animals.

However, permanent magnets suffer from "end effects"—the magnetic field tends to become non-uniform at the edges of the magnet's pole pieces. While theoretical physics suggests complex, curved shapes for these pole pieces to fix the field, these shapes are often impossible or prohibitively expensive to manufacture. The authors sought a way to achieve high uniformity using a simple, manufacturable component: a "shimming ring."

Methods

The authors designed an H-type permanent magnet model and introduced a pure iron shimming ring placed outside the pole piece. To find the perfect dimensions for this ring, they combined two powerful software tools:

  1. ANSYS: A commercial Finite Element Method (FEM) software used to perform the heavy-duty 3D electromagnetic field simulations.
  2. MATLAB (Genetic Algorithm): A Genetic Algorithm (GA) was used to drive the optimization process.

The GA works by mimicking natural selection. It started with a random population of ring dimensions (inner radius $R_{in}$ and height $H$), simulated their performance in ANSYS, and then "bred" the best-performing versions over 50 iterations. The goal was to minimize the field uniformity value (measured in parts per million, or ppm) within a 60 mm Diameter Spherical Volume (DSV).

Datasets

This paper does not use external datasets. Instead, it generates its own data through iterative 3D magnetic field simulations. The "ground truth" is established by the physics-based FEM calculations within the ANSYS environment.

Key Insights and Ideas

  • Practicality over Theoretical Perfection: Rather than trying to machine a complex, mathematically "perfect" pole piece surface, the authors showed that adding a simple rectangular-cross-section ring can achieve similar results. This significantly lowers the barrier to actual production.
  • The Nonlinear Challenge: The relationship between a magnet's geometry and its field uniformity is highly nonlinear and complex. Traditional calculus-based search methods often get stuck in "local optima." The Genetic Algorithm proved robust enough to navigate this complex search space to find a global optimum.
  • The Uniformity-Intensity Trade-off: A key insight from the results is that improving uniformity often results in a slight drop in total magnetic field intensity. The optimized design dropped from ~0.54T to ~0.51T, but the massive gain in uniformity made this a favorable trade-off for imaging quality.

Key Results

The optimization yielded a shimming ring with a height of 4.5 mm and an inner radius of 122.8235 mm. The quantitative improvements were significant:

  • Uniformity Boost: In the target 60 mm imaging area, field uniformity improved from 162.37 ppm to 57.07 ppm—a 65% improvement.
  • Consistency: The optimized magnet maintained superior uniformity across the entire range of tested volumes (from 20 mm to 70 mm DSV) compared to the design without shimming rings.
  • Threshold Success: The average field intensity remained above the 0.5 T threshold required for the specific MRI application.

Limitations and Future Work

While the results are promising, the paper notes a few areas for further development:

  • Parameter Constraints: The study only optimized two variables (radius and height). Real-world manufacturing involves more variables, such as material impurities and small gaps between magnetic blocks, which were not fully accounted for in the simulation.
  • Single-Objective Focus: The GA focused primarily on uniformity. Future work could use multi-objective optimization to simultaneously maximize field strength while minimizing non-uniformity.
  • Experimental Validation: The paper is based on simulations; the next logical step is the physical construction and testing of the optimized H-type magnet to verify the 65% improvement in a lab setting.

Summary updated

BibTeX
@inproceedings{cheng2013simulation,
  author = {Yiyuan Cheng and Ling Xia and Wei He},
  title = {{Simulation and Optimization of a Permanent Magnet for Small-sized MRI by Genetic Algorithm}},
  booktitle = {Proceedings of the 2nd International Conference On Systems Engineering and Modeling},
  year = {2013},
  doi = {10.2991/icsem.2013.158},
}
Figure