Open Access Open Access  Restricted Access Subscription or Fee Access

Charge-Discharge Regulator Controlled by a Microcontroller for PV Applications - Design and Realization

Safa Hakim(1*), Brahim Bouachrine(2), Lahoussine Bouhouch(3), Ali Moudden(4)

(1) Physics Department, University Ibn Zohr, Faculty of Sciences, Morocco
(2) Physics Department, University Ibn Zohr, Faculty of Sciences, Morocco
(3) ESTA (High School of Technologies of Agadir), IbnZohr University, Morocco
(4) Laboratory of metrology and information processing, Faculty of Sciences of Agadir, Morocco
(*) Corresponding author



In a photovoltaic (PV) installation, especially the autonomous one, the battery is the weakest link. It is used to store the energy produced by solar panels, but it needs some protection against overcharge and deep discharge, which can damage or destroy the battery. Therefore, an appropriate charge or discharge regulator must be installed, whose role is to continuously monitor the state of charge by separating the use when the voltage is too low, and to prevent any overcharging of the battery. In this article, authors designed and produced a solar regulator whose principle operating was based on a command generated from a PIC microcontroller 16F876A. This microcontroller commands four relays: one is connected to the battery, the second to the load; the third one to PV panel and the last one for the test. Experimental results were also presented in order to illustrate the functioning of the proposed charge/ discharge regulator.
Copyright © 2018 Praise Worthy Prize - All rights reserved.


Photovoltaic; Battery; PIC 16F876; Regulator

Full Text:



A.H. Almasoud, Hatim M. Gandayh,"Future of solar energy in Saudi Arabia", Journal of King Saud University - Engineering Sciences, Vol.27, pp. 153 157, 2015.

Takae Shimada, KosukeKurokawa, "Modeling Method for Lead-Acid Battery Simulation Using Step Changing Current", Electrical Engineering in Japan, Vol. 172, no 3, pp. 18-27, 2010.

Ravi Gugulothua, Naga SaradaSomanchia, Sri Rama Devi Rb, HimaBinduBanothc, "Experimental Investigations on Performance Evaluation of a Single Basin Solar Still Using Different Energy Absorbing Materials", Aquatic Procedia, Vol. 4, pp. 1483-1491, 2015.

DhanisWoroFittrina, "Determining Optimal Schedule and Load Capacity in the Utilization of Solar and Wind Energy in the Microgrid Scheme: A Case Study", Energy Procedia, Vol.65, pp. 48-57, 2015.

Simon C. Mueller, Philipp G. Sandner, Isabell M. Welpe, "Monitoring innovation in electrochemical energy storage technologies: A patent-based approach", Applied energy, Vol. 137, pp. 537-544, 2015.

L. Messikh, S. Chikhi, F. Chikhi, T. Chergui, "Mise au point d'un régulateur de charge/décharge de batterie avec seuils adaptatifs de tension pour les applications photovoltaïques", Revue des Energies Renouvelables, Vol. 11, no2, pp. 281 290, 2008.

Andreas Jossen, JuergenGarche, Dirk Uwe Sauer, "Operation conditions of batteries in PV applications", Solar Energy 76,pp. 759-769, 2004.

Rodolfo Dufo-Lopez, Juan M.Lujano-Rojas, José L. Bernal-Agustin,"Comparison of different lead-acid battery lifetime prediction models for use in simulation of stand-alone photovoltaic systems", Applied Energy, Vol. 115, pp. 242 253, 2014.

Yasser E. Abu Eldahab,NaggarH.Saad, AbdalhalimZekry, "Enhancing the design of battery charging controllers for photovoltaic systems", Renewable and Sustainable Energy Reviews, 58, pp. 646-655, 2016.

E. Koutroulis, K. Kalaizakis, "Novel battery charging regulation system for photovoltaic applications", IEE Proc. Electric Power Applications, Vol. 151, no 2, pp. 191-197, 2004.

K. Hirech, M.Melhaoui, F.Yaden, E. Baghaz, K.Kassmi,"Design and realization of an autonomous system equipped with a Charge/Discharge regulator and digital MPPT command", Energy Procedia, Vol. 42, pp. 503-512, 2013.

E.P. Usher, M.M.D. Ross,"Recommended practices for charge controllers", Report IEA PVPS T3-05, August 1998.

K.Ramesh, C.Bharatiraja, S.Raghu, G. Vijayalakshmi, PL.Sambanthen, "Design and implementation of real time charging optimization for hybrid electric vehicles", International Journal of Power Electronics and Drive Systems (IJPEDS), Vol. 7, no 4,pp. 1261-1268, 2016.

A.AbubakkarSiddik, M. Shangeetha, "Implementation of fuzzy logic controller in photovoltaic power generation using Boost converter and boost inverter", International Journal of Power Electronics and Drive Systems (IJPEDS),Vol. 2, no 3, pp. 249-256, 2012.

LDK_off_grid_pv_modules_catalog_en.pdf,Web site: LDK_OFF_GRID_PV_Modules_Catalog_en.pdf, visited at 01/12/2016.

FG20721,Web site: user_upload/Celltech/Prod.sheets/FG20721_2.pdf, visited at10/08/2016.

S. Hakim, M. Elyaqouti, L. Bouhouch, A. Moudden, Comparaison de Deux Modèles de Batterie Utilisés Dans les Systèmes Photovoltaïques", International Journal of Innovation and Applied Studies(IJIAS), Vol. 20, no 4,pp. 1033-1041, 2017.

James P.Dunlop, "Batteries and charge control in stand-alone photovoltaic systems Fundamentals and application", Florida solar energy center/ University of central Florida, Report, 1997.

JQC-3F (T73) Web site: datasheet-pdf/view/114955/ETC1/JQC-3F.html, visited at02/12/2016.

2N2219A Datasheet, Web site:, visited at 02/12/2016.

Hakim, S., Elyaqouti, M., Farhat, S., Bouhouch, L., Moudden, A., Modeling and Simulation of a Battery and a Bidirectional Buck-Boost Converter Used in PV Systems, (2016) International Review of Automatic Control (IREACO), 9 (6), pp. 429-439.

Hirech, K., Melhaoui, M., Baghaz, E., Malek, R., Kassmi, K., Photovoltaic System Equipped with a Reliable and Efficient Regulator/MPPT and Energy Flow Controller, (2015) International Review of Electrical Engineering (IREE), 10 (1), pp. 131-144.


  • There are currently no refbacks.

Please send any question about this web site to
Copyright © 2005-2020 Praise Worthy Prize