Next Article in Journal
An Experimental Study on the Fine Particle Emissions of Brake Pads According to Different Conditions Assuming Vehicle Deceleration with Pin-on-Disc Friction Test
Previous Article in Journal
An Experimental Demonstration of 2D-Multiple-Input-Multiple-Output-Based Deep Learning for Optical Camera Communication
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Gear Integrated Error Determination Using the Gaussian Template Convolution-Facet Method

1
Beijing Engineering Research Center of Precision Measurement Technology and Instruments, Faculty of Materials and Manufacturing, Beijing University of Technology, Beijing 100124, China
2
School of Construction Machinery, Shandong Jiaotong University, Jinan 250357, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2024, 14(3), 1004; https://doi.org/10.3390/app14031004
Submission received: 18 November 2023 / Revised: 18 January 2024 / Accepted: 22 January 2024 / Published: 24 January 2024
(This article belongs to the Section Mechanical Engineering)

Abstract

:
A gear integrated error, a combination of individual and composite errors, carries richer information and has long been a key target of classic gear error measurement techniques. However, in the age of intelligent manufacturing, the classic methods for gear integrated error measurement are no longer able to meet the emerging requirements of large-scale gears and real-time online measurement. To address this gap, a novel approach to obtaining the gear integrated error based on GTC−Facet (Gaussian template convolution-Facet) is proposed. This method accurately pinpoints the sub-pixel contour of gears in images, enabling a quick derivation of the gear integrated error curve. From this curve, other individual and composite errors can be analyzed. The gear error information obtained through our method has higher measurement accuracy, achieving a positioning accuracy of 3.6 μm for the gear profile. Moreover, during the measurement process, the measured gear remains unclamped, and the entire measurement process can be completed within 0.35 s, which is much faster than classic methods. Our method meets the demands of online measurements and provides a new avenue for gear error measurement.

1. Introduction

Traditionally, gear accuracy measurement is classified into individual error measurement, composite error measurement, and integrated measurement [1]. Typical instruments include gear measurement centers, dual-flank mesh measuring instruments, one-sided mesh measuring instruments, and gear integrated error measuring instruments [2,3,4]. Nevertheless, conventional contact gear measuring instruments gradually reveal certain limitations [5]: the gear measurement center is unable to obtain composite errors; dual-flank mesh and one-sided mesh measuring instruments are incapable of obtaining individual errors [6].
Classic gear integrated error measuring instruments rely on single-tooth measuring devices, employing a specialized standard component known as the “special tooth-skipped master worm” to achieve “tooth-skipped one-sided meshing” measurements with a coincidence degree of less than 1, thereby obtaining the gear integrated error curve [7]. While these measurements yield results that encompass both individual and composite errors, the production of the special tooth-skipped master worm as a standard measuring element is challenging and lacks universal applicability. This limits the flexibility of classic gear integrated error measuring instruments to switch between different products, restricting their range of application [8]; the measurement efficiency cannot meet the online measurement needs of large-scale gears.
Unlike previous gear contact measurement technologies, gear vision measurement technology belongs to non-contact measurement with high measurement efficiency, making it well suited for online measurement and sorting [9,10]. In recent years, some scholars have applied sub-pixel detection algorithms to gear measurement, resulting in improved measurement accuracy. Chen, M.J. et al. [11] used the Zernike moment sub-pixel algorithm and morphological filtering method to extract and refine gear contours. A spur gear with a tip diameter of 49.751 mm and 23 teeth was selected as the measurement object, achieving a relative error of approximately 5% in the accumulated total deviation of the measured tooth pitch. Moru, D.K. et al. [12] measured the outer diameters of 12 spur gears with a nominal diameter of 62.014 mm using an interpolation-based sub-pixel operator provided by the Halcon algorithm library, with an error range between 2 μm and 30 μm. Duan, Z.Y. et al. [13] proposed a sub-pixel edge localization algorithm based on Gaussian integral surface fitting, which meets the profile deviation measurement requirements of five-level precision involute spur cylindrical gears with a tooth number of 60 and a modulus of 2.0 mm.
It is evident that while certain sub-pixel algorithms have been employed to enhance measurement accuracy, they are only able to accommodate gears of medium modulus, and there is a lack of research assessing the accuracy of fine modulus (modulus less than or equal to 1.0 mm) gears. Additionally, the current methods are limited to measuring individual errors, rather than gear integrated errors, leading to insufficient gear error information derived from images.
In this study, a gear integrated error measurement method based on GTC−Facet is proposed. This method utilizes the Canny operator to determine the gear edge transition area, and employs the GTC method to acquire the Hessian matrix. By matrix manipulation, the gray distribution Facet model is promptly obtained, enhancing the positioning speed and accuracy of the gear profile. Additionally, it integrates the theory of gear integrated error, enabling the instant acquisition of gear integrated error curves. This approach not only facilitates the decomposition of individual errors such as pitch deviation and profile deviation in gear analysis measurement, but also enables the decomposition of tangential composite deviation in gear functional measurement, significantly improving gear error analysis capabilities.

2. Theory of Gear Integrated Error

2.1. Gear Integrated Error Curve

The integrated error curve for gears serves as a comprehensive compilation of both individual and composite error data, providing a more extensive set of information compared to individual gear errors alone. As illustrated in Figure 1, the blue curve depictes the model of the integrated error curve within the gear section. The abscissa for each point on the curve corresponds to the angular coordinate φ (unit: °) associated with the respective point on the tooth face, while the ordinate represents the integrated error value denoted as GIE (unit: μm). Each segment of the curve signifies the integrated error of the left or right flank of each tooth.
The determination of pitch deviation, profile deviation, and other error parameters outlined in the international standard for gear accuracy is executed within a specific section of the tooth trace. Simultaneously, the calculation of the gear integrated error curve is conducted within the same tooth trace section. Consequently, the gear integrated error curve discussed in this article pertains specifically to the integrated error curve within the gear section, aligning with established gear accuracy standards.
The symbol meanings of the error term in Figure 1 are as follows: f p t represents the single-pitch deviation; F p k represents the sector pitch deviation; F p represents the cumulative pitch deviation; f i represents the tooth-to-tooth tangential composite deviation; F i represents the total tangential composite deviation; and F α represents the total profile deviation. According to the integrated error curve, the profile form deviation, f f α , and profile slope deviation, f H α , can be further obtained; f p b t represents the base pitch deviation. The detailed definitions of these error items are given in the ISO-1328.1:2013 [14] and ISO/TR 10064-2:1996 [15] standards and will not be elaborated here.
Superimposing the gear integrated error curves of the left and right flanks on the same coordinate system can obtain a bidirectional integrated error curve in gear section (SJZ curve). Figure 2 is a segment on the SJZ curve, the pair of deviation values: C L and C R (or C L and C R ) representing the fixed chord position of the tooth, which should be located on the same angular coordinate φ . The vertical coordinate distance between C L / C R and C L / C R is L C or L C , and its maximum variation is radial runout, defined as following:
F r = max ( L C , L C )

2.2. Relationship between Integrated and Various Error Terms

The gear integrated error includes numerous gear error terms. The pitch deviation, profile deviation, and tangential comprehensive deviation can be separated from the integrated error curve in gear section. The radial runout can be separated from SJZ curve [16].
As shown in Figure 3, the AB segment is the overlapping meshing area between the tooth i and the tooth i − 1, the BC segment is the separate meshing area of the tooth i, and the CD segment is the overlapping meshing area between the tooth i + 1 and the tooth i. Assuming the number of sampling points for each tooth face is N, and if the overlap coefficient is ε, then the number of sampling points for the AC section is as follows:
N 3 = I N T ( N / ε )
In the formula, INT represents rounding. The number of sampling points for AB segment is as follows:
N 4 = N N 3
When G I E 0 , j = G I E z , j , z is the number of teeth, and G I E i , j is the integrated error value of the sampling point j on the tooth i, and then the longitudinal coordinate values of each point on the outer envelope of the gear integrated error curve are as follows:
L [ ( i 1 ) × N + j ] = max ( G I E i 1 , j + N 3 , G I E i , j ) 1 j N 4 G I E i , j N 4 N 3 1 i z
The envelope of the gear integrated error curve is the total tangential composite deviation curve. The maximum variation of the total tangential composite deviation curve along the ordinate within the range of 0–360° is F i , and the maximum variation of the ordinate within the range of 360°/z is f i . The formulas are as follows:
F i = max L [ k ] min L [ k ] 1 k N 3 × z
f i k = max L [ k × j ] min L [ k × j ] 1 j N 3 , 1 k z
f i = max ( f i k )
According to the definition, the remaining errors can be obtained:
F p = max ( F p i ) min ( F p i ) 1 i z
f p t max = max ( f p t i ) f p t min = min ( f p t i ) 1 i z
where F α i = max ( f f i , j ) min ( f f i , j ) 1 j N , then
F α max = max ( F α i ) 1 i z
In the formula, f f i , j is the profile deviation of the sampling point j on the tooth i; f p t max is the maximum value of a single-pitch deviation, and f p t min is the minimum value of the single-pitch deviation. F α max is the maximum total profile deviation, where υ i = max G I E i , j G I E i 1 , j + N 3 1 j N 4 , then
f p b i = υ i × cos α
f p b max = max ( f p b i ) f p b min = min ( f p b i )   1 i z

3. GTC−Facet Sub-Pixel Algorithm

The Facet model, introduced by Robert M. Haralick in 1984 [17], conceptualizes an image as a matrix comprised of numerous pixel units, allowing for its subdivision into several smaller matrices. Each region of these matrices conforms to a specific grayscale distribution, representing a Facet. The grayscale distribution function of each Facet is expressed as a polynomial function of the pixels within its corresponding region. However, directly employing polynomials for coefficient determination exhibits suboptimal resistance to interference, and computing the coefficients of binary cubic polynomials entails a considerable computational load.
This article addresses these challenges by transitioning from polynomial fitting of Facet to the utilization of Gaussian template convolution (GTC). The outlined steps are as follows:
By Taylor expansion of a unary function at x 0 , we can obtain the following:
f ( x 0 + x ) = f ( x 0 ) + x · f ( x 0 ) + 1 2 ! x 2 · f ( x 0 ) + o | | x 2 | |
The mapping of second-order derivatives to two-dimensional and multi-dimensional spaces is the Hessian matrix. In a two-dimensional image, f ( x , y ) is a function that represents the grayscale value of the image, and expanding the f ( x + x , y + y ) at f ( x 0 , y 0 ) , rewriting it in a matrix form, and rounding off the remaining term o | | x 2 | | can obtain the following:
f ( x + y ) f ( x 0 + y 0 ) + x , y f x ( x 0 , y 0 ) f y ( x 0 , y 0 ) + 1 2 ! x , y f x x ( x 0 , y 0 ) f x y ( x 0 , y 0 ) f y x ( x 0 , y 0 ) f y y ( x 0 , y 0 ) x y
The second matrix in the third term to the right of the above equation, which is the Hessian matrix in two-dimensional space. The Hessian matrix is the second derivative at a point ( x , y ) in two-dimensional space, written as a partial derivative matrix in the form of
H ( x , y ) = f x x ( x , y ) f x y ( x , y ) f y x ( x , y ) f y y ( x , y ) = 2 f ( x , y ) x 2 2 f ( x , y ) x y 2 f ( x , y ) x y 2 f ( x , y ) y 2
The Hessian matrix simplifies the calculation of the grayscale distribution function by simply finding the elements in the matrix, which is actually the second derivative of the point. Because the data of a two-dimensional image are discrete, the general method for obtaining the second derivative of x at this point is to convert the derivative of a discrete function into a difference:
f x x ( x , y ) = f ( x , y ) f ( x x , y ) ( f ( x x , y ) f ( x + 2 x , y ) )
However, this method only considers the information of the three pixels containing itself, and the amount of information is insufficient, so its robustness is poor. According to the linear scale space theory, taking the derivative of a function is equal to the convolution of the derivative of the function and Gaussian function:
f ( x , y ) x = f ( x , y ) * G ( x , y ) x
In the equation, * represents convolution, and G ( x , y ) is the Gaussian function:
G ( x , y ) = 1 2 π σ 2 e ( x 2 + y 2 ) / ( 2 σ 2 )
So, the elements in the Hessian matrix at ( x 0 , y 0 ) can be solved by convolving the image grayscale function with the second-order derivative of the Gaussian function:
f x x ( x 0 , y 0 ) = f ( x 0 , y 0 ) * 2 G ( x , y ) x 2
The Gaussian template is able to include information from all points within the n × n-neighborhood range of the point, which makes the results of the second derivative more accurate. When applying, it is necessary to convolute the complete image with the three partial derivative templates of the Gaussian function in order to calculate the Hessian matrix elements at the corresponding positions.
However, when we perform sub-pixel edge localization, truly useful information in the image only exists in the edge transition region. Therefore, we can first perform a coarse localization of the gear contour edge to determine the edge transition region, thereby reducing the image area that needs convolution. The rough positioning of gear contour edges is achieved using the Canny operator [18], and the edge transition region can be obtained through integer level pixel edges and corresponding gradients extracted by the Canny operator. Finally, an edge transition region with a width of 5–10 pixels is retained for convolution calculation.
According to the Steger algorithm [19], if there is a point ( x 0 , y 0 ) on the integer level pixel edge of the gear contour, and ( n x , n y ) is the absolute value of the maximum eigenvalue of the Hessian matrix at this point corresponds to the unit eigenvector, then ( n x , n y ) is the unit normal vector (also as the unit gradient vector) of the gear edge contour. At ( x 0 , y 0 ) , referring to Equation (14), the grayscale of point ( x 0 + t n x , y 0 + t n y ) in the normal direction can be expressed as follows:
f ( x 0 + t n x , y 0 + t n y ) = f ( x 0 , y 0 ) + [ t n x , t n y ] [ f x ( x 0 , y 0 ) , f y ( x 0 , y 0 ) ] T + 1 2 [ t n x , t n y ] H ( x 0 , y 0 ) [ t n x , t n y ] T
As shown in Figure 4, the gear profile conforms to the ramp type edge, so the sub-pixel coordinates should be located at the maximum grayscale value on the edge. Therefore, let f t = 0 , then the solution is as follows:
t = n x r x + n y r y n x 2 r x x + 2 n x n y r x y + n y 2 r y y
If t n x and t n y can simultaneously satisfy t n x [ 1 2 , 1 2 ] and t n y [ 1 2 , 1 2 ] and the sub-pixel coordinate points are located within the current pixel, then the sub-pixel coordinates of the gear contour are as follows:
x = x 0 + t n x y = y 0 + t n y
The specific steps of the gear sub-pixel contour extraction method based on the GTC−Facet model are depicted in Figure 5.

4. Obtaining Gear Integrated Error Based on GTC−Facet

The essence of the gear integrated error acquisition method proposed in this article, based on GTC−Facet, lies in the extraction of information from the image to synthesize the gear integrated error curve. The essential data for this synthesis comprise the gear end face center point, pitch deviation, and profile deviation.

4.1. Accurate Positioning of the Center Point of the Gear End Face

The center point of the gear end face is the basis for accurately calculating a series of gear accuracy detection items such as radial composite deviation, pitch deviation, and profile deviation, so it is necessary to first locate the gear center during measurement. The center of a gear can be fitted by the tip circle, root circle, or center hole circle. However, compared to the tip and root, the center hole is usually used as a fitting hole to be integrated with the output shaft or bearing. The size tolerance and cylindricity of the center hole reflect the performance of the gear, so the center hole is used to fit the gear center here.
The GTC−Facet sub-pixel fitting algorithm is used to extract the contour of the center hole, and the least squares method is used to fit the center of the circle. However, considering that using visual methods to measure and extract the gear contour is highly susceptible to dust interference and outliers, the least squares method is not reliable enough for outliers and may result in significant calculation errors. Therefore, this article adopts an iterative reweighted least squares method to improve the accuracy of circle fitting. Firstly, the coordinate formula for a circle is as follows:
( x x 0 ) 2 + ( y y 0 ) 2 = r 2
( x 0 , y 0 ) and r are the center and radius of the fitted circle, respectively. Assuming that there are n extracted center hole edge points, and the coordinates of each sub-pixel contour point are ( x i , y i ) , i = 1~n. The optimization objective function for the square of its error can be expressed as follows:
S = i = 1 n ( x i 2 2 x 0 x i + x 0 2 + y i 2 2 y 0 y i + y 0 2 r 2 ) 2
Where
b 1 = 2 x 0 , b 2 = 2 y 0 , b 3 = x 0 2 + y 0 2 r 2
After introducing distance weights w i for each sub-pixel contour point ( x i , y i ) , Equation (24) will be rewritten as follows:
S = i = 1 n w i ( x i 2 + y i 2 + b 1 x i + b 2 y i + b 3 ) 2
The ultimate goal of the iterative reweighted least squares method is to achieve a minimum value for the objective function S. At this point, simply take the partial derivatives of coefficient b 1 , b 2 , and b 3 separately, and make all partial derivatives zero to obtain the coefficients of the objective function. However, for Equation (26), the distance from each point to the center of the circle cannot be determined until the coefficients are fitted, so weights cannot be assigned. Therefore, iterative methods need to be used to solve the problem. In the first iteration, the standard least squares method is used to fit the circle, i.e., w i = 1 . In the 2−n iterations, the weight function proposed by Huber is used:
w ( δ ) = 1 ,   | δ | γ γ / | δ | ,   | δ | > γ
In the equation, parameter γ is the clipping function, which defines which points are outliers. The δ independent variable of the function represents the distance from a point to the center of a circle. After multiple iterations, calculate the optimal coefficients b 1 , b 2 , and b 3 , and substitute them into Equation (26) to calculate the best fitting center and radius:
x 0 = b 1 2 , y 0 = b 2 2 , r = 1 2 b 1 2 + b 2 2 4 b 3
Figure 6 shows the result of fitting the center and radius of the gear center hole using the iterative reweighted least squares method. Similarly, the tip circle and root circle can also be calculated using the method of fitting the center hole circle.

4.2. Calculation of Pitch Deviation and Profile Deviation

The key to calculating the gear integrated error based on visual images lies in the precise extraction of profiles. Classic edge detection algorithms can only extract pixel-level contours. By using the GTC−Facet sub-pixel positioning algorithm proposed in this article, the pixel-level edge contours can be further subdivided into sub-pixel levels. The effect is shown in Figure 7, and the blue arrow represents the gradient amplitude and direction of the gray level at the sub-pixel coordinate point. For ease of expression, draw an arrow every three coordinate points and reduce the amplitude of the arrow by ten.
Take the extracted center point of the gear end face as the center of the circle, measure the radius of the theoretical indexing circle as the radius, intersect with the profile, and sort the intersection points according to the serial number of the gear teeth. As it shown in Figure 8:
The actual angle α i corresponding to the single left pitch can be calculated from the vectors O L i and O L i + 1 (the same to the single right pitch):
α i = arccos O L i · O L i + 1 O L i · O L i + 1 , i = 1 , 2 , z 1
This can further calculate the corresponding arc length between L i and L i + 1 , which is the actual tooth pitch P i :
P i = d M / 2 · α i = d / 2 · α i
The individual single-pitch deviation f p t i is as follows:
f p t i = P i P
The theoretical tooth pitch P = π d / z in the equation is calculated at the indexing circle, and the single-pitch deviation f p t is the maximum absolute value of f p t i :
f p t = max | f p t i |
Sector pitch deviation F p k :
F p k = i = j j + k f p i
Cumulative pitch deviation F p :
F p = max ( F p k ) min ( F p k )
In the previous step, the sub-pixel coordinate set of the gear profile has been obtained. Before calculating the profile deviation, the theoretical involute corresponding to each profile needs to be generated. When the starting point ( r b , 0 ) of the involute is located, the involute equation is (the left and right profiles are the same) as follows:
x = r b cos φ + r b · φ · sin φ
y = r b sin φ r b · φ · cos φ
In the formula, r b is the radius of the basic circle, φ is the rolling angle, and φ = tan α ; α is the pressure angle at any point on a segment profile, α = arccos ( r b / r ) , and r is the distance from that point on the profile to the center of the circle.
Each profile has an intersection point with the basic circle, and to obtain the angle γ at which each intersection rotates relative to ( r b , 0 ) , the involute equation is as follows:
x = r b · cos ( φ + γ ) + r b · φ · sin ( φ + γ )
y = r b · sin ( φ + γ ) r b · φ · cos ( φ + γ )
The position of the theoretical involute is shown in Figure 9.
As shown in Figure 10, place the coordinate origin at the center of the circle, where A ( x i , y i ) is a point on the actual profile, the red curve represents the theoretical involute, and point A on the actual profile is perpendicular to the theoretical involute, with a perpendicular foot of P ( x , y ) . According to the properties of the involute, the line connecting PA is also tangent to the basic circle at point T. Assuming that the angle between the starting point of the involute and the tangent point T is θ and the length of OA is ρ , then
| T A | 2 = ρ 2 r b 2 = x i 2 + y i 2 r b 2
Write the coordinates of point A in polar coordinates, that is ( x i , y i ) = ( ρ · cos α , ρ · sin α ) , and if the angle of the initial position of the involute is 0 degrees, then
θ = α + arccos ( r b / ρ )
| A P | = r b · θ | T A | = r b · θ x i 2 + y i 2 r b 2
The profile deviation at any point A on the profile evaluation segment is the length of segment AP, which needs to be judged as positive or negative. Generally, when the actual profile point is located outside the gear tooth area surrounded by the theoretical left and right profiles, it is positive and negative values are taken internally.

4.3. Synthesis of Gear Integrated Error Curve

The gear integrated error measurement method presented in this article necessitates only the acquisition of pitch and profile deviation, followed by the construction of the gear integrated error curve. Subsequently, additional analyses of other individual and composite errors can be conducted. Specifically, the profile deviation is superimposed onto a cross-sectional gear integrated error curve based on the actual graduation of each tooth, as determined by the pitch deviation.
However, the calculation direction of pitch deviation and profile deviation is different. When synthesizing, the component of profile deviation in the direction of pitch deviation should be considered. Based on Figure 10, the components of profile deviation at each point on the tooth face in the direction of pitch deviation (motion direction) should be considered. As shown in Figure 11, this component is marked in green, and the value of this component can be easily obtained, which is f f i , j / cos α .
Therefore, the following synthesis formula should be used:
G I E i , j = F P i + f f i , j / cos α 1 i z , 1 j N
In the equation, G I E i , j is the integrated error value of the point j of the profile i on the gear integrated error curve, F P i is the sector pitch deviation of the tooth i, and f f i , j is the profile deviation value of the point j of the tooth i; N is the number of sampling points on the profile.
Due to the fact that the values obtained in the image are in pixels, the final integrated error value needs to be converted to the actual unit of micrometers. Before taking the measurement, the gear vision measurement system needs to be calibrated. After calibration, a ratio coefficient λ (pixel equivalent) between the image coordinate system and the world coordinate system can be obtained. The integrated error value obtained in the image can be multiplied by this coefficient to obtain the final integrated error value:
G I E i , j = G I E i , j · λ 1 i z , 1 j N
In the formula, G I E i , j is the integrated error value of the tooth i and point j obtained from the image in pixels, and G I E i , j is the integrated error value of the tooth i and point j in micrometers.

5. Experiment and Discussion

5.1. GTC−Facet Algorithm Positioning Accuracy

Select master gears with an accuracy of JIS B1751−M00 from Japan Technomax Inc, Osaka, Japan. As shown in Figure 12a, the number of teeth is 38, the modulus is 1.0 mm, the pressure angle is 20 degrees, and the diameter of the center hole is labeled 12.0 mm. The positioning accuracy is compared by measuring the center hole of the gear. Figure 12b shows a comparison of positioning errors between the two algorithms, and the errors at each point represent the difference between the distance between the extracted center hole contour points and the nominal radius.
The experiment counted the difference between the distance from the contour point of 2200 holes to the center of the circle and the nominal radius, and the pixel equivalent of the gear image is 7.71 μm/pixel. The positioning error using a Canny pixel-level algorithm is relatively large, with a standard deviation of 28.77 μm. There is a significant issue of eccentricity. The standard deviation of positioning error obtained using the GTC−Facet algorithm is 3.58 μm. Using the standard deviation as the evaluation standard for positioning accuracy, its positioning accuracy is 3.58/7.71 = 0.46 pixel.

5.2. GVMS Integrated Measurement Experiment

This experiment requires building a visual measurement system and calibrating it.

5.2.1. Experimental Setup

The GVMS (Gear Visual Measurement System) has been built, including industrial cameras, lenses, LED backlight sources, visual brackets, and upper computers, as shown in Figure 13a. The system parameters of GVMS are shown in Table 1, and the collected gear images are shown in Figure 13b.
Before taking the measurement, it is necessary to calibrate the GVMS using a 9 × 9 dot array calibration board. According to Zhengyou Zhang’s calibration method [20], collect eight calibration board images with different poses, perform sub-pixel extraction on each calibration board image, calculate the pixel distance between the dots, and convert it to the actual physical coordinate system. Finally, the actual physical size represented by one pixel is obtained using the calibration board as 4.76 μm. Therefore, the pixel equivalent is 4.76 μm/pixel.

5.2.2. Measurement Results

The integrated error curve in the gear section on the right/left flank obtained through GVMS is shown in Figure 14a and Figure 15a. Here, 1–17 teeth are sorted and distinguished by lines of different colors. There are 137–166 sampling points on each profile, with adjacent teeth spaced 360°/z.
The gear integrated error curve of the cross-section of the right flank takes the basic circle position of the first right flank as the initial position, where the rolling angle is 0°. The gear integrated error curve of the left flank section rotates 360°/z/2 more counterclockwise than the right flank, so the curve does not start from the rolling angle of 0°. The termination position of the gear integrated error curve of the left flank section is at the basic circle of the 17th left flank, and the angle at this position must be greater than 360°. This way, the integrated error curve in the gear section composed of the right and left flanks can fully contain the error information of the gear for one revolution.
ISO−1328.1:2013 [14] requires low-pass filtering of the original measurement data used for involute evaluation before analyzing and comparing tolerances. This article also applies Gaussian low−pass filtering to the integrated error curve in the gear section. Figure 14a and Figure 15a show the filtered integrated error curve in the gear section using the Cartesian coordinate system. Figure 14b and Figure 15b show the results of the extracted envelope from the error curve.
Figure 16 and Figure 17 are the polar coordinate system representations of the gear integrated error curve. The value of polar coordinates is calculated using the distance in the direction of the inscribed or circumscribed circle that contains the error curve. The use of the Cartesian coordinate system to represent the error curve is more in line with people’s habits of observation, while the use of polar coordinate representation can more intuitively reflect the integration of the gear corresponding to various angles on the circumference of the gear. Both methods can decompose the individual errors of gears from them.

5.3. Comparative Experiment between GVMS and P26

The error measurement of the same gear was carried out using Klinberg’s gear measurement center P26 and compared with the GVMS measurement results. The experimental site photos are shown in Figure 18.

5.3.1. Comparison of Integrated Measurement Results

The results of the pitch deviation, base pitch deviation, profile deviation, and tangential composite deviation measured by GVMS and P26 are summarized in Table 2. The base pitch deviation and tangential composite deviation measured by P26 are decomposed from the gear integrated error curve.

5.3.2. Comparison of Pitch Deviation Results

The comparison results of the pitch deviation data decomposed from the gear integrated error curve are shown in Figure 19 and Figure 20.
According to ISO 1328−1:2013 [14], it can be seen from Table 3 that the pitch deviation of the gear meets level 8 accuracy, and the evaluation results of GVMS and P26 are consistent.

5.3.3. Comparison of Profile Deviation Results

As shown in Figure 21, the total profile deviation F α , the profile form deviation f f α , and the profile slope deviation f H α can be decomposed from the gear integrated error curve. Taking the gear integrated error curve of the right flank of the third gear tooth as an example, it can be calculated that F α = 1.9 μm, f f α = 1.2 μm, and f H α = 2.2 μm. L α is the length of the profile measurement, g α is the length of the meshing line, C f is the control point of the profile, F a is the forming point of the tip, and N f is the effective root point.
According to ISO 1328−1:2013 [14], it can be seen from the profile deviation data of the four teeth in Table 4, Table 5 and Table 6 and Figure 22 and Figure 23 that the profile deviation of the gear meets level 7 accuracy, and the evaluation results of GVMS and P26 are basically consistent. The absolute value of the maximum error of F α measured by both is 3.6 μm. The maximum error of f f α is 1.9 μm. The maximum error of f H α is 3.9 μm.

5.3.4. Measurement Speed Comparison

The average speed of measuring one gear using the method described in this article is about 0.35 s/piece. However, classic gear integrated error measurement methods use contact measurement, which is much slower. Wang, X.Y. [21] mentioned that measuring the one product gear with 28 teeth takes about 20 s, and the actual measurement also includes the clamping time, which takes even longer. Therefore, using the method described in this article to measure the gear integrated error has increased the measurement speed compared to classic methods, as shown in Figure 24.

5.4. Application of Methods

5.4.1. Detection of Tooth Face Burrs

The method proposed in this article can quickly and accurately identify burrs on the tooth’s face. As shown in Figure 25a, the burr is on the left flank of tooth 6. It is difficult to accurately identify and determine the position of the burr through conventional individual error analysis. However, by analyzing the integrated error curve in the gear section using the method described in this article, as shown in Figure 25b,c, it can be clearly observed that the burr’s radial length is approximately 27.2 μm within the range between 120° and 138° on the gear.

5.4.2. Detection of Gear Eccentricity

The method in this article only needs to analyze the eccentricity of the gear based on the SJZ curve. As shown in Figure 26, the gear to be tested has a certain eccentricity between the middle hole and the tip. The number of teeth is 23, and the modulus is 1.0 mm.
As shown in Figure 27, the SJZ curve is drawn, which can clearly reflect the eccentricity of the gear. The radial runout can be calculated from Equation (1), then it can be calculated that F r = 35.1 μ m .

5.4.3. Analysis of Profile Modification

By using the method presented in this article, various profile modifications can be analyzed, as shown in Figure 28. The integrated measurement of a spur gear with 23 teeth and 1.0 mm modules clearly demonstrates that the middle of the tooth width protrudes outward. Therefore, it can be concluded that the gear has undergone profile crowning modification.

6. Conclusions

Our method, based on the GTC−Facet algorithm, represents novel technology for obtaining gear integrated errors instantaneously. This approach affords several advantages, including fast measurement speed, high positioning accuracy, and comprehensive error information. Additionally, it holds the potential to enable online full inspection on large-scale and fine-module gear production lines in the future. As follows:
(1) A GTC−Facet sub-pixel algorithm is proposed to extract gear contours, achieving a positioning accuracy of 3.6 μm. This algorithm simplifies polynomial fitting to the Gaussian template convolution operation and utilizes the Canny operator to determine the gear edge transition region, effectively reducing the image convolution area and saving computational time.
(2) The iterative reweighted least squares method is employed to fit the center point of the gear end face. By calculating the pitch deviation and profile deviation, the gear integrated error curve can be synthesized. From the curve, both analytical and functional measurement results of the gears can be derived. Compared with the measurement results of P26, for gears with 23 teeth and module of 0.5 mm, the maximum error is 2.2 μm for F p , −1.6 μm for f p max , 3.6 μm for the absolute value of F α , 1.9 μm for f f α , and 3.9 μm for f H α .
(3) The information about each tooth can be measured simultaneously without affecting the overall measurement speed. The average measurement speed of the method is approximately 0.35 s/piece, which is much faster than the classic contact measurement method (20 s/piece). There is no need for clamping during measurement, enhancing measurement speed while avoiding the introduction of clamping errors and gear damage. It also allows for the rapid identification and quantitative analysis of tooth face burrs and micro modifications of each profile.
At present, the method proposed in this article is only applicable to spur gear measurement, and it requires further improvement through the use of a multi-sensor fusion measurement scheme in future research.

Author Contributions

Conceptualization, Z.S., Y.F. and P.Z.; methodology, Z.S. and Y.F.; software, Y.F.; validation, Y.F.; formal analysis, Y.F.; investigation, Y.F.; resources, Z.S.; data curation, Z.S. and Y.F.; writing—original draft preparation, Y.F.; writing—review and editing, Z.S., Y.F. and Y.S.; visualization, Y.F.; supervision, Z.S., Y.F. and Y.S.; project administration, Z.S. and Y.F.; funding acquisition, Z.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation Major Scientific Research Instrument Development Project of China, grant number [52227809].

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to the data also form part of an ongoing study.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Shi, Z.Y.; Yu, B.; Song, H.X.; Wang, X. Development of gear measurement technology in the last 20 years. China Mech. Eng. 2022, 33, 1009–1024. [Google Scholar]
  2. Goch, G.; Guenther, A.; Peng, Y.; Ni, K. Gear metrology—An update. CIRP Ann. Manuf. Technol. 2023, 72, 725–751. [Google Scholar] [CrossRef]
  3. Goch, G. Gear metrology. CIRP Ann. Manuf. Technol. 2023, 52, 659–695. [Google Scholar] [CrossRef]
  4. Goch, G.; Ni, K.; Peng, Y.; Guenther, A. Future gear metrology based on areal measurements and improved holistic evaluations. CIRP Ann. Manuf. Technol. 2017, 66, 469–474. [Google Scholar] [CrossRef]
  5. Shi, Z.Y.; Wang, X.Y. Past, present and future of gear integrated error measurement technologies. Metrol. Meas. Technol. 2018, 38, 112–119. [Google Scholar]
  6. Wang, X.Y.; Shi, Z.Y.; Lin, J.C. Fast measurement method for pitch deviation based on full toothprofile information. Chin. J. Sci. Instrum. 2016, 37, 9. [Google Scholar]
  7. Wang, X.Y.; Shi, Z.Y.; Shu, Z.H. Different point contact error and correction method in gear integrated error measurement. J. Mech. Eng. 2017, 53, 166–175. [Google Scholar] [CrossRef]
  8. Shi, Z.Y.; Fang, Y.M.; Wang, X.Y. Research progress of gear machine vision inspection instrument and technology. Laser Optoelectron. Prog. 2022, 59, 13. [Google Scholar]
  9. Wang, W.; Guan, F.; Ma, S.; Li, J. Measurement system of gear parameters based on machine vision. Meas. Control. 2015, 48, 242–248. [Google Scholar] [CrossRef]
  10. Irino, N.; Shimoike, M.; Mori, K.; Yamaji, I.; Mori, M. A vision-based machine accuracy measurement method. CIRP Ann. 2020, 69, 445–448. [Google Scholar] [CrossRef]
  11. Chen, M.J.; Wang, J.W. Research on the in-site measurement of spur gears based onmachine vision. J. Mach. Des. 2020, 37, 25–28. [Google Scholar]
  12. Moru, D.K.; Borro, D. A machine vision algorithm for quality control inspection of gears. Int. J. Adv. Manuf. Technol. 2020, 106, 105–123. [Google Scholar] [CrossRef]
  13. Duan, Z.Y.; Wang, N.; Zhao, W.Z.; Feng, B.Q. Sub-pixel edge location algorithm based on Gauss integral curved surface fitting. Chin. J. Sci. Instrum. 2017, 38, 219–225. [Google Scholar]
  14. 14. ISO 1328-1: 2013; Cylindrical Gears—ISO System of Flank Tolerance Classification—Part 1: Definitions and Allowable Values of Deviations Relevant to Flanks of Gear Teeth. ISO: Geneva, Switzerland, 2013.
  15. ISO/TR 10064-2:1996; Code of Inspection Practice—Part 2: Inspection Related to Radial Composite Deviations, Runout, Tooth Thickness and Backlash. ISO: Geneva, Switzerland, 1996.
  16. Shi, Z.Y.; Wang, X.Y.; Yu, B. New method to determine the profile evaluation area in gear integrated error measurement. J. Mech. Eng. 2017, 53, 34–42. [Google Scholar] [CrossRef]
  17. Haralick, R.M. Digital step edges from zero crossing of second directional derivatives. IEEE Trans. Pattern Anal. Mach. Intell. 1984, 26, 211–229. [Google Scholar] [CrossRef] [PubMed]
  18. Canny, J. A Computational approach to edge detection. IEEE Trans. Pattern Anal. Mach. Intell. 1986, 8, 679–697. [Google Scholar] [CrossRef] [PubMed]
  19. Steger, C. An unbiased detector of curvilinear structures. IEEE Trans. Pattern Anal. Mach. Intell. 1998, 20, 113–125. [Google Scholar] [CrossRef]
  20. Zhang, Z. A flexible new technique for camera calibration. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 1330–1334. [Google Scholar] [CrossRef]
  21. Wang, X.Y. Research on Fundamental Theory & Its Practice of Gear Integrated Error Measurement; Beijing University of Technology: Beijing, China, 2017. [Google Scholar]
Figure 1. Model of integrated error curve in gear section.
Figure 1. Model of integrated error curve in gear section.
Applsci 14 01004 g001
Figure 2. A segment on the integrated error curve in gear bidirectional cross-section. (SJZ curve).
Figure 2. A segment on the integrated error curve in gear bidirectional cross-section. (SJZ curve).
Applsci 14 01004 g002
Figure 3. Any segment on the gear integrated error curve.
Figure 3. Any segment on the gear integrated error curve.
Applsci 14 01004 g003
Figure 4. Gray distribution in the normal direction at a certain point on the profile.
Figure 4. Gray distribution in the normal direction at a certain point on the profile.
Applsci 14 01004 g004
Figure 5. Gear sub-pixel contour extraction method based on GTC−Facet model.
Figure 5. Gear sub-pixel contour extraction method based on GTC−Facet model.
Applsci 14 01004 g005
Figure 6. Circle fitting of the center hole contour on the gear end face.
Figure 6. Circle fitting of the center hole contour on the gear end face.
Applsci 14 01004 g006
Figure 7. Gradient amplitude and direction of sub-pixel points.
Figure 7. Gradient amplitude and direction of sub-pixel points.
Applsci 14 01004 g007
Figure 8. Solving pitch deviation from the extracted contour from the image.
Figure 8. Solving pitch deviation from the extracted contour from the image.
Applsci 14 01004 g008
Figure 9. Theoretical involute at the corresponding profile position.
Figure 9. Theoretical involute at the corresponding profile position.
Applsci 14 01004 g009
Figure 10. Calculation of profile deviation.
Figure 10. Calculation of profile deviation.
Applsci 14 01004 g010
Figure 11. Components of profile deviation in the direction of motion.
Figure 11. Components of profile deviation in the direction of motion.
Applsci 14 01004 g011
Figure 12. Comparison of positioning errors between two algorithms. (a) Measurement setup. (b) Comparison of positioning errors.
Figure 12. Comparison of positioning errors between two algorithms. (a) Measurement setup. (b) Comparison of positioning errors.
Applsci 14 01004 g012
Figure 13. GVMS. (a) System structure. (b) Collected gear image.
Figure 13. GVMS. (a) System structure. (b) Collected gear image.
Applsci 14 01004 g013
Figure 14. Gear integrated error curve of gear section (right flank). (a) Gear integrated error curve. (b) Gear integrated error curve and its outer envelope.
Figure 14. Gear integrated error curve of gear section (right flank). (a) Gear integrated error curve. (b) Gear integrated error curve and its outer envelope.
Applsci 14 01004 g014
Figure 15. Gear integrated error curve of gear section (left flank). (a) Gear integrated error curve. (b) Gear integrated error curve and its outer envelope.
Figure 15. Gear integrated error curve of gear section (left flank). (a) Gear integrated error curve. (b) Gear integrated error curve and its outer envelope.
Applsci 14 01004 g015
Figure 16. Polar coordinate representation of the gear integrated error curve. (right profile). (a) Gear integrated error curve. (b) Gear integrated error curve and its outer envelope.
Figure 16. Polar coordinate representation of the gear integrated error curve. (right profile). (a) Gear integrated error curve. (b) Gear integrated error curve and its outer envelope.
Applsci 14 01004 g016
Figure 17. Polar coordinate representation of the gear integrated error curve. (left profile). (a) Gear integrated error curve. (b) Gear integrated error curve and its outer envelope.
Figure 17. Polar coordinate representation of the gear integrated error curve. (left profile). (a) Gear integrated error curve. (b) Gear integrated error curve and its outer envelope.
Applsci 14 01004 g017
Figure 18. P26 measuring equipment.
Figure 18. P26 measuring equipment.
Applsci 14 01004 g018
Figure 19. Pitch deviation (GVMS measurement results). (a) Single−pitch deviation (left). (b) Sector pitch deviation (left). (c) Single−pitch deviation (right). (d) Sector pitch deviation (right).
Figure 19. Pitch deviation (GVMS measurement results). (a) Single−pitch deviation (left). (b) Sector pitch deviation (left). (c) Single−pitch deviation (right). (d) Sector pitch deviation (right).
Applsci 14 01004 g019
Figure 20. Pitch deviation (P26 measurement result): (a) left flank; (b) right flank.
Figure 20. Pitch deviation (P26 measurement result): (a) left flank; (b) right flank.
Applsci 14 01004 g020
Figure 21. Decomposition of profile form deviation and profile slope deviation in the gear integrated error curve. (a) Total profile deviation. (b) Profile form deviation. (c) Profile slope deviation.
Figure 21. Decomposition of profile form deviation and profile slope deviation in the gear integrated error curve. (a) Total profile deviation. (b) Profile form deviation. (c) Profile slope deviation.
Applsci 14 01004 g021
Figure 22. Profile deviation. (four teeth, GVMS measurement results).
Figure 22. Profile deviation. (four teeth, GVMS measurement results).
Applsci 14 01004 g022
Figure 23. Profile deviation (four teeth, P26 measurement result).
Figure 23. Profile deviation (four teeth, P26 measurement result).
Applsci 14 01004 g023
Figure 24. Integrated measurement method speed comparison.
Figure 24. Integrated measurement method speed comparison.
Applsci 14 01004 g024
Figure 25. Judging the burr position through the gear integrated error curve. (a) Image of tooth 6 with burrs. (b) Gear integrated error (left profile, cartesian coordinates). (c) Gear integrated error (left profile, polar coordinates).
Figure 25. Judging the burr position through the gear integrated error curve. (a) Image of tooth 6 with burrs. (b) Gear integrated error (left profile, cartesian coordinates). (c) Gear integrated error (left profile, polar coordinates).
Applsci 14 01004 g025
Figure 26. Schematic diagram of measured eccentricity of gears.
Figure 26. Schematic diagram of measured eccentricity of gears.
Applsci 14 01004 g026
Figure 27. Analysis of gear eccentricity using the SJZ curve.
Figure 27. Analysis of gear eccentricity using the SJZ curve.
Applsci 14 01004 g027
Figure 28. Analysis of profile modification using the gear integrated error curve.
Figure 28. Analysis of profile modification using the gear integrated error curve.
Applsci 14 01004 g028
Table 1. CVMS parameters.
Table 1. CVMS parameters.
ComponentParameters
CameraCMOS, GigE interface, 5472 × 3648 px, 1″ target surface
LensMagnification: 0.5; distortion: <0.006%; resolution: 7.9 μm
Light sourceLED surface light source
Pixel equivalent4.76 μm/pixel
Gear parametersPowder metallurgy spur gears; number of teeth: 17; modulus: 0.5 mm; pressure angle: 20°
Table 2. Comparison of error results decomposed from the gear integrated error curve (unit: μm).
Table 2. Comparison of error results decomposed from the gear integrated error curve (unit: μm).
ItemsRight-Hand Tooth FlankLeft-Hand Tooth Flank
GVMSP26ErrorGVMSP26Error
F i 20.815.55.322.718.83.9
f i 4.53.31.26.33.42.9
F α 5.57.3−1.86.25.70.5
f f α 2.51.51.02.91.21.7
f H α 3.5−7.3−10.83.7−5.89.5
F p 15.112.92.215.214.90.3
f p t max 7.07.4−0.49.511.1−1.6
f p t min 0.20.10.10.30.10.2
f p b max 10.110.3−0.211.510.60.9
f p b min 0.30.10.20.20.10.1
Table 3. Comparison of pitch deviation (taking the absolute value of the maximum deviation).
Table 3. Comparison of pitch deviation (taking the absolute value of the maximum deviation).
ItemsTooth FlankGVMSP26Error
f p max (μm)left9.511.1−1.6
right7.07.4−0.4
F p (μm)left15.214.90.3
right15.112.92.2
Table 4. Comparison of total profile deviation F α (four teeth).
Table 4. Comparison of total profile deviation F α (four teeth).
Tooth NumberTooth FlankGVMSP26Error
1left2.43.5−1.1
right2.03.4−1.4
6left3.25.7−2.5
right3.07.3−3.3
10left2.64.5−1.9
right2.86.4−3.6
14left3.23.5−0.3
right2.11.20.9
Table 5. Comparison of profile form deviation f f α (four teeth).
Table 5. Comparison of profile form deviation f f α (four teeth).
Tooth NumberTooth FlankGVMSP26Error
1left2.51.51.0
right2.31.50.8
6left3.11.21.9
right1.50.90.6
10left2.21.11.1
right0.91.2−0.3
14left3.41.71.7
right1.31.20.1
Table 6. Comparison of profile slope deviation f H α (four teeth).
Table 6. Comparison of profile slope deviation f H α (four teeth).
Tooth NumberTooth FlankGVMSP26Error
1left−0.3−3.12.8
right−2.2−3.61.4
6left3.8−5.82.0
right−3.4−7.63.2
10left−1.2−3.92.7
right−2.1−6.03.9
14left−3.2−2.1−1.1
right2.5−0.42.9
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Fang, Y.; Shi, Z.; Sun, Y.; Zhang, P. Gear Integrated Error Determination Using the Gaussian Template Convolution-Facet Method. Appl. Sci. 2024, 14, 1004. https://doi.org/10.3390/app14031004

AMA Style

Fang Y, Shi Z, Sun Y, Zhang P. Gear Integrated Error Determination Using the Gaussian Template Convolution-Facet Method. Applied Sciences. 2024; 14(3):1004. https://doi.org/10.3390/app14031004

Chicago/Turabian Style

Fang, Yiming, Zhaoyao Shi, Yanqiang Sun, and Pan Zhang. 2024. "Gear Integrated Error Determination Using the Gaussian Template Convolution-Facet Method" Applied Sciences 14, no. 3: 1004. https://doi.org/10.3390/app14031004

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop