Method and device for optimizing wafer inspection configuration parameters

Optimizing the parameters of the illumination pupil and collection pupil through rasterization and imaging models solves the problem of limited freedom in traditional pupil optimization and achieves efficient contrast improvement for node defect detection below 45nm, which is suitable for integrated circuit manufacturing. complex defect detection.

CN118096942BActive Publication Date: 2024-09-06HUAZHONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410209060.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-26
Publication Date
2024-09-06
Estimated Expiration
2044-02-26

AI Technical Summary

Technical Problem

The traditional rules of illumination pupil and collection pupil have limited freedom in selection and optimization in wafer defect detection, making it difficult to effectively improve the contrast and signal-to-noise ratio of defect signals, especially in integrated circuit manufacturing at nodes below 45nm, where defect size Less than 20nm, resulting in increased detection challenges.

Method used

By rasterizing the illumination pupil and collection pupil, an imaging model is established, the defect-free and defective near-field distributions are solved based on the light source point information, and the parameters of the illumination pupil and collection pupil are optimized to improve the contrast of the defect signal, using The iterative optimization process updates the variable matrix until a preset threshold is met or the maximum number of iterations is reached.

Benefits of technology

It improves the freedom of optimization of the illumination pupil and collection pupil, adapts to different defect types, achieves the best detection contrast, avoids the problem of undetected systemic defects, shortens the optimization calculation time, and improves detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118096942B
    Figure CN118096942B
Patent Text Reader

Abstract

The present application belongs to the field of semiconductor manufacturing technology, and specifically discloses a method and device for optimizing wafer detection configuration parameters, the method comprising: rasterizing the graphics of the illumination pupil and the collection pupil respectively to obtain a first two-dimensional distribution matrix and a second two-dimensional distribution matrix; determining the light source point information of the illumination pupil based on the polarized illumination method and the first two-dimensional distribution matrix; establishing a defect-free structure model and a defect structure model of the target defect type, and solving the defect-free near-field distribution set and the defect near-field distribution set of the illumination pupil in combination with the light source point information; initializing a bright field microscopic imaging model, calculating a first spatial image of a defect-free wafer and a second spatial image of a defective wafer; determining evaluation indicators and evaluation functions based on the first spatial image and the second spatial image; executing an iterative optimization process based on the selected optimization object and optimization method, and updating the variable matrix of the optimization object; and outputting the optimized optimization object when the updated evaluation indicators meet the iteration conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of semiconductor manufacturing technology, and more specifically, relates to a method and device for optimizing wafer detection configuration parameters. Background Art

[0002] For semiconductor manufacturing companies, yield is the key to determining whether the production line can proceed smoothly according to the production cycle and generate good profits. In the lithography process, wafer defect detection is crucial to improving the yield. Although the critical dimension (Critical Dimension, CD) based on scanning electron microscopy (SEM) has a good detection accuracy in wafer defect detection, in order to meet the needs of fast and non-destructive detection in the semiconductor integrated circuit production and manufacturing process, the main force of wafer lithography process defect detection is still based on optical bright field detection equipment. With the reduction of the critical size of integrated circuit (IC) devices, the size of defects has also decreased. For nodes below 45nm, the size of critical defects is already less than 20nm, which is a challenge for current wafer defect detection equipment.

[0003] In principle, wafer defect detection is a process of generating and collecting scattered signals from defects. A lens system with a high numerical aperture (NA) can collect more signals from defects. The performance of bright field inspection equipment depends on the complex optical conditions of the illumination and collection systems. The parameters of the illumination system include wavelength, illumination polarization, illumination pupil, etc., and the parameters of the collection system include collection pupil, defocus, polarization filtering, etc.

[0004] For these complex detection parameters, a detection recipe will be formed to cooperate with the use of the detection equipment. The wafer bright field detection equipment uses a wide-band light source system and channels of different modes of collecting signals to cooperate with each other to meet the wafer defect detection for different process layers and process nodes in the integrated circuit manufacturing plant (Fab). For defect detection in the lithography process, engineers need to screen out the detection recipe for key defects through a large number of experiments. For some specific defect types, the detection of these defects will be optimized in a targeted manner, that is, the contrast (Contrast) or signal-to-noise ratio (SNR) of the defect will be enhanced to produce an optimized detection recipe. At the same time, due to the variety of wafer defect types, it is difficult to use a single detection recipe to complete the defect detection work in the entire lithography process, and the defect detection results of different detection recipes are also quite different. Quickly and efficiently formulating detection recipes for key or specific defect types is crucial to ensure the smooth progress of the wafer manufacturing cycle and achieve economic benefits.

[0005] Regarding the research on relevant parameters in the detection recipe (wavelength, illumination polarization, illumination pupil, collection pupil, defocus, polarization filtering, etc.), the relevant literature (Fujii T, Konno Y, Okada N, Yoshino K and Yamazaki Y2009 Development of optical simulation tool for defect inspection Proc. SPIE7272 72721A) uses a modeling method to study the influence of wavelength on the SNR of different types of defect detection; the experiments in the relevant literature (Astudy of the defect detection technology using the optic simulation for these microconductor device) verify that polarization and the traditional regular illumination pupil and collection pupil patterns can improve the SNR of defect signals.

[0006] The traditional regular illumination pupil and collection pupil are determined by regular shapes and sizes, and the freedom of selection and optimization of the illumination pupil and the collection pupil is greatly limited, and the advantage of changing the illumination pupil and the collection pupil to enhance the defect detection signal cannot be fully utilized. Summary of the invention

[0007] In view of the defects of the related art, the purpose of the present application is to provide a method and device for optimizing wafer inspection configuration parameters, aiming to solve the problem that the selection and optimization freedom of the traditional regular illumination pupil and collection pupil are limited.

[0008] In a first aspect, an embodiment of the present application provides a method for optimizing wafer detection configuration parameters, including:

[0009] rasterizing the graphics of the illumination pupil and the collection pupil respectively to obtain a first two-dimensional distribution matrix and a second two-dimensional distribution matrix, initializing a first variable matrix corresponding to the illumination pupil based on the intensity distribution of the illumination pupil, and initializing a second variable matrix corresponding to the collection pupil based on whether the illumination pupil is within the graphics of the collection pupil;

[0010] Based on the polarized illumination method and the first two-dimensional distribution matrix, determining light source point information of the light source point corresponding to each grid point after rasterization;

[0011] Establish a defect-free structure model and a defect structure model of the target defect type, and solve the defect-free near-field distribution set and defect near-field distribution set corresponding to the illumination pupil in combination with the light source point information;

[0012] Initializing a bright field microscopic imaging model, and calculating a first aerial image of a non-defective wafer and a second aerial image of a defective wafer;

[0013] determining an evaluation index based on the first aerial image and the second aerial image, and determining an evaluation function based on the evaluation index;

[0014] An optimization object and an optimization method are selected, an iterative optimization process is performed based on the selected optimization object and optimization method, and a variable matrix of the optimization object and an evaluation index under the updated variable matrix are updated; the optimization object is an illumination pupil and / or a collection pupil;

[0015] When the updated evaluation index meets the preset threshold or the number of iterations reaches the maximum number, the optimized graph of the optimization object is determined by the variable matrix of the optimization object updated by the last iterative optimization process.

[0016] In a second aspect, an embodiment of the present application provides a device for optimizing wafer detection configuration parameters, including:

[0017] a rasterization unit, used to rasterize the graphics of the illumination pupil and the collection pupil respectively to obtain a first two-dimensional distribution matrix and a second two-dimensional distribution matrix, initialize a first variable matrix corresponding to the illumination pupil based on the intensity distribution of the illumination pupil, and initialize a second variable matrix corresponding to the collection pupil based on whether the illumination pupil is within the graphics of the collection pupil;

[0018] A light source point information determination unit, used to determine the light source point information of the light source point corresponding to each grid point after rasterization based on the polarized illumination mode and the first two-dimensional distribution matrix;

[0019] A near-field distribution determination unit is used to establish a defect-free structure model and a defect structure model of the target defect type, and solve a defect-free near-field distribution set and a defect near-field distribution set corresponding to the illumination pupil in combination with light source point information;

[0020] An aerial image determination unit, used to initialize a bright field microscopic imaging model and calculate a first aerial image of a non-defective wafer and a second aerial image of a defective wafer;

[0021] An evaluation index determination unit, configured to determine an evaluation index based on the first aerial image and the second aerial image, and determine an evaluation function based on the evaluation index;

[0022] An iterative optimization unit, used for selecting an optimization object and an optimization method, executing an iterative optimization process based on the selected optimization object and optimization method, updating a variable matrix of the optimization object and an evaluation index under the updated variable matrix; the optimization object is an illumination pupil and / or a collection pupil;

[0023] The optimization output unit is used to determine the optimized graph of the optimization object with the variable matrix of the optimization object updated by the last iterative optimization process when the updated evaluation index meets the preset threshold or the number of iterations reaches the maximum number.

[0024] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one memory for storing programs; and at least one processor for executing the programs stored in the memory, wherein when the programs stored in the memory are executed, the processor is used to execute the method described in the first aspect or any possible implementation of the first aspect.

[0025] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a processor, the processor executes the method described in the first aspect or any possible implementation of the first aspect.

[0026] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a processor, the processor executes the method described in the first aspect or any possible implementation manner of the first aspect.

[0027] In general, the above technical solutions conceived by this application have the following beneficial effects compared with the related art:

[0028] (1) Compared with the traditional selection of illumination pupil and collection pupil, the embodiment of the present application utilizes the method of establishing an imaging model to rasterize the illumination pupil and the collection pupil, thereby improving the optimization freedom of the illumination pupil and the collection pupil. It also provides a variety of optimization process schemes for the illumination pupil and the collection pupil, which can adapt to the optimization of different scenes. These optimization process schemes can improve the contrast of defect signals to different degrees. By adopting different optimization processes for different defects, the illumination pupil and collection pupil shapes that are most suitable for a specified defect type can be selected to achieve the best detection contrast for the specified defect type.

[0029] (2) During the optimization process, the defect-free spatial image under the same illumination pupil and collection pupil conditions is also calculated as a reference to ensure the optimization direction of the optimization process, that is, the defect signal contrast in the defective image is always enhanced. It can be seen from the simulation results that the optimized parameter configuration can achieve defect detection without a reference image, avoiding the situation where the traditional die-to-die detection method may cause systematic defects to be undetectable.

[0030] (3) When using the imaging model for optimization, the near-field information only needs to be calculated once based on the initial discretized light source information. During the optimization process, there is no need to repeatedly calculate the near-field of the wafer surface due to changes in lighting conditions. This greatly shortens the calculation time of the imaging model during optimization and improves optimization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the present application or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0032] Figure 1 It is one of the flow diagrams of the method for optimizing wafer detection configuration parameters provided in the embodiment of the present application;

[0033] Figure 2 It is a schematic diagram of the principle of imaging of a wafer inspection device provided in an embodiment of the present application;

[0034] Figure 3 It is a flow chart of the imaging model provided in the embodiment of the present application;

[0035] Figure 4 This is the second flow chart of the method for optimizing wafer detection configuration parameters provided in the embodiment of the present application;

[0036] Figure 5 It is a schematic diagram of an initial illumination pupil, a defect-free wafer binary image, an initial collection pupil and its imaging results provided by an embodiment of the present application;

[0037] Figure 6 It is a schematic diagram of an initial illumination pupil, a defective wafer binary image, an initial collection pupil and its imaging results provided by an embodiment of the present application;

[0038] Figure 7 is a schematic diagram of an imaging structure when only the illumination pupil is optimized provided in an embodiment of the present application;

[0039] Figure 8 is a schematic diagram of an imaging structure when only the collection pupil is optimized provided in an embodiment of the present application;

[0040] Fig. 9 This is one of the schematic diagrams of the imaging structure when optimizing the illumination pupil and the collection pupil provided in the embodiments of the present application;

[0041] Fig.10 This is the second schematic diagram of the imaging structure when optimizing the illumination pupil and the collection pupil provided in the embodiment of the present application;

[0042] Fig.11 It is a structural schematic diagram of a device for optimizing wafer detection configuration parameters provided in an embodiment of the present application;

[0043] Fig.12 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] The term "and / or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an or relationship, for example, A / B means A or B.

[0046] The terms "first" and "second" in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of the objects. For example, a first response message and a second response message are used to distinguish different response messages rather than to describe a specific order of the response messages.

[0047] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0048] Next, the technical solutions provided in the embodiments of the present application are introduced in conjunction with the accompanying drawings.

[0049] Figure 1 This is one of the flow charts of the method for optimizing wafer detection configuration parameters provided in the embodiment of the present application, such as Figure 1 As shown, the method at least includes the following steps:

[0050] S101. Rasterize the graphics of the illumination pupil and the collection pupil respectively to obtain a first two-dimensional distribution matrix and a second two-dimensional distribution matrix, initialize the first variable matrix corresponding to the illumination pupil based on the intensity distribution of the illumination pupil, and initialize the second variable matrix corresponding to the collection pupil based on whether it is within the graphics of the collection pupil.

[0051] Specifically, the image of the illumination pupil is rasterized to obtain a size N s ×N s The first two-dimensional distribution matrix Q of the collected pupil is rasterized to obtain a size N p ×N p The second two-dimensional distribution matrix C of size N is initialized with the intensity distribution of the illumination pupil s ×N s First variable matrix of illumination pupil The value range is between [0,1]; whether the size N is initialized in the collection pupil graph p ×N p Collect the second variable matrix of the pupil When point (i p ,j p ) when collecting pupil patterns, point(i p ,j p ) when collecting pupil patterns, Where N s With N p All are integers.

[0052] S102: Determine light source point information of a light source point corresponding to each grid point after rasterization based on the polarized illumination method and the first two-dimensional distribution matrix.

[0053] Specifically, the polarized illumination mode can be TE, TM, X, Y, Natural and other different modes. After the pattern of the illumination pupil is rasterized, each grid point represents an illumination light source point. According to the polarized illumination mode and the first two-dimensional distribution matrix corresponding to the illumination pupil, the light source point information of the light source point corresponding to each grid point after rasterization is calculated. The light source point information can specifically include the incident angle (θ), azimuth angle, and the Polarization angle (ρ) information, etc.

[0054] S103, establishing a defect-free structure model and a defect structure model of the target defect type, and solving a defect-free near-field distribution set and a defect near-field distribution set corresponding to the illumination pupil in combination with light source point information.

[0055] Specifically, for the target defect type, or the specified defect type, a no defect (No Defect, ND) structural model and a defect (With Defect, WD) structural model are established, and then the light source point information of each light source point obtained in S102 is used to solve the near-field distribution of ND and the near-field distribution of WD of each light source point, thereby obtaining the ND near-field distribution set and the WD near-field distribution set corresponding to the illumination pupil.

[0056] S104 , initializing a bright field microscopic imaging model, and calculating a first aerial image of a non-defective wafer and a second aerial image of a defective wafer.

[0057] Specifically, Figure 2 Schematic diagram of the principle of imaging of the wafer inspection device provided in the embodiment of the present application, such as Figure 2 As shown in FIG. 1 , the bright field microscopy imaging model can be simplified into four modules, namely, light source module 201, wafer module 202, lens module 203 and imaging module 204. Using the parameters and information obtained in S101 to S103, the parameters of the illumination module, wafer module and lens module in the bright field microscopy imaging model are initialized, and the first spatial image I of the ND wafer under the conditions of the illumination pupil Q and the collection pupil C is calculated. ND Second spatial image of WD wafer I WD .

[0058] S105 . Determine an evaluation index based on the first aerial image and the second aerial image, and determine an evaluation function based on the evaluation index.

[0059] Specifically, after obtaining a first aerial image of a defect-free wafer and a second aerial image of a defective wafer, an evaluation index is established according to the difference or contrast between the two, and an evaluation function is determined, the evaluation function aims to maximize the evaluation index or minimize the evaluation index. The evaluation index and the evaluation function are used to characterize the defect signal contrast in the defective image.

[0060] S106, selecting an optimization object and an optimization method, executing an iterative optimization process based on the selected optimization object and optimization method, updating a variable matrix of the optimization object and evaluation indicators under the updated variable matrix; the optimization object includes an illumination pupil and / or a collection pupil.

[0061] Specifically, after determining the optimization target (OT) and the matching optimization method (OM), the iterative optimization process is performed according to the selected optimization target and optimization method, and the variable matrix of the optimization target and the evaluation index under the updated variable matrix are updated. The optimization target here refers to at least one of the illumination pupil and the collection pupil.

[0062] S107. When the updated evaluation index meets the preset threshold or the number of iterations reaches the maximum number, the optimized graph of the optimization object is determined by using the variable matrix of the optimization object updated by the last iterative optimization process.

[0063] Specifically, during the iterative optimization process, the variable matrix of the optimization object is continuously updated. When the updated evaluation index meets the preset threshold or the number of iterations reaches the maximum number, the optimized graph of the optimization object is determined by the variable matrix of the optimization object updated by the last iterative optimization process.

[0064] In some embodiments, establishing a defect-free structure model and a defect structure model of a target defect type in S103 specifically includes:

[0065] A binary image is constructed according to the structure and pattern of the wafer, wherein the dark area of ​​the binary image represents the substrate and the bright area represents the pattern;

[0066] According to the spatial resolution size of the wafer end, the target defect type is divided into a non-defective binary image and a defective binary image;

[0067] Given the substrate material, pattern material, substrate thickness and pattern thickness, the establishment of a defect-free structure model and a defective structure model is completed.

[0068] Specifically, considering that only information such as the illumination intensity in the illumination pupil graph is needed, the construction of the defect-free structure model and the defect structure model can be constructed in the form of a binary image, a grayscale image, etc. In the embodiment of the present application, a binary image is used as an example for explanation. Different grayscales in the grayscale image represent different material properties. Similarly, the first aerial image and the second aerial image can also be displayed in the form of a grayscale image.

[0069] For example, construct the binary graph B nd With B wd The dark area of ​​the binary image represents the base, and the bright area represents the pattern. According to the spatial resolution size of the wafer end, B nd With B wd , and obtain the two-dimensional distribution matrix W nd With W wd , both of size N w ×N w ; Given W nd With W wd The substrate material MB, pattern material MP; substrate thickness DB, pattern thickness DP, complete the establishment of defect-free structure model and defective structure model.

[0070] In some embodiments, solving the defect-free near-field distribution set and the defect near-field distribution set corresponding to the illumination pupil in S103 in combination with the light source point information specifically includes:

[0071] Based on the wavelength and light source information of the target light source point, the defect-free near-field distribution and defect near-field distribution of the wafer surface under the action of the target light source point are solved;

[0072] Based on the defect-free near-field distribution and defect near-field distribution of the wafer surface under the action of each light source point on the illumination pupil, a defect-free near-field distribution set and a defect near-field distribution set corresponding to the illumination pupil are determined.

[0073] Specifically, the ND model and the WD model are established according to the light source point Q (i,j) The wavelength λ and light source point information are used to calculate the defect-free near-field distribution of ND at each light source point. WD defect near-field distribution The size is N w ×N w . Each element is a 2×1 vector:

[0074]

[0075]

[0076] in, The upper index (i, j) of the illumination pupil is rasterized by Q (i,j) The lower index indicator is consistent with that of the point light source Q (i,j) Near-field distribution on the wafer surface under the action of; They are respectively the x- and y-direction components of the electric field at the wafer surface point (x, y) in the global Cartesian coordinate system.

[0077] Calculate each point on the illumination pupil Q point by point to obtain the defect-free near field set NF nd With defective near field NF wd as follows:

[0078]

[0079]

[0080] The defect-free near-field set NF is described in more detail below. nd With defective near field NF wd The calculation process. Figure 3 is a flow chart of the imaging model provided in the embodiment of the present application, such as Figure 3 As shown, bright field microscopy is simplified into four modules: light source module (S), wafer module (W), lens module (P) and imaging module (I).

[0081] First, according to the partial coherence theory of Abbe imaging, the illumination source can be divided into several independent point light sources. The frequency domain distribution of the light source with a wavelength of λ is gridded to obtain a size of N s ×N s The third two-dimensional distribution matrix S of the light source frequency domain, each position (i, j) on the third two-dimensional matrix S represents a plane wave S (i,j) , S (i,j) The relationship between the incident angle and azimuth and its position (i, j) satisfies:

[0082]

[0083]

[0084] in, That is, the difference between the position index i and the midpoint position of the matrix S row (i d Distinguish between positive and negative signs, ceil is rounded up); is the difference between position index j and the midpoint position of the matrix S column (signs are distinguished); step fs The step size for dividing the grid in the frequency domain of the light source. The illumination pupil is defined as the shape of the illumination source frequency domain, which determines the range of the illumination source's incident angle and azimuth.

[0085] Rasterize the illumination pupil to obtain a size of N s ×N s The first two-dimensional distribution matrix Q controls the pixel values ​​at each position of the illumination pupil matrix Q, that is, the shape of the illumination source (incident angle θ and azimuth angle ) and the incident plane wave intensity.

[0086] The polarization angle of the illumination source is ρ (in the global Cartesian coordinate system), which can be calculated according to different polarization illumination methods (TE, TM, X, Y, Natural), and is defined here: ρ Y =0.

[0087] Secondly, according to the structure and pattern of the wafer, a binary image B is constructed. The dark area of ​​the binary image represents the base, and the bright area represents the pattern. According to the spatial resolution size of the wafer end, B is divided to obtain a two-dimensional distribution matrix W with a size of N w ×N w ; Given W base material MB, pattern material MP; base thickness DB, pattern thickness DP. According to the wavelength (λ) and the light source point S (i,j) The incident angle (θ (i,j) ), azimuth Polarization angle (ρ (i,j) ), using approximate or strict calculation methods to obtain the near-field distribution of the wafer surface under the action of the light source point Size is N w ×N w , Each element is a 2×1 vector;

[0088]

[0089] Among them, (x, y) is the index of the physical size of the wafer surface, (i, j) is the light source point S (i,j) The position index in the light source distribution matrix S, They are respectively the x- and y-direction components of the electric field at the wafer surface point (x, y) in the global Cartesian coordinate system.

[0090] Again, according to the lens properties of the imaging system (here refers to the lens with the maximum NA), it can be equivalent to a maximum cutoff frequency of The transfer function of a low-pass filter is the pupil function of the lens:

[0091]

[0092] Among them, f x ,f y is the frequency domain coordinate of the pupil; the frequency domain distribution of the pupil is rasterized to obtain a two-dimensional matrix P with a size of N p ×N p Considering the magnification of the lens for bright field microscopy, the polarization shift of the electric field at high NA, and the wave aberration of the lens, each element of the lens transfer function matrix P is a 3×2 vector, that is:

[0093]

[0094] Among them, (px,py) represents the coordinate index of the two-dimensional matrix P, p xx 、p xy 、p xz 、p yx 、p yy and p yy P (px,py) Components in all directions.

[0095] The collection pupil is defined as the shape of the lens exit pupil. The collection pupil is rasterized to obtain a size of N p ×N p The second two-dimensional distribution matrix C controls the pixel values ​​at each position of the collection pupil matrix C, which can control the transmittance of each frequency component on the imaging plane. Consider the lens transfer function matrix after the collection pupil effect: P c =C⊙P, ⊙ represents the multiplication of the elements at the corresponding positions. According to the angular spectrum propagation theory, the near field E on the wafer surface NF After the lens, the electric field distribution on the imaging surface is: Eimahe =F -1 {P c ⊙F{E NF}}

[0096] Where F{} represents Fourier transform, F -1 {} represents inverse Fourier transform;

[0097] E image Each element of a 3×1 vector, that is:

[0098]

[0099] Where (x, y) represents the index of the physical size of the spatial image plane (CCD camera plane); are the x, y, and z components of the electric field at the image point (x, y) in the global Cartesian coordinate system;

[0100] Finally, according to the Abbe imaging principle, the light intensity distribution on the imaging surface is equal to the algebraic superposition of the image surface light intensity distributions of all point light sources, that is, the total image surface light intensity distribution:

[0101]

[0102] in, * represents the conjugation operator.

[0103] For a given illumination pupil distribution Q and collection pupil distribution C, the light intensity distribution of the spatial image on the image plane is:

[0104]

[0105] Among them, Q sum =∑ j ∑ i Q (i,j) .

[0106] The optimization method for wafer detection configuration parameters provided in the embodiment of the present application, when optimizing using the imaging model, only needs to calculate the near-field information once based on the light source information after initial discretization. During the optimization process, there is no need to repeatedly calculate the near field of the wafer surface due to changes in lighting conditions, which greatly shortens the calculation time of the imaging model during optimization and improves the optimization efficiency.

[0107] In some embodiments, determining an evaluation index based on the first aerial image and the second aerial image in S105, and determining an evaluation function based on the evaluation index, specifically includes:

[0108] determining a bi-norm of a difference between the first aerial image and the second aerial image, and a mean of the first aerial image;

[0109] Determine the ratio of the second norm to the mean, and use the ratio as an evaluation index;

[0110] Determine an evaluation function that aims to maximize the evaluation index.

[0111] Specifically, the difference between the first aerial image and the second aerial image can be calculated by difference, division, etc. In the embodiment of the present application, the evaluation index and the evaluation function are determined by the second norm of the difference between the first aerial image and the second aerial image and the mean of the first aerial image.

[0112] When using the Die-to-Die method to detect wafer defects, if the grayscale value of the detected image is significantly different from the grayscale value of the reference image, it is considered that there is a high probability of a defect. Therefore, in the embodiment of the present application, a model-based method is considered to design a reference wafer (ND) and a wafer containing specific defects (WD), and an evaluation index is defined using defect signal contrast.

[0113] Optionally, using the first aerial image I of the ND wafer ND Second spatial image of WD wafer I WD The difference in size is related to the spatial image of the ND wafer. ND Compared with the mean, the evaluation indicators are determined as follows:

[0114]

[0115] Among them, ‖I WD -I ND ‖ 2 is the first spatial image I ND With the second spatial image I WD The second norm of the difference, mean(I ND ) is I ND The mean value of mean(I ND ) is regarded as a constant to simplify the calculation; the evaluation function G = max{FOM} optimizes the contrast of the defect signal, that is, to solve the maximum FOM.

[0116] Optionally, using the first aerial image I of the ND wafer ND Second spatial image of WD wafer I WD The difference in size is related to the spatial image of the ND wafer. ND Compared with the mean, the evaluation indicators are determined as follows:

[0117]

[0118] Among them, ‖I WD -I ND ‖ 2 is the first spatial image I ND With the second spatial image I WDThe second norm of the difference, mean(I ND ) is I ND The mean value of mean(I ND ) is regarded as a constant to simplify the calculation; the evaluation function G = min{FOM} optimizes the contrast of the defect signal, that is, to solve the minimum FOM.

[0119] The method for optimizing wafer detection configuration parameters provided in the embodiment of the present application also calculates the defect-free spatial image under the same illumination pupil and collection pupil conditions as a reference during the optimization process, thereby ensuring the optimization direction of the optimization process, that is, the contrast of defect signals in defective images is constantly enhanced; and then using the optimized simulation results, defect detection without a reference image can be achieved, thereby avoiding the situation in which systematic defects that may be undetectable due to traditional Die-to-Die detection methods.

[0120] In some embodiments, the iterative optimization process in S106 specifically includes:

[0121] Determine the gradient matrix of the evaluation function for the selected optimization object;

[0122] The variable matrix of the optimization object is updated based on the fastest gradient descent method, and the first spatial image, the second spatial image and the evaluation index under the updated variable matrix are calculated.

[0123] Specifically, gradient descent is a type of iterative method, which is suitable for solving unconstrained optimization problems, that is, solving the objective function itself. The evaluation function in some embodiments of the present application aims to maximize an evaluation index, and the evaluation index is the ratio of the second norm of the difference between the first spatial image and the second spatial image to the mean of the first spatial image. The convergence speed of the ordinary gradient descent method is significantly slowed down in the area close to the optimal solution. It actually takes many iterations to solve the evaluation function using the ordinary gradient solution method. Therefore, in the embodiments of the present application, it is considered to use the fastest gradient descent method to update the variable matrix of the optimization object during the iteration process to speed up the convergence speed of the algorithm.

[0124] The specific iterative optimization process is: calculate the gradient matrix of the evaluation function G to the optimization object OT Update the optimization object variable matrix using the fastest gradient descent method Calculate the spatial image I under the OT update condition ND ,I WD And the evaluation index FOM.

[0125] According to the last iteration of the optimization process Output the optimized result graph and the optimized evaluation index FOM to end the optimization process.

[0126] In some embodiments, selecting an optimization object and an optimization method in S106 includes:

[0127] When the selected optimization object is the illumination pupil or the collection pupil, the selected optimization method is direct optimization (DO); or,

[0128] When the selected optimization objects are the illumination pupil and the collection pupil, the selected optimization method is sequential optimization (Sequential Optimization, SeO) or simultaneous optimization (Simultaneous Optimization, SiO).

[0129] Specifically, the optimization object OT and the optimization method OM are selected, wherein the available optimization objects include the illumination pupil Q and the collection pupil C. When there is only a single optimization object (Q or C), the optimization method is direct optimization; when the optimization object includes both the illumination pupil and the collection pupil (Q and C), the optimization methods that can be selected are sequential optimization or collaborative optimization.

[0130] Optionally, when the optimization object is only the illumination pupil Q, the illumination pupil C is fixed, and the optimization process only needs to calculate the approximate gradient matrix of the objective function G with respect to Q: The illumination pupil variable matrix is ​​updated using the fastest gradient descent method, and the ND spatial image I under the new Q condition is recalculated. ND 、WD Space Image I WD And the evaluation index FOM so .

[0131] The illumination pupil variable matrix is ​​updated as:

[0132]

[0133] Among them, step s To set the illumination pupil iteration step;

[0134] Approximate gradient matrix The calculation method is:

[0135]

[0136] in, A single point source Q (i,j) Aerial image intensity distribution of ND and WD wafers.

[0137] Optionally, when the optimization object is only the collection pupil C, the illumination pupil Q is fixed, and the optimization process only needs to calculate the approximate gradient matrix of the objective function G with respect to C: Update the collection pupil matrix using the steepest gradient descent method:

[0138]

[0139] And recalculate the ND spatial image I under C conditions ND 、WD Space Image I WD And the evaluation index FOM po .

[0140] The collected pupil variable matrix is ​​updated as:

[0141]

[0142] Among them, step p To set the collection pupil iteration step;

[0143] in:

[0144]

[0145] Among them, ΔI=a(I WD -I ND ); a is the coefficient of the size of the iterative precision of the collected pupil; P * is the conjugate of the pupil distribution matrix.

[0146] Optionally, when the optimization objects are the illumination pupil Q and the collection pupil C, and the optimization method is collaborative optimization (SiO), it is necessary to calculate the approximate gradient matrix of the objective function G for Q: and the approximate gradient matrix for C The illumination pupil variable matrix is ​​updated simultaneously using the steepest gradient descent method:

[0147]

[0148] Collect the pupil variable matrix:

[0149]

[0150] And recalculate the ND spatial image I under Q and C conditions ND 、WD Space Image I WD And the evaluation index FOM sio .

[0151] Optionally, when the optimization objects are Q and C, and the optimization method is sequential optimization (SeO), when the order is to optimize the illumination pupil first and then optimize the collection pupil, the illumination pupil is directly optimized. After the illumination pupil optimization is completed, the collection pupil is directly optimized. When the iteration conditions are met, the optimized illumination pupil and collection pupil graphics and the evaluation index FOM are output. seo1; If the order is to optimize the collection pupil first and then the illumination pupil, the collection pupil is optimized. After the collection pupil optimization is completed, the illumination pupil is optimized. When the iteration conditions are met, the optimized illumination pupil and collection pupil graphics and evaluation index FOM are output seo2 .

[0152] The wafer detection configuration parameter optimization method provided in the embodiment of the present application provides a variety of optimization process schemes for the illumination pupil and the collection pupil, which can adapt to the optimization of different scenarios. These optimization process schemes can improve the contrast of defect signals to different degrees. By adopting different optimization processes for different defects, the illumination pupil and collection pupil shapes that are most suitable for the specified defect type can be selected to achieve the best detection contrast for the specified defect type.

[0153] The technical solution provided in the embodiments of the present application is further illustrated below with several specific examples.

[0154] Example 1:

[0155] Figure 4 This is the second flow chart of the method for optimizing wafer detection configuration parameters provided in the embodiment of the present application, and the specific steps are as follows:

[0156] Step 401: Rasterize the illumination pupil to obtain an illumination pupil matrix Q; and rasterize the collection pupil to obtain a collection pupil matrix C.

[0157] Rasterize the image of the illumination pupil into a size N s ×N s The two-dimensional distribution matrix Q of the collected pupil is rasterized into a size N p ×N p The two-dimensional distribution matrix C of the illumination pupil is initialized with the intensity distribution of the illumination pupil. s ×N s Variable matrix of illumination pupil The value range is between [0,1]; whether the size N is initialized in the collection pupil graph p ×N p Collect the pupil variable matrix When point (i p ,j p ) when collecting pupil patterns, point(i p ,j p ) when collecting pupil patterns, Where N s With N p All are integers;

[0158] Step 402: Divide the grid according to the polarized illumination mode and the illumination pupil, and calculate the incident angle, azimuth angle and polarization angle information of each light source point.

[0159] According to the Y polarization illumination mode and the two-dimensional matrix Q of the illumination pupil, each grid point after rasterization is calculated to represent an illumination light source point, and the polarization angle ρ of each light source point Y =0; incident angle (θ), azimuth The calculation is as follows.

[0160]

[0161]

[0162] in, That is, the difference between the position index i and the position of the midpoint of the row of matrix Q (i d Distinguish between positive and negative signs, ceil is rounded up); is the difference between position index j and the midpoint position of the matrix Q column (distinguishing between positive and negative signs); step fs The step size for meshing the source frequency domain.

[0163] Step 403: Divide the light source point information according to the illumination pupil, and calculate the near-field distribution sets of the defect-free structure and the defective structure of each light source point respectively.

[0164] Establish the structural models of defect-free structure and defective structure, and construct binary images Bnd and Bwd respectively. The dark area of ​​the binary image represents the base, and the bright area represents the pattern. According to the spatial resolution size of the wafer end, B nd With B wd , and obtain the two-dimensional distribution matrix W nd With W wd , both of size N w ×N w ; Given W nd With W wd Base material MB, pattern material MP; base thickness DB, pattern thickness DP. According to the wavelength λ and light source point Q (i,j) The strict near-field ND of each light source point is calculated by using the Finite Difference Time Domain (FDTD) or Rigorous Coupled Wave Analysis (RCWA) method. WD's Strict Near Field The size is N w ×N w . Each element is a 2×1 vector:

[0165]

[0166]

[0167] in, The upper index (i, j) of the illumination pupil is rasterized by Q (i,j) The lower index of is consistent, indicating that the near field is composed of a point light source Q (i,j) Near-field distribution on the wafer surface under the action of .

[0168] Calculate each point on the illumination pupil Q point by point to obtain the defect-free near field set NF nd With defective near field NF wd as follows:

[0169]

[0170]

[0171] Step 404: using a bright field microscopic imaging model, respectively calculate the defective wafer aerial image and the non-defective wafer aerial image under the current illumination pupil and collection pupil conditions.

[0172] Initialize the parameters of the bright field microscopy model illumination, wafer, and lens module, and calculate the spatial image I of the ND wafer under the conditions of the illumination pupil Q and the collection pupil C ND Spatial image of WD wafer I WD .

[0173] in,

[0174] Step 405: construct evaluation indexes and evaluation functions of the optimization object.

[0175] The evaluation index is defined by the defect signal contrast, that is, the spatial image I of the ND wafer ND Spatial image of WD wafer I WD The difference in size is related to the spatial image of the ND wafer. ND Compared with the mean, the evaluation indicators are as follows:

[0176]

[0177] Among them, ‖I WD -I Nd ‖ 2 For space image I ND With space image I WD The second norm of the difference, mean(I ND ) is I ND The evaluation function G = max{FOM} optimizes the contrast of the defect signal, that is, solves the maximum FOM.

[0178] Step 406: Select the optimization object and optimization method.

[0179] The optimization object (OT) is selected to include both the illumination pupil and the collection pupil (Q and C). The optimization method is sequential optimization (SeO), and the optimization order is: optimize the illumination pupil first and then optimize the collection pupil.

[0180] Step 407: Execute the iterative optimization process.

[0181] ① When the optimization object (OT) is first the illumination pupil Q, the approximate gradient matrix of the objective function G with respect to Q is calculated The illumination pupil variable matrix is ​​updated using the fastest gradient descent method, and the ND spatial image I under the new Q condition is recalculated. Nd 、WD Space Image I WD And the evaluation index FOM seo1 .

[0182] The illumination pupil variable matrix is ​​updated as:

[0183]

[0184] Among them, step s To set the illumination pupil iteration step;

[0185] Approximate gradient matrix The calculation method is:

[0186]

[0187] in, A single point source Q (i,j) Aerial image intensity distribution of ND and WD wafers.

[0188] ② When OT is next collecting pupil C, the illumination pupil Q is fixed and optimized, and the approximate gradient matrix of the objective function G for C is calculated. The pupil matrix is ​​updated using the fastest gradient descent method, and the ND spatial image I under C conditions is recalculated. ND 、WD Space Image I WD And the evaluation index FOM seo2

[0189] The collected pupil variable matrix is ​​updated as:

[0190]

[0191] Among them, step p To set the collection pupil iteration step;

[0192] in:

[0193]

[0194] Among them, ΔI=a(I WD -I ND ); a is the coefficient of the size of the iterative precision of the collected pupil; P * is the conjugate of the pupil distribution matrix P.

[0195] Step 408: If the value of the evaluation index FOM in step 407 meets the set threshold or When the number of iterations reaches the maximum number, proceed to step 409 , otherwise return to step 407 .

[0196] Step 409: According to the last Output optimized illumination pupil and collection pupil graphics, as well as optimized evaluation index FOM seo2 , ending the optimization process.

[0197] Example 2:

[0198] Figure 5 Schematic diagram of the initial illumination pupil, defect-free wafer binary image, initial collection pupil and imaging result thereof provided in the embodiment of the present application, such as Figure 5 As shown, from left to right are: the result after initializing the rasterization of the illumination pupil, the grayscale value represents the intensity value of the light source point; the binary image of a defect-free wafer, the bright area represents the pattern, and the dark area represents the substrate; the result after initializing the rasterization of the collection pupil, the bright area represents that the frequency components in the area can reach the imaging plane, and the gray or dark area represents that the frequency components in the area will be attenuated or blocked; the spatial image of a defect-free wafer under the conditions of initializing the illumination pupil and the collection pupil.

[0199] Figure 6 Schematic diagram of the initial illumination pupil, defective wafer binary image, initial collection pupil and imaging result provided by the embodiment of the present application, such as Figure 6 As shown, from left to right are: initial illumination pupil, defective wafer binary image, initial collection pupil and schematic diagram of defective wafer imaging results; FOMinit of the defect signal in the initial defective aerial image is 0.19761.

[0200] Figure 7 is a schematic diagram of the imaging structure when only the illumination pupil is optimized provided in an embodiment of the present application, such as Figure 7As shown in the figure, when only the illumination pupil is optimized (IPO), from left to right are: the illumination pupil after optimization, the binary image of the defective wafer, the initial collection pupil and the schematic diagram of the imaging result of the defective wafer; the FOMipo of the defect signal in the defective spatial image after only the illumination pupil optimization (IPO) is 0.33930; compared with Figure 6 After optimization, the defect signal contrast is enhanced by 71%, and the defect signal contrast is greatly improved;

[0201] Figure 8 is a schematic diagram of the imaging structure when only the collection pupil is optimized provided in an embodiment of the present application, such as Figure 8 As shown in the figure, when only the collection pupil is optimized (CPO), from left to right are: initial illumination pupil, defective wafer binary image, collection pupil after optimization, and schematic diagram of defective wafer imaging results; FOMcpo of defect signal in defective aerial image after only collection pupil optimization (CPO) is 0.21963; compared Figure 6 After optimization, the defect signal contrast is enhanced by 11%, and the improvement of defect signal contrast is small;

[0202] Fig. 9 This is one of the schematic diagrams of the imaging structure when optimizing the illumination pupil and the collection pupil provided in the embodiments of the present application, such as Fig. 9 As shown, when the illumination pupil and the collection pupil are optimized synchronously (SiO), from left to right are: the illumination pupil after optimization, the binary image of the defective wafer, the collection pupil after optimization, and the schematic diagram of the imaging results of the defective wafer; the FOMsio of the defect signal in the defective spatial image after synchronous optimization of the illumination pupil and the collection pupil is 0.45886; compared Figure 6 After optimization, the defect signal contrast is enhanced by 130%, which is a significant improvement and better than the results of optimizing the illumination pupil or the collection pupil alone.

[0203] Fig.10 This is the second schematic diagram of the imaging structure when optimizing the illumination pupil and the collection pupil provided in the embodiment of the present application, such as Fig.10 As shown in the figure, when the illumination pupil and the collection pupil are sequentially optimized (SeO), the optimization order is to optimize the illumination pupil first and then the collection pupil. From left to right, they are: the illumination pupil after optimization, the binary image of the defective wafer, the collection pupil after optimization, and the schematic diagram of the imaging result of the defective wafer; the FOMseo of the defect signal in the defective spatial image after the simultaneous optimization of the illumination pupil and the collection pupil is 0.58654; compared with Figure 6After optimization, the defect signal contrast is enhanced by 196%, which is the largest improvement. Under this condition, sequential optimization (IPO first and then CPO) can obtain the best defect signal contrast in the example.

[0204] contrast Figures 5 to 10 From the results, it can be seen that after the discretization of illumination and collection pupils, the degree of freedom of optimization is improved. When optimizing a single object, the defect signal contrast is improved to a certain extent. Combining the optimization of illumination pupil and collection pupil, choosing the appropriate optimization method can further improve the defect contrast. The selection of multiple optimization methods is conducive to the global optimal solution required in various complex scenes. These implementation cases prove that after the optimization of illumination pupil and collection pupil, the detection sensitivity and detection capability of the defect detection system are improved.

[0205] Fig.11 is a schematic diagram of the structure of the device for optimizing wafer detection configuration parameters provided in an embodiment of the present application, such as Fig.11 As shown, the device at least includes:

[0206] A rasterization unit 1101 is used to rasterize the graphics of the illumination pupil and the collection pupil respectively to obtain a first two-dimensional distribution matrix and a second two-dimensional distribution matrix, initialize a first variable matrix corresponding to the illumination pupil based on the intensity distribution of the illumination pupil, and initialize a second variable matrix corresponding to the collection pupil based on whether the collection pupil is within the graphics of the collection pupil;

[0207] A light source point information determining unit 1102, configured to determine light source point information of a light source point corresponding to each grid point after rasterization based on the polarized illumination mode and the first two-dimensional distribution matrix;

[0208] A near-field distribution determination unit 1103 is used to establish a defect-free structure model and a defect structure model of the target defect type, and solve a defect-free near-field distribution set and a defect near-field distribution set corresponding to the illumination pupil in combination with light source point information;

[0209] An aerial image determination unit 1104 is used to initialize a bright field microscopic imaging model and calculate a first aerial image of a non-defective wafer and a second aerial image of a defective wafer;

[0210] An evaluation index determining unit 1105 is used to determine an evaluation index based on the first aerial image and the second aerial image, and determine an evaluation function based on the evaluation index;

[0211] An iterative optimization unit 1106 is used to select an optimization object and an optimization method, perform an iterative optimization process based on the selected optimization object and optimization method, update a variable matrix of the optimization object, and an evaluation index under the updated variable matrix; the optimization object is an illumination pupil and / or a collection pupil;

[0212] The optimization output unit 1107 is used to determine the optimized graph of the optimization object with the variable matrix of the optimization object updated by the last iterative optimization process when the updated evaluation index meets the preset threshold or the number of iterations reaches the maximum number.

[0213] In some embodiments, the near-field distribution determining unit 1103 is specifically configured to:

[0214] A binary image is constructed according to the structure and pattern of the wafer, wherein the dark area of ​​the binary image represents the substrate and the bright area represents the pattern;

[0215] According to the spatial resolution size of the wafer end, the target defect type is divided into a non-defective binary image and a defective binary image;

[0216] Given the substrate material, pattern material, substrate thickness and pattern thickness, the establishment of a defect-free structure model and a defective structure model is completed.

[0217] In some embodiments, the near-field distribution determining unit 1103 is specifically configured to:

[0218] Based on the wavelength and light source information of the target light source point, the defect-free near-field distribution and defect near-field distribution of the wafer surface under the action of the target light source point are solved;

[0219] Based on the defect-free near-field distribution and defect near-field distribution of the wafer surface under the action of each light source point on the illumination pupil, a defect-free near-field distribution set and a defect near-field distribution set corresponding to the illumination pupil are determined.

[0220] In some embodiments, the aerial image determination unit 1104 is specifically configured to:

[0221] determining a bi-norm of a difference between the first aerial image and the second aerial image, and a mean of the first aerial image;

[0222] Determine the ratio of the second norm to the mean, and use the ratio as an evaluation index;

[0223] Determine an evaluation function that aims to maximize the evaluation index.

[0224] In some embodiments, the iterative optimization unit 1106 is specifically configured to:

[0225] Determine the gradient matrix of the evaluation function for the selected optimization object;

[0226] The variable matrix of the optimization object is updated based on the fastest gradient descent method, and the first spatial image, the second spatial image and the evaluation index under the updated variable matrix are calculated.

[0227] In some embodiments, the iterative optimization unit 1106 is specifically configured to:

[0228] When the selected optimization object is the illumination pupil or the collection pupil, the selected optimization method is direct optimization; or,

[0229] When the selected optimization objects are the illumination pupil and the collection pupil, the selected optimization method is sequential optimization or collaborative optimization.

[0230] It can be understood that the detailed functional implementation of each of the above-mentioned units / modules can be found in the introduction of the aforementioned method embodiment, and will not be repeated here.

[0231] It should be understood that the above-mentioned device is used to execute the method in the above-mentioned embodiment. The implementation principle and technical effect of the corresponding program module in the device are similar to those described in the above-mentioned method. The working process of the device can refer to the corresponding process in the above-mentioned method, which will not be repeated here.

[0232] Based on the method in the above embodiment, an embodiment of the present application provides an electronic device. The device may include: at least one memory for storing programs and at least one processor for executing the programs stored in the memory. When the program stored in the memory is executed, the processor is used to execute the method described in the above embodiment.

[0233] Fig.12 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Fig.12 As shown, the electronic device may include: a processor (processor) 1201, a communication interface (Communications Interface) 1220, a memory (memory) 1203 and a communication bus 1204, wherein the processor 1201, the communication interface 1202, and the memory 1203 communicate with each other through the communication bus 1204. The processor 1201 can call the software instructions in the memory 1203 to execute the method described in the above embodiment.

[0234] In addition, the logic instructions in the above-mentioned memory 1203 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the relevant technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present application.

[0235] Based on the method in the above embodiment, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a processor, the processor executes the method in the above embodiment.

[0236] Based on the method in the above embodiment, an embodiment of the present application provides a computer program product. When the computer program product runs on a processor, the processor executes the method in the above embodiment.

[0237] It is understandable that the processor in the embodiment of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0238] The method steps in the embodiments of the present application can be implemented by hardware, or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), registers, hard disks, mobile hard disks, CD-ROMs or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.

[0239] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted by a computer-readable storage medium. The computer instructions can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

[0240] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.

[0241] It is easy for those skilled in the art to understand that the above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. A method for optimizing wafer inspection configuration parameters, It is characterized in that include: rasterizing the graphics of the illumination pupil and the collection pupil respectively to obtain a first two-dimensional distribution matrix and a second two-dimensional distribution matrix, initializing a first variable matrix corresponding to the illumination pupil based on the intensity distribution of the illumination pupil, and initializing a second variable matrix corresponding to the collection pupil based on whether the collection pupil is within the graphics of the collection pupil; Determine the light source point information of the light source point corresponding to each grid point after rasterization based on the polarized illumination mode and the first two-dimensional distribution matrix; Establishing a defect-free structure model and a defect structure model of the target defect type, and solving a defect-free near-field distribution set and a defect near-field distribution set corresponding to the illumination pupil in combination with the light source point information; Initializing a bright field microscopic imaging model, and calculating a first aerial image of a non-defective wafer and a second aerial image of a defective wafer; determining an evaluation index based on the first aerial image and the second aerial image, and determining an evaluation function based on the evaluation index; Select an optimization object and an optimization method, perform an iterative optimization process based on the selected optimization object and optimization method, update the variable matrix of the optimization object, and the evaluation index under the updated variable matrix; The optimization object is the illumination pupil and / or the collection pupil; When the updated evaluation index meets the preset threshold or the number of iterations reaches the maximum number, the optimized graph of the optimization object is determined by using the variable matrix of the optimization object updated by the last iterative optimization process; Wherein, the establishment of a defect-free structure model and a defect structure model of the target defect type includes: Constructing a binary image according to the structure and pattern of the wafer, wherein the dark area of ​​the binary image represents the substrate and the bright area represents the pattern; Dividing the target defect type into a non-defect binary image and a defect binary image according to the wafer end spatial resolution size; Given a substrate material, a pattern material, a substrate thickness, and a pattern thickness, the defect-free structure model and the defect structure model are established; The step of determining an evaluation index based on the first aerial image and the second aerial image, and determining an evaluation function based on the evaluation index, comprises: determining a bi-norm of a difference between the first aerial image and the second aerial image, and a mean of the first aerial image; Determine a ratio of the second norm to the mean, and use the ratio as the evaluation index; Determining an evaluation function with the goal of maximizing the evaluation index; The iterative optimization process includes: Determining a gradient matrix of the evaluation function for the selected optimization object; The variable matrix of the optimization object is updated based on the fastest gradient descent method, and the first spatial image, the second spatial image and the evaluation index under the updated variable matrix are calculated.

2. The method for optimizing wafer detection configuration parameters according to claim 1, It is characterized in that The step of solving the defect-free near-field distribution set and the defect near-field distribution set corresponding to the illumination pupil in combination with the light source point information includes: Based on the wavelength and light source information of the target light source point, solving the defect-free near-field distribution and defective near-field distribution of the wafer surface under the action of the target light source point; Based on the defect-free near-field distribution and defect near-field distribution of the wafer surface under the action of each light source point on the illumination pupil, a defect-free near-field distribution set and a defect near-field distribution set corresponding to the illumination pupil are determined.

3. The method for optimizing wafer detection configuration parameters according to claim 1, It is characterized in that The selected optimization object and optimization method include: When the selected optimization object is the illumination pupil or the collection pupil, the selected optimization method is direct optimization; or, When the selected optimization objects are the illumination pupil and the collection pupil, the selected optimization method is sequential optimization or collaborative optimization.

4. A device for optimizing wafer detection configuration parameters, It is characterized in that include: a rasterization unit, configured to rasterize the graphics of the illumination pupil and the collection pupil respectively to obtain a first two-dimensional distribution matrix and a second two-dimensional distribution matrix, initialize a first variable matrix corresponding to the illumination pupil based on the intensity distribution of the illumination pupil, and initialize a second variable matrix corresponding to the collection pupil based on whether the collection pupil is within the graphics of the collection pupil; A light source point information determining unit, configured to determine the light source point information of the light source point corresponding to each grid point after rasterization based on the polarized illumination mode and the first two-dimensional distribution matrix; A near-field distribution determination unit, used to establish a defect-free structure model and a defective structure model of a target defect type, and solve a defect-free near-field distribution set and a defective near-field distribution set corresponding to the illumination pupil in combination with the light source point information; An aerial image determination unit, used to initialize a bright field microscopic imaging model and calculate a first aerial image of a non-defective wafer and a second aerial image of a defective wafer; an evaluation index determining unit, configured to determine an evaluation index based on the first aerial image and the second aerial image, and determine an evaluation function based on the evaluation index; An iterative optimization unit, used for selecting an optimization object and an optimization method, executing an iterative optimization process based on the selected optimization object and optimization method, updating a variable matrix of the optimization object, and an evaluation index under the updated variable matrix; The optimization object is the illumination pupil and / or the collection pupil; An optimization output unit, used to determine the optimized graph of the optimization object with the variable matrix of the optimization object updated by the last iterative optimization process when the updated evaluation index meets the preset threshold or the number of iterations reaches the maximum number; Wherein, the near-field distribution determining unit is specifically used for: Constructing a binary image according to the structure and pattern of the wafer, wherein the dark area of ​​the binary image represents the substrate and the bright area represents the pattern; Dividing the target defect type into a non-defect binary image and a defect binary image according to the wafer end spatial resolution size; Given a substrate material, a pattern material, a substrate thickness, and a pattern thickness, the defect-free structure model and the defect structure model are established; Wherein, the spatial image determination unit is specifically used for: determining a bi-norm of a difference between the first aerial image and the second aerial image, and a mean of the first aerial image; Determine a ratio of the second norm to the mean, and use the ratio as the evaluation index; Determining an evaluation function with the goal of maximizing the evaluation index; Wherein, the iterative optimization unit is specifically used for: Determining a gradient matrix of the evaluation function for the selected optimization object; The variable matrix of the optimization object is updated based on the fastest gradient descent method, and the first spatial image, the second spatial image and the evaluation index under the updated variable matrix are calculated.

5. An electronic device, It is characterized in that include: at least one memory for storing a computer program; At least one processor is used to execute the program stored in the memory. When the program stored in the memory is executed, the processor is used to execute the method according to any one of claims 1 to 3.

6. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program runs on a processor, the processor is caused to execute the method according to any one of claims 1 to 3.

7. A computer program product, It is characterized in that When the computer program product runs on a processor, the processor is enabled to execute the method according to any one of claims 1 to 3.