This paper introduces TE-PINN, a novel transformer-enhanced physics-informed neural network for quaternion-based orientation estimation from IMU data. The proposed framework combines multi-head attention mechanisms with physics-based constraints to achieve robust attitude estimation in dynamic conditions. By embedding quaternion kinematics and rigid body dynamics directly into the loss function, TE-PINN enforces rotational dynamics consistency while leveraging the transformer’s ability to capture temporal dependencies in IMU measurements. The RK4 quaternion integration with uncertainty quantification further enhances estimation reliability. Experimental results demonstrate a 36.8% reduction in attitude estimation error compared to traditional methods, with superior robustness in high-noise environments. The physics-informed approach ensures physically consistent predictions while maintaining computational efficiency suitable for real-time applications.
Submitted to ICRA 2025 - Under Review