Next Article in Journal
Experimental Investigation of a Prototype Thermal Refuge for Trout
Previous Article in Journal
Design of Damping Strategies for LC Filter Applied in Medium Voltage Variable Speed Drive
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Control Strategy in Grid-Integrated Photovoltaic System for Power Quality Enhancement

1
Department of Electrical and Electronic Engineering, Faculty of Engineering and Built Environment, University of Johannesburg, Johannesburg 2092, South Africa
2
Department of Electrical Engineering, Faculty of Engineering Science and Technology, Higher Colleges of Technology, Abu Dhabi 25026, United Arab Emirates
*
Author to whom correspondence should be addressed.
Energies 2022, 15(15), 5645; https://doi.org/10.3390/en15155645
Submission received: 15 June 2022 / Revised: 17 July 2022 / Accepted: 26 July 2022 / Published: 4 August 2022

Abstract

:
The integration of solar photovoltaic (PV) systems and utility grids has gradually gained significant interest in improving the sustainability of clean power supply for society. However, power quality remains a challenge due to partial shading conditions and harmonics. To overcome these drawbacks, a flexible radial movement optimization based on a dynamic safety perimeter maximum power point tracking algorithm is employed to track maximum power out of a PV system and to ensure that the optimum voltage level at the common DC bus is obtained under partial shading conditions using fixed-tilt installation configuration. Furthermore, a novel inverter control loop system with a double second order generalized integrator phase-locked loop (DSOGI-PLL) is also proposed to mitigate harmonics and improve the power quality of the grid interfacing PV system using MATLAB SIMULINK software. The proposed system has several merits, such as better harmonic suppression capability, control adaptivity, rapid tracking speed, low computational burden and phase and grid synchronization.

1. Introduction

The transition of energy through photovoltaic (PV) panels has gradually gained significant interest due to the continuous hike in oil prices and the environmental pollution caused by hydrocarbons [1]. Solar energy technologies and PV panels have become inexpensive, pollution-free and more reliable. PV solar panels are the most widely used power source due to the benefits offered, such as free energy from the sun, cheap operation and maintenance costs, green energy, noise-free and a reasonably long lifespan. The PV system can be tied to the load as a standalone system or indirectly connected to the grid system. Despite its merit, PV system power predominantly depends on environmental conditions such as solar insolation and ambient temperature, as its output is a nonlinear characteristic. Under partial shading conditions (PSC), the PV system has multiple maximum power points (MPP), namely local and global power peaks. The major challenge of the PV system is the failure to operate at higher efficiency under complex weather conditions. Hence, the requirement for a maximum power point (MPPT) controller to sustain the global maxima power point (GMPP) under weather intermittency.
The MPPT controllers will ensure that the global power is harvested so that the PV system will always operate at higher efficiency. However, most MPPT techniques have difficulty in tracking GMPP under rapidly changing weather conditions. The PSC is usually caused by moving clouds, tall buildings, flying birds, dust, tall trees, etc., or even a damaged PV module. A bypass diode is normally connected in parallel with the PV cell to protect the shaded PV module from hot-spot damage [2]. Nevertheless, PV power is highly affected by using this bypass diode since the PV system power generated from the shaded module is utterly inadequate. Moreover, the current that flows through the bypass diode contributes to conduction losses, ultimately leading to a further retrogression in device performance. In this paper, the hybrid FRMO-DSP is introduced to track the true GMPP under complex weather conditions by scanning the P-V curve.
Numerous MPPT techniques have been proposed by researchers to optimize GMPP for a PV system under varying weather conditions. The conventional MPPT algorithms such as perturb and observe (P&O), hill climbing (HC) and incremental conductance (INC) were proposed in [3] for GMPP tracking under PSC. These methods use duty ratio adjustment to maximize or minimize until GMPP is extracted. However, these algorithms cannot locate a true GMPP and quite often get trapped in local power peaks, resulting in PV system power reduction. This is because they continuously change the direction of the duty ratio under PSC, which results in large oscillations around MPP [4].
Other researchers proposed hybrid MPPT algorithms to overcome the limitations of conventional algorithms. The main aim was to combine the strengths of the two algorithms for performance improvement. The real-time recurrent learning gradient adaptive linear neuron was proposed in [5]. The method has the merit of using high-volume datasets, and unwanted datasets are removed. It adopted the PSC and presented a fast response with a lower training error. However, the proposed technique had fewer bifurcations due to climatic changes. Researcher [6] proposed the hybrid linear tangents (LT) and Neville interpolation (NI) algorithm for GMPP tracking under PSC. The algorithm eliminates the constant regions of the PV power derivative concerning zero volts at the projection of linear tangents at 75% and 90% of the open-circuit voltage. Under normal weather conditions, the MPPT method reached the GMPP within a precise time. However, during rapidly changing climatic conditions, the proposed LT-NI has a delay in response time due to the re-initialization of the DC scheme. In fact, the proposed MPPT technique fails to accomplish GMPP under different weather conditions. Recently, other researchers developed the hybrid artificial neural network (ANN) integrated with Newton Raphson (NR) for high-efficiency optimization for multilevel inverters for PV applications [7]. The ANN is used for training and estimation, while NR is employed for further optimization. The method is efficient; however, the software development is complex and expensive.
Another major challenge is power quality and grid stability issues in a grid-tied PV system. The electrical power quality includes unbalanced current and voltage, current and voltage harmonics, voltage regulation and input power factor. It is caused by tracking MPP under PSC. Another cause is the deployment of power electronic devices such as inverters, converters, etc., and nonlinear loads. These power quality issues produce undesired effects, such as nuisance trips, voltage flicker, overheating of equipment, efficiency reduction, equipment malfunction due to the excessive voltage distortion, life span reduction to the electrical equipment and lowered system power factor resulting in penalties on monthly utility bills. Another challenge is that most of the inverter control strategies work better under steady-state conditions but fail to comply with the IEEE 519 standard and grid requirements under transient state. This paper proposes a novel inverter control loop system with a DSOGI-PLL to calculate the three-phase reference voltage to generate the optimum PWM signals for the grid interfacing inverter to enhance the power quality of the grid integrated PV system.
To monitor the power quality effects as a result of a grid-tied solar PV system, several studies have been executed over the past few years. Various researchers characterized the harmonics effects of a grid-tied PV system along with contemplation of a few nonlinear loads. In [8], the authors proposed that the DC link voltage regulation is optimized to match the reference current resolution to mitigate large harmonics. However, the comprehensive and systematic analysis of the formation process of the harmonic in the PV inverter output current is missing. In [9], the adaptive current regulation is proposed to reduce harmonics in a grid-connected PV system. The algorithm is trained using a recurrent neural network (RNN) to determine the three-phase reference currents for the generation of pulse width modulation (PWM) signals to drive the grid interfacing inverter to enhance the power quality of the system. The proposed system was modeled and simulated using MATLAB Simulink software. This method requires high computation and RNN performance is heavily dependent on the use of efficient training techniques.
Authors in [10] proposed the PI current controller for grid interfacing inverter to determine the output current to follow the desired reference current for harmonics mitigations. The main limitation of the PI controller is its incapacity to work adequately under unbalanced conditions. In general, the proposed scheme fails to determine a pure reference sinusoidal without steady-state error. The authors of [11] recommend the Newton Raphson iterative technique (NRIT) to drive the switching angles of the grid interfacing inverter to reduce the harmonics. The method measured the voltage total harmonic distortion (THD) of 11.8%, which is not well within the IEEE-519 standard. In [12], a recent Bat algorithm is employed to reduce the harmonics by solving numerical global optimization problems. The algorithm is employed to calculate the switching angle of a multilevel inverter for power quality enhancement. However, the technique has some drawbacks, such as high complexity and computational burden.
The authors of [13] proposed two innovative fault-tolerant methods based on fuzzy logic and model predictive control to investigate fault effects owing to common power-loss in PV arrays in the presence of microgrid uncertainty and disturbance. In a hybrid microgrid benchmark, the efficacy of the proposed system is proven and compared under actual fault situations. The suggested approach also considers the sudden couplings and disconnection of dynamic loads, which is a significant difficulty. The techniques do not need a specific collection of fault situations. The suggested approach for imprecise gain scheduling was performed flawlessly. However, the technique is unsuitable for severe power-loss failures. As a result, the suggested model predictive control approach is designed to tolerate and accept more severe failures than its competitors. The authors, however, did not investigate the designing of active fault-tolerant control systems with real-time control reconfiguration, robust problem detection and diagnostics at the microgrid level. The authors of [14] developed a novel control for a dual-stage grid-connected solar PV dataset based on adjoint least mean square (ALMS). The suggested system includes advantages such as a fast rate of convergence, harmonics capabilities and ease of implementation. The proposed scheme is tested on a three-phase grid and local nonlinear loads. The controller is used to improve grid current quality because of imbalanced, nonlinear load and various weather conditions. The system is intended to meet the IEEE 519 standard’s benchmark. However, the current THD level of 9.72% was measured under steady-state performance.
In this paper, a new hybrid flexible radial movement optimization (FRMO) based on the dynamic safety perimeter (DSP) MPPT algorithm is proposed to ensure that the required DC link voltage is obtained under partial shading conditions. Furthermore, a novel inverter control loop system (ICLS) with a double second-order generalized integrator phase-locked loop (DSOGI-PLL) is proposed to improve the power quality of a grid-connected PV system. The PLL is deployed for grid and inverter synchronization using closed feedback. This paper addresses the main components, control strategy, stability analysis and experimental validation. The superiority of the newly proposed grid-tied PV system is supported by MATLAB Simulink software results. The novelty of this research and contributions of the proposed work can be summarized as follows:
  • A new FRMO based on the DSP MPPT technique is proposed to track the PV system’s global maximum power under fast-changing weather conditions using a fixed-tilt installation configuration.
  • The proposed FRMO-DSP MPPT is integrated with the PID controller to minimize the steady-state error and maintain the optimal voltage level at the DC link bus.
  • A novel inverter control loop system with a DSOGI-PLL is proposed to calculate the three-phase reference voltage to generate the optimum PWM signals for the grid interfacing inverter to enhance the power quality of the grid-integrated PV system.
  • The proposed system ensures rapid grid synchronization and convergence time to meet the benchmark of the grid requirements.
  • The proposed inverter control technique is compared with other recently developed algorithms from the literature in different case studies using the fast Fourier transform (FFT) to measure the power quality of the proposed system.
The remainder of the paper is systematized as follows: Section 2 explains the PSC and power quality. Section 3 introduces the proposed MPPT and inverter control algorithm. Section 4 presents the system setup. Section 5 demonstrates the results and discussion. Ultimately, Section 6 concludes this paper.

2. PSC and Power Quality

2.1. Partial Shading Conditions

When PSC occurs on PV module arrays, their efficiency is lowered due to the decreased output voltage and current. This is caused by shade from flying birds, tall buildings and structures, passing clouds, dust and malfunction of some PV modules [15]. This causes the P-V curve to have multi-power peaks, namely the local and global power peaks [16]. The global power peak is the highest power point, and the local is defined as the lowest power peak under sudden changes in environmental conditions. Hence the need for the MPPT controller to ensure that the PV system operates at high efficiency even under PSC.

2.2. Power Quality

A good quality power is defined as a constant voltage supply that functions within a designed range. It can also be defined as an AC frequency that is close to the fundamental/designed frequency and a pure voltage sinusoidal waveform. Any power quality-related issues are deemed a power quality concern and can reduce the life span of an electrical device. In a generation, it can be described as an ability to produce power at a specified frequency with a small variation. Power quality-related issues are a concern for customers as it lowers the system power factor and ultimately a hike in monthly utility bills. Many Engineering institutions all over the world are focusing on developing the power quality standards suitable for electrical equipment.
The concerning power quality issues are the emerging harmonics. Harmonics are voltages or current sinusoidal having frequencies that are integer multiples of the fundamental/designed frequency [17]. Harmonics, in combination with the designed voltage or current, can result in a distorted waveform. Harmonics in the grid-tied PV system can be caused by the MPPT controller, power electronics devices such as inverters, etc. and nonlinear loads. The distorted waveform is caused by varying current from nonlinear loads and ultimately results in a voltage drop across the system impedance. Several researchers used total harmonic distortion (THD) to gauge the distorted waveform concerning the fundamental waveform. In a perfect world, the pure sinusoidal waveform will have 0% THD. Following the IEEE-519 standard, the THD level shall not exceed 5% in the electrical system [18]. The THD level of a voltage and current is given by Equations (1) and (2), respectively.
T H D V = n = 2 N V Π 2 V 1 × 100 %
T H D I = n = 2 N I Π 2 I 1 × 100 %
where V n   and   I n are the rms voltage and current at harmonic n, V 1   and   I 1 are the fundamental rms voltage and current and N is the maximum harmonic order to be considered.
Ultimately, the large THD level affects the system power factor, which increases the customer’s monthly utility bill. Equation (3) demonstrates the system power factor, which depends on the THD level.
P F = 1 1 + ( T H D % 100 ) 2
The other frequency disturbances can be described as a modifier gaging the size of the voltage variation, such as unbalanced voltage, voltage sag, swell, interruption, etc.; the duration can be instantaneous, momentary or temporary. The general characteristics of these variations and limits set by IEEE standards can be viewed in [19].

3. Grid-Tied System Description

Figure 1 demonstrates the proposed grid-integrated PV system power stage and the implementation of the proposed MPPT and inverter control algorithms. The proposed scheme consists of a two-stage PV system supplying the power to the utility grid. The new FRMO based on the DSP MPPT control system is designed to track global maximum power and ensures that the optimal DC link voltage level is achieved even under weather intermittency. A boost DC/DC converter is designed, taking into consideration the DC link capacitor design. It is used to step up the DC link voltage to the required level of the DC/AC inverter across the bus capacitor. The DC-link capacitor is utilized to produce a more stable DC voltage and minimize the voltage ripples across the PV array. The DC-link capacitor is also employed as an energy storage system to provide power to the inverter in the event of transient faults, PSC, etc. The DC/AC inverter is connected to the utility grid through the LC filter. The inverter is deployed to convert DC to AC power, and the LC filter is designed to further suppress the high-order harmonics. The new inverter control loop system is implemented for controlling the grid interfacing inverter to enhance the power quality. This control system consists of a double control loop, namely, inner current and outer voltage control loop. This is achieved by sensing the three-phase inverter currents and grid voltages. These currents and voltages are then transformed to direct, quadrature and zero components in a rotating reference frame using Park’s transformation. Its goal is to determine the three-phase reference voltage to generate a control signal for the PWM generator to drive the inverter (IGBT gates) to a pure reference sinusoidal waveform. The double second-order generalized integrator phase-locked loop (DSOGI-PLL) is deployed for grid and inverter synchronization. The proposed grid-integrated PV system in this paper is connected to the linear and nonlinear load.

4. The Proposed MPPT and Inverter Control Algorithm

4.1. Proposed FRMO Based on DSP MPPT

Numerous MPPT algorithms have been proposed for GMPP tracking under fast-changing climatic conditions, as discussed in the literature. However, most of these algorithms fail to locate the true global power peak and end up trapped in the local power peak and ultimately reducing the PV output power. Some of these techniques have a high complex computational burden and are expensive and unreliable. To overcome the PSC issue, a new FRMO based on the DSP MPPT algorithm is proposed.
  • Flexible Radial Movement Optimization
The FRMO is an efficient optimization tool used to solve multiple variable complex problems. The method uses the same approach as the other evolution optimizations, such as particle swarm optimization and differential optimization [20,21]. However, FRMO coefficients commute during the technique process. It initializes the optimization process by disintegrating the multi-particles in the predetermined search space. The disintegrated particles are taken as the solution suggested and the particle’s fitness values are determined utilizing the objective function through each step of the process. Then, the random vector and two pre-eminent fitness values are used to calculate the movement vector. The uniqueness of the FRMO from the other metaheuristic algorithms is the particle’s motion manner. The particle traverses the predefined region around the center of the algorithm. Figure 2 demonstrates the particles moving out with non-identical velocities along the radii of the center. The position of the greatest particle is recognized based on their fitness values explicated by the objective function. The FRMO particles traverse the search space proficiently to circumvent drifting towards the local optima. This method offers a superior and broad inspection ground for the targeted search space. Therefore, the algorithm is fit to work with a very large and complicated search space and needs small storage memory. The particle position is the search space which is represented by a matrix of n o p × n o d magnitude.
Where the n o p   and   n o d denote the number of particles in the design and the number of dimensions, which depends on the number of variables needed to be optimized, respectively. The particle positions are calculated using Equation (4), where the n o p   and   n o d remain constant.
X j , j = [ X 1 , 1 X 1 , 2 X 1 , n o d X 2 , 1 X n o p , 1 X n o p , 2 X n o p , n o d ]      
where   { i = 1 , 2 , 3 n o p ; j = 1 , 2 , 3 n o d .
i.
Initialize
First particle positions are randomly allocated inside the boundaries of the search space. The random allocation can be exemplified using Equation (5).
X i , j = X min ( i ) + r a n d ( 0 , 1 ) × ( X max ( j ) X min ( i ) )  
where   { i = 1 , 2 , 3 n o p ; j = 1 , 2 , 3 n o d .
where X max ( j )   and   X min ( i ) represents the j t h size constraints in the design and Gaussian distribution as 0 and 1, utilized for rand (0,1).
ii.
Movement
The particle layout, a straight line route from the radii on the vector V e i j , can be determined using Equation (6).
V e i j = r a n d ( 0 , 1 ) × V e max ( i )
where   { V e max ( i ) = Y max ( i ) Y min ( i ) k ; i = 1 , 2 , , n o p ; j = 1 , 2 , n o d .
where k is denoted as the positive integer. Then, the inertia weight ( W ) is introduced to solve all the convergence problems. Equation (7) is used to show the relationship between the inertia weight and the iteration number.
V e k i j j = W k × r a n d   ( 0 , 1 ) × V e max ( j )  
In FRMO, W k is a constant value between 0 and 1 for the initial 10 iterations and is tuned using Equation (8).
W k = W m a x W m a x W m i n I t e r m a x × 2 I t e r k
where W m a x = 1 and W m i n = 0 . The I t e r k is denoted as the current iteration and I t e r m a x is the highest iteration. Figure 3 illustrates the radial movement of the particles from the center and is determined using Equation (9).
X i j j k = C k + V e k i j j
The particles are depicted as black dots and the boundaries of V e max are demonstrated as the dashed circle.
The objective function is utilized to determine the performance of the particles and denote the best fitness/radial value ( R b e s t ) . This position and its fitness value are stored in this step. The best R b e s t in all iterations is taken as the global best ( G b e s t ) . The R b e s t   a n d   G b e s t   a r e utilized to progressively update the center using Equation (10).
C n e w = C o l d × a 1 × ( G b e s t R b e s t ) + a 2 ( R b e s t c o l d )
where a 1   and   a 2 denote the coefficients, which can be determined using Equations (11) and (12) after the initialization of the FRMO process. Where C represents the center.
a 1 = a 1 m i n + a 1 m a x a 1 m i n I t e r m a x × I t e r k
a 2 = a 2 m i n + a 2 m a x a 2 m i n I t e r m a x × I t e r k
The G b e s t is continuously compared with the R b e s t to find the greatest solution acquired from all generations. The process is ongoing till the G b e s t is equal to the maximum threshold value. Figure 3 demonstrates the two successful iterations where the updated vector defines a new center.
  • Dynamic Safety Perimeter (DSP)
Generally, the design aim of a control system is to attain a defined constrained output [22]. The DSP is a performance indication whose predictor variable is the space from a predefined safety margin. It measures the distance from the system track to a predefined safety margin in the state space at any given time. The DSP’s objective is to ensure that the system operates within a safe boundary all the time, even during transient behavior. In this case, the DSP will ensure the quality of the MPPT controller under varying weather conditions. The safety perimeter-based design is based on the safety border of the operation area, and it is determined by following the experience of the system behavior. The MPPT controller design based on DSP is essential to sustain a predefined safety boundary during transient and disturbance behavior. This will ensure that the PV system operates at higher efficiency and speeds up the performance recovery of the MPPT controller under PSC.
For the explanation of the idea, let X be defined as the state space in R n and X as the safe operation area for vital state variables X R n in the state subspace Ø and m n . State space can be defined by a set of inequalities such as:
= { x | φ i ( x ) 0 ,   i = 1 , , q }
where φ i : R m R . φ i ( x ) > 0 is the unsafe region and = { X | φ i ( x ) = 0 ,   i = 1 , q } .   is the border of the safe region.
Where variables q   and   m represent the number of specified inequalities and the number of state variables relevant to the safety perimeter. The m n , where n denotes the size of the state space. The DSP path starts from the initial condition, x o to the operating point x s crossing the state space with varying distance to the safety boundary, as shown in Figure 4. Therefore, DSP can be defined as the instant shortest distance δ ( t ) between the current state vector, x   a n d   . DSP is determined by solving the following quadratic programming optimization problem:
m i n x p | | x x p | | 2 2
Subject to x p and DSP is:
δ = s ( t ) | | ( x x p o )   | | 2 2
where x p o is defined as the solution to the preceding optimization problem and:
s ( t ) = { + 1 ,   i f   x   i s   i n   t h e   a r e a   o f   t h e   s a f e   o p e r a t i o n ; 1 ,   i f   x   i s   o u t   o f   t h e   a r e a   o f   s a f e   o p e r a t i o n .
The state relevant to the safety perimeter, in this case, is defined as the PV current and PV voltage, x = [ I P V V P V ] T . The safe operation region Φ is chosen to be the subspace that includes the corresponding MPPT for all predictors, such as varying solar irradiance and temperature. If the input predictors are below the Φ , the PV system will not reach the GMPP and will result in poor performance. The DSP of a PV module is determined by the two examples below:
i.
Offline technique requires accurate current and voltage (I-V) data of the PV module characteristic.
ii.
Online technique requires the recorded MPP values acquired from the FRMO without PSC.
To demonstrate the idea, the 1STH-215-P PV module is considered with 7.84 A and 36.3 V rated short circuit current and open circuit voltage, respectively. By I-V characteristic analysis, the safety area will be of a convex set, as illustrated in Figure 5. The safety region in this study, the PV Power 207   W   or   PV   efficiency   η 97 % .
If the PV modules are connected in series and parallel, the safety region is determined by integrating the characteristics of the modules. In a series connection, the safe region is determined using Equation (15).
Φ s = { x s | x s = n s x 1 x ϵ ϕ }
where Φ s is the total safe region of the series connection of the PV modules, and Φ is denoted as a single module. Where x = [ I P V   V P V ] T denotes the state vector of a module and x s ϵ R 2 ,   x s = [ I s V s ] T is the state variable of a new string current and voltage. The total safety region Φ p of a parallel connected module is determined using Equation (16).
Φ p = { x p | x p = A p x 1 x ϵ ϕ }
where A p = [ 1 0 0 n p ] , x p ϵ R 2 ,   x s = [ I p V p ] T is the state variable of the new parallel current and voltage.
In this study, an online DSP method is used to monitor the safety region of the PV module, the reason being that the FRMO is already using the offline approach for GMPP tracking. As mentioned above, the 1STH-215-P SOLTECH module is used to simulate and validate the performance of the MPPT techniques. The safety region can be defined by the set of inequality constraints in a form of Φ = { x | φ i ( x ) 0 ,   i = 1 , , 4 } , where:
Φ i ( x ) = a i T x c i 0 ,   i = 1 4 ,
where a i T ϵ R 2 and c i ϵ R are constant, φ i ( . ) equals 0 is a subspace of state vector region, Φ . These constraints can be integrated into a matrix format as:
A x c
where:
A = [ a 1 T a 2 T a q T ] ,   c = [ c 1 c 2 c q ]
The border of the safety perimeter is Φ ( x p ) = ( x p | A x p = c ) . Then:
A x p = c
The lowest space between the current state x and a boundary segment number i ( δ i ( t ) ) is determined by Equation (23).
δ i ( t ) = c i a i T x ( t ) | | a i | | 2 2 {   0 , i f   φ i ( x ) < 0 < 0 , i f   φ i ( x ) > 0
The border distance vector for:
d ( t ) = [ δ 1 ( t ) ,   δ 2 ( t ) , . , δ q ( t ) ] T can be determined using Equation (24).
d ( t ) = D i a ( c A x ( t ) ) = d c D a x ( t )
where D a = [ 1 | | a 1 | | 2 2 0 0 1 | | a q | | 2 2 ] is a diagonal matrix,
d c = D a c ,   D a = D i a A , d ( . ) ϵ R q , c ϵ R q , d c ϵ R q ,   D a ϵ R q × n ,   a n d   D i a ϵ R q × q
Considering Φ is convex and the border constraints are linear, the safety area is a polytype and DSP, δ ( . ) is the lowest element in d ( . ) , such as:
δ ( t ) = m i n δ i ( t ) 1 i q
Consequently, the DSP and safety region, Φ of a PV system can be determined using the steps below:
i.
Determine the safety region of a 1STH-215-P PV module.
ii.
Calculate its boundary using Equations (17)–(19).
iii.
Calculate the overall safety region of the series and parallel configuration using Equations (15) and (16).
iv.
Enumerate the online DSP by working out the optimization problem (13), depending on constraints (19) by applying (20) and (22).
v.
Then record the observed MPP under normal conditions and update the safety region border of the third step to obtain control of the approximation in the first and second steps.
  • FRMO based on DSP.
The FRMO based on DSP is proposed to solve the PV power optimization problems under sudden changes in climatic conditions. The DSP is employed to overcome the limitations of the FRMO algorithm under PSC. This method will guarantee the tracking of GMPP with a rapid tracking and convergence speed. In fact, it is a very efficient, less expensive and computational burden. This algorithm can work with large and complex search spaces. Another motivation to use FRMO-DSP is that it explains how far the system is from safe mode. Another feature of the system is that the DSP allows for the maintenance of a present margin of safety throughout transient and steady-state safety-critical system operations. Furthermore, it can aid in improving the system’s performance under complex weather circumstances, increasing system reliability.
The FRMO begins the process by starting the particle’s movement over x a m o u n t of consecutive iterations. This is conducted by scanning the P-V curve of the PV system under all conditions. The first iteration explores the large section of the search space to obtain the best fitness value (GMPP) in the region. The radii of the circle are reduced on the second iteration to allow the algorithm to explore a small area of search space and obtain the best fitness value. On the third iteration, the radii of the circle are reduced further to acquire the best GMPP value in a small search space. The preceding center positions and values of R b e s t   and   G b e s t identify the position of the new center position. Once the new center position is determined, the best GMPP value is explored around the radii. Once the best fitness value is acquired, it is then compared with the best GMPP value and keeps on updating if an enhancement occurs. The procedure resumes for all iterations till the GMPP region is located, and particles drift towards the true GMPP. In the last iteration, the best region and centers are near each other. Equation (23) is proposed to track the best GMPP when the size of the solar irradiance variation is bigger than the minimum acceptable fluctuation. This is monitored through the PV output power fluctuations under PSC, and it is given by Δ P :
| Q ( x i + 1 ) Q ( x i ) Q ( x i ) | > Δ P
where Q ( x i ) defines the PV output power based on the i t h position x i in the search space. PSC occurs frequently; thus, it is stochastic. In this paper, the threshold Δ P is 3% of the PV power at MPP. The DSP monitors the PV output power by measuring the current and voltage from the FRMO algorithm. Then the DSP value is utilized to acquire the suitable signal to operate the gate of the DC/DC converter. The alterations of FRMO based on DSP are carried out in accordance with the steps below:
i.
Measure the current and voltage values of the FRMO algorithm and calculate the PV output power.
ii.
The instantaneous DSP value, δ ( . ) , is determined by the current state of the PV, x = [ V P V   P P V ] T based on the denoted safety region Φ .
iii.
The system is normal when the PV state x = [ V P V   P P V ] T ϵ Φ otherwise, PSC has occurred.
iv.
The output of FRMO is scaled based on the value of δ ( . ) when the PV state, x = [ V P V   P P V ] T Φ using Equation (24).
D u t y = D u t y F R M O [ 1 + s g ( t ) × δ ( t ) ]
Thus,
s g ( t ) = { 0 ,   i f   x   i s   i n   t h e   a r e a   o f   t h e   s a f e   o p e r a t i o n k ,   i f   x   i s   o u t   o f   t h e   a r e a   o f   s a f e   o p e r a t i o n
This can also be represented by Algorithm 1, which demonstrates the pseudo-code of the FRMO-DSP MPPT technique.
Where the duty denotes the duty cycle of the PWM to operate the MOSFET gate of the BOOST DC/DC converter of the PV system, where k ϵ [ 0 , 1 ] defines the alteration gain and δ ( t ) is the instantaneous DSP. Under PSC, the operating point drifts towards abnormal conditions. The DSP ensures the improvement of the FRMO to drift towards the GMPP identified in Φ .
Algorithm 1. Pseudo-code of FRMO-DSP.
Define the set of inequalities constraints in a form of Φ = { x | φ i ( x ) 0 ,   i = 1 , , 4 }
Input: the set of current (I) and voltage (V) historical dataset, d a t a H i s t o r y ;
Output: The prediction of PV output power,   p r e d i c t i o n ;
   1. n = d a t a s e t History;
   2. For   i = 0   t o   n 1 do
   3. x [ i ] i + 1
   4. y [ i ] = d a t a H i s t o r y   [ i ] ;
   5. M e a s u r e   t h e   v a l u e s   o f   I   a n d   V  
   6. D e t e r m i n e   t h e   o u t p u t   p o w e r   x = [ V P V P P V ] T
   7. i f   | Q ( x i + 1 ) Q ( x i ) Q ( x i ) | < 3 % , terminate; otherwise;
   8. Scale   the   D u t y = D u t y F R M O [ 1 + s g ( t ) × δ ( t ) ] such that
   9. x = [ V P V P P V ] T ϵ Φ
   10. Terminate if
   11. Terminate for
   12. Update y
   13. End while
   14. Return the current equation;

4.2. Proposed Novel Inverter Control Loop System (ICLS) with a DSOGI-PLL

The inverter control loop system has a double loop power flow algorithm. The proposed system consists of the inner current and outer voltage control loops. The three-phase AC currents and voltages are sensed and transformed into DC components through direct, quadrature transformation. The transformation procedure consists of two stages: namely, three-phase A B C frame to α β transformation using Clarke’s transformation and from α β frame to the d q components using Park’s transformation. These transformations are used to make computation much easier. The three-phase inverter output voltage can be expressed using Equations (25)–(27).
V i a = V a m p sin ( ω t )
V i b = V a m p sin ( ω t 2 Π 3 )
V i c = V a m p sin ( ω t + 2 Π 3 )
where V a m p represents the voltage amplitude, ω denotes angular frequency, and V i a ,   V i b , V i c depicts the three-phase inverter voltages. The single-phase formula can be derived as:
V i = V L + V R + V g
V i = L d i d t + I R + V g
V g = V i L d i d t I R
The matrix formula for the three-phase stationary frame is expressed using Equation (31).
[ V g a V g b V g c ] = [ V i a L d i a d t R i a V i b L d i b d t R i b V i c L d i c d t R i c ]
Then, the three-phase stationary frame ( a b c ) is transformed into two stationary frames ( α β ).
[ V g α V g β ] = 2 3 [ 1 1 2 1 2 0 3 2 3 2 ] [ V g a V g b V g c ]
[ V g α V g β ] = 2 3 [ 1 1 2 1 2 0 3 2 3 2 ] [ V i a L d i a d t R i a V i b L d i b d t R i b V i c L d i c d t R i c ]
[ V g α V g β ] = [ V i α L d i α d t R i α V i β L d i β d t R i β ]
Then, the αβ is converted to the synchronous d q component.
[ V g d V g q ] = [ c o s ω t s i n ω t s i n ω t c o s ω t ] [ V g α V g β ]
[ V g d V g q ] = [ c o s ω t s i n ω t s i n ω t c o s ω t ] [ V i α L d i α d t R i α V i β L d i β d t R i β ]
[ V g d V g q ] = [ V i d V i q ] R [ i d i q ] L [ c o s ω t s i n ω t s i n ω t c o s ω t ] [ d i α d t d i β d t ]
The resistance can be practically ignored.
[ c o s ω t s i n ω t s i n ω t c o s ω t ] [ d i α d t d i β d t ] = d d t [ i d i q ] + w [ i d i q ]
The electrical dynamics of the inverter in the d q synchronous frame are expressed as:
[ V g d V g q ] = [ V i d V i q ] R [ i d i q ] L   d d t [ i d i q ] + w L [ i d i q ] + R [ i d i q ]          
[ V i d V i q ] = [ V g d V g q ] + L   d d t [ i d i q ] + w L [ i d i q ] + R [ i d i q ]
The difference between Equations (39) and (40) is represented by Equation (41), where the resistance is practically neglected.
d d t [ i d i q ] = 1 L [ V i d V g d V i q V g q ] w [ i d i q ]
Equation (41) explains that the d q axis is reliant on each other. The reason being the d a x i s flux produces the q a x i s back EMF in electrical machinery. Then, the PI controller is utilized to control the currents i d   a n d   i q . The inverter reference voltage can be determined using Equation (42).
[ V i d _ r e f V i q _ r e f ] = [ V g d V g q ] + [ ( K p + k i s ) ( i d r e f i d ) ( K p + k i s ) ( i q r e f i q ) ] + w [ i d i q ]
The inverter reference voltage is then transformed back to three-phase AC reference voltages to generate a signal for the PWM. The PWM will then send an optimum control signal to drive the IGBT’s gate of the inverter. This is achieved by adjusting the firing angles of the inverter and injecting the three-phase anti-harmonics current/voltages into the grid for power quality enhancement.
A double second-order generalized integrator phase-locked loop (DSOGI-PLL) is used for grid synchronization and rapid and precise approximation of the frequency/phase. To be more precise, the role of the DSOGI-PLL is to approximate the angle gaging the instantaneous voltage waveform. It uses the second-order generalized integrator-based filter. It is defined by the second-order transfer functions.
G 1 ( s ) = E E = k ω r s 2 + k ω s + ω 2
G 1 ( s ) = E E = k ω r s 2 + k ω s + ω 2
where ω denotes grid voltage angular frequency and k is the damping factor. The smaller the k , the better harmonic reduction. The phase estimation can be determined by using tan 1 utilizing Equations (43) and (44) by introducing the shift signal by 90 ° .
The final step is to execute the PWM subroutine once the grid angle is obtained by the DSOGI-PLL. The PWM subroutine is utilized to determine the modulation index ( m ) and the time interval t 1 , t 2 , t 0 . This is calculated using Equations (45)–(48).
m = V r e f V d c 2
t 1 = 3 T s   m   sin ( π 3 θ ) 2
t 2 = 3 T s   m   sin ( θ ) 2
t 0 = T s t 1 t 2
where V r e f is denoted as the fundamental amplitude, V d c as the DC-bus voltage, T s as the sampling time and s as the grid voltage phase angle obtained by the DSOGI-PLL. The PWM procedure regulates the sector from the DSOGI-PLL angle by differentiating the extracted grid phase angle with the angle of each zone, as shown in Figure 6. Table 1 shows the duty ratio of the three inverter switches in six different zones.

5. System Setup

Three case studies were undertaken to assure the genuine performance of the proposed system utilizing MATLAB SIMULINK and Fast Fourier analysis (FFT) to test, evaluate and validate the performance of the proposed FRMO based on the DSP algorithm and ICLS with DSOGI-PLL, as shown in Table 2. Figure 7 depicts the proposed system’s implementations. The specs of the Soltech 1STH-215-P PV panel, Boost DC/DC converter, three-phase inverter and LC filter are shown in Table 3.
Case study 1 demonstrates the step change in solar irradiance from G 1 = 1000   W / m 2 to G 2 = 850   W / m 2 , G 3 = 900   W / m 2 and G 4 = 920   W / m 2 and module varies from temperature T 1 = 25   ° C ,   T 2 = 31   ° C ,   T 3 = 27   ° C ,   and   T 4 = 19   ° C to study the performance of the proposed MPPT technique under PSC. The DC link inductor was kept at 100   mH for faster dynamic response and to provide stable DC current within specified limits for the inverter. The proposed ICLS with DSOGI-PLL’s performance is studied with a linear load of 100 W to measure the grid’s total harmonic distortion (THD). The Fast Fourier analysis (FFT) is used to measure the THD level following the IEEE 519 standard [23,24]. Ultimately the system power factor is determined using Equation (3) in accordance with the IEEE standard 1459 [25,26]. The proposed inverter control strategy is compared with the recent Newton Raphson iterative technique (NRIT) from the literature for power quality analysis.
Case study 2 shows the PSC pattern 2, where the solar irradiance levels are varied from G 1 = 1000   W / m 2 , G 2 = 690   W / m 2 , G 3 = 835   W / m 2 , and G 4 = 740   W / m 2 and the module temperature changes from T 1 = 25   ° C ,   T 2 = 27   ° C ,   T 3 = 21   ° C ,   and   T 4 = 30   ° C to validate the performance of the proposed FRMO-DSP under PSC. The DC link inductor is reduced to 80 mH , and a nonlinear load (changing from 100 W to 150 W at t = 0.3 0.6   s ) is connected to the system to gauge the THD level of the proposed ICLS with DSOGI-PLL with reference to the IEEE 519 standard using FFT. The system power factor is also measured with reference to the IEEE 1459 international standard for power quality analysis.
Finally, case study 3 shows the worst PSC pattern where the solar panel receives the changing solar insolation of G 1 = 950   W / m 2 , G 2 = 750   W / m 2 , G 3 = 670   W / m 2 and G 4 = 800   W / m 2 and the module temperature varies from T 1 = 25   ° C   to   T 2 = 22   ° C ,   T 3 = 32   ° C   and   T 4 = 17   ° C . The DC link inductor is reduced to 50 mH and the nonlinear load is connected to validate the performance of the proposed MPPT and inverter control strategy for power quality enhancement using the FFT toolbox.

6. Results and Discussion

The investigated three-phase two-stage grid integrated PV system was simulated using MATLAB SIMULINK and the FFT toolbox to determine the THD level. The effectiveness of the proposed MPPT and inverter control system algorithms were evaluated in terms of three case studies, which are tabulated in Table 4 and Table 5. A comprehensive study was carried out to compare the proposed inverter control strategy with the recent Newton Raphson iterative technique under different weather conditions, linear load and variable load.

6.1. Case Study 1

In case study 1, the proposed FRMO based on the DSP MPPT method successfully tracked the PV power of 212.89 W with an efficiency of 99.88% and energy losses of 0.12%. The proposed MPPT algorithm obtained the PV current of 7.37 A and the optimal DC link voltage of 28.9 V, respectively. The proposed MPPT technique managed to produce a stable optimal DC link voltage to the input side of the inverter. The switching frequency of the Boost DC-DC converter was kept at 10 kHz. The proposed technique proved to be a fast-tracking algorithm by being able to locate a true GMPP in 0.02 s after the PSC occurred. The GMPP was located at the utmost right side of the P-V curve scan. The tracking of the GMPP process started for the FRMO-DSP algorithm by initializing the multi-particles in the predetermined search space for the duty cycle, and then by running the technique, the duty ratio was revised. The duty ratio stabilized at D = 0.55   at   GMPP . The graphical results of the PV power, PV current and DC link voltage are demonstrated in Figure 8. The proposed approach produced reduced oscillation during the tracking process in the simulation results.
The proposed ICLS based on the DSOGI-PLL algorithm’s performance is evaluated under PSC and a linear load. Figure 9 and Figure 10 depict the grid voltages, current and %THD content for the ICLS based on DSOGI-PLL during linear load. The proposed scheme recorded a THD of 0.46%, which is well within the IEEE 519 standard. With the large DC link inductor of 100   mH , minimal PV power ripple was experienced. The settling time of the proposed scheme is 0.18 s after GMPP is tracked. The system power factor of 0.999 (close to unity) is recorded due to the low THD level, which is well within the IEEE 1459 international standard for power quality analysis.
When studying the grid THD analysis, the third- and fifth-order harmonics are the dominant harmonics in the grid current waveform spectrum. Hence, the proposed inverter control was designed and tuned to reduce the harmonics at these frequencies.
Figure 11 and Figure 12 demonstrate the grid voltages, current and %THD level of the NRIT during linear load. The technique recorded a bit high THD of 5.86%, which exceeds the limits of the IEEE 519 standard. The settling time of the NRIT is 0.32 s after the GMPP is tracked. The harmonics content is much higher when compared to the proposed ICLS based on the DSOGI scheme. The NRIT has a system power factor of 0.999, which is slightly lower than the proposed scheme. It is validated that the proposed inverter control strategy has better stability and enhanced power quality than the NRIT. Figure 13 and Figure 14 show grid voltages, current and THD levels without using the harmonic compensator strategy. The high harmonics and distorted waveforms are experienced, as shown in Figure 14. The THD level of 41.57% is recorded, which is not in compliance with the IEEE 519 standard. This highlights the importance of employing the inverter control scheme to mitigate harmonics and power quality improvement.

6.2. Case Study 2

To validate and prove the stability of the proposed FRMO-DSP MPPT algorithm for PV power optimization under climatic change, a rapid change in solar irradiance and module temperature has been introduced in case study 2. Furthermore, the DC link inductor was reduced and the load variation was established. The proposed algorithm effectively tracked the GMPP of 208.93 W in only 0.12 s. It recorded a PV efficiency of 98.02% and energy losses of 1.98%, as shown in Table 4. The proposed MPPT technique obtained the PV current of 7.357 A and the optimal DC link voltage of 28.4 V, respectively. The proposed FRMO-DSP MPPT algorithm managed to produce a stable optimum DC link voltage to the input side of the inverter. The optimal duty ratio was set around D = 0.56 . It is observed from Figure 15 that the proposed method managed to distinguish between the LMPP and a true GMPP. The technique has a fast convergence, settling time and fewer oscillations around MPP. From the simulation results, it is observed that the proposed FRMO-DSP MPPT technique will work executively under PSC and solve PV power optimization problems because of its dynamic rapid response, tracking speed, convergence and certainty.
Figure 16 and Figure 17 depict the grid voltages, current and %THD level of the proposed ICLS based on DSOGI-PLL during variable load and reduced DC link inductor of 80   mH . The proposed strategy obtained a THD of 1.18% under dynamic load change, which complies with the IEEE 519 standard, as shown in Table 5.
The proposed algorithm recorded an impressive system power factor of 0.999, which complies with the IEEE 1459 standard. However, when the DC link inductor was reduced, the settling time increased to 0.25 s after the GMPP was tracked. The THD content of the algorithm was found satisfactory compared with the NRIT. Its superior performance ensures better stability and improved power quality.
Figure 18 and Figure 19 demonstrate the grid voltages, current and %THD level of the NRIT during load variation and reduced DC link inductor. The algorithm recorded a high THD of 9.66%, which exceeds the limits of the IEEE 519 standard. The settling time of the NRIT is 0.47 s after the GMPP is tracked. The harmonics content is much higher when compared to the proposed ICLS based on the DSOGI scheme. The NRIT has a system power factor of 0.995, which is slightly lower than the proposed scheme. It is proved that the proposed inverter control strategy has better stability and improved power quality than the NRIT.

6.3. Case Study 3

To substantiate the performance of the proposed MPPT technique, the partial shading conditions were changed by varying the solar insolation and module temperature in case study 3. The proposed technique successfully extracted the GMPP of 207.9 W with a dynamic tracking speed of 0.15 s. It delivered the desired DC link voltage of 29.1 V to the input side of the inverter and recorded the PV current of 7.1 A. With the multiple power peaks phenomenon observed, the proposed algorithm recorded the PV efficiency of 97.54% and the energy losses of 2.46% under extremely fast-changing environmental conditions. The PV system power was optimized at around D = 0.63 .
As shown in Figure 20, the proposed system has the capability of locating the true GMPP instead of being trapped at LMPP. With its excellent performance verified, the proposed MPPT algorithm guarantees high efficiency under any type of PSC. It is verified that adding the DSP technique ensures that the system operates within a safe boundary all the time, even during transient behavior. The true GMPP is always guaranteed with the deployment of the DSP on FRMO.
Figure 21 and Figure 22 demonstrate the grid voltages, current and %THD level of the proposed ICLS based on DSOGI-PLL during variable load and reduced DC link inductor of 50 mH. The proposed strategy obtained a THD of 1.83% under dynamic load change, which complies with the IEEE 519 standard. The proposed algorithm recorded an impressive system power factor of 0.997, which complies with the IEEE 1459 standard. However, when the DC link inductor was reduced, the settling time increased to 0.27 s after the GMPP was tracked. The THD content of the algorithm was satisfactory compared with the NRIT. Its superior performance ensures better stability and enhanced power quality.
Figure 23 and Figure 24 demonstrate the grid voltages, current and %THD level of the NRIT during load variation and reduced DC link inductor. The algorithm recorded a high THD of 14.42%, which exceeds the limits of the IEEE 519 standard. The settling time of the NRIT was 0.51 s after the GMPP was tracked. The harmonics content was larger when compared to the proposed ICLS based on the DSOGI scheme, as shown in Figure 24. The method also suffers from phase imbalance because of low DC link inductor and nonlinear load. The NRIT has a system power factor of 0.979, which is slightly lower than the proposed scheme. It is proved that the proposed inverter control strategy has better stability and improved power quality than the NRIT.

6.4. Summary

The proposed ICLS-DSOGI-PLL has various advantages, including improved harmonic suppression capabilities, adaptive control, reduced computing burden and phase and grid synchronization. Grid-tied inverters must generate a consistent, sinusoidal AC waveform that matches grid voltage and frequency according to utility requirements when driving electricity to the grid. Poor synchronization can cause load imbalances, damage to linked equipment, grid instability and even power outages on the grid. In this case, DSOGI-PLL was used to speed up grid synchronization. It identifies phase errors by producing an orthogonal signal and using the Park Transformation. With this method, the orthogonal signal generator is tuned to reject all frequencies and save the grid frequency. Other variants of this technique may identify phase and frequency with high accuracy, even in the presence of low-order harmonics near the grid fundamental frequency. The proposed method was compared with NRIT-PLL, as demonstrated in Table 6. The proposed ICLS-DSOGI-PLL had a high grid synchronization speed and settling time of 0.05 s and 0.06 s, respectively. It recorded an impressive frequency and phase overshoot of 5% and 8° distinctly. Finally, the proposed system recorded steady-state convergence and an average system total demand distortion (TDD) of 1.16% in the worst-case scenario (case study 3). With the impressive results, it is noteworthy to mention that the good power quality will bring stability and reliability to the grid-tied PV system. The proposed system fulfills the grid code requirement in terms of THD and TDD. Furthermore, it has the best adaptive control capabilities as it can compensate for the variations caused by faults, voltage sag and swell and rapid changes in grid demand. The NRIT-PLL demonstrated a slow settling time and grid synchronization speed of 0.17 s and 5 s, respectively. Furthermore, the frequency and phase overshoot were larger than the proposed system, as indicated in Table 6. It recorded a TDD of 9.98% and does not comply with the IEEE 519 standard and grid requirements.
The proposed inverter control strategy is compared with the recent NRIT from the literature using practical PV panel parameters embedded in the Simulink file. Hence, the simulation results are satisfactory. Table 7 is utilized for comparison between the proposed method and NRIT using different characteristics. It is validated that the proposed scheme overperformed the NRIT as it complies with the IEEE 519 standard limits under linear and nonlinear load. The proposed method has advantages, such as high performance, low cost, easily tuned compensator, double loop harmonic mitigation, very accurate and less settling time. However, extensive care must be taken when selecting the DC link inductor value at a very low modulation index. The NRIT is struggling to mitigate the THD level and exceeds the IEEE 519 standard under nonlinear load. The method has advantages such as less complexity and good amplitude tracking. However, it has more advantages such as large harmonics and oscillations, voltage spikes and imbalance and a high settling time.

7. Conclusions

An intelligent FRMO based on the DSP MPPT algorithm was developed to harvest maximum power out of a PV system under fast-changing climatic conditions and maintain stable DC bus voltage. The DSP is utilized to validate the PV system operations under either normal or abnormal conditions (shading) by determining the safe operating region. From the simulation test results, the proposed FRMO based on DSP can track the GMPP with a rapid tracking speed. The method has a fast response and convergence time under any type of PSC. The proposed MPPT algorithm recorded a rapid 0.2 s and 0.13 s tracking time at light PSC and worst PSC, respectively. It has eliminated the power oscillations around the MPP and guaranteed very high PV efficiency and optimum DC link voltage to the input side of the inverter. The proposed MPPT algorithm has advantages such as GMPP tracking capabilities, fast convergence time, rapid tracking and settling speed and fewer oscillations around MPP. With the magnificent performance of the proposed algorithm, it can solve the PV system optimization problems under PSC.
Furthermore, the ICLS based on DSOGI-PLL is proposed for harmonics mitigation and power quality enhancement. The proposed control strategy is compared with the recent NRIT from the literature for performance validation under different case studies. The proposed control strategy judiciously compensated the grid harmonics by adaptively assessing the fundamental amplitude and frequency under linear and nonlinear load. The performance of the proposed system has been found satisfactory as it is adapted to the IEEE 519 standards limits. The simulation results exhibited the excellent performance of the proposed inverter control over NRIT in terms of stability and power quality. The proposed system recorded a TDD of 1.16%, which fulfills the grid requirements. Furthermore, it has the best adaptive control capabilities as it can compensate for the variations caused by faults, voltage sag and swell and rapid changes in grid demand. It is worth mentioning that the proposed inverter control scheme has benefits such as better harmonic suppression capability, control adaptivity, robustness, system stability and reliability, phase and grid synchronization speed and good quality of power.
The proposed algorithms are highly recommended in real PV system execution due to their precision, dynamic response time, ability to track GMPP under PSC, and, more importantly, power stability, reliability and quality improvement.
As with most research, not all research-affiliated aspects can be discussed in a single study. In the future, other optimization algorithms such as lion optimizer algorithm (LOA), jellyfish swarm optimization (JSO), coyote optimization algorithm (COA) and spider monkey optimization (SMO) should be considered as they can solve sophisticated problems. This future work can also investigate the performance of the trending state-of-art methods such as generative adversarial networks (GAN), self-organizing maps (SOM) and autoencoders.

Author Contributions

Conceptualization, M.S.N.; methodology, M.S.N.; software, M.S.N.; validation, M.S.N.; formal analysis, M.S.N.; investigation, M.S.N.; resources, M.S.N., A.N.H. and A.A.; data curation, M.S.N.; writing—original draft preparation, M.S.N.; writing—review and editing, M.S.N., A.N.H., A.A. and T.S.; visualization, M.S.N.; supervision, A.N.H., A.A. and T.S. All authors have read and agreed to the published version of the manuscript.

Funding

The authors would like to acknowledge the University of Johannesburg for funding of this research.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data is not available on any public platform.

Acknowledgments

The authors extend their thanks and appreciation to the Guest Editor for the invitation to submit this work to the Special Issue on “Artificial Intelligence Techniques and the Smart Grid” and to the Associate Editor and anonymous reviewers whose constructive comments and suggestions helped to considerably improve the quality of this paper during the review process.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kermadi, M.; Salam, Z.; Eltamaly, A.M.; Ahmed, J.; Mekhilef, S.; Larbes, C.; Berkouk, M. Recent Developments of MPPT Techniques for PV Systems under Partial Shading Conditions: A Critical Review and Performance Evaluation; IET: London, UK, 2020. [Google Scholar]
  2. Da Rocha, M.V.; Sampaio, L.P.; Da Silva, S.A.O. Comparative analysis of MPPT algorithms based on Bat algorithm for PV systems under partial shading condition. Sustain. Energy Technol. Assess. 2020, 40, 100761. [Google Scholar] [CrossRef]
  3. Gil-Velasco, A.; Aguilar-Castillo, C. A Modification of the Perturb and Observe Method to Improve the Energy Harvesting of PV Systems under Partial Shading Conditions. Energies 2021, 14, 2521. [Google Scholar] [CrossRef]
  4. Eltamaly, A. An Improved Cuckoo Search Algorithm for Maximum Power Point Tracking of Photovoltaic Systems under Partial Shading Conditions. Energies 2021, 14, 953. [Google Scholar] [CrossRef]
  5. Kermadi, M.; Salam, Z.; Ahmed, J.; Berkouk, E.M. An Effective Hybrid Maximum Power Point Tracker of Photovoltaic Arrays for Complex Partial Shading Conditions. IEEE Trans. Ind. Electron. 2019, 66, 9. [Google Scholar] [CrossRef]
  6. Bhukya, M.N.; Kota, V.R.; Depuru, S.R.; Reddy, M.P.P.; Reddy, G.H. Effective Design and Implementation of Hybrid MPPT Scheme Based on LT-NI Technique for PV System. IEEE Access 2021, 9, 3064936. [Google Scholar] [CrossRef]
  7. Padmanaban, S.; Dhanamjayulu, C.; Khan, B. Artificial Neural Network and Newton Raphson (ANN-NR) Algorithm Based Selective Harmonic Elimination in Cascaded Multilevel Inverter for PV Applications. IEEE Access 2021, 9, 3081460. [Google Scholar] [CrossRef]
  8. Babu, N.P.; Guerrero, J.M.; Siano, P.; Peesapati, R.; Panda, G. A Novel Modified Control Scheme in Grid-tied Photovoltaic System for Power Quality Enhancement. IEEE Trans. Ind. Electron. 2020, 68, 11100–11110. [Google Scholar]
  9. Kumar, V.N.; Babu, P.N.; Kiranmayi, R.; Siano, P.; Panda, G. Improved Power Quality in a Solar PV Plant Integrated Utility Grid by Employing a Novel Adaptive Current Regulator. IEEE Syst. J. 2020, 14, 3. [Google Scholar] [CrossRef]
  10. Mikkili, S.; Panda, A. Real-time implementation of PI and fuzzy logic controllers-based shunt active filter control strategies for power quality improvement. Int. J. Elect. Power Energy Syst. 2012, 43, 1114–1126. [Google Scholar] [CrossRef]
  11. Singh, A.; Negi, S.; Bhandari, S. Harmonic Minimization Using Newton Raphson Method. J. Emerg. Technol. Innov. Res. 2019, 6, 7. [Google Scholar]
  12. Radmanesh, H.; Dehghani, S.Y.; Sharifi, R. Using Bat Algorithm to Reduce Total Harmonic Distortion in Multi-Level Inverter. 2018, 1, 53-45. Available online: http://kiaeee.ir/article-1-141-fa.html (accessed on 24 June 2022).
  13. Jadidi, S.; Badihi, H.; Zhang, Y. Passive Fault-Tolerant Control Strategies for Power Converter in a Hybrid Microgrid. Energies 2020, 13, 5625. [Google Scholar] [CrossRef]
  14. Babu, P.N.; Babu, B.C.; Babu, P.R.; Panda, G. An optimal current control scheme in grid-tied hybrid energy system with active power filter for harmonic mitigation. Int. Trans. Elect. Energy Sys. 2020, 30, e12183. [Google Scholar]
  15. Rehan, A.; Bernhard, B.; Stefan, D.; Lukas, S.; Pratyush, K. Optimal power management with guaranteed minimum energy utilization for solar energy harvesting systems. ACM Trans. Embed. Comput. Syst. 2019, 18, 1–26. [Google Scholar]
  16. Bi, Z.; Ma, J.; Man, K.L.; Smith, J.S.; Yue, Y.; Wen, H. Global MPPT method for photovoltaic systems operating under partial shading conditions using the 0.8VOC model. In Proceedings of the 2019 IEEE International Conference on Environment and Electrical Engineering and 2019 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Genova, Italy, 11–14 June 2019; pp. 1–6. [Google Scholar]
  17. Pradhan, S.; Hussain, I.; Singh, B.; Panigrahi, B.K. Modified VSSLMS-based adaptive control for improving the performance of a single stage PV integrated grid system. IET Sci. Meas. Technol. 2017, 11, 388–399. [Google Scholar] [CrossRef]
  18. Babu, P.N.; Babu, P.R.; Panda, G. An adaptive differentiation frequency based advanced reference current generator in grid-tied PV applications. IEEE J. Emerg. Sel. Topics Power Electron. 2020, 8, 3502–3515. [Google Scholar] [CrossRef]
  19. Ramyar, A.; Iman-Eini, H.; Farhangi, S. Global maximum power point tracking method for photovoltaic arrays under partial shading conditions. IEEE Trans. Ind. Electron. 2017, 64, 2855–2864. [Google Scholar] [CrossRef]
  20. Eltamaly, A.; Al-Saud, M.; Abokhalil, A.G.; Farh, H.M. Simulation and experimental validation of fast adaptive particle swarm optimization strategy for photovoltaic global peak tracker under dynamic partial shading. Renew. Sustain. Energy Rev. 2020, 124, 109719. [Google Scholar] [CrossRef]
  21. Tajuddin, M.F.N.; Ayob, S.M.; Salam, Z. Tracking of Maximum Power Point in Partial Shading Conditions using Differential Evolution (DE). In Proceedings of the 2012 IEEE International Conference on Power and Energy (PECon), Kota Kinabalu, Malaysia, 2–5 December 2012. [Google Scholar]
  22. Abdel-Geliel, M. Fault Diagnosis and Performance Recovery Based on Dynamic Safety Margin. Ph.D. Dissertation, Mannheim University, Mannheim, Germany, 2006. [Google Scholar]
  23. Mishra, S.; Ray, P.K. Power quality improvement using photovoltaic fed DSTATCOM based on JAYA optimization. IEEE Trans. Sustain. Energy 2016, 7, 1672–1680. [Google Scholar] [CrossRef]
  24. Golestan, S.; Guerrero, J.M.; Vasquez, J.; Abusorrah, A.M.; Al-Turki, Y.A. A study on three-phase FLLs. IEEE Trans. Power Electron. 2019, 34, 213–224. [Google Scholar] [CrossRef] [Green Version]
  25. Guest, E.; Mijatovic, N. Discrete-time complex band pass filters for three-phase converter systems. IEEE Trans. Ind. Electron. 2019, 66, 4650–4660. [Google Scholar] [CrossRef]
  26. Golestan, S.; Guerrero, J.M.; Vasquez, J.C. Is using a complex control gain in three-phase FLLs reasonable? IEEE Trans. Ind. Electron. 2020, 67, 2480–2484. [Google Scholar] [CrossRef]
Figure 1. The proposed grid-integrated PV system power stage schematic with the MPPT and inverter control loop system and DSOGI-PLL algorithms.
Figure 1. The proposed grid-integrated PV system power stage schematic with the MPPT and inverter control loop system and DSOGI-PLL algorithms.
Energies 15 05645 g001
Figure 2. Exploration of particles in search space along the radii.
Figure 2. Exploration of particles in search space along the radii.
Energies 15 05645 g002
Figure 3. Center point updating process in two consecutive iterations.
Figure 3. Center point updating process in two consecutive iterations.
Energies 15 05645 g003
Figure 4. DSP definition.
Figure 4. DSP definition.
Energies 15 05645 g004
Figure 5. P-V curve under fast-changing climatic conditions for 1STH-215-P.
Figure 5. P-V curve under fast-changing climatic conditions for 1STH-215-P.
Energies 15 05645 g005
Figure 6. Flow chart of PWM subroutine.
Figure 6. Flow chart of PWM subroutine.
Energies 15 05645 g006
Figure 7. The MATLAB SIMULINK implementation of the proposed system.
Figure 7. The MATLAB SIMULINK implementation of the proposed system.
Energies 15 05645 g007
Figure 8. PSC pattern 1 FRMO-DSP MPPT results (case study 1).
Figure 8. PSC pattern 1 FRMO-DSP MPPT results (case study 1).
Energies 15 05645 g008
Figure 9. Case study 1 three-phase grid voltages and current with ICLS-DSOGI-PLL.
Figure 9. Case study 1 three-phase grid voltages and current with ICLS-DSOGI-PLL.
Energies 15 05645 g009
Figure 10. The THD case study 1 performance results with ICLS-DSOGI-PLL.
Figure 10. The THD case study 1 performance results with ICLS-DSOGI-PLL.
Energies 15 05645 g010
Figure 11. Case study 1 three-phase grid voltages and current with NRIT.
Figure 11. Case study 1 three-phase grid voltages and current with NRIT.
Energies 15 05645 g011
Figure 12. The THD case study 1 performance results with NRIT.
Figure 12. The THD case study 1 performance results with NRIT.
Energies 15 05645 g012
Figure 13. The THD performance results without compensation.
Figure 13. The THD performance results without compensation.
Energies 15 05645 g013
Figure 14. Three-phase grid voltages and current without compensation.
Figure 14. Three-phase grid voltages and current without compensation.
Energies 15 05645 g014
Figure 15. PSC pattern 2 FRMO-DSP MPPT results (case study 2).
Figure 15. PSC pattern 2 FRMO-DSP MPPT results (case study 2).
Energies 15 05645 g015
Figure 16. Case study 2 Three-phase grid voltages and current with ICLS-DSOGI-PLL.
Figure 16. Case study 2 Three-phase grid voltages and current with ICLS-DSOGI-PLL.
Energies 15 05645 g016
Figure 17. The THD case study 2 performance results with ICLS-DSOGI-PLL.
Figure 17. The THD case study 2 performance results with ICLS-DSOGI-PLL.
Energies 15 05645 g017
Figure 18. Case study 2 three-phase grid voltages and current with NRIT.
Figure 18. Case study 2 three-phase grid voltages and current with NRIT.
Energies 15 05645 g018
Figure 19. The THD case study 2 performance results with NRIT.
Figure 19. The THD case study 2 performance results with NRIT.
Energies 15 05645 g019
Figure 20. PSC pattern 3 FRMO-DSP MPPT results (case study 3).
Figure 20. PSC pattern 3 FRMO-DSP MPPT results (case study 3).
Energies 15 05645 g020
Figure 21. Case study 3 Three-phase grid voltages and current with ICLS-DSOGI-PLL.
Figure 21. Case study 3 Three-phase grid voltages and current with ICLS-DSOGI-PLL.
Energies 15 05645 g021
Figure 22. The THD case study 3 performance results with ICLS-DSOGI-PLL.
Figure 22. The THD case study 3 performance results with ICLS-DSOGI-PLL.
Energies 15 05645 g022
Figure 23. Three-phase grid voltages and current with NRIT.
Figure 23. Three-phase grid voltages and current with NRIT.
Energies 15 05645 g023
Figure 24. The THD case study 3 performance results with NRIT.
Figure 24. The THD case study 3 performance results with NRIT.
Energies 15 05645 g024
Table 1. Duty ratio in zones.
Table 1. Duty ratio in zones.
ZoneSW 1SW 2SW 3
1 t r + t l + t o 2 t l + t o 2 t o 2
2 t r + t o 2 t r + t l + t o 2 t o 2
3 t o 2 t r + t l + t o 2 t l + t o 2
4 t o 2 t r + t o 2 t r + t l + t o 2
5 t l + t o 2 t o 2 t r + t l + t o 2
6 t r + t l + t o 2 t o 2 t r + t o 2
Table 2. Specification of the proposed system.
Table 2. Specification of the proposed system.
PV Model1STH-215-P
PV rated Power213.15 W
Vmpp29 V
Impp7.35 A
Number of cells in series (Ns)60
Series resistance (Rs)0.39383 Ω
Shunt resistance (Rsh)313.3991 Ω
L1 (DC link inductor)100 mH
C1100 µF
C2100 µF
Ro20 Ω
C3 (DC Link Capacitor) 1100   μ F
DC link Voltage24–38 VDC
LC Filter L = 4.8   mH ; C = 4.3   μ F
Controller sampling frequency20 kHz
Inverter input VDC24–40 Vdc
Inverter Output VAC380 Vac (±5%)—3 phase
Grid nominal voltage 380 Vac
Grid nominal current25 A
Grid local power0.2 kW
Grid nominal Frequency50 Hz
Table 3. Case studies conducted.
Table 3. Case studies conducted.
Weather Conditions Irradiance   ( W / m 2 ) Temperature (°C)DC-Link InductorLoad
Case Study 1G1 = 1000T1 = 25L = 100 mH100 W
G2 = 850T2 = 31
G3 = 900T3 = 27
G4 = 920T4 = 19
Case Study 2G1 = 1000T1 = 25L = 80 mH100 W to 150 W
G2 = 690T2 = 27
G3 = 835T3 = 21
G4 = 740T4 = 30
Case Study 3G1 = 950T1 = 25L = 50 mH100 W to 180 W
G2 = 750T2 = 22
G3 = 670T3 = 32
G4 = 800T4 = 17
Table 4. Case studies tabulated results for the MPPT algorithm.
Table 4. Case studies tabulated results for the MPPT algorithm.
FRMO-DSP MPPT
Case StudyDC Link Voltage (V)PV Power (W)Tracking Time (s)PV Efficiency (%)
128.9212.890.0299.88
228.4208.930.1298.02
329.1207.90.1397.54
Table 5. Case study results for the proposed inverter control algorithm.
Table 5. Case study results for the proposed inverter control algorithm.
ICLS Based on DSOGI-PLLNRIT
Case StudyTHD (%)System PFSettling Time (s)THD (%)System PFSettling Time (s)
10.46%0.9990.185.86%0.9980.32
21.18%0.9990.259.66%0.9950.47
31.83%0.9970.2714.42%0.9790.51
Table 6. Comparison of NRIT-PLL and proposed ICLS-DSOGI-PLL.
Table 6. Comparison of NRIT-PLL and proposed ICLS-DSOGI-PLL.
ParametersNRIT-PLLProposed DSOGI-PLL
Settling time 0.17 s0.06 s
Frequency overshoot 36%5%
Phase overshoot30°
Grid synchronization speed5 s0.05 s
Steady-state convergence0.028 s0.011 s
Sampling time50 μs50 μs
Average system TDD of grid currents9.98%1.16%
Table 7. Comparison table between the proposed inverter control and recent NRIT from the literature.
Table 7. Comparison table between the proposed inverter control and recent NRIT from the literature.
CharacteristicsNRITICLS-DSOGI-PLL
Type of filterAdaptiveAdaptive
OscillationsModerateVery less
ComplexityMediumless
Amplitude trackingGoodExcellent
Grid SynchronizationYesYes
AccuracyModerateBetter
Frequency trackingGoodBetter
Settling timehighless
THD under linear loadModerateVery less
THD under nonlinear loadExceeds IEEE 519 limitsVery less
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Nkambule, M.S.; Hasan, A.N.; Ali, A.; Shongwe, T. A Novel Control Strategy in Grid-Integrated Photovoltaic System for Power Quality Enhancement. Energies 2022, 15, 5645. https://doi.org/10.3390/en15155645

AMA Style

Nkambule MS, Hasan AN, Ali A, Shongwe T. A Novel Control Strategy in Grid-Integrated Photovoltaic System for Power Quality Enhancement. Energies. 2022; 15(15):5645. https://doi.org/10.3390/en15155645

Chicago/Turabian Style

Nkambule, Mpho Sam, Ali N. Hasan, Ahmed Ali, and Thokozani Shongwe. 2022. "A Novel Control Strategy in Grid-Integrated Photovoltaic System for Power Quality Enhancement" Energies 15, no. 15: 5645. https://doi.org/10.3390/en15155645

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