Detection of visual faults in photovoltaic modules using a stacking ensemble approach

Heliyon. 2024 Mar 8;10(6):e27894. doi: 10.1016/j.heliyon.2024.e27894. eCollection 2024 Mar 30.

Abstract

Faults in photovoltaic (PV) modules may occur due to various environmental and physical factors. To prevent faults and minimize investment losses, fault diagnosis is crucial to ensure uninterrupted power production, extended operational lifespan, and a high level of safety in PV modules. Recent advancements in inspection techniques and instrumentation have significantly reduced the cost and time required for inspections. A novel stacking-based ensemble approach was performed in the present study for the accurate classification of PV module visible faults. The present study utilizes AlexNet (a pre-trained network) to extract image features from the aerial images of PV modules with the aid of MATLAB software. Furthermore, J48 algorithm was applied to perform the feature selection task to determine the most relevant features. The features derived as output from the J48 algorithm were passed onto train eight base classifiers namely, Naïve Bayes, logistic regression (LR), J48, random forest (RF), multilayer perceptron (MLP), logistic model tree (LMT), support vector machines (SVM) and k-nearest neighbors (kNN). The best performing five classifiers on the front run with higher classification accuracies were selected to formulate three categories of stacking ensemble groups as follows: (i) three-class ensemble (SVM, kNN, and LMT), (ii) four-class ensemble (SVM, kNN, LMT, and RF), and (iii) five-class ensemble (SVM, kNN, LMT, RF, and MLP). A comparison in the performance of the aforementioned stacked ensembles was evaluated with different meta classifiers. The obtained results infer that the four-class stacking ensemble model (SVM, kNN, LMT, and RF) with RF as the predictor achieved the highest possible classification accuracy of 99.04%.

Keywords: Convolutional neural networks unmanned aerial vehicle; Deep learning; Photovoltaic modules; Stacking ensemble.