Energy spectrum imaging method, device, equipment and storage medium
By adjusting the sampling points by segmenting the microscopic image of the target sample and matching the regional energy spectrum, the problem of too long scanning time of energy spectrum imaging in the existing technology is solved, and fast and accurate determination of the energy spectrum of the sample is achieved.
Patent Information
- Application Number
- CN202410726079.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Existing energy spectrum imaging methods cannot quickly determine the energy spectrum of the sample, resulting in too long scanning time and affecting the accuracy and safety of the sample.
By performing image segmentation on the microscopic image of the target sample, initializing and updating the regional energy spectrum map, and adding sampling points to the matching failed areas until the regional energy spectrum map completely matches the image segmentation results, the number of scanning points and time are significantly reduced.
Significantly improves the speed of determining the energy spectrum of the sample, improves accuracy, and avoids sample damage and image inaccuracy caused by long-term scanning.
Smart Images

Figure CN118298425B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy spectrum imaging technology, and in particular to an energy spectrum imaging method, device, equipment and storage medium. Background Art
[0002] In the existing spectral imaging analysis of semiconductor device failure, the Energy Dispersive X-Ray Spectroscopy (EDS) is usually used to scan the sample. Since the spatial resolution of EDS is generally sub-nanometer to nanometer, it takes tens of minutes to hours to fully scan an area with a width of several microns to hundreds of microns.
[0003] Therefore, it is necessary to provide an energy spectrum imaging method to increase the speed of determining the energy spectrum of the sample. Summary of the invention
[0004] The present invention provides an energy spectrum imaging method, device, equipment and storage medium to solve the problem that the existing energy spectrum imaging method cannot quickly determine the energy spectrum of a sample.
[0005] According to one aspect of the present invention, a method for spectral imaging is provided, the method comprising:
[0006] Performing image segmentation on the microscopic image of the target sample to obtain an image segmentation result including at least two regions;
[0007] For each of the at least two regions, initializing a regional energy spectrum map of the current region, determining at least two sampling points in the current region, and controlling an energy spectrum analysis device to collect energy spectrum data of the at least two sampling points;
[0008] Based on the energy spectrum data of at least two sampling points, updating the regional energy spectrum map of the current area;
[0009] In the case where there is a matching failure region between the regional energy spectrum map and the current region in the image segmentation result, at least two sampling points are determined in the matching failure region and a set neighborhood of the matching failure region based on the coordinates of all known sampling points;
[0010] Return to the step of obtaining energy spectrum data of at least two sampling points until there is no matching failure area between the regional energy spectrum of the current area and the current area in the image segmentation result, and determine the sample energy spectrum of the target sample according to the regional energy spectrum of all areas.
[0011] According to another aspect of the present invention, there is provided an energy spectrum imaging device, the device comprising:
[0012] An image segmentation module is used to perform image segmentation on the microscopic image of the target sample to obtain an image segmentation result including at least two areas;
[0013] An energy spectrum data acquisition module, for each of the at least two regions, initializing a regional energy spectrum map of a current region, determining at least two sampling points in the current region, and acquiring energy spectrum data of the at least two sampling points;
[0014] A first energy spectrum module updates a regional energy spectrum of a current region based on energy spectrum data of at least two sampling points;
[0015] An optimization module, for determining at least two sampling points in the failed matching region and a set neighborhood of the failed matching region based on the coordinates of all known sampling points when there is a failed matching region between the regional energy spectrum map and the current region in the image segmentation result;
[0016] The iterative module is used to return to the step of obtaining energy spectrum data of at least two sampling points until there is no matching failure area between the regional energy spectrum of the current area and the current area in the image segmentation result, and determine the sample energy spectrum of the target sample according to the regional energy spectrum of all areas.
[0017] According to another aspect of the present invention, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the energy spectrum imaging method of any embodiment of the present invention.
[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the energy spectrum imaging method of any embodiment of the present invention when executed by a processor.
[0019] The technical solution of the embodiment of the present invention performs image segmentation on the microscopic image of the target sample to obtain an image segmentation result including at least two regions; for each region, at least two sampling points of the current region are determined, and energy spectrum data of the at least two sampling points and a regional energy spectrum map corresponding to the energy spectrum data of the at least two sampling points are obtained; the regional energy spectrum map is matched with the corresponding region, and if there is no matching failure region, it indicates that the regional energy spectrum map corresponding to the energy spectrum data of all current sampling points has a high accuracy; if there is a matching failure region, sampling points are added to the matching failure region and the neighborhood of the matching failure region, and then the energy spectrum data of the added sampling points are obtained, and the energy spectrum data are added to the corresponding position of the corresponding regional energy spectrum map to update the regional energy spectrum map, and then the matching failure region is confirmed. Determine whether there is a matching failure area between the updated regional energy spectrum and the corresponding area; if so, repeat the above steps until there is no matching failure area between the two; since the newly added sampling points in each iteration round are all located in the matching failure area, the scope of the matching failure area can be gradually narrowed through multiple iteration rounds until the latest regional energy spectrum is completely matched with the corresponding area; since the two are completely matched, the sample energy spectrum has a higher accuracy; compared with controlling EDS to scan each area point by point to determine the sample energy spectrum, the number of EDS scanning points can be significantly reduced, thereby significantly reducing the determination time of the sample energy spectrum, and can also avoid sample damage due to excessive EDS scanning time, which affects the accuracy of the sample energy spectrum.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1A is a flow chart of an energy spectrum imaging method provided according to an embodiment of the present invention;
[0023] Figure 1B is a schematic diagram of a microscopic image provided according to an embodiment of the present invention;
[0024] Figure 1C is a schematic diagram of an image segmentation result provided according to an embodiment of the present invention;
[0025] Figure 1Dis a schematic diagram of a sampling point provided according to an embodiment of the present invention;
[0026] Figure 1E is a schematic diagram of an energy spectrum diagram provided according to an embodiment of the present invention;
[0027] Figure 2 is a flow chart of another energy spectrum imaging method provided according to an embodiment of the present invention;
[0028] Figure 3 is a flow chart of another energy spectrum imaging method provided according to an embodiment of the present invention;
[0029] Figure 4A is a structural block diagram of an energy spectrum imaging device provided according to an embodiment of the present invention;
[0030] Figure 4B is another structural block diagram of an energy spectrum imaging device provided according to an embodiment of the present invention;
[0031] Figure 4C is another structural block diagram of an energy spectrum imaging device provided according to an embodiment of the present invention;
[0032] Figure 4D is another structural block diagram of an energy spectrum imaging device provided according to an embodiment of the present invention;
[0033] Figure 4E is another structural block diagram of an energy spectrum imaging device provided according to an embodiment of the present invention;
[0034] Figure 5 It is a structural block diagram of an electronic device provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0036] It should be noted that the terms "first", "second" and "third" etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0037] Figure 1A It is a flow chart of a spectrum imaging method provided according to an embodiment of the present invention. This embodiment is applicable to the scenario of spectrum imaging of semiconductors and can be executed by a spectrum imaging device. The spectrum imaging device can be implemented in the form of hardware and / or software and configured in the processor of the electronic device.
[0038] like Figure 1A As shown, the energy spectrum imaging method includes the following steps:
[0039] S110, performing image segmentation on the microscopic image of the target sample to obtain an image segmentation result including at least two regions.
[0040] It is understandable that when analyzing semiconductor materials, it is generally believed that different contrasts correspond to different regions, so the microscopic image of the target sample can be segmented to obtain an image segmentation result including regions corresponding to different contrasts.
[0041] The target sample is a sample that needs to be analyzed by energy spectrum imaging, for example, the target sample may be a semiconductor component.
[0042] The microscopic image can be obtained by imaging the target sample through a scanning electron microscope (SEM) or a transmission electron microscope (TEM). For example, the microscopic image can be an image of a semiconductor component obtained through an electron microscope (refer to Figure 1B ).
[0043] The image segmentation results include the segmentation results of each region, for example, Figure 1C , which is Figure 1BThe image segmentation result corresponding to the electron microscope image includes 7 regions, and adjacent regions correspond to different elements. Corresponding region identifiers can be set for the 7 regions, for example, a first region 101, a second region 102, a third region 103, a fourth region 104, a fifth region 105, a sixth region 106 and a seventh region 107.
[0044] It should be noted that the arrangement of each area is related to the arrangement order of each element in the target sample and the shooting angle, and is not limited to Figure 1C The hierarchical arrangement in the vertical direction may also be a left-right sequential arrangement, or other irregular arrangement forms, which is not specifically limited in this embodiment.
[0045] In this embodiment, image segmentation is performed on the microscopic image of the target sample to obtain an image segmentation result including at least two regions, including: inputting the microscopic image of the target sample into a pre-trained image segmentation model to obtain an image segmentation result including at least two regions; wherein different regions correspond to different elements.
[0046] Among them, the image segmentation model can be an image segmentation model based on deep learning in the current artificial intelligence field, for example, it can be a U-net model, a DeepLab series model, a segmentation attention network model (SegFormer), a mask attention network model (MaskFormer), a segmentation everything model (Segment Anything Model, SAM) and other models, and this embodiment does not make any specific limitations on this.
[0047] It is understandable that before performing image segmentation on the microscopic image of the target sample based on image segmentation, the image segmentation model needs to be trained.
[0048] In one embodiment, training the image segmentation model may include: selecting a suitable image segmentation model according to a specific usage scenario (e.g., performance indicators of the model, complexity and resource requirements of the model, trainability and scalability of the model, etc.), and setting parameters of the image segmentation model (e.g., trainable parameters); collecting a large amount of training data, wherein the training data may include microscopic images of various semiconductor materials, and annotations corresponding to the microscopic images, and the annotations may be identifiers of elements corresponding to each region annotated by professionals; inputting the microscopic images in the training data into the image segmentation model to obtain an image segmentation result corresponding to the microscopic image, and determining an evaluation indicator of the model (e.g., accuracy) based on the image segmentation result and the annotations corresponding to the microscopic image in the training data to evaluate the effect of the model; finally, determining whether the evaluation indicator meets a preset value, and if so, terminating the training; if not, adjusting the image segmentation model (e.g., replacing the image segmentation model, modifying the training data and / or adjusting the training strategy, etc.) and continuing the training until the evaluation indicator meets the preset value, or the maximum number of training rounds is reached, and terminating the training.
[0049] Furthermore, the microscopic image of the target sample is input into the trained image segmentation model to segment the regions in the microscopic image to obtain an image segmentation result including at least two regions.
[0050] S120 . For each of the at least two regions, initialize a regional energy spectrum of the current region, and determine at least two sampling points in the current region.
[0051] It can be understood that each area in the image segmentation result corresponds to a corresponding element. Therefore, in this embodiment, in order to obtain the energy spectrum diagram of the target sample, at least two sampling points are determined in each area based on the energy spectrum data collected at the at least two sampling points.
[0052] Among them, the regional energy spectrum is obtained by photographing the target sample based on the energy dispersive X-ray spectroscopy technology. By emitting high-energy electrons to the current area of the target sample, the electrons of the chemical elements in the current area of the target sample are transitioned, releasing X-rays, and forming an energy spectrum based on the received X-rays as the regional energy spectrum. Furthermore, by performing energy spectrum analysis on the regional energy spectrum, the type and content of the chemical elements in the target sample can be determined.
[0053] Exemplary, reference Figure 1E , the red area in the energy spectrum corresponds to the carbon (C) element, the green area corresponds to the oxygen (O) element, the blue area corresponds to the aluminum (Al) element, the yellow area corresponds to the silicon (Si) element, the pink area corresponds to the titanium (Ti) element, and the light blue area corresponds to the platinum (Pt) element).
[0054] Sampling points are points where chemical element composition analysis is required, e.g. Figure 1D The first sampling point 1031 (blue dot) in .
[0055] Specifically, for each area in the image segmentation result, the target sample is photographed based on the EDS device to obtain the regional energy spectrum of the current area, and at least two points that need to be analyzed for chemical element composition are determined in the current area as at least two sampling points of the current area.
[0056] Considering that the distribution of elements of the target sample is relatively uniform within each region, while at the junction of adjacent regions, the distribution of elements may undergo transitional changes (refer to Figure 1E Therefore, in this embodiment, the sampling points in the center of the region are distributed more evenly, and the sampling points at the boundary of the region are distributed more densely.
[0057] In this embodiment, determining at least two sampling points in the current area includes: determining at least two sampling points in the current area based on the shape of the current area.
[0058] Optionally, based on the shape of the current area, at least two sampling points are determined in the current area, including: taking the boundary of the current area as the center of the Gaussian distribution, and adopting a random sampling method of the Gaussian distribution to determine at least two sampling points in the current area; or using a grid sampling method to determine at least two sampling points in the current area; wherein, in the direction from the center of the current area to the boundary of the current area, the grid spacing gradually decreases.
[0059] Specifically, the current area can be sampled by grid sampling or random sampling to determine at least two sampling points in the current area. Grid sampling uses a larger grid spacing in the middle of the area and a smaller grid spacing at the area boundary. Random sampling can be a sampling distribution determined based on a Gaussian distribution, specifically taking the boundary of the current area as the center of the Gaussian distribution, and determining the coordinates of at least two sampling points in the current area. This embodiment makes it possible that in the current area, the closer the sampling point is to the boundary of the current area, the higher the probability of being sampled, and vice versa.
[0060] S130, controlling the energy spectrum analysis device to collect energy spectrum data of at least two sampling points.
[0061] The energy spectrum analysis device may be an EDS device.
[0062] Specifically, for each region, the at least two sampling points are photographed based on the EDS device to obtain energy spectrum data of the at least two sampling points.
[0063] Exemplarily, the coordinates of the sampling points are input into the EDS device so that the EDS device collects energy spectrum data corresponding to the sampling points.
[0064] S140: Update the regional energy spectrum diagram of the current area based on the energy spectrum data of at least two sampling points.
[0065] Specifically, the energy spectrum data of at least two sampling points in the current region are added to corresponding positions of the latest regional energy spectrum map to obtain an added regional energy spectrum map, and the added regional energy spectrum map is used as the updated regional energy spectrum map of the current region.
[0066] S150, determining whether there is a matching failure area between the regional energy spectrum map and the current area in the image segmentation result, if yes, executing S160; if not, executing S170.
[0067] The matching failure area is the area where the regional energy spectrum cannot match the current area in the image segmentation result, for example Figure 1E Area 108 and Figure 1C The third area 103 in.
[0068] Since each region in the regional energy spectrum is determined based on the energy spectrum data of all current sampling points, when the number of sampling points is small, especially when there are few sampling points distributed on the region boundaries, the boundaries of each region in the regional energy spectrum are not consistent with the boundaries of each region in the image segmentation result, or in other words, the distribution ranges of the corresponding regions in the regional energy spectrum and the image segmentation result are not the same. In this embodiment, the region in the regional energy spectrum that is different from the current region in the image segmentation result is regarded as the matching failure region.
[0069] S160, based on the coordinates of all known sampling points, determine at least two sampling points in the matching failure area and a set neighborhood of the matching failure area, and return to S130 until there is no matching failure area in the regional energy spectrum of the current area and the current area in the image segmentation result.
[0070] In order to improve the accuracy of each region in the regional energy spectrum map, and to improve the accuracy of the evaluation results of the target sample determined based on the regional energy spectrum map, for the region with a matching failure area, at least two sampling points are determined in the matching failure area, and the above steps are repeated until there is no matching failure area in the regional energy spectrum map and the current area in the image segmentation result.
[0071] Specifically, based on the coordinates of all known sampling points, at least two sampling points are determined in and around the matching failure area as newly added sampling points, and the process returns to S130 to control the EDS device to collect energy spectrum data of the newly added sampling points, and add the energy spectrum data of the newly added sampling points to the corresponding positions of the energy spectrum map of the corresponding region to update the regional energy spectrum map until the current region in the image segmentation result is consistent with the current region in the regional energy spectrum map, thereby optimizing the energy spectrum map.
[0072] Exemplary, reference Figure 1D and Figure 1E ,Sure Figure 1E The area 108 in the figure is the matching failure area, and sampling points are added to the area 108. Figure 1D The coordinates of all the first sampling points 1031 in the matching failure area and the set neighborhood of the matching failure area are determined, and the coordinates of the newly added sampling points 1081 are input into the EDS device to obtain the energy spectrum data of the newly added sampling points, which are added to the regional energy spectrum map to obtain an updated regional energy spectrum map.
[0073] S170, determining a sample energy spectrum of the target sample according to the regional energy spectra of all regions.
[0074] Specifically, for the regional energy spectra of all regions, based on the positional relationship between the regions, the regional energy spectra are spliced to obtain the sample energy spectrum of the target sample.
[0075] The technical solution of the embodiment of the present invention performs image segmentation on the microscopic image of the target sample to obtain an image segmentation result including at least two regions; for each region, at least two sampling points of the current region are determined, and energy spectrum data of the at least two sampling points and a regional energy spectrum map corresponding to the energy spectrum data of the at least two sampling points are obtained; the regional energy spectrum map is matched with the corresponding region, and if there is no matching failure region, it indicates that the regional energy spectrum map corresponding to the energy spectrum data of all current sampling points has a high accuracy; if there is a matching failure region, sampling points are added to the matching failure region and the neighborhood of the matching failure region, and then the energy spectrum data of the added sampling points are obtained, and the energy spectrum data are added to the corresponding position of the corresponding regional energy spectrum map to update the regional energy spectrum map, and then the matching failure region is confirmed. Determine whether there is a matching failure area between the updated regional energy spectrum and the corresponding area; if so, repeat the above steps until there is no matching failure area between the two; since the newly added sampling points in each iteration round are all located in the matching failure area, the scope of the matching failure area can be gradually narrowed through multiple iteration rounds until the latest regional energy spectrum is completely matched with the corresponding area; since the two are completely matched, the sample energy spectrum has a higher accuracy; compared with controlling EDS to scan each area point by point to determine the sample energy spectrum, the number of EDS scanning points can be significantly reduced, thereby significantly reducing the determination time of the sample energy spectrum, and can also avoid sample damage due to excessive EDS scanning time, which affects the accuracy of the sample energy spectrum.
[0076] Figure 2 is a flow chart of another energy spectrum imaging method provided according to an embodiment of the present invention. Based on the above embodiment, this embodiment determines a three-dimensional sample energy spectrum based on the corresponding relationship between the angle and the two-dimensional energy spectrum. Figure 2 As shown, the energy spectrum imaging method includes the following steps:
[0077] S2101, controlling the rotating platform to rotate to a current angle in a set angle combination, and controlling the electron microscope to collect a microscopic image of a target sample on the rotating platform at the current angle.
[0078] The angle combination is set to include at least two angles, so as to reconstruct the microscopic images of at least two angles, thereby obtaining an image for determining the defect information of the target sample.
[0079] The rotating platform is used to carry the target sample.
[0080] Specifically, the target sample is placed on a rotating platform, and the rotating platform is controlled to rotate. When the rotating platform rotates to each angle in the set angle combination, the electron microscope is controlled to collect a microscopic image of the target sample on the rotating platform at the current angle, so as to obtain a microscopic image of the target sample at the current angle in the set angle combination. The advantage of this is that microscopic images of the target sample in different directions can be obtained, more sample areas can be seen, and more comprehensive information can be provided.
[0081] S2102, performing image segmentation on the microscopic image of the target sample at the current angle to obtain an image segmentation result at the current angle, wherein the image segmentation result at the current angle includes at least two areas.
[0082] Specifically, for each angle in the set angle combination, the microscopic image at the current angle is segmented based on image segmentation to obtain an image segmentation result at the current angle, which includes at least two areas, and adjacent areas correspond to different elements.
[0083] S220 . For each of the at least two regions, initialize a regional energy spectrum of the current region, and determine at least two sampling points in the current region.
[0084] S230, controlling the energy spectrum analysis device to collect energy spectrum data of at least two sampling points.
[0085] S240: Update the regional energy spectrum diagram of the current area based on the energy spectrum data of at least two sampling points.
[0086] S250, determining whether there is a matching failure area between the regional energy spectrum map and the current area in the image segmentation result, if yes, executing S260; if not, executing S270.
[0087] S260, based on the coordinates of all known sampling points, determine at least two sampling points in the matching failure area and a set neighborhood of the matching failure area, and return to S230 until there is no matching failure area in the regional energy spectrum of the current area and the current area in the image segmentation result.
[0088] In this embodiment, determining at least two sampling points in the matching failure area and a set neighborhood of the matching failure area includes: determining at least two sampling points in the matching failure area and a set neighborhood of the matching failure area based on a set nested sampling method.
[0089] The nested sampling method may be at least one of a Markov Chain Monte Carlo method (MCMC), a nested sampling method (Nested Sampling) and a dynamic nested sampling method (Dynamic Nested Sampling), and this embodiment does not specifically limit this.
[0090] The neighborhood range may be set according to actual usage, and is not specifically limited in this embodiment.
[0091] Exemplary, reference Figure 1D , based on the set nested sampling method, at least two sampling points are determined in the matching failure area and the set neighborhood of the matching failure area as the newly added sampling point 1081 (red point), and the coordinates of the newly added sampling point 1081 are input into the EDS device to collect the energy spectrum data of the newly added sampling point.
[0092] S2701. Determine the angular energy spectrum of the target sample at the current angle based on the regional energy spectrum of all regions.
[0093] Specifically, the rotating platform is controlled to rotate to the current angle in the set angle combination, the EDS device is controlled to collect energy spectrum data of the sampling point of the target sample on the rotating platform at the current angle, and the energy spectrum diagram of the target sample at the current angle is obtained based on the energy spectrum data as the angle energy spectrum diagram.
[0094] S2702. Determine a sample energy spectrum of the target sample according to the angle energy spectrum corresponding to each angle in the set angle combination.
[0095] Specifically, based on the positional relationship between the angles in the set angle combination, all angle energy spectra are reconstructed to obtain the sample energy spectrum of the target sample. The advantage of this is that material composition analysis can be performed not only in two-dimensional space, but also in three-dimensional space, effectively improving the reliability and accuracy of energy spectrum images.
[0096] Compared with determining the angle energy spectrum by point-by-point sampling, this embodiment can improve the determination speed of the angle energy spectrum and reduce the data amount of the angle energy spectrum by reducing the number of sampling points of the angle energy spectrum. The reduction in the data amount of each angle energy spectrum can greatly improve the reconstruction speed of the three-dimensional sample energy spectrum, thereby achieving the technical effect of improving the determination speed of the three-dimensional sample energy spectrum from different dimensions.
[0097] Figure 3It is a flow chart of another energy spectrum imaging method provided according to an embodiment of the present invention. This embodiment can be applied to the scenario of defect analysis of semiconductors. This embodiment and the energy spectrum imaging method in the above embodiment belong to the same inventive concept. On the basis of the above embodiment, a defect analysis step is added.
[0098] S310, performing image segmentation on the microscopic image of the target sample to obtain an image segmentation result including at least two regions.
[0099] S320 , for each of the at least two regions, initialize a regional energy spectrum of the current region, and determine at least two sampling points in the current region.
[0100] S330, controlling the energy spectrum analysis device to collect energy spectrum data of at least two sampling points.
[0101] S340: Update the regional energy spectrum diagram of the current area based on the energy spectrum data of at least two sampling points.
[0102] S350, determining whether there is a matching failure area between the regional energy spectrum map and the current area in the image segmentation result, if yes, executing S360; if not, executing S370.
[0103] S360, based on the coordinates of all known sampling points, determine at least two sampling points in the matching failure area and a set neighborhood of the matching failure area, and return to S330 until there is no matching failure area in the regional energy spectrum of the current area and the current area in the image segmentation result.
[0104] S370, determining a sample energy spectrum of the target sample according to the regional energy spectra of all regions.
[0105] S3801. Determine a target comparison result between a sample energy spectrum of a target sample and a sample energy spectrum of a standard sample.
[0106] The standard sample and the target sample are products of the same model, wherein the standard sample has no defects.
[0107] Specifically, an image or three-dimensional structure difference detection model is used to determine the image difference between the sample energy spectrum of the target sample and the sample energy spectrum of the standard sample, and the image or three-dimensional structure difference is used as the target comparison result.
[0108] S3802. Determine the defect information corresponding to the target comparison result according to the correspondence between the comparison result and the defect information created in advance, and use the defect information as the defect information of the target sample.
[0109] It is understandable that different defects of the sample will correspond to different sample energy spectra and also to different comparison results. Therefore, the correspondence between the comparison results and the defect information is preset.
[0110] Specifically, various defect types that may occur in the target sample are determined, and comparison results corresponding to each defect type are pre-set to obtain a correspondence between the comparison result and the defect information; based on the correspondence, the defect type corresponding to the target comparison result is determined, and the defect type is used as the defect information of the target sample.
[0111] The technical solution of this embodiment compares the sample energy spectrum of the target sample with the sample energy spectrum of the standard sample to obtain a comparison result; based on the comparison result, the defect information of the target sample is determined, thereby achieving the technical effect of automatically determining the sample defect information.
[0112] Figure 4A It is a structural block diagram of an energy spectrum imaging device provided according to an embodiment of the present invention. This embodiment is applicable to the scenario of energy spectrum imaging of semiconductors. The energy spectrum imaging device can be implemented in the form of hardware and / or software and configured in the processor of the electronic device.
[0113] like Figure 4A As shown, the energy spectrum imaging device includes: an image segmentation module 401, which is used to perform image segmentation on the microscopic image of the target sample to obtain an image segmentation result including at least two regions; an energy spectrum data acquisition module 402, which is used to initialize the regional energy spectrum map of the current region for each of the at least two regions, determine at least two sampling points in the current region, and obtain energy spectrum data of the at least two sampling points; a first energy spectrum map module 403, which updates the regional energy spectrum map of the current region based on the energy spectrum data of at least two sampling points; an optimization module 404, which is used to determine at least two sampling points in the matching failure region and a set neighborhood of the matching failure region based on the coordinates of all known sampling points when there is a matching failure region between the regional energy spectrum map and the current region in the image segmentation result; an iteration module 405, which is used to return to the step of collecting energy spectrum data of at least two sampling points until there is no matching failure region between the regional energy spectrum map of the current region and the current region in the image segmentation result, and determine the sample energy spectrum map of the target sample according to the regional energy spectrum maps of all regions.
[0114] Optional, reference Figure 4B The energy spectrum data acquisition module 402 includes a first sampling point determination unit 4021, and the first sampling point determination unit 4021 is used to:
[0115] Based on the shape of the current region, at least two sampling points are determined in the current region.
[0116] Optionally, the first sampling point determination unit 3021 is specifically used to: take the boundary of the current area as the center of the Gaussian distribution, and adopt a random sampling method of the Gaussian distribution to determine at least two sampling points in the current area; or adopt a grid sampling method to determine at least two sampling points in the current area; wherein, in the direction from the center of the current area to the boundary of the current area, the grid spacing gradually decreases.
[0117] Optional, reference Figure 4C The optimization module 404 includes a second sampling point determination unit 4041, and the second sampling point determination unit 4041 is used to:
[0118] At least two sampling points are determined in the matching failure area and a set neighborhood of the matching failure area based on a set nested sampling method.
[0119] Optionally, the image segmentation module 401 is used to:
[0120] Inputting a microscopic image of a target sample into a pre-trained image segmentation model to obtain an image segmentation result including at least two regions;
[0121] Among them, different areas correspond to different elements.
[0122] Optional, reference Figure 4D The image segmentation module 401 includes an angle image segmentation unit 4011, and the iteration module 405 includes a sample energy spectrum determination unit 4051. The angle image segmentation unit 4011 is specifically used for:
[0123] Controlling the rotating platform to rotate to a current angle in a set angle combination, and controlling the electron microscope to collect a microscopic image of a target sample on the rotating platform at the current angle;
[0124] Performing image segmentation on the microscopic image of the target sample at the current angle to obtain an image segmentation result at the current angle, wherein the image segmentation result at the current angle includes at least two regions;
[0125] The sample energy spectrum determination unit 4051 is specifically used for:
[0126] According to the regional energy spectra of all regions, determine the angular energy spectrum of the target sample at the current angle;
[0127] The sample energy spectrum of the target sample is determined according to the angle energy spectrum corresponding to each angle in the set angle combination.
[0128] Optional, reference Figure 4E The device further includes a defect analysis module 406, which is used to:
[0129] Determine a target comparison result between a sample energy spectrum of a target sample and a sample energy spectrum of a standard sample;
[0130] According to the pre-created correspondence between the comparison result and the defect information, the defect information corresponding to the target comparison result is determined, and the defect information is used as the defect information of the target sample.
[0131] The technical solution of the embodiment of the present invention performs image segmentation on the microscopic image of the target sample to obtain an image segmentation result including at least two regions; for each region, at least two sampling points of the current region are determined, and energy spectrum data of the at least two sampling points and a regional energy spectrum map corresponding to the energy spectrum data of the at least two sampling points are obtained; the regional energy spectrum map is matched with the corresponding region, and if there is no matching failure region, it indicates that the regional energy spectrum map corresponding to the energy spectrum data of all current sampling points has a high accuracy; if there is a matching failure region, sampling points are added to the matching failure region and the neighborhood of the matching failure region, and then the energy spectrum data of the added sampling points are obtained, and the energy spectrum data are added to the corresponding position of the corresponding regional energy spectrum map to update the regional energy spectrum map, and then the matching failure region is confirmed. Determine whether there is a matching failure area between the updated regional energy spectrum and the corresponding area; if so, repeat the above steps until there is no matching failure area between the two; since the newly added sampling points in each iteration round are all located in the matching failure area, the scope of the matching failure area can be gradually narrowed through multiple iteration rounds until the latest regional energy spectrum is completely matched with the corresponding area; since the two are completely matched, the sample energy spectrum has a higher accuracy; compared with controlling EDS to scan each area point by point to determine the sample energy spectrum, the number of EDS scanning points can be significantly reduced, thereby significantly reducing the determination time of the sample energy spectrum, and can also avoid sample damage due to excessive EDS scanning time, which affects the accuracy of the sample energy spectrum.
[0132] The energy spectrum imaging device provided in the embodiment of the present invention can execute the energy spectrum imaging method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0133] Figure 5 is a block diagram of an electronic device provided according to an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0134] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0135] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0136] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the energy spectrum imaging method.
[0137] In some embodiments, the energy spectrum imaging method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the energy spectrum imaging method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the energy spectrum imaging method in any other appropriate manner (for example, by means of firmware).
[0138] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0139] The computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable spectral imaging device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0140] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0141] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0142] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0143] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0144] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0145] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A spectrum imaging method, characterized in that: include: Performing image segmentation on the microscopic image of the target sample to obtain an image segmentation result including at least two regions, wherein adjacent regions correspond to different elements; For each of the at least two regions, initializing a regional energy spectrum diagram of the current region, determining at least two sampling points in the current region, and controlling an energy spectrum analysis device to collect energy spectrum data of the at least two sampling points; Update the regional energy spectrum diagram of the current area based on the energy spectrum data of the at least two sampling points; In the case where there is a matching failure region between the regional energy spectrum map and the current region in the image segmentation result, determining at least two sampling points in the matching failure region and a set neighborhood of the matching failure region based on the coordinates of all known sampling points; Return to the step of collecting energy spectrum data of the at least two sampling points until there is no matching failure area between the regional energy spectrum of the current area and the current area in the image segmentation result, and determine the sample energy spectrum of the target sample based on the regional energy spectrum of all areas.
2. The method according to claim 1, characterized in that The step of determining at least two sampling points in the current area includes: Based on the shape of the current region, at least two sampling points are determined in the current region.
3. The method according to claim 2, characterized in that The step of determining at least two sampling points in the current area based on the shape of the current area includes: Taking the boundary of the current region as the center of the Gaussian distribution, using the random sampling method of the Gaussian distribution, determine at least two sampling points in the current region; or Determine at least two sampling points in the current area using a grid sampling method; Wherein, in the direction from the center of the current area to the boundary of the current area, the grid spacing gradually decreases.
4. The method according to claim 1, characterized in that The determining at least two sampling points in the matching failure area and a set neighborhood of the matching failure area includes: At least two sampling points are determined in the matching failure area and a set neighborhood of the matching failure area based on a set nested sampling method.
5. The method according to claim 1, characterized in that The image segmentation of the microscopic image of the target sample is performed to obtain an image segmentation result including at least two regions, including: The microscopic image of the target sample is input into a pre-trained image segmentation model to obtain an image segmentation result including at least two regions.
6. The method according to claim 1, characterized in that The image segmentation of the microscopic image of the target sample is performed to obtain an image segmentation result including at least two regions, including: Controlling the rotating platform to rotate to a current angle in a set angle combination, and controlling the electron microscope to collect a microscopic image of a target sample on the rotating platform at the current angle; Performing image segmentation on the microscopic image of the target sample at the current angle to obtain an image segmentation result at the current angle, wherein the image segmentation result at the current angle includes at least two regions; The step of determining the sample energy spectrum of the target sample according to the regional energy spectrum of all regions includes: Determine the angular energy spectrum of the target sample at the current angle according to the regional energy spectrum of all regions; The sample energy spectrum of the target sample is determined according to the angle energy spectrum corresponding to each angle in the set angle combination.
7. The method according to claim 1, characterized in that After determining the sample energy spectrum of the target sample, the method further includes: Determining a target comparison result between the sample energy spectrum of the target sample and the sample energy spectrum of the standard sample; According to the pre-created correspondence between the comparison result and the defect information, the defect information corresponding to the target comparison result is determined, and the defect information is used as the defect information of the target sample.
8. A spectrum imaging device, characterized in that: include: An image segmentation module is used to perform image segmentation on the microscopic image of the target sample to obtain an image segmentation result including at least two regions, wherein adjacent regions correspond to different elements; An energy spectrum data acquisition module, used for initializing a regional energy spectrum diagram of a current region for each of the at least two regions, determining at least two sampling points in the current region, and acquiring energy spectrum data of the at least two sampling points; A first energy spectrum module, which updates a regional energy spectrum of the current area based on the energy spectrum data of the at least two sampling points; An optimization module, configured to determine, when there is a matching failure region between the regional energy spectrum and the current region in the image segmentation result, at least two sampling points in the matching failure region and a set neighborhood of the matching failure region based on the coordinates of all known sampling points; An iterative module is used to return to the step of collecting the energy spectrum data of the at least two sampling points until there is no matching failure area between the regional energy spectrum of the current area and the current area in the image segmentation result, and determine the sample energy spectrum of the target sample based on the regional energy spectrum of all areas.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the energy spectrum imaging method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the energy spectrum imaging method according to any one of claims 1 to 7 when executed.
