Assessment of Machine and Deep Learning Approaches for Fault Diagnosis in Photovoltaic Systems Using Infrared Thermography
Abstract
:1. Introduction
- The performance of different state-of-the-art ML and DL methods is compared for the fault detection and diagnosis of PV modules.
- To the best of the authors’ knowledge, no comprehensive comparative study has previously been performed on such applications that has included DL, ML, and hybrid approaches.
- The investigations are conducted using real-world IR thermography images of PV Si mono-crystalline technology.
- Four common faults in PV modules were examined: bypass diode failure, shading effect, short-circuited PV module, and soil accumulation on the PV module.
2. Materials and Methods
2.1. Research Methodology
2.1.1. Data Collection and Preparation
2.1.2. Fault Detection Procedure Based on DeepCNNs
2.1.3. Fault Classification Procedure Based on DeepCNNs
2.2. Databases
- Image shifts via the width_shift_range and height_shift_range arguments.
- Image flips via the horizontal_flip and vertical_flip arguments.
- Image rotations via the rotation_range argument.
- Image brightness via the brightness_range argument.
- Image zoom via the zoom_range argument.
2.3. ML-Based Classification
2.3.1. k-NN
2.3.2. SVM
2.3.3. CatBoost
2.4. DL-Based Classification
2.4.1. Classification Based on Transfer Learning Methods (VGG-16)
2.4.2. Classification Based on DeepCNN
2.5. Classification Based on Hybrid Method (CNN-SVM)
2.6. Fault Detection and Diagnosis Procedure
- Step #1: Upload the image and resize it.
- Step #2: Call the fault detection model (class = 0 means healthy, class = 1 means faulty).
- Step #3: Check whether class = 0. If so, this means the PV module is healthy, move to Step #5; otherwise move to Step #4.
- Step #4: Call the fault diagnosis model and identify the type of fault (Fault 1, Fault 2, Fault 3 or Fault 4).
- Step #5: Display the results and move to Step #1.
2.7. Evaluation Metrics
3. Results and Discussion
3.1. Fault Detection Based on Binary Classification
3.2. Fault Diagnosis Based on Multiclass Classification
4. Comparative Study
- In the case of machine learning, it takes about 13 min to process the first database (binary classification) and 32 min to process the second database (multiclass classification) to extract features from images.
- The worst classification accuracy is obtained by the k-NN (70.10%) and SVM (81.41%), while acceptable accuracy is given by the CatBoost classifier (93.56%).
- Deep learning methods perform better than the investigated machine learning models (k-NN, SVM and CatBoost).
- VGG-16 based on the transfer learning approach provides very good results (more than 99% in both binary and multiclass classifications), but the main issue with this approach is the complexity of its configuration and the fact that it takes too much time compared to the other examined configurations.
- Hybrid approaches that use the CNN learning process to extract features and the ML classifier also did well (98.73% for binary classification and 98% for multiclass classification).
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
AE-LSTM | Auto-Encoder LSTM |
CBAM | Convolutional Block Attention Module |
CNN | Convolutional Neural Network |
DL | Deep Learning |
ICNM | Isolated Convolutional Neural Model |
IR | InfraRed Image |
IRT | IR Thermography |
KNN | k-Nearest Neighbor |
LSTM | Long Short-Term Memory |
LWL | Locally weighted learning |
ML | Machine Learning |
NN | Neural Networks |
PVM | PV module |
ReLU | Rectified Linear Unit |
RoI | Region of Interest |
SHM | Structural Health Monitoring |
SVM | Support Vector Machine |
UAV | Unmanned aerial vehicle |
VGG | Visual Geometry Group |
References
- Pvps, I.; Masson, G.; Kaizuka, I.; Detollenaere, A.; Lindahl, J. Snapshot of Global PV Markets; Report IEA PVPS T1-35:2019; IEA: Paris, France, 2021; p. 23. [Google Scholar]
- Mellit, A.; Tina, G.M.; Kalogirou, S.A. Fault Detection and Diagnosis Methods for Photovoltaic Systems: A Review. Renew. Sustain. Energy Rev. 2018, 91, 1–17. [Google Scholar] [CrossRef]
- Gaabour, A.; Metatla, A.; Kelaiaia, R.; Bourennani, F.; Kerboua, A. Recent bibliography on the optimization of multi-source energy systems. Arch. Comput. Methods Eng. 2019, 26, 809–830. [Google Scholar] [CrossRef]
- Mellit, A.; Kalogirou, S. Artificial Intelligence and Internet of Things to Improve Efficacy of Diagnosis and Remote Sensing of Solar Photovoltaic Systems: Challenges, Recommendations and Future Directions. Renew. Sustain. Energy Rev. 2021, 143, 110889. [Google Scholar] [CrossRef]
- Venkatesh, S.N.; Sugumaran, V. A Combined Approach of Convolutional Neural Networks and Machine Learning for Visual Fault Classification in Photovoltaic Modules. Proc. Inst. Mech. Eng. Part O J. Risk Reliab. 2022, 236, 148–159. [Google Scholar] [CrossRef]
- Venkatesh, S.N.; Sugumaran, V. Machine Vision Based Fault Diagnosis of Photovoltaic Modules Using Lazy Learning Approach. Measurement 2022, 191, 110786. [Google Scholar] [CrossRef]
- Ibrahim, M.; Alsheikh, A.; Awaysheh, F.M.; Alshehri, M.D. Machine Learning Schemes for Anomaly Detection in Solar Power Plants. Energies 2022, 15, 1082. [Google Scholar] [CrossRef]
- Kurukuru, V.B.; Haque, A.; Khan, M.A.; Tripathy, A.K. Fault Classification for Photovoltaic Modules Using Thermography and Machine Learning Techniques. In Proceedings of the 2019 International Conference on Computer and Information Sciences (ICCIS), Baltimore, MD, USA, 29 September–3 October 2019; pp. 1–6. [Google Scholar]
- Kurukuru, V.S.; Haque, A.; Tripathy, A.K.; Khan, M.A. Machine Learning Framework for Photovoltaic Module Defect Detection with Infrared Images. Int. J. Syst. Assur. Eng. Manag. 2022, 23, 1771–1787. [Google Scholar] [CrossRef]
- Jumaboev, S.; Jurakuziev, D.; Lee, M. Photovoltaics Plant Fault Detection Using Deep Learning Techniques. Remote Sens. 2022, 14, 3728. [Google Scholar] [CrossRef]
- Li, X.; Yang, Q.; Lou, Z.; Yan, W. Deep Learning Based Module Defect Analysis for Large-Scale Photovoltaic Farms. IEEE Trans. Energy Convers. 2018, 34, 520–529. [Google Scholar] [CrossRef]
- Akram, M.W.; Li, G.; Jin, Y.; Chen, X.; Zhu, C.; Ahmad, A. Automatic Detection of Photovoltaic Module Defects in Infrared Images with Isolated and Develop-Model Transfer Deep Learning. Sol. Energy 2020, 198, 175–186. [Google Scholar] [CrossRef]
- Lu, F.; Niu, R.; Zhang, Z.; Guo, L.; Chen, J. A Generative Adversarial Network-Based Fault Detection Approach for Photovoltaic Panel. Appl. Sci. 2022, 12, 1789. [Google Scholar] [CrossRef]
- Ahmed, W.; Hanif, A.; 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] [PubMed]
- Su, Y.; Tao, F.; Jin, J.; Zhang, C. Automated Overheated Region Object Detection of Photovoltaic Module with Thermography Image. IEEE J. Photovolt. 2021, 11, 535–544. [Google Scholar] [CrossRef]
- Kumar, G.; Bhatia, P.K. A Detailed Review of Feature Extraction in Image Processing Systems. In Proceedings of the 2014 Fourth International Conference on Advanced Computing & Communication Technologies, Rohtak, India, 8–9 February 2014; pp. 5–12. [Google Scholar]
- Medjahed, S.A. A Comparative Study of Feature Extraction Methods in Images Classification. Int. J. Image Graph. Signal Process. 2015, 7, 16. [Google Scholar] [CrossRef] [Green Version]
- Kellil, N.; Aissat, A.; Mellit, A. Fault diagnosis of photovoltaic modules using deep neural networks and infrared images under Algerian climatic conditions. Energy 2023, 263, 125902. [Google Scholar] [CrossRef]
- Pierdicca, R.; Paolanti, M.; Felicetti, A.; Piccinini, F.; Zingaretti, P. Automatic faults detection of photovoltaic farms: SolAIr, a deep learning-based system for thermal images. Energies 2020, 13, 6496. [Google Scholar] [CrossRef]
- Cui, F.; Tu, Y.; Gao, W. A Photovoltaic System Fault Identification Method Based on Improved Deep Residual Shrinkage Networks. Energies 2022, 15, 3961. [Google Scholar] [CrossRef]
- Mellit, A. An embedded solution for fault detection and diagnosis of photovoltaic modules using thermographic images and deep convolutional neural networks. Eng. Appl. Artif. Intell. 2022, 116, 105459. [Google Scholar] [CrossRef]
- Wang, M.H.; Lin, Z.H.; Lu, S.D. A fault detection method based on cnn and symmetrized dot pattern for pv modules. Energies 2022, 15, 6449. [Google Scholar] [CrossRef]
- Ma, L.; Crawford, M.M.; Tian, J. Local Manifold Learning-Based k-Nearest-Neighbor for Hyperspectral Image Classification. IEEE Trans. Geosci. Remote Sens. 2010, 48, 4099–4109. [Google Scholar] [CrossRef]
- Lo, C.-S.; Wang, C.-M. Support Vector Machine for Breast MR Image Classification. Comput. Math. Appl. 2012, 64, 1153–1162. [Google Scholar] [CrossRef] [Green Version]
- Samat, A.; Li, E.; Du, P.; Liu, S.; Miao, Z.; Zhang, W. CatBoost for RS Image Classification with Pseudo Label Support from Neighbor Patches-Based Clustering. IEEE Geosci. Remote Sens. Lett. 2020, 19, 8004105. [Google Scholar] [CrossRef]
- Kaur, T.; Gandhi, T.K. Automated Brain Image Classification Based on VGG-16 and Transfer Learning. In Proceedings of the 2019 International Conference on Information Technology (ICIT), Bhubaneswar, India, 19–21 December 2019; pp. 94–98. [Google Scholar]
- Xin, M.; Wang, Y. Research on Image Classification Model Based on Deep Convolution Neural Network. J. Image Video Proc. 2019, 2019, 40. [Google Scholar] [CrossRef] [Green Version]
- Sun, X.; Liu, L.; Li, C.; Yin, J.; Zhao, J.; Si, W. Classification for Remote Sensing Data With Improved CNN-SVM Method. IEEE Access 2019, 7, 164507–164516. [Google Scholar] [CrossRef]
- Machart, P.; Ralaivola, L. Confusion matrix stability bounds for multiclass classification. arXiv 2012, arXiv:1202.6221. [Google Scholar]
Databases | Size | Classification | |||
---|---|---|---|---|---|
Database #1 | 4740 | Binary | |||
Faulty | Normal | ||||
Before augmentation | 158 | 158 | |||
After augmentation | 2370 | 2370 | |||
Database #2 | 10,845 | Multiclass | |||
F1 | F2 | F3 | F4 | ||
Before augmentation | 190 | 188 | 187 | 188 | |
After augmentation | 2850 | 2820 | 2805 | 2820 |
Class | Precision | Recall | F1-Score | Support | Training Time (min) | Accuracy (%) |
---|---|---|---|---|---|---|
Faulty {1} | 0.98 | 0.99 | 0.99 | 473 | 98.73 | |
Norma {2} | 0.99 | 0.98 | 0.99 | 474 | 9 | |
Accuracy (%) | - | - | - | - | ||
Macro average | 0.99 | 0.99 | 0.99 | |||
Weighted average | 0.99 | 0.99 | 0.99 |
Class | Precision | Recall | F1-Score | Support | Training Time (min) | Accuracy (%) |
---|---|---|---|---|---|---|
Fault 1 | 0.98 | 1.00 | 0.99 | 570 | 15 min | 98.71 |
Fault 2 | 0.99 | 0.97 | 0.98 | 564 | ||
Fault 3 | 1.00 | 0.99 | 1.00 | 564 | ||
Fault 4 | 0.97 | 0.98 | 0.98 | 563 | ||
Accuracy (%) | - | - | - | - | ||
Macro average | 0.99 | 0.99 | 0.99 | 2261 | ||
Weighted average | 0.99 | 0.99 | 0.99 | 2261 |
Class | Precision | Recall | F1-Score | Training Time (min) | Accuracy (%) |
---|---|---|---|---|---|
k-NN Model: (n_neighbors = 5, n_jobs = 1, algorithm = ‘kd_tree’) | |||||
Faulty | 0.82 | 0.67 | 0.73 | 13+ | 75.18 |
Normal | 0.70 | 0.84 | 0.77 | ||
SVM model: (kernel = rbf, probability = True, random_state = 42) | |||||
Faulty | 0.82 | 0.81 | 0.82 | 13+ | 81.41 |
Normal | 0.80 | 0.82 | 0.81 | ||
CatBoost Model: (Iterations = 500, max_depth = 5, n_estimators = 100, learning_rate = 0.99) | |||||
Faulty | 0.97 | 0.90 | 0.94 | 13+ | 93.56 |
Normal | 0.90 | 0.97 | 0.94 | ||
Hybrid CNN-SVM model: (11 layers: 4Con2D, 4 MaxPooling, 1 dropout, 1 flatten layer and 1 dense layer) | |||||
Faulty | 0.99 | 0.99 | 0.99 | 7 | 98.73 |
Normal | 0.99 | 0.99 | 0.99 | ||
VGG-16 | |||||
Faulty | 1.0000 | 0.9978 | 0.9989 | 25 | 99.89 |
Normal | 0.998 | 1.000 | 0.999 |
Classes | Precision | Recall | F1-Score | Training Time (min) | Accuracy (%) |
---|---|---|---|---|---|
k-NN Model: (n_neighbors = 5,n_jobs = 1,algorithm = ‘kd_tree’) | |||||
Fault 1 | 0.80 | 0.46 | 0.59 | 37 | 70.10 |
Fault 2 | 0.51 | 0.96 | 0.67 | ||
Fault 3 | 0.87 | 0.76 | 0.81 | ||
Fault 4 | 0.94 | 0.63 | 0.75 | ||
SVM model: (kernel = rbf, probability = True, random_state = 42) | |||||
Fault 1 | 0.72 | 0.88 | 0.79 | 49 | 81.41 |
Fault 2 | 0.83 | 0.86 | 0.85 | ||
Fault 3 | 0.93 | 0.84 | 0.88 | ||
Fault 4 | 0.85 | 0.72 | 0.78 | ||
CatBoost Model: (Iterations = 500, max_depth = 5, n_estimators = 100, learning_rate = 0.99) | |||||
Fault 1 | 0.91 | 0.98 | 0.94 | 41 | 93.56 |
Fault 2 | 0.91 | 0.92 | 0.91 | ||
Fault 3 | 0.99 | 0.88 | 0.93 | ||
Fault 4 | 0.91 | 0.92 | 0.91 | ||
Hybrid CNN-SVM model: (11 layers: 4Con2D, 4 MaxPooling, 1 dropout, 1 flatten layer and 1 dense layer) | |||||
Fault 1 | 0.99 | 1.00 | 1.00 | 7 | 98.00 |
Fault 2 | 0.99 | 0.99 | 0.99 | ||
Fault 3 | 0.98 | 0.94 | 0.96 | ||
Fault 4 | 0.96 | 0.98 | 0.97 | ||
VGG-16 | |||||
Fault 1 | 1.0000 | 1.0000 | 1.0000 | 45 | 99.95 |
Fault 2 | 1.0000 | 0.9983 | 0.9991 | ||
Fault 3 | 1.0000 | 1.0000 | 1.0000 | ||
Fault 4 | 0.9982 | 1.0000 | 0.9991 |
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. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Boubaker, S.; Kamel, S.; Ghazouani, N.; Mellit, A. Assessment of Machine and Deep Learning Approaches for Fault Diagnosis in Photovoltaic Systems Using Infrared Thermography. Remote Sens. 2023, 15, 1686. https://doi.org/10.3390/rs15061686
Boubaker S, Kamel S, Ghazouani N, Mellit A. Assessment of Machine and Deep Learning Approaches for Fault Diagnosis in Photovoltaic Systems Using Infrared Thermography. Remote Sensing. 2023; 15(6):1686. https://doi.org/10.3390/rs15061686
Chicago/Turabian StyleBoubaker, Sahbi, Souad Kamel, Nejib Ghazouani, and Adel Mellit. 2023. "Assessment of Machine and Deep Learning Approaches for Fault Diagnosis in Photovoltaic Systems Using Infrared Thermography" Remote Sensing 15, no. 6: 1686. https://doi.org/10.3390/rs15061686
APA StyleBoubaker, S., Kamel, S., Ghazouani, N., & Mellit, A. (2023). Assessment of Machine and Deep Learning Approaches for Fault Diagnosis in Photovoltaic Systems Using Infrared Thermography. Remote Sensing, 15(6), 1686. https://doi.org/10.3390/rs15061686