Validation of controllers for photovoltaic inverters using automated tests and hardware-in-the-loop
DOI:
https://doi.org/10.18618/%20REP.e202548Keywords:
Finite Control Set Model Predictive Control, Automated Tests, Hardware-in-the-loop, Photovoltaic Inverter, Power ElectronicsAbstract
The ABNT NBR-16149 and NBR-16150 standards and INMETRO Ordinance No. 140 establish requirements for connecting PV inverters to the Brazilian electrical grid. To meet these requirements, the firmware of these devices needs to be properly designed and validated. Additionally, it is important to perform tests to verify whether the inverter and its control systems comply with the standards. In this context, this paper presents a methodology for the validation of controllers for PV inverters using Hardware-in-the-loop (HIL). To validate the proposed methodology, a two-level three-phase PV inverter with Finite Control Set Model Predictive Control (FCS-MPC) for current control and additional control and grid connection functionalities was evaluated. The compliance of the controller with relevant standards was assessed through automated HIL testing. This approach allows control designers to identify potential issues in advance, refine algorithms, and enhance controller performance before the complete hardware certification process of the inverter.
Downloads
References
Gov.br, Brasil bate recorde de expansão da energia solar em 2023, set 2023, URL: https://www.gov.br/mme/pt-br/assuntos/noticias/brasil-bate-recorde-de-expansao-da-energia-solar-em-2023, acesso em 25 nov. 2024.
Associação Brasileira de Normas Técnicas, “NBR 16149: Sistemas Fotovoltaicos (FV) – Características da interface de conexão com a rede elétrica de distribuição.”, 2013.
Associação Brasileira de Normas Técnicas, “NBR 16150: Sistemas Fotovoltaicos (FV) – Características da interface de conexão com a rede elétrica de distribuição – Procedimento de ensaio de conformidade.”, 2013.
INMETRO, Portaria N◦ 140 - Regulamento Técnico da Qualidade e os Requisitos de Avaliação da Conformidade para Equipamentos de Geração, Condicionamento e Armazenamento de Energia Elétrica em Sistemas Fotovoltaicos, Brasília, Brasil, mar 2022.
H. H. Figueira, C. Rech, L. Schuch, H. L. Hey, L. Michels, “Automated test platform for grid-connected PV inverter certification”, in 2015
IEEE 13th Brazilian Power Electronics Conference and 1st Southern Power Electronics Conference (COBEP/SPEC), pp. 1–6, 2015.
L. Wei, C. Yanbo, G. Leijiao, T. Wen, “Automatic test platform for photovoltaic grid-connected inverters”, in 2013 5th International Conference on Power Electronics Systems and Applications(PESA), pp. 1–4, 2013.
R. Rodrigues, A. Murilo, R. V. Lopes, L. C. G. D. Souza, “Hardware in the Loop Simulation for Model Predictive Control Applied to Satellite Attitude Control”, IEEE Access, vol. 7, pp. 157401–157416, 2019.
S. Khaliq, S. Ahsan, M. D. Nisar, “Multi-Platform Hardware In The Loop (HIL) Simulation for Decentralized Swarm Communication Using ROS and GAZEBO”, in 2021 IEEE 22nd International Symposium on a World of Wireless, Mobile and Multimedia Networks (WoWMoM), pp. 310–315, 2021.
A. Peiret, F. Gonz´alez, J. K¨ovecses, M. Teichmann, A. Enzenhoefer, “Model-Based Coupling for Co-Simulation of Robotic Contact Tasks”, IEEE Robotics and Automation Letters, vol. 5, no. 4, pp. 5756–5763, 2020.
J. Zelic, L. Novakovic, I. Klindo, G. Gruosso, “Hardware in the loop Framework for analysis of Impact of Electrical Vehicle Charging Devices on Distribution network”, in 2020 IEEE Vehicle Power and Propulsion Conference (VPPC), pp. 1–5, 2020.
G. Arena, G. Aiello, G. Scelba, M. Cacciato, F. Gennaro, “A Cost-Effective Hardware in the Loop Implementation of Dual Active Bridge for Fast Prototyping of Electric Vehicles Charging Controls”, in 2021 23rd European Conference on Power Electronics and Applications (EPE’21 ECCE Europe), pp. P.1–P.10, 2021.
I. Mishra, R. N. Tripathi, V. K. Singh, T. Hanamoto, “A Hardware-in-the-Loop Simulation Approach for Analysis of Permanent Magnet Synchronous Motor Drive”, in 2019 10th International Conference on Power Electronics and ECCE Asia (ICPE 2019 - ECCE Asia), pp. 1–6, 2019.
M. Ergen, E. Afacan, “Optimizing Control of Railway Traction Motor Performance with a Hardware-in-the-Loop Method”, in 2024 11th International Conference on Electrical and Electronics Engineering (ICEEE), pp. 101–106, 2024.
K. Kumar, C. Lee, S. Bae, “Unified Control Scheme based on Model Predictive Control for Hybrid-Energy-Storage-based Micro-grids”, IEEE Transactions on Power Electronics, pp. 1–20, 2025.
S. Karimi, S. Nazaralizadeh, A. Srivastava, A. Salem, P. Famouri, “Real Time Modeling and Control Algorithm of a Grid-Connected Battery Energy Storage System”, in 2025 IEEE Texas Power and Energy Conference (TPEC), pp. 1–6, 2025.
A. Al Ouardi, G. Gruosso, “Hardware In the Loop Simulation of a Microgrid: Framework for integration of Different Real Time devices”, in 2020 International Symposium on Power Electronics, Electrical Drives, Automation and Motion (SPEEDAM), pp. 330–335, 2020.
M. Farraj, R. Kaluthanthrige, A. Rajapakse, “Evaluating a Microgrid Control System Using Controller Hardware in the Loop Simulations”, in 2021 IEEE Electrical Power and Energy Conference (EPEC), pp. 316–321, 2021.
S. R. Nath, K. Bose, P. Purkait, “Real Time Hardware in Loop (HIL) Implementation and Control of Wind Generator”, in 2022 IEEE 6th International Conference on Condition Assessment Techniques in Electrical Systems (CATCON), pp. 171–176, 2022.
H. Li, A. M. Gole, C. N. M. Ho, “Controller Implementation and Performance Evaluation of a High Power Three-Phase Active Power Filter using Controller Hardware-in-the-Loop Simulation”, in 2018 IEEE Electrical Power and Energy Conference (EPEC), pp. 1–6, 2018.
M. A. Aslam, S. A. R. Kashif, M. Adeel, M. U. Shahid, M. Iqbal, M. A. Riaz, “A Controller Hardware in Loop Framework for Microgrid Control Applications”, in 2023 6th International Conference on Energy Conservation and Efficiency (ICECE), pp. 1–5, 2023.
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. d. M. Carnielutti, “Unified Platform for Automated Tests of Inverter-Based Resources with Harware-in-the-loop”, Eletrônica de Potência, vol. 29, p. e202443, Oct. 2024.
R. Br¨undlinger, “Pre-Certification of Grid Code Compliance for Solar Inverters with an Automated Controller-Hardware-in-the-Loop Test Environment”, Solar Integration Workshop, p. 5, 2018.
M. Steurer, F. Bogdan, W. Ren, M. Sloderbeck, S. Woodruff, “Controller and Power Hardware-In-Loop Methods for Accelerating Renewable Energy Integration”, in 2007 IEEE Power Engineering Society General Meeting, pp. 1–4, 2007, doi:10.1109/PES.2007.386022.
A. Ziuzev, H. M. Jassim, “Power Hardware-in-Loop Implementation for Power Grids and Devices: Report and Review”, in 2021 XVIII International Scientific Technical Conference Alternating Current Electric Drives (ACED), pp. 1–6, 2021.
G. F. Lauss, M. O. Faruque, K. Schoder, C. Dufour, A. Viehweider, J. Langston, “Characteristics and Design of Power Hardware-in-the-Loop Simulations for Electrical Power Systems”, IEEE Transactions on Industrial Electronics, vol. 63, no. 1, pp. 406–417, 2016.
F. Katiraei, K. Atef, K. Salem, T. Chang, B. Koosha, A. Momeni, “Power hardware-in-loop testing of advanced inverter functionalities”, in 2016 IEEE 43rd Photovoltaic Specialists Conference (PVSC), pp. 1381–1386, 2016.
L. F. R. Menegazzo, “Pr´e-certificação do firmware de inversores fotovoltaicos de acordo com a norma brasileira NBR 16150 através de hardware-in-the-loop”, VIII Congresso Brasileiro de Energia Solar, p. 9, 2020.
L. F. Menegazzo, “Hardware-in-the-Loop Low Voltage Fault Ride Through Tests of Commercial Photovoltaic Inverters”, 13º Semi´ario de Eletrˆonica de Potˆencia e Controle, p. 6, 2020.
S. R. F. L. e. a. Zhang, Z., “Systematic stability analysis, evaluation and testing process, and platform for grid-connected power electronic equipment”, Elektrotech Inftech, vol. 138, pp. 20–30, 2021.
L. F. R. Menegazzo, A. L. d. N. Severo, R. J. F. Bortolini, L. B. Piton, H. Magnago, F. d. M. Carnielutti, L. V. Bellinaso, L. Michels, H. Pinheiro, “Toward Fully-Automated Hardware-in-the-Loop Grid Code Compliance Certification of Inverter-Based Distributed Energy Resources”, IEEE Access, vol. 13, pp. 74900–74916, 2025.
L. F. R. Menegazzo, L. V. BELLINASO, F. D. M. BORTOLINI, RICARDO JOCHANN FRANCESCHI CARNIELUTTI, A. L. D. N. SEVERO, L. MICHELS, L. B. PITON, C. M. FREITAS, Proceedings of the 15th Seminar on Power Electronics and Control (SEPOC 2023).
J. V. Lopes Rosa, F. de Morais Carnielutti, H. Pinheiro, L. V. Belinaso, L. F. Rissotto Menegazzo, “Validation of Photovoltaic Inverter Controllers Using Automated Tests and Hardware-in-the-Loop”, in 2023 IEEE 8th Southern Power Electronics Conference and 17th Brazilian Power Electronics Conference (SPEC/COBEP), pp. 1–6.
A. HIL, Digital control of grid-tied converters, jan 2022, URL: https://hil.academy/courses/digital-control-of-grid-tied-converters/, acesso em 30 jan. 2025.
S. Vazquez, J. Rodriguez, M. Rivera, L. G. Franquelo, M. Norambuena, “Model Predictive Control for Power Converters and Drives: Advances and Trends”, IEEE Transactions on Industrial Electronics, vol. 64, no. 2, pp. 935–947, 2017.
J. Lee, “Model Predictive Control: Review of the Three Decades of Development”, International Journal of Control, Automation and Systems, vol. 9, pp. 415–424, 06 2011.
S. Vazquez, “Model Predictive Control A Review of Its Applications in Power Electronics”, IEEE industrial electronics magazine, vol. 33, p. 16, 2014.
J. Rodriguez, “Predictive Current Control of a Voltage Source Inverter”, IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, vol. 54, p. 10, 2007.
J. Rodriguez, M. P. Kazmierkowski, J. R. Espinoza, P. Zanchetta, H. Abu-Rub, H. A. Young, C. A. Rojas, “State of the Art of Finite Control Set Model Predictive Control in Power Electronics”, IEEE Transactions on Industrial Informatics, vol. 9, no. 2, pp. 1003–1016,
P. Cortes, J. Rodriguez, C. Silva, A. Flores, “Delay Compensation in Model Predictive Current Control of a Three-Phase Inverter”, IEEE Transactions on Industrial Electronics, vol. 59, no. 2, pp. 1323–1325.
K. Ogata, Engenharia de Controle Moderno, 5 ed., Pearson Prentice Hall, São Paulo, 2010, v. 5, 809 p.
K. Ogata, Discrete-Time Control Systems, 2 ed., Lynda Griffiths/TKM Productions, New Jersey, 1994, v. 2, 735 p.
H. Akagi, E. Watanabe, Instantaneous Power Theory and Applications to Power Conditioning, 04 2007.
R. Teodorescu, Grid converters for photovoltaic and wind power systems, John Wiley Sons, Ltd, United Kingdom, 2011.
H. J. W. George B. Arfken, MATHEMATICAL METHODS FOR PHYSICISTS, 6nd ed., Elsevier Academic Press, San Diego, Califórnia, 2005.
N. Femia, G. Petrone, G. Spagnuolo, M. Vitelli, “Optimization of perturb and observe maximum power point tracking method”, IEEE Transactions on Power Electronics, vol. 20, no. 4, pp. 963–973, 2005.
J. P. Ram, T. S. Babu, N. Rajasekar, “A comprehensive review on solar PV maximum power point tracking techniques”, Renewable and Sustainable Energy Reviews, vol. 67, pp. 826–847, 2017.
Typhoon HIL Inc, “HIL4/6 Series Hardware User Guide.”, , 2018.
C. R. D. Os´orio, D. A. Schuetz, G. G. Koch, F. Carnielutti, D. M. Lima, L. A. M. Jr, V. F. Montagner, H. Pinheiro, “Modulated Model Predictive Control Applied to LCL-Filtered Grid-Tied Inverters: A Convex Optimization Approach”, IEEE Open Journal of Industry Applications, vol. 2, pp. 366–377, 2021.
F. Carnielutti, M. Aly, M. Norambuena, J. Hu, J. Guerrero, J. Rodriguez, “Model Predictive Control of Master-Slave Inverters Operating with Fixed Switching Frequency”, in 2023 IEEE 8th Southern Power Electronics Conference and 17th Brazilian Power Electronics Conference (SPEC/COBEP), pp. 1–6, 2023.
D. Schuetz, C. R. D. Osório, L. A. Maccari, D. M. Lima, F. d. M. Carnielutti, V. F. Montagner, H. Pinheiro, “Space Vector Modulated Model Predictive Control for Grid-Tied Converters”, IEEE Transactions on Industrial Informatics, vol. 19, no. 1, pp. 414–425, 2023.
D. A. Schuetz, C. R. D. Osório, L. A. Maccari, D. M. Lima, F. d. M. Carnielutti, V. F. Montagner, H. Pinheiro, “Dead-Time Compensation for Grid-Tied Voltage Source Inverters With SVM2 PC”, IEEE Transactions on Industry Applications, vol. 60, no. 4, pp. 6366–6379, 2024.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 João V. L. Rosa, Luiz F. R. Menegazzo, Lucas V. Belinaso, Fernanda de M. Carnielutti, Humberto Pinheiro

This work is licensed under a Creative Commons Attribution 4.0 International License.