Wafer detection data intelligent classification recording method and system
By preprocessing and feature extraction of wafer inspection data, a hybrid classification model is used to generate quality grade labels and sorting destination instructions. This solves the problems of data not being able to be reused uniformly and the lack of automatic matching of grading results in the existing technology, and realizes high-precision, automated and traceable wafer inspection.
Patent Information
- Application Number
- CN202611252570.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-11-27
AI Technical Summary
The existing wafer inspection process lacks a unified data preprocessing standard, resulting in data that cannot be reused in a unified manner. The grading method has omissions and misjudgments. The grading results lack matching logic for automatic matching of sorting coordinates. The grading data and wafer identification are stored separately, making traceability and retrieval difficult. The classification model cannot meet the requirements of high-precision, automated, and traceable modern wafer mass production control.
By acquiring the wafer identification ID and raw inspection data, outlier filtering, missing value imputation, and noise suppression are performed to generate standardized data; spatial distribution, morphological statistics, and electrical parameter features are extracted to construct a multidimensional feature matrix; a hybrid classification model is used for classification, including rule filtering and machine learning layer cascade, to generate quality grade labels and sorting destination instructions; the data is stored and a visualization report is generated.
It has achieved intelligent, standardized and traceable wafer inspection data, improved the accuracy and stability of chip quality grading, reduced the cost of manual intervention, and realized automated processing from data preprocessing to visualization output.
Smart Images

Figure CN123178664A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of wafer inspection and intelligent data analysis, and in particular to a method and system for intelligent classification and recording of wafer inspection data. Background Technology
[0002] The existing wafer inspection process lacks a unified data preprocessing standard. Raw inspection data contains outliers due to probe contact anomalies, missing measurement points, and random equipment noise. Coordinate offsets across different equipment further complicate data reuse. Current grading methods fail to differentiate between typical failures and complex defects; single-threshold models result in numerous missed and false positives. Grading results lack automatic matching logic for sorting coordinates, requiring manual input of sorting locations, leading to inefficiency. Furthermore, grading data, sorting information, wafer identification, and time information are stored in a scattered manner, making traceability and retrieval difficult. Relying solely on text reports to display defect distribution fails to visually represent the corresponding sorting bins for each chip, hindering process review. In addition, existing classification models lack incremental iteration capabilities; the continuous emergence of new defects on the production line cannot synchronously optimize model recognition capabilities, resulting in a persistent decline in grading accuracy. This fails to meet the demands of high-precision, automated, and traceable modern wafer mass production management.
[0003] Therefore, there is an urgent need for a method and system for intelligent classification and recording of wafer inspection data. Summary of the Invention
[0004] To address the aforementioned technical issues, this application provides a method and system for intelligent classification and recording of wafer inspection data.
[0005] A first aspect of this application provides a method for intelligent classification and recording of wafer inspection data, including: In response to the wafer inspection station completing the test on the current wafer, the identification ID of the wafer and the corresponding raw inspection data are obtained, and the raw inspection data are processed by outlier filtering, missing value imputation and noise suppression to generate standardized wafer inspection data. Spatial distribution features, morphological statistical features, and electrical parameter features are extracted from the standardized wafer inspection data, and a multidimensional feature matrix is constructed based on the spatial distribution features, the morphological statistical features, and the electrical parameter features. The multidimensional feature matrix is input into a pre-trained hybrid classification model, which includes a rule filtering layer and a machine learning classification layer. The rule filtering layer performs fast matching on the multidimensional feature matrix that conforms to a preset classic failure mode and outputs a first classification result. The machine learning classification layer performs classification calculation on the feature matrix that is not matched by the rule filtering layer and outputs a second classification result. Based on the first classification result and the second classification result, a quality grade label and corresponding classification confidence level are generated for each chip unit on the wafer. Based on the quality grade label, each chip unit is matched with the corresponding unloading tray number and the coordinates of the slot in the tray according to the preset physical sorting rules, and a sorting destination instruction is generated. Obtain the current timestamp, associate and store the wafer's identification ID, quality grade label, classification confidence level, sorting destination instruction, and current timestamp in the archive database to generate an independent archive record; The quality grade label and the sorting destination instruction are encapsulated and uploaded. A wafer quality grade distribution heat map is generated based on the quality grade label, and the sorting destination instruction is overlaid on the wafer quality grade distribution heat map to generate a visual classification result report.
[0006] A second aspect of this application provides an intelligent classification and recording system for wafer inspection data, comprising: The data acquisition module is used to respond to the wafer inspection station completing the test of the current wafer, acquire the identification ID of the wafer and the corresponding raw inspection data, and perform outlier filtering, missing value imputation and noise suppression processing on the raw inspection data to generate standardized wafer inspection data. The feature matrix module is used to extract spatial distribution features, morphological statistical features and electrical parameter features from the standardized wafer inspection data, and to construct a multidimensional feature matrix based on the spatial distribution features, the morphological statistical features and the electrical parameter features; A hybrid classification module is used to input the multidimensional feature matrix into a pre-trained hybrid classification model. The hybrid classification model includes a rule filtering layer and a machine learning classification layer. The rule filtering layer performs fast matching on the multidimensional feature matrix that conforms to a preset classic failure mode and outputs a first classification result. The machine learning classification layer performs classification calculation on the feature matrix that is not matched by the rule filtering layer and outputs a second classification result. The quality grade module is used to generate a quality grade label and corresponding classification confidence level for each chip unit on the wafer based on the first classification result and the second classification result. The sorting and mapping module is used to match the corresponding unloading tray number and the slot coordinates in the tray for each chip unit according to the quality grade label and the preset physical sorting rules, and generate sorting destination instructions. The archive recording module is used to obtain the current timestamp, associate and store the wafer identification ID, the quality grade label, the classification confidence level, the sorting destination instruction and the current timestamp in the archive database, and generate an independent archive record; The results reporting module is used to encapsulate and upload the quality grade label and the sorting destination instruction, generate a wafer quality grade distribution heat map based on the quality grade label, and overlay the sorting destination instruction on the wafer quality grade distribution heat map to generate a visual classification result report.
[0007] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the steps of the above-described intelligent classification and recording method for wafer inspection data.
[0008] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described intelligent classification and recording method for wafer inspection data.
[0009] The beneficial effects of the intelligent classification and recording method and system for wafer inspection data provided in this application are as follows: This application establishes a multi-dimensional feature matrix by integrating spatial, morphological, and electrical multi-dimensional features, breaking through the limitations of single-parameter judgment. It adopts a hybrid classification mode of rule filtering and machine learning cascade, taking into account both rapid identification of classic failure modes and accurate identification of complex defects, thereby improving the accuracy and stability of chip quality grading. It realizes the associated storage of quality labels, confidence levels, sorting instructions, and timestamps, constructs a complete wafer traceability archive, and intuitively presents the quality distribution and sorting destination through thermal visualization reports, reducing the cost of manual intervention and improving the intelligence, standardization, and traceability of wafer inspection and sorting. It realizes the automated processing of wafer inspection data from preprocessing, multi-dimensional feature construction, hybrid intelligent classification, quality grading, sorting and matching, data archiving to visualization output. Attached Figure Description
[0010] Figure 1 A flowchart illustrating an embodiment of the intelligent classification and recording method for wafer inspection data provided in this application; Figure 2 This is a structural block diagram of a wafer inspection data intelligent classification and recording system provided in an embodiment of this application; Figure 3 This is a schematic block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0011] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0012] To make the purpose, technical solution, and advantages of this application clearer, the following will be described in conjunction with the appendix. Figure 1 - Appendix Figure 3 The following is an explanation using specific examples.
[0013] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a method for intelligent classification and recording of wafer inspection data according to an embodiment of this application. The method includes: S101: In response to the wafer inspection station completing the test of the current wafer, obtain the wafer identification ID and the corresponding raw inspection data, and perform outlier filtering, missing value imputation and noise suppression on the raw inspection data to generate standardized wafer inspection data.
[0014] In this embodiment, the wafer inspection station is a semiconductor probe testing device used to collect raw electrical and physical defect data such as voltage, current, and defect coordinates for each chip unit; the current wafer is a single silicon wafer to be inspected within a single batch production process, including several chip units arranged in an array; In this embodiment, the wafer identification ID is a globally unique identifier for a single wafer, including the production batch, machine number, and wafer number, which is used for full-process data traceability and binding; the raw test data is the raw test point value directly collected by the test station without processing, including the electrical parameters of each chip, the coordinates of the defect location, mixed probe contact abnormalities, erroneous data caused by equipment vibration, empty defect locations and random noise; In this embodiment, outlier filtering identifies and removes distorted measurement point data that deviates from the normal numerical distribution and is caused by equipment failure; missing value interpolation fills in data gaps caused by poor probe contact or missed point scanning by using a spatial interpolation algorithm; and noise suppression filters out small random fluctuations caused by instantaneous equipment interference to smooth the data curve. In this embodiment, the standardized wafer inspection data is a well-organized dataset that has been cleaned, completed, and denoised, with a unified spatial coordinate grid, eliminating device offset errors, and can be directly used for feature calculation.
[0015] S102: Extract spatial distribution features, morphological statistical features, and electrical parameter features from standardized wafer inspection data, and construct a multidimensional feature matrix based on the spatial distribution features, morphological statistical features, and electrical parameter features.
[0016] In this embodiment, spatial distribution characteristics are a set of indicators representing the arrangement of defects on the wafer plane, including radial density, angular concentration, global and local Moran index, reflecting the spatial aggregation pattern of defects concentrated in the center, edge or one side. In this embodiment, morphological statistical features are characteristic indicators that represent the shape and size attributes of defect patches, including the area of the defect connected domain, eccentricity, perimeter ratio, and Hu invariant moment, which distinguish different morphological defects such as scratches, particles, and rings. In this embodiment, the electrical parameter characteristics are statistical indicators of the electrical performance of a single chip unit, including distribution parameters such as the mean, variance, and quantile of threshold voltage, saturation current, and leakage current, which indicate the electrical quality of the chip itself. In this embodiment, the multidimensional feature matrix is a two-dimensional numerical matrix. The matrix rows correspond to a single chip unit / defect region, and the matrix columns correspond to each extracted feature index. It uniformly carries all quantified features of space, morphology, and electrical properties, and is adapted to the batch operation input format of the model.
[0017] S103: Input the multidimensional feature matrix into the pre-trained hybrid classification model. The hybrid classification model includes a rule filtering layer and a machine learning classification layer. The rule filtering layer quickly matches the multidimensional feature matrix that conforms to the preset classic failure mode and outputs the first classification result. The machine learning classification layer performs classification calculation on the feature matrix that is not matched by the rule filtering layer and outputs the second classification result.
[0018] In this embodiment, the multidimensional feature matrix is a two-dimensional numerical matrix that integrates three types of quantitative indicators: spatial distribution, morphological statistics, and electrical parameters. It serves as the unified standard input for the model. In this embodiment, the pre-trained hybrid classification model is a cascaded inference model that is built, trained, and converged offline using a large number of labeled wafer samples, and can be directly computed online in real time. Specifically, the data flow of the pre-trained hybrid classification model is as follows: multi-dimensional feature input layer, rule filtering and matching layer, splitting judgment layer, machine learning classification inference layer, and classification result output layer. The multi-dimensional feature matrix first enters the rule filtering layer to complete the threshold comparison. If the match is successful, the result is directly output. Unmatched samples are transferred to the back-end machine learning classification layer to complete the inference calculation.
[0019] The pre-trained hybrid classification model adopts a cascaded architecture of pre-rules and post-model. The rule filtering layer is built using a classic failure mode feature threshold rule library and has no training weights. The machine learning classification layer uses the LightGBM multi-classification model and converges offline using only historical labeled samples that cannot match the rules. A split logic is added between the two layers to realize data branching processing.
[0020] The pre-trained hybrid classification model takes a unified input of a wafer multidimensional feature matrix that integrates spatial distribution, morphological statistics, and electrical parameters. The output is divided into two categories: the rule matching branch outputs the first classification result, including the preset quality level and fixed confidence level, and the model inference branch outputs the second classification result, including the probability distribution of all levels, the optimal quality level, and the corresponding predicted probability confidence level.
[0021] In this embodiment, the rule filtering layer is a hard threshold matching module built manually based on semiconductor process priors. It has built-in feature judgment intervals corresponding to various classic failure modes, without complex matrix operations and with fast matching speed. In this embodiment, the machine learning classification layer is a model obtained through data-driven training. It fits complex feature associations through sample data and handles unconventional defect samples with no fixed rules. In this embodiment, the preset classic failure modes are high-frequency standard defect types in wafer mass production, including centrally symmetric defects, edge ring defects, linear scratch defects, and random particle defects; fast matching only compares the size of feature thresholds, without iterative calculations, and completes the determination in milliseconds.
[0022] In this embodiment, the first classification result is the chip quality level and corresponding confidence level output after the rule filtering layer successfully matches.
[0023] In this embodiment, failure to be matched by the rule filtering layer means that the multidimensional feature matrix does not satisfy all threshold conditions for any classic failure mode. Classification calculation involves the machine learning classification layer performing forward inference on the input feature matrix and outputting the predicted probability for each quality level. The second classification result is the chip quality level and matching confidence corresponding to the maximum probability of the machine learning classification layer.
[0024] S104: Based on the first and second classification results, generate the quality grade label and corresponding classification confidence level for each chip unit on the wafer.
[0025] In this embodiment, the first classification result is the chip determination conclusion output by the rule filtering layer after matching classic failure modes, with a fixed standard confidence level. The second classification result is the chip determination conclusion obtained by the probability prediction of the machine learning classification layer, with a confidence level equal to the maximum predicted probability of the corresponding category.
[0026] In this embodiment, a chip unit is an independent functional chip formed by photolithography on a wafer. A single wafer includes hundreds to thousands of chip units, which is the smallest unit for quality grading.
[0027] In this embodiment, the quality level label is a standardized identifier representing the yield or defect degree of a chip, used to distinguish product grades, such as premium products, qualified products, mildly defective products, severely failed products, and scrapped products; the classification confidence is a value in the range of 0-1 representing the reliability of the current classification result, and a value closer to 1 indicates higher credibility of the classification result.
[0028] S105: According to the quality level label, match the corresponding blanking tray number and slot coordinates in the tray for each chip unit according to the preset physical sorting rules, and generate a sorting destination instruction.
[0029] In this embodiment, the quality level label is a standardized identifier for distinguishing the quality grades of chips, and is the judgment basis for sorting and matching. The preset physical sorting rules are the hardware sorting corresponding logic pre-configured on the production line, which specifies which blanking tray the chips of different quality grades need to be sent to and which slot area in the tray is occupied.
[0030] In this embodiment, the blanking tray number is the unique serial number of the tray accompanying the sorting equipment, which is used to distinguish the carrier trays for storing chips of different qualities. The slot coordinates in the tray are the row and column coordinates corresponding to each groove for placing chips inside a single blanking tray, which accurately locate the placement position of the chip in the tray.
[0031] In this embodiment, the chip unit is an independent single chip on the wafer, which is the smallest unit for sorting and distribution. The sorting destination instruction is structured instruction data, including the chip position, target tray number, and slot coordinates, which can be directly issued to the sorting mechanism for picking and subpackaging.
[0032] S106: Obtain the current timestamp, associate and store the identification ID of the wafer, quality level label, classification confidence, sorting destination instruction and current timestamp in the archive database, and generate an independent archive record.
[0033] In this embodiment, the current timestamp is a high-precision time mark of the system, accurate to milliseconds, recording the moment when the wafer completes classification and archiving, and is used for production timing traceability. The identification ID of the wafer is the unique identity code of a single wafer, which is bound to the batch, wafer number, and testing machine, and serves as the primary key of the archive.
[0034] In this embodiment, the quality level label is the quality grading identifier corresponding to each chip in the wafer. The classification confidence is the credibility value corresponding to the quality judgment result of each chip. The sorting destination instruction is the sorting instruction data of the blanking tray number and slot coordinates corresponding to each chip.
[0035] In this embodiment, the archive database is a production-specific persistent storage database, which is used to store the full amount of data of all wafer detection and classification.
[0036] In this embodiment, the independent archive record is a complete data archive based on a single wafer. Each record corresponds to only one wafer and supports individual retrieval, export, and review.
[0037] S107: Encapsulate and upload the quality grade labels and sorting destination instructions, generate a wafer quality grade distribution heatmap based on the quality grade labels, overlay the sorting destination instructions on the wafer quality grade distribution heatmap, and generate a visual classification result report.
[0038] In this embodiment, encapsulation involves organizing the discrete, single-chip hierarchical and sorting data into a unified structured data packet, adapting it to the transmission protocols of the device or system. Uploading involves sending the encapsulated data packet to upper-level systems such as the MES production management platform and production line visualization terminals.
[0039] In this embodiment, the wafer quality grade distribution heat map uses the wafer geometric arrangement as the base map and different colors to distinguish the quality grades of each chip, intuitively displaying a planar visual image of the distribution location of good and defective chips.
[0040] In this embodiment, the sorting destination instruction is displayed by overlaying icons and text labels on the original color layer of the heat map, which intuitively shows the feeding tray and slot information corresponding to each chip.
[0041] In this embodiment, the visual classification result report is a standardized graphic file that integrates heat maps, sorting labels, yield statistics, defect density, grade proportions, and other content, and can be viewed, exported, and printed.
[0042] As can be seen from the above, this application establishes a multi-dimensional feature matrix by integrating spatial, morphological, and electrical features, overcoming the limitations of single-parameter judgment. It adopts a hybrid classification mode combining rule filtering and machine learning cascades, balancing rapid identification of classic failure modes with accurate recognition of complex defects, thus improving the accuracy and stability of chip quality grading. It achieves the associated storage of quality labels, confidence levels, sorting instructions, and timestamps, constructing a complete wafer traceability archive. A thermal visualization report visually presents the quality distribution and sorting destination, reducing manual intervention costs and improving the intelligence, standardization, and traceability of wafer inspection and sorting. It automates the processing of wafer inspection data from preprocessing, multi-dimensional feature construction, hybrid intelligent classification, quality grading, sorting and matching, data archiving, to visualization output.
[0043] In one embodiment of this application, outlier filtering, missing value imputation, and noise suppression are performed on the original inspection data to generate standardized wafer inspection data, including: The local outlier factor algorithm is used to calculate the local outlier factor value of each data point in the original detection data. Detection points with local outlier factor values greater than or equal to a preset outlier threshold are marked as outliers and removed to obtain the removed data. The spatial K-nearest neighbor interpolation algorithm is used to fill in the missing positions formed by the removed data. The weighted average of the detection values of the K neighboring chip units around the missing position is used as the filling value to obtain the filled data. The median filtering algorithm is used to smooth the imputed data. The original value of each chip cell is replaced by the median of the neighborhood within a preset radius, which suppresses random noise and yields the smoothed data. The smoothed data is mapped to a unified spatial coordinate grid template to eliminate mechanical offset errors between different testing equipment and generate standardized wafer testing data.
[0044] In this embodiment, the Local Outlier Factor algorithm is a density-based anomaly detection algorithm. By comparing the local density difference between a single measuring point and its surrounding measuring points, it determines the degree to which the measuring point deviates from the normal data cluster, and is used to identify distorted data caused by probe contact failure or equipment jumps. The Local Outlier Factor value is a quantitative indicator output by the Local Outlier Factor algorithm. The larger the value, the greater the difference in density between the measuring point and the surrounding normal data, and the more likely it is to be an anomalous distortion point.
[0045] Specifically, the data flow of the local outlier factor algorithm is as follows: the original detection data input layer, the local neighborhood distance calculation layer, the local reachability density solution layer, the local outlier factor calculation layer, and the outlier identification and removal layer. The original wafer detection values first calculate the sample neighborhood distance, then derive the local density index, then solve the outlier factor of each data point, and finally compare it with the preset outlier threshold to complete the outlier marking and removal.
[0046] The Local Outlier Factor (LOF) algorithm adopts the standard LOF algorithm architecture. It uses the detection indicators of each chip on the wafer as sample features, traverses each chip location to select neighborhood samples, measures the sample density by reachability distance, and constructs an outlier evaluation index based on the ratio of the average reachability density of the neighborhood to its own reachability density. It configures a fixed neighborhood number parameter, combines a preset outlier threshold to divide normal samples and abnormal outliers, and retains only valid detection data below the threshold to complete the construction of the anomaly filtering module.
[0047] The input to the local outlier factor algorithm is a one-dimensional data sequence consisting of electrical test values of each chip cell in the original wafer; the output consists of two parts: one is the marked abnormal chip locations where the local outlier factor value exceeds the threshold, and the other is the basic test dataset without outlier noise after removing all abnormal points.
[0048] In this embodiment, the preset outlier threshold is a critical value calibrated based on the distribution statistics of historical production line data, serving as the boundary for distinguishing between normal and abnormal measurement points.
[0049] The method for determining the preset outlier threshold is based on constructing a global sample set from historical raw inspection data of mass-produced wafers, batch calculating the local outlier factor values corresponding to all inspection points and statistically analyzing the numerical distribution histogram, and selecting the upper ternary of the local outlier factor distribution of normal, fault-free probe test samples as the initial threshold; then, an abnormal wafer sample set including probe contact problems and instantaneous equipment jumps is extracted to verify the initial threshold, and the value is fine-tuned to ensure that the recall rate of abnormal test points reaches the preset standard, while ensuring that normal chip test points are not mistakenly marked and removed; finally, the threshold is continuously iterated and updated through daily newly collected inspection data from the production line to form a stable preset outlier threshold adapted to the current machine operating conditions.
[0050] In this embodiment, the data after removal is an intermediate dataset with some missing points after removing all marked abnormal measurement points from the original data.
[0051] In this embodiment, the spatial K-nearest neighbor interpolation algorithm is an interpolation method that uses the spatial distance on the wafer plane as weight. It only selects the values of chip cells that are physically close to each other for calculation, thus conforming to the spatial distribution pattern of wafer test points. Missing locations are chip points within the wafer grid that have no valid detection values after abnormal test points are removed. The K nearest chip cells are the K adjacent functional chip test points that are spatially closest to the missing chip location.
[0052] Specifically, the data flow of the spatial K-nearest neighbor interpolation algorithm is as follows: missing point location input layer, spatial neighborhood distance calculation layer, neighboring K-cell weight allocation layer, weighted mean solution layer, and missing value filling output layer. First, the coordinates of the missing chip generated after outliers are identified and removed. Then, the spatial distance of each chip around the missing location is calculated, distance association weights are assigned, and weighted calculation is performed to obtain the filling value, thus completing the missing point data completion.
[0053] The spatial K-nearest neighbor interpolation algorithm is built on the spatial K-nearest neighbor interpolation logic. It uses the wafer chip plane coordinates as spatial constraints. For each missing data point, it selects the K nearest valid neighboring chip cells. It uses the inverse distance method to allocate weights, with neighboring cells that are closer to the missing position having higher weights. It generates filling values that fit the wafer spatial distribution through weighted average calculation, and fills all missing coordinates point by point to form a complete dataset without gaps.
[0054] The input to the spatial K-nearest neighbor interpolation algorithm is the wafer inspection dataset with missing coordinates after removing outliers, and the planar spatial coordinates of each chip unit; the output is the inspection dataset after all missing positions have been numerically filled and there are no data gaps.
[0055] In this embodiment, the weighted average is calculated by assigning weights based on the planar distance between neighboring chips and the missing positions, with closer chips receiving a larger weight. The weighted sum is then used to obtain the filled value. The filled data is a complete dataset of measurement points where all missing positions have been numerically filled and there are no blank points.
[0056] In this embodiment, the median filtering algorithm selects all detected values in the chip's surrounding neighborhood, sorts them, and takes the median to replace the original value, filtering out impulse random noise without blurring defect boundaries. The preset radius is a square / circular neighborhood centered on a single chip unit, used to select surrounding measurement points for median calculation. The neighborhood median is the value at the middle position after all detected values in the neighborhood are sorted in ascending order. The smoothed data is a dataset with continuous and stable numerical curves, filtered by median filtering to remove small random fluctuations.
[0057] Specifically, the data flow of the median filtering algorithm passes through the following layers in sequence: the data input layer after filling, the neighborhood window construction layer, the window value sorting layer, the median selection and replacement layer, and the noise reduction data output layer. The neighborhood window is defined with a single chip unit as the center, all detected values within the window are extracted and sorted, the middle value is taken to replace the original value of the center point, and the global noise smoothing is completed by traversing point by point.
[0058] The median filtering algorithm constructs a square sliding filter window based on wafer grid coordinates, with a preset fixed value for the window radius. It traverses each effective chip point, extracts the detection values of all neighboring units within the window, sorts the values in ascending order, and selects the median of the sequence as the smoothing value. It adopts a pixel-by-pixel sliding traversal mechanism, and all chip units complete the median replacement, suppressing random impulse noise of the device and not destroying the gradient distribution characteristics between chips.
[0059] The input to the median filtering algorithm is the wafer integrity detection dataset with missing values filled and no gaps, along with the spatial grid coordinates of each chip; the output is the denoised wafer detection dataset with random noise eliminated and the numerical distribution continuously smoothed.
[0060] The preset radius range is determined by comprehensively considering the wafer chip unit layout size, noise interference range, and defect boundary preservation requirements. First, multiple sets of defect-free standard wafer inspection data are collected, and median filtering is performed sequentially using different neighborhood radii. The fluctuation range of electrical parameters after filtering is compared. At the same time, samples including micro-point defects and fine scratch defects are imported to observe whether the defect contours become blurred or distorted under different radii. The neighborhood size that can effectively filter out instantaneous random noise from the equipment without smoothing out the features of micro-defects is selected as the initial radius. Then, batch verification and fine-tuning are performed on test data of wafers of different specifications and different probe stations on the production line to balance noise reduction effect and defect feature integrity. Finally, the preset radius range adapted to the current production line conditions is obtained.
[0061] In this embodiment, the unified spatial coordinate grid template is a standard coordinate layout template adapted to a fixed-size wafer, which specifies the fixed row and column coordinates of each chip unit and is compatible with data acquisition from different probe stations.
[0062] In this embodiment, mechanical offset error is the misalignment deviation of chip coordinates at the same position caused by differences in the installation of different inspection station equipment and the positioning of probe cards. Standardized wafer inspection data is a well-organized dataset that has undergone anomaly removal, void filling, noise reduction, and coordinate alignment, and is distortion-free, void-free, and has uniform coordinates, and can be directly used for feature extraction.
[0063] As can be seen from the above, this embodiment sets up a multi-level standardized preprocessing process for the raw wafer inspection data, sequentially completing outlier removal, missing value imputation, noise smoothing, and coordinate unification calibration. The local outlier factor algorithm is used to accurately identify and remove discrete outlier measurement points, avoiding erroneous data interference caused by probe malfunctions and equipment vibration; spatial K-nearest neighbor weighted interpolation ensures the spatial continuity of data within the wafer plane, solving the problem of missing inspection points; median filtering effectively suppresses random test noise; and finally, a unified grid coordinate template eliminates mechanical offset errors from different equipment. This process purifies the inspection data from the source, improves data consistency and reliability, provides a high-quality data foundation for feature extraction and intelligent classification, and reduces the risk of misclassification caused by data defects.
[0064] In one embodiment of this application, spatial distribution features are extracted from standardized wafer inspection data, including: Using the wafer's geometric center as the origin, the wafer surface is divided into N concentric annular regions of equal area. The radial distribution density of the number of defects in each concentric annular region is calculated, and a radial distribution feature vector is generated. Using the wafer's geometric center as the origin, the wafer surface is divided into M equal-angle sector regions. The angular clustering degree of the number of defects in each sector region is calculated to generate an angular distribution feature vector. Obtain the defect detection values of each chip unit, and calculate the global Moran index and the local Moran index; Spatial distribution features are generated by associating radial distribution feature vectors, angular distribution feature vectors, global Moran index, and local Moran index.
[0065] In this embodiment, the geometric center of the wafer is the center of the circular silicon wafer, which serves as the unified coordinate origin for spatial partitioning calculations. The concentric annular regions are nested ring partitions centered on the center, with each ring having an equal area. N concentric annular regions represent the pre-defined total number of ring partitions.
[0066] In this embodiment, the radial distribution density is the total number of defects within a single ring divided by the area of that ring, characterizing the density variation of defects from the wafer center to the edge. The radial distribution eigenvector is a one-dimensional array composed of the radial density values of each ring arranged sequentially from the innermost to the outermost ring.
[0067] In this embodiment, the equiangular sector regions are sectors radially divided from the center, with adjacent sectors having the same included angle. The M sector regions represent the pre-defined total number of sector partitions. Angular clustering is the proportion of defects within a single sector region to the total defects on the entire wafer, characterizing the degree of defect concentration along a certain direction of the circumference. The angular distribution feature vector is arranged in clockwise or counterclockwise sector order, with the angular clustering of each sector forming a one-dimensional array.
[0068] In this embodiment, the defect detection value is a quantitative indicator that identifies each chip unit as a defect within standardized data. The global Moran index is a global spatial correlation indicator with a value of [-1, 1], representing the overall clustering or dispersion trend of defects across the entire wafer. The local Moran index is a spatial correlation indicator calculated independently for each chip unit, locating high-defect clustering areas and outliers where high and low defects intersect.
[0069] In this embodiment, feature association involves concatenating and merging radial vectors, angular vectors, global Moran scalars, and all local Moran values in a fixed order. Spatial distribution features are a complete set of features that integrates three types of spatial patterns: radial, angular, and spatial autocorrelation.
[0070] As can be seen from the above, this embodiment extracts the spatial distribution characteristics of wafer defects and quantifies the defect distribution density and aggregation characteristics through concentric ring radial partitioning and sector angular partitioning, accurately characterizing typical process defect patterns such as wafer center segregation, edge failure, and angle aggregation. Simultaneously, by using global and local Moran spatial autocorrelation indices, it can effectively identify global defect aggregation characteristics and local high-low anomaly regions, overcoming the limitation of existing features in characterizing spatially correlated distributions. The constructed spatial features can completely cover the in-plane defect distribution patterns of the wafer, enriching the feature dimensions and enabling the model to accurately capture various spatial failure modes, thus improving the identification capability and classification accuracy of wafer structural defects.
[0071] In one embodiment of this application, morphological statistical features are extracted from standardized wafer inspection data, including: Binarize the defect regions in the standardized wafer inspection data to generate a binary mask map of the defect distribution. Connected component labeling is performed on the binary mask image of defect distribution. The area, perimeter, aspect ratio of the minimum bounding rectangle, and eccentricity of each connected component are extracted to generate a basic morphological feature set. Based on the coordinates of the contour points of each connected domain, the first seven moments of the Hu invariant moment are calculated to generate a morphological feature vector with rotation and translation invariance. Based on the basic morphological feature set, cluster analysis is performed on each connected domain to count the number, area ratio and spatial distribution density of various morphological defects, and generate morphological statistical features.
[0072] In this embodiment, the defect region is the set of chip locations in the standardized wafer inspection data where the electrical parameters and defect indicators exceed the qualified threshold.
[0073] The method for determining the pass threshold is as follows: First, standardized test data of multiple standard good wafers with stable processes and confirmed to be completely defect-free through manual re-inspection are collected. The numerical distribution range of various electrical parameters and defect indicators is statistically analyzed, and the upper 99th percentile of the numerical distribution of good sample is used as the initial pass threshold. Then, various real defect wafer samples, including particles, scratches, and leakage failures, are introduced to verify the initial threshold. The threshold boundary is finely adjusted to ensure that all defective chip indicators exceed the threshold and good products are not misjudged as defects. Combined with batch verification of the process fluctuation characteristics of wafers of different processes and batches, the threshold is iteratively corrected according to the monthly collection of incremental good and defect samples from the production line, and finally a stable pass threshold adapted to the current production line process and machine conditions is formed.
[0074] In this embodiment, binarization is a pixel segmentation operation that sets a defect determination threshold, marking pixels greater than the threshold as 1 and pixels less than the threshold as 0. Here, 1 represents a defect and 0 represents normal. The defect distribution binary mask is a wafer planar black-and-white image that includes only 0 and 1 pixel values, intuitively distinguishing normal areas from defect patches.
[0075] The defect judgment threshold is determined as follows: A standardized wafer inspection dataset with batches of manually marked good and defective sections is retrieved. Electrical defect index values for each chip location are extracted, and a bimodal histogram of the numerical distribution is plotted. The index value corresponding to the valley of the bimodal peak is selected as the initial defect judgment threshold. The defect miss rate and good product false positive rate are calculated separately under the initial threshold. If the miss rate exceeds the standard, the threshold is slightly lowered; if the proportion of mis-marked good products is too large, the threshold is slightly raised until both the miss and false positive rates meet the production line control standards. Data is grouped, verified, and corrected for different processes and different testing equipment. The data is continuously iterated and calibrated according to the monthly import of newly added manually reviewed wafer samples to obtain a defect judgment threshold that is suitable for the current production conditions and can stably distinguish between normal and defective locations.
[0076] In this embodiment, connected component labeling uses a 4-neighborhood or 8-neighborhood rule to divide interconnected defect pixels in the mask into independent patches and assign them unique numbers. A connected component is an independent defect block composed of consecutive adjacent defect pixels on the mask, corresponding to particles, scratches, and ring defects; In this embodiment, the area of a connected region is the total number of defect pixels contained in a single defect connected region, representing the size of the defect. The perimeter of a connected region is the total length of the boundary enclosed by the outer contour pixels of the defect patch. The aspect ratio of the minimum bounding rectangle is the ratio of the long side to the short side of the minimum rectangle enclosing the defect patch, distinguishing between long scratches and circular particles. The eccentricity describes the degree of stretching of the defect ellipse, with circular defects approaching 0 and long, thin scratches approaching 1.
[0077] In this embodiment, the basic morphological feature set is a set of basic dimensional and shape indicators composed of area, perimeter, aspect ratio, and eccentricity.
[0078] In this embodiment, the contour point coordinates are the planar coordinates of all pixels constituting the outer boundary of a single defect's connected domain. The Hu invariant moments are seven sets of feature values derived from the contour gray-level moments, possessing translation, rotation, and scaling invariance properties. Rotation and translation invariance means that the Hu invariant moment values do not change after wafer placement rotation or coordinate offset, adapting to defect identification at any placement angle. The morphological feature vector is a one-dimensional feature array formed by arranging the 7th-order Hu invariant moment values in a fixed order.
[0079] In this embodiment, cluster analysis classifies connected domains of defects with similar shapes into the same category based on the similarity of basic morphological features. The number of defects in each morphology category is the total number of independent connected domains corresponding to each cluster of defects. The area ratio is the ratio of the total area of all connected domains of a single defect category to the total area of all defects on the wafer. The spatial distribution density is the number of connected domains included in a unit wafer area of a single defect category. The morphological statistical features are a complete feature set that integrates the basic shape of a single defect, the invariant moment vector, and the classification statistical indicators.
[0080] As can be seen from the above, this embodiment achieves refined quantitative acquisition of wafer defect morphological features through defect binarization masking, connected component labeling, morphological parameter calculation, and Hu invariant moment extraction. By extracting basic morphological parameters such as defect area, perimeter, and eccentricity, and combining them with the rotation- and translation-invariant moment feature, it is possible to accurately distinguish different morphological defects such as scratches, particles, and annular patches. Simultaneously, by using connected component clustering to statistically analyze the distribution ratio and density of various defects, it comprehensively characterizes the differences and distribution patterns of defect morphology, solving the problem that existing methods cannot quantify defect morphological features. This provides refined morphological dimension support for failure mode determination and intelligent classification, improving the discriminative power and accuracy of complex defect classification.
[0081] In one embodiment of this application, the hybrid classification model includes a rule filtering layer and a machine learning classification layer. The method for constructing the hybrid classification model includes: Obtain historical wafer inspection data and corresponding verified quality grade labels to construct a training dataset; Extract the multidimensional feature matrix and the corresponding quality level label of each sample from the training dataset, and use them as labeled training samples. Construct a rule base, which includes feature threshold conditions and corresponding quality level determination rules for at least one classic failure mode; classic failure modes include centrally symmetric defects, edge-ring defects, scratch linear defects, and random particle defects. Based on the rule base, a rule filtering layer is constructed. The rule filtering layer is used to compare the input multidimensional feature matrix with the feature threshold conditions in the rule base and output the matching result. An initial machine learning classification model is constructed by training the initial machine learning classification model with the parts of the labeled training samples that are not matched by the rule base, thus obtaining the machine learning classification layer; By cascading the rule filtering layer and the machine learning classification layer, a hybrid classification model is obtained; the rule filtering layer is set before the machine learning classification layer to perform priority matching on the input multidimensional feature matrix.
[0082] In this embodiment, historical wafer inspection data is a large-scale, complete wafer inspection dataset from past production lines that has undergone standardized preprocessing and feature extraction. Verified quality grade labels are chip grading labels manually reviewed and confirmed by process engineers, serving as the training benchmark. The training dataset is a sample collection specifically for offline model training and parameter tuning, integrating all historical wafer data with corresponding real labels.
[0083] In this embodiment, the labeled training samples are training units composed of a single-wafer multi-dimensional feature matrix and matching labels of the actual quality level. The rule base is a database that stores industrial prior judgment logic, storing feature threshold ranges and graded output rules corresponding to various classic failure modes.
[0084] In this embodiment, the classic failure modes are four types of defect morphologies that are frequently encountered in wafer mass production and have a fixed characteristic distribution: centrally symmetric defects, edge ring defects, linear scratch defects, and random particle defects.
[0085] In this embodiment, the feature threshold condition represents the upper and lower limits of the spatial, morphological, and electrical characteristic values that distinguish the corresponding failure mode. Only when all conditions are met simultaneously can the failure type be determined.
[0086] The method for determining the feature threshold conditions is as follows: First, a large number of manually calibrated wafer samples with a single classic failure mode and defect-free good samples are collected. All spatial, morphological, and electrical feature values, such as radial density, Moran index, Hu invariant moment, and leakage current, are extracted. The data distribution range of each feature of good and failed samples is statistically analyzed, and the boundary critical value between the value ranges of the two types of samples is taken as the initial upper and lower limit threshold of a single feature. Then, batch sample verification is carried out, traversing all failed wafers of this type, so that all their features fall within the corresponding threshold range, while no feature of the standard good sample falls within the failure threshold range, reducing missed detections and false detections. Then, mixed samples with multiple defects are introduced for retesting and fine-tuning of the threshold boundaries of each feature. Strict constraints are imposed, requiring all features to simultaneously meet the threshold range before the corresponding failure mode can be determined, avoiding false matching by a single feature. The entire set of thresholds is continuously iterated and calibrated according to the monthly introduction of new manually verified samples from the production line, and finally, feature threshold conditions with stable discrimination and adapted to existing processes and testing equipment are formed.
[0087] In this embodiment, the quality level determination rule is a fixed output chip quality level and a matching confidence level standard after a certain type of failure mode is successfully matched.
[0088] In this embodiment, the rule filtering layer is a lightweight inference module built on threshold comparison logic. It does not involve complex iterative calculations and prioritizes the rapid determination of known defects. The matching result is a judgment signal indicating whether the feature matrix satisfies all threshold conditions for a certain classic failure mode.
[0089] In this embodiment, the initial machine learning classification model is a blank machine learning model that has not undergone sample training or network or tree structure initialization. The parts that are not matched by the rule base are complex and unconventional defect samples in the training samples whose features do not meet any of the classic failure threshold conditions.
[0090] In this embodiment, the machine learning classification layer is a model inference module trained and converged using random matching samples, used to predict novel and irregular defects.
[0091] In this embodiment, the cascaded architecture is a two-layer module serial connection. Data flows unidirectionally first through the rule filtering layer, and only unmatched samples flow into the machine learning classification layer. The priority matching process involves performing rule threshold comparison on the input feature matrix first, without directly feeding it into the machine learning layer for computation.
[0092] As can be seen from the above, this embodiment, through the specific construction method of the hybrid classification model, uses a rule base including multiple classic failure modes and a pre-filtering layer to achieve rapid matching and judgment of typical defects, without the need for complex model reasoning, thus improving classification efficiency. Simultaneously, it utilizes complex samples with unmatched rules to train the machine learning classification layer, adapting to unconventional and irregular new defects, forming a cascaded architecture of fast rule-based judgment and precise model-based judgment. By leveraging the advantages of industrial prior rules and data-driven approaches, it ensures both the detection speed of common defects in mass production and improves the identification accuracy of complex and unknown defects, solving the industry problem of the inability of a single model to simultaneously achieve speed and accuracy, and adapting to the high-speed inspection needs of production lines.
[0093] In one embodiment of this application, the rule filtering layer performs fast matching on a multidimensional feature matrix that conforms to a preset classic failure mode and outputs a first classification result, including: The multidimensional feature matrix is compared item by item with the feature threshold conditions corresponding to each classic failure mode in the rule base; If the multidimensional feature matrix satisfies all feature threshold conditions corresponding to any classic failure mode, then the preset quality level corresponding to the classic failure mode is directly output as the first classification result, and the corresponding classification confidence is set. If the multidimensional feature matrix does not satisfy all feature threshold conditions corresponding to any classic failure mode, then the multidimensional feature matrix is passed to the machine learning classification layer. The machine learning classification layer performs probability prediction on the received multidimensional feature matrix, outputs the probability distribution of each quality level, takes the quality level with the highest probability as the second classification result, and takes the probability value corresponding to the quality level with the highest probability as the classification confidence of the second classification result.
[0094] In this embodiment, the item-by-item comparison verifies all threshold conditions, including spatial, morphological, and electrical characteristics, for a specific failure mode. A match is considered complete only if all conditions are met. The preset classic failure modes are four types of typical wafer defects pre-defined in the rule base: centrosymmetric, edge-ringed, linear scratches, and random particle defects. The characteristic threshold conditions are a set of upper and lower limits for radial density, Moran's index, Hu invariant moment, and electrical parameters specific to each failure mode.
[0095] In this embodiment, the first classification result is the deterministic quality level output after a successful hard match at the rule layer, and it belongs to the process prior judgment result. The preset quality level is a fixed classification result pre-bound to each type of failure mode, for example, edge ring = severe failure.
[0096] The method for determining the preset quality level is based on the collection of process specifications, wafer grading and factory standards, and historical manual re-inspection and labeling data as benchmarks. For each type of classic failure mode, the corresponding chip electrical performance, yield, and degree of damage to reliability are statistically analyzed. The degree of damage to chip function and lifespan is divided into gradients based on the degree of damage caused by failure. Random particle defects with the weakest destructiveness correspond to the preset quality level of minor defects, linear scratches and centrally symmetric defects correspond to the preset quality level of severe failures, and edge-ring large-area contiguous defects are directly matched with the preset quality level of scrap. Then, a large number of wafers with similar failures are manually re-tested to verify the rationality of the grading, and the correspondence between the levels is fine-tuned to ensure that chips under the same failure mode are uniformly assigned a fixed preset quality level. Through process iteration and regular updates to customer shipping standards, the matching rules are finally updated to obtain a stable preset quality level corresponding to each type of classic failure mode.
[0097] In this embodiment, the corresponding classification confidence level is that the rule matching is stable and the error is extremely low, and a fixed high confidence level is preset by the system.
[0098] In this embodiment, failure to meet any of the full feature threshold conditions indicates that the feature matrix cannot completely match the full set of judgment criteria for any classic failure mode, thus constituting a complex and atypical defect sample. Passing the sample to the machine learning classification layer involves feeding the irregular feature sample into the data-driven model for probability prediction.
[0099] In this embodiment, probabilistic prediction is the calculation by the machine learning model of the probability of belonging to each quality level for the input features. The probability distribution is the set of probabilities corresponding to all quality levels output by the model, with a sum of 1.
[0100] In this embodiment, the second classification result is the quality level label corresponding to the maximum probability, which is the model's optimal prediction result. The confidence score of the second classification result is the predicted probability corresponding to the optimal level, representing the reliability of the model's current judgment.
[0101] As can be seen from the above, this embodiment achieves rapid and stable classification of known typical defects by using a hierarchical judgment logic of a hybrid classification model and performing full threshold condition comparison of classic failure modes through a rule filtering layer, outputting a high-confidence first classification result. For complex samples that cannot be matched by rules, the model automatically switches to a machine learning layer for probability prediction, using the optimal probability level as the second classification result and outputting the corresponding confidence level. This approach utilizes prior knowledge of manual processes to ensure the stability of mature defect judgment, while also improving the accuracy of irregular defect identification through the fitting ability of machine learning, reducing the probability of missed and false judgments, and enhancing the reliability and stability of the overall wafer chip grading results.
[0102] In one embodiment of this application, a wafer quality grade distribution heatmap is generated based on quality grade labels, and sorting destination instructions are overlaid on the wafer quality grade distribution heatmap to generate a visual classification result report, including: The quality grade labels of each chip unit are mapped to preset color codes, and pixels are filled according to the spatial coordinates of each chip unit on the wafer to generate a wafer quality grade distribution heatmap. On the heat map of wafer quality grade distribution, the corresponding tray number and slot coordinates of each chip unit are displayed overlaid with preset icons or text labels. A legend is generated in the edge area of the wafer quality grade distribution heatmap. The legend includes the correspondence between quality grade and color, the correspondence between unloading tray number and icon, and statistical information. The statistical information includes at least the number of chips, percentage, yield, and defect density of each quality grade. The heatmap, legend, and statistical information of wafer quality grade distribution are combined to generate a visual classification result report, which is then output as a preset format file.
[0103] In this embodiment, color coding involves pre-assigning a unique, fixed color to each quality grade to visually distinguish between good and bad chips. Spatial coordinates refer to the fixed row and column coordinates of each chip unit within the wafer grid in standardized data. Pixel filling uses individual chips as independent pixel units, filling the drawing canvas with the corresponding grade color. The wafer quality grade distribution heatmap replicates the actual wafer layout, using different colors to visualize the planar distribution of good and defective chips.
[0104] In this embodiment, the preset icons or text labels are predefined simple graphics or short characters used to identify chip sorting and storage information. The unloading tray number is a unique serial number for the sorting trays carrying chips of different qualities. The slot coordinates are the row and column positioning coordinates of the chip storage slots inside the unloading tray. The edge area legend is an explanatory panel placed on the side or bottom of the heat map, used to interpret the meaning of the chart colors and icons.
[0105] In this embodiment, the correspondence between quality grades and colors is illustrated in the legend, showing the fill color matching each grade label. The correspondence between tray numbers and icons is explained in the legend, indicating which tray number each icon represents. The statistical information is a summary of the entire wafer's grade data. The number of chips in each quality grade is the total number of chip units included in each grade. The percentage is the percentage of chips in a single grade out of the total number of chips on the entire wafer. The yield is the proportion of superior and qualified chips out of all chips.
[0106] In this embodiment, defect density refers to the number of defective chips per unit wafer area. The visual classification result report is a complete text and image document that integrates distribution maps, annotations, legends, and statistical data. The preset format files are pre-defined export file types, such as PDF, PNG images, and Excel reports.
[0107] As can be seen from the above, this embodiment achieves heatmap visualization modeling through chip quality grades. By mapping quality grades with color codes and overlaying sorting instructions with icons, it realizes an integrated visualization display of wafer quality distribution and sorting destination. By adding standardized legends and batch statistical parameters, it can intuitively present key production indicators such as wafer yield, defect density, and grade ratio, and automatically generate standardized visualization report files. This solves the problems of existing inspection systems having single data display, unintuitive sorting information, and cumbersome manual statistics. It facilitates the rapid location of defect clusters and the tracing of process anomalies, and realizes the visual linkage between grading results and sorting instructions, improving the convenience of production line management and the degree of production visualization.
[0108] In one embodiment of this application, before generating the quality grade label and corresponding classification confidence level of each chip unit on the wafer based on the first classification result and the second classification result, the method further includes: Get the current total number of wafers and the number of wafers that have been classified, and calculate the current classification progress; When the classification progress is greater than or equal to the preset progress threshold, the classification confidence distribution of the wafers that have been classified is collected, and the average confidence and confidence standard deviation are calculated. Adjust the preset classification decision threshold of the machine learning classification layer based on the average confidence score and the standard deviation of confidence score; The adjusted preset classification decision threshold will be applied to the wafer classification calculation in the next cycle.
[0109] In this embodiment, the current total number of wafers is the total number of wafers to be classified in this batch. The number of wafers that have completed classification is the number of wafers in the current batch that have completed the feature extraction, model inference, and classification calculation processes. The classification progress is a percentage value obtained by dividing the number of processed wafers by the total number of wafers in the batch, representing the degree of completion of the batch classification task.
[0110] In this embodiment, the preset progress threshold is a set progress percentage critical value. Reaching this value triggers the model threshold adaptive calibration process. The classification confidence distribution is the set of confidence scores for all chips that have completed classification, representing the overall distribution of the model's decision reliability. The average confidence score is the arithmetic mean of the confidence scores of all processed chips, reflecting the overall reliability level of the model's decisions.
[0111] The method for determining the preset progress threshold is as follows: First, a benchmark is set based on the sample statistical requirements of the batch wafer classification task. Complete classification data from multiple batches is collected, and the sufficiency of the confidence distribution sample size is compared at different progress nodes. If the progress is too small, there are too few classified wafer samples, resulting in large deviations in the calculated confidence mean and standard deviation, which cannot support effective threshold adjustment. If the progress is too large, a large number of wafers have already been classified, and threshold optimization cannot cover most samples, resulting in extremely low optimization benefits. The minimum progress that ensures the number of classified samples meets the statistical significance test is selected as the initial threshold. Then, multiple tests are conducted on different batch sizes on the production line to balance statistical reliability with the practical value of early optimization. Over a long period, monthly summaries of the operating data for each batch are compiled, and the values are fine-tuned to finally obtain a preset progress threshold that adapts to the regular material input scale of the production line and balances statistical accuracy with optimization timeliness.
[0112] In this embodiment, the confidence standard deviation is an indicator of the dispersion of the confidence dataset; a larger standard deviation indicates poorer stability of the model's judgment results. The preset classification decision threshold of the machine learning classification layer is a critical probability value used to filter valid judgment results after the machine learning layer outputs the predicted probabilities of each category. When the probability is less than this threshold, the judgment result lacks credibility.
[0113] The method for determining the preset classification decision threshold in the machine learning classification layer is as follows: First, all samples from the independent validation set are input into the machine learning classification layer, and the predicted probability of each chip for each quality level is output. Different probability thresholds within the 0-1 interval are traversed, and the defect miss rate and good product misclassification rate are calculated for each threshold. With the production line quality control standards as constraints, a probability interval that simultaneously meets the upper limit requirements of the miss rate and misclassification rate is selected, and the median value of the interval is taken as the initial classification decision threshold. Subsequently, multiple batches of wafers with different processes and different defect ratios are imported for retesting. If the average confidence level is too low and the confidence standard deviation is too large, the threshold is appropriately increased to filter low confidence judgment results. If a large number of qualified chips are mislabeled as defects due to the threshold being too high, the threshold is slightly decreased. Through long-term iterative optimization of the batch adaptive calibration process, the initial preset classification decision threshold that balances judgment accuracy and computational efficiency and adapts to the normal working conditions of the production line is finally obtained.
[0114] In this embodiment, the wafer classification calculation in the next cycle is the operation process of feature input, probabilistic reasoning, and grade determination for subsequent unprocessed wafers after the progress threshold triggers calibration.
[0115] As can be seen from the above, this embodiment, by adding a dynamic monitoring mechanism for classification progress and an adaptive threshold adjustment mechanism for confidence level, statistically analyzes the batch classification progress and confidence level distribution in real time, and dynamically corrects the machine learning classification decision threshold through the average confidence level and standard deviation. For scenarios with large batch defect fluctuations and unstable model output, the judgment criteria are automatically tightened to stabilize batch classification accuracy; for stable production batches, the threshold is appropriately adapted to balance detection efficiency. This mechanism enables the model judgment criteria to adaptively adjust according to production conditions, solving the problems of traditional fixed thresholds being unable to adapt to batch fluctuations and poor classification consistency, effectively improving the stability, consistency, and adaptability of batch wafer classification results.
[0116] In one embodiment of this application, after overlaying sorting destination instructions onto a wafer quality grade distribution heatmap and generating a visual classification result report, the method further includes: Periodically extract newly added validated classification records from the archival database as incremental training samples; An elastic weight consolidation algorithm is used to incrementally learn the hybrid classification model, and second-order partial derivative constraints are applied to the parameters of historical tasks during the parameter update process of the hybrid classification model. Calculate the difference in output of the hybrid classification model before and after the incremental update. When the difference in output of the hybrid classification model is less than the preset stable threshold, the incremental update is complete. Update the incrementally updated hybrid classification model to the online classification service, replacing the currently used hybrid classification model.
[0117] In this embodiment, the periodic operation is performed according to a preset time cycle of the production line, such as every morning at dawn, or after every 500 wafers have been sorted. The archive database is a production traceability database that stores all wafer IDs, classification tags, confidence levels, sorting instructions, and archiving times.
[0118] In this embodiment, the newly added verified classification records are newly archived wafer archive data that have been manually reviewed and confirmed by process engineers to be correctly classified, with no mislabeling or omissions. The incremental training samples are supplementary sample sets that use only the newly added data and do not require all historical data to participate in the training.
[0119] In this embodiment, the elastic weight consolidation algorithm is a classic incremental learning algorithm that distinguishes the importance of model parameters to new and old tasks, constrains significant changes in key historical parameters, and prevents catastrophic forgetting.
[0120] Specifically, the data flow of the Elastic Weight Consolidation Algorithm consists of the following layers: incremental sample input layer, loss function solution layer, second-order partial derivative calculation layer for parameters, weight importance assignment layer, constrained parameter update layer, and model difference evaluation layer. First, newly labeled samples are loaded to calculate the training loss. Then, the second-order partial derivatives of each model parameter with respect to the historical task are calculated. Based on the partial derivative results, regularized constraint weights are configured to limit significant changes in key historical parameters during parameter iteration updates. After the update is completed, the differences between the outputs of the new and old models are compared to determine the convergence status.
[0121] The Elastic Weight Consolidation Algorithm builds an incremental learning module based on the Elastic Weight Consolidation Algorithm. The second partial derivative of the Hessian matrix of the loss function represents the importance of each parameter to the historical wafer classification task. A regularization penalty term is added to the high-importance parameters to constrain their update magnitude and avoid forgetting the historical failure mode recognition ability caused by training with new samples. The loss convergence value is calculated synchronously during the iterative training process. After training, a unified standard test set is used to quantify the prediction deviation between the old and new models to determine whether incremental optimization has been completed.
[0122] The input to the Elastic Weight Consolidation Algorithm is the newly added verified wafer classification incremental samples extracted from the archive database and the weight parameters of the original hybrid classification model that is running online; the output is the updated hybrid classification model weight file that has completed incremental learning and takes into account the ability to recognize both new and old samples.
[0123] In this embodiment, incremental learning is a lightweight training method that does not reuse the entire historical dataset but only relies on newly added samples to fine-tune the model parameters. The model parameters are trainable values such as weights and biases within the machine learning classification layer.
[0124] In this embodiment, the parameters of the historical task are the key model weights for adapting to historical batches of wafers and identifying classic failure modes. The second-order partial derivative constraint measures the importance of parameters based on the second derivative of the parameter loss function, and applies a loss penalty to highly important parameters to limit their large-scale updates.
[0125] In this embodiment, the model output difference is the overall deviation quantified value of the prediction results and confidence levels of all chip quality grades by using a unified test set as input for the two models before and after the update.
[0126] In this embodiment, the preset stability threshold is the critical deviation value for determining the convergence of model training. A difference less than this value indicates that the fluctuation of the model prediction result is controllable.
[0127] The method for determining the preset stability threshold involves selecting multiple sets of fixed standard test wafer samples covering good products, various classic defects, and novel composite defects. The model after incremental updates in different iteration rounds is compared with the original baseline model for inference. The number of inconsistent chip quality labels and the average confidence deviation of the two models are counted as output difference indicators. An acceptable upper limit for graded deviation is defined through production line quality control standards. The 95th percentile of the model output difference after multiple rounds of stable training is used as the initial stability threshold. Further verification is achieved through multiple batches of incremental learning and retesting. If the threshold is too high, the model will not learn the new samples sufficiently and will terminate the update prematurely. If the threshold is too low, it will increase training time and easily lead to overfitting. Fine-tuning is performed to a critical value that can fully absorb the defect features of incremental samples without excessively prolonging the training cycle. Subsequent iterations and calibrations are performed based on monthly summaries of incremental training logs to form a preset stability threshold adapted to the current process and the frequency of new defect updates.
[0128] In this embodiment, incremental update completion signifies model parameter convergence, completion of learning for new samples, and no degradation of existing recognition capabilities. The online classification service is a background inference service deployed on production line inspection equipment, performing real-time wafer feature inference and classification. Replacing the currently used hybrid classification model involves loading the newly trained model weight file into the inference service and taking the old model offline.
[0129] As can be seen from the above, this embodiment, through an incremental update mechanism based on the elastic weight consolidation algorithm, periodically uses incremental samples manually reviewed on the production line to iteratively update the hybrid classification model. While learning new defect features, it constrains historical task parameters, avoiding the catastrophic forgetting problem of the model. By quantifying the differences in model output to determine the convergence state, it ensures the stability and reliability of model iteration and replaces the online inference model in real time, achieving continuous evolution of model capabilities. This allows the classification model to adapt to new production line processes and new types of defects, continuously improving the ability to identify complex defects and enabling the long-term high-precision operation of the detection system.
[0130] Corresponding to the intelligent classification and recording method for wafer inspection data in the above embodiment, Figure 2 This is a structural block diagram of a wafer inspection data intelligent classification and recording system provided in one embodiment of this application. For ease of explanation, only the parts relevant to the embodiment of this application are shown. References Figure 2 The intelligent classification and recording system 20 for wafer inspection data includes: a data acquisition module 21, a feature matrix module 22, a hybrid classification module 23, a quality grade module 24, a sorting and mapping module 25, an archive recording module 26, and a result reporting module 27.
[0131] Among them, the data acquisition module 21 is used to respond to the wafer inspection station completing the test of the current wafer, acquire the wafer identification ID and the corresponding raw inspection data, and perform outlier filtering, missing value imputation and noise suppression processing on the raw inspection data to generate standardized wafer inspection data. The feature matrix module 22 is used to extract spatial distribution features, morphological statistical features and electrical parameter features from standardized wafer inspection data, and to construct a multi-dimensional feature matrix based on the spatial distribution features, morphological statistical features and electrical parameter features. The hybrid classification module 23 is used to input the multidimensional feature matrix into the pre-trained hybrid classification model. The hybrid classification model includes a rule filtering layer and a machine learning classification layer. The rule filtering layer quickly matches the multidimensional feature matrix that conforms to the preset classic failure mode and outputs the first classification result. The machine learning classification layer performs classification calculation on the feature matrix that is not matched by the rule filtering layer and outputs the second classification result. Quality grade module 24 is used to generate a quality grade label and corresponding classification confidence level for each chip unit on the wafer based on the first classification result and the second classification result. The sorting mapping module 25 is used to match the corresponding unloading tray number and the slot coordinates in the tray for each chip unit according to the quality grade label and the preset physical sorting rules, and generate sorting destination instructions. The archive recording module 26 is used to obtain the current timestamp, associate and store the wafer identification ID, quality grade label, classification confidence, sorting destination instruction and current timestamp to the archive database, and generate an independent archive record; The results report module 27 is used to encapsulate and upload the quality grade labels and sorting destination instructions, generate a wafer quality grade distribution heat map based on the quality grade labels, and overlay the sorting destination instructions on the wafer quality grade distribution heat map to generate a visual classification result report.
[0132] See Figure 3 , Figure 3 This is a schematic block diagram of an electronic device provided according to an embodiment of this application. Figure 3 The electronic device 300 in this embodiment may include one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The processors 301, input devices 302, output devices 303, and memories 304 communicate with each other via a communication bus 305. The memories 304 store computer programs, including program instructions. The processors 301 execute the program instructions stored in the memories 304. Specifically, the processors 301 are configured to invoke the program instructions to perform the functions of the modules in the aforementioned device embodiments, for example... Figure 2The functions of the data acquisition module 21, feature matrix module 22, mixed classification module 23, quality grade module 24, sorting mapping module 25, record recording module 26, and result reporting module 27 are shown.
[0133] It should be understood that, in the embodiments of this application, the processor 301 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0134] Input device 302 may include a touchpad, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint orientation information), a microphone, etc., and output device 303 may include a display (LCD, etc.), a speaker, etc.
[0135] The memory 304 may include read-only memory and random access memory, and provides instructions and data to the processor 301. A portion of the memory 304 may also include non-volatile random access memory. For example, the memory 304 may also store device type information.
[0136] In specific implementations, the processor 301, input device 302, and output device 303 described in the embodiments of this application can execute the implementation methods described in any embodiment of the intelligent classification and recording method for wafer inspection data provided in the embodiments of this application, or they can execute the implementation methods of the electronic devices described in the embodiments of this application, which will not be repeated here.
[0137] In another embodiment of this application, a computer-readable storage medium is provided. This computer-readable storage medium stores a computer program, which includes program instructions. When executed by a processor, the program instructions implement all or part of the processes in the methods described above. Alternatively, the computer program can instruct related hardware to complete the process. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0138] The computer-readable storage medium can be an internal storage unit of the electronic device in any of the foregoing embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device. Furthermore, the computer-readable storage medium can include both internal and external storage units of the electronic device. The computer-readable storage medium is used to store computer programs and other programs and data required by the electronic device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0139] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0140] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the electronic devices and units described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0141] In the several embodiments provided in this application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces or units, or it may be an electrical, mechanical, or other form of connection.
[0142] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of this application, depending on actual needs.
[0143] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0144] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for intelligent classification and recording of wafer inspection data, characterized in that, include: In response to the wafer inspection station completing the test on the current wafer, the identification ID of the wafer and the corresponding raw inspection data are obtained, and the raw inspection data are processed by outlier filtering, missing value imputation and noise suppression to generate standardized wafer inspection data. Spatial distribution features, morphological statistical features, and electrical parameter features are extracted from the standardized wafer inspection data, and a multidimensional feature matrix is constructed based on the spatial distribution features, the morphological statistical features, and the electrical parameter features. The multidimensional feature matrix is input into a pre-trained hybrid classification model, which includes a rule filtering layer and a machine learning classification layer. The rule filtering layer performs fast matching on the multidimensional feature matrix that conforms to a preset classic failure mode and outputs a first classification result. The machine learning classification layer performs classification calculation on the feature matrix that is not matched by the rule filtering layer and outputs a second classification result. Based on the first classification result and the second classification result, a quality grade label and corresponding classification confidence level are generated for each chip unit on the wafer. Based on the quality grade label, each chip unit is matched with the corresponding unloading tray number and the coordinates of the slot in the tray according to the preset physical sorting rules, and a sorting destination instruction is generated. Obtain the current timestamp, associate and store the wafer's identification ID, quality grade label, classification confidence level, sorting destination instruction, and current timestamp in the archive database to generate an independent archive record; The quality grade label and the sorting destination instruction are encapsulated and uploaded. A wafer quality grade distribution heat map is generated based on the quality grade label, and the sorting destination instruction is overlaid on the wafer quality grade distribution heat map to generate a visual classification result report.
2. The intelligent classification and recording method for wafer inspection data according to claim 1, characterized in that, The process of filtering outliers, imputing missing values, and suppressing noise in the original detection data to generate standardized wafer detection data includes: The local outlier factor algorithm is used to calculate the local outlier factor value of each data point in the original detection data. Detection points with local outlier factor values greater than or equal to a preset outlier threshold are marked as outliers and removed to obtain the removed data. The spatial K-nearest neighbor interpolation algorithm is used to fill in the missing positions formed by the removed data. The weighted average of the detection values of the K neighboring chip units around the missing position is used as the filling value to obtain the filled data. The imputed data is smoothed by a median filtering algorithm. The original value of each chip cell is replaced by the median of the neighborhood within a preset radius, which suppresses random noise and yields the smoothed data. The smoothed data is mapped to a unified spatial coordinate grid template to eliminate mechanical offset errors between different testing equipment, thereby generating the standardized wafer testing data.
3. The intelligent classification and recording method for wafer inspection data according to claim 1, characterized in that, The step of extracting spatial distribution features from the standardized wafer inspection data includes: Using the wafer's geometric center as the origin, the wafer surface is divided into N concentric annular regions of equal area. The radial distribution density of the number of defects in each concentric annular region is calculated, and a radial distribution feature vector is generated. Using the wafer's geometric center as the origin, the wafer surface is divided into M equal-angle sector regions. The angular clustering degree of the number of defects in each sector region is calculated to generate an angular distribution feature vector. Obtain the defect detection values of each chip unit, and calculate the global Moran index and the local Moran index; The spatial distribution features are generated by associating the radial distribution feature vector, the angular distribution feature vector, the global Moran index, and the local Moran index.
4. The intelligent classification and recording method for wafer inspection data according to claim 1, characterized in that, The extraction of morphological statistical features from the standardized wafer inspection data includes: The defect regions in the standardized wafer inspection data are binarized to generate a binary mask map of the defect distribution. Connected component labeling is performed on the binary mask image of the defect distribution, and the area, perimeter, aspect ratio of the minimum bounding rectangle, and eccentricity of each connected component are extracted to generate a basic morphological feature set; Based on the coordinates of the contour points of each connected domain, the first seven moments of the Hu invariant moment are calculated to generate a morphological feature vector with rotation and translation invariance. Based on the aforementioned basic morphological feature set, cluster analysis is performed on each connected domain to statistically analyze the number, area ratio, and spatial distribution density of various morphological defects, thereby generating the aforementioned morphological statistical features.
5. The intelligent classification and recording method for wafer inspection data according to claim 1, characterized in that, The hybrid classification model includes a rule-based filtering layer and a machine learning classification layer. The method for constructing the hybrid classification model includes: Obtain historical wafer inspection data and corresponding verified quality grade labels to construct a training dataset; Extract the multidimensional feature matrix and the corresponding quality level label of each sample from the training dataset, and use them as labeled training samples. A rule base is constructed, which includes feature threshold conditions and corresponding quality level determination rules for at least one classic failure mode; the classic failure modes include centrally symmetric defects, edge-ring defects, scratch linear defects, and random particle defects. Based on the rule base, the rule filtering layer is constructed. The rule filtering layer is used to compare the input multidimensional feature matrix with the feature threshold conditions in the rule base and output the matching result. An initial machine learning classification model is constructed, and the initial machine learning classification model is trained using the parts of the labeled training samples that are not matched by the rule base to obtain the machine learning classification layer; The rule filtering layer and the machine learning classification layer are cascaded to obtain the hybrid classification model; wherein the rule filtering layer is set before the machine learning classification layer to perform priority matching processing on the input multidimensional feature matrix.
6. The intelligent classification and recording method for wafer inspection data according to claim 5, characterized in that, The rule-based filtering layer performs rapid matching on the multidimensional feature matrix that conforms to the preset classic failure modes and outputs a first classification result, including: The multidimensional feature matrix is compared item by item with the feature threshold conditions corresponding to each classic failure mode in the rule base; If the multidimensional feature matrix satisfies all feature threshold conditions corresponding to any classic failure mode, then the preset quality level corresponding to the classic failure mode is directly output as the first classification result, and the corresponding classification confidence level is set. If the multidimensional feature matrix does not satisfy all feature threshold conditions corresponding to any classic failure mode, then the multidimensional feature matrix is passed to the machine learning classification layer. The machine learning classification layer performs probability prediction on the received multidimensional feature matrix, outputs the probability distribution of each quality level, takes the quality level with the highest probability as the second classification result, and takes the probability value corresponding to the quality level with the highest probability as the classification confidence of the second classification result.
7. The intelligent classification and recording method for wafer inspection data according to claim 1, characterized in that, The process of generating a wafer quality grade distribution heatmap based on the quality grade label, and overlaying the sorting destination instructions onto the wafer quality grade distribution heatmap to generate a visual classification result report includes: The quality grade label of each chip unit is mapped to a preset color code, and pixels are filled according to the spatial coordinate position of each chip unit on the wafer to generate the wafer quality grade distribution heat map. On the heat map of wafer quality grade distribution, the loading tray number and slot coordinates of each chip unit are superimposed and displayed in a preset icon or text labeling manner. A legend is generated in the edge area of the heat map of wafer quality grade distribution. The legend includes the correspondence between quality grade and color, the correspondence between material tray number and icon, and statistical information. The statistical information includes at least the number of chips, percentage, yield, and defect density of each quality grade. The wafer quality grade distribution heatmap, the legend, and the statistical information are combined to generate the visual classification result report, which is then output as a preset format file.
8. The intelligent classification and recording method for wafer inspection data according to claim 1, characterized in that, Before generating the quality grade label and corresponding classification confidence score for each chip unit on the wafer based on the first classification result and the second classification result, the process further includes: Get the current total number of wafers and the number of wafers that have been classified, and calculate the current classification progress; When the classification progress is greater than or equal to a preset progress threshold, the classification confidence distribution of the wafers that have completed classification is collected, and the average confidence and confidence standard deviation are calculated. The preset classification decision threshold of the machine learning classification layer is adjusted based on the average confidence level and the standard deviation of the confidence level. The adjusted preset classification decision threshold will be applied to the wafer classification calculation in the next cycle.
9. The intelligent classification and recording method for wafer inspection data according to claim 1, characterized in that, After overlaying the sorting destination instructions onto the wafer quality grade distribution heatmap and generating a visual classification result report, the method further includes: Newly added, validated classification records are periodically extracted from the aforementioned archive database as incremental training samples; The elastic weight consolidation algorithm is used to incrementally learn the hybrid classification model, and second-order partial derivative constraints are applied to the parameters of historical tasks during the parameter update process of the hybrid classification model. Calculate the difference in output of the hybrid classification model before and after the incremental update. When the difference in output of the hybrid classification model is less than a preset stable threshold, the incremental update is completed. Update the incrementally updated hybrid classification model to the online classification service, replacing the currently used hybrid classification model.
10. A smart classification and recording system for wafer inspection data, characterized in that, include: The data acquisition module is used to respond to the wafer inspection station completing the test of the current wafer, acquire the identification ID of the wafer and the corresponding raw inspection data, and perform outlier filtering, missing value imputation and noise suppression processing on the raw inspection data to generate standardized wafer inspection data. The feature matrix module is used to extract spatial distribution features, morphological statistical features and electrical parameter features from the standardized wafer inspection data, and to construct a multidimensional feature matrix based on the spatial distribution features, the morphological statistical features and the electrical parameter features; A hybrid classification module is used to input the multidimensional feature matrix into a pre-trained hybrid classification model. The hybrid classification model includes a rule filtering layer and a machine learning classification layer. The rule filtering layer performs fast matching on the multidimensional feature matrix that conforms to a preset classic failure mode and outputs a first classification result. The machine learning classification layer performs classification calculation on the feature matrix that is not matched by the rule filtering layer and outputs a second classification result. The quality grade module is used to generate a quality grade label and corresponding classification confidence level for each chip unit on the wafer based on the first classification result and the second classification result. The sorting and mapping module is used to match the corresponding unloading tray number and the slot coordinates in the tray for each chip unit according to the quality grade label and the preset physical sorting rules, and generate sorting destination instructions. The archive recording module is used to obtain the current timestamp, associate and store the wafer identification ID, the quality grade label, the classification confidence level, the sorting destination instruction and the current timestamp in the archive database, and generate an independent archive record; The results reporting module is used to encapsulate and upload the quality grade label and the sorting destination instruction, generate a wafer quality grade distribution heat map based on the quality grade label, and overlay the sorting destination instruction on the wafer quality grade distribution heat map to generate a visual classification result report.
