Integrated Cloud and Hardware-in-the-Loop Framework for IoT-Based Control and Monitoring

Authors

  • Diuary Gonçalves Centro Federal de Educação Tecnológica Celso Suckow da Fonseca image/svg+xml
  • Ives de O. Furtado Centro Federal de Educação Tecnológica de Minas Gerais image/svg+xml
  • Allan F. Cupertino Universidade Federal de Juiz de Fora image/svg+xml
  • Heverton Augusto Pereira Universidade Federal de Viçosa image/svg+xml
  • Remus Teodorescu Aalborg University image/svg+xml

DOI:

https://doi.org/10.18618/REP.e202616

Keywords:

Cloud-Based Platform, Hardware-in-the-Loop, Isolated Power Energy System, Battery Energy Storage Systems, State of Charge Management

Abstract

This work introduces a Cloud-in-the-Loop approach that combines Internet of Things (IoT) devices with Hardware-in-the-Loop simulation for testing control and monitoring applications. The proposed architecture employs a three-level hierarchical structure: the first level simulates the Battery Energy Storage System and local power flow control on a Digital Sampling Processor microcontroller, the second level uses an ESP32 microcontroller for Controller Area Network (CAN) communication and data transmission to the cloud, and the third level, implemented with an online broker, enables data storage, analysis and commands. A simplified power flow model and a battery model representation are considered to evaluate long-term operation with one year of climate and load data. Two load management strategies were compared: (i) total load shedding at 0% State of Charge, and (ii) hierarchical load disconnection at predefined SOC thresholds. Results showed that the hierarchical strategy increased the average State of Charge by 25.2% (54.66% vs. 43.64%), prevented interruptions to critical loads. The results show that the proposed framework serves as a flexible step before real deployment, since its cloud-based functions remain unaltered while only the physical hardware is replaced. This approach reduces implementation problems and allows the methodology to be extended to various case studies.

Downloads

Download data is not yet available.

Author Biographies

Diuary Gonçalves, Centro Federal de Educação Tecnológica Celso Suckow da Fonseca

received the B.S. degree in electrical engineering from the Universidade Federal de Viçosa, Viçosa, Brazil, in 2022, and the M.S. degree in electrical engineering from the Centro Federal de Educação Tecnológica of Minas Gerais, Belo Horizonte, Brazil, in 2023. Currently doing his Ph.D. degree in electrical engineering from the Federal Center for Technological Education of Minas Gerais, Belo Horizonte, Brazil. He is currently a Federal Institute Professor at the Department of Electrical Engineering, Centro Federal de Educação Tecnológica Celso Suckow da Fonseca - Nova Friburgo, Rio de Janeiro, Brazil. His main research interests include battery energy storage systems, battery state of health and charge estimation, and photovoltaic inverter control and modelling

Ives de O. Furtado, Centro Federal de Educação Tecnológica de Minas Gerais

is a Master’s candidate in Electrical Engineering at the Centro Federal de Educação Tecnológica de Minas Gerais (CEFET-MG). His research focuses on photovoltaic module characterization and performance monitoring systems. He is a member of the research group GESEP (Gerência de Especialistas em Sistemas Elétricos de Potência) at the Universidade Federal de Viçosa. His main research interests include photovoltaic systems, embedded systems, IoT applications for renewable energy, and signal processing for power electronics.

Allan F. Cupertino, Universidade Federal de Juiz de Fora

received the Bachelor’s degree in Electrical Engineering from the Federal University of Viçosa in 2013, and the Master’s and Doctoral degrees in Electrical Engineering from the Federal University of Minas Gerais in 2015 and 2019, respectively. Was a visiting Ph.D. student at the Department of Energy Technology at Aalborg University from 2018 to 2019. From 2014 to 2022, was an Assistant Professor at the Federal Center for Technological Education of Minas Gerais. Since 2023, has been with the Department of Electrical Energy at the Federal University of Juiz de Fora. His main research interests include renewable energy conversion systems, smart battery energy storage systems, cascaded multilevel converters, and reliability. Prof. Cupertino was awarded the President Bernardes Silver Medal in 2013, the SOBRAEP Doctoral Thesis Award in 2020, and the IAS CMD Doctoral Thesis Contest in 2021. He is a member of the Brazilian Power Electronics Society and the Brazilian Society of Automatics.

Heverton Augusto Pereira, Universidade Federal de Viçosa

obtained the Bachelor’s degree in Electrical Engineering from the Federal University of Viçosa, Brazil, in 2007, the Master’s degree from the State University of Campinas in 2009, and the Doctoral degree from the Federal University of Minas Gerais in 2015, all in the field of Electrical Engineering. Was a visiting researcher at the Department of Energy Technology at Aalborg University, Denmark, in 2014. Has been working as an Associate Professor in the Department of Electrical Engineering at UFV since 2009. His main research interests include grid-connected converters for solar energy systems and energy storage systems.

Remus Teodorescu, Aalborg University

received a Dipl. Ing. degree in Electrical Engineering from the Polytechnical University of Bucharest, Bucharest, Romania, in 1989, and a Ph.D. degree in Power Electronics from the University of Galati, Galati, Romania, in 1994. Since 1998, he has been working with the Power Electronics Section, Department of Energy Technology, Aalborg University, Aalborg, Denmark, where he is currently a Professor. He is the Founder and Coordinator of the Green Power Laboratory, Aalborg University, focusing on the development and testing of grid converters for renewable energy systems. He is the Coordinator of the Vestas Power Program involving ten Ph.D. students, two postdoctoral researchers, and Guest Professors in the areas of Power Electronics, Power Systems, and Energy Storage. His areas of interest are the design and control of power converters used in photovoltaics and wind-power systems, grid integration with wind power, medium-voltage converters, and high-voltage direct current/flexible ac transmission system energy storage. He is a Past Associate Editor of the IEEE Transactions on Power Electronics and Chair of the IEEE Danish joint IES/PELS/IAS chapter.

References

A. von Jouanne, E. Agamloh, A. Yokochi, “Power Hardware-in-the-Loop (PHIL): A Review to Advance Smart Inverter-Based Grid-Edge Solutions”, Energies, vol. 16, no. 2, 2023, doi:10.3390/en16020916.

H. Magnago, H. Figueira, O. Gagrica, D. Majstorovic, “HIL-based certification for converter controllers: Advantages, challenges and outlooks (Invited Paper)”, in 2021 21st International Symposium on Power Electronics (Ee), pp. 1–6, 2021, doi:10.1109/Ee53374.2021.9628196.

J. Saele, I. O’Bryan, “Realization of Real-Time Simulation of Power Electronics Systems in Applications - A Review of Requirements and Methods”, in 2024 IEEE 15th International Symposium on Power Electronics for Distributed Generation Systems (PEDG), pp. 1–6, 2024, doi:10.1109/PEDG61800.2024.10667355.

C. S. B. Clausen, B. N. Jørgensen, Z. G. Ma, “A scoping review of In-the-loop paradigms in the energy sector focusing on software-in-the-loop”, Energy Informatics, vol. 7, no. 1, p. 12, 2024, doi:10.1186/s42162-024-00312-8.

L. C. Hidalgo Monsivais, Y. León Ruiz, J. C. Hernández Ramírez,N. Visairo-Cruz, J. Segundo-Ramírez, E. Barocio, “Controller Hardware-in-the-Loop Validation of a DSP-Controlled Grid-Tied Inverter Using Impedance and Time-Domain Approaches”, Electricity, vol. 6, no. 3, 2025, doi:10.3390/electricity6030052.

P. Lamo, A. de Castro, A. Sanchez, G. A. Ruiz, F. J. Azcondo, A. Pigazo, “Hardware-in-the-Loop and Digital Control Techniques Applied to Single-Phase PFC Converters”, Electronics, vol. 10, no. 13, 2021, doi:10.3390/electronics10131563.

L. F. R. Menegazzo, A. L. N. Severo, L. B. Piton, C. M. de Freitas, R. J. F. Bortolini, L. V. Bellinaso, L. Michels, F. de Morais Carnielutti, “Unified Platform for Automated Tests of Inverter-Based Resources with Hardware-in-the-loop”, Eletrônica de Potência, vol. 29, p. e202443, Oct. 2024, doi:10.18618/REP.e202443.

A. von Jouanne, E. Agamloh, A. Yokochi, “Power Hardware-in-the-Loop (PHIL): A Review to Advance Smart Inverter-Based Grid-Edge Solutions”, Energies, vol. 16, no. 2, 2023, doi:10.3390/en16020916.

F. Mihalič, M. Truntič, A. Hren, “Hardware-in-the-Loop Simulations: A Historical Overview of Engineering Challenges”, Electronics, vol. 11, no. 15, 2022, doi:10.3390/electronics11152462.

D. Gebbran, A. Barragán-Moreno, P. I. Gómez, R. K. Subroto, M. M. Mardani, M. López, J. Quiroz, T. Dragičević, “Cloud and Edge Computing for Smart Management of Power Electronic Converter Fleets: A Key Connective Fabric to Enable the Green Transition”, IEEE Industrial Electronics Magazine, vol. 17, no. 2, pp. 6–19, 2023, doi:10.1109/MIE.2022.3211125.

S. H. Jeon, J. Lee, J. K. Choi, “Energy Outage-Aware Power Distribution Scheme for Off-Grid Base Station Operation”, IEEE Communications Letters, vol. 21, no. 6, pp. 1401–1404, 2017, doi:10.1109/LCOMM.2017.2676108.

R. d. S. Ferraz, S. G. M. Oliveira, H. Tertuliano dos S. Filho, C. Bastos da Silva, “Design and Autonomy Evaluation of a Power Supply for Long Range IoT Devices Using Magnetic Field Harvested Energy from High Current”, Eletrônica de Potência, vol. 29, p. e202429, Sep 2024, doi:10.18618/REP.e202429.

D. Tan, “Power Electronics: Historical Notes, Recent Advances and Contemporary Challenges”, Eletrônica de Potência, vol. 25, no. 4, pp. 386–394, Dec 2020, doi:10.18618/REP.2020.4.00701.

X. Hu, Y. Che, X. Lin, S. Onori, “Battery Health Prediction Using Fusion-Based Feature Selection and Machine Learning”, IEEE Transactions on Transportation Electrification, vol. 7, no. 2, pp. 382–398, 2021, doi:10.1109/TTE.2020.3017090.

CONCERT Technologies, “thingable! IoT Platform”, https://www.thingable.com.br, access on May 30, 2023.

E. Gonschorowski, R. Cardoso, E. L. Carvalho, C. M. d. O. Stein, E. G. Carati, G. W. Denardin, J. P. Costa, “Adaptive Frequency-Based Power Management for Off-Grid Hybrid Photovoltaic Converters”, Eletrônica de Potência, vol. 29, p. 22, 2024, doi:10.18618/REP.e202440.

V. B. Costa, R. S. Capaz, B. D. Bonatto, “Small steps towards energy poverty mitigation: Life cycle assessment and economic feasibility analysis of a photovoltaic and battery system in a Brazilian indigenous community”, Renewable and Sustainable Energy Reviews, vol. 180, p. 113266, 2023, doi:10.1016/j.rser.2023.113266.

S. Jain, S. Dhara, V. Agarwal, “A Voltage-Zone Based Power Management Scheme With Seamless Power Transfer Between PV-Battery for OFF-Grid Stand-Alone System”, IEEE Transactions on Industry Applications, vol. 57, no. 1, pp. 754–763, 2021, doi:10.1109/TIA.2020.3031265.

G. Plett, Battery Management Systems, Volume I: Battery Modeling, Artech House power engineering series, Artech House, 2015.

E. Liu, Y. Han, A. S. Zalhaf, P. Yang, C. Wang, “Performance evaluation of isolated three-phase voltage source inverter with LC filter adopting different MPC methods under various types of load”, Control Engineering Practice, vol. 135, p. 105520, 2023, doi:10.1016/j.conengprac.2023.105520.

L. Lorenzoni, P. Cherubini, D. Fioriti, D. Poli, A. Micangeli, R. Giglioli, “Classification and modeling of load profiles of isolated mini-grids in developing countries: A data-driven approach”, Energy for Sustainable Development, vol. 59, pp. 208–225, 2020, doi:10.1016/j.esd.2020.10.001.

R. Faranda, H. Hafezi, “Reassessment of voltage variation for load power and energy demand management”, International Journal of Electrical Power & Energy Systems, vol. 106, pp. 320–326, 2019, doi:10.1016/j.ijepes.2018.10.012.

M. Farrokhabadi, C. A. Cañizares, K. Bhattacharya, “Frequency Control in Isolated/Islanded Microgrids Through Voltage Regulation”,IEEE Transactions on Smart Grid, vol. 8, no. 3, pp. 1185–1194, 2017, doi:10.1109/TSG.2015.2479576.

ANEEL, “Procedimentos de Dsitribuição de Energia Elétrica no Sistema Elétrico Nacional (PRODIST) - Módulo 8: Qualidade da Energia Elétrica”, , 2023.

L. S. Xavier, A. F. Cupertino, H. A. Pereira, V. F. Mendes, “Power Control Strategy for Grid-Connected Inverters in Stationary Reference Frame”, Eletrônica de Potˆencia, vol. 27, no. 2, pp. 129–138, 2022, doi:10.18618/REP.2022.2.0048.

R. Cassio de Barros, W. Caires Silva Amorim, W. do Couto Boaventura, A. Fagner Cupertino, V. Flores Mendes, H. Augusto Pereira, “Methodology for BESS Design Assisted by Choice Matrix Approach”, Eletrônica de Potência, vol. 29, p. e202412, 2024, doi:10.18618/REP.2005.1.019027.

K. S. Gyamfi, E. Gaura, J. Brusey, A. B. Trindade, N. Verba, “Understanding Household Fuel Choice Behaviour in the Amazonas State, Brazil: Effects of Validation and Feature Selection”, Energies, vol. 13, no. 15, 2020, doi:10.3390/en13153857.

I. N. de Meteorologia, “Dados Históricos Anuais”, Accessed on September 09, 2024, 2023, URL: https://portal.inmet.gov.br/dadoshistoricos.

J. Solar, “Tiger Pro 72HC-BDVP 535-555 Watt”, Accessed on September 09, 2024, 2020, URL: https://jinkosolarcdn.shwebspace.com/uploads/JKM535-555M-72HL4-BDVP-F6%20EN.pdf.

WEG, “Sistema de Armazenamento de Energia em Baterias”, Accessed on September 09, 2024, 2021, URL: https://static.weg.net/medias/downloadcenter/hc7/h38/WEG-ESSW-sistema-de-armazenamento-de-energia-50100243-pt.pdf.

Downloads

Published

2026-03-12

How to Cite

[1]
D. Gonçalves, I. de O. Furtado, A. F. Cupertino, H. A. Pereira, and R. Teodorescu, “Integrated Cloud and Hardware-in-the-Loop Framework for IoT-Based Control and Monitoring”, Eletrônica de Potência, vol. 31, p. e202616, Mar. 2026.

Issue

Section

Original Papers