The st_dense model is a lightweight fully connected neural network designed for arc fault detection (normal vs arc). It operates both on frequency and time domain. The provided models operate on frequency‑domain inputs derived from a 1024‑sample time window; thanks to spectrum symmetry, only the first 512 frequency bins are retained. A preprocessing pipeline performs downsampling, FFT conversion, and normalization, so the model directly consumes normalized spectral features rather than raw waveforms. Internally, the model applies batch normalization and two small dense layers with 16 and 8 units, using ReLU activations and light dropout. A final dense layer with softmax activation produces per‑channel class probabilities.
Two variants are provided: a single‑channel model with input shape (1 × 512 × 1) and output shape (1 × 2), and a multi‑channel model with input shape (8 × 512 × 1) and output shape (8 × 2).
The afd_test_bench dataset was generated by ST on a controlled test bench for an arc vs normal operating condition classification task. It contains 7000 waveforms, each of length 1024 samples, acquired at a sampling frequency of 125 kHz. Each line in the CSV files corresponds to a single waveform and is followed by its binary class label, where 1 = arc and 0 = normal operation. The dataset is split into 5000 samples for training, 1000 for validation, and 1000 for testing. An additional 40 samples composed by 20 arcs followed by 20 normal samples are available for prediction/inference purposes. All CSV files are named to reflect their specific role and are packaged into a single archive, afd_test_bench.zip, available in the 'stm32ai-modelzoo-services' under the use case arc_fault_detection.