- Case study
- Open Access
Design of a P-&-O algorithm based MPPT charge controller for a stand-alone 200W PV system
Protection and Control of Modern Power Systems volume 3, Article number: 25 (2018)
Solar cells convert sun light into electricity, but have the major drawbacks of high initial cost, low photo-conversion efficiency and intermittency. The current-voltage characteristics of the solar cells depend on solar insolation level and temperature, which lead to the variation of the maximum power point (MPP). Herein, to improve photovoltaic (PV) system efficiency, and increase the lifetime of the battery, a microcontroller-based battery charge controller with maximum power point tracker (MPPT) is designed for harvesting the maximum power available from the PV system under given insolation and temperature conditions. Among different MPPT techniques, perturb and observe (P&O) technique gives excellent results and thus is used. This work involves the design of MPPT charge controller using DC/DC buck converter and microcontroller. A prototype MPPT charge controller is tested with a 200 W PV panel and lead acid battery. The results show that the designed MPPT controller improves the efficiency of the PV panel when compared to conventional charge controllers.
Solar energy is one of the most important renewable energy resources because it is inexhaustible and eco-friendly, and has been used to provide light, heat and electricity [1, 2]. Solar PV modules have two major problems of low efficiency and intermittency, i.e. their efficiency of converting sun light into electric power is generally less than 17%, and the generated electric power changes with weather conditions [3,4,5]. Moreover, PV cell characteristics (I-V or V-P) are nonlinear and changes with insolation and temperature. In stand-alone solar PV systems, the PV modules and batteries are the most expensive components. When the batteries are directly connected to the PV modules, there is no protection against overcharging and consequently, battery life-span decreases. To protect batteries from overcharging charge controllers can be used, though conventional charge controllers do not operate PV modules at MPP, resulting in lower efficiency. To improve the efficiency, it is desirable to operate the PV module at peak power point to deliver maximum power to the batteries.
MPPT techniques are used to extract the maximum output power from PV modules [6,7,8,9,10], and different DC/DC converter topologies are used to transfer maximum power from PV modules to loads/ batteries [11, 12]. Different techniques of MPPT have been proposed, e.g. open circuit voltage methods [13, 14], short circuit current methods [15, 16], fuzzy logic technique [17, 18], perturb and observe (P&O) [19,20,21], incremental conductance (IC) technique [22,23,24].
In this work, a MPPT charge controller based on the P&O technique is designed, to operate a fixed PV module at MPP. The hardware implementation of the designed 200 W MPPT charge controller is carried out and the prototype is tested for the PV charging system. The results show that such type of MPPT controller improves the efficiency of PV panels when compared to conventional charge controllers.
The renewable energy sources, especially solar cells are attracting the interests of researchers worldwide due to their direct conversion of light into electricity. However, the high-cost, low photo-conversion efficiency and intermittency are still need to be addressed. The case study involves the design of MPPT charge controller using DC/DC buck converter and microcontroller. A prototype MPPT charge controller is tested with a 200W PV panel and lead acid battery. The as-designed MPPT controller improves the efficiency of the PV panel when compared to conventional charge controllers.
Discussion and Evaluation
In PV panels, PV cells convert sunlight into electrical energy, which is one of the best approaches for achieving electrical power for long duration. The conversion from sun light to electrical power greatly depends on various factors such as the insolation level and cell efficiency. Solar PV systems are used today in many applications such as lighting, battery charging, water pumping, and satellite power systems etc. .
PV cell equivalent circuit
An ideal PV cell can be presented by a current source with a diode connected in parallel. In the ideal case, the series and shunt resistances are considered to be zero and infinite, respectively. However, in real system, both the series and shunt resistances have finite values and must be considered. In Fig. 1, both the ideal and practical equivalent circuits of a solar cell are shown. From Fig. 1b the generated current (I) by the PV cell is given by
Where VT is the thermal voltage, Rs and Rsh represent the internal series and parallel resistances, respectively. Isc is the short-circuit current, Io is the reverse saturation current, VD is the voltage across the diode, I is the current output and n is the ideality factor of the diode (1~ 2).
A simplified model after neglecting the shunt resistance is shown in Fig. 1a, and accordingly the following equation can be derived.
PV cell output voltage can be found by considering T = KT/q in (3) as
PV cell I-V curve
PV cells have nonlinear I-V characteristic, which change with irradiation level and temperature. For standard temperature (25 °C) and irradiation level (1000 W/m2), the I-V curve of a PV cell is shown in Fig. 2, where the maximum power point is always at the knee of the curve as indicated.
Block diagrams of the proposed system with MPPT charge controller
An off-grid PV system usually consists of PV modules and batteries, which are connected through charge controllers. To improve system efficiency, an MPPT charge controller has been introduced as shown in the block diagram in Fig. 3. The MPPT charge controller is connected between the PV module and battery to extract maximum power from the PV module and deliver to the battery.
DC/DC converters convert one level of DC voltage to another. In the designed project, a buck DC/DC converter is used which step down the voltage and step up the current. The basic components used in the converter are a power semiconductor switch (M1), an inductor (L), a diode (D) and a capacitor (C) as shown in Fig. 4.
A buck DC/DC converter has two operation modes associated to switch M1 being closed and opened, respectively. When the switch M1 is closed at time t = 0, the input power is supplied to the load through inductor L. At that time the diode is reverse biased, and IL current increases at the rate of:
During this period inductor L is charging. At time t = t1, switch M1 opens and the energy stored in the inductor is delivered to the load through diode D which becomes forward biased. The inductor is now discharging and IL decreases at the rate of.
The diode remains in forward biased until M1 switch is closed. During one switching cycle, the average inductor voltage vL is zero under steady state. Since there are two states of vL, both having constant voltage, the average value of the output voltage is given by
Duty cycle (D) is given as:
For continuous conduction mode, the required minimum value of inductance can be expressed as:
The capacitor value can be calculated considering the output ripple voltage as
Where io is the output current, fPWM is the switching frequency and ∆V is the output voltage ripple.
Maximum power point tracking
To harvest maximum power from the PV panel a charge controller with MPPT capability is proposed in this paper. The two broad categories of MPPT techniques are the indirect techniques and direct techniques. Indirect techniques include the fixed voltage, open circuit voltage and short circuit current methods. In this kind of tracking, simple assumption and periodic estimation of the MPPT are made with easy measurements. For example, the fixed voltage technique only adjusts the operating voltage of the solar PV module at different seasons with the assumption of higher MPP voltages in winter and lower MPP voltages in summer at the same irradiation level. This method is not accurate because of the changing of irradiation and temperature level within the same season.
Another most common indirect MPPT technique is the open circuit voltage (OV) method. In this method, it is assumed that:
Where k is a constant and its value for crystalline silicon is usually to be around 0.7 to 0.8. This technique is simple and is easier to implement compared to other techniques. However the constant k is just an approximation Leading to reduced efficiency, and each time the system needs to find the new open circuit voltage (Vout) when the illumination condition changes. To find the new open circuit voltage, each time the load connected to the PV module must be disconnected causing power loss. Direct MPPT methods measure the current and voltage or power and thus are more accurate and have faster response than the indirect methods. Perturb and observe (P&O) is one of the direct MPPT techniques, which is used here with some modifications.
Perturb and observe algorithm (P&O)
Typically, P&O method is used for tracking the MPP. In this technique, a minor perturbation is introduced to, cause the power variation of the PV module. The PV output power is periodically measured and compared with the previous power. If the output power increases, the same process is continued otherwise perturbation is reversed. In this algorithm perturbation is provided to the PV module or the array voltage. The PV module voltage is increased or decreased to check whether the power is increased or decreased. When an increase in voltage leads to an increase in power, this means the operating point of the PV module is on the left of the MPP . Hence further perturbation is required towards the right to reach MPP. Conversely, if an increase in voltage leads to a decrease in power, this means the operating point of the PV module is on the right of the MPP and hence further perturbation towards the left is required to reach MPP. The flow chart of the adopted P&O algorithm for the charge controller is given in Fig. 5. When the MPPT charge controller is connected between the PV module and battery, it measures the PV and battery voltages. After measuring the battery voltage, it determines whether the battery is fully charged or not. If the battery is fully charged (12.6 V at the battery terminal) it stops charging to prevent battery over charging. If the battery is not fully charged, it starts charging by activating the DC/DC converter. The microcontroller will then calculate the existing power Pnew at the output by measuring the voltage and current, and compare this calculated power to the previous measured power Pold. If Pnew is greater than Pold, the PWM duty cycle is increased to extract maximum power from the PV panel. If Pnew is less than Pold, the duty cycle is reduced to ensure the system to move back to the previous maximum power. This MPPT algorithm is simple, easy to implement, and low cost with high accuracy [26,27,28].
MPPT charge controller hardware
The proposed MPPT charge controller is designed using the Altium Designer software, an electronic design automation for printed circuit board (PCB), field -programmable gate array (FPGA) and embedded software design. The picture of the designed hardware shown in Fig. 6.
The developed MPPT charge controller is connected between a PV module and battery following the specifications given in Table 1. In the first observation, the output power of the PV module and the MPPT controller are calculated. The measured output voltage and current of the MPPT controller are shown in Fig. 7, and the output power for the PV module and the MPPT controller are 86.05 W and 79.69 W, respectively.
During the tests, the weather was partially cloudy and the output of the PV module varied. The output power of the MPPT controller mainly depends on the PWM duty cycle, which is shown in Fig. 8.
Two types of experimental testing were performed. Conventional PWM charge controller was connected to one panel and the MPPT charge controller was connected to the other panel with the same specifications. To check the behavior of the controllers at different weather conditions and irradiance levels, three results of input and output power were from 2 pm to 3:30 pm at 30 min interval as listed in Table 2. The efficiencies shown in Table 2 were determined according to the measured input and output power.
As shown in Table 2, compared to the conventional charge controller, the developed MPPT charge controller significantly improve efficiency for each of the test time. These results prove that maximum power is harvested from the PV module by using the MPPT charge controller. When the battery is fully charged (12.6 V), the MPPT charge controller still provide low current (5 mA) to avoid self-discharge of the battery. Hence, the overall efficiency is improved by using the MPPT charge controller. These results are also depicted in Figs. 9 and 10.
To harvest maximum power from a PV module, MPPT based on modified P&O algorithm is implemented in this paper. The hardware consists of a high efficiency DC/DC buck converter and a microcontroller based MPPT controller, and is tested for battery charging. A conventional charge controller and the designed charge controller are compared when charging a 12 V battery from a 200 W solar PV module. It shows that the modified P&O algorithm provides an efficient and reliable maximum power tracking performance under rapid change in irradiance and temperature conditions. The experimental results show that the proposed system is more efficient than the conventional design.
Maximum power point
Maximum Power Point Tracker
Perturb and observe
Printed circuit board
Pulse width modulation
Leva, S., & Zaninelli, D. (2006). Technical and financial analysis for hybrid photovoltaic power generation systems. WSEAS Transactions on Power Systems, 5(1), 831–838.
Contino, R., Leva, S., & Zaninelli, D. (2007). Integrated renewable sources for supplying remote power systems. WSEAS Transactions on power systems, 2(2), 41–48.
Faranda, R., Leva, S., & Maugeri, V. (2008). MPPT techniques for PV systems: Energetic and cost comparison. In Power and Energy Society General Meeting-Conversion and Delivery of Electrical Energy in the 21st Century, 2008 IEEE (pp. 1-6). IEEE.
Dubey, S., Sarvaiya, J. N., & Seshadri, B. (2013). Temperature dependent photovoltaic (PV) efficiency and its effect on PV production in the world–a review. Energy Procedia, 33, 311–321.
Hamrouni, N., Jraidi, M., & Chérif, A. (2008). Solar radiation and ambient temperature effects on the performances of a PV pumping system. Rev Energ Renouv, 11(1), 95–106.
Sivakumar, P., Kader, A. A., Kaliavaradhan, Y., & Arutchelvi, M. (2015). Analysis and enhancement of PV efficiency with incremental conductance MPPT technique under non-linear loading conditions. Renew Energy, 81, 543–550.
Ishaque, K., & Salam, Z. (2013). A review of maximum power point tracking techniques of PV system for uniform insolation and partial shading condition. Renew Sust Energ Rev, 19, 475–488.
Bendib, B., Belmili, H., & Krim, F. (2015). A survey of the most used MPPT methods: Conventional and advanced algorithms applied for photovoltaic systems. Renew Sust Energ Rev, 45, 637–648.
Ramli, M. Z., & Salam, Z. (2014). A simple energy recovery scheme to harvest the energy from shaded photovoltaic modules during partial shading. IEEE Trans Power Electron, 29(12), 6458–6471.
De Brito, M. A. G., Galotto, L., Sampaio, L. P., e Melo, G. D. A., & Canesin, C. A. (2013). Evaluation of the main MPPT techniques for photovoltaic applications. IEEE Trans Ind Electron, 60(3), 1156–1167.
Bennett, T., Zilouchian, A., & Messenger, R. (2012). Photovoltaic model and converter topology considerations for MPPT purposes. Sol Energy, 86(7), 2029–2040.
Farahat, M. A., Metwally, H. M. B., & Mohamed, A. A. E. (2012). Optimal choice and design of different topologies of DC–DC converter used in PV systems, at different climatic conditions in Egypt. Renew Energy, 43, 393–402.
Gokmen, N., Karatepe, E., Ugranli, F., & Silvestre, S. (2013). Voltage band based global MPPT controller for photovoltaic systems. Sol Energy, 98, 322–334.
Eltawil, M. A., & Zhao, Z. (2013). MPPT techniques for photovoltaic applications. Renew Sust Energ Rev, 25, 793–813.
Quoc, D. P., Nhat, Q. N., Vu, N. T. D., Bao, A. N., & Lee, H. H. (2011). The new combined maximum power point tracking algorithm using fractional estimation in photovoltaic systems. In Power Electronics and Drive Systems (PEDS), 2011 IEEE Ninth International Conference on (pp. 919-923). IEEE.
Noguchi, T., Togashi, S., & Nakamoto, R. (2002). Short-current pulse-based maximum-power-point tracking method for multiple photovoltaic-and-converter module system. IEEE Trans Ind Electron, 49(1), 217–223.
Chekired, F., Larbes, C., Rekioua, D., & Haddad, F. (2011). Implementation of a MPPT fuzzy controller for photovoltaic systems on FPGA circuit. Energy Procedia, 6, 541–549.
Radjai, T., Rahmani, L., Mekhilef, S., & Gaubert, J. P. (2014). Implementation of a modified incremental conductance MPPT algorithm with direct control based on a fuzzy duty cycle change estimator using dSPACE. Sol Energy, 110, 325–337.
Femia, N., Petrone, G., Spagnuolo, G., & Vitelli, M. (2009). A technique for improving P&O MPPT performances of double-stage grid-connected photovoltaic systems. IEEE Trans Ind Electron, 56(11), 4473–4482.
Patel, H., & Agarwal, V. (2008). Maximum power point tracking scheme for PV systems operating under partially shaded conditions. IEEE Trans Ind Electron, 55(4), 1689–1698.
Elgendy, M. A., Zahawi, B., & Atkinson, D. J. (2012). Assessment of perturb and observe MPPT algorithm implementation techniques for PV pumping applications. IEEE transactions on sustainable energy, 3(1), 21–33.
Suwannatrai, P., Liutanakul, P., & Wipasuramonton, P. (2011). Maximum power point tracking by incremental conductance method for photovoltaic systems with phase shifted full-bridge dc-dc converter. In Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON), 2011 8th International Conference on (pp. 637-640). IEEE.
Selvan, D. S. (2013). Modeling and simulation of incremental conductance MPPT algorithm for photovoltaic applications. International Journal of Scientific Engineering and Technology, 2(7), 681–685.
Ankaiah, B., & Nageswararao, J. (2013). MPPT algorithm for solar photovotaic cell by incremental conductance method. International Journal of Innovations in Engineering and Technology, 2(1), 17–23.
Masoum, M. A., Badejani, S. M. M., & Fuchs, E. F. (2004). Microprocessor-controlled new class of optimal battery chargers for photovoltaic applications. IEEE Transactions on energy conversion, 19(3), 599–606.
Dabra, V., Paliwal, K. K., Sharma, P., & Kumar, N. (2017). Optimization of photovoltaic power system: A comparative study. Protection and Control of Modern Power Systems, 2(1), 3.
Kumari, J. S., Babu, D. C. S., & Babu, A. K. (2012). Design and analysis of P&O and IP&O MPPT techniques for photovoltaic system. International Journal of Modern Engineering Research, 2(4), 2174–2180.
Sera, D., Teodorescu, R., Hantschel, J., & Knoll, M. (2008). Optimized maximum power point tracker for fast changing environmental conditions. In Industrial Electronics, 2008. ISIE 2008. IEEE International Symposium on (pp. 2401-2407). IEEE.
2016 national key R & D program of China to support low-carbon Winter Olympics of integrated smart grid demonstration project (2016YFB0900501).
Availability of data and materials
All data is given in the paper or properly cited wherever necessary.
About the Authors
Salman Salman (1987-), male, PHD and Engineer, He received BE degree. From Baluchistan university of engineering and technology in electrical engineering; the MS degree from CIIT Islamabad, Pakistan in 2015. He is currently doing PhD from NCEPU in Major power system.
Xin AI (1964-), male, PHD and Professor, he received the B.S. degree from the Nanjing Institute of Technology, Nanjing, China (now Southeast University); the M.S. degree from the China Electric Power Research Institute, Beijing, China; and the Ph.D. degree from North China Electric Power University (NCEPU), Beijing, in 1985, 1988, and 1999, respectively, all in electrical engineering. He was a Senior Research Scholar with Brunel University, London, U.K., in 2003. He was the Director of the Institute of Power Systems, NCEPU, where he was engaged in research and teaching on power system and automation. He is currently a Professor and a Doctoral Tutor with the School of Electrical and Electronic Engineering, NCEPU. His current research interests include power system analysis and control, and transactive energy.
Zhouyang Wu (1994-), male, MS and Engineer, he received B.S. degree from BUAA, now working M.S. degree in electrical engineering at NCEPU in electrical engineering, major in the planning of power system.
Salman Salman is currently pursuing Ph.D. from Department of electrical engineering, North china electric power university, Beijing, China. He received MS degree with Honors in Electrical Power Engineering from Comsats institute of information technology, Islamabad, Pakistan. He received BE degree form Baluchistan University of engineering and technology, khuzdar, Pakistan. His area of interest is power System Protection, Micro grids, DER’s, Renewable Energy Resources, Transactive control and Electrical vehicle-grid integration.
Ai Xin, he received B.S. degree from the Nanjing Institute of Technology, Nanjing, China (now Southeast University); the M.S. degree from the China Electric Power Research Institute, Beijing, China; and the Ph.D. degree from North China Electric Power University (NCEPU), Beijing, in 1985, 1988, and 1999, respectively, all in electrical engineering. He was a Senior Research Scholar with Brunel University, London, U.K., in 2003. He was the Director of the Institute of Power Systems, NCEPU, where he was engaged in research and teaching on power system and automation. He is currently a Professor and a Doctoral Tutor with the School of Electrical and Electronic Engineering, NCEPU. His current research interests include power system analysis and control, and transactive energy.
Zhouyang Wu, he received B.S. degree from BUAA, now working M.S. degree in electrical engineering at NCEPU in electrical engineering, major in the planning of power system.
The authors declare that they have no competing interests.
About this article
Cite this article
Salman, S., AI, X. & WU, Z. Design of a P-&-O algorithm based MPPT charge controller for a stand-alone 200W PV system. Prot Control Mod Power Syst 3, 25 (2018) doi:10.1186/s41601-018-0099-8
- PV system
- Maximum power point tracker (MPPT)
- Perturb and observe (P&O) technique
- Charge controller