RT Journal Article T1 Design and Practical Implementation of Microgrid Inverter Control Using TMS320F28335 Microcontroller with Improvement in Electrical Power Quality A1 Magro Garrido, Nicolás A1 Rodríguez Vázquez, Jesús A1 Sánchez Herrera, María Reyes AB Nowadays, the proliferation of distributed renewable energy sources is a fact.A microgrid is a good solution to self-manage the energy generation and consumption ofelectrical loads and sources from the point of view of the consumer as well as the powersystem operator. To make a microgrid as versatile as necessary to carry that out, a flexibleinverter is necessary. In this paper, an algorithm is presented to control an inverter andmake it complete and versatile to work in grid-connected and in isolated modes, injectingor receiving power from the grid and always compensating the harmonics generated bythe loads in the microgrid. With this inverter, the microgrid can work while optimizing itsenergy consumption or according to the power system operator instructions. The inverterproposed is tested in a designed Matlab/Simulink simulation platform. After that, anexperimental platform designed and built ad hoc, including a DC source, AC linear andnon-linear loads, and a Semikron power inverter, is used to test the proposed controlstrategies. The results corroborate the good system performance. The replicability of thesystem is guaranteed by the use of low-cost devices in the implementation of the control. PB MDPI SN 2079-9292 (electrónico) YR 2025 FD 2025-01 LK https://hdl.handle.net/10272/24902 UL https://hdl.handle.net/10272/24902 LA eng NO Magro, N., Vázquez, J. R., & Sánchez-Herrera, R. (2025). Design and Practical Implementation of Microgrid Inverter Control Using TMS320F28335 Microcontroller with Improvement in Electrical Power Quality. In Electronics (Vol. 14, Issue 2, p. 319). MDPI AG. https://doi.org/10.3390/electronics14020319 NO This research was funded by the Ministry of Science, Innovation and Universities, Spain (National Database Identifier of Subsidies: 532399), through the project “Comprehensive Control System to optimize the energy demand of electrical microgrids (SOSGED)”, reference number: PID2020-117828RB-100. DS Repositorio Institucional de la Universidad de Huelva RD 15 jul 2026