Micro LED detection method and system based on defect entropy dynamic depth reasoning

By calculating the defect entropy of Micro LED images to dynamically adjust the inference depth of the neural network model, it solves the problem of insufficient efficiency and accuracy caused by the fixed inference depth in the existing technology, and achieves efficient and accurate identification of Micro LED detection.

CN118864982APending Publication Date: 2024-10-29XIDIAN UNIV +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411067676.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The existing deep learning model cannot dynamically adjust the inference depth in Micro LED detection, resulting in insufficient image processing efficiency and accuracy for different complexities, and cannot meet the needs of fast and efficient detection.

Method used

By calculating the defect entropy of the Micro LED image to be inferred, the inference depth of the neural network model is dynamically adjusted, and feature transformation layers and classifiers are used to extract features to achieve an adaptive inference process and avoid the problem of waste of computing resources and insufficient feature extraction.

Benefits of technology

It improves the efficiency and accuracy of Micro LED detection, adaptively matches the inference resource requirements of images of different complexity, and dynamically adjusts the inference depth to optimize the detection effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864982A_ABST
    Figure CN118864982A_ABST
Patent Text Reader

Abstract

The invention discloses a Micro LED detection method and system based on defect entropy dynamic depth reasoning, relates to the field of image classification, and is used for giving consideration to detection efficiency and accuracy. The method comprises the following steps: reasoning the category of a Micro LED image to be reasoned by using a trained neural network model; wherein the reasoning depth of reasoning by the neural network model is determined according to the defect entropy of the Micro LED image to be reasoned. According to the method, the defect entropy is used for representing the complexity of the image, the reasoning depth is determined according to the principle that the defect entropy is in nonlinear positive correlation with the defect entropy of the Micro LED image to be reasoned, the relatively shallow reasoning depth is set for a simple image, and the relatively deep reasoning depth is set for a complex image; the problem that whether quit exists or not is judged while calculation is conducted in the reasoning process is avoided, and therefore the reasoning efficiency and the recognition precision are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image classification, and in particular to a Micro LED detection method based on defect entropy dynamic deep reasoning, and a Micro LED detection system based on defect entropy dynamic deep reasoning. Background Art

[0002] Micro LED is a light-emitting semiconductor device with a size of less than 50 microns. Compared with traditional LED devices, the doubled number of LED integration makes Micro LED products have stronger brightness and higher contrast. In the actual production process of Micro LED, the growth process and processing technology of the chip result in that not all chip performance meets the actual application standards. Therefore, mass transfer technology (MTP) is required to transfer a large number of good chips to a fixed backplane to ensure the yield rate of display products.

[0003] Before mass transfer, it is essential to inspect the wafer-level Micro LED chips, locate and identify the chips, and provide chip information to the transfer equipment. However, compared with traditional LEDs, the integration level of Micro LEDs on an 8-inch wafer has increased from 40,000 to more than 800,000. The traditional mechanical moving flying probe test can no longer meet the requirements of inspection speed and cost in large-scale production of Micro LEDs.

[0004] Therefore, fast, efficient and contactless detection methods have become a key research topic. However, existing deep learning models usually adopt a unified reasoning strategy and cannot perform differentiated processing for images of different complexities. For simple categories, a unified reasoning strategy may lead to a waste of computing resources and affect reasoning efficiency; while for complex categories, insufficient reasoning will lead to insufficient feature extraction and affect recognition effects. In order to meet the rapid needs of Micro LED industrial detection, there is an urgent need for a method that can dynamically adjust the reasoning depth to improve detection efficiency and accuracy. Summary of the invention

[0005] The purpose of the present invention is to provide a Micro LED detection method and system based on defect entropy dynamic deep reasoning to address the above-mentioned problems, so as to take into account both detection efficiency and accuracy.

[0006] The technical solution adopted by the present invention is as follows:

[0007] A Micro LED detection method based on defect entropy dynamic deep reasoning, the method uses a trained neural network model to infer the category of a Micro LED image to be inferred; wherein the reasoning depth of the neural network model is determined according to the defect entropy of the Micro LED image to be inferred.

[0008] Furthermore, within the maximum inference depth range that can be selected from the neural network model, the determined inference depth is positively correlated with the defect entropy of the Micro LED image to be inferred.

[0009] Furthermore, a classifier is added to each intermediate layer of the neural network model, and according to the determined reasoning depth, the classifier of the corresponding layer of the neural network model is selected to output the classification result.

[0010] Furthermore, each classifier is connected to a feature transformation layer, which convolves and activates the feature map of the layer and then passes it to the classifier of the layer.

[0011] Furthermore, the reasoning depth is determined by enabling the last level classifier used for reasoning.

[0012] Furthermore, before calculating the defect entropy of the Micro LED image to be inferred, the Micro LED image to be inferred is preprocessed; the preprocessing includes normalization processing of pixel values ​​and bilateral filtering processing.

[0013] Furthermore, the bilateral filtering process is as follows:

[0014]

[0015] Where I(x,y) represents the normalized pixel value of the Micro LED image to be inferred at (x,y); Ω is the range of the filter window; is a Gaussian function in the spatial domain, where is the spatial distance between pixels, σ s represents the standard deviation in the spatial domain; is a Gaussian function in the intensity domain, where r = |I(x i ,y i )-I(x,y)| is the difference in pixel intensity, σ r represents the standard deviation of the intensity domain; W p Represents the normalization factor.

[0016] Furthermore, the method for calculating the defect entropy of the Micro LED image to be inferred includes:

[0017] Perform edge detection on the Micro LED image to be inferred to obtain edge intensity E(i, j), where (i, j) represents the position of a pixel in the Micro LED image to be inferred;

[0018] Calculate the edge strength histogram H(e) of edge strength E(i,j), where e is the value range of edge strength;

[0019] According to the edge strength histogram H(e), the normalized probability distribution P(e) of the edge is obtained;

[0020] According to the normalized probability distribution P(e) of the edge, the defect entropy H of the Micro LED image to be inferred is obtained. edge :

[0021] H edge =-∑ e P(e)logP(e).

[0022] Furthermore, determining the inference depth of the neural network model according to the defect entropy of the Micro LED image to be inferred includes:

[0023] Calculate the inference depth L based on the defect entropy:

[0024]

[0025] Among them, L max and L min are the maximum and minimum inference depths of the neural network model; H base Represents the average defect entropy of all samples in the dataset used to train the neural network model.

[0026] The present invention provides a Micro LED detection system based on defect entropy dynamic deep reasoning, which is configured to execute the above-mentioned Micro LED detection method.

[0027] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0028] The present invention proposes a Micro LED detection solution based on dynamic deep reasoning of defect entropy, which calculates the defect entropy of each Micro LED image to be inferred before reasoning, estimates the complexity of the image in advance, and dynamically adjusts the reasoning depth during model reasoning, so that the model completes reasoning in advance at the specified depth and outputs the classification result. The model adaptively optimizes the reasoning process of images of different complexities. The defect entropy is obtained by preprocessing, edge detection, feature extraction and information entropy calculation of the image, and can reflect the structural complexity of the image. A higher defect entropy indicates that the image is rich in details and requires a deeper reasoning layer; a lower defect entropy indicates that the image is simple and requires a shallower reasoning layer. In this way, by estimating the defect entropy, the model can dynamically adjust the depth during reasoning to adaptively match the reasoning resource requirements, avoiding the problem of calculating while judging whether to exit during the reasoning process, thereby improving the reasoning efficiency and recognition accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The present invention will now be described by way of example with reference to the accompanying drawings, in which:

[0030] Figure 1 A flowchart of a Micro LED detection method based on defect entropy dynamic deep reasoning provided by an embodiment of the present invention;

[0031] Figure 2 Part of the Micro LED chip surface images of the data set of the embodiment of the present invention, where (a) is the surface image of the Micro LED chip of chip type A, (b) is the surface image of the Micro LED chip of chip type B, and (c) is the surface image of the Micro LED chip of chip type G;

[0032] Figure 3 An architectural diagram of an early exit mechanism applied to model reasoning provided in an embodiment of the present invention;

[0033] Figure 4 A model structure diagram of the early exit mechanism applied to the model reasoning provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] All features disclosed in this specification, or steps in all methods or processes disclosed, except mutually exclusive features and / or steps, can be combined in any manner.

[0035] Any feature disclosed in this specification (including any additional claims and abstract), unless otherwise stated, may be replaced by other equivalent or alternative features having similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

[0036] The Micro LED detection method based on defect entropy dynamic deep reasoning of the present invention uses a trained neural network model to reason about the category of the Micro LED image to be reasoned, wherein the reasoning depth of the neural network model is determined according to the defect entropy of the Micro LED image to be reasoned. The so-called reasoning depth refers to the level at which the intermediate layer that ends the reasoning is located in all the intermediate layers of the neural network model. After the image is input into the neural network model, the intermediate layer outputs the classification result, and all levels after the intermediate layer no longer participate in the reasoning process.

[0037] The main purpose of the present invention is to adaptively adjust the inference depth of the neural network model according to the complexity of the Micro LED image to be inferred, and in the present invention, the complexity of the image is characterized by defect entropy. The principle followed by the inference depth is that within the maximum inference depth range that can be selected from the neural network model, the determined inference depth is positively correlated with the defect entropy of the Micro LED image to be inferred.

[0038] Example 1

[0039] like Figure 1 As shown, it shows the Micro LED detection method based on defect entropy dynamic deep reasoning proposed in this embodiment, the method includes the following steps:

[0040] (1) Step S1, construct a data set, perform preprocessing, and divide it into a training set and a test set.

[0041] The chip (Micro LED) production process is used to obtain the preset category of the chip, and optical images of the chip sample surface are collected to construct a data set, which is divided into a training set and a test set.

[0042] Specifically, this embodiment uses visible light imaging equipment to take photos and collect a total of 4152 optical images of the chip surface. The objects in each image are annotated and divided into seven categories according to the characteristics of the chip to form the Micro-LED data set. The chip image is a single-channel grayscale image in jpg format. Some categories of chip images are as follows: Figure 2 As shown in (a)-(c), each chip image is normalized to the same pixel size of 960×960 (unit: pixel). Images are randomly selected from the original dataset in a ratio of 4:1 to form the training set and test set, as shown in Table 1.

[0043] Table 1 Dataset Micro-LED

[0044] type A B C D E F G total Training set 423 441 433 579 518 613 318 3325 Test Set 110 109 107 140 129 153 79 827 total 533 550 540 739 647 766 397 4152

[0045] (2) Step S2, construct a neural network model, add a classifier in each intermediate layer, and train it using the training set as input.

[0046] Specifically, we first build a resnet101 model (obviously, this is just an example, and other mature classifier models can also be used). The architecture diagram of the model is as follows Figure 3 As shown in the specific structure diagram Figure 4 As shown in the figure, create a configuration file and specify the dataset path, number of categories and other parameters for model training. Then apply the early exit mechanism to the model and add a classifier as an intermediate output for each intermediate layer.

[0047] In the neural network model, the features of the first few layers are often shared, representing some common features, such as edges, textures, etc. The later layers will extract more abstract features. In order to ensure that each classifier can not only use the shared features of the previous layer, but also extract independent features in the current layer, a feature transformation layer is added before each classifier to enhance the feature extraction capability. The feature transformation layer convolves and activates the feature map of the layer, and then passes it to the classifier of the layer, which is expressed as follows:

[0048] h1=σ(Conv1(x))

[0049] Where σ represents the sigmoid activation function, Conv1 represents the convolution function, x represents the feature map of the input feature transformation layer, and h1 represents the output of the feature transformation layer.

[0050] The training is carried out in two parts. First, the weights of the last layer of classifiers in the model are updated, and the weights of the classifiers in the remaining layers are frozen; then the training is repeated to update the weights of the classifiers in the remaining layers.

[0051] In addition, the defect entropy of each category in the data set is calculated and the average defect entropy of the entire data set is used as H base For subsequent evaluation, the results are shown in Table 2.

[0052] Table 2 Defect entropy of each target category

[0053] type A B C D E F G Average defect entropy Defect Entropy 1.127 0.788 0.631 0.763 0.922 1.01 1.245 0.913

[0054] (3) Step S3, calculating the defect entropy of the Micro LED image to be inferred.

[0055] Specifically, for the Micro LED image to be inferred, preprocessing is performed before calculating the defect entropy to eliminate noise and redundant information, ensure the quality and consistency of the image, and facilitate subsequent processing.

[0056] First, the pixel values ​​of the grayscale image are normalized to the interval [0,1] to avoid large differences in the pixel value ranges of different images and facilitate the subsequent calculation of defect entropy. The normalization method is:

[0057]

[0058] Where I(i,j) represents the pixel value I of the pixel at position (i,j) in the Micro LED image to be inferred. gray The result of normalization of (i, j) is max and I min are the maximum and minimum pixel values ​​of the Micro LED image to be inferred.

[0059] Through normalization, the contrast of the image is enhanced. Then, a bilateral filter is used to process the image to reduce the interference of noise on the defect entropy calculation, and at the same time, the edge information and feature information in the image are enhanced through filtering. The bilateral filtering processing method is:

[0060]

[0061] Where Ω is the range of the filter window; is a Gaussian function in the spatial domain, where is the spatial distance between pixels, σ s Represents the standard deviation of the spatial domain and controls the weight of the spatial distance, that is, the influence of the distance between two pixels; is a Gaussian function in the intensity domain, where r = |I(x i ,y i )-I(x,y)| is the difference in pixel intensity, σ r W represents the standard deviation of the intensity domain, which controls the weight of the pixel intensity difference, that is, the influence of the intensity difference between two pixels; p Represents the normalization factor.

[0062] Then, edge detection is performed on the Micro LED image to be inferred to obtain the edge intensity E(i, j), where (i, j) indicates the position of the pixel in the Micro LED image to be inferred.

[0063] Edge strength is a measure of grayscale value changes in an image, reflecting the structural and feature information of the image. Complex edges usually indicate that there are more details and potential defects in the image, such as cracks and scratches, which are crucial for chip detection. Therefore, edge strength can be used as a measure of image complexity and detection difficulty. By synchronously calculating edge strength and using it to calculate defect entropy, the detection difficulty of the image can be more accurately evaluated, thereby dynamically adjusting the inference depth of the model during the inference process and optimizing the detection effect.

[0064] In some embodiments, the edge strength E(i,j) is calculated as:

[0065]

[0066] Among them, G x (i,j) and G y (i, j) represents the horizontal and vertical gradients at (i, j) respectively. The image edge data is obtained based on the gradient change of the image pixels at the edge.

[0067] Taking the preprocessing of the Micro LED image to be inferred as an example, the Sobel operator is used to calculate the lateral gradient G x and the longitudinal gradient G y :

[0068]

[0069] In some other implementations, the gradient amplitude G(i, j) and the gradient direction θ(i, j) of the pixel are also calculated based on the horizontal and vertical gradients of the pixel:

[0070]

[0071] After obtaining the image of the gradient magnitude G(i,j), non-maximum suppression is performed on the gradient magnitude G(i,j) to eliminate false edges and accurately locate edges. Non-maximum suppression compares the gradient values ​​of adjacent pixels and eliminates gradient responses that are not local maxima, thereby removing false edges.

[0072] Then the edge strength E(i,j) is expressed as:

[0073]

[0074] In order to finally present the edge strength in the form of entropy, the edge strength histogram H(e) of the edge strength E(i,j) is calculated:

[0075]

[0076] Where δ is the Dirac function and e is the range of edge strength. By constructing the histogram, the distribution of edge strength E(i,j) is quantified, and then the normalized probability distribution P(e) of the edge is obtained according to the edge strength histogram H(e):

[0077]

[0078] Where N is the total number of pixels. For images with higher inference difficulty, there are often more complex edge cases. Calculating the entropy of edge cases can represent the complexity of the image.

[0079] Finally, according to the normalized probability distribution P(e) of the edge, the defect entropy H of the Micro LED image to be inferred can be obtained. edge :

[0080]

[0081] Defect entropy H edge Here, the complexity or uncertainty of the distribution of edge strength values ​​in the image is measured. A higher entropy value indicates that the image of this category has more details and a more complex structure, while a lower entropy value indicates that the image of this category is simpler.

[0082] (4) Step S4, depth adjustment based on defect entropy inference.

[0083] According to the average defect entropy H of the samples obtained in S2 base The defect entropy H of the Micro LED image to be inferred obtained in step S3 edge , dynamically adjust the inference depth of the model.

[0084] As mentioned above, the determined inference depth is related to the defect entropy H of the Micro LED image to be inferred. edge Practice shows that the defect entropy H of the Micro LED image to be inferred is positively correlated with edge Determining the reasoning depth in direct proportion can, to a certain extent, balance reasoning efficiency and accuracy, but the effect of improving efficiency and accuracy still needs to be optimized.

[0085] Since there is often no linear relationship between the number of layers of inference and the reasoning ability of the model, increasing the number of layers usually improves the performance of the model, but the degree of improvement may decrease as the number of layers increases. Therefore, in this embodiment, logarithmic mapping is used to describe the nonlinear mapping method. Logarithmic mapping can describe the situation where the reasoning ability of lower layers increases rapidly and the reasoning ability of higher layers increases slowly.

[0086] Specifically, according to the average defect entropy H of the samples obtained in step S2 base and the Micro LED image defect entropy H to be inferred obtained in step S3 edge , using a nonlinear logarithmic mapping relationship to transform the defect entropy H of the Micro LED image to be inferred edge Mapped to the model's inference depth L:

[0087]

[0088] Among them, L max and L min are the maximum and minimum inference depth, H baseAs mentioned above, represents the average defect entropy of all samples in the data set, and the calculation method of the defect entropy is the same as step S3.

[0089] (5) Step S5, performing reasoning according to the determined reasoning depth.

[0090] According to the inference depth L obtained in step S4, the classifier of the corresponding level is turned on to complete the determination of the inference depth, and the classification result is output when the model is inferred to the L layer.

[0091] Finally, the accuracy comparison of the evaluation results of this embodiment is listed in Table 3, and the inference time results are listed in Table 4.

[0092] Table 3 Evaluation results of this embodiment

[0093]

[0094]

[0095] Table 4 Evaluation results of inference time for the test set

[0096] type Base Embodiments of this patent Total inference time 38.276s 17.224s Average inference time 46.282ms 20.827ms

[0097] Example 2

[0098] An embodiment of the present invention further proposes a Micro LED detection system based on defect entropy dynamic deep reasoning, which is configured to execute the Micro LED detection method in the above embodiment.

[0099] Specifically, the system is configured with a processor and a memory, the memory stores a computer program, and running the computer program can execute the Micro LED detection method in Example 1. The processor is connected to the memory to run the computer program in the memory, and then execute the Micro LED detection method in Example 1.

[0100] In addition, the data set used by the processor in executing the Micro LED detection method is also stored in the memory. The processor displays the classification result of the Micro LED image through a connected display.

[0101] The present invention is not limited to the above-mentioned specific embodiments, but extends to any new features or any new combination disclosed in this specification, as well as any new method or process steps or any new combination disclosed.

Claims

1. A Micro LED detection method based on defect entropy dynamic deep reasoning, which uses a trained neural network model to infer the category of the Micro LED image to be inferred; It is characterized in that The inference depth of the neural network model is determined according to the defect entropy of the Micro LED image to be inferred.

2. The Micro LED detection method based on defect entropy dynamic deep reasoning according to claim 1, characterized in that: Within the maximum inference depth range that can be selected from the neural network model, the determined inference depth is positively correlated with the defect entropy of the Micro LED image to be inferred.

3. The Micro LED detection method based on defect entropy dynamic deep reasoning as claimed in claim 1, characterized in that: A classifier is added to each intermediate layer of the neural network model, and according to the determined reasoning depth, the classifier of the corresponding layer of the neural network model is selected to output the classification result.

4. The Micro LED detection method based on defect entropy dynamic deep reasoning as claimed in claim 3, characterized in that: Each classifier is connected to a feature transformation layer, which convolves and activates the feature map of the layer and then passes it to the classifier of the layer.

5. The Micro LED detection method based on defect entropy dynamic deep reasoning as claimed in claim 3, characterized in that: Determining the inference depth is done by turning on the classifier at the last level used for inference.

6. The Micro LED detection method based on defect entropy dynamic deep reasoning as claimed in claim 1, characterized in that: Before calculating the defect entropy of the Micro LED image to be inferred, the Micro LED image to be inferred is preprocessed; the preprocessing includes normalization processing of pixel values ​​and bilateral filtering processing.

7. The Micro LED detection method based on defect entropy dynamic deep reasoning as claimed in claim 6, characterized in that: The method of bilateral filtering processing is: Where I(x,y) represents the normalized pixel value of the Micro LED image to be inferred at (x,y); Ω is the range of the filter window; is a Gaussian function in the spatial domain, where is the spatial distance between pixels, σ s represents the standard deviation in the spatial domain; is a Gaussian function in the intensity domain, where r = |I(x i ,y i )-I(x,y)| is the difference in pixel intensity, σ r represents the standard deviation of the intensity domain; W p Represents the normalization factor.

8. The Micro LED detection method based on defect entropy dynamic deep reasoning according to any one of claims 1 to 7, characterized in that: The method for calculating the defect entropy of the Micro LED image to be inferred includes: Perform edge detection on the Micro LED image to be inferred to obtain edge intensity E(i, j), where (i, j) represents the position of a pixel in the Micro LED image to be inferred; Calculate the edge strength histogram H(e) of edge strength E(i,j), where e is the value range of edge strength; According to the edge strength histogram H(e), the normalized probability distribution P(e) of the edge is obtained; According to the normalized probability distribution P(e) of the edge, the defect entropy H of the Micro LED image to be inferred is obtained. edge :H edge =-∑ e P(e)logP(e).

9. The Micro LED detection method based on defect entropy dynamic deep reasoning as claimed in claim 8, characterized in that: Determining the inference depth of the neural network model according to the defect entropy of the Micro LED image to be inferred, including: Calculate the inference depth L based on the defect entropy: Among them, L max and L min are the maximum and minimum inference depths of the neural network model; H base Represents the average defect entropy of all samples in the dataset used to train the neural network model.

10. A Micro LED detection system based on defect entropy dynamic deep reasoning, characterized in that: The system is configured to perform the Micro LED detection method as described in any one of claims 1-9.

Citation Information

Cited By

  • Adaptive reasoning system and method for agricultural data and server

    CN119962690A