The manufacturing landscape for spur gears is undergoing a significant shift from dedicated machine tools towards more flexible manufacturing paradigms. Among these, multi-axis milling on machining centers stands out due to its exceptional process flexibility, gradually supplanting traditional dedicated methods such as hobbing and shaving. This technology demonstrates considerable techno-economic advantages in applications like rapid prototyping and remanufacturing of large-scale spur gears. However, a critical challenge persists in optimizing cutting parameters during gear milling. Non-optimal parameter combinations can induce severe fluctuations in cutting force amplitude. These dynamic load variations not only accelerate tool wear but also lead to the deterioration of machined surface quality. Given the strong correlation between milling forces and process parameters, establishing a high-precision predictive model for gear milling forces forms a crucial theoretical foundation for process optimization and quality assurance.
Within milling force modeling research, the accurate calculation of the Cutter-Workpiece Engagement (CWE) region is a pivotal factor influencing model precision. Current methodologies can be broadly categorized into discrete, analytical, and solid modeling-based approaches. Discrete methods, while computationally efficient, are inherently limited by discretization errors. Analytical methods offer a balance but face challenges in parameterization complexity and numerical stability, especially for complex surfaces like those found in spur gears. Solid modeling methods provide high accuracy but suffer from prohibitive computational costs as they often require the repeated generation of tool swept volumes and dynamic updates of the workpiece model, leading to a geometric increase in complexity with the number of tool positions.
This work addresses the CWE calculation problem in the ball-end milling of spur gears. To overcome the limitations of analytical methods in solving complex intersections and the precision shortcomings of discrete methods, a novel CWE extraction technique based on surface trimming is proposed. The core innovation lies in defining the CWE as a specific region on the tool’s surface bounded by three distinct curves and extracting it through a sequential surface trimming operation, avoiding the computationally expensive Boolean operations on complete solid bodies.

Kinematic and Geometric Modeling for Spur Gear Milling
In the milling process for spur gears, a unified machining strategy is applied to all teeth. The tool motion comprises two stages: precise positioning via feed motion along the tooth height direction, followed by material removal through cutting feed along the tooth width. To accurately characterize the relative motion between the tool and workpiece, a right-handed Cartesian coordinate system is established.
The Workpiece Coordinate System $\{S_W\}: o_W-x_Wy_Wz_W$ is rigidly attached to the gear. Its origin $o_W$ is located at the geometric center of the gear’s top face. The $y_W$-axis coincides with the symmetry line of the tooth profile, and the $z_W$-axis aligns with the gear axis. The $x_W$-axis direction is determined by the right-hand rule. The Feed Coordinate System $\{S_F\}: o_F-x_Fy_Fz_F$ has its origin $o_F$ coincident with the ball center of the ball-end mill. The $z_F$-axis is parallel to the normal vector $\mathbf{n}_k$ of the ideal involute surface, and the $x_F$-axis is parallel to the $z_W$-axis of $\{S_W\}$. The Tool Coordinate System $\{S_T\}: o_T-x_Ty_Tz_T$ has its origin $o_T$ also at the ball center. The $z_T$-axis aligns with the tool axis, pointing away from the workpiece. $\{S_T\}$ can be considered as $\{S_F\}$ rotated about its $x_F$-axis by an angle $\lambda_k$, defined as the tool inclination angle.
Assuming a stationary workpiece, the transformation matrix mapping a point from $\{S_T\}$ to $\{S_W\}$ is essential. The transformation from $\{S_T\}$ to $\{S_F\}$ is given by:
$$ \mathbf{M}_{TF} = \begin{bmatrix}
1 & 0 & 0 & 0 \\
0 & \cos\lambda_k & \sin\lambda_k & 0 \\
0 & -\sin\lambda_k & \cos\lambda_k & 0 \\
0 & 0 & 0 & 1
\end{bmatrix} $$
The transformation from $\{S_F\}$ to $\{S_W\}$, involving a translation to the cutter location point $L_{k,i}$ and rotations for alignment, is:
$$ \mathbf{M}_{FW} = \begin{bmatrix}
1 & 0 & 0 & 0 \\
0 & \cos\beta_k & -\sin\beta_k & 0 \\
0 & \sin\beta_k & \cos\beta_k & 0 \\
0 & 0 & 0 & 1
\end{bmatrix} \begin{bmatrix}
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
1 & 0 & 0 & 0 \\
0 & 0 & 0 & 1
\end{bmatrix} \begin{bmatrix}
1 & 0 & 0 & x_{L_{k,i}} \\
0 & 1 & 0 & y_{L_{k,i}} \\
0 & 0 & 1 & z_{L_{k,i}} \\
0 & 0 & 0 & 1
\end{bmatrix} $$
where $\beta_k$ is the tool tilt angle (set to 0 in this study), and $(x_{L_{k,i}}, y_{L_{k,i}}, z_{L_{k,i}})$ are the coordinates of the $i$-th cutter location point on the $k$-th tool path in $\{S_W\}$. The overall transformation is:
$$ \mathbf{M}_{TW} = \mathbf{M}_{TF} \mathbf{M}_{FW} $$
The coordinates of successive cutter locations along a path are related by the feed length $L_c$:
$$ \begin{bmatrix} x_{L_{k,i}} \\ y_{L_{k,i}} \\ z_{L_{k,i}} \end{bmatrix} = \begin{bmatrix} x_{L_{k,0}} \\ y_{L_{k,0}} \\ z_{L_{k,0}} \end{bmatrix} + \mathbf{L}_c $$
where $z_{L_{k,0}}$ is a constant.
The surface to be machined on the spur gear is an offset surface at a normal distance $T$ (semi-finishing allowance) from the theoretical involute surface. The mathematical model of the involute tooth profile is foundational. A point $P’$ on the basic involute profile has coordinates:
$$ \begin{cases}
x’ = \dfrac{r_b}{\cos \alpha} \sin(\Omega_S – \tan \alpha + \alpha), \\[10pt]
y’ = \dfrac{r_b}{\cos \alpha} \cos(\Omega_S – \tan \alpha + \alpha).
\end{cases} $$
Here, $\alpha$ is the pressure angle, $r_b$ is the base circle radius, and $\Omega_S = \pi/(2z) + \theta_n$, where $z$ is the number of teeth and $\theta_n = \tan(\alpha_n) – \alpha_n$ is the roll angle at the standard pitch circle pressure angle $\alpha_n$. The normal vector at $P’$ is:
$$ \mathbf{n}_\alpha = \begin{bmatrix} \cos(\tan \alpha – \Omega_S) \\ \sin(\tan \alpha – \Omega_S) \end{bmatrix}. $$
Therefore, the equation for the offset curve defining the finish-machined tooth profile of the spur gear is:
$$ \begin{cases}
x = \dfrac{r_b}{\cos \alpha} \sin(\Omega_S – \tan \alpha + \alpha) + T \cos(\tan \alpha – \Omega_S), \\[10pt]
y = \dfrac{r_b}{\cos \alpha} \cos(\Omega_S – \tan \alpha + \alpha) + T \sin(\tan \alpha – \Omega_S).
\end{cases} $$
This curve is extruded along the gear axis to form the target surface.
Tool Path Planning for Spur Gears
For the finishing milling of spur gears, it is assumed only the spherical part of the ball-end mill engages in cutting. Given that the feed motion along the tooth width is linear, the tool path planning simplifies to a two-dimensional problem in the plane perpendicular to the gear axis (the $x_Wy_W$ plane). The constant scallop-height method is employed to calculate successive cutter location points $L_{k,0}$ along the tooth profile direction.
The geometric relationship involves three key curves in the $x_Wy_W$ plane: the theoretical involute profile $\varepsilon_1$, its offset at a distance equal to the required scallop height $h$ denoted $\varepsilon_2$, and its offset at a distance equal to the tool radius $R$ denoted $\varepsilon_3$. For a current cutter location point $L_{k,0}$, the corresponding scallop point $G_{k,0}$ lies at the intersection of the tool circle (radius $R$ centered at $L_{k,0}$) and curve $\varepsilon_2$. The coordinates $(x_{G_{k,0}}, y_{G_{k,0}})$ satisfy:
$$ \begin{cases}
x_{G_{k,0}} = \dfrac{r_b}{\cos\alpha} \sin(\Omega_S – \tan\alpha + \alpha) + h \cos(\tan\alpha – \Omega_S), \\[10pt]
y_{G_{k,0}} = \dfrac{r_b}{\cos\alpha} \cos(\Omega_S – \tan\alpha + \alpha) + h \sin(\tan\alpha – \Omega_S), \\[10pt]
(x_{G_{k,0}} – x_{L_{k,0}})^2 + (y_{G_{k,0}} – y_{L_{k,0}})^2 = R^2.
\end{cases} $$
The next cutter location point $L_{k+1,0}$ is the center of a tool circle of radius $R$ that passes through point $G_{k,0}$ and is also tangent to curve $\varepsilon_3$. Its coordinates must satisfy:
$$ \begin{cases}
x_{L_{k+1,0}} = \dfrac{r_b}{\cos\alpha} \sin(\Omega_S – \tan\alpha + \alpha) + R \cos(\tan\alpha – \Omega_S), \\[10pt]
y_{L_{k+1,0}} = \dfrac{r_b}{\cos\alpha} \cos(\Omega_S – \tan\alpha + \alpha) + R \sin(\tan\alpha – \Omega_S), \\[10pt]
(x_{G_{k,0}} – x_{L_{k+1,0}})^2 + (y_{G_{k,0}} – y_{L_{k+1,0}})^2 = R^2.
\end{cases} $$
Starting from an initial point $L_{0,0}$, the system of equations above is solved iteratively to generate all cutter location points $L_{k,0}$ for the machining of the spur gear tooth flank. The $z$-coordinate for each path is constant, and the linear feed along the tooth width determines the points $L_{k,i}$ within each path.
| Parameter Type | Symbol | Description |
|---|---|---|
| Gear Geometry | $r_b$, $z$, $\alpha_n$ | Base radius, number of teeth, pressure angle. |
| Machining Allowance | $T$ | Semi-finishing stock (offset distance). |
| Surface Finish | $h$ | Required scallop height between passes. |
| Tool Geometry | $R$ | Radius of the ball-end mill. |
| Path Generation | $L_{k,0}$, $G_{k,0}$ | Cutter location point and its corresponding scallop point. |
Surface Trimming Method for CWE Extraction
The core of the proposed methodology is the extraction of the CWE region at a given cutter location point $L_{k,i}$ using surface trimming operations. The process focuses on the steady-state cutting region, excluding entry and exit transients. The CWE region $\text{CWE}_k$ on the spherical part of the tool at point $L_{k,i}$ is defined as a region bounded by three space curves $B_1$, $B_2$, and $B_3$, intersecting at points $P_1$, $P_2$, and $P_3$.
The fundamental idea is to approximate the tool’s cutting surface at the instant as a hemispherical surface $SS_k$ centered at $L_{k,i}$. The $\text{CWE}_k$ is then extracted by sequentially trimming this hemisphere using three surfaces that contain the boundary curves. This approach avoids modeling the entire tool swept volume or performing Boolean subtractions on the complex workpiece solid model.
Definition of Boundary Curves and Trimming Surfaces:
- Boundary Curve $B_1$: The intersection curve between the cutter surface (sphere $SS_k$) and the target finish surface of the spur gear (the involute offset surface $IS$). Trimming $SS_k$ with $IS$ divides it into a potential engagement region $\text{FCWE}_1$ and a non-engagement region.
- Boundary Curve $B_2$: The intersection curve between the cutter surface $SS_k$ and the surface left by the previous tool path ($k-1$). This previous path surface is approximated as a semi-cylindrical surface $HCS_{k-1}$, which is the sweep of the tool’s cutting profile along the previous linear path. Trimming the current result with $HCS_{k-1}$ further refines the engagement region to $\text{FCWE}_2$.
- Boundary Curve $B_3$: The intersection curve between the cutter surface $SS_k$ and a plane $FS_k$ defined by the current cutter location point $L_{k,i}$ and the feed direction vector. This plane represents the boundary of material that has not yet been removed by the current tool path $k$. The final trimming operation with $FS_k$ yields the precise $\text{CWE}_k$ region.
The trimming sequence is therefore: $SS_k \xrightarrow[\text{trim}]{IS} \text{FCWE}_1 \xrightarrow[\text{trim}]{HCS_{k-1}} \text{FCWE}_2 \xrightarrow[\text{trim}]{FS_k} \text{CWE}_k$.
Engagement Angle Calculation: Once the $\text{CWE}_k$ region is obtained as a trimmed spherical surface, the engagement angles (entry and exit angles) for cutting force prediction are calculated. A section plane $SP_i$ perpendicular to the tool axis $z_T$ is defined. The intersection of $SP_i$ with the 3D $\text{CWE}_k$ region yields a 2D arc on the plane. The angular limits of this arc, measured from a reference axis (e.g., the negative $y_T$ axis in a conventional milling model), define the instantaneous entry angle $\phi_{st}$ and exit angle $\phi_{ex}$.
A significant advantage of this surface-trimming approach is its efficiency in handling different tool orientations (tool inclination $\lambda_k$). Since the tool posture does not alter the topological definition of the boundary curves $B_1$, $B_2$, and $B_3$ relative to the workpiece, the same trimming sequence applies. To calculate engagement angles for a new tool orientation, one simply re-executes the trimming and sectioning operations in the new, rotated tool coordinate system $\{S_T\}$, without needing to recompute the fundamental path geometry or re-model the workpiece.
Validation, Simulation Results, and Performance Analysis
The proposed methodology was implemented using NX/Open API for geometric modeling and simulation. Its accuracy and computational efficiency were validated through a combination of simulated results and physical milling experiments on a spur gear.
| Category | Parameter | Symbol | Value |
|---|---|---|---|
| Workpiece (Spur Gear) | Module | $m_n$ | 6 mm |
| Number of Teeth | $z$ | 20 | |
| Pressure Angle | $\alpha_n$ | 20° | |
| Addendum Coefficient | $h_a^*$ | 1 | |
| Dedendum Coefficient | $c^*$ | 0.25 | |
| Semi-finishing Allowance | $T$ | 0.3 mm | |
| Tool | Ball-end Radius | $R$ | 3 mm |
| Helix Angle | $\beta$ | 15° | |
| Number of Flutes | $N$ | 2 | |
| Cutting Parameters | Feed per Tooth | $f_z$ | 0.05 mm/tooth |
| Tool Inclination Angle | $\lambda_k$ | 60° | |
| Scallop Height | $h$ | 0.03 mm |
Geometric Accuracy Validation: A physical spur gear was milled on a 5-axis machining center (DMU 50) using the parameters above. The machined surface exhibited clear boundary marks of the CWE region. The boundary curves on the workpiece were measured using a toolmaker’s microscope. The measured points for curves $P_1P_2$ and $P_2P_3$ from tool paths 2 and 4 showed excellent agreement with the corresponding curves extracted from the simulation model. Minor deviations were attributed to measurement errors and slight workpiece material deformation. The validation confirmed that the surface trimming method accurately captures the true geometric engagement region in the milling of spur gears.
Engagement Angle Results: For the given parameters, the calculated engagement angles at the selected cutter location point for tool path 2 were approximately $\phi_{st} \approx 125^\circ$ and $\phi_{ex} \approx 180^\circ$, resulting in an engagement width of $55^\circ$. For tool path 4, the angles were $\phi_{st} \approx 120^\circ$ and $\phi_{ex} \approx 180^\circ$, giving a $60^\circ$ engagement. These results demonstrate the varying engagement conditions along the tooth profile of the spur gear.
Computational Efficiency Analysis: The efficiency of the proposed surface trimming method was benchmarked against a conventional solid modeling-based method representative of the state-of-the-art (similar to the method in reference [11] of the source text). The solid modeling method requires constructing the full tool swept volume (a solid) for each tool motion increment and performing Boolean subtraction operations with the workpiece model, which must be updated dynamically. This leads to computationally expensive operations that scale poorly.
In contrast, the surface trimming method only involves constructing simple surfaces (sphere, cylinder, plane, offset involute surface) and performing surface-surface intersection and trimming operations, which are generally less computationally intensive than solid Boolean operations. A comparative test was conducted for calculating the CWE area for successive tool paths on a gear with a tool radius $R=2$ mm.
| Tool Path No. ($k$) | Surface Trimming Area (mm²) | Solid Modeling Area (mm²) | Relative Error (%) |
|---|---|---|---|
| 2 | 1.000821967 | 1.000860839 | -0.0039 |
| 4 | 0.998788367 | 0.998803806 | -0.0015 |
| 6 | 0.996226159 | 0.996191599 | 0.0035 |
| 8 | 0.992532688 | 0.992629893 | -0.0098 |
| 10 | 0.987684473 | 0.987808467 | -0.0126 |
| 12 | 0.979822484 | 0.979945277 | -0.0125 |
The table shows that the calculated CWE areas from both methods are in extremely close agreement, with relative errors well below 0.02%. This confirms that the surface trimming method does not sacrifice geometric accuracy.
More importantly, the computational time was significantly reduced. The surface trimming method demonstrated a consistent reduction in computation time of over 50% compared to the solid modeling approach across different tool paths. This efficiency gain becomes critically important when simulating long milling processes with thousands of tool positions, as is common in the machining of spur gears.
Conclusion
This paper presents a novel and efficient methodology for calculating the cutter-workpiece engagement region in the multi-axis ball-end milling of spur gears. The method is founded on a precise kinematic model and an accurate mathematical representation of the involute tooth profile. Its key contribution is the formulation of the CWE extraction as a surface trimming problem.
The CWE region is defined geometrically as a subset of the tool’s spherical surface bounded by its intersection with the target gear surface, the surface from the previous tool pass, and a plane representing the frontier of the current cut. By sequentially trimming a hemisphere representing the cutter with these three surfaces, the exact engagement region is extracted without the need for computationally expensive solid Boolean operations or complex parametric intersection solving required by pure analytical methods.
Experimental validation through physical milling of a spur gear confirmed the high geometric fidelity of the simulated CWE boundaries. Furthermore, a comparative performance analysis demonstrated that the proposed surface trimming method achieves computational efficiency superior to traditional solid modeling-based approaches while maintaining equivalent accuracy. The reduction in calculation time exceeds 50%, making it highly suitable for process simulation and cutting force prediction models where rapid evaluation of engagement conditions at numerous tool positions is essential.
This advanced method provides a robust and efficient geometric foundation for optimizing milling processes for spur gears, enabling better prediction of cutting forces, chatter stability, and surface quality, ultimately contributing to more reliable and productive gear manufacturing.
