Next Article in Journal
Cropland Mapping Using Sentinel-1 Data in the Southern Part of the Russian Far East
Previous Article in Journal
An Assessment of Environmental RF Noise Due to IoT Deployment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

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

1
Laboratoire de Conception et Conduite des Systèmes de Production, Faculté de Génie Électrique et d’Informatique, Université Mouloud Mammeri, Tizi-Ouzou 15000, Algeria
2
Department of Electrical Engineering, University Akli Mohand Oulhadj-Bouria, Rue Drissi Yahia Bouira, Bouira 10000, Algeria
3
Department of Control Systems and Instrumentation, Faculty of Mechanical Engineering, VSB-Technical University of Ostrava, 17. Listopadu 2172/15, 70800 Ostrava, Czech Republic
4
Centre for Control Systems, Vel Tech University, 400 Feet Outer Ring Road, Vel Nagar, Avadi, Chennai 600062, Tamil Nadu, India
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(18), 7901; https://doi.org/10.3390/s23187901
Submission received: 11 August 2023 / Revised: 11 September 2023 / Accepted: 12 September 2023 / Published: 15 September 2023
(This article belongs to the Section Intelligent Sensors)

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: 2L 3PVSI and 3L 3PNPC. 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 2L 3PVSI inverter is above the threshold at an irradiance of 200 W/m2. The 3L 3PNPC inverter offers a great THD percentage, meaning improved quality of the power returned to the grid.

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 (2L 3PVSI). 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 3L 3PNPC 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 2L 3PVSI 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 (2L 3PVSI and 3L 3PNPC), 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 (2L 3PVSI and 3L 3PNPC). 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: 2L 3PVSI inverter (Figure 1) and 3L 3PNPC inverter (Figure 2) configuration. Figure 1 depicts the suggested model for a grid-tied 2L 3PVSI 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 2L 3PVSI inverter. The PLL circuit is employed to synchronise the 2L 3PVSI inverter output current with the grid voltage. Figure 2 depicts a 3L 3PNPC inverter configuration with two capacitors and a neutral clamped point. The IC-MPPT technique’s output establishes the reference voltage ( V d c r e f ). The measured input voltage of the NPC ( V d c ) is compared to this voltage, and one of the recommended control strategies is employed to generate the required reference current ( i m a x * ) in consideration of the resulting error.

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].
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.
I p v = I p h I d [ exp ( q c B T A V p v ) 1 ]
I p h = G [ I s c r + K i ( T T r ) ]
I d = I o [ T T r ] 3 exp [ q E g K Q A ( 1 T r 1 T ) ]
Here, I p v is the output current and V p v = ( A , V ) is the output voltage, T is the temperature, G is the solar irradiance (W/m2 ) ,   I d is PV saturation current, I o is the saturation current at T r , I s c r is the short current under reference conditions, T r is the reference temperature, q is the electron charge, and C B is Boltzmann’s constant. The characteristics I / V and P / V of Solar World SW220 Poly are shown in Figure 4.
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 6 shows the eight switching states in the voltage vector topology on a complex plane.
The voltage vectors in Figure 6 can be described as follows.
V 1 = 0 ,   V 2 = 2 3 V d c ,   V 3 = 1 3 + j 3 3 V d c , V 4 = 1 3 + j 3 3 V d c ,   V 5 = 2 3 V d c , V 6 = 1 3 V d c j 3 3 V d c , V 7 = 1 3 V d c ,   V 8 = 0

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].
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.
In equation form, the following can be expressed:
V x n = { V c 1 + V c 2 if ( S x 1 , S x 2 )   are   ON V c 2                       if ( S x 2 , S x 3 )   are   ON 0                               if ( S x 3 , S x 4 )   are   ON
i x n = { i 1   if   ( S x 1 , S x 2 )   are   O N i N   if   ( S x 2 , S x 3 )   are   O N i 2   if   ( S x 3 , S x 4 )   are   ON  
Figure 8 illustrates the potential voltage vectors and corresponding switching states.

3. System Control

The control system is divided into three stages for the two configurations (i.e., 2L-3PVSI and 3L 3PNPC). 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.

3.2. DC-Bus Voltage Control

The DC-bus voltage is maintained at its reference level for the two configurations, i.e., for both 2L 3PVSI and 3L 3PNPC inverters. For 3L 3PNPC 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.

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:
d V c 1 d t = 1 C i c 1 ( t )
d V c 2 d t = 1 C i c 2 ( t )
Here, C 1 and C 2 are capacitances across the upper and lower DC-link capacitors, respectively. Additionally, V c 1 and V c 2 are DC-link capacitor voltages. Moreover, i c 1 and i c 2 are currents through capacitors C 1 and C 2 , 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:
d i ( t ) d t i ( k + 1 ) i ( k ) T s ,
where T s 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:
d V c x d t V c x ( k + 1 ) V c x ( k ) T s
The discrete-time equations that provide the predicted values of V c 1 p k + 1 and V c 2 p k + 1 are stated as follows:
V c 1 p ( k + 1 ) = V c 1 ( k ) + T s C i c 1 ( k )
V c 2 p ( k + 1 ) = V c 2 ( k ) + T s C i c 2 ( k )
Equations (13) and (14) indicate that the input current and the steady states of the inverter have an impact on the currents i c 1 and i c 2 .
i c 1 ( k ) = i d c ( k ) [ K 1 a i a ( k ) + K 1 b i b ( k ) + K 1 c i c ( k ) ]
i c 2 ( k ) = i d c ( k ) [ K 2 a i a ( k ) + K 2 b i b ( k ) + K 2 c i c ( k ) ]
The current values i c 1 ( k ) and i c 2 ( 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 i d c ( k ) is the current furnished by the voltage source V d c . Furthermore, the values of K 1 x and K 2 x depend on the switching states.
K 1 x = { 1 if   S x = ( + ) 0 otherwise   ( where   x = a , b , c )
K 2 x = { 1 if   S x = ( ) 0 otherwise   ( where   x = a , b , c )
The characteristics of the grid current flowing through the interfacing filter inductor can be described as follows:
L d i g x ( t ) d t = V i n v x ( t ) R i g x ( t ) e g x ( t ) ,
where V i n v x is the inverter voltage output.
The three-phase a b c - reference frame variables ( e g x and i g x ) are transformed into an orthogonal α β - reference frame ( e g α β and i g α β ) using Clarke’s transformation matrix ( P ) , given as follows:
P = [ 1 1 2 1 2 0 3 2 3 2 ]
The discrete-time model of the grid current is obtained as follows:
i g α β ( k + 1 ) = ( 1 R T s L ) i g α β ( k ) + T s L [ V i n v α β ( k ) e g α β ( k ) ]
Here, V i n v α β k is the evaluated voltage vector, which belongs to all 19 voltages. Figure 11 illustrates the predictive control strategy employed for the 3L 3PNPC 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.
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 α r e f k + 1 i α p k + 1 + i β r e f k + 1 i β p k + 1 + γ V c 1 p k + 1 V c 2 p ( k + 1 )
Here, i α r e f k + 1 ,   i α p k + 1   and i β r e f k + 1 ,   i β p ( k + 1 ) indicate the real and imaginary parts of the reference and predicted currents in the α β   frame. The symbols V c 1 p k + 1 ,   V c 2 p ( 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.
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 2L 3PVSI 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 (3L 3PNPC), 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.
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 15 illustrates the power delivered by the photovoltaic solar panels (PV) determined on the basis of the irradiance profile presented in Figure 14.
Figure 16 presents the results of the measured and reference voltages of the DC bus for two different structures: (a) 2L 3PVSI and (b) 3L 3PNPC.
Figure 17 displays the results of the grid current for two different structures: (a) 2L 3PVSI and (b) 3L 3PNPC.
Figure 18 presents the results of the grid voltage for two different structures: (a) 2L 3PVSI and (b) 3L 3PNPC.
Figure 19 presents the results of network voltage and phase current for two different structures: (a) 2L 3PVSI and (b) 3L-3PNPC.
Figure 20 presents the results of active and reactive power for two different structures: (a) 2L 3PVSI and (b) 3L 3PNPC.
Figure 21 displays the total harmonic distortion (THD) of the grid current for two different structures: (a) 2L 3PVSI and (b) 3L 3PNPC.
Table 3 shows the comparative analysis of the two structures in terms of power ripples, dynamic response, and total harmonic distortion.

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 3L 3PNPC 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 3L 3PNPC structure is employed, it can be noticed that the currents are perfectly sinusoidal compared to the 2L 3PVSI 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 3L 3PNPC structure significantly enhances the quality of the energy supplied to the network.
When using the 2L 3PVSI structure, the 3L 3PNPC 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 3L 3PNPC 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 3L 3PNPC 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 3L 3PNPC structure exhibits superior stability in terms of both active and reactive power, with no fluctuations, when compared to the 2L 3PVSI 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 3L 3PNPC 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 3L 3PNPC 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 3L 3PNPC 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 2L 3PVSI structure has a THD of 1.31%. This difference highlights the superior ability of the 3L 3PNPC 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 3L 3PNPC 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 2L 3PVSI structure) to 0.025 s (in the 3L 3PNPC structure). Similarly, for irradiance levels between 400 and 800 W/m2, the 3L 3PNPC setup achieves a response time of 0.015 s, whereas the 2L-3PVSI structure lags behind, with a response time of 0.07s. The 2L 3PVSI 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 3L 3PNPC exhibits a power fluctuation of 0.069 kW, whereas the 2L 3PVSI shows a slightly higher power fluctuation, at approximately 0.086 kW.
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 2L 3PVSI configuration used. However, it is worth noting that these values remain within acceptable limits according to IEEE 512 standards.
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 (3L 3PNPC) presented in this study. This may indicate a more substantial harmonic distortion in the grid current for the 3L 3PNPC 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 (3L 3PNPC and 2L 3PVSI) can be attributed to differences in simulation parameters and component models.

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 (2L 3PVSI) and the three-level NPC inverter system (3L 3PNPC), 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 2L 3PVSI inverter. However, the 2L 3PVSI 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 2L 3PVSI and 3L 3PNPC 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.

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.

Funding

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.

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.

Abbreviations

2L-3PVSITwo-Level, Three-Phase Voltage Source Inverter
3L-3PNPCThree-Level, Three-Phase Neutral Point Clamped
DCDirect Current
ESSEnergy Storage System
FS-MPCFinite Set Model Predictive Control
ICIncremental Conductance
MPPTMaximum Power Point Tracking
PIProportional Integrator
PLLPhase Looked Loop
PVPhotovoltaic
PVAPhotovoltaic Array
RESRenewable Energy Source
SPVSSolar Photovoltaic System
SSGC-SPVSSingle Stage Grid Connected Solar Photovoltaic System
THDTotal Harmonic Distortion
N/ANote Applicated

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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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 Modeling and Control of Static Converters for Hybrid Storage Systems, 1st ed.; Fekik, A., Benamrouche, N., Eds.; 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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. In Proceedings of the 19th International Multi-Conference on Systems, Signals & Devices, Setif, Algeria, 6–10 May 2022. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  19. Güler, N.; Irmak, E. MPPT Based Model Predictive Control of Grid Connected Inverter for PV Systems. In 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. In 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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
Figure 1. Global system configuration and control for the 2L 3PVSI structure.
Figure 1. Global system configuration and control for the 2L 3PVSI structure.
Sensors 23 07901 g001
Figure 2. Global system configuration and control for the 3L 3PNPC structure.
Figure 2. Global system configuration and control for the 3L 3PNPC structure.
Sensors 23 07901 g002
Figure 3. Single-diode model of PVA.
Figure 3. Single-diode model of PVA.
Sensors 23 07901 g003
Figure 4. Characteristic of Solar World SW220 Poly and (a) Characteristic I/V and (b) Characteristic P/V.
Figure 4. Characteristic of Solar World SW220 Poly and (a) Characteristic I/V and (b) Characteristic P/V.
Sensors 23 07901 g004
Figure 5. 2L 3PVSI configuration.
Figure 5. 2L 3PVSI configuration.
Sensors 23 07901 g005
Figure 6. Voltage vectors in the complex plane of 2L 3PVSI inverter.
Figure 6. Voltage vectors in the complex plane of 2L 3PVSI inverter.
Sensors 23 07901 g006
Figure 7. 3L 3PNPC configuration.
Figure 7. 3L 3PNPC configuration.
Sensors 23 07901 g007
Figure 8. Voltage vectors and switching states in a 3L 3PNPC inverter.
Figure 8. Voltage vectors and switching states in a 3L 3PNPC inverter.
Sensors 23 07901 g008
Figure 9. (a) Flowchart of the IC-MPTT algorithm; (b) block diagram for IC-MPPT using MATLAB/Simulink.
Figure 9. (a) Flowchart of the IC-MPTT algorithm; (b) block diagram for IC-MPPT using MATLAB/Simulink.
Sensors 23 07901 g009
Figure 10. PI corrector for the DC-bus voltage.
Figure 10. PI corrector for the DC-bus voltage.
Sensors 23 07901 g010
Figure 11. Block diagram for FS-MPC-based 3L 3PNPC inverter implementation using MATLAB/Simulink.
Figure 11. Block diagram for FS-MPC-based 3L 3PNPC inverter implementation using MATLAB/Simulink.
Sensors 23 07901 g011
Figure 12. Flowchart of the MPC for the 3L 3PNPC inverter.
Figure 12. Flowchart of the MPC for the 3L 3PNPC inverter.
Sensors 23 07901 g012
Figure 13. Flowchart of the MPC for the 2L 3PVSI Inverter.
Figure 13. Flowchart of the MPC for the 2L 3PVSI Inverter.
Sensors 23 07901 g013
Figure 14. Irradiance for the 2L 3PVSI and 3L 3PNPC (W/m2).
Figure 14. Irradiance for the 2L 3PVSI and 3L 3PNPC (W/m2).
Sensors 23 07901 g014
Figure 15. PV power for 2L 3PVSI and 3L 3PNPC structures.
Figure 15. PV power for 2L 3PVSI and 3L 3PNPC structures.
Sensors 23 07901 g015
Figure 16. DC bus measured and reference voltages.
Figure 16. DC bus measured and reference voltages.
Sensors 23 07901 g016
Figure 17. Inverter grid current.
Figure 17. Inverter grid current.
Sensors 23 07901 g017
Figure 18. Grid voltage.
Figure 18. Grid voltage.
Sensors 23 07901 g018aSensors 23 07901 g018b
Figure 19. Phase voltage and grid current.
Figure 19. Phase voltage and grid current.
Sensors 23 07901 g019
Figure 20. Active and reactive power.
Figure 20. Active and reactive power.
Sensors 23 07901 g020aSensors 23 07901 g020b
Figure 21. Grid current THD and its zoom at irradiance = 400 W/m2.
Figure 21. Grid current THD and its zoom at irradiance = 400 W/m2.
Sensors 23 07901 g021
Figure 22. Grid current THD and its zoom at irradiance = 1000W/m2.
Figure 22. Grid current THD and its zoom at irradiance = 1000W/m2.
Sensors 23 07901 g022
Table 1. Switching states of an 3L 3PNPC inverter ( x = a , b , c ) .
Table 1. Switching states of an 3L 3PNPC inverter ( x = a , b , c ) .
SxSx1Sx2Sx3Sx4Sx0
+1100VDC/2
001100
0011−VDC/2
Table 2. PVA and grid parameters.
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 string6
Series modules21
R g   ( Ω ) 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
Table 3. Comparative analysis of the two structures.
Table 3. Comparative analysis of the two structures.
Irradiance (W/m2) = 200
Structure Power ripples (kW)Dynamic response (s)THDi (%)
2 L 3PVSI0.09N/A6.83
3 L 3PNPC0.08N/A3.32
Irradiance (W/m2) = 400
Structure Power ripples (kW)Dynamic response (s)THDi (%)
2 L 3PVSI0.0880.043.45
3 L 3PNPC0.0750.0251.75
Irradiance (W/m2) = 800
Structure Power ripples (kW)Dynamic response (s)THDi (%)
2 L 3PVSI0.0870.071.66
3 L 3PNPC0.0730.0150.98
Irradiance (W/m2) = 1000
Structure Power ripples (kW)Dynamic response (s)THDi (%)
2 L 3PVSI0.086N/A1.31
3 L 3PNPC0.069N/A0.9
Table 4. Grid current THD of the 2L-3PVSI structure in previous works.
Table 4. Grid current THD of the 2L-3PVSI structure in previous works.
2L-3PVSI
Reference [18]
Irradiance (W/m2)1000800400200
THD (%)2.25N/AN/AN/A
Reference [19]
Irradiance (W/m2)1000800400200
THD (%)1.401.602.66.1
Table 5. Grid current THD of 3L 3PNPC structure in previous works.
Table 5. Grid current THD of 3L 3PNPC structure in previous works.
3L−3PNPC
Reference [15]
Irradiance (W/m2)1000800400200
THD (%)0.971.513.2N/A
Reference [16]
Irradiance (W/m2)1000800400200
THD (%)N/AN/A3.45N/A
Reference [17]
Irradiance (W/m2)1000800400200
THD (%)1.57N/AN/AN/A
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.

Share and Cite

MDPI and ACS Style

Gada, S.; Fekik, A.; Mahdal, M.; Vaidyanathan, S.; Maidi, A.; Bouhedda, A. Improving Power Quality in Grid-Connected Photovoltaic Systems: A Comparative Analysis of Model Predictive Control in Three-Level and Two-Level Inverters. Sensors 2023, 23, 7901. https://doi.org/10.3390/s23187901

AMA Style

Gada S, Fekik A, Mahdal M, Vaidyanathan S, Maidi A, Bouhedda A. Improving Power Quality in Grid-Connected Photovoltaic Systems: A Comparative Analysis of Model Predictive Control in Three-Level and Two-Level Inverters. Sensors. 2023; 23(18):7901. https://doi.org/10.3390/s23187901

Chicago/Turabian Style

Gada, Saliha, Arezki Fekik, Miroslav Mahdal, Sundarapandian Vaidyanathan, Ahmed Maidi, and Ali Bouhedda. 2023. "Improving Power Quality in Grid-Connected Photovoltaic Systems: A Comparative Analysis of Model Predictive Control in Three-Level and Two-Level Inverters" Sensors 23, no. 18: 7901. https://doi.org/10.3390/s23187901

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop