MagGAT: Structure-Aware Spatiotemporal Graph Attention for Motor-Induced Magnetic Interference Compensation in Quadruped Robots
Permanent-magnet synchronous motors enable precise motion control in compact robots, but their leakage fields can corrupt onboard magnetometer measurements. Physics-based compensation is effective under fixed geometric conditions, whereas quadruped locomotion continuously changes the motor–sensor relationship. We propose MagGAT, a structure-aware spatiotemporal graph attention network that estimates compensated magnetic field signals from motor states and near-field measurements. A boom-mounted far-field magnetometer provides a pseudo-reference for supervised training and field-level evaluation. MagGAT combines a global–local dual-branch graph attention module for multi-motor spatial coupling with a gated recurrent unit for temporal disturbance modeling. Experiments on a Unitree Go2 quadruped used synchronized near-field and far-field measurements, joint angles, angular velocities, and commanded torques collected in indoor and outdoor environments. Across three runs with different random seeds, MagGAT achieved mean residual three-axis magnetic field RMSE values of 87.72–89.41 nT across the three test sequences and outperformed a physics-based fixed-parameter model, a static neural network method, and a temporal convolutional baseline. Ablation studies confirmed that both spatial graph modeling and temporal modeling contributed to compensation accuracy. These results support structure-aware spatiotemporal learning for suppressing motor-induced magnetometer interference on compact legged robots.
Authors
- You Li (ORCID: https://orcid.org/0000-0002-6109-2194)
- Chen Wang (ORCID: https://orcid.org/0000-0002-5340-9737)
- Qi Han (ORCID: https://orcid.org/0000-0001-9432-3131)
- Qi Xue (ORCID: https://orcid.org/0009-0001-7114-8606)
Institutions
- Harbin Institute of Technology (CN)
Publication Details
- Journal
- Sensors
- Published
- 2026-09-24
- DOI
- https://doi.org/10.3390/s26196048
- Primary Topic
- Robotic Locomotion and Control
- Type
- article
- Field-Weighted Citation Impact
- 0.00