- About this Journal ·
- Abstracting and Indexing ·
- Advance Access ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

International Journal of Photoenergy

Volume 2013 (2013), Article ID 762946, 10 pages

http://dx.doi.org/10.1155/2013/762946

## Photovoltaic System Modeling with Fuzzy Logic Based Maximum Power Point Tracking Algorithm

Faculty of Engineering, University of Malaya, 50670 Kuala Lumpur, Malaysia

Received 15 April 2013; Accepted 15 June 2013

Academic Editor: Jun-Ho Yum

Copyright © 2013 Hasan Mahamudul 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

This paper represents a novel modeling technique of PV module with a fuzzy logic based MPPT algorithm and boost converter in Simulink environment. The prime contributions of this work are simplification of PV modeling technique and implementation of fuzzy based MPPT system to track maximum power efficiently. The main highlighted points of this paper are to demonstrate the precise control of the duty cycle with respect to various atmospheric conditions, illustration of PV characteristic curves, and operation analysis of the converter. The proposed system has been applied for three different PV modules SOLKAR 36 W, BP MSX 60 W, and KC85T 87 W. Finally the resultant data has been compared with the theoretical prediction and company specified value to ensure the validity of the system.

#### 1. Introduction

At present, efficient generation of green energy is the prime challenge for the researcher of this field. With the explosion of world population and rapid industrialization, energy demand is increasing drastically. But the natural sources of energy like coal, oil, and natural gas are limited. As a result, the only way to overcome the challenge is the development of renewable and inexhaustible energy. Among the renewable sources, solar energy is the pioneer. The features such as nontoxic, harmless, inexhaustible, and carbon dioxide emission free conversion have made this topic very interesting. But the energy conversion efficiency of solar system has not reached a satisfactory level yet, so the researches in this field continue. The recent trends on which research concentrates most are fabrication of effective PV cell, modification of cell arrangement and array configuration, implementation of maximum power point tracking algorithm, and so forth. Among the aforementioned, technology application of MPPT technique is the most popular because it improves the PV efficiency significantly. But the initial installment cost of a PV system with MPPT technique is very high. So, it is very important to carry out a reliable simulation before going for practical implementation [1–10].

Accurate modeling of the PV module is the first step of the simulation process. Though a number of publications have already described different types of PV modeling techniques. But these works were very complicated and time consuming. In addition, MATLAB coding based simulator were used by most of the authors for illustrating - and - curves [11, 12]. The problem with these simulators is that they cannot be used for different modules simultaneously. Herewith there exists some possibility of data manipulation. The proposed technique can be used to illustrate the characteristic curves of any specific model instantly.

Different types of MPPT algorithm such as hill climbing, voltage feedback, current feedback, perturb and observation, incremental conductance, fuzzy logic, and neural network have been discussed. Among them, hill climbing and voltage feedback are quite easy to implement, but these algorithms are not efficient in tracking the maximum power with sudden variation in environmental condition. The conventional (P&O) and incremental conductance are more popular because they show a better performance with environmental conditions, and implementation is also easy. But they possess an extra - control loop which makes the tracking process of these two algorithms slow. ANN based algorithms show impressive improvement in efficiency, but the selection of the number of neurons and settings of hidden layers for ANN is a hard task, and implementation of this algorithm is quite difficult [13–19].

Therefore, for this work a fuzzy logic based MPPT algorithm has been used. Some good works based on fuzzy logic has already existed. But in most of the works an extra gain block has been added with the fuzzy system for tuning the output [20, 21]. In this algorithm the gain block has been removed, and duty cycle has been calculated directly using seven rules based fuzzy system. The developed algorithm is able to track the maximum power with a convenient speed, and it shows a very dynamic response with sudden variations in environmental conditions. At the same time, the implementation of this algorithm is also possible with available components at a lower cost.

Selection of an appropriate converter is another important issue when implementing a PV-MPPT system. Recent work has shown that various types of converters have been used for different applications [22, 23]. In this work a boost topology has been selected with an intention to use the system for high voltage applications. Finally the developed PV module and MPPT technique has been connected with the boost converter to analyze the performance of the system.

The sequential work flow of this paper is as follows, in Section 2 the modeling process of PV module has been described with the necessary mathematical equations. In Sections 3 and 4 implementation of the MPPT algorithm and boost converter have been discussed in detail. In Section 5 all the necessary results and discussions are given to check the feasibility of the system. A brief conclusion has been added to finalize the work.

#### 2. Modeling of PV Module in Simulink Platform

The PV module is a combination of solar cells which is basically a photoactive semiconductor P-N junction diode. The PV cell absorbs solar energy and converts it into electricity. Different configurations of PV cell can be used to illustrate the - curves such as single diode model, two diode model, and - model. But among them due to degree of accuracy and simplicity single diode model has been used in a number of previous works. For this reason, the single diode configuration of PV module has been selected for this work. Figure 1 represents the circuit configuration of a PV cell [24, 25].

##### 2.1. Necessary Mathematical Equations Related to PV Modeling

The - curves of a PV module can be expressed using some nonlinear exponential mathematical equations. These equations are mostly related to diode characteristics. A comprehensive discussion of PV characteristics has been given in [26, 27].

For the PV output current, , one has

For the PV saturation current,

For the PV reverse saturation current, , one has

For the PV photo current, , one has

For simplification of the notation, a constant has been introduced as ;

##### 2.2. Complete Simulink Implementation of the PV Module

For this modeling technique, four matlab function blocks have been used. Each block contains the mathematical equations for , , , and . In this modeling process , , , , and have been used as main input parameters, while , , and were taken as output parameters. Figures 2 and 3 represent the internal and external configuration of the modeling technique clearly.

Figure 2 represents the view of internal mathematical operation of the PV module.

Figure 3 is the external configuration of PV module for the simulation of characteristic curves.

These two figures clearly explain the modeling technique of the PV module. Only and changing the parameters from the input ports according to the company specified value, characteristic curves for different modules can be obtained by using this model.

The developed prototype has been applied to simulate the characteristics curves of PV modules. The (STC) specifications of the modules have been given in Table 3. Finally, Figures 4 and 5 represent the characteristics curves for SOLKAR 36 W, Figures 6 and 7 represent for BP MSX 60 W, Figures 8 and 9 represent for KC85T 87 W PV module.

#### 3. Implementation of Fuzzy Logic Based MPPT Algorithm

In this algorithm, PV input current and voltage have been taken as input, and duty cycle has been calculated as output. The flow chart of Figure 10 represents the basic concept of the algorithm.

The equations associated with the calculation of error and change of error signal have been listed below [20, 21] as follows:

##### 3.1. Simulink Block View of the Fuzzy MPPT

Figure 11 shows the block view of the fuzzy logic algorithm in Simulink window.

##### 3.2. Membership Functions and Rule Settings of Fuzzy MPPT Algorithm

###### 3.2.1. Membership Function

For this work, triangular shaped membership function has been chosen. The range of the signal has been selected by checking the oscillation of each signal. Figures 12, 13, and 14 represent the graphical view of the membership function for error, change of error, and duty cycle of the fuzzy logic controller.

###### 3.2.2. Rule Settings of Fuzzy MPPT

For the rule settings of fuzzy logic MPPT, different number of subset has been used. But for this work, seven subset based forty-nine rules have been used. The tuning of forty nine rules is quite time consuming, but it represents better accuracy and dynamic response. The fuzzy rules are included in Table 1.

###### 3.2.3. Surface View of the Fuzzy Functions

Figure 15 illustrates the surface view of the fuzzy input and output functions. From this figure the variation of duty cycle with respect to the error () and change of error (CE) is observed clearly. This also verifies the proper operation of fuzzy controller.

#### 4. Operation and Design of a Boost Converter

Figure 16 shows the basic circuit configuration of a boost converter, where is the dc input voltage, is the boost inductor, is the controlled switch, is a diode, is a filter capacitor, and is the load resistance. Boost converter works in two states. When the switch is open, current in the boost inductor increases linearly, and the diode is off at that time. When the switch is closed, the energy stored in the inductor is released through the diode to the output circuit. The details of boost converter has been described in [28, 29].

The main equation associated with duty cycle and input-output voltage of boost converter is given below as follows:

The rest of the necessary equations related to the designing are listed below as follows: inductor ripple current (peak to peak), ; capacitor ripple voltage (peak to peak), ; critical value of inductor necessary for the continuous conducting mode, ; minimum value of the filter capacitance that results in the voltage ripple, ; current ripple factor, ; voltage ripple factor, .

The values of the components obtained from the equations are associated with the practical implementation of the converter. Such as, for continuous current operation of circuit, the value of inductor , and to limit the output voltage ripple the condition should be satisfied. Besides, and are related to CRF and VRF*.* The value of these two terms should not exceed 30% and 5%, respectively.

The specifications of the necessary components selected for this work are listed below. (1)Boost inductor = 290 µH(2)Input filter capacitor = 250 µF(3)MOSFET IRS045(4)Resistive load = 35 Ω (SOLKAR), 22 Ω (BPMSX), and 13 Ω (KC85T).(5)Output filter capacitor = 330 µF(6)Switching frequency = 10 kHz.

#### 5. Simulation Results and Discussion

The complete setup of the system for data collection, which includes PV module, boost converter, fuzzy based MPPT, and DC load, has been given below. Figure 17 represents the complete view of the system.

In Table 2 resultant data obtained from the proposed system for various irradiations are tabulated. From the table it is clear that at S.T.C (25°C and 1000 W/m^{2}) the obtained maximum power W for SOLKAR 36 W, W for BP MSX 60 W, and W for KC85T 87 W. At the same time company specified maximum power of these three module are 37.04 W, 58 W for 87 W, respectively. The negligible deviation between the obtained and specified values ensures validity of the developed PV module.

Figures 18 and 19 represent the response of the duty cycle with respect to the variation in irradiation level. At irradiation is W/m^{2} and duty cycle ; from to the level of irradiation is constant at W/m^{2}, for this period value Duty cycle is also constant. After that irradiation goes down to W/m^{2} and duty cycle again goes down to at , which demonstrates the dynamic performance of the system.

Figure 20 represents the curve for variable irradiation, and Figure 21 to Figure 23 represent the voltage, current, and power tracking curves for the three PV modules. In Figure 21 for SOLKAR 36 W it has been shown that, at s, irradiation W/m^{2}, and obtained power = 13 W, then irradiation goes from W/m^{2} to W/m^{2} and it continues until = 0.15 s; from the tracking curve it is shown that power for this period is W; again at s, radiation goes down to W/m^{2} and power also goes down to W.

Figures 22 and 23 show the similar results for BP MSX 60 W and KC85T 87 W. These values coincide with the obtained result of Table 2. So, the equality between the graphs and table also ensures the validity of the proposed system.

#### 6. Conclusion

A versatile and efficient modeling technique of PV module with a fuzzy logic based MPPT system has been implemented in this paper. The main objectives of this paper were to reduce the complexity of PV modeling and to implement the fuzzy technique in a simple way to control the duty cycle directly. The proposed modeling technique and MPPT algorithm has been applied for three specified PV modules with a boost converter. The data obtained from the prototype were found to be very close to the theoretical prediction. The graphical representation with respect to various environmental conditions demonstrates the tracking capability and dynamic response of the system with precise control of the duty cycle. So, it can be concluded that application of this system will enhance the PV system efficiency with a significant reduction in system cost. Not only that, this model can also be used as a fundamental stage for a grid connected PV plant, solar pumping system, and smart grid PV interconnection system.

#### Nomenclature

: | The output voltage of the PV module (V) |

: | The reference temperature = 298 K |

: | The light generated current in a PV module (A) |

: | Ideality factor = 1.6 |

: | Electron charge = 1.6 × C |

: | The PV module short-circuit current at 25°C and 1000 W/m^{2} |

: | The short-circuit current temperature coefficient |

: | The band gap for silicon = 1.1 eV |

: | The open-circuit voltage temperature coefficient |

: | The output current of the PV module (A) |

: | The module operating temperature in Kelvin |

: | The PV module saturation current (A) |

: | Boltzman constant = 1.3805 × 10^{−23} J/K |

: | The series resistance of the PV module |

: | The PV module illumination (W/m^{2}) |

: | The number of cells connected in series |

: | The number of cells connected in parallel |

: | The open circuit voltage. |

#### Acknowledgments

The authors would like to acknowledge the financial support from the High Impact Research Grant (HIRG) scheme (UM-MoHE) project no.: UM.C/HIR/MOHE/ENG/24) and project no.: (UM.C/HIR/MOHE/ENG/21) to carry out this research.

#### References

- K. Ishaque, Z. Salam, and S. Syafaruddin, “A comprehensive MATLAB Simulink PV system simulator with partial shading capability based on two-diode model,”
*Solar Energy*, vol. 85, no. 9, pp. 2217–2227, 2011. View at Publisher · View at Google Scholar · View at Scopus - K. Ishaque, Z. Salam, A. Shamsudin, and M. Amjad, “A direct control based maximum power point tracking method for photo voltaic system under partial shading conditions using particle swarm optimization algorithm,”
*Applied Energy*, vol. 99, pp. 414–422, 2012. - K. Ishaque, Z. Salam, H. Taheri, and S. Syafaruddin, “Modeling and simulation of photovoltaic (PV) system during partial shading based on a two-diode model,”
*Simulation Modelling Practice and Theory*, vol. 19, no. 7, pp. 1613–1626, 2011. View at Publisher · View at Google Scholar · View at Scopus - B. Liu and S. Duan, “Energy efficiency evaluation of building integrated photovoltaic systems with different power configurations,”
*Simulation Modelling Practice and Theory*, vol. 29, pp. 93–108, 2012. - K. Ishaque, Z. Salam, S. Mekhilef, and A. Shamsudin, “Parameter extraction of solar cell using penalty based differential evolution,”
*Applied Energy*, vol. 99, pp. 297–308, 2012. - A. Jusoh, H. Baamodi, and S. Mekhilef, “Active damping network in DC distributed power system driven by photovoltaic system,”
*Solar Energy*, vol. 87, pp. 254–267, 2013. - S. Mohammadmehdi, M. Saad, R. Rasoul, R. Yusof, and E. Taslimi Renani, “Analytical modeling of partially shaded photovoltaic systems,”
*Energies*, vol. 6, no. 1, pp. 128–144, 2013. - K. Ishaque, Z. Salam, M. Amjad, and S. 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, pp. 3627–3638, 2012. View at Publisher · View at Google Scholar · View at Scopus - J. M. Enrique, J. M. Andújar, and M. A. Bohórquez, “A reliable, fast and low cost maximum power point tracker for photovoltaic applications,”
*Solar Energy*, vol. 84, no. 1, pp. 79–89, 2010. View at Publisher · View at Google Scholar · View at Scopus - J. Hernandez, W. Vallejo, and G. Gordillo, “Practical method for estimating the power and energy delivered by photovoltaic modules operating under non-standard conditions,”
*Progress in Photovoltaics: Research and Applications*, vol. 21, pp. 867–875, 2012. View at Publisher · View at Google Scholar · View at Scopus - F. L. Albuquerque, A. J. Moraes, G. C. Guimarães, S. M. R. Sanhueza, and A. R. Vaz, “Photovoltaic solar system connected to the electric power grid operating as active power generator and reactive power compensator,”
*Solar Energy*, vol. 84, no. 7, pp. 1310–1317, 2010. View at Publisher · View at Google Scholar · View at Scopus - J. Fernández-Ramos, L. Narvarte-Fernández, and F. Poza-Saura, “Improvement of photovoltaic pumping systems based on standard frequency converters by means of programmable logic controllers,”
*Solar Energy*, vol. 84, no. 1, pp. 101–109, 2010. View at Publisher · View at Google Scholar · View at Scopus - H. N. Zainudin and S. Mekhilef, “Comparison study of maximum power point tracker techniques for PV systems,” in
*Proceedings of the 14th International Middle East Power Systems Conference (MEPCON '10)*, Cairo, Egypt, 2010. - C. Ben Salah and M. Ouali, “Comparison of fuzzy logic and neural network in maximum power point tracker for PV systems,”
*Electric Power Systems Research*, vol. 81, no. 1, pp. 43–50, 2011. View at Publisher · View at Google Scholar · View at Scopus - A. Talha, H. Boumaaraf, and O. Bouhali, “Evaluation of maximum power point tracking methods for photovoltaic systems,”
*Archives of Control Sciences*, vol. 21, no. 2, pp. 151–165, 2011. View at Publisher · View at Google Scholar · View at Scopus - A. E.-S. A. Nafeh, F. H. Fahmy, and E. M. Abou El-Zahab, “Evaluation of a proper controller performance for maximum-power point tracking of a stand-alone PV system,”
*Solar Energy Materials and Solar Cells*, vol. 75, no. 3-4, pp. 723–728, 2003. View at Publisher · View at Google Scholar · View at Scopus - 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 - 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 - M. M. Algazar, H. Al-Monier, H. A. El-Halim, and M. E. E. K. Salem, “Maximum power point tracking using fuzzy logic control,”
*International Journal of Electrical Power and Energy Systems*, vol. 39, no. 1, pp. 21–28, 2012. View at Publisher · View at Google Scholar · View at Scopus - M. F. Ansari, S. Chatterji, and A. Iqbal, “Fuzzy logic-based MPPT controllers for three-phase grid-connected inverters,”
*International Journal of Sustainable Energy*, vol. 32, no. 3, 2013. - A. M. Kassem, “Modeling, analysis and neural MPPT control design of a PV-generator powered DC motor-pump system,”
*WSEAS Transactions on Systems*, vol. 10, no. 12, pp. 399–412, 2011. View at Scopus - F. Yusivar, M. Farabi, R. Suryadiningrat, W. Ananduta, and Y. Syaifudin, “Buck-converter photovoltaic simulator,”
*International Journal of Power Electronics and Drive Systems*, vol. 1, no. 2, pp. 156–167, 2011. - N. Pandiarajan, R. Ramaprabha, and R. Muthu, “Application of circuit model for photovoltaic energy conversion system,”
*International Journal of Photoenergy*, vol. 2012, Article ID 410401, 14 pages, 2012. View at Publisher · View at Google Scholar · View at Scopus - N. Pandiarajan and R. Muthu, “Mathematical modeling of photovoltaic module with Simulink,” in
*Proceedings of the 1st International Conference on Electrical Energy Systems (ICEES '11)*, pp. 258–263, January 2011. View at Publisher · View at Google Scholar · View at Scopus - A. Safari and S. Mekhilef, “Simulation and hardware implementation of incremental conductance MPPT with direct control method using cuk converter,”
*IEEE Transactions on Industrial Electronics*, vol. 58, no. 4, pp. 1154–1161, 2011. View at Publisher · View at Google Scholar · View at Scopus - M. Hasan, S. Mekhlief, and M. Henk, “A modified simulation method of photovoltaic module in simulink environment,” in
*Proceedings of the 7th International Conference on Electrical and Computer Engineering (ICECE '12)*, Dhaka, Bangladesh, 2012. - M. H. Rashid,
*Power Electronics Circuits, Devices and Applications*, 3rd edition, 2003. - Modelling and Control design for DC-DC converter, Power Management group, AVLSI Lab, IIT-Kharagpur.