Simulation and optimization of the Active Magnetic Shield of the n2EDM experiment
N. J. Ayres, G. Ban, G. Bison, K. Bodek, V. Bondar, T. Bouillaud, G. L. Caratsch, E. Chanel, W. Chen, C. Crawford, V. Czamler, C. B. Doorenbos, S. Emmeneger, S. K. Ermakov, M. Ferry, M. Fertl, A. Fratangelo, D. Galbinski, W. C. Griffith, Z. D. Grujic, K. Kirch, V. Kletzl, J. Krempel, B. Lauss, T. Lefort, A. Lejuez, K. Michielsen, J. Micko, P. Mullan, O. Naviliat-Cuncic, F. M. Piegsa, G. Pignol, C. Pistillo, I. Rienäcker, D. Ries, S. Roccia, D. Rozpędzik, L. Sanchez-Real Zielniewicz, N. von Schickh, P. Schmidt-Wellenburg, E. P. Segarra, L. Segner, N. Severijns, K. Svirina, J. Thorne, J. Vankeirsbilck, N. Yazdandoost, J. Zejma, N. Ziehl, G. Zsigmond
TL;DR
This work develops and validates a finite-element, COMSOL-based simulation of the Active Magnetic Shield (AMS) operating with the magnetically shielded room (MSR) in the n2EDM neutron EDM experiment. By confirming linear AMS behavior against measurements, it enables a genetic-algorithm–driven optimization of fluxgate sensor placement to minimize the conditioning number of the coil–sensor mapping, while considering practical spatial constraints. The resulting workflow yields an optimized eight-sensor configuration with good agreement between simulated and experimental conditioning ($\sigma$) and residual-field suppression, demonstrating a scalable approach for designing active magnetic shields in precision experiments. The methodology and optimization framework are transferable to other experiments requiring ultra-stable magnetic environments and dynamic field compensation.
Abstract
The n2EDM experiment at the Paul Scherrer Institute aims to conduct a high-sensitivity search for the electric dipole moment of the neutron. Magnetic stability and control are achieved through a combination of passive shielding, provided by a magnetically shielded room (MSR), and a surrounding active field compensation system by an Active Magnetic Shield (AMS). The AMS is a feedback-controlled system of eight coils spanned on an irregular grid, designed to provide magnetic stability to the enclosed volume by actively suppressing external magnetic disturbances. It can compensate static and variable magnetic fields up to $\pm 50$ $μ$T (homogeneous components) and $\pm 5$ $μ$T/m (first-order gradients), suppressing them to a few $μ$T in the sub-Hertz frequency range. We present a full finite element simulation of magnetic fields generated by the AMS in the presence of the MSR. This simulation is of sufficient accuracy to approach our measurements. We demonstrate how the simulation can be used with an example, obtaining an optimal number and placement of feedback sensors using genetic algorithms.
