Computationally Efficient Model Predictive Control of Delta-Connected CHB-Based Active Power Filter
Artikel-Kategorie: Research paper
Online veröffentlicht: 23. Feb. 2025
Seitenbereich: 74 - 95
Eingereicht: 03. Jan. 2025
Akzeptiert: 20. Jan. 2025
DOI: https://doi.org/10.2478/pead-2025-0005
Schlüsselwörter
© 2025 Zdeněk Kehl et al., published by Sciendo
This work is licensed under the Creative Commons Attribution 4.0 International License.
US$ 6.7 billion per year (Milanović, 2013) is the estimated cost loss in industrial production due to disturbances in power grids. Customers are strictly charged with power quality standards violations by electricity distributors, with an estimated penalty optimum of around 8% of electricity costs (Tadayon et al., 2021). These facts highlight how new technology taking care of power quality is essential. Power grids often accommodate inductive, non-linear, and non-symmetrical loads, which are the conventional sources of power quality problems such as reactive power consumption, higher-harmonic load currents and resulting grid voltage harmonics, and power-grid non-symmetries. Moreover, with the fast growth of renewable energy sources in recent years, such as solar and wind, maintaining the power quality and stability of power grids has become even more challenging (Liang, 2016). The massive penetration of power electronics technology, which is dominating in low-voltage grids and rapidly advancing into medium- and high-voltage power grids, brings new phenomena from the power quality point of view. Power quality, specifically reactive power and grid harmonics compensation, which is the main topic of this paper, can generally be solved by passive, active, or hybrid solutions. Passive filters are characterized by simplicity and cost-effectiveness but may encounter issues such as resonance and fixed compensation (Chauhan and Thakur, 2016). Active power filters (APFs) demonstrate superior efficacy in compensating for grid harmonics. They can dynamically adapt to changing grid conditions and improve performance compared with passive filters (Babu et al., 2021; Sanjan et al., 2020; Satpathy and De, 2024). Hybrid filters offer advantages of both previous types. However, hybrid filters often require many passive components and transformers, which can increase the complexity and dimensions of the system. This can render the design and maintenance more challenging than active filters, which typically comprise fewer components. The combination of passive components in hybrid filters may also cause resonance problems. This can affect the filtering characteristics and potentially induce system instability (Limongi et al., 2015; Su et al., 1998). Thus, APFs are the most prospective technology for addressing power quality issues, particularly in the case of the dynamic compensation of harmonics and reactive power (Sanjan et al., 2020; Wodyk and Iwanski, 2024).
There are several conventional configurations of APFs. Serial APFs are primarily used to address voltage distortion issues in electrical systems. These devices are designed to transform distorted grid voltage into harmonic voltage. Serial APFs can also serve as line conditioners regulating the supply voltage at the ends of a power distribution grid to meet relevant standards (Hrbac et al., 2017). The shunt APFs are connected in parallel with the load and are commonly used to compensate for current harmonics (Tareen and Mekhielf, 2018; Ullah and Ashraf, 2019). While two-level voltage-source inverters are commonly used in low-voltage grids, multilevel configurations have become increasingly popular for medium-voltage applications (Abu-Rub et al., 2010; Leon et al., 2017). Cascaded H-bridge (CHB) and multilevel modular converter (M2C) topologies are the most promising for APFs in medium- and high-voltage applications. The CHB topology offers several advantages over other multilevel configurations. This technology offers high modularity and scalability, interesting voltage-balancing capabilities, separated DC sources, harmonic reduction, reliability, and reduced stress on switching devices (Gadalla et al., 2017; Pereda and Dixon, 2012).
The conventional control of APFs is implemented through cascaded proportional-integral (PI) or proportional-resonant (PR) based control systems. Nowadays, PR controllers offering enhanced reference-tracking performance and selective harmonic compensation are the mainstream (Teodorescu et al., 2006). Some modifications in the basic control approaches must be adopted to address special operating conditions with partial improvements under specific circumstances, such as operation under unbalanced grid conditions (Behrouzian, 2017). Recently published model predictive-based controls (MPC) of APFs beat conventional PI- or PR-based control systems. Finite control set MPC (FCS-MPC) has gained attention for its straightforward application in power electronics converters, which naturally have a finite set of power circuit switching combinations. Moreover, this control can easily incorporate constraints and provide fast transient responses (Ferreira et al., 2018). For instance, in grid-connected inverters with LCL filters, cascaded MPC has demonstrated improved resonance damping and dynamic performance compared with conventional PI control methods (Zhou and Preindl, 2022). MPC has some drawbacks (e.g. computational demands and weighting factor problems) that can be solved by combining the above-mentioned approaches (Benhamadouche et al., 2023). An appropriate combination of PI and MPC approaches can mitigate model mismatches and improve the dynamic response (Morales-Caporal et al., 2024; Po et al., 2018). Other approaches can be found in the literature to decrease the computational demands of MPC methods based on the selection and reduction of the number of switching combinations (He et al., 2023) or dual-layer control approaches (Xiao et al., 2023).
Concerning the aforementioned state of the art, this paper focuses on multilevel shunt-type APFs and their control using the recent MPC theory. Specifically, the paper reports on APF based on CHB topology in a delta connection with four H-bridge converters in one branch of the delta connection, which introduces a nine-level output voltage configuration. This converter has an eligible total harmonic distortion (THD) of the controlled current without a bulky filter. However, its conventional full-state FCS-MPC control is a significant computational burden (Karamanakos et al., 2014). Therefore, we proposed a computationally lighter control employing a new two-step FCS-MPC technique specifically designed for ‘low-cost’ microcontrollers with limited computation power and resources. The proposed control is able to generate the required higher-order current harmonics as well as reactive power. Thus, it can serve as a conventional APF (higher-order harmonics compensator) and/or as the STATCOM. The control integrates a modified instantaneous active-reactive power (PQ) theory for immediate grid analysis (Akagi et al., 2007) and the calculation of phase current references with a subordinated two-step finite control set model predictive control (FCS-MPC) securing demanded currents generation and balancing of the DC-link voltages of CHB converters. The paper proves, by extensive simulations and experiments performed on the developed 60 kW prototype of shunt APF, that the proposed two-step MPC solution achieves comparable results with a full-state FCS-MPC with significantly reduced computation times. Another advantage of the proposed control is that the weighting factor, usually used for multicriteria MPC, is neglected. In this paper, the proposed control (Section 3) is supported by the introduction of a power circuit configuration of the investigated APF and designed testbed (Section 2), deriving detailed mathematical models (Section 3), extensive simulation results (Section 4), and experiments (Section 5).
The topology of the proposed APF is illustrated in Figure 1. The three-phase APF is connected to the line-to-line voltages of the power grid. A transformer is positioned between the APF and the power grid to ensure galvanic separation and voltage level adaptation of the APF. Resistance

Power circuit configuration of investigated APF and designed testbed. APF, active power filters; CHB, cascaded H-bridge.
The main goal of the proposed APF’s control is to compensate for the distorted load current to push the grid currents
The proposed APF control strategy addresses two key targets: (i) mitigation of power grid harmonics and (ii) reactive power compensation of the grid (STATCOM function). The proposed control (Figure 2) is split into two main tasks that can be interpreted as the two levels of APF’s control: (1) power grid control and subordinate (2) control of CHB converters forming the APF hardware. Moreover, the three-phase APF is split into three independent single-phase APFs; therefore, the control optimization task is executed independently for each phase of APF (exactly, independently for each branch = CHB converter). The assumption of independent control of each APF’s branch is essential for the theory below.

Proposed two-level control of shunt APF based on CHB converters in delta connection. APF, active power filter; CHB, cascaded H-bridge; LPF, low pass filtration.
The power grid control uses modified instantaneous active-reactive power (PQ) theory for immediate grid analysis (Akagi et al., 2007) and generation of setpoints/references for CHB converters. It is responsible for generating grid compensation current comprising higher-harmonics current references for grid harmonics mitigation and generation of current references for reactive power compensation. The last significant role of power grid control is the generation of current references to secure power supply (i.e. active power delivery) for DC-links of CHB converters of the APF.
The control of CHB converters uses the new two-step FCS-MPC strategy. The input to this control is the CHB converter current reference generated by the power grid control as described above. The control of the CHB converter is divided into two steps, but both steps use the FCS-MPC background. Step 1 is responsible for the CHB converter current control. However, the optimization process (precisely, model calculation) is not executed for all available switching combinations. The CHB converter switching combinations are offline sorted into groups based on the voltage at the CHB converter AC terminals. Thus, the output of step 1, which is the input to step 2, is the selected group of switching combinations. Step 2 is responsible for balancing DC-link voltages in CHB converter cells. Exactly, step 2 chooses the switching combination from the preselected group, leading to the best solution from the DC-link voltages of CHB converter cells from a balancing viewpoint. The FCS-MPC is solved on the horizon length of 1.
Power grid control (=control level 1) generates the reference currents for the CHB converter current control (=control level 2). The demanded CHB converter current (in case of 3ph APF—the problem is solved as a control of three independent single-phase APFs—the currents are denoted *
The PQ theory analyses the instantaneous state of the power grid. Measured instantaneous values of grid voltages and load currents are used after Clarke’s transformation Eqs (2) and (3) to calculate the instantaneous active and reactive powers in the power grid Eq. (4). The zero-sequence component can be neglected as the three-phase power grid without a ground line is considered. The calculated active and reactive powers are input signals for determining the grid compensation current.
The complex instantaneous power
The active and reactive powers are calculated as the real and imaginary parts of the complex power, respectively:
The instantaneous reactive power
The demanded active power *
When the required active and reactive powers are defined, the reverse calculation follows. In the first step, the required
The next step is the recalculation of phase grid compensation currents *
The demanded overall active power is defined in Akagi et al. (2007). However, the primary limitation of this approach is that there can be differences among DC-links in each CHB converter, and the algorithm cannot identify them and ensure their energy balancing. This problem is solved by three PI controllers responsible for independent active power reservation for each CHB converter. Each PI controller (called ‘total DC-link voltage controller’) controls the total DC-link voltage of the corresponding CHB converter. Thus, the setpoint voltage for these controllers is given by the number of cells (
The total DC-link voltage controller’s feedback is the sum of the DC-link voltages of all cells of individual CHB converters. The outputs of these controllers (denoted
As described above, the control of the investigated 3-ph APF has been decomposed into the control of three independent single-phase APFs, each configured as the CHB converter. The control theory presented in this paper is formulated for a general
The success of FCS-MPC strongly depends on the quality of the mathematical model. Similarly to the control, the proposed model is divided into two parts with different scales. The first model (Figure 3) used in step 1 describes the relationship/interaction between the power grid and the given CHB converter, which is, in this model, replaced by the equivalent voltage source. The second part used in step 2 describes the behaviour of the CHB power circuit—precisely, the behaviour of DC-links of CHB converter cells. Thus, the first model is superior to the second.

Model for step 1 of FCS-MPC: Power circuit configuration used for the derivation of the mathematical model describing the interaction between the power grid and CHB converter. CHB, cascaded H-bridge; FCS-MPC, finite control set model predictive control.
The input to this control is the demanded CHB converter current, which is the corresponding term of the following vector *
The model is described in Eq. (16), which is derived by application of the second Kirchhoff’s law in the vector form:
The vector
Eq. (16) can be modified to the required form using the aforementioned assumptions and Kirchhoff’s laws. The Euler method was employed for the discretization of derived equations. The discrete mathematical model in vector form describing relationships between the power grid and CHB converter is defined in Eq. (20):
In this step, the output voltage of each CHB converter (each term of vector
The input to step 2 is the preselected voltage group, which is the output of step 1. The control target for step 2 is an exploration of all the members of the selected voltage group, i.e. exploration of all CHB converter switching combinations generating voltage defined for the given voltage group and selection of the best switching combination securing CHB current command as well as the best DC-link balancing of the given cells. Appendix I contains a comprehensive table of all switching combinations for the 9L-CHB (the configuration of the built prototype), systematically organized into nine groups, each corresponding to one output voltage level of the 9L-CHB. One group is selected based on the optimal voltage level found in step 1, wherein the cost function Eq. (25) proposed for step 2 is subsequently evaluated. The most computationally intensive scenario, i.e. group 4 (zero level) consisting of 19 redundant switching combinations, requires 28 calculations of the mathematical model (9 calculations in step 1 and 19 calculations in step 2). In contrast, the conventional full-state FCS-MPC consistently computes all 81 combinations for each CHB converter.
The model used for step 2 of FCS-MPC describes the behaviour of the CHB converter power circuit (generally in phase

Model for step 2 of FCS-MPC: Power circuit used for derivation of the mathematical model describing the behaviour of a general
The CHB converter topology has all the cells connected in series. Thus, the CHB converter current
The derivation of the capacitor voltage

APF start-up: (a) full-state FCS-MPC and (b) proposed two-step FCS-MPC. The power grid is loaded by the 3ph diode rectifier supplying RC load with
A simulation model in Mathworks’ Matlab/Simulink and Plexim’s PLECS was developed to perform detailed simulations and get first insights and evidence of the proper function of the proposed system. The proposed control was tested under selected transient and steady-state conditions. Special attention has been paid to the start-up of the APF and dynamic changes in power grid load. The simulations systematically compare the behaviour of the proposed two-step FCS-MPC with the conventional full-state FCS-MPC. The developed testbed is described in Section 2. Three voltage sources configured in a star connection create the power grid in the simulation model. The amplitude of the power grid voltage is set to 61 V, and the rated grid frequency is 50 Hz. The non-linear load is modelled as a three-phase diode bridge rectifier connected to the power grid through 1 mH inductances. The DC side of the diode rectifier includes a filtering capacitor with a capacity of 3.25 mF, realized by two 6.5 mF capacitors connected in series. The diode rectifier supplies a variable load, modelled as a resistor
The first set of simulations (Figures 5 and 6) reports the APF’s behaviour during the start-up under both proposed two-step FCS-MPC and full-state FCS-MPC. At the end of the initial pre-charging procedure (time of 0.15 s), all DC-links of each CHB converter of the APF are charged to grid maximum voltages. The grid current corresponds to the load current (Figure 6). The three-phase diode bridge rectifier represents the non-linear load of the power grid. The diode bridge rectifier is loaded by the RC load, where

APF start-up analysed from the power grid viewpoint: (a) transient conditions, (b) steady-state; the same test scenario as in Figure 5. APF, active power filter.

Comparison of full-state and two-step FCS-MPC during step unloading of the power grid in
Figures 8 and 9 report the results of a detailed analysis of compensated grid current under steady-state conditions. The distortion of the grid current can be assumed as the most important criterion for the APF. The behaviour of both control strategies exhibits strong similarities, which is further evidenced by the harmonic analysis of these waveforms presented in Figure 9. The THD of the compensated grid currents in steady state for both methods of control were calculated and are shown in Table 1. THD

Detail of compensated grid currents

Harmonics analysis of compensated grid currents
Harmonic analysis of currents
Simulations | Experiments | ||
---|---|---|---|
Control strategy | Full-state FCS-MPC | Two-step FCS-MPC | Two-step FCS-MPC |
THD of load current |
54.8474% | 54.8475% | 41.8789% |
THD of compensated grid current |
9.0095% | 9.2130% | 9.9983% |
FCS-MPC, finite control set model predictive control; THD, total harmonic distortion.
The impact of the variation in the key model parameters used in both evaluated controls (full-state FCS-MPC and two-step FCS-MPC) on the APF behaviour was explored. A sensitivity analysis was performed, monitoring the effect on THD of compensated grid current

Sensitivity analysis of key model parameters for both mentioned control approaches (full-state FCS-MPC and two-step FCS-MPC). The power grid is symmetrical, and it is loaded by the 3ph diode rectifier supplying RC load with
Figure 11 compares both controls (full-state FCS-MPC and two-step FCS-MPC) during the start-up of APF with unbalanced initial DC-link voltages. An unbalanced initial voltage state can be caused, for example, by parameter variation in pre-charging resistances or other mismatches. In the simulation, asymmetries of +15 V and −7 V were chosen to clearly illustrate the balancing capability of the control (thus, the initial DC-link voltages in investigated CHB converter cells were:

Comparison of full-state FCS-MPC and two-step FCS-MPC during start-up of APF with unbalanced initial DC-link voltages in one CHB converter (initial states:
The operation of the investigated APF under unbalanced grid conditions is demonstrated in Figure 12, where a 10% voltage drop in phase

APF with two-step FCS-MPC control under the unbalanced power grid operation: (a) grid voltages and compensated grid currents and (b) load currents. Voltage drop in phase
The proposed two-step FCS-MPC control was also verified under voltage sag in the power grid (see Figure 13). The transient occurs in a simulation time of 0.5 s, and it was caused by a 10% voltage drop in all phases. This transient state had no other effects on the compensation of the power grid.

APF with two-step FCS-MPC control under 10% voltage sag of all the phase voltages in
A detailed experimental study on the 60 kW APF prototype was performed to verify the possibility of implementing the control to a conventional digital signal microcontroller (DSP) and to verify the proposed APF configuration in real-time operational conditions. The hardware of the APF prototype is based on a universal H-bridge converter for cascaded multilevel topologies (SHRack) (Kehl et al., 2021). The SHRack converter consists of four H-bridge modules housed in a 2U height 19″ rack enclosure. The rated power of the SHRack converter is 20 kW (5 kW per H-bridge). The rated voltage of individual H-bridge converters is 750 Vdc. SHRack is designed for an operating voltage of 1 kVdc, so in the case of four CHB cells, the operating voltage is 250 V DC per H-bridge. The rated current of the H-bridge cell is 36 Arms. The H-bridged driver modules are designed for operation with switching frequency up to 16 kHz. Each H-bridge cell of the SHRack converter is equipped with the measurement of the DC-link voltage, the temperature of the IGBT module, and output current. Figure 19 displays the developed testbed photo.
The TMS320F28377 controller was used for the implementation of control. The selected TI 28377 is the gold standard for industry applications at present. The recent industry demands for APF designs require the switching frequency over 10 kHz for several reasons (NVH – noise, vibration and harshness, current ripple, passives, etc.). Therefore, the minimum sampling frequency was set to 10 kHz, corresponding to 100 μs of the sampling time. The implementation of the full-state FCS-MPC, which was selected as a reference control, even with the support of existing computation optimizations took over 140 μs in target TMS320F28377 (i.e. it disqualifies this technology for the industry applications at present). The market analysis was performed to find an alternative to TI TMS320F28377, i.e. a microcontroller or signal processor with comparable cost but significantly higher computation power. The platforms, such as NXP Kineis KV5x (32-bit Cortex-M7, 240 MHz), Infineon XMC7100 (32-bit Cortex-M7, 250 MHz), or STMicroelectronics STM32G4xx (32-bit Cortex-M4, 170 MHz), were considered. However, these alternatives have not only comparable cost but also comparable computation power. We did not find an industry-recognized alternative allowing the implementation of conventional full-state FCS-MPC with a sampling frequency of 100 μs. Hence, this paper can only provide the experiments performed on the developed APF prototype for novel control. The detailed controller hardware analysis discovered another constraint of the investigated MPC—it is the limited scalability when the processor without supporting FPGA is used. If the number of cascaded CHB cells increases, the computation complexity and necessary computation power increase too. For five cascaded cells (11-level output voltage), the calculation of the proposed two-step FCS-MPC on TMS320F28377 took 113 μs and exceeded the defined limit of 100 μs. Hence, it can be concluded that the implementation limit for the proposed control using a similarly powerful processor and demanded sampling period below 100 μs is 9L CHB converter. For higher numbers of cascaded cells in the CHB converters, it would be necessary to use FPGA or multi-core processors allowing parallel calculations.
The APF prototype was tested under steady-state and selected transient conditions. First, the APF start-up was investigated (Figure 14). Figure 14a analyses the APF start-up transient. At the end of the initial pre-charging procedure, all DC-links of each CHB converter of the APF are charged to grid maximum voltages, and the grid current corresponds to the load current. The load is represented by the three-phase diode bridge rectifier with the RC load, as mentioned above. After starting the APF control, the DC-link voltage of particular CHB cells rises to the demanded DC-link voltage (

APF start-up under two-step FCS-MPC control: (a) start-up transient and (b) steady-state after the start-up. Power grid loaded by the 3ph diode rectifier supplying RC load with

Response of APF with two-step FCS-MPC to step changes in the power grid load. Interval I and III—power grid loaded by 3ph diode rectifier supplying RC load with

Response of APF with two-step FCS-MPC to step changes in the power grid load—detail of Figure 16: (a) unloading of the power grid (transition interval I → II) and (b) step loading of the grid (transition interval II → III). Cyan: grid voltage [50V/div], green: grid (compensated) current [10A/div], purple: load current [10A/div], DC-link voltages in one CHB converter of the active filter [20V/div]. APF, active power filter; CHB, cascaded H-bridge; FCS-MPC, finite control set model predictive control.
Big attention was paid to the balancing of DC-link voltages in CHB converters and their cells under different operating conditions—including the fault condition operation (the fault condition was e.g. emulated by additional load introduced by resistors connected in parallel to DC-link capacitors of one or more CHB cells). Figure 17 demonstrates the ability of the proposed control with improved PQ theory, wherein three total DC-link voltage PI controllers are implemented instead of a single PI controller of

Balancing of DC-links of CHB converters—steady-state: (a) two-step FCS-MPC with one

Balancing of DC-links of CHB converters—fault in DC-link in cell B of CHB converter 1 caused by parallel resistance

Designed laboratory prototype of three-phase APF 60 kW. APF, active power filter; CHB, cascaded H-bridge.
To quantify the proposed algorithm performance, the THD of the (compensated) grid current was calculated using a simulation model for the conventional full-state FCS-MPC and the proposed two-step FCS-MPC, respectively. Consequently, the THD of the measured compensated grid current in experiments was also calculated. The results are summarized in Table 1.
The experimental and simulation results demonstrate the investigated APF configuration’s effectiveness and the proposed control’s benefits. The control successfully manages start-up, steady-state operation, and dynamic load changes while maintaining stable DC-link voltages and effectively filtering grid currents. The proposed two-step FCS-MPC significantly reduces computation time while keeping the control quality comparable to full-state FCS-MPC. The improved power grid control while incorporating three separate PI controllers for DC-link voltage balancing outperforms the conventional single-controller approach, enabling better voltage balancing across each CHB converter of the APF and in individual cells of CHB converters. These findings confirm the robust performance of the APF under various operational conditions, including demanding transient load changes. The feasibility of implementing the control in the conventional ‘low-cost’ microcontroller was also validated.
This paper introduced the novel control strategy for shunt-type APFs based on a delta-connected CHB topology. The control is split into two main tasks that can be interpreted as the two levels of APF’s control: (1) power grid control and subordinate (2) control of CHB converters forming the APF hardware. The power grid control (control level 1) uses modified instantaneous active-reactive power (PQ) theory, achieving better voltage balancing across each CHB converter of the APF and in individual cells of CHB converters. The control of CHB converters (control level 2) employs the optimized two-step FCS-MPC strategy. This control significantly reduces the computation time and complexity while keeping the control performance comparable to full-state FCS-MPC. Thus, the key contribution of the control is that it can be easily implemented in ‘low-cost’ microcontrollers without requiring FPGA parallel computation.
The performance of the proposed two-step FCS-MPC was systematically compared with the conventional full-state FCS-MPC in simulations. Both methods achieved similar results regarding the THD of the compensated grid currents, with values of 9.0% for the full-state FCS-MPC and 9.2% for the two-step method. During experimental testing on the 3ph 60 kW APF prototype, the proposed control achieved a THD of 9.9983%. However, a direct comparison with the full-state FCS-MPC in experiments was not possible, as the computational demands of the full-state approach exceeded the capabilities of the TMS320F28377 microcontroller operating with a sampling period of 100 μs. In contrast, two-step FCS-MPC required at most 51 μs to execute (i.e. the computation time has been reduced on the same control hardware below 33% of the conventional full-state FCS-MPC).
The extensive simulation and experimental validation performed on the developed APF prototype of 60 kW confirmed that the proposed control effectively compensates grid harmonics and reactive power, operates reliably under grid and load dynamic changes, and can be implemented in conventional, cost-effective digital controllers.