The gear shaft needs to measure its radial runout for straightening before finishing, while it is difficult to measure the gear shaft radial runout without rotating the gear shaft by the existing measurement technology, which results the measurement inefficient. Present work puts forward a method of measuring a gear shaft radial runout with line structured light vision. This method can measure the radial runout value and direction online for straightening the bending of the gear shaft. The center position of the gear shaft cross section is obtained by the ellipse geometric fitting on the laser plane to eliminate the influence of projection distortion. The measurement method is tested by a specialized experiment, and the experimental results show that measurements of the method meet the requirements of straightening the gear shaft. The method can realize online measurement of the gear shaft radial runout just by a single image without rotating the gear shaft, so it features fast measurement compared with the existing measurement technology.
Structure light calibration is a key step in line structured light visual measurement technology, and the calibration accuracy directly determines the measurement accuracy. Due to the errors in the process of solving the camera coordinates stripe centers and the camera calibration, the calibration accuracy of the structure light is not high. In order to reduce the influence of the error points on the calibration accuracy, this paper proposes an algorithm of structure light calibration based on vertical constraints. Firstly, using the geometric constraint that all data points are theoretically on the light plane, the error points are screened by the distance from the data point to the light plane; secondly, in order to further improve the calibration accuracy, the optimization objective function is created by two mutually perpendicular light planes, and the parameters of two light planes could be obtained by nonlinear optimization algorithm. In the experiment, the measurement errors of the standard gauge blocks are used as the basis for evaluating the accuracy of the calibration algorithm. According to the experimental results, the algorithm proposed in this paper has a certain effect on improving the accuracy of structural cursor positioning.