Skip to main content

Li-Ion Battery Charger Using IC 555

The following post explains a straightforward yet precise automatic Li-Ion battery charger circuit using the ubiquitous IC 555.

Charging Li-ion Battery Can be Critical


A Li-ion battery as we all know needs to be charged under controlled conditions, if it's charged with ordinary means could lead to damage or even explosion of the battery.

Basically Li-ion batteries don't like over charging their cells. Once the cells reach the upper threshold, the charging voltage should be cut off.

The following Li-Ion battery charger circuit very efficiently follows the above conditions such that the connected battery is never allowed to exceed its over charge limit.

When the IC 555 is used as a comparator, its pin#2 and pin#6 become effective sensing inputs for detecting the lower and the upper voltage threshold limits depending upon the setting of the relevant presets.

Pin#2 monitors the low voltage threshold level, and triggers the output to a high logic in case the level drops below the set limit.

Conversely, pin#6 monitors the upper voltage threshold and reverts the output to low on detecting a voltage level higher than the set high detection limit.

Basically the upper cut off and lower switch ON actions must be set with the help of the relevant presets satisfying the standard specs of the IC as well as the connected battery.

The preset concerning pin#2 must be set such that the lower limit corresponds to 1/3rd of the Vcc, and similarly preset associated with pin#6 must be set such that the upper cut off limit corresponds to 2/3rd of Vcc, as per the standard rules of the IC 555.

How it Works


The entire functioning of the proposed Li-Ion charger circuit using IC 555 takes place as explained in the following discussion:

Let's Assume a fully discharged li-ion battery (at around 3.4V) is connected at the output of the below shown circuit.

Assuming the lower threshold to be set somewhere above the 3.4V level, pin#2 immediately senses the low voltage situation and pulls the output high at pin#3.

The high at pin#3 activates the transistor which switches ON the input power to the connected battery.

The battery now gradually begins charging.

As soon as the battery reaches full charge (@4.2V), assuming the upper cut off threshold at pin#6 to be set at around 4.2v, the level is sensed at pin#6 which immediately reverts the output to low.

The low output instantly switches off the transistor which means the charging input is now inhibited or cut off to the battery.

The inclusion of a transistor stage provides the facility of charging higher current Li-Ion cells also.

The transformer must be selected with voltage not exceeding 6V, and current rating 1/5th of battery AH rating.

Circuit Diagram


Li-Ion Battery Charger Circuit Using IC 555

 

 

If you feel that the above design is much complex you could try the following design which looks much simpler:

 

Li-Ion Battery Charger Circuit Using IC 555


How to Set up the Circuit


Connect a fully charged battery across the shown points and adjust the preset such that the relay just deactivates from N/C to N/O position....do this without connecting any charging DC input to the circuit.

Once this is done you can assume the circuit to be set and usable for an automatic battery supply cut off when fully charged.

During actual charging, make sure the charging input current is always lower than the battery AH rating, meaning if suppose the battery AH is 900mAH, the input should not be more than 500mA.

The battery should be removed as soon as the relay switches OFF to prevent self discharging of the battery via the 1K preset.

IC1 = IC555

All resistors are 1/4 watt CFR

IC 555 Pinout

 

IC 555 pinout

Need Help? Please leave a comment, I'll get back soon with a reply!




Comments

  1. Dear Sir,

    Can a 12v 1 amp transformer suitable to charge 3.7 V 1000 MaH Battery or suggest a suitable transformer

    Thanks in Advance

    ReplyDelete
  2. Dear अमृतमन्थन,

    You will have to first drop it to 4V by using a 7805 IC and a 1N4007 diode in series, then it would become suitable for charging the cell, but be cautioned, you will have stop the charging as soon as the cell voltage reaches 3.9V

    ReplyDelete
  3. Sir
    Can U set a LED indicator in this circuit which indicates that charging is on and another LED indicator for charging is full

    ReplyDelete
  4. Connect two LEDs: one across positive and pin#3, second across Pin#3 and ground respectively.....each LED must have individual 1K resistor in series...

    ReplyDelete
  5. Dear Swagatam

    what the max ampere level of this circuit and what changes will i have to make if i want to charge 4000mah li-ion battery

    ReplyDelete
  6. Dear Kkaranjia,

    The ampere level can be modified by simply modifying the transformer current rating. For 4AH battery you can use a 6V/500mA transformer.

    ReplyDelete
  7. if i want to make it a transformerless and still keep its limit to 500mA Pls suggest the changes i need to make...
    Can i remove the transformer and then supply via cap and resister in parallel and then apply 6 volt zener after diodes??

    ReplyDelete
  8. transformerless power supply will not produce 500mA, and is not recommended, it will produce lethal electric shocks and surge currents so it can be dangerous..

    ReplyDelete
  9. they circuit you have shown in the link below supplies how many amps??
    https://homemade-circuits.com/2013/05/variable-surge-free-high-current.html

    ReplyDelete
  10. By adding more number of capacitors you can increase the current to more than 500mA....around 10u/400V non-polar can be tried.

    ReplyDelete
  11. so i am thinking to link the circuit shown in above link and in this page so is it safe to do it??

    ReplyDelete
  12. I would suggest that you first make the power supply, check its results and then integrate the two....but be careful with the mains supply that will always present at the output and the across the whole circuit

    ReplyDelete
  13. hello sir i am following your circuit design from many days.here you have used ne555 ic as a comparator. in your another post LM741 opamp was used to charge battery. but in the both circuits i have noticed the transistors used(here bd139, or tip122) emiter and collector terminal both connected to negative to the power source. how transistor worked then? please explain.

    ReplyDelete
  14. helo skl,

    the transistor acts like a switch in series with the negative line of the circuit.

    It toggles the positive voltage that's flowing from the circuit into the negative of the power supply and thus helps to switch it ON/OFF in response to the IC output signals.

    ReplyDelete
  15. Dear, Swagatam

    Sir, Can i replace BD139 transistor with
    ant NPN transistor? i have C1904 here... and what is the use of two 10k VR resistor there? to adjust the voltage ??? thank yoy.

    ReplyDelete
  16. Dear Darel,
    you can use any NPN which can handle in excess of 1amp current, so please confirm the same through their respective datasheets.

    ReplyDelete
  17. Hi,
    Can I connect the solar panel instead of 220V mains input?
    while my solar is 19v, can it be connected to D2-D5 section?

    ReplyDelete
  18. Hi, yes you can use a solar panel in place of the transformer, but 19V may not be compatible to the battery....

    ReplyDelete
  19. Hi,
    could you please specify the input voltage after 220V in TR1 section. is that 12v in D2-D5 section?

    ReplyDelete
  20. Hi, a 0-6V/500mA rated secondary would be just perfect

    ReplyDelete
  21. Hi,
    I want to make a charger controller for my solar panel 150W 12-19v.
    could you please guide me to a circuit diagram for my solar please?

    ReplyDelete
  22. Hi you can try the second last circuit from the following link:

    https://homemade-circuits.com/2013/08/simple-zero-drop-solar-charger-circuit.html

    ReplyDelete
  23. Sir me bhanu .........
    1) can i use this circuit for 12v battery charger.........
    2) I have another circuit designed by you i have more problems in setting this circuit...i aam sending the link
    https://homemade-circuits.com/2013/03/automatic-lead-acid-battery-charger.html

    Plz sir help me .........
    Thank you

    ReplyDelete
  24. Bhanu, I would suggest you try an opamp based circuit from this blog, the above circuit will be again difficult for you to set, it can be used for 12V battery

    ReplyDelete
  25. Hi Swagatam-
    Would you be interested in designed and creating a charging circuit similar to one above if I provided you requirements? I will compensate you.
    Please contact me at ddequarto@aol.com

    ReplyDelete
  26. thank you scientificruler,
    I am sorry making it practically wouldn't be possible for me at the moment due to work pressure.

    ReplyDelete
  27. a 3.7v liion battery should give charge at 4.2v, but this circuit construction i always get more than4.2v and this is not good for liion battery that what i have learned. with input voltage change output voltage also change, how to fix that problem?and how to make output voltage exact 4.2v..thanks

    ReplyDelete
  28. your input power supply voltage should be around 4.2V fixed and the current should not higher than the cell's max AH rating

    ReplyDelete
  29. is R1,R3,R4,R6 CRITICAL or can I use different values ?

    ReplyDelete
  30. I am trying to build a charger for an 8.4 volt battery how can I do that with this circuit ?

    ReplyDelete
  31. you can eliminate those totally, and just use the preset for the settings

    ReplyDelete
  32. I'll try to update a simpler version which will be more flexible, you can probably use that for your application.

    ReplyDelete
  33. that would be great thank you for your time

    ReplyDelete
  34. very nice circuit you posted I will use that Thanks

    ReplyDelete
  35. I don't have any 2.2M resistors I have some 1.1M 1watt resistors can I use those ?

    ReplyDelete
  36. thank you! yes 1.1M will also do.

    ReplyDelete
  37. thank you swagatam your awesome !!

    ReplyDelete
  38. all I have is NC relays do you have any Idea how that could be used if not I can go buy a relay that is NO

    ReplyDelete
  39. thanks Melisa! the NO contact is anyway not required, so a single N/C should do the job, you can try with it.

    just connect the N/C and the pole of the relay as shown in the diagram.

    ReplyDelete
  40. Dear Swagatham
    I have 2 Li-Ion batteries (3.7v, 2500mah) removed from my Samsung mobile, when it became unusable in mobile.
    I removed the tiny circuit board from the battery. Now the battery I am using for testing my hobby circuits. The battery can store charge for long time.
    I need an automatic charger circuit with fullcharge cut-off and led indication. My idea is to charge both batteries in series (7.4v).
    The battery do not discharge through the charging circuit, when it is fully charged.
    You have published many Li-ion charger circuits. Which one is suitable for me.

    ReplyDelete
  41. Dear Anil,

    You can try second circuit from the following link:

    https://homemade-circuits.com/2012/07/make-6v-4ah-automatic-battery-charger.html

    adjust the pot to acquire exactly 8.5V across the battery points without the battery connected, and follow the steps as explained in the article.

    ReplyDelete
  42. Plese help me. I have 4.2v battery 2300MA. And i meke this circuit. But not working.. And i meke it expert regulator.. Is this problem? , powersupply input voltage is 4.96 and output 4.96 (no lord ) and put battery now output voltage is 4.12.. But not charging... Ic is damaged or i didn't put regulator? What's the problem?

    ReplyDelete
  43. If you are having difficulty with this charger you can try the following design:

    https://homemade-circuits.com/2015/04/charging-li-ion-battery-12v-car.html

    or this one:

    https://homemade-circuits.com/2012/02/how-to-make-current-controlled-12-volt.html

    ReplyDelete
  44. Dear Swagatam majumdar. I visit your site a many time your work is awesome. I keep your site ay my bookmarks. . Now i want to build a circuit which could charge a lithium cell of laptop battry from main 220v ac whithout transformer. I have a lot of lithium cell of laptop battries in good condition. I want to fit them in a handy tourch . Could you please help me to build a simple and cheap circuit which donot over charge and a full charge indicator. Please help me . I will be thank full ..... Imran Arain from pakistan

    ReplyDelete
  45. Thanks Imran, a transformerless circuit would be difficult. You will need a 24V 2amp AC/DC adapter for this, whose output can be fed to the following circuit for getting the required CC/CV and auto cut off features:

    https://homemade-circuits.com/2015/04/charging-li-ion-battery-12v-car.html

    ReplyDelete
  46. Dear swagatam,
    I ask to you how to setup first circuit to set min and max threshold...
    Thanks in advance

    ReplyDelete
  47. Dear Movies-point, first apply the lower threshold to the circuit from the battery side, then adjust the pin2 preset to just cause the pin3 to become high....then without removing the supply increase the voltage to the higher threshold level and adjust the pin7 preset until the output just becomes low

    ReplyDelete
  48. Hi Swagatam thanks for the circuits. I need a circuit charger for my lithium one cell battery 100ma which have dropped it's voltage. A guy told me I have to charge it with 1/10 of it's amp capacity which means 10ma. Can I modify the 555circuit?
    Thanks

    ReplyDelete
  49. Thanks Aborg, Lithium cells can be charged at their full AH rate, meaning you can charge your cell at 100mA rate also, however at 10mA it will be much cooler.... but might take around 10 to 14 hours to charge fully.

    you can try the second 555 circuit for your application. use a 10 to 50mA current input for the recommended charging procedures.

    ReplyDelete
  50. Hi, thanks for your posts. But looking at the first circuit, I wonder how the 555 gets powered initially for the sensing to work, since the 7805 ground is not connected until the transistor is on. May be I am missing something please can you clarify?

    ReplyDelete
  51. Hi, it will get the power from the battery side and use 3.7V for the 555 IC for the detection...the IC should be preferably IC 7(555) so that it can work with 3.7V supplies also

    ReplyDelete
  52. Thanks a lot for the clarification. Maybe you need to indicate in the post, the CMOS 7555 requirement, since the NE 555 needs minimum voltage of 4.5V.

    ReplyDelete
  53. sir,I want to say that my power bank is 10000mah but problem is that when we connect the led to the pcb circuit and battery connection after that pcb board become heat and sometimes led will glow continously.so please share me your suggestion how to check or improve this problem.

    ReplyDelete
  54. Rahul, what is the of the purpose of the LED? why do you want to connect it?

    ReplyDelete
  55. friend help me on some questions please i need advice

    ReplyDelete
  56. friend. the circuit you are showing in this post serves to cell batteries 3.7 v to 1000mAh

    ReplyDelete
  57. yes 3.7V/1AH cell can be charged

    ReplyDelete
  58. I Want to built auto cutoff charger for lithium ion battery 11.3v 3Ah with led indication can u help me out sir please

    ReplyDelete
  59. you can try the last design from this article:

    https://homemade-circuits.com/2013/12/usb-automatic-li-ion-battery-charger.html

    ReplyDelete
  60. C1 is optional, for allowing a delay effect, you can select it by experimenting or simply ignore it

    ReplyDelete
  61. Hello sir
    My laptop charging circuit is damaged and its battery interfacing- circuit also . I have no idea or schematic to repair it ( 6 cell battery protection circuit ) plz give me link if any . And
    Which circuit I need to charge this 6 cell li ion laptop battery of 11.1 volt , 4400 mah for charging it externally

    ReplyDelete
  62. Hello, you can try the second set up shown in the followng article

    https://homemade-circuits.com/2013/08/connecting-batteries-in-parallel.html

    you can remove the bulbs, it's not required for your application....

    make sure the charging current is 20% of the battery AH rating...meaning if the AH rating of each battery is say 1AH then the supply current could be around 500mA multiplied by number of batts in parallel.

    ReplyDelete
  63. Hi
    Li-ion battery have some charging state initially it charges through constant current then after it will start charging through constant voltage of 4.2V. In this circuit you cut the charging when battery reaches to 4.2V (during constant voltage stage) then how it will charge the battery??

    ReplyDelete
  64. Hi, the above charger is presented in its basic form, which may not be 100% efficient but sufficient to charge the cell to at above 90% level.

    cutting of at the full charge level was important for ensuring a risk free charging.... however for enabling a trickle charging at 4.2V the relay's N/C could be configured appropriately.

    ReplyDelete
  65. ....by the way li-ion cells must be always cut off at its full charge level to avoid internal stress

    ReplyDelete
  66. Hi sir,

    What the value relay ? 6V or 5V ?
    Tks in advance

    ReplyDelete
  67. Hi Firkan, the relay voltage should be equal to the supply voltage value

    ReplyDelete
  68. Many thanks sir! this very simple & usefull circuit :)

    ReplyDelete
  69. Hi sir,
    Sorry i've one more question :
    1. If i change the supply voltage should i change the zener diode too ?
    2. i've drop voltage from 5v to 4.3v with plcaed 1N4007 diode after relay, is it correct ?
    Tks in advance

    ReplyDelete
  70. Firkan, No change would be required, the zener value can remain as indicated in the diagram.

    yes a 1N4007 will drop around 0.7 V..... but a diode a is not actually necessary

    ReplyDelete
  71. Hi... This is Suma here... I am trying to make Li-Ion Battery Charger Circuit Using IC 555 and I found your circuit relevant.. But after connecting I am getting many doubts.. Please clear my doubts...
    In the following circuit, I am not getting how much voltage is supplied to the 3.7V Battery while charging? The output from the bridge rectifier output will be how much?
    For 78L05 regulator to give 5V output minimum 7V we have to give input to it. The same voltage is given to the battery positive terminal. 7V is given to battery for charging?

    ReplyDelete
  72. Hi, yes in the first circuit 7V would reach the Li-ion cell but due to the 2 ohm resistor the current would be sufficiently reduced, which will mean the voltage dropping to the required safe level for the battery, and as it begins charging and reaches the 4.2V level, the IC can be expected to cut off the supply and stop any further charging.

    if you are not comfortable with the 7V, you can modify the design using zener and resistor as done in the last diagram.

    ReplyDelete
  73. you can use a 4.7V zener and a 5V input, alternatively the 7V can be reduced by adding 4 series 1N4007 diodes for the battery

    ReplyDelete
  74. Hello sir iwant to charge this battery using moving dc motor so that please give a circuit diagram of it

    ReplyDelete
  75. Hi Vishwanath, you can easily procure a 6V crank flashlight and use its output for the charging purpose if possible I'll try to update the design soon...

    ReplyDelete

Post a Comment