To manufacture gears, special machine tools and corresponding processes such as hobbing, shaping, planing, profile milling, and broaching are usually needed. However, the huge investment in such gear machining is prohibitive for manufacturers, who only produce the gears in small batches on an annual basis. To overcome this economic problem in the manufacturing of gears, standard 5-axis CNC machines were proposed as an alternative tool for machining them, and a few approaches were presented to implement this gear-manufacturing method. However, machining helical gears with crowning or other modifications have been studied little. This article proposes an accurate method to manufacture helical gears with crowning modifications using a standard 5-axis CNC machine tool. As a gear-roughing process, milling using an end mill was selected where the tool movement follows the generation principle. By incorporating crowning modifications into the tool’s movement, an accurate tool path generation method, was developed. A CAM software written in C++ was developed to generate, visualize, and simulate the tool path for machining the gear according to user-defined parameters. The tool path was subsequently post-processed into NC code to run on a CNC machine. To validate the generated NC code, an internal helical gear with crowning modification was machined on a conventional 5-axis CNC machine. The machining results confirmed that the proposed method is feasible. The machined helical gears will be measured using optical and tactile CMMs to determine their deviation parameters.

### 1 Introduction

Gears as a means of mechanical transmission play an essential role in vehicles, machine tools, wind-energy systems, and even toys. To manufacture the gears, special machine tools and processes, such as hobbing [1], shaping [2], planing [3], profile milling [4], and broaching [5], are usually needed. The common features of these machine tools are complex and expensive, and they are usually employed to manufacture large volumes of products. However, the investment in such gear machining is prohibitive for manufacturers, who only produce the gears in small batches on an annual basis.

To overcome this economic problem in manufacturing the gears, some researchers investigated the possibility of using the standard multi-axis CNC machine as an alternative tool. Suh et al. [6] proposed a method to produce spiral bevel gears on a 3-axis CNC machine with a rotary table. The rotary table was programmed to move simultaneously with the three linear axes. Later, Suh et al. [7] modeled the surface geometry of spiral bevel gears with crowning, and the method for machining crown gears by a 4-axis CNC machine was also implemented. Özel [8] proposed an approach for machining spur gears by using an end mill in the 3-axis vertical CNC milling machine instead of any auxiliary apparatus, special machine tools, or special cutters. In this method, the end mill cuts the workpiece in the layers of the XY planes of the spur gear along the face width of the teeth. Recently, Teixeira Alves et al. [9] presented the analytical surfaces of the spiral bevel gear and machined the gear on a 5-axis CNC machine. However, the accuracy of the proposed methods was rarely studied in detail. Özel [10] analyzed the cutting errors in the tooth profile of the spur gear manufactured in the CNC milling machine based on the technique proposed in [9]. One prominent limitation of machine programming language, which controls the motion of machine axes and is employed in most of the modern CNC machines, is that the software must segment the curve into a finite number of linear or circular segments to profile cut a contour. Thus, the tool paths for cutting the gear flank were generated from linear segments, connected by the points sampled from the involute equations that define the surface of the left and right flank, separately. The machine tool moves linearly along the linear segments when machining the gear flanks. Form errors were introduced to the involute profile of the tooth in this case.

To improve the accuracy of machining gears on the universal 5-axis CNC machine, Groover [11] proposed an approach for machining cylindrical involute gears based on the generation principle. In this method, the end mill travels along a straight line while the rotary axes rotate simultaneously with the end mill. The rotational speed of the rotary table and linear speed of the end mill was kept as constant in the machining the gear flanks. Based on this principle, the cutting error involved in the previous methods by using linear segments to approximate the involute tooth profile was eliminated. The proposed method for machining external and internal spur and helical gears was validated by machining experiments. The results show the form deviations of the gear flanks were less than 5 µm. However, flank modifications were not researched in his thesis.

Flank modifications are usually introduced to the gear flanks by intention to improve the meshing properties of gear pairs under all load conditions. Crowning is a common type of flank modification. A cylindrical gear with crowning modification has several advantages over a standard gear, such as reduced noise, longer lifetime, coherent contact pattern, and an advantageous stress distribution on the tooth surface [7]. In this paper, Groover’s method for machining cylindrical involute gears on the standard 5-axis machines was extended to produce helical gears with crowning modification.

### 2 Methodology

#### 2.1 The generation principle

A gear’s tooth surface is described by the involute of the base circle as shown in Figure 1. Such surface has two special properties. When two gears come into contact, the force direction is kept constant, and the gears roll with minimum friction. The parametric equations for the involute of a circle can easily be derived by adding the parametric equation of a circle as a function of some parameter ξ, shown in Equation 1, and the derivative of itself, shown in Equation 2, times the variable ξ to give the resulting parametric equation shown in Equation 3.

The parametric equation of a circle, described as a vector of ξ, is the following:

where

r_{b} is the base radius.

Taking the derivative and multiplying by – ξ gives the following result:

Lastly, adding the vectors λ_{1}(ξ) and λ_{2}(ξ) gives the parametric form of the involute of a gear shown in Equation 3:

λ(ξ) is used as the basis for describing helical gear flanks. A gear’s tooth flank surface with a helix angle β equal to zero is defined in Equation 4:

#### 2.2 3D extension to helical gears

The flank surface of a helical gear can be described by the involute of the base circle shown in Equation 3 as a function of some parameter θ that varies the angular offset along the z direction. The angular offset can be achieved by multiplying a rotational matrix by the involute as shown below in Equation 6.

A rotational matrix can be represented as:

Then, an involute λ(ξ,θ) with an angular offset of θ is defined as:

Since the angular offset varies linearly in the z direction, then Λ can be defined as function of z in the following form.

where

r_{p} is the pitch radius of the gear.

The helix angle varies with radius from the origin as shown in Equation 8.

The flank-surface equation p(ξ,z) for a helical gear can be defined in the following form

where

T(z) is a shorthand for T(Λ(z)) extended in ℝ^{3}.

#### 2.3 Tool position and orientation

To properly position the tool in space following the generation principle, the surface normal n(ξ,z) and the transverse direction t(ξ,z), defined by the intersection between the involute surface and a plane tangent to the base cylinder are derived as shown in Equation 10 and Equation 11, respectively.

where

becomes the tool orientation along the path q(ξ,z) from ξ_{min} to ξ_{max}. The flank-surface’s tool path, q(ξ,z), is defined by a tool radial distance, r_{t}, away from the flank-surface p(ξ,z) with orientation t(ξ,z) as shown in Equation 12.

#### 2.4 Crowning modification

There are two main directions in which crowning can take place, in the transverse plane, parallel to the gear’s faces, and perpendicular to a transverse plane, i.e., parallel to the gear’s axis. To stay as accurate as possible to the generation principle, r_{t} and t(ξ,z), will be modified to be a function of ξ and z respectively, such that the variation of p(ξ,z) stays within some tolerance δp(ξ,z). The nominal tool radius distance function ρ(ξ) will vary from r_{t,min} to r_{t,max} such that crowning is done in the transverse plane, leading to Equation 13.

where

ρ(ξ) = r_{t} + C_{α}ψ(ξ)

ψ(ξ) = 2/∆s(s(ξ) – s_{min}) – 1 which varies linearly from -1 to 1 with respect to the involute arc length s(ξ).

s(ξ) is defined as

∆s = s_{min} – s_{max}, where s_{min} and s_{max} are defined by ξ_{min} and ξ_{max} respectively.

Lastly, the amount of profile crowning, C_{α}, defines the material removal depth at ξ_{min} and ξ_{max}.

The second modification is the tool orientation t_{c}(ξ,z) as a function of z, defined as rotational deviation from t(ξ,z) about direction vˆ(ξ,z) and contact point o(ξ,z). Rotational axis vˆ(ξ,z) is orthogonal with respect to n(ξ,z) and t(ξ,z) as shown in Equation 15 and Equation 16, respectively.

where

ϕ varies linearly as a function of z defined as, ϕ(z_{min}) = –ω, ϕ(z_{1/2}) = 0, ϕ(z_{max}) = ω,

and z_{1/2} = 1/2(z_{min} + z_{max}).

The contact point o(ξ,z) also varies linearly by p(ξ,z_{1/2}) ± σ(z)t(ξ,z_{1/2}). The helix crowning or lead crowning C_{β}, is defined in Equation 17.

The final commanded position q_{c}(ξ,z) would then be written as shown in Equation 18.

### 3 Simulation Results

Based on the equations derived in the methodology section, a computer aided manufacturing (CAM) software written in C++ was developed to generate the roughing and finishing tool paths. A screenshot of the software is shown in Figure 2. The software creates tool paths from gear generalized geometry parameters pitch radius, pressure angle, face width, helix angle, and the number of teeth. The tool geometry section in the software is used to define r_{t} in Equation 12 and to calculate the speeds and feeds. Variables C_{α} and C_{β} can be changed to vary the crowning shape. A simulation module, shown in Figure 3, was also developed to visualize and simulate the generated tool path by using a C++ library called a visualization toolkit (VTK) [12] as the graphics backend.

#### 3.1 Generation of Roughing Tool Paths

Using the surface normal and tool orientation during engagement between the tool and the gear’s flank- surfaces based on Equation 11, linear interpolation between the right-flank and left-flank paths are generated to create the roughing paths. The roughing paths are shown in Figure 4. To use the full length of the cutter’s flutes, a less than 15% radial immersion is kept throughout the roughing path to avoid chatter and extend the life of the tool.

#### 3.2 Generation of Finishing Tool Paths

Paths that intersect the gear’s surface are deleted from the path array. Figure 5a shows a screenshot of the finishing paths. The internal gears surface is shown in ocean blue, the addendum and dedendum circles are shown in the blue inner circle and blue outer circle, respectively; the base circle is shown in red, and the pitch circle is in black. The orange trajectories show the engagement sections between the cutter and the gear’s surface. A more detailed depiction of the tool engagement can be seen in Figure 5b and Figure 5c.

The right flank’s path has an extra sweep-and-twist move that removes material at the tooth tip to follow the generations principal along the tooth tip region. The motion can be seen more clearly in Figure 5b. The left-flank’s finishing path is not fully machined during the first operation as seen in Figure 5c; this is because as the tool approaches the tooth-tip region, the tool intersects the right flank before the tool is able to finish the left-clank surface using the generation principal. Once the first operation is finished, the gear is flipped over, and right-flank’s finished pass is repeated to finished cutting the region that is not reached by the first operation.

### 4 Experiment Results

An internal gear with crowning modification was machined on a desktop 5-axis CNC machine, shown in Figure 6, to validate the generated tool path. The machining result of the internal gear is shown in Figure 7a. The left and right flanks of the machined internal helical gear are shown in Figure 7b and 7c, respectively.

The tooth-tip region has a rough surface finish. A single flute end mill was used for the finishing pass, a ball end mill for the finished pass may fix the surface finish at the tool tip region as the simulation results do not provide any clue or reasoning behind the surface finish around the tip region. Further experimentation needs to be done to provide an acceptable finish around tool tip region.

The next steps would be to provide measurements evidence of the surface crowning using tactile and optical methods. Surface measurement would provide a map of surface deviations between the machined surfaces vs. the theoretical crowning surface and the machined surface vs. theoretical surface without crowning.

### 5 Summary and Outlook

A new method was developed in this article to generate and simulate tool paths for conventional 5-axis machines to create helical gears with crowning following the generation principle. Preliminary simulation results show the capability of the software to accomplish the task of generating the corresponding roughing and finishing tooth paths. An internal gear with crowning modification was machined to validate the proposed method. The machining result confirmed that the proposed method is feasible. In future work, tactile and optical measurements are planned to identify conventional and areal gear deviation parameters.

### Bibliography

- Dimitriou, V. and Antoniadis, A., 2009, “CAD-based simulation of the hobbing process for the manufacturing of spur and helical gears,” The International Journal of Advanced Manufacturing Technology, 41(3-4), pp.347-357.
- Katz, A., Erkorkmaz, K. and Ismail, F., 2018, “Virtual Model of Gear Shaping—Part I: Kinematics, Cutter–Workpiece Engagement, and Cutting Forces,” Journal of Manufacturing Science and Engineering, 140(7).
- Watson, H.J., 2013, Modern gear production, Elsevier.
- Dudley, D.W., 1991, Dudley’s gear handbook, McGraw-Hill, Inc., New York, NY.
- Sutherland, J.W., Salisbury, E.J. and Hoge, F.W., 1997, “A model for the cutting force system in the gear broaching process,” International Journal of Machine Tools and Manufacture, 37(10), pp.1409- 1421.
- Suh, S. H., Jih, W. S., Hong, H. D., and Chung, D. H, 2001, “Sculptured surface machining of spiral bevel gears with CNC milling,” International Journal of Machine Tools and Manufacture, 41(6), pp. 833-850.
- Suh, S.H., Jung, D.H., Lee, S.W., and Lee, E.S., 2003, “Modelling, implementation, and manufacturing of spiral bevel gears with crown,” The International Journal of Advanced Manufacturing Technology, 21(10-11), pp.775-786.
- Özel, C., 2011, “Research of production times and cutting of the spur gears by end mill in CNC milling machine. The International Journal of Advanced Manufacturing Technology,” 54(1-4), pp.203- 213.
- Teixeira Alves, J., Guingand, M., and de Vaujany, J. P., 2013, “Designing and manufacturing spiral bevel gears using 5-axis computer numerical control (CNC) milling machines,” Journal of mechanical design, 135(2).
- Özel, C., 2012, “A study on cutting errors in the tooth profiles of the spur gears manufactured in CNC milling machine,” The International Journal of Advanced Manufacturing Technology, 59(1-4), pp.243- 251.
- Groover, J., 2018, “Generation milling of cylindrical involute gears,” M.S. thesis, University of North Carolina at Charlotte.
- Schroeder, W., Martin, K., and Lorensen, B., 2006, The Visualization Toolkit, 4th ed., Kitware, New York, NY.