Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2023 Sep 15;23(18):7901. doi: 10.3390/s23187901

Improving Power Quality in Grid-Connected Photovoltaic Systems: A Comparative Analysis of Model Predictive Control in Three-Level and Two-Level Inverters

Saliha Gada 1, Arezki Fekik 2, Miroslav Mahdal 3, Sundarapandian Vaidyanathan 4,*, Ahmed Maidi 1, Ali Bouhedda 2
Editor: Fabio Leccese
PMCID: PMC10535537  PMID: 37765957

Abstract

The Single-Stage Grid-Connected Solar Photovoltaic (SSGC-SPV) topology has recently gained significant attention, as it offers promising advantages in terms of reducing overall losses and installation costs. We provide a comprehensive overview of the system components, which include the photovoltaic generator, the inverter, the Incremental Conductance Maximum Power Point Tracking (IC-MPPT) algorithm, and the PI regulator for DC bus voltage control. Moreover, this study presents detailed system configurations and control schemes for two types of inverters: 2L3PVSI and 3L3PNPC. In order to perform a comparative study between the two structures, we subjected them to the same irradiation profile using the same grid configuration. The Photovoltaic Array (PVA) irradiance is increased instantaneously, in 0.2 s, from 400 W/m2 to 800 W/m2, is kept at 800 W/m2 for 0.2 s, is then gradually decreased from 800 W/m2 to 200 W/m2 in 0.2 s, is then kept at 200 W/m2 for 0.2 s, and is then finally increased to 1000 W/m2 for 0.2 s. We explain the operational principles of these inverters and describe the various switching states involved in generating output voltages. To achieve effective control, we adopt the Finite Set–Model Predictive Control (FS-MPC) algorithm, due to the benefits of excellent dynamic responsiveness and precise current tracking abilities. This algorithm aims to minimise the cost function, while taking into account the dynamic behaviour of both the PV system and the inverter, including any associated delays. To evaluate the performance of the FS-MPC controller, we compare its application in the three-level inverter configuration with the two-level inverter setup. The DC bus voltage is maintained at 615 V using the PI controller. The objective is to achieve a Total Harmonic Distortion (THD) below 5%, with reference to the IEEE standards. The 2L3PVSI inverter is above the threshold at an irradiance of 200 W/m2. The 3L3PNPC inverter offers a great THD percentage, meaning improved quality of the power returned to the grid.

Keywords: 2L−3PVSI inverter, 3L−3PNPC inverter, cost function, finite set model predictive control, incremental conductance, maximum power point tracking, photovoltaic systems

1. Introduction

Competing and surviving in today’s challenging world requires balancing economic development with environmental conservation. Renewable energy sources (RESs) play a crucial role in achieving this balance. People nowadays are increasingly interested in utilising the vast potential of various RESs, such as solar and wind energy. The development of renewable energy generation has brought about a significant change in the energy sector. At present, renewable energy sources (RESs) meet approximately 17% of the global energy demand, and this figure is projected to rise in order to mitigate the adverse effects associated with conventional fossil fuel-based energy sources [1]. Traditional energy sources, such as petroleum and natural gas, are being depleted rapidly, leading to scarcity. As a result, there has been an increasing trend toward the use of non-traditional energy sources. Conventional energy sources have been depleted to a great extent due to their continued use, which has also contributed significantly to pollution and global warming. Therefore, scientists are emphasising the use of RESs. Non-traditional renewable energy sources are energy sources that are naturally replenished and do not run out [2].

In the past ten years, there has been a notable surge in the adoption of distributed energy resources, including solar photovoltaic systems (SPVSs) and energy storage systems (ESSs), in electrical power grids. Integrating these distributed energy resources into the power grid has brought several benefits, such as support during heavy loads and improved power quality. For example, utility-scale solar inverters have the ability to inject reactive power into the system to enhance the voltage profile, while ESSs can maintain the grid’s voltage and frequency during faults, allowing microgrids to continue providing power to loads [3,4]. Of all the solar technologies available, SPVSs are considered a promising option. Such systems can be managed either through a storage system or by being connected to the grid [5,6]. SPVSs are one of the most rapidly growing RESs. Multilevel inverters have gained interest for use in grid-interactive SPVSs because of their widespread use and strict grid codes [7]. For grid-tied SPVSs, various multilevel inverter topologies have been presented [7,8]. These inverters’ main goals are to feed the grid with as much active power as possible that has been extracted from the PVA. For the inverter to function properly, the specific goals of the various topologies of multilevel inverters (challenges arise in achieving DC-link voltage balancing in various topologies, such as neutral-point-clamped (NPC), cascaded H-bridge, and flying capacitor configurations) are also crucial [9]. Various traditional control methods, along with modulation techniques, have been discussed in the literature. However, controlling multiple objectives with classical controllers can be quite complicated [10].

Recently, Finite Set–Model Predictive Control (FS-MPC) has become widely popular in the field of power converter control, owing to its numerous benefits. It offers rapid dynamic response, stability, and precise control during steady-state operation. Moreover, FS-MPC allows for the integration of system nonlinearities and constraints into the control algorithm [11,12]. FS-MPC follows a unique approach that involves utilising a system model to predict the future behaviour of states within a specific time interval [11]. These predictions are then evaluated using a cost function, and the sequence that best minimises the cost function is selected to determine future control actions. Only the first value in the sequence is implemented, and the algorithm is recalculated for each sampling period.

Finite Set–Model Predictive Control (FS-MPC) possesses several advantages, such as its ability to effectively handle nonlinearities and constraints. However, it also has limitations due to the extensive computational requirements for solving the online optimisation problem, making it impractical when using the short sampling times typically employed in converter control. To mitigate this challenge, a potential solution is to solve the optimisation problem offline, as has been demonstrated in previous studies [13,14].

In this paper, we introduce a simplified configuration known as the Single-Stage Grid-Connected Solar Photovoltaic System (SSGC-SPVS). The system consists of a PVA, which can be configured in parallel or series depending on the desired voltage and power, connected to the grid through an inverter. The inverter can either be a three-level, three-phase neutral point clamped inverter (3L-3PNPC) or a two-level, three-phase voltage source inverter (2L3PVSI). To optimise power extraction, we employ an incremental conductance algorithm (IC-MPPT) along with PI control to regulate the DC-bus voltage. A reference current is generated for the FS-MP controller, and the magnitude and frequency of the currents are determined using the FS-MPC algorithm.

The assessment of power quality being fed back into the grid is determined by analysing the THD of the grid currents. In previous research, when the irradiance fell under 500 W/m2, the THD of the grid currents got closer to the permissible threshold. For the 3L3PNPC configuration, in reference [15], the THD was reported to be approximately 3.2% when exposed to an irradiance of 400 W/m2; meanwhile, in reference [16], under an irradiance of 800 W/m2, the THD reached 3.52%, and in reference [17], at an irradiance of 1000 W/m2, it dropped to 1.57%. For the 2L3PVSI structure, in [18], at an irradiance of 1000 W/m2, the THD was reported to be 2.54%, while in [19], it was reported to be 1.4% at 1000 W/m2.

In this study, we propose the use of predictive control to supervise the inverter, with the aim of minimising the cost function while taking into consideration the dynamics of both the photovoltaic system, which experiences rapid changes in insolation, and the inverter, including any potential delays this may introduce. We provide a comprehensive overview of the overall system, including the two structures (2L3PVSI and 3L3PNPC), the PVA model, and the inverter topology. Furthermore, we detail the hierarchical control system, starting with IC-MPPT, DC bus, and MPC design. To evaluate the system’s performance, simulations are conducted using MATLAB and Simulink for both structures. The THD is assessed at different levels of irradiation—specifically, at 200 W/m2, 400 W/m2, 800 W/m2, and 1000 W/m2 for both structural configurations (2L3PVSI and 3L3PNPC). These data serve as the basis for a comparative analysis of the two structures. The results are thoroughly analysed and interpreted. Finally, the study concludes with a summary of the key research findings.

2. System Description

2.1. Global System Configuration

The general block diagram adopted for this study is a PVA connected through a single-stage grid-tied inverter in two configurations: 2L3PVSI inverter (Figure 1) and 3L3PNPC inverter (Figure 2) configuration. Figure 1 depicts the suggested model for a grid-tied 2L3PVSI system. This model includes a PV panel group, a PLL circuit, an LR filter, and an IC-MPPT. Additionally, a block strategy controller is employed. The PV panel group is directly linked to the grid through the 2L3PVSI inverter. The PLL circuit is employed to synchronise the 2L3PVSI inverter output current with the grid voltage. Figure 2 depicts a 3L3PNPC inverter configuration with two capacitors and a neutral clamped point. The IC-MPPT technique’s output establishes the reference voltage (Vdcref). The measured input voltage of the NPC (Vdc) is compared to this voltage, and one of the recommended control strategies is employed to generate the required reference current (imax*) in consideration of the resulting error.

Figure 1.

Figure 1

Global system configuration and control for the 2L3PVSI structure.

Figure 2.

Figure 2

Global system configuration and control for the 3L3PNPC structure.

2.2. PVA Configuration

The five-parameter single-diode model is widely recognised and valued for its simplicity and accuracy in modelling photovoltaic (PV) cells. One significant aspect of this model, as depicted in Figure 3, is the inclusion of parallel resistance (Rp). This parameter is responsible for capturing the influence of factors such as leakage current, impurities, and crystal imperfections within the PV cell structure [20].

Figure 3.

Figure 3

Single-diode model of PVA.

The output current of a solar cell, which includes the photocurrent, can be mathematically modelled by considering components such as light-generated current sources, diodes, and series and parallel resistances.

Ipv=IphId[exp(qcBTAVpv)1] (1)
Iph=G[Iscr+Ki(TTr)] (2)
Id=Io[TTr]3exp[qEgKQA(1Tr1T)] (3)

Here, Ipv is the output current and Vpv=(A,V) is the output voltage, T is the temperature, G is the solar irradiance (W/m2), Id is PV saturation current, Io is the saturation current at Tr,Iscr is the short current under reference conditions, Tr is the reference temperature, q is the electron charge, and CB is Boltzmann’s constant. The characteristics I/V and P/V of Solar World SW220 Poly are shown in Figure 4.

Figure 4.

Figure 4

Characteristic of Solar World SW220 Poly and (a) Characteristic I/V and (b) Characteristic P/V.

PV cells are placed into PV modules, which are organised into larger PV arrays. Achieving high efficiency from PV cells is crucial, but is often limited by financial constraints, resulting in an efficiency range of 9–20% [21]. PVA electricity generation depends on atmospheric conditions, with the I-V curve being nonlinear and influenced by solar irradiance changes, as shown in Figure 4a. Only the knee operation point in Figure 4b provides maximum power, and so it is essential to operate the PV generator at this point.

2.3. Inverter Configuration

The grid-tied inverters that we employed for our investigation have typical setups. The switching sequences and the functional schemes are defined for the two configurations.

2.3.1. 2L-3PVSI Configuration

The configuration of the 2L-3PVSI converter is illustrated in Figure 5. One crucial requirement for the converter’s optimal operation is to ensure that the switches in each leg operate in a complementary manner. This complementary mode of operation is essential for preventing any potential short circuits in the DC source. As a result, the converter is limited to a total of eight permissible switching states. Each of these switching states generates specific line-to-line output voltages and the DC-link current [22,23].

Figure 5.

Figure 5

2L3PVSI configuration.

Figure 6 shows the eight switching states in the voltage vector topology on a complex plane.

Figure 6.

Figure 6

Voltage vectors in the complex plane of 2L3PVSI inverter.

The voltage vectors in Figure 6 can be described as follows.

V1=0, V2=23Vdc, V3=13+j33Vdc,V4=13+j33Vdc, V5=23Vdc,V6=13Vdcj33Vdc,V7=13Vdc, V8=0 (4)

2.3.2. 3L-3PNPC Configuration

NPC multilevel inverters are designed to generate a stepped output voltage waveform by utilising different levels of DC capacitor voltage [24]. For example, an m-level NPC inverter comprises (m−1) capacitors connected to the DC bus, 2 × (m−1) switching devices per phase, and 2 × (m−2) clamping diodes per phase. Figure 7 provides a visual representation of a three-level NPC inverter. To achieve this configuration, the DC bus voltage is divided into three distinct levels using two DC capacitors, namely, C1 and C2. Each capacitor maintains a voltage of VDC⁄2 volts, and the voltage distribution is limited to specific capacitor levels [24].

Figure 7.

Figure 7

3L3PNPC configuration.

The utilisation of NPC multilevel inverters allows for the generation of output voltages with enhanced resolution and reduced harmonic distortion. By employing multiple capacitor levels, the staircase waveform can approximate a sinusoidal waveform with increased precision. This improved voltage quality is particularly advantageous in a variety of applications, including renewable energy systems and motor drives, as it helps minimise power losses and mitigate undesirable effects on connected devices.

The switching states of 3L-3PNPC are presented in Table 1.

Table 1.

Switching states of an 3L3PNPC inverter (x=a,b,c).

Sx S x1 S x2 S x3 S x4 S x0
+ 1 1 0 0 VDC/2
0 0 1 1 0 0
0 0 1 1 −VDC/2

In equation form, the following can be expressed:

Vxn={Vc1+Vc2if(Sx1,Sx2) are ONVc2           if(Sx2,Sx3) are ON0               if(Sx3,Sx4) are ON (5)
ixn={i1 if (Sx1,Sx2) are ONiN if (Sx2,Sx3) are ONi2 if (Sx3,Sx4) are ON  (6)

Figure 8 illustrates the potential voltage vectors and corresponding switching states.

Figure 8.

Figure 8

Voltage vectors and switching states in a 3L3PNPC inverter.

3. System Control

The control system is divided into three stages for the two configurations (i.e., 2L-3PVSI and 3L3PNPC). The first is the IC-MPPT, the second is the DC-voltage control, followed by, finally, FS-MPC.

3.1. IC-MPPT Algorithm

In order to optimise the energy output of a photovoltaic (PV) system in variable weather conditions, it is essential to incorporate a maximum power point tracking (MPPT) algorithm. The IC-MPPT algorithm is based on the concept of utilising the incremental conductance of the PV panel to determine the slope of the power curve. By ensuring that the incremental conductance matches its instantaneous value, the MPPT algorithm effectively tracks the maximum power point [24,25]. Figure 9 provides a visual representation of the flowchart for the IC-MPPT algorithm.

Figure 9.

Figure 9

(a) Flowchart of the IC-MPTT algorithm; (b) block diagram for IC-MPPT using MATLAB/Simulink.

3.2. DC-Bus Voltage Control

The DC-bus voltage is maintained at its reference level for the two configurations, i.e., for both 2L3PVSI and 3L3PNPC inverters. For 3L3PNPC inverter, the measured DC-bus voltage is the sum of the two capacitors.

A simple PI regulator is used in the two configurations, as shown in Figure 10. The output of the PI controller is the amplitude reference current, which constitutes the input of the model’s predictive controller.

Figure 10.

Figure 10

PI corrector for the DC-bus voltage.

3.3. MP Controller Design

Finite Set–Model Predictive Control (FS-MPC) is a highly popular approach employed in power electronic converters to effectively manage the flow of electrical energy. This technique is renowned for its advantages, which include its simple design and remarkable dynamic performance [26,27]. The underlying principle of FS-MPC revolves around selecting the most suitable switching state of the power converter in order to minimise the future deviation of the controlled variable [28,29].

During the implementation of Finite Set–Predictive Model Control (FS-MPC), an important aspect to consider is the evaluation of the cost function. This function considers different terms that are derived from the controlled variables and operating conditions. To achieve the desired performance, it is crucial to define weighting factors that establish the relationship between these terms. Nonetheless, a significant challenge in deploying FS-MPC is the careful selection of appropriate weighting factors that can adequately balance the control objectives. This task requires finding the optimal combination of weights to assign to various terms in the cost function, which is essential for achieving the desired control performance. This issue has been addressed in previous studies [29,30].

The FS-MPC algorithm for the control of the 3L-NPC is initialised with the discretisation of DC current. The equations governing the dynamic behaviour of the voltage across the DC-link capacitor can be expressed as follows:

dVc1dt=1Cic1(t) (7)
dVc2dt=1Cic2(t) (8)

Here, C1 and C2 are capacitances across the upper and lower DC-link capacitors, respectively. Additionally, Vc1 and Vc2 are DC-link capacitor voltages. Moreover, ic1 and ic2 are currents through capacitors C1 and C2, respectively.

To predict and anticipate the dynamics of the variables involved in the cost function, it is essential to utilise a discrete-time model of the system. This discrete-time model allows for the formulation of mathematical equations that describe the system’s behaviour over discrete time intervals. To achieve this, the Euler preview technique is employed due to its simplicity and acceptable accuracy, which is very important for achieving improved performance [23,31]. Using this technique, the system’s discrete time form can be obtained, as shown in the following:

di(t)dti(k+1)i(k)Ts, (9)

where Ts is the sampling period.

Euler’s method is utilised to discretise Equation (9), resulting in an equation that enables the prediction to anticipate the forthcoming current at (k+1)th time step for the 27 potential switching states applied to the inverter. The resulting relation is presented in Equation (10) in the following format:

dVcxdtVcx(k+1)Vcx(k)Ts (10)

The discrete-time equations that provide the predicted values of Vc1pk+1 and Vc2pk+1 are stated as follows:

Vc1p(k+1)=Vc1(k)+TsCic1(k) (11)
Vc2p(k+1)=Vc2(k)+TsCic2(k) (12)

Equations (13) and (14) indicate that the input current and the steady states of the inverter have an impact on the currents ic1 and ic2.

ic1(k)=idc(k)[K1aia(k)+K1bib(k)+K1cic(k)] (13)
ic2(k)=idc(k)[K2aia(k)+K2bib(k)+K2cic(k)] (14)

The current values ic1(k) and ic2(k) depend on the value of the input currents and switching states of the inverter, as expressed in Equations (13) and (14). We note that idc(k) is the current furnished by the voltage source Vdc. Furthermore, the values of K1x and K2x depend on the switching states.

K1x={1if Sx=(+)0otherwise (where x=a,b,c) (15)
K2x={1if Sx=()0otherwise (where x=a,b,c) (16)

The characteristics of the grid current flowing through the interfacing filter inductor can be described as follows:

Ldigx(t)dt=Vinvx(t)Rigx(t)egx(t), (17)

where Vinvx is the inverter voltage output.

The three-phase abc- reference frame variables (egx and igx) are transformed into an orthogonal αβ- reference frame (egαβ and igαβ) using Clarke’s transformation matrix (P), given as follows:

P=[1121203232] (18)

The discrete-time model of the grid current is obtained as follows:

igαβ(k+1)=(1RTsL)igαβ(k)+TsL[Vinvαβ(k)egαβ(k)] (19)

Here, Vinvαβk is the evaluated voltage vector, which belongs to all 19 voltages. Figure 11 illustrates the predictive control strategy employed for the 3L3PNPC inverter implemented in MATLAB/Simulink. In this approach, future values of current and potential differences across the capacitors are predicted using measurements taken from the inverter.

Figure 11.

Figure 11

Block diagram for FS-MPC-based 3L3PNPC inverter implementation using MATLAB/Simulink.

A total of 27 switching states are generated, and corresponding cost functions are evaluated based on the predictions obtained. Transition states that reduce the cost function J are selected and applied in the next sampling stage.

In order to minimise the difference between the measured current and the desired value, the Neutral Point Clamped (NPC) inverter employs a cost function (J) as a reference value. This cost function is specifically designed to quantify the extent of the deviation between the actual and desired currents.

By utilising the cost function given by Relation (20), the NPC inverter aims to optimise its control strategy and adjust its operation to achieve a current output that closely matches the desired waveform. The formulation of the cost function J  takes various factors into consideration, such as system constraints, performance objectives, and control requirements.

The cost function J is defined as follows:

J=iαrefk+1iαpk+1+iβrefk+1iβpk+1+γVc1pk+1Vc2p(k+1) (20)

Here, iαrefk+1, iαpk+1  and iβrefk+1, iβp(k+1) indicate the real and imaginary parts of the reference and predicted currents in the αβ  frame. The symbols Vc1pk+1, Vc2p(k+1) represent the anticipated values of the DC-link capacitor voltages. Additionally, γ is the weighting factor (γ=0.001).

Figure 12 presents the flowchart illustrating the various steps of the MPC algorithm for the 3L-3PNPC inverter.

Figure 12.

Figure 12

Flowchart of the MPC for the 3L3PNPC inverter.

For the 2L-3PPVSI, the same algorithm is applied, in just one difference in the capacitor voltage, which do not constitute an input of the MP Controller. Figure 13 presents a flowchart for the MPC algorithm for the 2L3PVSI inverter.

Figure 13.

Figure 13

Flowchart of the MPC for the 2L3PVSI Inverter.

4. Simulation Results

To conduct a comparative analysis between a photovoltaic generator interfaced with the electrical grid using a two-level inverter (2L-3PVSI) and a three-level inverter (3L3PNPC), we employed MATLAB Simulink to model both structures. The objective was to evaluate their performance under identical conditions, utilising the same PVA and electrical grid configuration.

For the control of both structures, we opted for the Finite Set Model Predictive Control (FS-MPC) technique. This control strategy was chosen due to its desirable features, which include simplicity and excellent dynamic responsiveness.

To ensure a fair comparison, we employed the same simulation parameters for both structures. These parameters, outlined in Table 2, encompass various aspects related to the simulation setup, such as time steps, sampling rates, and system configurations.

Table 2.

PVA and grid parameters.

Parameters Values
Pmpp (W) 220.168
Vmpp (V) 29.2
Impp (A) 7.54
Voc (V) 36.6
Isc (A) 8.08
Parallel string 6
Series modules 21
Rg (Ω) 0.1
Lg (H) 3.3 × 10−3
Grid voltage (V) 130
f grid (HZ) 50
MPPT-Ts (s) 1 × 10−5
FS-MPC-Ts (s) 1 × 10−5
DC-Bus Capacitor (F) 2.2 × 10−9

Figure 14 displays the irradiance profile of photovoltaic solar panels (PV) during a typical day. This irradiance profile is crucial for determining the availability of the solar energy captured by the PV panels.

Figure 14.

Figure 14

Irradiance for the 2L3PVSI and 3L3PNPC (W/m2).

Figure 15 illustrates the power delivered by the photovoltaic solar panels (PV) determined on the basis of the irradiance profile presented in Figure 14.

Figure 15.

Figure 15

PV power for 2L3PVSI and 3L3PNPC structures.

Figure 16 presents the results of the measured and reference voltages of the DC bus for two different structures: (a) 2L3PVSI and (b) 3L3PNPC.

Figure 16.

Figure 16

DC bus measured and reference voltages.

Figure 17 displays the results of the grid current for two different structures: (a) 2L3PVSI and (b) 3L3PNPC.

Figure 17.

Figure 17

Inverter grid current.

Figure 18 presents the results of the grid voltage for two different structures: (a) 2L3PVSI and (b) 3L3PNPC.

Figure 18.

Figure 18

Figure 18

Grid voltage.

Figure 19 presents the results of network voltage and phase current for two different structures: (a) 2L3PVSI and (b) 3L-3PNPC.

Figure 19.

Figure 19

Phase voltage and grid current.

Figure 20 presents the results of active and reactive power for two different structures: (a) 2L3PVSI and (b) 3L3PNPC.

Figure 20.

Figure 20

Figure 20

Active and reactive power.

Figure 21 displays the total harmonic distortion (THD) of the grid current for two different structures: (a) 2L3PVSI and (b) 3L3PNPC.

Figure 21.

Figure 21

Grid current THD and its zoom at irradiance = 400 W/m2.

Table 3 shows the comparative analysis of the two structures in terms of power ripples, dynamic response, and total harmonic distortion.

Table 3.

Comparative analysis of the two structures.

Irradiance (W/m2) = 200
Structure Power ripples (kW) Dynamic response (s) THDi (%)
2L3PVSI 0.09 N/A 6.83
3L3PNPC 0.08 N/A 3.32
Irradiance (W/m2) = 400
Structure Power ripples (kW) Dynamic response (s) THDi (%)
2L3PVSI 0.088 0.04 3.45
3L3PNPC 0.075 0.025 1.75
Irradiance (W/m2) = 800
Structure Power ripples (kW) Dynamic response (s) THDi (%)
2L3PVSI 0.087 0.07 1.66
3L3PNPC 0.073 0.015 0.98
Irradiance (W/m2) = 1000
Structure Power ripples (kW) Dynamic response (s) THDi (%)
2L3PVSI 0.086 N/A 1.31
3L3PNPC 0.069 N/A 0.9

5. Discussion

As shown in Figure 15, a direct correlation is observed between the solar irradiance profile and the power delivered by the PV panels. When solar irradiance is high, the generated power reaches its maximum, while during periods of low irradiance, the generated power decreases. This close correlation between the solar irradiance profile and the generated power confirms that the photovoltaic system perfectly follows the chosen irradiance profile, demonstrating the efficiency of converting solar energy into electricity by the PV panels.

In Figure 16, when the 2L-3PVSI structure is used, it can be observed that the fluctuations of the DC bus voltage are not perfectly reduced compared to the 3L-3PNPC structure. This indicates that the 3L3PNPC structure is better at regulating the DC bus voltage, reducing undesirable voltage variations to a greater extent. On the other hand, the 2L-3PVSI structure shows a tendency to exhibit larger ripples in the DC bus voltage, which can have an impact on the stability and quality of the power supply system.

In Figure 17, when the 3L3PNPC structure is employed, it can be noticed that the currents are perfectly sinusoidal compared to the 2L3PVSI structure. This indicates that the 3L-3PNPC structure generates more regular and currents with higher quality, resulting in the injection of energy of excellent quality into the electrical grid. On the other hand, the 2L-3PVSI structure exhibits currents that may have distortions and harmonics, which can adversely affect the quality of the energy injected into the grid. Consequently, the utilisation of the 3L3PNPC structure significantly enhances the quality of the energy supplied to the network.

When using the 2L3PVSI structure, the 3L3PNPC structure generates a more stable grid voltage that is closer to the reference value, as illustrated in Figure 18. The stability of the grid voltage is essential for ensuring reliable and optimal operation of electrical devices linked to the grid. Therefore, the use of the 3L3PNPC structure can contribute to enhancing the quality of the electrical energy supplied to the network.

In Figure 19, both structures operate with a unity power factor, meaning that they inject active power equal to the apparent power into the grid. However, the 3L-3PNPC structure exhibits better stability in terms of grid voltage and phase current than the 2L-3PVSI structure. Stable grid voltage and phase current are crucial for maintaining the balance of the electrical grid and ensuring the proper operation of connected devices. Thus, the use of the 3L3PNPC structure can provide improved stability and reliability when supplying electrical energy to the grid.

In Figure 20, For both structures, the active and reactive powers follow their respective references, indicating a balance between energy production and consumption. However, the 3L3PNPC structure exhibits superior stability in terms of both active and reactive power, with no fluctuations, when compared to the 2L3PVSI structure. A stable and ripple-free behaviour for active and reactive power is crucial for ensuring efficient and reliable system operation, as well as better energy management. Therefore, the use of the 3L-3PNPC structure ensures increased stability in active and reactive powers, ultimately enhancing the quality of the energy supplied to the grid.

With a solar irradiance of 400 W/m2 it can be observed that the THD of the grid current is lower when the 3L3PNPC structure is used, with a value of 1.75%, compared to the 2L-3PVSI structure, which exhibits a THD of 3.45%, as shown in Figure 21. This indicates that the 3L3PNPC structure generates grid current with less harmonic distortion, resulting in improved quality of the injected electrical energy into the grid. However, with a solar irradiance of 1000 W/m2, the 3L3PNPC structure once again demonstrates a significant improvement in terms of harmonic distortion of the current, as shown in Figure 22. Its THD is 0.90%, while the 2L3PVSI structure has a THD of 1.31%. This difference highlights the superior ability of the 3L3PNPC structure to generate cleaner grid current that closely approximates an ideal sinusoidal waveform, as detailed in Table 3. Table 3 also assesses both dynamic response and power fluctuations. The 3L3PNPC configuration demonstrates superior dynamic performance when compared to the 2L-3PVSI setup. Specifically, for an irradiance range of 0 to 400 W/m2, the response time is reduced from 0.04 s (in the 2L3PVSI structure) to 0.025 s (in the 3L3PNPC structure). Similarly, for irradiance levels between 400 and 800 W/m2, the 3L3PNPC setup achieves a response time of 0.015 s, whereas the 2L-3PVSI structure lags behind, with a response time of 0.07s. The 2L3PVSI exhibits higher power fluctuations, whereas they are reduced when the irradiance is at 1000 W/m2. Specifically, at an irradiance of 1000 W/m2, the 3L3PNPC exhibits a power fluctuation of 0.069 kW, whereas the 2L3PVSI shows a slightly higher power fluctuation, at approximately 0.086 kW.

Figure 22.

Figure 22

Grid current THD and its zoom at irradiance = 1000W/m2.

Table 4 illustrates that the THD results exhibit significant variations compared to those reported in references [18,19], with higher THD values in most cases for the two-level structure presented in this study. This may indicate a more substantial harmonic distortion in the grid current for the 2L3PVSI configuration used. However, it is worth noting that these values remain within acceptable limits according to IEEE 512 standards.

Table 4.

Grid current THD of the 2L-3PVSI structure in previous works.

2L-3PVSI
Reference [18]
Irradiance (W/m2) 1000 800 400 200
THD (%) 2.25 N/A N/A N/A
Reference [19]
Irradiance (W/m2) 1000 800 400 200
THD (%) 1.40 1.60 2.6 6.1

Table 5 reveals that the THD results exhibit significant variation compared to those reported in references [15,16,17], with higher THD values in most cases for the three-level structure (3L3PNPC) presented in this study. This may indicate a more substantial harmonic distortion in the grid current for the 3L3PNPC configuration used. Nevertheless, these values remain within acceptable limits according to the IEEE 512 standards. The discrepancies between this study and the references for both structures (3L3PNPC and 2L3PVSI) can be attributed to differences in simulation parameters and component models.

Table 5.

Grid current THD of 3L3PNPC structure in previous works.

3L−3PNPC
Reference [15]
Irradiance (W/m2) 1000 800 400 200
THD (%) 0.97 1.51 3.2 N/A
Reference [16]
Irradiance (W/m2) 1000 800 400 200
THD (%) N/A N/A 3.45 N/A
Reference [17]
Irradiance (W/m2) 1000 800 400 200
THD (%) 1.57 N/A N/A N/A

6. Conclusions

This study aimed to assess the performance of two configurations for integrating solar energy into the electrical grid, namely, the two-level inverter system (2L3PVSI) and the three-level NPC inverter system (3L3PNPC), using a Finite Set Model Predictive Control (FS-MPC) approach. The results obtained clearly demonstrate that the 3L-3PNPC inverter has significant advantages in terms of the quality of the energy injected into the grid and dynamic performance compared to the 2L3PVSI inverter. However, the 2L3PVSI inverter still maintains its appeal in terms of cost and ease of modelling and control, especially for solar irradiance levels exceeding 400 W/m2.

Nevertheless, it is crucial to note that this study has limitations. The simplified models used for both the 2L3PVSI and 3L3PNPC inverters may not fully represent performance in real-world environments, and the lack of integration of grid disturbances is also a point to consider. Therefore, further research is needed to explore these systems more comprehensively, incorporating more detailed models and grid disturbance scenarios.

Future research required in this field includes the optimisation of control strategies for both configurations, taking into account dynamic variations in solar irradiance and grid disturbances. Additionally, experimental studies are necessary to validate simulation results and assess the actual performance of these systems. Finally, analysing the cost effectiveness and environmental impact of these configurations in real-world conditions is a promising research area for guiding the practical implementation of the integration of solar energy into electrical grids.

Abbreviations

2L-3PVSI Two-Level, Three-Phase Voltage Source Inverter
3L-3PNPC Three-Level, Three-Phase Neutral Point Clamped
DC Direct Current
ESS Energy Storage System
FS-MPC Finite Set Model Predictive Control
IC Incremental Conductance
MPPT Maximum Power Point Tracking
PI Proportional Integrator
PLL Phase Looked Loop
PV Photovoltaic
PVA Photovoltaic Array
RES Renewable Energy Source
SPVS Solar Photovoltaic System
SSGC-SPVS Single Stage Grid Connected Solar Photovoltaic System
THD Total Harmonic Distortion
N/A Note Applicated

Author Contributions

Conceptualisation, A.F., S.V., M.M. and S.G.; Methodology, S.G., A.F., A.B., A.M. and M.M.; Software, S.G., A.F., A.B., A.M. and S.V.; Validation, S.G., A.F., A.B., A.M. and M.M.; Formal analysis, S.V., S.G. and A.B.; Investigation, S.G., A.F., A.B. and A.M.; Resources, S.G., A.F. and M.M.; Data curation, S.G., A.F., M.M., A.M. and A.B.; Writing—original draft, review and editing, S.G., A.F., A.B., A.M., S.V. and M.M.; Simulations and visualisation, S.G., A.B., A.M., S.V. and M.M. All authors have read and agreed to the published version of the manuscript.

Data Availability Statement

The data used in this paper can be obtained from the authors upon request.

Conflicts of Interest

The authors declare no conflict of interest.

Funding Statement

This work was supported by the European Regional Development Fund in the Research Centre of Advanced Mechatronic Systems project, CZ.02.1.01/0.0/0.0/16_019/0000867 within the Operational Programme Research, Development, and Education and the project SP2023/074 Application of Machine and Process Control Advanced Methods supported by the Ministry of Education, Youth and Sports, Czech Republic.

Footnotes

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

References

  • 1.Saini G., Kannan R., Benini E., Kumar K. Enabling Methodologies for Renewable and Sustainable Energy. 1st ed. CRC Press; Boca Raton, FL, USA: 2023. [Google Scholar]
  • 2.Carrera B., Sim M.K., Jung J.Y. PVHybNet: A hybrid framework for predicting photovoltaic power generation using both weather forecast and observation data. IET Renew. Power Gener. 2020;14:2192–2201. doi: 10.1049/iet-rpg.2018.6174. [DOI] [Google Scholar]
  • 3.Fekik A., Benamrouche N. Modeling and Control of Static Converters for Hybrid Storage Systems. 1st ed. IGI Global; Hershey, PH, USA: 2022. [Google Scholar]
  • 4.Meng J., Zhang Z., Zhang G., Ye T., Zhao P., Wang Y., Yang J., Yu J. Adaptive model predictive control for grid-forming converters to achieve smooth transition from islanded to grid-connected mode. IET Gener. Transm. Distrib. 2023;17:2833–2845. doi: 10.1049/gtd2.12859. [DOI] [Google Scholar]
  • 5.Batarseh I., Alluhaybi K. Emerging opportunities in distributed power electronics and battery integration: Setting the stage for an energy storage revolution. IEEE Power Electron. Mag. 2020;7:22–32. doi: 10.1109/MPEL.2020.2987114. [DOI] [Google Scholar]
  • 6.Fekik A., Hamida M.L., Denoun H., Azar A.T., Kamal N.A., Vaidyanathan S., Bousbaine A., Benamrouche N. Multilevel inverter for hybrid fuel cell/PV energy conversion system. In: Fekik A., Benamrouche N., editors. Modeling and Control of Static Converters for Hybrid Storage Systems. 1st ed. IGI Global; Hershey, PH, USA: 2022. pp. 233–270. [Google Scholar]
  • 7.Kouro S., Leon J.I., Vinnikov D., Franquelo L.G. Grid-connected photovoltaic systems: An overview of recent research and emerging PV converter technology. IEEE Ind. Electron. Mag. 2015;9:47–61. doi: 10.1109/MIE.2014.2376976. [DOI] [Google Scholar]
  • 8.Wu Y.K., Lin J.H., Lin H.J. Standards and guidelines for grid-connected photovoltaic generation systems: A review and comparison. IEEE Trans. Ind. Appl. 2017;53:3205–3216. doi: 10.1109/TIA.2017.2680409. [DOI] [Google Scholar]
  • 9.Monopoli V.G., Alcaide A.M., Bruno L., Rendine G., Leon J.I., Liserre M., Franquelo L.G. A hybrid modulation technique for operating medium-voltage high-power CHB converters under grid voltage disturbances. IEEE Trans. Ind. Electron. 2023;71:462–472. doi: 10.1109/TIE.2023.3241246. [DOI] [Google Scholar]
  • 10.Feng W., Xuebing C., Shuyu C., Beng S.C., Zhiqiang C., Jet T.K., Vilathgamuwa D.M. MPC based dynamic voltage regulation using grid-side BESPS with the consideration of communication delay. IEEE Trans. Energy Convers. 2023;38:838–848. doi: 10.1109/TEC.2022.3225149. [DOI] [Google Scholar]
  • 11.Jupin S., Vechiu I., Tapia-Otagui G. Universal switched state-space representation for model predictive control of power converters. Electr. Power Syst. Res. 2020;180:106120. doi: 10.1016/j.epsr.2019.106120. [DOI] [Google Scholar]
  • 12.Muneer V., Biju G.M., Bhattacharya A. Optimal machine-learning-based controller for shunt active power filter by auto machine learning. IEEE J. Emerg. Sel. Top. Power Electron. 2023;11:3435–3444. doi: 10.1109/JESTPE.2023.3244605. [DOI] [Google Scholar]
  • 13.Yao W., Dongliang K., Qi H., Wang F., Rodriguez J. Multistep predictive current control for electrical drives with adaptive horizons. IEEE Trans. Ind. Electron. 2023;71:250–260. [Google Scholar]
  • 14.Jamal I., Elmorshedy M.F., Dabour S.M., Rashad E.M., Xu W., Almakhles D.J. A comprehensive review of grid-connected PV Systems Based on Impedance Source Inverter. IEEE Access. 2022;10:89101–89123. doi: 10.1109/ACCESS.2022.3200681. [DOI] [Google Scholar]
  • 15.Attik N., Badoud A.E., Merahi F., Laib A., Lazhar R. An improved DC-link control for dual-stage grid connected Photovoltaic system using three-level Neutral Point Climped inverter; Proceedings of the 19th International Multi-Conference on Systems, Signals & Devices; Setif, Algeria. 6–10 May 2022; [DOI] [Google Scholar]
  • 16.Bonala A.K., Sandepudi S.R., Muddineni V.P. Selective finite-states model predictive control of grid interfaced three-level neutral point clamped photovoltaic inverter for inherent capacitor voltage balancing. IET Power Electron. 2018;13:2042–2080. doi: 10.1049/iet-pel.2018.5021. [DOI] [Google Scholar]
  • 17.Dennai M.Y., Tedjini H., Nasri A., Taibi D. MPC controller of PV system based Three-Level NPC Inverter under different climatic conditions connected to the grid. Przegląd Elektrotechniczny. 2021;97:130–137. doi: 10.15199/48.2021.03.25. [DOI] [Google Scholar]
  • 18.Zhao Y., An A., Xu Y., Wang Q., Wang M. Model predictive control of grid-connected PV power generation system considering optimal MPPT control of PV modules. Prot. Control Mod. Power Syst. 2021;6:32. doi: 10.1186/s41601-021-00210-1. [DOI] [Google Scholar]
  • 19.Güler N., Irmak E. MPPT Based Model Predictive Control of Grid Connected Inverter for PV Systems; Proceedings of the 8th International Conference on Renewable Energy Research and Applications; Brasov, Romania. 3–6 November 2019. [Google Scholar]
  • 20.Weng-Hooi T., Mohamad-Saleh J. Critical review on interrelationship of electro-devices in PV solar systems with their evolution and future prospects for MPPT applications. Energies. 2023;16:850. [Google Scholar]
  • 21.Dusa A., Livinti P., Badea N., Luca L. Comparative analysis of the methods used for active power filtering in a grid-connected photovoltaic system. J. Energy Power Eng. 2021;15:135–149. [Google Scholar]
  • 22.He J., Zhang X. A dual-objective modulated model predictive control scheme for the point-of-load inverter in dc microgrid with dichotomy algorithm; Proceedings of the 2020 IEEE Energy Conversion Congress and Exposition (ECCE); Detroit, MI, USA. 11–15 October 2020; pp. 2276–2280. [Google Scholar]
  • 23.Mora A., Cardenas R., Aguilera R.P., Angulo A., Lezana P., Lu D.-C. Predictive Optimal Switching Sequence Direct Power Control for Grid-Tied 3L-NPC Converters. IEEE Trans. Ind. Electron. 2021;68:8561–8571. doi: 10.1109/TIE.2020.3009602. [DOI] [Google Scholar]
  • 24.Anand M., Senthilkumar R. Analysis of neutral point clamped multilevel inverter using space vector modulation technique. Int. J. Eng. Tech. Res. 2015;3:32–37. [Google Scholar]
  • 25.Abdullah B.U.D., Lata S., Jaiswal S.P., Bhadoria V.S., Fotis G., Santas A., Ekonomou L. A Hybrid Artificial Ecosystem Optimizer and Incremental-Conductance Maximum-Power-Point-Tracking-Controlled Grid-Connected Photovoltaic System. Energies. 2023;16:5384. doi: 10.3390/en16145384. [DOI] [Google Scholar]
  • 26.Singh S., Saini S., Gupta S.K., Kumar R. Solar-PV inverter for the overall stability of power systems with intelligent MPPT control of DC-link capacitor voltage. Prot. Control Mod. Power Syst. 2023;8:15. doi: 10.1186/s41601-023-00285-y. [DOI] [Google Scholar]
  • 27.Xie H., Tian W., Gao X., Wang F., Rodriguez J., Kennel R. An ensemble regulation principle for multiobjective finite-control-set model-predictive control of induction machine drives. IEEE Trans. Power Electron. 2023;38:3069–3083. doi: 10.1109/TPEL.2022.3220289. [DOI] [Google Scholar]
  • 28.Xie H., Du J., Ke D., He Y., Wang F., Hackl C., Rodriguez J., Kennel R. Multistep model predictive control for electrical drives-A fast quadratic programming solution. Symmetry. 2022;14:626. doi: 10.3390/sym14030626. [DOI] [Google Scholar]
  • 29.Lakhdari A., Benlahbib B., Abdelkrim T. Model predictive control for three-phase three-level NPC inverter based APF interfacing single stage photovoltaic system to the grid. J. Eur. Des Syst. Autom. 2022;55:25–34. doi: 10.18280/jesa.550103. [DOI] [Google Scholar]
  • 30.Shahid M.B., Jin W., Abbasi M.A., Husain A.R., Hassan M. Torque error based auto-tuning of weighting factor in model predictive torque control of induction motor drive. J. Electr. Eng. Technol. 2023;18:1959–1973. doi: 10.1007/s42835-022-01250-9. [DOI] [Google Scholar]
  • 31.Laib A., Krama A., Sahli A., Kihal A., Abu-Rub H. Reconfigurable model predictive control for grid connected PV systems using thirteen-level packed e-cell inverter. IEEE Access. 2022;10:102210–102222. doi: 10.1109/ACCESS.2022.3208106. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data used in this paper can be obtained from the authors upon request.


Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES