Autofocus for Enhanced Measurement Accuracy of a Machine Vision System for Robotic Drilling

Erroneous object distance often causes significant errors in vision-based measurement. In this paper, we propose to apply autofocus to control object distance in order to enhance the measurement accuracy of a machine vision system for robotic drilling. First, the influence of the variation of object distance on the measurement accuracy of the vision system is theoretically analyzed. Then, a Two Dimensional Entropy Sharpness (TDES) function is proposed for autofocus after a brief introduction to various traditional sharpness functions. Performance indices of sharpness functions including reproducibility and computation efficiency are also presented. A coarse-to-fine autofocus algorithm is developed to shorten the time cost of autofocus without sacrificing its reproducibility. Finally, six major sharpness functions (including the TDES) are compared with experiments, which indicate that the proposed TDES function surpasses other sharpness functions in terms of reproducibility and computational efficiency. Experiments performed on the machine vision system for robotic drilling verify that object distance control is accurate and efficient using the proposed TDES function and coarse-to-fine autofocus algorithm. With the object distance control, the measurement accuracy related to object distance is improved by about 87 %.

[1]  Loren Shih,et al.  Autofocus survey: a comparison of algorithms , 2007, Electronic Imaging.

[2]  Jing Xiao,et al.  The Research of Mixed Programming Auto-Focus Based on Image Processing , 2010, ICICA.

[3]  C.-C. Chou,et al.  A fast focus measure for video display inspection , 2003, Machine Vision and Applications.

[4]  K Cook,et al.  Comparison of autofocus methods for automated microscopy. , 1991, Cytometry.

[5]  Jae Wook Jeon,et al.  A dedicated hardware architecture for real-time auto-focusing using an FPGA , 2009, Machine Vision and Applications.

[6]  Qiang Zhan,et al.  Hand–eye calibration and positioning for a robot drilling system , 2012 .

[7]  Mats Björkman,et al.  Cost-efficient drilling using industrial robots with high-bandwidth force feedback , 2010, Robotics and Computer-Integrated Manufacturing.

[8]  Sankar K. Pal,et al.  Entropy: a new definition and its applications , 1991, IEEE Trans. Syst. Man Cybern..

[9]  Hakan Bilen,et al.  Developing robust vision modules for microsystems applications , 2010, Machine Vision and Applications.

[10]  Weidong Zhu,et al.  An off-line programming system for robotic drilling in aerospace manufacturing , 2013 .

[11]  Gary R. Bradski,et al.  Learning OpenCV 3: Computer Vision in C++ with the OpenCV Library , 2016 .

[12]  Mark Summers Robot Capability Test and Development of Industrial Robot Positioning System for the Aerospace Industry , 2005 .

[13]  Qolamreza R. Razlighi,et al.  A comparison study of image spatial entropy , 2009, Electronic Imaging.

[14]  Claude E. Shannon,et al.  The mathematical theory of communication , 1950 .

[15]  Duncan P. Hand,et al.  Optical focus control system for laser welding and direct casting , 2000 .

[16]  Nasser Kehtarnavaz,et al.  Development and real-time implementation of a rule-based auto-focus algorithm , 2003, Real Time Imaging.

[17]  Chuan-Pin Lu,et al.  A Framework of Barcode Localization for Mobile robots , 2013, Int. J. Robotics Autom..

[18]  A W Smeulders,et al.  Robust autofocusing in microscopy. , 2000, Cytometry.

[19]  T S Douglas,et al.  Automated focusing in bright‐field microscopy for tuberculosis detection , 2010, Journal of microscopy.

[20]  John E. Inman,et al.  ONCE (ONe-sided Cell End effector) Robotic Drilling System , 2002 .

[21]  C. Ortiz de Solórzano,et al.  Evaluation of autofocus functions in molecular cytogenetic analysis , 1997, Journal of microscopy.

[22]  X Y Liu,et al.  Dynamic evaluation of autofocusing for automated microscopic analysis of blood smear and pap smear , 2007, Journal of microscopy.

[23]  Jie Liang,et al.  Robotic drilling system for titanium structures , 2011 .

[24]  Gabriel Cristóbal,et al.  Comparative evaluation of autofocus algorithms for a real‐time system for automatic detection of Mycobacterium tuberculosis , 2012, Cytometry. Part A : the journal of the International Society for Analytical Cytology.