A method, apparatus, device and medium for generating an optical calibration point

By automatically generating optical calibration points and utilizing material distribution maps and mesh generation techniques, the problem of low efficiency in manual operations was solved, enabling precise calibration of high-density photomasks and improving the overlay accuracy of photolithography processes.

CN123136979APending Publication Date: 2026-11-20ANHUI JINGMEI MASK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611618527.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-20
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In existing technologies, the determination of optical calibration points relies on manual operation, which is inefficient and inconsistent in quality, making it difficult to meet the calibration requirements of high-density patterns in semiconductor manufacturing processes.

Method used

By acquiring the material distribution map of the mask, dividing it into mesh cells, calculating the material purity and Euclidean distance, and automatically selecting the optimal calibration area, the optical calibration points can be automatically generated.

Benefits of technology

It improves the efficiency and consistency of optical calibration point determination, ensures the reliability and accuracy of calibration results, and is suitable for photolithography processes using high-density photomasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136979A_ABST
    Figure CN123136979A_ABST
Patent Text Reader

Abstract

The application provides a photometric calibration point generation method, device, equipment and medium, the generation method comprises the following steps: obtaining the material quality distribution map of a to-be-detected mask and the overall center position of the material quality distribution map; according to a preset window size, the material quality distribution map is divided into a plurality of grid units; for each material quality, the material quality purity of the material quality in each grid unit is calculated, and the grid unit whose material quality purity meets a preset condition is determined as a candidate calibration area of the material quality; for each candidate calibration area of each material quality, the area center position of the candidate calibration area is obtained, and the Euclidean distance between the area center position and the overall center position is calculated; for each material quality, the candidate calibration area with the smallest Euclidean distance is selected as the photometric calibration area of the material quality. Through the photometric calibration point generation method, device, equipment and medium provided by the application, the technical problem of high difficulty in accurately positioning the calibration point is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of semiconductors, and more particularly to a method, apparatus, device, and medium for generating optical calibration points. Background Technology

[0002] In semiconductor photolithography, the photomask is the component that carries the circuit pattern. The photolithography machine projects the pattern on the photomask onto the wafer surface and stacks layers on the wafer to form a complete chip circuit. To ensure that each layer of the pattern is aligned with the previously formed semiconductor structure, the photolithography machine must identify spatial reference marks with precise known coordinates on the photomask, i.e., optical calibration points. As the spatial reference for the entire exposure system, the optical calibration points function to establish a unified coordinate system for the photolithography machine, allowing the relative position between the photomask and the wafer to be measured and compensated, thereby ensuring that the overlay accuracy reaches the nanometer level. Therefore, the specific location of the optical calibration points on the photomask must be determined before the photolithography process begins.

[0003] Currently, the determination of optical calibration points relies on manual operation. Operators must manually identify and select the position coordinates of different material areas on the preview image of the inspection machine, based on experience, and then collect optical signals as the basis for calibration. This method of determining optical calibration points is inefficient, and the quality of point selection varies from person to person, making it difficult to guarantee the consistency and stability of calibration results. More importantly, as semiconductor manufacturing processes evolve towards smaller nodes, mask patterns become increasingly dense and complex, drastically increasing the difficulty of accurately locating calibration points manually within a limited area. Therefore, there are areas for improvement. Summary of the Invention

[0004] This invention provides a method, apparatus, device, and medium for generating optical calibration points to solve the technical problem of the difficulty in accurately locating calibration points.

[0005] The present invention provides a method for generating optical calibration points, comprising: Obtain the material distribution map of the mask to be detected and the overall center position of the material distribution map; Based on the preset window size, the material distribution map is divided into multiple grid units; For each material, the material purity in each of the grid cells is calculated, and the grid cells whose material purity meets the preset conditions are determined as candidate calibration regions for that material. For each candidate calibration region of each material, obtain the region center position of the candidate calibration region, and calculate the Euclidean distance between the region center position and the overall center position; For each of the aforementioned materials, the candidate calibration region with the smallest Euclidean distance is selected as the optical calibration region for that material.

[0006] In one embodiment of the present invention, obtaining the material distribution map of the mask to be detected includes: Obtain the graphic writing data of the mask to be tested; the graphic writing data is graphic data used to describe the circuit patterns of each layer of the mask; Based on the type of the mask, the graphic writing data is converted to a data type corresponding to the type, generating material mapping data corresponding to various materials in the mask; the material mapping data is used to characterize the spatial distribution of the corresponding materials on the surface of the mask; The material mapping data is parsed to obtain the material distribution map of the mask; the material distribution map contains multiple sub-regions, and each sub-region corresponds to a material.

[0007] In one embodiment of the present invention, the step of performing a data conversion on the graphic writing data corresponding to the type of the mask, and generating material mapping data corresponding to various materials in the mask, includes: Determine the type of the mask: When the type is a binary mask, the graphic writing data is single-layer graphic data. The single-layer graphic data is used as the material mapping data of a certain material, and an inversion operation is performed on the single-layer graphic data. The result of the inversion operation is used as the material mapping data of another material. When the type is a phase-shift mask, the graphic writing data includes a first layer of graphic data and a second layer of graphic data. Based on the combination state of the first layer of graphic data and the second layer of graphic data, the physical space of the phase-shift mask is classified to obtain material mapping data corresponding to various materials.

[0008] In one embodiment of the present invention, the step of classifying the physical space of the phase-shifting mask according to the combination state of the first layer of graphic data and the second layer of graphic data to obtain material mapping data corresponding to various materials includes: For each location in the physical space of the phase-shifting mask: The material at that location is determined based on whether there is a graphic in the first layer of graphic data and whether there is a graphic in the second layer of graphic data. When a position has a graphic in the first layer of graphic data but no graphic in the second layer of graphic data, the material of that position is the material corresponding to the first layer of graphic data. When there is no graphic at this location in the first layer of graphic data and no graphic in the second layer of graphic data, the material at this location is no material. When there is no graphic at a certain position in the first layer of graphic data but there is a graphic in the second layer of graphic data, the material at that position is the material corresponding to the second layer of graphic data. When a location has a graphic in both the first layer of graphic data and the second layer of graphic data, the material of that location is the material corresponding to the second layer of graphic data. Based on the material determination results at each position in the physical space of the phase-shifting mask, material mapping data corresponding to each material is obtained.

[0009] In one embodiment of the present invention, the step of calculating the material purity of each material in each of the mesh cells, and determining the mesh cells whose material purity meets a preset condition as candidate calibration regions for that material, includes: For each material, in each mesh cell, the sum of the areas of the sub-regions belonging to that material within that mesh cell is obtained; The material purity in the grid cell is calculated based on the sum of the areas and the total area of ​​the grid cells. Mesh cells with a material purity greater than or equal to a preset purity threshold are identified as candidate calibration regions for that material.

[0010] In one embodiment of the present invention, selecting the candidate calibration region with the smallest Euclidean distance as the optical calibration region for each material includes: For each material: The Euclidean distances of each of the candidate calibration regions of the material are read sequentially; During the reading process, the currently read Euclidean distance is compared with the smallest Euclidean distance already read; If the currently read Euclidean distance is less than the already read minimum Euclidean distance, then the already read minimum Euclidean distance is updated to the currently read Euclidean distance, and the currently read candidate calibration region is recorded. Once the Euclidean distance of all candidate calibration regions for the material has been read, the recorded candidate calibration regions are taken as the optical calibration regions for the material.

[0011] In one embodiment of the present invention, the generation method further includes: using the center position of the optical calibration area as an optical calibration point.

[0012] The present invention also provides an apparatus for generating optical calibration points, comprising: The data acquisition module is used to acquire the material distribution map of the mask to be detected and the overall center position of the material distribution map; The grid division module is used to divide the material distribution map into multiple grid units according to a preset window size; The candidate region determination module is used to calculate the material purity of each material in each of the grid cells for each material, and determine the grid cells whose material purity meets the preset conditions as candidate calibration regions for that material. The distance calculation module is used to obtain the region center position of each candidate calibration region for each of the materials, and calculate the Euclidean distance between the region center position and the overall center position; The calibration area selection module is used to select the candidate calibration area with the smallest Euclidean distance as the optical calibration area for each material.

[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the optical calibration point generation method described above.

[0014] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the method for generating optical calibration points.

[0015] The beneficial effects of this invention are as follows: By acquiring a material distribution map and dividing it into grids according to a preset window size, the transformation from the physical material space of the mask to a computable grid cell is achieved. Based on this, by calculating the material purity of each material in each grid cell and selecting grid cells that meet preset conditions as candidate calibration regions, the selection of calibration regions is transformed from qualitative judgment relying on human experience to quantitative screening based on material purity, avoiding the subjectivity and inconsistency of human judgment. Simultaneously, by calculating the distance between the center of the candidate calibration region and the overall center of the material distribution map and selecting the candidate calibration region with the smallest distance, the final determined optical calibration region is as close as possible to the physical center of the mask while meeting the material purity requirements, improving the reliability of the calibration region selection results. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0017] In the attached diagram: Figure 1 This is a flowchart of a method for generating optical calibration points according to an embodiment of the present invention; Figure 2This is a schematic diagram of an optical calibration point generation device provided in one embodiment of the present invention; Figure 3 This is a schematic diagram of an electronic device provided in one embodiment of the present invention. Detailed Implementation

[0018] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0019] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. The drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0020] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the invention. However, it will be apparent to those skilled in the art that embodiments of the invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the invention.

[0021] In semiconductor photolithography, a photomask carries the circuit pattern to be transferred to the wafer surface. Before performing exposure operations, the photolithography machine needs to determine optical calibration points on the photomask to establish a spatial coordinate system, thereby ensuring that the relative position between the photomask and the wafer can be accurately measured and compensated. Therefore, the accuracy of the optical calibration points directly affects the overlay accuracy of the photolithography process.

[0022] Currently, the determination of optical calibration points is done manually by operators using preview images from the testing machine. Operators need to identify suitable material areas for acquiring optical signals on the preview image and manually mark the coordinates of these areas. The machine then acquires optical signals based on these coordinates as the calibration reference.

[0023] However, the aforementioned manual point selection method faces some practical problems in actual production. The quality of point selection often relies on the operator's personal experience, and the judgment standards of different personnel are difficult to maintain in a consistent manner, which affects the consistency of calibration results. In addition, as semiconductor process nodes continue to shrink, the density and complexity of patterns on the mask increase, making it more difficult to accurately locate areas that meet material requirements in the preview image.

[0024] To address the above issues, this invention provides a method for generating optical calibration points. Based on the pattern data written to a mask, a material distribution map is automatically generated. Using material purity as a constraint and spatial location as the optimization objective, optical calibration points that meet the calibration requirements are automatically searched and determined. This method does not rely on human experience and is suitable for data processing scenarios involving high-density pattern masks.

[0025] Please see Figure 1 The optical calibration point generation method disclosed in this embodiment includes the following steps: S10, obtaining the material distribution map of the mask to be tested and the overall center position of the material distribution map.

[0026] In some embodiments, step S10 includes the following steps: S11, obtaining graphic writing data of the mask to be detected; the graphic writing data is graphic data used to describe the circuit patterns of each layer of the mask.

[0027] In some embodiments, the pattern write data is the raw data used to describe the circuit pattern during the mask manufacturing process. Its source can be a GDS file or OASIS file generated during the mask design phase, or intermediate format data output after Mask Data Preparation (MDP) processing. The number of layers of pattern write data varies depending on the mask type. For binary masks, the circuit pattern involves only one layer of pattern data, which records the distribution of a material (such as chromium or a glass substrate) in the physical space of the mask. For phase-shift masks, due to the introduction of the phase-shift layer, the circuit pattern involves two layers of pattern data: a first layer and a second layer. The first layer describes the circuit pattern distribution of the lower material (such as chromium or a glass substrate). The second layer describes the circuit pattern distribution of the upper material (such as molybdenum-silicon).

[0028] In some embodiments, step S10 further includes the following step: S12, according to the type of the mask, perform data conversion on the graphic writing data corresponding to the type to generate material mapping data corresponding to various materials in the mask; the material mapping data is used to characterize the spatial distribution of the corresponding material on the surface of the mask.

[0029] In some embodiments, step S12 includes the following steps: S121, determine the type of mask: when the type is a binary mask, the graphic writing data is single-layer graphic data, the single-layer graphic data is used as the material mapping data of a certain material, and an inversion operation is performed on the single-layer graphic data, and the result of the inversion operation is used as the material mapping data of another material.

[0030] In some embodiments, when the mask is a binary mask, the pattern writing data is single-layer pattern data. This single-layer pattern data defines the distribution location of a certain material in the physical space of the mask. This distribution location can be the distribution location of chromium material or the distribution location of glass material, depending on the definition method when the data is generated. Regardless of the material defined, since the physical space of the binary mask contains only two materials, and the two materials are spatially complementary (i.e., any position on the mask surface must belong to one and only one of the materials), it is only necessary to determine the distribution location of one material; the distribution location of the other material is the complementary region of the former in the physical space.

[0031] Based on the aforementioned spatial complementarity, the single-layer graphic data is directly used as the material mapping data for a certain material. Then, an inversion operation is performed on this single-layer graphic data, and the result of the inversion operation is used as the material mapping data for another material. The essence of the inversion operation is to logically invert the graphic state (either having a graphic or not) at each position in the graphic data; that is, positions that originally had a graphic become those without, and positions that originally had no graphic become those with a graphic. Therefore, the material mapping data of a single material is converted into the material mapping data of another material through the inversion operation, and the two together constitute the complete material mapping data of the binary mask.

[0032] In some embodiments, step S12 further includes the following steps: S122, determining the type of mask: when the type is a phase shift mask, the graphic writing data includes a first layer graphic data and a second layer graphic data. Based on the combination state of the first layer graphic data and the second layer graphic data, the physical space of the phase shift mask is classified to obtain material mapping data corresponding to various materials.

[0033] In some embodiments, step S122 includes the following steps: For each location in the physical space of the phase-shifting mask: The material at that location is determined based on whether there is a graphic in the first layer of graphic data and whether there is a graphic in the second layer of graphic data. When a position contains a graphic in the first layer of graphic data but not in the second layer of graphic data, the material at that position is the material corresponding to the first layer of graphic data. When there is no graphic in the first layer of graphic data and no graphic in the second layer of graphic data at this location, the material at this location is no material; When there is no graphic in the first layer of graphic data but there is a graphic in the second layer of graphic data, the material of that position is the material corresponding to the second layer of graphic data. When a location contains a graphic in both the first and second layer of graphic data, the material at that location is the material corresponding to the second layer of graphic data. Based on the material determination results at each location in the physical space of the phase-shifting mask, material mapping data corresponding to each material is obtained.

[0034] In some embodiments, during the manufacturing process of the phase-shifting mask, the first layer of pattern data can correspond to chromium material. Chromium is a metallic material with good light-shielding properties, used as a light-shielding layer in the mask to block the transmission of exposure light. The second layer of pattern data can correspond to molybdenum-silicon material. Molybdenum-silicon is a semi-transparent material that not only has a certain proportion of light transmittance but also causes a phase shift in the transmitted light, thus it is used as the phase-shifting layer of the phase-shifting mask. The two materials are physically stacked, with the molybdenum-silicon material layered on top of the chromium material layer. Therefore, at any location in the physical space of the mask, the final material presented is determined by whether there is a pattern in both the first and second layers at that location. Based on this stacking relationship, it is necessary to determine the material at each location in the physical space of the phase-shifting mask individually.

[0035] For any location in the physical space of the phase-shifting mask, first determine if there is an image at that location in the first layer of image data, then determine if there is an image at that location in the second layer of image data. If there is an image in the first layer of image data, it indicates the presence of chromium material at that location. If there is no image in the first layer of image data, it indicates the absence of chromium material at that location. If there is an image in the second layer of image data, it indicates the presence of molybdenum-silicon material at that location. If there is no image in the second layer of image data, it indicates the absence of molybdenum-silicon material at that location. Based on the results of these two determinations, four possible combinations can be formed, each corresponding to a different material affiliation.

[0036] When a location contains a graphic in the first layer of graphic data but not in the second layer, that location contains chromium material, but not molybdenum-silicon material. Since the molybdenum-silicon material layer is stacked on top of the chromium material layer, the absence of the molybdenum-silicon material indicates that the chromium material layer is not covered; therefore, the material at that location is chromium.

[0037] When a location has no graphic in both the first and second layer of graphic data, that location contains neither chromium nor molybdenum-silicon material. Since neither layer of material is present, the substrate material at that location is exposed, forming a material-free region, i.e., the glass substrate area of ​​the photomask.

[0038] When a location has no graphic in the first layer of graphic data but has a graphic in the second layer of graphic data, there is no chromium material at that location, but there is molybdenum-silicon material. The molybdenum-silicon material is directly overlaid on the glass substrate, and since there is no chromium material layer underneath, the material at that location is molybdenum-silicon material.

[0039] When a location contains graphics in both the first and second layer of graphic data, that location simultaneously contains both chromium and molybdenum-silicon materials. Since the molybdenum-silicon material layer is stacked on top of the chromium material layer, covering the underlying chromium material layer, the material at that location is molybdenum-silicon.

[0040] According to the classification rules of the above four combination states, after completing the material determination for each position in the physical space of the phase-shifting mask, all positions belonging to the same material are summarized to obtain the material mapping data corresponding to each material, including the material mapping data of chromium material, the material mapping data of molybdenum-silicon material, and the material mapping data of the glass substrate region.

[0041] In some embodiments, step S10 further includes the following steps: S13, parsing the material mapping data to obtain a material distribution map of the mask; the material distribution map contains multiple sub-regions, each sub-region corresponding to a material.

[0042] In some embodiments, parsing material mapping data involves converting the distribution information of various materials in the physical space of the mask into a material distribution map. Material mapping data records the specific distribution boundaries and location information of each material in the physical space of the mask; however, this information is described in a continuous spatial manner and cannot be directly used for subsequent quantitative calculations. Therefore, it is necessary to convert the material distribution information in continuous space into a discretized data structure composed of basic units.

[0043] During the parsing process, the physical space of the mask is divided based on the boundary positions of different materials in the material mapping data. Material boundaries are determined by the position of the graphic edges in the graphic data. The boundaries of different materials intersect, dividing the entire physical space into multiple sub-regions. Since the division is based on material boundaries, the material within each sub-region is uniform, and there are no cases of crossing material boundaries; therefore, each sub-region corresponds to only one material. The size of all sub-regions is determined by the distribution of material boundaries; different sub-regions can be the same size or different sizes. Each sub-region has definite spatial location information in the mask's physical space, which is used for subsequent spatial positioning of the sub-region.

[0044] For each material, after the above division, all sub-regions corresponding to that material are extracted from the material mapping data to obtain the distribution information of all sub-regions of that material in the physical space of the mask. After performing the above parsing on the material mapping data of each material, all sub-regions of each material are summarized to obtain the material distribution map of the mask. The material distribution map contains material information corresponding to all locations in the physical space of the mask, and its basic building block is the sub-region, with each sub-region corresponding to a material.

[0045] Please see Figure 1 The optical calibration point generation method disclosed in this embodiment further includes the following steps: S20, dividing the material distribution map into multiple grid units according to the preset window size.

[0046] In some embodiments, after obtaining the material distribution map of the mask, it is necessary to spatially partition the material distribution map to merge the sub-regions into larger spatial units. The number of sub-regions in the material distribution map can be enormous; directly processing each sub-region would result in excessive computation, failing to meet the processing efficiency requirements of practical applications. Furthermore, the shapes and sub-region distributions of material distribution maps vary between different masks, lacking a unified comparison benchmark. Therefore, it is necessary to mesh the material distribution map based on a preset window size.

[0047] The preset window size can be set based on the field of view parameters of the inspection equipment or according to process requirements. The window size determines the area covered by each grid cell in the physical space of the mask. A larger window size results in fewer grid cells and coarser granularity in subsequent calculations. A smaller window size results in more grid cells and finer granularity in subsequent calculations. In practical applications, the selection of the window size needs to balance equipment requirements and computational efficiency.

[0048] Based on a preset window size, the entire physical space of the material distribution map is divided according to fixed row and column spacing. The division begins at a corner of the physical space and proceeds sequentially along the row and column directions, using the window size as a step, until the entire physical space is covered. After division, the material distribution map is divided into multiple grid cells, each with a size equal to the preset window size. Each grid cell has a defined spatial extent within the mask's physical space, defined by its minimum and maximum horizontal coordinate values, as well as its minimum and maximum vertical coordinate values.

[0049] After mesh generation, the center position of each mesh cell is calculated. For any given mesh cell, the x-coordinate center value is calculated based on the minimum and maximum x-coordinate values, and the y-coordinate center value is calculated based on the minimum and maximum y-coordinate values. The combined x-coordinate and y-coordinate center values ​​determine the center position of that mesh cell. This center position is used to subsequently calculate the distance between the mesh cell and the overall center position of the material distribution map.

[0050] Each grid cell may contain multiple sub-regions or only one sub-region, depending on the relative size relationship between the window size and the sub-region size. After partitioning, all grid cells together cover the entire physical space of the mask, forming a regular grid array.

[0051] Please see Figure 1 The optical calibration point generation method disclosed in this embodiment further includes the following steps: S30, for each material, calculate the material purity in each grid cell, and determine the grid cell whose material purity meets the preset conditions as the candidate calibration area of ​​the material.

[0052] In some embodiments, step S30 includes the following steps: S31, for each material, in each grid cell, obtain the sum of the areas of the sub-regions belonging to that material within that grid cell.

[0053] After the material distribution map is meshed, each mesh cell may contain multiple sub-regions, and each sub-region corresponds to a different material. Therefore, a single mesh cell may contain sub-regions of multiple materials. For each material, the material purity in each mesh cell needs to be calculated separately to evaluate whether the mesh cell meets the criteria for being a candidate calibration region.

[0054] For any material and any mesh cell, first, obtain all sub-regions belonging to that material within the mesh cell from the material distribution map, and calculate the sum of the areas of these sub-regions. Since each sub-region in the material distribution map has a defined spatial extent, its area can be calculated based on the boundary coordinates of the sub-region. By adding the areas of all sub-regions belonging to that material within the mesh cell, the coverage area of ​​that material in the mesh cell can be obtained.

[0055] In some embodiments, step S30 further includes the following step: S32, calculating the material purity in the grid cell based on the sum of the areas and the total area of ​​the grid cells.

[0056] After obtaining the coverage area of ​​the material within the grid cell, the material purity within that grid cell is calculated based on the ratio of this coverage area to the total area of ​​the grid cell. The total area of ​​the grid cell is determined by a preset window size. Material purity reflects the proportion of the material in the physical space covered by the grid cell. Higher material purity indicates more complete coverage of the material within the grid cell. Lower material purity indicates a greater proportion of other materials mixed within the grid cell. When the material purity is 100%, it means that the grid cell consists entirely of sub-regions of that material, with no sub-regions of other materials present.

[0057] In some embodiments, step S30 further includes the following step: S33, determining the mesh cells with material purity greater than or equal to a preset purity threshold as candidate calibration regions for the material.

[0058] After calculating the material purity in each grid cell, the material purity of each grid cell is compared with a preset purity threshold for that material. The preset purity threshold is a pre-defined value used to measure whether a grid cell meets the material requirements for a calibration region. For any given grid cell, if the material purity in that cell is greater than or equal to the preset purity threshold, the grid cell is determined to meet the material purity requirements and is identified as a candidate calibration region for that material. If the material purity is less than the preset purity threshold, the grid cell is determined not to meet the material purity requirements and is not included in the candidate calibration region. By performing the above comparison and filtering operations for each material, the corresponding candidate calibration regions for each material can be obtained.

[0059] Please see Figure 1 The optical calibration point generation method disclosed in this embodiment further includes the following steps: S40, for each candidate calibration area of ​​each material, obtain the region center position of the candidate calibration area, and calculate the Euclidean distance between the region center position and the overall center position.

[0060] In some embodiments, after screening candidate calibration regions, the optimal one needs to be selected from the candidate calibration regions for each material as the optical calibration region for that material. The selection is based on the position of the candidate calibration region in the physical space of the mask. In actual photolithography processes, the physical center region of the mask is considered to have better optical representativeness; therefore, the closer the candidate calibration region is to the physical center of the mask, the higher its reliability as a calibration region. Based on this consideration, the distance between the center position of the candidate calibration region and the overall center position of the material distribution map is used as the selection criterion, with the candidate calibration region having higher priority for smaller distances. Therefore, it is necessary to first determine the overall center position of the material distribution map, then calculate the distance between the center position of each candidate calibration region and the overall center position one by one, and finally select the candidate calibration region with the smallest distance as the optical calibration region.

[0061] In some embodiments, the material distribution map covers the entire physical space of the mask, and its overall center position is the geometric center of the mask's physical space. The overall center position of the material distribution map is determined by both the horizontal and vertical axes. The horizontal axis is the average of the minimum and maximum values ​​of the material distribution map's horizontal axis, and the vertical axis is the average of the minimum and maximum values ​​of the material distribution map's vertical axis. This overall center position serves as a unified reference point for subsequent distance calculations; the same reference point is used for distance calculations across all candidate calibration regions.

[0062] In some embodiments, for any candidate calibration region under any material, the center position of the candidate calibration region is first obtained. The candidate calibration region itself is a mesh cell, and the spatial extent of this mesh cell has been determined during the mesh generation stage, including the minimum and maximum values ​​of the abscissa, ordinate, and ordinate. The abscissa of the center position is the average of the minimum and maximum abscissa values ​​of the candidate calibration region, and the ordinate of the center position is the average of the minimum and maximum ordinate values ​​of the candidate calibration region; both together constitute the center position of the candidate calibration region. After obtaining the center position of the region and the overall center position of the material distribution map, the Euclidean distance between the center position of the region and the overall center position is calculated according to the definition of Euclidean distance. The Euclidean distance reflects the straight-line distance between the two in the physical space of the mask; the smaller the value, the closer the candidate calibration region is to the physical center of the mask.

[0063] Please see Figure 1 The method for generating optical calibration points disclosed in this embodiment further includes the following steps: S50, for each material, select the candidate calibration area with the smallest Euclidean distance as the optical calibration area of ​​that material.

[0064] In some embodiments, step S50 includes the following steps: For each material: Read the Euclidean distances of each candidate calibration region of the material in sequence; During the reading process, the currently read Euclidean distance is compared with the smallest Euclidean distance already read; If the currently read Euclidean distance is less than the minimum read Euclidean distance, then update the minimum read Euclidean distance to the currently read Euclidean distance and record the candidate calibration region currently read. Once the Euclidean distance of all candidate calibration regions for the material has been read, the recorded candidate calibration regions are taken as the optical calibration regions for the material.

[0065] In some embodiments, after calculating the Euclidean distance of all candidate calibration regions, for each material, the one with the smallest Euclidean distance among all candidate calibration regions of that material needs to be selected as the optical calibration region of that material.

[0066] Since the number of candidate calibration regions can be very large, storing all the Euclidean distances of all candidate calibration regions and then comparing and sorting them all at once would consume a lot of storage space. Therefore, using a streaming approach to process the Euclidean distances of each candidate calibration region one by one can avoid storing all distance data at the same time, thereby reducing the storage space required.

[0067] Specifically, for any given material, the Euclidean distances corresponding to each candidate calibration region of that material are read sequentially. During the reading process, a variable is maintained to record the minimum value among all the read Euclidean distances, and a record is maintained to store the candidate calibration region corresponding to this minimum value.

[0068] Whenever a new Euclidean distance to a candidate calibration region is read, this distance is compared with the recorded minimum value. If the currently read Euclidean distance is less than the recorded minimum value, it means that the currently read candidate calibration region is closer to the physical center of the mask than all previously read candidate calibration regions. In this case, the recorded minimum value is updated to the currently read Euclidean distance, and the recorded candidate calibration region is updated to the currently read candidate calibration region. If the currently read Euclidean distance is not less than the recorded minimum value, it means that the currently read candidate calibration region is not better than the recorded best candidate calibration region. In this case, no update operation is required, and the process continues to read the next candidate calibration region.

[0069] Once the Euclidean distances of all candidate calibration regions for the material have been read, the variable records the minimum Euclidean distance among all candidate calibration regions for that material. The candidate calibration region saved in the record is the one closest to the physical center of the mask, and this candidate calibration region is determined as the optical calibration region for that material. By performing the above processing procedure for each material, the corresponding optical calibration region for each material can be obtained.

[0070] Once the optical calibration area is determined, it serves as the reference position for subsequent optical signal acquisition by the optical inspection equipment. The optical calibration area is a two-dimensional spatial range with a certain area. In actual inspection operations, the inspection equipment needs to be aligned with a precise coordinate point to perform signal acquisition. Therefore, the center position of the optical calibration area can be used as the actual optical calibration point, and the x-coordinate and y-coordinate of this center position are calculated from the spatial range of the optical calibration area.

[0071] As can be seen, in the above scheme, by performing corresponding data transformations on the graphic data written according to the mask type, material mapping data corresponding to various materials is generated, and a material distribution map containing a single material sub-region is obtained through parsing. This achieves an accurate conversion from design data to physical material distribution, enabling design data that originally could not directly reflect the real material distribution to be used for the automatic determination of calibration areas. Based on this, a joint screening mechanism of material purity constraints and spatial distance optimization is used to unify and standardize the selection process for calibration areas of different types of masks. Furthermore, the optimal region is selected from the candidate calibration areas using streaming reads and single-pass scans, updating the current optimal result in real time during the read process. This eliminates the need to load all candidate data, reducing memory usage to a constant level while maintaining linear time complexity, making it suitable for large-scale data processing scenarios.

[0072] Please see Figure 2 The present invention also provides an optical calibration point generation apparatus, which can be applied to the above-described generation method. The generation apparatus includes a data acquisition module 100, a mesh generation module 200, a candidate region determination module 300, a distance calculation module 400, and a calibration region selection module 500.

[0073] The data acquisition module 100 is used to acquire the material distribution map of the mask to be detected and the overall center position of the material distribution map.

[0074] The mesh division module 200 is used to divide the material distribution map into multiple mesh units according to the preset window size.

[0075] The candidate region determination module 300 is used to calculate the material purity of each material in each grid cell for each material, and determine the grid cells whose material purity meets the preset conditions as the candidate calibration regions of the material.

[0076] The distance calculation module 400 is used to obtain the region center position of each candidate calibration region for each material, and calculate the Euclidean distance between the region center position and the overall center position.

[0077] The calibration area selection module 500 is used to select the candidate calibration area with the smallest Euclidean distance for each material as the optical calibration area for that material.

[0078] Specific limitations regarding the generation device can be found in the limitations of the generation method described above, and will not be repeated here. Each module in the aforementioned generation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the memory in the electronic device, or stored in software form in the memory of the electronic device, so that the memory can call and execute the operations corresponding to each module.

[0079] Please see Figure 3 The electronic device 600 may include a memory 610, a processor 620, and a bus, and may also include a computer program stored in the memory 610 and executable on the processor 620, such as a program for generating optical calibration points.

[0080] The memory 610 includes at least one type of readable storage medium, including flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 610 can be an internal storage unit of the electronic device 600, such as the portable hard drive of the electronic device 600. In other embodiments, the memory 610 can also be an external storage unit of the electronic device 600, such as a plug-in portable hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device 600. Furthermore, the memory 610 can include both internal and external storage units of the electronic device 600. The memory 610 can be used not only to store application software and various types of data installed on the electronic device 600, such as code for generating optical calibration points, but also to temporarily store data that has been output or will be output.

[0081] In some embodiments, the processor 620 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits packaged with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 620 is the control unit of the electronic device 600, connecting various components of the electronic device 600 via various interfaces and lines. It executes programs or modules stored in the memory 610 (such as programs for generating optical calibration points) and calls data stored in the memory 610 to perform various functions of the electronic device 600 and process data.

[0082] The processor 620 executes the operating system of the electronic device 600 and various installed application programs. The processor 620 executes the application programs to implement the steps in the above-described method for generating optical calibration points.

[0083] A computer program can be divided into one or more modules. One or more modules are stored in memory 610 and executed by processor 620 to complete this application. The one or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in electronic device 500. For example, the computer program can be divided into a data acquisition module 100, a mesh generation module 200, a candidate region determination module 300, a distance calculation module 400, a calibration region selection module 500, etc.

[0084] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.

Claims

1. A method for generating optical calibration points, characterized in that, include: Obtain the material distribution map of the mask to be detected and the overall center position of the material distribution map; Based on the preset window size, the material distribution map is divided into multiple grid units; For each material, the material purity in each of the grid cells is calculated, and the grid cells whose material purity meets the preset conditions are determined as candidate calibration regions for that material. For each candidate calibration region of each material, obtain the region center position of the candidate calibration region, and calculate the Euclidean distance between the region center position and the overall center position; For each of the aforementioned materials, the candidate calibration region with the smallest Euclidean distance is selected as the optical calibration region for that material.

2. The method for generating optical calibration points according to claim 1, characterized in that, The process of obtaining the material distribution map of the mask to be detected includes: Obtain the graphic writing data of the mask to be tested; the graphic writing data is graphic data used to describe the circuit patterns of each layer of the mask; Based on the type of the mask, the graphic writing data is converted to a data type corresponding to the type, generating material mapping data corresponding to various materials in the mask; the material mapping data is used to characterize the spatial distribution of the corresponding materials on the surface of the mask; The material mapping data is parsed to obtain the material distribution map of the mask; the material distribution map contains multiple sub-regions, and each sub-region corresponds to a material.

3. The method for generating optical calibration points according to claim 2, characterized in that, The step of performing a data conversion on the graphic writing data according to the type of the mask, and generating material mapping data corresponding to various materials in the mask, includes: Determine the type of the mask: When the type is a binary mask, the graphic writing data is single-layer graphic data. The single-layer graphic data is used as the material mapping data of a certain material, and an inversion operation is performed on the single-layer graphic data. The result of the inversion operation is used as the material mapping data of another material. When the type is a phase-shift mask, the graphic writing data includes a first layer of graphic data and a second layer of graphic data. Based on the combination state of the first layer of graphic data and the second layer of graphic data, the physical space classification of the phase-shift mask is performed to obtain material mapping data corresponding to various materials.

4. The method for generating optical calibration points according to claim 3, characterized in that, The physical space classification of the phase-shift mask is performed based on the combination state of the first layer of graphic data and the second layer of graphic data to obtain material mapping data corresponding to various materials, including: For each location in the physical space of the phase-shifting mask: The material at that location is determined based on whether there is a graphic in the first layer of graphic data and whether there is a graphic in the second layer of graphic data. When a position has a graphic in the first layer of graphic data but no graphic in the second layer of graphic data, the material of that position is the material corresponding to the first layer of graphic data. When there is no graphic at this location in the first layer of graphic data and no graphic in the second layer of graphic data, the material at this location is no material; When there is no graphic at a certain position in the first layer of graphic data but there is a graphic in the second layer of graphic data, the material at that position is the material corresponding to the second layer of graphic data. When a location has a graphic in both the first layer of graphic data and the second layer of graphic data, the material of that location is the material corresponding to the second layer of graphic data. Based on the material determination results at each position in the physical space of the phase-shifting mask, material mapping data corresponding to each material is obtained.

5. The method for generating optical calibration points according to claim 1, characterized in that, The step of calculating the material purity of each material in each of the mesh cells and determining the mesh cells whose material purity meets the preset conditions as candidate calibration regions for that material includes: For each material, in each mesh cell, the sum of the areas of the sub-regions belonging to that material within that mesh cell is obtained; The material purity in the grid cell is calculated based on the sum of the areas and the total area of ​​the grid cells. Mesh cells with a material purity greater than or equal to a preset purity threshold are identified as candidate calibration regions for that material.

6. The method for generating optical calibration points according to claim 1, characterized in that, The step of selecting the candidate calibration region with the smallest Euclidean distance as the optical calibration region for each material includes: For each material: The Euclidean distances of each of the candidate calibration regions of the material are read sequentially; During the reading process, the currently read Euclidean distance is compared with the smallest Euclidean distance already read; If the currently read Euclidean distance is less than the already read minimum Euclidean distance, then the already read minimum Euclidean distance is updated to the currently read Euclidean distance, and the currently read candidate calibration region is recorded. Once the Euclidean distance of all candidate calibration regions for the material has been read, the recorded candidate calibration regions are taken as the optical calibration regions for the material.

7. The method for generating optical calibration points according to claim 1, characterized in that, The generation method further includes: using the center position of the optical calibration area as the optical calibration point.

8. An apparatus for generating optical calibration points, characterized in that, include: The data acquisition module is used to acquire the material distribution map of the mask to be detected and the overall center position of the material distribution map; The grid division module is used to divide the material distribution map into multiple grid units according to a preset window size; The candidate region determination module is used to calculate the material purity of each material in each of the grid cells for each material, and determine the grid cells whose material purity meets the preset conditions as candidate calibration regions for that material. The distance calculation module is used to obtain the region center position of each candidate calibration region for each of the materials, and calculate the Euclidean distance between the region center position and the overall center position; The calibration area selection module is used to select the candidate calibration area with the smallest Euclidean distance as the optical calibration area for each material.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes a computer program to implement the steps of the method for generating optical calibration points as described in any one of claims 1-7.

10. A computer-readable storage medium storing a computer program, characterized in that, When a computer program is executed by a processor, it implements the steps of the method for generating optical calibration points as described in any one of claims 1-7.