kWeld - "Next level" DIY battery spot welder
kWeld - "Next level" DIY battery spot welder
Hi guys,
as part of my kicksurfer project (I was tired of my battery pack manufacturer of wanting >700€ each time I am asking him to prepare a few samples of packs from another cell type), I have started desigining a DIY spot welder.
After some googling, I realized that even when building it myself it would be quite costly, as the required power source needs to have very high specs. A suitable capacitor bank for example would be 100€+.
As I am using cheap race Lipos with 200A current rating for my RC car, I thought that they might be capable for welding as well. A first measurement then showed 1kA into a short!
I am still at the beginning, but I want to share my experience, and at the end make this open hardware that others can copy or build on.
The design thread is here, I hope it is not forbidden to link to a different forum but it is quite time consuming to keep multiple threads with the same subject.
http://www.eevblog.com/forum/projects/g ... ting-here/
Please let me know what you think, and I would be happy to hear if anyone would want to build one (after it is finished and stable).
as part of my kicksurfer project (I was tired of my battery pack manufacturer of wanting >700€ each time I am asking him to prepare a few samples of packs from another cell type), I have started desigining a DIY spot welder.
After some googling, I realized that even when building it myself it would be quite costly, as the required power source needs to have very high specs. A suitable capacitor bank for example would be 100€+.
As I am using cheap race Lipos with 200A current rating for my RC car, I thought that they might be capable for welding as well. A first measurement then showed 1kA into a short!
I am still at the beginning, but I want to share my experience, and at the end make this open hardware that others can copy or build on.
The design thread is here, I hope it is not forbidden to link to a different forum but it is quite time consuming to keep multiple threads with the same subject.
http://www.eevblog.com/forum/projects/g ... ting-here/
Please let me know what you think, and I would be happy to hear if anyone would want to build one (after it is finished and stable).
Last edited by tatus1969 on Jul 17 2017 10:57am, edited 1 time in total.
Resistance is futile - We Are The Watt.
- spinningmagnets 100 GW
- Posts: 11824
- Joined: Dec 21 2007 10:27pm
- Location: Ft Riley, NE Kansas
Re: low cost DIY battery spot welder
Your project may have some unique features, so please continue to post your progress. However, you may benefit from the existing research. Here are some links that may be useful to you.
"Sticky thread index for "Battery Technology"
DIY battery pack building threads [Spot Welding]
https://endless-sphere.com/forums/viewt ... 3#p1051327
"Sticky thread index for "Battery Technology"
DIY battery pack building threads [Spot Welding]
https://endless-sphere.com/forums/viewt ... 3#p1051327
Re: low cost DIY battery spot welder
Thanks for the link, that has saved me an experiment. I will directly continue with board layout, the FETs will certainly do the job.
Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
The design is finished, boards and parts are ordered 

Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
Updated schematics (rev.1).
I plan to implement an energy based pulse control instead of a simple timer. i will try to see how that works with one single pulse, maybe that eliminates the need of a cleaning pulse. Constant energy delivered to the weld spot should result in more consistent welds. The circuit should also be able to detect a failed weld, in this case the requested energy cannot be delivered in a reasonable time.
What do you think about this approach?
I plan to implement an energy based pulse control instead of a simple timer. i will try to see how that works with one single pulse, maybe that eliminates the need of a cleaning pulse. Constant energy delivered to the weld spot should result in more consistent welds. The circuit should also be able to detect a failed weld, in this case the requested energy cannot be delivered in a reasonable time.
What do you think about this approach?
Resistance is futile - We Are The Watt.
- spinningmagnets 100 GW
- Posts: 11824
- Joined: Dec 21 2007 10:27pm
- Location: Ft Riley, NE Kansas
Re: low cost DIY battery spot welder
That looks very nice. It's always a good thing to see several development projects evolving for the same purpose, we never know which one will have which strengths...
Re: low cost DIY battery spot welder
Good to see another design, i have two, both came out of here. Both are better than the sunkko fron China. Watching to see how you roll.
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.
Re: low cost DIY battery spot welder
I hope that it will also perform nice, it should be good for up to 4kA / 10ms and up to 36V. I estimate 80€ for an assembled and tested / programmed board. That's not too low cost, but I hope the new features justify that. The probes, wiring, brass parts, bolts and nuts should be <10€, I am not sure if it would be better to provide them as well or not. If yes, there would be some machining involved for the brass parts, maybe 30 minutes per kit. Plus the cable confection. The power source itself, in my case a 5Ah/3S Lipo, will not be part of the kit.
As I wait for board and parts, I have started coding. Stay tuned
As I wait for board and parts, I have started coding. Stay tuned

Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
Most software parts are prepared, the weld control loop already works with 10us cycle time and ADC conversions running with DMA. Really nice microcontroller architecture, you set up everything, and then it will continuously update an array in memory with conversion results.
While waiting for the boards to arrive next week I have machined electrode holders from 6x12x35mm brass. What do you think about it (these are not the final screws yet)?
While waiting for the boards to arrive next week I have machined electrode holders from 6x12x35mm brass. What do you think about it (these are not the final screws yet)?
Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
It's hard to tell without some sense of scale. They look rather large?
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.
Re: low cost DIY battery spot welder
this should give a better impression. I was looking for a solution that allows easy electrode replacement. These are made from a 4mm dia copper rod.
Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
The boards have arrived earlier than expected. That allowed me to use the evening to solder and assemble one. So far everything seems to work! High current tests to follow.
Last edited by tatus1969 on Jul 05 2017 2:41am, edited 1 time in total.
Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
Looks fantastic work to me, I'd definitely be up for having a go at building one.
I'm in the middle of replacing a Triac on my sunko + I've just ordered some 3mm copper rod, would much rather be playing with this than the sunko. Nice work!..
I'm in the middle of replacing a Triac on my sunko + I've just ordered some 3mm copper rod, would much rather be playing with this than the sunko. Nice work!..
Re: low cost DIY battery spot welder
Thanksmxer wrote: Looks fantastic work to me, I'd definitely be up for having a go at building one.

I hope the price of that part did not exceed the cost of my entire devicemxer wrote: I'm in the middle of replacing a Triac on my sunko

Yesterday I learned three things:
1) a multichanel ADC has a source for offset errors that I didn't realize before. When you look into my circuit diagram, you'll see that the MOSFET voltage measurement (OUT-) has a 10k filter resistance. According to the STM32's datasheet, that would be enough to settle to <1LSB at full speed. But I measured ~50mV at the ADC input, even with the MOSFETs shorted. Where did that come from? The ADC appnotes from ST didn't give a hint either. It took me half of the evening to figure out that this is charge injection from the previous conversion. The ADC configuration is to continuously convert all five available channels one after another. Therefore it has a MUX that connects one of the inputs to the ADC input. That input has a capacitance. If, as in my case, the channel that precedes my problematic one has a siginifcantly higher voltage level, then the ADC input capacitor is charged to that level when switching to that channel. This dumps the stored from energy that capacitor into the ADC input network. As this is done repeatedly, this causes a constant current flow. The ADC input capacitance is 8pF, and the conversion rate is approx 100kHz. Assuming the adjacent channel sees 3.3V, and my problematic one has 0V, the current calculates to 100k * 0.5 * 3.3^2 * 8p = 4.3uA. The voltage drop on the 10k resistor then calculates to 43mV. Gotcha!
2) a buck converter with bootstrapped power switch driver can never live with an output capacitor (in my case 2200uF) that 'survives' zero input power longer than the bootstrap capacitor. When the input voltage comes back, then there is nothing that can charge the bootstrap capacitor (as the output almost equals the input). This situation is only resolved when the output voltage has dropped far enough for a restart, unluckily leaving the supplied circuit dead during that time... Solution: move the freewheeling diode from the input to the output of the regulator. Luckily I can do that because I do not need a precise voltage.
3) the ADC inputs of the STM32 are not 5V tolerant. If I would have noticed that earlier, then I would not have to replace a dead microcontroller now. As I need a low leakage input protection, and a zener diode just doesn't deliver on that, I ordered some TL431. They will protect the OUT- input from high voltages.
Luckily the microcontroller did not die before allowing me to make this measurement. (Yellow: voltage across ~700uOhm of AWG8 wire, blue: voltage across MOSFETs) I don't believe the readings yet (why does blue approach zero??), but it suggests that the pulse current (here, into a 100% short circuit) is in the order of 1.5kA. Scary.
Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
Finished electrode holders.
Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
tatus1969 wrote:this should give a better impression. I was looking for a solution that allows easy electrode replacement. These are made from a 4mm dia copper rod.
Thank you! Nice size, IMO. I have to say, the other resently posted design with a single handed two electrode design is more attractive.
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.
Re: low cost DIY battery spot welder
Really nice looking board. About the only thing I would worry about is the board foil carrying all the current the short distance from the FETs to the bus bars. Some Riba welders managed to blow the foil off. If the copper is heavy enough, no problem. Alternative is to add copper where needed.
"One test is worth a thousand opinions"
Re: low cost DIY battery spot welder
I delibarately opted against that. I am afraid that it can be difficulty to distribute the required mechanical force evenly. I think that the solution should be spring loaded then. But even more important for my design, I want to implement an automatic mode that does not require a foot switch. The controller detects that you connect the electrodes, waits for a certain time, and then fires automatically.tomjasz wrote: Thank you! Nice size, IMO. I have to say, the other resently posted design with a single handed two electrode design is more attractive.
Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
Thanksfechter wrote:Really nice looking board. About the only thing I would worry about is the board foil carrying all the current the short distance from the FETs to the bus bars. Some Riba welders managed to blow the foil off. If the copper is heavy enough, no problem. Alternative is to add copper where needed.

Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
Interesting side note:
I have just finished completing the firmware code but cannot test it, because UPS didn't deliver the missing parts today as scheduled. This is the information that UPS gave me this morning:
Something is wrong with this information - who can tell me first?
Hints:
a) it has been sunny and calm for a few days now
b) I live near Hamburg, Germany
I have just finished completing the firmware code but cannot test it, because UPS didn't deliver the missing parts today as scheduled. This is the information that UPS gave me this morning:
Something is wrong with this information - who can tell me first?
Hints:
a) it has been sunny and calm for a few days now
b) I live near Hamburg, Germany
Resistance is futile - We Are The Watt.
- parabellum 10 MW
- Posts: 2085
- Joined: Nov 19 2010 9:55am
- Location: Dominican Republic, north.
Re: low cost DIY battery spot welder
tatus1969 wrote: b) I live near Hamburg, Germany

Political weather conditions?
Re: low cost DIY battery spot welder
It's a bit "cloudy" around here these days...parabellum wrote:tatus1969 wrote: b) I live near Hamburg, Germany![]()
Political weather conditions?

Resistance is futile - We Are The Watt.
Re: low cost DIY battery spot welder
Looks great definitely watching with interest.
Re: low cost DIY battery spot welder
Yes!
This is 0.1mm Hilumin.
A video showing the welder in action is in preparation!

This is 0.1mm Hilumin.
A video showing the welder in action is in preparation!
Resistance is futile - We Are The Watt.