Mathematical Problems in Engineering

Volume 2012 (2012), Article ID 506709, 10 pages

http://dx.doi.org/10.1155/2012/506709

## PV Maximum Power-Point Tracking by Using Artificial Neural Network

^{1}Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz 51666-16471, Iran^{2}Department of Mechanical and Industrial Engineering, Concordia University, Montreal, QC, Canada

Received 6 July 2011; Revised 6 November 2011; Accepted 30 November 2011

Academic Editor: Mohammad Younis

Copyright © 2012 Farzad Sedaghati et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

In this paper, using artificial neural network (ANN) for tracking of maximum power point is discussed. Error back propagation method is used in order to train neural network. Neural network has advantages of fast and precisely tracking of maximum power point. In this method neural network is used to specify the reference voltage of maximum power point under different atmospheric conditions. By properly controling of dc-dc boost converter, tracking of maximum power point is feasible. To verify theory analysis, simulation result is obtained by using MATLAB/SIMULINK.

#### 1. Introduction

Recently, many countries of all over the world have paid a lot of their attention to the development of a renewable energy against depletion of fossil fuels in the coming future. The renewable energy means that the energy density is as high as fossil fuel or higher than that and the clean energy does not emit any polluted substances such as nitrogenous compounds, sulfate compounds, and dust. Hydrogen, as a future energy source, is thought as an alternative of fossil fuels in view of environment and energy security, because hydrogen itself is clean, sustainable, and emission-free. Hence, there are many ongoing active studies on the production and application of hydrogen in our society.

The main method for capturing the sun’s energy is the use of photovoltaic. Photovoltaic (PV) utilizes the sun’s photons or light to create electricity. PV technologies rely on the photoelectric effect first described by a French physicist Edmund Becquerel in 1839. Solar cells and modules using this PV effect are ideal energy generators that they require no fuel, generate no emissions, have no moving parts, can be made in any size or shape, and rely on a virtually limitless energy source, namely, the sun. The photoelectric effect occurs when a beam of ultraviolet light, composed of photons, strikes one part of a pair of negatively charged metal plates. This causes electrons to be “liberated” from the negatively charged plate. These free electrons are then attracted to the other plate by electrostatic forces. This flowing of electrons is an electrical current. This electron flow can be gathered in the form of direct current (DC). This DC can then be converted into alternating current (AC), which is the primary form of electrical current in electrical power systems that are most commonly used in buildings. PV devices take advantage of the fact that the energy in sunlight will free electrical charge carriers in certain materials when sunlight strikes those materials. This freeing of electrical charge makes it possible to capture light energy as electrical current [1].

In general, photovoltaic (PV) arrays convert sunlight into electricity. DC power generated depends on illumination of solar and environmental temperature which are variable. It is also varied according to the amount of load. Under uniform irradiance and temperature, a PV array exhibits a current-voltage characteristic with a unique point, called maximum power point, where the PV array produces maximum output power. In order to provide the maximum power for load, the maximum-power-point-tracking (MPPT) algorithm is necessary for PV array. Briefly, an MPPT algorithm controls converters to continuously detect the instantaneous maximum power of the PV array [2].

#### 2. Photovoltaic Modelling

##### 2.1. Ideal PV Cell Model

The equivalent circuit of the ideal PV cell is shown in Figure 1. The basic equation from the theory of semiconductors [3] that mathematically describes the *I*-*V* characteristic of the ideal PV cell is as follows:
where is the current generated by the incident light (it is directly proportional to the sun irradiation), is the Shockley diode equation, is the reverse saturation or leakage current of the diode, *q* is the electron charge (C), *k* is the Boltzmann constant ( J/K), *T* (in Kelvin) is the temperature of the p-n junction, and “*a*” is the diode ideality constant [4].

##### 2.2. Modeling the PV Array

Equations (2.1) and (2.2) of the PV cell do not represent the *V-I* characteristic of a practical PV array. Practical arrays are composed of several connected PV cells and the observation of the characteristics at the terminals of the PV array requires the inclusion of additional parameters to the basic equation [3, 4]:
where and are the PV current and saturation currents, respectively, of the array and is the thermal voltage of the array with cells connected in series. Cells connected in parallel increase the current and cells connected in series provide greater output voltages. If the array is composed of parallel connections of cells, the PV and saturation currents may be expressed as . In (2.3), is the equivalent series resistance of the array and is the equivalent parallel resistance. Equation (2.3) describes the single-diode model presented in Figure 1 [4].

All PV array datasheets bring basically the following information: the nominal open-circuit voltage (), the nominal short-circuit current (), the voltage at the MPP (), the current at the MPP (), the open-circuit voltage/temperature coefficient (), the short-circuit current/temperature coefficient (), and the maximum experimental peak output power (). This information is always provided with reference to the nominal condition or standard test conditions (STCs) of temperature and solar irradiation. Some manufacturers provide *I-V* curves for several irradiation and temperature conditions. These curves make easier the adjustment and the validation of the desired mathematical *I-V* equation. Basically, this is all the information one can get from datasheet of PV arrays [4].

Electric generators are generally classified as current or voltage sources. The practical PV device presents hybrid behavior, which may be of current or voltage source depending on the operating point. The practical PV device has a series resistance whose influence is stronger when the device operates in the voltage source region and a parallel resistance with stronger influence in the current source region of operation. The resistance is the sum of several structural resistances of the device. basically depends on the contact resistance of the metal base with the p semiconductor layer, the resistances of the p and n bodies, the contact resistance of the n layer with the top metal grid, and the resistance of the grid [5]. The resistance exists mainly due to the leakage current of the p-n junction and depends on the fabrication method of the PV cell. The value of is generally high and some authors neglect this resistance to simplify the model. The value of is very low, and sometimes this parameter is neglected too.

The *V-I* characteristic of the PV array, shown in Figure 2, depends on the internal characteristics of the device (, ) and on external influences such as irradiation level and temperature.

The amount of incident light directly affects the generation of charge carriers and, consequently, the current generated by the device. The light-generated current () of the elementary cells, without the influence of the series and parallel resistances, is difficult to determine. Datasheets only inform the nominal short-circuit current (), which is the maximum current available at the terminals of the practical device. The assumption is generally used in the modeling of PV devices because in practical devices the series resistance is low and the parallel resistance is high. The light-generated current of the PV cell depends linearly on the solar irradiation and is also influenced by the temperature according to the following equation (2.4), [2, 4, 6–8]
where (in amperes) is the light-generated current at the nominal condition (usually 25°C and 1000 W/m^{2}), ( and being the actual and nominal temperatures (in Kelvin), resp.), *G* (watt per square meter) is the irradiation on the device surface, and is the nominal irradiation. is the thermal voltage of series-connected cells at the nominal temperature .

The saturation current of the PV cells that compose the device depend on the saturation current density of the semiconductor (, generally given in [A/cm^{2}]) and on the effective area of the cells. The current density depends on the intrinsic characteristics of the PV cell, which depend on several physical parameters such as the coefficient of diffusion of electrons in the semiconductor, the lifetime of minority carriers, and the intrinsic carrier density [9]. In this paper the diode saturation current is approximated by the fixed value (6 mA).

The value of the diode constant “*a*” may be arbitrarily chosen. Many authors discuss ways to estimate the correct value of this constant. Usually, and the choice depends on other parameters of the *I-V* model. Some values for “*a*” are found in [6] based on empirical analyses. Because “*a*” expresses the degree of ideality of the diode and it is totally empirical, any initial value of “*a*” can be chosen in order to adjust the model. The value of “*a*” can be later modified in order to improve the model fitting, if necessary. This constant affects the curvature of the *V-I* curve and varying *a* can slightly improves the model accuracy [4].

#### 3. Maximum Power-Point Tracking

##### 3.1. Maximum power-point tracking methods

By change of environment temperature and irradiance, the maximum power is variable (Figure 3). Since the maximum available energy of solar arrays continuously changes with the atmospheric conditions, a real-time maximum power-point tracker is the indispensable part of the PV system. Proposed maximum power point tracking (MPPT) schemes in the technical literature [10] can be divided into three different categories [11].

Direct methods.

Artificial intelligence methods.

Indirect methods.

In the direct methods, which are also known as true seeking methods, the MPP is searched by continuously perturbing the operating point of the PV array. Under this category, Perturb and Observe (P&O) [12], Hill Climbing (HC) [13], and Incremental Conductance (INC) [14] schemes are widely applied in PV systems. P&O scheme involves perturbing the operation voltage of the PV array to reach the MPP. Analogous to P&O scheme, hill climbing method perturbs the duty cycle of the dc-dc interface converter. Simplicity is the main feature of these methods; however, intrinsic steady state oscillation limits these methods to low-power applications. Reduced steady state oscillation is possible with the incremental conductance method, which is based on the fact that the slope of the power versus voltage is zero at the MPP. Artificial intelligence and indirect methods have been proposed to improve the dynamic performance of MPP tracking. Concentrating on nonlinear characteristics of the PV arrays, the artificial intelligence methods provide a fast, and yet, computationally demanding solution for the MPPT problem.

The indirect methods are based on extracting the MPP of the array from its output characteristics. Fractional open-circuit voltage (OCV) [15] and short-circuit current (SCC) [16] schemes provide a simple and effective way to obtain the MPP.

##### 3.2. MPPT by Using Neural Network

In this paper for tracking maximum power point, an artificial neural network is used. A three-layer neural network is used to reach MPP, which is shown in Figure 4.

Temperature (*T*) and irradiance (*G*) are two input variables and voltage of MPP () is the output variable of ANN. It is necessary to obtain some data as input and output variable to train the neural network. Consequently, weights of neurons in different layers are acquired. PV model programming in MATLAB is used in order to obtain data. There are several methods to train ANN. In this paper error back propagation method is used to train the ANN.

After training the ANN and specification of neuron weights, for any *T* and *G* as inputs of ANN, output of ANN is the . Now, current of maximum power point () can be obtained by using *V-I* characteristic of the modeled PV. Consequently, maximum power () is reached by multiplying and .

Figure 5 shows PV and maximum power point tracker system, which is composed of a dc-dc boost converter and neural network-based control unit. In every moment to control chopper with specified and duty cycle of chopper is obtained by the following equation:

#### 4. Simulation Results

To verify theoretical analysis mentioned in previous sections, a stand-alone PV system which is connected to a boost dc-dc converter is simulated by using MATLAB/SIMULINK. The simulated model characteristics are as shown in Table 1.

First, the neural network model is trained by series of data containing temperature, irradiance, and voltage of maximum power point. Error back propagation method is used to train ANN. After getting neurons weights, the neural network model is simulated by using MATLAB/SIMULINK and jointed to the control unit. Now, for any and as inputs of ANN, the output is related to automatically.

Simulation is done in three states with three different temperatures and irradiances. Three different temperatures and irradiances, which is applied in simulation, are shown in Figure 6. The neural network output which is reference voltage of maximum power point () for these three pairs of *T* and *G* is shown in Figure 7(a). By specification of reference current of power point () is obtained from control unit (Figure 7(b)).

By applying and to the chopper control unit, switching pulses are generated in such a way that the output voltage and current of PV track the and . In Figure 8 output voltage and current of PV are shown. It is obvious from this figure that output voltage and current of PV are tracking and . By comparison of reference of maximum power and power which is drawn from PV**, it can be found that the maximum power reference is tracked (Figure 9). As there figures show, in voltage, current, and consequently maximum power-point tracking, control system has a good dynamic performance.

Figure 10 shows output voltage of chopper which can be applied to charge a battery or input voltage of a regulator converter.

#### 5. Conclusion

This paper discusses neural network-based MMPT. Under any variation in atmospheric conditions, by using neural network, point of maximum power is specified fast and precisely. Another advantage of the neural network in PV maximum power-point tracking is its better dynamic performance in comparison with the other methods. Also the maximum power point is tracked by dc-dc boost chopper. So the maximum power solar energy and the best efficiency are obtained.

#### References

- S. J. Lee, H. Y. Park, G. H. Kim et al., “The experimental analysis of the gridconnected PV system applied by POS MPPT,” in
*Proceedings of the International Conference on Electrical Machines and Systems (ICEMS '07)*, pp. 1786–1791, Seoul, Korea, October 2007. View at Publisher · View at Google Scholar · View at Scopus - H. H. Lee, L. M. Phuong, P. Q. Dzung, N. T. Dan Vu, and L. D. Khoa, “The new maximum power point tracking algorithm using ANN-based solar PV systems,” in
*Proceedings of the IEEE Region 10 Conference (TENCON '10)*, pp. 2179–2184, Fukuoka, Japan, November 2010. View at Publisher · View at Google Scholar · View at Scopus - H. S. Rauschenbach,
*Solar Cell Array Design Handbook*, Van Nostrand Reinhold, NewYork, NY, USA, 1980. - M. G. Villalva, J. R. Gazoli, and E. R. Filho, “Comprehensive approach to modeling and simulation of photovoltaic arrays,”
*IEEE Transactions on Power Electronics*, vol. 24, no. 5, pp. 1198–1208, 2009. View at Publisher · View at Google Scholar · View at Scopus - F. Lasnier and T. G. Ang,
*Photovoltaic Engineering Handbook*, Adam Hilger, New York, NY, USA, 1990. - W. De Soto, S. A. Klein, and W. A. Beckman, “Improvement and validation of a model for photovoltaic array performance,”
*Solar Energy*, vol. 80, no. 1, pp. 78–88, 2006. View at Publisher · View at Google Scholar · View at Scopus - Q. Kou, S. A. Klein, and W. A. Beckman, “A method for estimating the long-term performance of direct-coupled PV pumping systems,”
*Solar Energy*, vol. 64, no. 1–3, pp. 33–40, 1998. View at Publisher · View at Google Scholar · View at Scopus - A. Driesse, S. Harrison, and P. Jain, “Evaluating the effectiveness of maximum power point tracking methods in photovoltaic power systems using array performance models,” in
*Proceedings of the IEEE 38th Annual Power Electronics Specialists Conference (PESC '07)*, pp. 145–151, Orlando, Fla, USA, June 2007. View at Publisher · View at Google Scholar · View at Scopus - K. Nishioka, N. Sakitani, Y. Uraoka, and T. Fuyuki, “Analysis of multicrystalline silicon solar cells by modified 3-diode equivalent circuit model taking leakage current through periphery into consideration,”
*Solar Energy Materials and Solar Cells*, vol. 91, no. 13, pp. 1222–1227, 2007. View at Publisher · View at Google Scholar · View at Scopus - T. Esram and P. L. Chapman, “Comparison of photovoltaic array maximum power point tracking techniques,”
*IEEE Transactions on Energy Conversion*, vol. 22, no. 2, pp. 439–449, 2007. View at Publisher · View at Google Scholar · View at Scopus - V. Salas, E. Olías, A. Barrado, and A. Lázaro, “Review of the maximum power point tracking algorithms for stand-alone photovoltaic systems,”
*Solar Energy Materials and Solar Cells*, vol. 90, no. 11, pp. 1555–1578, 2006. View at Publisher · View at Google Scholar · View at Scopus - O. Wasynczuk, “Dynamic behavior of a class of photovoltaic power systems,”
*IEEE Transactions on Power Apparatus and Systems*, vol. 102, no. 9, pp. 3031–3037, 1983. View at Publisher · View at Google Scholar · View at Scopus - E. Koutroulis, K. Kalaitzakis, and N. C. Voulgaris, “Development of a microcontroller-based, photovoltaic maximum power point tracking control system,”
*IEEE Transactions on Power Electronics*, vol. 16, no. 1, pp. 46–54, 2001. View at Publisher · View at Google Scholar · View at Scopus - K. H. Hussein, I. Muta, T. Hoshino, and M. Osakada, “Maximum photovoltaic power tracking: an algorithm for rapidly changing atmospheric conditions,”
*IEE Proceedings: Generation, Transmission and Distribution*, vol. 142, no. 1, pp. 59–64, 1995. View at Publisher · View at Google Scholar · View at Scopus - J. J. Schoeman and J. D. van Wyk, “A simplified maximal power controller for terrestrial photovoltaic panel arrays,” in
*Proceedings of the IEEE 13th Annual Power Electronics Specialists Conference (PESC '82)*, pp. 361–367, 1982. View at Publisher · View at Google Scholar - M. A. S. Masoum, H. Dehbonei, and E. 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, pp. 514–522, 2002. View at Publisher · View at Google Scholar · View at Scopus