1. Introduction
Processing by electrical discharge machining (EDM) with simultaneous ultrasonic (US) vibration of tool-electrode or workpiece is considered a hybrid variant (EDM+US) rather than merely assisted, because in this case, the ultrasonic component contributes directly to material removal and not only to creating favorable processing conditions as in case of ultrasonically aided machining. Thus, there are two components of this complex material removal mechanism: the first one is thermal, due to classical EDM, the second one is mechano-hydraulic, provided by the ultrasonic component – more precisely by the ultrasonically induced cavitation within the gap. This type of cavitation causes the collapse of gas bubbles in the working gap at the end of each ultrasonic period, respectively after the liquid stretching half-cycle, when the frontal gap begins to decrease due to the ultrasonic oscillation, the frontal tool surface movement toward the machined surface. The development of pressures on the order of hundreds of MPa causes the collective implosion of the gas bubbles – including, certainly, those formed around the plasma channel of the discharge. This is called cumulative microjets stage (CMS) that could be synchronized with the pulse duration and thus, molten material produced by discharge could be removed, increasing EDM efficiency, against usual EDM, where the most part of the melted material is resolidified because the gas bubble formed around plasma channel lasts long time after pulse end and dielectric liquid cannot removed it [
1].
This research approaching EDM+US enhanced performances has the current state of the art on the application of computer vision in EDM, as starting point, focusing on some key areas. The integration of computer vision into EDM has gained significant attention in recent years due to its potential to enhance process monitoring, defect detection, and hence quality control and finally, optimization. One of the primary applications of computer vision in EDM is real-time process monitoring. Usual EDM processes rely on electrical parameters such as voltage, current, and discharge frequency to monitor the machining process. However, these parameters alone may not provide a complete picture of the process dynamics. Computer vision systems, equipped with high-speed cameras and advanced image processing algorithms, can capture visual information about the discharge process, at microgeometric scale, including the shape, size, and distribution of discharge craters [
2].
Defect detection is another critical area where computer vision has been applied in EDM. Surface defects, such as micro-cracks, craters, and recast layers, can significantly affect the quality of the machined parts. Traditional inspection methods, such as manual inspection or coordinate measuring machines, are time-consuming and may not be suitable for real-time quality control. Computer vision systems offer a faster and more automated approach to defect detection. Tool wear is a significant concern in EDM, as it can affect machining accuracy and surface quality [
3]. Traditional methods for monitoring tool wear, such as measuring the weight loss of the electrode, are indirect and may not provide real-time information. Computer vision systems can directly observe the tool’s condition and provide real-time feedback on tool wear.
In EDM process, the machined surface is composed of numerous small, overlapping craters. The geometry of individual craters significantly affects the resulting surface characteristics. However, most existing crater-shape models fail to capture key features observed in practice, such as the raised rim surrounding the crater and the asymmetric bowl-like shape.
A geometric prediction model for micro-EDM surface morphology was developed by Hou et al. [
4], incorporating the stochastic characteristics of discharge crater size. The model uses the response surface method to correlate machining parameters with crater size distribution, characterized by normal probability density functions. Compared to models assuming fixed crater sizes, the proposed model reduces roughness prediction error by 1.01% and overall error by 18.97%, offering improved accuracy for predicting surface topography in micro-EDM applications.
A novel pulse-crater identification model for micro-EDM was developed by Yao et al. [
5], using in-process electrical signals to map discharge pulse types to crater morphology. The model employs machine learning, achieving prediction errors of 7.81%, 12.49%, and 18.82% for crater diameter, depth, and volume, respectively, with a cumulative material removal error of 1.64%. Applied to micro-EDM drilling, it predicts hole material removal volume with a 3.33% error, enhancing geometric precision control.
Çakıroğlu et al. [
6] investigated the impact of EDM machining parameters on keyway fabrication in Ti-6Al-4V alloy, focusing on discharge current, pulse on time, and pulse off time. Experimental results reveal that higher discharge current and pulse on time significantly increase material removal rate (MRR) and surface roughness (SR), while tool wear rate (TWR) decreases with longer pulse on time. SEM and EDS analyses highlight the formation of craters, cracks, and a heat-affected zone up to 60 μm deep due to the alloy’s low thermal conductivity. Predictive models using artificial neural networks (ANN) and regression analysis (RA) were developed, with ANN demonstrating superior accuracy in estimating MRR, TWR, and SR, supporting enhanced precision in industrial EDM applications.
Gonzalez-Sanchez et al. [
7] introduced an automated method for characterizing single craters in wire electrical discharge machining using advanced computer vision techniques. By fine-tuning the YOLOv8 model on a custom dataset, single craters are detected with high precision, while the Segment Anything Model accurately segments their contours without requiring further training. The study reveals that crater size and shape vary significantly with discharge energy, but wire diameter has minimal impact. The approach enhances sample size for statistical analysis, offering insights into WEDM process optimization, though limited to specific materials and wire types.
Using high-speed imaging in single-pulse EDM (copper tool, steel workpiece), Li and Yang [
8] revealed that arc plasma moves randomly at average speeds of 16–36 m/s with increasing range over time; cathodic workpiece polarity yields significantly faster and wider plasma movement, resulting in craters up to 50% larger, composed of overlapping pits and scattered nano-craters, whereas anodic polarity confines plasma mostly within the molten pool, producing compact bowl-shaped craters with smooth re-solidified rims; plasma movement intensifies with higher discharge current and narrower gap, is more restricted in oil dielectric than in air, and is strongly influenced by electrode end shape.
Experiments were performed by Feng et Wong [
9] to investigate the three-dimensional geometry of single craters produced by micro-EDM. Using experimental observations, a new geometric model is proposed that more accurately represents the actual 3D shape of individual craters. Two versions of the model are developed: a simplified uniform model and a more realistic non-uniform model that explicitly accounts for the raised rim and the asymmetry of the crater profile. Additionally, a method is presented for generating overlapping crater patterns by combining multiple instances of the non-uniform single-crater model. This approach successfully reproduces the main geometrical characteristics of real crater clusters found on micro-EDM machined surfaces.
Despite the promising results, several challenges remain in the application of computer vision in EDM. These include: the quality of images captured during the EDM process can be affected by factors such as debris, sparks, and the high-speed nature of the process.
Developing robust image processing algorithms that can handle these challenges is crucial. Real-time processing of high-speed camera images requires significant computational resources. Optimizing algorithms for real-time performance is essential for practical implementation. Integrating computer vision systems with existing EDM control systems can be complex. Developing seamless interfaces and communication protocols is necessary for effective integration.
4. Software Application
The number of craters and their dimensions, and distribution in images of surfaces processed by EDM with and without ultrasonic assistance is important for evaluation of microgeometry surface quality and its roughness. Lower dimensions of craters and uniform distribution suggest smoother, and more regular microgeometry, which is desirable for many applications requiring precision or wear resistance. Analyzing craters helps evaluate the efficiency of the EDM process. Ultrasonic assistance can influence material removal rates and surface finish. A relative lower crater size may signify improved process stability and energy efficiency, and this can affect the mechanical properties of the machined surface, such as hardness, fatigue resistance, and corrosion resistance. Excessive voids may indicate defects or weak points, impacting the material’s performance. By counting craters and their dimensions through image analysis, one can compare the effects of EDM with and without ultrasonics. This data helps optimize parameters like pulse duration, current, or ultrasonic frequency, and especially the power delivered on ultrasonic chain, to achieve desired outcomes. This also can influence the wear behavior of the tool electrode. Understanding craters size and their distribution aids in predicting tool life and maintenance needs. Image analysis could be used to quantify these features accurately, providing measurable data for statistical comparison and process refinement.
The images were analyzed through an application that comprises three interconnected classes forming modular architecture. The application is primarily built using Python as the programming language, leveraging computer vision and Graphical User Interface (GUI) libraries. This architecture emphasizes modularity with a sequential data pipeline, state management in the GUI class, and no additional external dependencies. The data processing pipeline executes sequentially: image loading and optional grayscale conversion, user-initiated calibration establishing the pixel-to-micrometer conversion factor, feature detection through one or both detection algorithms, geometric and intensity-based validation of detected features, quality score computation and filtering, visualization with color-coded annotations, and finally multi-format data export. State management is centralized in the GUI class which maintains references to the original image, binary masks from detection operations, lists of detected structures and lines, calibration parameters, and current selection state for individual feature highlighting.
In preprocessing stage, the algorithm begins by converting the input image to single-channel grayscale using OpenCV’s cvtColor function with the COLOR_BGR2GRAY flag [
20]. Gaussian blur is a smoothing technique applied to an image using a Gaussian function and is applied using a 3 x 3 kernel with the standard deviation of the Gaussian distribution sigma = 0 (automatically calculated), implementing the convolution: G (x, y) = (1/16)[1 2 1; 2 4 2; 1 2 1] * I (x, y). The formula shows how G (x, y) is computed through convolution: each output pixel is a weighted average of neighboring input pixels, using the kernel. This reduces high-frequency noise while preserving edge information critical for accurate contour detection. G (x, y) represents the output image (resulting blurred image). It is the pixel value at position (x, y) in the smoothed image. I (x, y) represents the input image (original image). It is the original pixel value at position (x, y) before blurring. The convolution replaces each I (x, y) with a linear combination of values from its 3 x 3 neighborhood.
Binary segmentation separates features from background using intensity thresholding. For dark features (craters), inverse binary thresholding is applied: B (x, y) = 255 if I (x, y) < T, else 0. For bright features (bubbles), standard binary thresholding is used: B (x, y) = 255 if I (x, y) > T, else 0. The threshold value T is user-configurable through a GUI slider (range 0 – 255 pixels).
Two morphological operations refined the binary mask. Opening operation (erosion followed by dilation) removes small isolated noise pixels using a 2 x 2 elliptical structuring element. The operation is defined as: (A ⊖ B) ⊕ B, where A is the binary image, B is the structuring element, ⊖ denotes erosion, and ⊕ denotes dilation. Closing operation (dilation followed by erosion) fills small holes within features using a 5 x 5 elliptical structuring element: (A ⊕ B) ⊖ B. The asymmetric kernel sizes ensure noise removal while preserving feature connectivity.
In image processing, the area of a shape (like a detected object or region) can be calculated efficiently for a closed polygon defined by contour points. The formula is a discrete application of Green’s theorem from vector calculus, which relates the area enclosed by a curve to a line integral. For practical computation on a set of ordered points (vertices of the polygon), it simplifies to the shoelace formula. Contours are extracted using the Suzuki-Kato border following algorithm (cv2.findContours with RETR_EXTERNAL mode), which traces only external boundaries and discards internal holes. Each contour is represented as a list of (x, y) coordinate pairs. Initial filtering rejects contours with area A < A
min or A > A
max, where area is computed using Green’s theorem:
where: A is the area of the enclosed region (in pixel units, assuming integer coordinates).
The sum is made over all consecutive pairs of points. Absolute value to ensure a positive area, 0.5 factor scales the double-area sum from Green’s theorem to the actual area. For a closed contour with n vertices (x
1, y
1), (x
2, y
2), … , (x
n, y
n), the last point connects back to the first ((x
n+1, y
n+1) = (x
1, y
1)). Circularity C was quantified for each contour as:
where A denotes the contour area (computed through Green’s theorem, as previously described) and P represents the perimeter length, estimated using the cv2.arcLength function from the OpenCV library [
20].
This dimensionless metric attains a value of 1.0 for a perfect circle and diminishes toward 0 for increasingly elongated or irregular geometries, thereby serving as an indicator of shape isotropy. Factor C could be decreased taking account of the inclination of machined surfaces examined at SEM. Nevertheless, contours with C < 0.1 were discarded, as such low values are characteristic of linear artifacts rather than the compact, circular features targeted in this analysis. Additionally, the convex hull H of each contour was derived employing Graham’s scan algorithm, implemented through the cv2.convexHull function. Solidity S, defined as the ratio of the contour area to the area enclosed by its convex hull,, was subsequently computed to assess structural compactness. Values of S approaching 1.0 signify convex, solid objects with minimal internal voids or indentations, whereas deviations below this threshold reflect pronounced concavities. Accordingly, contours with S < 0.3 were rejected to exclude highly irregular or fragmented detections, enhancing the specificity of the morphological characterization.
A binary mask M, initialized to zero and matching the dimensions of the input grayscale image I, was generated to delineate the interior region of each detected contour. The contour was subsequently filled using the cv2.fillPoly function from the OpenCV library, assigning a value of 255 to all pixels enclosed by the contour boundary.
The interior pixel intensities were then extracted as the set:
with the corresponding mean intensity computed as:
where N denotes the number of interior pixels [
21]. This regional mean was compared against the global mean intensity of the image:
with W and H representing the image width and height, respectively.
For dark structure detection (craters), candidate structures were rejected if μinterior ≥ 0.9 * μglobal, thereby retaining only features exhibiting sufficient contrast relative to the background. Conversely, for bright structure detection (bubbles), structures were rejected if μinterior ≤ 1.1 * μglobal, ensuring the preservation of features with adequate brightness enhancement over the surrounding region. This thresholding mechanism effectively filters out spurious detections while maintaining sensitivity to true morphological anomalies.
For each validated contour, spatial moments
M were computed utilizing the cv2.moments function from the OpenCV library, yielding centralized and normalized descriptors of the shape’s distribution. The centroid coordinates (c
x, c
y) were subsequently derived from the zeroth- and first-order moments as:
where M
00 represents the total area [
22]. The axis-aligned bounding rectangle was obtained with the cv2.boundingRect function, providing the coordinates (x
min, y
min) and dimensions (width, height) of the minimal enclosing box. The equivalent diameter
deq, defined as the diameter of a circle possessing equivalent area to the contour, was calculated:
Then the algorithm applies binary thresholding to isolate bright pixels: B (x, y) = 255 if I (x, y) > Tbright, else 0, where Tbright is user-configurable (default 184). Line segments are often fragmented due to varying intensity or surface irregularities. Three directional closing operations reconnect broken segments while preserving orientation information: Morphological closing with Kh = [[1 1 1 1 1 1 1 1 1 1 1] (11 x 1 rectangular kernel) connects horizontally-aligned segments. Morphological closing with Kv = [1; 1; 1; 1; 1; 1; 1; 1; 1; 1; 1] (1 x 11 rectangular kernel) connects vertically-aligned segments. Morphological closing with Kd = 7 x 7 elliptical kernel connects diagonally-oriented segments. The three resulting binary images are combined using bitwise OR: Blines = Bh | Bv | Bd.
Binary thresholding was subsequently applied to the grayscale input image to delineate bright pixels, yielding a binary map B defined B (x, y) = 255 if I (x, y) > Tbright, and 0 otherwise, where Tbright constitutes a user-configurable intensity threshold (default: 184). This value was selected to align for bright-object segmentation within scanning electron microscopy (SEM), thereby optimizing sensitivity to high-constrast linear features. Due to inherent intensity gradients or topographic variations in SEM acquisitions detected line segments frequently exhibit fragmentation. To mitigate this, three orientation-specific morphological closing operations were employed to bridge discontinuities while retaining directional fidelity: closing with a horizontal structuring element Kh comprising an 11 x 1 rectangular kernel [[1 1 1 1 1 1 1 1 1 1 1] for reconnecting collinear horizontal segments; closing with a vertical structuring element Kv as 1 x 11 rectangular kernel for vertical alignments; closing with a 7 x 7 elliptical structuring element Kd to coalesce diagonally oriented segments. The resultant binary images Bh, Bv and Bd from these operations were then amalgamated with pixel-wise bitwise OR to produce the consolidated line map Blines = Bh | Bv | Bd, ensuring comprehensive capture of multi-directional linear motifs without introducing extraneous artifacts.
The output binary image (combined mask) Blines highlights all detected features from the inputs. A pixel in Blines is 255 (white) if any of the input images has a white pixel at that location; otherwise, it’s 0 (black). This union ensures no features are lost during merging. The horizontal lines binary image Bh is typically the result of thresholding or edge detection focused on horizontal structures (from a Sobel operator in the x-direction). The vertical lines binary image Bv is similar to Bh, but for vertical structures (Sobel in the y-direction). The diagonal lines binary image Bd could represent lines at 45° or 135° angles (from diagonal Sobel kernels or Hough line detection). This multi-directional approach ensures line detection independent of orientation.
The bitwise OR operator | executes a pixel-wise logical disjunction across the input binary images, amalgamating the respective directional maps Bh, Bv and Bd into a unified line detection image Blines. For each aligned pixel position (x, y), the output value is set to 255 if at least one corresponding input pixel registers 255, whereas a value of 0 is assigned exclusively when all inputs are 0. This operation is particularly efficacious for binary imagery, circumventing saturation artifacts inherent to additive merging (pixel sum exceeding the 255 intensity ceiling in 8-bit representations), thereby preserving the integrity of the foreground union without introducing clipping or overflow distortions.
Morphological opening was applied to the binary line image Blines using a 3 × 3 elliptical structuring element Ksmall, effectively suppressing isolated noise pixels while maintaining the integrity of coherent linear structures. This operation is expressed as Bclean = (Blines ⊖ Ksmall) ⊕ Ksmall where ⊖ and ⊕ denote erosion and dilation, respectively. For each extracted contour in Bclean, the minimum bounding rectangle (MBR) was computed to yield the enclosing width WMBR and height HMBR. The effective line length L and width W were then derived as L = max (WMBR, HMBR) and W = min (WMBR, HMBR), respectively, assuming principal orientation alignment. The aspect R = L/W served as a quantitative metric of linearity. Post-extraction dimensional filtering was imposed to discard non-elongated contours, retaining only those satisfying L ≥ Lmin (default 30 pixels), W ≤ Wmax (default 15 pixels), and R ≥ Rmin (default 2.5).
The initial orientation of each validated contour was preliminarily assigned based on the dimensions of its axis-aligned bounding rectangle, classifying the structure as horizontal if the width W > H (height) and vertical otherwise. For contours comprising at least five vertices, a more accurate angular estimation was performed via least-squares line fitting, implemented through the cv2.fitline function with
L2 distance metric. This procedure yields a direction vector v = (v
x, v
y) from which the orientation angle
θ is derived as:
Orientation assignment was refined using angular thresholds: horizontal for θ < 45° or θ > 135°, and vertical for 45° ≤ θ ≤ 135°, thereby accommodating bidirectional ambiguities in line directionality. A binary mask
M, initialized to zero and dimensionally congruent with the input image
I, was generated and populated with the contour with cv2.fillPoly function, assigning 255 to enclosed pixels. The line-associated pixel intensities were then extracted as the set L
pixels = {I (x, y) | M (x, y) = 255}, enabling computation of the mean line intensity:
where
NL denotes the cardinality of
Lpixels. To mitigate false positives arising from aggregated noise clusters, only contours satisfying μ
line ≥ T
bright were retained, confirming that the candidate line exhibits sufficient elevational contrast relative to the predefined brightness threshold.
The calibration procedure necessitates the selection of two distinct points within the image, where the real-world separation
Dreal (in micrometers) is known and user-specified. User interactions via mouse clicks on the display canvas yield pixel coordinates (x
canvas, y
canvas). These are first mapped to the coordinate system of the rendered image through offset corrections accounting for canvas centering: x
img = x
canvas - x
offset, y
img = y
canvas - y
offset. The display scaling factor
sdisplay, accounts for potential downsampling or upsampling relative to the native resolution, is computed as follows:
The corresponding coordinates in the original, unscaled image are then obtained as x
orig = x
img/s
display, y
orig = y
img/s
display. This sequential affine transformation chain ensures metrical fidelity irrespective of rendering artifacts induced by variable canvas dimensions or zoom levels. The pixel-wise Euclidean distance
Dpixels between the transformed point pairs (x
orig,1 , y
orig,1) and (x
orig, 2 , y
orig, 2) is quantified as:
The calibration factor CF = Dpixels/Dreal (pixels per micrometer) is derived therefrom, facilitating isotropic conversion of all subsequent measurements: linear dimensions as Lμm = Lpixels/CF and areas Aμm2 = Apixels/CF².
The magnification tool dynamically monitors the mouse cursor position (x
mouse, y
mouse) on the primary display canvas, transforming these coordinates into the native pixel space of the original grayscale image through the inverse of the affine display mapping (encompassing offsets and scaling factors). A square subregion of side length
2Rmag is subsequently extracted from I, centered at the transformed position (x, y) as: I
region = I [y - R
mag : y + R
mag, x - R
mag : x + R
mag], where
Rmag is a user-adjustable parameter ranging from 100 to 250 pixels. For each validated structure identified by the crater and bubble detection algorithms, the centroid (c
x, c
y ) is evaluated for enclosure within the magnified bounds: x
start ≤ c
x ≤ x
end and y
start ≤ c
y ≤ y
end. Qualifying contours are remapped to local coordinates relative to the subregion origin via C
local = C
global – (x
start, y
start). These localized contours are overlaid onto
Iregion employing the cv2.drawContours function from the OpenCV library, with color-encoded visualization: green for crater detections, and yellow for bright-line identifications [
22]. The annotated subregion is then upsampled by a user-specified zoom factor
Z (ranging from 2.0 to 8.0) using nearest-neighbor interpolation:
This interpolation scheme was selected to maintain edge acuity and preclude blurring artifacts inherent to bilinear or bicubic methods, thereby facilitating precise on-screen inspection of fine morphological details.
6. Discussion
Analyzing all the data provided by CV of machined surfaces by EDM and EDM+US, for any values of delimiting thresholds, LT and HT, the ratio of normal discharges (the craters diameters between the two thresholds) from total discharges number was superior in some cases, even with more than 20%, at hybrid machining comparing to classic EDM, with an exemption. At the lowest pulse time, t
i = 24 µs, the stability at EDM is superior but still close to EDM+US. Apart from that, at simple EDM, they were in interval 41.46 - 63.22%. So, the ultrasonic component at hybrid machining raised the interval of considered stability at 56-78.26%. This could be explained by the effect of ultrasonically induced cavitation within the frontal gap at ultrasonic vibration of the tool-electrode that produces local pressure of 100 MPa order of magnitude. This decreases with the square of the distance from the place of the implosion to the current point [
27]. This phenomenon contributes to superior evacuation of removed particles from the gap and reduces significantly the false discharges between them and machined surfaces, reducing also the short-circuits and arcing determined by particles accumulation that were not enough evacuated from the gap in case of classic EDM [
1].
For certain working regimes, it can be observed that at classic EDM, most discharges could be false ones or delayed since they were in the interval inferior to that of normal discharges like at no. 5 and 13 probes. At homologous regime of hybrid machining, this similar interval was much reduced due to a better evacuation of the debris and reducing the situations of no ignition due to retraction of the tool.
The values of mean diameters were calculated from experimental data, only at craters produced by normal discharges, after discrimination through criteria from above, eliminating those supposed to be provided by false and short-circuit or arc discharges. They have increased values as expected, since pulse time increased in interval 24 – 420 µs, and consequently, discharges energies. These mean values will be used further for numerical simulations.
Comparing the craters dimensions at the two studied alloys, it could be noticed that these are greater in case of SOFT alloy, which denotes a higher machinability by EDM, first of all due to lower melting temperatures, T
m = 1345-1385°C [
28] against T
m = 1405-1420°C System NE [
29] as the others thermo-physical parameters are comparable: thermal conductivity, density (a slightly higher at NE, but compensated by Tm).
Finaly, the crater dimensions at US hybrid machining were smaller than homologous ones from classic EDM, excepting the cases with t
i = 24 µs. Even though it is supposed that US grows the removed volume by additional mechanical-hydraulic component from material removal mechanism, the shock waves oriented parallel to machined surface microgeometry could remove only the profile micropeaks, respectively the margins of the craters that have a sort of rims, consisted in melted material resolidified. Thus, the roughness of machined surface could be reduced [
1]. This advantage of mechanical removal process can be a benefit only if the consumed power on ultrasonic chain (
PcUS) that integrates also the tool-electrode at its end is optimized. The values used were P
cUS = 130 W for NE alloy hybrid machining, and P
cUS = 80 W, for SOFT alloy, corresponding to distinct values of ultrasonic pressure that produced Ra roughness decrease in agreement to numerical simulation results. This is justified by differences of resistance characteristics of the studied alloys.
The thermal component produced by EDM under conditions of ultrasonic hybridization becomes dominant only if the gas bubble formed around the plasma channel imploding at the final of any ultrasonic period, respectively at final of a stretching semiperiod (cumulative microjets stage – CMS) –
Figure 2, is overlapped on EDM pulse duration, position (b).
So, the hydraulic forces of dielectric liquid could remove the melted material by discharge from workpiece, after the bubble implosion. According to our experimental observations, the discharge could be stopped at the moment of CMS occurrence.
The modelling of ultrasonically induced cavitation in the working gap is focused on the total hydraulic pressure (
pht) created within the gap that was calculated with [
1]:
where:
c is sound velocity in dielectric liquid [m/s];
ρ - density of dielectric liquid, in this case the oil P3 [kg/m
3];
fUS - ultrasonic frequency [Hz];
A - amplitude of elongation
z, normal on machined surface [m]; ω = 2π f
US [s
-1]; p
hl - local hydraulic pressure [Pa]. In this case, the parameters values were: p
hl = 0.04MPa, ρ = 840 kg/m
3, K = 1.35 * 10
9 Pa (
K - bulk modulus), c = (K/ρ)
1/2 = 1267.7 m/s, A = 2 μm, f
US = 20 kHz.
The probability of producing this overlapping is presented in
Figure 3 – the ratio between number of intersections of black vertical lines and green zones on number of periods in a certain time interval. In our case, the ultrasonic period is T
us = 50 µs (at frequency 20 kHz). One can notice that at small pulse t
i = 24 µs, this probability is P = 50%, and at longer pulse time, like t
i = 95 µs; 190 µs; t
i = 420µs; t
o = 190 µs, P = 100%. But not all the discharges are considered normal. Therefore, to determine the potential of overlapping the CMS on pulse time, the ratio of normal discharges n
d on total number of discharges should be considered. So, for t
i = 24 µs, and n
d = 50%, the altered probability becomes, P* = P * n
d = 25%, and for the rest of longer pulse time, the mean value of n
d = 70%, so P* = P * n
d = 70%. Moreover, this overlapping could be produced several times during a pulse time, so, the effective pulse time, could cover several ultrasonic periods of T
us = 50 µs. When this overlapping is not possible, the thermal material removal process occurs normally as at classic EDM, position (a) in
Figure 2, only with mechanical-hydraulic component that takes off locally, the material in solid state at each final of T
us, contributing to surface roughness reducing as craters diameters decrease, pointed out experimentally (
Figure 3).
The ignition delay time to be for a semi-finishing regime of 12 A and an open-circuit (breakdown) voltage of 100 V, with the dielectric being a hydrocarbon-based transformer oil (P3), could be considered of around t
d = 20 µs [
30].
The experimental data pointed out the stability of EDM process is enhanced by US hybridization at longer pulse time, when the probability (P* ≈ 70%) by overlapping the CMS - collective implosion of gas bubbles, including the one formed around current plasma channel produced by discharge - over pulse duration. At lower pulse time, at decreased probability (P* ≈ 20%), the process occurs very similarly to classic EDM, so the stability of the hybrid one compared to the usual one, has no major benefits.
7. Numerical Simulation
Based on the experimental results discussed above, a numerical simulation of the US hybrid EDM process in comparison to classic EDM one is approached aiming at better understanding the complexity of phenomena that governs the material removal process. Comsol Multiphysics was used in the first stage, with modules of Heat Transfer in Solids, Time Dependent. A parameterized model was built with the values of technological parameters in
Figure 4. Plasma channel radius,
rcp was time dependent on pulse time according to the formula [
1]:
where:
I is current step [A];
ti – pulse time [µs].
The geometry was created in 2D axis symmetric dimensional space as it presented in
Figure 5, detailed in the interest zone.
A moving mesh associated with plasma channel time dependent is created, finer within the interest zone –
Figure 6.
Temperature distribution from
Figure 7 and
Figure 8 was obtained with boundary conditions specific to Snoeys and Van Dijck’s model of overheating above the boiling temperature, with around 200 - 300°C, due to high pressure during pulse time [
1,
31]. The other conditions were thermal insulation produced by the gas bubble formed around plasma channel, and cooling by temperature of dielectric liquid of 20°C in contact with periphery of workpiece. The coordinates of boiling isothermal, around 3000°C in case of CoCr alloys, indicating the crater radius under conditions of usual EDM, are in agreement with the experimental data, validating the model. After pulse time ends, due to sudden decrease of pressure within the gap, the material is removed bordered by boiling isothermal. For US hybrid machining, the pulse time was modified. In case of t
i = 190 µs, the number of overlapping CMS stage on pulse time is around four. Hence, the discharges could be stopped due to the high pressure of 100 MPa order within the gap, as our experimental observations pointed out. Consequently, the pulse duration could be fragmented by any final of an oscillation period of t
i = 50 µs (vertical black lines intersecting the green zone in
Figure 4). Taking into account the delay time at ignition, of around t
d = 20 µs, the fragmented pulse time could be t
i = 20 µs or even less, depending on the gap conductivity, facilitating the dielectric breakdown. These temperature distributions are presented in
Figure 9 and
Figure 10.
As one can notice, the coordinates for melting isothermal, denoting its radius pointed out that it is lower than in case of boiling isothermal considered at simple EDM, which is in accordance with experimental data that show the craters diameters are lower at US hybrid machining. This is only the effect of thermal component under ultrasonic conditions. Moreover, one can notice that in case of SOFT system, the craters dimensions are greater than in case of NE system alloy due to higher machinability through EDM, both at classic regimes and US hybrid ones.
The ultrasonic mechanical component is also involved in the frame of material removal mechanism, and for further understanding of this, another model for numerical simulation was built. The Comsol Multiphysics module of Solid Mechanics, Time Dependent in 2D Axis Symmetric dimensions was used. The specific additional parameters of this model are presented in
Figure 11.
The boundary conditions were boundary load on profile of microgeometry produced by local ultrasonic pressure, p
US, generated by CMS (a), and the fixed constraints due to the workpiece clamping device (b),
Figure 12.
The implosion time was calculated with Rayleigh formula, resulting in t
US = 0.8 µs [
27]. This is load of shear fatigue of the profile microgeometry that is more sensitive at its peak. The limit of ultimate tensile
τ0 at this type of loading was calculated with the relation [
1]:
where: σ
r is the ultimate static tensile for system SOFT and respectively, system NE (see
Table 2); replacing the corresponding values, it results τ
0 = 133.824 MPa for system SOFT, and τ
0 = 211.2 MPa for system NE.
The results obtained in case of those materials confirmed the experimentally distinctive values of consumed power, P
cUS = 130 W, used for NE allow, and P
cUS = 80 W, since they correspond to different values of ultrasonic pressure, respectively, p
US = 150 MPa, and p
US = 100 MPa. These values decreased the surface roughness R
z, so the depth of removed layer did not exceed the depth of the initial crater as it is presented in
Figure 13 for system NE, and
Figure 14 for system SOFT.
This could be explained by different resistance characteristics (see
Table 2), which is higher in case of system NE alloy compared to system SOFT.