Optoelectronic Inspection of Defects for Surface of Spark Plug

Xiao-hui DU,Lin LIU,Jing ZHANG,Guang-ming NI,Juan-xiu LIU,Yong LIU
DOI: https://doi.org/10.3969/j.issn.1673-629X.2019.02.036
2019-01-01
Abstract:When detecting the defect of spark plug end face, the traditional detection method is human visual inspection, which has low detection accuracy and is affected by many man-made factors.According to the actual requirements of spark plug end face detection, we design an automatic detection algorithm based on machine vision.The algorithm extracts the region of interests, that is, ring region, v ia the shape feature of the image with the way of improved Hough method firstly.And polar coordinate conversion has been taken to expand the ring to a rectangle area according to the actual needs of the detection.To segment the image, the local-threshold method is applied, then the morphological filtering method is to isolate defects and defect type impurity region, extracting them by connected component labeling.Finally, to extract impurities and defects, gradient histogram characteristics are collected and classified by logistic regression.The experiment shows that the detection accuracy of the proposed algorithm has reached to 99%, while only 1/500 missed.The algorithm can not only fully meet the needs of the testing quality of industrial production, but the speed of the production line with the cycle 0.6 s.
What problem does this paper attempt to address?