European Journal of Physics

Physics-informed neural networks in the undergraduate Helmholtz-coil laboratory: combining Hall-probe data with Maxwell's equations

Wenjun Qiu, Fei Xu, Yicheng Liu, Hao Chen, Yi Yang, Xinnan Xia

Key points

From the paper's conclusion
  • A teaching extension turns this limitation into a modeling task: 37 on-axis Hall-probe measurements train a physics-informed neural network (PINN) for the source-free region around the coils.

Abstract

In the usual Helmholtz-coil laboratory, students measure the magnetic field on the coil axis and compare the result with the Biot-Savart law. Many laboratory manuals stop at this point, noting that off-axis field expressions are cumbersome and leaving the spatial field structure aside. A teaching extension turns this limitation into a modeling task: 37 on-axis Hall-probe measurements train a physics-informed neural network (PINN) for the source-free region around the coils. The network represents a differentiable vector field with axial symmetry built into its outputs; training combines the axial data with the source-free Maxwell equations. The mean absolute relative error (MRE) at the 37 training points is 0.178%. Experimental validation uses 33 additional recorded Hall-probe values on three off-axis lines, none included in the training loss. The Bx MREs are 1.13%, 2.62%, and 8.46% at offsets of 20, 40, and 60 mm, respectively. Numerical field-magnitude checks give a 2.10% maximum-normalized NRMSE against Biot-Savart on the z = 0 grid and a 0.82% mean-normalized NRMSE against COMSOL in the central region (|x| <= 50 mm, r <= 50 mm). These measurements and calculations support a queryable spatial field model, with the closest experimental agreement on the 20 and 40 mm scans. Separate single-coil and parametric models illustrate superposition and interpolation across coil separations. The proposed advanced-undergraduate activity connects measurement, physical constraints, and validation through a reproducible computational workflow.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers