Silicon ChipCapacitor Discharge Welder, part one - March 2022 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: RIP Brendan James Akhurst, cartoonist extraordinaire
  4. Feature: The History of Transistors, part one by Ian Batty
  5. Project: Capacitor Discharge Welder, part one by Phil Prosser
  6. Project: Raspberry Pi Pico BackPack by Tim Blythman
  7. Feature: All About Batteries, part three by Dr David Maddison
  8. Serviceman's Log: The oven with a mind of its own by Dave Thompson
  9. Project: Amplifier Clipping Indicator by John Clarke
  10. Feature: Advances in Drone Technology by Bob Young
  11. Project: Dual Hybrid Power Supply, part two by Phil Prosser
  12. Feature: A Gesture Recognition Module by Jim Rowe
  13. Vintage Radio: Phenix Ultradyne L-2 by Dennis Jackson
  14. PartShop
  15. Market Centre
  16. Advertising Index
  17. Notes & Errata: Vintage Radio, February 2022; USB Cable Tester, November & December 2021
  18. Outer Back Cover

This is only a preview of the March 2022 issue of Silicon Chip.

You can view 37 of the 112 pages in the full issue, including the advertisments.

For full access, purchase the issue for $10.00 or subscribe for access to the latest issues.

Articles in this series:
  • The History of Transistors, part one (March 2022)
  • The History of Transistors, part one (March 2022)
  • The History of Transistors, Pt2 (April 2022)
  • The History of Transistors, Pt2 (April 2022)
  • The History of Transistors, Pt3 (May 2022)
  • The History of Transistors, Pt3 (May 2022)
Items relevant to "Capacitor Discharge Welder, part one":
  • Capacitor Discharge Welder Power Supply PCB [29103221] (AUD $5.00)
  • Capacitor Discharge Welder Control PCB [29103222] (AUD $5.00)
  • Capacitor Discharge Welder Energy Storage Module PCB [29103223] (AUD $3.50)
  • IRFB7434(G)PBF‎ N-channel high-current Mosfet (Source component, AUD $5.00)
  • Hard-to-get parts & PCB for the Capacitor Discharge Welder Power Supply (Component, AUD $25.00)
  • Validation spreadsheets and updated drilling diagram for the CD Spot Welder (Software, Free)
  • Capacitor Discharge Welder PCB patterns (PDF download) [29103221-3] (Free)
Articles in this series:
  • Capacitor Discharge Welder, part one (March 2022)
  • Capacitor Discharge Welder, part one (March 2022)
  • Capacitor Discharge Welder, Pt2 (April 2022)
  • Capacitor Discharge Welder, Pt2 (April 2022)
Items relevant to "Raspberry Pi Pico BackPack":
  • Pico BackPack stereo jack socket adaptor PCB [07101222] and connectors (Component, AUD $2.50)
  • Raspberry Pi Pico BackPack PCB [07101221] (AUD $5.00)
  • DS3231MZ real-time clock IC (SOIC-8) (Component, AUD $8.00)
  • DS3231 real-time clock IC (SOIC-16) (Component, AUD $7.50)
  • 3.5-inch TFT Touchscreen LCD module with SD card socket (Component, AUD $35.00)
  • Raspberry Pi Pico BackPack kit (Component, AUD $80.00)
  • Matte/Gloss Black UB3 Lid for Advanced GPS Computer (BackPack V3) or Pico BackPack (PCB, AUD $5.00)
  • Matte/Gloss Black UB3 Lid for Micromite LCD BackPack V3 or Pico BackPack using 3.5in screen (PCB, AUD $5.00)
  • Raspberry Pi Pico BackPack software (Free)
  • Raspberry Pi Pico BackPack PCB pattern (PDF download) [07101221] (Free)
Articles in this series:
  • All About Batteries - Part 1 (January 2022)
  • All About Batteries - Part 1 (January 2022)
  • All About Batteries – Part 2 (February 2022)
  • All About Batteries – Part 2 (February 2022)
  • All About Batteries, part three (March 2022)
  • All About Batteries, part three (March 2022)
Items relevant to "Amplifier Clipping Indicator":
  • 500W Amplifier Module PCB [01107021 RevD] (AUD $25.00)
  • Hard-to-get parts for the 500W Amplifier (Component, AUD $180.00-200.00)
  • Parts collection for the 500W Amplifier (Component, AUD $235.00-250.00)
  • 500W Amplifier Module PCB pattern (PDF download) [01107021] (Free)
  • Amplifier Clipping Indicator PCB [01112211] (AUD $2.50)
  • Amplifier Clipping Indicator PCB pattern (PDF download) [01112211] (Free)
Articles in this series:
  • Fan Controller & Loudspeaker Protector (February 2022)
  • Fan Controller & Loudspeaker Protector (February 2022)
  • Amplifier Clipping Indicator (March 2022)
  • Amplifier Clipping Indicator (March 2022)
  • 500W Power Amplifier, Part 1 (April 2022)
  • 500W Power Amplifier, Part 1 (April 2022)
  • 500W Power Amplifier, Part 2 (May 2022)
  • 500W Power Amplifier, Part 2 (May 2022)
  • 500W Power Amplifier, Part 3 (June 2022)
  • 500W Power Amplifier, Part 3 (June 2022)
Items relevant to "Dual Hybrid Power Supply, part two":
  • Intelligent Dual Hybrid Power Supply PCB set (AUD $25.00)
  • Intelligent Dual Hybrid Power Supply regulator PCB [18107211] (AUD $7.50)
  • Intelligent Dual Hybrid Power Supply front panel control PCB [18107212] (AUD $2.50)
  • DSP Crossover CPU PCB [01106193] (AUD $5.00)
  • DSP Crossover LCD Adaptor PCB [01106196] (AUD $2.50)
  • PIC32MZ2048EFH064-250I/PT programmed for the Intelligent Dual Hybrid Power Supply [0110619A.HEX] (Programmed Microcontroller, AUD $30.00)
  • 128x64 Blue LCD screen with KS0108-compatible controller (Component, AUD $30.00)
  • Hard-to-get parts for the Intelligent Dual Hybrid Power Supply regulator board (Component, AUD $100.00)
  • Hard-to-get parts for the Intelligent Dual Hybrid Power Supply CPU board (Component, AUD $60.00)
  • LCD panel bezel for the Dual Intelligent Hybrid Power Supply (PCB, AUD $5.00)
  • Intelligent Dual Hybrid Power Supply firmware [0110619A.HEX] (Software, Free)
  • Intelligent Dual Hybrid Power Supply PCB patterns [18107211/2] (Free)
  • DSP Active Crossover/DDS/Reflow Oven PCB patterns (PDF download) [01106191-6] (Free)
Articles in this series:
  • Dual Hybrid Power Supply – Pt1 (February 2022)
  • Dual Hybrid Power Supply – Pt1 (February 2022)
  • Dual Hybrid Power Supply, part two (March 2022)
  • Dual Hybrid Power Supply, part two (March 2022)
  • Intelligent Dual Hybrid Power Supply, part one (June 2025)
  • Intelligent Dual Hybrid Power Supply, part one (June 2025)
Items relevant to "A Gesture Recognition Module":
  • MMbasic software for the PAJ7620U2 gesture recognition module (Free)
Articles in this series:
  • El Cheapo Modules From Asia - Part 1 (October 2016)
  • El Cheapo Modules From Asia - Part 1 (October 2016)
  • El Cheapo Modules From Asia - Part 2 (December 2016)
  • El Cheapo Modules From Asia - Part 2 (December 2016)
  • El Cheapo Modules From Asia - Part 3 (January 2017)
  • El Cheapo Modules From Asia - Part 3 (January 2017)
  • El Cheapo Modules from Asia - Part 4 (February 2017)
  • El Cheapo Modules from Asia - Part 4 (February 2017)
  • El Cheapo Modules, Part 5: LCD module with I²C (March 2017)
  • El Cheapo Modules, Part 5: LCD module with I²C (March 2017)
  • El Cheapo Modules, Part 6: Direct Digital Synthesiser (April 2017)
  • El Cheapo Modules, Part 6: Direct Digital Synthesiser (April 2017)
  • El Cheapo Modules, Part 7: LED Matrix displays (June 2017)
  • El Cheapo Modules, Part 7: LED Matrix displays (June 2017)
  • El Cheapo Modules: Li-ion & LiPo Chargers (August 2017)
  • El Cheapo Modules: Li-ion & LiPo Chargers (August 2017)
  • El Cheapo modules Part 9: AD9850 DDS module (September 2017)
  • El Cheapo modules Part 9: AD9850 DDS module (September 2017)
  • El Cheapo Modules Part 10: GPS receivers (October 2017)
  • El Cheapo Modules Part 10: GPS receivers (October 2017)
  • El Cheapo Modules 11: Pressure/Temperature Sensors (December 2017)
  • El Cheapo Modules 11: Pressure/Temperature Sensors (December 2017)
  • El Cheapo Modules 12: 2.4GHz Wireless Data Modules (January 2018)
  • El Cheapo Modules 12: 2.4GHz Wireless Data Modules (January 2018)
  • El Cheapo Modules 13: sensing motion and moisture (February 2018)
  • El Cheapo Modules 13: sensing motion and moisture (February 2018)
  • El Cheapo Modules 14: Logarithmic RF Detector (March 2018)
  • El Cheapo Modules 14: Logarithmic RF Detector (March 2018)
  • El Cheapo Modules 16: 35-4400MHz frequency generator (May 2018)
  • El Cheapo Modules 16: 35-4400MHz frequency generator (May 2018)
  • El Cheapo Modules 17: 4GHz digital attenuator (June 2018)
  • El Cheapo Modules 17: 4GHz digital attenuator (June 2018)
  • El Cheapo: 500MHz frequency counter and preamp (July 2018)
  • El Cheapo: 500MHz frequency counter and preamp (July 2018)
  • El Cheapo modules Part 19 – Arduino NFC Shield (September 2018)
  • El Cheapo modules Part 19 – Arduino NFC Shield (September 2018)
  • El cheapo modules, part 20: two tiny compass modules (November 2018)
  • El cheapo modules, part 20: two tiny compass modules (November 2018)
  • El cheapo modules, part 21: stamp-sized audio player (December 2018)
  • El cheapo modules, part 21: stamp-sized audio player (December 2018)
  • El Cheapo Modules 22: Stepper Motor Drivers (February 2019)
  • El Cheapo Modules 22: Stepper Motor Drivers (February 2019)
  • El Cheapo Modules 23: Galvanic Skin Response (March 2019)
  • El Cheapo Modules 23: Galvanic Skin Response (March 2019)
  • El Cheapo Modules: Class D amplifier modules (May 2019)
  • El Cheapo Modules: Class D amplifier modules (May 2019)
  • El Cheapo Modules: Long Range (LoRa) Transceivers (June 2019)
  • El Cheapo Modules: Long Range (LoRa) Transceivers (June 2019)
  • El Cheapo Modules: AD584 Precision Voltage References (July 2019)
  • El Cheapo Modules: AD584 Precision Voltage References (July 2019)
  • Three I-O Expanders to give you more control! (November 2019)
  • Three I-O Expanders to give you more control! (November 2019)
  • El Cheapo modules: “Intelligent” 8x8 RGB LED Matrix (January 2020)
  • El Cheapo modules: “Intelligent” 8x8 RGB LED Matrix (January 2020)
  • El Cheapo modules: 8-channel USB Logic Analyser (February 2020)
  • El Cheapo modules: 8-channel USB Logic Analyser (February 2020)
  • New w-i-d-e-b-a-n-d RTL-SDR modules (May 2020)
  • New w-i-d-e-b-a-n-d RTL-SDR modules (May 2020)
  • New w-i-d-e-b-a-n-d RTL-SDR modules, Part 2 (June 2020)
  • New w-i-d-e-b-a-n-d RTL-SDR modules, Part 2 (June 2020)
  • El Cheapo Modules: Mini Digital Volt/Amp Panel Meters (December 2020)
  • El Cheapo Modules: Mini Digital Volt/Amp Panel Meters (December 2020)
  • El Cheapo Modules: Mini Digital AC Panel Meters (January 2021)
  • El Cheapo Modules: Mini Digital AC Panel Meters (January 2021)
  • El Cheapo Modules: LCR-T4 Digital Multi-Tester (February 2021)
  • El Cheapo Modules: LCR-T4 Digital Multi-Tester (February 2021)
  • El Cheapo Modules: USB-PD chargers (July 2021)
  • El Cheapo Modules: USB-PD chargers (July 2021)
  • El Cheapo Modules: USB-PD Triggers (August 2021)
  • El Cheapo Modules: USB-PD Triggers (August 2021)
  • El Cheapo Modules: 3.8GHz Digital Attenuator (October 2021)
  • El Cheapo Modules: 3.8GHz Digital Attenuator (October 2021)
  • El Cheapo Modules: 6GHz Digital Attenuator (November 2021)
  • El Cheapo Modules: 6GHz Digital Attenuator (November 2021)
  • El Cheapo Modules: 35MHz-4.4GHz Signal Generator (December 2021)
  • El Cheapo Modules: 35MHz-4.4GHz Signal Generator (December 2021)
  • El Cheapo Modules: LTDZ Spectrum Analyser (January 2022)
  • El Cheapo Modules: LTDZ Spectrum Analyser (January 2022)
  • Low-noise HF-UHF Amplifiers (February 2022)
  • Low-noise HF-UHF Amplifiers (February 2022)
  • A Gesture Recognition Module (March 2022)
  • A Gesture Recognition Module (March 2022)
  • Air Quality Sensors (May 2022)
  • Air Quality Sensors (May 2022)
  • MOS Air Quality Sensors (June 2022)
  • MOS Air Quality Sensors (June 2022)
  • PAS CO2 Air Quality Sensor (July 2022)
  • PAS CO2 Air Quality Sensor (July 2022)
  • Particulate Matter (PM) Sensors (November 2022)
  • Particulate Matter (PM) Sensors (November 2022)
  • Heart Rate Sensor Module (February 2023)
  • Heart Rate Sensor Module (February 2023)
  • UVM-30A UV Light Sensor (May 2023)
  • UVM-30A UV Light Sensor (May 2023)
  • VL6180X Rangefinding Module (July 2023)
  • VL6180X Rangefinding Module (July 2023)
  • pH Meter Module (September 2023)
  • pH Meter Module (September 2023)
  • 1.3in Monochrome OLED Display (October 2023)
  • 1.3in Monochrome OLED Display (October 2023)
  • 16-bit precision 4-input ADC (November 2023)
  • 16-bit precision 4-input ADC (November 2023)
  • 1-24V USB Power Supply (October 2024)
  • 1-24V USB Power Supply (October 2024)
  • 14-segment, 4-digit LED Display Modules (November 2024)
  • 0.91-inch OLED Screen (November 2024)
  • 0.91-inch OLED Screen (November 2024)
  • 14-segment, 4-digit LED Display Modules (November 2024)
  • The Quason VL6180X laser rangefinder module (January 2025)
  • TCS230 Colour Sensor (January 2025)
  • The Quason VL6180X laser rangefinder module (January 2025)
  • TCS230 Colour Sensor (January 2025)
  • Using Electronic Modules: 1-24V Adjustable USB Power Supply (February 2025)
  • Using Electronic Modules: 1-24V Adjustable USB Power Supply (February 2025)

Purchase a printed copy of this issue for $11.50.

Capacitor Discharge Welder Part 1: By Phil Prosser safe and low-voltage Make your own thermocouples or battery packs! If you're skilled enough, you might even be able to weld studs to sheet metal. This project lets you build a safe low-voltage mini spot welder. Safety warning Capacitor Discharge Welding works by generating extremely high current pulses, and consequently, strong magnetic fields. Do not build or use this project if you have a pacemaker or similar sensitive device. This device can generate sparks and heat. Users must wear appropriate personal protective equipment such as AS/NZS 1337.1, DIN 169 Shade 3 welding glasses. These provide mechanical and IR/UV protection. 24 Silicon Chip Australia's electronics magazine siliconchip.com.au Features & Specs Weld energy: adjustable, from a few joules up to 208-365J (depending on number and type of capacitors used) Weld pulse duration: 0.2-20ms with optional 0.1ms pre-pulse, 5ms before main pulse Safety features: trigger lockout during charging, foot switch triggering, kill switch Capacitor charging: 2A or 5A (selectable); switch-mode for high efficiency and fast charging Welding leads: 1m min length suggested but can be customised Power supply: 24V DC, 2.5A minimum (6A+ recommended) It costs more to buy thermocouples than to weld the tips of K-type thermocouple wire, available cheaply by the reel. And getting a custom-­made battery pack for repair or your project is also expensive. With the availability of used battery packs and individual cells, building custom batteries yourself is a real option – as long as you have a way of welding tabs onto them. Safely welding tabs to batteries is more challenging than you might think. You cannot use solder to make the joints as the metal does not ‘wet’ easily, and you need to get it dangerously hot to make the joint. This can damage the plastic insulators inside the battery, leading to catastrophic failure of the cell. Tabs on professionally-­ made cells are welded on. This project allows you to do the same yourself. Professional battery welders are generally ultrasonic welders, capacitor discharge welders or high-current spot welders. Most are way out of the ability for hobbyists to build. Capacitor discharge welders are at the lower end of the professional spectrum. These use energy stored in a bank of capacitors to deliver the weld energy to the workpiece. A common characteristic of all battery tab welders is that they deliver an awful lot of energy (typically 100-200 joules or more) to the connection in as short a period as possible. Options for DIY One approach is to use a car battery or Li-ion cell with a beefy switching siliconchip.com.au The front panel of the Capacitor Discharge (CD) Welder. device. A very large SCR or FET is used to short the battery across the ‘weld spot’ for a short period. While this can work, it has a hidden problem. The current is high enough to create a weld but not high enough to do it quickly. As a result, there can be a large ‘heat-affected zone’ and the weld quality varies depending on the health of your battery. The other practical alternative is to roll your own Capacitor Discharge Welder. This is somewhat more expensive than using a big battery but provides more predictable results. Our design also gives you a lot of control of the weld energy and time. Capacitor Discharge (CD) Welders These do exactly what they say on the box. They comprise a capacitor bank that you charge up, and then electronically short it across the workpiece using one or more large FETs, SCRs or other very tough semiconductor switches. The weld is formed by resistive heating in the workpiece. All of the energy that goes into the weld is from the capacitors. This provides you with certainty and repeatability about how much energy is delivered. The energy is also delivered very quickly, in a few milliseconds, which means the weld is done before heat conducts far from the joint. The downside of this is that you need capacitor(s) that can take the abuse of massive discharge pulses, which can get expensive. The upside is that you can control the energy Australia's electronics magazine delivered to the weld in two dimensions, both by selecting the voltage the capacitor is charged to and by how long you turn the switches on. Our approach We want to do better than simply paralleling as many capacitors as we can find and using a giant SCR to switch them. Our goal is a project that allows you to choose the overall scale of the CD Welder, allowing you to select the most cost-effective capacitors for your application. While researching this, we came across Ian Hooper’s work (www.zeva. com.au/Projects/SpotWelderV2/) which prompted the modular and scalable approach presented here. Our design uses multiple Energy Storage boards which stack, allowing you to build a welder with the capacity you need. A separate Power Supply Module allows you to control the voltage and provides a constant charge current to the capacitor bank. A Controller Module enables you to program the weld pulse width you want. These features are typically found on a professional kit. Our charger is based on a switch-mode regulator, which means that we can control the current charging the capacitors without using a resistor or linear regulator – both of which would otherwise get stinking hot! With the recommended 10 Energy Storage Modules (ESMs), we have 1.2 farads of storage, which we can charge to about 2-25V DC. The pulse width can be varied from under one March 2022  25 The finished Power Supply Module used in the Capacitor Discharge Welder. Its main job is to charge the capacitor bank, but it also provides power to the rest of the circuitry. millisecond through to 20ms. Hold up there, Dr Evil! Are we seriously talking about shorting a 1.2F capacitor across the weld joint? At just 25V, this is 375J! Let’s think this through; there are safety issues to be considered here! We have intentionally used a maximum charge voltage of 25V, which is well below the Extra Low Voltage threshold and reduces voltage-related safety hazards to operators. We use a 24V DC 6A plug pack to charge it up, so no mains wiring is involved. But the CD Welder stores an awful lot of energy. This warrants great caution in use, with the risk of burns and arcing. Safety must be in the front of your thinking when using it. From a design perspective, we seek to minimise the risk of inadvertent firing, ie, “uncontrolled output”, including by using: • A fire button that only enables the output for a few milliseconds, minimising the risk of creating an arc when placing the weld probes on the workpiece. • An interlock stopping firing during charging, avoiding multiple shots. • An enable/kill switch. • A footswitch to fire the Welder while keeping both hands free. need a model of all the parts involved, starting with the capacitors and the boards on which they mount. Most of the recommended capacitors have an ESR (equivalent series resistance) specification close to 20mW, so we’ll start with that figure. For the capacitor closest to the ‘output’ end of the board, we calculate a trace resistance (both positive and negative) of 0.5mW, giving 20.5mW. The other capacitors are a bit further away, so we calculate figures of 21.27mW and 22.05mW. These three capacitors are in parallel, so we can calculate their combined source resistance as 20.5mW ∥ 21.27mW ∥ 22.05mW = 7.08mW. Then we add the Mosfet on-resistance (1.7mW ∥ 1.7mW = 0.85mW), the PCB track resistance from the Mosfets to the bus bar and the resistance of the connections to the bus bars, giving us a total of 8.33mW per module. We’ve paralleled ten of these modules, giving an overall source impedance of 0.83mW (ie,10% of the figure given above). To this, we must add the resistance of the bus bars (around 0.1mW each), the welding tips (a total of about 0.5mW) and then the welding cables. We’re using 1m-long cables with 7.1mm2 cross-sectional area for a figure of 2.6mW each, dominating the final source resistance value, which is 7.53mW. Given this, what is the maximum current we can deliver? Will the FETs survive? Of course, the workpiece will never be 0W. With reasonably pointy probes welding a 0.15mm-thick nickel strip, this will be more like 5mW. But we conservatively use a value of zero for our calculations. The above tells us that it would be a terrible idea to fire the Welder with the bus bars shorted. If we omit the lead resistance, the load will be 1.5mW plus whatever shorts the bars. This gives a worst-case current of 16,000A or 800A per Mosfet, which is right up Operating principle The basic idea behind the CD Welder is shown in Fig.1. This simple Welder model consists of the capacitors, connections and Mosfets. Note that the Mosfets pull the negative lead down to ground potential but are ‘flipped’ in this figure for clarity. This seems simple enough, but the question at the forefront of our minds is: will the capacitors and Mosfets survive the very high currents involved, especially on a repetitive basis? To do this, we need to determine what the peak current is likely to be and how it decays over time. To assess this we 26 Silicon Chip Fig.1: the basic concept of the Capacitor Discharge Welder is a capacitor bank of around 30 capacitors in parallel that are charged up and then connected across the heavy welding leads when the Mosfets are switched on. The trick is making sure everything survives this process as over 1000A can flow! Australia's electronics magazine siliconchip.com.au The Control Module uses four 555 timer ICs. against their 1ms safe operating area (SOA) curve. The Mosfets might survive this, but whatever shorts the bus bars might not! Under ‘normal’ operation, the worstcase current will be 3300A with the 1m leads perfectly shorted. This is 166A peak per Mosfet (two per module) for a few milliseconds. The specified devices are rated to handle 192A continuously, and their SOA is 600A for 10ms, giving us a reasonable safety margin. Under more realistic conditions, and with a 5mW workpiece, the maximum current will be 25V ÷ (7.53mW + 5mW) = approximately 2000A. This can be controlled by reducing the operating voltage and pulse width. This analysis might seem over the top – but a CD welder is quite a device! Even my inner Dr Evil was just a little intimidated the first time I fired it in anger! Major parts The resulting CD Welder block diagram is shown in Fig.2. We will discuss each part and explain some of the challenges they present. 1) The Power Supply Module The problem with charging a 1.2F capacitor is that to any regular power supply, it looks like a short circuit. Also, when fired, the CD Welder power supply is shorted out. It must be able to tolerate this on a repetitive, longterm basis. A linear regulator might do the job, but it would face several problems. For a start, it would get hot! Also, if we use a 5W resistor to limit the charging current, the initial current will be 5A, but it will not fully charge the capacitor for close to 20 seconds. We determine this by solving the equation Vcap = Vin × (1 − e-t ÷ (RC)) for t, with a value of Vcap close to Vin. This convinced us to instead use a switch-mode regulator with a 5A (or 2A) constant current output. This only dissipates a few watts even when running flat out. An equation for calculating the charge time is C = Q ÷ V, where C is in farads, Q in coulombs and V in volts. Differentiating and rearranging this equation gives us dV/dt = I ÷ C. With I = 5A and C = 1.17F, dV/dt is 4.3V per second. Note that you can also determine your actual capacitor bank capacity using this equation by measuring its charge rate and then solving for C. 2) The Control Module We need a way to trigger all the capacitors to dump their charge into Fig.2: a modular approach makes building the CD Welder easier. A mains power ‘brick’ is fed into the power supply, which provides a constant current to charge the capacitor bank. Said bank comprises eight or more Energy Storage Modules (ESMs – 10 in our case) connected in parallel using bus bars. The control circuit provides the timing and the ability to trigger all the ESMs to dump their charge into the welding probes simultaneously. siliconchip.com.au Australia's electronics magazine the welding probes simultaneously, for a defined period. We have used the venerable NE555 timer IC to do this. The Controller needs to work in a tough electrical environment, so using a ‘bulletproof’ chip in a simple configuration is the way to go. We hope you are picking up on the attention we are paying to EMI/EMC and the currents involved here! Professional controllers offer a “two pulse weld” mode. The initial pulse cleans the surface between the parts and the second pulse makes the weld. This feature is easy to provide, so we did. Three timer ICs generate the initial pulse, then a delay, then the second pulse. Energy Storage Module (ESM) The Storage Module takes inspiration from Ian Hooper’s work (mentioned above), then extends this to provide us more control over the switching and increases robustness to back-EMF. This ESM accepts 10mm lead pitch (spacing) caps with a diameter up to 35mm. This provides you with many options for sourcing these expensive parts. We recommend you use caps of known provenance from the likes of Mouser, Digi-Key etc. Online prices An example weld of 0.12mm-thick nickel at 15V with a 20ms weld time onto a AA cell used for testing. The tab can’t be pulled off with any reasonable amount of force applied. March 2022  27 Table 1 – suitable 25V-rated capacitors (M=Mouser, DK=Digi-Key) Capacitor value # ESMs Caps per ESM Total capacity Energy stored Suitable parts 56,000μF 8-10 2 0.9-1.1F 280-350J DK: 338-3866-ND 39,000μF 8-10 3 0.9-1.17F 300-365J M: B41231A5399M000 DK: 338-3743-ND 33,000μF 10 3 1F 310J M: SLPX333M025E9P3 | B41231A5339M000 | 380LX333M025K052 DK: 338-1613-ND 22,000μF 14 3 0.92F 288J M: SLP223M025H5P3 | 380LX223M025J052 DK: 495-6159-ND | 338-4172-ND | 338-2431-ND Table 2 – suitable 16V-rated capacitors (M=Mouser, DK=Digi-Key) Capacitor value # ESMs Caps per ESM Total capacity Energy stored Suitable parts 68,000μF 12-14 2 1.6-1.9F 208-243J M: B41231A4689M000 | 380LX683M016A052 DK: 495-6141-ND | 338-2273-ND 56,000μF 10-12 3 1.7-2.0F 220-256J M: B41231A4569M000 | SLPX563M016H4P3 47,000μF 14 3 2F 256J M: B41231B4479M000 DK: 338-2458-ND | 338-2318-ND 39,000μF 14 3 1.6F 210J M: B41231A4339M000 | 380LX393M016A032 | 16USG39000MEFCSN25X50 DK: 338-2261-ND that seem too good to resist are usually a bad choice with capacitors. The ESMs bolt to bus bars, allowing paralleling of an arbitrary number of modules. They provide fast switching using two onboard high-current Mosfets and a dedicated FET driver. They also have an inbuilt flyback diode to protect against the back-EMF and are easy to build, wire up and service. Switching really high currents is not a simple thing to do. By switching each module rather than the whole bank, we can ‘divide and conquer’. All the SMD components are located on the underside of the Energy Storage Module (ESM). 28 Silicon Chip The recommended bank of 30 capacitors on 10 ESMs will each see currents in the region of 50A per capacitor every time a weld is made. The RMS ripple current rating of the recommended capacitors is about 10A, but the limiting factor for aluminium electrolytic capacitors is heating. The average current is very low because of our low pulse rate, so the I2R losses are insignificant. Capacitor choice The capacitors for a CD welder are the main expense. During the development of this project, we spent much time investigating the trade-offs in the total energy stored, capacitor voltage rating and the safety and robustness of the switching system. The choice has also been complicated by parts availability. The 20212022 drought for electronic components (especially semiconductors) is making our life extremely difficult here at Silicon Chip, as even seemingly ordinary parts are hard to get. Perhaps surprisingly, this includes capacitors, especially large electros. Luckily, there is a range of choices you can make in selecting your Australia's electronics magazine capacitors. For 25V-rated capacitors, we recommend that you aim for a total capacitance of no less than 1F. Ideally, hit the 1.2F mark for some spare capacity. Table 1 shows some good choices here. If you choose to use 16V capacitors, you can probably save a few dollars. In this case, aim for a total capacitance of no less than 1.5F and ideally 2F if you want a bit of extra margin. All of the options shown in Table 2 will total around $180 or so. Remember that the welding process is about the energy delivered to the weld – the actual capacitance is a means to an end, and using a higher voltage makes this easier. You will find availability and price can be something of a ‘head-scratcher’, and we are sure you will have hours of ‘fun’ working out your best value for money. Probably the only thing we would advise against is using much larger capacitor values than we recommend – our models show that for the values in the tables above, it should be OK, but much more capacitance on a module could lead to Mosfet failure. So how much energy do we really need? We found that about 130 joules siliconchip.com.au Fig.3: the Power Supply circuit derives a 15V rail to run the remainder of the circuitry from the 24V DC input using a simple linear regulator. The rest of the components form the constant-current switchmode step-down regulator. It’s based around switching regulator IC1 with shunt monitor IC2 and op amp IC3 used to make it deliver a fixed current until the capacitor bank reaches the fully-charged voltage selected using potentiometer VR1. was sufficient for the tabs we welded. We feel confident that a welder with 200J total storage would suit our needs. The recommended design can deliver 370J, which would definitely provide margin throughout its life. Circuit details Fig.3 is the circuit diagram of the Power Supply module. The regulator used is an MC34167 device, a switchmode regulator operating at 71kHz. It is operated in a buck (step-down) configuration, using a 220μH filter/energy storage coil and 15A schottky flyback diode with two 1000μF smoothing capacitors on the output. These will help reduce radiated EMI during charging, but the >1000A pulses will still play havoc with any sensitive electrical device nearby. To turn a voltage regulator into a current source, we need to sense the output current and convert this into a voltage as feedback. This is done by the INA282 shunt monitor IC, IC2, with a 10mW series shunt. The INA282 has a gain of 50 times, so its pin 5 output delivers 500mV/A. This is further amplified by a factor of about 6.5 by op amp IC3a, resulting in 2.8V/A to the feedback pin (pin 1) of IC1. If pin 1 of IC1 is lower than 5.05V, the regulator increases its output. Similarly, if the input is higher than 5.05V, About 10 of these ESMs are joined together to form a capacitor bank for the CD Welder. siliconchip.com.au Australia's electronics magazine March 2022  29 the output duty cycle and thus voltage/current is reduced. So with 2.8V/A, we get an output current close to 1.8A (5.05V ÷ 2.8V/A). The 5A version of the circuit changes two resistors (values shown in green), setting the gain of IC3a to 2.2 times, so its output is 1.1V/A and therefore, the current limit is around 4.6A (5.05V ÷ 1.1V/A). So that the capacitor charging stops when it reaches the desired voltage, the output voltage is applied to potentiometer VR1 via a 27kW resistor and the reduced voltage at its wiper is buffered by op amp IC3b. This is fed into the ‘current sense’ input of IC3a (pin 3) via diode D3, which ‘ORs’ these voltages together. This means that when the output voltage is lower than the set limit, the circuit operates as a constant current source. When the output voltage reaches the programmed limit, the voltage from VR1 exceeds the current sense voltage, and regulation is now voltage-controlled. When in current limit mode, we switch on the CHARGE LED connected across CON3. At the same time pin 7 of CON4 is pulled low, which acts as an interlock in the controller circuit on the ‘fire’ switch. This is used to stop the user from making a weld before the capacitors are fully charged. Controller circuit The controller circuit is shown in Fig.4. Three NE555 devices, IC4-IC6, are set up as monostable (single-shot) pulse generators in series (output to trigger input), with a fourth (IC7) acting as a high-current buffer. This allows us to generate a first pulse, a delay and a second pulse. The main weld pulse is controllable using 100kW potentiometer VR2, variable from under 1ms to about 20ms. If the ‘two-pulse’ switch connected to CON8 is open, only the output trigger pulse from IC6 is fed (via diode D6) to timer IC7, so a single trigger pulse goes to pin 9 of CON7. If that switch is closed, the outputs pulse from both IC4 and IC6 result in a trigger pulse. Timer IC5 provides the delay between these pulses. We chose the NE555 as a driver because it can operate from 15V, can deliver 200mA, has a fast rise time (300ns) and can easily drive our TRIGGER bus. This switches all the energy storage modules simultaneously. The ‘fire’ input to the Controller, connected to CON5, is a switch to ground. We have included PNP transistor Q2 to inhibit the input while the capacitors are charging. When the INHIBIT line from pin 7 of CON7 is low, Q2 is on and it holds the trigger input feeding pin 2 of IC4 high. The 1μF capacitor between its base and the 15V rail avoids noise coupled into the INHIBIT line from causing problems. Similarly, if the pins of the ENABLE header (CON6) are shorted (eg, via a switch), this will prevent triggering by switching on Q2 via diode D8. The control interface PCB design uses tightly-packed surface-mounted components to increase its EMI robustness and avoid false triggering etc. ESM circuit This is shown in Fig.5. There isn’t much to it – mainly just the three (or two) storage capacitors, two Mosfets and the dual Mosfet driver, IC8. We explained earlier why we are using the very high-current IRFB7430 FETs. These must be tightly controlled in terms of switching time and switch After building your CD Welder. It’s useful to make some test welds on scrap metal to get an idea of how much voltage and time is needed to form a decent weld. Too much energy will burn and distort the metal, and even blow holes in it, as shown on the left tab. On the right, you can see that we managed to weld the tab to the can without destroying it. 30 Silicon Chip Australia's electronics magazine on and off cleanly. The TC1427 Mosfet driver can deliver up to 1.2A into the FET gates, switching them in 25ns. It has input hysteresis, which will help our robustness to noise. The alternative, pin-compatible IX4340NE mentioned in the parts list can deliver an even higher current of 5A for very rapid switching indeed. IC8’s inputs are connected to the TRIGGER bus from the NE555 which has a 15V swing, again seeking to avoid false switching due to noise. By driving all Energy Store Modules with the common Trigger signal, we aim to ensure that all Energy Store Modules are switched on and off at as close to the same time as possible. The Welder in action Scope 1 (overleaf) is a digital oscilloscope capture showing the voltage across the capacitor bank just after the Welder is triggered. In this test, only one ESM has been connected. You can see the sudden drop in voltage to around 5V over about 20ms when the weld is made, and the recharge, which takes a few hundred milliseconds. Measurements taken from this screen capture let us calculate the total capacitance and the weld current using the formula C = Q ÷ V introduced earlier, along with C = I ÷ (dV/dt). We know the charge current I is close to 2A. We measure a 10.5V increase in voltage over 616ms, so: C = 2A ÷ (10.5V ÷ 0.616s) = 0.117F, which is pretty much spot on for three 39,000μF capacitors in parallel. Scope 2 shows a similar curve for all ten ESMs in parallel. The voltage increases by 8.03V in two seconds at 4.8A, which tells us the bank in total is just under 1.2F. Turning now to what happens when the Welder is used, Scope 3 shows the Welder set to 15V welding tabs in a typical application. More voltage than this starts to blow holes in the tabs. This scope grab shows the 1.17F capacitor bank voltage dropping by 4.416V in 2.7ms, which we calculate is a discharge of just under 2000A. Next month Next month we’ll have the assembly details of the three modules, then the whole unit, plus testing and usage instructions. In the meantime, you can peruse the parts list and start gathering the components you will need to build it. siliconchip.com.au Fig.4: the control circuit is based on four of the good old NE555. When triggered, IC4 generates the fuse discharge pulse (if the ‘two pulse’ switch is enabled), IC5 produces the inter-pulse delay, and IC6 delivers the second welding pulse. VR2 allows the second pulse duration to be varied between about 0.2ms and 20ms. Fig.5: the capacitors that store all the energy for welding are mounted on these ESMs, two or three per board. Each ESM also has two Mosfets to dump their energy into the welding leads, a dual Mosfet driver to ensure they switch on and off cleanly, and a back-EMF clamping diode to catch any reverse spikes due to lead and other stray inductances. siliconchip.com.au Australia's electronics magazine March 2022  31 Parts List – Capacitor Discharge Welder 1 250 x 200 x 130mm ABS enclosure [Altronics H0364A] 1 Power Supply module (see below) 1 Controller module (see below) 8-14 Energy Storage modules (see below & Tables 1-2) 1 82W 5W 10% resistor (for testing) 1 0.27W 5W 10% resistor (for testing) 1 panel-mount digital voltmeter (optional; to display selected voltage) [eBay, AliExpress etc] Switches/connectors 3 two-way polarised header plugs with pins (foot switch, enable, charge) [3 x Altronics P5472 + 6 x P5470A or 3 x Jaycar HM3402] 12 10-way IDC line sockets [Altronics P5310 or Jaycar PS0984] 1 3-pin circular microphone inline socket (for footswitch cable) [Altronics P0949] 1 3-pin circular microphone chassis-mount connector (for footswitch) [Altronics P0954] 1 footswitch (trigger) [Altronics S2700 or Jaycar SP0760] 1 miniature chassis-mount SPDT toggle switch (two pulse select) [Altronics S1310 or Jaycar ST0555] Wire/cable/etc 1 1m length of 8AWG red power wire (welding lead) 1 1m length of 8AWG black power wire (welding lead) 1 200mm length of 17AWG red tinned extra-heavy-duty hookup wire [Altronics W2283] 1 200mm length of 17AWG green tinned extra-heavyduty hookup wire [Altronics W2285] 1 1m length of twin speaker cable, rated to handle at least 5A 1 2m length of two-core heavy-duty microphone cable (footswitch lead) [Altronics W3028] 1 1m length of 10-way ribbon cable 1 100mm length of 20mm diameter heatshrink tubing (for welding cables) 1 300mm length of 12.7mm diameter heatshrink tubing (for handles) 1 100mm length of 10mm diameter heatshrink tubing (for welding cable lugs) Hardware 2 260mm length of 10 x 10mm square aluminium bar (bus bars) 2 100mm length of 10 x 10mm square aluminium bar (handles) 6 M4 x 10mm panhead machine screws (for handles and welding connections) 2 M4 shakeproof washers (for welding connections) 10 M3 x 10mm tapped spacers (for joining modules together) 4 M3 x 16mm panhead machine screws (for Presspahn shield) 40 M3 x 6mm panhead machine screws (module connections) 44 M3 shakeproof washers 2 6mm heavy duty eyelet crimp lugs for 7/8AWG wire [Altronics H1757B] 32 Silicon Chip 1 60 x 40mm sheet of Presspahn or similar insulating material [Jaycar HG9985] Power Supply (one needed) 1 double-sided PCB coded 29103221, 150 x 42.5mm 1 220μH 5A toroidal inductor (L1) [Altronics L6625 or Mouser 542-2316-V-RC / 542-2200HT-151V-RC] 1 10kW 9mm linear right-angle potentiometer with plastic shaft (VR1) [Altronics R1906] 1 10A M205 slow-blow fuse (F1) 2 PCB-mount M205 fuse clips (F1) 2 2-way mini terminal blocks, 5/5.08mm pitch (CON1, CON2) 1 2-way polarised header, 2.54mm pitch (CON3) 1 2x5 pin header (CON4) 1 micro-U TO-220 heatsink (for REG1) [Altronics H0627] 1 mini-U TO-220 heatsink (for IC1) [Altronics H0625, Jaycar HH8504] 2 TO-220 insulating kits with silicone washers & plastic bushes (for REG1 & IC1) 2 M3 x 10-16mm panhead machine screws, shakeproof washers and nuts (for mounting heatsinks) 4 M3 tapped spacers 8 M3 x 6mm panhead machine screws and shakeproof washers 1 PCB pin (optional) Semiconductors 1 MC34167TV or MC33167TV 0-40V 5A integrated buck regulator, TO-220-5 (IC1) 1 INA282AIDR bidirectional current shunt monitor, SOIC-8 (IC2) 1 LM358 dual single-supply op amp, DIP-8 (IC3) 1 LM7815 15V 1A linear regulator, TO-220 (REG1) 1 BC546 65V 100mA NPN transistor, TO-92 (Q1) 1 6.2V 400mW zener diode (ZD1) [1N753, Altronics Z0318] 1 6TQ045-M3 45V 6A schottky diode, TO-220AC (D1) 1 1N4004 400V 1A diode (D2) 2 1N4148 75V 150mA signal diodes (D3, D4) Capacitors 2 1000μF 50V low-ESR electrolytic 2 220μF 50V low-ESR electrolytic 1 10μF 50V electrolytic 1 2.2μF 50V X7R multi-layer ceramic 6 100nF 50V X7R multi-layer ceramic 1 100nF 50V SMD M2012/0805 size multi-layer ceramic Resistors (all 0.25W 1% metal film unless stated) 1 27kW 1 12kW 6 10kW 1 8.2kW (for 5A version) 1 3.3kW (for 5A version) 1 2.2kW 3 1kW 1 0.01W (10mW) 1% 1W shunt [Mouser OAR1R010JLF] Australia's electronics magazine siliconchip.com.au Partial kits are available for the Power Supply (SC6224) and ESM (SC6225). See page 106 for details. Controller (one needed) 1 double-sided PCB coded 29103222, 150 x 42.5mm 1 100kW 9mm linear right-angle potentiometer with plastic shaft (VR2) [Altronics R1908] 3 2-way polarised headers, 2.54mm pitch (CON5, CON6, CON8) 1 2x5 pin header (CON7) 1 jumper shunt (optional) Semiconductors 4 LM555 timer ICs, DIP-8 (IC4-IC7) 1 BC556, BC557, BC558 or BC559 30V 100mA PNP transistor, TO-92 (Q2) 4 1N4148 75V 150mA signal diodes (D5-D8) Capacitors 2 10μF 50V electrolytic 1 1μF 63V MKT 1 1μF 50V multi-layer ceramic 1 220nF 63V MKT 1 220nF 50V multi-layer ceramic 7 100nF 63V MKT 4 10nF 63V MKT 2 1nF 63V MKT Resistors (all 0.25W 1% metal film) 1 220kW 2 33kW 3 10kW 1 4.7kW 4 1kW Energy Storage module (parts for one module) 1 double-sided PCB coded 29103223, 150 x 42.5mm 1 2x5 pin header (CON9) 1 2-way mini terminal blocks, 5/5.08mm pitch (CON10) 4 M3 tapped spacers 8 M3 x 6mm panhead machine screws and shakeproof washers Semiconductors 1 TC1427COA713 or IX4340NE dual low-side Mosfet driver, SOIC-8 (IC8) 2 IRFB7430PbF 40V 409A Mosfets, TO-220 (Q3, Q4) 1 RFN20NS3SFHTL 20A 350V fast recovery SMD diode or similar, TO-263S-3/D2PAK (D9) 1 red LED (LED1) Capacitors 3 39mF 25V high ripple current snap-in capacitors, 10mm lead spacing, 35mm diameter [Mouser B41231A5399M002 or Digi-Key 338-3743-ND or alternatives as per Table 1 or 2] 1 1μF 16V X7R ceramic, SMD M2012/0805 size 2 100nF 50V X7R ceramic, SMD M2012/0805 size Resistors (all SMD 1% M2012/0805 size unless stated) 1 10kW 1 100W 2 10W 1 1.5kW 1W 5% axial (through-hole) siliconchip.com.au Scope 1: the recharge voltage curve for a single Energy Storage module at 2A. The voltage increases by 10.5V in 616ms. Note also the discharge curve visible here, which we calculate as being 130A. Scope 2: the recharge voltage curve with all ten ESMs in parallel. This time the charge rate is 5A, and using the formula given in the text, we calculate the total capacitance as a hair under 1.2F. Scope 3: 200A pulse into a load. The yellow trace is the voltage on the negative output. The blue trace is for the capacitor voltage, which shows a dip for the initial pulse then exponential decay! The welding cables and copper-tipped probes. Australia's electronics magazine SC March 2022  33