A glass testing method

By employing a step-by-step image acquisition method under multi-light source conditions in 3D curved glass inspection, the problem of insufficient inspection accuracy in existing technologies has been solved, enabling accurate measurement of the gap between the glass and the diaphragm and improving the reliability of product quality.

CN115901750BActive Publication Date: 2025-12-02BIEL OPTIC HUIZHOU
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211342676.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-28
Publication Date
2025-12-02
Estimated Expiration
2042-10-28

AI Technical Summary

Technical Problem

Existing visual inspection systems cannot clearly present the outline images of all control points and film outline images of 3D curved glass products under single light source or natural light conditions, resulting in insufficient inspection accuracy, especially a large error in the detection of the bonding and assembly gap between the glass and the film.

Method used

A step-by-step image acquisition method under multiple light source conditions is adopted. The contour lines of glass, printing ink and optical film are acquired at different steps under different light source effects. The images are captured by an industrial camera under multiple light source conditions and the images are fitted to calculate the distance between the glass and the film.

Benefits of technology

It enables precise multi-point detection of 3D curved glass products, reducing the probability of false detections and ensuring product quality reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115901750B_ABST
    Figure CN115901750B_ABST
Patent Text Reader

Abstract

A glass inspection method is disclosed, wherein the surface of the glass has printed ink and / or an optical film. The glass inspection method includes the following steps: using an imaging module to sequentially acquire the outline of the glass, the outline of the printed ink, and / or the outline of the optical film under different light source conditions. This glass inspection method can accurately measure the distance between the outline of the glass and the outline of the optical film, as well as the distance between the outline of the glass and the outline of the printed ink. This approach makes the images acquired under different light sources clearer, and the visual image processing and measurement after acquisition can clearly identify and measure the corresponding indicators, improving measurement accuracy and reducing the risk of mismeasurement due to image blur.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of glass manufacturing technology, and more specifically to a glass testing method. Background Technology

[0002] In the manufacturing process of 3D curved glass, it is usually necessary to focus on controlling important indicators such as the shape, structure, curvature angle, and the bonding gap between the glass and the film. Traditionally, these parameters are identified and inspected manually, which inevitably leads to low production efficiency and high labor costs. Especially for the bonding gap between the glass and the film, manual inspection is prone to misjudgment due to eye fatigue, resulting in poor accuracy and compromised product quality.

[0003] Currently, to improve the inspection speed and accuracy of production lines, reduce labor costs, and simultaneously ensure the output and quality of 3D curved glass, the industry adopts the approach of introducing vision inspection systems to replace human eyes in identifying and inspecting various parameters, especially replacing manual inspection of the dimensional gaps between the glass and the film during assembly. Generally, vision inspection systems use industrial cameras to perform single-step image acquisition and measurement under single or natural light conditions. Structurally, a vision inspection system mainly consists of an image processing module, a camera module (industrial camera), a main control module, and a vision measurement module.

[0004] However, the applicant discovered that as people's quality requirements for 3D curved glass products increase, it is necessary to control the indicators of more points on the 3D curved glass products during the manufacturing process. It should be noted that industrial cameras, under single or natural light conditions, cannot clearly present the outline images and film outline images of all control points on the 3D curved glass product. When the images captured by the industrial camera are blurry, it can cause calculation errors in the visual measurement module of the vision inspection system, directly leading to inspection failures. Summary of the Invention

[0005] The technical problem to be solved by the present invention is to provide a glass inspection method that can accurately measure the distance between the glass outline and the optical film outline at at least different points on the glass.

[0006] To solve the above-mentioned technical problems, the technical solution adopted by the invention is to provide a glass inspection method, wherein the surface of the glass has printed ink and / or an optical film, and the glass inspection method includes the following steps: Step S2, using an imaging module to collect the outline of the glass, the outline of the printed ink and / or the outline of the optical film step by step under different light source effects.

[0007] In a first embodiment of the glass testing method provided by the present invention, the glass testing method further includes step S1, which includes:

[0008] Step S11: Use the shooting module to take a picture of the glass product calibration sheet, and adjust the front light source and back light source until the outline of the glass product calibration sheet is clearly visible. Mark the intensity of the front light source and the intensity of the back light source at this time as the first light source effect; the surface of the glass product calibration sheet has an optical film.

[0009] Step S13: Use the shooting module to take a picture of the glass product calibration sheet, adjust the front light source and back light source until the outline of the optical film is clearly visible, and mark the intensity of the front light source and back light source at this time as the third light source effect.

[0010] In a first embodiment of the glass testing method provided by the present invention, step S2 includes:

[0011] Step S21: Use the imaging module to capture a first image of the glass under the first light source effect condition, and the outline of the glass is clearly displayed in the first image;

[0012] Step S23: Using the imaging module, a third image of the glass is captured under the third light source effect condition, and the outline of the optical film is clearly displayed in the third image;

[0013] The intensity of the surface light source and the intensity of the backlight source under the first type of light source effect condition are lower than the intensity of the surface light source and the intensity of the backlight source under the third type of light source effect condition.

[0014] In a first embodiment of the glass testing method provided by the present invention, the glass testing method further includes step S3, which includes:

[0015] Step S31: Fit the first image and the third image to obtain a first fitted image. Calculate the distance between the outline of the glass and the outline of the optical film based on the first fitted image, and record it as a first gap measurement value. Match the first gap measurement value with a first preset threshold. If the match is successful, it is determined to be qualified; otherwise, it is unqualified.

[0016] In a first embodiment of the glass testing method provided by the present invention, the first preset threshold is the distance between the glass outline and the optical film outline at the corresponding position of the glass product calibration sheet.

[0017] In a second embodiment of the glass testing method provided by the present invention, step S1 includes:

[0018] Step S11: Use the shooting module to take a picture of the glass product calibration sheet, and adjust the front light source and back light source until the outline of the glass product calibration sheet is clearly visible. Mark the intensity of the front light source and the intensity of the back light source at this time as the first light source effect. The surface of the glass product calibration sheet also has an optical film and printing ink.

[0019] Step S12: Use the shooting module to take a picture of the glass product calibration sheet, adjust the front light source and back light source until the outline of the printing ink is clearly visible, and mark the intensity of the front light source and back light source at this time as the second light source effect.

[0020] Step S13: Use the shooting module to take a picture of the glass product calibration sheet, adjust the front light source and back light source until the outline of the optical film is clearly visible, and mark the intensity of the front light source and back light source at this time as the third light source effect.

[0021] In a second embodiment of the glass testing method provided by the present invention, step S2 includes:

[0022] Step S21: Use the imaging module to capture a first image of the glass under the first light source effect condition, and the outline of the glass is clearly displayed in the first image;

[0023] Step S22: Using the imaging module, a second image of the glass is captured under the second light source effect condition. The outline of the printing ink is clearly displayed in the second image.

[0024] Step S23: Using the imaging module, a third image of the glass is captured under the third light source effect condition, and the outline of the optical film is clearly displayed in the third image;

[0025] Wherein, the surface light source intensity and backlight intensity under the first light source effect condition are lower than those under the second light source effect condition, and the surface light source intensity and backlight intensity under the second light source effect condition are lower than those under the third light source effect condition.

[0026] In a second embodiment of the glass testing method provided by the present invention, the glass testing method further includes step S3, which includes:

[0027] Step S31: Fit the first image and the third image to obtain a first fitted image, and calculate the distance between the outline of the glass and the outline of the optical film based on the first fitted image, and record it as the first gap measurement value.

[0028] Step S32: Fit the first image and the second image to obtain a second fitted image, and calculate the distance between the outline of the glass and the outline of the printing ink based on the second fitted image, which is recorded as the second gap measurement value.

[0029] Step S33: Match the first gap measurement value with the first preset threshold, and match the second gap measurement value with the second preset threshold. If the first gap measurement value matches the first preset threshold and the second gap measurement value matches the second preset threshold, it is judged as qualified; otherwise, it is unqualified.

[0030] In a second embodiment of the glass testing method provided by the present invention, the first preset threshold is the distance between the glass outline and the optical film outline at the corresponding position of the glass product calibration sheet; the second preset threshold is the distance between the glass outline and the printing ink outline at the corresponding position of the glass product calibration sheet.

[0031] In the first or second embodiment of the glass inspection method provided by the present invention, the imaging module includes M industrial cameras, where M is a natural number; in step S2, the M industrial cameras respectively capture M different points of the glass, and the M industrial cameras respectively collect the outline of the glass, the outline of the printing ink and / or the outline of the optical film at the M points of the glass under different light source effects.

[0032] The glass testing method of the present invention can achieve at least the following beneficial effects:

[0033] 1. The glass inspection method includes the following steps: Step S2, using an imaging module to collect the outline of the glass, the outline of the printed ink, and / or the outline of the optical film step by step under different light source conditions. This glass inspection method can accurately measure the distance between the outline of the glass and the outline of the optical film, and also accurately measure the distance between the outline of the glass and the outline of the printed ink.

[0034] 2. The imaging module includes M industrial cameras. Therefore, the glass detection method described above can simultaneously and accurately measure the distance between the glass outline and the optical film outline at different points on the glass. Of course, it can also simultaneously and accurately measure the distance between the glass outline and the printing ink outline at different points on the glass. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of the invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0036] Figure 1 This is a three-dimensional assembly schematic diagram of the glass inspection device provided in Embodiment 1;

[0037] Figure 2 A three-dimensional structural schematic diagram (I) of the adjustable bracket provided in Embodiment 1;

[0038] Figure 3 A three-dimensional structural schematic diagram (II) of the adjustable bracket provided in Embodiment 1;

[0039] Figure 4 A three-dimensional combined structure diagram of the backlight and support module provided in Embodiment 1;

[0040] Figure 5 This is a schematic diagram of the block principle of the glass detection device provided in Embodiment 1.

[0041] Explanation of reference numerals in the detailed embodiments:

[0042] Main frame 1 Shooting module 2 Computer host 3 Light source module 4 Support module 5 Lower space 11 Upper space 12 Middle partition 13 Backlight 41 Surface light source 42 Light-transmitting hole 51 Adjustable stand 21 Industrial cameras 22 Border Post 14 Connecting rails 15 slider 16 Mounting substrate 211 First rotating arm 212 First connecting shaft 213 Second rotating arm 214 Second connecting shaft 215 Third rotating arm 216 tubular lens 221 Camera body 222 Horizontal branch 23 base 411 Backlight 412 Positioning support column 52 Main control unit 31 Image recognition and processing unit 32 Visual measurement unit 33 Light source controller unit 34 storage unit 35 Display module 6 Data input module 7 Detailed Implementation

[0043] As mentioned in the background section, with increasing demands for the quality of 3D curved glass products, more points on the 3D curved glass products need to be controlled during the manufacturing process. Under single light source (or natural light source) conditions, existing image acquisition methods cannot achieve multi-point image acquisition, and the images ultimately acquired by the industrial camera 22 have poor clarity. This causes the image processing module and vision measurement module to be unable to accurately identify the contours of the glass and film at the required measurement points, resulting in a large deviation between the measured values ​​and the true values, failing to meet the current requirements for measuring the glass-film bonding gap in 3D curved glass products. The applicant's research has found that the reason for this is that the light sources required for acquiring the glass contour and the film contour are different. Therefore, in order to achieve comprehensive and accurate detection of important indicators (especially the glass-film bonding gap) at multiple points on 3D curved glass products, when using the industrial camera 22 to acquire images of different 3D curved glass products or different points on the same 3D curved glass product, it is necessary to provide the industrial camera 22 with light sources of different intensities and forms to ensure good image clarity.

[0044] To facilitate understanding of the invention, a more complete description will be given below with reference to the accompanying drawings. Typical embodiments of the invention are shown in the drawings. However, the invention can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to make the disclosure of the invention more thorough and complete.

[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention pertains. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.

[0046] Example 1

[0047] This embodiment provides a glass testing method, which can be used to test glass. Specifically, the glass testing method includes the following steps S1 and S3.

[0048] Step S1 includes steps S11 and S13.

[0049] Step S11: Use the shooting module 2 to take a picture of the glass product calibration sheet, and adjust the front light source 42 and back light source 41 until the outline of the glass product calibration sheet is clearly visible. Mark the intensity of the front light source 42 and the intensity of the back light source 41 at this time as the first light source effect; the surface of the glass product calibration sheet has an optical film.

[0050] Step S13: Use the shooting module 2 to take a picture of the glass product calibration sheet, adjust the surface light source 42 and the back light source 41 until the outline of the optical film is clearly visible, and mark the intensity of the surface light source 42 and the intensity of the back light source 41 at this time as the third light source effect.

[0051] Step S2: Using the imaging module 2, the outline of the glass, the outline of the printing ink, and / or the outline of the optical film are captured step by step under different light source effects.

[0052] Step S2 includes steps S21 and S23:

[0053] Step S21: Using the imaging module 2, a first image of the glass is captured under the first light source effect condition, and the outline of the glass is clearly displayed in the first image;

[0054] Step S23: Using the imaging module 2, a third image of the glass is acquired under the third light source effect condition, and the outline of the optical film is clearly displayed in the third image;

[0055] The intensity of the surface light source 42 and the back light source 41 under the first type of light source effect condition is lower than that under the third type of light source effect condition.

[0056] Step S3 includes:

[0057] Step S31: Fit the first image and the third image to obtain a first fitted image. Calculate the distance between the outline of the glass and the outline of the optical film based on the first fitted image, and record it as a first gap measurement value. Match the first gap measurement value with a first preset threshold. If the match is successful, it is determined to be qualified; otherwise, it is unqualified.

[0058] It should be noted that the first preset threshold is the distance between the glass outline and the optical film outline at the corresponding position of the glass product calibration sheet.

[0059] In summary, through the above steps, we can accurately measure the distance between the outline of the glass and the outline of the optical film (i.e., the first gap measurement value). Then, based on whether the first gap measurement value matches the first preset threshold, we can determine whether this indicator of the glass product (the distance between the glass outline and the optical film outline) is qualified. This greatly reduces the probability of false detection and ensures the reliable quality of the glass products flowing out of the production line.

[0060] To better implement the glass testing method provided in this embodiment, a glass testing device is also provided in this embodiment. See [link to relevant documentation]. Figure 1 , Figure 1 This is a three-dimensional assembly diagram of the glass inspection device provided in this embodiment, as shown below. Figure 1As shown, the glass inspection device includes a main frame 1 and an imaging module 2, a computer host 3, a light source module 4, and a support module 5 installed on the main frame 1. The main frame 1 has a middle partition 13 that divides the internal space of the main frame 1 into an upper space 12 and a lower space 11. The imaging module 2 is located in the upper space 12. The light source module 4 includes a backlight 41 and a surface light source 42 located in the upper space 12. The backlight 41 is installed on the upper side of the middle partition 13, and the surface light source 42 is disposed on the imaging module 2. The support module 5 is located in the upper space 12 and between the backlight 41 and the surface light source 42. The support module 5 has a light-transmitting hole 51 through which light emitted by the backlight 41 can pass. The computer host 3 is housed in the lower space 11 and is electrically connected to the backlight 41, the surface light source 42, and the imaging module 2, respectively. In this embodiment, the shooting module 2 includes M industrial cameras 22 and M adjustable brackets 21. The M industrial cameras 22 are respectively mounted to the main frame 1 through the M adjustable brackets 21; where M is 4. Of course, in some other embodiments, the value of M can also be 2, 3, 5, 6, etc. In fact, the value of M is determined according to the number of measurement points required for the glass to be tested. The main frame 1 includes an upper frame, which includes four frame pillars 14 connected to the middle partition 13. The four frame pillars 14 are respectively located on the four edges of the same cuboid. Two connecting rails 15 are connected between two adjacent frame pillars 14. The two connecting rails 15 connected between two adjacent frame pillars 14 are connected to sliders 16. The sliders 16 are slidably fitted onto the two connecting rails 15. There are four sliders 16. The four adjustable brackets 21 are respectively connected to the four sliders 16.

[0061] See Figure 2 and Figure 3 , Figure 2 This is a three-dimensional structural diagram (I) of the adjustable bracket 21 provided in this embodiment. Figure 3 This is a three-dimensional structural schematic diagram (II) of the adjustable bracket 21 provided in this embodiment, as shown below. Figure 2 or Figure 3As shown, the adjustable bracket 21 includes a mounting base 211, a first rotating arm 212, a first connecting shaft 213, a second rotating arm 214, a second connecting shaft 215, and a third rotating arm 216. The mounting base 211 is fixedly connected to the slider 16; the two first rotating arms 212 are rotatably connected to the upper and lower ends of the mounting base 211 about a first axis; the first axis extends vertically; the first connecting shaft 213 extends vertically and is inserted into both first rotating arms 212; one end of the second rotating arm 214 is sleeved on the outside of the first rotating shaft and located between the two first rotating arms 212; the second connecting shaft 215 extends vertically and is inserted into the other end of the second rotating arm 214; the third rotating arm 216 is rotatably mounted on the lower end of the second connecting shaft 215 about a second axis; the second axis is perpendicular to the first axis. (Continue to see...) Figure 2 or Figure 3 The industrial camera 22 includes a tubular lens 221 and a camera body 222 connected together. The tubular lens 221 is vertically inserted into the third rotating arm 216. Here, the number of surface light sources 42 is M, that is, the number of surface light sources 42 is the same as the number of industrial cameras 22, that is, the number of surface light sources 42 is 4. The 4 surface light sources 42 are respectively connected to the outer side wall of the tubular lens 221 of the 4 industrial cameras 22 through 4 horizontal branch pipes 23. According to the above description, it should be understood that the position and angle of the tubular lens 221 of the industrial camera 22 can be flexibly adjusted by moving the slider 16 and / or rotating the first rotating arm 212, and / or rotating the second rotating arm 214, and / or rotating the third rotating arm 216.

[0062] See Figure 4 , Figure 4 This is a schematic diagram of the three-dimensional combined structure of the backlight 41 and the support module 5 provided in this embodiment, as shown below. Figure 4 As shown, the backlight 41 includes a base 411, multiple independent backlights 412, and a glass cover (not shown). The base 411 is fixed to the upper side of the intermediate partition 13, and the base 411 has a receiving cavity in its middle. Multiple independent backlights 412 are housed within the receiving cavity of the base 411, and each backlight 412 emits light upwards. The glass cover covers the opening of the receiving cavity. Here, the number of backlights 41 is six. Of course, in some other embodiments, the number of backlights 41 can be 2, 3, 4, 5, 7, etc. In fact, the number of backlights 41 is determined according to the number of measurement points required for the glass under test. It should be noted that the support module 5 is placed on the upper side of the glass cover. Figure 4As can be seen, the upper side of the support module 5 is provided with three positioning support columns 52. The support module 5 can support the glass to be tested or the glass product calibration sheet through the three positioning support columns 52. According to the above description, it should be understood that when the glass is placed on the support module 5, the multiple backlights 412 are respectively aimed at different points of the glass, and the light intensity of the multiple backlights 412 can be independently adjusted, thereby realizing different light intensities irradiating different points of the glass.

[0063] See Figure 5 , Figure 5 This is a schematic diagram of the block principle of the glass detection device provided in this embodiment, as shown below. Figure 5 As shown, the computer host 3 includes a main control unit 31, an image recognition and processing unit 32, a vision measurement unit 33, a light source controller unit 34, and a storage unit 35. The main control unit 31 is signal-connected to the image recognition and processing unit 32, the vision measurement unit 33, the light source controller unit 34, and the storage unit 35. Here, the main control unit 31, the image recognition and processing unit 32, the vision measurement unit 33, and the light source controller unit 34 can all be chips with data transmission and processing capabilities, and the storage unit 35 can be a hard disk. Of course, the main control unit 31 is also signal-connected to the light source module 4 and the imaging module 2. In addition, the glass detection device also includes a display module 6 and a data input module 7 installed on the main frame 1. Both the display module 6 and the data input module 7 are electrically connected to the computer host 3. The display module 6 is selected as a monitor, and the data input module 7 includes a mouse and a keyboard.

[0064] The following details the specific process of implementing the glass testing method using the glass testing device.

[0065] 1) Turn on the computer host 3, place the glass product calibration plate with the optical film attached on the support module 5. The calibration plate has the calibrated standard value. Adjust the focal length, position and angle of the industrial camera 22 corresponding to each measurement point. Use the mouse and keyboard to adjust the intensity of the backlight 41 and surface light source 42 at each point through the light source controller unit 34 of the computer host 3, so that the glass edge outline of each point displayed on the monitor is clearly presented. After the adjustment is completed, set it to the first lighting scheme and image outline recognition scheme (i.e. the first light source effect mentioned above), and store the relevant data of the first light source effect in the storage unit 35.

[0066] 2) By operating the mouse and keyboard, the intensity of the backlight 41 and the surface light source 42 at each point is increased through the light source controller unit 34 of the computer host 3. The light-transmitting characteristics of the glass cause its edge to disappear on the imaging interface. Because the optical film on the glass is opaque, a clear outline of the optical film edge is presented on the display. The intensity of the backlight 41 and the surface light source 42 at this time are set as the third light and image outline recognition scheme (i.e., the third light source effect mentioned above), and the third switching time between the first light source effect and the third light source effect is set. The relevant data of the third light source effect and the third switching time are stored in the storage unit 35.

[0067] 4) Use the mouse and keyboard to enter the threshold setting interface, and set the corresponding first preset threshold for each detection point through the main control unit 31 of the computer host 3. It should be noted that the first preset threshold is the distance between the glass outline and the optical film outline at the corresponding position of the glass product calibration sheet.

[0068] 5) Close the settings interface, run the measurement program, place the glass product to be shipped onto the support module 5, and press Enter to achieve automatic detection. The specific process includes the following:

[0069] The main control unit 31 reads the first type of light source effect data, as well as the third type of light source effect and the third switching time related data from the storage unit 35;

[0070] The main control unit 31 drives the light source controller unit 34 to adjust the intensity of the backlight 41 and the surface light source 42 at each point according to the first light source effect data, so that the backlight 41 and the surface light source 42 at each point can achieve the first light source effect. The main control unit 31 drives the industrial camera 22 to take pictures to capture the first image of the glass (the outline of the glass is clearly displayed in the first image).

[0071] After the third switching time, the main control unit 31 drives the light source controller unit 34 to adjust the intensity of the backlight 41 and the surface light source 42 at each point according to the third light source effect data, so that the backlight 41 and the surface light source 42 at each point can achieve the third light source effect. The main control unit 31 drives the industrial camera 22 to take pictures to capture the third image of the glass (the outline of the optical film is clearly displayed in the third image).

[0072] 6) The main control unit 31 controls the image recognition and processing unit 32 and the vision measurement unit 33 to perform image analysis and processing. Specifically, this includes the following process: the image recognition and processing unit 32 fits the first image and the third image to obtain a first fitted image; the vision measurement unit 33 calculates the distance between the outline of the glass and the outline of the optical film based on the first fitted image, and records it as a first gap measurement value; the main control unit 31 matches the first gap measurement value with a first preset threshold. If the match is successful, it is determined to be qualified; otherwise, it is unqualified.

[0073] In summary, the glass inspection method and device provided in this embodiment enable multi-step control of the backlight and surface light source 42, and different light sources can be controlled at different points. This allows for independent control of the surface light source 42 and backlight 41 at each measurement point. Multi-step image acquisition is also achieved. Different light sources are controlled and images are acquired based on the requirements of different points. First, a specific light source is used to clearly present the outer glass outline of the product. After acquiring the image of the outer surface, the computer host 3 controls the switching of the light source effect to a light source effect that clearly shows the edge outline of the glass printing ink, and then acquires the outline image of the glass printing ink edge. The computer host 3 then controls the switching of the light source effect again to a light source effect that clearly shows the edge outline of the film, and then acquires the outline image of the film. This method makes the images acquired under different light sources clearer, and the visual image processing and measurement after acquisition can clearly identify and measure the corresponding indicators, improving measurement accuracy and reducing the risk of mismeasurement due to image blur.

[0074] Example 2

[0075] This embodiment provides a glass testing method, specifically, the glass testing method includes the following steps S1, S2 and S3.

[0076] Step S1 includes:

[0077] Step S11: Use the shooting module 2 to take a picture of the glass product calibration sheet, and adjust the front light source 42 and back light source 41 until the outline of the glass product calibration sheet is clearly visible. Mark the intensity of the front light source 42 and the intensity of the back light source 41 at this time as the first light source effect. The surface of the glass product calibration sheet also has an optical film and printing ink.

[0078] Step S12: Use the shooting module 2 to take a picture of the glass product calibration sheet, adjust the front light source 42 and the back light source 41 until the outline of the printing ink is clearly visible, and mark the intensity of the front light source 42 and the back light source 41 at this time as the second light source effect.

[0079] Step S13: Use the shooting module 2 to take a picture of the glass product calibration sheet, adjust the surface light source 42 and the back light source 41 until the outline of the optical film is clearly visible, and mark the intensity of the surface light source 42 and the intensity of the back light source 41 at this time as the third light source effect.

[0080] Step S2 includes:

[0081] Step S21: Using the imaging module 2, a first image of the glass is captured under the first light source effect condition, and the outline of the glass is clearly displayed in the first image;

[0082] Step S22: Using the imaging module 2, a second image of the glass is captured under the second light source effect condition. The outline of the printing ink is clearly displayed in the second image.

[0083] Step S23: Using the imaging module 2, a third image of the glass is acquired under the third light source effect condition, and the outline of the optical film is clearly displayed in the third image;

[0084] Wherein, the intensity of the surface light source 42 and the intensity of the backlight 41 under the first light source effect condition are lower than the intensity of the surface light source 42 and the intensity of the backlight 41 under the second light source effect condition, and the intensity of the surface light source 42 and the intensity of the backlight 41 under the second light source effect condition are lower than the intensity of the surface light source 42 and the intensity of the backlight 41 under the third light source effect condition.

[0085] Step S3 includes:

[0086] Step S31: Fit the first image and the third image to obtain a first fitted image, and calculate the distance between the outline of the glass and the outline of the optical film based on the first fitted image, and record it as the first gap measurement value.

[0087] Step S32: Fit the first image and the second image to obtain a second fitted image, and calculate the distance between the outline of the glass and the outline of the printing ink based on the second fitted image, which is recorded as the second gap measurement value.

[0088] Step S33: Match the first gap measurement value with the first preset threshold, and match the second gap measurement value with the second preset threshold. If the first gap measurement value matches the first preset threshold and the second gap measurement value matches the second preset threshold, it is judged as qualified; otherwise, it is unqualified.

[0089] It should be noted that the first preset threshold is the distance between the glass outline and the optical film outline at the corresponding position of the glass product calibration sheet; the second preset threshold is the distance between the glass outline and the printing ink outline at the corresponding position of the glass product calibration sheet.

[0090] In summary, through the above steps, we can accurately measure the distance between the glass outline and the optical film outline (i.e., the first gap measurement value), and the distance between the glass outline and the printing ink outline (i.e., the second gap measurement value). Then, based on whether the first gap measurement value matches the first preset threshold and whether the second gap measurement value matches the second preset threshold, we can determine whether these two indicators of the glass product (the distance between the glass outline and the optical film outline, and the distance between the glass outline and the printing ink outline) are qualified. This greatly reduces the probability of false detection and ensures the reliable quality of the glass products flowing out of the production line.

[0091] In order to better implement the glass testing method provided in this embodiment, the specific process of implementing the glass testing method of this embodiment using the glass testing device provided in Embodiment 1 is described in detail below.

[0092] 1) Turn on the computer host 3, place the glass product calibration plate with the optical film attached on the support module 5. The calibration plate has the calibrated standard value. Adjust the focal length, position and angle of the industrial camera 22 corresponding to each measurement point. Use the mouse and keyboard to adjust the intensity of the backlight 41 and surface light source 42 at each point through the light source controller unit 34 of the computer host 3, so that the glass edge outline of each point displayed on the monitor is clearly presented. After the adjustment is completed, set it to the first lighting scheme and image outline recognition scheme (i.e. the first light source effect mentioned above), and store the relevant data of the first light source effect in the storage unit 35.

[0093] 2) By operating the mouse and keyboard, the intensity of the backlight 41 and the surface light source 42 at each point is increased through the light source controller unit 34 of the computer host 3. The light-transmitting characteristics of the glass cause its edge to disappear on the imaging interface. Because the ink printed on the glass is opaque, a clear outline of the printed ink edge is presented on the display. The intensity of the backlight 41 and the surface light source 42 at this time are set as the second light and image outline recognition scheme (i.e., the second light source effect mentioned above), and the first switching time between the first light source effect and the second light source effect is set. The relevant data of the second light source effect and the first switching time are stored in the storage unit 35.

[0094] 3) The mouse and keyboard are used again to adjust the intensity of the backlight 41 and the surface light source 42 at each point through the light source controller unit 34 of the computer host 3. By using the different reflective intensities of the printing ink and the optical film, the edge outline of the optical film is clearly displayed on the monitor. This light source intensity is set as the third light and image outline recognition scheme (i.e., the third light source effect mentioned above), and the second switching time between the second light source effect and the third light source effect is set. The relevant data of the third light source effect and the second switching time are stored in the storage unit 35.

[0095] 4) Use the mouse and keyboard to enter the threshold setting interface, and set the corresponding first preset threshold and second preset threshold for each detection point through the main control unit 31 of the computer host 3. It should be noted that the first preset threshold is the distance between the glass outline and the optical film outline at the corresponding position of the glass product calibration sheet, and the second preset threshold is the distance between the glass outline and the printing ink outline at the corresponding position of the glass product calibration sheet.

[0096] 5) Close the settings interface, run the measurement program, place the glass product to be shipped onto the support module 5, and press Enter to achieve automatic detection. The specific process includes the following:

[0097] The main control unit 31 reads the first light source effect data, the second light source effect and the related data of the first switching time, and the third light source effect and the related data of the second switching time from the storage unit 35.

[0098] The main control unit 31 drives the light source controller unit 34 to adjust the intensity of the backlight 41 and the surface light source 42 at each point according to the first light source effect data, so that the backlight 41 and the surface light source 42 at each point can achieve the first light source effect. The main control unit 31 drives the industrial camera 22 to take pictures to capture the first image of the glass (the outline of the glass is clearly displayed in the first image).

[0099] After the first switching time, the main control unit 31 drives the light source controller unit 34 to adjust the intensity of the backlight 41 and the surface light source 42 at each point according to the second light source effect data, so that the backlight 41 and the surface light source 42 at each point achieve the second light source effect. The main control unit 31 drives the industrial camera 22 to take pictures to capture the second image of the glass (the outline of the printing ink is clearly displayed in the second image).

[0100] After the second switching time, the main control unit 31 drives the light source controller unit 34 to adjust the intensity of the backlight 41 and the surface light source 42 at each point according to the third light source effect data, so that the backlight 41 and the surface light source 42 at each point can achieve the third light source effect. The main control unit 31 drives the industrial camera 22 to take pictures to capture the third image of the glass (the outline of the optical film is clearly displayed in the third image).

[0101] 6) The main control unit 31 controls the image recognition and processing unit 32 and the vision measurement unit 33 to perform image analysis and processing. Specifically, this includes the following process: The image recognition and processing unit 32 fits the first image and the third image to obtain a first fitted image; the vision measurement unit 33 calculates the distance between the outline of the glass and the outline of the optical film based on the first fitted image, and records it as a first gap measurement value; The image recognition and processing unit 32 fits the first image and the second image to obtain a second fitted image; the vision measurement unit 33 calculates the distance between the outline of the glass and the outline of the printing ink based on the second fitted image, and records it as a second gap measurement value; The main control unit 31 matches the first gap measurement value with a first preset threshold, and matches the second gap measurement value with a second preset threshold. If the first gap measurement value matches the first preset threshold successfully and the second gap measurement value matches the second preset threshold successfully, it is judged as qualified; otherwise, it is unqualified.

[0102] In summary, the glass inspection method and device provided in this embodiment enable multi-step control of the backlight and surface light source 42, and different light sources can be controlled at different points. This allows for independent control of the surface light source 42 and backlight 41 at each measurement point. Multi-step image acquisition is also achieved. Different light sources are controlled and images are acquired based on the requirements of different points. First, a specific light source is used to clearly present the outer glass outline of the product. After acquiring the image of the outer surface, the computer host 3 controls the switching of the light source effect to a light source effect that clearly shows the edge outline of the glass printing ink, and then acquires the outline image of the glass printing ink edge. The computer host 3 then controls the switching of the light source effect again to a light source effect that clearly shows the edge outline of the film, and then acquires the outline image of the film. This method makes the images acquired under different light sources clearer, and the visual image processing and measurement after acquisition can clearly identify and measure the corresponding indicators, improving measurement accuracy and reducing the risk of mismeasurement due to image blur.

[0103] It is worth mentioning that the latest glass product effect has added printing ink, and the glass product control indicators have added the gap between the edge of the printing ink and the glass. That is, it is necessary to measure the gap between the edge of the printing ink and the edge of the glass, the gap between the optical film and the edge of the glass, and the gap between the ink and the edge of the film. Therefore, the three-step lighting control and image acquisition provided in this embodiment can be used. Through the three-step light source control and image acquisition recognition measurement, the edge distance between each pair of edges of the three edge contours can be measured. Compared with the two-step light source control and measurement provided in Embodiment 1, by adding a light source and system measurement step, the image acquisition and measurement of the added edge contours are realized. There is no need to add an extra measurement process due to the addition of the printing ink edge gap measurement. Compared with the two-step measurement method provided in Embodiment 1, the production efficiency is greatly improved.

[0104] The embodiments of the invention have been described above with reference to the accompanying drawings. However, the invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the invention without departing from the spirit and scope of the claims. All of these are within the scope of protection of the invention.

Claims

1. A method for testing glass, characterized in that, The surface of the glass has an optical film, and the glass detection method includes the following steps: Step S2: Using the imaging module, the outline of the glass and the outline of the optical film are captured step by step under different light source effects. The step S2 is preceded by a step S1, which includes: Step S11: Use the shooting module to take a picture of the glass product calibration sheet, and adjust the front light source and back light source until the outline of the glass product calibration sheet is clearly visible. Mark the intensity of the front light source and the intensity of the back light source at this time as the first light source effect; the surface of the glass product calibration sheet has an optical film. Step S13: Use the shooting module to take a picture of the glass product calibration sheet, adjust the front light source and back light source until the outline of the optical film is clearly visible, and mark the intensity of the front light source and back light source at this time as the third light source effect. Step S2 includes: Step S21: Use the imaging module to capture a first image of the glass under the first light source effect condition, and the outline of the glass is clearly displayed in the first image; Step S23: Using the imaging module, a third image of the glass is captured under the third light source effect condition, and the outline of the optical film is clearly displayed in the third image; Wherein, the intensity of the surface light source and the intensity of the backlight source under the first type of light source effect condition are lower than the intensity of the surface light source and the intensity of the backlight source under the third type of light source effect condition; Step S2 is followed by step S3, which includes: The first image is fitted to the third image to obtain a first fitted image. The distance between the outline of the glass and the outline of the optical film is calculated based on the first fitted image and recorded as the first gap measurement value. The first gap measurement value is matched with a first preset threshold. If the match is successful, it is determined to be qualified; otherwise, it is unqualified. The first preset threshold is the distance between the glass profile line and the optical film profile line at the corresponding position of the glass product calibration sheet.

2. The glass testing method according to claim 1, characterized in that, The glass product calibration sheet and the surface of the glass also have printing ink; the step between step S11 and step S13 further includes: Step S12: Use the shooting module to take a picture of the glass product calibration sheet, adjust the front light source and back light source until the outline of the printing ink is clearly visible, and mark the intensity of the front light source and back light source at this time as the second light source effect. The step between step S21 and step S23 also includes: Step S22: Using the imaging module, a second image of the glass is captured under the second light source effect condition. The outline of the printing ink is clearly displayed in the second image. Wherein, the surface light source intensity and backlight intensity under the first light source effect condition are lower than the surface light source intensity and backlight intensity under the second light source effect condition, and the surface light source intensity and backlight intensity under the second light source effect condition are lower than the surface light source intensity and backlight intensity under the third light source effect condition. The glass testing method further includes step S3, which includes: Step S31: Fit the first image and the third image to obtain a first fitted image, and calculate the distance between the outline of the glass and the outline of the optical film based on the first fitted image, and record it as the first gap measurement value. Step S32: Fit the first image and the second image to obtain a second fitted image, and calculate the distance between the outline of the glass and the outline of the printing ink based on the second fitted image, which is recorded as the second gap measurement value. Step S33: Match the first gap measurement value with the first preset threshold, and match the second gap measurement value with the second preset threshold. If the first gap measurement value matches the first preset threshold and the second gap measurement value matches the second preset threshold, it is judged as qualified; otherwise, it is unqualified. The first preset threshold is the distance between the glass outline and the optical film outline at the corresponding position of the glass product calibration sheet; the second preset threshold is the distance between the glass outline and the printing ink outline at the corresponding position of the glass product calibration sheet.

3. The glass testing method according to claim 2, characterized in that, The shooting module includes M industrial cameras, where M is a natural number; in step S2, the M industrial cameras respectively capture M different points on the glass, and the M industrial cameras respectively collect the outline of the glass, the outline of the printing ink and the outline of the optical film at the M points on the glass under different light source effects.

Citation Information

Patent Citations

  • Mobile phone glass shape and display area size measuring method and device

    CN112414300A

  • Imaging system for detecting ink glass defects of mobile phone rear cover plate and detection method

    CN112595727A

  • Glass detection device

    CN219455954U