Benchmarking RF, KNN, MLP, and CNN for FFT-Based PV Arc Fault Detection: Scaling Choice, Temporal Cross-Validation, and Latency Trade-Offs Toward Edge Deployment

Ensuring the safety and reliability of photovoltaic (PV) installations requires accurate electrical arc fault detection. This work presents a computational arc fault detection framework that combines fixed-length windowing, Fast Fourier Transform (FFT)-based features, and supervised machine learning classifiers. Data were acquired using an Arc Fault Circuit Interrupter (AFCI) test bench developed based on IEC 63027. Current and voltage signals were partitioned into 200-sample windows, DC-offset corrected, and Hann-windowed signals. Each window generated 204 statistical and spectral attributes used to train and evaluate Random Forest (RF), K-Nearest Neighbors (KNN), Multilayer Perceptron (MLP), and Convolutional Neural Network (CNN) models. Hyperparameters were tuned by grid search with TimeSeriesSplit cross-validation, comparing min–max normalization and Z–Score standardization. On a 15% hold-out test set, CNN with Z–Score achieved F1 = 0.9982 and recall = 0.9975, followed by MLP (F1 = 0.9957) and RF (F1 = 0.9821). Amortized per-window inference latencies were ≈ 0.0035 ms for RF, ≈ 0.0016 ms for MLP with Z–Score, and ≈ 0.032 ms for CNN. These classifier-stage timings indicate computational compatibility with edge-oriented implementation but do not constitute an end-to-end IEC 63027 AFCI compliance assessment. The framework targets integration into PV inverters at Mackenzie Presbyterian University’s solar plant.

Authors

Institutions

Publication Details

Journal
Energies
Published
2026-08-12
DOI
https://doi.org/10.3390/en19163787
Primary Topic
Electrical Fault Detection and Protection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Benchmarking RF, KNN, MLP, and CNN for FFT-Based PV Arc Fault Detection: Scaling Choice, Temporal Cross-Validation, and Latency Trade-Offs Toward Edge Deployment

José César de Souza Almeida Neto, Fábio Jesus Moreira de Almeida, Bruno Luis Soares De Lima, M. I. P. de Oliveira et al.
Energies
Electrical Fault Detection and Protection
article

Benchmarking RF, KNN, MLP, and CNN for FFT-Based PV Arc Fault Detection: Scaling Choice, Temporal Cross-Validation, and Latency Trade-Offs Toward Edge Deployment

José César de Souza Almeida Neto, Fábio Jesus Moreira de Almeida, Bruno Luis Soares De Lima, M. I. P. de Oliveira, Filipe Ramos
article en

Abstract

Ensuring the safety and reliability of photovoltaic (PV) installations requires accurate electrical arc fault detection. This work presents a computational arc fault detection framework that combines fixed-length windowing, Fast Fourier Transform (FFT)-based features, and supervised machine learning classifiers. Data were acquired using an Arc Fault Circuit Interrupter (AFCI) test bench developed based on IEC 63027. Current and voltage signals were partitioned into 200-sample windows, DC-offset corrected, and Hann-windowed signals. Each window generated 204 statistical and spectral attributes used to train and evaluate Random Forest (RF), K-Nearest Neighbors (KNN), Multilayer Perceptron (MLP), and Convolutional Neural Network (CNN) models. Hyperparameters were tuned by grid search with TimeSeriesSplit cross-validation, comparing min–max normalization and Z–Score standardization. On a 15% hold-out test set, CNN with Z–Score achieved F1 = 0.9982 and recall = 0.9975, followed by MLP (F1 = 0.9957) and RF (F1 = 0.9821). Amortized per-window inference latencies were ≈ 0.0035 ms for RF, ≈ 0.0016 ms for MLP with Z–Score, and ≈ 0.032 ms for CNN. These classifier-stage timings indicate computational compatibility with edge-oriented implementation but do not constitute an end-to-end IEC 63027 AFCI compliance assessment. The framework targets integration into PV inverters at Mackenzie Presbyterian University’s solar plant.

EnergiesVol. 19(16)
Universidade Presbiteriana Mackenzie (BR)
Openalex Percentile: Top 18%
Electrical Fault Detection and Protection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon