The evolution of grid-connected photovoltaic (PV) systems continually demands power conversion solutions that offer higher efficiency, improved power quality, and reduced footprint. Multilevel inverters have emerged as a pivotal technology in this domain, particularly for medium to high-power solar inverter applications. They provide significant advantages over traditional two-level converters by generating staircase voltage waveforms, which inherently feature lower voltage stress on semiconductor devices, reduced output harmonic distortion, and consequently, smaller and more cost-effective filter components.
Among the prevalent multilevel topologies for PV systems, three-level converters like the Neutral-Point-Clamped (NPC) and Flying Capacitor (FC) types have seen widespread adoption. However, as power ratings increase and grid standards become more stringent, there is a growing interest in higher-level count inverters. Five-level inverters, in particular, produce voltage waveforms with even lower total harmonic distortion (THD), enabling a drastic reduction in the size of the output filter—a critical factor for the power density and cost of a solar inverter. Various five-level topologies exist, including the cascaded H-bridge (CHB), modular multilevel converter (MMC), and the Active Neutral-Point-Clamped (ANPC) converter. While the CHB faces challenges with control complexity and leakage current in transformerless PV applications, and the MMC requires a large number of submodules increasing cost, the five-level ANPC topology presents a compelling alternative. It synergizes the concepts of the diode-clamped NPC and the flying capacitor converter, utilizing a relatively low number of active switching devices and passive components to synthesize a high-quality five-level output voltage. Crucially, when configured with an asymmetric filter inductance, it satisfies the condition for negligible common-mode leakage current, making it exceptionally suitable for transformerless solar inverter systems.
This article delves into the analysis and control of a single-phase five-level ANPC converter tailored for PV grid-connection. The core challenge addressed is the natural voltage imbalance of the floating capacitor inherent to this topology. A sophisticated balancing strategy is proposed, analyzed, and validated. The strategy operates by intelligently selecting redundant switching states at the carrier frequency, augmented with a real-time voltage hysteresis control loop. This approach not only ensures stable floating capacitor voltage but also optimizes the distribution of switching losses across the power devices and allows for a significant reduction in the floating capacitor’s value and physical volume. The latter is a key enabler for using reliable film capacitors instead of electrolytic types, enhancing the longevity and robustness of the solar inverter.

Topology and Operating Principle of the 5L-ANPC Converter
The circuit diagram of the single-phase five-level ANPC solar inverter is depicted in Figure 1. The topology consists of eight active switches (S1 to S8), two DC-link capacitors (Cp, Cn), and one floating capacitor (Cf). The total DC-link voltage is denoted as U_dc, with the midpoint formed by Cp and Cn defining the neutral point. Under ideal balanced conditions, the voltages across Cp and Cn are each U_dc/2, and the desired voltage across the floating capacitor Cf is U_dc/4. The output voltage u_o is synthesized across the terminals A and N (neutral).
The generation of five distinct output voltage levels (U_dc/2, U_dc/4, 0, -U_dc/4, -U_dc/2) is achieved through specific combinations of switch states. The fundamental switching states and their impact on the floating capacitor voltage (U_cf) are summarized in Table 1. The direction of the output current (i_o) plays a crucial role in determining whether Cf is charged, discharged, or isolated during a particular state.
| State | S1 S2 S3 S4 S5 S6 S7 S8 | u_o | Effect on U_cf (i_o > 0) | Effect on U_cf (i_o < 0) |
|---|---|---|---|---|
| V1 | 1 1 0 0 0 0 0 0 | +U_dc/2 | — | — |
| V2 | 1 0 1 0 0 0 0 0 | +U_dc/4 | Charge (↑) | Discharge (↓) |
| V3 | 0 1 0 0 0 0 1 1 | +U_dc/4 | Discharge (↓) | Charge (↑) |
| V4 | 0 0 0 1 0 0 0 1 | 0 | — | — |
| V5 | 0 0 1 0 0 1 1 0 | 0 | — | — |
| V6 | 0 0 1 0 1 1 0 0 | -U_dc/4 | Charge (↑) | Discharge (↓) |
| V7 | 0 1 0 1 0 0 0 0 | -U_dc/4 | Discharge (↓) | Charge (↑) |
| V8 | 0 0 0 0 0 0 1 1 | -U_dc/2 | — | — |
The key observation from Table 1 is the existence of redundant switching states for the output voltage levels +U_dc/4 (States V2 and V3) and -U_dc/4 (States V6 and V7). These redundancies are instrumental in managing the floating capacitor voltage. For instance, when outputting +U_dc/4 with positive output current, State V2 charges Cf while State V3 discharges it. The strategic selection between these redundant states forms the basis of all floating capacitor voltage balancing strategies for this ANPC solar inverter.
Modulation and Floating Capacitor Voltage Balancing Strategies
Carrier-Based Modulation
A phase disposition (PD) level-shifted pulse width modulation (PWM) scheme is employed. Four triangular carrier waves, each with amplitude U_c/2 and frequency f_c, are vertically stacked to span the range of the sinusoidal modulation wave. The modulation index m is defined as the ratio of the modulation wave amplitude U_f to the carrier wave amplitude U_c: $$ m = \frac{U_f}{U_c} $$. By comparing the instantaneous value of the modulation wave with these four carriers, the appropriate output voltage level is determined for each switching period.
Analysis of Redundant State Selection Modes
To naturally balance U_cf over a fundamental grid cycle, the net charge transferred into Cf must be zero. This can be theoretically achieved by different patterns of selecting the redundant states for the +U_dc/4 and -U_dc/4 levels. Two primary modes are analyzed:
1. Half-Fundamental-Cycle Alternating Mode: In this mode, during the positive half-cycle of the grid voltage, only one of the two redundant states for +U_dc/4 is used (e.g., only the discharging state V3 for i_o>0), and only one state for 0V is used (e.g., V4). During the negative half-cycle, the complementary redundant states are used for -U_dc/4 (e.g., only the charging state V6 for i_o>0) and for 0V (e.g., V5). This creates a large-scale charging/discharging pattern over each half-cycle.
2. Carrier-Cycle Alternating Mode: This mode alternates between the two redundant states for +U_dc/4 at every carrier cycle (e.g., V2, V3, V2, V3…). Similarly, it alternates between the two redundant states for -U_dc/4 at every carrier cycle. This results in high-frequency charging and discharging of Cf, effectively minimizing the low-frequency voltage ripple across it.
Switching Frequency and Loss Distribution Analysis
The choice of balancing mode has a profound impact on the effective switching frequency and consequently the loss distribution among the semiconductor devices. A detailed analysis is required to quantify this. We define the time instants when the modulation wave intersects with the carriers. The first intersection time t1 with carrier 1 is given by:
$$ t_1 = \frac{T}{2\pi} \cdot \arcsin\left(\frac{1}{2m}\right) $$
where T is the fundamental grid period. Due to symmetry, other intersection times (t2, t3, t4) can be derived. The fundamental period can be divided into six distinct intervals based on which carrier is being compared.
By analyzing the state sequences in each interval for both modes, we can calculate the number of switching actions per device per fundamental period. The equivalent switching frequency (f_s_eq) for each switch is then this number multiplied by the fundamental frequency (e.g., 50 Hz). The results of this analysis are summarized in Table 2.
| Switch | Carrier-Cycle Alternating Mode | Half-Fundamental-Cycle Alternating Mode |
|---|---|---|
| S2, S3 | 0.5 f_c | 0.5 f_c |
| S1, S7, S8 | 0.25 f_c | $$ \frac{(\pi – 2\arcsin(1/(2m)))}{2\pi} f_c $$ |
| S4, S5, S6 | 0.25 f_c | $$ \frac{\arcsin(1/(2m))}{\pi} f_c $$ |
Figure 2 plots the switching frequencies for the Half-Fundamental-Cycle Alternating Mode as a function of modulation index m. For a typical m value of 0.78 (U_f=311V, U_c=400V), the frequencies are uneven: f_S4,S5,S6 ≈ 0.22f_c and f_S1,S7,S8 ≈ 0.28f_c. This uneven distribution leads to asymmetric power loss and temperature rise among the switch groups, complicating the thermal design of the solar inverter. In contrast, the Carrier-Cycle Alternating Mode provides a perfectly even distribution: S2 and S3 operate at 0.5f_c, while all other switches (S1, S4, S5, S6, S7, S8) operate at 0.25f_c. This uniformity is highly desirable for reliable thermal management.
Proposed Voltage Hysteresis Control Strategy
While the Carrier-Cycle Alternating Mode offers optimal loss distribution and minimizes the voltage ripple on Cf, it is an open-loop strategy. In practice, component tolerances, dead-time effects, and measurement offsets can cause a gradual drift of U_cf from its nominal value U_dc/4. A closed-loop control mechanism is essential for long-term stability.
A direct, zero-threshold control that tries to maintain U_cf exactly at U_dc/4 would require high-frequency state selection changes, potentially disrupting the designed loss distribution. Therefore, a voltage hysteresis control strategy is proposed, which is an enhanced version of the Carrier-Cycle Alternating Mode. The control logic is as follows:
- Normal Operation Band: A hysteresis band of width 2h is defined around the reference voltage U_ref = U_dc/4. As long as U_cf remains within the band (U_ref – h ≤ U_cf ≤ U_ref + h), the converter operates in the standard Carrier-Cycle Alternating Mode. This maintains the excellent loss distribution and keeps the ripple small.
- Upper Band Violation: If U_cf exceeds the upper limit (U_cf > U_ref + h), the controller overrides the alternating pattern. Depending on the polarity of the output voltage u_o, it consistently selects the redundant switching state that discharges Cf (State V3 for u_o>0, State V7 for u_o<0) until U_cf falls back into the normal band.
- Lower Band Violation: If U_cf falls below the lower limit (U_cf < U_ref – h), the controller consistently selects the redundant state that charges Cf (State V2 for u_o>0, State V6 for u_o<0) until U_cf is corrected back into the band.
This strategy combines the benefits of both worlds: it retains the superior loss distribution and low ripple of the carrier-cycle mode for the majority of the time, while employing a low-bandwidth corrective action only when necessary to prevent voltage drift. The selection logic is encapsulated in Table 3.
| U_cf Condition | u_o Polarity | +U_dc/4 Level Choice | -U_dc/4 Level Choice | Net Effect on U_cf |
|---|---|---|---|---|
| U_cf > U_ref + h | Positive | V3 (Discharge) | V7 (Discharge) | Discharge (↓) |
| U_cf > U_ref + h | Negative | V2 (Discharge*) | V6 (Discharge*) | Discharge (↓) |
| U_cf < U_ref – h | Positive | V2 (Charge) | V6 (Charge) | Charge (↑) |
| U_cf < U_ref – h | Negative | V3 (Charge*) | V7 (Charge*) | Charge (↑) |
| *Note: Effect is defined for i_o > 0. For u_o negative, i_o is negative, so the stated effect on U_cf is achieved. | ||||
Floating Capacitor Design and Selection
The proposed balancing strategy enables a drastic reduction in the required capacitance of Cf compared to what would be needed for open-loop, low-frequency balancing methods. This is a major advantage for the solar inverter, as it allows the use of robust, long-life film capacitors instead of bulky electrolytic capacitors which are susceptible to degradation under high ripple current.
The design of Cf involves determining its minimum and maximum reasonable values.
1. Minimum Capacitance (C_f,min): This is determined by the high-frequency current ripple during the Carrier-Cycle Alternating Mode. The worst-case ripple current flows through Cf when the output current is at its peak. A simplified estimation is:
$$ C_{f,min} = \frac{I_{pk}}{\Delta V_f \cdot f_c} $$
where I_pk is the peak output current, ΔV_f is the allowable peak-to-peak voltage ripple on Cf, and f_c is the switching (carrier) frequency.
2. Maximum Capacitance (C_f,max): This is determined by considering the worst-case low-frequency charge imbalance that the control strategy must correct, modeled under the Half-Fundamental-Cycle Alternating Mode. The maximum net charge ΔQ transferred to/from Cf over a half cycle is:
$$ \Delta Q = \int_0^{T/2} i_o(t) dt = \int_0^{T/2} \sqrt{2} I_{rms} \sin(\omega t) dt = \frac{\sqrt{2} I_{rms}}{\omega} $$
where ω = 2π/T. The corresponding voltage change is ΔV_f = ΔQ / C_f. Therefore:
$$ C_{f,max} = \frac{\Delta Q}{\Delta V_f} = \frac{\sqrt{2} I_{rms}}{\omega \Delta V_f} $$
For a 3.3 kW solar inverter prototype with I_rms = 15 A, f_c = 50 kHz, ΔV_f = 20 V (10% of U_dc/4 for U_dc=800V), and ω = 100π rad/s:
$$ C_{f,min} \approx \frac{25 A}{20 V \cdot 50,000 Hz} = 25 \mu F $$
$$ C_{f,max} \approx \frac{\sqrt{2} \cdot 15 A}{100\pi \cdot 20 V} \approx 3.3 mF $$
The final chosen value is a trade-off. A value several times larger than C_f,min ensures low high-frequency ripple, while remaining orders of magnitude smaller than C_f,max validates the effectiveness of the control strategy. For the prototype, a 200 μF metalized polypropylene film capacitor (e.g., a DC-Link type) was selected, which is 8 times C_f,min, providing a good safety margin while maintaining a compact and reliable design.
Simulation and Experimental Verification
To validate the proposed topology and balancing strategy for the solar inverter, both simulation and a physical prototype were developed. The key electrical parameters are listed in Table 4.
| Parameter | Value |
|---|---|
| Rated Power | 3.3 kW |
| DC-link Voltage (U_dc) | 800 V |
| Floating Cap. Voltage Ref (U_ref) | 200 V |
| Grid Voltage / Frequency | 220 Vrms / 50 Hz |
| Switching Frequency (f_c) | 50 kHz |
| DC-link Capacitance (C_p, C_n) | 1000 μF (each) |
| Floating Capacitance (C_f) | 200 μF |
| Output Filter Inductance | 0.8 mH |
Simulation Results
Simulation models were built to compare performance. Without any balancing control, U_cf naturally drifts and exhibits large low-frequency oscillations, deviating significantly from 200 V. Upon implementing the proposed voltage hysteresis control strategy (with a suitable hysteresis band h), the floating capacitor voltage is tightly regulated. Figure 3 shows that U_cf is maintained within 200 V ± 10 V, demonstrating excellent steady-state control. The corresponding grid-connected current waveform is sinusoidal with very low distortion, as shown in Figure 4.
Experimental Results
A 3.3 kW laboratory prototype of the single-phase five-level ANPC solar inverter was constructed. The experimental results closely match the simulations. The measured DC-link voltage U_dc is stable at 800 V with minimal ripple. Critically, the floating capacitor voltage U_cf is consistently maintained within the range of 190 V to 210 V (200 V ± 10 V), as depicted in Figure 5, confirming the efficacy of the balancing strategy under real-world conditions with parasitic elements and non-idealities.
The quality of the output is paramount for a grid-tied solar inverter. A Fourier analysis of the steady-state grid current was performed. The results, shown in Figure 6, indicate a total harmonic distortion (THD) of less than 3%, which complies with stringent grid codes such as IEEE 1547 and VDE-AR-N 4105. This high-quality output is directly attributable to the five-level voltage waveform and the stable operation ensured by the floating capacitor voltage balance.
Conclusion
This article has presented a comprehensive study on the floating capacitor voltage balancing challenge in a single-phase five-level Active Neutral-Point-Clamped (ANPC) converter for photovoltaic applications. The analysis of the topology confirmed its suitability for transformerless solar inverter systems due to its ability to generate high-quality five-level output with a relatively low component count.
The core contribution is the development and analysis of an advanced balancing strategy. By comparing two fundamental modes—Half-Fundamental-Cycle Alternation and Carrier-Cycle Alternation—it was demonstrated that the latter provides a perfectly even distribution of switching losses among the power devices, which is a critical advantage for thermal design and reliability of the solar inverter. To address the inherent open-loop drift, this mode was enhanced with a voltage hysteresis control loop. This hybrid strategy maintains the excellent loss distribution and low voltage ripple of the carrier-cycle mode during normal operation, while engaging a corrective action only when the floating capacitor voltage drifts outside a predefined hysteresis band.
Furthermore, the strategy enables a radical reduction in the required floating capacitance. A design methodology was provided, calculating both the minimum (based on high-frequency ripple) and maximum (based on low-frequency imbalance) capacitance values. The final selection of a 200 μF film capacitor, significantly smaller than traditional DC-link capacitors, reduces cost, volume, and enhances the long-term reliability of the solar inverter.
Simulation and experimental results from a 3.3 kW prototype conclusively validated the proposed concepts. The floating capacitor voltage was stabilized at its nominal value with minimal deviation, and the grid current exhibited low THD, meeting the requirements for high-performance grid interconnection. The proposed balancing strategy, therefore, presents a viable and optimized solution for practical single-phase five-level ANPC solar inverter systems, addressing key issues of voltage balance, loss distribution, and component sizing.
