I investigate surface integrity in gear machining by wire electrical discharge machining, usually abbreviated as WEDM, for non-circular gears. In my work, the central object is a Pascal snail-line gear, a representative non-circular gear whose pitch curve is not circular and whose transmission ratio varies continuously. This type of gear is important in gear machining because it can transform a constant input speed into a variable output speed, reduce unwanted torque fluctuations, and generate non-uniform motion without the bulk of a cam mechanism. I treat surface integrity not as a single number but as a multi-parameter state that includes surface morphology, surface roughness, surface residual stress, and surface microhardness. My purpose is to understand how WEDM parameters affect these responses in gear machining, how the responses should be weighted in a comprehensive evaluation, how they can be predicted, and how the process can be optimized for non-circular gear machining.

In conventional gear machining, surface roughness is often used as the only quality index. I find this insufficient for non-circular gear WEDM because residual stress and microhardness strongly influence fatigue, wear, load capacity, and service life. In my view, gear machining quality control should integrate geometric, mechanical, and metallurgical indicators. Therefore, I selected surface roughness \(R_a\), surface residual stress \(\sigma\), and surface microhardness \(\mu_h\) as the main quantitative responses, while surface morphology is used as a qualitative and semi-quantitative descriptor. I also keep the phrase gear machining central to every stage, because the final goal is not merely to cut a shape but to produce a functional non-circular gear surface.
Thermal mechanism of single-pulse WEDM. I begin with the single-pulse discharge mechanism because the continuous WEDM process in gear machining is built from many individual discharges. Each discharge ionizes the dielectric, forms a discharge channel, generates a high-temperature plasma, melts and vaporizes the workpiece material, and then expels molten material through pressure and dielectric flushing. The process is transient, nonlinear, and strongly coupled with temperature-dependent material properties. To describe it, I use the Fourier heat conduction equation in cylindrical coordinates:
$$ \rho c(T)\frac{\partial T}{\partial t}=\frac{1}{r}\frac{\partial}{\partial r}\left(\lambda(T)r\frac{\partial T}{\partial r}\right)+\frac{\partial}{\partial z}\left(\lambda(T)\frac{\partial T}{\partial z}\right)+Q(r,z,t) $$
Here, \(T\) is temperature, \(t\) is time, \(\rho\) is density, \(c(T)\) is specific heat capacity, \(\lambda(T)\) is thermal conductivity, and \(Q(r,z,t)\) is the internal heat generation rate. I assume that only one discharge channel is formed during a single pulse, that the channel is cylindrical, that the heat source follows a Gaussian distribution, that the workpiece is axisymmetric, and that the material is homogeneous and isotropic. Under these assumptions, the discharge channel radius can be estimated by an empirical relation:
$$ R(t)=2.04\times 10^{-3}I^{0.43}t^{0.44} $$
where \(I\) is the peak current in amperes and \(t\) is the pulse-on time. The Gaussian heat flux entering the workpiece surface is written as:
$$ q(r)=\frac{4.57\eta UI}{\pi R(t)^2}\exp\left(-4.5\frac{r^2}{R(t)^2}\right) $$
where \(U\) is the discharge voltage, \(\eta\) is the energy partition coefficient, and \(r\) is the radial distance from the discharge center. I use \(\eta=0.3\) for the workpiece side. The boundary condition on the top surface is:
$$ -k\frac{\partial T}{\partial z}=q(r)\quad \text{for } r\le R(t) $$
$$ -k\frac{\partial T}{\partial z}=h(T-T_0)\quad \text{for } r>R(t) $$
where \(k\) is thermal conductivity, \(h\) is the convection coefficient, and \(T_0\) is the ambient temperature. I used \(h=10000\ \mathrm{W/(h\cdot m^2\cdot K)}\) and \(T_0=22^\circ\mathrm{C}\). The material is 45 steel, which I selected because it is widely used in gear machining and mechanical transmission parts. Its thermal properties vary with temperature, so I input temperature-dependent conductivity and specific heat.
| Temperature (K) | Thermal conductivity (W/(m·K)) | Specific heat (J/(kg·K)) |
|---|---|---|
| 298 | 48 | 445 |
| 500 | 46 | 529 |
| 700 | 41 | 615 |
| 900 | 35 | 825 |
| 1028 | 25 | 1064 |
| 1100 | 26 | 827 |
| 1500 | 29 | 652 |
| 1809 | 29 | 822 |
| 3135 | 29 | 821 |
I modeled a \(120\ \mu\mathrm{m}\times 120\ \mu\mathrm{m}\times 100\ \mu\mathrm{m}\) quarter domain, used a \(5\ \mu\mathrm{m}\) mesh, and refined the discharge center. The simulation parameters are listed below. I varied peak current at a fixed pulse-on time and varied pulse-on time at a fixed peak current. This design links the thermal model directly to the experimental factors used later in gear machining.
| Voltage (V) | Peak current \(I\) (A) | Pulse-on \(t\) (\(\mu\)s) |
|---|---|---|
| 70 | 1 | 16 |
| 70 | 2 | 16 |
| 70 | 3 | 16 |
| 70 | 4 | 8 |
| 70 | 4 | 16 |
| 70 | 4 | 24 |
The simulated temperature fields show that heat is concentrated near the discharge center and decays rapidly in both radial and depth directions. When the pulse-on time is fixed, increasing peak current increases the maximum temperature and enlarges the molten zone. When peak current is fixed, increasing pulse-on time enlarges the discharge channel radius, lowers the peak heat flux, and reduces the maximum temperature, but the crater depth still grows because the heat acts for a longer time. I used the 1495°C melting point of 45 steel as a threshold to estimate the crater boundary.
| Condition | Peak current (A) | Pulse-on (\(\mu\)s) | Maximum temperature (°C) | Crater depth (\(\mu\)m) |
|---|---|---|---|---|
| Current series | 1 | 16 | 4285.1 | 5.52 |
| Current series | 2 | 16 | 5924.4 | 8.05 |
| Current series | 3 | 16 | 7002.4 | 9.60 |
| Pulse-on series | 4 | 8 | 8955.3 | 8.01 |
| Pulse-on series | 4 | 16 | 7890.5 | 10.57 |
| Pulse-on series | 4 | 24 | 7110.3 | 12.24 |
I interpret these results as follows: in gear machining by WEDM, peak current controls the intensity of each discharge, while pulse-on time controls the duration of energy input. Both change the crater volume and therefore affect surface integrity. This thermal understanding is the basis for the experimental analysis that follows.
Experimental design for non-circular gear machining. I designed a Pascal snail-line gear with module \(m=2\ \mathrm{mm}\), number of teeth \(z=40\), face width \(16\ \mathrm{mm}\), generating circle diameter \(18.521\ \mathrm{mm}\), and fixed length \(37.688\ \mathrm{mm}\). I used a DK7745 fast-wire WEDM machine, a molybdenum wire of \(0.18\ \mathrm{mm}\) diameter, emulsion dielectric, and 45 steel workpieces. The discharge voltage was fixed at 70 V. I selected four main process factors: peak current \(I\), pulse-on time \(T_{on}\), pulse-off time \(T_{off}\), and tracking level \(D\). Each factor was assigned four levels.
| Level | Peak current \(I\) (A) | Pulse-on \(T_{on}\) (\(\mu\)s) | Pulse-off \(T_{off}\) (\(\mu\)s) | Tracking level |
|---|---|---|---|---|
| 1 | 1 | 8 | 5 | 2 |
| 2 | 2 | 16 | 6 | 3 |
| 3 | 3 | 24 | 7 | 4 |
| 4 | 4 | 32 | 8 | 5 |
I used an \(L_{16}(4^5)\) orthogonal array so that I could study four factors at four levels with only sixteen runs. For each run, I measured surface roughness and morphology with an automatic zoom 3D surface measuring instrument, residual stress with X-ray diffraction, and microhardness with a Vickers microhardness tester. For roughness, I measured three positions and used the average after removing outliers. For residual stress, I followed a non-destructive X-ray stress measurement procedure. For microhardness, I used a load of 9.807 N and a holding time of 15 s. The Vickers microhardness was calculated as:
$$ HV=\frac{1854.4P}{d^2} $$
where \(P\) is the applied load and \(d\) is the mean diagonal length of the indentation. The experimental results form the core data set for my analysis of gear machining surface integrity.
| No. | \(I\) (A) | \(T_{on}\) (\(\mu\)s) | \(T_{off}\) (\(\mu\)s) | Tracking | \(R_a\) (\(\mu\)m) | \(\sigma\) (MPa) | \(\mu_h\) (HV) |
|---|---|---|---|---|---|---|---|
| 1 | 1 | 8 | 5 | 2 | 3.75 | 95.1954 | 356.4 |
| 2 | 1 | 16 | 6 | 3 | 3.92 | 101.1058 | 364.6 |
| 3 | 1 | 24 | 7 | 4 | 3.75 | 107.4910 | 375.0 |
| 4 | 1 | 32 | 8 | 5 | 3.61 | 114.3510 | 382.7 |
| 5 | 2 | 8 | 6 | 4 | 2.76 | 99.7800 | 368.0 |
| 6 | 2 | 16 | 5 | 5 | 3.09 | 106.2340 | 377.78 |
| 7 | 2 | 24 | 8 | 2 | 4.22 | 114.4910 | 391.95 |
| 8 | 2 | 32 | 7 | 3 | 5.56 | 121.3510 | 397.5 |
| 9 | 3 | 8 | 7 | 5 | 3.16 | 105.0054 | 381.5 |
| 10 | 3 | 16 | 5 | 4 | 4.28 | 110.4558 | 395.7 |
| 11 | 3 | 24 | 8 | 3 | 4.94 | 117.3809 | 415.1 |
| 12 | 3 | 32 | 6 | 2 | 6.06 | 147.7810 | 418.7 |
| 13 | 4 | 8 | 8 | 3 | 3.67 | 127.4054 | 390.3 |
| 14 | 4 | 16 | 7 | 2 | 4.11 | 156.8558 | 396.8 |
| 15 | 4 | 24 | 6 | 5 | 5.00 | 139.7009 | 422.6 |
| 16 | 4 | 32 | 5 | 4 | 6.35 | 170.1010 | 432.2 |
Morphology, roughness, residual stress, and microhardness in gear machining. The WEDM surface is composed of many overlapping craters, resolidified droplets, and small debris features. It differs from a mechanically ground or milled surface. In my morphology observations, low peak current and short pulse-on time produced smaller and shallower craters, while high peak current and long pulse-on time produced larger craters, thicker resolidified material, and a more irregular surface. This is directly relevant to gear machining because the tooth flank must maintain a lubricant film, resist contact fatigue, and avoid stress concentrations. A crater-like surface can store lubricant, but an excessively rough surface can become a crack initiation site.
I analyzed surface roughness using variance analysis and range analysis. The general sum of squares decomposition is:
$$ SS_T=\sum_{i=1}^{n}(y_i-\bar{y})^2 $$
$$ SS_A=\sum_{j=1}^{k}n_j(\bar{y}_j-\bar{y})^2 $$
$$ F=\frac{MS_A}{MS_E} $$
where \(SS_T\) is total sum of squares, \(SS_A\) is the sum of squares for factor \(A\), \(MS_A\) is its mean square, and \(MS_E\) is the error mean square. The range for factor \(j\) is:
$$ R_j=\max_i(\bar{K}_{ij})-\min_i(\bar{K}_{ij}) $$
where \(\bar{K}_{ij}\) is the average response at level \(i\) of factor \(j\). A larger \(R_j\) means a stronger effect on the response. The ANOVA result for surface roughness is shown below.
| Source | Type III sum of squares | df | Mean square | F | p |
|---|---|---|---|---|---|
| Peak current | 3.088 | 3 | 1.029 | 16.033 | 0.024 |
| Pulse-on | 10.970 | 3 | 3.657 | 56.964 | 0.004 |
| Pulse-off | 2.093 | 3 | 0.698 | 10.865 | 0.040 |
| Tracking | 2.794 | 3 | 0.931 | 14.508 | 0.027 |
| Error | 0.193 | 3 | 0.064 | — | — |
The range analysis for surface roughness gave the following order: pulse-on > peak current > tracking > pulse-off. If I optimize only surface roughness, the best combination is \(I=1\ \mathrm{A}\), \(T_{on}=8\ \mu\mathrm{s}\), \(T_{off}=8\ \mu\mathrm{s}\), and tracking level 5. This means that lower discharge energy and longer off-time produce a smoother tooth flank in gear machining.
| Factor | Level 1 mean | Level 2 mean | Level 3 mean | Level 4 mean | Range \(R\) | Rank |
|---|---|---|---|---|---|---|
| Peak current | 3.759 | 3.905 | 4.611 | 4.782 | 1.023 | 2 |
| Pulse-on | 3.335 | 3.850 | 4.476 | 5.396 | 2.061 | 1 |
| Pulse-off | 4.369 | 4.435 | 4.144 | 4.109 | 0.325 | 4 |
| Tracking | 4.535 | 4.522 | 4.283 | 3.718 | 0.817 | 3 |
The ANOVA result for surface residual stress shows that peak current and pulse-on time are significant, while pulse-off time and tracking are not significant at the chosen confidence level. The factor order is peak current > pulse-on > tracking > pulse-off. In gear machining, residual stress is critical because tensile stress can reduce bending fatigue resistance and promote crack propagation. I therefore prefer a parameter set that keeps tensile residual stress low.
| Source | Type III sum of squares | df | Mean square | F | p |
|---|---|---|---|---|---|
| Peak current | 4559.472 | 3 | 1519.824 | 28.792 | 0.010 |
| Pulse-on | 2038.992 | 3 | 679.664 | 12.876 | 0.032 |
| Pulse-off | 35.085 | 3 | 11.695 | 0.222 | 0.876 |
| Tracking | 372.559 | 3 | 124.186 | 2.353 | 0.250 |
| Error | 158.360 | 3 | 52.787 | — | — |
The range analysis for residual stress confirms that lower peak current and shorter pulse-on time reduce tensile residual stress. The best single-objective combination for minimum residual stress is again \(I=1\ \mathrm{A}\), \(T_{on}=8\ \mu\mathrm{s}\), \(T_{off}=8\ \mu\mathrm{s}\), and tracking level 5. This similarity with roughness optimization suggests that, in gear machining, reducing discharge energy is beneficial for both geometry and stress state, but it may conflict with productivity and hardness.
| Factor | Level 1 mean | Level 2 mean | Level 3 mean | Level 4 mean | Range \(R\) | Rank |
|---|---|---|---|---|---|---|
| Peak current | 104.54 | 110.46 | 120.16 | 148.52 | 43.98 | 1 |
| Pulse-on | 106.85 | 118.66 | 119.77 | 138.39 | 31.55 | 2 |
| Pulse-off | 120.49 | 122.09 | 122.68 | 118.41 | 4.27 | 4 |
| Tracking | 128.58 | 116.81 | 121.96 | 116.32 | 12.26 | 3 |
For microhardness, the ANOVA result shows that peak current and pulse-on time are highly significant, pulse-off is marginally significant, and tracking is not significant. The factor order is peak current > pulse-on > pulse-off > tracking. If I optimize only microhardness, the best combination is \(I=4\ \mathrm{A}\), \(T_{on}=32\ \mu\mathrm{s}\), \(T_{off}=8\ \mu\mathrm{s}\), and tracking level 4. This is opposite to the roughness and residual stress optima, because higher discharge energy produces a thicker recast layer and a more pronounced quench-hardened layer. The base material hardness was about 195 HV, while the WEDM surfaces ranged from about 356 HV to 432 HV. This hardening is caused by rapid heating and cooling, recast layer formation, and a heat-affected zone.
| Source | Type III sum of squares | df | Mean square | F | p |
|---|---|---|---|---|---|
| Peak current | 4087.973 | 3 | 1362.658 | 235.900 | 0.000 |
| Pulse-on | 2885.970 | 3 | 961.990 | 166.538 | 0.001 |
| Pulse-off | 143.563 | 3 | 47.854 | 8.284 | 0.058 |
| Tracking | 17.912 | 3 | 5.971 | 1.034 | 0.489 |
| Error | 17.329 | 3 | 5.776 | — | — |
| Factor | Level 1 mean | Level 2 mean | Level 3 mean | Level 4 mean | Range \(R\) | Rank |
|---|---|---|---|---|---|---|
| Peak current | 369.675 | 383.808 | 402.750 | 410.475 | 40.800 | 1 |
| Pulse-on | 374.050 | 383.720 | 401.163 | 407.775 | 33.725 | 2 |
| Pulse-off | 390.520 | 393.475 | 387.700 | 395.013 | 7.313 | 3 |
| Tracking | 369.675 | 383.808 | 402.750 | 410.475 | 40.800 | 1 |
The trade-off is clear. In non-circular gear machining by WEDM, high discharge energy increases microhardness but worsens roughness and residual stress. Low discharge energy improves roughness and residual stress but reduces surface hardening and may reduce material removal efficiency. Therefore, I cannot rely on a single-objective optimum. I must build a comprehensive evaluation and a multi-objective optimization framework.
Comprehensive evaluation of gear machining surface integrity. I normalized the response data before weighting because roughness, residual stress, and microhardness have different units and directions. For a smaller-is-better indicator, I used:
$$ x_{ij}=\frac{\max_i(y_{ij})-y_{ij}}{\max_i(y_{ij})-\min_i(y_{ij})}\times 0.998+0.002 $$
For a larger-is-better indicator, I used:
$$ x_{ij}=\frac{y_{ij}-\min_i(y_{ij})}{\max_i(y_{ij})-\min_i(y_{ij})}\times 0.998+0.002 $$
I then calculated subjective weights by the analytic hierarchy process. I built a three-level structure: the target is overall surface integrity in gear machining, the criteria are surface roughness, residual stress, and microhardness, and the alternatives are the process parameters. I used a pairwise comparison matrix:
$$ A=\begin{bmatrix}1 & 2 & 3\\ 1/2 & 1 & 1\\ 1/3 & 1 & 1\end{bmatrix} $$
The AHP weights, after consistency checking, were \(w_{AHP}=(0.5500,0.2402,0.2098)\). I also used the entropy weight method. The entropy procedure is:
$$ p_{ij}=\frac{x_{ij}}{\sum_{i=1}^{n}x_{ij}} $$
$$ e_j=-k\sum_{i=1}^{n}p_{ij}\ln p_{ij},\quad k=\frac{1}{\ln n} $$
$$ g_j=1-e_j $$
$$ w_j=\frac{g_j}{\sum_{j=1}^{m}g_j} $$
The entropy weights were \(w_{ENT}=(0.3251,0.2625,0.4124)\). To combine subjective and objective information, I used a game-theoretic combination weighting method:
$$ W=\lambda_1 W_1+\lambda_2 W_2 $$
$$ \min \left(\|W-W_1\|_2+\|W-W_2\|_2\right) $$
$$ \lambda_1^{*}=\frac{\lambda_1}{\lambda_1+\lambda_2},\quad \lambda_2^{*}=\frac{\lambda_2}{\lambda_1+\lambda_2} $$
$$ W^{*}=\lambda_1^{*}W_1+\lambda_2^{*}W_2 $$
The final combined weights were \(w=(0.4629,0.2489,0.2882)\). This means that surface roughness contributes 46.29%, residual stress 24.89%, and microhardness 28.82% to the comprehensive surface integrity of the non-circular gear. In my gear machining evaluation, roughness remains the largest contributor, but the mechanical and metallurgical terms together account for more than half of the total weight.
| Indicator | AHP weight | Entropy weight | Combined weight |
|---|---|---|---|
| Surface roughness \(R_a\) | 0.5500 | 0.3251 | 0.4629 |
| Surface residual stress \(\sigma\) | 0.2402 | 0.2625 | 0.2489 |
| Surface microhardness \(\mu_h\) | 0.2098 | 0.4124 | 0.2882 |
I used grey relational analysis for the comprehensive evaluation. The grey relational coefficient is:
$$ r_{ij}=\frac{\min_i\min_j|x_{0j}-x_{ij}|+\zeta\max_i\max_j|x_{0j}-x_{ij}|}{|x_{0j}-x_{ij}|+\zeta\max_i\max_j|x_{0j}-x_{ij}|} $$
where \(x_{0j}\) is the ideal normalized value, \(x_{ij}\) is the normalized value of run \(i\) and indicator \(j\), and \(\zeta=0.9\) is the resolution coefficient. The grey relational grade is:
$$ a_i=\sum_{j=1}^{n}w_j r_{ij} $$
A larger \(a_i\) means that the corresponding parameter set is closer to the ideal surface integrity. The results are summarized below.
| No. | \(r_{Ra}\) | \(r_{\sigma}\) | \(r_{\mu_h}\) | Grey grade \(a_i\) | Rank |
|---|---|---|---|---|---|
| 1 | 0.764 | 1.000 | 0.474 | 0.739 | 4 |
| 2 | 0.735 | 0.920 | 0.503 | 0.714 | 7 |
| 3 | 0.766 | 0.846 | 0.544 | 0.722 | 6 |
| 4 | 0.790 | 0.779 | 0.580 | 0.727 | 5 |
| 5 | 1.000 | 0.936 | 0.516 | 0.845 | 1 |
| 6 | 0.906 | 0.860 | 0.557 | 0.794 | 2 |
| 7 | 0.689 | 0.778 | 0.629 | 0.694 | 11 |
| 8 | 0.536 | 0.721 | 0.663 | 0.619 | 15 |
| 9 | 0.888 | 0.873 | 0.574 | 0.794 | 3 |
| 10 | 0.680 | 0.816 | 0.652 | 0.706 | 9 |
| 11 | 0.597 | 0.753 | 0.800 | 0.694 | 10 |
| 12 | 0.495 | 0.562 | 0.835 | 0.610 | 16 |
| 13 | 0.780 | 0.677 | 0.620 | 0.708 | 8 |
| 14 | 0.706 | 0.523 | 0.659 | 0.647 | 13 |
| 15 | 0.591 | 0.603 | 0.877 | 0.676 | 12 |
| 16 | 0.474 | 0.474 | 1.000 | 0.626 | 14 |
The highest grey relational grade is 0.845 for run 5, which corresponds to \(I=2\ \mathrm{A}\), \(T_{on}=8\ \mu\mathrm{s}\), \(T_{off}=6\ \mu\mathrm{s}\), and tracking level 4. In my evaluation, this is the best comprehensive surface integrity condition among the sixteen orthogonal runs. I also treated the grey relational grade as a new response and performed ANOVA on it. The result showed that pulse-on time is the most significant factor for overall surface integrity, while peak current, pulse-off time, and tracking are less significant. The order of influence on comprehensive gear machining surface integrity is pulse-on > tracking > peak current > pulse-off.
| Source | Type III sum of squares | df | Mean square | F | p |
|---|---|---|---|---|---|
| Peak current | 0.013 | 3 | 0.004 | 4.333 | 0.130 |
| Pulse-on | 0.044 | 3 | 0.015 | 14.311 | 0.028 |
| Pulse-off | 0.004 | 3 | 0.001 | 1.244 | 0.431 |
| Tracking | 0.021 | 3 | 0.007 | 6.915 | 0.073 |
| Error | 0.003 | 3 | 0.001 | — | — |
Prediction of surface integrity in non-circular gear machining. After evaluating the experimental data, I built prediction models for the three main responses. I used multiple nonlinear regression and a back-propagation neural network with the Levenberg-Marquardt algorithm. The input variables were peak current \(x_1\), pulse-on time \(x_2\), pulse-off time \(x_3\), and tracking level \(x_4\). The output variables were \(R_a\), \(\sigma\), and \(\mu_h\). My regression equations were:
$$ R_a=7.197+0.067x_1+0.293x_2-0.916x_3+1.655x_4+0.004x_1x_2+0.097x_1x_3+0.184x_1x_4+0.027x_2x_3+0.011x_2x_4+0.234x_3x_4-0.219x_1^2-0.002x_2^2+0.019x_3^2-0.110x_4^2 $$
$$ \sigma=0.514-9.419x_1+1.971x_2+28.687x_3+16.442x_4+0.388x_1x_2+2.197x_1x_3+4.263x_1x_4+0.047x_2x_3+0.221x_2x_4-2.915x_3x_4+8.719x_1^2-0.059x_2^2+1.201x_3^2+1.963x_4^2 $$
$$ \mu_h=108.871+126.298x_1+11.230x_2+71.875x_3-117.445x_4+0.407x_1x_2+0.739x_1x_3+0.974x_1x_4+2.113x_2x_3+2.411x_2x_4-6.876x_3x_4+27.066x_1^2-0.135x_2^2+4.096x_3^2-3.369x_4^2 $$
The regression models were highly significant, with coefficients of determination close to 0.997. I also built a BP neural network with a 4-10-3 architecture: four input neurons, ten hidden neurons, and three output neurons. I used a log-sigmoid transfer function and the Levenberg-Marquardt training algorithm. To select the hidden neuron number, I compared architectures from 8 to 12 neurons. The best balance of root mean square error and coefficient of determination was obtained at ten hidden neurons.
| Hidden neurons | RMSE | \(R^2\) |
|---|---|---|
| 8 | 15.9165 | 0.9978 |
| 9 | 16.8741 | 0.9970 |
| 10 | 9.5360 | 0.9979 |
| 11 | 24.4486 | 0.9970 |
| 12 | 19.0098 | 0.9970 |
I evaluated prediction accuracy using:
$$ RMSE=\sqrt{\frac{1}{n}\sum_{i=1}^{n}(t_i-o_i)^2} $$
$$ R^2=1-\frac{\sum_{i=1}^{n}(t_i-o_i)^2}{\sum_{i=1}^{n}(t_i-\bar{t})^2} $$
where \(t_i\) is the measured value and \(o_i\) is the predicted value. I validated both models with two additional WEDM runs. The results showed that both the nonlinear regression model and the BP neural network model can predict surface integrity with acceptable accuracy. The neural network was slightly better for some nonlinear interactions, while the regression model was more transparent and easier to interpret. For gear machining, this means that a trained model can be used as a virtual sensor before costly experiments.
| Validation run | Measured \(R_a\) | Predicted \(R_a\) | Measured \(\sigma\) | Predicted \(\sigma\) | Measured \(\mu_h\) | Predicted \(\mu_h\) |
|---|---|---|---|---|---|---|
| 1 | 2.175 | 2.317 | 111.540 | 104.796 | 347.783 | 351.697 |
| 2 | 5.692 | 5.509 | 137.892 | 151.501 | 410.930 | 429.692 |
Multi-objective optimization of gear machining parameters. Because roughness, residual stress, and microhardness conflict, I formulated a multi-objective optimization problem. I minimized surface roughness, minimized tensile residual stress, and maximized microhardness:
$$ \min f_1(x_1,x_2,x_3,x_4)=R_a(x_1,x_2,x_3,x_4) $$
$$ \min f_2(x_1,x_2,x_3,x_4)=\sigma(x_1,x_2,x_3,x_4) $$
$$ \max f_3(x_1,x_2,x_3,x_4)=\mu_h(x_1,x_2,x_3,x_4) $$
The constraints were based on the feasible WEDM window and practical gear machining limits:
$$ 1\ \mathrm{A}\le x_1\le 5\ \mathrm{A} $$
$$ 5\ \mu\mathrm{s}\le x_2\le 40\ \mu\mathrm{s} $$
$$ 4\ \mu\mathrm{s}\le x_3\le 10\ \mu\mathrm{s} $$
$$ 2\le x_4\le 5 $$
$$ \mu_h>195\ \mathrm{HV} $$
I solved this problem with the Snake Optimizer, a population-based metaheuristic inspired by snake foraging, fighting, and mating behavior. The algorithm first initializes a population:
$$ X_i=X_{\min}+r(X_{\max}-X_{\min}) $$
It then divides the population into male and female groups. The environmental conditions are temperature and food availability:
$$ Temp=\exp(-t/T) $$
$$ Q=c_1\exp((t-T)/T) $$
where \(t\) is the current iteration, \(T\) is the maximum iteration, and \(c_1=0.5\). If food quantity is low, the snakes explore randomly:
$$ X_i^{m}(t+1)=X_{rand}^{m}(t)\pm c_2 A_m\left((X_{\max}-X_{\min})r+X_{\min}\right) $$
$$ A_m=\exp(-f_{rand}^{m}/f_i^{m}) $$
If food is sufficient and temperature is high, the snakes move toward food:
$$ X_{i,j}(t+1)=X_{food}\pm c_3 Temp\, r\left(X_{food}-X_{i,j}(t)\right) $$
If temperature is low, fighting or mating occurs. The fighting update is:
$$ X_i^{m}(t+1)=X_i^{m}(t)\pm c_3 FM\, r\left(X_{best}^{f}-X_i^{m}(t)\right) $$
$$ X_i^{f}(t+1)=X_i^{f}(t)\pm c_3 FF\, r\left(X_{best}^{m}-X_i^{f}(t)\right) $$
The mating update is:
$$ X_i^{m}(t+1)=X_i^{m}(t)\pm c_3 M_m\, r\left(QX_i^{f}(t)-X_i^{m}(t)\right) $$
$$ X_i^{f}(t+1)=X_i^{f}(t)\pm c_3 M_f\, r\left(QX_i^{m}(t)-X_i^{f}(t)\right) $$
I set the population size to 80 and the number of iterations to 300. The optimization produced a Pareto set. A selection of the Pareto-optimal process parameters is shown below. These solutions are not a single answer but a trade-off map for gear machining.
| No. | \(I\) (A) | \(T_{on}\) (\(\mu\)s) | \(T_{off}\) (\(\mu\)s) | Tracking | \(R_a\) (\(\mu\)m) | \(\sigma\) (MPa) | \(\mu_h\) (HV) |
|---|---|---|---|---|---|---|---|
| 1 | 1.7 | 5.0 | 5 | 4 | 1.94269 | 92.45018 | 336.87705 |
| 2 | 1.0 | 5.3 | 5 | 3 | 2.50932 | 92.19239 | 333.07655 |
| 3 | 1.0 | 10.9 | 5 | 2 | 4.15098 | 93.57021 | 363.97465 |
| 4 | 1.5 | 5.9 | 5 | 3 | 2.90293 | 93.08206 | 351.48575 |
| 5 | 1.0 | 7.0 | 5 | 2 | 3.57300 | 95.38800 | 354.83500 |
| 6 | 1.3 | 6.2 | 5 | 3 | 2.85165 | 92.31482 | 346.60679 |
| 7 | 1.0 | 8.1 | 5 | 3 | 2.98028 | 91.20791 | 342.53495 |
| 8 | 1.3 | 12.3 | 5 | 2 | 4.48327 | 95.64862 | 376.83661 |
| 9 | 1.0 | 15.4 | 5 | 2 | 4.74228 | 93.02256 | 372.44140 |
| 10 | 2.5 | 13.9 | 8 | 5 | 4.04613 | 96.48486 | 401.49055 |
| 11 | 2.3 | 15.2 | 8 | 5 | 4.00055 | 97.07862 | 400.86829 |
| 12 | 2.2 | 12.7 | 8 | 5 | 3.70422 | 96.69747 | 391.02001 |
| 13 | 4.4 | 5.0 | 5 | 5 | 1.25696 | 114.23892 | 322.25680 |
| 14 | 1.0 | 6.4 | 5 | 4 | 1.69748 | 93.28556 | 320.00600 |
| 15 | 1.5 | 5.0 | 5 | 3 | 2.74525 | 93.32650 | 348.26375 |
| 16 | 1.0 | 12.0 | 5 | 2 | 4.30300 | 93.28300 | 366.25000 |
| 17 | 1.5 | 6.5 | 5 | 3 | 3.00625 | 92.95600 | 353.58425 |
| 18 | 1.0 | 8.5 | 5 | 2 | 3.80250 | 94.54125 | 358.54825 |
| 19 | 1.0 | 5.0 | 5 | 4 | 1.44100 | 93.47400 | 314.02100 |
| 20 | 1.2 | 5.0 | 5 | 3 | 2.58544 | 92.51548 | 339.11120 |
The Pareto set reveals a clear trade-off. Solutions with very low roughness and low residual stress tend to have lower microhardness, while solutions with high microhardness require higher discharge energy and usually produce higher roughness and more tensile residual stress. For gear machining, this means that parameter selection depends on the application. A precision instrument gear may prioritize low roughness and low residual stress, while a heavily loaded gear may accept a slightly rougher surface if the hardened layer improves wear resistance.
My overall interpretation. I found that WEDM is a viable and flexible method for non-circular gear machining. It can cut complex non-circular tooth profiles without a dedicated cutter, and it can process hard materials with good geometrical freedom. However, the surface integrity produced by WEDM is strongly dependent on discharge energy and flushing conditions. In my experiments, pulse-on time was the most influential factor for comprehensive surface integrity. Peak current was dominant for residual stress and microhardness. Pulse-off time and tracking were secondary, but they still affected process stability and surface consistency. The combination of low pulse-on time, moderate peak current, suitable pulse-off time, and stable tracking produced the best overall balance in my orthogonal array.
I also confirmed that surface integrity in gear machining cannot be represented by roughness alone. The weighted evaluation showed that residual stress and microhardness together contributed more than half of the total importance. If I had optimized only roughness, I would have selected a low-energy condition that did not maximize hardness. If I had optimized only hardness, I would have selected a high-energy condition that worsened roughness and tensile stress. The multi-objective Pareto approach is therefore more suitable for real gear machining because it exposes the trade-off rather than hiding it.
In future work, I would expand the factor space to include dielectric type, wire material, wire tension, workpiece thickness, and flushing pressure. I would also include gear mesh performance tests, such as contact fatigue, bending fatigue, wear, and corrosion resistance, to connect surface integrity directly to service life. I would also consider more advanced hybrid models that combine physics-based thermal simulation with machine learning, so that gear machining parameters can be adjusted in real time. My current study provides a systematic route from single-pulse thermal analysis to orthogonal experiments, comprehensive evaluation, prediction, and multi-objective optimization for non-circular gear WEDM.
