Robust, Cheap and Efficient Vision System for Mechanical Thermostat Switch Sub-assembly Inspection

  • Jure RejcEmail author
Regular Paper


This paper describes the automated visual inspection system implemented in the production line for mechanical thermostat electrical switch sub-assembly full inspection. The system checks for presence of the electrical switch plates, measures the slant angle of the electrical contact plate holder and measures the contact distance as one of the most important parameters of the mechanical thermostat. The developed system consists of an USB video camera with non-telecentric fixed focal length lens, custom LED line illumination and two laser line illuminations. Also a dedicated user software was written with unique inspection and measurement algorithm. The accuracy and the repeatability of automated visual inspection system was verified with reference objects, previously measured with the reference Mitutoyo profile projector. The verification procedure showed that the measurement accuracy is in a range of ± 0.04 mm and repeatability in a range of ± 0.03 mm.


Mechanical thermostat contacts Video camera Lenses Non-contact dimensional measurements Automated visual inspection system 



This work was financially supported by E.G.O. Cerkno company, Slovenia.


  1. 1.
    Rejc, J., Kovačič, F., Trpin, A., Rejc, D., Štrus, M., Obid, P., et al. (2013). The measuring and control system for improved model based diastat filling quality. Expert Systems with Applications, 40(1), 64–74.CrossRefGoogle Scholar
  2. 2.
    Guerra, E., & Villalobos, J. (2001). A three-dimensional automated visual inspection system for SMT assembly. Computers & Industrial Engineering, 40(1–2), 175–190.CrossRefGoogle Scholar
  3. 3.
    Huang, R. S.-H., & Pan, Y.-C. (2015). Automated visual inspection in the semiconductor industry: A survey. Computers in Industry, 66, 1–10.CrossRefGoogle Scholar
  4. 4.
    Dom, B. E., & Brecher, V. (1995). Recent advances in the automatic inspection of integrated circuits for pattern defects. Machine Vision and Applications, 8(1), 5–19.CrossRefGoogle Scholar
  5. 5.
    Gadelmawla, E. (2017). Computer vision algorithms for measurement and inspection of external screw threads. Measurement, 100, 36–49.CrossRefGoogle Scholar
  6. 6.
    Liang, X., He, X., Li, X., & Pan, M. (2016). A machine-vision inspection system for conveying attitudes of columnar objects in packing processes. Measurement, 87, 255–273.CrossRefGoogle Scholar
  7. 7.
    Senthil Kumar, G., Natarajan, U., & Ananthan, S. S. (2012). Vision inspection system for the identification and classification of defects in mig welding joints. The International Journal of Advanced Manufacturing Technology, 61(9), 923–933.CrossRefGoogle Scholar
  8. 8.
    Kuo, C.-F. J., Hsu, C.-T. M., Liu, Z.-X., & Wu, H.-C. (2014). Automatic inspection system of led chip using two-stages back-propagation neural network. Journal of Intelligent Manufacturing, 25(6), 1235–1243.CrossRefGoogle Scholar
  9. 9.
    Tsai, D. M., Chiang, I. Y., & Tsai, Y. H. (2012). A shift-tolerant dissimilarity measure for surface defect detection. IEEE Transactions on Industrial Informatics, 8(1), 128–137.CrossRefGoogle Scholar
  10. 10.
    Liu, C., Ren, C., Wang, G., Yang, Y., & Zhang, L. (2015). Study on surface defects in milling inconel 718 super alloy. Journal of Mechanical Science and Technology, 29(4), 1723–1730.CrossRefGoogle Scholar
  11. 11.
    Rejc, J., Kovačič, F., Trpin, A., Turk, I., Štrus, M., Rejc, D., et al. (2011). The mechanical assembly dimensional measurements with the automated visual inspection system. Expert Systems with Applications, 38(8), 10665–10675.CrossRefGoogle Scholar
  12. 12.
    Montalto, A., Graziosi, S., Bordegoni, M., & Landro, L. D. (2016). An inspection system to master dimensional and technological variability of fashion related products: A case study in the eyewear industry. Computers in Industry, 83, 140–149.CrossRefGoogle Scholar
  13. 13.
    Natsagdorj, S., Chiang, J. Y., Su, C.-H., Chung Lin, C., & Yen Chen, C. (2015). Visionbased assembly and inspection system for golf club heads. Robotics and Computer-Integrated Manufacturing, 32, 83–92.CrossRefGoogle Scholar
  14. 14.
    Song, H.-C., Kim, Y.-L., Lee, D.-H., & Song, J.-B. (2017). Electric connector assembly based on vision and impedance control using cable connector-feeding system. Journal of Mechanical Science and Technology, 31(12), 5997–6003.CrossRefGoogle Scholar
  15. 15.
    Manickavasagan, A., Sathya, G., & Jayas, D. (2008). Comparison of illuminations to identify wheat classes using monochrome images. Computers and Electronics in Agriculture, 63(2), 237–244.CrossRefGoogle Scholar
  16. 16.
    Lim Wee, T., Sulaiman, M., Mohd Shah, H. N., & Omar, R. (2010). Implementation of shape—Based matching vision system in flexible manufacturing system. Journal of Engineering Science and Technology Review, 3(1), 128–135.CrossRefGoogle Scholar
  17. 17.
    Leighton, A. (1966). Electromechanical switching devices—Reliability, life and the relevance of circuit design. Microelectronics Reliability, 5(2), 161–173.CrossRefGoogle Scholar
  18. 18.
    Ou, K.-S., Chen, K.-S., Yang, T.-S., & Lee, S.-Y. (2009). A command shaping approach to enhance the dynamic performance and longevity of contact switches. Mechatronics, 19(3), 375–389.CrossRefGoogle Scholar
  19. 19.
    Xie, J., & Pecht, M. (2004). Contact discontinuity modeling of electromechanical switches. IEEE Transactions on Reliability, 53(2), 279–283.CrossRefGoogle Scholar
  20. 20.
    Wan, B., Fu, G., Li, Y., Zhao, Y., & Jia, M. (2016). Failure analysis of the electromagnetic relay contacts. Engineering Failure Analysis, 59, 304–313.CrossRefGoogle Scholar
  21. 21.
    Automatic Electrical Controls for Household and Similar Use—Part 1: General Requirements, Standard, European Standard (2009).Google Scholar
  22. 22.
    Frieden, B. (1984). Laser speckle and related phenomena. IEEE Journal of Quantum Electronics, 20(12), 1533–1533.CrossRefGoogle Scholar
  23. 23.
    Lyu, J., & Chen, M. (2009). Automated visual inspection expert system for multivariate statistical process control chart. Expert Systems with Applications, 36(3), 5113–5118.CrossRefGoogle Scholar
  24. 24.
    Golnabi, H., & Asadpour, A. (2007). Design and application of industrial machine vision systems. Robotics and Computer-Integrated Manufacturing, 23(6), 630–637 (16th International Conference on Flexible Automation and Intelligent Manufacturing).CrossRefGoogle Scholar
  25. 25.
    Stamatopoulos, C., & Fraser, C. S. (2011). Calibration of long focal length cameras in close range photogrammetry. The Photogrammetric Record, 26(135), 339–360.CrossRefGoogle Scholar
  26. 26.
    Ding, L., & Goshtasby, A. (2001). On the canny edge detector. Pattern Recognition, 34(3), 721–725.CrossRefzbMATHGoogle Scholar
  27. 27.
    Expressions of the Uncertainty of Measurements in Calibration, Technical report, European co-operation for Accreditation (1999).Google Scholar
  28. 28.
    Khan, U. S., Iqbal, J., & Khan, M. A. (2005). Automatic inspection system using machine vision. In 34th Applied imagery and pattern recognition workshop (AIPR’05), Washington, DC (pp. 6–217).Google Scholar
  29. 29.
    Iglesias, C., Martínez, J., & Taboada, J. (2018). Automated vision system for quality inspection of slate slabs. Computers in Industry, 99, 119–129.CrossRefGoogle Scholar
  30. 30.
    Sun, T.-H., Tseng, C.-C., & Chen, M.-S. (2010). Electric contacts inspection using machine vision. Image and Vision Computing, 28(6), 890–901.CrossRefGoogle Scholar

Copyright information

© Korean Society for Precision Engineering 2019

Authors and Affiliations

  1. 1.Laboratory of Robotics, Faculty of Electrical EngineeringUniversity of LjubljanaLjubljanaSlovenia

Personalised recommendations