# Building a DeWalt Charging Circuit - Getting out of my depth - Help?

Problem:

I'm working on a project that will require a 60V DC (mobile) power source. I'd like to use DeWalt 20V 5Ah batteries to supply this power, 3 in series x 3 in parallel (9 total).

Part of this project will be making a circuit that can charge all 9 of these at once, without removing them to put them on a separate charger. I could use help designing the circuit to control the charging. I'm getting a little out of my depth, so I thought I'd see if anyone has any ideas.

Research I've Done:

To understand what it takes to charge a DeWalt battery, I built a test rig, depleted a battery, and sampled the current and voltage during the charging with 1 battery and 1 stock charger.

Testing Circuit:

I don't have access to any more sophisticated equipment than a basic multimeter, so I bought some ACS712 chips off amazon, ran wires from the charger to each of the pins on the battery, individually. This gave me access to measure each cell in the battery as well as some control signal inputs.

Here's a rudimentary diagram of my setup:

Testing Results:

What I learned, in broad strokes, is that the Dewalt charger applies a constant current of 4A until the output reaches around 19V, then it switches to a constant current of 2A until the output must be around 19.8V. At that second milestone, it maintains a voltage of ~19.6V and notifies the user that charging is complete by triggering the "TH" pin. - An interesting note, here, is that I measured no current across any pins except the TH pin.

Chart (noisy because of cheap equipment):

Note: I limited the Y-axis of the voltage to 18V-20V, each of the C1 through C4 pins shows the same line as TH but scaled to represent the lesser number of cells measured across (I felt relevant cutting that portion of the graph off as there was no current across the lines leading to those pins).

What I think I need:

Because I'm going to be charging 9 batteries (3 in series x 3 in parallel,) I believe I need a circuit, then, that can generate an output of 6A (2A * 3 in parallel, ignoring the 4A stage) through a range of voltages from around 54V to 59.4V to charge all at once. I'm open to counter-arguments on this, that's why I'm here!

I'd like to stay as IC as possible, but I emphasize simplicity over being strict on that. I'd be ok with using a microcontroller to monitor the charging cycle and control different states in the process (ex: from 6A to 0A when charging is complete).

What I need from you:

• Suggestions if I'm heading down the wrong path anywhere above.
• Help designing the circuit that can charge these batteries.
• Hi nicholas, welcom to EE stack exchange, my first suggestion would be to check the chemistry of the batteries you are using, that is what will determine the charge procedure/IC, then try researching about the battery packs themselves, they most likely will have protection circuitry and probably balancing (in this case you may want a circuit that supports balancing). in terms of battery charger ICs you can find a broad selection for lithium batteries and other standard chemistries on mouser, digikey etc Commented Apr 8, 2020 at 23:58
• @diegogmx Hey thanks for getting back to me. The cells are Li-Ion. I did some research on this. Usually, Li-Ion batteries (I believe) are charged using a CC-CV process. I figured that's what I would discover with these batteries, but that is no the case, I only saw 2 different Constant Current phases. My guess here is either DeWalt got lazy or the internal board in the battery pack is somehow compensating for the lack of the CV phase. I'd like to stick with these DeWalt packs over sourcing others, though, as I like their robust casing/materials/and onboard balancing/protection circuit. Commented Apr 9, 2020 at 0:10
• I'm voting to close this question as off-topic because as presented this question is a plea for consulting services which this site most assuredly does not provide. Commented Apr 9, 2020 at 3:48
• Fair enough. Thanks everyone! Commented Apr 9, 2020 at 14:50

Suggestions if I'm heading down the wrong path anywhere above.

I think you are heading down the wrong path. These packs are not designed for charging in series or parallel. In the comments you say that you like their robust casing/materials/and onboard balancing/protection circuit. But for reliable operation you should connect directly to the cells and have a balancing circuit that does all of them at once, so if you do it properly the existing case and balancer are redundant.

I suggest getting a single pack that has the voltage and capacity you require, rather than trying to repurpose a product that was not intended to be used this way.

Help designing the circuit that can charge these batteries

If you reproduce the charging profile of the DeWalt charger then theoretically it should work. However it may be difficult to get each pack to share the voltage and current equally. Since the cells are deliberately undercharged (presumably to improve shelf life) a bit of imbalance will probably be safe, but there is no guarantee. Are you willing to take the risk?

If I was using these packs I would make them removable and charge each one separately on the official charger (that's what I do with our drone which takes 6 removable batteries, and it takes half a day to charge 3 sets). This may be unacceptable, in which case you should be looking for another properly engineered solution.

You've done some impressive work researching your battery packs, but it was unnecessary. DeWalt batrteries are no different that any other power tool battery packs, and they are built of the same cells as other packs for power tools or electric bicycles. Their charging process is well described. You could just get yourself a ready-made charging block rated for your number of cells and connect it to the positive and negative terminals of your pack.

Charging is easy, but the real problem here is cell balancing. The easiest solution for that would be to get a ready-made module. You've got a 5S battery, connecting 3 of them in series would make a 15S battery, so search for "15S Li-ion BMS".

These components (charger and balancer) can be obtainer from shops selling DIY e-bike components. Be aware though that using power tool battery packs is probably the most expensive way of building a 60V battery.