Workpiece defect detection method based on visual inspection
By combining multiple detection modules and a fusion module, the problem of inaccurate glass cover plate detection results in existing technologies has been solved, enabling multi-dimensional defect identification and accurate judgment.
Patent Information
- Application Number
- CN202611309547.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2026-11-24
AI Technical Summary
Existing glass cover inspection methods cannot accurately distinguish between dirt and physical defects in image inspection results, leading to over-screening or under-screening, and lack the ability for multi-station joint evaluation.
Multiple detection modules are used for visual inspection, multiple sets of images are acquired under different detection conditions, and a defect detection fusion module is used for comprehensive judgment, integrating multi-dimensional detection results.
It improves the accuracy of defect identification, reduces the phenomenon of over-screening or under-screening, and achieves more accurate defect judgment.
Smart Images

Figure CN123160472A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application number CN202310744478.4 and invention title: A Method for Detecting Workpiece Defects Based on Visual Inspection. The application date of the parent application is June 21, 2023. Technical Field
[0002] This invention relates to the field of visual inspection technology, and in particular to a method for detecting workpiece defects based on visual inspection. Background Technology
[0003] Glass covers are an indispensable component of modern electronic devices. With the explosive growth of the electronics industry, all processes in glass cover production have gradually become automated. Among these processes, quality inspection of the glass covers after production is an essential step.
[0004] For glass cover inspection, traditional methods use 2D sensors such as line scanners and area scan cameras. These methods are relatively inexpensive, easy to implement, and highly efficient. However, they have significant drawbacks. Because existing visual inspection solutions are quite simplistic, each image inspection station uses a single camera for visual image capture and inspection, resulting in each station only outputting results under its own optical conditions. This leads to a lack of unique physical identification of defects, making it impossible to distinguish whether the "defect" output by image inspection on the glass cover is "dirt" or an actual physical defect, resulting in either over-detection or under-detection.
[0005] To address the aforementioned issues, one existing detection method involves time-sharing photography at a single workstation. This involves using a camera at one workstation with multiple light sources, employing high-frequency switching between transmission, bright field, and dark field to capture mixed images of the travel path. Finally, the individual images are extracted for comprehensive evaluation. This detection method was first adopted by the German inspection equipment brand Dr. Schenker. Compared to traditional detection methods, this method offers the capability of joint evaluation of multiple 2D images while reducing the size of the machine. It achieves the shooting effects of multiple workstations from a single workstation, which is quite innovative. However, it also has some drawbacks: (1) The improvement of the machine is still based on the comprehensive application at the 2D level, without using other sensors, such as those for acquiring the 3D shape of the workpiece. (2) The image detection workstations do not communicate with each other, and there is no multi-workstation joint comprehensive judgment.
[0006] In Chinese invention publication CN111337512B (patent ZL202010438593.5), a multi-station defect extraction method is mentioned. The core of this method is to learn a set of defects, but it cannot effectively evaluate and define defects, so it is not applicable in industry. Summary of the Invention
[0007] The technical problem to be solved by the present invention is to provide a vision-based workpiece defect detection method that can combine multiple detection results for multi-dimensional identification of workpiece surface defects, in contrast to the above-mentioned prior art.
[0008] The technical solution adopted by this invention to solve the above-mentioned technical problems is: a workpiece defect detection system based on vision inspection, comprising: There are N detection modules used for visual inspection of the workpiece under test, where N is a natural number greater than or equal to 2. Different detection modules have different detection conditions for the workpiece under test. These detection conditions include: the optical effect presented by the detection module to the workpiece under test, or the visual angle of the workpiece under test; or the application of a preset medium or physical quantity to the surface of the workpiece under test. Different detection modules can perform visual inspection of the workpiece under test and obtain multiple sets of detection images with different detection conditions. The defect detection fusion module is a communication module to which all detection modules communicate. The detection images output by all detection modules are transmitted to the defect detection fusion module, which then determines the defects in the workpiece based on at least two sets of detection images with different detection conditions. First, defect identification is performed on the surface features of the workpiece under test in one set of inspection images. If it is determined that there are suspicious defect features on the surface of the workpiece under test in this set of inspection images, the location of the suspicious defect features on the surface of the workpiece under test is marked and recorded as a temporary suspicious defect location. Then, defect identification is also performed on the surface features of the workpiece under test in at least another set of inspection images. If there are also suspicious defect features on the surface of the workpiece under test in at least another set of inspection images at the temporary suspicious defect location, it is determined that there is defect A in the workpiece under test at the temporary defect location. Alternatively / and, firstly, perform defect identification on the surface features of the workpiece under test in one set of detection images. If it is determined that there are suspicious defect features on the surface of the workpiece under test in this set of detection images, then mark the location of the suspicious defect features on the surface of the workpiece under test as a temporary suspicious defect location. Then, perform defect identification on the surface features of the workpiece under test in at least another set of detection images. If there are no suspicious defect features on the surface of the workpiece under test at the temporary suspicious defect location in at least another set of detection images, then determine that there is defect B on the workpiece under test at the temporary defect location. Alternatively / and, firstly, perform defect identification on the surface features of the workpiece under test in one set of detection images. If it is determined that there are suspicious defect features on the surface of the workpiece under test in the set of detection images, then mark the location of the suspicious defect features on the surface of the workpiece under test as a temporary suspicious defect location. Then, perform defect identification on the surface features of the workpiece under test in at least another set of detection images. If there are no suspicious defect features or the feature index is lower than the limit value on the surface of the workpiece under test in the other at least another set of detection images at the temporary suspicious defect location, then determine that there is no defect on the workpiece under test at the temporary defect location.
[0009] Preferably, the image acquisition module is a 2D area scan camera, a 2D line scan camera, or a 3D sensor, which acquires 2D or 3D images, and the number of such cameras is one or more; the light source is positioned above, below, or to the side of the workpiece to be measured.
[0010] Preferably, it further includes a workpiece conveying structure or a detection module moving device, wherein the workpiece conveying structure is used to allow the workpiece to pass through the aforementioned N detection modules; the N detection modules are sequentially arranged at different positions before and after the workpiece conveying structure, and the workpiece passes through different detection modules sequentially under the conveying structure; the detection module moving device is used to move the N detection modules sequentially to the position of the workpiece to be tested, and to perform visual inspection on the workpiece.
[0011] Preferably, a contact or non-contact detection module is provided between different detection modules or behind all detection modules. The contact detection module is used to wipe or squeeze the surface of the workpiece to be tested or to apply a preset medium or physical quantity to the surface of the workpiece to be tested.
[0012] Preferably, the defect detection fusion module is installed in an industrial control computer connected to a display component.
[0013] Preferably, the defect detection fusion module detects surface defects of the workpiece under test in one or any combination of the following types: foreign objects on the workpiece surface, scratches on the workpiece surface, and chipping at the workpiece edge.
[0014] Preferably, the defect detection fusion module uses a combined detection method of the first set of detection images and the fifth set of detection images to detect whether there are scratches on the workpiece surface: The workpiece under test is passed through the first detection module and the fifth detection module respectively. Then, the first detection module is used to obtain the first set of detection images, and the fifth detection module is used to obtain the fifth set of detection images. The first detection module sends the first set of detection images to the defect detection fusion module, and the fifth detection module sends the fifth set of detection images to the defect detection fusion module. The defect detection fusion module uses the first set of detection images to detect whether there are bright targets on the surface of the workpiece to be tested. If there are bright targets on the surface of the workpiece to be tested, the coordinates and shape of the bright targets are marked. Then, the defect detection fusion module searches in the fifth set of detection images for a target object that is lower than the workpiece plane at the corresponding position on the surface of the workpiece to be tested, based on the coordinates of the highlighted target object. If the target object is found and the height detection value exceeds the set threshold, the defect detection fusion module outputs the conclusion that the surface of the workpiece to be tested has scratches.
[0015] Preferably, the defect detection fusion module uses the second set of detection images and the fifth set of detection images to jointly detect whether there are foreign objects on the workpiece surface in the following way: The workpiece under test is passed through the second detection module and the fifth detection module respectively. Then, the second detection module is used to obtain the second set of detection images, and the fifth detection module is used to obtain the fifth set of detection images. The second detection module sends the second set of detection images to the defect detection fusion module, and the fifth detection module sends the fifth set of detection images to the defect detection fusion module. The defect detection fusion module uses the second set of detection images to detect whether there is an obstructing target on the surface of the workpiece to be tested. If there is an obstructing target on the surface of the workpiece to be tested, the coordinates and shape of the obstructing target are marked. Then, the defect detection fusion module searches the fifth set of detection images for a target object that is higher than the workpiece plane at the corresponding position on the surface of the workpiece to be tested, based on the coordinates of the occluded target object. If the target object is found and the height detection value exceeds the set threshold, the defect detection fusion module outputs the conclusion that there is a foreign object on the surface of the workpiece to be tested.
[0016] Preferably, the detection module includes five modules, namely a first detection module, a second detection module, a third detection module, a fourth detection module, and a fifth detection module; The first detection module includes a 2D area array camera and a light source that works with the 2D area array camera to provide low-angle ring light dark field illumination to the front of the workpiece under test. The first detection module outputs a first set of detection images. The defect detection fusion module can use the first set of detection images to detect whether there are bright target objects on the surface of the workpiece under test. The second detection module includes a 2D line scan camera and a light source that works with the 2D line scan camera to illuminate the workpiece under test with transmitted light; the second detection module outputs a second set of detection images, and the defect detection fusion module can use the second set of detection images to detect whether there are any obstructing objects on the surface of the workpiece under test. The third detection module includes a 2D area scan camera and a light source that works with the 2D area scan camera to provide high-angle annular bright field illumination to the front of the workpiece under test; the third detection module outputs a third set of detection images, and the defect detection fusion module can use the third set of detection images to detect whether there are clump-like target objects on the surface of the workpiece under test. The fourth detection module includes a 2D line scan camera and a light source that works with the 2D line scan camera to illuminate the workpiece under test with transmitted light and coaxial bright field illumination; the fourth detection module outputs a fourth set of detection images, and the defect detection fusion module can use the fourth set of detection images to detect whether there are dark target objects on the surface of the workpiece under test. The fifth detection module includes a 3D camera and a light source that works with the 3D camera to perform laser scanning on the workpiece under test. The fifth detection module outputs a fifth set of detection images, which are 3D point cloud field images. The defect detection fusion module can use the fifth set of detection images to determine whether there are target objects on the surface of the workpiece under test that are lower or higher than the workpiece plane.
[0017] Compared with existing technologies, the advantages of this invention are: it uses multiple detection modules with different detection conditions to perform visual inspection of the workpiece under test; the defect detection fusion module fuses at least two sets of detection images with different detection conditions to determine the defects of the workpiece under test, resulting in more accurate judgments and significantly improving the situation of over-screening or under-detection. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of a workpiece defect detection system based on vision inspection in an embodiment of the present invention. Detailed Implementation
[0019] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0020] Embodiments of the present invention provide a workpiece defect detection system based on vision inspection, comprising: There are N detection modules for visual inspection of workpiece 1, where N is a natural number greater than or equal to 2. Different detection modules have different detection conditions for the workpiece. These detection conditions include: the optical effect presented by the detection module to the workpiece, or the visual angle of the workpiece; or the application of a preset medium or physical quantity to the surface of the workpiece. Different detection modules can perform visual inspection on the workpiece and obtain multiple sets of detection images with different detection conditions. The defect detection fusion module is a communication module to which all detection modules communicate. The detection images output by all detection modules are transmitted to the defect detection fusion module, which then determines the defects in the workpiece based on at least two sets of detection images with different detection conditions. First, defect identification is performed on the surface features of the workpiece under test in one set of inspection images. If it is determined that there are suspicious defect features on the surface of the workpiece under test in this set of inspection images, the location of the suspicious defect features on the surface of the workpiece under test is marked and recorded as a temporary suspicious defect location. Then, defect identification is also performed on the surface features of the workpiece under test in at least another set of inspection images. If there are also suspicious defect features on the surface of the workpiece under test in at least another set of inspection images at the temporary suspicious defect location, it is determined that there is a defect in the workpiece under test at the temporary defect location. Alternatively / and, firstly, perform defect identification on the surface features of the workpiece under test in one set of detection images. If it is determined that there are suspicious defect features on the surface of the workpiece under test in the set of detection images, then mark the location of the suspicious defect features on the surface of the workpiece under test as a temporary suspicious defect location. Then, perform defect identification on the surface features of the workpiece under test in at least another set of detection images. If there are no suspicious defect features on the surface of the workpiece under test at the temporary suspicious defect location in at least another set of detection images, then determine that there is no defect in the workpiece under test at the temporary defect location.
[0021] In this embodiment, the workpiece 1 to be tested can be a glass cover, a ceramic sheet, or a metal sheet. The defect detection fusion module is housed in an industrial control computer connected to a display component. Each different detection module includes a cooperating light source and an image acquisition module. The optical effect presented by the detection module to the workpiece to be tested is presented through the position of the light source relative to the workpiece, or the shape, form, light intensity, color temperature, frequency, direction, or dimension of the light source. The visual angle at which the detection module captures the workpiece to be tested is presented through the shooting angle or shooting distance of the image acquisition module relative to the workpiece to be tested. The image acquisition module can be a 2D area scan camera, a 2D line scan camera, or a 3D camera, corresponding to the acquisition of 2D images or 3D images, and the number of such cameras can be one or more. The light source can be positioned above, below, or to the side of the workpiece to be tested.
[0022] In addition, the workpiece defect detection system provided in this embodiment of the invention also includes a workpiece conveying structure 2 for conveying the workpiece to be tested through the aforementioned multiple detection modules; the N detection modules are sequentially arranged at different positions before and after the workpiece conveying structure, and the workpiece to be tested passes through different detection modules sequentially under the conveying structure.
[0023] Alternatively, the target object can remain stationary, and a detection module moving device can be used to sequentially move N detection modules to the location of the workpiece to be tested for visual inspection. In this embodiment, the defect detection fusion module detects one or any combination of the following types of surface defects in the workpiece: foreign objects on the workpiece surface, scratches on the workpiece surface, and chipping on the workpiece edge.
[0024] In a preferred embodiment, the detection module includes five modules: a first detection module, a second detection module, a third detection module, a fourth detection module, and a fifth detection module. (See also...) Figure 1 As shown; The first detection module includes a 2D area array camera and a light source that works with the 2D area array camera to provide low-angle ring light dark field illumination to the front of the workpiece under test. The first detection module outputs a first set of detection images. The defect detection fusion module can use the first set of detection images to detect whether there are bright target objects on the surface of the workpiece under test. The second detection module includes a 2D line scan camera and a light source that works with the 2D line scan camera to illuminate the workpiece under test with transmitted light; the second detection module outputs a second set of detection images, and the defect detection fusion module can use the second set of detection images to detect whether there are any obstructing objects on the surface of the workpiece under test. The third detection module includes a 2D area scan camera and a light source that works with the 2D area scan camera to provide high-angle annular bright field illumination to the front of the workpiece under test; the third detection module outputs a third set of detection images, and the defect detection fusion module can use the third set of detection images to detect whether there are clump-like target objects on the surface of the workpiece under test. The fourth detection module includes a 2D line scan camera and a light source that works with the 2D line scan camera to illuminate the workpiece under test with transmitted light and coaxial bright field illumination; the fourth detection module outputs a fourth set of detection images, and the defect detection fusion module can use the fourth set of detection images to detect whether there are dark target objects on the surface of the workpiece under test. The fifth detection module includes a 3D camera and a light source that works with the 3D camera to perform laser scanning on the workpiece under test. The fifth detection module outputs a fifth set of detection images, which are 3D point cloud field images. The defect detection fusion module can use the fifth set of detection images to determine whether there are target objects on the surface of the workpiece under test that are lower or higher than the workpiece plane.
[0025] Using the workpiece defect detection system described in the above embodiments, foreign objects and scratches on the workpiece surface can be detected. The specific detection method can be as follows: The defect detection fusion module uses a combined detection method of the first set of detection images and the fifth set of detection images to detect whether there are scratches on the workpiece surface. The workpiece under test is passed through the first detection module and the fifth detection module respectively. Then, the first detection module is used to obtain the first set of detection images, and the fifth detection module is used to obtain the fifth set of detection images. The first detection module sends the first set of detection images to the defect detection fusion module, and the fifth detection module sends the fifth set of detection images to the defect detection fusion module. The defect detection fusion module uses the first set of detection images to detect whether there are bright targets on the surface of the workpiece to be tested. If there are bright targets on the surface of the workpiece to be tested, the coordinates and shape of the bright targets are marked. Then, the defect detection fusion module searches in the fifth set of detection images for a target object that is lower than the workpiece plane at the corresponding position on the surface of the workpiece to be tested, based on the coordinates of the highlighted target object. If the target object is found and the height detection value exceeds the set threshold, the defect detection fusion module outputs the conclusion that the surface of the workpiece to be tested has scratches.
[0026] Using the workpiece defect detection system described in the above embodiments, it is possible to detect whether there are burrs on the surface of the workpiece. The specific detection method can be as follows: The defect detection fusion module uses a combined detection method of the first set of detection images and the second set of detection images to detect whether there are scratches on the workpiece surface. The workpiece under test is passed through the first detection module and the second detection module respectively. Then, the first detection module is used to obtain the first set of detection images, and the second detection module is used to obtain the second set of detection images. The first detection module sends the first set of detection images to the defect detection fusion module, and the second detection module sends the second set of detection images to the defect detection fusion module. The defect detection fusion module uses the first set of detection images to detect whether there are bright targets on the surface of the workpiece to be tested. If there are bright targets on the surface of the workpiece to be tested, the coordinates and shape of the bright targets are marked. Then, the defect detection fusion module searches for whether there is a transmission occlusion effect at the corresponding position on the surface of the workpiece under test in the second set of detection images according to the coordinates of the highlighted target object. If there is a black occlusion and it exceeds the set threshold, the defect detection fusion module outputs that there are fuzz on the surface of the workpiece under test; otherwise, if there is no black occlusion and it is a full transmission effect, the defect detection fusion module outputs that there are no fuzz on the surface of the workpiece under test.
[0027] The defect detection fusion module uses the second set of detection images and the fifth set of detection images to jointly detect whether there are foreign objects on the workpiece surface. The workpiece under test is passed through the second detection module and the fifth detection module respectively. Then, the second detection module is used to obtain the second set of detection images, and the fifth detection module is used to obtain the fifth set of detection images. The second detection module sends the second set of detection images to the defect detection fusion module, and the fifth detection module sends the fifth set of detection images to the defect detection fusion module. The defect detection fusion module uses the second set of detection images to detect whether there is an obstructing target on the surface of the workpiece to be tested. If there is an obstructing target on the surface of the workpiece to be tested, the coordinates and shape of the obstructing target are marked. Then, the defect detection fusion module searches the fifth set of detection images for a target object that is higher than the workpiece plane at the corresponding position on the surface of the workpiece to be tested, based on the coordinates of the occluded target object. If the target object is found and the height detection value exceeds the set threshold, the defect detection fusion module outputs the conclusion that there is a foreign object on the surface of the workpiece to be tested.
[0028] The defect detection fusion module uses a combined detection method of the first set of detection images, the third set of detection images, and the fifth set of detection images to detect whether there are foreign objects on the workpiece surface. The workpiece under test is passed through the first detection module, the third detection module, and the fifth detection module, respectively. Then, the first detection module acquires the first set of detection images, the third detection module acquires the third set of detection images, and the fifth detection module acquires the fifth set of detection images. The first detection module sends the first set of detection images to the defect detection fusion module, the third detection module sends the third set of detection images to the defect detection fusion module, and the fifth detection module sends the fifth set of detection images to the defect detection fusion module. The defect detection fusion module uses the first set of detection images to detect whether there is an obstructing target on the surface of the workpiece to be tested. If there is an obstructing target on the surface of the workpiece to be tested, the coordinates and shape of the obstructing target are marked. The defect detection fusion module uses the third set of detection images to detect whether there are clump-shaped target objects on the surface of the workpiece to be tested. If there are clump-shaped target objects on the surface of the workpiece to be tested, the coordinates and shape of the clump-shaped target objects are marked. Then, the defect detection fusion module searches the fifth set of detection images for whether there is a target object higher than the workpiece plane at the corresponding position on the surface of the workpiece to be tested, based on the coordinates of the occluded target object and the clustered target object. If there is no target object higher than the workpiece plane, or the target object height detection value does not exceed the set threshold, the defect detection fusion module outputs the conclusion that there is no foreign object on the surface of the workpiece to be tested.
[0029] Additionally, a contact inspection station can be installed behind the five image inspection stations. This contact inspection station is equipped with a processing module for wiping or pressing the surface of the workpiece to be inspected. The contact inspection station can also be located between any two image inspection stations.
Claims
1. A workpiece defect detection system based on vision inspection, characterized in that: include: There are N detection modules used for visual inspection of the workpiece under test, where N is a natural number greater than or equal to 2. Different detection modules have different detection conditions for the workpiece under test. These detection conditions include: the optical effect presented by the detection module to the workpiece under test, or the visual angle of the workpiece under test; or the application of a preset medium or physical quantity to the surface of the workpiece under test. Different detection modules can perform visual inspection of the workpiece under test and obtain multiple sets of detection images with different detection conditions. The defect detection fusion module is a communication module to which all detection modules communicate. The detection images output by all detection modules are transmitted to the defect detection fusion module, which then determines the defects in the workpiece based on at least two sets of detection images with different detection conditions. First, defect identification is performed on the surface features of the workpiece under test in one set of inspection images. If it is determined that there are suspicious defect features on the surface of the workpiece under test in this set of inspection images, the location of the suspicious defect features on the surface of the workpiece under test is marked and recorded as a temporary suspicious defect location. Then, defect identification is also performed on the surface features of the workpiece under test in at least another set of inspection images. If there are also suspicious defect features on the surface of the workpiece under test in at least another set of inspection images at the temporary suspicious defect location, it is determined that there is defect A in the workpiece under test at the temporary defect location. Alternatively / and, firstly, perform defect identification on the surface features of the workpiece under test in one set of detection images. If it is determined that there are suspicious defect features on the surface of the workpiece under test in this set of detection images, then mark the location of the suspicious defect features on the surface of the workpiece under test as a temporary suspicious defect location. Then, perform defect identification on the surface features of the workpiece under test in at least another set of detection images. If there are no suspicious defect features on the surface of the workpiece under test at the temporary suspicious defect location in at least another set of detection images, then determine that there is defect B on the workpiece under test at the temporary defect location. Alternatively / and, firstly, perform defect identification on the surface features of the workpiece under test in one set of detection images. If it is determined that there are suspicious defect features on the surface of the workpiece under test in the set of detection images, then mark the location of the suspicious defect features on the surface of the workpiece under test as a temporary suspicious defect location. Then, perform defect identification on the surface features of the workpiece under test in at least another set of detection images. If there are no suspicious defect features or the feature index is lower than the limit value on the surface of the workpiece under test in the other at least another set of detection images at the temporary suspicious defect location, then determine that there is no defect on the workpiece under test at the temporary defect location.
2. The workpiece defect detection system based on vision inspection according to claim 1, characterized in that: Each detection module includes a light source and an image acquisition module for use. The optical effect presented by the detection module to the workpiece under test is presented by the position of the light source relative to the workpiece under test, or by the shape or form of the light source, or by the light intensity, color temperature, frequency, direction, or dimension of the light source. The visual angle of the detection module in capturing the workpiece under test is presented by the shooting angle or shooting distance of the image acquisition module relative to the workpiece under test.
3. The workpiece defect detection system based on vision inspection according to claim 2, characterized in that: The image acquisition module is a 2D area scan camera, a 2D line scan camera, or a 3D sensor, which acquires 2D or 3D images, and there may be one or more such cameras; the light source is set above, below, or to the side of the workpiece to be measured.
4. The workpiece defect detection system based on vision inspection according to claim 1, characterized in that: It also includes a workpiece conveying structure or a detection module moving device, wherein the workpiece conveying structure is used to make the workpiece pass through the aforementioned N detection modules; the N detection modules are sequentially arranged at different positions before and after the workpiece conveying structure, and the workpiece passes through different detection modules sequentially under the conveying structure. The detection module moving device is used to move N detection modules sequentially to the location of the workpiece to be tested, and to perform visual inspection on the workpiece.
5. The workpiece defect detection system based on vision inspection according to claim 4, characterized in that: Contact or non-contact detection modules are provided between different detection modules or behind all detection modules. The contact detection modules are used to wipe or squeeze the surface of the workpiece to be tested or to apply a preset medium or physical quantity to the surface of the workpiece to be tested.
6. The workpiece defect detection system based on vision inspection according to claim 1, characterized in that: The defect detection fusion module is installed in an industrial control computer connected to a display component.
7. The workpiece defect detection system based on vision inspection according to claim 1, characterized in that: The defect detection fusion module detects surface defects of the workpiece in the following types or any combination thereof: foreign objects on the workpiece surface, scratches on the workpiece surface, and chipping at the workpiece edge.
8. The workpiece defect detection system based on vision inspection according to claim 1, characterized in that: The defect detection fusion module uses a combined detection method of the first set of detection images and the fifth set of detection images to detect whether there are scratches on the workpiece surface. The workpiece under test is passed through the first detection module and the fifth detection module respectively. Then, the first detection module is used to obtain the first set of detection images, and the fifth detection module is used to obtain the fifth set of detection images. The first detection module sends the first set of detection images to the defect detection fusion module, and the fifth detection module sends the fifth set of detection images to the defect detection fusion module. The defect detection fusion module uses the first set of detection images to detect whether there are bright targets on the surface of the workpiece to be tested. If there are bright targets on the surface of the workpiece to be tested, the coordinates and shape of the bright targets are marked. Then, the defect detection fusion module searches in the fifth set of detection images for a target object that is lower than the workpiece plane at the corresponding position on the surface of the workpiece to be tested, based on the coordinates of the highlighted target object. If the target object is found and the height detection value exceeds the set threshold, the defect detection fusion module outputs the conclusion that the surface of the workpiece to be tested has scratches.
9. The workpiece defect detection system based on vision inspection according to claim 1, characterized in that: The defect detection fusion module uses the second set of detection images and the fifth set of detection images to jointly detect whether there are foreign objects on the workpiece surface. The workpiece under test is passed through the second detection module and the fifth detection module respectively. Then, the second detection module is used to obtain the second set of detection images, and the fifth detection module is used to obtain the fifth set of detection images. The second detection module sends the second set of detection images to the defect detection fusion module, and the fifth detection module sends the fifth set of detection images to the defect detection fusion module. The defect detection fusion module uses the second set of detection images to detect whether there is an obstructing target on the surface of the workpiece to be tested. If there is an obstructing target on the surface of the workpiece to be tested, the coordinates and shape of the obstructing target are marked. Then, the defect detection fusion module searches the fifth set of detection images for a target object that is higher than the workpiece plane at the corresponding position on the surface of the workpiece to be tested, based on the coordinates of the occluded target object. If the target object is found and the height detection value exceeds the set threshold, the defect detection fusion module outputs the conclusion that there is a foreign object on the surface of the workpiece to be tested.
10. The workpiece defect detection system based on vision inspection according to claim 1, characterized in that: The detection module includes five modules: a first detection module, a second detection module, a third detection module, a fourth detection module, and a fifth detection module. The first detection module includes a 2D area array camera and a light source that works with the 2D area array camera to provide low-angle ring light dark field illumination to the front of the workpiece under test. The first detection module outputs a first set of detection images. The defect detection fusion module can use the first set of detection images to detect whether there are bright target objects on the surface of the workpiece under test. The second detection module includes a 2D line scan camera and a light source that works in conjunction with the 2D line scan camera to illuminate the workpiece under test with transmitted light. The second detection module outputs a second set of detection images. The defect detection fusion module can use the second set of detection images to detect whether there are any obstructing objects on the surface of the workpiece under test. The third detection module includes a 2D area scan camera and a light source that works with the 2D area scan camera to provide high-angle annular light field illumination to the front of the workpiece under test. The third detection module outputs the third set of detection images. The defect detection fusion module can use the third set of detection images to detect whether there are clump-like target objects on the surface of the workpiece under test. The fourth detection module includes a 2D line scan camera and a light source that works with the 2D line scan camera to illuminate the workpiece under test with transmitted light and coaxial bright field illumination. The fourth detection module outputs the fourth set of detection images. The defect detection fusion module can use the fourth set of detection images to detect whether there are dark target objects on the surface of the workpiece under test. The fifth inspection module includes a 3D camera and a light source that works with the 3D camera to perform laser scanning on the workpiece under test; The fifth detection module outputs the fifth set of detection images, which are 3D point cloud field images. The defect detection fusion module can use the fifth set of detection images to determine whether there are target objects on the surface of the workpiece being tested that are lower or higher than the workpiece plane.
Citation Information
Patent Citations
Defect Extraction Methods for AOI Defect Detection
CN111337512B
