Supplementary experiments to verify data support ability based on transfer learning

1.Abstract

In the real flight data set, 7 kinds of faults are involved, including motor fault, sensor noise, accelerometer fault, GPS fault, magnetometer fault, barometer fault, gyroscope fault, and 5 different flight status, including hover, waypoints, circling, acceleration, and velocity control. In our data paper, it has been verified that the SIL and HIL data of the single motor fault in hovering state have good supporting ability to the real flight data. To further verify the data set quality, different fault conditions and flight status data are tested, with analysis the support ability of simulation to real flight data and SIL data to HIL data through the method of transfer learning, so as to comprehensively verify the quality of SIL and HIL data set.

2.Experimental Data and Preprocessing

In the experiments, the ULog in real flight and GTData in simulation are used to diagnosis fault in the different flight status. The diagonal sizes of the simulated aircraft and the actual aircraft are both 450mm. Faults’ descriptions as shown in Table 1. Experiments 1 to 8 verify the data quality in different fault states. Experiment 1 and Experiments 9 to 12 verify the data quality in different flight status.

Selecting a set of experimental data in each flight status or fault states. One set of data contains 600 pieces of SIL data samples, 600 pieces of HIL data samples, and 600 pieces of real flight data samples. In the experiment, 400 pieces of each kind of samples respectively described as DSIL, DHIL and DR. 140 pieces of HIL data and 140 pieces of real flight data are used as two different test set DTestR and DTestHIL.

Each experiment carries out 3 kinds of tests: a. SIL support capability test on real flight data. The test set is DTestR, the training set is DSIL10%DR. b. HIL support capability test on real flight data. The test set is DTestR, the training set is DHIL10%DR.
c. SIL support capability test on HIL. The test set is DTestHIL, and the training set is DSIL10%DHIL.

No.Flight statusFault statesTraining setsTest sets
1HoverOne motor fault: pulling force of one motor fails from 100% to 80% from a certain moment. (The data and results are described in the paper)



2Two motors fault: pulling force of two motors fail from 100% to 80% from a certain moment.
3Sensor noise fault: there is noise in the barometer measurement, μ is 0 and δ is 20.
4Accelerometer fault:the measured value is 5% greater than the true value.
5GPS fault: X-axis data is 1.000015 times larger than the true value.
6Magnetometer fault: the measured value is 5% greater than the true value.
7Barometer fault: the measured value is 5% greater than the true value.
8Gyroscope fault: the measured value is 10% greater than the true value.
9WaypointsOne motor fault: pulling force of one motor fails from 100% to 80% from a certain moment.
10Circling
11Acceleration
12Velocity Control

The data preprocessing process is consistent with Section 4.1 of our data paper. After preprocessing, each sample contains timestamps and 12 characteristic information such as velocity, angular velocity, acceleration, and Euler angle in three dimensions.

3.Model and Domain Adaptation Algorithms

The model used in the experiment is consistent with the improved LeNet-5 model described in our data paper. The domain adaptation algorithm1 is AdaBN2. Epochs are set to 10 in different experiments, and the average prediction accuracy is calculated after multiple training. Experiments are implemented using Google’s Tensorflow toolbox3.

4.Experimental results

4.1 Experiments under different fault states

(1) SIL data support real flight data test

In the experiments, the best result of average accuracy is 98.2%, which is under single motor fault state, and the worst result of that is 82.12% under the state of magnetometer fault. The average accuracy of SIL support real flight data for 8 faults state is 89.7%.

(2) HIL data support real flight data test

In the experiments, the best result is also the data under the single motor fault state, the accuracy is 99.1%, and the worst is under the magnetometer fault state, that is 84.1%. The average accuracy of 8 kinds of fault states is 90.5%. Secondly, the overall level of HIL supporting real flight data is higher than that of SIL, indicating that HIL is closer to real flight data than SIL.

The fault prediction accuracy of magnetometer is lower than that of other fault states, mainly because the flight control on heading is based on the fusion sensor data strategy, and the control module automatically selects sensor data such as magnetometer and GPS to analyze the heading of UAV through calculation. As a result, magnetometer failures cannot be fully reflected by flight trajectory and attitude. If a magnetometer failure is to be fully represented, other types of data are required.

(3) SIL data support HIL data test

In the experiments, the experimental results under 8 fault states are all higher than 95%, and the average accuracy is 98.6%, indicating that the SIL and HIL data are close, and the SIL supports HIL well.

4.2 Experiments under different flight status

Through the experiments, the following conclusions can be drawn.

5. Conclusion

In general, the qualities of simulation data (SIL, HIL) under different fault states and different flight status are high, and they have good supporting ability for real flight data. Simulation data can be used to replace real flight data, and HIL can be replaced by SIL in subsequent experiments and applications, thus reducing costs.

 


1 Zhuang F , Qi Z , Duan K ,et al.A Comprehensive Survey on Transfer Learning[J]. 2019.DOI:10.48550/arXiv.1911.02685.
2 Li, et al. "Adaptive Batch Normalization for practical domain adaptation." Pattern Recognition the Journal of the Pattern Recognition Society (2018).
3 Martín Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Rafal Jozefowicz, Yangqing Jia, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mané, Mike Schuster, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viégas, Oriol Vinyals, Pete Warden, Martin Wattenberg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. Software available from tensorflow.org.