Submitted:
24 February 2024
Posted:
04 March 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
- (1)
- This paper proposes a multi-sensor digital modeling method for adapting to various UAV autopilot software platforms, which is divided into two parts: measurement model and communication modeling, and is verified on the FPGA platform. The simulation sensor model outputs the same digital signal as the real sensor product, realizing the interaction of sensing data between the simulation model and the autonomous driving hardware platform.
- (2)
- This article proposes a coarse-grained failure model of inertial measurement unit(IMU), barometer, magnetic compass sensor and global position system(GPS) receiver under the action of multiple common failure factors for the necessary sensor chips of the autonomous driving hardware platform. Used to provide rich fault data for UAV health management research work.
- (3)
- This article proposes a HIL platform for reliability verification of various autopilot systems, adapting to a variety of popular autonomous driving software platforms and hardware platforms as well as various types of UAV systems, including fixed-wing, multi-purpose Rotors, unmanned ships and unmanned vehicle systems. The platform has many excellent features such as high fidelity, ultra-high real-time performance, and black box testing.
2. Proposed HIL System Structure
2.1. RHILT
2.2. UVAS
2.3. HC
- (1)
- The vision software uses the latest unreal engine 5 to render flight simulation animations, and the simulation model of the UAV frame and terrain environment (including obstacles) can simulate the objective world with a high degree of realism. It receives flight simulation data in real time to determine the UAV attitude and position and other dynamic performance characteristics. At the same time, the fault injection effect can be qualitatively assessed by observing the UAV flight process.
- (2)
- The fault injection tool is used to trigger fault generation online. In this test method, engineers add fault test cases by setting fault modes, fault durations and fault intensities to simulate various fault cases that may occur in the sensor system.
- (3)
- On the one hand, the ground station formulates automatic test tasks (such as cruising, level flight, or hovering), and on the other hand, it monitors sensor data in real time to quantitatively evaluate the fault injection effect.
2.4. RC
3. Unmanned Vehicle Model
4. Sensor Digital model
4.1. Sensor Data Source
| Algorithm 1: Calculate sensor data |
![]() |
4.2. Measurement Model
4.2.1. IMU Model
4.2.2. Compass Model
4.2.3. Barometer Model
4.2.4. GPS Receiver Model
4.3. Communication Adapter Model
5. Sensor Fault Model
5.1. Measurement Model Fault Scheme
5.1.1. Scale Fault
5.1.2. Bias Fault
5.1.3. Drift Fault
5.1.4. Noise Fault
5.1.5. Spike Fault
5.2. Communication Model Fault Scheme
5.2.1. Noise Fault
5.2.2. Open Circuit Fault
5.2.3. Short Circuit Fault
5.3. Fault Inject Progress
6. Experiments and Verification
6.1. HIL Platform Function Verification
6.2. Simulation Reliability Assessment
6.3. Proposed Platform Application
6.3.1. Fault Generation
6.3.2. Reliability Testing
6.4. Videos and Source Code
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
| 1 |
References
- Dai, X.; Quan, Q.; Ren, J.; Cai, K.Y. An Analytical Design-Optimization Method for Electric Propulsion Systems of Multicopter UAVs With Desired Hovering Endurance. IEEE/ASME Trans. Mechatron. 2019, 24, 228–239. [Google Scholar] [CrossRef]
- Asignacion, A.; Satoshi, S. Historical and Current Landscapes of Autonomous Quadrotor Control: An Early-Career Researchers’ Guide. Drones 2024, 8. [Google Scholar] [CrossRef]
- Baldi, S.; Roy, S.; Yang, K.; Liu, D. An Underactuated Control System Design for Adaptive Autopilot of Fixed-Wing Drones. IEEE/ASME Trans. Mechatron. 2022, 27, 4045–4056. [Google Scholar] [CrossRef]
- Shen, K.; Wang, M.; Fu, M.; Yang, Y.; Yin, Z. Observability Analysis and Adaptive Information Fusion for Integrated Navigation of Unmanned Ground Vehicles. IEEE Trans. Ind. Electron. 2020, 67, 7659–7668. [Google Scholar] [CrossRef]
- Raber, G.T.; Schill, S.R. Reef Rover: A Low-Cost Small Autonomous Unmanned Surface Vehicle (USV) for Mapping and Monitoring Coral Reefs. Drones 2019, 3. [Google Scholar] [CrossRef]
- Xing, L.; Johnson, B.W. Reliability Theory and Practice for Unmanned Aerial Vehicles. IEEE Internet Things J. 2023, 10, 3548–3566. [Google Scholar] [CrossRef]
- He, K.; Yu, D.; Wang, D.; Chai, M.; Lei, S.; Zhou, C. Graph Attention Network-Based Fault Detection for UAVs With Multivariant Time Series Flight Data. IEEE Trans. Instrum. Meas. 2022, 71, 1–13. [Google Scholar] [CrossRef]
- Yang, P.; Geng, H.; Wen, C.; Liu, P. An Intelligent Quadrotor Fault Diagnosis Method Based on Novel Deep Residual Shrinkage Network. Drones 2021, 5. [Google Scholar] [CrossRef]
- Ma, Z.; Gong, H.; Wang, X. Fault-Tolerant Event-Triggrred Control for Multiple UAVs with Predefined Tracking Performance. Drones 2024, 8. [Google Scholar] [CrossRef]
- Nguyen, N.P.; Pitakwatchara, P. Attitude Fault-Tolerant Control of Aerial Robots with Sensor Faults and Disturbances. Drones 2023, 7. [Google Scholar] [CrossRef]
- Zhongyi, C.; Zezhou, W.; Keqiang, X.; Shaoliang, L.; Bingye, Y. Health index construction and remaining useful lifetime prediction of aviation products based on multi-source degradation data fusion. 2022 Glob. Reliab. Progn. Health Manag. Conf., PHM-Yantai, 2022, pp. 1–5. [CrossRef]
- Xu, J.; Wang, Y.; Xu, L. PHM-Oriented Integrated Fusion Prognostics for Aircraft Engines Based on Sensor Data. IEEE Sensors J. 2014, 14, 1124–1132. [Google Scholar] [CrossRef]
- Wang, Y.; Wang, X.; Shen, L. Approximate Optimal Curve Path Tracking Control for Nonlinear Systems with Asymmetric Input Constraints. Drones 2022, 6. [Google Scholar] [CrossRef]
- Zhao, B.; Xian, B.; Zhang, Y.; Zhang, X. Nonlinear Robust Adaptive Tracking Control of a Quadrotor UAV Via Immersion and Invariance Methodology. IEEE Trans. Ind. Electron. 2015, 62, 2891–2902. [Google Scholar] [CrossRef]
- Xiao, K.; Tan, S.; Wang, G.; An, X.; Wang, X.; Wang, X. XTDrone: A Customizable Multi-rotor UAVs Simulation Platform. 2020 4th Int. Conf. Robot. Autom. Sci., ICRAS, 2020, pp. 55–61. [CrossRef]
- Khaliq, S.; Ahsan, S.; Nisar, M.D. Multi-Platform Hardware In The Loop (HIL) Simulation for Decentralized Swarm Communication Using ROS and GAZEBO. 2021 Proc. - IEEE Int. Symp. World Wirel., Mob. Multimed. Networks, WoWMoM, 2021, pp. 310–315. [CrossRef]
- Bahl, N.; Sahu, P.; Sharma, P.; Gautam, P.; Singh, A.; Srivastava, A. Design of an Autonomous UAV for Racing Applications. 2022 8th Int. Conf. Signal Process. Commun., ICSC 2022, 2022, pp. 91–96. [Google Scholar]
- Szolc, H.; Kryjak, T. Hardware-in-the-loop simulation of a UAV autonomous landing algorithm implemented in SoC FPGA. 2022 Signal Process. - Algorithms, Architect., Arrange., Appl. Conf. Proc., SPA, 2022, pp. 135–140. [CrossRef]
- Guerra, W.; Tal, E.; Murali, V.; Ryou, G.; Karaman, S. Flightgoggles: A modular framework for photorealistic camera, exteroceptive sensor, and dynamics simulation. arXiv preprint arXiv:1905.11377 2019. [CrossRef]
- Gong, S.; Meng, S.; Wang, B.; Liu, D. Hardware-In-the-Loop Simulation of UAV for Fault Injection. 2019 Progn. Syst. Heal. Manag. Conf., PHM-Qingdao, 2019, pp. 1–6. [CrossRef]
- Khan, A.; Ivaki, N.; Madeira, H. Are UAVs’ Flight Controller Software Reliable? 2022 IEEE 27th Proc. IEEE Pac. Rim Int. Symp. Dependable Comput., PRDC 2022. IEEE, 2022, pp. 194–204. [CrossRef]
- Tsmots, I.; Teslyuk, V.; Łukaszewicz, A.; Lukashchuk, Y.; Kazymyra, I.; Holovatyy, A.; Opotyak, Y. An Approach to the Implementation of a Neural Network for Cryptographic Protection of Data Transmission at UAV. Drones 2023, 7. [Google Scholar] [CrossRef]
- Hosseinabadi, A.H.H.; Black, D.G.; Salcudean, S.E. Ultra low-noise FPGA-based six-axis optical force–torque sensor: Hardware and software. IEEE Transactions on Industrial Electronics 2020, 68, 10207–10217. [Google Scholar] [CrossRef]
- Dai, X.; Ke, C.; Quan, Q.; Cai, K.Y. RFlySim: Automatic test platform for UAV autopilot systems with FPGA-based hardware-in-the-loop simulations. Aerosp. Sci. Technol. 2021, 114, 106727. [Google Scholar] [CrossRef]
- Ebeid, E.; Skriver, M.; Terkildsen, K.H.; Jensen, K.; Schultz, U.P. A survey of open-source UAV flight controllers and flight simulators. Microprocess. Microsy. 2018, 61, 11–20. [Google Scholar] [CrossRef]
- Quan, Q., Dynamic Model and Parameter Measurement. In Introduction to Multicopter Design and Control; Springer Singapore: Singapore, 2017; pp. 121–143 [CrossRef]
- Agency, D.M. Department of Defense World Geodetic System 1984: its definition and relationships with local geodetic systems. Defense Technical Information Center 1991. [Google Scholar]
- Huang, F.; Wang, Z.; Xing, L.; Gao, C. A MEMS IMU gyroscope calibration method based on deep learning. IEEE Trans. Instrum. Meas. 2022, 71, 1–9. [Google Scholar] [CrossRef]
- Trawny, N.; Roumeliotis, S.I. Indirect Kalman filter for 3D attitude estimation. University of Minnesota, Dept. of Comp. Sci. & Eng., Tech. Rep 2005, 2, 2005. [Google Scholar]
- Li, H.; Gou, L.; Chen, Y.; Li, H. Fault Diagnosis of Aeroengine Control System Sensor Based on Optimized and Fused Multidomain Feature. IEEE Access 2022, 10, 96967–96983. [Google Scholar] [CrossRef]
- Bao, X.; Xiong, Z.; Sheng, S.; Dai, Y.; Bao, S.; Liu, J. Barometer measurement error modeling and correction for UAH altitude tracking. 2017 29th Proc. Chin. Control Decis. Conf., CCDC. IEEE, 2017, pp. 3166–3171. [CrossRef]
- Ahuatzin-Flores, G.; Tang, Y.; Espíndola-López, E. Navigation observer design using vector measurements and a GPS sensor. IEEE Sensors J. 2023. [Google Scholar] [CrossRef]
- Chen, S.; Zhao, Q.; Cui, J. Effect of Proton Radiation on Mechanical Structure of Silicon MEMS Inertial Devices. IEEE Trans. Electron Devices 2022, 69, 5155–5161. [Google Scholar] [CrossRef]
- Dai, X.; Ke, C.; Quan, Q.; Cai, K.Y. Simulation Credibility Assessment Methodology With FPGA-based Hardware-in-the-Loop Platform. IEEE Trans. Ind. Electron. 2021, 68, 3282–3291. [Google Scholar] [CrossRef]
- Ke, C.; Cai, K.Y.; Quan, Q. Uniform Fault-Tolerant Control of a Quadcopter With Rotor Failure. IEEE/ASME Trans. Mechatron. 2023, 28, 507–517. [Google Scholar] [CrossRef]










| Devices | Performance, purpose and access |
|---|---|
| RHILP | AXU2CGB-E MPSoCs: https://www.xilinx.com/products/boards-and-kits/1-1jl2mmo.html |
| MPSoC(2x ARM Cortex™-A53 processors): Running Figure 2 Model | |
| FPGA(XCZU2CG-1SFVC784E): Running Figure 4 Model | |
| HC | GPU : NVIDIA Geforce RTX 3070 CPU : 12th Gen Intel® Core™ i7-12700F |
| Rflysim3D:https://rflysim.com/en/4_Pro/Customizationof3DScenarios.html | |
| QGroundControl: http://qgroundcontrol.com/ | |
| Mission planner: https://ardupilot.org/planner/ | |
| Fault Injection Application: (introduction in this article) | |
| UVCS | Pixhawk4: https://docs.px4.io/v1.12/en/flight_controller/pixhawk4.html |
| CubeOrange: https://cubepilot.org/ | |
| ZY-H7: https://doc.rflysim.com/hardware/2pixhwak/zy_H7.html | |
| PX4 Autopilot(PX4): https://px4.io/ | |
| ArduPilot Mega(APM): https://www.ardupilot.co.uk/ |
| Test Phase | Parameter Error | Error Threhold | Credibility Index |
|---|---|---|---|
| x-axis | 0.000900 | 0.002517 | 90.259640% |
| y-axis | 0.000744 | 0.002607 | 93.463131% |
| z-axis | 0.000759 | 0.002493 | 92.652503% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
