Abstract
An accurate and efficient measurement for unknown rotor profile of screw compressor has been a nodus in the field of coordinate measuring machine (CMM) measurement because of its complexity of 3D helical surface, whose normal vectors vary with different measured points, while conventional 2D measuring methods have the inevitable radius compensation. If measured points and corresponding normal vectors are known, a 3D radius compensation then could be applied without a theoretical error. In this paper, a double-measurement method based on Reverse Engineering (RE) is proposed to solve this problem. The first measurement focused on constructing a 3D CAD model as accurate as possible. So, according to the structure characteristics of the unknown rotor, a reasonable WCS is established firstly. Then a DRCH method is presented to eliminate the outliers of measured points. Finally, an indirect method is presented to measure the screw pitch with projection and transformation of measured point sets. In second section, a 3D measurement is planned by DIMS language with setting measured points and corresponding normal vectors, which are calculated according to 3D CAD model constructed in first section. Final experimental analysis indicates that measuring accuracy with this double-measurement method is improved greatly.
1. Introduction
Screw compressor is widely used in aerodynamics, industrial refrigeration, central air-conditioning, process flow, and so forth. The most important part of the screw compressor is a pair of meshing rotors. Its shape, precision, and surface quality will determine the performance of the screw compressor directly. An intersection curve between rotor helical surface and a given vertical plane of rotor axis z is called rotor profile [1], which is an important standard to judge the quality of rotor and influences the performance of screw compressor directly. Because adjacent teeth of rotor with complicated structure overlap in space, an accurate and efficient measurement for rotor profile has been a practical puzzle in the industry and a hotspot in the academia [2–5].
From engineering application, CMM is a good choice for high-accuracy measurement of this kind of parts with complex structure. Measuring accuracy itself and measuring methods of CMM are the keys to guarantee the final accuracy of measured objects. In order to satisfy the measuring requirements, previous works have spent a lot of effort to solve the related problems such as CMM calibration [6], probe improvement [7], measuring efficiency [8], uncertainty analysis [9, 10], CMM dynamic error analysis [11], measuring strategy [12], and evaluation method [13].
In addition to above technologies, there still need some more targeted measures to enhance the measuring result for this particular rotor.
Establishment of coordinate system is the basis of CMM measurement. Its accuracy will impact the final measuring accuracy of rotor profile greatly. The best solution is to establish a coordinate system only according to the structure characteristics of rotor itself. If this idea can be achieved, accuracy impact of coordinate system would be eliminated.
The error caused by CMM measurement is inevitable. So outliers and noises of the measured points must be eliminated before use. A 3D mesh filtering method based on median filter is very widely used in the pretreatment of measured points. However, if the window size is selected too wide, it will include too many neighboring points. So outliers and noises will be removed overly. On the other hand, if the window size is selected too narrow, it will not include enough neighboring points. So outliers and noises will not be removed in satisfactory manner [14]. Wärmefjord et al. presented a cluster based method to remove these outliers and noises by utilizing relationships between different measured points. However, this method can only be applied to quite stable processes [15].
Compared with the 2D radius compensation, 3D radius compensation has no theoretical error. The key of 3D radius compensation is to calculate the normal vector of measured points accurately, efficiently, and steadily. In order to simplify the calculation and produce a more efficient and time-saving process, Lee and Shiou proposed a cross-curve moving mask method to calculate the unit normal vector based on 5 or 9 data points of a freeform surface measurement [16]. Delaunay triangulation of these data points can further simply the calculating difficulty [17].
In addition to the accuracy, efficiency, and security [8, 14, 18, 19], path planning with 3D radius compensation should ensure that the feeding direction of probe is the normal vector of the measured point and measuring process should be planned scientifically. Usually, this kind of path planning is built on the basis of CAD model [20, 21].
In consideration of high accuracy of this project, a CMM with the accuracy of (1.5 + 3.0 L/1000) μm is used in this paper to measure the rotor profile of screw compressor on the condition of given error ε = 0.02 mm.
2. Ideas and Flow Chart for Double-Measurement
In fact, the measurement accuracy of coordinate measuring machine (CMM) is so high that it can almost meet any measuring requirements in the industry, especially parts with normal quadratic surface. However the problem for CMM is its accuracy of radius compensation, which largely depends on whether there is a simple and efficient way to figure out the exact 3D normal vectors of measured points. Therefore, a double measurement method is presented in this paper to improve the accuracy of radius compensation. The objective of 1st measurement focuses on the achievement of accurate 3D normal vector of measured points and 2nd measurement focuses on automatic 3D measurement for desired points under the control of DIMS program. Detailed measurement flow chart is shown in Figure 1.

Flow chart for double measurement.
Then the detailed measurement process is elaborated as follows.
3. First Measurement for Screw Rotor
If we have a 3D CAD model of the screw compressor rotor, the normal vectors of any desired points on the CAD model could be calculated theoretically and ensure the accuracy of the probe radius compensation. So it is necessary to measure an unknown screw rotor at first to construct a 3D CAD model as accurate as possible.
Here, in order to construct the 3D CAD model of rotor, its essential attributes such as rotor profile and helical pitch should be calculated firstly, which are presented as follows.
3.1. Definition of WCS
Whether the workpiece coordinate system (WCS) was built exactly and properly would impact following measuring accuracy greatly.
The unknown screw compressor rotor which is measured in this paper is shown in Figure 2. According to the shape and length of screw rotor, it is usually fixed horizontally or vertically. Because the length of screw rotor is proper for measuring stroke of CMM used in this paper, rotor is fixed vertically and the probe is adjusted to the horizontal position. Thus some needed rotor profiles in one groove could be measured in one measuring process and in single clamping.

Measured unknown screw rotor and its clamping method.
According to the structural analysis of screw compressor rotor, it is obvious that the rotor itself is a rotational part, so its rotation axis can be identified as the z-axis of WCS. As for the coordinate origin, it is more reasonable to be located on the end face of the rotor. After z-axis and the coordinate origin are defined, corresponding measured elements then should be indicated for the definition of WCS, which mainly could be planes and cylinders, as shown in Figure 3. As a result, the rotation axis of screw rotor is defined as z-axis of WCS. Vertical direction of the plane which is parallel to z-axis, denoted by PL2 in Figure 3, is defined as y-axis of WCS. The intersection point between z-axis and end face, denoted by PL1 in Figure 3, is defined as the coordinate origin of WCS, denoted by O in Figure 3.

Definition of WCS.
In fact, the most important step for the definition of WCS is the confirmation of z-axis because its accuracy will impact the measuring precision of rotor profile greatly. Usually, several elements are used to define the z-axis of WCS, such as the axes of cylinders denoted by CY1, CY2, CY3, and CY4 as shown in Figure 3:
CY1: the short cylinder near the upper part of the working range of the screw rotor;
CY2: the short cylinder near the lower part of the working range of the screw rotor;
CY3: the long cylinder at the end of the screw rotor;
CY4: the outer cylinder of the screw rotor.
In order to analyze the definition accuracy of WCS determined by measured elements mentioned above, the following experiment is designed in time. Firstly, five equidistant points along with helix, denoted by PT1, PT2, PT3, PT4, and PT5, are measured in the valid working range of the outer cylinder. Then the vertical distances from these five points to z-axes determined by CY1, CY2, CY3, and CY4 are figured out, respectively, which are shown in Table 1.
Vertical distances from points to z-axes.
With multiple measurements, the radius of outer cylinder CY4 of screw rotor is calibrated to R = 24.0059 mm, which is represented by purple line as shown in Figure 4. The distribution of distances between measured points and z-axes is shown in Figure 4, too.

Distribution of distances between measured points and z-axes.
Figure 4 indicates the following.
Because axial length of CY1 is very short and the machining error of CY1 is not avoidable, the distance from CY1 line to datum Line is very large. So the cylinder CY1 is unsuitable to be used as measured element to define the z-axis of WCS.
The nearer the measured point is to measured element which is used to define the z-axis, the closer the distance from measured point to z-axis is to calibration value R. The farther the measured point is to measured element which is used to define the z-axis, the wider the distance from measured point to z-axis is to calibration value R. If z-axis is defined by CY2, the distance from PT5 to z-axis will be closer to R, and if z-axis is defined by CY3, the distance from PT1 to z-axis is closer to R.
If z-axis is defined by CY4, the distances from measured points to z-axis are similar and steady, but unfortunately, all corresponding values are bigger than R.
For these reasons, it is more reasonable to define the z-axis through the central point of CY2 and CY3. The specific steps are as follows.
If the central point of CY2 is denoted by PT6 and the central point of CY3 is denoted by PT7, the line going through both PT6 and PT7, denoted by LN1, could be defined as z-axis.
In this situation, the distances from the five measured points to LN1 fluctuate near 24.0058 mm, which is very close to the calibration value R. The difference between these two values is only about 1 μm and the defining precision of z-axis is greatly improved.
Each defined coordinate axis and origin of WCS, O, are shown in Figure 3.
3.2. Pretreatment of Point Sets of Measured Rotor Profile
Based on the WCS set up above, each given point set of rotor profile in a single spiral groove is measured at given z. According to the specific function of CMM used in this paper, spline measurement mode (SMM) is adopted, so that the rotor profile is measured automatically and efficiently in one clamping process. In this paper, two point sets of rotor profiles at z = − 20 mm and z = − 130 mm are measured, respectively, as shown in Figure 5.

Two point sets of rotor profiles at respective z.
3.2.1. Elimination of Outliers
In the measuring process, various outliers emerge due to inevitable noise and fluctuation, which affect the measuring accuracy of CMM and have to be removed before 3D modeling.
Difference in chord height (DCH) algorithm is widely used to solve this problem because of its simpleness and efficiency. However, its removal efficiency depends entirely on the given allowance ε. If ε is too big, part of outliers, which must be removed, cannot be removed. As a result, fairness of reconstructed CAD modeling based on these points will be impacted. If ε is too small, part of normal points (pseudooutliers) which should be maintained will be removed. As a result, authenticity of reconstructed CAD modeling based on these points will be impacted, too. Empirically, ε is usually set as the measuring accuracy of workpiece. Here, ε = 0.02 mm.
The solution for improving DCH includes two aspects. Firstly, a reasonably bigger allowance ε is set to avoid removing pseudooutliers. In this paper, new ε is twice larger than ε. That is, ε n = 2ε. Then, a new removal criterion, which is called ratio of chord height (RCH), is presented to remove the outliers once more.
Accordingly, a specific algorithm called difference in ratio of chord height (DRCH) is presented in this paper. The specific algorithm is shown as follows.
Step 1. Remove distinct outliers directly.
Step 2. [DCH] Draw chord Pt1Pt3, and calculate vertical distance h1 from Pt2 to chord Pt1Pt3.
If h1 ≥ ε n , then point Pt2 should be identified as an outlier and removed. Then Step 2 is executed again with points Pt1, Pt3, and Pt4.
If h1 < ε n , then go to Step 3.
Step 3. [RCH] Draw chord Pt1Pt4, calculate vertical distance h21 from Pt2 to chord Pt1Pt4 and h22 from Pt3 to chord Pt1Pt4, and then calculate the ratios of chord heights:
Set the threshold of the ratio of chord height as η.
If η1⩾η, point Pt2 can be identified as outlier and removed. Then jump to Step 2 and execute it again with points Pt1, Pt3, and Pt4.
If η2⩾η, point Pt3 can be identified as outlier and removed. Then jump to Step 2 and execute it again with points Pt1, Pt2, and Pt4.
If η1 < η or η2 < η, neither Pt2 nor Pt3 is outliers, then jump to Step 2 and execute it again with points Pt3, Pt4, and Pt5.
Step 4. End.
Sketch map for this improved difference in ratio of chord height (DRCH) algorithm is shown in Figure 6. Because the allowance ε n is set reasonably bigger, removal of pseudooutliers can be prevented effectively where the curvature fluctuates greatly.

Sketch map for difference in ratio of chord height.
It is important to note that the threshold of the ratio of chord height, η, is also an experience value, usually belongs to [1.5, 2], and should be adjusted flexibly according to the practical situation. However, DRCH algorithm is more robust than usual DCH because of new removal criterion, RCH.
Figure 7 is a point set with some outliers, as shown in Figure 7(a). After DCH with ε = 0.02 mm, six points are removed, as shown in Figure 7(b). Set ε n = 2ε = 0.04 mm and only one point is removed after DCH, as shown in Figure 7(c). Obviously, outliers are not removed thoroughly in Figure 7(c). By DRCH presented in this paper with ε n = 0.04 mm and η = 1.6, two real outliers are removed, as shown in Figure 7(d).

Comparison of DCH and DRCH with different parameters.
So, this adaptable and general algorithm has achieved a fine effect in this paper.
3.2.2. Two-Dimensional Radius Compensation
Based on this measuring coordinate system, two point sets of rotor profile in a whole tooth space at z = − 20 mm and z = − 130 mm are measured in a single measuring process. Because the normal vectors of measured points are unknown, measured points could only be compensated in the approaching direction automatically, which is just a 2D radius compensation and has the inevitable theoretical error. The principle of radius compensation is shown in Figure 8.

2D probe radius compensation.
Here P1 is measured points and P2 is compensated point. The theoretical error δ then is expressed by
In (2), α is the angle between the axis of the probe and the measured surface normal. R is probe radius.
According to (2), compensation error is impacted by angle α greatly. In fact, because the measured surface of screw rotor is helical, the angle α varies with the different measured points. As a result, it is very difficult to take the compensation error under control. The larger the angle α is, the larger the compensation error is, as shown in Figure 9. Thus, second measurement which will be discussed in Section 4 is necessary to eliminate theoretical compensation error by 3D radius compensation.

Impact of α on δ.
3.2.3. Interpolation of Sharp Corner of Rotor Profile
The probe radius used in this paper is R = 1 mm. At the place where there is a sharp intersection between two curves or the place where the curves fluctuate wildly, as shown in Figure 10(a), part of curves cannot be measured because of the interference with probe and curves themselves in the measurement process. In this section, probe feeding direction will remain unchanged. When point A is measured, the CMM receives the coordinate data of the center of probe, A′, and the measured point A can be figured out successfully according to the radius compensation algorithm. But when desired point B is measured and the probe is fed at the given same direction, point C will be touched firstly instead of point B because of probe radius, so the CMM will receive the coordinate data of point C′ instead of point B′. After radius compensation, the measuring result of measured point B will be replaced with the point D. According to Figure 10(a), we can find that the measuring error BD is so large that it cannot be accepted.

Interpolation of sharp corner of rotor profile.
In fact, as shown in Figure 10(b), for a given probe radius, part of curves expressed by OE and OF cannot be measured successfully. The smaller the probe radius is, the shorter the unmeasurable curves are. In addition to reducing the probe radius, curves interpolation could also be adopted to predict the result of unmeasurable curves. As shown in Figure 10(c), interpolated points (little red crosses) can be calculated by interpolated curves OEG and OFH. The intersection point of these two interpolated curves is point O, which is a very important characteristic point for unknown rotor profile.
After several significant steps, such as measurement, probe compensation, and interpolation, are finished, the measured point sets of rotor profile can be obtained, which is shown in Figure 11(a).

Measured point set of rotor profile and its precision analysis.
Comparing this point set to the original one, as shown in Figure 11(b), the maximum error is 0.026 mm. Obviously, this accuracy cannot meet the engineering requirement mentioned in first section. The reason is the inevitable 2D radius compensation. So a 3D radius compensation will be studied in Section 4 to resolve this problem.
3.3. Indirect Measurement of Screw Pitch
Screw pitch is another intrinsic property of screw compressor rotor. Screw pitch, T, is usually equivalent to the distance it advances in the direction of z axis after rotor profile revolves round z -axis one circle (360°). Thus, screw pitch can be figured out by measuring rotation angle, φ, around z -axis between two rotor profiles at a distance of H, as shown in Figure 12

Solution of screw pitch.
For (3), we firstly analyze the influence to the measuring accuracy of screw pitch T caused by the different values of φ and H
Because φ is much larger than Δφ,
From (5), we can find that the larger φ is, the smaller ΔT is and the higher the measuring accuracy of screw pitch T is. From (3), H is proportional to φ, so, in order to improve the measuring accuracy of screw pitch T in this measurement process, H should be taken as large as possible.
Concrete calculating method is described as follows. Firstly, measure two rotor profiles, C1 and C2, at the distance of H in the direction of z axis in a single process. Secondly, calculate rotation angle, φ, around z-axis between these two rotor profiles. Then, the screw pitch can be figured out easily by (3). In order to ensure the convenience of measurement and the accuracy of calculation, some following measures are taken in this paper.
In order to measure these two profiles in a single process without adjustment of probe direction, C2 is replaced by C3. The analysis shows that the angle of C2 and C3 around z-axis is 120°. If C3 rotates 120° clockwise, it is equal to C2.
In order to calculate rotation angle of C1 and C2, φ, around z-axis accurately, C2 is projected onto the vertical plane of the z-axis, which is determined by C1, expressed by C4, as shown in Figure 12. Then, the angle of C1 and C2 is replaced by the angle of C1 and C4, which is easier to calculate.
Because of the lack of reference points, more angles are calculated at the same time to improve the accuracy of angle φ. Draw five concentric circles with center at O1. The intersection points of concentric circles and C1 are denoted by P11, P12, P13, P14, and P15. The intersection points of concentric circles and C2 are denoted by P21, P22, P23, P24, and P25, as shown in Figure 13. The angle between O1P11 and O1P21 is φ1, the angle between O1P12 and O1P22 is φ2, the angle between O1P13 and O1P23 is φ3, the angle between O1P14 and O1P24 is φ4, and the angle between O1P15 and O1P25 is φ5. The calculating results are shown in Table 2.
The calculating results of φ.

Solution of rotation angle.
So the average value of these five angles can be expressed by
According to the calculating results in Table 2,
At the same time, the distance between the plane of C1 and C3, H, can be figured out by the following steps.
Define a least square plane (LSP), z = A, which is determined by C1 and is perpendicular to z-axis.
The minimum sum of squared distances from point set, C1, to A is described as
If we take
Similarly, the least square plane (LSP), z = B, which is determined by C3 is described as
Here, m is the number of the point set C1 and n is the number of the point set C3.
So, H is figured out,
Then screw pitch is figured out by (3)
On the basis of measured rotor profile and screw pitch, 3D modeling of screw compressor rotor is constructed as accurate as possible, which is shown in Figure 14. To meet the final measuring requirement, more following measures should be taken to improve the measuring accuracy.

3D modeling of screw compressor rotor.
4. Second Measurement for Screw Rotor
Because radius compensation vectors are unknown in first measurement, 2D compensation with theoretical error is adopted reluctantly. Based on 3D modeling constructed in above section, normal vectors of measured points can be figured out. This is the key to the second measurement.
4.1. Measured Points and Corresponding Normal Vectors
Firstly, calculate intersection curve between plane z = − 20 mm and 3D model of screw rotor (z = − 20 mm is a plane mentioned in Section 3.2). Secondly, scatter this curve into points at the interval of 0.5 mm. These points are the new planned points for second measurement. Then, calculate corresponding normal vectors of these new planned points. Calculated normal vectors of given points are shown in Figure 15 and parts of corresponding values are shown in Table 3.
Part of measured points and corresponding normal vectors.

Measured points and corresponding normal vectors.
4.2. Three-Dimensional Radius Compensation
According to these new planned points and corresponding normal vectors, a 3D radius compensation can be adopted. Its compensation principle is shown in Figure 16.

Principle of 3D radius compensation.
In Figure 16,
Because probe feeding direction is the same as the normal vector of
F(PT1) = FEAT/POINT, CART, −11.250163, 46.662338, −20.001508, −0.310648, 0.947468, −0.076173
MEAS/POINT, F(PT1), 1
PTMEAS/CART, −11.250163, 46.662338, −20.001508, −0.310648, 0.947468, −0.076173
ENDMES
T (1) = TOL/CORTOL, XAXIS, −0.1, 0.1
T (2) = TOL/CORTOL, YAXIS, −0.1, 0.1
T (3) = TOL/CORTOL, ZAXIS, −0.1, 0.1
⋯
4.3. Normalization of Point Sets of Measured Rotor Profile
In fact, measured points which are compensated in the direction of normal vectors by above path planning become spatial points and all of them stray from reference plane z = − 20 mm slightly. In order to obtain the accurate sectional profile data, all measured points should also be transformed to plane z = − 20 mm along helix. According to Figure 17, transformation formula of right-hand rotor can be expressed by

Method for normalization.
Here, P0 is the result of measured point, P is transformed point on plane z = − 20 mm, θ is the angle between P0 and P in the direction of z-axis, and T is screw pitch. By this algorithm, the measured points can be transformed onto objective plane at z = − 20 mm. Parts of processed points of rotor profile are shown in Table 4 and these are final measurement result. Precision analysis between final result and original points is shown in Figure 18. Figure 18 shows that after second measurement, maximum measuring error is reduced from 0.026 mm to 0.011 mm. Measuring result is much better than original requirement.
Normalization of point set of measured rotor profile.

Precision analysis of final result.
Because 3D radius compensation is adopted in the process of second measurement, theoretical compensation error is eliminated. If all of these measuring specifications are observed in the measuring process, measurement accuracy of rotor profile can be ensured and accepted.
5. Conclusion
In this paper, a double measurement method is presented to measure a rotor profile of unknown screw compressor accurately. This method includes two steps. The first step focused on constructing an accurate 3D CAD model. The second step focused on 3D measuring with setting points and their normal vectors based on 3D model.
This research can be summarized as follows.
Workpiece coordinate system is established according to the structural features of screw compressor rotor. So there are no special requirements for positioning accuracy of screw compressor rotor in the process of CMM measuring.
A DRCH method is proposed to eliminate outliers with ε n = 0.04 mm and η = 1.6.
Sharp corner of rotor profile is measured by curve interpolation.
Screw pitch is measured indirectly with projection and transformation of measured point sets.
Measuring process is automatic with path planning based on DIMS language.
Measurement accuracy is improved greatly from 0.026 mm to 0.011 mm with 3D radius compensation.
This work can be extended to other similar complex parts with free-form surface widely because of its universality and stability.
Conflict of Interests
The authors declare that they do not have any commercial or associative interest that represents a conflict of interests in connection with the work submitted.
Footnotes
Acknowledgments
This work was supported by “the National Natural Science Foundation of China” under Grant no. 51105175, “the Fundamental Research Funds for the Central Universities” under Grant no. JUSRP21006, and “the National Natural Science Foundation of China” under Grant no. 51275210.
