Skip to main content

Advertisement

Log in

A Developed Algorithm Inspired from the Classical KNN for Fault Detection and Diagnosis PV Systems

  • Published:
Journal of Control, Automation and Electrical Systems Aims and scope Submit manuscript

Abstract

During the operation of photovoltaic systems, various faults can occur and result in serious problems, such as energy loss or system shutdown. Therefore, it is crucial to identify and diagnose these faults in order to improve system performance. The purpose of this work is to propose an efficient and simple procedure for the early detection and diagnosis of faults on the direct current side of photovoltaic systems. These faults include the short circuit of three modules, short circuit of ten modules, and string disconnection. Therefore, it is necessary to distinguish between four classes: the healthy class and three classes representing different types of faults. A dataset representing the four classes and comprising four measured attributes—cell temperature, solar irradiance, and current and voltage at the maximum power point—is utilized in the developed approach. The idea is to transform the multiclassification problem into a binary classification problem and utilize a modified version of the well-known K-nearest neighbors (KNN) classifier. In this proposed version, the training dataset is divided into two hyperspheres, each representing a distinct class. The Giza pyramid construction algorithm is then utilized to determine the optimal center coordinates of these hyperspheres. To classify a new data point using the proposed classifier, which combines the KNN classifier and the Giza pyramid construction algorithm, distances are computed only between the new data point and the center of each sphere. Unlike the classical version of the KNN classifier, which involves computing distances between the new data point and the entire dataset. To assess the efficiency of the proposed approach, a comparative study was conducted, including the classical version of the KNN, support vector machine, decision tree, and random forest algorithms. The evaluation criteria considered were accuracy, precision, recall, and execution time. The results of the carried-out study demonstrated the remarkable superiority of the proposed algorithm over these alternative methods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

  • Abdulwahid, A. H. (2023). Artificial intelligence-based control techniques for hvdc systems. Emerging Science Journal, 7(2), 643–653.

    Article  Google Scholar 

  • Ali, D. N., & Neagu Trundle, P. (2019). Evaluation of k-nearest neighbour classifier performance for heterogeneous data sets. SN Applied Sciences, 11–15.

  • Basnet, B. , Chun, H., & Bang, J. (2020). An intelligent fault detection model for fault detection in photovoltaic systems. Journal of Sensors.

  • Boyle, G. (1996). Renewable energy: Power for a sustainable future, Vol. 2.

  • Change, I. C. (2014). Mitigation of climate change. Contribution of working group III to the fifth assessment report of the intergovernmental panel on climate change, 1454, 147.

    Google Scholar 

  • Chouder, A., & Silvestre, S. (2010). Automatic supervision and fault detection of pv systems based on power losses analysis. Energy Conversion and Management, 51, 1929–1937.

    Article  Google Scholar 

  • Cortés-Caicedo, B., Grisales-Noreña, L. F., Montoya, O. D., Rodriguez-Cabal, M. A., & Rosero, J. A. (2022). Energy management system for the optimal operation of pv generators in distribution systems using the antlion optimizer: A colombian urban and rural case study. Sustainability, 14(23), 16083.

    Article  Google Scholar 

  • da Costa, C., Moritz, G., Lazzaretti, A., Mulinari, B., Ancelmo, H., Rodrigues, M., & Rafael, E. (2019). A comparison of machine learning-based methods for fault classification in photovoltaic systems. In 2019 IEEE PES Innovative Smart Grid Technologies Conference-Latin America (ISGT Latin America) (pp. 1–6).

  • Dhar, S., Patnaik, R. K., & Dash, P. (2017). Fault detection and location of photovoltaic based dc microgrid using differential protection strategy. IEEE Transactions on Smart Grid, 9(5), 4303–4312.

    Article  Google Scholar 

  • Dhimish, M. (2021). Defining the best-fit machine learning classifier to early diagnose photovoltaic solar cells hot-spots. Case Studies in Thermal Engineering, 25, 100980.

    Article  Google Scholar 

  • Dhimish, M., & Holmes, V. (2016). Fault detection algorithm for grid-connected photovoltaic plants. Solar Energy, 137, 236–245.

    Article  Google Scholar 

  • Dong, T., Cheng, W., & Shang, W. (2012). The research of knn text categorization algorithm based on eager learning. In 2012 International Conference on Industrial Control and Electronics Engineering (pp. 1120–1123).

  • Duan, K., Keerthi, S., Chu, S., W., & Shevade Poo, A. (2003). Multi-category classification by soft-max combination of binary classifiers. In International Workshop on Multiple Classifier Systems (pp. 125–134).

  • Fortunato, S. (2010). Community detection in graphs. Physics Reports-Review Section of Physics Letters, 486, 75–174.

    MathSciNet  Google Scholar 

  • Garoudja, E., Chouder, A., Kara, K., & Silvestre, S. (2017). An enhanced machine learning based approach for failures detection and diagnosis of pv systems. Energy Conversion and Management, 151, 496–513.

    Article  Google Scholar 

  • Guo, G. , Ping, X., & Chen, G. (2006). A fast document classification algorithm based on improved knn. In First International Conference on Innovative Computing, Information and Control-Volume I (ICICIC’06) (pp. 186–189).

  • Hajji, M., Harkat, M., Kouadri, A., Abodayeh, K., Mansouri, M., Nounou, H., & Nounou, M. (2021). Multivariate feature extraction based supervised machine learning for fault detection and diagnosis in photovoltaic systems. European Journal of Control, 59, 313–321.

    Article  MathSciNet  MATH  Google Scholar 

  • Hare, J., Shi, X., Gupta, S., & Bazzi, A. (2016). Fault diagnostics in smart micro-grids: A survey. Renewable and Sustainable Energy Reviews, 60, 1114–1124.

    Article  Google Scholar 

  • Harifi, J. S., Mohammadzadeh, Khalilian, M., & Ebrahimnejad, S. (2021). Giza Pyramids Construction: An ancient-inspired metaheuristic algorithm for optimization. Evolutionary Intelligence, 14, 1743–1761.

  • Harrou, F., Taghezouit, B., & Sun, Y. (2019). Improved knn-based monitoring schemes for detecting faults in pv systems. IEEE Journal of Photovoltaics, 9, 811–821.

    Article  Google Scholar 

  • Harsito, C., Triyono, T., & Rovianto, E. (2022). Analysis of heat potential in solar panels for thermoelectric generators using ansys software. Civil Engineering Journal, 8(7), 1328–1338.

    Article  Google Scholar 

  • Herraiz, Á. H., Marugán, A. P., & Márquez, F. P. G. (2020). Photovoltaic plant condition monitoring using thermal images analysis by convolutional neural network-based structure. Renewable Energy, 153, 334–348.

    Article  Google Scholar 

  • Houssein, A., Heraud, N., Souleiman, I., & Pellet, G. (2010). Monitoring and fault diagnosis of photovoltaic panels. In 2010 IEEE International Energy Conference (pp. 389–394).

  • Karatepe, E., & Hiyama, T. (2011). Controlling of artificial neural network for fault diagnosis of photovoltaic array. In 2011 16th International Conference on Intelligent System Applications to Power Systems (pp. 1–6).

  • Khelil, C. K. M., Amrouche, B., Benyoucef, A., Kara, K., & Chouder, A. (2020). New intelligent fault diagnosis (ifd) approach for grid-connected photovoltaic systems. Energy, 211, 118591.

    Article  Google Scholar 

  • Lazzaretti, A., Costa, C., Rodrigues, M., Yamada, G., Lexinoski, G., Moritz, G., & Omori, J. (2020). A monitoring system for online fault detection and classification in photovoltaic plants. Sensors, 20, 4600.

    Article  Google Scholar 

  • Lebreton, C., Kbidi, F., Graillet, A., Jegado, T., Alicalapa, F., Benne, M., & Damour, C. (2022). Pv system failures diagnosis based on multiscale dispersion entropy. Entropy, 24(9), 1311.

    Article  Google Scholar 

  • Li, Z. , Wang, Y. , Zhou, D. Wu, C. 2012. An intelligent method for fault diagnosis in photovoltaic array. In International computer science conference(pp. 10–16).

  • Madeti, S., & Singh, S. (2018). Modeling of pv system based on experimental data for fault detection using knn method. Solar Energy, 173, 139–151.

    Article  Google Scholar 

  • Mekki, H., Mellit, A., & Salhi, H. (2016). Artificial neural network-based modelling and fault detection of partial shaded photovoltaic modules. Simulation Modelling Practice and Theory, 67, 1–13.

    Article  Google Scholar 

  • Mellit, A., Tina, G., & Kalogirou, S. (2018). Fault detection and diagnosis methods for photovoltaic systems: A review. Renewable and Sustainable Energy Reviews, 91, 1–17.

    Article  Google Scholar 

  • Moldagulova, A., & Sulaiman, R. (2017). Using KNN algorithm for classification of textual documents. In 2017 8th International Conference on Information Technology (ICIT) (pp. 665–671).

  • Morishima, K., Kuno, M., Nishio, A., Kitagawa, N., Manabe, Y., Moto, M., & Hayashi, K. (2017). Discovery of a big void in Khufu’s pyramid by observation of cosmic-ray muons. Nature, 552, 386–390.

    Article  Google Scholar 

  • Muñoz, M. , Correcher, A., Ariza, E., García, E., & Ibañez, F. (2015). Fault detection and isolation in a photovoltaic system. Int. Conf. Renew. Energies Power Qual. 202–207.

  • Qais, M. H., Hasanien, H. M., Alghuwainem, S., & Nouh, A. S. (2019). Coyote optimization algorithm for parameters extraction of threediode photovoltaic models of photovoltaic modules. Energy, 187, 116001.

    Article  Google Scholar 

  • Rigby, J. (2016). Building the great pyramid at Giza: Investigating ramp models. http://www-personal.umich.edu/~mejn/netdata/

  • Schirone, I. , Califano, F. , Moschella, U., & Rocca, U. (1994). Fault finding in a 1 mw photovoltaic plant by reflectometry. In Proceedings of 1994 IEEE 1st World Conference on Photovoltaic Energy Conversion-WCPEC (A Joint Conference of PVSC, PVSEC and PSEC) (pp. 846–849).

  • Shin, J., & Kim, J. (2020). On-line diagnosis and fault state classification method of photovoltaic plant. Energies, 13, 4584.

    Article  Google Scholar 

  • Shrikhande, S., Varde, P., & Datta, D. (2016). Prognostics and health management: Methodologies and soft computing techniques. Current Trends in Reliability, Availability, Maintainability and Safety. Current trends in reliability, availability, maintainability and safety (pp. 213–227).

  • Silvestre, S., da Silva, M., Chouder, A., Guasch, D., & Karatepe, E. (2014). New procedure for fault detection in grid connected pv systems based on the evaluation of current and voltage indicators. Energy Conversion and Management, 86, 241–249.

    Article  Google Scholar 

  • Stauffer, Y., Ferrario, D., Onillon, E., & Hutter, A. (2015). Power monitoring based photovoltaic installation fault detection. In 2015 International Conference on Renewable Energy Research and Applications (ICRERA) (pp. 199–202).

  • Suganthi, L., Iniyan, S., & Samuel, A. (2015). Applications of fuzzy logic in renewable energy systems—A review. Renewable and Sustainable Energy Reviews, 48, 585–607.

  • Tadj, M., Benmouiza, K., Cheknane, A., & Silvestre, S. (2014). Improving the performance of pv systems by faults detection using gistel approach. Energy Conversion and Management, 80, 298–304.

    Article  Google Scholar 

  • Takashima, T. , Yamaguchi, J., & Ishida, M. (2008). Disconnection detection using earth capacitance measurement in photovoltaic module string. http://www-personal.umich.edu/~mejn/netdata/

  • Takashima, T. , Yamaguchi, J. , Otani, K. , Kato, K., & Ishida, M. (2006) Experimental studies of failure detection methods in pv modules strings. In 2006 IEEE 4th World Conference on Photovoltaic Energy Conference (pp. 2227–2230).

  • Takashima, T., Yamaguchi, J., Otani, K., Oozeki, T., Kato, K., & Ishida, M. (2009). Experimental studies of fault location in pv module strings. Solar Energy Materials and Solar Cells, 93, 1079–1082.

    Article  Google Scholar 

  • Tan, J., & Deng, C. (2017). Ultra-short-term photovoltaic generation forecasting model based on weather clustering and markov chain. In 2017 IEEE 44th Photovoltaic Specialist Conference (PVSC) (pp. 1158–1162).

  • Watson, I. (1998). The complete pyramids. Reference Reviews.

  • Wu, Y. , Lan, Q., & Sun, Y. (2009). Application ofbp neural network fault diagnosis in solar photovoltaic system. In 2009 International conference on Mechatronics and Automation (pp. 2581–2585).

  • Yunliang, Z. , Lijun, Z. , Xiaodong, Q., & Quan, Z. (2009). Flexible knn algorithm for text categorization by authorship based on features of lingual conceptual expression. In 2009 WRI World Congress on Computer Science and Information Engineering (pp. 601–605).

  • Zenebe, T., Midtgard, O. , Voller, S., & Cali, U. (2021). Machine learning for pv system operational fault analysis: Literature review.

  • Zhao, Y., De Palma, J., Mosesian, J., Lyons, R., & Lehman, B. (2012). Line-line fault analysis and protection challenges in solar photovoltaic arrays. IEEE transactions on Industrial Electronics, 60, 3784–3795.

    Article  Google Scholar 

  • Zhiqiang, H., & Li, G. (2009). Research and implementation of microcomputer online fault detection of solar array. In 2009 4th International Conference on Computer Science and Education (pp. 1052–1055).

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Youssouf Mouleloued.

Ethics declarations

Conflict of interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mouleloued, Y., Kara, K. & Chouder, A. A Developed Algorithm Inspired from the Classical KNN for Fault Detection and Diagnosis PV Systems. J Control Autom Electr Syst 34, 1013–1027 (2023). https://doi.org/10.1007/s40313-023-01025-1

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s40313-023-01025-1

Keywords

Navigation