Recent Developments in Solar Energy Harvesting and PhotocatalysisView this Special Issue
Research Article | Open Access
Hopfield Neural Network Optimized Fuzzy Logic Controller for Maximum Power Point Tracking in a Photovoltaic System
This paper presents a Hopfield neural network (HNN) optimized fuzzy logic controller (FLC) for maximum power point tracking in photovoltaic (PV) systems. In the proposed method, HNN is utilized to automatically tune the FLC membership functions instead of adopting the trial-and-error approach. As in any fuzzy system, initial tuning parameters are extracted from expert knowledge using an improved model of a PV module under varying solar radiation, temperature, and load conditions. The linguistic variables for FLC are derived from, traditional perturbation and observation method. Simulation results showed that the proposed optimized FLC provides fast and accurate tracking of the PV maximum power point under varying operating conditions compared to that of the manually tuned FLC using trial and error.
Because of the demand for electric energy and environmental issues such as pollution and the effects of global warming, renewable energy sources are considered as an option for generating clean energy technologies . Among them, the photovoltaic (PV) energy from solar radiation has received great attention, as it appears to be one of the most promising renewable energy sources in the world . PV systems have been developed to supply clean energy for fulfilling the energy demand required by the modern society. However, the widespread use of PV systems poses several challenges such as increasing the efficiency of energy conversion, ensuring the reliability of power electronic converters, and meeting the requirements for grid connection . One step to overcome the problem of low energy conversion efficiency of PV modules and to get the maximum possible power is to extract maximum power from the PV system at every instant of time. To achieve this, it is mandatory to operate the PV systems close to its maximum power point (MPP). Maximum power point tracking (MPPT) system is an electronic system that plays a vital role in operating the PV modules in a manner that it produces it is maximum power according to the situation . Many MPPT control strategies have been elaborated in the literature, starting with simple techniques such as voltage and current feedback-based MPPT to more improved power-based MPPT such as the perturbation and observation (P&O) technique and the incremental conductance technique .
Recently, fuzzy logic has been applied for tracking the MPP of PV systems in [6–9] because it has the advantages of being robust, design simplicity, and minimal requirement for accurate mathematical model. It is found that fuzzy logic-based P&O and hill climbing MPPT methods perform batter due to optimized perturbation. However, the fuzzy methods depend on careful selection of parameter, definition of membership function, and the fuzzy rules table. Developing fuzzy method also involves expert knowledge and experimentation in selecting parameters and membership functions. For this reason, adaptive fuzzy logic control  and parameter optimization techniques such as genetic algorithm  and particle swam optimization [12, 13] have been introduced to overcome the problem in MPPT algorithms.
A number of studies on MPPT have concentrated on the application of artificial neural network (ANN) [14, 15]. In most of these ANN-based methods, large number of field data considering atmospheric conditions are required to train the ANN. Moreover, the main problem of ANN-based methods are that it is system dependent and cannot be implemented for PV arrays with different characteristics. In a related work, a voltage-based MPPT using ANN has been developed in which an optimal instantaneous voltage factor was determined from a trained ANN . The inputs of the ANN consist of temperature module and solar irradiation.
The combined use of fuzzy logic and ANN to track maximum power point in PV systems can be found in [17, 18]. In this method, ANN is trained offline using experimental data to define a reference voltage, which is the voltage at the maximum power point according to the PV array characteristic. The reference voltage is then compared to the instantaneous array voltage to generate a signal error. The signal error and change of the error are considered as the FLC inputs. The FLC generates a duty cycle value for the pulse width modulation (PWM) generator. The PWM is then applied to the switching of the boost converter connected to a PV array. A drawback of this method is that it needs much data for offline training.
In this paper, a new variant of intelligent technique is proposed and used together with fuzzy logic-based MPPT controller in a PV system. Here, the fuzzy logic MPPT controller is integrated with the Hopfield neural network (HNN) to optimize the membership function of the fuzzy system. The HNN has been applied to various fields since Hopfield proposed the model [19, 20]. In optimization problems, the HNN has a well-demonstrated capability of finding solutions to complex tasks. HNN has been applied to solve optimization problems based on convergence of the energy function and coefficients weighting [21–23].
2. Maximum Power Point Tracking and Fuzzy Logic
PV is not a constant DC energy source but has variation of output power, which depends strongly on the current drawn by the load. Besides, PV characteristic also changes with temperature and irradiation variation . Thus, the output voltage of PV varies with the current . Figure 1 shows the characteristic of a 200 W Sanyo PV module . The module can be used as a single system or it can be connected to other similar modules to increase the voltage and current. In multimodule systems, PV modules are wired in series and parallel to form a PV array. From Figure 1, it can be seen that the PV module voltage varies from 0 V until the open circuit voltage of the module. Similarly, the current varies from 0 A until the short circuit current of the module. The and of a PV module also depend on temperature and solar irradiation.
(a) Effect of irradiation
(b) Effect of temperature
For any PV system, the output power is increased by tracking the maximum power point (MPP) of the system. To achieve this, an MPPT controller is required to track the optimum power of the PV system and it is usually connected to a boost converter located between the PV panel and load as shown in Figure 2 [6–8]. Many different control techniques such as the P&O and fuzzy logic are used in the MPPT controller.
The main components of a fuzzy logic controller (FLC) are fuzzification, fuzzy rules inference, and defuzzification as shown in Figure 3. The input variables to the FLC are the change in power of PV array and direction of change in duty cycle of boost converter whereas the output of the FLC is the change of the duty cycle that must be applied to control boost converter . The formulation for and can be expressed as follows: where, : PV array output power at iteration, : PV array output voltage at iteration, : PV array output current at iteration, : measured duty cycle to control switch of DC-DC converter at iteration, : duty cycle that must be applied to control switch of DC-DC converter at iteration, : a small change.
The universe of discourse for the first input variable is assigned in terms of its linguistic variable by using seven fuzzy subsets which are denoted by negative large (NL), negative medium (NM), negative small (NS), zero (Z), positive small (PS), positive medium (PM), and positive large (PL). The universe of discourse for the second input variable defines the changes in direction of duty cycle which is classified into three fuzzy sets, namely, negative (N), zero (Z), and positive (P). The output variable is assigned in terms of its linguistic variable by using nine fuzzy subsets which are denoted by negative double large (NLL), negative large (NL), negative medium (NM), negative small (NS), zero (Z), positive small (PS), positive medium (PM), positive large (PL), and positive double large (PLL). Then, the fuzzy rules are generated as shown in Table 1 with and as inputs while as the output. This table is also known as fuzzy associative matrix (FAM). The fuzzy inference of the FLC is based on Mamdani’s method, which is associated with the max-min composition. The defuzzification technique is based on the centroid method, which is used to compute the crisp output, .
3. Design of Optimized FLC with HNN
The proposed design is to develop optimal membership function of the FLC especially for MPPT in PV systems application. The HNN representation and the integration of HNN and FLC is described in the following subsections.
3.1. Hopfield Neural Network Representation
The HNN uses a two-state threshold “neuron” that follows a stochastic algorithm where each neuron, or processing element, has two states with values either 0 or 1. The inputs of each neuron come from two sources; external inputs, , and inputs from other neurons, . The total input to neuron is given by where : total input to neuron , : synaptic interconnection strength from neuron to neuron , : external input to neuron , : output of neuron .
Each neuron samples its input at random times. It changes the value of its output or leaves it fixed according to a threshold rule with thresholds : Then the energy function of the HNN is defined as The change in due to the changing state of neuron by is given by where is the change in the output of neuron .
The continuous and deterministic model of the HNN is based on continuous variables and responses but retains all of the significant behaviors of the original model described above. The output variable for neuron has values in the range of and the input-output function is a continuous and monotonically increasing function of the input to neuron .
The dynamics of the neurons is defined as  where : a constant, : input of HNN.
A typical output of neuron is a sigmoid function as shown in Figure 5. Mathematically it is given by where is the gain that determines the shape of the sigmoid function.
The energy function of the continuous HNN is similarly defined as  and it is change in energy is given by is always less than zero because is a monotonically increasing function. Therefore, the network solution moves in the same direction as the decrease in energy. The solution seeks out a minimum of and comes to a stop at stability point.
3.2. Integrating HNN and FLC
Despite using expert knowledge in the formulation of the inference rules and the membership functions of FLC, there are still some defects such as center of fuzzification and range of the fuzzification. To improve these defects, the proposed FLC uses HNN to find the optimal membership functions which is achieved by considering the following steps.
(1) Defining neuron for the HNN
In the design of the proposed optimal FLC, two inputs, and direction, and one output, , are used as described before. For simplicity, the design is only based on membership functions of and . is described with seven membership functions, as illustrated in Figure 6, and is described with nine membership functions, as illustrated in Figure 7. In Figure 6, the centers of membership function are , and while in Figure 7, the centers of membership function are , and . Based on the number of centers of and , the proposed HNN consists of 16 neurons with variables given as ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; . are output value of neurons while are output values of neurons .
When comparing the values of neurons in Figures 6 and 7, the following constraints should be satisfied.
(2) Defining objective function for the optimization problem
The goal of MPPT is to achieve and . Therefore, the quadratic criterion to be minimized is where, : energy function to be minimized, : constants.
From (11), the first part of , which is only depends on the universe of which is in the first input of FLC. The is defined by defuzzification of the universe of using a centroid function as: where is a membership value of .
depends only on neurons . Knowing that the left side of in the membership function of the first input is for , then, can be rewritten as Then, the first half of energy function can be rewritten as : Considering that the right side and center of in the membership function of the first input of FLC is for , hence can be rewritten as: Similarly, the second half of energy function is rewritten as : Since the first part of is the summation of left side and right side of the membership function, can be expressed as: where for .
The second part, is related to the output of FLC and depends only on neurons . The can be defined by defuzzification by using the centroid method and is written as: Similar to the equations shown in obtaining can be expressed as where for , and is the membership value of .
Finally, the total energy function is expressed as where for ; .
By comparing (8) with (20), the weight matrix of neurons to in the HNN is derived and given as: where,
(3) Design for Physical Implementation
The physical implementation of MPPT for PV systems using Hopfield optimized FLC (HFLC) is described in terms of a block diagram as shown in Figure 8.
As shown in Figure 8, the system consists of PV array, DC-DC converter, load, and control system. The control system consist of voltage and current measurement system, controlled pulse with modulation (PWM) generator with HFLC, and a switching driver circuit to gain the PWM. At the initial step , the control system generates square wave signals with a small duty cycle , of value 10%. In the next step , the value of is increased by that is defined by HFLC as discussed in the previous section. The value of is always updated by the increment . The value of tends to change in either positive or negative direction as decline towards zero.
4. Simulation Results
The performance of the proposed HFLC under different operating conditions is validated using the MATLAB/Simulink software. In the PV model shown in Figure 9, there are two groups of PV arrays connected in parallel. Every group consists of 3 PV modules connected in series. The PV module parameters are obtained from the Sanyo HIP-200BA3 PV technical datasheet . In the simulations, first the characteristics of the PV module are validated and then the performance of the HFLC under various conditions is evaluated to investigate the effectiveness of the HFLC method.
4.1. Validation of PV Module Simulation
Figures 10 and 11 show the results of the characteristics of the simulated PV module as a function of irradiation and temperature, respectively. It can be observed from the above figures that the curves of the simulated PV module are quite similar to the curves of the Sanyo HIP-200BA3 PV module provided by the Sanyo manufacturer in Figure 1. Therefore, it is quite reasonable to use the PV module model to verify the performance of the proposed HFLC-based MPPT controller under simulation environment.
4.2. Performance of MPPT by Using HFLC
Figures 12 and 13 show the performance of the HFLC in finding the maximum power point (MPP) of the PV system shown in Figure 9 under varying irradiations and temperatures, respectively. From the figures, the MPP obtained from HFLC is compared with the theoretical MPP. The results of the MPP clearly show that both MPPs are very close to each other.
To further demonstrate the performance of the HFLC MPPT controller, simulations were performed under the following test conditions.(i)Constant temperature at 25°C and changing the solar radiation slowly and drastically.(ii)Constant solar radiation at 1000 W/m2 and changing the temperature slowly and drastically.(iii) Constant temperature at 25°C and considering partial shading and change in solar radiation.
The MPPT controller was also tested using the conventional FLC and the P&O MPPT methods.
4.2.1. Effect of Changing the Solar Radiation
To analyze the effect of solar radiation, simulations were carried out under various solar irradiations but at constant temperature of 25°C. Figure 14 shows the change in solar irradiation from 1000 W/m2 to 900 W/m2. Figure 15 shows the PV output power when subjected to the changing solar irradiations. From Figure 15, it can be seen that the HFLC, and FLC-based MPPT gives greater PV output powers than the P&O-based MPPT.
Figure 16 shows the sudden change in solar irradiation from 1000 W/m2 to 950 W/m2 while Figure 17 shows the response of the MPPT controller in terms of PV output power when subjected to a sudden change in solar irradiation. From the figures, it is noted that the PV output power is greatest for MPPT controlled by HFLC compared to that of FLC and P&O methods. Furthermore, MPPT controlled by HFLC gives a fast response to reach the new MPP after solar irradiation changes.
4.2.2. Effect of Change in Temperature
This simulation is carried out to illustrate the performance of the MPPT methods under constant solar irradiation of 1000 W/m2 and changes in temperature. Figures 18 and 20 depict the slow and sudden changes in temperature, respectively. Figures 19 and 21 show the corresponding PV output powers during slow and sudden changes in temperature, respectively. From Figure 19, it can be noted that for slow temperature changes, the MPPT controlled by HFLC and FLC gives higher PV output power than the P&O method especially at the transient state. While in the case of drastic change in temperature, the MPPT controlled by HFLC achieve the highest PV output at the transient state as shown in Figure 21.
4.2.3. Effect of Partial Shaded Solar Irradiation
Simulation is also performed to illustrate the effectiveness of the MPPT of PV systems under some partial shading case. In this case, it is assumed that a half of the PV array receives constant solar irradiation of 1000 W/m2 and the other half with shading solar irradiation which changes from 1000 W/m2 to 950 W/m2. This condition is depicted in Figure 22. The power harvested from the PV array for this case is shown in Figure 23. From Figure 23, it can be seen that performance of MPPT controlled by HFLC is the best among the other compared methods.
Another case describes a situation of solar irradiation changing from 400 W/m2 to 1000 W/m2, to a half of the PV array while the other half receiving constant 400 W/m2 under shading as shown in Figure 24. The PV output power for this case is shown in Figure 25. From the figure, it can be noted that the FLC and P&O failed to track the MPP correctly. However, the proposed HFLC MPPT method successfully finds the MPP around 590 W as shown in Figure 25.
From Figures 26 and 27, it can be seen that the HFLC method is accurate in finding the MPP (590 W) while the conventional FLC and P&O methods failed to do so. Generally, the conventional FLC and P&O methods just find local maximum power point. However, for case as depicted in Figures 28 and 29, all of the MPPT methods correctly tracked the MPP.
A new Hopfield optimized FLC for MPPT of PV system is proposed in which improvement is made by applying HNN to find the optimal width of each fuzzification input and output of the FLC. A complete PV system with HFLC MPPT controller was modeled and implemented in Matlab/Simulink to simulate various irradiation and temperature conditions so as to verify the performance of the proposed MPPT method. Simulation results show that the proposed HFLC MPPT method is robust and accurate compared to the other conventional MPPT methods. The HFLC MPPT method successfully tracks the global maximum power point of a PV module even under partial shading.
- T. J. Hammons, J. C. Boyer, S. R. Conners et al., “Renewable energy alternatives for developed countries,” IEEE Transactions on Energy Conversion, vol. 15, no. 4, pp. 481–493, 2000.
- F. Blaabjerg, C. Zhe, and R. Teodorescu, “Renewable energy systems in the power electronics curriculum,” in Proceedings of the IEEE Power Electronics Education Workshop, vol. 2005, pp. 58–68, 2005.
- M. A. Eltawil and Z. Zhao, “Grid-connected photovoltaic power systems: technical and potential problems—a review,” Renewable and Sustainable Energy Reviews, vol. 14, no. 1, pp. 112–129, 2010.
- 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.
- 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.
- N. S. D'Souza, L. A. C. Lopes, and X. J. Liu, “An intelligent maximum power point tracker using peak current control,” in Proceedings of the IEEE 36th Power Electronics Specialists Conference (PESC '05), pp. 172–177.
- M. S. A. Cheikh, C. Larbes, G. F. T. Kebir, and A. Zerguerras, “Maximum power point tracking using a fuzzy logic control scheme,” Revue des Energies Renouvelables, vol. 10, no. 3, pp. 387–395, 2007.
- S. Lalouni, D. Rekioua, T. Rekioua, and E. Matagne, “Fuzzy logic control of stand-alone photovoltaic system with battery storage,” Journal of Power Sources, vol. 193, no. 2, pp. 899–907, 2009.
- A. Moreno, J. Julve, S. Silvestre, and L. Castaner, “A fuzzy logic controller for stand alone PV systems,” in Proceedings of the IEEE Photovoltaic Specialists Conference, pp. 1618–1621, 2000.
- N. Patcharaprakiti and S. Premrudeepreechacharn, “Maximum power point tracking using adaptive fuzzy logic control for grid-connected photovoltaic system,” in Proceedings of the IEEE Power Engineering Society Winter Meeting, pp. 372–377, January 2002.
- A. Messai, A. Mellit, A. Guessoum, and S. A. Kalogirou, “Maximum power point tracking using a GA optimized fuzzy logic controller and its FPGA implementation,” Solar Energy, vol. 85, no. 2, pp. 265–277, 2011.
- L. K. Letting, J. L. Munda, and A. Hamam, “Particle swarm optimized T-S fuzzy logic controller for maximum power point tracking in a photovoltaic system,” in Proceedings of the 9th International Power and Energy Conference (IPEC '10), pp. 89–94, 2010.
- N. Khaehintung, A. Kunakorn, and P. Sirisuk, “A novel fuzzy logic control technique tuned by particle swarm optimization for maximum power point tracking for a photovoltaic system using a current-mode boost converter with bifurcation control,” International Journal of Control, Automation and Systems, vol. 8, no. 2, pp. 289–300, 2010.
- S. Premrudeepreechacham and N. Patanapirom, “Solar-array modelling and maximum power point tracking using neural networks,” in Proceedings of the International Power Tech Conference, vol. 2, pp. 5–9, Bologna, Italy, 2003.
- K. H. Chao, C. J. Li, and M. H. Wang, “A maximum power point tracking method based on extension neural network for PV systems,” Advances in Neural Networks, vol. 5551, pp. 745–755, 2009.
- M. Habibi and A. Yazdizadeh, “New MPPT controller design for PV arrays using neural networks,” Advances in Neural Networks, vol. 5552, pp. 1050–1058, 2009.
- M. Veerachary, T. Senjyu, and K. Uezato, “Neural-network-based maximum-power-point tracking of coupled-inductor interleaved-boost-converter-supplied PV system using fuzzy controller,” IEEE Transactions on Industrial Electronics, vol. 50, no. 4, pp. 749–758, 2003.
- A. Mellit and S. A. Kalogirou, “Artificial intelligence techniques for photovoltaic applications: a review,” Progress in Energy and Combustion Science, vol. 34, no. 5, pp. 574–632, 2008.
- J. J. Hopfield, “Neural networks and physical systems with emergent collective computational abilities,” Proceedings of the National Academy of Sciences of the United States of America, vol. 79, no. 8, pp. 2554–2558, 1982.
- J. J. Hopfield, “Neurons with graded response have collective computational properties like those of two-state neurons,” Proceedings of the National Academy of Sciences of the United States of America, vol. 81, no. 10 I, pp. 3088–3092, 1984.
- J. J. Hopfield and D. W. Tank, ““Neural” computation of decisions in optimization problems,” Biological Cybernetics, vol. 52, no. 3, pp. 141–152, 1985.
- J. Mańdziuk, “Optimization with the Hopfield network based on correlated noises: experimental approach,” Neurocomputing, vol. 30, no. 1–4, pp. 301–321, 2000.
- G. Joya, M. A. Atencia, and F. Sandoval, “Hopfield neural networks for optimization: study of the different dynamics,” Neurocomputing, vol. 43, pp. 219–237, 2002.
- HIP-200BA3 Sanyo, technical sheet, 2006, http://www.fsuwise.org/renewable/Images/WISE_Demo_Syatem_Files/Sanyo_200W.pdf.
- S. Haykin, Neural Networks A Comprehensive Foundation, Pearson Education, Delhi, India, 9th edition, 2005.
Copyright © 2012 Subiyanto 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.