Intelligent detection method for glass substrate glue coating effect
By analyzing the grayscale difference and fluctuation characteristics in the ultrasonic scanning image, adjusting the stage scattering interference, and evaluating the glass substrate coating effect, the detection accuracy problem under the influence of the stage is solved and the accuracy of the detection results is improved.
Patent Information
- Application Number
- CN202410924576.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-11
AI Technical Summary
When the existing ultrasonic scanning technology detects glue coating on glass substrates, due to the different materials of the stage and the glass substrate, differences in reflection intensity and signal scattering occur, which affects the accuracy of the glue coating effect detection.
By acquiring the ultrasonic scanning image, combined with the grayscale difference and grayscale fluctuation characteristics of each scanning point and its neighborhood, the suspected defective area is determined, the imbalance deviation value is adjusted to reduce the stage scattering interference, and then the glue coating uniformity is evaluated.
It improves the accuracy of glue coating detection on glass substrates, reduces the impact of the stage on ultrasonic signals, and enhances the ability to identify glue coating uniformity and defects.
Smart Images

Figure CN118470011B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gluing effect detection, and in particular to an intelligent detection method for gluing effect of a glass substrate. Background Art
[0002] Glass substrate is a thin glass sheet with an extremely flat surface. It is usually used in the packaging and processing of integrated circuits because of its ultra-low flatness, better thermal and mechanical stability, and ability to withstand higher temperatures. Gluing the glass substrate is a prerequisite for subsequent steps, and the uniformity of the glue coating will directly affect the quality and performance of the final product, so it is necessary to test the glue coating of the glass substrate.
[0003] Ultrasonic scanning detection is non-contact and highly accurate, and is used to detect the coating of glass substrates. When the glass substrate is spin-coated with glue, it is easily affected by the viscosity of the glue, the difference in the edge of the glass substrate, and the rotation speed during spin coating, which makes the glass substrate unevenly coated, resulting in defects such as stripes, pinholes and bubbles on the surface of the glue coating. In ultrasonic scanning, the reflected wave intensity of the defective area and the uniformly coated area is different, which can realize the detection of the defects and uniformity of the glass substrate coating. However, when the ultrasonic scanning is performed on the entire stage of the glass substrate, due to the different materials of the coated glass substrate and the stage, there is a difference in reflection intensity; at the same time, the ultrasonic signal will be scattered and reflected at the layered edges of the glass substrate and the stage, thereby interfering with the area corresponding to the glass substrate of the ultrasonic scanning data, resulting in low accuracy in the detection results of the glass substrate coating effect. Summary of the invention
[0004] In order to solve the problem that the existing method of detecting the gluing effect of a glass substrate based on an ultrasonic scanning image of the glass substrate is affected by the stage, resulting in a low accuracy of the detection result, the object of the present invention is to provide an intelligent detection method for the gluing effect of a glass substrate, and the technical scheme adopted is as follows:
[0005] The present invention provides a method for intelligently detecting the gluing effect of a glass substrate, the method comprising the following steps:
[0006] Acquire an ultrasonic scanning image of a glass substrate to be inspected placed on a stage;
[0007] Determine the suspected defect area by combining the grayscale difference between each scanning point in the ultrasonic scanning image and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point; analyze the grayscale trend distribution characteristics of the suspected defect area to obtain the imbalance deviation value of the suspected defect area;
[0008] The imbalance deviation value is adjusted using the grayscale difference between the scanning point in the suspected defect area and the scanning point on the edge line to obtain the stage scattering interference degree of the suspected defect area;
[0009] Based on the similarity of the scattering interference of the stage in different suspected defect areas and the grayscale fluctuation range of each suspected defect area, the glue coating effect of the glass substrate to be inspected is evaluated.
[0010] Preferably, the method of combining the grayscale difference between each scanning point in the ultrasonic scanning image and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point to determine the suspected defect area includes:
[0011] Determine the potential defect evaluation value of each scanning point based on the grayscale difference between each scanning point and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point;
[0012] A suspected defect area is obtained based on the potential defect evaluation value.
[0013] Preferably, determining the potential defect evaluation value of each scanning point according to the grayscale difference between each scanning point and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point includes:
[0014] Based on the fluctuation degree of the grayscale values of all pixels in the neighborhood of the candidate point and the grayscale difference between the candidate point and the scanning points in its neighborhood, a potential defect evaluation value of the candidate point is obtained, wherein the fluctuation degree and the grayscale difference between the candidate point and the scanning points in its neighborhood are both positively correlated with the potential defect evaluation value;
[0015] The candidate point is any scanning point in the ultrasonic scanning image.
[0016] Preferably, obtaining the suspected defect area based on the potential defect evaluation value includes:
[0017] The scanning points whose normalized values of potential defect evaluation values are greater than the defect threshold are regarded as suspected points; and the suspected defect areas are obtained by performing connected domain analysis on the suspected points.
[0018] Preferably, the step of analyzing the grayscale trend distribution characteristics of the suspected defective area to obtain the imbalance deviation value of the suspected defective area includes:
[0019] Extracting a skeleton line of the suspected defect area; dividing the skeleton line using the center point of the suspected defect area as a dividing point to obtain a first sub-segment and a second sub-segment;
[0020] The unbalance deviation value of the suspected defect area is obtained by combining the relative positions of the scanning points on the first sub-segment and the second sub-segment and the central point and the grayscale values.
[0021] Preferably, the method of adjusting the imbalance deviation value by using the grayscale difference between the scanning point in the suspected defect area and the scanning point on the edge line to obtain the stage scattering interference degree of the suspected defect area includes:
[0022] Determine the interference weight of the suspected defect area according to the grayscale difference between the scanning point in the suspected defect area and the scanning point on the edge line;
[0023] The interference weight is used to adjust the corresponding imbalance deviation value to obtain the carrier scattering interference degree of the suspected defect area.
[0024] Preferably, determining the interference weight of the suspected defect area according to the grayscale difference between the scanning point in the suspected defect area and the scanning point on the edge line includes:
[0025] The grayscale difference between each scanning point on the edge line of the suspected defect area and the center point of the suspected defect area is recorded as the first difference of each scanning point on the edge line of the suspected defect area;
[0026] The interference weight of the suspected defect area is determined based on the average level of the first differences of all scanning points on the edge line of the suspected defect area, and the average level is positively correlated with the interference weight.
[0027] Preferably, the evaluation of the glue coating effect of the glass substrate to be inspected based on the similarity of the scattering interference of the different suspected defect areas and the grayscale fluctuation range of each suspected defect area includes:
[0028] All suspected defect areas are clustered based on the carrier scattering interference of each suspected defect area to obtain clusters; the cluster with the smallest mean value of the carrier scattering interference is taken as the defect area;
[0029] Determine the glue coating uniformity based on the grayscale fluctuation range of the scanning points in the defect area;
[0030] Whether the glue coating effect of the glass substrate to be inspected is qualified is judged based on the glue coating uniformity.
[0031] Preferably, determining the glue coating uniformity according to the grayscale fluctuation range of the scanning point in the defect area includes:
[0032] The glue coating uniformity is obtained based on the range of the grayscale value of each defect area, and the range is negatively correlated with the glue coating uniformity.
[0033] Preferably, judging whether the glue coating effect of the glass substrate to be inspected is qualified based on the glue coating uniformity includes:
[0034] When the glue coating uniformity is greater than a preset uniformity threshold, it is determined that the glue coating effect of the glass substrate to be tested is qualified;
[0035] When the glue coating uniformity is less than or equal to a preset uniformity threshold, it is determined that the glue coating effect of the glass substrate to be inspected is unqualified.
[0036] The present invention has at least the following beneficial effects:
[0037] The present invention firstly collects images of the glass substrate to be inspected placed on the stage. Considering that when scanning the glass substrate, the glass substrate and the stage are made of different materials and have different reflection intensities, the ultrasonic signal will be scattered and reflected at the layered edges of the glass substrate and the stage, thereby interfering with the area corresponding to the glass substrate of the ultrasonic scanning data and affecting the accuracy of the glue coating effect. The present invention combines the grayscale difference between each scanning point and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point to obtain the suspected defect area, so as to achieve the purpose of highlighting the uneven glue coating and scattered interference scanning points, and utilizes the grayscale trend distribution characteristics of the real defect area and the interference area and the internal pixel points and edge lines to obtain the suspected defect area. The grayscale difference characteristics of the scanning points on the surface are used to obtain the scattering interference degree of the stage, so as to distinguish the real defect area from the interference area, and then based on the similarity of the scattering interference degrees of the stage in different suspected defect areas and the distribution of the grayscale fluctuation range of each suspected defect area, the gluing effect of the glass substrate to be detected is evaluated. Compared with the traditional method, the method provided by the present invention focuses on the difference in acoustic impedance of the stage material and the glue-coated glass substrate, combines the influence of scattering and refraction on the detection of the glue-coated glass substrate, distinguishes the morphological trend characteristics of the real defect area and the interference area, reduces the influence of the glass substrate stage on the ultrasonic signal, and improves the accuracy of the detection result of the gluing effect of the glass substrate to be detected. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 A flow chart of a method for intelligently detecting the gluing effect of a glass substrate provided by an embodiment of the present invention;
[0040] Figure 2 is a flow chart of a method for obtaining an imbalance deviation value;
[0041] Figure 3 Flow chart of a method for obtaining the scattering interference degree of a carrier;
[0042] Figure 4This is a structural block diagram of an intelligent detection system for glass substrate glue coating effect provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, an intelligent detection method for the glue coating effect of a glass substrate proposed by the present invention is described in detail below in combination with the accompanying drawings and preferred embodiments.
[0044] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0045] The specific scheme of the intelligent detection method for the glue coating effect of a glass substrate provided by the present invention is described in detail below with reference to the accompanying drawings.
[0046] An embodiment of an intelligent detection method for glass substrate glue coating effect:
[0047] The specific scenario targeted by this embodiment is: after the production of the glass substrate is completed, in order to ensure the qualified rate of the product, the quality of its glue coating needs to be tested. In this embodiment, the glass substrate after glue coating is placed on a stage, and an ultrasonic scanning image of the glass substrate is collected. When the ultrasonic scanning is performed on the entire stage of the glass substrate, due to the different materials of the glue-coated glass substrate and the stage, there is a difference in reflection intensity. At the same time, the ultrasonic signal will be scattered and reflected at the layered edge of the glass substrate and the stage, thereby causing interference to the area corresponding to the glass substrate of the ultrasonic scanning data. Based on the feature that the reflection intensity of the scanning point of the defect or interference area and the uniform glue coating area has a fluctuation deviation, this embodiment divides the defect or interference area and the uniform glue coating area, and uses the distribution feature that the scanning point of the real defect area will present a bright center and dark edges, so as to eliminate the influence of the scattering interference area of the stage and realize the detection of the uniformity of glue coating on the glass substrate.
[0048] This embodiment proposes an intelligent detection method for the coating effect of a glass substrate. Figure 1 As shown, a glass substrate coating effect intelligent detection method of this embodiment includes the following steps:
[0049] Step S1, obtaining an ultrasonic scanning image of a glass substrate to be inspected placed on a stage.
[0050] In order to obtain the gluing effect of the glue-coated glass substrate, the glass substrate to be tested is first placed on the stage. This embodiment uses ultrasonic detection technology to obtain the gluing condition of the glass substrate to be tested, and performs ultrasonic scanning on the glass substrate to be tested fixed on the stage after the gluing is completed. Specifically, the focus is first adjusted using the ultrasonic scanning probe to obtain an ultrasonic reflection signal with a strong signal, and then the glass substrate to be tested is scanned in a transverse profile, and a C-mode scanning acoustic morphology image is constructed through the reflected wave waveform on the interface, thereby obtaining a C-mode acoustic morphology image of the glass substrate to be tested, and the C-mode acoustic morphology image is grayed and denoised to obtain a processed image. The graying and denoising of the image are both existing technologies and will not be described in detail here.
[0051] Taking into account that the processed image includes the stage area and the glue-coated glass area, in order to eliminate the influence of the high intensity of the reflected signal in the stage area on the detection of the glue-coated glass, this embodiment combines the positioning information of the glass substrate coating process, that is, positioning the four vertices of the glass substrate on the stage, and only retains the glue-coated glass area in the processed image, thereby eliminating the influence of the stage in the topography image, and the retained image is recorded as the ultrasonic scanning image of the glass substrate to be detected.
[0052] At this point, an ultrasonic scanning image of the glass substrate to be inspected placed on the stage is obtained.
[0053] Step S2, combining the grayscale difference between each scanning point in the ultrasonic scanning image and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point, determines the suspected defect area; analyzes the grayscale trend distribution characteristics of the suspected defect area to obtain the imbalance deviation value of the suspected defect area.
[0054] The complete glue coating process requires five steps: glue dripping, high-speed rotation, shaking off excess glue, solvent volatilization, and baking. Among them, high-speed rotation produces a certain centrifugal force on the photoresist, and acceleration produces torque on the photoresist, causing the photoresist to spread around the glass substrate. Therefore, after the spin coating of the glass substrate to be tested is completed, if the glue coating effect is good, the photoresist should be evenly coated on the surface of the substrate; if the glue coating effect on the surface of the glass substrate to be tested is uneven after the spin coating, then the transmission results of the ultrasonic wave generated by the uneven part in the ultrasonic scanning image of the glass substrate to be tested will also be different.
[0055] On the other hand, in the topography of the glue-coated glass substrate, due to the difference in acoustic impedance of the dielectric materials of the glue-coating material, the glass substrate and the stage material, the ultrasonic signal will produce different reflections and transmissions in different dielectric materials, which is reflected in the difference in grayscale values in the ultrasonic scanning image of the glass substrate to be detected. The stronger the intensity of the reflected wave signal, the higher the grayscale level in the ultrasonic scanning image of the glass substrate to be detected. Theoretically, after one spin coating, the glue is evenly coated on the glass substrate, and the corresponding ultrasonic reflection results are consistent. Therefore, the grayscale level of the corresponding area of the glass substrate in the image is consistent. However, due to the stripes, pinholes and bubble defects in the glue coating process, grayscale differences will occur in the glue coating area. At the same time, due to the influence of the stage on ultrasonic scattering, band interference will be generated in the glass substrate area, affecting the detection of glue coating defects.
[0056] The ultrasonic scanning image of the glass substrate to be inspected only contains the glue-coated glass substrate area. If there are real defects and stage band interference on the glue-coated glass substrate, the reflection intensity of the scanning points in the corresponding area will fluctuate, which is manifested as fluctuations in the grayscale values in the defect area and the interference area in the ultrasonic scanning image of the glass substrate to be inspected.
[0057] Step S21, determining the potential defect evaluation value of each scanning point according to the grayscale difference between each scanning point and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point.
[0058] For any scanning point in the ultrasonic scanning image of the glass substrate to be inspected, if the current scanning point is located in the defect area or interference area in the ultrasonic scanning image of the glass substrate to be inspected, the grayscale difference between the scanning point and the scanning points in its neighborhood is large, and the grayscale value fluctuation of all scanning points contained in the neighborhood of the scanning point is large, which makes the value of the fluctuation feature large, and finally makes the potential defect evaluation value of the current scanning point large. On the contrary, if the potential defect evaluation value of the current scanning point is small, it indicates that the grayscale difference between the scanning point and the scanning points in its neighborhood is small, indicating that the scanning point may be located in a uniformly coated area.
[0059] Based on this, in order to obtain the situation of defect areas and interference areas in the ultrasonic scanning image of the glass substrate to be inspected, the potential defect evaluation value of each scanning point is determined by combining the grayscale difference between each scanning point in the scanning image and the scanning points in its neighborhood and the grayscale fluctuation degree of the scanning points in the neighborhood of each scanning point.
[0060] Specifically, a scanning point in the ultrasonic scanning image of the glass substrate to be detected is used as an example for explanation, and other scanning points in the ultrasonic scanning image of the glass substrate to be detected can be processed by the method provided in this embodiment. Any scanning point in the ultrasonic scanning image of the glass substrate to be detected is recorded as a candidate point, and based on the fluctuation degree of the grayscale value of all pixel points in the neighborhood of the candidate point and the grayscale difference between the candidate point and the scanning points in its neighborhood, the potential defect evaluation value of the candidate point is obtained, and the fluctuation degree and the grayscale difference between the candidate point and the scanning points in its neighborhood are both positively correlated with the potential defect evaluation value.
[0061] Among them, the positive correlation relationship means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be a multiplication relationship, an addition relationship, and the power of an exponential function.
[0062] The neighborhood of the candidate point is specifically: with the candidate point as the center, a window of preset size is constructed, and the area in the window except the location of the candidate point is used as the preset neighborhood of the candidate point. The preset size in this embodiment is ,In specific applications, implementers can set it according to specific circumstances.
[0063] The fluctuation degree of the grayscale values of all pixels in the neighborhood of the candidate point can be reflected by indicators such as the variance of the grayscale values of all pixels in the neighborhood of the candidate point, the standard deviation of the grayscale values of all pixels in the neighborhood of the candidate point, and the range of the grayscale values of all pixels in the neighborhood of the candidate point. Among them, the larger the variance, the greater the discreteness of the grayscale value, that is, the greater the fluctuation degree of the grayscale value; the larger the standard deviation, the greater the discreteness of the grayscale value, that is, the greater the fluctuation degree of the grayscale value; the larger the range, the wider the distribution range of the grayscale value, and accordingly, the greater the fluctuation degree of the grayscale value.
[0064] The grayscale difference between the candidate point and the scanned points in its neighborhood can be represented by the absolute value of the difference between the grayscale value of the candidate point and the grayscale value of the scanned points in the neighborhood of the candidate point, or by the square of the difference between the grayscale value of the candidate point and the grayscale value of the scanned points in the neighborhood of the candidate point, and so on.
[0065] In this embodiment, the potential defect evaluation value of the i-th scanning point in the ultrasonic scanning image of the glass substrate to be inspected can be expressed as:
[0066]
[0067] in, represents the potential defect evaluation value of the i-th scanning point in the ultrasonic scanning image of the glass substrate to be inspected, N represents the number of scanning points in the neighborhood of the i-th scanning point, represents the gray value of the i-th scanning point, represents the gray value of the nth scanning point in the neighborhood of the ith scanning point, represents the standard deviation of the grayscale values of all scanning points in the neighborhood of the i-th scanning point, represents the absolute value sign, and norm() represents the normalization function.
[0068] Represents the grayscale difference between the i-th scanning point and the n-th scanning point in its neighborhood, It represents the mean of the grayscale difference between the i-th scanning point and all the scanning points in its neighborhood. The larger the value, the greater the grayscale difference between the i-th scanning point and its surrounding scanning points, and the more likely the i-th scanning point is to be the location of the defect. The larger the standard deviation of the grayscale values of all scanning points in the neighborhood of the i-th scanning point, the more discrete the grayscale distribution of the scanning points around the i-th scanning point, and the greater the grayscale fluctuation of the scanning points around the i-th scanning point. When the grayscale difference between the i-th scanning point and its surrounding scanning points is greater, and the grayscale fluctuation of the scanning points around the i-th scanning point is greater, it means that the i-th scanning point is more likely to be a defective scanning point, that is, the potential defect assessment value of the i-th scanning point is greater.
[0069] By adopting the above method, the potential defect evaluation value of each scanning point in the ultrasonic scanning image of the glass substrate to be inspected can be obtained.
[0070] Step S22, determining a suspected defect area using the potential defect evaluation value.
[0071] After obtaining the potential defect evaluation value of each scanning point in the ultrasonic scanning image of the glass substrate to be inspected, considering that the larger the defect evaluation value, the more likely the corresponding scanning point is to be a point within the defect area, the calculated potential defect evaluation value is normalized to obtain the normalized value of each potential defect evaluation value, and the scanning point whose normalized value of the potential defect evaluation value is greater than the defect threshold is taken as a suspected point, that is, multiple suspected points in the ultrasonic scanning image of the glass substrate to be inspected are screened out based on the normalized value of the potential defect evaluation value.
[0072] The defect threshold can be adaptively determined based on the defect evaluation value of the scanning point in the ultrasonic scanning image of the glass substrate to be detected. In this embodiment, the defect threshold is adaptively determined based on the defect evaluation value of the scanning point in the ultrasonic scanning image of the glass substrate to be detected. Specifically, based on the defect evaluation value of each scanning point, all scanning points are processed using the Otsu threshold method to obtain a segmentation threshold, and the obtained segmentation threshold is used as the defect threshold for screening suspected points. The defect threshold can also be set manually, for example, the defect threshold is set to 0.6.
[0073] There are many methods for normalizing potential defect assessment values, such as maximum and minimum value normalization, Softmax normalization method, etc., which will not be described in detail here.
[0074] Connected domain analysis is performed on all the suspected points screened out to obtain several suspected defect areas. The connected domain analysis method is an existing technology and will not be described in detail here.
[0075] Step S23, obtaining the imbalance deviation value of the suspected defect area according to the grayscale trend distribution characteristics of the suspected defect area.
[0076] Since the acoustic impedance of the coating material is small, while the acoustic impedance of the glass substrate material is large, on the coated glass substrate, the grayscale value is small where the coating is thicker, and the grayscale value is large where the coating is thinner. In the real defect area, there is a grayscale trend distribution feature of the regional morphology, that is, for the stripes, pinholes and bubbles, the coating is thicker at the edge of the area, and thinner at the center of the area, so it presents a morphological distribution feature of bright in the middle and dark at the edge, and the center or midline of the area should be the place with the maximum reflection intensity and the highest brightness. In the stage interference area, the ultrasonic signal on the stage is scattered and affects the reflection intensity of the coating area, and the scattering direction is random, so that the band interference in the interference area is only a fluctuation of the grayscale value, and the scattered ultrasonic intensity will randomly act on the scanning point of the interference area, so the interference area does not have a grayscale trend distribution feature.
[0077] For any suspected defect area, if the current suspected defect area is a real defect area, the grayscale value of the pixel point on the skeleton line at the center of the area shows a "dark-bright-dark" change trend. Due to the obvious trend change, the imbalance deviation value of the area is smaller, which makes the value of the stage scattering interference smaller. Based on this, the imbalance deviation value is obtained according to the change trend of the grayscale value of the scanning point on the skeleton line passing through the center of the area of a single suspected defect area.
[0078] A suspected defect area is taken as an example for description, and other suspected defect areas can be processed using the method provided in this embodiment.
[0079] Specifically, a skeleton extraction algorithm is used to extract the skeleton line of the suspected defect area; the skeleton line is divided into two line segments with the center point of the suspected defect area as the dividing point, which are respectively recorded as the first sub-line segment and the second sub-line segment. The skeleton extraction algorithm is a prior art and will not be described in detail here.
[0080] Since the grayscale values of the pixels on the skeleton line of the real defect area show a "dark-bright-dark" trend, that is, the closer to the center, the larger the grayscale value, and the closer to the edge, the smaller the grayscale value, the grayscale difference between them is evaluated based on the relative position and grayscale value of the scanning point on the first sub-segment and the center point.
[0081] The distance between each scanning point on the first sub-segment and the center point of the suspected defect area is obtained, and a first sequence is constructed based on all scanning points on the first sub-segment in order of distance from near to far, wherein the elements in the first sequence are scanning points on the first sub-segment; at the same time, the distance between each scanning point on the second sub-segment and the center point of the suspected defect area is obtained, and a second sequence is constructed based on all scanning points on the second sub-segment in order of distance from near to far, wherein the elements in the second sequence are scanning points on the second sub-segment. Then, the grayscale difference index between the first sequence and the second sequence is obtained, and the grayscale difference index is used as the imbalance deviation value of the suspected defect area.
[0082] The grayscale difference index between the first sequence and the second sequence can be represented by indicators such as dynamic time warping (DTW) distance, Hamming distance, and negative correlation normalization result of Jaccard similarity.
[0083] In this embodiment, the DTW distance is used to characterize the grayscale difference index between the first sequence and the second sequence, that is, the DTW distance between the first sequence and the second sequence is used as the grayscale difference index between the first sequence and the second sequence. The larger the grayscale difference index, the larger the imbalance deviation value of the suspected defect area.
[0084] By using the above method, the imbalance deviation value of each suspected defect area can be obtained, such as Figure 2 As shown, this figure is a flow chart of the method for obtaining the imbalance deviation value.
[0085] Step S3, adjusting the imbalance deviation value by using the grayscale difference between the scanning point in the suspected defect area and the scanning point on the edge line to obtain the stage scattering interference degree of the suspected defect area.
[0086] For any suspected defect area, if the current suspected defect area is a real defect area, the area as a whole presents a distribution of bright in the middle and dark at the edges. Therefore, the grayscale difference between the center point of the area and the scanning point on the edge line is large. At the same time, since the grayscale change of the real defect area is determined by the glue thickness, the closer the scanning point on the edge line is to the normal glue thickness, the grayscale change on the edge area is uniform. Therefore, the smaller the interference weight of the area, the smaller the value of the stage scattering interference. Based on this, the interference weight of the suspected defect area is determined according to the grayscale difference between the scanning point in the suspected defect area and the scanning point on the edge line, and then the corresponding imbalance deviation value is adjusted using the interference weight to obtain the stage scattering interference of the suspected defect area.
[0087] Step S31, determining the interference weight of the suspected defect area according to the grayscale difference between the scanning points in the suspected defect area and the scanning points on the edge line.
[0088] Taking a suspected defect as an example for explanation, other suspected defect areas in the ultrasonic scanning image of the glass substrate to be inspected can be processed using the method provided in this embodiment.
[0089] The grayscale difference between each scanning point on the edge line of the suspected defect area and the center point of the suspected defect area is recorded as the first difference of each scanning point on the edge line of the suspected defect area; each scanning point on the edge line of the suspected defect area corresponds to a first difference. The interference weight of the suspected defect area is determined based on the average level of the first differences of all scanning points on the edge line of the suspected defect area, and the average level is positively correlated with the interference weight.
[0090] Among them, the grayscale difference between each scanning point on the edge line and the center point of the suspected defect area can be represented by the absolute value of the difference between the grayscale value of each scanning point on the edge line and the grayscale value of the center point of the suspected defect area, or by the square of the difference between the grayscale value of each scanning point on the edge line and the grayscale value of the center point of the suspected defect area, and so on.
[0091] A positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be a multiplication relationship, an addition relationship, or the power of an exponential function.
[0092] The average level of the first differences of all scanning points on the edge line of the suspected defect area can be represented by the average level of the first differences of all scanning points on the edge line of the suspected defect area.
[0093] In this embodiment, the absolute value of the difference between the grayscale value of each scanning point on the edge line of the suspected defect area and the grayscale value of the center point of the suspected defect area is used as the first difference of each scanning point on the edge line of the suspected defect area; the normalized result of the average value of the first difference of all scanning points on the edge line of the suspected defect area is used as the interference weight of the suspected defect area. There are many methods for normalizing the average value of the first difference of all scanning points on the edge line of the suspected defect area, for example, the maximum and minimum value normalization, the Softmax normalization method, etc. can be used, which will not be described in detail here.
[0094] By adopting this method, the interference weight of each suspected defect area can be obtained.
[0095] Step S32: adjusting the corresponding imbalance deviation value by using the interference weight to obtain the carrier scattering interference degree of the suspected defect area.
[0096] If the suspected defect area is an interference area caused by the ultrasonic signal scattered by the stage, the randomness and uncertainty of the scattering will result in no stable trend distribution of the grayscale changes on the skeleton line of the area. At the same time, the grayscale changes of the scanning points on the edge of the area are determined by the scattering intensity. Therefore, there is no large grayscale difference between the center and the edge, and the grayscale value changes of the scanning points on the edge fluctuate greatly, resulting in a large value of the stage scattering interference in the area.
[0097] Based on this, after determining the interference weight of each suspected defect area, the interference weight is used to adjust the imbalance deviation value of the corresponding suspected defect area to determine the carrier scattering interference degree of the suspected defect area.
[0098] Specifically, the product of the interference weight of each suspected defect area and the imbalance deviation value is respectively used as the stage scattering interference degree of each suspected defect area.
[0099] Using this method, the scattering interference of each suspected defect area can be obtained, such as Figure 3 As shown in the figure, this figure is a flow chart of the method for obtaining the carrier scattering interference degree. The suspected defect area with a larger carrier scattering interference degree is more likely to be an interference area caused by carrier scattering; the suspected defect area with a smaller carrier scattering interference degree is more likely to be a real defect area.
[0100] Step S4, based on the similarity of the scattering interference of the stage in different suspected defect areas and the grayscale fluctuation range of each suspected defect area, the glue coating effect of the glass substrate to be inspected is evaluated.
[0101] In step S3, the stage scattering interference degree of each suspected defect area is evaluated. The suspected defect area with a larger stage scattering interference degree is more likely to be an interference area caused by stage scattering; the suspected defect area with a smaller stage scattering interference degree is more likely to be a real defect area.
[0102] Based on the scattering interference degree of each suspected defect area in the ultrasonic scanning image of the glass substrate to be detected, all suspected defect areas are clustered to obtain multiple cluster clusters, and the cluster cluster with the smallest mean value of the carrier scattering interference degree is taken as the defect area; wherein, when performing clustering, the k value is set to 2, and the optional clustering algorithms are K-Means clustering algorithm, fuzzy C-means clustering and K-Medoids algorithm, etc. These algorithms are all existing technologies and will not be described in detail here.
[0103] Since the range of the grayscale values of pixels in a defect area can reflect the grayscale fluctuation range of the pixels in the defect area, the larger the grayscale fluctuation range of the defect area, the worse the uniformity of the glue coating. Therefore, the glue coating uniformity is obtained based on the range of the grayscale values of each defect area, and the range is negatively correlated with the glue coating uniformity.
[0104] Among them, the negative correlation relationship means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It can be a subtraction relationship, a division relationship, etc., which is determined by practical applications.
[0105] In this embodiment, the glue coating uniformity can be specifically expressed as:
[0106]
[0107] Among them, Q represents the uniformity of glue coating, Indicates the maximum grayscale value of all pixels in the defect area. It represents the minimum gray value of all pixels in the defect area, and norm() represents the normalization function.
[0108] It indicates the range of the grayscale value of the defective area. The larger the range, the larger the fluctuation range of the grayscale value of the defective area, that is, the more uneven the distribution of the grayscale values of the pixels in the defective area; when the range of the grayscale value of the defective area is larger, it means that the grayscale distribution of the defective area is more uneven, that is, the glue coating uniformity is smaller. It should be noted that: if there are multiple defective areas, the range of the grayscale value of each defective area is calculated separately, and the average value of the range of the grayscale values of all defective areas is replaced by the average value of the range of the grayscale values of all defective areas in the above glue coating uniformity calculation formula. , thereby obtaining uniformity of glue coating.
[0109] The greater the glue coating uniformity, the better the glue coating effect of the glass substrate to be tested, that is, the more it meets the production requirements. Therefore, when the glue coating uniformity is greater than the preset uniformity threshold, it means that the glue coating effect of the glass substrate to be tested meets the production requirements, and the glue coating effect of the glass substrate to be tested is determined to be qualified; when the glue coating uniformity is less than or equal to the preset uniformity threshold, it means that the glue coating effect of the glass substrate to be tested is uneven, that is, it does not meet the production requirements, and the glue coating effect of the glass substrate to be tested is determined to be unqualified. In this embodiment, the preset uniformity threshold is 0.3. In specific applications, the implementer can set it according to specific circumstances.
[0110] So far, the above method has been used to complete the detection of the glue coating effect on the glass substrate to be detected.
[0111] In this embodiment, the image of the glass substrate to be inspected placed on the stage is firstly acquired. Considering that when scanning the glass substrate, the glass substrate and the stage are made of different materials and have different reflection intensities, the ultrasonic signal will be scattered and reflected at the layered edge of the glass substrate and the stage, thereby interfering with the area corresponding to the glass substrate of the ultrasonic scanning data and affecting the accuracy of the glue coating effect. In this embodiment, the grayscale difference between each scanning point and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point are combined to obtain the suspected defect area, so as to highlight the uneven glue coating and scattered interference scanning points, and the grayscale trend distribution characteristics of the real defect area and the interference area and the grayscale fluctuation characteristics of the internal pixel points and the edge lines are used. The grayscale difference characteristics of the scanning points on the surface are used to obtain the scattering interference degree of the stage, so as to distinguish the real defect area from the interference area, and then based on the similarity of the scattering interference degrees of the stage in different suspected defect areas and the distribution of the grayscale fluctuation range of each suspected defect area, the gluing effect of the glass substrate to be inspected is evaluated. Compared with the traditional method, the method provided in this embodiment focuses on the difference in acoustic impedance of the stage material and the glue-coated glass substrate, combines the influence of scattering and refraction on the detection of the glue-coated glass substrate, distinguishes the morphological trend characteristics of the real defect area and the interference area, reduces the influence of the glass substrate stage on the ultrasonic signal, and improves the accuracy of the detection result of the gluing effect of the glass substrate to be inspected.
[0112] In other embodiments, a glass substrate glue coating effect intelligent detection system is provided, which includes an image acquisition module, an imbalance deviation value acquisition module, a stage scattering interference degree determination module and a glue coating effect evaluation module. Figure 4 As shown in the figure, this is a structural block diagram of an intelligent detection system for glass substrate glue coating effect.
[0113] An image acquisition module, used for acquiring an ultrasonic scanning image of a glass substrate to be inspected placed on a stage;
[0114] The imbalance deviation value acquisition module is used to determine the suspected defect area by combining the grayscale difference between each scanning point in the ultrasonic scanning image and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point; analyze the grayscale trend distribution characteristics of the suspected defect area to obtain the imbalance deviation value of the suspected defect area;
[0115] A stage scattering interference determination module is used to adjust the imbalance deviation value by using the grayscale difference between the scanning point in the suspected defect area and the scanning point on the edge line to obtain the stage scattering interference of the suspected defect area;
[0116] The glue coating effect evaluation module is used to evaluate the glue coating effect of the glass substrate to be inspected based on the similarity of the scattering interference of the stage in different suspected defect areas and the grayscale fluctuation range of each suspected defect area.
[0117] When the system is running, the computer executes the above-mentioned related steps to implement an intelligent detection method for the glue coating effect of a glass substrate provided by the above-mentioned embodiment.
[0118] In other embodiments, a device is provided, including a memory and a processor. The memory is used to store executable program codes, and the processor is used to call and run the executable program codes from the memory, so that the device executes the above-mentioned intelligent detection method for the coating effect of a glass substrate. The device can be a chip, a component or a module, and the chip can include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute the above-mentioned intelligent detection method for the coating effect of a glass substrate.
[0119] In other embodiments, a computer program product is also provided. When the computer program product is run on a computer, the computer executes the above-mentioned related steps to implement an intelligent detection method for glass substrate glue coating effect provided in the above-mentioned embodiment.
[0120] In other embodiments, a computer-readable storage medium is provided, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement an intelligent detection method for the glue coating effect of a glass substrate provided in the above embodiment.
[0121] Among them, the provided systems, devices, computer program products, and computer-readable storage media are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.
[0122] It should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent detection method for the gluing effect of a glass substrate, It is characterized in that The method comprises the following steps: Acquire an ultrasonic scanning image of a glass substrate to be inspected placed on a stage; Determine the suspected defect area by combining the grayscale difference between each scanning point in the ultrasonic scanning image and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point; analyze the grayscale trend distribution characteristics of the suspected defect area to obtain the imbalance deviation value of the suspected defect area; The imbalance deviation value is adjusted using the grayscale difference between the scanning point in the suspected defect area and the scanning point on the edge line to obtain the stage scattering interference degree of the suspected defect area; Based on the similarity of the scattering interference of different suspected defect areas and the grayscale fluctuation range of each suspected defect area, the glue coating effect of the glass substrate to be inspected is evaluated; The method of adjusting the imbalance deviation value by using the grayscale difference between the scanning point in the suspected defect area and the scanning point on the edge line to obtain the stage scattering interference degree of the suspected defect area includes: Determine the interference weight of the suspected defect area according to the grayscale difference between the scanning point in the suspected defect area and the scanning point on the edge line; Using the interference weight to adjust the corresponding imbalance deviation value to obtain the carrier scattering interference degree of the suspected defect area; The step of determining the interference weight of the suspected defect area according to the grayscale difference between the scanning points in the suspected defect area and the scanning points on the edge line includes: The grayscale difference between each scanning point on the edge line of the suspected defect area and the center point of the suspected defect area is recorded as the first difference of each scanning point on the edge line of the suspected defect area; Determine an interference weight of the suspected defect area based on an average level of first differences of all scanning points on an edge line of the suspected defect area, wherein the average level is positively correlated with the interference weight; The method of evaluating the gluing effect of the glass substrate to be inspected based on the similarity of the scattering interference of the stage in different suspected defect areas and the grayscale fluctuation range of each suspected defect area includes: All suspected defect areas are clustered based on the carrier scattering interference of each suspected defect area to obtain clusters; the cluster with the smallest mean value of the carrier scattering interference is taken as the defect area; Determine the glue coating uniformity based on the grayscale fluctuation range of the scanning points in the defect area; Whether the glue coating effect of the glass substrate to be inspected is qualified is judged based on the glue coating uniformity.
2. According to claim 1, a glass substrate coating effect intelligent detection method, It is characterized in that The method of combining the grayscale difference between each scanning point in the ultrasonic scanning image and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point to determine the suspected defect area includes: Determine the potential defect evaluation value of each scanning point based on the grayscale difference between each scanning point and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point; A suspected defect area is obtained based on the potential defect evaluation value.
3. According to claim 2, a glass substrate coating effect intelligent detection method, It is characterized in that The method of determining the potential defect evaluation value of each scanning point according to the grayscale difference between each scanning point and the scanning points in its neighborhood and the grayscale fluctuation characteristics of the scanning points in the neighborhood of each scanning point includes: Based on the fluctuation degree of the grayscale values of all pixels in the neighborhood of the candidate point and the grayscale difference between the candidate point and the scanning points in its neighborhood, a potential defect evaluation value of the candidate point is obtained, wherein the fluctuation degree and the grayscale difference between the candidate point and the scanning points in its neighborhood are both positively correlated with the potential defect evaluation value; The candidate point is any scanning point in the ultrasonic scanning image.
4. The intelligent detection method for the coating effect of a glass substrate according to claim 2, It is characterized in that The obtaining of a suspected defect area based on the potential defect evaluation value comprises: The scanning points whose normalized values of potential defect evaluation values are greater than the defect threshold are regarded as suspected points; and the suspected defect areas are obtained by performing connected domain analysis on the suspected points.
5. The intelligent detection method for the coating effect of a glass substrate according to claim 1, It is characterized in that The grayscale trend distribution characteristics of the suspected defect area are analyzed to obtain the imbalance deviation value of the suspected defect area, including: Extracting a skeleton line of the suspected defect area; dividing the skeleton line using the center point of the suspected defect area as a dividing point to obtain a first sub-segment and a second sub-segment; The unbalance deviation value of the suspected defect area is obtained by combining the relative positions of the scanning points on the first sub-segment and the second sub-segment and the central point and the grayscale values.
6. The intelligent detection method for the coating effect of a glass substrate according to claim 1, It is characterized in that Determining the glue coating uniformity according to the grayscale fluctuation range of the scanning point in the defect area includes: The glue coating uniformity is obtained based on the range of the grayscale value of each defect area, and the range is negatively correlated with the glue coating uniformity.
7. The intelligent detection method for the coating effect of a glass substrate according to claim 1, It is characterized in that The step of judging whether the glue coating effect of the glass substrate to be inspected is qualified based on the glue coating uniformity includes: When the glue coating uniformity is greater than a preset uniformity threshold, it is determined that the glue coating effect of the glass substrate to be tested is qualified; When the glue coating uniformity is less than or equal to a preset uniformity threshold, it is determined that the glue coating effect of the glass substrate to be inspected is unqualified.
