The development of specialized metrology software for complex components represents a significant enhancement to the versatility of Coordinate Measurement Machines (CMMs). While universal CMM software is adept at general dimensional and geometric tolerance inspection, measuring intricate profiles like those of cylindrical gears often requires customized solutions built upon secondary development of these platforms. This work focuses on the methodology and subsequent software implementation for the precise measurement of involute cylindrical spur gears using a fixed-setup CMM. The core of the method involves establishing a precise mathematical model of the gear, calculating theoretical feature points for key deviations, and implementing a robust algorithm for aligning the gear’s coordinate system with the CMM’s machine coordinate system. A dedicated software package is then developed, leveraging this methodology to automate the measurement process, execute data collection via the CMM’s controller, and evaluate the results according to international gear accuracy standards.
Mathematical Foundation for Cylindrical Gear Measurement
The accurate measurement of a cylindrical gear on a CMM is predicated on a precise mathematical description of its tooth flanks. For an involute spur gear, the coordinates of any point on the tooth profile can be derived from its basic parameters: number of teeth \(z\), normal module \(m_n\), pressure angle \(\alpha_n\), profile shift coefficient \(x_n\), and face width \(b\). The fundamental geometry is based on the involute function generated from a base circle with radius \(r_b\).
For profile deviation measurement, points are sampled along a designated profile line within the transverse plane at the mid-face width. The theoretical coordinates \(\mathbf{T_{\alpha_{ij}}}(x_{T_{\alpha_{ij}}}, y_{T_{\alpha_{ij}}}, z_{T_{\alpha_{ij}}})\) and the corresponding surface normal vector \(\mathbf{n_{T_{\alpha_{ij}}}}(i_{T_{\alpha_{ij}}}, j_{T_{\alpha_{ij}}}, k_{T_{\alpha_{ij}}})\) for the \(j\)-th point on the \(i\)-th tooth are calculated as follows:
$$ x_{T_{\alpha_{ij}}} = r_b \cos(\varepsilon_i – f \varphi_j) – f r_b \varphi_j \sin(\varepsilon_i – f \varphi_j) $$
$$ y_{T_{\alpha_{ij}}} = r_b \sin(\varepsilon_i – f \varphi_j) + f r_b \varphi_j \cos(\varepsilon_i – f \varphi_j) $$
$$ z_{T_{\alpha_{ij}}} = -\frac{b}{2} $$
$$ i_{T_{\alpha_{ij}}} = \cos \beta \cdot \cos(\varepsilon_i + f (-\varphi_j + \pi/2)) $$
$$ j_{T_{\alpha_{ij}}} = \cos \beta \cdot \sin(\varepsilon_i + f (-\varphi_j + \pi/2)) $$
$$ k_{T_{\alpha_{ij}}} = H \sin \beta $$
where \(\varepsilon_i\) is the angle locating the start of the involute for tooth \(i\), \(\varphi_j\) is the roll angle at point \(j\), \(f\) is a sign factor (+1 for left flank, -1 for right flank), \(\beta\) is the helix angle (0° for spur gears), and \(H\) indicates hand of helix (0 for spur).
Pitch deviation measurement requires points on the flanks at the reference diameter (typically the pitch circle). The coordinates \(\mathbf{T_{p_i}}\) and normals \(\mathbf{n_{T_{p_i}}}\) for the pitch point on the \(i\)-th tooth are:
$$ x_{T_{p_i}} = \frac{m_t z}{2} \cos \theta_i $$
$$ y_{T_{p_i}} = \frac{m_t z}{2} \sin \theta_i $$
$$ z_{T_{p_i}} = -\frac{b}{2} $$
$$ i_{T_{p_i}} = \cos \beta \cdot \cos(\theta_i + f (-\alpha_t + \pi/2)) $$
$$ j_{T_{p_i}} = \cos \beta \cdot \sin(\theta_i + f (-\alpha_t + \pi/2)) $$
$$ k_{T_{p_i}} = H \sin \beta $$
with
$$ \theta_i = f \frac{s}{ \frac{m_t z}{2} } – \frac{2\pi (i-1)}{z} + H \frac{b \tan \beta}{m_t z} $$
$$ s = \frac{\pi m_t}{2} + 2 x_t m_t \tan \alpha_t $$
$$ m_t = \frac{m_n}{\cos \beta}, \quad \alpha_t = \arctan\left(\frac{\tan \alpha_n}{\cos \beta}\right), \quad x_t = x_n \cos \beta $$
Here, \(\theta_i\) defines the angular position, \(s\) is the circular tooth thickness, and \(m_t\), \(\alpha_t\), \(x_t\) are transverse plane parameters.

CMM Measurement Methodology for Cylindrical Gears
The fixed-setup CMM measurement process for a cylindrical gear consists of several critical steps: probe calibration, workpiece coordinate system (WCS) establishment, measurement path planning, and data evaluation.
Probe Calibration and Radius Compensation
Calibration determines the effective probe tip radius (\(r_p\)) and aligns different stylus angles. A reference sphere of known radius \(R_C\) is measured at multiple points. The sphere center \(\mathbf{O_f}\) and fitted radius \(R_f\) are calculated using a least-squares algorithm. The effective probe radius is:
$$ r_p = R_f – R_C $$
During measurement, the actual contact point \(\mathbf{Q}(x_Q, y_Q, z_Q)\) on the cylindrical gear flank is derived from the probe center coordinate \(\mathbf{S}\) and the surface normal \(\mathbf{n_Q}(i_Q, j_Q, k_Q)\):
$$ x_Q = x_S – i_Q r_p, \quad y_Q = y_S – j_Q r_p, \quad z_Q = z_S – k_Q r_p $$
This compensation is crucial for obtaining the true coordinate of the measured point on the gear tooth surface.
Workpiece Coordinate System Establishment via Iteration
Accurately aligning the gear’s inherent axis with the CMM’s WCS is fundamental. The process involves two stages: rough and fine alignment. The rough alignment manually defines an initial WCS (\(O_{W0}\)-\(X_{W0}Y_{W0}Z_{W0}\)) by measuring points on the gear’s top face (to define the \(Z\)-axis and origin) and its bore (to define the \(X-Y\) origin). A line through the bore center and a point midway between two roughly symmetric points on an arbitrary tooth’s left and right flanks projects onto the \(X_{W0}\)-axis.
The fine alignment refines the \(X\)-axis direction using an iterative method to achieve high-precision symmetry alignment. The core iterative procedure is as follows:
- In the current WCS (\(X_{W_k}\)), measure points \(C_{L_k}\) and \(C_{R_k}\) on the left and right flanks of the tooth aligned with the current \(X\)-axis direction, ensuring the probe approach direction is perpendicular to \(X_{W_k}\).
- Calculate the midpoint \(M_k\) between \(C_{L_k}\) and \(C_{R_k}\).
- Check the convergence criterion: \( | y_{L_k} + y_{R_k} | \le \epsilon \), where \(\epsilon\) is the pre-defined tolerance (e.g., 1 μm). If met, the current \(X_{W_k}\)-axis is final.
- If not met, construct a new \(X_{W_{k+1}}\)-axis as the projection of the line from the bore center \(O_W\) to \(M_k\) onto the current \(X_{W_k}O_WY_{W_k}\) plane. Update the WCS and repeat from step 1.
This iterative loop ensures the final \(X\)-axis precisely bisects the measured tooth, establishing a highly accurate datum for all subsequent measurements of the cylindrical gear.
Measurement Path and Program Generation
Based on the calculated theoretical points and normals for profile and pitch measurements, a collision-free measurement path is generated. This includes safe probe positioning, approach/retract vectors, and sequencing between teeth. The path, along with probe angles (A and B rotations), is compiled into a machine-executable measurement program (e.g., in PC-DMIS code format). The software automates this program generation, enabling fully automated measurement of the cylindrical gear once the WCS is established.
Specialized Software Development and Architecture
Based on the described methodology, a specialized software application was developed to streamline the measurement of cylindrical gears on CMMs. The software architecture is modular, interfacing with the CMM’s native controller (e.g., via PC-DMIS libraries) to execute measurement routines and retrieve data for analysis.
The core functional modules of the software include:
- Gear Parameter Management: Input and storage of basic cylindrical gear parameters (\(z\), \(m_n\), \(\alpha_n\), \(x_n\), \(b\), etc.).
- Theoretical Point Calculation: Computes the 3D coordinates and normals for profile and pitch measurement points using the mathematical models outlined previously.
- Measurement Planning & Code Generation: Plans probe paths, selects probe angles, and generates the machine-specific measurement code (e.g., PC-DMIS program) for WCS establishment, probe calibration, and gear flank measurement.
- Data Evaluation & Reporting: Implements algorithms per ISO 1328-1 (GB/T 10095.1) to calculate key deviations from captured point cloud data. This includes:
- Profile Deviations: Total profile deviation \(F_\alpha\), profile form deviation \(f_{f\alpha}\), and profile slope deviation \(f_{H\alpha}\).
- Pitch Deviations: Single pitch deviation \(f_p\) and total cumulative pitch deviation \(F_p\).
- Result Visualization and Report Export: Displays graphical plots of deviations, lists numerical results, and generates standardized measurement reports.
The software acts as a dedicated interface, transforming generic CMM capability into a cylindrical gear-specific measurement system.
Experimental Verification and Results Analysis
To validate the methodology and software, measurement trials were conducted. A spur cylindrical gear (parameters: \(z=24\), \(m_n=4.5\) mm, \(\alpha_n=20^\circ\), \(x_n = -0.5\), \(b=20\) mm) was measured on a Hexagon GLOBAL S CMM using the developed software and compared against results from a dedicated Klingelnberg P100 gear measuring center.
CMM Measurement Results
Following probe calibration and the iterative WCS establishment (\(\epsilon = 1 \mu m\)), the gear was measured. The profile and pitch deviations were evaluated from repeated measurement runs.
Pitch Deviation Results (CMM): Five consecutive runs of full gear rotation were performed. The mean values of the maximum single pitch deviation \(f_p\) and the total cumulative pitch deviation \(F_p\) are summarized below. The standard deviation indicates good repeatability.
| Flank | \(f_p\) Mean (\(\mu m\)) | \(f_p\) Std. Dev. (\(\mu m\)) | \(F_p\) Mean (\(\mu m\)) | \(F_p\) Std. Dev. (\(\mu m\)) |
|---|---|---|---|---|
| Left | 9.1 | 0.4 | 41.6 | 1.4 |
| Right | 7.9 | 0.5 | 33.9 | 1.8 |
Profile Deviation Results (CMM): Four teeth equally spaced around the gear were measured five times each. The mean values of the key profile deviation parameters for each measured tooth are shown below.
| Tooth # | Flank | \(F_\alpha\) (\(\mu m\)) | \(f_{f\alpha}\) (\(\mu m\)) | \(f_{H\alpha}\) (\(\mu m\)) |
|---|---|---|---|---|
| 1 | Left | 20.2 | 11.4 | -13.3 |
| Right | 19.1 | 8.8 | -12.1 | |
| 7 | Left | 15.7 | 12.4 | -7.9 |
| Right | 15.6 | 12.4 | -4.8 | |
| 13 | Left | 23.0 | 13.9 | -15.8 |
| Right | 16.6 | 10.6 | -7.0 | |
| 19 | Left | 15.9 | 11.5 | -9.2 |
| Right | 26.7 | 11.3 | -18.6 |
Based on ISO 1328-1 grades, the cylindrical gear was rated as grade 7 for pitch accuracy and grade 9 for profile accuracy from the CMM measurements.
Comparison with Gear Measuring Center
The same cylindrical gear was measured on the Klingelnberg P100 gear measuring center. The key results are presented for comparison.
Pitch Deviation Results (P100):
| Flank | \(f_p\) Mean (\(\mu m\)) | \(F_p\) Mean (\(\mu m\)) |
|---|---|---|
| Left | 8.9 | 41.3 |
| Right | 9.2 | 34.5 |
Profile Deviation Results (P100):
| Tooth # | Flank | \(F_\alpha\) (\(\mu m\)) | \(f_{f\alpha}\) (\(\mu m\)) | \(f_{H\alpha}\) (\(\mu m\)) |
|---|---|---|---|---|
| 1 | Left | 19.4 | 11.8 | -11.6 |
| Right | 18.2 | 8.0 | -11.4 | |
| 7 | Left | 14.7 | 11.6 | -6.0 |
| Right | 14.6 | 11.4 | -3.9 | |
| 13 | Left | 22.9 | 14.0 | -14.2 |
| Right | 15.8 | 10.2 | -6.3 | |
| 19 | Left | 15.6 | 11.0 | -8.0 |
| Right | 25.5 | 10.4 | -17.5 |
The P100 measurements yielded the same accuracy grade ratings (Grade 7 for pitch, Grade 9 for profile).
Results Consistency Analysis
The differences (\(\Delta\)) between the CMM (using the developed method/software) and P100 results demonstrate strong agreement.
Pitch Deviation Differences:
| Flank | \(\Delta f_p\) (\(\mu m\)) | \(\Delta F_p\) (\(\mu m\)) |
|---|---|---|
| Left | +0.2 | +0.3 |
| Right | -1.3 | -0.6 |
Profile Deviation Differences (Selected Examples):
| Tooth # & Flank | \(\Delta F_\alpha\) (\(\mu m\)) | \(\Delta f_{f\alpha}\) (\(\mu m\)) | \(\Delta f_{H\alpha}\) (\(\mu m\)) |
|---|---|---|---|
| 1 Left | +0.8 | -0.4 | -1.7 |
| 7 Right | +1.0 | +1.0 | -0.9 |
| 19 Right | +1.2 | +0.9 | -1.1 |
The absolute differences are minimal, with the maximum being 1.3 μm for pitch deviations and 1.9 μm for profile deviations. This close correlation validates the accuracy and reliability of the proposed fixed-setup CMM measurement methodology and the accompanying specialized software for evaluating cylindrical gear deviations.
Conclusion
This work presents a comprehensive solution for measuring involute cylindrical spur gears using a standard CMM. The core methodology encompasses the mathematical modeling of gear flanks, a precise iterative technique for establishing the workpiece coordinate system, and automated path planning for efficient data collection. The implementation of this methodology into a dedicated software package demonstrates the feasibility of transforming a general-purpose CMM into a capable gear inspection system through targeted secondary development. Experimental verification shows that the measurement results for key profile and pitch deviations obtained with this CMM-based system are in excellent agreement with those from a dedicated gear measuring center, with differences within a few micrometers. This approach provides a valuable and cost-effective alternative for gear quality control, particularly where dedicated gear measuring equipment is unavailable. Furthermore, the principles of model-based point calculation, iterative alignment, and software integration demonstrated here offer a valuable reference framework for the secondary development of CMM software aimed at measuring other complex geometric components beyond cylindrical gears.
