Arc Fault Detection

Introduction

AI-based arc fault detection example showcasing how to deploy machine learning models for real-time electrical arc fault classification, helping prevent electrical hazards through early detection.

Dataset and Model Details

Dataset

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

Model Architecture

  • Lightweight classification model CLS_1k_NPU has ~ 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.

  • Inference run on TinyEngine NPU

Input Features

The model takes 4D input (N,C,H,W):

  • N (1): batch size which is restricted to 1

  • C (1): channels which is 1 for single DC current

  • H (256): samples of timeseries DC current which is 256 in this example

  • W (1): width of samples is restricted to 1 for timeseries applications

Output Classes

  • Class 0 - Normal Operation

  • Class 1 - Arc Fault

Feature Extraction Configuration

The feature extraction pipeline is configured for frequency analysis of DC current signals

  • FE_WIN: Applies windowing to reduce spectral leakage

  • FE_FFT: Performs Fast Fourier Transform (1024-point)

  • FE_NORMALIZE: Scales FFT output by frame size

  • FE_BIN: Groups frequencies into 256 bins

  • FE_LOG: Applies logarithmic scaling

  • FE_CONCAT: Combines outputs from multiple frames

The pipeline takes 1024-sample frames, computes FFT, and bins to 256 features. Arc faults exhibit distinctive frequency signatures that differ from normal operation.