1. Introduction
Gear modification is an effective method to improve gear transmission performance. It is possible to reduce meshing impact, improve load distribution, and lower system vibration response through modification. It is difficult to precisely achieve the theoretical tooth profile for complex tooth profiles that meet the preset modification amount due to the machining principle and machine movement errors during the machining process. Therefore, it is crucial to study the impact weights of the various parameters on the final tooth surface during machining, optimize the tooth surface, and achieve smooth and low-noise gear transmission under high-speed and heavy-load conditions [
1,
2].
In recent years, gear design and manufacturing research have advanced significantly, with many scholars conducting in-depth studies on tooth profile design, tooth surface modification, and gear meshing mechanisms. Litvin et al. [
3,
4] established a mathematical model for form grinding. They calculated the instantaneous contact lines between the grinding wheel and the gear, providing a theoretical foundation for the grinding process. Dudley [
5] developed corresponding mathematical models for the gear meshing principles, spatial coordinate transformations, and tooth surface contact analysis, laying a solid foundation for developing the gear modification theory. Gregory et al. [
6] noted that gear tooth profile modification can improve the tooth contact conditions and reduce the dynamic loads. The slight geometric modification of the involute tooth profile can significantly impact the dynamic and static characteristics of gear meshing. Ren et al. [
7] established an accurate mathematical model for gear form grinding force using mathematical methods. Their research findings contribute to the rational selection of grinding process parameters, wheel dressing control, and gear grinding quality assurance. Liu et al. [
8] analyzed and experimentally studied the effects of wheel dressing surfaces on workpiece surface texture and grinding forces. They developed an analysis model for the dressing point profile to describe the kinematics of the wheel surface dressing process. Using parameters such as texture width, texture length, texture angle, and texture function parameters, they described patterned surface textures and revealed the influence of wheel dressing morphology on the surface texture of the machined workpiece. Gorla et al. [
9] established a gear tooth surface model based on form grinding and analyzed the impact of the grinding wheel installation center distance and installation angle on tooth surface accuracy. Shih et al. [
10] studied the calculation method for the grinding wheel’s axial section profile and analyzed the effects of the workpiece and wheel installation angle, center distance, and axial displacement on the grinding wheel section profile. These studies primarily address critical issues in the gear form grinding process, including the calculation of instantaneous contact lines between the grinding wheel and the gear, the construction of mathematical models for gear meshing principles, the improvement of gear contact conditions and dynamic loads through tooth profile modification, the accurate modeling of grinding forces, the analysis of the effects of wheel dressing on workpiece surface texture and grinding forces, and the impact of wheel installation center distance and angle on tooth surface accuracy. These studies provide a theoretical foundation, process optimization methods, and precision control techniques for gear grinding, effectively enhancing the quality and efficiency of the process.
In analyzing and compensating the tooth profile and axial modification errors, Yoshino et al. [
11] numerically studied the impact of positioning errors on the profile error of ground helical gears and proposed two practical methods for compensating gear profile errors using positioning errors. Kobayashi [
12] determined that by providing the tangent coordinates and slopes of points on the tooth profile, the optimal grinding wheel installation angle for achieving the shortest contact line extension length without interference can be found. Nishida et al. [
13] calculated the tooth profile of a gear based on the tangent coordinates and slopes of points on the sand profile and determined the optimal installation angle that minimizes machining errors according to the specifications of the sand profile. Korta et al. [
14] introduced the application of response surface methodology (RSM) in optimizing microscopic corrections to gear profiles. They proposed a tooth surface modification optimization method based on RSM and illustrated it by finding the optimal micro-geometric modifications for a spur cylindrical gear. Yu et al. [
15] proposed a new method for MACLA envelope grinding using ultra-thin diamond grinding wheels with higher-order curved section profiles to compensate for dressing errors directly. They established a mathematical model for the grinding wheel with a higher-order curved section profile and a grinding wheel path model. Givi et al. [
16] proposed a general volumetric error formulation that effectively implemented the ISO230-1:2012 [
17] definition and an offline compensation scheme, which was partly tested to improve part accuracy on a five-axis CNC machine. Xia et al. [
18] studied the geometric errors present during gear grinding and proposed an error compensation method to improve the accuracy of gear grinding processes. Yoshino et al. [
19] studied the impact of positioning errors on the profile of ground helical gears and proposed two methods for compensating gear profile errors using positioning errors, effectively reducing the involute helical gear profile error. These articles primarily address the issue of tooth surface errors in the gear grinding process caused by positioning errors, grinding wheel installation angle, and modification methods. These studies propose practical solutions for compensating tooth profile errors through numerical analysis and optimization approaches. These include optimizing the grinding wheel installation angle, applying response surface methodology to optimize micro-geometry corrections of the tooth surface, using ultra-thin diamond grinding wheels for grinding error compensation, and proposing geometric error compensation methods to improve grinding accuracy. These studies offer new solutions for reducing gear machining errors and enhancing the precision of gear grinding.
Particle Swarm Optimization, initially developed by Kennedy and Eberhart [
20], is a meta-heuristic global optimization method that belongs to the family of algorithms based on the concept of swarm intelligence. Li et al. [
21] proposed a PSO-based optimization method for the contact line between a profile grinding wheel and gear; the gear form grinding test results showed that the proposed method can improve grinding accuracy. Li et al. [
22] used Particle Swarm Optimization (PSO) to optimize the initial value of the network to make the training more stable; the proposed method was validated through the data collected from the gear pitting test experiment; the validation results showed that the fault diagnosis accuracy could reach 100%, which proves that the proposed method is reasonable.
There is a growing need for advanced computational models capable of more accurately predicting the impact of complex modifications on gear performance. Minimizing tooth surface twist errors and deviations remains a significant challenge in achieving high precision in the form grinding process. Further refinement of these models is essential to enhance accuracy and computational efficiency, particularly for practical applications. Axial modification can improve the uneven load distribution along the tooth direction, but it simultaneously leads to uneven material removal along the tooth direction, resulting in tooth surface twists [
23]. Tooth surface twists can cause an increase in tooth flank clearance and a reduction in transmission accuracy, leading to poorer meshing performance and increased meshing noise. Since the contact line of a helical gear is not parallel to the helix, helix deviations affect the load distribution uniformity and the smoothness of transmission, thereby impacting the gear’s transmission precision and service life [
24]. This paper proposes an optimization method for form grinding to improve form grinding performance, reduce tooth surface twist error, and reduce helix deviation. The evaluation functions used include the twist of the transverse profile, the twist of the flank profile, helix deviation, and grinding stroke. The Particle Swarm Optimization (PSO) algorithm was employed to optimize the multi-objective functions, determining the optimal contact line between the helical gear and the form grinding wheel. Finally, the accuracy of the model was verified through simulation analysis.
3. Construction of Digital Tooth Surface for Axial Modification
3.1. Analysis of Axial Modification
As shown in
Figure 2, taking an axial drum-shaped modification with additional radial motion as an example, a drum shape curve is established at the tooth tip of the gear. Let
represent the tooth width,
denote the maximum modified quantity, and the trajectory of the additional radial motion follows a parabolic path. The modified quantity at
is zero, while
represents the drum radius, with the drum-shaped modification amount at each point denoted as
.
From the relationship shown in
Figure 2, the radius of the drum can be determined as follows:
Consequently, the drum-shaped modification amount at each point is given by the following:
In the equation, denotes the spiral parameter of the gear; represents the angle turned by the gear.
The change in center distance can be expressed as follows:
In the equation, denotes the normal pressure angle; represents the base helix angle.
Consequently, it can be determined that when the gear rotates by a unit angle, the radial velocity of the grinding wheel along the gear is given by the following:
In the equation, represents the time the gear rotates at a unit angle at an angular velocity of .
3.2. Actual Contact Line for Axial Modification
The grinding wheel’s planar curve, derived from Equation (6), is rotated around the
axis, thereby forming the grinding wheel’s rotational surface.
In the equation, represents the angle at which the grinding wheel rotates.
The following Equation can determine the normal vector of the grinding wheel’s rotative surface:
The actual modified tooth surface is formed by the combined motion of the grinding wheel’s additional radial motion trajectory and its movement along the axis. The resulting contact line is the actual modified tooth surface contact line. Let the gear’s angular velocity be denoted as , and the radial vectors in the coordinate systems and are represented by and , respectively; .
Consequently, the angular velocity of the gear in the grinding wheel coordinate system
is obtained as follows:
The relative velocity
between the grinding wheel and the gear in the grinding wheel coordinate system
is as follows:
In the equation, represents the velocity of the gear in the grinding wheel coordinate system ; and represents the velocity of the grinding wheel in the coordinate system .
By substituting the above calculation results into the engagement conditions equation between the grinding wheel and the gear, the following equation is obtained:
According to the solution process of the engagement conditions equation between the grinding wheel and the gear, Equation (18) is a transcendental equation involving
,
, and
, making it difficult to obtain an analytical solution directly. The Newton iteration method can solve it by traversing the parameters
and
within the domain.
represents the angle rotated during the engagement process, and
is a discrete value within the definition domain of the grinding wheel radius. By substituting
into Equation (18) for iterative computation, the calculated values
are then substituted into the following equation to obtain the coordinates of the points on the actual contact line [
25].
3.3. Construction of Modified Tooth Surface Based on NURBS
Non-uniform rational B-spline (NURBS) is a mathematical model that uses B-splines as basis functions, with non-uniform knot spacing and weighted control points, to represent complex geometric shapes. NURBS can precisely represent complex geometries and offers significant advantages over other methods. It provides a unified mathematical representation for standard analytical shapes and the precise design of free-form curves and surfaces.
The rational expression of a NURBS surface with degree
in the
direction and degree
in the
direction, i.e., a
times NURBS surface, is shown in Equation (20) [
26].
where
—Control points forming a bidirectional control mesh arranged in a topological rectangular grid;
—Control point u-direction numbering and u-direction B-spline basis function numbering;
—Control point v-direction numbering and v-direction B-spline basis function numbering;
—The weight factor corresponding to the control point;
—The u-directed p-times B-spline basis functions, determined by the u-directed node vectors according to the Boolean recurrence formula;
—The v-directed p-times B-spline basis functions, determined by the v-directed node vectors according to the Boolean recurrence formula.
This paper employs a method based on the NURBS interpolated surfaces for constructing the tooth surface. The reverse calculation process for the NURBS interpolated surface involves creating a
NURBS surface that accurately passes through the specified data points
. Eleven equidistant end sections are selected along the tooth width, with 11 points discretized on the gear end section profile. This results in the actual tooth surface comprising 11 × 11 tooth surface points, denoted as data points
.
As shown in
Figure 3a, the data point network of the tooth surface is illustrated, with black dots indicating the positions of the data points. The bidirectional cubic NURBS interpolation surface reverse calculation method is used to construct the node vectors in the
and
directions.
Curve interpolation is performed on the
data points in the u-direction along the node vector
, resulting in
NURBS curves and their corresponding control points. Similarly, curve interpolation is performed on the
data points in the v-direction along the node vector
, yielding
NURBS curves and their control points. This process produces the corresponding control mesh, as shown in
Figure 3b, where the weights of all control points are set to 1. Finally, the tooth surface model, as shown in
Figure 3c, is obtained using the forward calculation method of NURBS surfaces.
3.4. Construction of Theoretical Modified Tooth Surface
Since the axial modification curve is superimposed on the graduated circle helix, it can be considered a change in the end section tooth profile along the axial direction. The actual modification outline shape of the tooth profile is formed by rotating the pre-modification tooth profile by an angle
around the
axis, as shown in
Figure 4. The relationship between the rotation angle
and the drum-shaped modification amount
at various points can be expressed as follows:
In the equation, represents the radius of the graduated circle.
Consequently, the theoretical equation for the axial modification tooth surface can be derived as follows:
In the equation, represents the angle through which the gear has rotated.
5. Establishment and Solution of Multi-Objective Optimization Model
5.1. Multi-Objective Optimization Model
When performing double-sided grinding, the multi-objective optimization problem mentioned earlier is transformed into a single-objective optimization problem using an evaluation function. The Weighted Sum Method is employed by assigning different weight values to multiple objective functions and summing them to form a single objective function, thereby converting the multi-objective problem into a single-objective problem for solution. Considering the influence of each objective function, a weight is introduced to determine its impact on the objective function. Therefore, the evaluation function for the grinding wheel installation angle in form grinding can be expressed as follows:
Here, , , , are the weights for each objective, with , , , and .
In the actual simulation calculations, the theoretical modified tooth surface is known, along with the axial modification tooth surface model, which is constructed based on a series of corresponding discrete points along the spatial contact line. By calculating the average offset distance of each point on the actual modified tooth surface, the maximum twist of the transverse profile and the maximum twist of the flank profile can be determined.
According to the simulation verification, the relationship between the installation angle
and
,
is shown in
Figure 10.
A graduated circle cylindrical surface is constructed along the axis of the gear, intersecting with the actual axial modification tooth surface model. The intersections of the tooth surfaces on both sides of the tooth slot with the cylindrical surface form the actual axial modification tooth surface helices. The total helix deviation is defined as the absolute difference between the maximum and minimum deviation distances between the design helix and the measured helix.
According to the simulation verification, the helix deviation at each point, denoted as
, can be determined based on the graduated circles generated along the tooth width direction. Through simulation verification, the relationship between installation angle
and
is shown in
Figure 11.
When optimizing the gear parameters for form grinding, it is essential to improve machining efficiency while ensuring the quality of the process. During helical gear grinding, one side of the contact line along the tooth width direction first contacts the gear, and the other side of the contact line is the last to disengage from the gear at the end of the process. The actual stroke of the grinding wheel in the tooth slot is the sum of the tooth width, and the distances between the contact lines on both sides are denoted as
. Reducing the grinding stroke shortens the grinding time and improves efficiency. According to the simulation verification, the relationship between the installation angle
and
is shown in
Figure 12.
The four optimization objectives are reducing the twist of the transverse profile, reducing the twist of the flank profile, reducing the helix deviation, and improving the form grinding efficiency. In engineering practice, the judgment matrix method can determine the weight coefficients of different objective functions. Each element
in the judgment matrix
represents the importance ratio of the i-th objective function to the j-th objective function. Assuming there are
objective functions, the weight coefficients between all the objective functions can be given as follows:
Construct an optimized judgment matrix that includes four objective functions.
The weight coefficient
can be expressed as follows:
The final evaluation function can be expressed as follows:
5.2. Optimization Algorithm
The Particle Swarm Optimization (PSO) algorithm measures the quality of individuals using an evaluation function. Based on this function, it obtains fitness values to perform random searches within the population. The PSO algorithm modifies individuals by adjusting their random velocities, making the computational process straightforward and free from genetic operations such as crossover and mutation. In terms of search performance, it is slightly superior to the Genetic Algorithm (GA).
The PSO algorithm begins by initializing the particle swarm, randomly assigning initial positions and velocities to each particle. These positions and velocities should be within the defined problem space while also initializing each particle’s individual and global best positions. Next, the algorithm evaluates the current position of each particle based on the calculated objective function, updating both the individual and global best positions. Finally, the algorithm assesses the fitness value of each particle’s function, updates each particle’s historically best position, and iteratively approaches the optimal solution. The PSO algorithm is conceptually simple, easy to program, and requires minimal parameter tuning. The algorithm exhibits strong global search capabilities by sharing information among all particles in the swarm. It is suitable for continuous, discrete, and multi-objective optimization problems and has demonstrated exemplary performance across various application domains.
Assume there are
particles in an n-dimensional space, with each particle’s position defined as
. The objective function is used as the fitness value
. In each iteration, the objective function value of each particle is calculated, and two “extreme values” are compared, with the best solution saved as the current extreme value. The current velocity of each particle is denoted as
, and the best position a particle has achieved is represented as
. Each particle updates its velocity and position using the following equations:
where
is the velocity of particle
in the t-th generation;
is the particle’s inertia weight;
and
are acceleration coefficients, representing the cognitive learning factor and the social learning factor, respectively;
and
are two mutually independent random numbers between 0 and 1;
is the best position the particle
has achieved; and
is the global best position achieved by the entire particle swarm.
5.3. Optimization Results
A Particle Swarm Optimization (PSO) algorithm was implemented in Mathematica, with the population size set to 50 and the maximum number of iterations set to 200. The learning factors were
, the inertia weight
, and the independent random numbers
. The weight coefficients calculated in
Section 5.1 were
,
,
, and
for optimization.
In this paper, a right-hand involute helical gear was selected for tooth surface construction. The parameters for the simulated axial modification gear are shown in
Table 1.
Figure 13 shows the variation in fitness value over 200 iterations of the PSO algorithm. The evaluation function curve of the form grinding optimization model is smooth and gradually decreases, stabilizing after 15 iterations, at which point the evaluation function
reaches its minimum value. During the simulation, the PSO model determined the optimal installation angle of the form grinding wheel to be 77.7551°. By comparing this angle with the original installation angle of 77°, it can be observed that the change in the installation angle of the form grinding wheel significantly impacts the contact line, assuming all other conditions remain unchanged.
During engaging-in, the error is 0.43 μm at the tooth tip, 13.57 μm at the involute, and 8.26 μm at the tooth root. During engaging-out, the error is 1.79 μm at the tooth tip, 13.75 μm at the involute, and 10.07 μm at the tooth root. The maximum twist of the transverse profile was reduced by 53.22%, and the maximum twist of the flank profile was reduced by 54.41%. The total helix deviation decreased from 4.00 μm to 1.09 μm, with a reduction of 72.75%. The distance between contact lines decreased from 11.88 mm to 5.14 mm, improving machining efficiency by 3.18%.
6. Conclusions
A gear axial grinding optimization method was proposed based on the Particle Swarm Optimization (PSO) algorithm. A mathematical model for axial modification in form grinding was established based on gear meshing principles to solve the instantaneous contact lines at multiple positions on the actual modified tooth surface. By analyzing the influence of the grinding wheel installation angle on the contact line during axial modification, the following four objective functions were used: twist of the transverse profile, twist of the flank profile, the helix deviation, and the grinding stroke to optimize the final evaluation model. The grinding wheel installation angle was used as the input, and the evaluation model was the output for solving the optimization problem.
This study systematically investigated the relative motion between the form grinding wheel and the helical gear, calculated the mathematical model of the actual modified tooth surface, and revealed the tooth surface twist error. In double-sided grinding, the evaluation model was used to convert the multi-objective optimization problem into a single-objective optimization problem.
The results show that after optimization, the maximum twist of the transverse profile was reduced by 53.22%, and the maximum twist of the flank profile was reduced by 54.41%. The total helix deviation decreased from 4.00 μm to 1.09 μm, with a reduction of 72.75%. The distance between the contact lines decreased from 11.88 mm to 5.14 mm, resulting in a 3.18% improvement in machining efficiency. In the future, the optimization method for reducing the principle errors of the axial modification tooth surface, based on the Particle Swarm Optimization (PSO) algorithm proposed in this paper, will be integrated into the CNC system of the form grinding machine developed by our research group and further refined through actual machining experiments.