FPGA Implementation and Hardware-in-the-Loop Validation of Model Predictive Control for a Defibrillator Flyback Converter
Defibrillators require high-performance power electronic converters capable of rapidly charging a high-voltage capacitor and delivering controlled therapeutic waveforms while ensuring patient safety. This paper presents a predictive control strategy for the flyback converter of a defibrillator, including both its charging and discharging stages, together with the design and verification workflow for its implementation. The proposed system integrates the FPGA implementation of the charging-stage control with a hardware-in-the-loop (HIL) emulation of the flyback converter and discharge stage within a unified model-based design framework. The charging stage consists of a flyback converter regulated by a Finite Control Set Model Predictive Control (FCS-MPC) strategy, while the discharge stage employs a full-bridge converter to generate truncated exponential biphasic (BTE) waveforms. To regulate the switching frequency without sacrificing the fast dynamic response of predictive control, the Period Control Approach (PCA) is incorporated into the FCS-MPC. The proposed solution is benchmarked against conventional FCS-MPC and a hysteresis controller, highlighting the advantages of PCA-based predictive control in terms of switching-frequency regulation while preserving accurate current tracking. The proposed control system and the corresponding defibrillator model are developed in MATLAB/Simulink and automatically translated into synthesizable VHDL using HDL Coder. This approach enables FPGA implementation of the control strategy and HIL emulation of the power converters without manual HDL programming. The proposed methodology covers the entire workflow, from simulation to real-time FPGA implementation and HIL emulation. Simulation results demonstrate accurate current tracking, proper BTE waveform generation, and improved switching-frequency regulation compared with both conventional FCS-MPC and hysteresis-based control. HIL experiments on a Xilinx Artix-7 FPGA confirm the real-time operation of the implemented predictive controller interacting with the emulated flyback converter. The experimental results are consistent with the simulation results. This work provides a solid foundation for the development and validation of digitally controlled defibrillators based on advanced predictive control techniques. The results demonstrate the feasibility of the proposed approach in both simulation and reconfigurable hardware.
Authors
- María Sofía Martínez‐García (ORCID: https://orcid.org/0000-0002-6733-2283)
- Ángel de Castro (ORCID: https://orcid.org/0000-0003-4357-7857)
- Natalia Gomez-Paredes
- Ana Allona (ORCID: https://orcid.org/0009-0006-5767-1034)
Institutions
- Universidad Autónoma de Madrid (ES)
Publication Details
- Journal
- Electronics
- Published
- 2026-09-15
- DOI
- https://doi.org/10.3390/electronics15184193
- Primary Topic
- Advanced Control Systems Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Ministerio de Ciencia e Innovación