Affiliation:
1. Departamento de Ingeniería Mecatrónica, Tecnológico Nacional de México/IT de Celaya, Antonio García Cubas 600, Celaya 38010, Mexico
2. Departamento de Ingeniería Eléctrica y Electrónica, Tecnológico Nacional de México/IT de Celaya, Antonio García Cubas 600, Celaya 38010, Mexico
Abstract
Microgrids have increased in popularity thanks to both the integration of renewable energy resources and their energy distribution capability for remote locations. Moreover, the microgrids, mainly using multiple generators connected in parallel, acquire additional advantages by using both Hot-Swap and Current-Sharing techniques. This paper presents the development of a Hardware in the Loop platform to test Current-Sharing algorithms. It is reinforced that the use of a real-time simulation based on Hardware in the Loop is a viable and cost-effective alternative in the validation of controllers. The platform was developed in a graphical programming environment (LabVIEW 2015) and implemented with NI MyRIO 1900 (National Instruments Corp., Austin, TX, USA) development boards for easier reproducibility. The entire code project is openly available and provided in this paper. A system of photovoltaic energy generators was used to evaluate the performance of the HIL platform. As a result, the platform was able to reproduce a similar behavior to the photovoltaic generator, presenting average mean errors of 0.4 V and 0.2 A in its voltage and current, respectively. Additionally, the platform showed its capability to test Current-Sharing algorithms in the occurrence of Hot-Swap events. This work contributes with a validation tool for energy management systems applied to microgrids.