DIY welding inverter. Ultra-low-cost spot welding of lithium batteries at home Components for creating a time relay

An acquaintance came, brought two LATRs and asked if it was possible to make a spotter out of them? Usually, when hearing a similar question, what comes to mind is an anecdote about how one neighbor asks another if he knows how to play the violin and in response he hears “I don’t know, I haven’t tried” - so I have the same answer - I don’t know , probably “yes”, but what is a “spotter”?

In general, while the tea was boiling and brewing, I listened to a short lecture about how you shouldn’t do what you shouldn’t do, that you need to be closer to the people and then people will be drawn to me, and also briefly plunged into the history of car repair shops, illustrated with delicious tales from the life of “chiropper” and “tinsmith”. Then I realized that a spotter is a small “welder” that works on the principle of a welding machine spot welding. Used for “grabbing” metal washers and other small fastening elements to the dented car body, with the help of which the deformed sheet is then straightened. True, there is also “ reverse hammer“is needed, but they say that this is no longer my concern - only the electronic part of the circuit is required from me.

Having looked at spotter circuits online, it became clear that we needed a one-shot device that would “open” the triac for a short time and supply mains voltage to the power transformer. The secondary winding of the transformer should produce a voltage of 5-7 V with a current sufficient to “grab” the washers.

To generate a triac control pulse, use different ways– from simple capacitor discharge to the use of microcontrollers with synchronization to the mains voltage phases. We are interested in the simpler circuit - let it be “with a capacitor”.

Searches “in the nightstand” showed that, in addition to passive elements, there are suitable triacs and thyristors, as well as many other “small things” - transistors and relays for different operating voltages ( Fig.1). It’s a pity that there are no optocouplers, but you can try to assemble a capacitor discharge pulse converter into a short “rectangle”, including a relay, which will open and close the triac with its closing contact.

Also, while searching for parts, we found several power supplies with DC output voltages from 5 to 15 V - we chose an industrial one from “Soviet” times called BP-A1 9V/0.2A ( Fig.2). When loaded with a 100 Ohm resistor, the power supply produces a voltage of about 12 V (it turned out that it had already been converted).

We select triacs TS132-40-10, a 12-volt relay from the available electronic “garbage”, take several KT315 transistors, resistors, capacitors and begin to prototype and test the circuit (on Fig.3 one of the setup stages).

The result is shown in Figure 4. Everything is quite simple - when you press the S1 button, capacitor C1 begins to charge and a positive voltage equal to the supply voltage appears at its right terminal. This voltage, having passed through the current-limiting resistor R2, is supplied to the base of the transistor VT1, it opens and voltage is supplied to the winding of relay K1, and as a result, the contacts of relay K1.1 close, opening triac T1.

As capacitor C1 charges, the voltage at its right terminal gradually decreases and when it reaches a level less than the opening voltage of the transistor, the transistor will close, the relay winding will be de-energized, the open contact K1.1 will stop supplying voltage to the control electrode of the triac and it will close at the end of the current half-wave of the mains voltage . Diodes VD1 and VD2 are installed to limit the pulses that occur when the S1 button is released and when the relay winding K1 is de-energized.

In principle, everything works like this, but when monitoring the time of the open state of the triac, it turned out that it “walks” quite a lot. It would seem that even taking into account possible changes in all on-off delays in electronic and mechanical circuits, it should be no more than 20 ms, but in fact it turned out to be many times more and plus this, the pulse lasts 20-40 ms longer, and then for all 100 ms.

After a little experimentation, it turned out that this change in pulse width is mainly due to a change in the supply voltage level of the circuit and the operation of transistor VT1. The first one was “cured” by installing wall-mounted inside the power supply of a simple parametric stabilizer consisting of a resistor, a zener diode and a power transistor ( Fig.5). And the cascade on transistor VT1 was replaced by a Schmitt trigger on 2 transistors and the installation of an additional emitter follower. The diagram took the form shown in Figure 6.

The principle of operation remains the same, the ability to discretely change the pulse duration using switches S3 and S4 has been added. The Schmitt trigger is assembled on VT1 and VT2, its “threshold” can be changed within small limits by changing the resistance of resistors R11 or R12.

When prototyping and testing the operation of the electronic part of the spotter, several diagrams were taken, from which time intervals and the resulting delays of edges can be assessed. At that time, the circuit had a timing capacitor with a capacity of 1 μF and resistors R7 and R8 had a resistance of 120 kOhm and 180 kOhm, respectively. On Figure 7 the top shows the state on the relay winding, the bottom shows the voltage at the contacts when switching a resistor connected to +14.5 V (the file for viewing by the program is in the archived appendix to the text, the voltages were taken through resistor dividers with random division coefficients, so the “Volts” scale not true). The duration of all relay power pulses was approximately 253...254 ms, the contact switching time was 267...268 ms. “Expansion” is associated with an increase in shutdown time - this can be seen from pictures 8 And 9 when comparing the difference that occurs when contacts are closed and opened (5.3 ms vs. 20 ms).

To check the temporal stability of pulse formation, four sequential switchings were carried out with control of the voltage in the load (file in the same application). On a generalized Figure 10 it can be seen that all the pulses in the load are quite close in duration - about 275...283 ms and depend on where the half-wave of the mains voltage occurs at the moment of switching on. Those. the maximum theoretical instability does not exceed the time of one half-wave of the mains voltage - 10 ms.

When setting R7 = 1 kOhm and R8 = 10 kOhm with C1 = 1 μF, it was possible to obtain a duration of one pulse of less than one half-cycle of the mains voltage. At 2 µF - from 1 to 2 periods, at 8 µF - from 3 to 4 (file in attachment).

The final version of the spotter was equipped with parts with the values ​​indicated on Figure 6. What happened on the secondary winding of the power transformer is shown in Figure 11. The duration of the shortest pulse (the first in the figure) is about 50...60 ms, the second - 140...150 ms, the third - 300...310 ms, the fourth - 390...400 ms (with a timing capacitor capacity of 4 μF, 8 μF, 12 μF and 16 µF).

After checking the electronics, it's time to tackle the hardware.

A 9-amp LATR was used as a power transformer (right on rice. 12). Its winding is made of wire with a diameter of about 1.5 mm ( Fig.13) and the magnetic core has an internal diameter sufficient to wind 7 turns of 3 parallel folded aluminum bars with a total cross-section of about 75-80 sq.mm.

We disassemble the LATR carefully, just in case we “fix” the entire structure in the photo and “copy” the conclusions ( Fig.14). It’s good that the wire is thick - it’s convenient to count the turns.

After disassembly, carefully inspect the winding, clean it of dust, debris and graphite residues using paint brush with hard bristles and wipe soft cloth lightly moistened with alcohol.

We solder a five-amp glass fuse to terminal “A”, connect the tester to the “middle” terminal of coil “G” and apply a voltage of 230 V to the fuse and the “unnamed” terminal. The tester shows a voltage of about 110 V. Nothing buzzes or gets hot - we can assume that the transformer is normal.

Then we wrap the primary winding with fluoroplastic tape with such an overlap that we get at least two or three layers ( Fig.15). After this, we wind a test secondary winding of several turns with a flexible wire in insulation. By applying power and measuring the voltage on this winding, we determine required quantity turns to obtain 6...7 V. In our case, it turned out that when 230 V is supplied to the “E” and “unnamed” terminals, 7 V is obtained at the output with 7 turns. When power is applied to “A” and “unnamed”, we get 6.3 V.

For the secondary winding, “very used” aluminum busbars were used - they were removed from an old welding transformer and in some places had no insulation at all. To prevent the turns from shorting with each other, the tires had to be wrapped with sickle tape ( Fig.16). The winding was carried out so that two or three layers of coating were obtained.

After winding the transformer and checking the functionality of the circuit on the desktop, all the parts of the spotter were installed in a suitable housing (it looks like it was also from some kind of LATR - Fig.17).

The terminals of the secondary winding of the transformer are clamped with M6-M8 bolts and nuts and are brought out to the front panel of the housing. Power wires leading to the car body and the “reverse hammer” are attached to these bolts on the other side of the front panel. Appearance at stage home check shown in Figure 18. At the top left are the mains voltage indicator La1 and the mains switch S1, and on the right is the pulse voltage switch S5. It switches the connection to the network of either terminal “A” or terminal “E” of the transformer.

Fig.18

At the bottom there is a connector for the S2 button and the secondary winding leads. Pulse duration switches are installed at the very bottom of the case, under the hinged lid (Fig. 19).

All other elements of the circuit are fixed to the bottom of the case and the front panel ( Fig.20, Fig.21, Fig.22). It doesn’t look very neat, but the main goal here was to reduce the length of the conductors in order to reduce the influence of electromagnetic pulses on electronic part scheme.

The printed circuit board was not wired - all transistors and their “piping” were soldered to breadboard made of fiberglass, with foil cut into squares (visible on Fig.22).

Power switch S1 - JS608A, allowing switching of 10 A currents ("paired" terminals are paralleled). There was no second such switch, so S5 was installed as TP1-2, its terminals are also paralleled (if you use it with the mains power off, it can pass quite large currents through itself). Pulse duration switches S3 and S4 - TP1-2.

Button S2 – KM1-1. The connector for connecting the button wires is COM (DB-9).

Indicator La1 - TN-0.2 in the corresponding installation fittings.

On drawings 23, 24 , 25 photographs taken when checking the functionality of the spotter are shown - a furniture corner measuring 20x20x2 mm was spot welded to a 0.8 mm thick tin plate (mounting panel from a computer case). Different sizes"piglets" on Fig.23 And Fig.24– this is at different “cooking” voltages (6 V and 7 V). In both cases, the furniture corner is welded tightly.

On Fig.26 The reverse side of the plate is shown and it is clear that it is heated through, the paint burns and flies off.

After I gave the spotter to a friend, he called about a week later and said that he had made a reverse “hammer”, connected it and checked the operation of the entire device - everything is fine, everything works. It turned out that long-duration pulses are not needed in operation (i.e. elements S4, C3, C4, R4 can be omitted), but there is a need to connect the transformer to the network “directly”. As far as I understand, this is so that the surface of the dented metal can be heated using carbon electrodes. It is not difficult to supply power “directly” - they installed a switch that allows you to close the “power” terminals of the triac. The insufficiently large total cross-section of the cores in the secondary winding is a little confusing (according to calculations, more is needed), but since more than two weeks have passed, and the owner of the device was warned about the “weakness of the winding” and did not call, then nothing terrible happened.

During experiments with the circuit, a version of a triac assembled from two T122-20-5-4 thyristors was tested (they can be seen in Figure 1 on the background). The connection diagram is shown in Fig.27, diodes VD3 and VD4 - 1N4007.

Literature:

  1. Goroshkov B.I., “Radio electronic devices", Moscow, "Radio and Communication", 1984.
  2. Mass radio library, Ya.S. Kublanovsky, “Thyristor devices”, M., “Radio and Communications”, 1987, issue 1104.

Andrey Goltsov, Iskitim.

List of radioelements

Designation Type Denomination Quantity NoteShopMy notepad
To picture No. 6
VT1, VT2, VT3 Bipolar transistor

KT315B

3 To notepad
T1 Thyristor & Triac

TS132-40-12

1 To notepad
VD1, VD2 Diode

KD521B

2 To notepad
R1 Resistor

1 kOhm

1 0.5 W To notepad
R2 Resistor

330 kOhm

1 0.5 W To notepad
R3, R4 Resistor

15 kOhm

2 0.5 W To notepad
R5 Resistor

300 Ohm

1 2 W To notepad
R6 Resistor

39 Ohm

1 2 W To notepad
R7 Resistor

12 kOhm

1 0.5 W To notepad
R8 Resistor

18 kOhm

1 0.5 W

A time relay timer is a device with which you can adjust the time of exposure to a current or pulse. Timer time relay for spot welding measures the duration of exposure welding current on the parts being connected, the frequency of its occurrence. This device is used for automation welding processes, production of a welding seam, in order to create a variety of designs from sheet metal. It controls the electrical load in accordance with a given program. The time relay for contact welding is programmed in strict accordance with the instructions. This process consists of setting time intervals between certain actions, as well as the duration of the welding current.

Principle of operation

This time relay for spot welding will be able to turn the device on and off in a given mode with a certain frequency on an ongoing basis. To put it simply, it closes and opens contacts. Using a rotation sensor, you can adjust the time intervals in minutes and seconds after which you need to turn welding on or off.

The display is used to display information about the current switching time, the period of exposure to the metal of the welding machine, the number of minutes and seconds before switching on or off.

Types of timers for spot welding

You can find timers on the market with digital or analog programming. The relays used in them are different types, but the most common and inexpensive are electronic devices. Their operating principle is based on special program, which is recorded on the microcontroller. It can be used to adjust the delay or on time.

Currently you can purchase a time relay:

  • with shutdown delay;
  • with delay on switching on;
  • configured for a set time after voltage is applied;
  • configured for a set time after the pulse is given;
  • clock generator.

Accessories for creating a time relay

To create a time relay timer for spot welding you will need the following parts:

  • Arduino Uno board for programming;
  • prototyping board or Sensor shield – facilitates connection, installed sensors with board;
  • female-to-female wires;
  • a display that can display a minimum of two lines with 16 characters per row;
  • relay that switches the load;
  • rotation angle sensor equipped with a button;
  • power supply to supply the device electric shock(during testing, you can power it via a USB cable).

Features of creating a time relay timer for spot welding on an arduino board

To make it, you must strictly follow the diagram.

At the same time, it would be better to replace the frequently used arduino uno board with an arduino pro mini since it has a significantly smaller size, costs less and is much easier to solder the wires.

After collecting everyone components To make a timer for resistance welding on Arduino, you need to solder the wires that connect the board to the rest of the elements of this device. All elements must be cleaned of plaque and rust. This will significantly increase the operating time of the relay timer.

You need to select a suitable case and assemble all the elements in it. It will provide the device with decent appearance, protection from accidental impacts and mechanical influences.

To complete, it is necessary to install the switch. It will be needed if the welding owner decides to leave it unattended for a long time in order to prevent fire or damage to property in the event of an emergency. With its help, leaving the premises, any user will be able to special effort turn off the device.

"Note!

The resistance welding timer on 561 is a more advanced device, as it is created on a new modern microcontroller. It allows you to measure time more accurately and set the frequency of turning the device on and off.”

The timer for contact welding on the 555 is not so perfect and has reduced functionality. But it is often used to create such devices, since it is cheaper.

To better understand how to create a welding machine, you should contact the company’s employees. In addition, we propose to consider the design of this device. It will help you understand the principle of operation of the device, what needs to be soldered and where.

Conclusion

The timer for spot welding on Arduino is an accurate and high-quality device that, with proper use, will last long years. He is enough simple device, so it can be easily mounted on any welding site. In addition, the spot welding timer is easy to maintain. It works even in severe frost, and is practically unaffected by negative manifestations of the natural environment.

You can assemble the device yourself or turn to professionals. The latter option is more preferable, as it guarantees the final result. The company will test the device elements, identify problems, fix them, thus restoring its functionality.

We present to your attention a diagram welding inverter, which you can assemble with your own hands. Maximum current consumption is 32 amperes, 220 volts. The welding current is about 250 amperes, which allows you to easily weld with a 5-piece electrode, an arc length of 1 cm, which passes more than 1 cm into low-temperature plasma. The efficiency of the source is at the level of store-bought ones, and maybe better (meaning inverter ones).

Figure 1 shows a diagram of the power supply for welding.

Fig.1 Schematic diagram power supply

The transformer is wound on ferrite Ш7х7 or 8х8
The primary has 100 turns of 0.3mm PEV wire
Secondary 2 has 15 turns of 1mm PEV wire
Secondary 3 has 15 turns of 0.2mm PEV
Secondary 4 and 5, 20 turns of PEV wire 0.35mm
All windings must be wound across the entire width of the frame; this gives a noticeably more stable voltage.


Fig.2 Schematic diagram of a welding inverter

Figure 2 shows a diagram of the welder. The frequency is 41 kHz, but you can try 55 kHz. The transformer at 55 kHz is then 9 turns by 3 turns, to increase the PV of the transformer.

Transformer for 41 kHz - two sets Ш20х28 2000nm, gap 0.05mm, newspaper gasket, 12vit x 4vit, 10kv mm x 30kv mm, copper tape (tin) in paper. The transformer windings are made of copper sheet 0.25 mm thick and 40 mm wide, wrapped in cash register paper for insulation. The secondary is made of three layers of tin (sandwich) separated from each other by fluoroplastic tape, for insulation between themselves, for better conductivity of high-frequency currents, the contact ends of the secondary at the output of the transformer are soldered together.

Inductor L2 is wound on a Ш20x28 core, ferrite 2000nm, 5 turns, 25 sq.mm, gap 0.15 - 0.5mm (two layers of paper from the printer). Current transformer - current sensor two rings K30x18x7 primary wire threaded through the ring, secondary 85 turns of wire 0.5 mm thick.

Welding assembly

Winding the transformer

Winding the transformer must be done using copper sheet 0.3mm thick and 40mm wide, it must be wrapped in thermal paper from a cash register 0.05mm thick, this paper is durable and does not tear as much as usual when winding a transformer.

You tell me, why not wind it with an ordinary thick wire, but it’s not possible because this transformer operates on high-frequency currents and these currents are displaced onto the surface of the conductor and the middle of the thick wire is not used, which leads to heating, this phenomenon is called the Skin effect!

And you have to fight it, you just need to make a conductor with a large surface, so thin copper sheet has this, it has a large surface along which current flows, and the secondary winding should consist of a sandwich of three copper tapes separated by fluoroplastic film, it is thinner and all these are wrapped layers in thermal paper. This paper has the property of darkening when heated, we don’t need this and it’s bad, it won’t do anything, let the main thing remain that it doesn’t tear.

You can wind the windings with PEV wire with a cross-section of 0.5...0.7 mm consisting of several dozen cores, but this is worse, since the wires are round and are connected to each other with air gaps, which slow down heat transfer and have a smaller total cross-sectional area of ​​the wires combined compared to tin by 30 %, which can fit into the ferrite core window.

It is not the ferrite that heats up the transformer, but the winding, so you need to follow these recommendations.

The transformer and the entire structure must be blown inside the housing by a fan of 220 volts 0.13 amperes or more.

Design

To cool all powerful components, it is good to use radiators with fans from old Pentium 4 and Athlon 64 computers. I got these radiators from a computer store doing upgrades, for only $3...4 apiece.

The power oblique bridge must be made on two such radiators, the upper part of the bridge on one, the lower part on the other. Screw bridge diodes HFA30 and HFA25 onto these radiators through a mica spacer. IRG4PC50W must be screwed without mica through KTP8 heat-conducting paste.

The terminals of the diodes and transistors need to be screwed towards each other on both radiators, and between the terminals and the two radiators, insert a board connecting the 300-volt power circuit to the bridge parts.

The diagram does not indicate the need to solder 12...14 pieces of 0.15 micron 630 volt capacitors to this board into a 300V power supply. This is necessary so that the transformer emissions go into the power circuit, eliminating the resonant current surges of the power switches from the transformer.

The rest of the bridge is connected to each other by hanging installation of conductors of short length.

The diagram also shows snubbers, they have capacitors C15 C16, they should be brand K78-2 or SVV-81. You can’t put any garbage there, since snubbers play an important role:
first- they dampen the resonant emissions of the transformer
second- they significantly reduce IGBT losses when switching off since IGBTs open quickly, but are closing much slower and during closing, the capacitance C15 and C16 is charged through the VD32 VD31 diode longer than the closing time of the IGBT, that is, this snubber intercepts all the power onto itself, preventing heat from being released on the IGBT switch three times than it would be without it.
When IGBT is fast open, then through resistors R24 R25 the snubbers are smoothly discharged and the main power is released on these resistors.

Settings

Apply power to the 15-volt PWM and at least one fan to discharge capacitance C6, which controls the relay response time.

Relay K1 is needed to close resistor R11 after capacitors C9...12 are charged through resistor R11, which reduces the current surge when the welding machine is turned on to a 220-volt network.

Without direct resistor R11, when turned on, there would be a large BAC while charging a 3000 μm 400V capacitance, which is why this measure is needed.

Check the operation of the relay closing resistor R11 2...10 seconds after power is applied to the PWM board.

Check the PWM board for the presence of rectangular pulses going to the HCPL3120 optocouplers after both relays K1 and K2 are activated.

The width of the pulses should be relative to the zero pause 44% zero 66%

Check the drivers on optocouplers and amplifiers that drive a rectangular signal with an amplitude of 15 volts and make sure that the voltage on the IGBT gates does not exceed 16 volts.

Apply 15 Volt power to the bridge to check its operation and ensure that the bridge is manufactured correctly.

The current consumption should not exceed 100mA at idle.

Verify the correct phrasing of the windings of the power transformer and current transformer using a two-beam oscilloscope.

One beam of the oscilloscope is on the primary, the second on the secondary, so that the phases of the pulses are the same, the only difference is in the voltage of the windings.

Apply power to the bridge from power capacitors C9...C12 through a 220 volt 150..200 watt light bulb, having previously set the PWM frequency to 55 kHz, connect an oscilloscope to the collector-emitter of the lower IGBT transistor, look at the signal shape so that there are no voltage surges above 330 volts as usual.

Start lowering the PWM clock frequency until a small bend appears on the lower IGBT switch indicating oversaturation of the transformer, write down this frequency at which the bend occurred, divide it by 2 and add the result to the oversaturation frequency, for example, divide 30 kHz oversaturation by 2 = 15 and 30 + 15 = 45 , 45 this is the operating frequency of the transformer and PWM.

The current consumption of the bridge should be about 150 mA and the light bulb should barely glow; if it glows very brightly, this indicates a breakdown of the transformer windings or an incorrectly assembled bridge.

Connect a welding wire at least 2 meters long to the output to create additional output inductance.

Apply power to the bridge through a 2200-watt kettle, and set the current on the light bulb to PWM at least R3 closer to resistor R5, close the welding output, check the voltage on the lower switch of the bridge so that it is no more than 360 volts according to the oscilloscope, and there should be no noise from the transformer. If there is one, make sure that the transformer-current sensor is correctly phased, pass the wire into reverse side through the ring.

If the noise remains, then you need to place the PWM board and optocoupler drivers away from sources of interference, mainly the power transformer and inductor L2 and power conductors.

Even when assembling the bridge, the drivers must be installed next to the radiators of the bridge above the IGBT transistors and no closer to the resistors R24 R25 by 3 centimeters. The driver output and IGBT gate connections must be short. The conductors going from the PWM to the optocouplers should not pass near sources of interference and should be as short as possible.

All signal wires from the current transformer and those going to the optocouplers from the PWM should be twisted to reduce the noise level and should be as short as possible.

Next, we begin to increase the welding current using resistor R3 closer to resistor R4, the welding output is closed on the lower IGBT switch, the pulse width increases slightly, which indicates PWM operation. More current means more width, less current means less width.

There shouldn't be any noise, otherwise it will fail.IGBT.

Add current and listen, watch the oscilloscope for excess voltage of the lower key, so that it does not exceed 500 volts, a maximum of 550 volts in the surge, but usually 340 volts.

Reach the current where the width suddenly becomes maximum, indicating that the kettle cannot provide maximum current.

That's it, now we go straight without a kettle from minimum to maximum, watch the oscilloscope and listen so that it is quiet. Reach the maximum current, the width should increase, emissions are normal, no more than 340 volts usually.

Start cooking for 10 seconds at the beginning. We check the radiators, then 20 seconds, also cold and 1 minute the transformer is warm, burn 2 long electrodes 4mm transformer is bitter

The radiators of the 150ebu02 diodes noticeably warmed up after three electrodes, it’s already difficult to cook, a person gets tired, although he cooks great, the transformer is hot, and no one cooks anyway. The fan, after 2 minutes, brings the transformer to a warm state and you can cook it again until it becomes puffy.

Below you can download printed circuit boards in LAY format and other files

Evgeny Rodikov (evgen100777 [dog] rambler.ru). If you have any questions when assembling the welder, write to E-Mail.

List of radioelements

Designation Type Denomination Quantity NoteShopMy notepad
power unit
Linear regulator

LM78L15

2 To notepad
AC/DC converter

TOP224Y

1 To notepad
Voltage reference IC

TL431

1 To notepad
Rectifier diode

BYV26C

1 To notepad
Rectifier diode

HER307

2 To notepad
Rectifier diode

1N4148

1 To notepad
Schottky diode

MBR20100CT

1 To notepad
Protection diode

P6KE200A

1 To notepad
Diode bridge

KBPC3510

1 To notepad
Optocoupler

PC817

1 To notepad
C1, C2 10uF 450V2 To notepad
Electrolytic capacitor100uF 100V2 To notepad
Electrolytic capacitor470uF 400V6 To notepad
Electrolytic capacitor50uF 25V1 To notepad
C4, C6, C8 Capacitor0.1uF3 To notepad
C5 Capacitor1nF 1000V1 To notepad
C7 Electrolytic capacitor1000uF 25V1 To notepad
Capacitor510 pF2 To notepad
C13, C14 Electrolytic capacitor10 µF2 To notepad
VDS1 Diode bridge600V 2A1 To notepad
NTC1 Thermistor10 ohm1 To notepad
R1 Resistor

47 kOhm

1 To notepad
R2 Resistor

510 Ohm

1 To notepad
R3 Resistor

200 Ohm

1 To notepad
R4 Resistor

10 kOhm

1 To notepad
Resistor

6.2 Ohm

1 To notepad
Resistor

30Ohm 5W

2 To notepad
Welding inverter
PWM controller

UC3845

1 To notepad
VT1 MOSFET transistor

IRF120

1 To notepad
VD1 Rectifier diode

1N4148

1 To notepad
VD2, VD3 Schottky diode

1N5819

2 To notepad
VD4 Zener diode

1N4739A

1 9V To notepad
VD5-VD7 Rectifier diode

1N4007

3 To reduce voltage To notepad
VD8 Diode bridge

KBPC3510

2 To notepad
C1 Capacitor22 nF1 To notepad
C2, C4, C8 Capacitor0.1 µF3 To notepad
C3 Capacitor4.7 nF1 To notepad
C5 Capacitor2.2 nF1 To notepad
C6 Electrolytic capacitor22 µF1 To notepad
C7 Electrolytic capacitor200 µF1 To notepad
C9-C12 Electrolytic capacitor3000uF 400V4 To notepad
R1, R2 Resistor

33 kOhm

2 To notepad
R4 Resistor

510 Ohm

1 To notepad
R5 Resistor

1.3 kOhm

1 To notepad
R7 Resistor

150 Ohm

1 To notepad
R8 Resistor

1Ohm 1Watt

1 To notepad
R9 Resistor

2 MOhm

1 To notepad
R10 Resistor

1.5 kOhm

1 To notepad
R11 Resistor

25Ohm 40Watt

1 To notepad
R3 Trimmer resistor2.2 kOhm1 To notepad
Trimmer resistor10 kOhm1 To notepad
K1 Relay12V 40A1 To notepad
K2 RelayRES-491 To notepad
Q6-Q11 IGBT transistor

IRG4PC50W

6

In some cases, it is more profitable to use spot welding instead of soldering. For example, this method may be useful for repairs batteries consisting of several batteries. Soldering causes excessive heating of the cells, which can lead to cell failure. But spot welding does not heat the elements as much, since it operates for a relatively short time.

To optimize the entire process, the system uses Arduino Nano. This is a control unit that allows you to effectively manage the energy supply of the installation. Thus, each welding is optimal for a particular case, and as much energy is consumed as necessary, no more and no less. The contact elements here are copper wire, and the energy comes from a regular car battery, or two if higher current is required.

The current project is almost ideal in terms of complexity of creation/efficiency of work. The author of the project showed the main stages of creating the system, posting all the data on Instructables.

According to the author, a standard battery is enough to spot weld two nickel strips 0.15 mm thick. For thicker strips of metal, two batteries will be required, assembled in a circuit in parallel. The pulse time of the welding machine is adjustable and ranges from 1 to 20 ms. This is quite sufficient for welding the nickel strips described above.


The author recommends making the board to order from the manufacturer. The cost of ordering 10 such boards is about 20 euros.

During welding, both hands will be occupied. How to manage the entire system? Using a foot switch, of course. It's very simple.

And here is the result of the work:

2017-08-22 at 01:31

There was a need to weld 18650 batteries. Why weld and not solder? Yes, because soldering is not safe for batteries. Soldering may damage the plastic insulator, resulting in short circuit. Welding heat is achieved for a very short period of time, which is simply not enough to heat the battery.

Internet search ready-made solutions led me to very expensive devices, and only with delivery from China. Therefore, it was a pleasant decision to assemble it yourself. Moreover, “factory” spot welding machines use some basic homemade components, namely a transformer from a microwave oven. Yes, yes, it is he who will be useful to us in the first place.

List of required battery welding machine components.
1. Transformer from a microwave oven.
2. Arduino board (UNO, nano, micro, etc.).
3. 5 keys - 4 for setting and 1 for welding.
4. Indicator 2402, or 1602, or some other 02.
5. 3 meters of PuGV 1x25 wire.
6. 1 meter of PuGV 1x25 wire. (so as not to confuse you)
7. 4 tinned copper cable lugs type KVT25-10.
8. 2 tinned copper cable lugs type SC70.
9. Heat shrink with a diameter of 25 mm - 1 meter.
10. A little heat shrink 12 mm.
11. Heat shrink 8 mm - 3 meters.
12. Circuit board - 1 pc.
13. Resistor 820 Ohm 1 W - 1 pc.
14. Resistor 360 Ohm 1 W - 2 pcs.
15. Resistor 12 Ohm 2 W - 1 pc.
16. Resistor 10 kOhm - 5 pcs.
17. Capacitor 0.1 uF 600 V - 1 pc.
18. Triac BTA41-600 - 1 pc.
19. Optocoupler MOC3062 - 1 pc.
20. Two-pin screw terminal - 2 pcs.
In terms of components, everything seems to be there.

Transformer conversion process.
We remove the secondary winding. It will consist of more thin wire, and the number of its turns will be large. I recommend cutting it off on one side. After cutting, we knock out each part in turn. The process is not fast. You will also need to knock out the plates separating the windings, which are glued.

After we have the transformer left with one primary winding, we prepare the wire for winding a new secondary winding. To do this, we take 3 meters of PuGV wire with a cross-section of 1x25. Completely remove the insulation from the entire wire. We put heat-shrinkable insulation on the wire. Heat to shrink. In the absence of an industrial hair dryer, I did the shrinking over a candle flame. Replacing the insulation is necessary so that the wire can fit completely into the place for the winding. After all, the original insulation is quite thick.

After the new insulation has been installed, we cut the wire into 3 equal parts. We put together and wind two turns in this assembly. I needed help with this. But everything worked out. Then we align the wires with each other, strip them and put 2 copper cable lugs with a cross-section of 70 on the 2 ends. I couldn’t find copper ones, I took tinned copper ones. By the way, the wires can get in the way, you just have to try. Once put on, take a crimper for crimping such tips and crimp them. Such crimpers are also hydraulic. It turns out much better than knocking it down with a hammer or something else.

After that, I took some 25mm heat shrink and put it over the ferrule and the entire part of the wire coming from the transformer.

The transformer is ready.

Preparation of welded wires.
In order to make cooking more convenient, I decided to make separate wires. I chose, again, the ultra-flexible power cable PuGV 1x25 red. The cost, by the way, did not differ from other colors. I took one meter of such wire. I also took 4 more tinned copper tips 25-10. I divided the wire in half and got two parts of 50 cm. I stripped the wire 2 cm from each side and put on heat shrink in advance. Now I put on tinned copper tips and crimped them with the same crimper. I applied the heat shrink and that’s it, the wires are ready.
Now we need to think about what we will cook with. I liked a soldering iron tip with a diameter of 5 mm at the local radio market. I took two. Now I had to think about where to attach them and how to attach them. And then I remembered that in the store where I bought the wires, I saw zero tires, just with many holes with a diameter of 5 mm. I also took two of them. In the photo you will see how I screwed them on.

Installation of electronic components.
To build the welding machine I decided to use an Arduino board. I wanted it to be possible to adjust both the cooking time and the number of such boilings. To do this, I used a 24-character display on 2 lines. Although you can use any, the main thing is to configure everything in the sketch. But more about the program later. So, the main component in the circuit is a triac BTA41-600. Here are the diagrams of a welding machine for batteries.

Key block diagram.

Connection diagram of the display to Arduino.

Here's how I soldered it all together. I didn’t bother with the board, I didn’t want to waste time on drawing and etching. I found a suitable case and adjusted everything using hot glue.

Here is a photo of the process of finishing the program.

Here's how to temporarily make a welding key. In the future I want to find a ready-made foot key so that I don’t have to occupy my hands.

We've sorted out the electronics. Now let's talk about the program.

Welding machine microcontroller program.
I took some part from this article https://mysku.ru/blog/aliexpress/37304.html as the basis for the program. True, we had to change it significantly. There was no encoder. It was necessary to add the number of boils. Make sure that settings can be made using four buttons. Well, so that the welding itself is carried out using a foot button, or something else, without timers.

#include

int bta = 13; //The output to which the triac is connected
int svarka = 9; // Output welding key
int secplus = 10; // Display a key to increase the cooking time
int secminus = 11; // Display the key to reduce cooking time
int razplus = 12; // Display the key to increase the number of brews
int razminus = 8; // Display the key to reduce the number of brews

int lastReportedPos = 1;
int lastReportedPos2 = 1;
volatile int sec = 40;
volatile int raz = 0;

LiquidCrystal lcd(7, 6, 5, 4, 3, 2);

pinMode(svarka, INPUT);
pinMode(secplus, INPUT);
pinMode(secminus, INPUT);
pinMode(razplus, INPUT);
pinMode(razminus, INPUT);
pinMode(bta, OUTPUT);

lcd.begin(24, 2); // Specify which indicator is installed
lcd.setCursor(6, 0); // Set the cursor to the beginning of 1 line

lcd.setCursor(6, 1); // Set the cursor to the beginning of line 2

delay(3000);
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Delay: Milliseconds");
lcd.setCursor(0, 1);
lcd.print("Repeat: times");
}

for (int i = 1; i<= raz; i++) {
digitalWrite(bta, HIGH);
delay(sec);
digitalWrite(bta, LOW);
delay(sec);
}
delay(1000);

void loop() (
if (sec<= 9) {
sec = 10;
lastReportedPos = 11;
}

if (sec >= 201) (
sec = 200;
lastReportedPos = 199;
}
else
( if (lastReportedPos != sec) (
lcd.setCursor(7, 0);
lcd.print(" ");
lcd.setCursor(7, 0);
lcd.print(sec);
lastReportedPos = sec;
}
}

if (raz<= 0) {
raz = 1;
lastReportedPos2 = 2;
}

if (raz >= 11) (
raz = 10;
lastReportedPos2 = 9;
}
else
( if (lastReportedPos2 != raz) (
lcd.setCursor(8, 1);
lcd.print(" ");
lcd.setCursor(8, 1);
lcd.print(raz);
lastReportedPos2 = raz;
}
}

if (digitalRead(secplus) == HIGH) (
sec += 1;
delay(250);
}

if (digitalRead(secminus) == HIGH) (
sec -= 1;
delay(250);
}

if (digitalRead(razplus) == HIGH) (
raz += 1;
delay(250);
}

if (digitalRead(razminus) == HIGH) (
raz -= 1;
delay(250);
}

if (digitalRead(svarka) == HIGH) (
fire();
}

As I said. The program is designed to work on the 2402 indicator.

If you have a 1602 display, replace these lines with the following:

lcd.begin(12, 2); // Specify which indicator is installed
lcd.setCursor(2, 0); // Set the cursor to the beginning of 1 line
lcd.print("Svarka v.1.0"); // Output text
lcd.setCursor(2, 1); // Set the cursor to the beginning of line 2
lcd.print("site"); // Output text
delay(3000);
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Delay: Ms");
lcd.setCursor(0, 1);
lcd.print("Repeat: times");

lcd.setCursor(7, 0);
lcd.print(" ");
lcd.setCursor(7, 0);
lcd.print(sec);
lastReportedPos = sec;

lcd.setCursor(8, 1);
lcd.print(" ");
lcd.setCursor(8, 1);
lcd.print(raz);
lastReportedPos2 = raz;

Everything in the program is simple. We experimentally adjust the cooking time and the number of infusions. Maybe 1 time is enough for you. I just feel like if you cook it twice, it turns out much better. But it may be different for you.

Here's how it worked out for me. First I checked everything on a regular light bulb. Afterwards I went to the garage (just in case).

Using a microcontroller in such tasks may seem too complicated and unnecessary to some. For another person, a car battery may be enough. But it’s interesting for a homemaker to make homemade products using his own homemade products!

Circuit test on an incandescent lamp.

Don't miss updates! Subscribe to our group

Share