In this study, an innovative measurement method integrating lateral confocal technology and composite motion control is proposed to address the physical space constraints and data processing problems in the detection of the shape and position errors in deep holes with large aspect ratios and small diameters. By designing a lateral confocal displacement sensor and a cantilever measuring device, we break through the spatial constraints of deep-hole inspection and solve the problems of rigidity and surface damage in the traditional contact probe. We constructed an axis-rotation coordinated motion control model and found that the measuring points were densely arranged in a helical trajectory along the inner wall of the hole. We developed the “virtual slicing–B-spline reconstruction” algorithm and used the adaptive motion control algorithm to achieve a more efficient measurement of the hole. The innovative “virtual slicing–B-spline reconstruction” algorithm, using adaptive grouping, dynamic slicing, and a fourth-order B-spline-fitting hierarchical processing framework, reached a straightness error assessment result of the order. Experiments show that, under feed rate and rotational speed, the standard deviation of straightness is ≤ and the standard deviation of cylindricity is ≤; compared to the CMM (coordinate measuring machine) measurement results, the cylindricity and straightness evaluation errors obtained by the new measurement method are reduced by and , respectively. It provides a technical solution that improves both accuracy and efficiency for the precision inspection of small-diameter deep holes.
To address the issues of uneven accuracy across the entire hole depth and profile distortion caused by multi-source errors in spectral confocal deep-hole measurement, this paper proposes a measurement method involving global calibration using a stepped ring gauge and hierarchical compensation for multi-source errors. By classifying core measurement errors into three categories—geometric deviation, structural error, and dynamic process error—according to their propagation laws, this paper establishes a progressive comprehensive compensation system comprising “geometric calibration–structural correction–dynamic filtering”. Specifically, using a stepped ring gauge as the reference, the system’s intrinsic geometric parameters are identified via the Levenberg–Marquardt (LM) algorithm; structural errors introduced by the deflection of components due to self-weight are quantitatively corrected based on a statics model; periodic harmonic errors are sequentially separated; random noise is effectively suppressed by combining least-squares harmonic fitting with adaptive wavelet threshold filtering. Experimental results demonstrate that this method can limit the maximum absolute deviation in the inner diameter measurement of standard ring gauges to within 0.2 μm, stabilizing the measurement repeatability over the entire depth of deep-hole workpieces with length-to-diameter ratios exceeding 30:1 to within 0.8–1.6 μm, with an expanded uncertainty of = 3.8 μm ( = 2). This method enables the precise reconstruction of deep-hole inner wall topography, providing a highly versatile technical foundation and implementation scheme for the high-precision non-destructive testing of deep holes with large length-to-diameter ratios.