Source-linked AI summary
ALFA: A Dataset for UAV Fault and Anomaly Detection
Azarakhsh Keipour, Mohammadreza Mousaei, Sebastian Scherer
TL;DR
Real-flight evaluation of UAV fault-detection methods is difficult, while most proposed methods are tested in simulation and relatively few use substantial real-flight data. ALFA provides fault-labeled UAV flight data, tools, and evaluation metrics intended to support method testing and comparison.
Problem
Collecting real-aircraft fault data is difficult, and most proposed methods are tested in simulation while relatively few use substantial real-flight data.
Source: §1 · p. 1Method
ALFA packages processed and raw fixed-wing UAV flight sequences with fault-time/type ground truth, helper codes, and proposed evaluation metrics.
Source: §1 · pp. 1–2, §4 · p. 5Results
47 autonomous flights cover eight sudden control-surface fault types, including 23 full engine failures, with 66 minutes normal and 13 minutes post-fault flight.
Source: §1 · p. 1Takeaways & Limitations
ALFA is intended to support real-flight FDI and AD evaluation and method comparison, while a benchmark is identified as a useful future extension.
Source: §1 · p. 1, §5 · p. 5The dataset is incomplete: it covers sudden control-surface failures but not other UAV faults such as sensor issues or gradual errors.
Source: §5 · p. 5
Abstract
from arXiv · showhide
We present a dataset of several fault types in control surfaces of a fixed-wing Unmanned Aerial Vehicle (UAV) for use in Fault Detection and Isolation (FDI) and Anomaly Detection (AD) research. Currently, the dataset includes processed data for 47 autonomous flights with 23 sudden full engine failure scenarios and 24 scenarios for seven other types of sudden control surface (actuator) faults, with a total of 66 minutes of flight in normal conditions and 13 minutes of post-fault flight time. It additionally includes many hours of raw data of fully-autonomous, autopilot-assisted and manual flights with tens of fault scenarios. The ground truth of the time and type of faults is provided in each scenario to enable evaluation of the methods using the dataset. We have also provided the helper tools in several programming languages to load and work with the data and to help the evaluation of a detection method using the dataset. A set of metrics is proposed to help to compare different methods using the dataset. Most of the current fault detection methods are evaluated in simulation and as far as we know, this dataset is the only one providing the real flight data with faults in such capacity. We hope it will help advance the state-of-the-art in Anomaly Detection or FDI research for Autonomous Aerial Vehicles and mobile robots to enhance the safety of autonomous and remote flight operations further. The dataset and the provided tools can be accessed from https://doi.org/10.1184/R1/12707963.
1 Introduction
Testing UAV fault-detection methods on real aircraft is difficult, and most proposed methods are evaluated in simulation. The paper introduces ALFA, a fault-labeled flight dataset with tools intended to support evaluation and comparison.
- Learning-based methods can predict known faults with high precision but may struggle with new issues and depend on substantial training data.Source: §1 · p. 1
- Collecting real-aircraft fault data is costly and risky, while most proposed methods are tested in simulation and few use substantial real-flight data.The authors note that this makes comparisons between simulation-tested and real-flight-tested methods difficult.Source: §1 · p. 1
- ALFA contains processed data from 47 autonomous flights with eight types of sudden control-surface faults, including 23 full engine failures.It includes 66 minutes of normal flight and 13 minutes of post-fault flight time.Source: §1 · p. 1
- ALFA also includes hours of raw autonomous, autopilot-assisted, and manual flight data, with fault-time and fault-type ground truth for processed scenarios.The ground truth is provided to help evaluate new methods.Source: §1 · p. 1
- Helper codes in C++, Python, and MATLAB support working with the processed data and evaluating methods.Source: §1 · p. 2
- The precise robot dynamics model is not provided, so methods requiring it must estimate a model from data or combine general airplane dynamics with the hardware description.Source: §1 · p. 2
2 The Platform
The dataset uses a modified Carbon Z T-28 aircraft and custom autopilot software to create sudden actuator faults during autonomous flights. The onboard computer records flight data and fault ground truth, with a safety pilot able to take over.
2.1 Hardware Setup
- The modified Carbon Z T-28 has a 2-meter wingspan, electric engine, flight-control surfaces, PX4 autopilot, Pitot tube, GPS, and Jetson TX2 computer.Source: §2.1 · p. 2
2.2 Software
- Custom ArduPlane firmware adds parameters to simulate engine failure, stuck elevator, rudder hardover, and stuck ailerons.The rudder can be fixed left, right, or middle; the ailerons can be fixed individually or together.Source: §2.2 · p. 2
- Fault parameters operate only in autonomous mode, and the safety pilot can take over at any time, restoring disabled actuators and the engine.Source: §2.2 · p. 2
- The onboard computer records flight and state information as a ROS bag, while a node publishes fault ground truth by checking the custom parameters.The autonomous trajectory controller is modified to run on the onboard TX2 computer.Source: §2.2 · p. 2
- Modified firmware and MAVROS publish internal autopilot commands, such as commanded roll and pitch, at high frequency over MAVLink.Source: §2.2 · p. 2
3 Dataset
The section describes the dataset’s flight-data formats, fault coverage, recorded signals and ground truth, and tools for working with and evaluating the data.
3 Dataset
- The dataset was collected at an airport near Pittsburgh, and each flight sequence may contain only part of the full trajectory.Recorded portions can be extracted from the data.Source: §3 · p. 2
3.1 Data Formats
- Processed autonomous sequences contain at most one fault each, while raw flight logs, TX2 telemetry, and Pixhawk logs provide additional unprocessed data.Processed sequences are available as CSV, MATLAB, and ROS bag files; the unprocessed telemetry and Dataflash logs omit fault ground truth and may suit unsupervised detection.Source: §3.1 · p. 3
3.2 Fault Types
- A large portion of the processed dataset concerns engine failure, alongside varied faults intended to encourage methods that handle multiple fault types.The passage does not provide the fault-type table’s cell values.Source: §3.2 · p. 3, Table 1 · p. 3
3.3 Data Description
- Fault ground-truth topics appear only during faults and are recorded at about 5 Hz, so the first message may lag the fault by up to 0.2 seconds.The sequences also include measured and commanded roll, pitch, velocity, airspeed, and yaw at 20–25 Hz.Source: §3.3 · p. 4
3.4 Using the Dataset
- Provided tools load and iterate through data, plot topic fields, separate normal from post-fault flight, and report false positives and detection delays for evaluated methods.Base tools are available in C++11, MATLAB, and Python 3.x; evaluation code returns additional statistics.Source: §3.4 · p. 4
4 Evaluation Metrics
The evaluation metrics account for differences among methods and applications, including whether detection delay matters. The section proposes timing and classification measures for evaluating methods on the dataset.
4 Evaluation Metrics
- Metric choice depends on a method’s class, fault type, and application; detection delay can be critical online but less relevant or meaningless offline.For example, delay may be meaningless for fault classification methods.Source: §4 · p. 4
- Maximum detection time measures the fault-to-detection delay and is useful for online evaluation, where a large delay can lead to irreversible loss of vehicle control.The authors identify it as a useful metric for comparing online methods.Source: §4 · p. 5
- Average detection time summarizes a method’s overall detection-time performance across fault scenarios and is useful for evaluating online methods.Source: §4 · p. 5
- Accuracy uses the proportion of correctly classified sequences, while precision and recall reflect reliability among detections and in detecting fault-containing sequences, respectively.Accuracy is described as working best when false detections and false negatives have similar costs.Source: §4 · p. 5
5 Summary and Future Work
ALFA provides autonomous fixed-wing UAV flight data with control-surface fault scenarios for FDI and AD research. The dataset is incomplete, and the authors point to broader contributions and benchmarking as future work.
- ALFA provides autonomous fixed-wing UAV flight data with scenarios of different control-surface faults occurring mid-flight.Source: §5 · p. 5
- The dataset is not complete: it includes sudden control-surface failures but not other possible faults such as sensor issues or gradual errors.The authors invite contributions covering other fault types and platforms.Source: §5 · p. 5
- The authors provided base codes for dataset use and evaluation, and identify creating a benchmark as a way to improve comparisons with state-of-the-art methods.Source: §5 · p. 5