Wafer testing machine and method for training artificial intelligence model to test wafer

By training the artificial intelligence model on the wafer testing machine and using the measurement values ​​of the target die and its adjacent reference die to generate training data, it solves the difficulty of fault identification caused by process variation in traditional IDDQ testing and achieves More accurate and faster fault detection.

CN113406464BActive Publication Date: 2024-09-24REALTEK SEMICON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010186415.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-17
Publication Date
2024-09-24
Estimated Expiration
2040-03-17

AI Technical Summary

Technical Problem

The traditional steady-state supply current (IDDQ) test cannot accurately determine whether different dies on the same wafer are faulty due to process variations in complementary metal oxide semiconductor circuits, and a single IDDQ threshold cannot meet actual needs. .

Method used

Design a wafer testing machine that includes measurement equipment, databases, storage circuits and computing circuits. By training the artificial intelligence model, the measurement values ​​of the target die and its adjacent reference die are used to generate primary and auxiliary training data. Training Artificial intelligence model to determine whether the target die is faulty.

Benefits of technology

By considering the grains around the target grain and using artificial intelligence models to assist in judgment, faulty grains can be identified more accurately and quickly, reducing the misjudgment rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113406464B
    Figure CN113406464B
Patent Text Reader

Abstract

The present disclosure relates to a wafer testing machine and a method for training an artificial intelligence model to test a wafer. The present case discloses a wafer testing machine and a method for training an artificial intelligence model to test a wafer. A wafer comprises a plurality of grains. The method comprises: determining a target grain from the grains; selecting a plurality of reference grains adjacent to the target grain according to the target grain and a preset range; generating a main training data, the main training data comprising a measurement value of the target grain and the measurement values ​​of the reference grains; generating an auxiliary training data, the auxiliary training data indicating that the reference grains are a qualified grain or an unqualified grain; and training the artificial intelligence model with the main training data and the auxiliary training data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This case concerns semiconductor manufacturing, and in particular, the testing of wafers. Background Art

[0002] In complementary metal oxide semiconductor (CMOS) circuit testing, steady-state supply current (Supply Current Quiescent, IDDQ) is a common feature item used to detect whether a die is faulty. For a properly functioning die, the current variation between different test patterns will be very small, that is, the IDDQ measurement value for different test patterns should be close to the IDDQ average value of a single die circuit. Traditionally, a single IDDQ threshold is used to determine whether a die is faulty.

[0003] However, in CMOS circuits, the leakage current of transistors accounts for a major part of IDDQ, and process variation will lead to leakage current variation. Therefore, due to the influence of process variation, different dies on the same wafer will have IDDQ value variation. In other words, using a single IDDQ threshold in traditional IDDQ testing does not meet actual needs. Summary of the invention

[0004] In view of the shortcomings of the prior art, one purpose of this case is to provide a wafer testing machine and a method for training an artificial intelligence model to test wafers, so as to solve the problems encountered by the prior art.

[0005] The present case discloses a wafer testing machine for testing a wafer including a plurality of dies. The wafer testing machine includes a measuring device, a database, a storage circuit, and a computing circuit. The measuring device is used to measure the dies to obtain a measurement value of each dies. The database is used to store the measurement values. The storage circuit is used to store a plurality of program instructions or program codes, and to store an artificial intelligence model for testing the wafer. The computing circuit is coupled to the storage circuit and the database, and is used to execute the program instructions or program codes to perform the following steps to train the artificial intelligence model: determine a target die from the dies; select a plurality of reference dies adjacent to the target die according to the target die and a preset range; generate a main training data, the main training data including the measurement value of the target die and the measurement value of the reference die; generate an auxiliary training data, the auxiliary training data indicating that the reference die are a qualified die or an unqualified die; and train the artificial intelligence model with the main training data and the auxiliary training data.

[0006] The present case also discloses a method for training an artificial intelligence model to test a wafer. The wafer includes a plurality of grains. The method includes: determining a target grain from the grains; selecting a plurality of reference grains adjacent to the target grain according to the target grain and a preset range; generating a main training data, the main training data including a measurement value of the target grain and the measurement values ​​of the reference grains; generating an auxiliary training data, the auxiliary training data indicating whether the reference grains are a qualified grain or an unqualified grain; and training the artificial intelligence model with the main training data and the auxiliary training data.

[0007] The wafer testing machine and the method of training an artificial intelligence model to test wafers in this case take into account the die surrounding the target die, and use the artificial intelligence model to help determine whether the target die is faulty, so compared to traditional technologies, the faulty die can be found more accurately and quickly.

[0008] The features, implementation and effects of the present invention are described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 A functional block diagram of an embodiment of the wafer testing machine of the present invention;

[0010] Figure 2 A functional block diagram of an embodiment of the artificial intelligence model and training data of the present case;

[0011] Figure 3 A flowchart of an embodiment of a method for training an artificial intelligence model to test wafers in the present case;

[0012] Figure 4 Showing a wafer containing a plurality of dies;

[0013] Figure 5 for Figure 2 A schematic diagram of the internal architecture of the artificial intelligence model;

[0014] Figure 6 A flowchart of wafer testing based on the artificial intelligence model in this case; and

[0015] Figure 7 A flowchart of another embodiment of a method for training an artificial intelligence model to test wafers in the present case. DETAILED DESCRIPTION

[0016] The technical terms used in the following description refer to the customary terms in the technical field. If some terms are explained or defined in this specification, the interpretation of these terms shall be based on the explanation or definition in this specification.

[0017] The disclosure of this case includes a wafer tester and a method for training an artificial intelligence model to test wafers. Since some of the components included in the wafer tester of this case may be known components individually, the details of the known components will be omitted in the following description without affecting the full disclosure and feasibility of the device embodiment. In addition, part or all of the process of the method for training an artificial intelligence model to test wafers in this case may be in the form of software and / or firmware, and can be executed by the wafer tester of this case or its equivalent device. Without affecting the full disclosure and feasibility of the method embodiment, the description of the following method embodiment will focus on the step content rather than the hardware.

[0018] Figure 1 The functional block diagram of an embodiment of the wafer tester of the present case. The wafer tester 100 includes a measuring device 110, a database 120, a computing circuit 130, and a storage circuit 140. A wafer includes a plurality of dies. Before being tested by the wafer tester 100, each die on the wafer has been tested by other testers and determined to be a passed die or a failed die. A passed die is a die that can operate normally, and a failed die is a die that cannot operate normally. The measuring device 110 measures the target characteristics of the passed die to obtain a measurement value for each passed die. In some embodiments, the target characteristic can be the aforementioned steady-state power supply current, and the measurement value is the current value of the steady-state power supply current. In other embodiments, the target characteristic can be a ring oscillator frequency, a thermal meter value, or a voltage sensor value, and the corresponding measurement values ​​are frequency, temperature, and voltage, respectively. Similar to the steady-state power supply current, the ring oscillator frequency, the calorimeter value, or the voltage sensor value can also be used as a characteristic item to determine whether the die is faulty. A person skilled in the art knows how to measure the steady-state power supply current, the ring oscillator frequency, the calorimeter value, and the voltage sensor value of the die, so the structure and operation details of the measuring device 110 are not described in detail. The following description takes the steady-state power supply current as an example, but the present invention is not limited to the steady-state power supply current.

[0019] The database 120 stores the measurement values ​​measured or output by the measuring device 110, and stores data indicating whether the die is qualified or unqualified. The storage circuit 140 can be implemented by a volatile memory and / or a non-volatile memory, and the storage circuit 140 stores a plurality of program instructions or program codes, and stores an artificial intelligence model (AI model) used to test the wafer. The computing circuit 130 can be a circuit or electronic component with program execution capability, such as a central processing unit, a microprocessor, a microprocessing unit, or a graphics processing unit (GPU), which trains the artificial intelligence model by executing the program instructions or program codes. Once the artificial intelligence model training is completed, the wafer testing machine 100 can use the artificial intelligence model to determine whether a qualified die is faulty.

[0020] Figure 2 A functional block diagram of an embodiment of the artificial intelligence model and training data of this case. Figure 3 This is a flowchart of an embodiment of the method for training an artificial intelligence model to test wafers. Please refer to Figures 1 to 3 .

[0021] First, the calculation circuit 130 determines a target die from a plurality of dies on a wafer, and then selects a plurality of reference dies adjacent to the target die according to the target die and a preset range (step S310). Figure 4 , Figure 4 A wafer 400 is shown to include a plurality of dies. Die 410, die 420, and die 430 may be the aforementioned target dies, and region 415, region 425, and region 435 may be the aforementioned preset ranges. Figure 4 In the example of FIG. 1 , the preset range is a 7x7 rectangle (including a maximum of 49 dies) and the target die is located at the center of the preset range; however, the preset range of the present case is not limited to a 7x7 rectangle, and may be other sizes and shapes, such as a 5x5 rectangle or a 3x10 rectangle. Furthermore, the target die is not limited to being located at the center of the preset range.

[0022] Figure 4 Each block represented by grayscale (excluding white) in the figure represents a die, and the blank area (including but not limited to white blocks) represents that there is no die there or the die there is an unqualified die. For example, area 415 includes 4 unqualified dies and 45 qualified dies, area 425 located at the edge of wafer 400 includes 3 unqualified dies and 33 qualified dies, and area 435 includes 5 unqualified dies and 44 qualified dies. The grayscale value can represent the size of the measured value of the target characteristic of the die. For example, the grayscale value can be proportional to the measured value.

[0023] After step S310 is completed (i.e., after the target die and the plurality of reference die are determined), the calculation circuit 130 generates the main training data 202 according to the measurement values ​​of the target die and the reference die (step S320). That is, the main training data 202 includes the measurement values ​​of the target die and the measurement values ​​of the reference die. For example, the main training data 202 corresponding to the region 415 can be expressed as (where I (x,y) is the measured value of the target grain, x and y are integers):

[0024]

[0025] Since the unqualified die has no measurement value, step S320 also includes the following sub-step: taking the average of the adjacent qualified die measurement values ​​as the missing measurement value (step S325). In some embodiments, the calculation circuit 130 calculates the average of the eight surrounding measurement values ​​of the missing measurement value, and takes the average as the missing measurement value. For example,

[0026] Among them I (p,q) is the missing measurement value (p and q are integers representing the coordinates of the unqualified die), and when there are less than eight adjacent qualified die to the unqualified die, only the average of the measurement values ​​of the adjacent qualified die is calculated. It should be noted that, because the target die is the target of the prediction, the calculation circuit 130 will regard the measurement value of the target die as the missing measurement value, and take the average of the measurement values ​​of the reference die around the target die as the measurement value of the target die.

[0027] Next, the calculation circuit 130 generates auxiliary training data 204 according to whether the target die and the reference die are qualified die (step S330). The auxiliary training data 204 indicates whether the reference die are qualified die or unqualified die. For example, the auxiliary training data 204 corresponding to the area 415, the area 425 and the area 435 are as follows ("1" represents an unqualified die):

[0028] 415:

[0029] 425:

[0030] 435:

[0031] After the main training data 202 and the auxiliary training data 204 are generated, the computing circuit 130 trains the artificial intelligence model 210 with the main training data 202 and the auxiliary training data 204 (step S340), that is, the main training data 202 and the auxiliary training data 204 are input into the artificial intelligence model 210. The artificial intelligence model 210 includes a feature extraction algorithm 212 and a machine learning algorithm model 214.

[0032] The feature extraction algorithm 212 is used to select representative feature sets in the main training data 202 and the auxiliary training data 204. In addition to reducing the over-fitting phenomenon, the feature extraction algorithm 212 can also reduce the complexity of the mathematical model. The document "LC Molina, L. Belanche, A. Nebot (2002). Feature selection algorithms: a survey and experimental evaluation. 2002 IEEE International Conference on Data Mining, 2002. Proceedings." discusses several examples of feature extraction algorithms. Those with ordinary knowledge in the technical field can refer to the document to complete the feature extraction algorithm 212, so it will not be repeated here.

[0033] The machine learning algorithm model 214 is used to process the feature value group generated by the feature extraction algorithm 212. The machine learning algorithm used in this case may include a Bayesian Ridge Regression algorithm, a Gaussian Process Regression algorithm, a scalable variational Gaussian process algorithm, or a Convolutional Neural Network (CNN) algorithm. Because the Convolutional Neural Network algorithm includes the function of feature extraction, when the algorithm used by the machine learning algorithm model 214 is the Convolutional Neural Network algorithm, the feature extraction algorithm 212 can be omitted (that is, the feature extraction algorithm 212 is integrated into the Convolutional Neural Network algorithm).

[0034] Figure 5 for Figure 2 A schematic diagram of one internal architecture of an artificial intelligence model 210 (e.g., a deep learning algorithm model). Figure 5In the embodiment of the invention, the artificial intelligence model 210 is implemented as a deep learning algorithm model, wherein the deep learning algorithm model includes a convolutional neural network algorithm model 216 and a mixed density neural network algorithm model 218. The number of filters in each convolutional layer of the convolutional neural network algorithm model 216 can be set arbitrarily. Figure 2 ,because Figure 5 The deep learning algorithm model uses the convolutional neural network algorithm model 216, so Figure 5 The embodiment can be omitted Figure 2 Feature extraction algorithm 212.

[0035] The mixture density neural network (MDNN) algorithm model 218 is used to predict the complete probability distribution. The general structure of the mixture density neural network algorithm is the same as that of the general multilayer perceptron, but in addition to the fully connected layer, the mixture density neural network algorithm is also connected to three independent layers at the end, namely "Alpha (α)", "Mu (μ)" and "Sigma (σ)". In this case, "Alpha (α)" can be ignored. The loss function used by the mixture density neural network algorithm in this case is shown in the equation below. Those with general knowledge in this technical field can refer to the document "Bishop, Christopher M. (1994). Mixture density networks. Technical Report. Aston University, Birmingham." and the loss function below to complete the mixture density neural network algorithm model 218.

[0036]

[0037] The main training data 202 and the auxiliary training data 204 are fed into the convolution layer 510 of the convolutional neural network algorithm model 216 of the artificial intelligence model 210, and are expanded into a one-dimensional tensor after being processed by the convolution layer 510. The one-dimensional tensor is then input into the fully connected layer 530 of the mixed density neural network algorithm model 218, and then divided into two independent fully connected layers: a fully connected layer (μ) 540 and a fully connected layer (σ) 550. In some embodiments, if the main training data 202 and the auxiliary training data 204 are each an NxN matrix (N is a positive integer), the convolution layer 510 includes 12 convolution kernels, and the feature map outputted therefrom is a 12 N'xN' matrix (N'≤N); thus, the dimension of the one-dimensional tensor is 12xN'xN', the dimension of the fully connected layer 530 is (12xN'xN')x512, and the dimensions of the fully connected layer (μ) 540 and the fully connected layer (σ) 550 are both 512x256. A person having ordinary knowledge in the art can implement the artificial intelligence model 210 according to the above embodiments.

[0038] See also Figure 3 After step S340 is completed, the calculation circuit 130 selects the next target die on the current wafer and then executes steps S310 to S340 again until all the dies on the current wafer have been used as target dies. After all the dies on the current wafer have been used as target dies, the calculation circuit 130 can select the measurement value of the next wafer from the database 120 to continue executing steps S310 to S340.

[0039] During the training process, the artificial intelligence model 210 uses the measured value of the target grain as the target average value to continuously adjust the parameters. After training, the artificial intelligence model 210 can predict the threshold range of the measured value of the target grain, that is, the average value μ±set coefficient x standard deviation σ, where the set coefficient is a parameter that can adjust the threshold range. When the set coefficient is 1, μ-σ is the lower threshold, and μ+σ is the upper threshold. If the measured value of the target grain is greater than or equal to μ-σ and less than or equal to μ+σ, the target grain is determined to be a non-faulty grain.

[0040] See also Figure 6 , Figure 6This is a flow chart of wafer testing based on an artificial intelligence model in this case. First, the measuring device 110 measures the target characteristics of a plurality of grains of the wafer to obtain the measurement value of each qualified grain (step S610). Next, the calculation circuit 130 determines a target grain, and selects a plurality of reference grains adjacent to the target grain according to the target grain and a preset range (step S620). Step S620 is similar to step S310, so it is not repeated. Next, the calculation circuit 130 generates main test data (step S630), and step S630 includes sub-step S635. The format of the main test data is the same as the main training data 202. Since steps S630 and S635 are similar to steps S320 and S325, respectively, they are not repeated. Next, the calculation circuit 130 generates auxiliary test data (step S640), and the format of the auxiliary test data is the same as the auxiliary training data 204. Since step S640 is similar to step S330, it is not repeated. Next, the computing circuit 130 inputs the main test data and the auxiliary test data into the trained artificial intelligence model 210 to determine whether the target die is faulty (step S650). The artificial intelligence model 210 predicts the threshold range of the target die's measurement value with the reference die's measurement value, and then determines whether the target die's measurement value falls within the threshold range. If so, the artificial intelligence model 210 (or computing circuit 130) determines that the target die is not faulty; if not, the artificial intelligence model 210 (or computing circuit 130) determines that the target die is faulty.

[0041] Figure 7 This is a flow chart of another embodiment of the method for training an artificial intelligence model to test wafers in this case. Step S710, step S720, step S725, and step S730 are respectively Figure 3 Step S310, step S320, step S325, and step S330 are similar, so they are not repeated here. The first auxiliary training data of step S730 is the auxiliary training data of step S330. Figure 7 In the embodiment of the present invention, the calculation circuit 130 further generates second auxiliary training data (step S740), the second auxiliary training data indicating whether the target die and / or the reference die are located at the edge of the wafer, or indicating whether the reference die exist. Figure 4 , because both region 415 and region 435 contain NxN grains (qualified or unqualified), the second auxiliary training data corresponding to region 415 and region 435 can be expressed as (“0” means there is a grain at that position):

[0042] 415:

[0043] 435:

[0044] For another example, because the region 425 includes the inside and outside of the wafer 400, the second auxiliary training data corresponding to the region 425 can be represented as follows (“0” represents that there is a die at the location, and “1” represents that there is no die at the location):

[0045] 425:

[0046] As shown in the above example, when the target die and / or the reference die are located at the edge of the wafer (as shown in area 425), the second auxiliary training data includes two values ​​("0" and "1"); and when the target die and / or the reference die are not located at the edge of the wafer (as shown in area 415 and area 435), the second auxiliary training data includes only one value ("0").

[0047] After the main training data, the first auxiliary training data, and the second auxiliary training data are generated, the computing circuit 130 trains the artificial intelligence model 210 with the main training data, the first auxiliary training data, and the second auxiliary training data (step S750 ).

[0048] In another embodiment, Figure 3 The auxiliary training data may indicate whether the reference dies are qualified dies or unqualified dies, and / or indicate whether the target die and / or the reference dies are located at the edge of the wafer. Figure 4 , the auxiliary training data corresponding to the area 415 and the area 435 can be expressed as follows (“0” represents that the position is a qualified grain, and “1” represents that the position is an unqualified grain or there is no grain):

[0049] 415:

[0050] 435:

[0051] For another example, the auxiliary training data corresponding to region 425 can be expressed as:

[0052] 425:

[0053] As shown in the above example, this embodiment regards the position without a grain as an unqualified grain. In other words, the auxiliary training data of this embodiment is equivalent to Figure 7 The union of the first auxiliary training data and the second auxiliary training data of an embodiment.

[0054] Because the process conditions of adjacent dies on the wafer are similar, judging by the dies in a local area rather than all the dies in the entire wafer can more accurately obtain the threshold of the measurement value of the target characteristic and reduce the probability of misjudgment. Figure 4The IDDQ of the die 410 may not exceed the conventional IDDQ threshold, but compared with the surrounding die (i.e., the reference die in the region 415), its IDDQ value may still fall outside the threshold range (i.e., the average value μ±the set coefficient x the standard deviation σ). It is found through experiments that such a die 410 is very likely to be a faulty die, but the conventional test method cannot detect that the die 410 is a faulty die.

[0055] As shown in the above examples, the main training data and the auxiliary training data are presented in the form of a matrix or array, and the relative positions of the elements of the matrix or array reflect the relative positions of the target die and the reference die on the wafer. In other words, the elements of the matrix or array are arranged according to the positions of the target die and the reference die on the wafer. In this way, the wafer can be regarded as an image (each die represents a pixel), and the elements of the main training data and the auxiliary training data can be simulated as the pixel values ​​of the image.

[0056] In some embodiments, the main training data and the auxiliary training data correspond to a single voltage and temperature combination, that is, the main training data and the auxiliary training data are measured under a single voltage and temperature combination. However, because the measured value of the die and whether the die is qualified depend on the voltage and temperature, in other embodiments, the main training data and the auxiliary training data can correspond to a plurality of voltage and temperature combinations. For example, if there are four voltage-temperature combinations (e.g., two temperatures with two voltages), then Figure 3 and Figure 7 In the embodiment of the present invention, the training data actually includes four combinations of main training data and auxiliary training data, each combination corresponding to a combination of voltage and temperature.

[0057] In summary, this case takes into account the dies around the target die, and uses an artificial intelligence model to assist in determining whether the target die is faulty, which can more accurately and quickly find the faulty die. Furthermore, experiments have found that training the artificial intelligence model with the main training data and the auxiliary training data can obtain more accurate results than training the artificial intelligence model with the main training data alone.

[0058] Since those with ordinary knowledge in the art can understand the implementation details and variations of the method embodiment of the present invention through the disclosure of the device embodiment of the present invention, in order to avoid redundancy, repeated descriptions are omitted without affecting the disclosure requirements and feasibility of the method embodiment. Please note that the shapes, sizes, proportions, and order of steps of the components in the above-mentioned figures are only for illustration and are provided for those with ordinary knowledge in the art to understand the present invention, and are not intended to limit the present invention.

[0059] Although the embodiments of the present case are described above, these embodiments are not intended to limit the present case. A person with ordinary knowledge in the technical field may make changes to the technical features of the present case based on the explicit or implicit content of the present case. All these changes may fall within the scope of patent protection sought in the present case. In other words, the scope of patent protection in the present case shall be subject to the scope of the patent application defined in this specification.

[0060]

Explanation of symbols

[0061] 100: Wafer testing machine

[0062] 110: Measuring equipment

[0063] 120: Database

[0064] 130: Computing Circuit

[0065] 140: Storage circuit

[0066] 400: Wafer

[0067] 410,420,430: Grain

[0068] 415,425,435: Area

[0069] 202: Main training data

[0070] 204: Auxiliary training data

[0071] 210: Artificial Intelligence Model

[0072] 212: Feature Extraction Algorithm

[0073] 214: Machine Learning Algorithm Model

[0074] 216: Convolutional Neural Network Algorithm Model

[0075] 218: Mixed Density Neural Network Algorithm Model

[0076] 510: Convolutional layer

[0077] 530: Fully connected layer

[0078] 540: fully connected layer (μ)

[0079] 550: fully connected layer (σ)

[0080] S310~S340, S610~S650, S710~S750: steps.

Claims

1. A wafer testing machine for testing a wafer containing a plurality of dies, the wafer testing machine comprising: A measuring device is used to measure the dies to obtain a measurement value of each die; A database for storing the measured values; a storage circuit for storing a plurality of program instructions or program codes and an artificial intelligence model for testing the wafer; and A computing circuit, coupled to the storage circuit and the database, is used to execute the program instructions or program codes to perform the following steps to train the artificial intelligence model: Determine a target die from the die; Selecting a plurality of reference dies adjacent to the target die according to the target die and a preset range; Generate a main training data, the main training data including the measurement value of the target die and the measurement values ​​of the reference die; generating auxiliary training data, wherein the auxiliary training data indicates that the reference dies are a qualified die or a failed die; and The artificial intelligence model is trained with the main training data and the auxiliary training data.

2. The wafer testing machine according to claim 1, wherein the artificial intelligence model comprises a feature extraction algorithm and a machine learning algorithm model.

3. The wafer testing machine according to claim 2, wherein the machine learning algorithm model is selected from the group consisting of a Bayesian Ridge Regression algorithm, a Gaussian Process Regression algorithm, and a scalable variational Gaussian process algorithm.

4. The wafer testing machine according to claim 1, wherein the artificial intelligence model is a deep learning algorithm model, and the deep learning algorithm model includes a convolutional neural network (Convolutional Neural Network) algorithm model and a mixture density neural network (Mixture Density Neural Networks, MDNN) algorithm model.

5. The wafer testing machine according to claim 1, wherein the auxiliary training data is a first auxiliary training data, and the calculation circuit further performs the following steps: generating a second auxiliary training data, the second auxiliary training data indicating whether at least one of the reference dies and the target die exists; and The artificial intelligence model is trained using the second auxiliary training data together with the main training data and the first auxiliary training data. 6 . The wafer testing machine according to claim 1 , wherein the auxiliary training data further indicates whether at least one of the target die and the reference die is located at an edge of the wafer. 7 . The wafer testing machine according to claim 1 , wherein the main training data and the auxiliary training data correspond to a combination of a temperature and a voltage. 8 . The wafer testing machine according to claim 1 , wherein the main training data and the auxiliary training data correspond to a plurality of combinations of a plurality of temperatures and a plurality of voltages.

9. The wafer testing machine according to claim 1, wherein the main training data and the auxiliary training data are a matrix or an array, and the relative positions of a plurality of elements of the matrix or the array correspond to the relative positions of the target die and the reference die on the wafer.

10. A method for training an artificial intelligence model to test a wafer, the wafer comprising a plurality of dies, the method comprising: Determine a target die from the die; Selecting a plurality of reference dies adjacent to the target die according to the target die and a preset range; Generate a main training data, the main training data including a measurement value of the target die and the measurement values ​​of the reference dies; generating auxiliary training data, wherein the auxiliary training data indicates that the reference dies are a qualified die or a failed die; and The artificial intelligence model is trained with the main training data and the auxiliary training data.