• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Battery Charger Circuits / Lithium Polymer (Lipo) Battery Charger Circuit

DIY Circuits | Learn Basics | Arduino Coding




Lithium Polymer (Lipo) Battery Charger Circuit

Last Updated on August 7, 2019 by Swagatam 71 Comments

In this post I have explained a simple lithium polymer (Lipo )battery with over charge cut off feature. The idea was requested by Mr. Arun Prashan.

Charging  a Single Lipo Cell with CC and CV

I came across your work on “​Bicycle Dynamo Battery Charger Circuit” in Homemade circuit design blog. It was really informative.

I would like to ask something regarding that article. I am working on a hexapedal robot with battery switching mechanism. Once the primary battery gets beyond a preset voltage, secondary battery will power up the robot’s system. My concern is not regarding the switching circuit.

Together with this, I am working on energy generation by attaching a generator to each motor. The current generated is intended to be used to recharge 30C 11.1V 2200mAh 3 cell LiPo battery.

I am aware that the circuit mentioned in “Bicycle Dynamo Battery Charger Circuit” will not be useful for my purpose. Can you give me any other option pertaining my issue. I just need to know on how to modify the circuit to make it LiPo compatible with constant voltage and constant current or CC and CV rates. Thanks, looking forward for a reply. 

Regards,

Arun Prashan

Malaysia

The Design

A Lithium polymer battery or simply a lipo battery is an advanced breed of the more popular lithium ion battery, and just like it's older counterpart is specified with stringent charging and discharging parameters.

However if look at the these specifications in detail we find it to be rather lenient as far as the rates are concerned, to be more precise a Lipo battery can be charged at the rate of 5C and discharged even at much higher rates, here "C" is the AH rating of the battery.

The above specs actually gives us the liberty of using much higher current inputs without worrying about an over current situation for the battery, which is normally the case when lead acid batteries are involved.

It means the amp rating of the input could be ignored in most cases since the rating may not exceed the 5 x AH spec of the battery, in most cases. Having said that, it's always a better and a safe idea to charge such critical devices with a rate that may be lower than the max specified level, a C x 1 could be the taken as the optimum and the safest rate of charging.

Since here we are interested in designing a lithium polymer (Lipo) battery charger circuit, we'll concentrate more on this and see how a lipo battery may be charged safely yet optimally using components that might be already sitting in your electronic junk box.

Referring to the shown Lipo battery charger circuit diagram, the entire design could be seen configured around the IC LM317 which is basically a versatile voltage regulator chip and has all the protection features built in. It will not allow more than 1.5 amps across it's outputs and ensures a safe amp level for the battery.

The IC here is basically used for setting up the exact required charging voltage level for the lipo battery. This may be accomplished by adjusting the accompanied 10k pot or a preset.

Circuit Diagram

The section at the extreme right which incorporates an opamp is the over charge cut off stage and makes sure that the battery is never allowed to overcharge, and cuts off the supply to the battery as soon as the over charge threshold is reached.

Circuit Operation

The 10 k preset positioned at pin3 of the opamp is used for setting the over charge level, for a 3.7 V li-polymer battery this may be set such that the output of the opamp goes high as soon as the battery is charged to 4.2 V (for a single cell). Since a diode is positioned at the positive of the battery, the LM 317 output must be set to about 4.2 + 0.6 = 4.8 V (for a single cell) for compensating the accompanied diode forward voltage drop. For 3 cells in series, this value will need to be adjusted to 4.2 x 3 + 0.6 = 13.2 V

When power is first switched ON (this must be done after connecting the battery across the shown position), the battery being in a discharged state pulls the supply from the LM317 to the existing level of its voltage level, let's assume it to be 3.6 V.

The above situation keeps pin3 of the opamp well below the reference voltage level fixed at pin2 of the IC , creating a low logic at pin6 or the output of the IC.

Now as the battery begins accumulating charge its voltage level starts rising until it reaches the 4.2 V mark which pulls pin3 potential of the opamp just above pin2 forcing the IC's output to go instantly high or at the supply level.

The above prompts the indicator LED to light up switch ON the BC547 transistor connected across the ADJ pin pf the LM 317.

Once this happens the ADJ pin of the LM 317 gets grounded forcing it to shut off its output supply to the lipo battery.

However at this point the entire circuit gets latched in this cut off position due to the feedback voltage to pin3 of the opamp via the 1K resistor. This operation makes sure that the battery under no circumstance is allowed to receive the charging voltage once the over charge limit is reached.

The situation stays locked until the system is switched OFF and reset for possibly initiating a new charging cycle.

Adding a Constant Current CC

In the above design we can see a constant voltage control facility using LM338 IC, however a constant current seems to be missing here. In order to enable a CC in this circuit, a small tweak might be enough to get this feature included, as shown in the following figure.

As can be seen, a simple addition of a current limiting resistor and a diode link transforms the design into an effective CC or constant current Lipo cell charger. Now when the output tries to draw current above the specified CC limit, a calculated potential is developed across Rx, which passes through the 1N4148 diode triggering the BC547 base, which in turn conducts and grounds the ADJ pin of the IC LM338, forcing the IC to switch OFF the supply to charger.

Rx may be calculated with the following formula:

Rx = Forward voltage limit of BC547 and 1N41448 / Max battery current limit

Therefore Rx = 0.6 + 0.6 / Max battery current limit

Lipo Battery with 3 Series Cells

In the above proposed 11.1V battery pack, there are 3 cells in series and the battery poles are terminated separately through a connector.
It's recommended to charge the individual batteries separately by locating the poles correctly from the connector. The diagram shows the basic wiring details of the cells with the connector:

UPDATE: In order to achieve a continuous automatic charging of a multi-cell Lipo battery, you may refer to the following article, which may be used for charging all types of Lipo batteries regardless of the number of cells included in it. The circuit is designed to monitor and automatically transfer the charging voltage to the cells which might be discharged and needs to be charged:

Lipo Battery Balance Charger Circuit

You'll also like:

  • offshore 2Camper, Motorhome Battery Charger Circuit
  • Li ion USB charger circuit3.7 V Li-Ion Battery Charger Circuit with Automatic Cut-off
  • positive battery charger circuitBattery Charger for Positive Earth Cars
  • supercapacitorchargercircuitSuper Capacitor Charger Theory and Working

Filed Under: Battery Charger Circuits Tagged With: Battery, Charger, Lipo, Lithium, Polymer

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Cellphone Controlled Car Starter Circuit
Next Post: Simple 1.5 V Inductance Meter Circuit »

Reader Interactions

Comments

NÉLIO ABREU says:
December 11, 2021 at 3:19 pm

Hi Swagatam,
What do I need to change in the above circuit, in order to charge a 3,7V 10000mA Polymer battery through the USB port with 5V?

Reply
Swagatam says:
December 11, 2021 at 4:45 pm

Hi Nelio,

the above design cannot be used with a 5V USB and 3.7V cell, since the LM338 requires a 3V differential between the input V and output V.
Instead you can try applying the following concept. You can try the last relay based design for best possible charging. However, USB current will never be able to charge a 10 Ah cell….might take ages to get it charged.

https://www.homemade-circuits.com/usb-automatic-li-ion-battery-charger/

Reply
NÉLIO ABREU says:
December 11, 2021 at 5:54 pm

Hi,
So the link you provided will be suitable for Polymer batteries?

Reply
Swagatam says:
December 11, 2021 at 5:56 pm

yes, it can be used for any battery provided the input current is as per the battery specs.

Reply
nikos papadopoulos says:
December 4, 2020 at 1:50 am

hi swagatam. i have a five pieces in series lithium batteries [18650 code].can any of these circuits above charge it?any suggestion? thanks

Reply
Swagatam says:
December 4, 2020 at 2:23 pm

Hi Nikos, if the cells are packed originally by the manufacturer, then you can use the above circuit for charging the pack safely. But if you are connecting them together in series then you may have to charge them separately and not in series.

Reply
Jeffrey Lui says:
September 29, 2020 at 9:07 am

Great resource for the circuit design! I imagine commercially available chargers like the UP-6S uses a similar basic design (though charging current is electronically switchable, as well as the end voltage between 4.2/4.35V). What I would be more interested in is how to add a storage function to this circuit. It could be a rocker switch between charge mode and storage mode. In storage mode, if the LiPo was discharged say to 3V, it would just charge as usual but the target voltage is 3.8V so it would just be a matter of having a different preset in pin#3. But how would it be for example if the battery is fully charged, and it needs to DISCHARGE it to 3.8V?

Reply
Swagatam says:
September 29, 2020 at 5:57 pm

Thank you, but why would you need to charge it to 3.8 V, which will make it undercharged?

Reply
Jeffrey Lui says:
September 30, 2020 at 8:51 am

It’s storage charge since LiPos generally shouldn’t be kept fully charged for more than a few days or weeks (nor should it be kept at a discharged state).

Reply
Swagatam says:
September 30, 2020 at 3:00 pm

OK got it, in that case you can simply use a few series diodes to drop the voltage to 3.8V, and these diodes could be switched ON/OFF through a SPDT switch…

Reply
Carlos says:
December 3, 2019 at 3:46 am

Hello good afternoon. I need a circuit to charge the 4 18650 batteries in series. Thank you very much

Reply
Swagatam says:
December 3, 2019 at 11:35 am

It is actually very easy. Use a LM317 regulator, regulate the output to exactly 4.1 x 4 = 16.4V. Now you can use this for charging the battery safely.

Reply
James says:
April 18, 2018 at 11:46 pm

Hi Swagatam,
Does this circuit work on a 25.2V Lithium Polymer pack? If it does, what do I need to change in the circuit?
Do I just swap the 12V battery in the circuit above with the 25.2V?
Also, how much current does this circuit supply?

Thank you!

Reply
Swagatam says:
April 19, 2018 at 11:50 am

Hi James, yes it will work, and you just need to swap the shown battery with your battery, and feed the specified voltage level at the input.

Just make sure to replace the opamp with LM321 or any similar which may be designed to work with above 30V supply, or alternatively you can use the shown 741 IC and feed its supply pins with 12V stabilized input

Reply
James says:
April 22, 2018 at 2:23 pm

Oh I see thank you!

There’s still something that I am unsure of. How do I test the charger circuit if I don’t have a battery? Is there something else that can represent a battery instead? I would like to avoid using a real Lipo battery to test the circuit out as it seems dangerous for someone with little experience. Also, how can I show that this circuit produces Constant voltage and Constant current waveforms?

Once again thank you!

Reply
Swagatam says:
April 23, 2018 at 9:31 am

You will need a variable power supply for setting up the circuit, first keep the 10K preset to the ground level, feed the desired maximum cut-off input to the circuit from the variable power supply, now slowly turn the preset until the LED just lights up, that’s all your circuit is all set for the automatic full charge battery cut off…now you can replace the power supply with the battrey

Reply
Michael says:
October 4, 2019 at 9:23 pm

Hi, is there difference when selecting charger for sealed lead acid battery and normal lead acid battery?

Reply
Swagatam says:
October 5, 2019 at 4:58 pm

Hi, according to me there’s no difference…

Reply
Joe says:
June 13, 2017 at 2:55 am

Hi Daniel,
I have purchased a number of these batteries: https://core-electronics.com.au/7-4v-lipo-2200mah-battery-arduino-power-jack.html

I am certain they have charge protection built in, but I am looking for a simple circuit that can indicate level of charge and shut off the supply once that level is reached. Can I use this circuit and adjust a resistor to adjust the input and charge voltage?
Cheers,
Joe

Reply
farhan yahaya says:
January 1, 2017 at 6:20 am

Hi sir! I wonder if i replace the source using panel solar 12v 3watt 250ma,does it going to work especially lm324

Reply
Swagatam says:
January 1, 2017 at 3:49 pm

Hi Farhan, yes it will work!!

Reply
Anil Kumar. K says:
December 25, 2015 at 9:58 am

Hi Swagatham
Now I am a regular reader of your blog. I appreciate you.
Most of your battery charging circuits include a lm741 op amp ic. Can I use a half part of lm358 in place of lm741….? I am aware about pin configuration of lm358. I just want to know about, do I need to change the resistor values when I use lm358.
Thanks in advance.

Reply
Swagatam says:
December 25, 2015 at 2:47 pm

Thanks Anil,

You can use any opamp of your choice for the mentioned application without changing anything, however using single opamp versions would be more suitable and reliable because for multiple opamp ICs, the unused opamp could become unstable unless the pinouts are configured appropriately.

LM321 cold be the most appropriate one.

Reply
protik banerjee says:
November 28, 2015 at 3:28 pm

Kemon acho Swagatam.

Once again came to disturb you

Now i need help for my house over head water.
I want to make a circuit which will tell me the water level and when i start my pump as soon the tank get full it should be Auto off.
Can you help Boss.

Thanks

Protik

Reply
Swagatam says:
November 30, 2015 at 5:01 am

Ami bhalo aachhi Protik, thanks

for the automatic cut off, you can try the following circuit:

https://www.homemade-circuits.com/2012/04/cheap-semi-automatic-tank-water-over.html

and for the indication purpose you can try this:

https://www.homemade-circuits.com/2012/04/make-this-water-level-indicator-circuit.html

Reply
protik banerjee says:
September 2, 2015 at 3:03 pm

HI Swagatam
Please let me know how soon will it published.
thanks to infroming me I will wait for it also.

Reply
Swagatam says:
September 17, 2015 at 3:04 pm

Hi Protik,

How did you connect the charger with the cells? I am sorry, just forgot to tell you that only one charger circuit needs to be built and connected with the individual cells separately one after the other, 5 chargers won't suit the application since the cells are in series.

yes I am bong 🙂

Reply
protik banerjee says:
September 16, 2015 at 4:12 pm

HI Swagatam

I made the circuit but the problem is, it took 24hours to charge only 1S and balance are same,
But the 1S volt was 4.28V on my fluke meter and the red LED didnt glow.
I know the wiring for five boards was wrong, could you please draw me a line diagram how to connect all five boards and to my 5s lipo balance connector'

Thanks
waiting for the reply.
Protik
One think more, are you bong.

Reply
Swagatam says:
September 8, 2015 at 2:43 pm

Hi Protik,

you can try the following circuit:

https://www.homemade-circuits.com/2015/06/pwm-motor-soft-start-circuit.html

just replace R9 with a 1K pot

Reply
protik banerjee says:
September 8, 2015 at 12:50 pm

HI Swagatam
Need one more help, This time I need Brushless motor ESC with BEC for my Aquastar 3974-2200KV 18.5V.
I bought the motor from Hobbyking along with ESC 120A but the ESC is giving trouble so I have return it they will give me the replacement with two months. I need one home made ESC backup for my 32" Catamaran boat.

Reply
Swagatam says:
September 6, 2015 at 12:08 pm

Hi Protik,

please feel free to comment as much as you want….you can select a 5 amp charging input in order to ensure a relatively quick charging of the cells.

Reply
protik banerjee says:
September 5, 2015 at 4:33 pm

HI Swagatam

Sorry in advance to disturb you everyday.
How long it will take to charge 3200mAH 5S 35C Lithium Polymer Battery and if I need to charge it little fast what what to do.

Reply
Swagatam says:
September 2, 2015 at 3:25 pm

Hi Protik,

you can find it here:

https://www.homemade-circuits.com/2015/08/lipo-battery-balance-charger-circuit.html

Reply
protik banerjee says:
August 28, 2015 at 2:48 am

HI Swagatam
I have 3200mAH 5S 35C Lithium Polymer Battery that will work perfectly OK.

Reply
Swagatam says:
August 28, 2015 at 3:51 pm

Hi Protik,

Yes it can be charged without issues.

By the way I'll be quite soon publishing an article which will include a specialized Lipo automatic battery charger circuit using a scanning method.

Reply
protik banerjee says:
August 19, 2015 at 8:56 am

Hi Swagatam
Need your help want to make 5S lipo battery charger, can I make above circuit 5 same block and charge it through balance connector of battery, one more problem is 3V & 6V zenar are not available in kolkata market can i use 3.3V & 6.2V zenar and then the modification to circuit is needed.

will you help me

Protik Banerje

Reply
protik banerjee says:
August 27, 2015 at 5:52 pm

Thanks for your guide.
I will start constraction on vero board and get in touch with you.

Thanks
once again>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Reply
Swagatam says:
August 19, 2015 at 1:28 pm

Hi Protik,

yes you can 5 of the above explained circuit modules and charge your 5S cells individually.
the zener value is not critical, it just needs to be lower than the charge voltage… you can use any value that may be approximately 50% lower than the charging voltage

sure I'll guide you through…feel free to ask anytime…

Reply
Omar Al-amoodi says:
March 8, 2015 at 6:16 pm

Hi Swagatam

I'm using 2S 7.4V battery.. which has 3 balance wires, how should i connect those wires?

Reply
Swagatam says:
March 9, 2015 at 4:17 am

Hi Omar, the above charger circuit does not have a balance input feature, therefore you may have to trace out the individual wires of the cells and charge them separately using the above charger.

Reply
Wonk_Gantenk says:
October 3, 2014 at 5:12 am

can i use this circuit for batre 3,7V with current 40A?

Reply
Swagatam says:
February 6, 2015 at 4:46 am

yes you can by just replacing the LM317 with a LM196 IC……….use sufficiently large heatsink with it.

Reply
Renel Allauigan says:
February 5, 2015 at 1:08 pm

can i use this circuit for 12 volt 9.8 amp lipo battery and from solar panle?
thank you…

Reply
Renel Allauigan says:
February 5, 2015 at 1:06 pm

can i use this circuit to 12 volt 9.8 amp lipo battery?
and from 12volt solar panel?
thank you…

Reply
Swagatam says:
October 3, 2014 at 11:47 am

sure, just replace LM317 with a LM338 or LM396

Reply
linh Vinh says:
August 31, 2015 at 7:11 am

Many Thanks SWAGATAM.

Reply
Swagatam says:
August 31, 2015 at 3:49 am

Hi Linh,

you can use a 741 IC or a LM321 IC instead of the LM324…

yes you can your charge your cells separately using the above design, the current will depend on the selected input source current specs

Reply
linh Vinh says:
August 30, 2015 at 4:11 pm

Hi Swagatam!

Pls guide me connect to LM324 ( as me known LM324 has 14 pin). I have 02 cells Li-Ion Battery(ICR-18650-28A) I can use The circuit for charge it. How many Current of above circuit is ?

Reply
Swagatam says:
September 24, 2014 at 4:48 am

I think there could be many mistakes in your circuit, a clear diagram is in front of you so there shouldn't be any chance of a mistake.

Please click the diagram to enlarge it and do it exactly as shown

For IC 741:

(+)input is pin3

(-)input is pin2

(+)supply is pin7

(-) supply is pin4

pin6 is the output

After you finish correcting your circuit adjust the persets as explained previously…I have already the setting up procedure, please you'll follow it carefully for getting the correct ersults.

Reply
Arun Prashan says:
September 23, 2014 at 7:26 pm

Im using LM741 now. I'll tell you how I connected and correct me if I'm wrong.

2: -Vin (10K and 1K feedback resistor to 3V zener)
3: +Vin (from 6V zener and 10K resistor)
4: -Vcc (GND)
6: Output (to cathode of 3V zener)
7: +Vcc (power terminal before 0.1 uF capacitor)

I am sure my mistake is somewhere in these connections.

Reply
View Older Comments

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (93)
  • Audio and Amplifier Projects (133)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (85)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on Arduino 2-Step Programmable Timer Circuit
  • Swagatam on Simple Buck-Boost Converter Circuits Explained
  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram
  • Swagatam on Electronic Circuit Projects, Tutorials, and Practical Engineering Solutions
  • Kadir on Simple 3 Phase Inverter Circuit

© 2026 · Swagatam Innovations