FPGA-in-the-Loop Implementation of a Grid-Connected Inverter for Renewable Energy Systems
Youness HAKAM, Mohamed LAMANE, Mohamed TABAA
Abstract. This paper presents the modeling, control, and FPGA in the loop (FIL) validation of a grid-connected inverter designed for renewable energy integration. The inverter converts DC power from photovoltaic or fuel cell sources into AC power while maintaining synchronization with the utility grid. A real-time control algorithm based on PID controller is implemented using MATLAB/Simulink and executed on an FPGA to achieve fast dynamic response and precise current control. The FIL platform enables hardware-level verification of the control strategy, ensuring system stability and reduced total harmonic distortion (THD). Simulation and experimental results confirm the inverter’s high efficiency, accurate grid synchronization, and suitability for smart grid and distributed generation applications.
Keywords
FPGA-in-the-Loop, Inverter, Grid-Connected Systems, Renewable Energy, PID Controller, THD Reduction, MATLAB/Simulink, Real-Time Control
Published online 4/25/2026, 8 pages
Copyright © 2026 by the author(s)
Published under license by Materials Research Forum LLC., Millersville PA, USA
Citation: Youness HAKAM, Mohamed LAMANE, Mohamed TABAA, FPGA-in-the-Loop Implementation of a Grid-Connected Inverter for Renewable Energy Systems, Materials Research Proceedings, Vol. 64, pp 353-360, 2026
DOI: https://doi.org/10.21741/9781644904091-44
The article was published as article 44 of the book Energy Futures
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 license. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
References
[1] Ali Khan, M. Y., Liu, H., Yang, Z., & Yuan, X. (2020). A comprehensive review on grid-connected photovoltaic inverters, their modulation techniques, and control strategies. Energies, 13(16), 4185. https://doi.org/10.3390/en13164185
[2] Zeb, K., et al. (2018). A comprehensive review on inverter topologies and control strategies for grid-connected PV systems. Renewable and Sustainable Energy Reviews, 94, 1120-1141. https://doi.org/10.1016/j.rser.2018.06.053
[3] Athari, H., et al. (2017). Review and classification of control systems in grid-tied inverters. Renewable and Sustainable Energy Reviews, 72, 1168-1182. https://doi.org/10.1016/j.rser.2016.10.030
[4] Gao, S., et al. (2022). Comparative study of symmetrical controlled grid-connected inverters using PR and PI controllers. IEEE Access, 10, 65732-65745.
[5] Koutroulis, E., & Blaabjerg, F. (2019). Design optimization of grid-connected PV inverters. IEEE Transactions on Power Electronics, 34(5), 4180-4192.
[6] Guerrero, J. M., et al. (2013). Hierarchical control of droop-controlled AC and DC microgrids: A general approach toward standardization. IEEE Transactions
on Industrial Electronics, 58(1), 158-172.
[7] Ahessab, H., Hakam, Y., Gaga, A., EL Hadadi, B. (2024). Design and Simulation of an Intelligent Grid-Connected MPPT Inverter with Battery Storage Using ANN Algorithm. In: Bendaoud, M., El Fathi, A., Bakhsh, F.I., Pierluigi, S. (eds) Advances in Electrical Systems and Innovative Renewable Energy Techniques. ICESA 2023. https://doi.org/10.1007/978-3-031-49772-8_29
[8] Rodriguez, J., Kazmierkowski, M. P., Espinoza, J. R., Zanchetta, P., Abu-Rub, H., & Young, H. A. (2013). State of the art of finite control set model predictive control in power electronics. IEEE Transactions on Industrial Informatics, 9(2), 1003-1016. https://doi.org/10.1109/TII.2012.2221469
[9] Hakam Y, Ahessab H, Tabaa M, ELHadadi B, Gaga A. Hybrid ANN-GWO MPPT with MPC-based inverter control for efficient EV charging under partial shading conditions. Science Progress. 2025. https://doi.org/10.1177/00368504251331835
[10] Krstic, M., et al. (2015). A control-Lyapunov approach to finite-control-set model predictive control. IEEE Transactions on Automatic Control, 60(7), 1975-1981.
[11] Zafra, E., Leon, J. I., & Franquelo, L. G. (2020). Finite control set MPC with output constraints for two-level three-phase converters. IEEE Transactions on Industrial Electronics, 67(2), 1273-1283.
[12] Khan, H. S., et al. (2021). Improved finite control set MPC for distributed energy resources. Energy Procedia, 188, 258-265.
[13] Wang, F., Zhang, Z., & Kennel, R. (2018). Computational challenges of predictive control for high-speed converters. IEEE Transactions on Power Electronics, 33(12), 10624-10634.
[14] Vallone, J., et al. (2016). FPGA implementation of model predictive direct current control for multilevel inverters. IEEE International Symposium on Industrial Electronics (ISIE). https://doi.org/10.1109/ECCE.2016.7855125
[15] Ahessab, H., Hakam, Y., Gaga, A., El Hadadi, B. (2023). A Comparative Study of P&O and Fuzzy Logic MPPT Algorithms for a Photovoltaic Grid Connected Inverter System. In: Motahhir, S., Bossoufi, B. (eds) Digital Technologies and Applications. ICDTA 2023 https://doi.org/10.1007/978-3-031-29857-8_65
[16] Saeidi, S. (2015). FPGA-based nonlinear model predictive control of electric drives. PhD Thesis, Technical University of Denmark.
[17] Acevedo, M. (2016). FPGA-based HIL co-simulator platform for power electronics. M.Sc. Thesis, Lappeenranta University of Technology.
[18] Baghdadi, M., et al. (2023). FPGA-based hardware-in-the-loop emulation of power electronics circuits using device-level behavioral modeling. Energies, 16(12), 4510.
[19] MathWorks. (2023). FPGA-in-the-Loop Simulation Overview. MathWorks Documentation.
[20] MathWorks. (2023). Hardware-in-the-Loop Simulation for Power Electronics. MathWorks Documentation.

