Physics-guided virtual attitude sensing for UAVs using residual CNN-LSTM and bounded autoregressive dynamics

(1) Tung Thanh Bui Mail (Faculty of Engineering and Technology, International School, Vietnam National University, Viet Nam)
(2) Van Thi Tran Mail (Faculty of Information Technology, University of Labour and Social Affairs, Viet Nam)
(3) Thang Van Nguyen Mail (University of Engineering and Technology, Vietnam National University, Viet Nam)
(4) Tung Thanh Nguyen Mail (Faculty of Engineering and Technology, International School, Vietnam National University, Viet Nam)
(5) * Khoa Dang Nguyen Mail (International School, Vietnam National University, Viet Nam)
*corresponding author

Abstract


Accurate attitude information is essential for UAV stabilization and autonomous flight. However, conventional attitude estimation may be affected by sensor noise, bias, and measurement uncertainty. This paper proposes a Physics-Guided Virtual Inertial Measurement Unit (PG-VIMU) framework for short-term, one-step roll and pitch prediction of an X-configuration quadrotor. The proposed framework combines a learnable physics propagation branch, a bounded autoregressive correction branch, and a CNN-LSTM residual learning component. This hybrid formulation decomposes attitude prediction into physically structured state propagation, controlled short-term correction memory, and nonlinear residual estimation. The physics correction matrix is initialized from the identity matrix and jointly optimized with the other model parameters. The framework is evaluated using PX4-Gazebo Software-in-the-Loop (SITL) data, with training, validation, and testing separated at the flight level. On one completely unseen test trajectory, PG-VIMU achieves roll RMSE, MAE, and coefficient of determination values of 0.0134, 0.0115, and 0.9358, respectively, and pitch values of 0.0150, 0.0116, and 0.9464. Comparative and ablation results demonstrate the complementary contribution of physics-guided propagation and bounded autoregressive correction, with PG-VIMU providing the best overall balance across roll and pitch prediction. The present evaluation is limited to simulation data and a single unseen test trajectory; therefore, further validation using multiple flight conditions and real-flight measurements is required. The proposed framework is intended as a complementary short-term virtual attitude prediction approach rather than a complete replacement for physical IMU sensing.

Keywords


Unmanned Aerial Vehicle (UAV); Quadrotor; Virtual sensing; Attitude prediction; Physics-guided learning; CNN-LSTM; Autoregressive modeling

   

DOI

https://doi.org/10.26555/ijain.v12i4.2692
      

Article metrics

Abstract views : 122 | PDF views : 6

   

Cite

   

Full Text

Download

References


[1] M. Idrissi, M. Salami, and F. Annaz, “A Review of Quadrotor Unmanned Aerial Vehicles: Applications, Architectural Design and Control Algorithms,” J. Intell. Robot. Syst., vol. 104, no. 2, p. 22, Jan. 2022, doi: 10.1007/s10846-021-01527-7.

[2] G. SONUGÜR, “A Review of quadrotor UAV: Control and SLAM methodologies ranging from conventional to innovative approaches,” Robot. Auton. Syst., vol. 161, p. 104342, Mar. 2023, doi: 10.1016/j.robot.2022.104342.

[3] R. Mahony, T. Hamel, and J. -M. Pflimlin, “Nonlinear Complementary Filters on the Special Orthogonal Group,” IEEE Trans. Autom. Control, vol. 53, no. 5, pp. 1203–1218, Jun. 2008, doi: 10.1109/TAC.2008.923738.

[4] M. Nazarahari and H. Rouhani, “40 years of sensor fusion for orientation tracking via magnetic and inertial measurement units: Methods, lessons learned, and future challenges,” Inf. Fusion, vol. 68, pp. 67–84, Apr. 2021, doi: 10.1016/j.inffus.2020.10.018.

[5] D. Parikh, S. Vohra, and M. Kaveshgar, “Comparison of Attitude Estimation Algorithms With IMU Under External Acceleration,” in 2021 IEEE International Symposium on Smart Electronic Systems (iSES), IEEE, Dec. 2021, pp. 123–126. doi: 10.1109/iSES52644.2021.00037.

[6] M. Mardan, M. Esfandiari, and N. Sepehri, “Attitude and position controller design and implementation for a quadrotor,” Int. J. Adv. Robot. Syst., vol. 14, no. 3, p. 1729881417709242, May 2017, doi: 10.1177/1729881417709242.

[7] T. Liang et al., “Attitude Estimation of Quadrotor UAV Based on QUKF,” IEEE Access, vol. 11, pp. 111133–111141, 2023, doi: 10.1109/ACCESS.2023.3320707.

[8] M. Irfan, S. Dalai, P. Trslic, J. Riordan, and G. Dooly, “LSAF-LSTM-Based Self-Adaptive Multi-Sensor Fusion for Robust UAV State Estimation in Challenging Environments,” Machines, vol. 13, no. 2, p. 130, 2025, doi: 10.3390/machines13020130.

[9] P. Jiang, C. Liu, H. Cong, and F. Zhang, “A fuzzy adaptive complementary filter for attitude estimation based on norm judgment,” Meas. Control, vol. 57, no. 8, pp. 1161–1180, 2024, doi: 10.1177/00202940241227069.

[10] J. Li et al., “Missing data reconstruction in attitude for quadrotor unmanned aerial vehicle based on deep regression model with different sensor failures,” Inf. Fusion, vol. 93, pp. 243–257, May 2023, doi: 10.1016/j.inffus.2023.01.002.

[11] J. J. Hagenaars, S. Stroobants, S. M. Bohté, and G. C. H. E. de Croon, “All eyes, no IMU: learning flight attitude from vision alone,” Npj Robot., vol. 4, no. 1, p. 21, Mar. 2026, doi: 10.1038/s44182-026-00081-4.

[12] M. W. Ahmad, M. U. Akram, M. M. Mohsan, K. Saghar, R. Ahmad, and W. H. Butt, “Transformer-based sensor failure prediction and classification framework for UAVs,” Expert Syst. Appl., vol. 248, p. 123415, Aug. 2024, doi: 10.1016/j.eswa.2024.123415.

[13] H. Li, C. Chen, T. Wan, S. Sun, Y. Li, and Z. Deng, “Advancing UAV Sensor Fault Diagnosis Based on Prior Knowledge and Graph Convolutional Network,” Machines, vol. 12, no. 10, 2024, doi: 10.3390/machines12100716.

[14] N. Mohajerin, M. Mozifian, and S. Waslander, “Deep Learning a Quadrotor Dynamic Model for Multi-Step Prediction,” in 2018 IEEE International Conference on Robotics and Automation (ICRA), IEEE, May 2018, pp. 2454–2459. doi: 10.1109/ICRA.2018.8460840.

[15] S. Bansal, A. K. Akametalu, F. J. Jiang, F. Laine, and C. J. Tomlin, “Learning quadrotor dynamics using neural network for flight control,” in 2016 IEEE 55th Conference on Decision and Control (CDC), IEEE, Dec. 2016, pp. 4653–4660. doi: 10.1109/CDC.2016.7798978.

[16] K. Fakhro and A. A. Pyrkin, “Learning Quadrotor Dynamics Using Feed-Forward Neural Networks,” 15th IFAC Workshop Adapt. Learn. Control Syst. ALCOS 2025, vol. 59, no. 14, pp. 179–183, Jan. 2025, doi: 10.1016/j.ifacol.2025.12.146.

[17] W. Gu, S. Primatesta, and A. Rizzo, “Physics-informed Neural Network for Quadrotor Dynamical Modeling,” Robot. Auton. Syst., vol. 171, p. 104569, Jan. 2024, doi: 10.1016/j.robot.2023.104569.

[18] S. Hochreiter and J. Schmidhuber, “Long Short-Term Memory,” Neural Comput., vol. 9, no. 8, pp. 1735–1780, Nov. 1997, doi: 10.1162/neco.1997.9.8.1735.

[19] K. Telli et al., “Quadrotor Experimental Dynamic Identification with Comprehensive NARX Neural Networks,” in 2023 6th International Conference on Signal Processing and Information Security (ICSPIS), IEEE, Nov. 2023, pp. 167–172. doi: 10.1109/ICSPIS60075.2023.10344190.

[20] H. E. Sifuentes, C. A. Rocha, and E. A. Manzano, “Non-linear Dynamic Behavior Identification of a Quadcopter F450 Using an Artificial Neural Network-Based NARX Model,” Ing.- E Investig., vol. 44, Dec. 2024, [Online]. Available: http://www.scielo.org.co/scielo.php?script=sci_arttext&pid=S0120-56092024000300011&nrm=iso

[21] Y. Zhou, J. Di, H. Ji, J. Wang, S. Chen, and Y. Kang, “Hybrid offline–online neural identification-based robust adaptive tracking control for quadrotors,” Control Eng. Pract., vol. 151, p. 106032, Oct. 2024, doi: 10.1016/j.conengprac.2024.106032.

[22] A. Jimenez-Flores, P. A. Tellez-Belkotosky, E. J. Ollervides-Vazquez, L. A. Reyes-Osorio, L. Amezquita-Brooks, and O. Garcia-Salazar, “Neural Network Approach for the Estimation of Quadrotor Aerodynamic and Inertial Parameters,” Modelling, vol. 6, no. 4, 2025, doi: 10.3390/modelling6040157.

[23] P. Hewage et al., “Temporal convolutional neural (TCN) network for an effective weather forecasting using time-series data from the local weather station,” Soft Comput., vol. 24, no. 21, pp. 16453–16482, Nov. 2020, doi: 10.1007/s00500-020-04954-0.

[24] F. Kurniawan, S. Sulaiman, S. Konate, and M. A. A. Abdalla, “Deep learning approaches for MIMO time-series analysis,” Int. J. Adv. Intell. Inform., vol. 9, no. 2, pp. 286–300, 2023, doi: 10.26555/ijain.v9i2.1092.

[25] K. Nguyen, K. Nguyen, T. Kim, N. H. Tran, and V. Dinh, “Enhanced mixup for improved time series analysis,” Int. J. Adv. Intell. Inform., vol. 11, no. 2, pp. 227–240, 2025, doi: 10.26555/ijain.v11i2.1592.

[26] Y. Okamoto, “Transformers for time-series forecasting: A comprehensive survey through 2024,” Nonlinear Theory Its Appl. IEICE, vol. 17, no. 1, pp. 260–278, 2026, doi: 10.1587/nolta.17.260.

[27] L. Su, X. Zuo, R. Li, X. Wang, H. Zhao, and B. Huang, “A systematic review for transformer-based long-term series forecasting,” Artif. Intell. Rev., vol. 58, no. 3, p. 80, Jan. 2025, doi: 10.1007/s10462-024-11044-2.

[28] X. Kong et al., “Deep learning for time series forecasting: a survey,” Int. J. Mach. Learn. Cybern., vol. 16, no. 7, pp. 5079–5112, Aug. 2025, doi: 10.1007/s13042-025-02560-w.

[29] J. Zhao, F. Chu, L. Xie, Y. Che, Y. Wu, and A. F. Burke, “A survey of transformer networks for time series forecasting,” Comput. Sci. Rev., vol. 60, p. 100883, May 2026, doi: 10.1016/j.cosrev.2025.100883.

[30] G. Lu et al., “A Survey of Deep Learning for Time Series Forecasting: Theories, Datasets, and State-of-the-Art Techniques,” Comput. Mater. Contin., vol. 85, no. 2, pp. 2403–2441, Sep. 2025, doi: 10.32604/cmc.2025.068024.

[31] S. Zhao, C. Cheng, M. Lin, and Z. Peng, “Physics-informed deep sparse regression network for nonlinear dynamical system identification,” J. Sound Vib., vol. 595, p. 118796, Jan. 2025, doi: 10.1016/j.jsv.2024.118796.

[32] Y. S. Lee, S. K. Ooi, and J. Chen, “A novel multi-step prediction model for process monitoring,” Int. J. Adv. Intell. Inform., vol. 10, no. 2, pp. 333–347, 2024, doi: 10.26555/ijain.v10i2.1528.

[33] A. Pranolo, A. Pujiyanta, and S. Supriyanto, “Synergistic preprocessing approaches for improved time series analysis,” Int. J. Adv. Intell. Inform., vol. 12, no. 1, pp. 16–37, 2026, doi: 10.26555/ijain.v12i1.2321.

[34] M. Raissi, P. Perdikaris, and G. E. Karniadakis, “Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations,” J. Comput. Phys., vol. 378, pp. 686–707, Feb. 2019, doi: 10.1016/j.jcp.2018.10.045.

[35] G. E. Karniadakis, I. G. Kevrekidis, L. Lu, P. Perdikaris, S. Wang, and L. Yang, “Physics-informed machine learning,” Nat. Rev. Phys., vol. 3, no. 6, pp. 422–440, Jun. 2021, doi: 10.1038/s42254-021-00314-5.

[36] H. Robinson, S. Pawar, A. Rasheed, and O. San, “Physics guided neural networks for modelling of non-linear dynamics,” Neural Netw., vol. 154, pp. 333–345, Oct. 2022, doi: 10.1016/j.neunet.2022.07.023.

[37] M. Šmíd and J. Duník, “Online Learning and Control for Data-Augmented Quadrotor Model,” 20th IFAC Symp. Syst. Identif. SYSID 2024, vol. 58, no. 15, pp. 223–228, Jan. 2024, doi: 10.1016/j.ifacol.2024.08.532.

[38] D. Bianchi, N. Epicoco, M. Di Ferdinando, S. Di Gennaro, and P. Pepe, “Physics-Informed Neural Networks for Unmanned Aerial Vehicle System Estimation,” Drones, vol. 8, no. 12, p. 716, 2024, doi: 10.3390/drones8120716.

[39] R. Wang and R. Yu, “Physics-Guided Deep Learning for Dynamical Systems: A Survey,” ACM Comput Surv, vol. 58, no. 5, Dec. 2025, doi: 10.1145/3766887.

[40] Y. Liu, S. Wang, J. Shi, and L. Hao, “Online Continual Physics-Informed Learning for Quadrotor State Estimation Under Wind-Induced Disturbances,” Aerospace, vol. 12, no. 8, 2025, doi: 10.3390/aerospace12080704.

[41] W. Liang, S. Meng, R. Zhang, and Q. Luo, “A Physics-Informed Dual-Branch LSTM Network for UAV Position and Attitude Estimation,” Sensors, vol. 26, no. 13, p. 4287, 2026, doi: 10.3390/s26134287.




Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

___________________________________________________________
International Journal of Advances in Intelligent Informatics
ISSN 2442-6571  (print) | 2548-3161 (online)
Organized by UAD and ASCEE Computer Society
Published by Universitas Ahmad Dahlan
W: http://ijain.org
E: info@ijain.org (paper handling issues)
 andri.pranolo.id@ieee.org (publication issues)

View IJAIN Stats

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0