An arc fault is an unintended electrical discharge that occurs when electrical current flows through the air between conductors or from a conductor to ground. Arc faults generate intense heat that can ignite surrounding materials and cause electrical fires. Unlike short circuits that typically trigger circuit breakers immediately, arc faults may draw current below the trip threshold while still producing dangerous heat. In DC systems like solar installations, arc faults are particularly concerning as they can sustain more easily than in AC systems.
This project demonstrates implementation of an AI-based arc fault detection system on AM26x microcontrollers. It showcases how to deploy machine learning models for real-time electrical arc fault classification in embedded systems, helping prevent electrical hazards through early detection.
| Parameter | Value |
|---|---|
| CPU + OS | r5fss0-0 nortos |
| Toolchain | ti-arm-clang |
| Board | am261x-lp |
| Example folder | examples/ai/arc_fault/ |
TI has created a specialized arc fault dataset containing DC current measurements under various voltage and current configurations.
| Parameter | Value |
|---|---|
| Sensor | Current Meter |
| Channels | 1 (DC Current) |
| Samples per File | 250,000 |
| Total Files | 24 files (12 files in each of 2 classes) |
| Voltage Configurations | 312 V, 318 V, 607 V |
| Current Configurations | 3 A, 8 A, 8.5 A |
Output Classes:
This lightweight classification model CLS_1k_NPU contains approximately 1,000 parameters and follows a streamlined architecture consisting of four convolutional layers (each enhanced with BatchNorm and ReLU activation functions) followed by a single linear layer.
The model takes 4D input (N,C,H,W):
This model produces a 1D output representing the two possible classes - normal operation or arc fault condition - providing a straightforward binary classification decision.
The feature extraction pipeline is configured for frequency analysis of DC current signals:
The pipeline takes 1024-sample frames, computes FFT, and bins to 256 features. Arc faults exhibit distinctive frequency signatures that differ from normal operation.