journal article·2026-09Open access

Machine learning assisted analytical field calculation of anisotropic cuboid magnets

Jack Smith, Florian Slanovc, Monika Stipsitz, Michael Ortner, Dieter Suess

Abstract

Analytical expressions for magnetic field calculations offer computing speeds below a millisecond, ideal for magnetic system modelling. However, such analytical models assume perfect homogeneity of the magnetization, which in general is not the case due to the self-demagnetization effect. We introduce a neural network-based algorithm which accurately accounts for the deviations caused by self-demagnetization, while maintaining the extremely low latency of analytical models. To demonstrate the potential of our algorithm for magnetic position and orientation systems, we show that our algorithm is capable of improving the angular accuracy of a joystick with imperfect magnets by an order of magnitude.
Source: openaire · Quality: candidate unverified · Source record ↗

Research context

OpenAlex topics: Electric Motor Design and Analysis

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (52)

Show source-provided references
1. Magnetic field sensors for magnetic position sensing in automotive applications10.1557/PROC-475-63 ↗
2. Magnetic sensors for automotive applications10.1016/S0924-4247(01)00621-5 ↗
3. Nyce · 2003
4. Magnetic sensors and their applications10.1109/JSEN.2006.874493 ↗
5. Combined bonded rotor for DC motors with different magnetic materials and field areas10.1109/TMAG.2004.832280 ↗
6. Modern permanent magnets for applications in electro-technology10.1109/5.56908 ↗
7. Magnetically levitated planar actuator with moving magnets10.1109/TIA.2008.926065 ↗
8. Simultaneous design optimization of permanent magnet, coils, and ferromagnetic material in actuators10.1109/TMAG.2011.2160870 ↗
9. Topology optimization of anisotropic magnetic composites in actuators using homogenization design method10.1007/s00158-019-02274-y ↗
10. Permanent magnet markets and applications
11. A hall-sensor-based localization method with six degrees of freedom using unscented Kalman filter10.1109/JSEN.2018.2887299 ↗
12. Magnetic position system design method applied to three-axis joystick motion tracking10.3390/s20236873 ↗
13. Alternative method to calculate the magnetic field of permanent magnets with azimuthal symmetry
14. Exact expression for the magnetic field of a finite cylinder with arbitrary uniform magnetization10.1016/j.jmmm.2018.02.003 ↗
15. Calculation of the magnetic stray field of a uniaxial magnetic domain10.1063/1.1883308 ↗
16. Cylindrical magnets and ideal solenoids10.1119/1.3256157 ↗
17. A three-dimensional field solution for radially polarized cylinders10.1109/20.364587 ↗
18. Exact and computationally robust solutions for cylindrical magnets systems with programmable magnetization10.1002/advs.202301033 ↗
19. The magnetic field from cylindrical arc coils and magnets: A compendium with new analytic solutions for radial magnetization and azimuthal current10.1002/apxr.202300136 ↗
20. The magnetic field from a homogeneously magnetized cylindrical tile10.1016/j.jmmm.2020.166799 ↗
21. Magpylib: A free python package for magnetic field computation10.1016/j.softx.2020.100466 ↗
22. MagTense: A micromagnetic framework using the analytical demagnetization tensor10.1016/j.jmmm.2021.168057 ↗
23. The demagnetizing energies of a uniformly magnetized cylinder with an elliptic cross-section10.1016/S0304-8853(03)00406-2 ↗
24. Demagnetizing factors for rectangular ferromagnetic prisms10.1063/1.367113 ↗
25. The demagnetizing field of a nonuniform rectangular prism10.1063/1.3385387 ↗
26. Environment-friendly bulk fe16n2 permanent magnet: Review and prospective10.1016/j.jmmm.2019.165962 ↗
27. Historical overview and recent advances in permanent magnet materials
28. Beyond rare earths10.1038/s41563-024-01829-9 ↗
29. Calculation of demagnetizing field by means of FFT10.1016/0378-4754(78)90019-8 ↗
30. Three-dimensional micromagnetic calculations for magnetite using FFT10.1111/j.1365-246X.1996.tb06354.x ↗
31. A full-fledged micromagnetic code in fewer than 70 lines of NumPy10.1016/j.jmmm.2015.03.081 ↗
32. Hybrid FFT algorithm for fast demagnetization field calculations on non-equidistant magnetic layers10.1016/j.jmmm.2020.166592 ↗
33. A review of magnetostatic moment method10.1109/TMAG.2006.870929 ↗
34. Boisselet · 2024
35. Detection and localisation of magnetic objects10.1049/iet-smt:20060129 ↗
36. Physics-informed neural networks for solving 2-D magnetostatic fields10.1109/TMAG.2023.3281863 ↗
37. Physics-informed neural networks for solving parametric magnetostatic problems10.1109/TEC.2022.3180295 ↗
38. Inverse Design of Magnetic Fields Using Deep Learning10.1109/TMAG.2021.3082431 ↗
39. Error correction of analytical magnetic field expressions with neural networks10.1109/TMAG.2025.3533912 ↗
40. Magnetostatics and micromagnetics with physics informed neural networks10.1016/j.jmmm.2021.168951 ↗
41. Physics-informed machine learning and stray field computation with application to micromagnetic energy minimization10.1016/j.jmmm.2023.170761 ↗
42. Coey · 2010 · 39
43. Prince · 2023
44. Physics-informed machine learning10.1038/s42254-021-00314-5 ↗
45. PyTorch: an imperative style, high-performance deep learning library
46. Kingma · 2017
47. Biewald · 2020
48. Multilayer feedforward networks with a nonpolynomial activation function can approximate any function10.1016/S0893-6080(05)80131-5 ↗
49. On the limited memory BFGS method for large scale optimization10.1007/BF01589116 ↗
50. Inline magnet inspection using fast high resolution MagCam magnetic field mapping and analysis
51. Susceptibility and degree of alignment of rare-earth permanent magnets10.1016/0304-8853(93)90152-R ↗
52. Implicit layers for implicit representations