Research Article  Open Access
MatlabBased Modeling and Simulations to Study the Performance of Different MPPT Techniques Used for Photovoltaic Systems under Partially Shaded Conditions
Abstract
A pulsewidthmodulator (PWM) based sliding mode controller is developed to study the effects of partial shade, temperature, and insolation on the performance of maximum power point tracking (MPPT) used in photovoltaic (PV) systems. Under partially shaded conditions and temperature, PV array characteristics become more complex, with multiple powervoltage maxima. MPPT is an automatic control technique to adjust power interfaces and deliver power for a diverse range of insolation values, temperatures, and partially shaded modules. The PV system is tested using two conventional algorithms: the Perturb and Observe (P&O) algorithm and the Incremental Conductance (IncCond) algorithm, which are simple to implement for a PV array. The proposed method applied a model to simulate the performance of the PV system for solar energy usage, which is compared to the conventional methods under nonuniform insolation improving the PV system utilization efficiency and allowing optimization of the system performance. The PWMbased sliding mode controller successfully overcomes the issues presented by nonuniform conditions and tracks the global MPP. In this paper, the PV system consists of a solar module under shade connected to a boost converter that is controlled by three different algorithms and is generated using Matlab/Simulink.
1. Introduction
Photovoltaic generation (PVG) systems are widely used as energy sources in hybrid, standalone, and gridconnected systems. Because of natural environmental disasters and concerns over fossil fuel reserves, there is a great amount of interest in clean energy sources that cause less environmental pollution than fossil fuels. Among the various renewable energy sources, photovoltaic (PV) energy is one of the most reliable and mature alternative energies. PV energy is pollutionfree, longlife, has no running cost, and is very low maintenance. However, there are some drawbacks to the PV system, such as the high installation cost and low conversion efficiency (12–15%) of PV modules. PV cell technology is expected to perform an important function in meeting the growing demand for standalone systems at low voltages and also in high power installations, which are usually connected to the grid. PVG has the advantage of directly converting light energy into electrical energy through semiconductors.
Maximum power point tracking (MPPT) of a PV array is usually an essential part of the PVG system. If weather conditions, such as ideal insolation and temperature, are good, the PVG system can generate maximum power efficiently. However, nonuniform insolation occurs frequently due to shadowing from sources such as trees, electric poles, neighboring buildings, and clouds [1].
Many MPPT algorithms and techniques have been developed. The most widely used algorithms are the Perturb and Observe (P&O) algorithm and the Incremental Conductance (IncCond) algorithm [2, 3]. The P&O algorithm is well known for its simple implementation, but it deviates from and oscillates around the maximum power point (MPP), thereby wasting a considerable amount of the available energy. In addition, the P&O algorithm can become confused when insolation and temperature atmospheric conditions change rapidly [4]. The IncCond algorithm has good efficiency and accuracy. This algorithm can track the MPP of the PV module by comparing instantaneous conductance with Incremental Conductance [5]. Therefore, under rapidly changing temperature and insolation atmospheric conditions, it performs well, but its response in finding the MPP is reduced due to the relatively complex computations required by the control algorithm [5–7].
Partially shaded PV modules typically have difficulty in tracking the global maximum power point (GMPP). The operating point of the PVG system tends to converge to a local MPP. Most traditional MPPT algorithms converge to a local maximum, which is not the global maximum output point on the PV curve. This results in a considerable decrease in PVG, in addition to the efficiency of the MPPT algorithm. To resolve this problem, partially shaded PV modules can be implemented using a PWMbased sliding mode controller.
In this paper, we propose a PWMbased sliding mode controller to track the maximum power point in a nonuniform PV curve. Within this paper and taking into consideration the effects of changes in insolation and temperature on the PV system under a shaded module, three MPPT methods that build on the P&O and IncCond algorithms and the proposed controller are implemented, evaluated, and compared in a Matlab/Simulink environment. The advantage of this implementation is that it takes advantage of electronic components and sampling frequencies, so its performance is relatively simple, as is its implementation, which can be done with microcontrollers and digital programming. We perform simulations to validate the effectiveness and robustness of the proposed controller method.
The paper is organized as follows: modelling of the PV system and the power output of a partially shaded PV array are described in Section 2; the proposed PWMbased sliding mode controller system and the two conventional algorithms are presented in Section 3; simulation results for the different MPPT algorithms with partially shaded PV modules with a focus on variations in insolation, temperature, and load are described in Section 4; and we present conclusions in Section 5.
2. Photovoltaic System Modeling
A model for a PV cell was introduced previously [8]. By using the equivalent circuit of a single diode model as shown in Figure 1, the generated current can be expressed as where and represent the PV array output current and voltage and and are the PV array series and shunt resistances, respectively. is the lightgenerated current, is the diode reverse saturation current, is a dimensionless junction material factor, is Boltzmann’s constant (1.3805 × 10^{−23} J/K), is the temperature in Kelvin, is the electric charge (1.6021 × 10^{−19} C), and and are the numbers of cells connected in parallel and series, respectively.
The PV module type is KC200GT, and its specifications are reported in Table 1.

The characteristic PV curves of the PV array system shown in Figure 2 depend on the insolation and temperature of the PV system. However, insolation is not equally distributed to partially shade the PV module. To test the approach, three PV arrays are connected in series as shown in Figure 3. The following three cases of partially shaded PV modules are considered. Case (a): one module is shaded with unequal insolation (i.e., PV module 3). Case (b): two modules are partially shaded with unequal insolation (i.e., PV modules 2 and 3). Case (c): three modules are partially shaded with different insolation (i.e., PV modules 1, 2, and 3).
(a)
(b)
The simulation results for the three cases suggest that a partially shaded module causes a reduction in PV output power. PV output power characteristics for all cases are depicted in Figure 4.
3. Presentation of the MPPT Algorithms
In this section, we compare the performance of the proposed algorithm with two published algorithms [5, 9]. The proposed algorithm is based on the PWMbased sliding mode controller algorithm with stepsize variations; when partial shade conditions are detected, the MPPT method changes the voltage reference according to a linear function [10–12].
3.1. Perturb and Observe MPPT Algorithm
PV output power is basically a response to environmental factors such as changes in insolation and temperature. Thus, for effective PV power generation, it is desirable to have a MPPT algorithm. The P&O algorithm is widely used because it has a simple control structure and only measurements of parameters and are required for power tracking. In the experiment, PV voltage, current, and power for the th are measured each time, where the time corresponds to the previous time , while suggests the real cycle calculated values [13]. The actual power value and previous power value are compared to track the actual maximum power . If the actual power has increased, of the PV array voltage is adjusted in the same direction; otherwise, if has decreased, it is perturbed in the opposite direction as in the previous cycle [3], as shown in Figure 5. The process is repeated periodically when the MPP is reached. The method oscillates around the optimal value. The process leads to power loss that increases with perturbation step size. The MPPT algorithm responds rapidly to sudden changes in the operating conditions. However, with a smaller perturbation step size, the losses under stable or slowly changing conditions will be lower. This method does not respond to rapid changes in insolation or temperature [14].
3.2. Incremental Conductance MPPT Algorithm
In the Incremental Conductance (IncCond) algorithm, the PV array output voltage is tracked continuously according to the MPP voltage by comparing the instantaneous conductance () to the Incremental Conductance () to adjust the operating point on the characteristic IV curve to the MPP corresponding voltage [5]. The ratio of the PV power is equal to zero at the MPP, is positive to the left of the MPP, and is negative to the right of the MPP [7, 15, 16], as given by
The MPP can be tracked by comparing the instantaneous () to the Incremental Conductance () as shown in Figure 6. is the reference voltage at which the PV array is forced to operate. At the MPP, equals . Once the MPP is reached, the operation of the PV array is maintained at this point unless a change in is noted, indicating a change in the atmospheric conditions and the MPP. The algorithm decrements or increments to track the new MPP [17].
3.3. Proposed MPPT Algorithm Based on a PWMBased Sliding Mode Controller
Sliding mode (SM) controllers are well known for their robustness, stability, and advantages for application in nonlinear control systems. SM controllers are naturally better candidates than conventional PWM controllers due to their superb robustness and stability properties in handling variable switching frequencies [10]. The function of a switching control law is to drive the nonlinear plant state trajectory onto a previous surface and to maintain the plant state trajectory for the subsequent time. The surface is known as the switching surface, which establishes rules for appropriate switching [11]. The overall diagram of the proposed SM voltage control boost converters is presented in Figure 7. The system parameters are , which is the capacitance of the output filter; , which is the inductance of the input circuit; and , which is the load resistance of the converters. is the capacitor current, is the inductor current, and is the load current.
For any PID SMVC converter, the control variables for the equation of the controlled system can be formed as where , , and represent the voltage error, the voltage error dynamics (or the rate of change of the voltage error), and the integral of the voltage error, respectively. , , and are, respectively, the reference, instantaneous input, and instantaneous output voltages. The switching state of the power switch is or 1. The state space model of the system can then be written in the form of a state space description as follows: where is the inverse logic of .
SM control is used to design a certain sliding surface in its control law. For this system, it is suitable to have a control law that adjusts a switching function as follows: where is the instantaneous state trajectory. We take the following surface: with and , , and representing the control parameters, which are the sliding surface coefficients. The sliding surface can be obtained by enforcing .
Finally, translation of the equivalent control function onto the duty ratio , where gives the following relationship for the control signal and the ramp signal :
Finally, the control parameters are chosen as
Using the control voltage equation, the PWMbased SM controller for the boost converter can be implemented.
4. Results and Discussion
Simulations of the MPPT system were carried out to verify the performance of the described approach. The system configuration is described in Section 4.1, while in Section 4.2, the tests used to compare the three algorithms using the series configuration under nonuniform insolation and constant temperature conditions are presented. In Section 4.3, we show that the tests verified the influence of temperature and insolation variations. The tests, which considered the response of all of the PV modules to nonuniform variations of temperature, insolation, and load changes, are presented in Section 4.4. Comparative simulation results are discussed in Section 4.5.
4.1. Modeling of the Overall Photovoltaic Power System
The PV power system model implemented for this work comprised several parts. The overall model was made up of the following subsystem models:(i)Matlab/SimPowerSystem model of a PV system,(ii)SimPowerSystem model of a boost converter controlled with a PWMbased sliding mode controller.
The overall electrical circuit of the system, which was developed and implemented using Matlab/Simulink, is shown in Figure 8. The three PV generators were connected to a DCDC boost converter, which could be controlled by a PWMbased sliding mode controller. The DCDC boost converter specifications are reported in Table 2. Modeling of each stage is described in detail in Section 4.2.

4.2. Response of the Different MPPT Techniques to Nonuniform Insolation
In the implemented system, variations in insolation due to partially shaded conditions potentially caused by neighboring buildings, clouds, a tree in the wind, or towers, for example, were observed. All simulations were completed using the PV generator as defined above in the text, that is, a PV module with 54 cells connected in three series. For the period of this test, we also considered insolation increases or decreases. We performed a series of tests, and the responses of the proposed method to changes in insolation are presented.
We tested the behavior of the proposed method under partially shaded conditions with nonuniform insolation levels , , and varying from 400 W/m^{2} to 950 W/m^{2}, as shown in Figures 9(a), 9(b), and 9(c). The temperature was kept constant at . The dynamic response of the PV system was controlled by one of three algorithms, as shown in Figure 9(d). Based on the extracted characteristic curves, especially the power curves, power output under the IncCond and P&O algorithms did not exceed 185.3 W and 183.5 W, respectively. In contrast, a power output of 228.3 W was obtained under the PWMbased SVMC algorithm. The proposed algorithm stabilized around the GMPP with small oscillations. Therefore, the proposed algorithm resulted in 44.8 W more output power than the two conventional algorithms.
(a)
(b)
(c)
(d)
4.3. Response of the Different MPPT Techniques to Nonuniform Temperature
PV output power is affected by sudden temperature changes. Consequently, we investigated system performance in response to variations in temperature of the three PV modules. PV modules were exposed to constant insolation levels, W/m^{2}, W/m^{2}, and W/m^{2}, and then the temperature of the three PV modules was varied as shown in Figure 10(a). The dynamic response of the PV generator is shown in Figure 10(b). Responses using the IncCond and P&O algorithms did not exceed 175.4 W and 174.3 W, respectively. In contrast, the proposed MPPT controller reached a high power of 213.9 W. The proposed algorithm oscillated around the GMPP. The two conventional algorithms have 39.6 W less output power than the proposed algorithm.
(a)
(b)
4.4. Response of the Different MPPT Techniques to Nonuniform Atmospheric Conditions and Load Changes
We also investigated the dynamic behavior of the proposed system to rapid changes in load. To analyze the dynamic behavior of the system, we considered temperature, insolation, and step load changes. We performed tests in which the three PV modules were partially shaded with nonuniform insolation and temperature. Figure 11(a) shows the nonuniform temperature levels , , and varying from 20°C to 45°C. Nonuniform insolation of the three PV modules was varied as shown in Figures 11(b), 11(c), and 11(d).
(a)
(b)
(c)
(d)
(e)
(f)
(i) Case 1 (test under rapidly changing load (from 150 to 220 )). Step load change was from 150 to 220 at time sec. The dynamic responses of the PV system controlled by the three algorithms are represented in Figure 11(e). The proposed algorithm oscillated around the GMPP and the PWMbased sliding mode algorithm showed much better performance and was more robust than the P&O and IncCond algorithms.
(ii) Case 2 (test under rapidly changing load (from 150 to 550 )). The step load change was from 150 to 550 at time sec. With reference to Figure 11(f), the simulation results showed that proposed method has better performance than the existing methods. However, when the overload level changed rapidly at 5 sec, the proposed method has a slow stability output power response time.
4.5. Comparative Study
Flowcharts of the P&O and IncCond methods developed using Matlab/Simulink software are shown in Figures 5 and 6, respectively.
Previously developed methods [5, 7, 18] for a resistive load connected to a DCDC converter were simulated. However, we considered static and dynamic loads and the influence of nonuniform insolation and temperature on all PV modules to evaluate their performance. Figures 9(d), 10(b), and 11(e) show the output power of the three methods under partially shaded conditions. All methods were able to track the GMPP with different output voltages. Specifically, the IncCond method was characterized by a small overshoot and oscillation when the MPP was reached, whereas the P&O method has more oscillation around the GMPP. Finally, the proposed method has more oscillation around the GMPP than the P&O method; however, it provided more output power than expected, and its implementation was relatively conventional. In addition, an abrupt change in output load resulted in slower stability output power. The proposed method showed more robustness in terms of its dynamic behavior under different operating conditions, such as nonuniform insolation, nonuniform temperature, and resistive load, than the conventional methods evaluated.
5. Conclusions
Generation of power from a PV system is highly dependent on climate conditions. In this paper, we assessed the performance of three different MPPT techniques in response to uniform and nonuniform insolation, temperatures, and loads. In particular, we compared the performance of the P&O and IncCond MPPT techniques with our proposed MPPT technique. The ability of the proposed method supplied with the reference voltage by the MPPT at sampling time to respond to sudden changes in solar insolation, temperature, and load was tested. The proposed method converged quickly with small oscillations around the MPP during steady state and obtained a higher voltage than the other two methods. Matlab/SimPowerSystembased simulations of a PV system with MPPT control were carried out to validate the proposed method.
Table 3 is shown as the result of the improved power ratio based on our proposed scheme.
6. Future Work
Our results demonstrate that the proposed method successfully tracked output power consumption. However, the proposed method has slow response time to a rapid change in load. Therefore, more studies are necessary to improve the response time to a sudden demand load.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
References
 E. C. Kern Jr., E. M. Gulachenski, and G. A. Kern, “Cloud effects on distributed photovoltaic generation: slow transients at the Gardner, Massachusetts photovoltaic experiment,” IEEE Transactions on Energy Conversion, vol. 4, no. 2, pp. 184–190, 1989. View at: Publisher Site  Google Scholar
 M. Calais and H. Hinz, “A ripplebased maximum power point tracking algorithm for a singlephase, gridconnected photovoltaic system,” Solar Energy, vol. 63, no. 5, pp. 277–282, 1998. View at: Publisher Site  Google Scholar
 D. Sera, T. Kerekes, R. Teodorescu, and F. Blaabjerg, “Improved MPPT method for rapidly changing environmental conditions,” in Proceedings of the IEEE International Symposium on Industrial Electronics (ISIE '06), pp. 1420–1425, July 2006. View at: Publisher Site  Google Scholar
 C. W. Tan, T. C. Green, and C. A. HernandezAramburo, “An improved maximum power point tracking algorithm with currentmode control for photovoltaic applications,” in Proceedings of the International Conference on Power Electronics and Drives Systems (PEDS '05), pp. 489–494, 2005. View at: Google Scholar
 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 Site  Google Scholar
 E. Koutroulis, K. Kalaitzakis, and N. C. Voulgaris, “Development of a microcontrollerbased, photovoltaic maximum power point tracking control system,” IEEE Transactions on Power Electronics, vol. 16, no. 1, pp. 46–54, 2001. View at: Publisher Site  Google Scholar
 A. Zegaoui, M. Aillerie, P. Petit, J. P. Sawicki, J. P. Charles, and A. W. Belarbi, “Dynamic behaviour of PV generator trackers under irradiation and temperature changes,” Solar Energy, vol. 85, no. 11, pp. 2953–2964, 2011. View at: Publisher Site  Google Scholar
 B. N. Alajmi, K. H. Ahmed, S. J. Finney, and B. W. Williams, “A maximum power point tracking technique for partially shaded photovoltaic systems in microgrids,” IEEE Transactions on Industrial Electronics, vol. 60, no. 4, pp. 1596–1606, 2013. View at: Publisher Site  Google Scholar
 A. Reza Reisi, M. Hassan Moradi, and S. Jamasb, “Classification and comparison of maximum power point tracking techniques for photovoltaic system: a review,” Renewable and Sustainable Energy Reviews, vol. 19, pp. 433–443, 2013. View at: Publisher Site  Google Scholar
 S.C. Tan, Y. M. Lai, and C. K. Tse, “Implementation of pulsewidthmodulation based sliding mode controller for boost converters,” IEEE Power Electronics Letters, vol. 3, no. 4, pp. 130–135, 2005. View at: Publisher Site  Google Scholar
 S.C. Tan, Y. M. Lai, C. K. Tse, and L. MartinezSalamero, “Special family of PWMbased slidingmode voltage controllers for basic DCDC converters in discontinuous conduction mode,” IET Electric Power Applications, vol. 1, no. 1, pp. 64–74, 2007. View at: Publisher Site  Google Scholar
 G. Spiazzi, P. Mattavelli, L. Rossetto, and L. Malesani, “Application of sliding mode control to switchmode power supplies,” Journal of Circuits, Systems, and Computers, vol. 5, pp. 337–354, 1995. View at: Publisher Site  Google Scholar
 B. Subudhi and R. Pradhan, “A comparative study on maximum power point tracking techniques for photovoltaic power systems,” IEEE Transactions on Sustainable Energy, vol. 4, no. 1, pp. 89–98, 2013. View at: Publisher Site  Google Scholar
 Y. T. Tan, D. S. Kirschen, and N. Jenkins, “A model of PV generation suitable for stability analysis,” IEEE Transactions on Energy Conversion, vol. 19, no. 4, pp. 748–755, 2004. View at: Publisher Site  Google Scholar
 V. Salas, E. Olías, A. Barrado, and A. Lázaro, “Review of the maximum power point tracking algorithms for standalone photovoltaic systems,” Solar Energy Materials and Solar Cells, vol. 90, no. 11, pp. 1555–1578, 2006. View at: Publisher Site  Google Scholar
 K. Ishaque and Z. Salam, “A review of maximum power point tracking techniques of PV system for uniform insolation and partial shading condition,” Renewable and Sustainable Energy Reviews, vol. 19, pp. 475–488, 2013. View at: Publisher Site  Google Scholar
 C. Hua, J. Lin, and C. Shen, “Implementation of a DSPcontrolled photovoltaic system with peak power tracking,” IEEE Transactions on Industrial Electronics, vol. 45, no. 1, pp. 99–107, 1998. View at: Publisher Site  Google Scholar
 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 Site  Google Scholar
Copyright
Copyright © 2015 Jehun Hahm 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.