Next Article in Journal
Distributed-Satellite-Clusters-Based Spectrum Sensing with Two-Stage Phase Alignment
Next Article in Special Issue
Raman Scattering Study of Amino Acids Adsorbed on a Silver Nanoisland Film
Previous Article in Journal
Non-Hermitian Sensing in Photonics and Electronics: A Review
Previous Article in Special Issue
Temperature-Compensated Multi-Point Strain Sensing Based on Cascaded FBG and Optical FMCW Interferometry
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

Precision Measurement Method of Large Shaft Diameter Based on Dual Camera System

1
Institute of Engineering Technology, University of Science and Technology Beijing, Beijing 100083, China
2
Department of Mechanical Engineering, Baotou Vocational and Technical College, Baotou 014030, China
3
Collaborative Innovation Center of Steel Technology, University of Science and Technology Beijing, Beijing 100083, China
*
Author to whom correspondence should be addressed.
Submission received: 5 May 2022 / Revised: 21 May 2022 / Accepted: 23 May 2022 / Published: 24 May 2022
(This article belongs to the Special Issue Optical Imaging, Optical Sensing and Devices)

Abstract

:
At present, there is a problem that the measurement accuracy and measurement range cannot be balanced in the measurement of shaft diameter by the machine vision method. In this paper, we propose a large-scale shaft diameter precision measurement method based on a dual camera measurement system. The unified world coordinate system of the two cameras is established by analyzing the dual camera imaging model and obtaining the measurement formula. In order to verify the validity of the proposed method, two black blocks in the calibration plate with a known center distance of 100 mm were measured. The mean value was 100.001 mm and the standard deviation was 0.00039 in 10 measurements. Finally, the proposed system was applied to the diameter measurement of a complexed crankshaft. The mean μ 95 values of CMM and the proposed method were ±1.02 μm and ±1.07 μm, respectively, indicating that the measurement accuracy of the proposed method is roughly equal to the CMM.

1. Introduction

In industrial applications, shafts, as indispensable parts, are the most widely used parts in various mechanical devices and various engineering fields that have strict requirements for accuracy [1]. The geometric dimensions and tolerances of the shaft have important impacts on the motion performance and service life of the machine. Therefore, it is important to measure the accuracy of axes comprehensively and efficiently online [2].
As one of the most important parts of the engine, the crankshaft is responsible for outputting external torque. The quality of the crankshaft directly affects the performance of the car. Therefore, the measurement and error control of the crankshaft are important. The crankshaft has a complex structure and many process parameters. Among them, the shape error of the crankshaft main journal and connecting rod journal is an important indicator to measure the process quality [3,4,5,6]. Currently, the parameters of crankshaft are generally measured by manually using vernier calipers, spiral micrometers, and three-coordinate measurement [7,8,9,10], or the contact-type special measurement equipment [11,12]. The former methods need to contact the surface of the part, which will inevitably lead to a certain degree of damage to the surface of the part. The latter method has the disadvantage of expensive equipment and an inability to achieve online detection. On the other hand, personnel measurement inevitably has phenomena such as low efficiency, poor reliability, and false detection due to fatigue, and it is difficult to meet the requirements of real-time, fast, online, and non-contact detection implemented in today’s manufacturing industry. On account of the high price of three coordinate machines and special measurement equipment, manual measurement, despite its inherent flaws, is still the mainstream method at present in China. An actual manual measurement site is shown in Figure 1. a skilled worker takes 45–50 min to measure 81 parameters of a six-cylinder engine crankshaft. This high-intensity work urgently needs a new measurement technology.
Being the core technology of intelligent manufacturing, measurement technology based on machine vision has been widely used in the measurement of geometric accuracy of mechanical parts [13,14,15,16,17], as it has the characteristics of non-contact, non-destructive, high precision, and fast speed.
A variety of approaches have been developed for the precision measurement of shafts. Peng Zhen proposed a measuring method of shaft diameter based on structured light images, with a measuring diameter range of 30–50 mm and measuring accuracy of ±0.2 mm [18]. Ding Yanrong studied the key technologies of precision visual measurement of shaft workpieces, with a measuring diameter range of 11–16 mm and measuring accuracy of ±0.005 mm [19]. Yin Weiqi proposed a visual size measurement technology of shaft parts, with a measuring diameter range of 25–30 mm and measuring accuracy of ±0.06 mm [20]. Wei and Tan et al. proposed a method based on Zhang’s calibration to calibrate the internal and external parameters of the camera through the shaft with known shaft diameter; the measuring diameter range is 30–40 mm, and measuring error is less than 0.015 mm [21,22]. In the actual measurement process, the distance to be measured between the camera and the axis must be equal to the distance between the camera and the plane of the calibration board, which is difficult to guarantee. Sun et al. established a visual measurement model of shaft parts based on the principle of pinhole vision and geometric constraints, and used a plane target fixed at a specific position to calibrate the measurement system [23]. The average measurement error of the system is about 0.005 mm. By establishing an error correction model for the distance between the reference plane and the camera, the measuring diameter range is 2–10 mm, and the error is within 0.009 mm [24,25].
Based on the above works, it can be concluded that using the telecentric vision system can achieve higher-precision measurement, but the measurement range is limited. Using the pinhole vision system can achieve a large field of view, but the accuracy is limited. The algorithm needs to be optimized to improve the accuracy. In this paper, a dual telecentric camera system is proposed to measure the large shaft diameter. It has a high measuring accuracy while working in a large diameter range. This paper is organized as follows: Section 2 elaborates the measurement principle of the dual camera system, Section 3 reports the calibration results and experimental results used to test the measuring accuracy, and Section 4 provides the study’s conclusions.

2. Method

2.1. Vision Measurement Principle

The imaging model of the pinhole camera is shown in Figure 2, which shows the coordinate systems used to model the perspective projection from a 3D surface point to a 2D image point.
O w X w Y w Z w   is the world coordinate system. The coordinate of point P w under the world coordinate system can be expressed as ( X w , Y w , Z w ) , and its unit is mm. O c X c Y c Z c is the camera coordinate system, with the measurement unit mm. o x y is the physical image coordinate system, the measurement unit of which is mm. O 1 u v is the pixel image coordinate system, and its measurement unit is pixel.
Based on pinhole projection, the perspective projection from the world coordinates to the pixel image coordinate can be expressed as reported by Zhang [22] and as follows:
S [ u v 1 ] = [ α γ u 0 0 β v 0 0 0 1 ] [ R         T ] [ X W Y W Z W 1 ]
In the equation, [ α         γ         u 0 0         β         v 0 0         0         1 ] represents the intrinsic camera parameters and [ R T ] represents the extrinsic camera parameters. s is the scale factor and R , T denote the rotation matrix and translation matrix, respectively.
Assuming the measurement plane in the world coordinate system is Z = 0 , then the above Formula (1) can be changed to the following Formula (2).
s [ u v 1 ] = [ α γ u 0 0 β v 0 0 0 1 ] [ R         T ] [ X W Y W 0 1 ] = [ α γ u 0 0 β v 0 0 0 1 ] [ r 1         r 2         T ] [ X W Y W 1 ]
In the equation, R = [ r 1 r 2 r 3 ] . Without considering the scale factor s , it can be obtained that a point on the plane in the world coordinate system can have a one-to-one mapping relationship with the pixel point in the pixel image coordinate system. The measurement of monocular vision is based on the above principles.

2.2. Dual Camera Measurement System

2.2.1. System Construction

Two-dimensional machine vision measurement systems can commonly be divided into two categories: telecentric vision systems and pinhole vision systems. Due to the special mechanical structure design of the telecentric lens, the image size of the object remains unchanged within the depth of field, so the measurement accuracy of the telecentric vision system usually reaches the micron level [26]. However, only the light, which is parallel to the main optical axis, can be photosensitive in the telecentric vision measurement system. Therefore, the field of view of the telecentric vision system is narrow compared to the pinhole camera.
The large-scale precision measurement system proposed in this paper is shown in Figure 3. This system consists of two double telecentric lenses, two high-resolution CCD cameras, and two telecentric back light sources. Assuming that the diameter of the shaft to be measured is D, the working distance of the object is WD. The two cameras are placed above the left and right edge of the shaft, and the distance between the two cameras is roughly D to make sure that the edge of the workpiece is in the field of view. Two telecentric back light sources are placed under the left and right edge of the shaft. The camera and lens should be selected to ensure the tolerance requirements of the measured workpiece.

2.2.2. Dual Camera Measurement Principle

Figure 4 shows the measurement principle of the dual camera system. In this paper, we use dual cameras instead of binocular vision to represent the measurement system, as the latter has two eyes capable of facing the same direction to perceive a single three-dimensional image of its surroundings. In Figure 4, the reference pose image 1 is captured by the left camera, and the reference pose image 2 is captured by the right camera. The corresponding world coordinate systems of the left and right cameras are ( x w 1 , y w 1 , z w 1 ) and ( x w 2 , y w 2 , z w 2 ) , respectively. The corresponding coordinate in the world coordinate system of the pixel P 1 ( u 1 , v 1 ) in the reference pose image 1 captured by the left camera is P w 1 ( x w 1 , y w 1 ) , while the corresponding coordinate in the world coordinate system of the pixel P 2 ( u 2 , v 2 ) in the reference pose image 2 captured by the right camera is P w 2 ( x w 2 , y w 2 ) . We assume that there is another world coordinate system ( X W , Y W , Z W ) , which is equal to ( x w 1 , y w 1 , z w 1 ) . As the two coordinate systems ( x w 1 , y w 1 , z w 1 ) and ( x w 2 , y w 2 , z w 2 ) are on the same calibration plate, the coordinate of P w 1 ( x w 1 , y w 1 ) in ( X W , Y W , Z W ) is still P w 1 ( x w 1 , y w 1 ) , while the coordinate of P w 2 ( x w 2 , y w 2 ) in ( X W , Y W , Z W ) is P w 2 ( x w 2 + D , y w 2 ) .
According to the above analysis, the pixels in the different images captured by the two cameras are unified in the world coordinate system. The corresponding distance in the world coordinate system of P 1 ( u 1 , v 1 ) and P 2 ( u 2 , v 2 ) is calculated by the following formula:
S ( p 1 , p 2 ) = ( x w 1 ( x w 2 + D ) ) 2 + ( y w 1 y w 2 ) 2
In the equation, ( x w 1 , y w 1 ) and ( x w 2 , y w 2 ) , which is calculated by the corresponding pixel coordinates and the camera projection transformation matrix; both are coordinates in their corresponding world coordinate system.

2.3. Subpixel Edge Extraction Based on Interpolation

After capturing the edge image of the workpiece, the edge detection algorithm Canny operator [27] is used to obtain the edge of the image pixel. Then, according to the distribution of the grayscale of the edge neighborhood, the interpolation function is used to approximate the grayscale function (one-dimensional grayscale function) of the edge transition area to implement sub-pixel edge localization. The interpolation method is suitable for real-time online detection due to its simple operation and high positioning accuracy [28]. The Lagrange interpolation function expression is as follows:
L ( x ) = c = 1 n ( x x 0 ) ( x x c 1 ) ( x x c + 1 ) ( x x n ) ( x c x 0 ) ( x c x c 1 ) ( x c x c + 1 ) ( x c x n ) f c
In the equation, n is the total number of the interpolation points, x c is the interpolation point, and f c is the interpolation grayscale. In this paper, we use quadratic polynomial interpolation and n = 3 . Along the x axis of the gradient magnitude image, x i Δ x ,   x i , x i + Δ x are taken as the interpolation points, and Δ x is the distance. M ( i Δ x , j ) , M ( i , j ) , M ( i + Δ x , j ) correspond to the interpolation grayscale. Equation (4) can be written as the following function:
L ( x ) = ( x x i ) [ x ( x i + Δ x ) ] [ ( x i Δ x ) x i ] [ ( x i Δ x ) ( x i + Δ x ) ] M ( i Δ x , j ) + [ x ( x i Δ x ) ] [ x ( x i + Δ x ) ] [ x i ( x i Δ x ) ] [ x i ( x i + Δ x ) ] M ( i , j ) + [ x i x ) ] [ x ( x i Δ x ) ] [ x i + Δ x ) ( x i Δ x ) ] [ ( x i + Δ x ) x i ] M ( i + Δ x , j )  
Let d L ( x ) / d x = 0 ; the x coordinate of subpixel edge point is:
x s = x i + M ( i Δ x , j ) M ( i + Δ x , j ) M ( i Δ x , j ) 2 M ( i , j ) M ( i + Δ x , j ) . Δ x 2
Similarly, along the y axis, y i Δ y ,   y i ,   y i + Δ y are taken as the interpolation points, and the corresponding interpolation gray levels are M ( i , j Δ y ) , M ( i , j ) , M ( i , j + Δ y ) , respectively. The schematic diagram of the interpolation method is shown in Figure 5.
The interpolation point taken along the x axis is shown in in Figure 5a, the interpolation point taken along the y axis is shown in Figure 5b, and the interpolation gray level is shown in Figure 5b.
The y coordinates of the subpixel edge point is:
y s = y i + M ( i , j Δ y ) M ( i , j + Δ y ) M ( i , j Δ y ) 2 M ( i , j ) M ( i , j + Δ y ) . Δ y 2
The matrix form of the above equation is as follows:
[ x s y s ] = [ x i y i ] + [ M ( i Δ x , j ) M ( i + Δ x , j ) M ( i Δ x , j ) 2 M ( i , j ) M ( i + Δ x , j ) . Δ x 2 M ( i , j Δ y ) M ( i , j + Δ y ) M ( i , j Δ y ) 2 M ( i , j ) M ( i , j + Δ y ) . Δ y 2 ]
In practical application, Δ x   ,   Δ y take the particular value according to the edge transition area. In this paper, we find that the edge transition area, which is shown in Figure 6, consists of 12 pixels. Therefore, we set Δ x = 3   and   Δ y = 1 . The details of the detection results are given in Section 3.3.

3. Experiments and Results

In order to fully verify the effectiveness and stability of the proposed method, this section is organized as follows: Section 3.1 introduces the machine parameter requirements of crankshaft diameter, Section 3.2 builds the experimental platform, Section 3.3 calibrates the camera and the dual camera system, Section 3.4 uses the proposed method to measure the known size in the calibration board, and Section 3.5 measures the complexed crankshaft diameter by the proposed method and CMM. Finally, we analyze the measurement results.

3.1. Crankshaft

The measurement object in the experiment is the diameter of the main shaft journal of the heavy-duty engine by fine grinding, whose machine precision is ϕ 100 0.022 0.01 . The heavy-duty truck engine six-cylinder crankshaft to be measured is shown in Figure 7.

3.2. Experimental Platform Construction

The experimental measurement platform built in this paper is shown in Figure 8. The adjustment devices 1 and 3 can complete the fine adjustment along the y-axis direction and device 2 can complete the adjustment along the x-axis direction. Device 5 is a customized calibration board, device 6 comprises two parallel light sources, device 7 can complete the adjustment along the y-axis direction, and device 8 is the crankshaft.

3.3. Results of Calibration

According to the nominal diameter of the shaft to be measured, the specification of the calibration plate is determined by considering the field of view and measurement accuracy requirement. The calibration board used in the paper is shown in Figure 9. Two 7 × 7 circular patterns are printed on the calibration board, and the center distance is the nominal diameter D of the measured shaft. In this paper, the nominal diameter of the crankshaft diameter is 100 mm, and the pattern in the calibration plate adopts laser engraving technology, which ensure that D is 100 + 0.001 mm.
The inherent parameters of the cameras and lenses are listed in Table 1. The tolerance zone of crankshaft diameter is 0.012 mm and the field of view of the camera is 3.288 mm, so the center distance between the two cameras is adjusted to 100 ± 5 mm. We adjusted the height of the calibration plane to obtain a clear image in the calibration plate by the fine adjustment device 1. The depth of field of the lens is 0.72 mm.
The intrinsic and extrinsic parameters of the two cameras calculated by Zhang’s method [29] using 16 images of the calibration board are shown in Table 2 and Table 3.
As shown in Table 2 and Table 3, one camera has pillow distortion and the other has barrel distortion. However, in the follow-up experiments, the effect of camera distortion can be ignored, which fully proves the reliability of the telecentric camera in precision measurement.

3.4. Length Measurement of Calibration Board

In order to test the stability and validity of the proposed method, the calibration board of known size, as shown in Figure 10, is measured. The theoretical center distance between the two black squares is 100.000 mm and the actual deviation is ±0.001 mm.
The pictures captured by the left and right cameras are shown in Figure 11.
Subpixel detection described in Section 2.3 was applied to the images of the black squares, and the subpixel coordinates of the edges of the black square were calculated, as shown in Figure 12. The subpixel coordinates of the edges are fitted to the line equations by the least square method [30], as shown in Figure 13.
As shown in Figure 14, S 1   and S 2   are the line segments of left and right fitted image edges, respectively. In real applications, because S 1   and S 2   cannot be guaranteed to be completely parallel, the average of the maximum and minimum distances from the left fitted line segment to the right fitted line segment is used as the final distance.
The calibration board is moved at different positions within the field of view of the camera, and we collected 10 sets of images and measured the distance by the method proposed in this paper. The results are shown in the Table 4.
From the above table, it is obtained that these measurement results validate the effectiveness of the proposed method, which meets the measurement accuracy requirements of the calibration board with an accuracy requirement of 1   μ m .

3.5. Diameter Measurement of Crankshaft

3.5.1. Diameter Measurement of Crankshaft by the Proposed Method

As shown in Figure 15, the dual camera system is fixed above the crankshaft and the parallel light source is fixed under the crankshaft. We collected 10 sets of images at 36° intervals by rotating the crankshaft, and a total of 100 images were captured.

3.5.2. Diameter Measurement of Crankshaft with CMM

The CMM was produced by Hexagon Metrology AB and the ambient temperature was 20 °C. MPE E : ( 2.6 + 3.5   L / 1000 )   um ,   MPE P : 2.2   um . The crankshaft was fixed when the crankshaft diameter was measured by CMM. The centerline of the crankshaft was fitted by evenly selecting 20 points on the surface of the crankshaft diameter, and then the vertical plan S of the crankshaft centerline was calculated. The CMM measurement platform is shown in Figure 16.

3.5.3. Experiment Results

Extensive experiments were carried out to verify the performance of the proposed method in comparison to CMM. The measurement results obtained by CMM and the proposed method are shown in Table 5.
Based on the above table, the proposed method is more stable compared with the CMM method, and both methods can be controlled with accuracy to the thousandth. The mean results of diameter measurements by different methods 10 times are shown in Table 6. x ¯ is the mean of the 10 measurements, and σ is the standard deviation. μ A is the type A uncertainty, and μ 95 is the expanded uncertainty when the confidence level is 95%.
From the above table, we observe that (1) the maximum μ 95 values of CMM and the proposed method are ± 2.11   μ m and ± 1.82   μ m , and the half-interval length of the proposed method is shorter than CMM, and (2) the results indicate that the accuracy of the proposed method is equal to that of the CMM method.

3.5.4. Measurement Error Analysis

(1) As shown in Figure 17, the fitting accuracy of the edge will be affected by the electrostatic adsorption dust on the measured surface. To some extent, the measurement environment should be clean.
(2) Since the depth of field of the lens is 0.72 mm, if the position of the measurement system is not suitable, the boundary of the image will be blurred, which will reduce the fitting accuracy. The clear and blurred images are shown in Figure 18.

4. Conclusions

(1)
We proposed here a method of high-precision measurement of a large-sized shaft based on a dual telecentric camera system to solve the problem that the measurement accuracy and the measurement range cannot be balanced in the shaft diameter measurement with machine vision. The calibration method of the two telecentric cameras was proposed based on Zhang’s calibration method, and we obtained the distance calculation formula by analyzing the imaging model of the proposed dual camera system.
(2)
A customized high-precision calibration board was used to further improve the calibration accuracy of the dual camera system, and a subpixel detection algorithm based on quadratic interpolation and a line fitting algorithm were used to improve the measurement accuracy of the measured object.
(3)
The measurement experiments of the calibration plate with a known center distance of 100.000 mm initially verified the effectiveness of the proposed method. The actual measurement results meet the measurement accuracy requirements of the calibration board.
In the same external environment, CMM and the proposed methods were used to measure a crankshaft diameter with a nominal diameter of 100. The maximum μ 95 values of CMM and the proposed method were ±2.11 μm and ±1.82 μm, respectively, and the mean μ 95 values of CMM and the proposed method were ±1.02 μm and ±1.07 μm, respectively, indicating that the measurement accuracy of the proposed method is roughly equal to that of the CMM.
(4)
The factors affecting the measurement accuracy in the proposed method were analyzed, providing a basis for further research and the application of this method.

Author Contributions

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

Funding

This research was funded by the National Key R&D Program of China, grant numbers 2021YFB3202403 and 2018YFB0704304.

Data Availability Statement

The study did not report any data.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hao, F.; Shi, J.J.; Chen, D.L.; Wang, F.; Hu, Y.T. Shaft diameter measurement using digital image composition at two different object distances. Mater. Sci. Eng. 2019, 504, 012097. [Google Scholar] [CrossRef]
  2. Mekid, S.; Ryu, H.S. Rapid vision-based dimensional precision inspection of mesoscale artefacts. Proc. Inst. Mech. Eng. Part B J. Eng. Manuf. 2007, 221, 659–672. [Google Scholar] [CrossRef]
  3. Knauder, C.; Allmaier, H.; Sander, D.E.; Sams, T. Measurement of the crankshaft seals friction losses in a modern passenger car diesel engine. Proc. Inst. Mech. Eng. Part J J. Eng. Tribology. 2020, 234, 1106–1113. [Google Scholar] [CrossRef] [Green Version]
  4. Tsitsilonis, K.M.; Theotokatos, G. Engine malfunctioning conditions identification through instantaneous crankshaft torque measurement analysis. Appl. Sci. 2021, 11, 3522. [Google Scholar] [CrossRef]
  5. Gu, T.; Qian, X.; Lou, P. Research on Roundness Error Evaluation of Connecting Rod Journal in Crankshaft Journal Synchronous Measurement. Appl. Sci. 2022, 12, 2214. [Google Scholar] [CrossRef]
  6. Chybowski, L.; Nozdrzykowski, K.; Grządziel, Z.; Jakubowski, A.; Przetakiewicz, W. Method to Increase the Accuracy of Large Crankshaft Geometry Measurements Using Counterweights to Minimize Elastic Deformations. Appl. Sci. 2020, 10, 4722. [Google Scholar] [CrossRef]
  7. Qian, X.M.; Cui, W.; Lou, P.H. Research on synchronous measurement and error analysis of crankshaft journal’s high-precision measurement. Chin. J. Sci. Instrum. 2020, 41, 113–121. [Google Scholar] [CrossRef]
  8. Liu, D.; Zheng, P.; Zhi, Z. Development of in-situ measuring geometrical characteristics method for crankshaft. Tenth Int. Symp. Precis. Eng. Meas. Instrum. 2019, 11053, 502–507. [Google Scholar] [CrossRef]
  9. Wang, Y.; Su, Y.; Wang, H. An algorithm for roundness evaluation of crankshaft main journal. IOP Conf. Ser. Mater. Sci. Eng. 2019, 490, 062052. [Google Scholar] [CrossRef]
  10. Liu, Y.; Ding, J.; Cao, J. Research on Measuring Method of Crankshaft Based on Servo Control Mode. Intell. Autom. Soft Comput. 2019, 25, 767–774. [Google Scholar] [CrossRef]
  11. Gu, T.; Qian, X.; Lou, P. Research on High Precision Rapid Online Measurement System of Crankshaft Based on Multi-station. J. Phys. Conf. Ser. 2021, 2101, 012016. [Google Scholar] [CrossRef]
  12. Guo, H. Design and Research of Automatic Detection System for Crankshaft of Vehicle Engine; Xi’an University of Technology: Xi’an, China, 2017. [Google Scholar]
  13. Guo, S.X.; Zhang, J.C.; Jiang, X.F.; Yin, P.; Wang, L. Mini milling cutter measurement based on machine vision. Procedia Eng. 2011, 15, 1807–1811. [Google Scholar] [CrossRef] [Green Version]
  14. Fu, L.; Hu, Y.; Pang, J.; Dong, L.; Shuai, J.; Ma, B. Design of the detection system for the position of the crankshaft flange hole group based on vision measurement technology. Eighth Symp. Nov. Photoelectron. Detect. Technol. Appl. 2022, 12169, 1847–1852. [Google Scholar]
  15. Tan, Q.; Kou, Y.; Miao, J.; Liu, S.; Chai, B. A model of diameter measurement based on the machine vision. Symmetry 2021, 13, 187. [Google Scholar] [CrossRef]
  16. Liu, Y.; Li, G.; Zhou, H.; Xie, Z.; Feng, F.; Ge, W. On-machine measurement method for the geometric error of shafts with a large ratio of length to diameter. Measurement 2021, 176, 109194. [Google Scholar] [CrossRef]
  17. Li, B. Research on geometric dimension measurement system of shaft parts based on machine vision. EURASIP J. Image Video Processing 2018, 2018, 101. [Google Scholar] [CrossRef]
  18. Peng, Z. Research on Shaft Diameter Detection Method Based on Structured Light Image. Ph.D. Thesis, Jilin University, Changchun, China, 2017. [Google Scholar]
  19. Ding, Y.R. Research on Key Methods of Visual Precision Measurement of Shaft Parts. Ph.D. Thesis, Jiangnan University, Wuxi, China, 2018. [Google Scholar]
  20. Yin, W.Q. Research on Vision Measuring Technology of Shaft Diameters. Ph.D. Thesis, Jilin University, Changchun, China, 2017. [Google Scholar]
  21. Zhang, Z. Flexible camera calibration by viewing a plane from unknown orientations. In Proceedings of the Seventh IEEE International Conference on Computer Vision, Corfu, Greece, 20 September 1999; Volume 1, pp. 666–673. [Google Scholar] [CrossRef]
  22. Wei, G.; Tan, Q. Measurement of shaft diameters by machine vision. Appl. Opt. 2011, 50, 3246–3253. [Google Scholar] [CrossRef]
  23. Sun, Q.; Hou, Y.; Tan, Q.; Li, C. Shaft diameter measurement using a digital image. Opt. Lasers Eng. 2014, 55, 183–188. [Google Scholar] [CrossRef]
  24. Wang, J.M.; Gao, B.; Zhang, X.; Duan, X.J.; Liu, X.Y. Error correction for high-precision measurement of cylindrical objects diameter based on machine vision. In Proceedings of the 2015 12th IEEE International Conference on Electronic Measurement & Instruments (ICEMI), Qingdao, China, 16 July 2015; Volume 3, pp. 1113–1117. [Google Scholar] [CrossRef]
  25. Zhu, Z.J.; Zhang, G.Y. Multi-camera fast bundle adjustment algorithm based on normalized matrix dimensionality reduction. Infrared Laser Eng. 2021, 50, 20200156. [Google Scholar] [CrossRef]
  26. Garbacz, P.; Giesko, T. Multi-camera vision system for the inspection of metal shafts. In Proceedings of the International Conference on Automation, Coimbatore, India, 2 March 2016; Springer: Cham, Switzerland, 2016; pp. 743–752. [Google Scholar] [CrossRef]
  27. Canny, J. A computational approach to edge detection. In Readings in Computer Vision; Elsevier: Amsterdam, The Netherlands, 1987; pp. 184–203. [Google Scholar] [CrossRef]
  28. Gao, Y.; Wang, M.; Tao, D. 3-D object retrieval and recognition with hypergraph analysis. Image Processing IEEE Trans. 2012, 21, 4290–4303. [Google Scholar] [CrossRef]
  29. Zhang, Z.Y. A Flexible New Technique for Camera Calibration. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 1330–1334. [Google Scholar] [CrossRef] [Green Version]
  30. Levenberg, K. A method for the solution of certain non-linear problems in least squares. Q. Appl. Math. 1944, 2, 164–168. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Manual measurement of crankshaft parameters.
Figure 1. Manual measurement of crankshaft parameters.
Sensors 22 03982 g001
Figure 2. Imaging model of the pinhole camera.
Figure 2. Imaging model of the pinhole camera.
Sensors 22 03982 g002
Figure 3. The layout diagram of the system.
Figure 3. The layout diagram of the system.
Sensors 22 03982 g003
Figure 4. The dual camera measurement system.
Figure 4. The dual camera measurement system.
Sensors 22 03982 g004
Figure 5. The schematic diagram of interpolation method. (a) The interpolation along x axis. (b) The interpolation along y axis. (c) The gray level of the interpolation point.
Figure 5. The schematic diagram of interpolation method. (a) The interpolation along x axis. (b) The interpolation along y axis. (c) The gray level of the interpolation point.
Sensors 22 03982 g005
Figure 6. The edge transition area.
Figure 6. The edge transition area.
Sensors 22 03982 g006
Figure 7. Heavy-duty truck engine 6-cylinder crankshaft. (a) Image of the whole crankshaft. (b) Image of partial crankshaft.
Figure 7. Heavy-duty truck engine 6-cylinder crankshaft. (a) Image of the whole crankshaft. (b) Image of partial crankshaft.
Sensors 22 03982 g007
Figure 8. Measurement platform: (1) Adjustable device 1; (2) adjustable device 2; (3) adjustable device 3; (4) dual camera system; (5) calibration board; (6) parallel light sources; (7) adjustable device 4; (8) crankshaft.
Figure 8. Measurement platform: (1) Adjustable device 1; (2) adjustable device 2; (3) adjustable device 3; (4) dual camera system; (5) calibration board; (6) parallel light sources; (7) adjustable device 4; (8) crankshaft.
Sensors 22 03982 g008
Figure 9. Calibration board.
Figure 9. Calibration board.
Sensors 22 03982 g009
Figure 10. Schematic diagram of customized calibration board.
Figure 10. Schematic diagram of customized calibration board.
Sensors 22 03982 g010
Figure 11. Images captured by the left and right camera. (a) The image captured by the left camera. (b) The image captured by the right camera.
Figure 11. Images captured by the left and right camera. (a) The image captured by the left camera. (b) The image captured by the right camera.
Sensors 22 03982 g011
Figure 12. The subpixel coordinates of the images captured by camera. (a) The image captured by the left camera. (b) The image captured by the right camera.
Figure 12. The subpixel coordinates of the images captured by camera. (a) The image captured by the left camera. (b) The image captured by the right camera.
Sensors 22 03982 g012
Figure 13. The fitting line of subpixel coordinates of the images captured by camera. (a) The image captured by the left camera. (b) The image captured by the right camera.
Figure 13. The fitting line of subpixel coordinates of the images captured by camera. (a) The image captured by the left camera. (b) The image captured by the right camera.
Sensors 22 03982 g013
Figure 14. The distance calculation principle.
Figure 14. The distance calculation principle.
Sensors 22 03982 g014
Figure 15. Measurement platform: (1) Dual camera system; (2) crankshaft; (3) parallel light sources; (4) adjustable V-lock. (a) Overall display image of platform. (b) Partial display image of platform.
Figure 15. Measurement platform: (1) Dual camera system; (2) crankshaft; (3) parallel light sources; (4) adjustable V-lock. (a) Overall display image of platform. (b) Partial display image of platform.
Sensors 22 03982 g015
Figure 16. CMM platform. (a) Overall display image of CMM. (b) Partial display image of CMM.
Figure 16. CMM platform. (a) Overall display image of CMM. (b) Partial display image of CMM.
Sensors 22 03982 g016
Figure 17. Influence of dust on image. (a) Influence of big dust on image. (b) Influence of complexed dust on image.
Figure 17. Influence of dust on image. (a) Influence of big dust on image. (b) Influence of complexed dust on image.
Sensors 22 03982 g017
Figure 18. Influence of boundary. (a) Clear boundary. (b) Fuzzy boundary.
Figure 18. Influence of boundary. (a) Clear boundary. (b) Fuzzy boundary.
Sensors 22 03982 g018
Table 1. Inherent parameters of the cameras and lenses.
Table 1. Inherent parameters of the cameras and lenses.
IndexParameter NamesParameter Values
1Pixels of camera5480 × 3648
2Physical size of the camera chip2.4 μm × 2.4 μm
3Area of the camera chip5480 × 2.4 = 13.152 mm
3648 × 2.4 = 8.7552 mm
4Lens ratio4
5Field of the view13.152/4 = 3.288 mm
8.7552/4 = 2.188 mm
Table 2. Calibrated parameters of the left camera.
Table 2. Calibrated parameters of the left camera.
Interior ParametersExterior Parameters
Single pixel width (Sx)2.41152 μmX-coordinates−0.241949 (mm)
Single pixel heigh (Sy)2.4 μmY-coordinates−0.156739 (mm)
Amplification factor3.97793 (1/m2)Z-coordinates0 (mm)
Kappa (k)−0.196915Rotation in X direction359.398°
Center point x-coordinates2736.02 (pixel)Rotation in Y direction359.565°
Center point y-coordinates1824.16 (pixel)Rotation in Z direction179.59°
Table 3. Calibrated parameters of the right camera.
Table 3. Calibrated parameters of the right camera.
Interior ParametersExterior Parameters
Single pixel width (Sx)2.414669 μmX-coordinates−0.179289 (mm)
Single pixel heigh (Sy)2.4 μmY-coordinates−0.579357 (mm)
Amplification factor4.001188 (1/m2)Z-coordinates0 (mm)
Kappa (k)9.64395Rotation in X direction6.189°
Center point x-coordinates2481.53 (pixel)Rotation in Y direction0.325°
Center point y-coordinates2610.27 (pixel)Rotation in Z direction179.788°
Table 4. The results of length measurements of 10 images.
Table 4. The results of length measurements of 10 images.
IndexMin.Max.Mean
1100.001100.002100.0015
2100.000100.001100.0005
3100.001100.001100.001
4100.001100.002100.0015
5100.000100.001100.0005
6100.001100.001100.001
7100.000100.001100.0005
8100.001100.001100.001
9100.001100.001100.001
10100.001100.002100.0015
Table 5. The results of diameter measurements with a certain section of crankshaft (mm).
Table 5. The results of diameter measurements with a certain section of crankshaft (mm).
IndexCMMThe Proposed Method
199.963399.9663
299.961599.9663
399.963599.9664
499.960499.9662
599.963699.9662
699.963599.9663
799.963299.9663
899.963499.9664
999.963299.9663
1099.962899.9663
Table 6. The mean results of diameter measurements 10 times.
Table 6. The mean results of diameter measurements 10 times.
IndexMeasuring Results of CMM (mm)Our Measuring Results (mm)
Mean   x ¯ Std .   σ μ A μ 95 Mean   x ¯ Std .   σ μ A μ 95
199.96280.001120.00035±0.0006999.96820.002400.00076±0.00148
299.96380.003410.00108±0.0021199.96200.001730.00055±0.00108
399.96450.001120.00035±0.0006999.96460.001650.00052±0.00102
499.96390.000980.00031±0.0006199.96250.002940.00093±0.00182
599.96380.001440.00045±0.0008999.96410.001470.00047±0.00091
699.96400.002070.00065±0.0012899.96480.001480.00047±0.00091
799.96300.001020.00032±0.0006399.96340.001980.00063±0.00123
899.96360.002120.00067±0.0013199.96460.001340.00042±0.00083
999.96390.001550.00049±0.0009699.96260.001300.00041±0.00081
1099.96320.001640.00052±0.0010299.96370.002660.00084±0.00165
Mean99.96360.001650.00055±0.0010299.96400.001900.00060±0.00117
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, X.; Xu, K.; Wang, S. Precision Measurement Method of Large Shaft Diameter Based on Dual Camera System. Sensors 2022, 22, 3982. https://0-doi-org.brum.beds.ac.uk/10.3390/s22113982

AMA Style

Li X, Xu K, Wang S. Precision Measurement Method of Large Shaft Diameter Based on Dual Camera System. Sensors. 2022; 22(11):3982. https://0-doi-org.brum.beds.ac.uk/10.3390/s22113982

Chicago/Turabian Style

Li, Xianyou, Ke Xu, and Shun Wang. 2022. "Precision Measurement Method of Large Shaft Diameter Based on Dual Camera System" Sensors 22, no. 11: 3982. https://0-doi-org.brum.beds.ac.uk/10.3390/s22113982

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