A machine vision algorithm for quality control inspection of gears

  • Desmond K. MoruEmail author
  • Diego Borro


Quality control has become a priority in the inspection processes of industrial manufacturing of gears. Due to the advancement of technology and the realizations of Industry 4.0, smart factories demand high precision and accuracy in the measurements and inspection of industrial gears. Machine vision technology provides image-based inspection and analysis for such demanding applications. With the use of software, sensors, cameras, and robot guidance, such integrated systems can be realized. The aim of this paper is to deploy an improved machine vision application to determine the precise measurement of industrial gears, at subpixel level, with the potential to improve quality control, reduce downtime, and optimize the inspection process. A machine vision application (Vision2D) has been developed to acquire and analyze captured images to implement the process of measurement and inspection. Firstly, a very minimum calibration error of 0.06 pixel was obtained after calibration. The calibrated vision system was verified by measuring a ground-truth sample gear in a Coordinate Measuring Machine (CMM), using the parameter generated as the nominal value of the outer diameter. A methodical study of the global uncertainty associated with the process is carried out in order to know better the admissible zone for accepting gears. After that, the proposed system analyzed twelve other samples with a nominal tolerance threshold of ± 0.020 mm. Amongst the gears inspected, the Vision2D application identified eight gears which are accepted and four bad gears which are rejected. The inspection result demonstrates an improvement in the algorithm of the Vision2D system application when compared with the previous existing algorithms.


Quality control Machine vision Inspection metrology Accuracy Precision Image-based process 



  1. 1.
    Amarnath M, Sujatha C, Swarnamani S (2009) Experimental studies on the effects of reduction in gear tooth stiffness and lubricant film thickness in a spur geared system. Tribol Int 42(2):340–352CrossRefGoogle Scholar
  2. 2.
    Bali A, Singh SN (2015) A review on the strategies and techniques of image segmentation. In: 2015 Fifth International Conference on Advanced Computing & Communication Technologies (ACCT). IEEE, pp 113–120.Google Scholar
  3. 3.
    Baozhang L, Yanping C (2010) Study on edge subpixel location of ellipse in computer vision measurement. In: 2010 3rd International Congress on Image and Signal Processing (CISP), vol 4. IEEE, pp 1684–1688Google Scholar
  4. 4.
    Bin T, Lei A, Jiwen C, Wenjing K, Dandan L (2008) Subpixel edge location based on orthogonal Fourier–Mellin moments. Image Vis Comput 26(4):563–569CrossRefGoogle Scholar
  5. 5.
    Blasco J, Aleixos N, Moltó E (2003) Machine vision system for automatic quality grading of fruit. Biosyst Eng 85(4):415–423CrossRefGoogle Scholar
  6. 6.
    Brodie J, Hansen AC, Reid J (1994) Size assessment of stacked logs via the Hough transform. Trans ASAE 37(1):303–310CrossRefGoogle Scholar
  7. 7.
    Brosnan T, Sun DW (2004) Improving quality inspection of food products by computer vision—-a review. J Food Eng 61(1):3–16CrossRefGoogle Scholar
  8. 8.
    Cheng HD, Jiang XH, Sun Y, Wang J (2001) Color image segmentation: advances and prospects. Pattern Recogn 34(12):2259–2281CrossRefGoogle Scholar
  9. 9.
    Da F, Zhang H (2010) Sub-pixel edge detection based on an improved moment. Image Vis Comput 28 (12):1645–1658CrossRefGoogle Scholar
  10. 10.
    Fabijańska A (2012) A survey of subpixel edge detection methods for images of heat-emitting metal specimens. Int J Appl Math Comput Sci 22(3):695–710CrossRefGoogle Scholar
  11. 11.
    Gadelmawla E (2004) A vision system for surface roughness characterization using the gray level co-occurrence matrix. NDT & e Int 37(7):577–588CrossRefGoogle Scholar
  12. 12.
    Gadelmawla E (2011) Computer vision algorithms for measurement and inspection of spur gears. Measurement 44(9):1669–1678CrossRefGoogle Scholar
  13. 13.
    Gadelmawla E (2017) Computer vision algorithms for measurement and inspection of external screw threads. Measurement 100:36–49CrossRefGoogle Scholar
  14. 14.
    Goch G (2003) Gear metrology. CIRP Annals-Manuf Technol 52(2):659–695CrossRefGoogle Scholar
  15. 15.
    Hagara M, Kulla P (2011) Edge detection with sub-pixel accuracy based on approximation of edge with erf function. Radioengineering 20(2):516–524Google Scholar
  16. 16.
    Hartley R, Zisserman A (2003) Multiple view geometry in computer vision. Cambridge University PressGoogle Scholar
  17. 17.
    Heikkila J, Silven O (1997) A four-step camera calibration procedure with implicit image correction. In: 1997 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 1997. Proceedings. IEEE, pp 1106–1112Google Scholar
  18. 18.
    Hu Y, Gu W, Zhang H, Chen H (2018) Adaptive robust triple-step control for compensating cogging torque and model uncertainty in a dc motor. IEEE Transactions on Systems, Man and Cybernetics: SystemsGoogle Scholar
  19. 19.
    ISO I, OIML B (1995) Guide to the expression of uncertainty in measurement. GenevaGoogle Scholar
  20. 20.
    Jia YL, Zhang H, Jing YZ (2008) A modified Bresenham algorithm of line drawing [j]. J Image Graph 1:031Google Scholar
  21. 21.
    Jurkovic J, Korosec M, Kopac J (2005) New approach in tool wear measuring technique using CCD vision system. Int J Mach Tools Manuf 45(9):1023–1030CrossRefGoogle Scholar
  22. 22.
    Kerr D, Pengilley J, Garwood R (2006) Assessment and visualisation of machine tool wear using computer vision. Int J Adv Manuf Technol 28(7–8):781–791CrossRefGoogle Scholar
  23. 23.
    Li XJ, Yang GH (2013) Fault detection in finite frequency domain for Takagi-Sugeno fuzzy systems with sensor faults. IEEE Trans Cybern 44(8):1446–1458CrossRefGoogle Scholar
  24. 24.
    Nalwa VS, Binford TO (1986) On detecting edges. IEEE Trans Pattern Anal Mach Intell 6:699–714CrossRefGoogle Scholar
  25. 25.
    Nevatia R (1978) Computer vision systems. In: Computer vision systems: papers from the Workshop on Computer Vision Systems, held at the University of Massachusetts, Amherst, Massachusetts, June 1-3, 1977. Academic Pr, p 81Google Scholar
  26. 26.
    Pedreschi F, Leon J, Mery D, Moyano P (2006) Development of a computer vision system to measure the color of potato chips. Food Res Int 39(10):1092–1098CrossRefGoogle Scholar
  27. 27.
    Peng G, Zhang Z, Li W (2016) Computer vision algorithm for measurement and inspection of O-rings. Measurement 94:828–836CrossRefGoogle Scholar
  28. 28.
    Robinson M, Oakley J, Cunningham M (1995) The accuracy of image analysis methods in spur gear metrology. Meas Sci Technol 6(7):860CrossRefGoogle Scholar
  29. 29.
    Sanz JL (2012) Advances in machine vision. Springer Science & Business MediaGoogle Scholar
  30. 30.
    Sarkar N, Wolfe R (1985) Feature extraction techniques for sorting tomatoes by computer vision. Trans ASAE 28(3):970–0974CrossRefGoogle Scholar
  31. 31.
    Singh KK, Singh A (2010) A study of image segmentation algorithms for different types of images. Int J Comput Sci Issues (IJCSI) 7(5):414Google Scholar
  32. 32.
    Steger C, Ulrich M, Wiedemann C (2018) Machine vision algorithms and applications. WileyGoogle Scholar
  33. 33.
    Sung C, Tai H, Chen C (2000) Locating defects of a gear system by the technique of wavelet transform. Mech Mach Theory 35(8):1169–1182CrossRefGoogle Scholar
  34. 34.
    Varghese Z, Sommer H III, Morrow C, Tao Y, Hinemann P, Crassweller R (1991) Automated inspection of golden delicious apples using color computer vision. Paper-American Society of Agricultural Engineers (USA) no. 91–7002Google Scholar
  35. 35.
    Visionscape (2005) Visionscape tools reference manual.
  36. 36.
    Weng J, Cohen P, Herniou M (1992) Camera calibration with distortion models and accuracy evaluation. IEEE Trans Pattern Anal Mach Intell 10:965–980CrossRefGoogle Scholar
  37. 37.
    Zhang B, Bai L, Zeng X (2010) A novel subpixel edge detection based on the zernike moment. Inf Technol J 9(1):41–47CrossRefGoogle Scholar
  38. 38.
    Zhang H, Fritts JE, Goldman SA (2008) Image segmentation evaluation: a survey of unsupervised methods. Comput Vis Image Understand 110(2):260–280CrossRefGoogle Scholar
  39. 39.
    Zhang H, Wang J (2016) Active steering actuator fault detection for an automatically-steered electric ground vehicle. IEEE Trans Veh Technol 66(5):3685–3702CrossRefGoogle Scholar
  40. 40.
    Zhang Z (2000) A flexible new technique for camera calibration. IEEE Trans Pattern Anal Mach Intell, 22Google Scholar

Copyright information

© Springer-Verlag London Ltd., part of Springer Nature 2019

Authors and Affiliations

  1. 1.CeitDonostia/San SebastiánSpain
  2. 2.University of Navarra, TecnunDonostia/San SebastiánSpain

Personalised recommendations