Abstract
Spiral bevel gear is critical components in non-parallel axis transmission systems due to their high load-bearing capacity and smooth operational characteristics. However, traditional CNC milling processes for spiral bevel gear face limitations in dimensional constraints, installation conditions, and machining precision. To address these challenges, this study proposes an automatic programming machining process for spiral bevel gear in CNC milling machines. By optimizing controllable and uncontrollable cutting parameters, designing adaptive tool trajectories, and implementing automated programming, the machining accuracy and efficiency of spiral bevel gear is significantly improved. Experimental results demonstrate that the maximum tooth profile deviation of six tested spiral bevel gear does not exceed 0.5 mm, validating the feasibility and superiority of the proposed process.

Introduction
Spiral bevel gear play a pivotal role in industrial machinery, enabling efficient torque transmission between non-parallel shafts. Despite their advantages, conventional CNC milling techniques for spiral bevel gear suffer from prolonged machining cycles, low efficiency, and significant tooth profile deviations. Existing methods, such as the generating-based spiral gear milling process, fail to ensure high precision and interchangeability of machined gears. To overcome these limitations, this research introduces an automatic programming machining process tailored for spiral bevel gear. By integrating parameter optimization, trajectory planning, and automated code generation, this approach achieves high-precision, high-efficiency manufacturing of spiral bevel gear.
Machining Process Design
1. Cutting Parameter Design
The cutting parameters for spiral bevel gear machining are categorized into controllable parameters (e.g., cutting speed, feed rate) and uncontrollable parameters (e.g., tool geometry, material properties). The cutting speed vv is calculated as:v=nd0v=d0n
where nn is the tool spindle speed (rpm) and d0d0 is the tool outer diameter (mm). Recommended cutting speeds for different gear modules are listed in Table 1.
Table 1: Cutting Speeds for Spiral Bevel Gear
| Module Range (mm) | Rough Machining (m/min) | Finish Machining (m/min) |
|---|---|---|
| ≤10 | 25–30 | 30–40 |
| >10 | 12–20 | 15–25 |
Adjustments to cutting speed are necessary when tool geometry or manufacturing tolerances change. For instance, increasing the number of tool heads requires recalibrating vv to maintain optimal chip removal and surface finish.
2. Tool Trajectory Planning
The tool trajectory is determined using an elliptical cross-sectional curve derived from the tool’s installation angle θθ. The elliptical equation is expressed as:(x0−x2)2R2+(z0−z2)2cos2θR2=1R2(x0−x2)2+R2(z0−z2)2cos2θ=1
where (x0,z0)(x0,z0) and (x2,z2)(x2,z2) denote the initial and contact coordinates of the tool, and RR represents the elliptical tooth surface curvature. By discretizing the gear surface into intersecting planes, the tool path is generated to ensure full coverage of the tooth slot. Real-time adjustments to cutting depth and tool offset are made based on layer-specific width variations.
3. Automatic Programming Design
The CNC program comprises tool alignment/preparation and main/auxiliary machining subroutines.
- Tool Alignment: The workpiece coordinate system is established using MATLAB to align the tool’s reference point with the gear blank’s root cone plane. Default parameters for spindle speed, feed rate, and coolant flow are applied unless specified.
- Main/Auxiliary Programs: The main program controls the helical motion of the tool, while the auxiliary program manages indexing between gear teeth. Key code segments are summarized in Table 2.
Table 2: CNC Program Commands
| Code | Action |
|---|---|
| N95 | Return tool to initial position |
| N100 | Index gear teeth |
| R45 | Adjust spindle rotation |
| R47 | Control indexing mechanism |
| N15 | Loop cycles based on gear tooth count |
Experimental Validation
1. Experimental Setup
A pair of spiral bevel gear (large and small wheels) with geometric parameters listed in Table 3 were machined on a 5-axis CNC milling center.
Table 3: Geometric Parameters of Spiral Bevel Gear
| Parameter | Large Wheel | Small Wheel |
|---|---|---|
| Number of Teeth | 42 | 12 |
| Module (mm) | 4.03 | 4.03 |
| Face Width (mm) | 24.25 | 27.63 |
| Spiral Angle (°) | 32.15 | 49.07 |
Machining parameters, including vertical/horizontal offsets and tool radii, are detailed in Table 4.
Table 4: CNC Machining Parameters
| Parameter | Large Wheel | Small Wheel (Concave) | Small Wheel (Convex) |
|---|---|---|---|
| Vertical Offset (mm) | 0.00 | 20.83 | 24.65 |
| Horizontal Offset (mm) | 2.37 | -1.62 | 2.17 |
| Tool Radius (mm) | 83.49 | 62.46 | 62.85 |
2. Machining Steps
- Geometric Modeling: Input gear parameters into CAD/CAM software to generate a 3D model.
- Coordinate Calculation: Compute tooth surface coordinates using machining parameters.
- Trajectory Generation: Automatically generate tool paths based on cutting parameters and tool geometry.
- NC Code Generation: Convert trajectories into machine-readable G-code.
- Machining & Measurement: Execute machining and measure tooth profile deviations.
3. Results and Analysis
Six spiral bevel gear (CL-01# to CL-06#) were machined using the proposed method (Test Group) and two conventional methods (Control Groups 1 and 2). Tooth profile deviations were measured and compared (Figure 1).
- Test Group: Maximum deviation ≤ 0.5 mm.
- Control Group 1: Deviation range: 0.8–1.2 mm.
- Control Group 2: Deviation range: 1.0–1.5 mm.
The proposed process reduces deviations by 37–60% compared to conventional methods, enhancing contact accuracy and transmission stability.
Conclusion
This study establishes an advanced automatic programming machining process for spiral bevel gear, addressing the precision and efficiency gaps in traditional CNC milling. By optimizing cutting parameters, tool trajectories, and CNC programs, the maximum tooth profile deviation is constrained to 0.5 mm, significantly improving gear performance. Future work will focus on expanding this methodology to other complex gear types and integrating AI-driven real-time adjustments.
Formulas and Tables Recap
Key Formula:v=nd0(Cutting Speed)v=d0n(Cutting Speed)
Elliptical Trajectory Equation:(x0−x2)2R2+(z0−z2)2cos2θR2=1R2(x0−x2)2+R2(z0−z2)2cos2θ=1
Summary Tables:
- Table 1: Cutting speeds for different gear modules.
- Table 2: CNC program commands for machining.
- Table 3: Geometric parameters of test gears.
- Table 4: Machining parameters for CNC setup.
This comprehensive approach underscores the potential of automated programming in revolutionizing spiral bevel gear manufacturing, paving the way for smarter, more precise industrial machinery.
