Status: In development

Unknown Fault Detection for Drone Motors

Builds an operating baseline for drone motors from healthy-condition data, flags anomalies it has not seen before, and combines unknown-sample clustering, continual learning and an interactive demo to study how fault diagnosis can expand as new data arrives.

Focus
A cold start from healthy-condition data, combining open-set detection, unknown-sample clustering and continual learning.
My role
Capstone team member
Pythonscikit-learnHDBSCAN

Background: starting with only healthy-condition data

When equipment first goes into service, there are usually not enough fault cases yet, and a diagnostic model that must see every fault type in advance cannot help at that stage. This capstone project uses drone motors as its research setting. It first builds a baseline from healthy-condition data, then flags samples that drift away from known states, and studies how the system can extend its diagnosis as new faults gradually appear.

Turning sensor signals into comparable features

The project reuses three-axis vibration, current and temperature-difference data prepared in earlier research, along with the 105-dimensional features for each signal segment. These features describe different operating states and are scaled so that later methods compare samples in a consistent feature space. Data splitting, model fitting and threshold calibration are kept separate. Unknown faults and test data take no part in choosing thresholds, which lowers the risk of leaking the answers into the model during evaluation.

Recognizing samples outside the known states

The core pipeline measures how far a sample is from each known class with a per-class Mahalanobis distance, using Ledoit–Wolf shrinkage covariance estimates and a separate calibration set to set the decision scale. The project also provides a k-NN distance method, so different detection strategies can be compared under the same data split and evaluation conditions. When a sample is not similar enough to any known class, the system marks it as unknown instead of forcing it into an existing class. The score describes how different a sample is from the known data distribution; it is not the percentage of damage to the equipment.

Letting diagnosis grow with new faults

Unknown samples first accumulate in a quarantine area, where HDBSCAN looks for stable clusters that become candidate fault patterns. Once a new pattern is accepted, the system refits the relevant baselines so that similar samples arriving later can be recognized as a known class. The experiments study the effect of adding new classes automatically, while the interactive demo keeps steps for an operator to confirm or reject candidate clusters. A candidate cluster is a data pattern that needs review; forming a cluster alone does not establish the actual cause of a fault.

Understanding state changes through an interactive demo

A web dashboard replays the dataset sample by sample to simulate operating data flowing into the system. It shows healthy and anomalous decisions, the build-up of unknown samples and the confirmation of candidate clusters, and uses trends and a health map to make changes easier to follow and the method's decisions easier to understand. Batch experiments and the demo share the same core modules, so demo results can be checked against the experiment settings. The current live demo is mainly a data replay; it does not mean the system has been deployed in real time on a drone in flight.

Traceable method comparisons and results

Detection methods are compared with consistent data splits, calibration and random seeds, and the settings, metrics and outputs are saved. The research looks beyond whether anomalies are found: it also checks false alarms on healthy samples, how much data is needed before a new fault is discovered, and how results differ across motors and speeds. These experiments are meant to show when the methods apply, not to treat results from one dataset as a reliability guarantee for every device. The full code, experiment notes and current progress are available in the GitHub project.

Current limits and next steps

Different loose-screw configurations currently serve as fault proxies, and more real operating conditions are needed to test how well the methods generalize. Healthy-condition distributions can differ between motors and operating conditions, so one baseline cannot be assumed to apply to every device. The existing data also lacks the information needed to build a complete degradation history and failure point for the same unit. The relative health index helps compare states within the current data, but it should not be read as a damage percentage or remaining useful life. The project is still being developed and validated; the next priorities are adding data, reducing false alarms and defining the conditions for real deployment more clearly.

Projects