KaeptnBalu / Arduino_Spot_Welder_V3

GNU General Public License v3.0
203 stars 70 forks source link

Weld current estimate to check for propper weld #17

Open geo99918 opened 3 years ago

geo99918 commented 3 years ago

I saw that the weld current is estimated based on the source voltage during the weld pulse, why not use this estimation as a check for a proper weld and trigger an alarm when the current was too low, or even add a menu to set the min and max values for weld current. E.g. with a discharged car battery 12V is present at idle but during the weld pulse the voltage drops to less than 3 volts and a good weld is not created. A more advanced version of this would be to measure the total energy delivered to the weld but this might be for another day.

Regards, George

KaeptnBalu commented 3 years ago

A llittle problem with the weld current measurement is that it is not super accurate. The welder uses a fixed resistance value to calculate the current flow. It can not measure the resistance itself, just the voltage drop during the pulse. This resistance can change quite a bit depending how the welding tips are placed on the nickel and how good the contact of the wleding cables is.

I think the idea to set a weld current alarm is pretty good. For that the current measurement should be accurate enough.

To calculate the total energy during pulse and then base the pulse length on that, the current measurement needs to be more precise. If you got an idea how the welder could do a precise resistance measurement (without complicated hardware) before a weld, that would be great. I think an option to choose between energy based welding and fixed time welding would be preatty cool.

geo99918 commented 3 years ago

Maybe the current can be measured by measuring the voltage drop across a big shunt. if current and voltage are known during the weld event a better estimation can be done if the weld was successful or not. Maybe the resistance can be estimated using V and I but the power source internal resistance can't be ignored in this calculation. Regarding the alarm, a buzzer would be nice to indicate that something went wrong, usually when welding the eyes are on the weld not on the screen.