EDM Operating Principle and the Spark Erosion Process
Electrical Discharge Machining (EDM) is a non-contact material removal process where a shaped electrode erodes a conductive workpiece through a controlled series of high-energy electrical discharges. The electrode and workpiece are submerged in a low-viscosity dielectric oil that flushes vaporized metal particles away from the cut zone and re-establishes dielectric strength between pulses. Each spark vaporizes a microscopic volume of metal, and the cumulative effect of thousands of pulses per second produces the desired cavity. Unlike conventional milling, EDM does not require the workpiece to be softer than the cutter; it cuts hardened tool steel, tungsten carbide, and exotic alloys with equal ease.
Two polarity conventions are critical and frequently confused. In a sinker EDM, the workpiece is connected to the positive terminal of the spark supply, and the shaped electrode (die) is connected to the negative terminal. Electron flow leaves the cathode (die), accelerates across the gap, and impacts the anode (workpiece). Approximately 80 percent of the discharge energy is dissipated as heat at the anode, which is why the workpiece erodes faster than the die. Reversing polarity accelerates electrode wear and is occasionally used intentionally to dress a worn die.
Circuit Evolution: RC Relaxation Oscillator to Pulsed Arc
Early hobby and light-industrial sinker EDMs used an RC relaxation oscillator. A capacitor charged through a current-limiting resistor until its voltage exceeded the spark-gap breakdown threshold, at which point the gap ionized, the capacitor dumped its stored energy, and the cycle restarted. The RC topology is simple, requires no active semiconductors, and survives abuse. Its weakness is statistical: each cycle depends on a random breakdown event, so many charge cycles produce no spark. The result is a slow, irregular cut that overheats the dielectric and produces poor surface finish.
Pulsed arc topologies replace the random RC breakdown with a deterministic switch - a power transistor or MOSFET array driven by a fixed-frequency timer. Every cycle delivers a spark. Commercial machines such as the Elox line reportedly operated pulsed-arc supplies around 1 kHz from a 70 VDC rail using 8 paralleled power transistors for current sharing. Modern CNC wire and sinker EDMs operate at pulse frequencies from 20 kHz to over 500 kHz using IGBT or MOSFET output stages, with on-times measured in microseconds and off-times in tens of microseconds.
| Parameter | RC Relaxation | Pulsed Arc (Transistor) | Modern CNC (IGBT/MOSFET) |
|---|---|---|---|
| Pulse frequency | Variable, random | Fixed, ~1 kHz typical | 20 kHz to 500 kHz |
| Spark initiation | Statistical breakdown | Forced via switch | Forced, precision-timed |
| Surface finish | Poor, recast layer | Good | Excellent, mirror-grade |
| Complexity | Lowest | Moderate | High |
| Typical rail voltage | 60-120 V | 70-100 V | 80-300 V |
| Component count | Resistor, capacitor, gap | Transistors, gate drive, timer | FPGA controller, IGBT module, isolated gate drive |
MOSFET-Inductor Kickback Spark Generator Topology
The kickback design exploits the back-EMF of an inductor to generate the brief high-voltage spike required for spark initiation. The operating cycle is straightforward:
- The low-side MOSFET is turned on, connecting the inductor across the DC supply through the closed switch.
- Current ramps up in the inductor at a rate
di/dt = V_supply / Luntil a target peak current is reached. - The MOSFET is turned off. The inductor forces current to continue flowing, and because the only available path is through the spark gap (whose resistance is far lower than the load resistor), the gap voltage rises sharply until dielectric breakdown occurs.
- Spark energy is delivered into the gap, ionizing the dielectric and eroding metal.
- Current decays, the gap de-ionizes, and the cycle restarts.
The peak kickback voltage is approximately V_gap_peak = I_peak × sqrt(L / C_stray) where C_stray is the parasitic capacitance of the gap and wiring. For typical values (I_peak = 30 A, L = 100 µH, C_stray = 100 pF), the theoretical peak exceeds 30 kV - far above the 250-300 V needed to break down a 0.025 mm oil gap. In practice, the gap clamps the voltage once ionization begins.
The load resistor in parallel with the spark gap is essential. Without it, the inductor has no path to dissipate stored energy when the gap is open, and the MOSFET drain will ring to its breakdown voltage (and likely avalanche-destroy the part). The load resistor value is chosen so that R_load >> R_gap_during_spark, forcing nearly all kickback current into the gap. Typical values range from 50 Ω to 500 Ω depending on supply voltage and target peak current.
Reference Schematic: Langlois Plunger-Type EDM Component Values
The Langlois design, originally published in Home Shop Machinist magazine and reprinted in 2007, is a well-documented plunger-type sinker EDM that uses dual transformer secondaries feeding a capacitor bank. The component values are reproduced below for reference; substitute parts must meet or exceed the original voltage and current ratings.
| Reference | Value | Rating | Function |
|---|---|---|---|
| T3, T4 | 30 VAC secondary | 42 VAC peak | Main power transformers (dual) |
| R1 | 15 Ω | 240 W | Primary current limit / inrush |
| R2 to R6 | 1 MΩ | 1/2 W | High-voltage bleeder / divider string |
| C1 | 2,000 µF | 150 V minimum | Main reservoir capacitor |
| C2 | 50 µF | 150 V | Filter / smoothing |
| C3 | 100 µF | 150 V | Filter / smoothing |
| C4 | 200 µF | 150 V | Filter / smoothing |
| C5 | 400 µF | 150 V | Filter / smoothing |
| C6 | 50 µF | 150 V | Output / pulse shaping |
| BR1, BR2 | Bridge rectifier | 25 A / 200 V | AC to DC rectification |
Two transformers in series (T3 and T4 secondaries) provide the rail voltage for the spark supply. With 30 VAC secondaries the peak rectified voltage is approximately 42 V × 2 = 84 V if the secondaries are stacked in series, which matches the 70 VDC pulsed-arc rail voltage used in commercial Elox machines. Verify your transformer phasing with an oscilloscope or AC voltmeter before applying power - out-of-phase secondaries will cancel rather than add.
Timing and Electrode Control with 555 Timer and Comparators
The Langlois design uses two comparators and a 555 timer to implement a three-state electrode servo: UP, HOLD, and DOWN. The comparators monitor the voltage across the spark-supply capacitor bank and decide the electrode direction based on the gap state.
- Comparator A (gap too far): If capacitor voltage rises to the upper threshold (indicating an open gap with no spark loading), the comparator commands the stepper to advance the electrode downward to close the gap.
- Comparator B (gap too close / short): If capacitor voltage collapses to the lower threshold (indicating a short circuit or arc weld), the comparator commands the stepper to retract the electrode.
- HOLD zone: Between thresholds, the stepper is idle and stable sparks occur.
The 555 timer provides a fixed step rate to the stepper driver, typically configured in astable mode with a frequency between 100 Hz and 2 kHz. The duty cycle and frequency are set by Ra, Rb, and C: f = 1.44 / ((Ra + 2Rb) × C). For a stepper running at 500 Hz with Ra = 1 kΩ and Rb = 4.7 kΩ, C works out to roughly 470 nF.
| Step Rate (Hz) | Ra | Rb | C | Duty Cycle |
|---|---|---|---|---|
| 100 | 1 kΩ | 4.7 kΩ | 2.2 µF | 55.4% |
| 500 | 1 kΩ | 4.7 kΩ | 470 nF | 55.4% |
| 1000 | 1 kΩ | 4.7 kΩ | 220 nF | 55.4% |
| 2000 | 680 Ω | 2.2 kΩ | 220 nF | 60.4% |
For a 2 mm lead ball screw driving the electrode, one step of a 1.8° stepper (200 steps/rev) advances the electrode by 10 µm. With microstepping at 1/8 step, resolution drops to 1.25 µm - more than adequate for hobby EDM where final surface finish is typically 1.6-3.2 µm Ra.
Gate Drive Design with IR2110 and HEXFET Family
The IR2110 from Infineon is a high-voltage, high-speed power MOSFET and IGBT driver with independent high-side and low-side referenced output channels. It accepts TTL/CMOS logic inputs (3.3 V and 5 V compatible) and produces gate drive up to 20 V. Internal deadtime generation prevents shoot-through in half-bridge configurations, which is irrelevant for a single low-side switch but useful if you scale up to a full H-bridge or push-pull topology.
Key design constraints when using the IR2110 to drive an EDM switching MOSFET:
- Bootstrap capacitor sizing: The high-side channel uses a charge pump referenced to the source pin. For a low-side-only design this is not used, but tying Vb to Vcc with a 100 nF bypass capacitor simplifies the layout. Reference the IR2110 datasheet for bootstrap diode selection (UF4007 or MUR120 work for frequencies under 10 kHz).
- Gate charge management: A large HEXFET such as the IRFP260N (Qg = 170 nC typical) draws significant transient current from the gate driver. The IR2110 sources/sinks 2 A peak, which is sufficient but requires a low-impedance gate trace and a 10 Ω gate resistor to damp ringing.
- Isolation: For bench testing, the IR2110 can share ground with the logic controller. For production, add an optocoupler (HCPL-3120 or similar) on the input to break ground loops between the noisy spark return path and your 555 timer circuit.
- Deadtime and shoot-through: If you implement an H-bridge for bipolar workpiece drive, program the IR2110 deadtime to at least 500 ns to prevent cross-conduction during switching transitions.
Alternative gate drivers for lower-current applications include the TC4427 (single inverting + non-inverting, 1.5 A peak) and the UCC27324 (dual 4 A peak). The TC4427 is adequate for hobby machines where the switching MOSFET has Qg under 50 nC.
Commercial Reference: Elox Pulsed-Arc Topology
Historical Elox sinker EDM power supplies used 8 power bipolar transistors in parallel to switch the spark current. Each transistor carried roughly one-eighth of the peak arc current, and emitter-balancing resistors ensured roughly even current sharing. The control logic was implemented with 4000-series CMOS gates - a 555-equivalent astable fed a counter chain that drove the transistor bases through individual base resistors.
This topology is informative for two reasons:
- Parallel devices distribute thermal load: Eight transistors in a TO-3 or TO-218 footprint dissipate heat far more easily than a single device. The kickback topology described above should consider paralleling two or four MOSFETs if the average spark current exceeds 20 A.
- Simple CMOS control is sufficient: Modern hobby builders reach for microcontrollers, but the original Elox designers proved that a 555 timer and a handful of CMOS gates can run a production EDM. Stick with simple analog and 4000-series logic unless you need adaptive spark control.
Electrode Positioning: Stepper vs Servo Trade-Off
Electrode feed is the second half of any EDM system. The electrode must maintain a gap of roughly 0.01-0.05 mm against the workpiece - too close causes a short circuit, too far extinguishes the spark. The control loop runs at the stepper rate (typically 100 Hz to 1 kHz), making EDM one of the few machine tool applications where a stepper can outperform a budget servo.
| Criterion | Stepper (2-phase or 5-phase) | DC or Brushless Servo |
|---|---|---|
| Open-loop accuracy | Excellent (1-2 arc-min, no feedback needed) | Requires encoder; closed-loop only |
| Missed steps / stall | Possible under heavy load | Cannot stall - encoder closes loop |
| Response time | Slower (ramp tables needed) | Fast (<1 ms) |
| Cost (hobby scale) | $15-$60 for motor + driver | $80-$300 for motor + encoder + drive |
| Complexity | Step + direction signals only | PID tuning, encoder wiring, EMI shielding |
| Failure mode | Loss of position on stall | Faults out cleanly, holds position |
| Best fit | Hobby / light industrial EDM | Production / precision wire EDM |
For a hobby sinker EDM with a 1-2 kg ram and a 2 mm ball screw, a NEMA 23 stepper with 1.8° steps delivers approximately 10 µm per step resolution, which is well below the typical 25 µm gap spacing. Microstepping at 1/8 or 1/16 brings resolution to 1.25 µm or 0.625 µm respectively. The dithering and over-running behavior reported with DC gear motors (such as the Maxon style used in some hobby plans) is largely avoided with stepper drives because each step is a discrete, commanded motion.
Industrial machines and high-precision wire EDM overwhelmingly use linear servos with glass-scale encoders for sub-micron positioning, but the cost and tuning effort are not justified for a single-purpose hobby machine.
Inductor vs Capacitor for Spark Energy Storage
A frequently raised question is whether the energy-storage element should be inductive or capacitive. Both work, but they behave differently.
-
Capacitive storage (RC relaxation, pulsed RC): Energy is
E = ½ × C × V². The capacitor dumps its entire charge into the gap in microseconds, producing a sharp current spike. This produces fine surface finish but recast layer is thick and the electrode wears faster. Spark initiation requires random breakdown - the original RC problem. -
Inductive storage (kickback): Energy is
E = ½ × L × I². The inductor forces current to ramp gradually; when the switch opens, the energy transfers into the gap over a longer pulse width. The spark is more forgiving and the dielectric has time to de-ionize between pulses, reducing short circuits.
Modern industrial machines use capacitive storage with controlled switching (IGBT opening after a fixed on-time), which combines the surface finish of capacitive discharge with the timing precision of pulsed arc. The kickback topology described in this article is a middle ground that hobby builders can implement with a single MOSFET and a hand-wound toroidal inductor.
Step-by-Step Build Procedure
The build assumes a hobby-scale sinker EDM with a 100-200 mm Z-axis travel, a 2 mm lead ball screw, and a 5-10 liter dielectric tank.
Mechanical Pre-Build
- Assemble the Z-axis: ball screw, linear rails, NEMA 23 stepper mount, anti-backlash nut. Verify end-to-end motion is smooth with no binding over the full travel.
- Mount the dielectric tank. EDM dielectric oil (commonly EDM 110 or a light viscosity mineral oil) should fully cover the workpiece and at least 10 mm of the electrode.
- Install the electrode holder with a collet or set-screw mount sized for the electrode shank. Brass, copper, and graphite are common electrode materials; copper-tungsten is premium.
- Wire a ground lug from the workpiece table directly back to the spark supply negative terminal. Use 6 mm² (10 AWG) stranded copper - the spark return current is significant.
Power Supply Build
- Mount T3 and T4 on the chassis with adequate clearance. Wire the 120/240 VAC primaries through a fuse and an interlock switch.
- Connect the secondaries in series, observing polarity. Verify with an AC voltmeter that the series output is the sum (not the difference) of each secondary: 30 + 30 = 60 VAC nominal, 84 VAC peak.
- Mount BR1 and BR2 on a heatsink. Each bridge rectifier dissipates up to 25 A × 1.4 V = 35 W at full load - thermal compound and forced-air cooling are recommended.
- Wire the capacitor bank (C1 through C6) across the rectified output. Observe polarity.
- Install the bleeder resistor string R2-R6 (1 MΩ each, 5 in series = 5 MΩ total). This discharges the bank to a safe voltage within 30 seconds of power-off.
Spark Generator Board
- Assemble the MOSFET-inductor kickback stage on a perfboard or etched PCB. The inductor can be hand-wound on a ferrite toroid - 30 turns of 14 AWG enameled wire on a T184-26 core yields approximately 80-120 µH.
- Mount the load resistor (50-500 Ω, 100 W) across the spark gap terminals. This protects the MOSFET when the gap is open.
- Wire the IR2110 gate driver per the datasheet's typical low-side application. Connect LIN to your 555 timer output through a 1 kΩ series resistor.
- Add a 10 Ω gate resistor and a 100 kΩ gate-to-source pulldown to ensure the MOSFET stays off during power-up transients.
Control Board
- Build the 555 astable per the step rate you selected (see table above). Output drives the stepper driver DIR/STEP inputs.
- Wire the two comparators (LM393 or LM319) to monitor the capacitor bank voltage through a 10:1 divider. Reference voltages set the UP and DOWN thresholds.
- Comparator outputs gate the stepper UP and DOWN direction logic. Use a simple diode-AND or a small PIC/Arduino to implement the three-state control (UP, HOLD, DOWN).
- Add an E-STOP button that cuts both AC mains and disables the stepper driver enable input.
Verification and Test Procedures
Before running the machine on a workpiece, execute the following checks in order. Do not skip steps - the kickback topology produces voltages well above the DC rail and can destroy the MOSFET if the gap is misconfigured.
- Open-circuit voltage check: With the electrode far from the workpiece, measure DC voltage across the gap terminals. Expect the rectified transformer voltage (40-84 VDC depending on transformer configuration). If voltage is zero, check the bleeder resistor string for a short.
- Load test with dummy resistor: Replace the gap with a 10 Ω / 100 W resistor. Run the 555 timer at low frequency (10 Hz) and verify the MOSFET gate pulses cleanly with an oscilloscope. Drain voltage should drop from V_supply to near zero during each on-time.
- Spark initiation test: Lower the electrode into oil until the gap is approximately 0.05 mm (a feeler gauge helps). Apply power. You should hear a rapid series of clicks or hissing, and the drain waveform on the scope should show sharp negative spikes coinciding with each spark.
- Polarity verification: After 60 seconds of running, lift the electrode and inspect the workpiece. A small discolored spot confirms the workpiece was the anode (correct polarity). If the electrode shows heavy pitting and the workpiece is unmarked, reverse the supply leads.
- Feed calibration: Command the stepper to advance 10 mm via the manual jog input. Measure actual travel with a dial indicator. Adjust the steps-per-mm in the controller if travel is off by more than 2%.
- Surface finish check: Make a 5 mm deep cut in mild steel with a copper electrode. Inspect the cavity wall under 10× magnification. Acceptable finish shows uniform pitting with no large craters or recast lumps.
Troubleshooting Matrix
| Symptom | Likely Root Cause | Diagnostic Step | Corrective Action |
|---|---|---|---|
| No spark, no click from gap | Gap too large, MOSFET not switching, or supply dead | Scope the MOSFET gate; measure supply rail | Verify 555 output, check gate resistor, confirm transformer output |
| Continuous arc, no pulsing | MOSFET stuck on, or gap shorted | Scope drain; check for weld between electrode and workpiece | Power off, separate electrodes, replace MOSFET if gate shorted |
| Mosfet overheating | Inadequate heatsink, or switching losses too high | Measure case temperature after 1 minute | Add heatsink, reduce switching frequency, parallel a second MOSFET |
| Erratic feeding, electrode chatters | Stepper stall from rapid direction changes | Listen for missed-step clicking | Add acceleration ramp, reduce step rate, check supply voltage to stepper driver |
| Slow cut rate | Gap too far, low pulse energy, contaminated oil | Measure on-time; inspect oil clarity | Increase peak current (larger inductor or higher V), filter or replace oil |
| Excessive electrode wear | Wrong polarity, or pulse energy too high | Verify workpiece is +; measure peak gap current | Reverse polarity if confirmed wrong, reduce on-time |
| Recast layer too thick | On-time too long, or off-time too short | Scope gap voltage | Reduce on-time below 50 µs, increase off-time to allow de-ionization |
| Dielectric oil smokes | Pulse energy too high or no flushing | Check oil temperature | Reduce peak current, add oil circulation pump |
Component Sizing Notes and Field-Proven Caveats
The values listed in the Langlois reference are starting points, not absolutes. Two field-proven adjustments consistently improve machine performance:
- C1 (main reservoir) often benefits from increasing to 4,700 µF or larger. A larger reservoir holds the rail voltage steady under heavy spark loading. The downside is higher inrush current through the rectifiers - consider an NTC thermistor in series with the primary to limit inrush.
- The 1 MΩ bleeder string must be rated for the full DC rail. Five 1/2 W resistors in series share the voltage drop roughly equally only if the resistance values are matched within 5%. Use 1% metal film parts, not 5% carbon film.
Safety Considerations
EDM power supplies combine mains voltage, stored DC energy at hazardous levels, hydrocarbon dielectric, and fine metal particulates. Observe these minimum precautions:
- Install a lockable main disconnect on the AC input. Tag-out the disconnect during any maintenance.
- Provide an E-STOP mushroom button that cuts AC mains and disables the stepper driver in a single motion.
- Ground the chassis, the workpiece table, and the transformer secondary common to a single star ground. Multiple ground paths create ground loops that inject noise into the comparator control.
- Vent the dielectric tank or use an oil with high flash point (above 130 °C). EDM oil that has been overheated degrades and can self-ignite.
- Wear safety glasses and avoid placing hands in the dielectric while power is applied. The spark erodes metal; it will erode skin and bone with equal enthusiasm.
FAQ
What voltage is needed to initiate an EDM spark?
Approximately 250-300 VDC is required to break down a 0.025 mm oil gap at typical EDM oil dielectric strengths (10 kV/mm). The kickback topology generates this voltage transiently from a 70 VDC rail by storing energy in the inductor and releasing it through the gap.
Can I use a single MOSFET instead of the eight-transistor Elox design?
Yes, for hobby-scale currents under 30 A average a single IRFP260N or similar 200 V / 50 A MOSFET is sufficient. Above 30 A average or for continuous-duty operation, parallel two or four MOSFETs with individual gate resistors to share current and thermal load.
Why does my RC-type EDM miss spark cycles?
RC relaxation circuits rely on statistical dielectric breakdown. Once the gap has just sparked, the ionized gas requires time to de-ionize; if the capacitor recharges before the gap recovers, no spark occurs. Pulsed-arc circuits sidestep this by forcing a spark at every cycle via a timed switch.
Should I use a stepper or servo for electrode feed?
For hobby-scale machines with a 1-2 kg ram and a 2 mm ball screw, a NEMA 23 stepper with microstepping gives 0.6-1.25 µm resolution and is simpler than a servo. Servos become worthwhile only when you need sub-millisecond response to short-circuit conditions or when running wire EDM at production speeds.
What dielectric oil should I use?
Use a dedicated EDM dielectric oil such as EDM 110, or a low-viscosity mineral oil with high flash point (above 130 °C) and good oxidation stability. Avoid hydraulic oils, cooking oils, and transformer oils - they either smoke at low temperatures or release toxic fumes when arced. Filter the oil between sessions to remove suspended metal particles that can bridge the gap and cause short circuits.