Research on Dimensional Inspection System of Thin Sheet Part Based on Machine Vision

Wu JiGang,He Kuanfang,Qin Bing
DOI: https://doi.org/10.4028/www.scientific.net/aef.2-3.469
2011-01-01
Advanced Engineering Forum
Abstract:Key technologies of dimensional inspection system of thin sheet part based on machine vision are investigated, and an entire machine vision inspection system is developed. A cad information-based line scanning step adaptive optimization method used for image grabbing of inspected part is proposed. A rectangle lens subpixel edge detection method based on cubic spline interpolation used for edge detection is advanced. A planar contour primitive recognition method based on curvature and HOUGH transform used for image recognition is raised. The inspection accuracy of the inspection system can reach to 1μm, and the inspection time can satisfy the requirements of on-line real-time inspection, so the inspection system is feasible. Introduction In the mass production of thin sheet part, in order to ensure the quality and enhance the production efficiency of the thin sheet part, the dimension of the finished thin sheet part must be inspected 100 percent and online, and the inspection system must be real-time, and it can obtain dimension information of the inspected part as much as possible in the shortest possible time on the condition that the inspection accuracy is guaranteed to meet the requirements, so as to satisfy the requirements of the tact time. Since the thin sheet part is very thin, a big measurement error will be produced due to the deformation of the thin sheet part under the loading of contact force, so the thin sheet part must be inspected with non-contact inspection method. The shapes of the thin sheet part are irregular and the dimensional accuracy requirements of the pitches of holes and apertures are high, so the inspection system must have the ability to inspect the pitches of holes and apertures with high accuracy. The traditional inspection technologies and instruments cannot satisfy the inspection requirements of thin sheet part with high accuracy, efficiency, automation and so on. The Machine Vision inspection technology can be used to satisfy the inspection requirements of thin sheet part with the advantages of non-contact, good flexibility, high accuracy, high inspection speed, high automation and intelligence, easy to integration with the information of design and control, and so on. The development of dimensional inspection system of thin sheet part based on machine vision with independent intellectual property rights has significant value both in theory and application. Advanced Engineering Forum Online: 2011-12-22 ISSN: 2234-991X, Vols. 2-3, pp 469-474 doi:10.4028/www.scientific.net/AEF.2-3.469 © 2012 Trans Tech Publications Ltd, Switzerland This is an open access article under the CC-BY 4.0 license (https://creativecommons.org/licenses/by/4.0/) Introduction of inspection system The schematic diagram of hardware composition of the inspection system is shown in figure 1, and the inspection system is made up of inspection instrument and a computer and involves camera motion control subsystem, image sampling subsystem, illumination subsystem, inspection bench and bracket. The camera motion control subsystem is consist of motion control card, motor driver, servo motor, slider, guide rail and limit switch. The image sampling subsystem is consisted of image sampling card, line type CCD industrial camera, lens, grating ruler and frequency divider. The illumination subsystem is made up of LED backlight and backlight control. The software of the inspection system is programmed with modularization design idea and Visual C++ programming language based on Windows operating system platform. The structure schematic diagram of software module of the inspection system is shown in figure 2, and involves parameter setting, image sampling, image preprocessing, image edge detection, the recognition and dimension calculation of planar contour primitive, the comparison inspection of planar contour primitive dimension, the display and save of inspection result. The image sampling parameter and camera motion parameter are set at the parameter setting link. The image sampling parameter setting involves the setting of work pattern of the image sampling card and camera, trigger, exposure time, and so on. The camera motion parameter setting involves the setting of motion speed and motion acceleration. The line scanning step is optimized adaptively and the inspected part image is obtained by line scanning with optimized step at image sampling link. The calibration, binarization and denoising of the line scanning image is done at the image preprocessing link. The pixel level and subpixel level edge detection is realized at image edge detection link. The planar contour which obtained after subpixel edge detection is recognized and each primitive dimension are calculated at the recognition and dimension calculation of planar contour primitive link. At the comparison inspection of planar contour primitive dimension link, the difference value is gained by comparing the calculated dimension value with the design dimension value, and then the difference value is compared with the tolerance, so as to decide the part dimension is qualified or not. At the display and save of inspection result link, the inspected result is displayed and saved as TXT file, in order to easy to look around and do statistical process control analysis, thereby to ensure the part is produced with optimal parameters by improving the manufacturing process or adjusting the process parameters. Fig.1 Schematic diagram of hardware composition of the inspection system 470 Mechatronics and Information Technology
What problem does this paper attempt to address?