{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,25]],"date-time":"2026-03-25T16:35:10Z","timestamp":1774456510063,"version":"3.50.1"},"reference-count":30,"publisher":"MDPI AG","issue":"17","license":[{"start":{"date-parts":[[2024,9,6]],"date-time":"2024-09-06T00:00:00Z","timestamp":1725580800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>The problem of Power Quality analysis is becoming crucial to ensuring the proper functioning of complex systems and big plants. In this regard, it is essential to rapidly detect anomalies in voltage and current signals to ensure a prompt response and maximize the system\u2019s availability with the minimum maintenance cost. In this paper, anomaly detection algorithms based on machine learning, such as One Class Support Vector Machine (OCSVM), Isolation Forest (IF), and Angle-Based Outlier Detection (ABOD), are used as a first tool for rapid and effective clustering of the measured voltage and current signals directly on-line on the sensing unit. If the proposed anomaly detection algorithm detects an anomaly, further investigations using suitable classification algorithms are required. The main advantage of the proposed solution is the ability to rapidly and efficiently detect different types of anomalies with low computational complexity, allowing the implementation of the algorithm directly on the sensor node used for signal acquisition. A suitable experimental platform has been established to evaluate the advantages of the proposed method. All the different models were tested using a consistent set of hyperparameters and an output dataset generated from the principal component analysis technique. The best results achieved included models reaching 100% recall and a 92% F1 score.<\/jats:p>","DOI":"10.3390\/s24175807","type":"journal-article","created":{"date-parts":[[2024,9,6]],"date-time":"2024-09-06T11:53:11Z","timestamp":1725623591000},"page":"5807","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":16,"title":["Anomaly Detection for Power Quality Analysis Using Smart Metering Systems"],"prefix":"10.3390","volume":"24","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6661-6754","authenticated-orcid":false,"given":"Gabriele","family":"Patrizi","sequence":"first","affiliation":[{"name":"Department of Information Engineering, University of Florence, Via di Santa Marta, 3, 50139 Florence, Italy"}]},{"given":"Cristian","family":"Garzon Alfonso","sequence":"additional","affiliation":[{"name":"Department of Information Engineering, University of Florence, Via di Santa Marta, 3, 50139 Florence, Italy"}]},{"given":"Leandro","family":"Calandroni","sequence":"additional","affiliation":[{"name":"Department of Information Engineering, University of Florence, Via di Santa Marta, 3, 50139 Florence, Italy"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0039-0478","authenticated-orcid":false,"given":"Alessandro","family":"Bartolini","sequence":"additional","affiliation":[{"name":"Department of Information Engineering, University of Florence, Via di Santa Marta, 3, 50139 Florence, Italy"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9907-3626","authenticated-orcid":false,"given":"Carlos","family":"Iturrino Garcia","sequence":"additional","affiliation":[{"name":"Department of Information Engineering, University of Florence, Via di Santa Marta, 3, 50139 Florence, Italy"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5285-1251","authenticated-orcid":false,"given":"Libero","family":"Paolucci","sequence":"additional","affiliation":[{"name":"Department of Information Engineering, University of Florence, Via di Santa Marta, 3, 50139 Florence, Italy"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8697-2091","authenticated-orcid":false,"given":"Francesco","family":"Grasso","sequence":"additional","affiliation":[{"name":"Department of Information Engineering, University of Florence, Via di Santa Marta, 3, 50139 Florence, Italy"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7820-6656","authenticated-orcid":false,"given":"Lorenzo","family":"Ciani","sequence":"additional","affiliation":[{"name":"Department of Information Engineering, University of Florence, Via di Santa Marta, 3, 50139 Florence, Italy"}]}],"member":"1968","published-online":{"date-parts":[[2024,9,6]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Baggini, A. (2008). Handbook of Power Quality, John Wiley & Sons. Available online: https:\/\/books.google.it\/books?id=u1Nxi7t8ROQC.","DOI":"10.1002\/9780470754245"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Crotti, G., Chen, Y., \u00c7ayci, H., D\u2019Avanzo, G., Landi, C., Letizia, P.S., Luiso, M., Mohns, E., Mu\u00f1oz, F., and Styblikova, R. (2022). How Instrument Transformers Influence Power Quality Measurements: A Proposal of Accuracy Verification Tests. Sensors, 22.","DOI":"10.3390\/s22155847"},{"key":"ref_3","unstructured":"Heydt, G.T. (1991). Electric Power Quality, Circle Publications."},{"key":"ref_4","unstructured":"IEEE Power and Energy Society and Transmission and Distribution Committee (2019). IEEE Recommended Practice for Monitoring Electric Power Quality, IEEE."},{"key":"ref_5","first-page":"2517210","article-title":"An Innovative Single Shot Power Quality Disturbance Detector Algorithm","volume":"71","author":"Patrizi","year":"2022","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Muqeet, H.A., Liaqat, R., Jamil, M., and Khan, A.A. (2023). A State-of-the-Art Review of Smart Energy Systems and Their Management in a Smart Grid Environment. Energies, 16.","DOI":"10.3390\/en16010472"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"110050","DOI":"10.1016\/j.rser.2020.110050","article-title":"Research challenges in real-time classification of power quality disturbances applicable to microgrids: A systematic review","volume":"132","author":"Igual","year":"2020","journal-title":"Renew. Sustain. Energy Rev."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"1148","DOI":"10.1016\/j.procs.2020.03.417","article-title":"IoT Based Wireless Sensor Network for Power Quality Control in Smart Grid","volume":"167","author":"Bagdadee","year":"2020","journal-title":"Procedia Comput. Sci."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Mingotti, A., Costa, F., Peretto, L., and Tinarelli, R. (2022). Effect of Proximity, Burden, and Position on the Power Quality Accuracy Performance of Rogowski Coils. Sensors, 22.","DOI":"10.3390\/s22010397"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"133","DOI":"10.1016\/j.measurement.2017.02.032","article-title":"Smart sensor network for power quality monitoring in electrical installations","volume":"103","year":"2017","journal-title":"Measurement"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Hidalgo-Fort, E., G\u00f3mez-Gal\u00e1n, J.A., Gonz\u00e1lez-Carvajal, R., S\u00e1nchez-C\u00e1rdenas, P., and Clemente-Maya, C. (2023). Battery-Less Industrial Wireless Monitoring and Control System for Improved Operational Efficiency. Sensors, 23.","DOI":"10.3390\/s23052517"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Pardo-Zamora, O.N., Romero-Troncoso, R.d.J., Millan-Almaraz, J.R., Morinigo-Sotelo, D., Osornio-Rios, R.A., and Antonino-Daviu, J.A. (2021). Power Quality Disturbance Tracking Based on a Proprietary FPGA Sensor with GPS Synchronization. Sensors, 21.","DOI":"10.3390\/s21113910"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"145","DOI":"10.1177\/0142331218758886","article-title":"A highly accurate and fast power quality disturbances classification based on dictionary learning sparse decomposition","volume":"41","author":"Cai","year":"2019","journal-title":"Trans. Inst. Meas. Control."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"594","DOI":"10.1016\/j.ijepes.2014.04.015","article-title":"Integrated DWT\u2013FFT approach for detection and classification of power quality disturbances","volume":"61","author":"Deokar","year":"2014","journal-title":"Int. J. Electr. Power Energy Syst."},{"key":"ref_15","first-page":"1","article-title":"A Novel Methodology for Unsupervised Anomaly Detection in Industrial Electrical Systems","volume":"72","author":"Gallo","year":"2023","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Samanta, I.S., Panda, S., Rout, P.K., Bajaj, M., Piecha, M., Blazek, V., and Prokop, L. (2023). A Comprehensive Review of Deep-Learning Applications to Power Quality Analysis. Energies, 16.","DOI":"10.3390\/en16114406"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Carrat\u00f9, M., Gallo, V., Pietrosanto, A., Sommella, P., Patrizi, G., Bartolini, A., Ciani, L., Catelani, M., and Grasso, F. (2023, January 22\u201325). Anomaly Detection on Industrial Electrical Systems using Deep Learning. Proceedings of the 2023 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Kuala Lumpur, Malaysia.","DOI":"10.1109\/I2MTC53148.2023.10175908"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Rodrigues, N.M., Janeiro, F.M., and Ramos, P.M. (2023). Power Quality Transient Detection and Characterization Using Deep Learning Techniques. Energies, 16.","DOI":"10.3390\/en16041915"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Dekhandji, F.Z., Recioui, A., Ladada, A., and Moulay Brahim, T.S. (2023). Detection and Classification of Power Quality Disturbances Using LSTM. Eng. Proc., 29.","DOI":"10.3390\/engproc2022029002"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Perez-Anaya, E., Jaen-Cuellar, A.Y., Elvira-Ortiz, D.A., Romero-Troncoso, R.d.J., and Saucedo-Dorantes, J.J. (2024). Methodology for the Detection and Classification of Power Quality Disturbances Using CWT and CNN. Energies, 17.","DOI":"10.3390\/en17040852"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Patrizi, G., Iturrino-Garc\u00eda, C., Bartolini, A., Ermini, F., Paolucci, L., Ciani, L., Grasso, F., and Catelani, M. (2023, January 22\u201325). Improving Power Quality measurements using deep learning for disturbance classification. Proceedings of the 2023 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Kuala Lumpur, Malaysia.","DOI":"10.1109\/I2MTC53148.2023.10176109"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Carn\u00ed, D.L., and Lamonaca, F. (2024). Local Distributed Node for Power Quality Event Detection Based on Multi-Sine Fitting Algorithm. Sensors, 24.","DOI":"10.3390\/s24082474"},{"key":"ref_23","first-page":"100204","article-title":"Detection and classification of power quality disturbances using GWO ELM","volume":"22","author":"Subudhi","year":"2021","journal-title":"J. Ind. Inf. Integr."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Mozaffari, M., Doshi, K., and Yilmaz, Y. (2022). Real-Time Detection and Classification of Power Quality Disturbances. Sensors, 22.","DOI":"10.3390\/s22207958"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Patrizi, G., Bartolini, A., Garcia, C.I., Del Rio, C., Ciani, L., Catelani, M., and Grasso, F. (2022, January 7\u20139). Reliability Prediction of an innovative Power Quality Meter. Proceedings of the 2022 IEEE International Workshop on Metrology for Industry 4.0 & IoT (MetroInd4.0&IoT), Trento, Italy.","DOI":"10.1109\/MetroInd4.0IoT54413.2022.9831774"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"498","DOI":"10.1037\/h0070888","article-title":"Analysis of a complex of statistical variables into principal components","volume":"24","author":"Hotelling","year":"1933","journal-title":"J. Educ. Psychol."},{"key":"ref_27","unstructured":"Solla, S., Leen, T., and M\u00fcller, K. (1999). Support Vector Method for Novelty Detection. Advances in Neural Information Processing Systems, MIT Press. Available online: https:\/\/proceedings.neurips.cc\/paper_files\/paper\/1999\/file\/8725fb777f25776ffa9076e44fcfd776-Paper.pdf."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Liu, F.T., Ting, K.M., and Zhou, Z.-H. (2008, January 15\u201319). Isolation Forest. Proceedings of the 2008 Eighth IEEE International Conference on Data Mining, Pisa, Italy.","DOI":"10.1109\/ICDM.2008.17"},{"key":"ref_29","unstructured":"Kr\u00f6ger, P., Schubert, M., and Zimek, A. (2008, January 24\u201327). Angle-based outlier detection in high-dimensional data. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Las Vegas, NV, USA."},{"key":"ref_30","unstructured":"Powers, D.M.W. (2020). Evaluation: From Precision, Recall and F-Measure to ROC, Informedness, Markedness and Correlation. arXiv, Available online: https:\/\/arxiv.org\/abs\/2010.16061."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/17\/5807\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T15:50:01Z","timestamp":1760111401000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/17\/5807"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,9,6]]},"references-count":30,"journal-issue":{"issue":"17","published-online":{"date-parts":[[2024,9]]}},"alternative-id":["s24175807"],"URL":"https:\/\/doi.org\/10.3390\/s24175807","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,9,6]]}}}