{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,5]],"date-time":"2026-04-05T20:37:23Z","timestamp":1775421443834,"version":"3.50.1"},"reference-count":45,"publisher":"MDPI AG","issue":"18","license":[{"start":{"date-parts":[[2020,9,10]],"date-time":"2020-09-10T00:00:00Z","timestamp":1599696000000},"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>In systems connected to smart grids, smart meters with fast and efficient responses are very helpful in detecting anomalies in realtime. However, sending data with a frequency of a minute or less is not normal with today\u2019s technology because of the bottleneck of the communication network and storage media. Because mitigation cannot be done in realtime, we propose prediction techniques using Deep Neural Network (DNN), Support Vector Regression (SVR), and k-Nearest Neighbors (KNN). In addition to these techniques, the prediction timestep is chosen per day and wrapped in sliding windows, and clustering using Kmeans and intersection Kmeans and HDBSCAN is also evaluated. The predictive ability applied here is to predict whether anomalies in electricity usage will occur in the next few weeks. The aim is to give the user time to check their usage and from the utility side, whether it is necessary to prepare a sufficient supply. We also propose the latency reduction to counter higher latency as in the traditional centralized system by adding layer Edge Meter Data Management System (MDMS) and Cloud-MDMS as the inference and training model. Based on the experiments when running in the Raspberry Pi, the best solution is choosing DNN that has the shortest latency 1.25 ms, 159 kB persistent file size, and at 128 timesteps.<\/jats:p>","DOI":"10.3390\/s20185159","type":"journal-article","created":{"date-parts":[[2020,9,10]],"date-time":"2020-09-10T09:10:09Z","timestamp":1599729009000},"page":"5159","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":18,"title":["A Multitiered Solution for Anomaly Detection in Edge Computing for Smart Meters"],"prefix":"10.3390","volume":"20","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-4579-3468","authenticated-orcid":false,"given":"Darmawan","family":"Utomo","sequence":"first","affiliation":[{"name":"Computer Science and Information Engineering, National Chung Cheng University, No. 168, Sec. 1, University Rd., Minhsiung, Chiayi 62102, Taiwan"},{"name":"Faculty of Electronics and Computer Engineering, Satya Wacana Christian University, Jalan Diponegoro 52-60, Salatiga 50711, Indonesia"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3639-1467","authenticated-orcid":false,"given":"Pao-Ann","family":"Hsiung","sequence":"additional","affiliation":[{"name":"Computer Science and Information Engineering, National Chung Cheng University, No. 168, Sec. 1, University Rd., Minhsiung, Chiayi 62102, Taiwan"}]}],"member":"1968","published-online":{"date-parts":[[2020,9,10]]},"reference":[{"key":"ref_1","unstructured":"Menonna, F., and Holden, C. (2020, August 25). WoodMac: Smart Meter Installations to Surge Globally Over Next 5 Years. Available online: https:\/\/www.greentechmedia.com\/articles\/read\/advanced-metering-infrastructure-to-double-by-2024."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"78","DOI":"10.1109\/MC.2016.145","article-title":"The Promise of Edge Computing","volume":"49","author":"Shi","year":"2016","journal-title":"Computer"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"3125","DOI":"10.1109\/TSG.2018.2818167","article-title":"Review of Smart Meter Data Analytics: Applications, Methodologies, and Challenges","volume":"10","author":"Wang","year":"2019","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_4","first-page":"7857-1","article-title":"Low carbon london project: Data from the dynamic time-of-use electricity pricing trial","volume":"7857","author":"Schofield","year":"2013","journal-title":"UK Data Serv. Colch. UK"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"10","DOI":"10.1109\/MNET.2019.1800376","article-title":"Blockchain and Deep Reinforcement Learning Empowered Intelligent 5G Beyond","volume":"33","author":"Dai","year":"2019","journal-title":"IEEE Netw."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"2820","DOI":"10.1109\/COMST.2017.2720195","article-title":"Smart Meter Data Privacy: A Survey","volume":"19","author":"Asghar","year":"2017","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Sollacher, R., Jacob, T., and Derbel, F. (2012, January 20\u201323). Smart wireless Sub-Metering. Proceedings of the International Multi-Conference on Systems, Signals Devices, Chemnitz, Germany.","DOI":"10.1109\/SSD.2012.6198105"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Barai, G.R., Krishnan, S., and Venkatesh, B. (2015, January 26\u201328). Smart metering and functionalities of smart meters in smart grid\u2014A review. Proceedings of the 2015 IEEE Electrical Power and Energy Conference (EPEC), London, ON, Canada.","DOI":"10.1109\/EPEC.2015.7379940"},{"key":"ref_9","unstructured":"Authority-SG, E.M. (2020, August 25). Metering Options, Available online: https:\/\/www.ema.gov.sg\/Metering_Options.aspx."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Haes Alhelou, H., Hamedani-Golshan, M., Njenda, T., and Siano, P. (2019). A Survey on Power System Blackout and Cascading Events: Research Motivations and Challenges. Energies, 12.","DOI":"10.3390\/en12040682"},{"key":"ref_11","unstructured":"Saddler, H. (2020, August 25). Explainer: Power Station Trips are Normal, But Blackouts Are Not. Available online: https:\/\/theconversation.com\/explainer-power-station-trips-are-normal-but-blackouts-are-not-90682."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.ijepes.2019.01.039","article-title":"Effect of smart meter data collection frequency in an early detection of shorter-duration voltage anomalies in smart grids","volume":"109","author":"Yen","year":"2019","journal-title":"Int. J. Electr. Power Energy Syst."},{"key":"ref_13","unstructured":"Energy, U. (2020, August 25). Advanced Metering Infrastructure and Customer Systems, Available online: https:\/\/www.energy.gov\/sites\/prod\/files\/2016\/12\/f34\/AMI%20Summary%20Report_09-26-16.pdf."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"5196","DOI":"10.1109\/TSG.2017.2683461","article-title":"Shape-Based Approach to Household Electric Load Curve Clustering and Prediction","volume":"9","author":"Teeraratkul","year":"2018","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Branco, P., Torgo, L., and Ribeiro, R.P. (2016). A Survey of Predictive Modeling on Imbalanced Domains. ACM Comput. Surv., 49.","DOI":"10.1145\/2907070"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"830","DOI":"10.1109\/TSG.2017.2753738","article-title":"A Tunable Fraud Detection System for Advanced Metering Infrastructure Using Short-Lived Patterns","volume":"10","author":"Zanetti","year":"2019","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_17","first-page":"900","article-title":"Machine Learning Algorithm for Efficient Power Theft Detection using Smart Meter Data","volume":"7","author":"Jeyaranjani","year":"2018","journal-title":"Int. J. Eng. Technol."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Badrinath Krishna, V., Weaver, G.A., and Sanders, W.H. (2015). PCA-Based Method for Detecting Integrity Attacks on Advanced Metering Infrastructure. Proceedings of the 12th International Conference on Quantitative Evaluation of Systems\u2014Volume 9259, Springer. QEST 2015.","DOI":"10.1007\/978-3-319-22264-6_5"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"264","DOI":"10.1145\/331499.331504","article-title":"Data Clustering: A Review","volume":"31","author":"Jain","year":"1999","journal-title":"ACM Comput. Surv."},{"key":"ref_20","unstructured":"Kriegel, H.P., Kr\u00f6ger, P., and Zimek, A. (2020, August 25). Outlier Detection Techniques. Available online: https:\/\/www.dbs.ifi.lmu.de\/~zimek\/publications\/KDD2010\/kdd10-outlier-tutorial.pdf."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"321","DOI":"10.1613\/jair.953","article-title":"SMOTE: Synthetic minority over-sampling technique","volume":"16","author":"Chawla","year":"2002","journal-title":"J. Artif. Intell. Res."},{"key":"ref_22","unstructured":"He, H., Bai, Y., Garcia, E.A., and Li, S. (2008, January 1\u20138). ADASYN: Adaptive synthetic sampling approach for imbalanced learning. Proceedings of the 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), Hong Kong, China."},{"key":"ref_23","unstructured":"Bilogur, A. (2020, August 25). Oversampling with SMOTE and ADASYN. Available online: https:\/\/www.kaggle.com\/residentmario\/oversampling-with-smote-and-adasyn."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"1460","DOI":"10.1109\/SURV.2014.032014.00094","article-title":"A Survey on Electric Power Demand Forecasting: Future Trends in Smart Grids, Microgrids and Smart Buildings","volume":"16","author":"Hernandez","year":"2014","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"193","DOI":"10.1038\/s41560-017-0074-z","article-title":"Impact of uncoordinated plug-in electric vehicle charging on residential power demand","volume":"3","author":"Muratori","year":"2018","journal-title":"Nat. Energy"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Parvez, I., Sarwat, A.I., Wei, L., and Sundararajan, A. (2016). Securing Metering Infrastructure of Smart Grid: A Machine Learning and Localization Based Key Management Approach. Energies, 9.","DOI":"10.3390\/en9090691"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Nagi, J., Yap, K.S., Tiong, S.K., Ahmed, S.K., and Mohammad, A.M. (2008, January 19\u201321). Detection of Abnormalities and Electricity Theft using Genetic Support Vector Machines. Proceedings of the IEEE Region Ten Confernce, Hyderabad, India.","DOI":"10.1109\/TENCON.2008.4766403"},{"key":"ref_28","first-page":"1","article-title":"Dynamic Detection of False Data Injection Attack in Smart Grid using Deep Learning","volume":"1808","author":"Niu","year":"2018","journal-title":"Comput. Res. Repos."},{"key":"ref_29","unstructured":"Murshed, M.G.S., Murphy, C., Hou, D., Khan, N., Ananthanarayanan, G., and Hussain, F. (2019). Machine Learning at the Network Edge: A Survey. arXiv."},{"key":"ref_30","unstructured":"Chollet, F. (2020, August 25). Keras. Available online: https:\/\/keras.io."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"199","DOI":"10.1023\/B:STCO.0000035301.49549.88","article-title":"A tutorial on support vector regression","volume":"14","author":"Smola","year":"2004","journal-title":"Stat. Comput."},{"key":"ref_32","first-page":"1071","article-title":"Sparseness of Support Vector Machines","volume":"4","author":"Steinwart","year":"2003","journal-title":"J. Mach. Learn. Res."},{"key":"ref_33","unstructured":"Menon, A.K. (2009). Large-Scale Support Vector Machines: Algorithms and Theory, University of California."},{"key":"ref_34","first-page":"2825","article-title":"Scikit-learn: Machine Learning in Python","volume":"12","author":"Pedregosa","year":"2011","journal-title":"J. Mach. Learn. Res."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"91","DOI":"10.1109\/MC.2017.4451203","article-title":"Hacking Power Grids: A Current Problem","volume":"50","author":"Kshetri","year":"2017","journal-title":"Computer"},{"key":"ref_36","unstructured":"Shewhart, W. (1931). Economic Control of Quality of Manufactured Product, D. Van Nostrand Company, Incorporated."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Chandola, V., Banerjee, A., and Kumar, V. (2009). Anomaly Detection: A Survey. ACM Comput. Surv., 41.","DOI":"10.1145\/1541880.1541882"},{"key":"ref_38","first-page":"221","article-title":"Learning from imbalanced data: Open challenges and future directions","volume":"5","author":"Krawczyk","year":"2016","journal-title":"Prog. AI"},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long Short-Term Memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput."},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"53","DOI":"10.1016\/0377-0427(87)90125-7","article-title":"Silhouettes: A graphical aid to the interpretation and validation of cluster analysis","volume":"20","author":"Rousseeuw","year":"1987","journal-title":"J. Comput. Appl. Math."},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Campello, R.J.G.B., Moulavi, D., Zimek, A., and Sander, J. (2015). Hierarchical Density Estimates for Data Clustering, Visualization, and Outlier Detection. ACM Trans. Knowl. Discov. Data, 10.","DOI":"10.1145\/2733381"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Aburukba, R.O., AliKarrar, M., Landolsi, T., and El-Fakih, K. (2019). Scheduling Internet of Things requests to minimize latency in hybrid Fog\u2013Cloud computing. Future Gener. Comput. Syst.","DOI":"10.1016\/j.future.2019.09.039"},{"key":"ref_43","unstructured":"Brownlee, J. (2020, August 25). How to Develop Multi-Step LSTM Time Series Forecasting Models for Power Usage. Available online: https:\/\/machinelearningmastery.com\/how-to-develop-lstm-models-for-multi-step-time-series-forecasting-of-household-power-consumption\/."},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Goldstein, M., and Uchida, S. (2016). A comparative evaluation of unsupervised anomaly detection algorithms for multivariate data. PLoS ONE, 11.","DOI":"10.1371\/journal.pone.0152173"},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Chen, T., and Guestrin, C. (2016, January 13\u201317). XGBoost. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.","DOI":"10.1145\/2939672.2939785"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/18\/5159\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T10:08:37Z","timestamp":1760177317000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/18\/5159"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,9,10]]},"references-count":45,"journal-issue":{"issue":"18","published-online":{"date-parts":[[2020,9]]}},"alternative-id":["s20185159"],"URL":"https:\/\/doi.org\/10.3390\/s20185159","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,9,10]]}}}