Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 12

Modeling and Optimum Performance Analysis of

Photovoltaic Arrays Using Fuzzy Logic Controller



1
Nur Mohammad,
2
M.R. Alam,
3
Md. Asiful Islam
3
Quazi,
4
Delwar Hossain
Dept. of Electrical & Electronic Engineering
Chittagong University of Engineering & Technology, Bangladesh
3
Bangladesh University of Engineering & Technology, Bangladesh

1
nureee_ruet@yahoo.com,
2
mra_eeecuet@yahoo.com,
3
asif0406041@gmail.com,
4
qdhossain@yahoo.com


AbstractThis paper presents a detailed mathematical and simulation model of PV array including maximum power
point tracking-the electronic power conditioning (PCS) system, on MATLAB/Simulink platform. The model includes PV
module and array for easy use on simulation stage. The proposed model is designed with a user-friendly icon and a dialog
box like Simulink block libraries. Considering the effect of solar irradiance and temperature changes, the output current
and voltage of PV modules are simulated and optimized using this model. A fuzzy logic based maximum power point
tracker is also developed using the presented model. The maximum power point tracker is tested in changing
environment of irradiance and/or temperature. It can successfully track the maximum power point more precisely and
rapidly than conventional perturb and observe based controller in these situations. The overall test results validate the
efficiency of the model as well as the fuzzy controller which can be used in associated research works.

Keywords Photovoltaic (PV) cell, Insolation, Solar power generation, Grid connected PV, Maximum power point
tracking (MPPT)

I. INTRODUCTION
Energy is one of the most indispensable parts for our living being in the world. Access to energy plays a crucial role
in accelerating economic growth and development activities of a country. However the existing power plants and
utility grid is not able to cover the demand fully. Moreover the extreme use of fossil fuels produces harmful gases
which tempted to destroy the natural ecosystem and trigger the environment pollution. Huge emission of carbon
dioxide is going to destroy the ozone layer of the universe as a result global warming is threat to all. On the other
hand, adequate photon energy (sunshine) which is available on the earth surface throughout the year. Solar energy in
a single day is sufficient for the entire inhabitant of the earth. Photovoltaic renewable energy system may be one of
the promising solutions to ease the existing energy crisis considerably in the world if it is avail in a sustainable
manner. Photovoltaic power generation using solar cells that can convert solar light energy directly to DC electricity
promises to be a clean, widely applicable renewable energy source. Sustainable growth of photovoltaic power
generation is also reducing dependence and pressure on fossil fuel significantly. Researchers have shown great
interest on photovoltaic (PV) systems and technology over the past decades. Advancement in cell efficiency and
system reliability has given wide acceptance of PV technology for both standalone and grid interactive power
generation. According to the renewable energy unit of European Commission, the capacity of installed grid
connected PV grew at an average rate of 37% per year over the years 2002-2008 [1].







Fig. 1: Grid Connected Photovoltaic Installations [2]
At the end of 2010, the installed capacity in the USA was nearly 11,000 megawatts (MW) and the worldwide
installed capacity was over 16,000 MW (fig. 1). Photovoltaic renewable energy is recognized worldwide as a cost-
effective, environmentally friendly solution to energy shortages. The output current vs. voltage curve of a
photovoltaic cell shows a non-linear characteristic. From this nonlinear relationship, it can be observed that there is a
unique point, under given illumination and temperature, at which the cell produces maximum power, the so-called
maximum power point (MPP). This point occurs when the rate of change of the power with respect to the voltage is
equal to zero [3]. The output power of PV cell varies with depending mainly on the level of solar radiation and
ambient temperature corresponding to a specific weather condition. The MPP will change with external environment
of PV cell. An important consideration in achieving high efficiency in PV power generation system is to match the
PV source and load impedance properly for any weather conditions, thus obtaining maximum power generation. The
tracking process of maximum power point is called maximum power point tracking (MPPT).


II. PHOTOVOLTAIC ARRAY MODEL

The photovoltaic array is an arrangement of several modules connected in series/parallel to get a suitable power and
voltage. The basic element of the photovoltaic array is the solar cell which usually uses a p-n junction diode in a
physical configuration to produce photovoltaic electricity. Solar cell is basically a p-n junction fabricated in a thin
wafer or layer of semiconductor.. Being exposed to the sunlight, photons with energy greater than the band-gap
energy of the semiconductor are absorbed and create some electron-hole pairs proportional to the incident irradiation
as shown in figure 3. Under the influence of the internal electric fields of the p- n junction, these carriers are swept
apart and create a photocurrent which is directly proportional to solar insolation [4]. PV system naturally exhibits a
nonlinear I-V and P-V characteristics which vary with the intensity of sunlight exposed and cell temperature.



Fig. 2: PV Module in the Renewable energy Lab of CUET. Fig. 3: PV Cell Structure, Module and Array.


A PV cell is represented by a simplified equivalent circuit as the one given in Fig. 4 and by an equation as in (1).
|
|
.
|

\
|

+
=
cell s
o
cell o ph
c
cell
I R
I
I I I
q
nkT
V ( ln ) (1)
Here, q is charge of electron, n is the ideality factor of cell which depends on the PV technology [5], k is Boltzmann
constant (1.3810-23), Icell is cell output current, I
ph
is photocurrent which is a function of cell operating temperature
and solar irradiance, I
o
is reverse saturation current of diode, Rs is series resistance of cell, T
c
is cell operating
temperature and Vcell is cell output voltage. Photocurrent mainly depends on the solar insolation and cells working
temperature which

(2)

Where, I
sc
is the short circuit current at 25
o
C temperature (reference) and 1kW/m
2
irradiance, K
1
is cells short
circuit current temperature co-efficient, G is the solar insolation in kW/m
2
, T
o
is the cells reference temperature.


Fig. 4: Simplified equivalent circuit of a solar cell.

Also, the cells saturation current varies the cells operating temperature which may expressed as,
] / )
1 1
( exp[ ) / (
3
kn
T T
qE T T I I
c o
g o c so s
= (3)
In (3), I
so
is the cells reverse saturation current at reference temperature and solar radiation 1kW/m
2
, E
g
is the bang-
gap energy of the semiconductor used in the cell. I
so
can be found from the following equation,
G T T K I I
o c sc ph
)] ( [
1
+ =
] 1 /[exp
|
|
.
|

\
|
=
o s
oc
so s
T nkN
qV
I I (4)
In (4), V
oc
is the open circuit voltage under standard condition and N
s
is the no. of cells connected in series. An even
more exact mathematical description of a solar cell, which is called the double exponential model, is derived from
the physical behavior of solar cell constructed from polycrystalline silicon. This model is composed of a light-
generated current source, one diode, a series resistance and a parallel resistance [6]. However, there are some
limitations to develop expressions for the V-I curve parameters subject to the implicit and nonlinear nature of the
model. The shunt resistance R
p
is inversely related with shunt leakage current to the ground. In general, the PV
efficiency is insensitive to variation in R
p
and the shunt-leakage resistance can be assumed to approach infinity
without leakage current to ground. On the other hand, a small variation in R
s
will significantly affect the PV output
power.


III. DERIVING MODEL PARAMETERS

The model parameters can be found from the manufacturers data sheet supplied with the PV module. The most
important model parameters are the open circuit voltage, V
oc
and short circuit current, I
sc
under specified test
conditions (at temperature 25
o
C, AM1.5 and irradiance 1kW/m2). Voltage and current at maximum power are also
specified for that particular condition. Given the PV open circuit voltage V
oc
at reference temperature and ignoring
the shunt-leakage current, the reverse saturation current at reference temperature can be approximately obtained as,
] 1 /[exp
|
|
.
|

\
|
=
c s
oc
sc so
T nkN
qV
I I (5)
Here, Ns is the number of cells in series in the PV module.
IV. GENERALIZED PV MODEL CHARACTERISTICS

As the output power from a PV module varies with the variation in insolation as well as temperature, we have
considered these parameters in the development of our PV simulation model. The model is developed in masked
subsystem form with several stages in Matlab/Simulink platform [7]-[14]. The V
oc
, I
sc
(in standard condition
mentioned above), T
o
, n, E
g
, K
1
are taken as input parameters from the user. V
oc
=22.2V and I
sc
=5.45A used by us is
from the datasheet of the Brand and Model: Solerex-MSX-40 PV module which is available in the Renewable
Energy Laboratory of EEE department in CUET. One of the samples is shown in figure 2; where Ns is 36 and no. of
parallel path (N
p
) is 1. The values of Ns and N
p
can also be given as input parameters. Both R
s
and R
p
are calculated
in the initialization option of the masked subsystem. This initialization is carried out every time at the starting of
simulation. Both directly coupled dc load and ac load after inversion are connected at the output of the array and the
simulation results resemble the actual results. Only the current vs. voltage and power vs. voltage curves at the output
of the PV array for different irradiances and temperatures are shown in Fig. 5-6. The output curves at the dc and ac
loads are not shown here for concision.

Fig. 5: Output Current -Voltage and Power - Voltage characteristics for different insolation.

Fig. 6: Output Current -Voltage and Power-Voltage characteristics for different temperature
VI. MAXIMUM POWER POINT TRACKING METHODS
The power supplied by PV arrays depends on the irradiation intensity, temperature, and PV array voltage. Usually,
the PV output voltage changes with temperature, while the PV output current changes mainly with insulation. The
photovoltaic system displays an inherently nonlinear current-voltage (I-V) relationship as well as power-voltage (P-
V), requiring an online search and identification of the optimal maximum operating power point as given in figure 7.
MPPT controller is a power electronic DC/DC converter or DC/AC inverter system inserted between the PV array
and its electric load to maximize the available photovoltaic energy utilization. In figure 8 of general MPPT system,
during the period when open circuit voltage is sensed, S is closed and Q is opened. This will disconnect the power
conditioner and load from the module. The capacitor C gets charged to a voltage that is proportional to V
oc
. Then S
is open and Q is closed for normal operation of the module and load. It is to be noted that, the duty cycle for
switching S should be very small, less than 1%, so that the normal operation is not affected.




Fig. 7: (I-V) and (P-V) characteristics of a PV array [4]. Fig. 8: PV panel with General MPPT system

The algorithm works as follow, since there is no reference cell and still we need to have the V
mp
value for
comparison, we need to have to measure the V
oc
of the same cell. This is done with the help of switch S. While
measuring V
oc
, it is need to be disconnecting rest of the circuitry. This is done with active switch Q. A voltage V
proportional to the module voltage is measured. This voltage is compared with a reference V
mp
*.If these two
voltages match, maximum power is transferred to the load through the DC-DC converter. If these two voltages do
not match, then error signal is generated. Depending on the polarity of the error signal, duty cycle is increased or
decreased such that voltages match. The use of MPPT can make full use of the system capacity and thus reducing
the cost of the system. A number of methods for MPPT have been reported in the literatures [16].


VII. A NOVEL FUZZY LOGIC CONTROLLER FOR MPPT
Due to a nonlinear current voltage characteristic of PV cells, it is difficult to track the MPP. The situation gets worse
when the solar irradiance and/or cell operating temperature changes. Numerous techniques have been proposed so
far to realize MPP. These MPPT methods vary in complexity, sensors required, convergence speed, cost, range of
effectiveness, implementation hardware, popularity, and in other respects. Among them constant voltage method,
the perturb-and observe (P&O) method, the incremental conductance method etc. are most common [16]-[17].The
P&O MPPT algorithm is mostly used, due to its ease of implementation. A drawback of P&O MPPT technique is
that, at steady state, the operating point oscillates around the MPP giving rise to the waste of some amount of
available energy and the system accuracy is low [18]. Incremental Conductance method has measurement
parameters as same as P&O method. However, from derivation of this method, it can be seen that it has no
consideration about change of temperature. In a nutshell, in fast changing environment these conventional MPPT
methods face a great deal of difficulty to track the actual MPP. To overcome the difficulties of commonly used
MPPT methods a unique fuzzy logic controller is proposed in this paper. The proposed controller can track the MPP
not only accurately but also its dynamic response is very fast in response to the change of environmental parameters
in comparison with the conventional MPPT algorithms.
A fuzzy control system essentially embeds the experience and intuition of a human plant operator and sometimes
those of a designer and/or researcher of a plant. The design of a conventional control system is normally based on
the mathematical model of a plant. If an accurate mathematical model is available with known parameters a
controller can be designed for specified performance. But in some cases an accurate mathematical model is not
always available. Moreover, the response of a conventional controller is not always precise and fast enough if load
and system parameters vary abruptly. In these situations, fuzzy logic controller (FLC) can be a very good alternative
[19]. FLC can achieve robust response of a system with uncertainty and nonlinear characteristics. It has the
advantages of working with imprecise inputs, not needing an accurate mathematical model, and handling
nonlinearity. A MPP search based on fuzzy heuristic rules, which does not need any parameter information, consists
of a stepwise adaptive search, leads to fast convergence and is sensorless with respect to sunlight and temperature
measurements [21]. The control objective is to track and extract maximum power from the PV arrays for a given
solar insolation level and cell operating temperature. The maximum power corresponding to the optimum operating
point is determined for a different solar insolation level and temperature. A block diagram of the entire fuzzy logic
controller based MPPT system is shown in Fig. 9.


Fig.9: Functional block of FLC based MPPT system [20]

The fuzzy controller consists of three functional blocks as fuzzification, Fuzzy rule base and Defuzzification.
These functions are described as follows:
a. Fuzzification

The proposed FLC in this paper takes one input which is the slope (n) of the power vs. voltage curve at a sampling
instant n and gives output the change in voltage ) (n V A for the sampling instant 1 + n . The variable ) (n P A and
) (n V A are expressed as follows:
) 1 ( ) ( ) (
) 1 ( ) ( ) (
= A
= A
n V n V n V
n P n P n P

Where ) (n P and ) (n V are the power and voltage of PV array, respectively. So, ) (n P A and ) (n V A are zero at the
maximum power point of a PV array. In Fig. 10, the membership function of the input and output variables is shown
which is assigned eleven fuzzy sets, including positive very big (PVB), positive big (PB), positive medium (PM),
positive small (PS), positive very small (PVS), zero (ZE), negative very small (NVS), negative small (NS), negative
medium (NM), negative big (NB) and negative very big (NVB). The membership functions are denser at the center
in order to provide more precise output at the MPP. zero (ZE), negative very small (NVS), negative small (NS),
negative medium (NM), negative big (NB) and negative very big (NVB). The membership functions are denser at
the center in order to provide more precise output at the MPP.

b. Fuzzy rule base

The fuzzy rule base should be such that it can generate an output which is change in voltage ) (n V A based on the
magnitude of the input, 1 + n to operate the PV array at a voltage corresponding to MPP. At MPP, the input
variable is zero. So, the output, change in voltage ) (n V A should also be zero. But, a mean should be there to avoid
the PV array voltage locking in a local maximum rather than proceed towards the actual value. Rule Base Table for
Fuzzy Logic controller is given in table 1.


Fig. 10 The membership functions of input and output variables.

Table 1: Rule Base Table for Fuzzy Logic controller
Input NVB NB NM NS NVS ZE PVS PS PM PB PVB
Output NVB NB NM NS NVS ZE PVS PS PM PB PVB

C. Defuzzification
The most common center of gravity method for defuzzification is used in this paper. It computes the center of
gravity from the final fuzzy space, and yields a result which is highly related to all of the elements in the same fuzzy
set.

VIII. RESULT AND DISCUSSION

As mentioned previously, the common methods to track MPP have several drawbacks. Among them, the P&O
method shows slow tracking speed and oscillations about MPP. In this paper the performance of FLC is compared
with that of P&O method to show FLCs superiority in tracking MPP over other conventional methods. The
simulation results are shown in Fig.12-14. Simulation is performed from 0 to 0.5s. The irradiance and temperature
profile are shown in Fig. 11 during this period. In P&O method, if step size of input variable is very small, the
accuracy in tracking MPP is high but tracking speed becomes too slow. On the other hand if the step size is
increased, accuracy deteriorates (oscillation about a mean point occurs) but tracking speed increases. Both accuracy
and speed of tracking cannot be achieved simultaneously in this simultaneously. The proposed fuzzy logic based
method is even better with respect to conventional fuzzy methods which can produce unexpected results when
abrupt parameter changes occur in real time. The simulation results of P&O method shown here has step size
relatively large to match the tracking speed of that of FLC. But in this case it shows increased oscillation. At the
start of simulation, output of the PV array is assumed to be set at zero.


Fig. 11: Irradiance and temperature changes during simulation.


Fig. 12 Output voltage at different environmental condition with FLC (red) and conventional P&O controller (blue).


Fig. 13: Output current at different environmental condition with FLC (red) and conventional P&O controller (blue).


Fig. 14: Output power at different environmental condition with FLC (red) and conventional P&O controller (blue).

IX. CONCLUSION

A complete generalized model of PV array along with fuzzy logic based MPPT controller is developed in this paper.
The simulation results give encouraging output on the performance of PV system and thus validate the effectiveness
of the model. The model is also simple and user friendly.Fuzzy logic toolbox of Simulink is used to achieve the
FLC. The specialty of this FLC is that the rule base is very simple which increases the speed of computation of the
processor. That is why the proposed FLC can track the MPPT very fast and accurately even if the environment
changes abruptly. The performance of the proposed controller is compared with that of a conventional P&O
controller and the worth of the fuzzy controller is obvious. The proposed controller can be used in any real PV
system with the help of digital signal processor to get good results.


REFERENCES

[1] Arnulf Jger-Waldau, Photovoltaik und globale Energieversorgung, European Commission, Distributed Generation
JRC, Ispra Institute for Renewable Energies, 2011
[2] Nur Mohammad, M.R. Alam, P.K. Shadhu Khan,

J. akhtar and M. M. K. Bhuiya, The Integration Technologies of
Photovoltaic power to the Utility Grid, 1
st
International Conference on Mechanical Engineering and renewable
Energy, Bangladesh, 2011.
[3] Mohammad H. Rashid, Power Electronics Handbook, San Diago, USA, Academic Press, pp. 554-562, 1997.
[4] Z. M. Salameh, D, Fouad, and A. William, "Step-down maximum power point tracker for photovoltaic systems," Solar
Energy, Vol. 46, No. 5, pp. 279-282, 1991.
[5] M. Buresch: Photovoltaic Energy Systems Design and Installation, McGraw-Hill, New York, 1983.
[6] Roger Messenger, Jerry Ventre, Photovoltaic System Engineering,\2nd ed., Florida, USA, CRC Press, 1999.
[7] J. C. H. Phang, D. S. H. Chan, and J. R. Philips, Accurate analytical method for the extraction of solar cell model
parameters, Electronics Letters, vol. 20, no. 10, pp.406-408, 1984.
[8] Md. Asiful Islam, Nur Mohammad, P.K. Shadhu Khan, "Modeling and Performance Analysis of a Generalized
Photovoltaic Array in Matlab" International Conference on Power electronics, Drives and energy Systems (PEDES)
and 2010 Power India, India, 2010.
[9] http://www.mathworks.com.
[10] J. A. Gow and C. D. Manning, Development of a photovoltaic array model for use in power-electronics simulation
studies, IEE Proceedings- Electric Power Applications, vol. 146, no. 2, pp.193-199, 1999.
[11] H. L. Tsai, C. S. Tu, Y. Su, Development of Generalized photovoltaic model using MATLAB/SIMULINK,
Proceedings of the World Congress on Engineering and Computer Science, 2008.
[12] Wang N. Chun, S. Zuo, K. Yukita, Y. Goto, K. Ichiyanagi, Research on PV model and MPPT methods in Matlab,
Asia Pacific Power and Energy Engineering Conferences, IEEE, pp. 1-4, 2010.
[13] P. S. Revankar, W. Z. Gandhare, A. G. Maximum Power Point Tracking for PV Systems Using MATLAB/Simulink,
2nd International Conference on Machine Learning and Computing, IEEE, pp. 8-11, 2010.
[14] Altas, I.H.; Sharaf, A.M., A Photovoltaic array simulation model for Matlab/Simulink GUI Environment, ICCEP07
International Conference on Clean Electrical Power ,pp. 341-345, 2007.
[15] Ropp, M.E., Gonzalez, S, Development of a MATLAB/Simulink Model of a Single-Phase Grid-Connected
Photovoltaic System, IEEE transaction on Energy Conversion, vol: 24, issue:1, pp-195-202, 2009.
[16] Trishan Esram, and Patrick L. Chapman, "Comparison of Photovoltaic Array Maximum Power Point Tracking
Techniques," IEEE Transactions on Energy Conversion, vol. 22, No. 2, pp. 439-449, June. 2007.
[17] Nicola Femia, Giovanni Petrone, and Massimo Vitelli, H Iwamoto, Optimization of Perturb and Observe Maximum
Power Point Tracking Method, IEEE Tran. On Power Electronics, vol. 20, pp. 963-973, July 2005.
[18] Trishan Esram, and Patrick L. Chapman, "Comparison of Photovoltaic Array Maximum Power Point Tracking
Techniques," IEEE Transactions on Energy Conversion, vol. 22, No. 2, pp. 439-449, June. 2007.
[19] X. Li, K. Dong, H. Wu , Study on the Intelligent Fuzzy Control Method for MPPT in Photovoltaic Voltage Grid
System, 3rd IEEE Conference on Industrial Electronics and Applications, pp.708-711, 2008.
[20] Md. Asiful Islam, A. B. Talukdar, Nur Mohammad, P.K. Shadhu Khan, "Maximum Power Point Tracking of
Photovoltaic Arrays in Matlab Using Fuzzy Logic Controller" Annual IEEE India conference, India, 2010.
[21] G. Zeng, Q. Liu, An Intelligent Fuzzy Method for MPPT of Photovoltaic arrays, 2nd International Symposium on
Computational Intelligence and Design, IEEE, 2009.

You might also like