Some laziness followed by a mountain biking accident put me out of commission for awhile, but I’ve been making some progress on the Sachs and have lots of updates to share!
Long ago I promised a post about batteries, and I figured that should come before I talk about the entire electrical system.
The first big decision when it comes to selecting batteries is whether you want to go with lead acid (like your car battery) or lithium (like your cell phone/laptop/tablet) batteries. Each of the two have different subcategories, but they all tend follow a trend with respect to weight, cost, and lifetime (number of cycles).Â
Assuming the same desired battery voltage and capacity (in Amp-hours, or Ah), these trends are:
Longer lifetime (more lifetime cycles)
Shorter lifetime (fewer lifetime cycles)
A bit simplified, but typically the only reason you wouldn’t go with a lithium setup is due to the cost. That said, if you remember from my posts about the electric Chinese scooter I bought (part 1 and part 2), I managed to get a number of used lithium battery cells on the cheap. These cells were LiFePO4 cells -- lithium iron phosphate. This particular lithium chemistry is popular for DIY electric vehicle applications for a number of reasons; most importantly, it is known to be a very stable chemistry, making it a safer battery (no spontaneous combustion, for instance).Â
Another thing to think about with respect to batteries is energy density vs power density. Energy density is what we tend to think about most often. This is the “capacity” of the battery, rated in Amp-hours (or Watt-hours, Wh, which is simply the voltage times the amp-hours -- more often measured in kilowatt-hours, kWh). The greater the energy density, the longer the battery will last on a single charge. This is usually the only important thing to think about when comparing battery sizes in mobile phones and other consumer electronics. However, electric vehicles are much higher power applications than your handheld gizmos and gadgets. Power is the rate at which we use energy, measured in Watts (W). Without enough power density, you will not be able to supply your motor with its full power. This rate of battery discharge is often defined using its “C” rating. The C-rating defines how much power the cell can provide by multiplying the C-rating by the capacity of the cell in Ah. For example, a 4C battery with a 20Ah capacity would have a maximum continuous discharge rate of 80A. Note that because of this, different capacity packs not only affect your range but also affect your maximum current output.
This power density is one of the other reasons LiFePO4 batteries are so popular -- while they don’t offer the same energy density as other lithium-ion cells, they provide a good balance of energy AND power.
For more info on different types of lithium cells, check out http://www.cobox-ebikes.com/296/basic-understanding-of-lipo-li-ion-and-lifepo4.html. This article also addresses lithium polymer (LiPo) batteries, which are good for high power discharge and can be used as well. Something to keep in mind though is that those LiPo batteries can catch fire when charging, and it is recommended to charge them in a fireproof charging bag. As a result, I would recommend LiFePO4′s for cells that are permanently mounted to your bike.
Now that we’ve talked about some of the characteristics of different battery chemistries, let’s move on to how we actually charge and discharge your batteries.Â
First, a quick note on voltage characteristics/lingo for batteries pertaining to charging and discharging that you’ll see in battery spec sheets:
This is the “named” voltage of a battery. It is measured as more of a midpoint of the actual operating voltage, as the actual voltage decreases as you discharge the battery.
This is the maximum voltage that the battery should be charged to.
This is the minimum voltage that the battery should be discharged to.
Since I selected LiFePO4 cells, I will focus on those. For charging these cells, you have a couple of different options:
The easiest and cheapest option for charging a LiFePO4 pack is to wire all your cells in series and charge the entire pack with one charger. I targeted a 48V system on my bike, which corresponds to 16 LiFePO4 cells. Unfortunately, this option is the worst for long-term battery health. It will charge the pack as a whole to the desired pack voltage, but there are no guarantees that each individual cell is charged equally, resulting in potential over-charging of some cells and under-charging of others.
Single charger with cell balancers
For better battery health, you can add cell balancers to each cell to ensure that each cell itself is charged appropriately. This works by diverting current through the balancer and onto the next cell when that particular cell is fully charged.Â
Rather than one big charger that you attach to either end of the full pack, you can wire single chargers to each of your cells. This will effectively give you the same result as the single charger with cell balancers, where each cell is ensured to be appropriately charged. In my opinion, this is a slightly less elegant solution since there is a lot more wiring to do and slightly more expensive than a bulk charger with balancers. An advantage is its configurability -- changing your pack voltage doesn’t require a full new expensive charger (rendering your old one useless in that application). You can simply buy the extra single chargers you need (or disconnect ones you no longer need) and you’re good to go.
Single charger with a Battery Management System (BMS)
This is definitely the heaviest duty solution, and will maintain battery health better than any other option. A BMS will monitor and control individual cells, ensuring optimal charging as well as discharging, while also providing other protections (such as temperature). These are pretty standard in higher power EV applications, but are costly and in my opinion a bit heavier weight than necessary on my DIY moped project. There are lower cost alternatives for lower power applications called Protection Circuit Modules (PCM) that seem appropriate, but I have struggled to find one that supports a high enough current output for my particular application.
All of this said, I chose to simply use a single charger with my pack without balancers or a BMS. This is because the cells I pulled from the XM had no balancers or BMS, and I figured some of the damage had likely already been done to the cells so it wasn’t worth the cost of adding any battery protection (yet, anyway). If I had bought brand new batteries, I would either choose cell balancers or find an appropriately-spec’d PCM for my setup. Both are reasonably easy solutions to retrofit, so I may choose to do so once I’m more confident about my batteries’ health.
Now that we’ve covered some of the theory and selection of motors, motor controllers, and batteries, my next post will talk about connecting the entire electrical system!