Glass panel defect detection method and device
By using blue light, red light and green light sources to illuminate the glass panel at different angles, RGB three-channel images are obtained, which solves the problems of high cost and low efficiency of glass panel detection in the existing technology, and realizes a unified coordinate system for multiple defect detection. and efficient detection.
Patent Information
- Application Number
- CN202211302382.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-10-24
AI Technical Summary
Existing glass panel defect detection technology has high costs and low efficiency. Different lighting solutions require multiple detection systems and require large space. The image coordinate system is not unified, making it difficult to accurately detect multiple defects.
Blue light, red light and green light sources are used to illuminate the glass panel from different angles, and RGB three-channel images are obtained through line array camera scanning to detect internal defects, surface defects and dirt, reducing hardware design and space requirements.
It realizes the unified coordinate system of image detection with multiple lighting schemes in the same camera, reduces detection costs and space requirements, and improves detection efficiency and accuracy.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of defect detection, and in particular to a method and device for detecting defects of a glass panel. Background Art
[0002] Machine vision has the ability to inspect microscopic aspects of the visual inspection, which is beyond the reach of manual inspection. LCD panels are made of large-size glass, and there are many types of inspection indicators. Hundreds of defects require different inspection methods to detect.
[0003] Among them, appearance inspection is the most basic and extremely important inspection indicator. Appearance is the physical characteristics and dimensional accuracy of the product. Only with good physical properties can there be good electrical properties. There are dozens of categories of appearance inspection, the most important of which are damage, hidden cracks, pitting, scratches, cracks, glass chips, stains, foreign matter, oil stains, glue, pressure injuries, gap defects, adhesion, short circuits and other defects. However, these defects require different lighting schemes to detect. One lighting scheme requires a set of visual systems, and three lighting schemes require three sets of visual inspection systems. The flat method is used in space to achieve the purpose of detecting multiple defects of a product.
[0004] However, the existing technology uses different lighting schemes for detection, which has the following disadvantages:
[0005] 1. A detection system with a lighting solution requires a set of line array cameras. A set of cameras needs to select 3 to 12 line array cameras according to the product size and detection resolution requirements, and is matched with multiple PCs for calculation. Appearance inspection requires multiple lighting solutions and multiple detection systems, which is very costly.
[0006] 2. Due to the use of multiple detection and flattening methods, the space requirement is relatively large. The same product is scanned and imaged multiple times and then tested, which is inefficient.
[0007] 3. The same product is scanned in different places and imaged in different cameras. The coordinate systems of the images are not unified, and the coordinates of the defect positions of multiple tests are difficult to accurately unify on the same overlay. Summary of the invention
[0008] The technical problem to be solved by the present invention is to provide a method and device for defect detection of a glass panel, which can reduce the cost of defect detection and improve the efficiency and accuracy of detection.
[0009] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0010] A method for detecting defects in a glass panel comprises the following steps:
[0011] Using a blue light source to illuminate the glass panel at a side of the glass panel away from the linear array camera, using a red light source to illuminate the glass panel at a position offset by a first angle at a side of the glass panel close to the linear array camera, and using a green light source to illuminate the glass panel at a position offset by a second angle at a side of the glass panel close to the linear array camera, wherein the first angle is greater than the second angle;
[0012] Use a line array camera to scan the glass panel, detect internal defects of the glass panel based on the blue channel of the scanned image, detect surface defects of the glass panel based on the red channel of the scanned image, and detect dirt on the surface of the glass panel based on the green channel of the scanned image.
[0013] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0014] A defect detection device for a glass panel, comprising a linear array camera group, a detection light source and a transmission device:
[0015] The line array camera group is located above the conveying device, and the discharge direction of the line array cameras is perpendicular to the conveying direction of the conveying device;
[0016] The detection light source comprises a red light source, a green light source and a blue light source, and the blue light source is located at a side of the transmission device away from the linear array camera group;
[0017] The red light source is located on a side of the transmission device close to the linear array camera group, and the angle between the red light source and the vertical line of the transmission device is a first angle;
[0018] The green light source is located on a side of the conveying device close to the linear array camera group, and an angle between the green light source and a vertical line of the conveying device is a second angle, and the first angle is greater than the second angle.
[0019] The beneficial effects of the present invention are: using a blue light source to illuminate the glass panel on the side of the glass panel away from the linear array camera, and using a red light source and a green light source to illuminate the glass panel on the side of the glass panel close to the linear array camera at positions offset from preset angles; therefore, a red light source is selected as a low-angle light, a green light source is used as a high-angle light, and a blue light source is used as a penetrating light. By scanning the product once, a high-angle image channel, a low-angle image channel, and a penetrating image channel can be obtained, and the data of the three channels do not interfere with each other. Thus, a set of visual systems corresponds to the images of the three lighting schemes, covering the vast majority of appearance inspection lighting schemes. At the same time, the coordinate systems of the three lighting schemes are in the same camera, and the defect overlay coordinates are completely consistent, which greatly reduces the detection hardware design, improves the detection efficiency, and saves space requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flow chart of a method for detecting defects in a glass panel according to an embodiment of the present invention;
[0021] Figure 2 is a schematic diagram of a glass panel defect detection device according to an embodiment of the present invention;
[0022] Figure 3 A detection diagram of a method for detecting defects of a glass panel according to an embodiment of the present invention;
[0023] Figure 4 is an R channel diagram of an embodiment of the present invention;
[0024] Figure 5 A G channel diagram of an embodiment of the present invention;
[0025] Figure 6 A B channel diagram of an embodiment of the present invention;
[0026] Figure 7 This is a through-light detection diagram of an embodiment of the present invention;
[0027] Figure 8 A low-angle light detection diagram of an embodiment of the present invention;
[0028] Fig. 9 A high-angle light detection diagram of an embodiment of the present invention;
[0029] Description of labels:
[0030] 1. Linear array camera; 2. Red light source; 3. Glass panel; 4. Green light source; 5. Blue light source. DETAILED DESCRIPTION
[0031] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0032] Please refer to Figure 1 The embodiment of the present invention provides a method for detecting defects of a glass panel, comprising the steps of:
[0033] Using a blue light source to illuminate the glass panel at the bottom of the glass panel, using a red light source to illuminate the glass panel at a position offset by a first angle directly above the glass panel, and using a green light source to illuminate the glass panel at a position offset by a second angle directly above the glass panel, wherein the first angle is greater than the second angle;
[0034] Use a line array camera to scan the glass panel, detect internal defects of the glass panel based on the blue channel of the scanned image, detect surface defects of the glass panel based on the red channel of the scanned image, and detect dirt on the surface of the glass panel based on the green channel of the scanned image.
[0035] From the above description, it can be seen that the beneficial effects of the present invention are: using a blue light source to illuminate the glass panel on the side of the glass panel away from the linear array camera, and using a red light source and a green light source to illuminate the glass panel on the side of the glass panel close to the linear array camera at positions offset by preset angles; therefore, a red light source is selected as a low-angle light, a green light source is used as a high-angle light, and a blue light source is used as a penetrating light. By scanning the product once, a high-angle image channel, a low-angle image channel, and a penetrating image channel can be obtained, and the data of the three channels do not interfere with each other. In this way, a set of visual systems corresponds to the images of the three lighting schemes, covering the vast majority of appearance inspection lighting schemes. At the same time, the coordinate systems of the three lighting schemes are in the same camera, and the defect overlay coordinates are completely consistent, which greatly reduces the detection hardware design, improves the detection efficiency, and saves space requirements.
[0036] Furthermore, the scanning of the glass panel using the line array camera includes:
[0037] Installing the line array camera at a position offset by a third angle just above the glass panel;
[0038] The blue light source is installed at a position offset by a third angle on a side of the glass panel away from the linear array camera, and the shooting direction of the linear array camera corresponds to the irradiation direction of the blue light source.
[0039] From the above description, it can be seen that when installing the line array camera, in order to avoid the interference of vertical reflection of the glass, the camera installation angle will be tilted to a third angle; the blue light source is also adjusted at a third angle and installed at an angle below the glass panel, thereby ensuring the accuracy of internal defect detection of the glass panel.
[0040] Furthermore, the step of using a red light source to illuminate the glass panel at a position offset by a first angle on a side of the glass panel close to the linear array camera further comprises:
[0041] Adjusting the reflection area corresponding to the red light source to diffuse reflection;
[0042] The step of using a green light source to illuminate the glass panel at a position offset by a second angle on a side of the glass panel close to the linear array camera further comprises:
[0043] The reflection area corresponding to the green light source is adjusted to diffuse reflection.
[0044] From the above description, it can be seen that adjusting the reflection areas of the red and green light sources to diffuse reflection can facilitate obtaining accurate scanning images and facilitate subsequent detection of images of the red and green light channels.
[0045] Further, the scanning of the glass panel using the line array camera includes:
[0046] The image scanned by the linear array camera is separated into three RGB channels to obtain three independent images of the red channel, the green channel and the blue channel.
[0047] From the above description, it can be seen that the image is divided into three RGB channels and the three channel data are separated without interfering with each other. Therefore, the three schemes are tested once through the three RGB channels, which can reduce the cost of defect detection and improve the efficiency of detection.
[0048] Further, the performing of internal defect detection of the glass panel according to the blue channel of the scanned image, the performing of surface defect detection of the glass panel according to the red channel of the scanned image, and the performing of surface dirt detection of the glass panel according to the green channel of the scanned image includes:
[0049] Perform internal defect detection on the glass panel based on the blue channel of the scanned image, wherein the internal defect detection includes spot damage, pressure damage, gap defect, adhesion and short circuit detection;
[0050] Detecting surface defects of the glass panel according to the red channel of the scanned image, wherein the surface defect detection includes detection of breakage, hidden cracks, pitting, scratches, cracks and glass chips;
[0051] The glass panel surface dirt detection is performed based on the green channel of the scanned image, and the surface dirt detection includes stain, foreign matter, oil stain, viscose and fiber detection.
[0052] From the above description, it can be seen that by scanning the product once, data from three channels can be obtained, and targeted detection can be performed based on the data from the three channels, which can improve the detection range and detection accuracy.
[0053] Please refer to Figure 2 , an embodiment of the present invention provides a defect detection device for a glass panel, including a linear array camera group, a detection light source and a transmission device:
[0054] The line array camera group is located above the conveying device, and the discharge direction of the line array cameras is perpendicular to the conveying direction of the conveying device;
[0055] The detection light source comprises a red light source, a green light source and a blue light source, and the blue light source is located at a side of the transmission device away from the linear array camera group;
[0056] The red light source is located on a side of the transmission device close to the linear array camera group, and the angle between the red light source and the vertical line of the transmission device is a first angle;
[0057] The green light source is located on a side of the conveying device close to the linear array camera group, and an angle between the green light source and a vertical line of the conveying device is a second angle, and the first angle is greater than the second angle.
[0058] From the above description, we can know that a blue light source is used to illuminate the glass panel on the side away from the linear array camera, and a red light source and a green light source are used to illuminate the glass panel on the side close to the linear array camera at positions offset from preset angles; therefore, a red light source is selected as a low-angle light, a green light source is used as a high-angle light, and a blue light source is used as a penetrating light. After a scan of the product, a high-angle image channel, a low-angle image channel, and a penetrating image channel can be obtained, and the data of the three channels do not interfere with each other. Thus, a set of visual systems corresponds to the images of the three lighting schemes, covering the vast majority of appearance inspection lighting schemes. At the same time, the coordinate systems of the three lighting schemes are in the same camera, and the coordinates of the defect overlay are completely consistent, which greatly reduces the design of the inspection hardware, improves the inspection efficiency, and saves space requirements.
[0059] Further, the angle between the linear array camera group and the vertical line of the conveying device is a third angle;
[0060] The included angle between the blue light source and the vertical line of the conveying device is a third angle;
[0061] The shooting direction of the line array camera corresponds to the irradiation direction of the blue light source.
[0062] From the above description, it can be seen that when installing the line array camera, in order to avoid the interference of vertical reflection of the glass, the camera installation angle will be tilted to a third angle; the blue light source is also adjusted at a third angle and installed at an angle below the glass panel, thereby ensuring the accuracy of internal defect detection of the glass panel.
[0063] Furthermore, the line array camera group includes at least 2 line array cameras, and the line array cameras are evenly distributed.
[0064] It can be seen from the above description that multiple line array cameras are evenly distributed, which can ensure the integrity of the scanned image.
[0065] The above-mentioned method and device for defect detection of a glass panel of the present invention are suitable for defect detection of a glass panel, and are described below through specific implementation methods:
[0066] Embodiment 1
[0067] Please refer to Figure 1 , a method for detecting defects in a glass panel, comprising the steps of:
[0068] S1. Use a blue light source 5 to illuminate the glass panel 3 at a side of the glass panel 3 away from the linear array camera, use a red light source 2 to illuminate the glass panel 3 at a position offset by a first angle at a side of the glass panel 3 close to the linear array camera, and use a green light source 4 to illuminate the glass panel 3 at a position offset by a second angle at a side of the glass panel 3 close to the linear array camera, where the first angle is greater than the second angle.
[0069] S11, installing the line array camera at a position offset by a third angle just above the glass panel 3, installing the blue light source 5 at a position offset by a third angle on a side of the glass panel 3 away from the line array camera, and the shooting direction of the line array camera corresponds to the irradiation direction of the blue light source 5.
[0070] For details, please refer to Figure 3 To avoid interference from vertical reflections from the glass, the color line array camera (CF) is installed at an angle of 15°. A penetrating backlight (CF_B) is installed with a pure blue light tone, and the tilt angle is adjusted to 15°, with the adjustment area facing the penetration position.
[0071] S12, using a red light source 2 to illuminate the glass panel 3 at a position offset by a first angle on a side of the glass panel 3 close to the linear array camera, and adjusting the reflection area corresponding to the red light source 2 to diffuse reflection; using a green light source 4 to illuminate the glass panel 3 at a position offset by a second angle on a side of the glass panel 3 close to the linear array camera, and adjusting the reflection area corresponding to the green light source 4 to diffuse reflection.
[0072] For details, please refer to Figure 3 , install a low-angle light source (CF_R), the tone is pure red light, adjust the tilt angle to 65 degrees, and adjust the reflection area to diffuse reflection; install a high-angle light source (CF_G), the tone is pure green light, adjust the tilt angle to 30 degrees, and adjust the reflection area to diffuse reflection.
[0073] Among them, using red light as a low-angle light source makes the imaging of glass crack characteristics and glass debris characteristics more stable.
[0074] S2. Use a line array camera to scan the glass panel 3, detect internal defects of the glass panel 3 according to the blue channel of the scanned image, detect surface defects of the glass panel 3 according to the red channel of the scanned image, and detect surface dirt of the glass panel 3 according to the green channel of the scanned image.
[0075] S21, performing RGB three-channel separation on the image scanned by the line array camera to obtain three independent images of red light, green light, and blue light.
[0076] For details, please refer to Figures 4 to 6, scan to obtain images, separate the three channels, obtain three independent images, and perform visual processing on the three images to detect defects.
[0077] S22, performing internal defect detection on the glass panel 3 according to the blue channel of the scanned image, wherein the internal defect detection includes point damage, pressure damage, gap defect, adhesion and short circuit detection.
[0078] For details, please refer to Figure 7 , penetrating light can effectively detect defects such as point damage, pressure damage, gap defects, adhesion, short circuit, etc.
[0079] S23, performing surface defect detection on the glass panel 3 according to the red channel of the scanned image, wherein the surface defect detection includes detection of breakage, hidden cracks, pitting, scratches, cracks and glass chips.
[0080] For details, please refer to Figure 8 , low-angle light can effectively detect: damage, hidden cracks, pitting, scratches, cracks, glass chips and other adverse conditions.
[0081] S24, performing a surface dirt detection on the glass panel 3 according to the green channel of the scanned image, wherein the surface dirt detection includes stain, foreign matter, oil stain, glue and fiber detection.
[0082] For details, please refer to Fig. 9 High-angle light can effectively detect defects such as stains, foreign matter, oil stains, glue, fibers, etc., and high-angle light can also detect scratches.
[0083] In some embodiments, the light sources used in the high-angle lighting solution, the low-angle lighting solution, and the backlight penetration lighting solution can be interchangeable.
[0084] Therefore, the high-angle lighting solution, low-angle lighting solution and backlight penetration lighting solution cover most appearance requirements. In this embodiment, the independent characteristics of RGB (red, green and blue) spectra are used to select three-color pure light sources for lighting. The color camera contains three RGB channels, so three lighting solutions can be implemented on a set of cameras, and different defects can be processed on a set of visual systems. And because the coordinate system of the same camera is unique, the reference coordinate system is completely unified after the three lighting solutions are detected.
[0085] Embodiment 2
[0086] Please refer to Figure 2 , a defect detection device for a glass panel, comprising a linear array camera group, a detection light source and a transmission device:
[0087] The linear array camera group is located above the conveying device, and the discharge direction of the linear array camera 1 is perpendicular to the conveying direction of the conveying device, and the angle between the linear array camera group and the vertical line of the conveying device is a third angle;
[0088] The detection light source includes a red light source 2, a green light source 4 and a blue light source 5. The blue light source 5 is located on a side of the conveying device away from the linear array camera group. The angle between the blue light source 5 and the vertical line of the conveying device is a third angle. The shooting direction of the linear array camera 1 corresponds to the irradiation direction of the blue light source 5.
[0089] The red light source 2 is located on a side of the transmission device close to the linear array camera group, and the angle between the red light source 2 and the vertical line of the transmission device is a first angle;
[0090] The green light source 4 is located on a side of the conveying device close to the linear array camera group, and the angle between the green light source 4 and the vertical line of the conveying device is a second angle, and the first angle is greater than the second angle.
[0091] In some embodiments, the line scan camera group includes at least two color line scan cameras 1 , and the color line scan cameras 1 are evenly distributed.
[0092] In summary, the present invention provides a method and device for defect detection of a glass panel, which uses a blue light source to illuminate the glass panel at the bottom of the glass panel, uses a red light source to illuminate the glass panel at a position offset by a first angle directly above the glass panel, and uses a green light source to illuminate the glass panel at a position offset by a second angle directly above the glass panel; therefore, a red light source is selected as a low-angle light, a green light source is used as a high-angle light, and a blue light source is used as a penetrating light, and a high-angle image channel, a low-angle image channel, and a penetrating image channel are obtained by scanning the product once, and the data of the three channels do not interfere with each other. Thus, a set of visual systems corresponds to the images of the three lighting schemes, covering the vast majority of the appearance detection lighting schemes. At the same time, the coordinate systems of the three lighting schemes are in the same camera, and the coordinates of the defect overlay images are completely consistent, which greatly reduces the detection hardware design, improves the detection efficiency, and saves space requirements.
[0093] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for detecting defects in a glass panel, applied to the detection of a liquid crystal panel, characterized in that: Includes steps: A blue light source is used to illuminate the glass panel at a side of the glass panel away from the linear array camera, a red light source is used to illuminate the glass panel at a position offset by a first angle at a side of the glass panel close to the linear array camera, and a green light source is used to illuminate the glass panel at a position offset by a second angle at a side of the glass panel close to the linear array camera, wherein the first angle is greater than the second angle; the first angle is 65 degrees, the second angle is 30 degrees, and the discharge direction of the linear array camera is perpendicular to the conveying direction of the conveying device; The line array camera group is located above the conveying device, and the discharge direction of the line array cameras is perpendicular to the conveying direction of the conveying device; Use a line array camera to scan the glass panel, detect internal defects of the glass panel based on the blue channel of the scanned image, detect surface defects of the glass panel based on the red channel of the scanned image, and detect surface dirt of the glass panel based on the green channel of the scanned image: Perform internal defect detection on the glass panel based on the blue channel of the scanned image, wherein the internal defect detection includes spot damage, pressure damage, gap defect, adhesion and short circuit detection; Detecting surface defects of the glass panel according to the red channel of the scanned image, including damage, hidden cracks, pitting, scratches, cracks and glass debris detection; using a red light source to visualize the characteristics of glass cracks and glass debris; Performing a surface dirt detection on the glass panel according to the green channel of the scanned image, wherein the surface dirt detection includes stain, foreign matter, oil stain, adhesive and fiber detection; The defect overlay coordinates of the blue channel, red channel, and green channel of the scanned image are consistent; The method of scanning the glass panel using the line array camera includes: Installing the line array camera at a position offset by a third angle just above the glass panel; Install the blue light source at a position offset by a third angle on one side of the glass panel away from the linear array camera, the shooting direction of the linear array camera corresponds to the irradiation direction of the blue light source, and the third angle is 15 degrees; The step of using a red light source to illuminate the glass panel at a position offset by a first angle on a side of the glass panel close to the linear array camera further comprises: Adjusting the reflection area corresponding to the red light source to diffuse reflection; The step of using a green light source to illuminate the glass panel at a position offset by a second angle on a side of the glass panel close to the linear array camera further comprises: Adjusting the reflection area corresponding to the green light source to diffuse reflection; The defect reflects light; The linear array camera is a color linear array camera; The method of scanning the glass panel using the line array camera includes: The image scanned by the linear array camera is separated into three RGB channels to obtain three independent images of the red channel, the green channel and the blue channel.
2. A glass panel defect detection device, used for detecting liquid crystal panels, characterized in that: Including linear array camera group, detection light source and transmission device: The line array camera group is located above the conveying device, and the discharge direction of the line array cameras is perpendicular to the conveying direction of the conveying device; The detection light source comprises a red light source, a green light source and a blue light source, and the blue light source is located at a side of the transmission device away from the linear array camera group; The red light source is located on a side of the transmission device close to the linear array camera group, and the angle between the red light source and the vertical line of the transmission device is a first angle; The green light source is located on a side of the transmission device close to the linear array camera group, and the angle between the green light source and the vertical line of the transmission device is a second angle, and the first angle is greater than the second angle; the first angle is 65 degrees, and the second angle is 30 degrees; Using a blue light source to illuminate the glass panel at a side of the glass panel away from the linear array camera, using a red light source to illuminate the glass panel at a position offset by a first angle at a side of the glass panel close to the linear array camera, and using a green light source to illuminate the glass panel at a position offset by a second angle at a side of the glass panel close to the linear array camera; The included angle between the linear array camera group and the vertical line of the conveying device is a third angle; Adjusting the reflection area corresponding to the red light source to diffuse reflection; Adjusting the reflection area corresponding to the green light source to diffuse reflection; The included angle between the blue light source and the vertical line of the conveying device is a third angle, and the third angle is 15°; The shooting direction of the line array camera corresponds to the irradiation direction of the blue light source, so that the defective part reflects the light; Performing internal defect detection of the glass panel according to the blue channel of the image scanned by the linear array camera group, wherein the internal defect detection includes point damage, pressure damage, gap defect, adhesion and short circuit detection; Detecting surface defects of the glass panel according to the red channel of the scanned image, including damage, hidden cracks, pitting, scratches, cracks and glass debris detection; using a red light source to visualize the characteristics of glass cracks and glass debris; Performing a surface dirt detection on the glass panel according to the green channel of the scanned image, wherein the surface dirt detection includes stain, foreign matter, oil stain, adhesive and fiber detection; The defect overlay coordinates of the blue channel, red channel, and green channel of the scanned image are consistent; The linear array camera is a color linear array camera; Scanning a glass panel with a line scan camera includes: The image scanned by the linear array camera is separated into three RGB channels to obtain three independent images of the red channel, the green channel and the blue channel.
3. A glass panel defect detection device according to claim 2, characterized in that: The line array camera group includes at least two line array cameras, and the line array cameras are evenly distributed.
