Next Article in Journal
Performance Comparison and Optimization of 16V265H Diesel Engine Fueled with Biodiesel Based on Miller Cycle
Previous Article in Journal
Special Issue: “Emerging Technologies in Heating, Ventilation, Air Conditioning and Refrigeration (HVAC&R) Systems”
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Photovoltaic Fuzzy Logical Control MPPT Based on Adaptive Genetic Simulated Annealing Algorithm-Optimized BP Neural Network

Department of Electronic and Information Engineering, Liaoning University of Technology, Jinzhou 121001, China
*
Author to whom correspondence should be addressed.
Processes 2022, 10(7), 1411; https://doi.org/10.3390/pr10071411
Submission received: 5 July 2022 / Revised: 17 July 2022 / Accepted: 18 July 2022 / Published: 20 July 2022
(This article belongs to the Topic Sustainable Energy Technology)

Abstract

:
The P–U characteristic curve of the photovoltaic (PV) cell is a single peak curve with only one maximum power point (MPP). However, the fluctuation of the irradiance level and ambient temperature will cause the drift of MPP. In the maximum power point tracking (MPPT) algorithm of PV systems, BP neural network (BPNN) has an unstable learning rate and poor performance, while the genetic algorithm (GA) tends to fall into local optimum. Therefore, a novel PV fuzzy MPPT algorithm based on an adaptive genetic simulated annealing-optimized BP neural network (AGSA-BPNN-FLC) is proposed in this paper. First, the adaptive GA is adopted to generate the corresponding population and increase the population diversity. Second, the simulated annealing (SA) algorithm is applied to the parent and offspring with a higher fitness value to improve the convergence rate of GA, and the optimal weight threshold of BPNN are updated by GA and SA algorithm. Third, the optimized BPNN is employed to predict the MPP voltage of PV cells. Finally, the fuzzy logical control (FLC) is used to eliminate local power oscillation and improve the robustness of the PV system. The proposed algorithm is applied and compared with GA-BPNN, simulated annealing-genetic (SA-GA), particle swarm optimization (PSO), grey wolf optimization (GWO) and FLC algorithm under the condition that both the irradiance and temperature change. Simulation results indicate that the proposed MPPT algorithm is superior to the above-mentioned algorithms with efficiency, steady-state oscillation rate, tracking time and stability accuracy, and they have a good universality and robustness.

1. Introduction

Solar energy is one of the most popular types of renewable clean energy. The total annual installed capacity of PV panels has increased year by year [1]. However, the PV cell exhibits non-linear characteristics, and the extracted output power is significantly affected by irradiance (G) level and ambient temperature (T) [2]. Therefore, it has been become a research hotspot in the field of PV power generation to improve the efficiency of the PV power system by using corresponding MPPT algorithms [3].
A PV power system consists of a PV cell, power electronics converter and MPPT controller. Currently, the MPPT algorithm for PV systems includes constant voltage tracking (CVT) [4], perturbation and observation (P&O) [5] and an incremental conductance (INC) algorithm [6]. However, the conventional MPPT methods cannot satisfy the actual control requirements under the rapidly changing G and T. Therefore, the intelligent MPPT algorithms, such as artificial neural network (ANN) [7], GA [8], FLC, and bacterial foraging algorithm (BFA) [9], have been extensively applied in the PV systems.
Due to the incomplete datasets of G and T in practical projects, ANN reliability has been immensely limited. GA tracks the MPP of power–voltage (P–U) curve via selection, crossover and mutation progresses, yet the prediction accuracy of GA is low. FLC tracks the MPP by setting a fuzzy rule and membership function, while the FLC has poor dynamic accuracy and tracking performance. BFA has the advantages of parallel search and fast search speed, nevertheless, the chemotaxis and flip processes cannot efficiently handle the datasets of G and T. Consequently, it is important to propose a universal, simple and valid MPPT algorithm [10].
In [11], Motahhir et al. developed an improved INC method to reduce the power oscillation of a PV cell. The authors of [12] introduced the RBF neural network (RBFNN) to a wind-solar hybrid system, which used a single ANN to extract the MPP of PV cell. In [13], Ferrs ooz Mirza et al. proposed a GA-PID controller to improve the response speed, tracking the characteristic and stabilization accuracy of a PID controller. In [14], Saha et al. presented a PSO–P&O algorithm to maximize the extracted PV power by using the optimal voltage and current of a PV cell. In [15], Zafar et al. proposed the search and rescue algorithm (SRA) to improve the tracking performance and stabilization accuracy of an MPPT controller under partial shading conditions (PSC). In [16], Kraiem et al. developed the P&O–PSO algorithm to boost the performance of a PV system. The authors of [17] presented the tunicate swarm algorithm (TSA) to estimate the optimized value of the unknown parameters of a PV module under standard temperature conditions. An investigation of the above-mentioned literature illustrates that most of the algorithms are interested in the single control algorithm without realizing the mutual optimization.
Given the drawbacks of single MPPT algorithms, such as poor tracking performance and stabilization accuracy, the authors [18] presented a large variation GA–RBFNN algorithm to achieve no error control for microgrid PV system. In [19], Ouahib et al. developed an ANN–PSO algorithm, where the PSO algorithm is used to improve the convergence rate of ANN. Moreover, the optimized ANN is adopted to predict the MPP voltage and power in a day. The authors of [20] developed an adaptive sliding mode control (SMC) and ANN technology to obtain the MPP of a PV cell. In [21], Ozdemir S et al. presented an ANFIS–PSO algorithm to control the zeta chopper converter and achieve zero oscillation tracking. The authors of [22] presented an improved ant colony optimization (ACO) algorithm to improve the tracking characteristic of MPPT controller under PSC. The authors [23] developed the strategy of random reselection of parasitic nests that appeared in the cuckoo search (CS). In addition, the CS and PSO algorithms are employed to optimize the solar PV system model parameters. The authors of [24] combined a modified Aquila Optimizer (AO) with the opposition-based learning (OBL) technique to optimize the adaptive neuro-fuzzy inference system (ANFIS). Among these intelligence algorithms described above, GA has a fast convergence rate and is easy to be combined with other algorithms, and the SA algorithm has strong robustness and universality. This provides additional motivation to develop the intelligent MPPT algorithm in the PV systems.
Although researchers have studied BPNN and FLC extensively, there are few deep sub-optimizations. Since the slow convergence rate of BPNN and the low dynamic accuracy of FLC, a novel PV fuzzy MPPT algorithm based on an adaptive genetic simulated annealing-optimized BPNN (AGSA–BPNN–FLC) is proposed in this paper. First, the parent and offspring populations are generated by adaptive GA (AGA). Second, the SA algorithm is employed to handle the population with higher fitness value, and the AGA and SA algorithm are adopted to optimize the threshold weight of BPNN. Furthermore, the optimized BPNN is employed to predict the MPP voltage of a PV cell (Vref). Finally, the FLC is adopted to eliminate local power oscillation and improve the stability of PV power systems. This paper makes the following contributions: (1) the AGSA–BPNN–FLC algorithm is proposed to improve the tracking characteristics and photoelectric conversion efficiency of PV systems. (2) The proposed algorithm is compared with the GA–BPNN, SA–GA, PSO, GWO and FLC algorithms under rapidly changing G and T. In addition, Matlab/Simulink is employed to verify the validity and feasibility of the proposed MPPT algorithm.
This paper is organized as follows: a mathematical model of a PV cell and boost converter are introduced in Section 2. Related works including BPNN, FLC, adaptive GA (AGA), SA and the proposed MPPT algorithm are presented in Section 3. Simulation results and discussions are described in Section 4. The conclusion and future works are presented in Section 5.

2. Modelling of PV Power Generation System

2.1. Mathematical Model of PV Cell

The PV cell output current equation is given in Equation (1) [25].
I = I pv I o { exp [ q ( U + R s × I ) A K T ] 1 } U + R s × I R sh
where: Rs represents the series resistance; Rsh is the shunt resistance; I is the output current of PV cell; U is the output voltage of PV cell; Iph is the photo current; Io is the dark current; A is the ideal parameter of the diode; K is Boltzmann constant (K = 1.38 × 10−23 J/K); q is electron charge (q = 1.6 × 10−19 °C); T is the temperature of PV cell, expressed in °C. Figure 1 illustrates the PV cell equivalent circuit. The I–U–P curves under different G and T are given in Figure 2.
In this paper, the PV cell is selected from the Simulink module library (1Soltecg 1STH-215-P). In Figure 2a, the I–U–P curve is a single peak curve with only one MPP, and the fluctuation of G and T will cause the drift of MPP. In Figure 2b, the I–U–P curve has strong nonlinearity, and the short-circuit current drastically fluctuates with G [26]. Thus, it is vital to propose a sample and effective MPPT algorithm to quickly track the MPP of PV cell. Table 1 shows the PV cell and boost converter parameters.

2.2. Mathematical Model of Boost Converter

Currently, DC–DC topological structure includes the buck–boost converter, boost converter, zeta converter, Cuk converter and more. Among these circuits, the boost converter has the advantages of low ripple and high operating efficiency. Therefore, the boost converter is selected as the carrier of the PV system, as given in Figure 3. The parameter of the boost converter is shown in Table 1. To prevent the PV cell from ending in a mismatched state, the capacitor filter C1 and MPPT algorithm are employed to adjust the load transfer function and state space in real time and reduce energy losses. In addition, the inductive current IL does not fluctuate with the G and T at steady-state conditions, i.e., Ipv = IL. The state equation of the boost converter is given in Equation (2).
{ d I pv / d t = ( U pv U o ) / L + α U o / L + ε d U o / d t = U o / ( R C ) + ( 1 α ) I pv / C + ε
where: IL represents the inductor current; C1 is the capacitor filter; Vpv is the PV cell voltage; Ipv is the PV cell current; L is the boost inductor; Vo is the output voltage of boost converter; Io is the output current of the boost converter; D is the duty cycle; ε is the disturbance quantity.

3. Related Works

The proposed MPPT algorithm is composed of a PV cell, fuzzy logical control (FLC), genetically simulated annealing-optimized BPNN algorithm and boost converter, as shown in Figure 4. The specific processes are as follows: First, the datasets of G and T are sampled as the inputs of the PV system, meanwhile, the adaptive GA and SA algorithm are used to update the optimal weight threshold of BPNN. Second, the optimized BPNN is adopted to predict the MPP voltage of PV cell (Vref). Third, the voltage deviation ∆V = VpvVref and duty ratio D (n − 1) at time n − 1 are employed as the inputs of FLC for fuzzification, fuzzy reasoning and defuzzification to control the duty cycle D (n). Finally, the PWM is employed to control the on–off time of Mosfet.

3.1. Artificial Neural Network (ANN)

ANN is a computing model, which is interconnected by a large number of neurons. BPNN is a global approximation network, having the advantages of simplicity, self-learning and self-adaptation [27]. Figure 5 shows a typical three-layer ANN basic structure.
As shown in Figure 5, Wij represents the weight of the input layer to the hidden layer; Wjf is the weight of the hidden layer to the output layer; Vpv is the MPP voltage of the PV cell; Vref is the reference voltage of the PV cell. The number of hidden layer nodes has a crucial impact on the performance of ANN in the forward propagation. If there are fewer nodes, it is impossible to learn and store a majority number of mapping complexes; otherwise, it will lead to a long learning time and slow convergence rate. Therefore, the number of hidden layer nodes is updated according to Equation (3). The commonly used activation function mainly, including Sigmoid, Purelin, Tansig, Logsig [28]. The Tansig function can effectively reduce the loss degree of the output layer and normalize to [−1,1]. Therefore, the Tansig is selected as the activation function in this paper. The Levenberg–Marquardt (L–M) algorithm is adopted as the training function of BPNN. Equation (4) is the updated formula of learning rate η. Figure 6 illustrates the MPP voltage of PV cell under varying G and T.
h i d d e n n u m = m + n + a
η ( k ) = { a b η ( k 1 ) 0 c 1 ( k ) < 0 c 1 ( k ) > 0 e l s e
where: m is the number of input nodes; n is the number of output nodes; a is an integer within [1, 20]; c1(k) is the square error gradient value of the previous i iterations of the BPNN; η is learning rate.

3.2. Fuzzy Logical Control (FLC)

To solve the oscillation problem of the nonlinear system, the FLC is used in the PV systems. The voltage deviation ∆V = VpvVref and D (n − 1) are taken as the inputs of FLC to improve the optimization time and stabilization accuracy of FLC. Figure 7 shows the structure of FLC [29].
In Figure 7, E, EC, D(n) ∈ {NB, NM, NS, Z0, PS, PM, PB}, NB is negative big; NM is negative middle; NS is negative small; Z0 is zero; PS is positive small; PM is positive middle; and PB is positive big. The universe of discourse is mapped as [−1, 1]. Ke and Kec are the inputs quantization factors, and Ku is the output scale factor. The simulation results indicate that the chattering of output waveform is at its minimum when Kec ≈ 6Ke. Therefore, Ke, Kec and Ku are 1/280, 1/50 and 1/30, respectively. Figure 8 shows the membership function of FLC. Table 2 is the FLC rule.

3.3. Adaptive GA and SA Algorithm

GA is a global search algorithm that automatically obtains the search direction of the parent population in the search process and finds the optimal solution by evaluating the fitness value [30]. The tournament, roulette and elite selection strategy are commonly used for the selection of individuals, however, the optimization effect is not obvious and the complexity is visibly increased.
The crossover and mutation probabilities determine the population diversity and convergence rate. In the conventional GA, the crossover probability (Pc) and mutation probability (Pm) are constants. Therefore, the conventional GA has difficultly quickly tracking the MPP of the PV cell. Therefore, this paper proposes an adaptive crossover and mutation strategy.
There are many optimization parameters in the PV system. Hence, the relationship between maximum fitness value (fmax) and average fitness value (favg), i.e., fmaxfavg, is used to judge the concentration degree of population and dynamically adjust the diversity and randomness of population. For individuals with low fitness value, Pm and Pc are appropriately increased; otherwise, Pm and Pc are reduced. The adaptive crossover and mutation probabilities are defined in Equations (5)–(7), which can avoid the local optimal solution and improve the convergence rate.
P c = { k 1 f max     f f max     f avg   ,   f f avg k 3   ,   f f a v g  
P m = { k 2 f max     f f max     f avg   ,   f f avg k 4   ,   f f a v g  
{ p c = k 3 ,   f f avg p m = k 4   ,   f f avg 0.4 k 3 ,   k 4 1
where: f′ represents the larger fitness value of the two crossover individuals; f is the fitness value of mutated individual; fmax is the maximum fitness value of the population; favg is the average fitness value of the population; k3 is the minimum crossover probability value; k4 is the minimum mutation probability value; k1 and k2 are the maximum crossover probability coefficient and the maximum variation probability coefficient, respectively.
SA is a greedy algorithm based on the annealing of solids in physics, which eliminates the non-uniform state in the physical system by using the processes of heating and isothermal cooling. The heating process is the parameter initialization [31], the isothermal process corresponds to Metropolis sampling, and the cooling process corresponds to the decrease in parameters. Metropolis criterion is the core of SA algorithm, which receives deteriorating solutions with a certain probability p. The climbing speed and global searching speed of GA are enhanced by performing annealing operations on individuals with higher fitness value. Metropolis criterion is given in Equation (8). Annealing methods mainly include linear cooling, exponential cooling and logarithmic cooling. Exponential annealing is selected in this paper, which is given in Equation (9).
p = { 1   ,   E t + 1 < E t e ( E t + 1 E t ) K T ,   E t + 1 E t  
T j = T 0 × k j 1
where: Tj is the current annealing temperature; T0 is the initial annealing temperature; k is the temperature attenuation coefficient; Et+1 and Et are the energies at moments t and t + 1, respectively; K is the Boltzmann constant; p is the probability of acceptance.

3.4. AGSA–BPNN–FLC Algorithm

Figure 9 shows the proposed AGSA–BPNN–FLC algorithm flowchart. The main steps are as follows:
  • Confirm the BPNN structure and initialize parameters, such as population size nPop, maximum evolutionary generation Itmax, crossover probability Pc, variation probability Pm, initial annealing temperature T0, temperature attenuation coefficient k, maximum annealing number T_It and Markov chain length L.
  • The selection, crossover and mutation operations are carried out to generate the offspring populations, where the crossover and mutation probability are calculated according to Equations (5)–(7).
  • The SA algorithm is adopted for individuals with high fitness value. According to the Equations (8) and (9), the deterioration solution is received with a certain probability p. If the real-time probability is greater than the reception probability p, the new solution is completely received; otherwise, the new solution is received with probability p.
  • Determine whether the current temperature T is less than the final temperature Tmin. If T < Tmin, the algorithm ends; otherwise, return to step (3) to execute the SA algorithm.
  • Judge whether the current iteration number It satisfies the maximum evolution algebra Itmax. If It < Itmax, then It = It + 1; otherwise, return to step (2).
  • The optimized BPNN is used to predict the MPP voltage (Vref).
  • The voltage deviation ∆V = VpvVref and D (n − 1) are employed as the inputs of FLC to obtain the duty ratio D (n) of the boost converter. Figure 10 shows the best performance curve of the optimized BPNN.
As shown in Figure 10, the Epochs and MSE value of optimized BPNN are 16 and 2.9015 × 10−5, respectively. Simulation results indicate that the optimization effect and convergence rate are better when population size (nPop) is about two times of the maximum number of iterations (Itmax), i.e., nPop ≈ 2Itmax. In addition, the temperature attenuation coefficient (k) and initial temperature (T0) have a strong influence on the convergence rate of the optimized BPNN. Therefore, the parameters of the proposed MPPT algorithm are given in Table 3. The advantages and disadvantages of the GA–SA and SA–GA algorithms are discussed and analyzed in Section 4.2.

4. Simulation Results and Discussion

4.1. Datasets and Simulation Model

Matlab is used to obtain the inputs and output datasets, the inputs are the irradiance level and ambient temperature and the output is the MPP voltage (Vmpp). The inputs and output datasets are obtained by 10,000 cycles of Equations (10)–(12). A total of 70% of the datasets are the training sets and the rest is the testing sets.
G = ( G max G min ) × r a n d + G min
T = ( T max T min ) × r a n d + T min
V mpp = V mps + ( b e t a × ( T T ref )
where: Gmax is 1000 W/m2; Gmin = 0 W/m2; Tmax = 40 °C; Tmin = 10 °C; rand is a random value in [1]; Vmps is the MPP voltage of PV cell under standard test conditions (STC, Gref = 1000 W/m2, Tref = 25 °C); beta is the temperature coefficient.
The boost converter of the PV system is built under Simulink, as given in Figure 11. As shown in Figure 11, the proposed algorithm consists of a PV cell, boost converter, optimized BPNN and FLC. The proposed MPPT algorithm is compared with GA–BPNN, SA–GA, PSO, GWO and FLC algorithms to verify the feasibility and effectiveness. The simulation time is 1.5 s, and the simulation algorithm is fixed-step (ode3).

4.2. Optimized Results

In this paper, two optimization algorithms, GA–SA and SA–GA algorithms, are compared and studied. SA–GA algorithm uses GA to initialize the population and then performs SA algorithm until the cooling schedule is satisfied. However, the SA algorithm is not optimized by the GA, the prediction accuracy is poor. The GA–SA algorithm generates the parent and offspring populations via selection, crossover and mutation operations. The parent and offspring populations with higher fitness value are annealed and the optimal parent and offspring are selected as the initial populations for the next iteration until the termination condition is reached. The GA–SA algorithm combines the advantages of wide global search ability of GA and strong local search ability of SA, which improves the climbing speed of GA and the operating efficiency of SA. Equation (13) is the loss function. Figure 12 shows the prediction error of the GA–SA and SA–GA algorithms.
R M S E = 1 n i = 1 n j = 1 m [ Y j ( i ) T j ( i ) ] 2
where: n represents the input sets; m is the output sets; Yj(i) is the true value; Tj(i) is the target value.
As shown in Figure 12, the testing sets is selected as the test sample, and the prediction error of SA–GA is within [−0.04, 0.04]. In contrast, the GA–SA is within [−0.005, 0.005]. It is suggested that the prediction accuracy of the optimized BPNN has immensely improved. Figure 13 shows the loss function of the GA–SA, SA–GA, PSO and GWO algorithms.
As shown in Figure 13, the loss function value of GA–SA is within [0.001, 0.004]. In contrast, the loss function value of SA–GA, PSO and GWO is within [0.002, 0.006], [0.004, 0.008] and [0.006, 0013], respectively. It is clearly seen that the GA–SA algorithm has a good tracking performance, search range and convergence rate. The MSE curves of BPNN, RBF neural network (RBFNN) and optimized BPNN are given in Figure 14.
As shown in Figure 14, the MSE value of optimized BPNN is within [0.02, 0.03]. In contrast, the MSE value of BPNN and RBFNN is within [0.03, 0.05] and [0.04, 0.06], respectively. It is quite clear that the optimized BPNN is superior to the BPNN and RBFNN with convergence rate and reasoning ability in the PV systems.

4.3. Simulation Results

The G and T have remarkable influence on the photoelectric conversion efficiency in the practical PV system. The parameters of G and T are as follows: in 0 s~0.25 s, G = 0 W/m2, T = 0 °C; in 0.25 s~0.5 s (Stage 1), G = 500 W/m2, T = 10 °C; in 0.5 s~0.75 s (Stage 2), G = 700 W/m2, T = 20 °C; In 0.75 s~1 s (Stage 3), G decreases from 1200 W/m2 to 1000 W/m2, T decreases from 40 °C to 35 °C; In 1 s~1.25 s (Stage 4), G = 800 W/m2, T = 30 °C; In 1.25 s~1.5 s, G = 0 W/m2, T = 0 °C. The proposed MPPT algorithm is compared with the GA–BPNN, SA-GA, PSO, GWO and FLC algorithms to simulate the voltage, power and efficiency of PV cell and the output voltage, output power and duty cycle of the boost converter, as shown in Figure 15, Figure 16, Figure 17, Figure 18, Figure 19 and Figure 20.
It can be seen from Figure 15, Figure 16 and Figure 17 that each index of PV system controlled by AGSA–BPNN–FLC algorithm is superior to the five compared MPPT algorithms. Figure 15 shows the voltage waveform of PV cell.
In Figure 15, the MPP voltage of the AGSA–BPNN–FLC, SA–GA, GA–BPNN, PSO, GWO and FLC algorithms are 33.5 V, 32.8 V, 32.5 V, 31.9 V, 31.3 V and 32.1 V, respectively. It is clearly seen that the proposed MPPT algorithm has a better tracking performance and the waveform is smoother without chattering. In addition, Equations (14) and (15) are formulas for calculating steady-state oscillation rate α and efficiency η. Figure 16 shows the power waveform of PV cell.
α = P s max P s min P s max
η = i = 1 m P out ( m ) i = 1 m P max ( m )
where: α represents the steady-state oscillation rate; Psmax is the steady-state maximum power; Psmin is the steady-state minimum power; Pout is the output power; Pmax is the maximum output power; i is the number of samples; m is the sampling time.
As shown in Figure 16, the steady-state oscillation rates α of proposed MPPT algorithm is 0.3 %. In contrast, the steady-state oscillation rates of the SA–GA, GA–BPNN, PSO, GWO and FLC algorithms are 0.62%, 0.63%, 0.83%, 0.95% and 3.8%, respectively. Meanwhile, the tracking time of proposed MPPT algorithm is 0.003 s. It can be seen from Figure 16 that the tracking performance of the five compared algorithms are 0.008 s, 0.009 s, 0.013 s, 0.018 s and 0.021 s, respectively. It is clearly seen that the proposed MPPT algorithm has stronger tracking characteristic and stability. Figure 17 shows the efficiency of PV cell.
In Figure 17, the efficiency of proposed MPPT algorithm is 99.6%. As can be seen, the efficiency of the five compared algorithms are 98.1%, 97.83%, 97.3%, 96.9% and 96.1%, respectively. From an efficiency viewpoint, the proposed MPPT algorithm has stronger adaptability and higher photoelectric conversion efficiency.
In brief, the proposed MPPT algorithm has better tracking characteristics, stabilization accuracy and efficiency than the five compare algorithms.
The output voltage, power and duty cycle waveform of boost converter are given in Figure 18, Figure 19 and Figure 20. As shown in Figure 18 and Figure 19, the proposed MPPT algorithm is more accurate in determining the optimal range and maximum power boundary point of the P–U curve. Moreover, the proposed MPPT algorithm has a high stability accuracy, good tracking performance and low steady-state oscillation rate. Figure 20 shows the duty cycle of the boost converter.
In Figure 20, the duty cycle of the boost converter is within [0.25, 0.8] to prevent the sub-harmonic oscillation, and the duty cycle can be adjusted more quickly. These obtained results indicate that the tracking characteristic and stabilization accuracy of the proposed MPPT algorithm is superior to the SA–GA, GA–BPNN, FLC, PSO and GWO algorithm. The specific result of each stage are listed in Table 4.
Since the variance test has a high false positive rate and complexity, the Friedman test, Kruskal–Wallis (KW) and p value are employed to illustrate the superiority and feasibility of the proposed algorithm. Friedman test is a type of non-parametric test, which is commonly used to compare whether there is a significant difference between two groups. When the Friedman test is adopted to compare each levels, a pair of hypotheses are required, i.e., null hypothesis (H0) and alternative hypothesis (H1). The null hypothesis indicates that there is a difference, while the alternative hypothesis represents that there is no difference. The hypotheses are as follows:
H0. 
there are no significant differences between the proposed algorithm and the five compared algorithms.
H1. 
there are significant differences between the proposed algorithm and the five contrasting algorithms.
The Friedman test statistic is given in Equation (16). The Friedman test statistic (p) is compared with the significance level (α = 0.05) to judge the significant differences. If p < 0.05, the null hypothesis (H0) is rejected, i.e., the proposed algorithm is superior to the five compared algorithms. However, the Friedman test only focuses on whether there is a significant difference between the columns, ignoring the differences of different data. On this basis, KW and p value are employed to test the population distribution and reliability of the proposed algorithm, respectively. KW judges the significance of each group by calculating the rank and average rank of each data. Moreover, the KW has the characteristics of high efficiency and low complexity. The p value test directly compares the p with the significance level α, and the p does not require comparison with the critical value at a given significance level α. Therefore, the results of the p value test are more intuitive. Equations (17) and (18) are the KW statistic and p value, respectively.
X 2 = 12 n k ( k + 1 ) [ R i 2 3 n ( k + 1 ) ]
K W = 12 N ( N + 1 ) i = 1 k n i ( R i ¯ R ¯ ) 2
p = P { F = ( n k ) S R 2 k S E 2 > c }
where: Ri represents the average rank; k is the number of sample groups; N is the sample size of group i; R i ¯ is the average rank of group i (Ri/ni); R ¯ is the total average rank [(N + 1)/2]; F is the sample observations; S2R is the regression sum of square; S2E is the residual sum of square; P is the probability. Equations (16)–(18) have the same hypotheses. Table 5 shows the results of significance test.
It can be seen from Table 5 that the p value of Friedman test, KW and p value test are less than the significance level (p < 0.05). The obtained results indicate that the alternative hypothesis is true, and the proposed algorithm is superior to the five compared algorithms with the amplitude of power oscillation, tracking time, efficiency, steady state oscillation rate and maximum power deviation.
In conclusion, the proposed MPPT algorithm has faster tracking characteristic and stronger stability. At the same time, the proposed algorithm can quickly respond to external condition and has lower buffeting.

5. Conclusions and Future Works

This paper proposes a novel adaptive genetic simulated annealing-optimized BP neural network PV fuzzy MPPT algorithm, which can solve the poor tracking performance, stabilization accuracy and low efficiency of PV system. First, fmaxfavg is introduced to dynamically adjust the crossover and mutation probability. Second, the parent and offspring populations with higher fitness value are simulated and annealed by Metropolis criterion to update the optimal weight threshold of the BPNN. Third, the optimized BPNN is used to predict the MPP voltage of the PV cell. Finally, the voltage deviation ∆V = VpvVref and D (n − 1) are used for fuzzy inference to adjust the on–off time of Mosfet.
The proposed AGSA–BPNN–FLC algorithm is applied to the MPPT technology of the PV power system. The simulation results indicate that the proposed MPPT algorithm can quickly respond to external conditions and has stronger robustness and stabilization accuracy. In addition, the efficiency of proposed MPPT algorithm is improved by 1.5%, 1.77%, 2.3%, 2.7% and 3.5% as compared to the SA–GA, GA–BPNN, PSO, GWO and FLC algorithms. However, it is found that the optimized BPNN cannot be applied to partial shading conditions in the study. Moreover, the prediction accuracy and convergence rate of the optimized BPNN are lower than the deep ANN. Therefore, the future work will adopt the convolutional neural network (CNN) or deep residual neural network (RNN) to improve the prediction accuracy. At the same time, we plan to implement the proposed MPPT algorithm in STM32 or FPGA to achieve MPPT. Moreover, the proposed MPPT algorithm can be applied to solar-powered water pumps and microgrids that improve the efficiency of PV systems.

Author Contributions

Y.Z. (Yan Zhang) and Y.-J.W. conceived of the presented idea design and simulation; Y.Z. (Yong Zhang) and Y.-J.W. carried out testing and verification; Y.Z. (Yong Zhang) wrote the original draft of this article; Y.Z. (Yong Zhang), Y.-J.W. and Y.Z. (Yan Zhang) reviewed and edited this article; Y.-J.W. and T.Y. supervised the findings of this work. All authors provided critical feedback and helped shape the research, analysis, and manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported by the National Natural Science Foundation of China (grant: 61503169, 61802161) and Natural Science Foundation of Liaoning province (grant: 2020-MS-291).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are not publicly available due to privacy issues.

Acknowledgments

The authors would like to thank the National Natural Science Foundation of China and the Natural Science Foundation of Liaoning province for the scholarship.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Rabaia, M.K.H.; Abdelkareem, M.A.; Sayed, E.T.; Elsaid, K.; Chae, K.J.; Wilberforce, T.; Olabi, A.G. Environmental impacts of solar energy systems: A review. Sci. Total Environ. 2021, 754, 141989. [Google Scholar] [CrossRef] [PubMed]
  2. Zhang, Q.; Hu, W.; Liu, Y. A novel smooth switching control strategy for multiple photovoltaic converters in DC microgrids. J. Power Electron. 2022, 22, 163–175. [Google Scholar] [CrossRef]
  3. Pandiyan, P.; Saravanan, S.; Prabaharan, N.; Tiwari, R.; Chinnadurai, T.; Babu, N.R.; Hossain, E. Implementation of different MPPT techniques in solar PV tree under partial shading conditions. Sustainability 2021, 13, 7208. [Google Scholar] [CrossRef]
  4. Çelik, Ö.; Zor, K.; Tan, A.; Teke, A. A novel gene expression programming-based MPPT technique for PV micro-inverter applications under fast-changing atmospheric conditions. Sol. Energy 2022, 239, 268–282. [Google Scholar] [CrossRef]
  5. Chiu, C.S.; Ngo, S. A Novel Algorithm-based MPPT Strategy for PV power systems under partial shading conditions. Elektron. Elektrotech. 2022, 28, 42–51. [Google Scholar] [CrossRef]
  6. Shukl, P.; Singh, B. Proficient operation of grid interfaced solar PV system for power quality improvement during adverse grid conditions. IET Gener. Transm. Dis. 2020, 14, 6330–6337. [Google Scholar] [CrossRef]
  7. Babes, B.; Boutaghane, A.; Hamouda, N. A novel nature-inspired maximum power point tracking controller based on ACO-ANN algorithm for photovoltaic system fed arc welding machines. Neural Comput. Appl. 2021, 16, 1–19. [Google Scholar] [CrossRef]
  8. Yousri, D.; Abd-Elaziz, M.; Mirjalili, S. Fractional-order calculus-based flower pollination algorithm with local search for global optimization and image segmentation. Knowl. Based Syst. 2020, 197, 105889–105925. [Google Scholar] [CrossRef]
  9. Wu, J.; Wang, Y.G.; Burrage, K.; Tian, Y.C.; Lawson, B.; Ding, Z. An improved firefly algorithm for global continuous optimization problems. Expert Syst. Appl. 2020, 149, 113340–113368. [Google Scholar] [CrossRef]
  10. Celikel, R.; Yilmaz, M.; Gundogdu, A. A voltage scanning-based MPPT method for PV power systems under complex partial shading conditions. Renew. Energy 2022, 184, 361–373. [Google Scholar] [CrossRef]
  11. Motahhir, S.; El-Hammoumi, A.; El-Ghzizal, A. Photovoltaic system with quantitative comparative between an improved MPPT and existing INC and P&O methods under fast varying of solar irradiance. Energy Rep. 2018, 4, 341–350. [Google Scholar]
  12. Kumar, K.; Babu, N.R.; Prabhu, K.R. Design and analysis of RBFN-based single MPPT controller for hybrid solar and wind energy system. IEEE Access 2017, 5, 15308–15317. [Google Scholar] [CrossRef]
  13. Feroz-Mirza, A.; Mansoor, M.; Ling, Q.; Khan, M.I.; Aldossary, O.M. Advanced variable step size incremental conductance MPPT for a standalone PV system utilizing a GA-tuned PID controller. Energies 2020, 13, 4153. [Google Scholar] [CrossRef]
  14. Saha, S.; Cintury, N.; Roy, C. A PSO Based MPPT Controller for Solar PV System at Variable Atmospheric Conditions. Adv. Comput. Paradig. Hybrid Intell. Comput. 2022, 12, 335–345. [Google Scholar]
  15. Zafar, M.H.; Khan, N.M.; Mirza, A.F.; Mansoor, M.; Akhtar, N.; Qadir, M.U.; Khan, N.A.; Moosavi, S.K.R. A novel meta-heuristic optimization algorithm based MPPT control technique for PV systems under complex partial shading condition. Sustain. Energy Tech. 2021, 47, 101367–101385. [Google Scholar]
  16. Kraiem, H.; Flah, A.; Mohamed, N.; Alowaidi, M.; Bajaj, M.; Mishra, S.; Sharma, M.; Sharma, S.K. Increasing electric vehicle autonomy using a photovoltaic system controlled by particle swarm optimization. IEEE Access 2021, 9, 72040–72054. [Google Scholar] [CrossRef]
  17. Sharma, A.; Dasgotra, A.; Tiwari, S.K.; Sharma, A.; Jately, V.; Azzopardi, B. Parameter extraction of photovoltaic module using tunicate swarm algorithm. Electronics 2021, 10, 878. [Google Scholar] [CrossRef]
  18. Liu, N.; Zhang, J.; Zhao, S.; Xu, J.; Wang, Y. A Novel MPPT Method Based on Large Variance GA-RBF-BP. In Proceedings of the IEEE 2017 Chinese Automation Congress, Jinan, China, 20–22 October 2017; pp. 3907–3911. [Google Scholar]
  19. Ouahib, G.; Ferhat, C.; Fatah, Y. Real-time implementation of a PSO-optimized fuzzy logic controller based on a MPPT algorithm using DSPACE board. Int. J. Elec. Eng. Educ. 2018, 18, 11–23. [Google Scholar]
  20. Elnozahy, A.; Yousef, A.M.; Abo-Elyousr, F.K.; Mohamed, M.; Abdelwahab, S.A.M. Performance improvement of hybrid renewable energy sources connected to the grid using artificial neural network and sliding mode control. J. Power Electron. 2021, 15, 1–14. [Google Scholar] [CrossRef]
  21. Ozdemir, S.; Altin, N.; Sefa, I. Fuzzy logic based MPPT controller for high conversion ratio quadratic boost converter. Int. J. Hydrogen Energy 2017, 42, 17748–17759. [Google Scholar] [CrossRef]
  22. Titri, S.; Larbes, C.; Toumi, K.Y.; Benatchba, K. A new MPPT controller based on the Ant colony optimization algorithm for Photovoltaic systems under partial shading conditions. Appl. Soft Comput. 2017, 58, 465–479. [Google Scholar] [CrossRef]
  23. Fan, Y.; Wang, P.; Heidari, A.A.; Chen, H.; Mafarja, M. Random reselection particle swarm optimization for optimal design of solar photovoltaic modules. Energy 2022, 239, 121865. [Google Scholar] [CrossRef]
  24. Al-Qaness, M.A.; Ewees, A.A.; Fan, H.; AlRassas, A.M.; Elaziz, M. Modified aquila optimizer for forecasting oil production. Geo-Spat. Inf. Sci. 2022, 5, 1–17. [Google Scholar] [CrossRef]
  25. Robles-Algarín, C.; Taborda-Giraldo, J.; Rodriguez-Alvarez, O. Fuzzy logic based MPPT controller for a PV system. Energies 2017, 10, 2036. [Google Scholar] [CrossRef] [Green Version]
  26. Ramadan, H.S. Optimal fractional order PI control applicability for enhanced dynamic behavior of on-grid solar PV systems. Int. J. Hydrogen Energy 2017, 42, 4017–4031. [Google Scholar] [CrossRef]
  27. Arulmurugan, R. Optimization of perturb and observe based fuzzy logic MPPT controller for independent PV solar system. WSEAS Trans. Power Syst. 2020, 19, 159–167. [Google Scholar] [CrossRef]
  28. Ali, M.N.; Mahmoud, K.; Lehtonen, M.; Darwish, M.M. Promising MPPT Methods Combining Metaheuristic, fuzzy and ANN Techniques for Grid-Connected Photovoltaic. Sensors 2021, 21, 1244. [Google Scholar] [CrossRef]
  29. Song, L.; Huang, L.; Long, B.; Li, F. A genetic-algorithm-based DC current minimization scheme for transformless grid-connected PV inverters. Energies 2020, 13, 746. [Google Scholar] [CrossRef] [Green Version]
  30. Lyden, S.; Galligan, H.; Haque, M.E. A hybrid simulated annealing and perturb and observe maximum power point tracking method. IEEE Syst. J. 2020, 15, 4325–4333. [Google Scholar] [CrossRef]
  31. Obiora, V.; Saha, C.; Bazi, A.A.; Guha, K. Optimisation of solar photovoltaic (PV) parameters using meta-heuristics. Microsyst. Technol. 2021, 27, 3161–3169. [Google Scholar] [CrossRef]
Figure 1. PV cell equivalent circuit.
Figure 1. PV cell equivalent circuit.
Processes 10 01411 g001
Figure 2. PV cell I–U–P curve under: (a) different G (b) different T.
Figure 2. PV cell I–U–P curve under: (a) different G (b) different T.
Processes 10 01411 g002aProcesses 10 01411 g002b
Figure 3. Topological of PV Boost converter.
Figure 3. Topological of PV Boost converter.
Processes 10 01411 g003
Figure 4. Schematic diagram of the proposed algorithm.
Figure 4. Schematic diagram of the proposed algorithm.
Processes 10 01411 g004
Figure 5. ANN basic structure.
Figure 5. ANN basic structure.
Processes 10 01411 g005
Figure 6. MPP voltage of PV cell under varying G and T.
Figure 6. MPP voltage of PV cell under varying G and T.
Processes 10 01411 g006
Figure 7. The structure of FLC.
Figure 7. The structure of FLC.
Processes 10 01411 g007
Figure 8. The membership function of FLC.
Figure 8. The membership function of FLC.
Processes 10 01411 g008
Figure 9. The proposed AGSA–BPNN–FLC algorithm flowchart.
Figure 9. The proposed AGSA–BPNN–FLC algorithm flowchart.
Processes 10 01411 g009
Figure 10. The best performance curve of optimized BPNN.
Figure 10. The best performance curve of optimized BPNN.
Processes 10 01411 g010
Figure 11. PV system under AGSA–BPNN–FLC control.
Figure 11. PV system under AGSA–BPNN–FLC control.
Processes 10 01411 g011
Figure 12. The prediction error of GA–SA and SA–GA algorithm.
Figure 12. The prediction error of GA–SA and SA–GA algorithm.
Processes 10 01411 g012
Figure 13. The loss function of GA–SA, SA–GA, PSO and GWO algorithm.
Figure 13. The loss function of GA–SA, SA–GA, PSO and GWO algorithm.
Processes 10 01411 g013
Figure 14. The MSE curves of the conventional BPNN, RNFNN, and optimized BPNN.
Figure 14. The MSE curves of the conventional BPNN, RNFNN, and optimized BPNN.
Processes 10 01411 g014
Figure 15. The voltage waveform of PV cell.
Figure 15. The voltage waveform of PV cell.
Processes 10 01411 g015
Figure 16. The power waveform of PV cell.
Figure 16. The power waveform of PV cell.
Processes 10 01411 g016
Figure 17. Efficiency.
Figure 17. Efficiency.
Processes 10 01411 g017
Figure 18. Boost converter output voltage.
Figure 18. Boost converter output voltage.
Processes 10 01411 g018
Figure 19. Boost converter output power.
Figure 19. Boost converter output power.
Processes 10 01411 g019
Figure 20. Boost converter duty cycle.
Figure 20. Boost converter duty cycle.
Processes 10 01411 g020
Table 1. PV cell and Boost converter parameters.
Table 1. PV cell and Boost converter parameters.
PV Cell ParametersValueBoost Converter ParametersValue
Open circuit voltage Uoc/V37.3Capacitor filter C1/μF150
Short circuit current Isc/A8.66Boost inductaor L/mH2.7
MPP voltage Ump/V30.7Output resistant R25
MPP current Imp/A8.15Output capacitor C2/μF150
Uoc temperature coefficient/(%/deg.c)−0.3609
Isc temperature coefficient/(%/deg.c)0.08699
Maximum power Pm/W250.205
Table 2. FLC rule.
Table 2. FLC rule.
E/ECNBNMNSZ0PSPMPB
NBNBNBNBNMNMNMNB
NMNBNBNMNSNSNSNM
NSNBNSNSZ0NSNSNM
Z0NSNSNSZ0PSPSPS
PSPMPSPSPSPMPBPB
PMPBPMPSPSPMPBPB
PBPBPBPBPMPSPMPB
Table 3. Proposed algorithm parameter.
Table 3. Proposed algorithm parameter.
ParametersValue
Hiddennnum30
Epochs1000
Population size nPop50
Maximum number of iterations Itmax100
Initial temperature T0100
Markov chain L10
Temperature attenuation coefficient k0.85
Maximum annealing times T_It10
Table 4. The specific result of each stage.
Table 4. The specific result of each stage.
MPPT AlgorithmAmplitude of Power Oscillation/WTracking Time/sEfficiency/%
Stage 1Stage 2Stage 3Stage 4Stage 1Stage 2Stage 3Stage 4Stage 1Stage 2Stage 3Stage 4
Proposed algorithm0.730.750.810.750.0030.0020.0020.00399.699.599.699.5
SA–GA1.231.261.301.280.0080.0090.0080.00698.197.998.298.3
GA–BPNN1.761.91.861.740.0090.0080.0090.00897.8397.397.897.2
PSO1.851.871.931.880.0130.0100.0120.01597.397.197.397.4
GWO2.112.172.252.190.0180.0120.0140.01696.996.897.196.8
FLC4.85.65.44.930.0210.0230.0450.03296.196.296.496.3
MPPT AlgorithmSteady state oscillation rate (%)Maximum power deviation/W
Stage 1Stage 2Stage 3Stage 4Stage 1Stage 2Stage 3Stage 4
Proposed algorithm0.30.380.410.350.070.110.130.09
SA–GA0.710.730.750.740.210.270.330.25
GA–BPNN0.930.910.960.890.340.410.450.37
PSO1.131.171.211.150.640.670.710.65
GWO1.251.271.321.230.710.750.820.73
FLC3.53.83.73.51.21.41.51.3
Table 5. The results of significance test.
Table 5. The results of significance test.
IndicatorFriedman TestKruskal–Wallis Testp Value
Mean SquarePMean SquarePP
Amplitude of power oscillation0.41670.00833.0790.00030.0061
Tracking time1.57220.00763.9380.00060.0093
Efficiency1.17190.04463.2570.00070.0321
Steady state oscillation rate0.65560.00721.6390.00040.0083
Maximum power deviation0.86520.00041.8540.00050.0045
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, Y.; Wang, Y.-J.; Zhang, Y.; Yu, T. Photovoltaic Fuzzy Logical Control MPPT Based on Adaptive Genetic Simulated Annealing Algorithm-Optimized BP Neural Network. Processes 2022, 10, 1411. https://doi.org/10.3390/pr10071411

AMA Style

Zhang Y, Wang Y-J, Zhang Y, Yu T. Photovoltaic Fuzzy Logical Control MPPT Based on Adaptive Genetic Simulated Annealing Algorithm-Optimized BP Neural Network. Processes. 2022; 10(7):1411. https://doi.org/10.3390/pr10071411

Chicago/Turabian Style

Zhang, Yan, Ya-Jun Wang, Yong Zhang, and Tong Yu. 2022. "Photovoltaic Fuzzy Logical Control MPPT Based on Adaptive Genetic Simulated Annealing Algorithm-Optimized BP Neural Network" Processes 10, no. 7: 1411. https://doi.org/10.3390/pr10071411

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