Open Source Battery Pack: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
=WARNINGS= | |||
High-ampage and high-voltage battery packs are inherently dangerous. You take absolute and full responsibility for all decisions, actions or lack of actions when messing about with DC electricity. | |||
=Concept= | =Concept= | ||
[[File:openbms.jpg|600px]] | [[File:openbms.jpg|600px]] |
Revision as of 22:34, 2 January 2020
WARNINGS
High-ampage and high-voltage battery packs are inherently dangerous. You take absolute and full responsibility for all decisions, actions or lack of actions when messing about with DC electricity.
Concept
Source Code
GPLv3+ Licensed
- git clone http://lkcl.net/bms_3dcase/.git
Videos
Uses
- Power tools
- 3G/4G/LTE/WIFI portable routers with a much longer battery life
- Vehicles
Design Advantages
- Each cell is individually monitored with its own BMS management, which significantly reduces cell damage
- An individual per-cell BMS also includes short-circuit provision and a current limiter, but without the need for extremely high-current circuits to do so
- Each cell is replaceable without soldering.
- There is space at the end of the pack to put BT/BLE, Micro-Arduino-style Embedded Controllers, GSM/3G/4G/LTE and WIFI etc. A sparkfun ESP32 for example https://www.sparkfun.com/products/13907
- Packs can be connected together with Bus Bars and interlock in a "hexagonal" space-saving arrangement without additional screws other than those necessary to connect the Bus Bars.
- The Bus Bars are external and consequently if extremely high current is required, larger Bus Bars may easily be used.
Design Issues
- Assembly currently requires a minimum of QTY 16 2.5 mm self-tapping screws.
- The Bus Bars are fully exposed and will require a cover (safety-conscious users may screw in covered wired cables with XT or Anderson Plugs instead).
- Skilled assembly is paramount: until it is screwed together there's high enough current to melt things, and enough voltage to give a shock.
JW3317 BMS schematic (1)
Casework preliminary screenshots
Description
Based on existing open (non-libre) designs, this is a 5-cell (18650) 18v battery holder similar to a "AA" battery holder, designed to connect safely and easily with bus-bars into larger high-ampage packs, where every single cell is individually protected from charging and discharging damage and over-current or short-circuiting. They are also designed to stack together where the cells are hexagonally overlapping, saving some space.
As a battery "holder" as opposed to a "monolithic pack", individual cells may be bought and shipped under a different category of UN3481 that may not necessarily require a Dangerous Goods Certificate and fees. Also, as a "saleable product" the cells themselves become the end-user's responsibility.
The recommended BMS for the "really simple" version uses the China-made JW3317 https://www.aliexpress.com/item/4000052402113.html where the absolute-minimal schematic and "datasheet" is available here: https://www.joulwatt.com/en/proinfo_3488.html
The actual cells are visible from both the top and bottom. This has the side-effect of making it easy to assemble, inserting tight-fitting Bus-Bars into the 3D-printed plastic. Internal nickel-copper-plated Bus-bars backed with poron foam as an easy-to-construct spring create a high-ampage contact between cells, where the BMS wires may easily be soldered to each Bus-Bar rather than to the 18650 cells themselves (causing damage and inability to replace the cells). At one end the internal bus-bars slot firmly into the lid, where at the other end they are embedded into the plastic with poron foam behind them.
The BMS circuit sits at an angle inside the 3D-printed pack, to save space. The battery wires (12 guage, 25A) connect to large upright metal squares that have a screw-hole through the middle. These squares are embedded firmly into the 3D printed plastic. From the top, through a hole that goes right the way through the pack, small enough to not permit fingers to get into, *external* Bus-Bars with over-sized holes in them are "dropped" then, on proper alignment, screws inserted that lock the external Bus-Bars into place.
The external Bus-Bars also therefore act as a mechanical means of holding multiple packs together. To save space, rather than have extra screw-holes at the other end, the packs can be slotted together (interleaved) with a hexagonal cell-overlap, such that if four or more packs are assembled together, the external Bus-Bars at each end help clamp and support the entire block. With the hexagonal overlap and the screws holding every pack onto two Bus-Bars there is simply no way to pull the packs apart.
Initial versions of this concept (right of diagram, square-looking drawings) were self-enclosed. They also required a metal plate at the end to "clamp" multiple packs together. On the left-middle is the hexagonal-interleaved design concept.
For the BMS the much-preferred option is the BQ76920 IC which has full I2C control and monitoring, suitable for integration with Embedded Controllers. Unlike the Grin Tech LiGo packs, which run proprietary firmware on an unidentified EC, an arduino-like ESP32 which has integrated BLE 4.0 and 2.4ghz WIFI, is greatly preferred. nseidle's Eagle-based sparkfun PCB is a good starting point https://github.com/nseidle/BMS
However for an initial release, the off-the-shelf and ridiculously dirt-cheap JW3317-based PCB is a pretty good start.
Notes
On 12/31/19, Marcin Jakubowski <marcin@opensourceecology.org> wrote: > Wow, that's great insight here. Can we get our hands on the Grade A cells,
if you have connections in the automotive industry, or want to place a multi-tens-of-millions of dollars cash order... yeah.
> or do we just work with shit cells now?
work with shit cells - everyone else does. for power tools they don't give a damn, just stuff them into a pack with a sub-standard BMS, the cells are so badly stressed they're toast within 250 charges anyway.
if you want to make them last longer you pay a bit more for a half-decent BMS (google nseidle github BMS BQ76940), but what you also do is charge and discharge all the cells, then mix/match them with other cells of equal internal resistance and other characteristics.
there's actually a libre-licensed USB "cell tester" online, somewhere. full schematics, full source.
> Please do share what you have on the battery pack design. For the workshop > - we wanted to do 6s (22v), and stack them for the welder application for > minimall a 5 stack and 50A for 3/32 welding rods.
for what we are doing (EVs) we need to go with 18v (5 cells) because it's nice multiples: 36v, 72v are easy well-known numbers.
> We were going to get this BMS off-shelf - > https://www.banggood.com/10pcs-6S-14A-22_2V-18650-Battery-Protection-Board-for-18650-Li-ion-Lithium-Battery-Cell-Charger-Protect-Module-PCB-BMS-p-1542693.html?rmmds=buy&cur_warehouse=CN
aw bless 'em. it's really basic, and funnily enough i was looking for something pretty much exactly like this. they even used a china-clone rip-off of the Fairchild Semi FDD8447L MOSFET. awww bleeesss :)
here's the (very basic) datasheet which includes the schematic. absolutely no information on how to use it, no information on how to set the max current etc. etc.
https://www.joulwatt.com/en/proinfo_3488.html
oh btw, at $35 you're being ripped off. a quick search "JW3317 site:aliexpress.com" came up with this: https://www.aliexpress.com/item/4000052402113.html
which is USD $2.53 with free shipping to the US, and it's clearly exactly the same circuit.
> - > would that work?
it'd work. what you can do btw is still use that, with only 5 cells. connect (short) any one cell to two of those pads (B3 and B4), that should tell the JM3317 "hey one of my cells must be dead, that's ok, let's just skip that one and carry on anyway"
> Doesn't look like the TI BQ76940, though.
the BQ769x0 series has the advantage of being fully-documented. as in: *everything*. it also has an I2C interface, i.e. you get full control, monitoring and reporting, from an Embedded Controller. it also has the advantage of being part of nseidle's Eagle-based BMS.
however for "getting started", the JM3317 one is pretty f****** good, and i'm going to recommend it to my business associates to get some and try it out.
(we have to do a pack demo of the concept i sent you, including charging them).