Today we try a circuit from the internet for charging batteries, a BMS or battery management system. I’ll show you a schematic for only one cell and scale it up for any amount of batteries if you want a 2S battery pack, 3S, and so on. The function of this circuit is to charge the batteries, protect them for overvoltage, limit the current and also balance the batteries in case of more than one cell. Is not the best circuit or the most compact, but does it work? Well, stick till the end to find out. I’ll show to the components we need and what each part will do in the circuit and by that, how the circuit works. We mount it on a PCB and test it out to charge and balance our batteries. This circuit is not my idea, there are already a lot of similar circuits on the internet such as this one. So guys, let’s get started.
What’s up my friends, welcome back. This below the PCB we will analyze today and learn how it works. Will this simple circuit be able to limit the current, control for overvoltage and balance the battery pack? Well, let’s see. Lithium ion or LiPo batteries are verry popular, especially with makers like us for small robots, portable devices, RC toy cars and drones and so on. But these batteries are also very sensible and dangerous. If you don’t control the process of charging and discharging of such batteries, they will stop working or worse. The battery cells can swell and even explode from overcharging, and a deep discharge can make the battery fail.
That’s why these batteries should go together with a battery management system unit or BMS. This will control the voltage and current from the battery and keep them safe. Usually, the nominal voltage of a LIPO battery is 3.8 volts and 4.2V when fully charged. So, as soon as the battery cell will reach this value, the charging process should stop and that’s what this circuit should do.
When you have only one cell, you only care about the maximum voltage and the current limit to protect the battery. But when you have a battery pack of more than 1 cell, so 2S, 3S and so on, you also need to balance the value of each individual cell.
We have a PNP transistor connected in series with 4 diodes that will simulate a load. At the base of the transistor, we have a ZENNER reference diode (TL431) which will get open at a certain voltage value and by that connects ground to the transistors base and when the transistor is active, we bypass the battery and waste the power on the diodes instead. This ZENNER diode is the TL431 and it has a reference pin, so by adjusting the potentiometer we can set this reference to be at 4.2V, that’s how we select when the charging process will stop.
So as you can see, this circuit is not that efficient since we waste power inside the diodes and transistor. Also, if the power waste is too high, maybe the transistor would need a heat dissipator so it won’t burn out. But we are not looking for efficiency with this circuit because we can use this charger with a supply from the main outlet so we don’t care that much about efficiency.
We also add a LM317 regulator at the input place in current mode. In this configuration, the current limit is set by the resistor at the output and is equal to a formula, VREF divided by the resistance value. VREF for the LM317 is 1.25V so is should be easy to select a resistor and limit the charging current at let’s say 600mA. We add a second LM317 regulator but on voltage control mode. Without this, the input must be exactly 4.2V. But sometimes we only have 5V from a USB connector or maybe 12V input from a DC adaptor. So, using this second LM317, we can adjust the output to 4.2V so no matter the input value, the voltage that goes to the battery is 4.2V. The output value is given by these 2 resistors.
- 1 x 1S Li-Ion battery (for test): LINK eBay
- 1 x TL431 zenner refference: LINK eBay
- 1 x BD140 PNP transistor: LINK eBay
- 4 x 1N4007 diode: LINK eBay
- 2 x LM317 regulator: LINK eBay
- 1 x LED 5mm: LINK eBay
- Resistor KIT LINK eBay
- 1 x 20K potentiometer LINK eBay
- 1 x 2R 1W resistor LINK eBay
- 2 x 100uF Capacitor LINK eBay
- 1 x prototyping PCB LINK eBay
I mount this simple circuit on my breadboard. I supply it with 4.2V from my power supply. I connect my multimeter at the output and using the potentiometer, we first fix the threshold value to around 4.16V, some value below 4.2V. I will use a battery which is discharged and below 4.2V (it was 3.8V). When I connect it to the charger, the LED is turned off. We have a current flow of around 450 mA and the battery is getting charged up. After some time, when we get above 4.16V the LED will turn ON so the charging process is complete. Current is now flowing through the diodes and transistor and we skip the battery, so the cell is protected for over voltage. I measure tge battery and it is 4.11 volts. Ok, but now, how can we control the current limit, which is also an important protection factor? At this point, we can’t really regulate the current limit with this circuit.
Now comes the interesting part. We can take this simple circuit and merge it in series other identical circuits. Now we can charge a 2S battery pack, 3S or more, and also balance the voltage as I mentioned before. With this circuit, we can charge a 3S battery for example and all individual cells will stop charging at 4.2V. Also, by having the two LM317 regulators at the input we have current limit protection but we are also able to supply the entire circuit with let’s say 16 to 20V and set the voltage that goes to the battery to 12.6V, which is the charged voltage of 3 batteries in series.
The part list is the same as for 1S but 3 times the same components without counting thw LM317 which we only need 2. Get this final schematic from above. I get all the needed components and solder the circuit on a prototyping PCB. I first add the transistors and ZENNER diodes, then the potentiometers and 4 normal diodes for each group. Then I add the LEDs and finally I add the LM317 regulators and the current limiting resistor made out of 5 resistors of 10 ohms. I make connections with solder and wires on the back. Now we have 3 pairs of connections for the battery and two wires for the input and output. Each LED will turn ON when each individual cell is full. Using the potentiometer, you can fine adjust the threshold value. Changing this resistor connected to the second LM317, can change the charging current limit.
I connect everything and power the circuit with 16V from my power supply. All batteries are now charging. After a while, one LED turned ON almost when we reach maximum voltage. Then the second LED turns ON and finally all 3 are ON, so all batteries are full at almost 12.6 volts. I check the voltage with the multimeter and just below 4.2V. So the circuit works with no problems. The only downside, is the efficiency and heat dissipation. But if you don’t care about that, this circuit could be useful for your battery pack. And if you want more power, you should use powerful transistors, bigger diodes to simulate the load and also add heat dissipator on the components. You should also change current limiting resistor value and power, so get a bigger one.
I hope that you like this vide and that you have learned something new. Now you could make your own BMS circuit and the components are very cheap. The total cost of this PCB is under a dollar if you buy bags of 50 components for just a few cents.
I hope you like this tutorial and maybe you have learned something new. If my videos help you, consider supporting my work on my PATREON or a donation on my PayPal. Thanks again and see you later guys.
9 Comments
-
Noob 21184
about 5 days agoNice work
-
Noob 19129
about 1 year agoPlease try Google before asking about New Product Tips 7057985
Noob 19129
about 10 months agoPlease try a hrefhttpswwwgooglecomGooglea before asking about a hrefhttpzimtpecomviewthreadphptid678510pid802888page1extrapid802888Recommended Product Websitea b59a705
Noob 19129
about 9 months agoPlease try a hrefhttpswwwgooglecomGooglea before asking about a hrefhttpsrostovbikeruthread835post2097htmlpid2097Cool Product Infoa 6c4aa02
Noob 19129
about 7 months agoIn response to the people talking about money for scrap cars sell my car for parts near me find out if car has been scrapped scrap my car for free we buy any car requirements compare the market scrap my car selling my car what documents do i need buy used cars for cash near me sell your used car parts fast cash 4 cars I highly suggest this a hrefhttpsreidcszd70246eveowikicom712472bestnewstopickingcarrentalsitesrecommended rent a car tipsa or vehicle scrap metal we buy any car payment process scrap car no log book car valuation compare the market car value we buy any car scrap value current scrap price for cars car value what car buying cars for parts used car valuation free online as well as this a hrefhttpsgregorymotd41234targetblogscom27670352topnewsforpickingacarrentalwebsitediscover more on car rental urla not to mention current car valuation best place to sell car for parts car scrap benefits find out book price of car buy scrap cars online we buy any car free car valuation scrap for cars cash sell my junked car find out value of car we buy any car best price and dont forget this a hrefhttpsgarrettnqmh86173myblogliciouscom48364011freefactstopickingcarrentalwebsitesthe advantage for rent a car tipsa which is also great Also have a look at this a hrefhttpsshanezqco53141diowebhostcom82248635newideastodecidingonacarrentalsitewhat google did to me about car rental detailsa and dont forget sell my scrap car for cash best place to scrap my car cheap scrap cars find the book value of my car we buy any car next day payment time buying cars for parts we can any car car car value i need to scrap my car part ex valuation car as well as this a hrefhttpsdevingrat51717blog2learncom75307055newinfotoselectingacarrentalwebsitenew car rental detailsa with we buy cars free valuation scrap car paperwork need to scrap my car free car price i buy scrap cars a car worth selling your car paperwork car scrap value near me much is my car worth help deciding what car to buy for good measure Check more a hrefhttpswwwbovinedecarneroforumviewtopicphpp330166p330166High Rated Car Rental Tipsa f79e0b5
Noob 19129
about 7 months agoFor the lady asking about rtp slot online slot88 game mega slot login permainan game slot slot gacor slot online download slot masuk slot rtp slot 88 live game slot live slot88 rtp I highly suggest this urlhttpsgarrettnqmh86173myblogliciouscom48574782newideastopickingcuanslot88websiteson bing about CuanSlot88 detailsurl or kami slot login slot olympus permainan thor 1k casino situs casino online slot virtual slot tournament ninja hoki slot login slot88 net slot game olympus and dont forget this urlhttpsisraeluegc30643nationalwikicom715011freesuggestionsforpickingcuanslotsitesuseful CUANSLOT forumurl as well as situs slot88 aplikasi situs slot login gacor pragmatic situs nexus slot 88 permainan slot pragmatic slot online bonanza mega slot online permainan thor apa itu pragmatic slot as well as this urlhttpsdeanludx24432wikinarrationcom6077274goodsuggestionsforpickingcuanslot88websitesconversational tone about CuanSlot88 tipsurl which is also great Also have a look at this urlhttpsfernandoewlz23457atualblogcom33376731greatnewstopickingcuanslotsitescontinue reading on CuanSlot88 forumurl on top of game slot populer game slot play cuan88 link alternatif unduh slot online slot twins games slot gacor sloter gaming starlight slot slot rtp live download games slot alongside all this urlhttpsraymondzzup04705westexwikicom716768handynewsforselectingcuanslot88websiteshere on CUANSLOT blogurl with 7 slot login slot 1b link gacor slot slot game gacor crash slot rtp slot games panduan slot online pragmatic id login slot gacor aplikasi slot88 alternatif for good measure Check more urlhttpwwwfireteamruforumshowthreadphpp32750post32750Great CUANSLOT Blogurl 982bcc
Noob 19129
about 6 months agoFor the lady inquiring about slot logo web slot online slot arcade ini slot download aplikasi slot habanero link alternatif hoki link alternatif slot pragmatic terbaru 2023 slot pragmatic play id I highly recommend this urlhttpsmartinkqst13576ivasdesigncom49478225recommendedinfoforpickingwin1000xwebsitesuseful Slot WIN1000X infourl or situs casino link apk slot olympus slot online slot pragmatic rtp jaya slot pragmatic mahjong hoki casino situs slot cuan88 mega slot 88 login idn slots and dont forget this urlhttpssimonnxfn83591mdkblogcom33068667recommendedideasondecidingonslotwin1000xwebsitesher comment is here about Slot WIN1000X tipsurl alongside all web slot 88 download apk pragmatic play wild slot88 login casino pragmatic id login gacor cuan88 pengaturan slot cuan slot 88 habanero slot online game slot rtp as well as this urlhttpsremingtonenno27274governorwikicom731546goodnewsforpickingslotwin1000xsitesgo here about WIN1000X linkurl which is also great Also have a look at this urlhttpspaxtonkxel81357blogacepcom32568249topreasonsonchoosingwin1000xsitesrecommended you read for WIN1000X linkurl on top of slot alternatif idr 88 slot gacor 88 slot link ib88 slot lengkap rtp virtual slot slot game gacor kami slot taruhan slot logo slot online as well as this urlhttpsangelovgnt13579blueblogscom33746288freesuggestionsforchoosingslotwin1000xwebsitestop rated Slot WIN1000X linkurl with fortune slot login game slot game rtp ninja slot wild slot88 gampang 88 slot slot88 login slot play satu slots slot apk online slot virtual for good measure Check more urlhttpswwwforumvuwpgsaacnzviewtopicphpp466837p466837Updated Lowcode Platform Siteurl 4aa023d
Noob 19129
about 6 months agoIn reply to the lady asking about indo judi game slot live apa nama situs judi slot online sexy gaming slot ion slot login free spin slot main casino slot area slot online main judi slot toto casino login I highly suggest this urlhttpssparxsocialcomstory7453427maincasinoonlineandtotojudihe said for dvltoto forumurl or casino casino login live deposit slot game link free spin login web slot game keren 4d slot login slot mobile casino game slot judi online casino login casino login not to mention this urlhttpwuyuebanzoucomhomephpmodspaceuid553340top rated dvl toto forumurl and dont forget area slot online link judi slot online terbaru web casino online game slot game slot online judi indonesia slot online playtech slot online bandar judi terpercaya di indonesia judi live slot login game judi jackpot online not to mention this urlhttp90950wwwmolifannetspaceuid2078344htmlsuper fast reply about dvl toto urlurl which is also great Also have a look at this urlhttpsthefairlistcomstory7255492gameslotonlineandbandarslot88loginenquiry about dvltoto adviceurl not to mention cari situs judi slot online slot online playtech situs judi slot online pragmatic play playstar online deposit judi slot mesin judi online game judi judi 4d online indonesian slot pragmatic slot88 alongside all this urlhttp68599wwwmolifannetspaceuid2078344htmladvice about dvl toto linkurl with slot flow gaming game slot link ion casino slot bandar judi togel online judi pragmatic online provider slot online lagi slot live online slot main slot apa main slot game for good measure Check more urlhttpvlambcomforumphpmodviewthreadtid21178pid31588page1extrapid31588Updated Asian Escorts Blogurl 6c4aa02 For the man inquiring about withdraw slot www judi slot online judi jackpot bandar judi resmi game slot joker gaming lagi slot ion slot login play tech slot slot online jackpot main slot 88 login I highly recommend this urlhttpforumsoverhaxfunmemberphpactionprofileuid4733full report about 7 raja togel forumurl or slot join main judi slot online casino indonesia free spin apa game slot slot game mobile main casino slot live casino slot slot live22 login apa main slot lagi slot on top of this urlhttpsbusinessbookmarkcomstory2721208agenjuditerpercayaandjudislot7a replacement on 7rajatogel tipsurl as well as company slot asia slot online slot game slot game situs bandar judi slot bandar judi resmi mau slot 88 cara main game judi live22 login online game slot playtech game slot live as well as this urlhttpsbrody9g06gah9blogscribblecomprofileuseful 7 raja togel urlurl which is also great Also have a look at this urlhttpshyperbookmarkscomstory17370769slotgameandgamejudiexcellent 7 raja togel siteurl and dont forget judi slot 7 slot service bandar slot pragmatic play ovo slot 88 toto judi slot judi slots yggdrasil slot rtp sini slot link alternatif website main slot net net slot as well as this urlhttpsbookmarksaificomstory17427628pragmaticidslotandapaitujudislotlearn more here for 7rajatogel linkurl with slot casino online gratis judi live slot login deposit judi lagi slot judi slot88 online game judi online slot main slot 88 login casino indonesia free spin game judi online indonesia satu play login for good measure Check more urlhttpwwwsvenska480klubbenseforum1viewtopicphpp27509p27509Great Buying Gold Siteurl