Maximum Power Point Tracking Method Based on Modified Particle Swarm Optimization for Photovoltaic Systems

This study investigated the output characteristics of photovoltaic module arrays with partial module shading. Accordingly, we presented a maximum power point tracking (MPPT) method that can effectively track the global optimum of multipeak curves. This method was based on particle swarm optimization (PSO).The concept of linear decreases in weighting was added to improve the tracking performance of the maximum power point tracker. Simulation results were used to verify that this method could successfully track maximum power points in the output characteristic curves of photovoltaic modules with multipeak values. The results also established that the performance of the modified PSO-based MPPT method was superior to that of conventional PSO methods.


Introduction
The output power of photovoltaic (PV) systems is heavily influenced by irradiation and temperature.Thus, the output power of these systems presents nonlinear changes.Maximum power point tracking (MPPT) must be incorporated to stabilize the output power at maximum power points.This research topic is critical for photovoltaic power generation systems.
The voltage feedback method [1] is the simplest of conventional MPPT methods.However, this method requires prior testing of maximum power point (MPP) voltage.In addition, MPPs cannot be tracked when the photovoltaic modules deteriorate and cause the MPPs to change unless remeasurement is performed.The framework of the constant voltage tracking method [2,3] is simple and does not require complex formulas.This method employs the extreme similarity of MPP voltages under varying amounts of irradiation, using MPP voltage under standard test conditions as reference points to set the operation of the photovoltaic module arrays at these points.However, when the amount of irradiation is low or when photovoltaic module temperatures change, the difference in values between the MPP voltage and the reference voltage becomes substantial, reducing tracking accuracy.The perturb and observe method [4] uses periodical increases or decreases in voltage to perturb the system.If these perturbations increase the output power, the same trend is used to change (i.e., increase or decrease) voltage the following time.If output power decreases, the reverse trend is used to change voltage.However, this method is unable to track MPPs accurately.In addition, the method oscillates near the MPP and increases tracking losses, thereby affecting power generation efficiency.These conventional methods only perform MPPT on module arrays with singlepeak characteristic curves.When multipeak values appear in the characteristic curves, these methods frequently track local MPPs and miss global MPPs.
Recently, numerous scholars have presented intelligent MPPT methods [5][6][7][8][9][10][11] for photovoltaic module arrays, both to track MPPs accurately and to improve the dynamic and steady-state tracking performance.However, these methods are applicable only to MPPT in photovoltaic module arrays without shading.Nevertheless, the appearance of multipeak output curves because of partial module shading in photovoltaic module arrays is common.Therefore, the development of an algorithm for accurately tracking the true MPPs of complex and nonlinear output curves is crucial.Reference [12] presented a MPP tracker based on particle International Journal of Photoenergy

PV Module Array Characteristic Analysis
Within photovoltaic power generation systems, photovoltaic modules are typically connected to form module arrays using series and parallel methods.When certain modules malfunction or are shaded, their electric current flow is impeded and hot spots occur, damaging the photovoltaic modules.Thus, bypass diodes, through which electric current circulates, are generally installed.This enables the other photovoltaic modules to operate normally.However, when some modules malfunction or are shaded, the output voltage and current of the module arrays decrease, producing multipeak values in the P-V and I-V output characteristic curves.
To find out the output characteristics of series and parallel module arrays when some modules are shaded, a four-series one-parallel photovoltaic module array consisting of HIP 2717 modules produced by Sanyo was investigated.Figures 1 and 2 show the I-V and P-V output characteristic curves of one, two, three, and four modules with 30% shading in the four-series one-parallel module array, simulated using Solar Pro software [13].The figures show that shading on some modules within the array causes the emergence of multipeak values in the output characteristic curves.In addition, the maximum output power points showed growing declines as the number of shaded modules increased.One module at 30% shadow ratio With no shadow Two modules at 30% shadow ratio Three modules at 30% shadow ratio Four modules at 30% shadow ratio Figure 2: P-V output characteristic curves in the four-series oneparallel module array with varying numbers of modules and shade ratios of 30%, as simulated by Solar Pro software.

Particle Swarm Optimization
PSO is an optimization theory presented by Kennedy and Eberhart in 1995 [14].The theory is an algorithm that uses collective intelligence; it belongs to a branch of evolutionary computation.The two scholars were inspired by the foraging behavior of birds and applied this phenomenon to resolve problems related to search and optimization [15,16].Each bird flying in a space is called a particle.All particles moving in the space have fitness values mapped by an objective function and individual velocities, which are used to determine the direction and distance of their movement.Two memory values influence the movement of the particles:  best and  best .
Each particle stores the best position it is currently seeking in an individual best memory position ( best ).Furthermore, memory intercommunication is present among the particles; the particle swarm compares individual positions to locate the best position and stores this as the swarm best position ( best ).The particle swarm uses this method to revise the direction and velocity of its movement continuously, thereby rapidly converging toward a global optimum.
The PSO calculation process is as follows.
(1) Set the number of particles, the maximum number of iterations, the weight, and the learning factors.
(2) Initialize the particle swarm and randomly assign positions and velocities for each particle.
(3) Substitute the initial positions into the objective function to assess the fitness values for each particle.
(4) Compare the fitness values and the individual best memory positions ( best ) of each particle to select better positions and update  best .
(  (6) Use the core PSO formulas to update particle velocities and positions.These formulas are shown as follows: In ( 1) and ( 2),    and    are the velocity and position of particle  at iteration j, respectively.Variables rand1(•) and rand2(•) are random number generators that generate real numbers between 0 and 1 randomly; these numbers are used to strengthen the variability of the particle swarm. is the weight;  1 and  2 are the learning factors;  best  is the individual optimum of particle ; and  best is the swarm or global optimum.(7) Stop tracking if the stop conditions are met.Otherwise, rerun Steps 4 through 6.The stop conditions are either locating the global optimum or reaching the maximum number of iterations.
The search efficiency and success rate of PSO are determined primarily by the values assigned for the weights and the learning factors [17].When the weight is too high, the particle search might lack accuracy because the movement step sizes are too large.However, if the weight is low, particle movement becomes slow, and the local optimum trap might be unavoidable when facing multipeak values.Thus, weighting is typically based on the objective function.

PSO-Based MPPT for PV Systems
Conventional PSO is fast and accurate when searching for the output characteristic curves of PV module arrays with single peak values.However, when some modules are shaded, weights in conventional PSO must be readjusted appropriately based on various multipeak curve characteristics.If this is not performed, excessively high or low weights result in tracking failure.Thus, conventional PSO-based MPPT must be modified when some of the modules in a photovoltaic module array are shaded.
To solve these problems, linear decreases in line with increasing iteration numbers were adopted in this study for the weighting of the PSO kernel formulas.The modified weighting formula is as follows: where  max is the maximum weight,  min is the minimum weight,  is the maximum number of iterations, and  is the current iteration number.
The physical meaning of this modified weighting formula is that greater step sizes are used to increase the particle search velocity during the initial search because the distance to the global optimum is relatively large.This prevents an excessively small step size from making local optimum traps unavoidable.However,  decreases gradually as the number of iterations increases.Because the particles are now approaching the MPP, these decreases in cause the steps in the particle movements to shrink, enabling the particles to track the MPP more accurately.
In addition, the output curve of the photovoltaic module array appears only in the first quadrant.Therefore, regions with output power below zero cannot be optimum positions, and the lower limit for particle tracking is set to zero; that is, particles automatically return to zero when tracking regions with values of less than zero.This greatly reduces the time wasted by particles tracking in erroneous regions.The predicate for these conditions is as shown in (4): The  best  value obtained in ( 4) is the solution of (2): Figure 3 shows the proposed system architecture for modified PSO-based MPPT control.This system contains International Journal of Photoenergy two major subsystems: (1) a boost converter and (2) a MPPT controller.The MPPT controller is used to control the duty cycle of the boost converter [18], allowing the photovoltaic module array to output maximum power despite partial shading of some modules.

Simulation Results
MATLAB software [19] was used to simulate and compare the application of the conventional and modified PSO-based MPPT control methods to track photovoltaic module arrays in four shading situations.The first test situation involved one module with 30% shading and one module with 55% shading in a four-series one-parallel module array.Figure 4(a) shows this P-V characteristic curve, and Figure 4(b) shows the results of a comparison between the conventional (with a weight of 0.4) and modified PSO-based MPPT methods.The figures indicate that the P-V characteristic curve exhibited three peak values when the two modules in the same series had differing amounts of shade.In this situation, the conventional PSO-based MPPT method could track only local maxima, whereas the modified PSO method could track global MPPs.The modified PSO method also had a faster response speed than the conventional PSO method.In the second test situation, one module was shaded 25% and the other (in another series) was shaded 30% in the fourseries one-parallel module array.the first peak and was unable to avoid the local maximum trap.In contrast, the modified PSO method successfully tracked the global MPP.In the third test situation, one module was shaded 25% and the other was shaded 30% in a twoseries two-parallel module array.indicates that although the conventional PSO method was also able to track the true MPP successfully, its response speed was substantially slower than that of the modified PSO method.The fourth test situation involved a four-series one-parallel module array without any shading.The figures indicate that the modified PSO method was also able to track the true MPP accurately without the occurrence of multipeak characteristic curves.In contrast, because weighing was maintained at 0.4, the conventional PSO method was unable to track the true MPP. Figure 7(c) shows that both the conventional and the modified PSO methods could track the true MPP when the weighting of conventional PSO method was adjusted to 0.7.However, the modified PSO method still had better response performance in dynamic tracking.The weight of the conventional PSO method tested in this study was set at 0.4, with which its tracking success rate was the highest when the modules were shaded.Without shading, because output power increased substantially, the weight of the conventional PSO method was reset to 0.7 to increase step size during tracking, thereby allowing the tracking success rate to reach 100%.Linear decreases from 0.9 to 0.4 were used for weighting the modified PSO method in both situations.For both tracking methods, the learning factors  1 and  2 were set to a fixed value of 2, and the maximum number of iterations was set to 100.Table 1 shows the detailed parameter settings, and Table 2 shows the comparison results for the success rates of the two methods after 100 tracking attempts.Table 2 indicates that the success rate of the modified PSO method for tracking true MPPs was significantly greater compared to the conventional PSO method regardless of whether, modules were shaded.This is because the modified PSO method employed linearly-adjusted weighting, which enabled it to track true MPPs at a 100% success rate under various shading conditions.In contrast, for the conventional PSO method to reach a 100% success rate regarding singlepeak curves and no shading, appropriate weights based on output power were required.Furthermore, tracking using the conventional PSO method frequently became trapped in local MPPs when multipeak characteristic curves appeared.

Conclusion
The modified PSO-based MPPT method presented in this study is a novel algorithm based on conventional PSO.The primary feature of this method is the linear decreases used to adjust weighting, in contrast to the fixed weights adopted by conventional PSO.The modified PSO method was applied to maximum power tracking in photovoltaic module arrays, successfully solving the inability to track true MPPs because of partial module shading in photovoltaic module arrays.The tracking success rate reached 100% for the modified method, and the tracking speed was superior to that of conventional PSO.This could reduce energy loss during the MPPT process, thereby substantially enhancing the power generation efficiency of photovoltaic power generation systems.

Figure 3 :
Figure 3: System architecture for modified PSO-based MPPT control.

Figure 4 :
Figure 4: Simulation results for a four-series one-parallel module array with one module shaded 30% and one module shaded 55% and(a) P-V characteristic curve.(b) tracking comparison results between the conventional PSO (W = 0.4) and modified PSO-based MPPT methods.

Figure 5 (Figure 5 :Figure 6 :
Figure 5: Simulation results for a four-series one-parallel module array with one module shaded 25% and one module shaded 30% and (a) P-V characteristic curve.(b) tracking comparison results between the conventional PSO (W = 0.4) and modified PSO-based MPPT methods.

Figure 6 (
a) shows the P-V characteristic curve, and Figure 6(b) shows the results of a comparison between the conventional (with a weight of

Figure 7 :
Figure 7: Simulation results for a four-series one-parallel module array without any shading: (a) P-V characteristic curve; (b) tracking comparison results between the conventional PSO (W = 0.4) and modified PSO-based MPPT methods; (c) tracking comparison results between the conventional PSO (W = 0.7) and modified PSObased MPPT methods.
Figure 7(a) shows the P-V characteristic curve, and Figure 7(b) shows the results of a comparison between the conventional (with a weight of 0.4) and modified PSO-based MPPT methods.

Table 1 :
Parameter settings for the two PSO methods.