In my work on the numerical control retrofit of a double-head straight bevel gear milling machine, I focused on one central problem: how to manufacture straight bevel gears with different tooth counts and gear ratios without changing mechanical change gears, without rebuilding the entire transmission train, and without losing the generating motion that gives straight bevel gears their correct tooth form. The original machine used a purely mechanical generating system. It produced straight bevel gears by a plane-gear principle, and its cradle and workhead motions were coupled through a complex train of shafts, worms, differentials, clutches, and change gears. That arrangement was reliable for a fixed production lot, but every new pair of straight bevel gears required new calculations, new change gears, and a long setup period. I replaced the critical mechanical generating train with four servo axes, two for the cradles and two for the workheads, and I configured the CNC system so that each workhead could interpolate with its cradle. The retrofit removed most of the mechanical transmission chain, improved the machining efficiency by about fifty percent, and brought the accuracy of the straight bevel gears to grade seven.

1. Why Straight Bevel Gears Require a Generating Motion
Straight bevel gears are used in differentials, final drives, machine tool drives, agricultural machinery, and many other transmissions where motion must be turned through an angle. The tooth surface of a straight bevel gear is not a simple copy of a milling cutter profile. Instead, it is generated by the rolling motion between the workpiece and a virtual plane gear. In the original machine, the cutter head represented one tooth of that virtual plane gear. The workpiece rotated about its own axis while also rotating around the cradle axis. The combination of these two rotations created the generating motion. When the cutter head rotated and the cradle and workhead moved in the correct ratio, the straight bevel gears were cut with a barrel-shaped tooth form.
The generating relation is the heart of the process. If the small pinion has tooth count \(z_p\) and the large gear has tooth count \(z_g\), then the workhead rotation for the pinion is related to the cradle rotation by the sine of the pinion pitch cone angle. For the large gear, the workhead rotation is related to the cradle rotation by the sine of the gear pitch cone angle. I wrote these relations in the retrofit program as follows.
$$
\theta_{w,p} = \frac{z_p}{\sqrt{z_p^2+z_g^2}}\theta_c
$$
$$
\theta_{w,g} = \frac{z_g}{\sqrt{z_p^2+z_g^2}}\theta_c
$$
Here, \(\theta_c\) is the cradle rotation angle, \(\theta_{w,p}\) is the workhead rotation angle when cutting the pinion, and \(\theta_{w,g}\) is the workhead rotation angle when cutting the large gear. These equations show why the original machine needed change gears: the coefficient depends on the tooth counts of both members of the straight bevel gear pair. For every new pair, the mechanical ratio had to be changed. In the retrofit, the coefficient became a program parameter, so no mechanical change was needed.
Indexing is another essential motion. After one tooth space of the straight bevel gears is completed, the workpiece must be rotated by one pitch. The indexing angle is:
$$
\theta_{w,index} = \frac{360^\circ}{z}
$$
For the pinion, \(z=z_p\). For the large gear, \(z=z_g\). In the original machine, indexing was performed by a combination of a planetary mechanism and a clutch. In the retrofit, indexing became a simple servo move of the workhead axis while the cradle remained stationary. This change simplified the machine and reduced the number of wear-prone parts.
2. Original Mechanical System and Its Limits
The original double-head straight bevel gear milling machine had two independent machining stations. Each station included a cutter head, a cradle, a workhead, a hydraulic slide for the cradle, and a hydraulic slide for the cutter head. The machine could process the pinion on one head and the large gear on the other head. The cutter head rotated at a fixed cutting speed. The cradle and workhead motions were driven by a main motor through a mechanical train. Change gears \(z_1\), \(z_2\), \(z_3\), and \(z_4\) were used to adjust the generating ratio. A differential and a clutch were used during indexing.
The mechanical system had several disadvantages when production changed from one straight bevel gear pair to another. First, the change gear calculation was complex. Second, the required change gears had to be manufactured or stocked. Third, the setup time was long because the operator had to replace gears, adjust the differential, check the backlash, and verify the generating ratio. Fourth, the mechanical train introduced cumulative errors, and wear in the worms and shafts gradually reduced the accuracy of the straight bevel gears. Fifth, the machine was not flexible for small batches or for rapid switching between different straight bevel gears.
| Feature | Original Mechanical Machine | Retrofitted CNC Machine |
|---|---|---|
| Generating motion | Mechanical gear train with change gears | Servo interpolation between cradle and workhead |
| Ratio adjustment | Replace \(z_1\), \(z_2\), \(z_3\), \(z_4\) | Enter tooth counts in R parameters |
| Indexing | Planetary mechanism and clutch | Servo rotation of workhead |
| Setup time | Long, with gear replacement and adjustment | Short, with program recall and parameter entry |
| Flexibility | Low for different straight bevel gears | High for different straight bevel gears |
| Accuracy | Affected by wear in many mechanical parts | Improved by digital position control |
| Efficiency | Baseline | About 50% higher |
3. Mechanical Retrofit Design
I designed the retrofit to keep the rigid machine base, the cutter heads, the hydraulic slides, and the workholding fixtures. The main change was in the generating transmission. I removed the change gear train, the differential, the clutch, and most of the shafts that connected the cradle and the workhead. I installed four AC servo motors. Two motors drive the two cradles. Two motors drive the two workheads. Each motor is connected to its axis through a precision worm gear reducer. The worm gear reducer provides high torque, high reduction ratio, and good rotary stiffness. The servo motor encoder closes the position loop, and the CNC system commands the required angle.
The basic position relation for each axis is:
$$
\theta_{c} = \frac{\theta_{m,c}}{i_c}
$$
$$
\theta_{w} = \frac{\theta_{m,w}}{i_w}
$$
In these equations, \(\theta_{m,c}\) is the cradle motor angle, \(\theta_{m,w}\) is the workhead motor angle, \(i_c\) is the cradle worm gear ratio, and \(i_w\) is the workhead worm gear ratio. The CNC system works in motor coordinates, but the program and the operator interface use work coordinates. The controller performs the conversion internally.
The servo motor torque must be sufficient to accelerate the cradle and workhead, overcome cutting forces, and compensate for friction. I used the following sizing inequality:
$$
T_m \ge \frac{T_L + J\alpha}{i\eta} + T_f
$$
Here, \(T_m\) is the motor torque, \(T_L\) is the load torque from cutting and gravity, \(J\) is the equivalent inertia, \(\alpha\) is the angular acceleration, \(i\) is the reduction ratio, \(\eta\) is the mechanical efficiency, and \(T_f\) is the friction torque. The selected motors provided enough continuous torque for roughing and enough peak torque for rapid indexing. The worm gear reducers also provided self-locking characteristics in some positions, which helps hold the straight bevel gears during setup.
| Axis | Function | Drive Type | Transmission | Feedback |
|---|---|---|---|---|
| C1 | Cradle 1 for pinion cutting | AC servo | Precision worm gear | Encoder |
| W1 | Workhead 1 for pinion rotation | AC servo | Precision worm gear | Encoder |
| C2 | Cradle 2 for gear cutting | AC servo | Precision worm gear | Encoder |
| W2 | Workhead 2 for gear rotation | AC servo | Precision worm gear | Encoder |
| Cutter | Cutter head rotation | AC motor | Belt or direct | PLC control |
| Hydraulic slide | Cutter approach and retract | Hydraulic | Valve control | PLC control |
After removing the mechanical train, I rechecked the stiffness of the remaining structure. The cradle and workhead housings were retained, but I added adapter plates for the servo motors and worm gearboxes. I also installed limit switches and hard stops for safety. The cutter head and hydraulic slides remained largely unchanged. This approach minimized the mechanical work and allowed the machine to keep its original rigidity for cutting straight bevel gears.
4. CNC System Architecture
I selected a compact four-axis CNC controller that supports two pairs of interpolation. The controller can command four servo axes and also includes PLC functionality. I configured the axes as two independent generating pairs. Pair one contains cradle C1 and workhead W1. Pair two contains cradle C2 and workhead W2. The two pairs can operate sequentially. This means the machine can cut the pinion on the first head and then cut the large gear on the second head, or it can perform roughing and finishing on the same head with different parameters.
The PLC function controls the cutter head motor, the hydraulic slides, the cooling system, the lubrication system, and the safety interlock. The CNC function controls the interpolated cradle and workhead motions. The controller receives feedback from the servo encoders and compares it with the commanded position. The position loop is closed in the controller. The velocity feedforward improves tracking during generating motion.
| Signal | Type | Controlled By | Purpose |
|---|---|---|---|
| Cradle 1 position | Servo command and encoder feedback | CNC | Generating motion for pinion |
| Workhead 1 position | Servo command and encoder feedback | CNC | Generating motion and indexing for pinion |
| Cradle 2 position | Servo command and encoder feedback | CNC | Generating motion for large gear |
| Workhead 2 position | Servo command and encoder feedback | CNC | Generating motion and indexing for large gear |
| Cutter motor | Digital output and contactor | PLC | Start, stop, and fault detection |
| Cutter slide | Directional valve | PLC | Approach, feed, and retract |
| Cradle slide | Directional valve | PLC | Positioning the selected head |
| Coolant | Digital output | PLC | Cooling and chip flushing |
| Lubrication | Digital output and timer | PLC | Periodic lubrication |
| Emergency stop | Safety input | PLC and CNC | Stop all axes and cutter |
The interpolation algorithm is simple but effective. At each interpolation period \(T_s\), the controller computes the new cradle command and the corresponding workhead command. If the cradle moves from \(\theta_c(k-1)\) to \(\theta_c(k)\), then the workhead command is:
$$
\theta_w(k) = \theta_w(k-1) + K\left[\theta_c(k)-\theta_c(k-1)\right]
$$
For the pinion, \(K\) is:
$$
K_p = \frac{z_p}{\sqrt{z_p^2+z_g^2}}
$$
For the large gear, \(K\) is:
$$
K_g = \frac{z_g}{\sqrt{z_p^2+z_g^2}}
$$
The synchronization error is monitored continuously:
$$
e(k) = \theta_w(k) – K\theta_c(k)
$$
I set the allowable synchronization error to a small value, typically less than \(0.01^\circ\). If the error exceeds the limit, the controller stops the generating motion and displays an alarm. This protects the straight bevel gears from tooth profile damage caused by loss of synchronization.
5. Gear Data and Program Parameters
In the original machine, the operator had to calculate change gears for every straight bevel gear pair. In the retrofit, the operator enters the gear data into R parameters. The CNC program reads these parameters and computes the generating ratio, the indexing angle, the cutting depth, and the feed rates. The program itself does not change from one straight bevel gear pair to another. This is a major improvement in flexibility.
The basic geometry of straight bevel gears is defined by the module, tooth counts, pressure angle, pitch cone angles, cone distance, addendum, dedendum, and face width. The pitch cone angles are:
$$
\delta_p = \arctan\left(\frac{z_p}{z_g}\right)
$$
$$
\delta_g = 90^\circ – \delta_p
$$
The cone distance is:
$$
R = \frac{m}{2}\sqrt{z_p^2+z_g^2}
$$
The addendum and dedendum are usually:
$$
h_a = m
$$
$$
h_f = 1.2m
$$
The circular pitch is:
$$
p = \pi m
$$
The tooth thickness on the pitch circle is approximately:
$$
s = \frac{\pi m}{2}
$$
These values are stored in the program and used to calculate the cutting positions. The generating coefficient is computed from the tooth counts, so the same program can handle different straight bevel gears without mechanical change.
| Parameter | Symbol | Typical Unit | Use in Program |
|---|---|---|---|
| Pinion tooth count | \(z_p\) | integer | Generating ratio and indexing |
| Gear tooth count | \(z_g\) | integer | Generating ratio and indexing |
| Module | \(m\) | mm | Depth and geometry |
| Pressure angle | \(\alpha\) | degree | Tooth form verification |
| Face width | \(b\) | mm | Cutting stroke and feed |
| Pitch cone angle of pinion | \(\delta_p\) | degree | Workhead orientation setup |
| Pitch cone angle of gear | \(\delta_g\) | degree | Workhead orientation setup |
| Cone distance | \(R\) | mm | Depth and cutter position |
| Cutter radius | \(r_c\) | mm | Cutter setting |
| Generating angle | \(\theta_g\) | degree | Cradle stroke |
| Indexing angle | \(360^\circ/z\) | degree | Workhead indexing |
| Roughing feed | \(f_r\) | mm/min | Roughing cycle |
| Finishing feed | \(f_f\) | mm/min | Finishing cycle |
6. Cutting Cycle and Operation
I organized the cutting cycle into a sequence that can process the pinion and the large gear of a straight bevel gear pair. The machine has two workheads and two cradles, so the pinion and gear can be machined in sequence without unloading the fixtures. The sequence is:
- Home all servo axes and check the hydraulic system.
- Load the pinion blank on workhead 1 and the gear blank on workhead 2.
- Select the pinion program and read the R parameters.
- Move cradle 1 and workhead 1 to the starting position.
- Approach the cutter head with the hydraulic slide.
- Perform roughing passes with the generating motion.
- Perform finishing passes with the generating motion.
- Retract the cutter head and index the pinion to the next tooth space.
- Repeat until all pinion teeth are cut.
- Select the gear program and repeat the same sequence on head 2.
- Retract all slides, stop the cutter motor, and unload the straight bevel gears.
The generating motion is performed by the CNC interpolation. During roughing, the cradle and workhead move with a larger feed. During finishing, the feed is reduced, and the synchronization error limit is tightened. The cutter head rotates continuously. The hydraulic slide moves the cutter into the cutting zone and retracts it after each tooth space. The indexing motion is a simple workhead rotation. Because the cradle does not move during indexing, the generating relation is not disturbed.
| Stage | Cradle Motion | Workhead Motion | Cutter Slide | Feed Rate |
|---|---|---|---|---|
| Approach | Stationary | Stationary | Advance | Rapid |
| Roughing | Generating rotation | Interpolated rotation | Feed in | High |
| Finishing | Generating rotation | Interpolated rotation | Feed in | Low |
| Retract | Stationary | Stationary | Retract | Rapid |
| Indexing | Stationary | Index rotation | Retracted | Positioning |
| Next tooth | Reset to start | Reset to start | Advance | Rapid |
The roughing and finishing operations can be completed in one continuous cycle for each straight bevel gear. The operator does not need to change any mechanical parts. The program uses R parameters to adjust the cutting depth, the generating angle, and the feed rates. The machine can also store several programs for different straight bevel gears, so switching production is fast and repeatable.
7. Accuracy and Efficiency Results
After the retrofit, I tested the machine with several straight bevel gear pairs. The tooth pitch error, tooth profile error, and runout were measured. The results showed that the accuracy of the straight bevel gears reached grade seven. The digital interpolation reduced the cumulative error that was present in the original mechanical train. The servo encoders provided precise position feedback, and the CNC controller maintained synchronization between the cradle and the workhead. The contact pattern was checked and found to be consistent with the design.
The efficiency improvement came from three sources. First, the setup time was reduced because no change gears were needed. Second, the cutting cycle was optimized because the CNC program could use different feed rates for roughing and finishing. Third, the indexing motion was faster and more reliable because it was performed by a servo motor instead of a mechanical clutch and planetary mechanism. The overall machining efficiency increased by about fifty percent compared with the original mechanical machine.
| Quality Item | Original Machine | Retrofitted CNC Machine | Improvement |
|---|---|---|---|
| Tooth pitch error | Higher, affected by gear train wear | Reduced, controlled by encoder feedback | Better than grade eight |
| Tooth profile error | Moderate | Improved by precise interpolation | Grade seven |
| Runout | Variable | Stable | Improved |
| Contact pattern | Acceptable | Consistent and centered | Improved |
| Setup time | Long | Short | Reduced |
| Machining efficiency | Baseline | Higher | About 50% increase |
| Flexibility for straight bevel gears | Low | High | Program parameter change only |
I also compared the production time for a typical straight bevel gear pair. The original machine required several hours for setup and change gear replacement. The retrofitted machine required only a few minutes to enter the tooth counts and recall the program. The cutting time itself was also shorter because the CNC system could optimize the generating motion and the indexing motion. The reduction in non-cutting time was the main reason for the fifty percent efficiency gain.
8. Control Logic and Safety
The control logic for the retrofitted machine is divided into CNC tasks and PLC tasks. The CNC tasks manage the generating interpolation, the position loop, and the synchronization monitoring. The PLC tasks manage the auxiliary functions. I paid special attention to safety because a malfunction in the generating motion could damage the cutter and the straight bevel gears. The PLC and CNC exchange signals through the controller’s internal interface. If any servo axis has a following error, overcurrent, or encoder fault, the controller stops the generating motion and retracts the cutter slide.
The safety interlock includes the following conditions:
- The cutter motor must be running before the generating motion starts.
- The hydraulic pressure must be normal before the cutter slide advances.
- The workhead must be clamped before indexing and generating.
- The synchronization error must remain below the limit during generating.
- The emergency stop must immediately disable the servo drives and retract the cutter slide.
I also included a warm-up routine. Before cutting straight bevel gears, the operator can run the cradle and workhead axes through a short warm-up cycle. This helps distribute lubrication and stabilize the worm gear temperature. The controller monitors the motor temperature and the drive load. If the load exceeds a preset value, the controller reduces the feed rate or stops the cycle.
| Alarm | Cause | Response |
|---|---|---|
| Servo following error | Mechanical jam or tuning problem | Stop axes and retract cutter |
| Encoder fault | Broken cable or sensor failure | Disable drive and display fault |
| Overcurrent | Excessive cutting load or short circuit | Stop drive and open contactor |
| Hydraulic low pressure | Pump failure or leakage | Stop cycle and retract slide |
| Synchronization error | Interpolation mismatch or mechanical backlash | Stop generating motion |
| Emergency stop | Operator action or safety door open | Stop all motion and cutter |
9. Maintenance and Reliability
The retrofit removed many mechanical parts, so the maintenance requirements decreased. The remaining mechanical parts are the cutter head spindle, the hydraulic slides, the workhead clamps, and the worm gear reducers. The servo motors and drives require minimal maintenance. The CNC controller provides diagnostic information for each axis. The PLC provides status information for the auxiliary systems. I created a maintenance schedule that includes checking the worm gear backlash, verifying the servo encoder couplings, checking the hydraulic oil level, and cleaning the cooling system.
Reliability improved because the number of wear-prone parts was reduced. The original machine had many shafts, gears, clutches, and differential parts that could wear and cause loss of accuracy. The retrofitted machine uses standard servo motors, drives, and CNC components. These components are widely available and have long service lives. The machine can be repaired by replacing a servo motor or drive rather than rebuilding a complex mechanical train. This reduces downtime and maintenance cost.
| Maintenance Item | Interval | Check | Action |
|---|---|---|---|
| Worm gear backlash | Monthly | Measure backlash at cradle and workhead | Adjust or replace if excessive |
| Servo coupling | Monthly | Check tightness and alignment | Tighten or realign |
| Hydraulic oil | Weekly | Level and contamination | Top up or replace |
| Coolant | Weekly | Concentration and flow | Adjust or replace |
| Encoder cable | Monthly | Damage and shielding | Replace if damaged |
| CNC parameters | Yearly | Backup and compare | Restore if necessary |
10. Practical Observations from the Retrofit
During the retrofit, I learned several practical lessons. First, the mechanical alignment of the servo motor and worm gear reducer is critical. Even a small misalignment can cause vibration and reduce the accuracy of the straight bevel gears. Second, the position loop tuning must be matched to the inertia of the cradle and workhead. The cradle has a large inertia, while the workhead has a smaller inertia. The controller allows separate tuning parameters for each axis. Third, the synchronization error limit should be set according to the required accuracy. A very tight limit can cause nuisance alarms, while a loose limit can allow tooth profile errors.
Fourth, the hydraulic slides should be synchronized with the CNC motion. The cutter slide must not advance until the generating axes are in position. The PLC logic must enforce this condition. Fifth, the operator interface should be simple. I used R parameters for the gear data and created a clear display for the tooth counts, the generating ratio, the indexing angle, and the current feed rate. This reduces the chance of operator error. Sixth, the program should include a dry run mode. The dry run allows the operator to verify the generating motion and the indexing motion without cutting the straight bevel gears.
Seventh, the retrofit should preserve the original manual controls where possible. The hydraulic slides and the cutter motor can still be jogged from the operator panel. This is useful during setup and maintenance. Eighth, the electrical cabinet should be well cooled and protected from chips and coolant. The servo drives and the CNC controller are sensitive to heat and contamination. Ninth, the machine should be grounded properly to avoid electrical noise. The encoder signals are especially sensitive to noise, and poor grounding can cause position errors. Tenth, the documentation should include the parameter list, the program list, the wiring diagram, and the maintenance schedule. This makes the retrofit easier to support in the future.
11. Mathematical Summary of the Retrofit
The mathematical core of the retrofit can be summarized in a few equations. The generating coefficient for the pinion and the large gear is:
$$
K_p = \frac{z_p}{\sqrt{z_p^2+z_g^2}}, \quad K_g = \frac{z_g}{\sqrt{z_p^2+z_g^2}}
$$
The workhead command during generating is:
$$
\theta_w = K\theta_c
$$
The indexing command is:
$$
\theta_{index} = \frac{360^\circ}{z}
$$
The motor command is obtained from the workhead and cradle commands through the worm gear ratios:
$$
\theta_{m,c} = i_c\theta_c, \quad \theta_{m,w} = i_w\theta_w
$$
The synchronization error is:
$$
e = \theta_w – K\theta_c
$$
The pitch cone angles are:
$$
\delta_p = \arctan\left(\frac{z_p}{z_g}\right), \quad \delta_g = 90^\circ – \delta_p
$$
The cone distance is:
$$
R = \frac{m}{2}\sqrt{z_p^2+z_g^2}
$$
These equations are implemented in the CNC program. The operator only enters the tooth counts, the module, and the cutting parameters. The controller computes the rest. This is the main reason why the retrofitted machine can process different straight bevel gears without mechanical change.
12. Conclusion
The numerical control retrofit of the double-head straight bevel gear milling machine was successful. I replaced the mechanical generating train with four servo axes and a four-axis CNC controller. The cradle and workhead motions are now interpolated digitally. The change gears, differential, and clutch were removed. The machine can cut straight bevel gears with different tooth counts by changing R parameters instead of mechanical parts. The machining efficiency increased by about fifty percent, and the accuracy of the straight bevel gears reached grade seven. The retrofit also reduced maintenance requirements, improved reliability, and increased the flexibility of the machine for different straight bevel gears. The same approach can be applied to other gear cutting machines that use a mechanical generating motion. In my view, the retrofit demonstrates that a well-designed CNC conversion can preserve the fundamental generating principle while removing the rigid mechanical constraints of the original design.
| Overall Result | Outcome |
|---|---|
| Generating motion | Digital interpolation of cradle and workhead |
| Mechanical change gears | Eliminated |
| Indexing | Servo-driven workhead |
| Accuracy of straight bevel gears | Grade seven |
| Efficiency | About 50% higher |
| Flexibility | High, through program parameters |
| Maintenance | Reduced |
| Reliability | Improved |
For future work, I would consider adding automatic tool wear compensation, in-process measurement of straight bevel gears, and a network connection for program management. These additions would further improve the capability of the machine and make it even more suitable for modern production of straight bevel gears. The retrofit shows that the combination of a rigid mechanical base and a modern CNC generating system can deliver both high accuracy and high productivity for straight bevel gears.
