Three-Phase PV CHB Inverter for a Distributed Power Generation System

This work deals with the design of a three-phase grid-tied photovoltaic (PV) cascade H-bridge inverter for distributed power conversion. The power balancing among the phases must be properly addressed. In fact, an intra-phase power imbalance—arising from uneven irradiance and temperature conditions—generates a per-phase power imbalance. This latter can be compensated by the injection of a proper zero-sequence voltage, while the intra-phase balance is ensured by means of a hybrid modulation method which is able to guarantee the handling of unequal DC (Direct Current) sources, stable circuit operation, and maximization of PV power production. The digital controller is developed and tested in Matlab/Simulink environment integrated with XSG (Xilinx System Generator), thus allowing an easy transfer on a field-programmable gate array (FPGA) platform and accurately describing the behavior of a real hardware implementation. Thus, numerical results have been considered to prove the effectiveness of the proposed approach.


Introduction
During the last decade, photovoltaic (PV) energy conversion has become a fully mature technology, giving (in many countries) an impressive contribution to sustain the electricity demand.Its worldwide diffusion has also been supported by the increased reliability of power converters (henceforth PV inverters) which interface solar systems with the utility grid.The role of PV inverters is of utmost importance for the overall suitability of photovoltaic energy, because they manage energy exchange between solar panels and utility grid by guaranteeing (i) maximum conversion efficiency and (ii) high quality of delivered electricity.The first task is performed by means of Maximum Power Point Tracking (MPPT) algorithms that-by adjusting the switching operation of the power devices forming the converter-allow the PV system to always work with the optimum load.The second task, which consists of delivering "pure" sinusoidal currents with assigned parameters, is pursued by means of proper signal processing strategies.
Although a wide variety [1] of PV inverter topologies have been proposed so far, all of them can be roughly classified with respect to the number of independent inputs and to the size of the PV generators supplying each of them (DC (Direct Current) side) into two main categories, adopting, respectively, "centralized" conversion approaches or "distributed" conversion approaches.By recalling that an arbitrary large PV field is always built up by interconnecting many elemental PV generators, centralized conversion schemes are those where a single-input inverter serves many PV generators [2,3].This solution has indubitable strengths; indeed, it minimizes the number of power devices (thus increasing both reliability and conversion efficiency), simplifies cabling, and so on.The weaknesses depend on the fact that when mismatches among operating conditions of the PV generators occur, power production can be adversely affected; in fact, as is widely known [4,5], the worst performing generator limits the performance of the whole photovoltaic system.In order to overcome this issue, it is possible to partition the solar field into subfields, each connected to a dedicated PV inverter.This approach can be driven up to equipping each solar panel with its own DC-DC [6][7][8][9] or DC-AC (Alternate Current) converter [10][11][12].In this case, the yield of the PV system increases during mismatch conditions, but is adversely affected during normal operation (when no mismatches occur), because of the power dissipation across the increased number of switching devices; moreover, the need for a high voltage gain often requires the adoption of a double-stage converter topology, with a DC-DC stage providing gain, followed by the DC-AC conversion.
On the other hand, a significant effort has been paid in recent decades to improve the conversion features (e.g., efficiency, total harmonic distortion, and so on) of the grid-tied inverters (AC side).In particular, recent literature proves the effectiveness of some multilevel approaches [13,14].Although the appealing advantages provided by both the classical topologies, such as Neutral Point Clamped (NPC) and Flying Capacitor (FC) [15], and by the recent Crossover Switches Cell (CSC) [16] and PUC5 [17], only Cascaded H-Bridge (CHB) [15,18] is suited for multiple isolated DC-sources [19], thus joining the best features of both distributed and centralized approaches, while implementing a multilevel conversion.
In particular, Cascaded H-Bridge (CHB) multilevel PV inverters [20][21][22][23][24] are composed of several "smaller" (in terms of rated power) full-bridge DC-AC converters (hereafter referred as cells), each of them made by downsized switching devices, which are therefore less affected by dynamic and static power losses.Moreover [25], thanks to ability of multilevel topologies to produce "stepped" output voltages, CHB inverters reproduce sinusoidal waveforms better than conventional full-bridge inverters with less filter efforts, the total harmonic distortion (THD) being a function of the number of discrete voltage levels exploited to synthesize the output waveform [26].Moreover, the modular structure of CHB inverters is naturally well-suited for distributed power conversion, because each cell can be powered by a small PV generator and perform a dedicated MPPT [20].
Despite of the aforementioned advantages, in CHB inverters, the control of electronic devices switching operation is much more demanding compared to conventional inverters.Moreover, the increased number of switching devices requires an accurate evaluation of power consumption during turn-on and turn-off transients [27], which affects the conversion efficiency.In a recent paper [28], a single-phase CHB multilevel PV inverter suitable for high granularity maximum power point tracking (up to single panel level) was presented.The innovative control strategy adopted therein allowed only one elemental converter to work in switching mode while the others were kept either "ON" or "OFF" (see next section).
The proposed three-phase CHB adopts a mixed staircase-pulse-width modulation (PWM) [28][29][30][31][32][33] strategy that drives only one power cell at time to work in PWM, while all other cells provide a constant output voltage.Output voltages achieved by each cell can be independently adjusted so that the maximum power point (MPP) of each PV subsystem (connected to the corresponding cell of the inverter) can be individually tracked.The number of sections can coincide with the number of solar panels forming the PV system; thus, single panel MPPs can be individually adjusted, and the proposed approach can be effectively adopted for single panel distributed conversion schemes.
In order to extend this modulation strategy to a three-phase system, the injection of a proper zero-sequence voltage is adopted to avoid the per-phase power imbalance due to unevenly operating PV generators (i.e., intra-phase power imbalance).In fact, the per-phase power imbalance leads to unbalanced three-phase currents, not acceptable in grid connected application.To this aim, a cascaded PI (Proportional Integral) control was implemented, comprising an outer control loop regulating the overall DC-link voltage and an inner control loop accounting for the regulation of direct and reactive Appl.Sci.2016, 6, 287 3 of 15 grid currents by means of a multivariable PI controller [34].This latter ensures that d and q components are almost fully decoupled, while allowing a simple implementation and assuring fast dynamics and zero steady-state error.Even though effective approaches which concern optimal control strategies of power balancing have been proposed in recent literature [35][36][37], the adopted choice reaches the goal of proving the compatibility of the proposed modulation strategy with traditional and commonly adopted control techniques.
The paper is organized as follows: in Section 2, the proposed circuit topology is described and the mathematical model for controlling its operation is presented; in Section 3, the control strategy, along with the proposed CHB inverter implemented in Matlab/Simulink ® are shown, and numerical results are discussed to verify the effectiveness of the proposed approach in static and dynamic conditions, even under partial shading.Conclusions are drawn in Section 4.

System Topology and Control Strategy
The three-phase topology of the multilevel CHB inverter analyzed in this paper is shown in Figure 1.As can be seen, it is made by N series connected cells for each phase leg.Each cell is a H-bridge inverter powered by a photovoltaic generator, where the PV generator can be either a single solar panel or a PV subsystem.The output waveform for each leg is the sum of the output voltages (v Hi,p , with i = 1, . . ., N, and p = 1, 2, 3) of each H-bridge.An inductive filter L is exploited to filter the undesired harmonic components in the grid current.
Appl.Sci.2016, 6, 287 3 of 15 assuring fast dynamics and zero steady-state error.Even though effective approaches which concern optimal control strategies of power balancing have been proposed in recent literature [35][36][37], the adopted choice reaches the goal of proving the compatibility of the proposed modulation strategy with traditional and commonly adopted control techniques.The paper is organized as follows: in Section 2, the proposed circuit topology is described and the mathematical model for controlling its operation is presented; in Section 3, the control strategy, along with the proposed CHB inverter implemented in Matlab/Simulink ® are shown, and numerical results are discussed to verify the effectiveness of the proposed approach in static and dynamic conditions, even under partial shading.Conclusions are drawn in Section 4.

System Topology and Control Strategy
The three-phase topology of the multilevel CHB inverter analyzed in this paper is shown in Figure 1.As can be seen, it is made by N series connected cells for each phase leg.Each cell is a Hbridge inverter powered by a photovoltaic generator, where the PV generator can be either a single solar panel or a PV subsystem.The output waveform for each leg is the sum of the output voltages (vHi,p, with i = 1, …, N, and p = 1, 2, 3) of each H-bridge.An inductive filter L is exploited to filter the undesired harmonic components in the grid current.The control strategy we propose has a twofold main objective: (i) adjusting the input voltage of each cell to track the MPP of the corresponding PV generator; (ii) driving only one cell at time in PWM mode in order to reduce switching losses.
The core of the control strategy is a specially-suited sorting algorithm that establishes which cell must work in PWM mode while the others are kept in a fixed state, the overall constraints being the sum of the input voltages (which must exceed the utility grid peak voltage) and the phase relation among the three legs.
The control algorithm compares the errors between the MPPT reference values and the voltages actually measured across each PV generator, with the aim of driving only one cell in PWM mode, while the others can be either connected or bypassed, according to the detailed analysis reported below.The control strategy we propose has a twofold main objective: (i) adjusting the input voltage of each cell to track the MPP of the corresponding PV generator; (ii) driving only one cell at time in PWM mode in order to reduce switching losses.
The core of the control strategy is a specially-suited sorting algorithm that establishes which cell must work in PWM mode while the others are kept in a fixed state, the overall constraints being the sum of the input voltages (which must exceed the utility grid peak voltage) and the phase relation among the three legs.
The control algorithm compares the errors between the MPPT reference values and the voltages actually measured across each PV generator, with the aim of driving only one cell in PWM mode, while the others can be either connected or bypassed, according to the detailed analysis reported below.

CHB Inverter Modeling
From Figure 1, it can be argued that for a given voltage v pvi,p across the i th DC-link capacitor, the i th cell in the p-th leg provides an output voltage v Hi,p which can assume only three values (0, +v pvi,p , −v pvi,p ) depending on the state of the four switches S is,p .Namely, v Hi,p = 0 if either S i1,p and S i3,p or S i2,p and S i4,p are in the ON state; v Hip = +v pvi,p when both S i1,p and S i4,p are ON; v Hi,p = −v pvi,p when both S i2,p and S i3,p are ON.As a result, the AC v inv,p waveform is composed by 2N + 1 levels given by the sum of the voltages v Hi,p .
In other terms, by assuming the switch states as binary signals (i.e., switch ON corresponds to 1, while switch OFF corresponds to 0), the AC voltage v inv,p across the p-th phase can be written as follows: where the modulation factor h i,p can assume three possible values (+1, −1, 0).It is worth noting that in conventional modulation approaches, the cells are either all modulated (as in the phase shifted PWM) [20,[38][39][40][41], or none are modulated (as in the level-shifted modulation) [21].Differently from those approaches, only one set of the modulation factors h is being modulated in our algorithm, so that (1) can be written as where K identifies the only cell driven in PWM mode during each control cycle.The +/− sign in the sum depends on whether the corresponding h is kept to 1 or −1; the remaining N-K cells do not appear (i.e.h = 0).It can be noted from Figure 1 that the states defined by h = +/−1 correspond to the discharging of the DC-link capacitors C i,p , while h = 0 makes the capacitor to be charged by the PV source.Whether the sign is + or -depends on whether v inv,p is in the positive half cycle or in the negative half cycle, respectively.In order to write the open loop state equations for the control problem, it is possible to replace h i,p with a continuous switching function h i,p bounded in the interval [−1, +1]; thus, each leg current i in,p injected into the grid can be straightforwardly related to the voltages across each cell: The control is achieved by feeding back the state variables according to the schematic view depicted in Figure 2. Figure 2 can be viewed as a quite "standard" control cycle which provides the reference voltages v re f inv,p for the three phases.For each phase, the outer loop adjusts the sum of the DC-link voltages v pv,i in accordance with the sum of the references v re f pvi,p provided by the MPPT blocks (these blocks-not shown in the figure-perform a standard Perturb and Observe (P & O) algorithm).Unfortunately, in order to ensure the overall stability of the CHB inverter, the tracking voltage v re f pvi,p should avoid the case that PV generators operate in the flat region of their I-V curve [42].As a consequence, a lower boundary has to be defined, also ensuring a proper synthesis of AC-side multilevel waveform.
It important to note that the DC-link voltages v pv,i are obtained by digitally filtering the 100 Hz ripple, thus improving the quality of the inverter output current in terms of THD [20].On the other hand, a proper sizing of the DC-link capacitors has been performed to limit the detrimental effect of the 100 Hz oscillation on the MPPT efficiency [1].
hand, a proper sizing of the DC-link capacitors has been performed to limit the detrimental effect of the 100 Hz oscillation on the MPPT efficiency [1].In the inner loop, a multivariable PI controller [34] regulates both the direct and the reactive grid currents.To this end, the three reference powers given by the first PI are summed in order to get the direct current reference ref d i , while the reactive current reference ref q i can either be set to zero (in order to achieve unity power factor) or adjusted in order to control the reactive power.The adoption of a multivariable PI controller allows a simple implementation, while assuring fast dynamics and zero steady-state error for three-phase application.
Currents id and iq are achieved by converting the measured grid currents (abc coordinates) into dq coordinates.The outputs of the PI are the inverter reference voltages in dq coordinates, which are then converted to the three-phase reference voltages (abc coordinates); the synchronization of the dq transformation is performed by means of the phase-locked loop (PLL) circuit.
It is important to note that the independent MPP tracking performed for each cell may generate unbalanced phase power, thus inherently leading to unbalanced grid currents.In order to overcome this undesired drawback, a proper homopolar (zero-sequence) voltage component v0 is added to the direct sequence.Indeed, according to [43], for given power unbalances among the phases, defined as a voltage v0 allowing the inverter neutral point to move so as to have unbalanced inverter voltages (vinv,p in Figure 1), while assuring balanced grid currents, can be found in accordance with the following equations: As can be seen, the first PI evaluates the reference currents I re f p for each phase, and, from them, the reference active powers P re f p .In the inner loop, a multivariable PI controller [34] regulates both the direct and the reactive grid currents.To this end, the three reference powers given by the first PI are summed in order to get the direct current reference i re f d , while the reactive current reference i re f q can either be set to zero (in order to achieve unity power factor) or adjusted in order to control the reactive power.The adoption of a multivariable PI controller allows a simple implementation, while assuring fast dynamics and zero steady-state error for three-phase application.
Currents i d and i q are achieved by converting the measured grid currents (abc coordinates) into dq coordinates.The outputs of the PI are the inverter reference voltages in dq coordinates, which are then converted to the three-phase reference voltages (abc coordinates); the synchronization of the dq transformation is performed by means of the phase-locked loop (PLL) circuit.
It is important to note that the independent MPP tracking performed for each cell may generate unbalanced phase power, thus inherently leading to unbalanced grid currents.In order to overcome this undesired drawback, a proper homopolar (zero-sequence) voltage component v 0 is added to the direct sequence.Indeed, according to [43], for given power unbalances among the phases, defined as a voltage v 0 allowing the inverter neutral point to move so as to have unbalanced inverter voltages (v inv,p in Figure 1), while assuring balanced grid currents, can be found in accordance with the following equations: where v0 and ϕ 0 are, respectively, the peak value and the phase of v 0 , while ϕ is the phase of the balanced currents.The reference voltages provided by the control scheme of Figure 3 are then converted into the gate signal commands (S is,p in (1)) for the IGBTs (Insulated Gate Bipolar Transistor) of Figure 1.This is the innovative core of the present work, because it is at this stage that (thanks to a proper sorting algorithm) it is dynamically decided which cell of each leg has to be driven in PWM mode.Indeed, as is shown in Figure 3, the reference signal entering the PWM block depends on the index K, already defined in (2).The detailed description of the sorting algorithm is given below.
where v0 and φ0 are, respectively, the peak value and the phase of v0, while φ is the phase of the balanced currents.
The reference voltages provided by the control scheme of Figure 3 are then converted into the gate signal commands (Sis,p in (1)) for the IGBTs (Insulated Gate Bipolar Transistor) of Figure 1.This is the innovative core of the present work, because it is at this stage that (thanks to a proper sorting algorithm) it is dynamically decided which cell of each leg has to be driven in PWM mode.Indeed, as is shown in Figure 3, the reference signal entering the PWM block depends on the index K, already defined in (2).The detailed description of the sorting algorithm is given below.

The Sorting Algorithm
According to ( 2

The Sorting Algorithm
According to (2), v inv,p can be synthesized by adding up the output voltages v Hi of K-1 cells (by permanently connecting them) plus one cell in PWM mode, while the others are kept in the zero output voltage state.The new idea is to determine-in every control cycle-the state of each cell depending on the voltage error ∆v i,p = v re f pvi,p − v pvi,p_ f between the reference v re f pvi,p given by the MPPTs and the filtered actual v pvi,p .
The algorithm is sketched in Figure 4.
where v0 and φ0 are, respectively, the peak value and the phase of v0, while φ is the phase of the balanced currents.
The reference voltages provided by the control scheme of Figure 3 are then converted into the gate signal commands (Sis,p in (1)) for the IGBTs (Insulated Gate Bipolar Transistor) of Figure 1.This is the innovative core of the present work, because it is at this stage that (thanks to a proper sorting algorithm) it is dynamically decided which cell of each leg has to be driven in PWM mode.Indeed, as is shown in Figure 3, the reference signal entering the PWM block depends on the index K, already defined in (2).The detailed description of the sorting algorithm is given below.The pairs (v re f pvi,p ; ∆v i,p ) are sorted in ascending order with respect to the voltage error, thus assigning the last position, N, to the cell with the highest positive error, while the first position, 1, is occupied by the cell with the lowest negative error (it is worth noting that the position in the sorted vector is not related to the position in the physical circuit).Then, according to the new order, the voltages v re f pvj,p are added until the index K that makes true the following inequality is found:

The Sorting Algorithm
The index K is the one already defined in (2); therefore, the first K-1 cells of the sorted vector (i.e., the cells with the lower voltage errors) have to be kept in the ±1 mode (discharging mode), the K-th cell has to be driven in PWM mode, and the last N-K cells (i.e., the cells with the higher voltage errors) have to be kept in the 0 mode (charging mode).
It should be noted that the modulation strategy is specially conceived for the CHB with unequal DC sources, exploiting small differences in the voltage of the individual power cells to reduce switching losses and improve the converter efficiency [19].

Numerical Analysis
The operation of the proposed topology and the control strategy described in the previous sections were analyzed by exploiting the Matlab Simulink ® (2012a, Mathworks, Natick, MA, USA) environment.The simulated circuit was a three-phase system with three solar panels connected to each phase, each of them feeding a devised H-bridge, so that single-panel conversion was investigated.It was built by exploiting both specially suited elemental blocks taken from the Xilinx [44] library and custom homemade Verilog [45] modules.The main advantage of this approach is that the control code could be straightforwardly implemented on a Xilinx field-programmable gate array (FPGA) platform; moreover, it allowed very realistic simulations because the actual behavior of the hardware implementation of the control code on the FPGA was emulated by performing the circuit synthesis.
Table 1 reports the parameter of the simulated CHB inverter.

Parameter Description Value
Line inductance L (mH) 5 DC-link capacitance C i,j (mF) 4.32 Carrier frequency (kHz) 5 A detailed model for the PV panels, accurately describing the current voltage and the power voltage curves of commercially available solar modules [45] as a function of the illumination level and, eventually, of partial shading condition, was also adopted.Table 2 shows the details of PV panel models.Three sets of operating conditions were analyzed: (i) uniform illumination over all solar panels; (ii) non-uniform illumination; (iii) dynamically changing illumination.The features that were monitored were the capability of tracking the MPP of individual solar panels, power balancing, and quality.
The first set of results is given in Figures 5-7.
monitored were the capability of tracking the MPP of individual solar panels, power balancing, and quality.
The first set of results is given in Figure 5-Figure 7.       The curves shown in Figure 5a-c refer, respectively, to the three legs of the circuit.Since uniform illumination (625 W/m 2 ) was considered, all of the P-V curves coincide each other; thus, for example, the P-V curves of the three solar panels connected to the first leg (Figure 5a) are represented by a unique curve.
Nevertheless, the maximum power points of the solar panels were independently tracked; therefore, the operating points actually assumed by each solar panel are shown by means of different symbols (squares, circles, triangles).As can be seen, all solar panels operate very close to their respective MPP, small oscillations being ascribable to the limit cycle of the P&O tracking algorithm.
The three grid currents-superposed to the respective grid voltages-are shown in Figure 6.As can be observed, the power factor is unity, thus demonstrating the effectiveness of the active power transfer to the grid.
The reliability of the proposed approach can be better appreciated by looking at Figure 7, which shows the phase relation among the three currents (Figure 7a) and the modulated voltage waveforms produced by the sorting algorithm (Figure 7b).As can be seen, the voltages are synthesized by means of seven discrete levels, and the currents are symmetric and balanced; in this case (uniform illumination), the homopolar component vo (see Equation 4) is set to zero.The observed time interval of 100 ms corresponds to a MPPT period, while the switching frequency was f = 5 kHz.Moreover, the THD values of the phase currents and voltages have been calculated up to the 40th harmonic, as defined by the standard rules.The numerical results for the three-phase currents are 0.23%, 0.28%, and 0.27%, while for the modulated voltages they are 5.76%, 5.77%, and 6.40%.
The results gained when solar panels were not uniformly irradiated are reported in Figure 8-Figure 10.In these experiments, the nine solar panels were subjected to the irradiance levels reported in Table 3, so that each of the three legs supplied a different power.The curves shown in Figure 5a-c refer, respectively, to the three legs of the circuit.Since uniform illumination (625 W/m 2 ) was considered, all of the P-V curves coincide each other; thus, for example, the P-V curves of the three solar panels connected to the first leg (Figure 5a) are represented by a unique curve.
Nevertheless, the maximum power points of the solar panels were independently tracked; therefore, the operating points actually assumed by each solar panel are shown by means of different symbols (squares, circles, triangles).As can be seen, all solar panels operate very close to their respective MPP, small oscillations being ascribable to the limit cycle of the P&O tracking algorithm.
The three grid currents-superposed to the respective grid voltages-are shown in Figure 6.As can be observed, the power factor is unity, thus demonstrating the effectiveness of the active power transfer to the grid.
The reliability of the proposed approach can be better appreciated by looking at Figure 7, which shows the phase relation among the three currents (Figure 7a) and the modulated voltage waveforms produced by the sorting algorithm (Figure 7b).As can be seen, the voltages are synthesized by means of seven discrete levels, and the currents are symmetric and balanced; in this case (uniform illumination), the homopolar component v o (see Equation 4) is set to zero.The observed time interval of 100 ms corresponds to a MPPT period, while the switching frequency was f = 5 kHz.Moreover, the THD values of the phase currents and voltages have been calculated up to the 40th harmonic, as defined by the standard rules.The numerical results for the three-phase currents are 0.23%, 0.28%, and 0.27%, while for the modulated voltages they are 5.76%, 5.77%, and 6.40%.
The results gained when solar panels were not uniformly irradiated are reported in Figures 8-10.In these experiments, the nine solar panels were subjected to the irradiance levels reported in Table 3, so that each of the three legs supplied a different power.It can be observed from Figure 8 that-also in the case of partial shading-all solar panels operate at their respective MPP.What is now more challenging for the control system is to guarantee balanced grid currents, even if the supplied powers on the three legs were different from each other.The consequence of a power imbalance is that the outputs vinv,p of the multilevel inverters are also unbalanced.As explained in the previous section, the equilibrium of the three grid currents is achieved thanks to the addition of the homopolar voltage component vo.The effectiveness of this strategy is clearly visible in Figure 9, showing the superposition of the grid currents with the grid voltages, and Figure 10 showing the phase relation among the grid currents and the modulated voltages corresponding to three phase legs.In particular, from Figure 10b it can be seen that the zerosequence injection provides no more balanced modulated voltages while assuring balanced currents.The THD values of the phase currents and voltages have been calculated up to the 40th harmonic, as for the uniform case.The numerical results are 0.60%, 0.68%, and 0.47% for the three-phase currents, while for the modulated voltages they are 5.60%, 6.00%, and 6.20%.
The last experiment was performed by linearly varying the irradiance impinging on the first solar panel of the first leg from 625 W/m 2 to 400 W/m 2 in a time interval starting at 0.4 s and ending at 0.8 s, so that the MPP of that panel changed from 73 W to 40 W. From Figure 11, we observe that the MPP of the shaded panel is correctly tracked during time; at the same time, the power factor is unity in all three legs (Figure 12).
As evidenced in Figure 13, the homopolar correction (4) works as well; indeed, the three grid currents are well balanced (Figure 13a), while the phase relation among the voltages (Figure 13b) changes during time.
In addition to the above analysis, circuit-level simulations were performed in the PSpice environment in order to compare the proposed modulation strategy in terms of power efficiency with respect to a standard Phase-Shifted PWM (PS-PWM).A seven-level single-phase CHB inverter was constructed; each cell, composed of four PowerMOS (IRFP4568PBF, Vds,max = 150 V, Id,max = 170 A @ 25 °C, typical Rds,ON = 4.8 mΩ), powered an individual PV panel.The behavior of the PV panel was described by a circuital model with the same parameters reported in Table 1 and an irradiance of 800 W/m 2 .As in the Matlab/Simulink simulations, the CHB inverter was equipped with a 5 mH line inductor.Moreover, the PSpice simulation was conducted at a higher switching frequency (i.e., 10 kHz instead of 5 kHz) in order to deeply stress the switching behavior.Numerical results showed that the proposed modulation strategy allows a decrease of about 50% of the overall power dissipation, thus making the efficiency pass from 98.8% in the PS-PWM case to 99.4%.It can be observed from Figure 8 that-also in the case of partial shading-all solar panels operate at their respective MPP.What is now more challenging for the control system is to guarantee balanced grid currents, even if the supplied powers on the three legs were different from each other.The consequence of a power imbalance is that the outputs v inv,p of the multilevel inverters are also unbalanced.As explained in the previous section, the equilibrium of the three grid currents is achieved thanks to the addition of the homopolar voltage component v o .The effectiveness of this strategy is clearly visible in Figure 9, showing the superposition of the grid currents with the grid voltages, and Figure 10 showing the phase relation among the grid currents and the modulated voltages corresponding to three phase legs.In particular, from Figure 10b it can be seen that the zero-sequence injection provides no more balanced modulated voltages while assuring balanced currents.The THD values of the phase currents and voltages have been calculated up to the 40th harmonic, as for the uniform case.The numerical results are 0.60%, 0.68%, and 0.47% for the three-phase currents, while for the modulated voltages they are 5.60%, 6.00%, and 6.20%.
The last experiment was performed by linearly varying the irradiance impinging on the first solar panel of the first leg from 625 W/m 2 to 400 W/m 2 in a time interval starting at 0.4 s and ending at 0.8 s, so that the MPP of that panel changed from 73 W to 40 W. From Figure 11, we observe that the MPP of the shaded panel is correctly tracked during time; at the same time, the power factor is unity in all three legs (Figure 12).
As evidenced in Figure 13, the homopolar correction (4) works as well; indeed, the three grid currents are well balanced (Figure 13a), while the phase relation among the voltages (Figure 13b) changes during time.
In addition to the above analysis, circuit-level simulations were performed in the PSpice environment in order to compare the proposed modulation strategy in terms of power efficiency with respect to a standard Phase-Shifted PWM (PS-PWM).A seven-level single-phase CHB inverter was constructed; each cell, composed of four PowerMOS (IRFP4568PBF, V ds,max = 150 V, I d,max = 170 A @ 25 • C, typical R ds,ON = 4.8 mΩ), powered an individual PV panel.The behavior of the PV panel was described by a circuital model with the same parameters reported in Table 1 and an irradiance of 800 W/m 2 .As in the Matlab/Simulink simulations, the CHB inverter was equipped with a 5 mH line inductor.Moreover, the PSpice simulation was conducted at a higher switching frequency (i.e., 10 kHz instead of 5 kHz) in order to deeply stress the switching behavior.Numerical results showed that the proposed modulation strategy allows a decrease of about 50% of the overall power dissipation, thus making the efficiency pass from 98.8% in the PS-PWM case to 99.4%.

Conclusions
This work presented a new modulation approach for a three-phase CHB inverter aimed to perform distributed energy conversion, with single-panel MPP tracking capability, along with reduced switching device power dissipation.In order to achieve this latter goal, only one cell operates in PWM mode, while the others are kept in either "charging" or "discharging" mode, depending on the distance between the actual operating point and the references determined by individual MPPT blocks.
The reliability of the proposed approach has been evidenced by means of both Matlab/Simulink ® and PSpice analysis, showing the capability of system to take all relevant parameters under control: power factor, balance of the currents, solar panel maximum power points, and dynamic power losses.

Conclusions
This work presented a new modulation approach for a three-phase CHB inverter aimed to perform distributed energy conversion, with single-panel MPP tracking capability, along with reduced switching device power dissipation.In order to achieve this latter goal, only one cell operates in PWM mode, while the others are kept in either "charging" or "discharging" mode, depending on the distance between the actual operating point and the references determined by individual MPPT blocks.
The reliability of the proposed approach has been evidenced by means of both Matlab/Simulink ® and PSpice analysis, showing the capability of system to take all relevant parameters under control: power factor, balance of the currents, solar panel maximum power points, and dynamic power losses.

Figure 2 .
Figure 2. Control scheme.PLL: phase-locked loop circuit.PI: Proportional Integral.As can be seen, the first PI evaluates the reference currents ref p I for each phase, and, from them,
), vinv,p can be synthesized by adding up the output voltages vHi of K-1 cells (by permanently connecting them) plus one cell in PWM mode, while the others are kept in the zero output voltage state.The new idea is to determine-in every control cycle-the state of each cell depending on the voltage error    and the filtered actual vpvi,p.The algorithm is sketched in Figure 4.
According to(2), vinv,p can be synthesized by adding up the output voltages vHi of K-1 cells (by permanently connecting them) plus one cell in PWM mode, while the others are kept in the zero output voltage state.The new idea is to determine-in every control cycle-the state of each cell depending on the voltage error    and the filtered actual vpvi,p.The algorithm is sketched in Figure4.

Figure 5 .
Figure 5. Sunny case: the operating point position corresponding to three panels in the p-th phase leg (namely, panel 1, p (pink squares), panel 2, p (orange circles), and panel 3, p (green triangles)) is highlighted with respect to the individual panel P-V curves (solid line).(a) Phase leg 1; (b) phase leg 2; (c) phase leg 3.

Figure 6 .
Figure 6.Sunny case: time behavior of the output currents compared to the grid voltages related to (a) phase 1; (b) phase 2; and(c) phase 3.

Figure 5 .
Figure 5. Sunny case: the operating point position corresponding to three panels in the p-th phase leg (namely, panel 1, p (pink squares), panel 2, p (orange circles), and panel 3, p (green triangles)) is highlighted with respect to the individual panel P-V curves (solid line).(a) Phase leg 1; (b) phase leg 2; (c) phase leg 3.

Figure 5 .
Figure 5. Sunny case: the operating point position corresponding to three panels in the p-th phase leg (namely, panel 1, p (pink squares), panel 2, p (orange circles), and panel 3, p (green triangles)) is highlighted with respect to the individual panel P-V curves (solid line).(a) Phase leg 1; (b) phase leg 2; (c) phase leg 3.

Figure 6 .
Figure 6.Sunny case: time behavior of the output currents compared to the grid voltages related to (a) phase 1; (b) phase 2; and(c) phase 3.

Figure 6 .
Figure 6.Sunny case: time behavior of the output currents compared to the grid voltages related to (a) phase 1; (b) phase 2; and(c) phase 3.

Figure 7 .
Figure 7. Sunny case: comparison among (a) phase currents i grid, p ; and (b) phase modulated voltages v inv,p .

Figure 8 .
Figure 8. Partial shading: the operating point position corresponding to three panels in the p-th phase leg (namely, panel 1, p (pink squares), panel 2, p (orange circles), and panel 3, p (green triangles)) is highlighted with respect to the individual panel P-V curves.The solid-line P-V curves correspond to the panels under sunny conditions, while the dashed lines describe panels 2, 1 and 2, 2 under partial shading conditions.(a) Phase leg 1; (b) phase leg 2; (c) phase leg 3.

Figure 9 .
Figure 9. Partial shading: time behavior of the output currents compared to the grid voltages related to (a) phase 1; (b) phase 2; and (c) phase 3.

Figure 8 . 15 Figure 8 .
Figure 8. Partial shading: the operating point position corresponding to three panels in the p-th phase leg (namely, panel 1, p (pink squares), panel 2, p (orange circles), and panel 3, p (green triangles)) is highlighted with respect to the individual panel P-V curves.The solid-line P-V curves correspond to the panels under sunny conditions, while the dashed lines describe panels 2, 1 and 2, 2 under partial shading conditions.(a) Phase leg 1; (b) phase leg 2; (c) phase leg 3.

Figure 9 .
Figure 9. Partial shading: time behavior of the output currents compared to the grid voltages related to (a) phase 1; (b) phase 2; and (c) phase 3.Figure 9. Partial shading: time behavior of the output currents compared to the grid voltages related to (a) phase 1; (b) phase 2; and (c) phase 3.

Figure 9 .
Figure 9. Partial shading: time behavior of the output currents compared to the grid voltages related to (a) phase 1; (b) phase 2; and (c) phase 3.Figure 9. Partial shading: time behavior of the output currents compared to the grid voltages related to (a) phase 1; (b) phase 2; and (c) phase 3.

Figure 10 .
Figure 10.Partial shading: comparison among (a) phase currents i grid, p ; and (b) phase modulated voltages v inv,p .

Figure 11 .
Figure 11.Dynamic partial shading: the operating point position corresponding to three panels in the p-th phase leg (namely, panel 1, p (pink squares), panel 2, p (orange circles), and panel 3, p (green triangles)) is highlighted with respect to the individual panel P-V curves.The solid line P-V curves correspond to the panels 1, p, 2, p, and 3, p under sunny condition, while the dashed line describes panel 2, p under partial shading condition.(a) Phase leg 1; (b) phase leg 2; (c) phase leg 3.

Figure 12 .
Figure 12.Dynamic partial shading: time behavior of the output currents compared to grid voltages related to (a) phase 1; (b) phase 2; and (c) phase 3.

Figure 11 .
Figure 11.Dynamic partial shading: the operating point position corresponding to three panels in the p-th phase leg (namely, panel 1, p (pink squares), panel 2, p (orange circles), and panel 3, p (green triangles)) is highlighted with respect to the individual panel P-V curves.The solid line P-V curves correspond to the panels 1, p, 2, p, and 3, p under sunny condition, while the dashed line describes panel 2, p under partial shading condition.(a) Phase leg 1; (b) phase leg 2; (c) phase leg 3.

15 Figure 11 .
Figure 11.Dynamic partial shading: the operating point position corresponding to three panels in the p-th phase leg (namely, panel 1, p (pink squares), panel 2, p (orange circles), and panel 3, p (green triangles)) is highlighted with respect to the individual panel P-V curves.The solid line P-V curves correspond to the panels 1, p, 2, p, and 3, p under sunny condition, while the dashed line describes panel 2, p under partial shading condition.(a) Phase leg 1; (b) phase leg 2; (c) phase leg 3.

Figure 12 .
Figure 12.Dynamic partial shading: time behavior of the output currents compared to grid voltages related to (a) phase 1; (b) phase 2; and (c) phase 3.

Figure 12 .
Figure 12.Dynamic partial shading: time behavior of the output currents compared to grid voltages related to (a) phase 1; (b) phase 2; and (c) phase 3.

Figure 13 .
Figure 13.Dynamic partial shading: comparison among (a) phase currents i grid,p ; and (b) phase modulated voltages v inv,p .

Table 2 .
PV (photovoltaic) panel model: simulation parameters at standard conditions.