Professional Documents
Culture Documents
3
Systems and Control, University of Batna 2, Batna,
Algeria, May 7-9, 2017
Abstract This paper presents a Field Programmable Gate Several digital MPPT techniques have been reported in
Array (FPGA) implementation of Particle Swarm Optimisation literature. These methods are effective under uniform condi-
(PSO) algorithm for maximum power point tracking (MPPT). tions but their performance deteriorates when partial shading
The PSO method is very effective to handle the multimodal
power-voltage (P -V ) curve under partial shading conditions occurs. Indeed, these methods (like P&O and Incremental
and presents several advantages such as simple structure and Conductance INC) lack the intelligence that will allow them
good dynamic performances. The PSO method has been de- to distinguish between LMPP and GMPP and can be trapped
signed using the very high-speed description language (VHDL) into a LMPP when the P -V characteristic is not unimodal.
and implemented on Xilinx Virtex5 (XC5VLX50-1FFG676) To solve the case of partial shading, several global MPPT
FPGA. The use of FPGA offers a high degree of flexibility and
robustness for the MPPT algorithm. The simulations results techniques are developed. [2], [3] proposed two stages MPPT
demonstrate the accuracy of PSO for global peak tracking and algorithm. In the first stage, the P -V curve is scanned
its superiority over the Perturb and Observe (P&O) technique. and the GMPP is recorded, while in the second stage this
The developed architecture is tested in real time application methods used either the P&O algorithm [2] or fuzzy logic
on a buck-boost converter. Experimental results confirm the method [3] to maintain the operating point at the GMPP.
efficiency of the proposed scheme and its high accuracy to
handle the partial shading. Methaheuristic algorithms are gained more attention and are
Index Terms Field programmable gate array (FPGA), par- proposed by many researchers to deal with the multimodal
ticle swarm optimisation (PSO), maximum power point tracking P -V characteristic under partial shading conditions. Conven-
(MPPT), photovoltaic (PV) system, partial shading conditions. tional PSO algorithm is proposed in [4], [5]. Improvements
of PSO algorithm are reported in [6], [7] by using adaptive
I. I NTRODUCTION approaches to adjust PSO algorithm control parameters. [8]
proposed a deterministic PSO algorithm to improuve the
INCE the energy provided by the photovoltaic (PV) performance of GMPP tracking by omitting the random
S system depends on the atmospheric conditions like
irradiance and temperature, a stage of adaptation is inserted
numbers from the velocity equation. Others evolutionary and
swarm intelligence algorithms including ant colony optimisa-
between the photovoltaic generator and the load to extract the tion(ACO) algorithm [9], Cukoo search (CS) algorithm [10]
maximum of the available power. This stage is a conjunction and differential evolution (DE) algorithm [11] are proposed
of a DC-DC converter and a maximum power point tracker for GMPP tracking. Although the published results showed
(MPPT). good tracking performance, the structures of these algorithms
At the uniform irradiance conditions, i.e. when the PV are more complex than the PSO algorithm which makes their
panel receives homogenous irradiance, the PV panel ex- practical implementation more difficult.
hibits a single MPP. By contrast, when some part of the The Conventional PSO algorithm presents a lot of ad-
PV panel receives different irradiance than others, then it vantages. Its structure is very simple compared by the
is subjected to partial shading. This condition may occur other methaheuristic applied for MPPT. Also, the control
because of many factors like clouds, birds, trees, buildings parameter selection is much easier. In fact, the conventional
and others [1]. When partial shading occurs, some PV cells PSO has three control parameters. Despite improvements that
become receiving elements rather than generating current. can be achieved with adaptive and modified PSO structure,
This phenomenon is called hot spot and can contribute to it can be noticed that this results can be reached with fine
the destruction of these cells. To protect the PV cells, the PV tuning and optimized parameter selection in the conventional
module are equipped with by pass diodes. The integration PSO. The PSO algorithm based MPPT is effective under
of these diodes has as a result, the modification of the partial shading and presents high tracking efficiency and
P -V characteristic curve which becomes multimodal. The fast speed convergence towards the GMPP. Previous works
P -V characteristic is characterised then by the appearance have implemented this technique either in microcontrollers
of several maximum power point: several local maximum or digital signal processors (DSPs). Despite performance that
power point (LMPP) and one global maximum power point can be provided by this hardware, they cant outperform the
(GMPP). computing performance of field-programmable gate arrays
(FPGA).
a Laboratoire des Dispositifs de Communication et de Conversion Photo- Many authors have discussed the implementation of MPPT
voltaique, Ecole Nationale Polytechnique, Alger 16200, Algeria techniques on FPGA [12]. The use of FPGA circuit for
V + IRS NS V + IRS NS
Io2 exp 1 (1)
a2 VT NS R P NS
80
B. PSO algorithm based MPPT
Power (W)
where is the inertia coefficient; c1 and c2 are two con- IPV PSO-MPPT
stants, called acceleration coefficients; r1 and r2 are two
random numbers drawn uniformly in [0, 1], at each iteration Fig. 4: Schematic diagram of the simulated photovoltaic
t. P besti (t) is the personal best position of particle i and system.
d
and P = 0.02. TThe sampling time for the current and
voltage acquisition is 0.05 s. The proposed algorithm is
0.4
tested for two different configurations of partial shading. 0 1 2 3 4 5 6 7 8 9 10
Fig. 5 shows the various P -V characteristics corresponding
of the configurations. The first P -V curve is characterized 4
Ipv (A)
by the presence of five (5) maximum power points. The
2
global maximum point is located to the right of this curve.
The second configuration presents partial shading with the
0
moving of global maximum power point to the middle of the 0 1 2 3 4 5 6 7 8 9 10
P -V curve. Each shading configuration lasts 5 seconds.
100
The results of the dynamic tracking are shown in Fig.
Vpv (V)
6. Initially, the PSO method transmitted the first three duty
50
cycles and begins the optimization process. It can be seen
that the proposed technique is able to distinguish between 0
the global maximum (PGM P P = 146.72 W) and the local 0 1 2 3 4 5 6 7 8 9 10
maxima. At t = 5 s, the configuration of the shading GMPP is successfully located
200
changes. The proposed algorithm detects this change through
Ppv (w)
information on the power of the photovoltaic panel that
100
spents from P = 146.72 W to P = 72.64 W. The
process of the tracking is then re-initialised and the algorithm 0
has successfully locating the new global maximum which 0 1 2 3 4 5 6 7 8 9 10
corresponds to V = 45.86 V and I = 2.1 A. Time (s)
The performances of the PSO algorithm are evaluated in Fig. 6: Variation of duty cycle, PV current, PV voltage and
comparison with P &O algorithm. The results of the tracking PV power during GMPP tracking using PSO-MPPT.
are shown in Fig. 7. For P &O algorithm, a fixed perturbation
step of dP &O = 0.01 is imposed every 0.05 s. For the first
configuration, the P &O algorithm has successfully located
the GMPP, which is found to the right of the P -V charac- 0.5
teristic. Nevertheless, it is can be noticed that the tracking
d
1
150
Shading pattern 1
Shading pattern 2 0
0 1 2 3 4 5 6 7 8 9 10
100
Vpv (V)
100
50
Power (W)
0
0 1 2 3 4 5 6 7 8 9 10
200
50 Slow tracking speed LMPP
Ppv (w)
100
0
0 1 2 3 4 5 6 7 8 9 10
0
10 20 30 40 50 60 70 80 90
Time (s)
Voltage (V)
Fig. 7: Variation of duty cycle, PV current, PV voltage and
Fig. 5: P -V curves used in the simulation. PV power during GMPP tracking using P &O algorithm.
Power (W)
PV panel Buck-Boost 20
Load
(SM55) converter 10
0
0 5 10 15 20 25 30 35 40
Voltage (V)
PWM
40
GMPP Shading pattern 2
Isolation + driver
30
Power (W)
LMPP2
VPV 20
LV 25-P ADC LMPP1
IPV
LA 55-P ADC 10
0
FPGA-based PSO MPPT 0 5 10 15 20 25 30 35 40
Voltage (V)
Fig. 8: Schematic of connections in the experimental PV Fig. 9: Measured P -V curve under two partial shading
system with the FPGA-based PSO MPPT controller. patterns.
V. FPGA IMPLEMENTATION the second case, the P -V characteristic has three points
of maximum power. The global maximum power point,
The PSO algorithm is implemented on an FPGA circuit
PGM P P = 33.81 W is in the middle of the P -V curve at
XC5VLX50-1FFG676 of Vertex5 family. This circuit is
VGM P P = 17.25 V.
built around an ML501 development board [14]. The codes
are written in VHDL and are synthesized with ISE 10.1 of
Xilinx. Fig. 10(a) and (b) show the PV output voltage and the
PV output current obtained for the first and the second
shading patterns, respectively. The experimental results are
FPGAs are Very large Scale Integration (VLSI)
recorded for the two tests and the corresponding PV power
components. They are mainly constituted by configurable
logic blocks (CLB), configurable input/output blocs (IOB)
and programmable resources for interconnection.
Shading pattern 2
25 vol. 47, no. 1, pp. 367380, 2011.
[5] K. Ishaque, Z. Salam, A. Shamsudin, and M. Amjad, A direct control
20
based maximum power point tracking method for photovoltaic system
15 under partial shading conditions using particle swarm optimization
10 algorithm, Applied Energy, vol. 99, pp. 414422, 2012.
[6] Y.-H. Liu, S.-C. Huang, J.-W. Huang, and W.-C. Liang, A particle
5
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 swarm optimization-based maximum power point tracking algorithm
Time (s) for pv systems operating under partially shaded conditions, IEEE
Transactions on Energy Conversion, vol. 27, no. 4, pp. 10271035,
Fig. 11: Measured PV power waveforms under MPPT pro- 2012.
cess. [7] K.-H. Chao, Y.-S. Lin, and U.-D. Lai, Improved particle swarm op-
timization for maximum power point tracking in photovoltaic module
arrays, Applied Energy, vol. 158, pp. 609618, 2015.
[8] K. Ishaque and Z. Salam, A deterministic particle swarm optimization
maximum power point tracker for photovoltaic system under par-
is shown in Fig. 12. For the first configuration, it can tial shading condition, IEEE transactions on industrial electronics,
be noticed that the PSO method has successfully tracked vol. 60, no. 8, pp. 31953206, 2013.
[9] L. L. Jiang, D. L. Maskell, and J. C. Patra, A novel ant colony
the GMPP and the operating point is maintained around optimization-based maximum power point tracking for photovoltaic
V = 16.5 V and I = 2.15 A. Also in the second case, systems under partially shaded conditions, Energy and Buildings,
the PSO-MPPT implemented on FPGA effectively performed vol. 58, pp. 227236, 2013.
[10] J. Ahmed and Z. Salam, A maximum power point tracking (mppt)
the optimisation process. The true GMPP is tracked and for pv system using cuckoo search with partial shading capability,
the photovoltaic panel operating voltage is kept up around Applied Energy, vol. 119, pp. 118130, 2014.
V = 16.9 V. [11] M. F. N. Tajuddin, S. M. Ayob, Z. Salam, and M. S. Saad, Evolution-
ary based maximum power point tracking technique using differential
evolution algorithm, Energy and Buildings, vol. 67, pp. 245252,
VI. C ONCLUSION 2013.
[12] A. Mellit and S. A. Kalogirou, Mppt-based artificial intelligence
In this paper, FPGA implementation for PSO-MPPT techniques for photovoltaic systems and its implementation into field
method is proposed. The use of FPGA for the implemen- programmable gate array chips: Review of current status and future
perspectives, Energy, vol. 70, pp. 121, 2014.
tation of the MPPT techniques offers lower cost imple- [13] R. C. Eberhart, J. Kennedy et al., A new optimizer using particle
mentation with high performance. In addition, FPGAs add swarm theory, in Proceedings of the sixth international symposium
flexibility and robustness for the MPPT controller since on micro machine and human science, vol. 1. New York, NY, 1995,
pp. 3943.
they are very speed and truly parallel. The performances [14] http://www.xilinx.com.
of the PSO algorithm are verified under extreme partial
shading configurations and the proposed modular architec-
ture is designed using VHDL and implemented on Xilinx
Virtex5 (XC5VLX50-1FFG676) FPGA. Experimental results
highlight the interest of using the FPGAs chip for the design
of the MPPT controller and prouve the high accuracy of the
proposed scheme to handle the partial shading.