Bayesian Optimization-Based Tuning of the Proportional-Integral Controller for Grid-Connected Three-Level NPC Converter

Authors

DOI:

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

Keywords:

Power converters, three-level, neutral point clamped, PI controller, Bayesian Optimization

Abstract

Power converters provide energy interface in various applications; in photovoltaics, they interconnect solar panels to the grid, with two‑level inverters being the most common across virtually all power ranges, followed by three‑level neutral point clamped (3LNPC) converters. The proportional-integral (PI) controller is the most commonly employed controller for these converters. This paper proposes the use of Bayesian Optimization (BO) to tune the PI controller for a 3LNPC converter connected to the grid. The optimization algorithm was used to determine the controller’s tuning gains through computational simulation. Subsequently, the PI controller tuned using BO was implemented on an experimental test bench to validate the concept. The performance of the controller tuned with the proposed method was compared to PI controllers adjusted using classical methods widely found in the literature. The test results demonstrated that Bayesian Optimization is straightforward to implement and, when compared to the Genetic Algorithm (GA), it exhibited a more effective and targeted exploration of the search space. This led to superior PI controller tuning, with improved dynamic response and reduced total harmonic distortion relative to the benchmark methods.

Downloads

Download data is not yet available.

Author Biographies

Vitor S. Jorge, Federal University of ABC

received a B.Sc degree in Electrical Engineering from the Federal University of Pará (UFPA) in Tucuruí, Pará, Brazil, in 2022, and a M.S degree in Applied Computing from the same institution in 2025. Currently pursuing a Ph.D. in the Energy graduate program at the Federal University of ABC (UFABC), Santo André, São Paulo, Brazil. His research interests include control applied to machine drives, power converters and wind energy.

Angelo S. Lunardi, Federal University of ABC

received the degree in electronic engineering from the Instituto Mauá Tecnologia, in 2015, the master’s degree in electrical engineering from the Universidade Federal do ABC (UFABC), with a focus on control research applied to wind power generation, in 2017, and the Ph.D. degree in electrical engineering from the University of São Paulo (USP) with a thesis titled robust predictive control applied to the converter connected to the grid, in 2022. Currently, he is a researcher at the UFABC and works with control systems for renewable energy.

Luan A. Sousa, University of São Paulo

received the B.Sc. degree from the University of São Paulo, São Paulo, Brazil, in 2018. and the M.Sc. degree in 2022 from the University of São Paulo, São Paulo, Brazil. He is currently a researcher in a laboratory at the Inova USP building, Butantã campus, São Paulo, Brazil, where he conducts research in his areas of interest. His research interests include measuring and protection of power systems and distributed generation and renewable energy.

Rodolfo V. Rocha, Federal University of Mato Grosso

received the B.Sc. degree in electrical engineering from the Federal University of Mato Grosso, Cuiabá, Brazil, in 2013; the M.Sc. degree from the São Carlos School of Engineering, University of São Paulo, São Carlos, Brazil, in 2016; and the Ph.D. degree at the Polytechnic School of the University of São Paulo, São Paulo, Brazil, in 2023. He is currently an Adjunct Professor at the Federal University of Mato Grosso, Cuiabá, Brazil. His research interests include measuring, control and protection of power systems, electric machines and power converters.

Renato M. Monaro, Federal University of São Paulo

received the B.Sc. degree in electrical engineering from University of São Paulo, São Carlos, Brazil, in 2007. He received the Ph.D. degree from the same institution. At present, he is an Associate Professor at the University of São Paulo, São Paulo, Brazil. His main research interests include power system control and protection, HVDC-VSC transmission, distributed generation, and renewable energy.

Alfeu J. Sguarezi Filho, Federal University of ABC

received his Master and Doctor degrees in Electrical Engineering from the Faculty of Electrical and Computer Engineering of the University of Campinas (Unicamp) in 2007 and 2010, respectively. Currently, he is Associate Professor at the Federal University of ABC (UFABC). He is a Senior Member of the IEEE and author of several articles in national and international scientific journals and book chapters in the areas of electrical machines, machine drives, electric vehicles, power electronics, and wind and photovoltaic energies.

References

V. Yaramasu, B. Wu, P. C. Sen, S. Kouro, M. Narimani, “High-power wind energy conversion systems: State-of-the-art and emerging technologies”, Proceedings of the IEEE, vol. 103, no. 5, pp. 740–788, may 2015, doi:10.1109/JPROC.2014.2378692.

M. Abbes, J. Belhadj, “New control method of a robust NPC converter for renewable energy sources grid connection”, Electric Power Systems Research, vol. 88, pp. 52–63, 2012, doi:10.1016/j.epsr.2012.01.018.

B. Malakondareddy, S. Senthil Kumar, N. Ammasai Gounden, I. Anand, “An adaptive PI control scheme to balance the neutral-point voltage in a solar PV fed grid connected neutral point clamped inverter”, International Journal of Electrical Power and Energy Systems, vol. 110, no. October 2018, pp. 318–331, 2019, doi:10.1016/j.ijepes.2019.03.012.

A. Yazdani, R. Iravani, “A neutral-point clamped converter system for direct-drive variable-speed wind power unit”, IEEE Transactions on Energy Conversion, vol. 21, no. 2, pp. 596–607, 2006, doi:10.1109/TEC.2005.860392.

M. Seixas, R. Melícia, V. M. Mendes, “Offshore wind turbine simulation: Multibody drive train. Back-to-back NPC (neutral point clamped) converters. Fractional-order control”, Energy, vol. 69, pp. 357–369, 2014, doi:10.1016/j.energy.2014.03.025.

F. Rojas, R. Cardenas, R. Kennel, J. C. Clare, M. Diaz, “A Simplified Space-Vector Modulation Algorithm for Four-Leg NPC Converters”, IEEE Transactions on Power Electronics, vol. 32, no. 11, pp. 8371–8380, 2017, doi:10.1109/TPEL.2016.2618061.

N. S. Hasan, N. Rosmin, D. A. A. Osman, A. H. Musta’amal Jamal, “Reviews on multilevel converter and modulation techniques”, Renewable and Sustainable Energy Reviews, vol. 80, no. May, pp. 163–174, 2017, doi:10.1016/j.rser.2017.05.163.

M. Porru, A. Serpi, I. Marongiu, A. Damiano, “Suppression of DC-link voltage unbalance in three-level neutral-point clamped converters”, Journal of the Franklin Institute, vol. 355, no. 2, pp. 728–752, 2018, doi:10.1016/j.jfranklin.2017.11.039.

J. Hu, Y. Shan, J. M. Guerrero, A. Ioinovici, K. W. Chan, J. Rodriguez, “Model predictive control of microgrids – An overview”, Renewable and Sustainable Energy Reviews, vol. 136, 2 2021, doi:10.1016/j.rser.2020.110422.

J. Liu, Y. Miura, T. Ise, “Cost-Function-Based Microgrid Decentralized Control of Unbalance and Harmonics for Simultaneous Bus Voltage Compensation and Current Sharing”, IEEE Transactions on Power Electronics, vol. 34, pp. 7397–7410, 2019, doi:10.1109/TPEL.2018.2879340.

L. Meegahapola, A. Sguarezi, J. S. Bryant, M. Gu, E. R. C. D., R. B. A. Cunha, “Power System Stability with Power-Electronic Converter Interfaced Renewable Power Generation: Present Issues and Future Trends”, Energies, vol. 13, p. 3441, 7 2020, doi:10.3390/en13133441.

A. Lunardi, L. F. Normandia Lourenc¸o, E. Munkhchuluun, L. Meegahapola, A. J. Sguarezi Filho, “Grid-Connected Power Converters: An Overview of Control Strategies for Renewable Energy”, Energies, vol. 15, no. 11, p. 4151, 2022, doi:10.3390/en15114151.

K. Ogata, Engenharia de Controle Moderno, 5ª ed., Pearson Education do Brasil, 2011.

H. A. Young, M. A. Perez, J. Rodriguez, “Analysis of Finite-Control-Set Model Predictive Current Control With Model Parameter Mismatch in a Three-Phase Inverter”, IEEE Transactions on Industrial Electronics, vol. 63, no. 5, pp. 3100–3107, 2016, doi:10.1109/TIE.2016.2515072.

A. K. Mishra, S. M. Tripathi, O. Singh, A. K. Srivastava, T. Venkatraman, R. R. Vijayaraghavan, S. Kumar, R. M. Elavarasan, L. Mihet-Popa, “Performance assessment of VSC-based HVDC system in asynchronous grid interconnection: Offline and real-time validation of control design with symmetric optimum PI tuning”, Heliyon, vol. 10, no. 15, p. e35624, 2024, doi: 10.1016/j.heliyon.2024.e35624.

L. Quéval, H. Ohsaki, “Back-to-back converter design and control for synchronous generator-based wind turbines”, in 2012 International Conference on Renewable Energy Research and Applications (ICR- ERA), pp. 1–6, 2012, doi:10.1109/ICRERA.2012.6477300.

A. Yazdani, R. Iravani, Voltage-sourced Converters in Power Systems - Modeling, Control, and Applications, Willey, 2010, doi:10.1002/9780470551578.

M. Ismail, R. Chibani, M. Hamouda, K. Al-Haddad, “Artificial neural network based auto-tuned PI compensator to enhance the dynamic response of the DC-link voltage in a grid-connected voltage source converter”, in 2022 IEEE 1st Industrial Electronics Society Annual On-Line Conference (ONCON), pp. 1–6, 2022, doi:10.1109/ONCON56984.2022.10126755.

M. Rabosha, S. Rehimi, H. Bevrani, “Frequency and Active Power Control of Interconnected Microgrids: An ANN-Based PI Tuning Approach”, in 2024 14th Smart Grid Conference (SGC), pp. 1–6, 2024, doi:10.1109/SGC64640.2024.10983776.

H. Rafia, H. Ouadi, B. El Bhiri, “ANN-PI Controller for the Grid- Side Converters in Wind Energy Conversions Systems under Voltage Dips”, IFAC-PapersOnLine, vol. 58, no. 13, pp. 575–580, 2024, doi:https://doi.org/10.1016/j.ifacol.2024.07.544, 12th IFAC Symposium on Control of Power and Energy Systems - CPES 2024.

G. V. Hollweg, P. J. D. de Oliveira Evald, E. Mattos, L. C. Borin, R. V. Tambara, V. F. Montagner, “Self-tuning methodology for adaptive controllers based on genetic algorithms applied for grid-tied power converters”, Control Engineering Practice, vol. 135, p. 105500, 2023, doi:https://doi.org/10.1016/j.conengprac.2023.105500.

L. Rodrigues, A. Potts, O. Vilcanqui, A. Sguarezi, “Tuning a model predictive controller for Doubly Fed Induction Generator employing a constrained Genetic Algorithm”, IET Electric Power Applications, vol. 13, 05 2019, doi:10.1049/iet-epa.2018.5922.

S. Tian, Y. Zhang, L. Liu, P. Su, B. Zou, “Analysis of PI Parameter Tuning for Offshore Wind Power Based on Improve Grey Wolf Optimization Algorithm”, in 2023 4th International Conference on Advanced Electrical and Energy Systems (AEES), pp. 679–683, 2023, doi:10.1109/AEES59800.2023.10469329.

A. A. Al-Shamma’a, H. Olabisi Omotoso, A. M. Noman, A. A. Alkuhayli, “Grey Wolf Optimizer Based Optimal Control for Grid-Connected PV System”, in IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society, pp. 2863–2867, 2020, doi:10.1109/IECON43393.2020.9254841.

S. K, K. P. P, S. K, “Grey Wolf Optimized PI Controller for Grid Tied High Gain Converter for Solar Power Generation”, in 2023 International Conference on Integration of Computational Intelligent System (ICICIS), pp. 1–6, 2023, doi:10.1109/ICICIS56802.2023.10430247.

A. Kumar, A. Alam, “Whale Optimization Algorithm in Grid-Connected Inverter with SRF-PI”, in 2022 IEEE 2nd International Conference on Sustainable Energy and Future Electric Transportation (SeFeT), pp. 1–6, 2022, doi:10.1109/SeFeT55524.2022.9909388.

A. Chakraborty, T. Maity, “An enhanced Whale Optimization Algorithm based Control Strategy for LVRT Capability Enhancement of Grid-Connected DFIG-WECS”, in 2022 IEEE 19th India Council International Conference (INDICON), pp. 1–6, 2022, doi:10.1109/INDICON56171.2022.10040151.

B. Mothi Ram, A. Ganesh, “Optimal Voltage Imbalance Compensation in Islanded Microgrid by Using Whale Optimization Technique”, in 2021 7th International Conference on Electrical Energy Systems (ICEES), pp. 484–489, 2021, doi:10.1109/ICEES51510.2021.9383703.

C. Sreenu, G. Mallesham, T. C. Shekar, S. R. Salkuti, “Pairing voltage-source converters with PI tuning controller based on PSO for grid-connected wind-solar cogeneration”, Franklin Open, vol. 8, p. 100138, 2024, doi:https://doi.org/10.1016/j.fraope.2024.100138.

M. W. Alzahlan, K. M. Alawasa, H. D. Al-Majali, “Performance Evaluation of Different Optimal-Tuned Current Controllers for Voltage-Source Converter Connected to a Weak AC Grid”, in 2019 IEEE Jordan International Joint Conference on Electrical Engineering and Information Technology (JEEIT), pp. 198–203, 2019, doi:10.1109/JEEIT.2019.8717376.

L. L. Rodrigues, J. S. Sol´ıs-Chaves, O. A. C. Vilcanqui, A. J. S. Filho, “Predictive Incremental Vector Control for DFIG With Weighted-Dynamic Objective Constraint-Handling Method-PSO Weighting Matrices Design”, IEEE Access, vol. 8, pp. 114112–114122, 2020, doi:10.1109/ACCESS.2020.3003285.

G. A. Ghazi, E. A. Al-Ammar, H. M. Hasanien, R. A. Turky, “Transient Search Optimization Based Fuzzy-PI Controller for MPPT of Standalone PV System”, in 2022 23rd International Middle East Power Systems Conference (MEPCON), pp. 1–5, 2022, doi:10.1109/MEPCON55441.2022.10021781.

Z. Chen, R. Zheng, R. Ma, S. Li, Y. Li, M. Cui, Y. Yang, “Comparison of PID Controllers with Engineering-Tuned Parameters and Fuzzy PID Controllers in the Application of Boost Converters”, in 2024 3rd International Conference on Energy, Power and Electrical Technology (ICEPET), pp. 1824–1829, 2024, doi:10.1109/ICEPET61938.2024.10627733.

K. A. C. Chirapo, S. G. Di Santo, A. Sguarezi, I. Delgado, “Direct power control of 12/8 Switched Reluctance Generator connected to single-phase electrical grid using the self-tuning FUZZY PI Controller”, in 2019 IEEE XXVI International Conference on Electronics, Electrical Engineering and Computing (INTERCON), pp. 1–4, 2019, doi:10.1109/INTERCON.2019.8853576.

W. Stróżecki, N. A. Oufroukh, Y. Kebbati, D. Ichalal, S. Mammar, “Automatic Tuning of MPC for Autonomous Vehicle using Bayesian Optimization”, in 2021 IEEE International Conference on Networking, Sensing and Control (ICNSC), vol. 1, pp. 1–6, 2021, doi:10.1109/ICNSC52481.2021.9702240.

A. V. Richter, J. D. le Roux, I. K. Craig, “Bayesian optimization for automatic tuning of a MIMO controller of a flotation bank”, Journal of Process Control, vol. 147, p. 103388, 2025, doi:https://doi.org/10.1016/j.jprocont.2025.103388.

Z. Liu, L. Li, “Controller tuning via constrained Bayesian optimization”, in 2024 5th International Conference on Computer Engineering and Application (ICCEA), pp. 1469–1472, 2024, doi:10.1109/ICCEA62105.2024.10603844.

F. A. Almasalmah, H. Omran, C. Liu, T. Poignonec, B. Bayle, “Auto-Tuning of Model Predictive Control for Bilateral Teleoperation withBayesian Optimization”, IFAC-PapersOnLine, vol. 58, no. 30, pp. 85–90, 2024, doi:10.1016/j.ifacol.2025.01.161, 5th IFAC Workshop on Cyber-Physical Human Systems.

A. F. Precht, B. E. Recktenvald, A. C. K. Filho, P. C. Bolsi, E. O. Prado, H. C. Sartori, J. R. Pinheiro, “A Comparative Analysis of L and LCL Filters in Grid-Connected Converters Regarding Volume and Losses”, in 2023 15th Seminar on Power Electronics and Control (SEPOC), pp. 1–6, 2023, doi:10.1109/SEPOC58810.2023.10322611.

K. Matiyali, S. Goel, H. Joshi, “Voltage Oriented Control of Grid-tied Solar PV System”, in 2019 Women Institute of Technology Conference on Electrical and Computer Engineering (WITCON ECE), pp. 28–34, 2019, doi:10.1109/WITCONECE48374.2019.9092933.

W. Ouyang, Y. Zhu, W. Zhang, Z. Wang, “Comparison of PLL and without PLL control for grid-connected VSCs under large disturbances”, in 2024 IEEE 7th International Electrical and Energy Conference (CIEEC), pp. 4010–4015, 2024, doi:10.1109/CIEEC60922.2024.10583342.

D. Bellan, “Transient Analysis of Single-Line-to-Ground Faults in Three-Phase Circuits Using Clarke Transformation”, in 2018 International Conference and Utility Exhibition on Green Energy for Sustainable Development (ICUE), pp. 1–4, 2018, doi:10.23919/ICUE-GESD.2018.8635674.

J. S. Costa, A. Lunardi, A. J. S. Filho, “MPC design control modulation using performance map applied to VCS-grid converter with L filter”, Eletrônica de Potência, vol. 27, 12 2022, doi:10.18618/REP.2022.4.0014.

N. Rontsis, M. A. Osborne, P. J. Goulart, “Distributionally Ambiguous Optimization for Batch Bayesian Optimization”, Journal of Machine Learning Research, vol. 21, no. 149, pp. 1–26, 2020, URL: http://jmlr.org/papers/v21/18-211.html.

J. S. Costa, A. Lunardi, L. F. Normandia Lourenc¸o, I. Oliani, A. J. Sguarezi Filho, “Lyapunov-Based Finite Control Set Applied to an EV Charger Grid Converter Under Distorted Voltage”, IEEE Transactions on Transportation Electrification, vol. 11, no. 1, pp. 3549–3557, 2025, doi:10.1109/TTE.2024.3443691.

Downloads

Published

2026-01-14

How to Cite

[1]
V. S. Jorge, A. S. Lunardi, L. A. Sousa, R. V. Rocha, R. M. Monaro, and A. J. Sguarezi Filho, “Bayesian Optimization-Based Tuning of the Proportional-Integral Controller for Grid-Connected Three-Level NPC Converter”, Eletrônica de Potência, vol. 31, p. e202605, Jan. 2026.

Issue

Section

Original Papers