This repository contains the complete documentation, mechanical specifications, and system architecture for a compact, low-cost, desktop Wire Electrical Discharge Machining (Wire EDM) platform. Developed as a scalable alternative to industrial-grade machinery, this project delivers micro-machining capabilities for conductive materials within small-scale workshops, research facilities, and academic laboratories.
🌐 Launch Live Digital Twin & Simulator Dashboard
- Project Overview
- System Architecture & Methodology
- Hardware Component Specifications
- Experimental Setup & Verification
- Live Digital Twin & Simulator Dashboard
- Future Research Scope
Wire Electrical Discharge Machining (WEDM) is an advanced, non-traditional precision manufacturing technique that erodes material from an electrically conductive workpiece using controlled thermal energy generated by high-frequency electrical sparks.
Conventional industrial WEDM systems are physically massive, cost-prohibitive, and require extensive industrial infrastructure. This barrier limits direct access for small workshops, rapid prototyping facilities, and hands-on engineering education.
We developed a scalable, budget-friendly desktop Wire EDM prototype utilizing:
- High-density 3D-printed structural framing to maintain portability and minimize fabrication costs.
- Open-source CNC motion firmware running on standard microcontroller hardware.
- A custom-designed, high-frequency pulsed power switching circuit using insulated-gate bipolar transistors (IGBTs) to generate uniform erosion sparks.
The physical realization of the prototype is achieved through five primary technical milestones:
- Mechanical Structure & Reinforcement: The external machine framework is constructed via high-density 3D-printed PLA components. To eliminate mechanical flex and absorb vibrations during precision motion tracks, the frame is structurally reinforced with heavy-duty Grade SS304 stainless steel linear guide rods to maintain rigid axis alignment.
- Motion Control System: Coordinated multi-axis positioning is managed via an Arduino Uno microcontroller running optimized CNC firmware paired with micro-stepping motor drivers to execute stable, synchronized toolpaths.
-
Pulsed Spark Generation Circuit: A custom-engineered IGBT-based switching circuit regulates electrical energy delivery directly across the dynamic machining gap. Pulse-on time (
$T_{on}$ ), pulse-off time ($T_{off}$ ), and wave frequency ($f$ ) are managed via high-frequency Pulse Width Modulation (PWM) from a secondary timing core. - Dielectric Submersion System: A specialized work tank maintains complete fluid immersion of the cutting zone using deionized water. This medium cools the boundary layer, stabilizes spark gaps, and flushes microscopic eroded debris to prevent wire short-circuits.
- System-Level Validation: Coordinated trials verify systemic synergy where the motion stage accurately tracks geometric toolpaths while submerged under active high-voltage discharge load settings.
| Component | Key Specifications | Function | Qty |
|---|---|---|---|
| Arduino Uno | ATmega328P processor, |
Central logic controller; translates toolpath strings and outputs gate switching signals. | 1 |
| Spark Generator | Custom PCB, IGBT switching topology, PWM pulse width modulation | Directs high-frequency, regulated spark bursts across the toolhead discharge gap. | 1 |
| 60V DC Power Supply | Output: |
Delivers the high-voltage reservoir charging line for electrical erosion pulses. | 1 |
| NEMA 17 Stepper Motor |
|
Primary motion actuators driving synchronized linear positioning stages. | 4 |
| 24V SMPS | Output: |
Distributes stable low-voltage logic power to motors, shields, and auxiliary electronics. | 1 |
| Stainless Steel Rods | Material: Grade SS304, Diameter: |
High-precision parallel linear guide rails establishing geometric accuracy. | — |
| PLA Filament | Diameter: |
Material used to print lightweight, structural frames and housing enclosures. | |
| Brass Wire | Diameter: |
Continuous tool electrode fed past parts to erode shapes without tool wear errors. | 1 Spool |
| Workpiece Vice | Corrosion-resistant jaws, adjustable adjustable mounting bracket | Rigidly anchors target metal components under full dielectric submersion. | 1 |
System validation metrics were confirmed across three independent milestone procedures:
- Control Interface: Driven using LaserGRBL software mapping coordinate parameters.
- Positional Execution: Commanded through complex grid arrays, diagonal trajectories, and specialized splines. All axes responded with smooth travel, true orthogonality, accurate steps-per-millimeter scaling, and zero position drift upon returning to home reference zero.
- Gate-switching responses were evaluated across varying PWM duty cycle loops using an Arduino diagnostic interface and a localized text LCD readout panel.
- Testing confirmed highly stable pulse loop execution, rapid IGBT thermal switching dissipation, and clean, uniform spark timing windows with no erratic voltage shorting or tracking degradation.
- Target Material: Conductive Aluminium Workpiece.
- Operation: Physical cutting trials initiated visible, uniform spark streams through the deionized water chamber along programmed toolpaths. Continuous, gradual material erosion was achieved without manual interruptions, excessive frame resonance, or structural wire breakage.
This repository features a Live Interactive Digital Twin & Simulation Dashboard that runs directly in your browser. It serves as a visual and mathematical laboratory to model the EDM's performance before physical machining:
- Interactive EDM Motion Canvas: Load preset G-code trajectories (Grid, Gear, Waveform) and watch the wire electrode physically erode a virtual workpiece with high-frequency particle spark effects.
-
Virtual Oscilloscope (Oscillo-Lab): Real-time generation of switching signal waveforms (PWM Gate signal, Charging Capacitor Curve, and Gap Voltage) based on adjustable
$T_{on}$ and$T_{off}$ parameters. -
Telemetry & Material Performance Calculator: Instantly calculates critical metrics:
-
Erosion Frequency (
$f$ ):$f = \frac{1}{T_{on} + T_{off}}$ -
Erosion Duty Cycle (
$D$ ):$D = \frac{T_{on}}{T_{on} + T_{off}} \times 100%$ -
Material Removal Rate (MRR): Predicts rate of erosion based on spark energy (
$E = \frac{1}{2} C V^2$ ) and material thermal constants. - IGBT Thermal Dissipation: Monitors calculated heat loads of the custom PCB and flags warnings under dangerous high duty cycle states.
-
Erosion Frequency (
- Interactive System Explorer: An interactive block layout displaying mechanical and electronic components with structural parameters and function data on click.
Tip
Explore the Live Dashboard: To run the simulator and oscillscope right now, click here: Launch Live Digital Twin (or configure GitHub Pages under Settings > Pages in your repository).
To evolve the operational desktop prototype into an intelligent, industrial-grade micro-machining station, future development paths include:
- Closed-Loop Feedback Systems: Integration of digital optical encoders and real-time gap voltage monitoring sensors to auto-adjust feed rates dynamically relative to boundary conditions.
- Advanced Dielectric Filtration: Implementing multi-stage mechanical particulate filtration loops alongside active pressure flushing nozzles for accelerated debris removal.
- Mechanical Automation Enhancements: Engineering automatic wire tension monitors, auto-threading heads, and active wire-snap warning sensors.