Difference between pages "Racks and Panniers" and "DIY-battery"

From E-Bike Wiki
(Difference between pages)
Jump to navigation Jump to search
(Created page with "Panniers are storage bags for your e-bike. Rear racks and pannier bags are by far the best way to transport things on your e-bike. While backpacks can work the extra weight they put on the rider can be uncomfortable and makes it slightly more difficult to ride. Rear racks come in 2 basic styles. One that mounts off the seat post alone and is generally good for up to 20lbs max and the style that bolts to the frame below the seat and just above the rear dropouts that can...")
 
 
Line 1: Line 1:
Panniers are storage bags for your e-bike. Rear racks and pannier bags are by far the best way to transport things on your e-bike. While backpacks can work the extra weight they put on the rider can be uncomfortable and makes it slightly more difficult to ride.  
'''Intent:''' This page is created as a guideline whether if assembling/designing your own battery pack is a viable option compared to buying a pre-made battery.


Rear racks come in 2 basic styles. One that mounts off the seat post alone and is generally good for up to 20lbs max and the style that bolts to the frame below the seat and just above the rear dropouts that can handle much more weight.


==Mounting your rack==
==Prerequisite software/knowledge==


Mounting a rack to your bike is a very simple process that requires very few hand tools outside of an Allen key set and maybe a wrench. Racks mount to 2 threaded holes in the frame just behind and below the seat, as well as two threaded holes just above the rear axle.  
Ability to draw 2D schematics/diagrams. - you need to do this if you are trying to make a pack with a certain dimension constraint. use of CAD is encouraged.


If you lack the hole on the upper part of your frame near the seat often your seat post clamp can be replaced with one that has the required mounting holes. Do note that you will have to measure your frame as seat post clamps come in different sizes.  
You know how to use the [[Simulator]] - You need to know how much current your battery will be drawing.


Example seat post clamp with rack mounting holes on [https://www.amazon.ca/gp/product/B001V537I0 Amazon.ca] [https://www.amazon.com/gp/product/B001V537I0 Amazon.com]
Ohm's law. Since we are not going into AC power, complex number/angle is not needed.  


If you lack the lower mounting points, P clamps or a rear rack with clamp on support tubes can be used. Please note that if you have rear suspension that you are pretty much limited to the kind of rack that clamps on to the seat post and has no side  supports. Seatpost only racks generally bad to mount side panniers on as nothing stops the pannier from hitting the rear tire.  
Ability to read battery cell datasheet. - As the wiki page becomes older, more cell info will be added to the page; but for cells that are not on this wiki/internet in a simplified format, reading datasheet will be necessary. [https://www.batemo.de/products/batemo-cell-library/lg-energy-solution-inr21700-m50lt/ Simplified datasheet of M50LT, courtesy of Batemo.de]


==What rack is right for you?==
You will most likely see terminologies that you've never encountered before, this will be explained along the article.


Your rack has to physically fit your bike. This means your bike must have matching mounts and at the right width apart. The rack must also clear the rear tire. Most racks are designed to be adjustable from 26" to 29" tires, but some may not. Do check the description before buying. It is also important to get the width of the rack correct. Fat bikes will require fat racks, and some bikes put the rear disk brake in a place that obstructs some racks.  
==Safety==
[https://www.youtube.com/watch?v=l_jeTcT6qBQ Batteries become explosives if they are uncontrollably discharged.] Therefore, at all times, you must respect the cell and equipment that you are using and know how to operate them. This would mean:


Here are some examples of rear racks:
*Do not solder directly onto cells, unless you know what you're doing. you are thermally stressing the cell. In practical term, this would be putting soldering iron onto cell junction for extended period of times. The industry uses spot welders or screw-on terminals to reduce thermal stress on cells.


Rear rack for most mountain bikes, rated 55lbs on [https://www.amazon.ca/gp/product/B00DWKUAZK Amazon.ca] [https://www.amazon.com/gp/product/B00DWKUAZK Amazon.com] Note: might not fit all bikes with disk brakes. Won't fit fat bikes.  
*Do not leave individual cells outside packaging unkept. Store them in a container, if possible.


Rear rack with extra clearance for disk brakes that would be in the way of other racks. On [https://www.amazon.ca/Ibera-Bike-Rack-Frame-Mounted-Adjustable/dp/B00AA8GFSI Amazon.ca] [https://www.amazon.com/Ibera-Bike-Rack-Frame-Mounted-Adjustable/dp/B00AA8GFSI Amazon.com]
*Do not use used cells, if possible. Used cells are not recommended because they will have different internal resistance (IR) and it will be harder for BMS to balance packs with different IR and increase chance of cell failure.


Rear rack designed for bikes that don't have any of the mounting points to install a rear rack: [https://www.amazon.ca/YaeTact-Capacity-Aluminum-Bicycle-Adjustable/dp/B0784W1WC3 Amazon.ca] [https://www.amazon.com/Dirza-Bicycle-Release-Adjustable-Capacity/dp/B075WS4KX3 Amazon.com] (Different product on .ca vs .com but visually seems to be same product). Note that you can not adjust the angle of the rack to the seat post on this style of rack.
*Do not make a battery pack without a BMS. Always use BMS from reputable sellers with appropriate discharge rating. For example, 30A battery should have at most, 30A BMS, preferably slightly lower for safety margin)


==What pannier bag to pick?==
*Do not place/use conductive objects when making battery, if possible. This is generally unavoidable when using spot welders. In this case, cover the areas that you are not working on to reduce likelihood of shorts.


Consider your shopping requirements when buying panniers. Make sure it is big enough for everything you plan to buy, some items like frozen pizzas won't fit in smaller panniers. Also consider you can wear a backpack as well for even bigger grocery trips for storing very fragile items like bread, or bulky items like 4L jugs of milk in the backpack while the rest goes in the panniers.
*Do not charge batteries unattended. Especially a battery pack you built for first time.


Here are some examples of pannier bags:
*In case of actual fire, do not try to put out the fire, Li-ion fires are uncontrollable and specialized fire extinguishers are needed. [https://www.youtube.com/watch?v=HQFff-KQ7EY Even this is not enough for large li-ion fire]


Large high quality waterproof pannier bags [https://www.amazon.ca/gp/product/B07T1W96N6 Amazon.ca] [https://www.amazon.com/Rhinowalk-Pannier-Shoulder-Professional-Accessories/dp/B07VX7NC7D Amazon.com] (Note different manufactures but visually seems to be same product from .ca and .com)
'''If this is your first electronics project, stop what you're doing. You're most likely to screw something up and burn your house down. If you don't know how to use a soldering iron and doesn't know how to use a multimeter, consider doing some other electronics project (learn from makerspace) then try again later.'''


Simple medium quality pannier bags [https://www.amazon.ca/BV-Panniers-Adjustable-Carrying-Reflective/dp/B00ESLVDIU Amazon.ca] [https://www.amazon.com/BV-Panniers-Adjustable-Carrying-Reflective/dp/B00ESLVDIU Amazon.com]
(Reminder: add self-served knowledge assessment. - kopaz)


==Notes==
==Equipment requirement==


Note there are many other seat post clamps, racks and pannier bags available online. If you don't live in Canada/USA, consider ebay and other online cycling specific stores and your local bike shop. The local bike shop can be great as you can often test fit the rear rack by holding it up to your bike and make sure it will mount properly before buying it.
===Soldering iron===
depending on design, you may not even have to solder anything, but you most likely will for balance wires. Balance wires are used by the Battery Management System (Hereinafter BMS) to read a pack's voltage for charge/discharge/storage.
Pinecil will work for balance wires, but a higher power soldering iron will be necessary if you are soldering bus wire/plates.
 
===Battery case===
The shape/volume of the case determines how much cell you can fit in the case. You can 3D Print a battery case, and this will be explained further. In general, injection-molded/hardcase plastic battery case (if designed/manufactured well) will be almost always superior to a 3D printed/handmade case. Therefore, the latter cases are for more experimental purpose that market does not provide i.e. very large in dimension, custom mounting/hole for heatsinking, etc.
 
===Spot welder===
Spot welder of your choice, and something that won't fail after using it for an hour. They are either battery-powered, or supercap-powered. [https://www.nasa.gov/sites/default/files/atoms/files/prc-0009_current.pdf NASA's guideline on spot welding.]
Most li-po based spot welders on ecommerce site doesn't seem to last long. Expect anything under $100 be a "lottery", more or less.
 
===Multimeter===
used for troubleshooting. Red probe goes on V+, Negative probe goes on V-. '''Do not mix these up.'''
Cheap, reliable multimeter will do. we're not measuring high voltage here. Something like fluke 101 works.
 
===2D/3D CAD software===
To your preference - there are hobbyist/entry level software that usually has limited/featureset comapred to hobbyist-level and professional (career)-level software, but for this purpose, as long as you can do 2D sketch and do 3D model using sketch, it will work. Example: [https://www.tinkercad.com/ Tinkercad] [https://www.autodesk.com/products/fusion-360/free-trial Fusion 360] [https://www.freecad.org/index.php FreeCAD]
 
==Start-to-Finish cycle==
 
*Decide equipment of your choice first. depending on how complicated you want your design to be, CAD software may be recommended, but a simple sketch drawing might also do.
 
*Calculate power & speed requirement of your ebike. Refer to the [https://ebikewiki.com/index.php/Simulator|Grin simulator]. Hint: Faster ebike usually need a battery of higher voltage, or a motor with high KV rating (how much the motor will spin per volt), with enough power output to sustain this power (usually a peak at startup due to torque requirement, then gradually slopes down).
 
*Plan out what cell sizes you will be using (the most common sizes are 18650 (18mm*65.0mm) and 21700 (21mm*70.0mm). I hope you already have a battery case designed/purchased. If not, purchase/design a battery case first to your shape/dimension, make a mockup of your cells, including busbar/nickel strip so you don't mess up and burn your house down. Feel free to ask for help on our [https://discord.gg/ATZ8eet6fy Discord server].
 
*Select cells. You will most likely end up spending some time doing this, if you've never done something like component selection before. In general - Cells are characterized by (to price, cheaper to expensive):
Low power density, low max/continuous power output (usually the cheapest - prismatic cells fall into this sort of category, and entry level cells that are commonly found in powerbank packs)
 
Medium~high power density, low~medium continuous power output (something like LG M50 series linked above falls into this category). Slightly higher than the entry level cells, but still not the best. Example:
 
Medium power density, medium~high power continuous power output. Example: [https://litechpower.com/htmledit/uploadfiles//20210628200957892.PDF Molicel INR-21700-P42A]
 
The "easiest" way of choosing cells without risking thermal runaway would be simply choosing cells like P42A, bundle them in parallel to have desired Amp-hour, then wire them in series to have desired nominal voltage of your pack. Naturally, by doing this, you will run into cost issue.
 
*'''The best way of buying cells at cheapest rate is by buying them in hundreds or thousands. The price difference will vary from sellers, but they all follow this trend, one way or another (unless there is a sale/clearance). This is the break-even point you need to consider before making your pack, if cost is priority.
'''
Typically, nominal voltage for e-bike packs are usually multiples of 12 - 36, 48, 60, 72V (with exception of 52V). Above 72V is the area where you're pretending that you are an e-bike, but really isn't an e-bike (more like a dirtbike/motorcycle. again, depending on max power/speed due to different motor winding, this varies).
*Along with cells, buy other consumables for your battery, like cell holders '''(Unless you know what you are doing, always use a cell holder)''' and nickel strips (don't forget BMS and some padding). You can get screw-on style for making batteries parallel without having to spot welder, namely, by screwing terminal caps. Example [https://vruzend.com/ here] and [https://18650.lt/ here]. This is actually fairly common design choice outside PEVs, but they take up more volumetric space and more expensive (and proprietary) than simply spotwelding strips directly onto cells.
 
*For safety precautions, measure cell voltage one by one before connecting them in parallel. Every cell should be at same voltage level to 2~3 decimal points. They should all be on storage SOC (60%) per ICAO transportation reasons (I am not linking here, but feel free to read the legalese on your own). This means about 3.8V per series. You have a questionable/sus supplier, if you have cells that are fully charged/drained. Contact supplier and decide if you want to share the supplier to us on our [https://discord.gg/ATZ8eet6fy Discord server].
 
*Connect cells in parallel. Depending on dimension/shape, you may not be able to simply line them up (i.e., 1s*x amount of p-group, on a line). If you've been following this rundown, you should already have layout of your battery pack. Simply follow that, wire balance leads (V- goes to the V- of first series group, S1 goes to V+ of first series group, and so on, to the last series group). The last series group and V+ should be on a separate junction (series group balance lead should be soldered onto your busbar/nickel plate, other should be on output i.e., V+). Appropriately pad the battery pack to the case and, organize your balance wires so they aren't spaghetti. This might sound funny, but having balance lead that aren't spaghetti will be easier for you to troubleshoot & reduce likelihood of accidental shorts.
 
*Place thermistors onto cells wherever appropriate. this will be explained further.
 
*Program the BMS as necessary. The things you should be looking out for the most is:
 
1. Battery capacity (in amp-hour)
 
2. Nominal voltage (in Volts)
 
3. Maximum continuous discharge (in amps. this is NOT amp-hour)
 
4. Peak discharge (usually to 10s, also in amps. Refer to your cell datasheet and independent tests)
 
5. Charge-voltage cutoff, and Discharge-voltage cutoff (and alarm)
*Do not configure your pack to discharge from 100% SOC to 0% SOC, and vice versa. This will reduce your battery lifespan significantly. [https://www.nrel.gov/transportation/battery-lifespan.html Further read]
 
6. Charge/discharge temperature protection (High temperature and low temperature). Refer to your cell's datasheet. Do not leave your battery unattended.
 
==Design==
You use the simulator to find power requirement of your setup, then you use the peak power consumption as your baseline.
 
Depending on your design decision/riding habit, this can be flexible to some degree. 10s should be the absolute maximum for "peak" power output of your battery (this will also depend on the cells you are using). Dimension is also fairly simple - Either you find a case that fits on wherever you are placing battery on, or you design a custom case and use that as a baseline.
Custom design cases will be explained in detail in a separate article.
'''Note: Continuous output will vary, such as terrain grade, speed, air resistance and weight of rider/bicycle. Only use example cases below, as examples only.'''
 
===Example case 1===
Let's say we have an e-bike setup that will do 2000W continuous with a battery pack that has nominal voltage of 52V. Each series group would need to have continuous output of 39A; at 52V nominal voltage, you would need 14 cell groups in series.
 
===Example case 2===
We want to make an e-bike setup that will do 4000W continuous with a battery pack that has nominal voltage of 60V. Each series group would need to have continuous output of 67A; at 60V nominal voltage, you would need 16 cell groups in series.

Revision as of 08:01, 16 September 2023

Intent: This page is created as a guideline whether if assembling/designing your own battery pack is a viable option compared to buying a pre-made battery.


Prerequisite software/knowledge

Ability to draw 2D schematics/diagrams. - you need to do this if you are trying to make a pack with a certain dimension constraint. use of CAD is encouraged.

You know how to use the Simulator - You need to know how much current your battery will be drawing.

Ohm's law. Since we are not going into AC power, complex number/angle is not needed.

Ability to read battery cell datasheet. - As the wiki page becomes older, more cell info will be added to the page; but for cells that are not on this wiki/internet in a simplified format, reading datasheet will be necessary. Simplified datasheet of M50LT, courtesy of Batemo.de

You will most likely see terminologies that you've never encountered before, this will be explained along the article.

Safety

Batteries become explosives if they are uncontrollably discharged. Therefore, at all times, you must respect the cell and equipment that you are using and know how to operate them. This would mean:

  • Do not solder directly onto cells, unless you know what you're doing. you are thermally stressing the cell. In practical term, this would be putting soldering iron onto cell junction for extended period of times. The industry uses spot welders or screw-on terminals to reduce thermal stress on cells.
  • Do not leave individual cells outside packaging unkept. Store them in a container, if possible.
  • Do not use used cells, if possible. Used cells are not recommended because they will have different internal resistance (IR) and it will be harder for BMS to balance packs with different IR and increase chance of cell failure.
  • Do not make a battery pack without a BMS. Always use BMS from reputable sellers with appropriate discharge rating. For example, 30A battery should have at most, 30A BMS, preferably slightly lower for safety margin)
  • Do not place/use conductive objects when making battery, if possible. This is generally unavoidable when using spot welders. In this case, cover the areas that you are not working on to reduce likelihood of shorts.
  • Do not charge batteries unattended. Especially a battery pack you built for first time.

If this is your first electronics project, stop what you're doing. You're most likely to screw something up and burn your house down. If you don't know how to use a soldering iron and doesn't know how to use a multimeter, consider doing some other electronics project (learn from makerspace) then try again later.

(Reminder: add self-served knowledge assessment. - kopaz)

Equipment requirement

Soldering iron

depending on design, you may not even have to solder anything, but you most likely will for balance wires. Balance wires are used by the Battery Management System (Hereinafter BMS) to read a pack's voltage for charge/discharge/storage. Pinecil will work for balance wires, but a higher power soldering iron will be necessary if you are soldering bus wire/plates.

Battery case

The shape/volume of the case determines how much cell you can fit in the case. You can 3D Print a battery case, and this will be explained further. In general, injection-molded/hardcase plastic battery case (if designed/manufactured well) will be almost always superior to a 3D printed/handmade case. Therefore, the latter cases are for more experimental purpose that market does not provide i.e. very large in dimension, custom mounting/hole for heatsinking, etc.

Spot welder

Spot welder of your choice, and something that won't fail after using it for an hour. They are either battery-powered, or supercap-powered. NASA's guideline on spot welding. Most li-po based spot welders on ecommerce site doesn't seem to last long. Expect anything under $100 be a "lottery", more or less.

Multimeter

used for troubleshooting. Red probe goes on V+, Negative probe goes on V-. Do not mix these up. Cheap, reliable multimeter will do. we're not measuring high voltage here. Something like fluke 101 works.

2D/3D CAD software

To your preference - there are hobbyist/entry level software that usually has limited/featureset comapred to hobbyist-level and professional (career)-level software, but for this purpose, as long as you can do 2D sketch and do 3D model using sketch, it will work. Example: Tinkercad Fusion 360 FreeCAD

Start-to-Finish cycle

  • Decide equipment of your choice first. depending on how complicated you want your design to be, CAD software may be recommended, but a simple sketch drawing might also do.
  • Calculate power & speed requirement of your ebike. Refer to the simulator. Hint: Faster ebike usually need a battery of higher voltage, or a motor with high KV rating (how much the motor will spin per volt), with enough power output to sustain this power (usually a peak at startup due to torque requirement, then gradually slopes down).
  • Plan out what cell sizes you will be using (the most common sizes are 18650 (18mm*65.0mm) and 21700 (21mm*70.0mm). I hope you already have a battery case designed/purchased. If not, purchase/design a battery case first to your shape/dimension, make a mockup of your cells, including busbar/nickel strip so you don't mess up and burn your house down. Feel free to ask for help on our Discord server.
  • Select cells. You will most likely end up spending some time doing this, if you've never done something like component selection before. In general - Cells are characterized by (to price, cheaper to expensive):

Low power density, low max/continuous power output (usually the cheapest - prismatic cells fall into this sort of category, and entry level cells that are commonly found in powerbank packs)

Medium~high power density, low~medium continuous power output (something like LG M50 series linked above falls into this category). Slightly higher than the entry level cells, but still not the best. Example:

Medium power density, medium~high power continuous power output. Example: Molicel INR-21700-P42A

The "easiest" way of choosing cells without risking thermal runaway would be simply choosing cells like P42A, bundle them in parallel to have desired Amp-hour, then wire them in series to have desired nominal voltage of your pack. Naturally, by doing this, you will run into cost issue.

  • The best way of buying cells at cheapest rate is by buying them in hundreds or thousands. The price difference will vary from sellers, but they all follow this trend, one way or another (unless there is a sale/clearance). This is the break-even point you need to consider before making your pack, if cost is priority.

Typically, nominal voltage for e-bike packs are usually multiples of 12 - 36, 48, 60, 72V (with exception of 52V). Above 72V is the area where you're pretending that you are an e-bike, but really isn't an e-bike (more like a dirtbike/motorcycle. again, depending on max power/speed due to different motor winding, this varies).

  • Along with cells, buy other consumables for your battery, like cell holders (Unless you know what you are doing, always use a cell holder) and nickel strips (don't forget BMS and some padding). You can get screw-on style for making batteries parallel without having to spot welder, namely, by screwing terminal caps. Example here and here. This is actually fairly common design choice outside PEVs, but they take up more volumetric space and more expensive (and proprietary) than simply spotwelding strips directly onto cells.
  • For safety precautions, measure cell voltage one by one before connecting them in parallel. Every cell should be at same voltage level to 2~3 decimal points. They should all be on storage SOC (60%) per ICAO transportation reasons (I am not linking here, but feel free to read the legalese on your own). This means about 3.8V per series. You have a questionable/sus supplier, if you have cells that are fully charged/drained. Contact supplier and decide if you want to share the supplier to us on our Discord server.
  • Connect cells in parallel. Depending on dimension/shape, you may not be able to simply line them up (i.e., 1s*x amount of p-group, on a line). If you've been following this rundown, you should already have layout of your battery pack. Simply follow that, wire balance leads (V- goes to the V- of first series group, S1 goes to V+ of first series group, and so on, to the last series group). The last series group and V+ should be on a separate junction (series group balance lead should be soldered onto your busbar/nickel plate, other should be on output i.e., V+). Appropriately pad the battery pack to the case and, organize your balance wires so they aren't spaghetti. This might sound funny, but having balance lead that aren't spaghetti will be easier for you to troubleshoot & reduce likelihood of accidental shorts.
  • Place thermistors onto cells wherever appropriate. this will be explained further.
  • Program the BMS as necessary. The things you should be looking out for the most is:

1. Battery capacity (in amp-hour)

2. Nominal voltage (in Volts)

3. Maximum continuous discharge (in amps. this is NOT amp-hour)

4. Peak discharge (usually to 10s, also in amps. Refer to your cell datasheet and independent tests)

5. Charge-voltage cutoff, and Discharge-voltage cutoff (and alarm)

  • Do not configure your pack to discharge from 100% SOC to 0% SOC, and vice versa. This will reduce your battery lifespan significantly. Further read

6. Charge/discharge temperature protection (High temperature and low temperature). Refer to your cell's datasheet. Do not leave your battery unattended.

Design

You use the simulator to find power requirement of your setup, then you use the peak power consumption as your baseline.

Depending on your design decision/riding habit, this can be flexible to some degree. 10s should be the absolute maximum for "peak" power output of your battery (this will also depend on the cells you are using). Dimension is also fairly simple - Either you find a case that fits on wherever you are placing battery on, or you design a custom case and use that as a baseline. Custom design cases will be explained in detail in a separate article. Note: Continuous output will vary, such as terrain grade, speed, air resistance and weight of rider/bicycle. Only use example cases below, as examples only.

Example case 1

Let's say we have an e-bike setup that will do 2000W continuous with a battery pack that has nominal voltage of 52V. Each series group would need to have continuous output of 39A; at 52V nominal voltage, you would need 14 cell groups in series.

Example case 2

We want to make an e-bike setup that will do 4000W continuous with a battery pack that has nominal voltage of 60V. Each series group would need to have continuous output of 67A; at 60V nominal voltage, you would need 16 cell groups in series.