Microcontroller Based MPPT Photovoltaic System under Partial Shading Conditions Using Particle Swarm Optimization Algorithm

DOI : 10.17577/IJERTV3IS10517

Download Full-Text PDF Cite this Publication

Text Only Version

Microcontroller Based MPPT Photovoltaic System under Partial Shading Conditions Using Particle Swarm Optimization Algorithm

Vijayakumar Gali, Prof. Valsalan T

Dep. Of Electrical and Electronics Engineering Dep. Of Electrical and Electronics Engineering Govt. College of Engineering kannur Govt. College of Engineering kannur

Kerala, India. Kerala, India

Abstract

This Paper presents Maximum Power Point Tracking (MPPT) of Photovoltaic Array under partial shading condition. The power available at the output of photovoltaic cells keeps changing with solar insolation and ambient temperature because photovoltaic cells exhibit a nonlinear current voltage characteristic. A good number of publications report on different MPPT techniques for PV system most of the existing schemes are unable to extract maximum power from the PV array under partial shading conditions. This paper

challenge for the tracking algorithm. To date, various MPP tracking methods have been proposed. These techniques vary in complexity, accuracy, and speed. Each method can be categorized based on the type of the control variable it uses: i) voltage, ii) current, or iii) duty cycle. An ideal is modeled by a current source in parallel with a diode. However no solar cell is ideal and there by shunt and series resistances are added to PV cell diagram the model as shown in the Figure 1. RS is the intrinsic series resistance whose value is very small. RP is the equivalent shunt resistance which has a very high value[1].

proposes PSO algorithm to track the global power peak under partially shaded conditions. The Proposed MPPT algorithm is developed in Low cost C2000 Piccolo Launch Pad, LAUNCHXL-F28027 microcontroller. All the observations and conclusions, including results are presented.

Index terms- Solar Energy, Maximum power point tracking (MPPT), Photovoltaic Array (PV),Perturb&Observe(P&O) method, Particle Swarm optimization(PSO) method, LAUNCHXL-F28027

Iph

Rs

Id IRP

Rp

I

V RL

microcontroller.

Figure 1 Equivalent circuit of a PV cell

  1. Introduction

    Photovoltaic (PV) is envisaged to be a popular

    source of renewable energy due to several advantages, mostly low operational cost, almost maintenance free

    I I ph I R

    P

    T

    V I.RS

    I D

    V I.RS

    (1)

    (2)

    and environmentally friendly. To optimize the utilization of large arrays of PV modules, maximum

    I I ph IO .exp V

    1

    R

    P

    power point tracker (MPPT) is normally employed in conjunction with the power converter (dcdc converter).The objective of MPPT is to ensure that the system can always harvest the maximum power generated by the PV arrays. However, due to the varying environmental conditions, that is temperature and solar insolation, the PV characteristic curve exhibits a maximum power point (MPP) that varies nonlinearly with these conditions thus posing a

    Where, Iph is the Insolation current, I is the Cell

    current, I0 is the Reverse saturation current, V is the Cell voltage, RS is the Series resistance, RP is the Parallel resistance, VT is the Thermal voltage (KT/q), K is the Boltzman constant, T is the Temperature in kelvin, q is the charge of an electron with different irradiation level the MPP will change as shown in Figure 2

    Figure 2 P-V characteristic of a solar array for a fixed temperature but varying irradiance

    In general, a PV array source is operated in conjunction with a dcdc power converter, whose duty cycle is modulated in order to track the instantaneous MPP of the PV source. Several tracking schemes have been proposed. Among the popular tracking schemes are the perturb and observe (P&O) or hill climbing, incremental conductance, short-circuit current, and open-circuit voltage modified techniques have also been proposed, with the objective of minimizing the hardware or improving the performance. The tracking schemes mentioned above are effective and time tested under uniform solar insolation, where the PV curve of a PV module exhibits only one MPP for a given temperature and insolation. Under partially shaded conditions, when the entire array does not receive uniform insolation, the P-Characteristics get more complex, displaying multiple peaks only one of which is the global peak (GP);rest are local peaks as show in Figure 3.It is found that the conventional MPPT can track the maximum power point under normal atmospheric conditions, but the MPPT algorithm has to track the MPPT under partial shading conditions. The presence of multiple peaks reduces the effectiveness of the existing MPP tracking (MPPT) schemes, which assume a single peak power point on the PV characteristic. The occurrence of partially shaded conditions being quite common (e.g., due to clouds, trees, etc.), there is a need to develop special MPPT schemes that can track the global peak GP under these conditions [2][3].

    1. Critical observations under Partial shading conditions

    Figure 3.P-V curve of PV array under normal and Partial shading conditions

    1. Under partially shaded conditions have multiple steps, while the PV curves are characterized by multiple peaks.

    2. In addition to insolation and temperature, the magnitude of GP, and the voltage at which it occurs are also dependent on the shading pattern and array configuration.

    3. Fig.3 shows that the GP may lie on the left side of the load line.

    4. The peaks on the PV curve occur nearly at multiples of 80% of VOC_module (Figure. 3).

    5. The minimum displacement between successive peaks is nearly 80% of VOC_module (Figure. 3).

    6. Extensive study of PV curves, as well as practical data, have revealed that when the PV curve is traversed from either side, the magnitude of the peaks increases.After reaching the GP, the magnitude of the subsequent peaks (if they are present) continuously decreases

    Case1) : One module in each column is completely shaded

    Case 2) : One module in each column is partially shaded with equal radiation levels.

    Case 3): One module in each column is partially shaded with unequal radiation levels

    Case 4) : Two modules in the first column and one module in each other column are partially shaded with equal radiation levels

    Case 5): All modules are partially shaded with different radiation levels.

  2. MPPT ALGORITHMS

    The different algorithms are as follows

    1. Incremental Conductance method

      The incremental conductance method is based on the fact that the slope of the PV array power curve (Fig.

      2) is zero at the MPP, positive on the left of the MPP, and negative on the right, as given by

      dI/dV = 0 at MPP

      dI/dV >0 Left of MPP

      dI/dV <0 Right of MPP (3)

      The increment size determines how fast the MPP is tracked. To track the MPPT fast, bigger increments needed but the system might not operate exactly at the MPP and oscillate about it instead; so there is a tradeoff[5][6].

    2. Fractional open circuit voltage method

      The near linear relationship between V_mpp and V_oc of the PV array, under varying irradiance and temperature levels, has given rise to the fractional V_oc method[6].

      Vmpp=k1Voc (4)

      where k1 is a constant of proportionality. Since k1 is dependent on the characteristics of the PV array,it usually has to be computed before hand by empirically determining Vmpp and Voc for the specific PV array at different irraiance and temperature levels.

    3. Fractional short circuit current method

      Fractional Isc results from the fact that, under varying atmospheric conditions,Impp is approximately linearly related to the Isc of the PV array.

      Impp =k2Isc (5)

      where k2 is a proportionality constant. Just like in the fractional V_oc technique, k2 has to be determined according to the PV array in use[6].

    4. Perturb and Observe method

    Perturb & Observe (P&O) is the simplest method. This is the most widely used MPPT scheme. The method involves moving operating voltage by one step and then examining the change in generated power. If the power increases, the operating point moves in the same direction. This process goes on until reach MPP [7]-[10].

    A detailed MPPT control technique based on the Particle swarm optimization (PSO) is discussed in the following section

  3. PARTICLE SWARM OPTIMIZATION (PSO) APPLIEDTO MAXIMU POWER

    POINT TRACKING CONTROL

    The PSO method is a simple and effective metaheuristic approach that can be applied to a multivariable function optimization having many local optimal points. Several cooperative agents are used, and each agent shares or exchanges information obtained in its respective search process. In this method, each agent moves with a velocity Vk in the search space, and this movement depends on two factors: 1) its own previous best position and 2) the previous best position attained among all the agents. These points are expressed mathematically in two equations which specify the velocity and position update of the agent [11]-[13].

    + (6)

    (7)

    Where w is the learning factor; C1 and C2 are positive constraints; r1 and r2 are normalized random numbers and their ranges are (0-1).The variable P(besti) is used to store the best position that ith ant has found so far, and its position (8), is updated if condition (9) is satisfied.

    i

    P(besti) )= S k (8)

    i besti

    f(S k) = f(P ) (9)

    Here f is the objective function that is maximized in each iteration cycle. The variable g(besti) is used to store the best position obtained among the agents.

    a) PSO applicable to Maximum Power tracking control under partial Shading Conditions

    The P-V characteristic exhibits multiple local MPP. When two PV modules are connected in Parallel and one of them is partially shaded, the shaded modules terminal voltage is different from that of the unshaded module. Under this condition, their terminal voltages are V1,V2; total power is P; and their variation, it is clear that tracking to a global maximum is nothing but a multidimensional MPPT control problem, wherein both V1 and V2 must be controlled simultaneously. In general, if the PV array contains N number of modules,

    then each individual module voltage (V1, V2,, VN) must be controlled. Here, the terminal voltages of the individual PV modules are grouped together and represented in the form of an N-dimensional row vector as

    Sk=[V1k,V2k.VNk] (10)

    Where N is the size of the row vector and it indicates the number of PV modules in the system. The velocity vector v can be written as

    1

    v1k=[V1k-V (k-1),V2k-V2(k-1)..VNk-VN(k-1)] (11)

    Here, the objective function f is the generated power P, which is the summation of power generated by each module. Assuming that there are M number of agents involved in the search process, the terminal voltage vector Sk changes in the following order and also computes the power P(Sk) at each stage

    S1kS2kSMk

    1 2 M

    S (k+1)S (k+1)S (k+1) (12)

    This process is continued until the global optimum is reached, and in each iteration the velocities and position are updated as per the relationships defined by

    (6) and (7).

    (v(i+1))< -V (13)

    ( P(S(i+1) )-P(Si))/(P(Si))>P (14)

    Equations(11) and (12) basis for convergence detection of the agents and sudden changes in insolation, respectively.

  4. SIMULATION OF THE PSO AND P&O BASED MPPT

The MATLABSimulink simulation model of the PV system with boost converter used in this study as shown in Figure 6. The converter is designed for following specifications: C= 47F,L = 1.036 mH, and 40-kHz switching frequency. To evaluate the performance of the PSO method, comparison is made with the P&O. Three challenging scenarios are imposed to the system: 1) large step change in (uniform) solar insolation; 2) step change in load; and 3) partial shading conditions. These are discussed in subsequent sections.

Figure 4 Block diagram of PV system with the Boost converter and MPPT.

5 .EXPERIMENTAL SETUP

The tracking performance of PSO and P&O are tested in laboratory under normal and partial shading conditions as follows. The controller used to produce the switching pulse for the controller is The C2000 Piccolo Launch Pad, LAUNCHXL-F28027,which is a complete low-cost experimenter board for the Texas Instruments Piccolo F2802x devices.

Figure 5. Experimental setup in lab

Its features are :

High-Efficiency 32-Bit CPU ( TMS320C28027) 60- MHz Devices, Single 2.3-V Supply, Up to 22 Multiplexed GPIO Pins, Two Internal Zero-pin Oscillators, On-Chip Flash, SARAM, OTP Memory, Three 32-Bit CPU Timers

Enhanced Control Peripherals, Enhanced Pulse Width

Modulator (ePWM)

  • High-Resolution PWM (HRPWM)

  • Enhanced Capture (eCAP)

  • Analog-to-Digital Converter (ADC)

  • On-Chip Temperature Sensor

  • Comparator

Converter is designed for the experimental set up is same as simulation values. The Gate Driver is used for drive the MOSFET is TLP250, sensing the voltage and current of solar array by potential divider for voltage and arrange 60m resistor in between PV array and boost converter, measure the voltage drop across the series resistor and amplify in the range between 0-3V by AD8215 and OP340.The MPPT algorithms P&O and PSO are developed in the Low cost microcontroller and tested the tracking performance under normal and partial shading conditions. The Partial shading conditions are tested by arranging some artificial sheet on one panel as shown in Figure 5.

  1. RESULTS AND DISCUSSIONS

    1. Simulation Results

      This section presents the simulation results with PSO and P&O, tested in different insolation conditions. Partially shading can be tested by two ways. One way is one module is fully illuminated (1000W/m2) and second module partially illuminated (800 W/m2) and second condition is tested by one module fully

      Illuminated (1000W/m ) and second module is

      changes, the MPPT algorithm tracks MPP by changing duty cycle of converter. The test results are tabulated in Table 2.

      As the proposed scheme (PSO) is a multidimensional search-based technique, it is able to find the global MPP even under complex partial shading conditions. The developed algorithm is simple and also reduces the cost of the data acquisition system. Experimental comparison with P&O tracking schemes demonstrated its novelty as well as its validity. The PSO algorithm took about 1 to 2 s to find the global MPP.

      Table 1.Simulation Performance of the MPPT algorithms

      2

      partially illuminated

      2 The tracking

      Irradiation Level

      Perturb&observe method

      Particle swarm optimization(PSO)

      Vmpp

      Pmpp

      %

      Vmpp

      Pmpp

      %

      1000W/m2

      16.33

      39.68

      99.2

      17.3

      39.79

      99.47

      800W/m2

      14.56

      28.7

      71.75

      17.39

      32.3

      80.75

      500W/m2

      9.17

      11.5

      28.75

      13.64

      17

      42.5

      1000W/m2

      and 800W/m2

      15.05

      33.4

      83.5

      16.23

      35.5

      88.75

      1000W/m2 and 500W/m2

      13.02

      24.3

      60.75

      15.44

      28.4

      71

      (500W/m ).

      performance of P&O based MPPT is shown in Figure 7 under 1000W/m2,800W/m2 and 500W/m2 insolation levels. Due to low insolation level in insolation levels from 1sec to 2 sec, the power generated by PV array is decreased. The PSO based MPPT performance is shown in Figure 8 under 1000W/m2,800W/m2 and 500 W/m2 insolation levels. In Figure 7, normal insolation level from 3 sec to 5 sec, the P&O MPPT algorithm tracked the MPP without any problem, but due to Partial shading applied in from 1 sec to 3 sec, the algorithm couldnt find MPP and the operating point is oscillating after reaching MPP.

      The PSO based MPPT tracking performance under partial shading condition are tested .This algorithm searching process is goes on up to reach global MPP. The P&O based MPPT algorithm tracks Local MPP and PSO MPPT algorithm tracked Global MPP. The results of both PSO based MPPT and P&O based MPPT algorithm results are tabulated in Table1. It can be observed that PSO giving good results than P&O MPPT algorithm.

    2. Hardware Results

    The Hardware results are shown in the Figures 9 and Figure 10.The Tracking performance of both PSO and P&O MPPT algorithms are tested under different insolation conditions. When the insolation level

    Table 2. Hardware Performance of the MPPT algorithms

    Irradiation Level

    Perturb&observe method

    Particle swarm optimization(PSO)

    Vmpp

    Pmpp

    %

    Vmpp

    Maximum irradiation level(800W/m2)

    17.6

    35

    87.5

    17.6

    38

    95

    Minimum irradiation level(200 W/m2)

    17.2

    30

    75

    20.8

    33

    82.5

    One panel shaded partially

    10.5

    19.5

    48.75

    10.5

    22

    55

    One panel shaded fully

    5.3

    11.3

    28.5

    9.3

    19.3

    48.25

    Figure 6 Simulink model of MPPT system

    Figure7 P&O Simulation results under varying weather conditions

    Figure 8 PSO simulation results under varying weather conditions

    Figure 9 P&O Hardware results under varying weather conditions

    Figure 10 Hardware results of PSO MPPT under varying weather conditions

  2. CONCLUSIONS

    There are many MPPT techniques available in literature .The Particle swarm optimization (PSO) and Perturb & Observe(P&O) algorithms are simulated and tested under normal and partial shading conditions. Under normal illumination level, PSO based MPPT algorithm tracking MPP without any problem, but the P&O based MPPT, the operating point oscillates around MPP after reached the MPP. In the case of partial shading condition, due to multiple maximum power points (MPP), the PSO based algorithm tracking the global maximum power point (Gmpp) where the P&O based algorithm stops the tracking when local maximum power point (Lmpp) reached. The same algorithms are developed in laboratory with low cost C2000 Piccolo Launch Pad, LAUNCHXL- F28027 Microcontroller. The test results are same as Simulation results. The implementation of PSO algorithm is complicated as compare to P&O based MPPT algorithm.

  3. References

  1. Roger Gules, Juliano De Pellegrin Pacheco, Hélio Leaes Hey, A Maximum Power Point Tracking System With Parallel Connection for PV Stand-Alone Applications IEEE Transactions on Industrial Electronics, vol. 55, no. 7, July 2008.

  2. Hiren Patel and Vivek Agarwal, Maximum Power Point Tracking Scheme for PV Systems Operating Under Partially Shaded Conditions IEEE Transactions on Industrial Electronics, vol. 55, no. 4, April 2008

  3. Hiren Patel and Vivek Agarwal, MATLAB-Based Modeling to Study the Effects of Partial Shading on PV Array Characteristics IEEE Transactions on Energy Conversion, vol. 23, no. 1, March 2008

  4. Mohammad A. S. Masoum, Hooman Dehbonei, and Ewald F. Fuchs, Theoretical and Experimental Analyses of Photovoltaic Systems With Voltage- and Current-Based Maximum Power-Point Tracking IEEE Transactions on Energy Conversion, vol. 17, no. 4, December 2002.

  5. Nilesh Shah, R. Chudamani A Novel Algorithm for Global Peak Power Point Tracking in Partially Shaded Grid- Connected PV System 2012 IEEE International Conference on Power and Energy (PECon), 2-5 December 2012, Kota Kinabalu Sabah, Malaysia.

  6. Fangrui Liu, Shanxu Duan, Fei Liu, Bangyin Liu, and Yong Kang ,A Variable Step Size INC MPPT Method for PV Systems IEEE Transactions on Industrial Electronics, vol. 55, no. 7, July 2008

  7. Nicola Femia, Giovanni Petrone, Giovanni Spagnuolo, Optimization of Perturb and Observe Maximum Power Point Tracking Method IEEE Transactions on Power Electronics, vol. 20, no. 4, July 2005.

  8. Chihchiang Hua, Jongrong Lin, and Chihming Shen,Implementation of a DSP-Controlled Photovoltaic System with Peak Power Tracking IEEE Transactions on Industrial Electronics, vol. 45, no. 1, February 1998.

  9. Eftichios Koutroulis, Kostas Kalaitzakis, and Nicholas C. Voulgaris ,Development of a Microcontroller-Based, Photovoltaic Maximum Power Point Tracking Control System IEEE Transactions on Power Electronics, vol. 16, no. 1, January 2001.

  10. Roger Gules, Juliano De Pellegrin Pacheco, Hélio Leães Hey and Johninson Imhoff ,A Maximum Power Point Tracking System With Parallel Connection for PV Stand- Alone Applications IEEE Transactions on Industrial Electronics, vol. 55, no. 7, July 2008.

  11. Masafumi Miyatake, Mummadi Veerachary, Fuhito Toriumi Nobuhiko Fujii And Hideyoshi Ko, Maximum

    Power Point Tracking of Multiple Photovoltaic Arrays: A PSO Approach IEEE Transactions on Aerospace And Electronic Systems,vol. 47, no. 1 January 2011.

  12. Kashif Ishaque, Zainal Salam, Muhammad Amjad and Saad Mekhilef ,An Improved Particle Swarm Optimization (PSO)Based MPPT for PV With Reduced Steady-State Oscillation IEEE Transactions on Power Electronics, vol. 27, no. 8, August 2012.

  13. Kashif Ishaque,Zainal salam,Hamed Teheri and Amir ShamsudinMaximum Power Point Tracking for PV system under Partial Shading Condition via Particle Swarm Optimization2011. IEEE Applied Power Electronics Collloquium(IAPEC).

Leave a Reply