Next Article in Journal
Fractional-Order PID Controller (FOPID)-Based Iterative Learning Control for a Nonlinear Boiler System
Previous Article in Journal
New Optical System for Long Distance Control of Electrical Energy Flows
Previous Article in Special Issue
Recent Progress in Transparent Conductive Materials for Photovoltaics
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Comparison and Introduction of Novel Solar Panel’s Fault Diagnosis Technique Using Deep-Features Shallow-Classifier through Infrared Thermography

1
Department of Energy, Aalborg University, 9220 Aalborg, Denmark
2
Department of Unmanned Vehicle Engineering, Sejong University, Seoul 05006, Republic of Korea
3
School of Electrical Mechanical and Infrastructure Engineering, University of Melbourne, Parkville, VIC 3010, Australia
4
Department of Mechanical and Production Engineering, Aarhus University, 8000 Aarhus, Denmark
5
Department of Intelligent Mechatronics, Sejong University, Seoul 05006, Republic of Korea
*
Authors to whom correspondence should be addressed.
Energies 2023, 16(3), 1043; https://doi.org/10.3390/en16031043
Submission received: 23 November 2022 / Revised: 11 January 2023 / Accepted: 13 January 2023 / Published: 17 January 2023
(This article belongs to the Special Issue Advances in Tandem Architectures toward High-Efficiency Solar Cells)

Abstract

:
Solar photovoltaics (PV) are susceptible to environmental and operational stresses due to their operation in an open atmosphere. Early detection and treatment of stress prevents hotspots and the total failure of solar panels. In response, the literature has proposed several approaches, each with its own limitations, such as high processing system requirements, large amounts of memory, long execution times, fewer types of faults diagnosed, failure to extract relevant features, and so on. Therefore, this research proposes a fast framework with the least memory and computing system requirements for the six different faults of a solar panel. Infrared thermographs from solar panels are fed into intense and architecturally complex deep convolutional networks capable of differentiating one million images into 1000 classes. Features without backpropagation are calculated to reduce execution time. Afterward, deep features are fed to shallow classifiers due to their fast training time. The proposed approach trains the shallow classifier in approximately 13 s with 95.5% testing accuracy. The approach is validated by manually extracting thermograph features and through the transfer of learned deep neural network approaches in terms of accuracy and speed. The proposed method is also compared with other existing methods.

1. Introduction

With the exponential increase in energy demand due to population growth, and the United Nations’ sustainable development goal to facilitate the world with affordable and clean energy in the context of global climate change under the Paris climate accord, much research has been required, since 73% of greenhouse gas emissions are due to the energy sector [1,2,3]. However, the photovoltaic (PV) system’s energy output without stack emissions reduces the dependence on conventional technologies, effectively mitigating greenhouse emissions [4]. This has resulted in higher penetration of PV systems into the main grid globally, as PV, along with wind, is estimated to meet 88% of the global energy demand by 2050 [5]. The global penetration of PV systems and the increasing volume of solar PV installed capacity from 2011 to 2021 are depicted in Figure 1.
In the presence of environmental stresses experienced during its operation, the PV system faces issues like hotspots and faults due to defects arising from natural parameters such as bird droppings, shading, snow, dust, etc. This decreases the PV system’s performance, creates reliability issues, and increases the payback time [4,5,7,8,9,10,11,12,13,14,15]. These pollutants’ accumulation on the PV panel surface reduces photon transmission, in turn reducing the activation energy for valence electrons. The PV cells beneath pollutants operate in the reverse region (higher resistance), restrict the current coming from healthy PV cells due to their series connection, and create localized high-temperature areas known as hotspots [4,5,16]. The existence of hotspots for a longer period may lead to irreversible damage to PV panels, such as wire meltdown, burning, cracks, etc. Therefore, it requires replacing the PV panel with a new one of a similar rating [16]. Around 18% and 23% of defect sources are hotspots and cell cracks, respectively [17].
Therefore, PV system health monitoring and identifying defects are of utmost importance to maintain the system’s performance, reliability, cash flows, and greenhouse gas mitigation potential [4,5,9,18]. The PV system faces issues at the module level (protection breakdown, bypass diode failure, hotspots, wiring, shade, mismatches, etc.) and array level (electrical mismatch, faults, etc.) [18]. Figure 2 shows the protection breakdown of the PV module. However, all the PV system issues are not identifiable by the naked eye, and automation is highly desirable, especially in megawatt projects [4,5]. Therefore, multiple approaches are widely used in the literature to identify and classify based on PV panel health, such as electrical signals (current and voltage characteristics [I–V]), infrared thermographs, electroluminescence, fluorescence, photoluminescence, etc. [4,5,11,19,20,21,22,23]. Monitoring PV systems has its advantages and limitations. For instance, I–V-based measurements are convenient with instant feedback (sensors) capability for PV condition monitoring [17].
However, infrared thermographs are widely used due to their cost-effectiveness, speed, accuracy, low storage requirements, non-invasive approach, etc. [4].

Relevant Previous Studies—PV System Monitoring

Until recently, electrical signal analysis and PV imaging were widely used to identify and classify PV panels based on their faults and health. Since research on fault diagnosis has focused on factors such as accuracy, speed, precision of identified faults and so on, artificial intelligence models (AIM) are widely used, such as backpropagation AIM, generalized regression AIM, probabilistic AIM, radial basis function AIM, etc. [24]. Lin et al. [25] investigated faults caused by line-to-line, open-circuit, and partial-shading conditions, as measured by a decrease in the instantaneous maximum power point current under various conditions. Garoudja et al. [26] utilized probabilistic neural networks on the DC parameters of the PV system to detect and diagnose three different faults. Aziz et al. [11] used irradiance, temperature, short circuit current, open-circuit voltage, PV current, maximum power point current, maximum power point voltage, and maximum power point power and boost converter output as data points to evaluate no fault, line-to-line, open circuit, partial shading, fault in partial shading, and series arc fault cases using fine-tuned AlexNet as a feature extractor and classifier, and pre-trained AlexNet to extract features and classify through support vector machine or random forest.
In contrast, Natsheh et al. [16] used tree hierarchy to model PV systems and utilized fuzzy nonlinear autoregressive networks with exogenous inputs for diagnosis, classification, and source of fault identification. Moreover, Belaout et al. [27] proposed a multi-class adaptive neuro-fuzzy classifier for five PV fault classifications and reduced the dimensions of features to speed up the process. Chen et al. [21] used a random forest ensemble algorithm to diagnose early faults (line-to-line, degradation, open circuit, and partial shading) of PV arrays using the voltage and current of PV strings. Chen et al. [22] proposed using voltage, current, irradiance, and temperature to detect and diagnose faults using a two-dimensional ResNet structure trained by an adaptive moment estimation algorithm.
Building on this, Tuupke et al. [19] presented photoluminescence imaging advantages for photovoltaic applications. Through current-voltage and electroluminescence, Eder et al. [20] investigated the detection proportion for mechanically-induced failures such as glass cracks, solar cells, microcracks, and defects in cell connection systems, as well as their propagation in artificially-created stresses and environmental conditions. Moreover, the failure detection proportion was investigated through ultraviolet fluorescence imaging. Ahmed et al. [4] used infrared thermographs to monitor the health of the PV system through an isolated neural network and used a transfer learning approach to detect five different faults in the PV system. Ali et al. [5] extracted features such as texture, the mean histogram of an oriented gradient, and the local binary pattern of infrared thermographs to classify PV panels into three classes based on their health using shallow classifiers. In addition, Niazi et al. [10] used infrared thermographs to classify PV panels based on health (hotspot, defective, healthy) using texture features, histograms of oriented gradients, and principal component analysis to reduce feature dimensionality and feed the features to a naive Bayes classifier. Niazi et al. [9] used the mean of texture features to classify PV panels as either healthy or defective using a naive Bayes classifier using infrared thermographs.
Moreover, Pierdicca et al. [18] used augmented infrared data to classify PV panels as damaged or healthy using a deep convolutional neural network. Ali et al. [28] used a color image scale-invariant feature transform descriptor to train a shallow classifier k-nearest neighbors (k-NN) to predict the health of PV panels as healthy, faulty, or hotspots. Ahmed et al. [29] converted IR thermographs into feature histograms by extracting SURF features, clustering using k-means, and classifying PV panels into three health-based states. Li et al. [30] proposed the identification of concurrent faults quantitatively through fault parameter extraction from the measured voltage/current curve of a PV array. Alves et al. [23] used CNN to classify anomalies in an unbalanced dataset through data augmentation techniques, which were able to differentiate between 11 different PV panel states.
Concisely, deep and shallow classifiers have their respective applications and limitations, such as operating system requirements, memory, complexity, fast and accurate convergence in multi-dimensional problems, etc. [4,22]. Moreover, relevant feature extraction from images is the most important, which can be done manually or using convolution neural network layers [5,31]. Given the limitations, this study employs a deep pre-trained convolutional neural network’s robust architecture, which is trained to classify images into 1000 different classes to extract deep features of infrared thermographs without backpropagation to reduce the high operating system requirements, execution time, memory, and so on, and fed to shallow classifiers because they require the least training time. Moreover, the proposed approach is compared with classical machine learning and pre-trained transfer-learned deep convolutional neural networks in terms of accuracy and execution time requirements.
The rest of the paper is structured as follows. Section II discusses the design approach, followed by Section III, which represents the features of infrared thermograph visualization. Section IV presents the results, while Section V discusses the approach in light of the results and the conclusion. Finally, the future work is presented in Section VI.

2. Design Approach

The infrared thermographs were obtained on 8 PV strings with 22 PV modules per string, a 42.24 kW PV system in Lahore, Pakistan. On a clear day with 32–40 °C ambient temperature, 6.9 m/s wind speed, and 700 W/m2 irradiance level, a horizontally aligned FLIR VUE-Pro 640 thermal camera was used. The thermograph has an 8-bit depth with a spatial resolution of 640 × 512 pixels. The detailed experimental setup is provided by Niazi et al. [10]. The IR dataset was segregated into six classes based on healthy, single-cell, patchwork, bird-dropping, block, and string conditions. Details of conditions are provided at [4,32] and shown in Table 1. Thermographs are converted into grayscale for PV condition visualization by averaging the RGB channels.
However, it is crucial to consider that each condition on the PV panel is due to a specific reason, and their occurrence is due to operational (i.e., environmental) stresses. Thus, the dataset can be imbalanced. For this purpose, a data augmentation approach was utilized to balance the dataset using the shifting and scaling (0°: 5°: 20°) approach [4]. A 330-image balanced dataset was constructed, with each class having 55 images. Afterward, each class dataset was randomly split into training and testing datasets in 80/20 ratios, to ensure proper training and testing of each class with equal visibility. Finally, features of IR datasets (training and testing) were extracted from the 22nd layer of pre-trained GoogleNet, 18th layer of ResNet18, and 18th layer of SqueezeNet neural networks, and shallow classifiers such as trees, ensemble, k-NN, support vector machine (SVM), and naive Bayes (nB) were used. Additionally, to validate the concept, two common and widely-used approaches were used: manual extraction of IR dataset features (such as energy, correlation, homogeneity, histogram of oriented gradient (HOG), RGB, local binary pattern, etc.); training and testing with shallow classifiers; and utilizing pre-trained 22-layer GoogleNet, 18-layer ResNet18, and 18-layer SqueezeNet through transfer learning for comparison.

2.1. Manual Features Extraction

The variables that differ from one class image to the next are referred to as features. The selection of the most prominent, i.e., highly varying characteristics of images, increases the classification accuracy. Infrared training and testing datasets’ feature vectors were calculated separately. To begin, images were pre-processed by removing their backgrounds, and images were transformed into grayscale, contrast improved, resized for uniformity, and an averaging filter was applied to remove image noise. Features, i.e., the mean of HOG and texture features, were calculated (using a grey-level co-occurrence matrix) to form the feature vector. Energy, contrast, and homogeneity calculations are provided in Equations (1)–(3). Afterward, feature vectors were utilized for training with a 5-fold cross-validation approach, and shallow classifiers such as SVM, k-NN, nB, trees, and ensemble were trained. The approach is simplified in Figure 3.
Energy = x , y i 1 W x , y 2
Contrast = x , y i 1 x y W x , y 2
Homogeneity = x , y i 1 W x , y 1 + x y  
wx,y is the pixel value at the pixel’s x and y coordinates, and i is the gray level number.

2.2. Transfer Learning on Pre-Trained Networks

Transfer-learning in neural networks is the re-utilization of trained neural networks for something other than the base problem. Therefore, avoiding isolated neural networks during creation, adjustment, iterative training, tuning, and validation [4]. Moreover, neural networks can be divided into three stages: image input, feature extraction, and classification based on features by adjusting the neurons’ weight iteratively through backpropagation, as shown in Figure 4. Neural networks have a strong architecture that helps them extract the relevant features.
Therefore, pre-trained neural networks with transfer learning are utilized for classification by introducing a new classification layer and a fully connected layer to replace the old classification layer and a fully connected layer to change the expected classes for the neural network.

2.3. Proposed Approach—Neural Network Features and Shallow Classifiers

In this work, neural networks extract features on their own, and for shallow classifiers, features are extracted manually. Iterative training of neural networks has a high execution time and higher accuracy [4], while shallow classifiers’ accuracy depends on extracted features and output classes and has a fast response [4,5,22]. Considering the advantages of both distinct approaches, a new approach based on the fusion of neural network features with shallow classifiers is proposed. In this approach, a pre-trained deep convolutional neural network such as SqueezeNet, GoogleNet, or ResNet18 that is trained on almost one million images and able to differentiate into 1000 different classes is used to extract the features of IR thermograph datasets (training and testing separately) without backpropagation to reduce the execution time, along with the requirement of memory and a strong operating system. Due to their fast-training time, feature vectors are then used to train and test shallow classifiers for multi-dimensional issues, hence utilizing the strong architecture of neural networks and the fast response of shallow classifiers. The proposed approach is presented in Figure 5.

3. Features of Infrared Thermographs—Visualization

Most relevant features are important since they vary significantly from class to class and help achieve higher training and testing accuracy. Moreover, features greatly differ from one dataset to another. In Figure 6, features extracted from deep neural networks and manually (texture and HOG features) are visually represented for ease of understanding. All features are mapped between 0 and 1, where 0 represents the lowest value and is denoted as black, and 1 represents the highest value and is denoted as white.
Overall, there are six classes, which are represented by each figure, and the higher the color contrast vertically, the better the selection of the most varied and appropriate features between images and classes. All images are resized to 500 × 500 for uniformity. ResNet18 has higher color contrast vertically, and manual extraction has the least contrast vertically. The last column of manual features represents six different classes encapsulated in a red rectangle (see Figure 6).

4. Results

In this section, the results are presented, which were obtained on MATLAB 2021a with 7th-generation Core i7, 16 GB of RAM, an NVIDIA GeForce GTX 1060, a 1.5 TB SSD, and 64-bit operating system specifications. Shallow classifiers were trained and validated using 5-fold cross-validation approaches.

4.1. Manual Features and Shallow Classifiers

Different combinations of manual features extracted from IR training and testing datasets were created. Finally, the mean of HOG and texture features, i.e., 12 energy, 12 contrast, and 12 homogeneities, were used. A total of 37 feature-based vectors are used, while the 38th column stores the six conditions of PV panels. Among five shallow classifiers, naive Bayes resulted in the least accurate trained model with 50.8% accuracy, while multi-class SVM resulted in 83% accuracy with a manual feature vector. The true identification rate (TPR) of bird drops was the lowest of all classes, owing to the small area covered by each drop. In contrast, a block’s positive predicted value (PPV) was highest due to a third area highlighted in IrT since texture features were strong and easily separable. Furthermore, the k-NN model was trained quickly and had the highest online testing capacity of 5000 observations per second. The results provided in Table 2, incorporating TPR, false-negative rate (FNR), PPV, and false discovery rate (FDR), are based on testing accuracy.

4.2. Transfer Learning-Based Classification

Pre-trained deep convolutional neural networks such as GoogleNet, SqueezeNet and ResNet18 were utilized using the transfer-learning approach to monitor the six PV system conditions. Models were trained using GPUs to reduce the execution time for neural network training and validation. Table 3 shows the training options used for transferring learning-based classifications. The initial learner’s rate was kept slow for better learning. Neuronal weights of pre-trained neural models trained on different classification problems were re-adjusted after backpropagation. Because neural networks are designed to mimic the human brain, they are learned on the PV dataset with high training accuracy. Moreover, in the testing phase of trained neural networks, the healthy class TPR was lowest, resulting in a considerable FNR. Moreover, in the presence of GPUs, SqueezeNet was the fastest to converge. Results are provided in Table 4, while TPR, FNR, PPV, and FDR are based on testing accuracy.

4.3. Fusing Neural Networks with Shallow Classifiers—A Proposed Approach

In this section, features were extracted from a pre-trained network such as GoogleNet, SqueezeNet, and ResNet18 because of their strong feature extraction approaches. Afterward, shallow classifiers were trained and tested on feature vectors. TPR, FNR, PPV, and FDR are based on testing accuracy.

4.3.1. Features through ResNet18 and Shallow Classifier

ResNet18 is an 18-layered deep neural network that has been pre-trained. ResNet18 was used to extract the features of IR thermographs without backpropagation. A total of 512 features were extracted from each thermograph, and the 513th column was added, which stored the condition of the PV panel. Following that, training thermographic image-based features vectors were used to train five shallow classifiers using a 5-fold cross-validation approach to avoid over-fitting, and a test thermographic image-based features vector was used to test the accuracy of the trained classifier.
Results were analyzed based on TPR, FNR, PPV, FDR, training time, prediction speed (specifically for online testing of images), training accuracy, and testing accuracy. Multi-class SVM converged in approximately 13 s, resulting in 97% training accuracy. TPR of the healthy class was the lowest, same as transfer-learned ResNet18. However, testing the new dataset resulted in 95.5% accuracy. The detailed results are provided in Table 5.

4.3.2. Features through GoogleNet and Shallow Classifier

GoogleNet, a pre-trained deep neural network, has a 22-layered structure and extracts the features of IR images without iterative adjustment of neuron weights, resulting in a reduction in training time and higher operating system requirements. A total of 1024 features were extracted from each thermograph, and the 1025th column was added, storing the PV panel condition among six health states. Afterward, features vectors based on training thermographic images were used to train five shallow classifiers, and a tested thermographic-based features vector was used to test the accuracy of the trained classifier. Results were analysed based on TPR, FNR, PPV, FDR, training time, prediction speed (specifically for online testing of images), training accuracy, and testing accuracy. As with transfer-learned, pre-trained GoogleNet, activations of GoogleNet suffered heavily from healthy class differentiation. Shallow classifier utilization versus deep training results in less accurate models when compared to transfer-learned models. Multi-class SVM resulted in 97% and 95.5% training and testing accuracy, respectively. The healthy class was mainly misclassified as having a single-cell defect. The detailed results are provided in Table 6.

4.3.3. Features through SqueezeNet and Shallow Classifier

SqueezeNet, a pre-trained deep neural network, has an 18-layered structure and extracts the features of IR images without iterative adjustment of neuron weights, resulting in a reduction in training time and lower operating system requirements. A total of 1000 features were extracted from each thermograph, and the 1001st column was added, which stored the condition of the PV panel among six fault states. Afterward, feature vectors based on training thermographs were used to train five shallow classifiers, and a test thermograph-based feature vector was used to test the accuracy of the trained classifier. Results were analyzed based on TPR, FNR, PPV, FDR, training time, prediction speed (specifically for online testing of images), training accuracy, and testing accuracy. TPR revealed that healthy was frequently misclassified as a primarily single cell. However, multi-class SVM performed better compared to the rest of the classifiers and achieved 95.8% and 93.9% accuracy in training and testing, respectively, with a 7.38 s training time. The detailed results are provided in Table 7.

5. Discussion and Comparison with Already Existing Techniques

In the literature or previously introduced techniques, PV system faults are widely monitored using electrical signals and non-invasive thermographs [10,16].
Moreover, shallow classifiers, such as SVM, nB, KNN, etc., are trained on manually-extracted input features to identify the PV system’s fault [5,9,10]. Moreover, deep neural network classifiers, such as convolutional neural networks, etc., were utilized to monitor PV system faults by extracting input features through different layers and iteratively adjusting neurons’ weights through backpropagation to assign probabilities and weights for each fault identification [4,11,18].
However, shallow classifiers’ accuracy is greatly limited by the extraction of the most relevant features of the input and the dimensionality of condition monitoring. While their training and validation times are short, i.e., approximately seconds, they have fewer memory and operating system requirements, as witnessed in the literature [5]. On the other hand, because of their non-linearity, deep neural networks work very well with multi-dimensional classification problems and achieve higher accuracy. They extract the input features through their architectural layers and adjust the neurons’ weight through backpropagation. Therefore, neural networks have comparatively higher memory requirements and execution times for training and validation, and work well on advanced operating systems (GPUs). Considering the advantages and limitations of shallow classifiers and neural network-based classifiers, a fusion of neural networks, i.e., extraction of input features without backpropagation (in approximately a couple of seconds) and training of shallow classifiers such as KNN, SVM, nB, etc., is proposed.
In comparison to the least accurate manual feature extraction approach and training through shallow classifiers, and the high memory, high execution time, and strong operating system requirements of deep neural network classifiers, the proposed approach extracts, trains, and validates shallow classifiers in seconds while achieving good testing accuracy and is capable of processing hundreds of observations per second. For instance, 330 infrared thermographs with six PV systems monitored through manual feature extraction (texture and HOG) and using SVM resulted in 83.3% testing accuracy after training and validation in approximately 4 s. In contrast, neural networks trained with transfer learning achieved 96.97% testing accuracy after 3 min and 49 s of GPU training and validation. In contrast, the proposed approach resulted in 95.5% testing accuracy through SVM, while training and validation took approximately 13 s using the CPU. Table 8 displays the testing accuracy as well as the training and validation times of SVM on various feature extraction approaches.

6. Conclusions

To maintain PV system output, monitoring the PV system is of utmost importance to keep the performance, emissions mitigation potential, and payback time at an optimal level. PV panel condition is monitored by keeping track of parameters such as current, voltage, irradiance, surface temperature, etc., of PV panels and strings through electrical signal monitoring or non-invasive thermographs and identifying conditions using shallow and deep classifiers.
However, considering the training and validation time, the method of most relevant input feature extraction, accuracy, low operating system requirements, multi-dimensionality issues, etc., a new fused approach was proposed to identify the six different faults of PV panels by extracting input features through deep neural networks and the utilization of shallow classifiers. The proposed approach, trained on 264 balanced IR thermographs and tested on 66 balanced IR thermographs, proved that the proposed approach can be trained 15 times faster using CPUs than deep neural networks using GPUs, and classifies PV panel faults with 95.5% accuracy on a new dataset that it has not experienced during training. This results in good accuracy compared to manual extraction-based shallow classifiers with 83.3% accuracy.

Author Contributions

Methodology, K.A.K.N. and A.Z.; Software, W.A.; Validation, M.U.A., M.A.P.M. and K.A.K.N.; Resources, M.U.A.; Data curation, A.Z.; Writing—original draft, W.A. and M.U.A.; Writing—review & editing, M.A.P.M., K.A.K.N., A.Z. and T.K.; Supervision, A.Z.; Project administration, T.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available on request from the corresponding authors.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Climate and Energy. Available online: https://www.unsdsn.org/climate-and-energy?gclid=EAIaIQobChMIzKSU_5Xg8gIVsgmICR2IDw5hEAAYAiAAEgLTRfD_BwE (accessed on 2 September 2021).
  2. The Paris Agreement. Available online: https://unfccc.int/process-and-meetings/the-paris-agreement/the-paris-agreement (accessed on 2 September 2021).
  3. Goal: Affordable and Clean Energy. Available online: https://www.undp.org/sustainable-development-goals?utm_source=EN&utm_medium=GSR&utm_content=US_UNDP_PaidSearch_Brand_English&utm_campaign=CENTRAL&c_src=CENTRAL&c_src2=GSR&gclid=EAIaIQobChMIstT4iJbg8gIVmMx3Ch25EAB1EAAYAyAAEgLCE_D_BwE#affordable-and-clean-energy (accessed on 2 September 2021).
  4. Ahmed, W.; Kallu, K.D.; Kouzani, A.Z.; Ali, M.U.; Zafar, A. Photovoltaic Panels Classification Using Isolated and Transfer Learned Deep Neural Models Using Infrared Thermographic Images. Sensors 2021, 21, 5668. [Google Scholar] [CrossRef]
  5. Ali, M.U.; Khan, H.F.; Masud, M.; Kallu, K.D.; Zafar, A. A machine learning framework to identify the hotspot in photovoltaic module using infrared thermography. Sol. Energy 2020, 208, 643–651. [Google Scholar] [CrossRef]
  6. Renewables 2022 Global Status Report. Available online: https://www.ren21.net/wp-content/uploads/2019/05/GSR2022_Full_Report.pdf (accessed on 8 August 2022).
  7. Niazi, K.; Khan, H.A.; Amir, F. Hot-spot reduction and shade loss minimization in crystalline-silicon solar panels. J. Renew. Sustain. Energy 2018, 10, 033506. [Google Scholar] [CrossRef]
  8. Niazi, K.A.K.; Yang, Y.; Spataru, S.; Mutarraf, M.U.; Sera, D. Experimental benchmarking of partial shading effect on thin-film and crystalline-silicon solar photovoltaic modules. In Proceedings of the 36th European Photovoltaic Solar Energy Conference: EU PVSEC, Marseille, France, 9–13 September 2019; pp. 986–990. [Google Scholar]
  9. Niazi, K.; Akhtar, W.; Khan, H.A.; Sohaib, S.; Nasir, A.K. Binary classification of defective solar PV modules using thermography. In Proceedings of the 2018 IEEE 7th World Conference on Photovoltaic Energy Conversion (WCPEC) (A Joint Conference of 45th IEEE PVSC, 28th PVSEC & 34th EU PVSEC), Waikoloa, HI, USA, 10–15 June 2018; pp. 0753–0757. [Google Scholar]
  10. Niazi, K.A.K.; Akhtar, W.; Khan, H.A.; Yang, Y.; Athar, S. Hotspot diagnosis for solar photovoltaic modules using a Naive Bayes classifier. Sol. Energy 2019, 190, 34–43. [Google Scholar] [CrossRef]
  11. Aziz, F.; Haq, A.U.; Ahmad, S.; Mahmoud, Y.; Jalal, M.; Ali, U. A novel convolutional neural network-based approach for fault classification in photovoltaic arrays. IEEE Access 2020, 8, 41889–41904. [Google Scholar] [CrossRef]
  12. Ahmed, W.; Sheikh, J.A.; Farjana, S.H.; Mahmud, M.A. Defects Impact on PV System GHG Mitigation Potential and Climate Change. Sustainability 2021, 13, 7793. [Google Scholar] [CrossRef]
  13. Niazi, K.A.K.; Yang, Y.; Khan, H.A.; Sera, D. Performance benchmark of bypassing techniques for photovoltaic modules. In Proceedings of the 2019 IEEE Applied Power Electronics Conference and Exposition (APEC), Anaheim, CA, USA, 17–19 March 2019; pp. 3164–3168. [Google Scholar]
  14. Niazi, K.A.K.; Yang, Y.; Sera, D. Review of mismatch mitigation techniques for PV modules. IET Renew. Power Gener. 2019, 13, 2035–2050. [Google Scholar] [CrossRef]
  15. Ahsan, S.; Niazi, K.A.K.; Khan, H.A.; Yang, Y. Hotspots and performance evaluation of crystalline-silicon and thin-film photovoltaic modules. Microelectron. Reliab. 2018, 88, 1014–1018. [Google Scholar] [CrossRef]
  16. Natsheh, E.; Samara, S. Tree search fuzzy narx neural network fault detection technique for PV systems with iot support. Electronics 2020, 9, 1087. [Google Scholar] [CrossRef]
  17. Rahman, M.M.; Khan, I.; Alameh, K. Potential measurement techniques for photovoltaic module failure diagnosis: A review. Renew. Sustain. Energy Rev. 2021, 151, 111532. [Google Scholar] [CrossRef]
  18. Pierdicca, R.; Malinverni, E.S.; Piccinini, F.; Paolanti, M.; Felicetti, A.; Zingaretti, P. Deep Convolutional Neural Network for Automatic Detection of Damaged Photovoltaic Cells. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2018, 42, 893–900. [Google Scholar] [CrossRef] [Green Version]
  19. Trupke, T.; Mitchell, B.; Weber, J.W.; McMillan, W.; Bardos, R.A.; Kroeze, R. Photoluminescence imaging for photovoltaic applications. Energy Procedia 2012, 15, 135–146. [Google Scholar] [CrossRef] [Green Version]
  20. Eder, G.C.; Voronko, Y.; Hirschl, C.; Ebner, R.; Újvári, G.; Mühleisen, W. Non-destructive failure detection and visualization of artificially and naturally aged PV modules. Energies 2018, 11, 1053. [Google Scholar] [CrossRef] [Green Version]
  21. Chen, Z.; Han, F.; Wu, L.; Yu, J.; Cheng, S.; Lin, P.; Chen, H. Random forest based intelligent fault diagnosis for PV arrays using array voltage and string currents. Energy Convers. Manag. 2018, 178, 250–264. [Google Scholar] [CrossRef]
  22. Chen, Z.; Chen, Y.; Wu, L.; Cheng, S.; Lin, P. Deep residual network based fault detection and diagnosis of photovoltaic arrays using current-voltage curves and ambient conditions. Energy Convers. Manag. 2019, 198, 111793. [Google Scholar] [CrossRef]
  23. Alves, R.H.F.; de Deus Júnior, G.A.; Marra, E.G.; Lemos, R.P. Automatic fault classification in photovoltaic modules using Convolutional Neural Networks. Renew. Energy 2021, 179, 502–516. [Google Scholar] [CrossRef]
  24. Khelil, C.K.M.; Amrouche, B.; Kara, K.; Chouder, A. The impact of the ANN’s choice on PV systems diagnosis quality. Energy Convers. Manag. 2021, 240, 114278. [Google Scholar] [CrossRef]
  25. Li, C.; Yang, Y.; Zhang, K.; Zhu, C.; Wei, H. A fast MPPT-based anomaly detection and accurate fault diagnosis technique for PV arrays. Energy Convers. Manag. 2021, 234, 113950. [Google Scholar] [CrossRef]
  26. Garoudja, E.; Chouder, A.; Kara, K.; Silvestre, S. An enhanced machine learning based approach for failures detection and diagnosis of PV systems. Energy Convers. Manag. 2017, 151, 496–513. [Google Scholar] [CrossRef] [Green Version]
  27. Belaout, A.; Krim, F.; Mellit, A.; Talbi, B.; Arabi, A. Multi-class adaptive neuro-fuzzy classifier and feature selection techniques for photovoltaic array fault detection and classification. Renew. Energy 2018, 127, 548–558. [Google Scholar] [CrossRef]
  28. Ali, M.U.; Saleem, S.; Masood, H.; Kallu, K.D.; Masud, M.; Alvi, M.J.; Zafar, A. Early hotspot detection in photovoltaic modules using color image descriptors: An infrared thermography study. Int. J. Energy Res. 2021, 46, 774–785. [Google Scholar] [CrossRef]
  29. Ahmed, W.; Ali, M.U.; Hussain, S.J.; Zafar, A.; Al Hasani, S. Visual Vocabulary based Photovoltaic Health Monitoring System using Infrared Thermography. IEEE Access 2022, 10, 14409–14417. [Google Scholar] [CrossRef]
  30. Li, Y.; Ding, K.; Zhang, J.; Chen, F.; Chen, X.; Wu, J. A fault diagnosis method for photovoltaic arrays based on fault parameters identification. Renew. Energy 2019, 143, 52–63. [Google Scholar] [CrossRef]
  31. Lopes, U.K.; Valiati, J.F. Pre-trained convolutional neural networks as feature extractors for tuberculosis detection. Comput. Biol. Med. 2017, 89, 135–143. [Google Scholar] [CrossRef] [PubMed]
  32. Dunderdale, C.; Brettenny, W.; Clohessy, C.; van Dyk, E.E. Photovoltaic defect classification through thermal infrared imaging using a machine learning approach. Prog. Photovolt. Res. Appl. 2020, 28, 177–188. [Google Scholar] [CrossRef]
Figure 1. Global penetration of PV systems [6].
Figure 1. Global penetration of PV systems [6].
Energies 16 01043 g001
Figure 2. Glass protection breakdown-PV module Located in Islamabad, Pakistan.
Figure 2. Glass protection breakdown-PV module Located in Islamabad, Pakistan.
Energies 16 01043 g002
Figure 3. A manual feature extraction approach.
Figure 3. A manual feature extraction approach.
Energies 16 01043 g003
Figure 4. Transfer learning on a pre-trained network.
Figure 4. Transfer learning on a pre-trained network.
Energies 16 01043 g004
Figure 5. Proposed approach.
Figure 5. Proposed approach.
Energies 16 01043 g005
Figure 6. Features visualization of different approaches.
Figure 6. Features visualization of different approaches.
Energies 16 01043 g006
Table 1. Faults of PV panels.
Table 1. Faults of PV panels.
ConditionHealthyBird DropSinglePatchworkStringBlock
ThermographEnergies 16 01043 i001Energies 16 01043 i002Energies 16 01043 i003Energies 16 01043 i004Energies 16 01043 i005Energies 16 01043 i006
GrayscaleEnergies 16 01043 i007Energies 16 01043 i008Energies 16 01043 i009Energies 16 01043 i010Energies 16 01043 i011Energies 16 01043 i012
Schematic (Probable)Energies 16 01043 i013Energies 16 01043 i014Energies 16 01043 i015Energies 16 01043 i016Energies 16 01043 i017Energies 16 01043 i018
Possible Cause_Bird dropShadow due to vicinal objects, dust, etc.Undetected hotspot leading to complete failure
Surface Temperature (Approx.)50–60° Celsius65 to 80° CelsiusAbove 80° Celsius
Table 2. Manual features-based shallow classification.
Table 2. Manual features-based shallow classification.
ClassifierTreeEnsemblenBKNNSVM
ClassTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDR
Bird Drop54.545.546.253.836.463.6505036.463.644.455.681.818.2752563.636.477.822.2
Block81.818.210001000100054.545.560401000100081.818.21000
Healthy72.727.388.911.172.727.3100072.727.344.455.681.818.2901081.818.21000
Patchwork63.636.458.341.781.818.269.230.89.190.9100090.99.183.316.7100084.615.4
Single90.99.176.923.1100078.621.490.99.152.647.4100091.78.3100068.831.2
String63.636.4703072.727.366.733.345.554.555.644.481.818.2100072.727.38020
Training Accuracy (%)6470.150.879.583.0
Training Time (s)5.785.8413.41.553.49
Prediction Speed (obs/s)2100130035050002400
Testing Accuracy (%)71.277.351.589.483.3
Table 3. Training options.
Table 3. Training options.
SolverStochastic Gradient Descent with Momentum
Initial Learn Rate0.001
Epochs150
Execution EnvironmentMulti-GPU
ShuffleEvery epoch
Momentum0.9
Table 4. Transfer-learned deep neural networks for PV panels condition monitoring.
Table 4. Transfer-learned deep neural networks for PV panels condition monitoring.
ClassifierGoogleNetSqueezeNetResNet18
ClassTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDR
Bird Drop100010001000100010001000
Block1000100090.99.1100010001000
Healthy81.818.2100090.99.1100081.818.21000
Patchwork10001000100091.78.310001000
Single100084.615.4100091.78.3100084.615.4
String100010001000100010001000
Training Accuracy (%)100100100
Training Loss0.00380.00530.0038
Validation Accuracy (%)96.396.3100
Validation Loss0.0990.360.036
Testing Accuracy (%)96.9796.9796.97
Execution Time (s)985196229
Table 5. ResNet18-based features calculation and shallow classification.
Table 5. ResNet18-based features calculation and shallow classification.
ClassifierTreeEnsemblenBKNNSVM
ClassTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDR
Bird Drop81.818.281.818.290.09.1100090.99.110001000100010001000
Block100010001000100081.818.210001000100090.99.11000
Healthy81.818.281.818.290.99.11000100073.326.790.99.1100081.818.21000
Patchwork81.818.2901010001000100091.78.31000100010001000
Single81.818.269.230.8100084.615.490.99.190.99.1100091.78.3100078.621.4
String81.818.290101000100081.818.210001000100010001000
Training Accuracy (%)72.335.680.395.597
Training Time (s)2.3211.47111.564.9712.89
Prediction Speed (obs/s)1700110046430480
Testing Accuracy (%)84.89790.998.595.5
Table 6. GoogleNet-based features calculation and shallow classification.
Table 6. GoogleNet-based features calculation and shallow classification.
ClassifierTreeEnsemblenBKNNSVM
ClassTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDR
Bird Drop90.99.190.09.1100091.78.310001981.81000100010001000
Block90.99.1100090.99.190.99.118.281.8100090.99.1100090.99.11000
Healthy45.554.571.428.681.818.210000100010081.818.2901081.818.21000
Patchwork90.99.171.428.6100010000100001000100010001000
Single72.727.361.538.5100084.615.4010000100078.621.4100073.326.7
String81.818.281.818.290.99.1100036.463.6100090.99.1100090.99.11000
Training Accuracy (%)73.977.335.296.296.2
Training Time (s)4.124.39201.046.827.5
Prediction Speed (obs/s)62043024230380
Testing Accuracy (%)78.893.925.893.993.9
Table 7. SqueezeNet-based features calculation and shallow classification.
Table 7. SqueezeNet-based features calculation and shallow classification.
ClassifierTreeEnsemblenBKNNSVM
ClassTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDRTPRFNRPPVFDR
Bird Drop10001000100084.615.481.818.2100090.99.1100010001000
Block100010001000100090.99.110001000100090.99.11000
Healthy81.818.269.230.872.727.3100054.545.5100063.636.4100081.818.21000
Patchwork100073.326.781.818.2901090.99.183.316.7100091.78.310001000
Single63.636.477.822.2100084.615.4100064.735.3100064.735.3100078.621.4
String63.636.4100090.99.190.99.190.99.183.816.781.818.2100090.99.190.99.1
Training Accuracy (%)76.926.584.195.895.8
Training Time (s)4.4518.45171.836.157.38
Prediction Speed (obs/s)64040028240370
Testing Accuracy (%)84.890.984.889.493.9
Table 8. SVM testing accuracy and training time using different features extraction approach.
Table 8. SVM testing accuracy and training time using different features extraction approach.
Features Extraction ApproachTesting Accuracy (%)Training Time (Sec)
Manual83.33.5
ResNet1895.512.9
GoogleNet93.97.5
SqueezeNet93.97.4
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ahmed, W.; Ali, M.U.; Mahmud, M.A.P.; Niazi, K.A.K.; Zafar, A.; Kerekes, T. A Comparison and Introduction of Novel Solar Panel’s Fault Diagnosis Technique Using Deep-Features Shallow-Classifier through Infrared Thermography. Energies 2023, 16, 1043. https://doi.org/10.3390/en16031043

AMA Style

Ahmed W, Ali MU, Mahmud MAP, Niazi KAK, Zafar A, Kerekes T. A Comparison and Introduction of Novel Solar Panel’s Fault Diagnosis Technique Using Deep-Features Shallow-Classifier through Infrared Thermography. Energies. 2023; 16(3):1043. https://doi.org/10.3390/en16031043

Chicago/Turabian Style

Ahmed, Waqas, Muhammad Umair Ali, M. A. Parvez Mahmud, Kamran Ali Khan Niazi, Amad Zafar, and Tamas Kerekes. 2023. "A Comparison and Introduction of Novel Solar Panel’s Fault Diagnosis Technique Using Deep-Features Shallow-Classifier through Infrared Thermography" Energies 16, no. 3: 1043. https://doi.org/10.3390/en16031043

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop