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

Authors: Kuei-Hsiang Chao; Long-Yi Chang; Hsueh-Chien Liu
Journal: International Journal of Photoenergy
 (2013)

---

## Abstract

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.


---

## Body

## 1. 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 re-measurement 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 single-peak 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–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 swarm optimization (PSO) for photovoltaic module arrays. Although this tracker was capable of tracking global MPPs of multipeak characteristic curves because fixed values were adopted for weighing within the algorithm, the tracking performance lacked robustness, causing low success rates when tracking global MPPs. Even though the MPPs were tracked successfully, the dynamic response speed was low.Therefore, this study used PSO and added improvements, preventing it from being trapped in local MPPs (i.e., searching only local MPPs) and enabling it to track global MPPs quickly and consistently on the multipeak characteristic curves of photovoltaic module arrays.


## 2. 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. Figures1 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.Figure 1
I-V output characteristic curves in the four-series one-parallel module array with varying numbers of modules and shade ratios of 30%, as simulated by Solar Pro software.Figure 2
P-V output characteristic curves in the four-series one-parallel module array with varying numbers of modules and shade ratios of 30%, as simulated by Solar Pro software.


## 3. 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: Pbest and Gbest. Each particle stores the best position it is currently seeking in an individual best memory position (Pbest). 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 (Gbest). 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 (Pbest) of each particle to select better positions and update Pbest.(5)
ComparePbest and the swarm best memory value Gbest. If Pbest is superior to Gbest, update Gbest.(6)
Use the core PSO formulas to update particle velocities and positions. These formulas are shown as follows:(1)Vij+1=W×Vij+C1×rand1(•)×(Pbest-Pij)Vij+1=+C2×rand2(•)×(Gbest-Pij),(2)Pij+1=Vij+1+Pij.In (1) and (2), Vij and Pij are the velocity and position of particle i 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. W is the weight; C1 and C2 are the learning factors; Pbesti is the individual optimum of particle i; and Gbest 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.


## 4. 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:(3)W=(Wmax-Wmin)×(n-j)n+Wmin,
where Wmax is the maximum weight, Wmin is the minimum weight, n is the maximum number of iterations, and j 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,W decreases gradually as the number of iterations increases. Because the particles are now approaching the MPP, these decreases in Wcause 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):
(4)Pbesti={Pbesti,Pbesti>0,0,Pbesti≤0.
The Pbestivalue obtained in (4) is the solution of (2):
(5)Pbesti=Pij+1.Figure3 shows the proposed system architecture for modified PSO-based MPPT control. This system contains 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.Figure 3
System architecture for modified PSO-based MPPT control.


## 5. 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 four-series one-parallel module array. Figure 5(a) shows the P-V characteristic curve, and Figure 5(b) shows the results of a comparison between the conventional (with a weight of 0.4) and modified PSO-based MPPT methods. Under these working conditions, the P-V characteristic curve had two peaks. The MPPT results in Figure 5(b) indicate that the conventional PSO method tracked the local optimum for 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 two-series two-parallel module array. 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 0.4) and modified PSO-based MPPT methods. Figure 6(b) 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. 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. 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.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.
(a)
(b)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.
(a)
(b)Simulation results for a two-series two-parallel module array with one module shaded 25% and one module shaded 30%: (a) P-V characteristic curve; (b) tracking comparison results between the conventional PSO (W=0.4) and modified PSO-based MPPT methods.
(a)
(b)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 PSO-based MPPT methods.
(a)
(b)
(c)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 factorsC1 and C2 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 single-peak 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.Table 1
Parameter settings for the two PSO methods.
Methods
Parameter values
Weight (W)
Learning factors (c1,c2)
Maximum number of iterations
Conventional PSO method
(i) 0.4 with module shading
(2, 2)
100
(ii) 0.7 without module shading
Modified PSO method
Linearly decreasing:
(2, 2)
100
W
max: 0.9;  Wmin: 0.4Table 2
Comparison of the tracking success rates for the conventional and modified PSO methods.
MPPT methods
Module array configuration and shade conditions
Four-series one-parallel: one module with 30% shading and one module with 55% shading
Four-series one-parallel: one module with 25% shading and one module with 30% shading
Two-series two-parallel: one module with 25% shading and one module with 30% shading
Four-series one-parallel: no module shading
Conventional PSO method
75/100 attempts*
72/100 attempts
71/100 attempts
(i) With weight set to 0.4: 49/100 attempts(ii) With weight set to 0.7: 100/100 attempts
Modified PSO method
100/100 attempts
100/100 attempts
100/100 attempts
100/100 attempts
*Note: Number of successes/total number of attempts.


## 6. 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.



---

*Source: 583163-2013-11-06.xml*