Homemade BMS - Balanced LiPo Charger Multiple Cells and Current Limit

Sdílet
Vložit
  • čas přidán 4. 07. 2024
  • High quality PCB prototypes: www.pcbway.com
    3D & CNC service: www.pcbway.com/rapid-prototyp...
    🔥Today we test some circuits for a homemade BMS to charge, protect and balance our battery pack. We add current limit, balance mode for more than 2S packs and stop the charging process at 4.2V for each cell.
    🔀LINKS
    -------------------------------------
    Tutorial Website: electronoobs.com/eng_circuitos...
    Schematic 1S: electronoobs.com/images/Circui...
    Schematic 3S: electronoobs.com/images/Circui...
    Other Posts: • Balancing unit (BMS) f...
    🤝SUPPORT
    -------------------------------------
    Join my Arduino Course (Spanish): bit.ly/2JY8icE
    ELECTRONOOBS.io: electronoobs.io
    Help my projects on Patreon : / electronoobs
    my Q&A page: electronoobs.io/forum/index.php
    Facebook page: / electronoobs
    Canal en Español: / electronoobs en español
    00:00 Intro
    02:00 Why we need BMS?
    03:19 How Balanced Charger Works
    04:42 1S Circuit
    07:25 1S Test
    09:37 3S Circuit
    11:17 3S Test
    12:36 Thank you
    Like share and subscribe to motivate me. Thank you
    #BMS
    #charger
    #homemade
  • Věda a technologie

Komentáře • 459

  • @tom95076
    @tom95076 Před 3 měsíci +6

    This project made me rethink my setup with an Adafruit solar charger. For my timemachine project to run longer using an Arduino Pro at 3.3v. I placed two Lipo Batteries in Parallel to have the same output of 3.7v with a larger running time or capacity when the sun was gone. I noticed the second battery drained more than the second battery once I place them in a commercial charger. Seeing your animations and showing single and multiple charging methods I now feel better about learning what are my mistakes. Thank You for sharing and keeping up on all the great content. Not everything is applicable but as makers we must learn from each other to share our project. Awesome overview and great tips. You are always setting the bar higher and higher for all makers.

  • @Undermada
    @Undermada Před rokem +6

    Probably one of the best videos I've ever saw with explanation of BMS!
    Thank you!

  • @ShivamKumar-rp8kr
    @ShivamKumar-rp8kr Před 2 lety +11

    I understood it well. Thanks for the simple explanation and animations. Loved it. ❤️

  • @JohanDegraeveAanscharius
    @JohanDegraeveAanscharius Před 2 lety +12

    I read A LOT of explanations about BMS and to really understand it well, this is really the best. I let it rest overnight, asked myself questions, and looked at it again. Really, very very very best explanation out here!!

  • @len8752
    @len8752 Před 4 měsíci +2

    Great Video! I've been subscribed for the longest of time, but every now and then, you just publish more and more explanatory and informational videos that go briefly into the problems were are trying to solve step by step, stage by stage. Thank you so much! 6/5 Starts

  • @stevenA44
    @stevenA44 Před 2 lety +2

    I've watched quit a few of your videos and I just decided to subscribe. I've seen a lot of the things you make that might come in handy in the future.

  • @maungmaungtint8572
    @maungmaungtint8572 Před 2 lety +1

    I had to build this circuit.
    Good working . Thanks a lot for your sharing of experience.

  • @DrJALAGHARI
    @DrJALAGHARI Před 2 lety +5

    What an easiest way to explain the difficult concepts. Amazing.

    • @Eduardo_Espinoza
      @Eduardo_Espinoza Před rokem

      True, this is honestly why i stopped electric builds years ago

  • @officializm4171
    @officializm4171 Před 2 lety +3

    Very informative content. Dispelled many confusions. Thanks.

  • @jackwilliams2010
    @jackwilliams2010 Před 2 lety +36

    I've watched a few bms videos before this. I have to compliment on how well you explain how this works and how to build your own. You are very underrated and deserve more recognition. 5 stars!

  • @mickeyfilmer5551
    @mickeyfilmer5551 Před 2 lety +2

    excellent ! concise ,informative and articulate !

  • @ELECTRONOOBS
    @ELECTRONOOBS  Před 2 lety +2

    Arduino Course LEVEL 2 (Spanish): bit.ly/2ZNWgqy
    Follow me on FACEBOOK for more: facebook.com/Electronoobs
    Help me on Patreon: www.patreon.com/ELECTRONOOBS

  • @backdemoletor4654
    @backdemoletor4654 Před 2 lety +1

    Finally another great video to watch

  • @ricardosanchez1638
    @ricardosanchez1638 Před 2 lety +3

    Excellent! Bravo bravo, great presentation!!

  • @valteroscarjentsch
    @valteroscarjentsch Před 11 měsíci +2

    Faz tempo que estava procurando um circuito como esse. Muito bom. Interessantes explicações. Congratulações!

  • @ronostrenski8359
    @ronostrenski8359 Před 2 lety

    Thanks. Built a 5S version and works well.

  • @sebastianelcaio8040
    @sebastianelcaio8040 Před 2 lety +2

    Amigo, que buen proyecto!!!! muchas gracias!!!! saludos desde Argentina GENIO

  • @rolandoreytorfonseca3112

    Excelente proyecto! Muchas gracias desde Cuba

  • @IgorSantarek
    @IgorSantarek Před 11 měsíci

    This is great explanation!

  • @jstro-hobbytech
    @jstro-hobbytech Před 2 lety +2

    What an awesome circuit and I actually have all the components except the battery box but I could just print one

  • @BorisSiber
    @BorisSiber Před 11 měsíci

    Thank you. May the force be with you :)

  • @fiandaja2594
    @fiandaja2594 Před 2 lety

    Thank you for the circuit explanation

  • @rinokentie8653
    @rinokentie8653 Před 2 lety +1

    Very interesting again!

  • @vobinhthu5299
    @vobinhthu5299 Před 4 měsíci

    This project is very good!

  • @captivator13
    @captivator13 Před 2 lety +2

    Awesome content,
    Thanks bro :)
    Sam 🎵✌🏻

  • @artursmihelsons415
    @artursmihelsons415 Před 2 lety +2

    Mmm.. LM317 old school, that always works and is tested for decades.. 👍
    431 references is used even in cheap BMS modules for batteries and ultracap's from China..
    Great video!

  • @JamesFraley
    @JamesFraley Před 2 lety

    Great tutorial. Thank you

  • @Clark-Mills
    @Clark-Mills Před 2 lety +42

    Error: The output of R2, R1, R10 voltage divider at 5:00 is supposed to feed into the Ref pin of the TL431 with Anode to negative and cathode to the BD140. If you just swap the AN/REF labelled pins on the schematic you should be right.

    • @mahargha_debnath
      @mahargha_debnath Před 2 lety +2

      bro have you tested your circuit please tell me it'll be a great help

    • @suzznshkya1098
      @suzznshkya1098 Před rokem

      So the reference pin of tl431 must be between R1 and R2 resistor?

    • @InduwaraPerera_YT
      @InduwaraPerera_YT Před rokem +1

      Yeah bro, I also saw there is a mistake, after i fix that issue it almost works fine, but i recommend others to use 22k and 1k resistors for that voltage divider connected to tl 431 ref pin cause the ref input voltage is higher when you use two of 20k resistors.

    • @alexvanstaden6734
      @alexvanstaden6734 Před rokem

      I also found that out after struggling setting the TL431. Good observation

    • @waltercortescarvajal7254
      @waltercortescarvajal7254 Před rokem

      Hi, would you be so kind as to share the corrected plan, with the values of each component, thanks

  • @olaleyejoshua949
    @olaleyejoshua949 Před 11 měsíci

    Good 1. Thanks for sharing the knowledge.

  • @greatrespect1549
    @greatrespect1549 Před 10 měsíci

    Your intro is great.

  • @sinjhguddu4974
    @sinjhguddu4974 Před 2 lety

    Very educative!

  • @power-max
    @power-max Před 2 lety +7

    Nice build! I am looking to build a BMS for a huge build with 1000 or more 18650s I have on hand. This circuit does have quite a few important limitations though:
    No under voltage protection
    No over temperature protection
    No over current protection.
    The DIY project could be massively improved with the use of a low power microcontroller for each cell monitoring the voltage and using galvanically isolated (optocouplers) in a token ring or CAN network to transmit data back to a more powerful MCU that manages the series string.
    Active balancing is harder for sure. I have one idea involving using lots of gate drive transformers and implementing small basic forward converters for each cell to dump energy into a shared AC square wave bus, but have yet to get it to work right in LTspice.

    • @vtorsi610
      @vtorsi610 Před 2 lety +2

      This is the CHARGING "half" of a BMS. This does not have the LOAD "half" of a BMS ( load over-current & under-voltage ). He made that very clear at the beginning of the video.

    • @Brian_Of_Melbourne
      @Brian_Of_Melbourne Před 2 lety

      Look at Adam Welch's channel czcams.com/users/AdamWelchUKvideos and search for 'diyBMS'.

  • @prashantrai5102
    @prashantrai5102 Před 2 lety

    THANKS THANKS THANKS A LOT FOR THE WONDERFUL EXPLAINATION

  • @vojta2519
    @vojta2519 Před 2 lety

    Super video! Thanks

  • @mahmoudtayel229
    @mahmoudtayel229 Před 2 lety +2

    The best one ❤️😃

  • @ScienceLab760
    @ScienceLab760 Před 2 lety

    Hi good video I always enjoy your content and learn about electronics, thanks for share

  • @Steve-wx1gk
    @Steve-wx1gk Před 2 lety

    Thank you so much mate :)

  • @JeEeEs87
    @JeEeEs87 Před 2 lety

    Best explanation

  • @Johnpugwash
    @Johnpugwash Před rokem

    ThanQ excellent explanation 👍

  • @AndriiBilous
    @AndriiBilous Před rokem +3

    Nice project! The point you dont need to use 2 LM317 to limit U and I. I faced to this case as well. There is a scheme that allows to do this with one LM317. The scheme is mentioned as Load Regulation in the datasheet. Anв as usuall you need to use addшtional transistor for hight current.

  • @Dark_Phoinix
    @Dark_Phoinix Před rokem

    now need one with thermo control! gj!

  • @aprilsegura2597
    @aprilsegura2597 Před 2 lety

    Thank you very much

  • @leehewitt9559
    @leehewitt9559 Před 2 lety

    Spot on

  • @inventorkr1
    @inventorkr1 Před 2 lety

    Great video my friend👉❤️

  • @Rick_Sarkar767
    @Rick_Sarkar767 Před 2 lety

    You are Legend Legend 🥰🥰💝💝

  • @startcherif
    @startcherif Před 2 lety

    Very nice video

  • @edwinr4378
    @edwinr4378 Před 2 lety

    Thankyou so much❤️❤️❤️❤️
    Awesome 😘

  • @jainsanjay470
    @jainsanjay470 Před 2 lety

    nice presentation

  • @sandeepjare9403
    @sandeepjare9403 Před měsícem

    Very helpful...

  • @tejusbm7309
    @tejusbm7309 Před rokem

    Keep inspiring more..bro

  • @Bianchi77
    @Bianchi77 Před 2 lety

    Nice video, thanks, like it :)

  • @hoofheartedicemelted296
    @hoofheartedicemelted296 Před 2 lety +2

    This is awesome sir. Is it possible to build such a circuit with 12v batteries in mind and how would the components change accordingly? Thank you.

  • @nuklengnobility
    @nuklengnobility Před rokem

    I love it.

  • @technicalideas1234
    @technicalideas1234 Před 2 lety

    Useful video👌👌👍🙏

  • @pradumanghosh2422
    @pradumanghosh2422 Před 2 lety +1

    Amazing !!!!

  • @africantech5
    @africantech5 Před 15 dny

    Thanks soooo much

  • @pdanayal
    @pdanayal Před rokem

    Excellent bro .what a valuable circuit. Like it .

  • @richardandrade6079
    @richardandrade6079 Před 11 měsíci

    Un sub mas te felecito lo estaba buscando gracias Dios te bendiga

  • @shinobufookoobu4260
    @shinobufookoobu4260 Před 11 měsíci

    Wow thanks.

  • @nomanhossain1838
    @nomanhossain1838 Před 2 lety

    Really nice 🥰
    ❤️❤️❤️

  • @mehdikhan
    @mehdikhan Před 2 lety +8

    Nice for understanding the concept of charging but there are very low-cost chips to the same thing with much more effencency.

    • @akhilsubhash7644
      @akhilsubhash7644 Před 2 lety

      right

    • @orwellophile
      @orwellophile Před rokem

      But they all charge to 4.2v, which is sub-optimal for battery life. This circuit is great for battery packs you don’t use much, and would otherwise just zero out eventually

  • @shivamvaid601
    @shivamvaid601 Před 2 lety +1

    It's good. Not highly efficient but works in a jiffy.

  • @harikamalakarreddydarapu7410

    awesome

  • @user-ih3kk8lh1v
    @user-ih3kk8lh1v Před 2 lety +3

    Nice video! What benefit is there to using this circuit over just putting the diodes in parallel with the battery?

  • @lexander9686
    @lexander9686 Před 2 lety

    👍 thanks brother

  • @JohnDoe-xv1se
    @JohnDoe-xv1se Před rokem

    Really enjoyed the explanation. Thanks. Love to see a more efficient example (for minimal heat dissipation).
    BTW: has anyone seen a protection, balancing and charging solution for four 3.7V 500mAh LiPo batteries in "parallel" and in circuit? Protection, balancing and charging, without removing the batteries. Every battery management IC manufacturer offers 1S and multiple series solutions, in circuit and out, but I can't find one offering an "in parallel in circuit" solution. What gives?

  • @venom_ftw9316
    @venom_ftw9316 Před 4 měsíci

    Thank you so much for this. What about for Parallel cells?

  • @Avnish-sk4ll
    @Avnish-sk4ll Před 2 lety

    That's amazing

    • @Avnish-sk4ll
      @Avnish-sk4ll Před 2 lety

      I am Your Regular viewer. And I Always wait for next sunday around 9pm By Indian time zone
      Love you elctronoobs

  • @dharmakissoon
    @dharmakissoon Před 2 lety +1

    hey great vid mad props. can this that lead battery charger?

  • @bartholomewkottey7230
    @bartholomewkottey7230 Před 9 měsíci

    Good teacher! Please I need the full picture and diagram for two or more cells.
    The explanation is perfect!
    Thanks
    God bless you

  • @OwerChildhood
    @OwerChildhood Před 2 lety

    It's really good.
    If i want charge 5 cell. What i change in this circuit

  • @VrumsAdventures
    @VrumsAdventures Před 2 lety +5

    I am sorry if this was mentioned before but the datasheet for LM317 has an application specifically for battery charger. You can put the current limiting resistor at the output before the voltage divider that sets the output voltage... and since the current limiter will be pretty much >2 orders of magnitude less than the resistors in the divider, it shouldn't affect the output voltage. You save 1 LM317 this way :)

    • @vtorsi610
      @vtorsi610 Před 2 lety

      Great Idea ! Or use a Buck Converter with adjustable voltage and current regulation built-in

    • @SocialPerspective101
      @SocialPerspective101 Před rokem

      Can you elaborate on this?

    • @VrumsAdventures
      @VrumsAdventures Před rokem

      @@SocialPerspective101 on what? I don't think links are accepted in YT comments (unless they're made to your own video) ... but I can try if you tell me which part you want me to elaborate on.

    • @SocialPerspective101
      @SocialPerspective101 Před rokem

      @@VrumsAdventures current limiter will be > 2 orders magnitude... I did not get this part

    • @VrumsAdventures
      @VrumsAdventures Před rokem

      @@SocialPerspective101 I believe it's easier to try and link you to the application. The LM317 datasheet has at chapter 9.3.6 the battery charger application I am talking about. There's the voltage divider that sets the CV part and the series current limiting resistor (Rs) that will set the max value for the charging current to your CC desired value. The CC part will not really be CC, but the current being drawn will not drop significantly during this time (it will drop with (Vbat - 1.25)/R1 and Vbat increases as the battery is charged). The CV part will stop the battery voltage from rising above the desired (usually 4.2V) value. Rs is more than 2 orders of magnitude (or 100 times) less than R1 or R2... and as such it will not significantly decrease the desired output voltage set by the divider (R1 and R2). If it's close to R1 and R2 than you're either limiting the current a lot or wasting it through the voltage divider... or both and you're setting yourself up for a hard calculation and less than optimal result.
      I hope this is more clear :)

  • @blmb4274
    @blmb4274 Před 2 lety

    Nice Video.
    So can I suggest a video that you can make.
    Can you make a DIY Ossliscope. Or how to measure waves at least with an Arduino. Thanks!!!!

  • @sohamgaud7120
    @sohamgaud7120 Před 2 lety +2

    Hi sir very good video and explanation I understood whole video except 1 part and that is why you have connected 5 resistors of 10 ohms in series ?? [PLZ REPLAY 🙏 ]

  • @josedasilva4904
    @josedasilva4904 Před rokem

    Excellent BMS explanation, congrats!. I only have NPN transistors, how will the circuit be? Thanks a lot.

  • @aryalesmana2501
    @aryalesmana2501 Před 2 lety

    what you're doing is really cool, but can you modify the factory-made BMS to add a full charge led

  • @Mega-24
    @Mega-24 Před 2 lety +1

    Hola buenas, muy buena idea y video, quisiera saber si puedo utilizar el LM336 en lugar del TL431 y que modificación tendría que hacer?Desde ya muchas gracias!

  • @Seu_Lunga
    @Seu_Lunga Před 2 lety +1

    Maybe you could improve by using an opamp to compare total output voltage to input and cut the charge

  • @freshersofbose456
    @freshersofbose456 Před 11 měsíci

    commercial bms also has over discharge protection and balance discharge features.

  • @unglaubichuberlieber8048

    thanks, one question, would this work if one mix cells with different ah ???, and please stay healthy !!! and continue with your work in lithium battery cells !!!

  • @superflystar8621
    @superflystar8621 Před 2 lety

    Sir, we thank you very much for this beautiful and very detailed explanation. Can this board organize the balanced charging of three poles of lithium batteries of 150 amps or more? And if not, what will be the shape of the diagram that I can make with her board, please explain and help.

  • @andersonmontes4033
    @andersonmontes4033 Před 2 lety

    Nice ....

  • @lurkingcorsa10
    @lurkingcorsa10 Před 2 lety

    so charming 😃

  • @John_Smile
    @John_Smile Před 2 lety

    Thanks so much for the idea.
    Have we seen how the upper threshold is limited (4.2 V), but haven't we seen how the lower threshold is limited (3.2 V) ?

    • @John_Smile
      @John_Smile Před 2 lety

      Do you know a place where you can buy parts for a BMS ? I would buy too!

  • @Justyou23-6
    @Justyou23-6 Před 2 lety

    Hi quality video ,have an idea for a 40 v battery pack

  • @ohmslaw6856
    @ohmslaw6856 Před 2 lety +2

    I have constructed this circuit and i have found just a few issues, but the circuit does work pretty good.
    My battery was 280mAh battery, datasheet called for a standard of 58mA charge, or max charge of 280mA.. i chose 58mA.. estimated charge time ~ (280/58mA) = 4.8 hours
    Because I have a power supply i figured I would skip the lm317 voltage regulation and simply use only one lm317 for CC and just use 4.2V from power supply for the input.. the issue with the lm317 in current mode is you can't use 4.2V input supply because the output will not provide CC at the given 4.2V output.. it states on datasheet of headroom around 3V or soo..
    So i decided to use both lm317 for voltage and current.. like the circuit diagram shows but only CC comes first then Voltage regulation.. IMPORTANT you must have power supply 3 volts above battery level.. so for a 4.2V lipo i put a supply of 7.5V into the CC lm317 input and connected the output into the input of a lm317 in voltage mode.. with an output of 4.2V.. only needed 60mA.. P=(7.5-4.2V)(60mA)=200mW.. lm317 isn't even hot
    I could have used only one lm317 in both constant voltage and current.. but would have been bigger headache in calculations because of output impedance
    Also Iref into the tl431 is too low.. around 8mA is recommended.. for the voltage divider i used resistor values of 212.2 ohms for R1 and 313.5 ohms for R2.. this will provide more stable reference of exactly 4.2V
    I monitored my batteries voltage and current throughout the whole charging process.. the current started at my selected max current limit of 60 mA.. the battery voltage slowly rised.. once i hit around 4.19V the current slowly slowed down to 0 amps.. then the transistor opened and the battery stopped charging.. so the circuit does provide CC charging and CV charging.. the closer the battery gets charged to the supply voltage then obviously a trickle charge to 0 amps will occur..
    Overall was a great learning circuit.. learned alot about tl431 and also lm317...

    • @Eduardo_Espinoza
      @Eduardo_Espinoza Před rokem

      idk, I'm gonna take another 5 year break of electronics

    • @SocialPerspective101
      @SocialPerspective101 Před rokem

      How about the scenario where max input voltage is limited to 14.7 volts?

  • @user-bz3mi1vf7p
    @user-bz3mi1vf7p Před rokem

    Высококачественные видео, у этого гениального парня! и почему то , так мало лайков? Ау люди проснитесь, ваш лайк - это уважение автору видео , за его труд.

  • @aymanmostafa7230
    @aymanmostafa7230 Před 10 měsíci

    Thank you. I have benefited from your explanation, but I have a question: why 4 diodes and not one?‏‪

  • @judahosuigwe
    @judahosuigwe Před 11 měsíci

    Thanks so much for this video Sir.
    Please I am working with a 5s battery setup, what are the changes I will have to make for an efficient charging.

  • @kasper3355
    @kasper3355 Před 11 měsíci

    спасибо. статья на сайте вообще супер👍💥

  • @jstro-hobbytech
    @jstro-hobbytech Před 2 lety

    I know that keysight dmm is over a decade old but it's timeless. I love it. It must be 4.5 digit is it?

  • @venkir1408
    @venkir1408 Před 2 lety

    Great

  • @lollxxd6141
    @lollxxd6141 Před rokem

    Thank you so much

  • @nalinux
    @nalinux Před rokem +1

    Pay attention, there are several quite similar 431.
    The TL 431 pinout is Ref Anode Cathode, while the LM431 is Cathode Anode Ref or Cathode Ref Anode
    It's a mess ...

  • @WagonLoads
    @WagonLoads Před rokem

    I have a question/suggestion for a video idea... I saw a video from someone showing how to use a 2.7volt 500F super capacitor for a spot welder for LiPo batteries..
    But they never explained how to properly charge the cap without going over it's rated voltage.
    Can you do a video showing how to make it the right way??
    A proper Super Cap charging circuit... to be used as a spot welder.
    Thanks!

  • @francislopes7741
    @francislopes7741 Před rokem

    Very nice Vedio

  • @lio1234234
    @lio1234234 Před 2 lety +3

    Please design a protection circuit similar to this that instead shows an led for low voltage and powers the device off as the cells reach a critically low voltage

  • @kushlanfernando9607
    @kushlanfernando9607 Před 2 lety

    Really impressive. Explanation was awesome and so easy to understand but I have a small question because I am new to these stuff. Question is about 4 diodes, why would we use 4 diodes and the purpose of it? I really want to know. Thanks. Good luck with your future work. ❤️👍💪

    • @nanfwangdabiring1520
      @nanfwangdabiring1520 Před 2 lety

      The diode servers as the load connected to the battery

    • @SocialPerspective101
      @SocialPerspective101 Před rokem

      @@nanfwangdabiring1520 So what if actual load is connected to the 3 batteries in series? Do we still need the diodes?

  • @user-pl5oj1hr8n
    @user-pl5oj1hr8n Před rokem

    Very understandable. Bit what aboit parallel battery configuration?

  • @jllmrr_1236
    @jllmrr_1236 Před 2 lety

    Can you also make an active balancer circuit?