Path planning method, device and equipment for wafer detection and medium
By using the Pad in the grain as the reference unit for field-of-view planning, the problems of high complexity and low efficiency of wafer detection path planning in the prior art are solved, and a more efficient detection process is achieved.
Patent Information
- Application Number
- CN202411137004.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-26
AI Technical Summary
In the existing wafer detection technology, the path planning method based on the grain as the reference unit results in high algorithm calculation complexity and low detection efficiency, which cannot effectively reduce the number of camera photos, affecting the detection efficiency.
Use more finer particle sized objects, such as Pad in the grains as the reference unit, to plan the field of view, determine the target field of view and perform path planning, reduce the number of times the camera takes pictures, and ensure the integrity of the object being tested in the field of view.
It effectively reduces the number of camera photos, improves calculation performance and detection efficiency, and ensures the integrity of the measured objects in the field of view.
Smart Images

Figure CN119028857A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of semiconductor wafer detection technology, and in particular to a path planning method, device, equipment and medium for wafer detection. Background Art
[0002] Wafer is a silicon chip used to make silicon semiconductor circuits. Wafer defect detection is a crucial part of semiconductor manufacturing. During the manufacturing process, various defects may appear on the wafer, such as surface defects and structural defects. These defects will affect the function and performance of the chip, and even cause the chip to fail. Therefore, it is very necessary to effectively detect and analyze wafer defects.
[0003] In the silicon semiconductor manufacturing process, it is necessary to inspect the die at the wafer stage. This involves surface defect detection of the pads on the die that are used to test their electrical characteristics. In order to perform defect inspection on the pads, the existing conventional path planning method is: a path planning method based on a high-power microscope to capture wafer images. The path planning of this method is divided into two parts: first, the effective area of the view captured by the high-power microscope is calculated; then the path planning is performed based on the effective area.
[0004] The above path planning scheme is planned based on the grain as a reference unit, and the contact points are located inside the grain. Due to the uncertainty in the distribution of highlighted contacts on the grain, they may be distributed on the edge of the grain, inside the grain, or throughout the grain. If the above path planning scheme is used, a picture of the entire grain will be taken. For the case where the effective area only contains a part of a grain, if you want to splice out a complete grain, you need to take multiple photos. At the same time, for a part of the effective area that contains multiple grains, if you want to splice out all the complete grains in the current view, you also need to take multiple photos. For these two situations, there may be a situation where the highlighted contacts cannot exist completely in one field of view, which will bring complexity to the algorithm calculation and affect the efficiency of detection. Summary of the invention
[0005] The embodiments of the present invention provide a path planning method, device, equipment and medium for wafer inspection, which effectively reduces the number of camera shots, ensures the integrity of the object being tested in the field of view, and improves computing performance and inspection efficiency.
[0006] In a first aspect, an embodiment of the present invention provides a path planning method for wafer inspection, the method comprising:
[0007] Determine the effective area of the image captured by the camera on the wafer;
[0008] According to the situation of the object to be measured in the effective area, the field of view is planned by taking the object to be measured as a reference unit to obtain at least one target field of view corresponding to the area to be inspected of the wafer;
[0009] Path planning is performed for each target field of view to obtain a target planning path for detecting the area to be detected.
[0010] In a second aspect, an embodiment of the present invention provides a path planning device for wafer inspection, the device comprising:
[0011] An area determination module is used to determine the effective area of the image captured by the camera on the wafer;
[0012] A field of view determination module, used to perform field of view planning based on the situation of the object to be measured in the effective area and taking the object to be measured as a reference unit to obtain at least one target field of view corresponding to the area to be detected of the wafer;
[0013] The path planning module is used to perform path planning for each target field of view and obtain a target planning path for detecting the area to be detected.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including:
[0015] at least one processor; and
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program that can be executed 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 path planning method for wafer inspection provided in the embodiment of the first aspect.
[0018] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the path planning method for wafer inspection as described in the embodiment of the first aspect.
[0019] The embodiments of the present invention provide a path planning method, device, equipment and medium for wafer inspection, the method comprising: determining the effective area of the image captured by the camera on the wafer; performing field planning based on the situation of the object to be inspected in the effective area with the object to be inspected as the reference unit to obtain at least one target field of view corresponding to the area to be inspected of the wafer; performing path planning for each target field of view to obtain a target planning path for inspecting the area to be inspected. Different from the prior art, when inspecting the wafer, planning based on the grain as the reference unit requires taking photos of multiple fields of view to splice out a complete grain, which makes the algorithm calculation complicated and affects the wafer inspection efficiency; the above technical solution takes the object to be inspected with finer particle size under the grain as the reference unit to take photos of the field of view, which can effectively reduce the number of camera photos, ensure the integrity of the object to be inspected under the field of view, and improve the computing performance and inspection efficiency.
[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 1 A schematic flow chart of a path planning method for wafer inspection provided in Embodiment 1 of the present invention;
[0023] Figure 2 This is an example of a valid area with only one complete grain in the field of view;
[0024] Figure 3 This is an example of the effective area with multiple complete grains in the field of view;
[0025] Figure 4 This is an example diagram of the effective area with only a portion of a grain in the field of view;
[0026] Figure 5 An example diagram of the effective area of a portion of a plurality of grains within the field of view;
[0027] Figure 6 Another example diagram of the effective area of a portion of a plurality of grains within the field of view;
[0028] Figure 7A schematic flow chart of another path planning method for wafer inspection provided in Embodiment 2 of the present invention;
[0029] Figure 8 An example diagram of field of view planning in which the effective area only includes a part of a die in the execution of a path planning method for wafer inspection provided in the second embodiment of the present invention;
[0030] Fig. 9 Another example diagram of field of view planning in which the effective area only includes a part of a die in the execution of a path planning method for wafer inspection provided in the second embodiment of the present invention;
[0031] Fig.10 An example diagram of a portion of at least two dies in an effective area during execution of a path planning method for wafer inspection provided in the second embodiment of the present invention;
[0032] Fig.11 Another example diagram of a portion of at least two dies in an effective area during execution of a path planning method for wafer inspection provided in the second embodiment of the present invention;
[0033] Fig.12 An example diagram of field of view planning in which an effective area includes a portion of at least two dies in the execution of a path planning method for wafer inspection provided in the second embodiment of the present invention;
[0034] Fig.13 A comparison diagram of the effects of path planning using a die as a reference unit in the prior art and using a measured object as a reference unit provided by an embodiment of the present invention;
[0035] Fig.14 A schematic diagram of the structure of a path planning device for wafer inspection provided in Embodiment 3 of the present invention;
[0036] Fig.15 A schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0037] 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.
[0038] It should be noted that the terms "original", "target", 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 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.
[0039] Embodiment 1
[0040] Figure 1 A flow chart of a path planning method for wafer inspection provided in Embodiment 1 of the present invention is applicable to situations where defect detection is performed on wafers. The method can be executed by a path planning device for wafer inspection, which can be implemented in the form of hardware and / or software and can be configured in an electronic device.
[0041] In order to more clearly describe the embodiments of the present invention, some terms are explained below. Wafer (Water): A silicon wafer used to make silicon semiconductor circuits, whose original material is silicon. High-purity polycrystalline silicon is dissolved and doped with silicon crystal seeds, and then slowly pulled out to form cylindrical single crystal silicon. After grinding, polishing, and slicing, the silicon crystal rod forms a silicon wafer, that is, a wafer. Die (Die) is a small piece arranged on the wafer, which is a chip wafer body, and becomes a particle after packaging. Grains are small crystals with irregular shapes that make up polycrystalline materials, and each grain is sometimes composed of several sub-grains with slightly different orientations. The average diameter of the grains is usually in the range of 0.015 to 0.25 mm, and the average diameter of the sub-grains is usually on the order of 0.001 mm. The gap between grains is called a scribe groove. Pad is a contact on the grain for testing its electrical properties.
[0042] The following is a description of the data representing the size of the pictures captured by the camera:
[0043] OriginalSize: indicates the size of a view captured by the camera, recorded as (OriginalSizeX, OriginalSizeY), unit pixel (Pixel). PixelSize: indicates the physical size corresponding to a pixel, recorded as (PixelSizeX, PixelSizeY), unit (m / Pixel). DieSize: indicates the size of the grain, recorded as (DieSizeX, DieSizeY), unit meter (m). PitchSize: indicates the distance between the center points of adjacent grains, recorded as (PitchSizeX, PitchSizeY), unit meter (m). AnalysisSize: indicates the algorithm reserved area, records the edge of a view captured by the camera, determined by the algorithm, recorded as (AnalysisSizeX, AnalysisSizeY), unit meter (m). OriginalSizeWithNoAnalysis: The size after removing the algorithm reserved area from the original view, recorded as (OriginalSizeWithNoAnalysisX, OriginalSizeWithNoAnalysisY), unit pixel (Pixel), calculated value: OriginalSizeWithNoAnalysisX = OriginalSizeX-2*(AnalysisSizeX / PixelSizeX), OriginalSizeWithNoAnalysisY = OriginalSizeY-2*(AnalysisSizeY / PixelSizeY). FieldNumForDie: Indicates the number of fields of view required for a complete die, that is, how many pictures are needed to combine a complete Die, recorded as (FieldNumForDieX, FieldNumForDieY). The calculation formula is: FieldNumForDieX = PitchSizeX / (OriginalSizeWithNoAnalysisX*PixelSizeX) rounded up, FieldNumForDieY = PitchSizeY / (OriginalSizeWithNoAnalysisY*PixelSizeY) rounded up. EffectiveSize: represents the area used for path planning in the camera field of view after removing the invalid part, which is called the effective area and is recorded as (EffectiveSizeX, EffectiveSizeY).
[0044] like Figure 1 As shown, the path planning method for wafer inspection provided in the first embodiment may specifically include the following steps:
[0045] S101, determining an effective area of an image captured by a camera on a wafer.
[0046] In this embodiment, the camera can be a high-power lens or a low-power lens, etc., and the camera is used to capture images of the wafer, and then defect detection is performed on the wafer based on the captured images. The application scenario of this embodiment can be understood as defect detection of the object to be tested on the wafer. The object to be tested can be specifically understood as an object that exists in the grain and has a smaller particle size than the grain. For example, the object to be tested can be a Pad, or other detection objects with finer particle sizes than the grain. According to the distribution of grains in the next field of view of the camera, it can be divided into the following four situations: there is only one complete grain in a field of view; a field of view contains multiple complete grains; the effective area contains only a part of a grain. If a complete grain is to be spliced out, multiple photos are required; the effective area contains a part of multiple grains. If all complete grains in the current view are to be spliced out, multiple photos are required.
[0047] Continuing with the above description, for the case where there is only one complete grain in a field of view, since a field of view can contain one complete grain, there is no need to take multiple photos of a grain. In this case, the field of view planning can be performed with the grain as the reference unit, and there is no need to perform the field of view planning method provided in this embodiment. Similarly, for the case where a field of view contains multiple complete grains, since a field of view can contain multiple complete grains, there is no need to take multiple photos of the grain. In this case, the field of view planning can be performed with the grain as the reference unit, and there is no need to perform the field of view planning method provided in this embodiment.
[0048] For a field of view with one and only one complete grain contained in the view, Figure 2 This is an example of a valid area with only one complete grain in the field of view. Figure 2 As shown, (OriginalSizeX, OriginalSizeY) represents the original field of view captured by the camera, in pixels; (AnalysisSizeX, AnalysisSizeY) represents the area reserved by the algorithm, in meters; (EffectiveSizeX, EffectiveSizeY) represents the effective area, in pixels; (DieSizeX, DieSizeY) represents the size of a complete die (represented as a complete die in the figure), in meters; (AnalysisSizeX, AnalysisSizeY) represents the area reserved by the algorithm, in meters. The calculation of the effective area can be expressed as:
[0049] EffectiveSizeX=OriginalSizeWithNoAnalysisX=OriginalSizeX–2*(AnalysisSizeX / PixelSizeX);
[0050] EffectiveSizeY=OriginalSizeWithNoAnalysisY=OriginalSizeY–2*(AnalysisSizeY / PixelSizeY).
[0051] For the case where a field of view contains multiple complete grains, Figure 3 This is an example of a valid area with multiple complete grains in the field of view. Figure 3 As shown in the figure, (OriginalSizeX, OriginalSizeY) represents the original field of view captured by the camera, in pixels; (EffectiveSizeX, EffectiveSizeY) represents the effective area, in pixels; (DieSizeX, DieSizeY) represents the size of a complete die (represented as a complete die in the figure), in meters; (AnalysisSizeX, AnalysisSizeY) represents the area reserved by the algorithm, in meters. The calculation of the effective area can be expressed as:
[0052] EffectiveSizeX=OriginalSizeWithNoAnalysisX=OriginalSizeX–2*(AnalysisSizeX / PixelSizeX),
[0053] EffectiveSizeY=OriginalSizeWithNoAnalysisY=OriginalSizeY–2*(AnalysisSizeY / PixelSizeY).
[0054] If the effective area contains only a part of a crystal grain, multiple photos are required to stitch out a complete crystal grain; if the effective area contains a part of multiple crystal grains, multiple photos are required to stitch out all the complete crystal grains in the current view. In these two cases, the field of view planning is not performed based on the crystal grain as the reference unit, but the path planning is performed based on the more fine-grained object to be tested as the reference unit. For example, if you want to detect the pad in the crystal grain, the field of view planning is performed based on the pad as the reference unit.
[0055] In this embodiment, if the effective area contains only a part of a crystal grain, multiple photos are required to splice a complete crystal grain. The calculation of the effective area can be determined based on the distance between the center points of adjacent crystal grains and the number of fields of view required to splice a complete crystal grain. For example, Figure 4 This is an example of the effective area with only a portion of a grain in the field of view, such as Figure 4 As shown, in order to stitch together a complete crystal grain, four fields of view need to be stitched together, and fields of view 1, 2, 3, and 4 are stitched together to obtain a complete crystal grain. Among them, (OriginalSizeX, OriginalSizeY) represents the original field of view captured by the camera, in pixels; (DieSizeX, DieSizeY) represents the size of a complete crystal grain (represented as a complete Die in the figure), in meters; (PitchSizeX, PitchSizeY) represents the distance between the center points of adjacent crystal grains, in meters. The effective area can be determined based on the distance between the center points of adjacent crystal grains and the number of fields of view required to stitch together a complete crystal grain.
[0056] In this embodiment, if the effective area includes at least two parts of the grains, if all the complete grains in the current view are to be spliced together, multiple photos are required. Figure 5 The effective area is a part of multiple grains in the field of view. Figure 6 Another example diagram of the effective area of a portion of multiple grains within the field of view is shown in FIG. Figure 5 and 6 As shown, in order to splice into a complete grain, two fields of view need to be spliced, and field of view 1 and field of view 2 are spliced to obtain two complete grains. Among them, (OriginalSizeX, OriginalSizeY) represents the original field of view captured by the camera, unit pixel (Pixel); (DieSizeX, DieSizeY) represents the size of the complete grain (represented as a complete Die in the figure), unit meter (m); (PitchSizeX, PitchSizeY) represents the distance between the center points of adjacent grains, unit meter (m). The effective area can be determined based on the distance between the center points of adjacent grains, the number of fields of view required to splice into a complete grain, and the reserved area of the algorithm.
[0057] S102 , according to the situation of the object to be tested in the effective area, the field of view is planned by taking the object to be tested as a reference unit to obtain at least one target field of view corresponding to the area to be tested of the wafer.
[0058] The area to be inspected can be specifically understood as the area on the wafer selected by the user where the defect detection is desired. The area to be inspected can be determined based on the grain information selected by the user. For example, by selecting the coordinate information of the grain, the coordinates of the area to be inspected are determined, thereby obtaining the area to be inspected.
[0059] Considering that this embodiment is mainly aimed at the case where a field of view contains a part of a grain, or a field of view contains a part of multiple grains, the following will mainly describe these two cases. In this embodiment, the case where the object to be measured is in the effective area can be divided into the following three cases: the effective area only contains a part of a grain and the object to be measured that is closest to two adjacent grains in the wafer cannot be contained by one effective area; a certain effective area only contains a part of a grain and the object to be measured that is closest to two adjacent grains in the wafer can be contained by another effective area; the effective area contains parts of at least two grains.
[0060] For example, in the case where the effective area only contains a part of a crystal grain and the nearest measured object between two adjacent crystal grains in the wafer cannot be contained in one effective area, the field of view planning step may include: for each crystal grain in the area to be detected, according to the upper left corner coordinates of all the measured objects contained in the crystal grain, the measured objects are arranged in a set coordinate order to obtain a set of measured objects, and the coordinate order is set from small to large in the horizontal coordinate and from large to small in the vertical coordinate; the measured object with the first order is extracted from the set of measured objects as the current measured object, and the upper left corner coordinates of the current measured object are used as the target The upper left corner coordinates of the field of view are used to obtain the target field of view; it is determined whether the remaining objects in the object set except the current object are contained in the target field of view; if they are contained, the remaining objects contained in the target field of view are added to the target field of view, and the current object and the remaining objects contained in the target field of view are removed from the object set to obtain a new object set; if not, the current object is removed from the object set to obtain a new object set; return to execute the extraction of the first object in the order from the object set as the current object, until the object set is empty.
[0061] Exemplarily, for a situation where only a portion of a crystal grain is included in a certain effective area and the nearest measured object between two adjacent crystal grains in the wafer can be included in another effective area, the field of view planning step may include: for each edge of the crystal grain in the area to be detected, according to the coordinate information of the edge measured object and the adjacent measured object of the edge, determining the target field of view corresponding to the edge measured object; for each edge of the upper and lower edges of the crystal grain in the area to be detected, according to the coordinate information of the edge measured object and the adjacent measured object of the adjacent crystal grain, determining the target field of view corresponding to the edge measured object; after the planning of the edge measured object is completed, any measured object in the set of internal measured objects in the crystal grain is used as the current measured object The target field of view is obtained by taking the center coordinates of the current measured object as the center coordinates of the target field of view; judging whether the remaining measured objects in the internal measured object set except the current measured object are contained in the target field of view; if contained, adding the remaining measured objects contained in the target field of view to the target field of view, and removing the current measured object and the remaining measured objects contained in the target field of view from the internal measured object set to obtain a new internal measured object set; if not contained, removing the current measured object from the internal measured object set to obtain a new internal measured object set; returning to execute the step of taking any measured object in the internal measured object set in the grain as the current measured object, until the internal measured object set is empty.
[0062] Exemplarily, for the case where the effective area contains a portion of at least two grains, the field of view planning step may include: constructing a new rectangle corresponding to the effective area according to the number of objects to be detected arranged in rows and columns in the effective area; determining the coordinate information of each new rectangle as the coordinate information of the path node according to the coordinate information of the area to be detected and the number of new rectangles that can be arranged in the area to be detected; for each path node, sorting in ascending order the upper left corner horizontal coordinates of all objects to be detected contained in a grain, and obtaining the first object to be detected in the sorting as the current object to be detected; and taking the left edge horizontal coordinate of the current object to be detected as the target field of view. The left edge coordinate of the new rectangle where the grain is located is taken as the central ordinate of the target field of view to obtain the target field of view; determine whether the next object under test of the current object under test is contained in the target field of view; if contained, add the next object under test to the target field of view, and take the next object under test as the new current object under test, and return to execute the step of determining whether the next object under test of the current object under test is contained in the target field of view; if not contained, take the next object under test as the new current object under test, and return to execute the step of taking the left edge horizontal coordinate of the current object under test as the left edge coordinate of the target field of view, until all the objects under test in the sorting are traversed.
[0063] S103 , performing path planning for each target field of view to obtain a target planning path for detecting the area to be detected.
[0064] In this embodiment, after the target fields of view required for completing the detection of the area to be detected are obtained as described above, path planning can be performed for each target field of view, so as to obtain a planned path for detecting the area to be detected and record it as the target planning path. This process can be understood as, after the distribution of each target field of view corresponding to the area to be detected is known, what kind of movement method should be used to move the camera for image acquisition so as to realize each target field of view respectively and to minimize the distance the camera moves. Preferably, after obtaining each target field of view, a serpentine optimization method can be used to perform path planning on the target field of view to obtain a planned target planning path.
[0065] An embodiment of the present invention provides a path planning method for wafer inspection, the method comprising: determining the effective area of the camera for capturing images of the wafer; performing field planning based on the situation of the object to be inspected in the effective area, using the object to be inspected as a reference unit, and obtaining at least one target field of view corresponding to the area to be inspected of the wafer; performing path planning for each target field of view, and obtaining a target planning path for inspecting the area to be inspected. Different from the prior art, when inspecting the wafer, planning based on the grain as the reference unit requires taking photos of multiple fields of view to splice out a complete grain, which makes the algorithm calculation complex and affects the wafer inspection efficiency; the above technical solution, taking the object to be inspected with a finer particle size under the grain as the reference unit to take photos of the field of view, can effectively reduce the number of camera photos, ensure the integrity of the object to be inspected under the field of view, and improve the computing performance and inspection efficiency.
[0066] Embodiment 2
[0067] Figure 7 A flow chart of another path planning method for wafer inspection provided in Embodiment 2 of the present invention. This embodiment is a further optimization of the above-mentioned embodiment. In this embodiment, “determining the effective area of the image captured by the camera on the wafer” is further limited and optimized; and “according to the situation of the object to be measured in the effective area, the field of view is planned with the object to be measured as a reference unit to obtain at least one target field of view corresponding to the area to be inspected of the wafer” is limited and optimized.
[0068] like Figure 7 As shown, this second embodiment provides a path planning method for wafer inspection, which specifically includes the following steps:
[0069] S201 , if the effective area includes only a part of a crystal grain, the effective area is determined according to the distance between the center points of adjacent crystal grains and the number of fields of view required to splice into a complete crystal grain.
[0070] In this embodiment, if the effective area only contains a part of a crystal grain, multiple photos are required to splice a complete crystal grain. The calculation of the effective area can be determined based on the distance between the center points of adjacent crystal grains and the number of fields of view required to splice a complete crystal grain. Figure 4 , the effective area calculation is expressed as:
[0071] EffectiveSizeX=PitchSizeX / FieldNumForDieX / PixelSizeX,
[0072] EffectiveSizeY=PitchSizeY / FieldNumForDieY / PixelSizeY,
[0073] Among them, (EffectiveSizeX, EffectiveSizeY) represents the effective area, unit pixel (Pixel); (PitchSizeX, PitchSizeY) represents the distance between the center points of adjacent grains, unit meter (m); (FieldNumForDieX, FieldNumForDieY) represents the number of fields of view required for a complete grain; (PixelSizeX, PixelSizeY) represents the physical size corresponding to a pixel, unit (m / Pixel).
[0074] S202: If the effective area includes parts of at least two grains, determine the effective area according to the distance between the center points of adjacent grains, the number of fields of view required to splice into a complete grain, and the algorithm reserved area.
[0075] In this embodiment, if the effective area includes at least two parts of the grains, if all the complete grains in the current view are to be stitched together, multiple photos are required. When the effective area includes at least two parts of the grains, the following two situations are included:
[0076] Continue to refer Figure 5 , when OriginalSizeY>DieSizeY, the effective area calculation is expressed as:
[0077] EffectiveSizeX=PitchSizeX / FieldNumForDieX / PixelSizeX,
[0078] EffectiveSizeY=OriginalSizeWithNoAnalysisY=OriginalSizeY–2*(AnalysisSizeY / PixelSizeY).
[0079] Continue to refer Figure 6 , when OriginalSizeX>DieSizeX, the effective area calculation is expressed as:
[0080] EffectiveSizeX=OriginalSizeWithNoAnalysisX=OriginalSizeX–2*(AnalysisSizeX / PixelSizeX),
[0081] EffectiveSizeY=PitchSizeY / FieldNumForDieY / PixelSizeY,
[0082] Among them, (EffectiveSizeX, EffectiveSizeY) represents the effective area, unit pixel (Pixel); (PitchSizeX, PitchSizeY) represents the distance between the center points of adjacent grains, unit meter (m); (FieldNumForDieX, FieldNumForDieY) represents the number of fields of view required for a complete grain; (PixelSizeX, PixelSizeY) represents the physical size corresponding to a pixel, unit (m / Pixel); (OriginalSizeWithNoAnalysisX, OriginalSizeWithNoAnalysisY) represents the size after removing the algorithm reserved area from the original view, unit pixel (Pixel); (OriginalSizeX, OriginalSizeY) represents the size of a view taken by the camera, unit pixel (Pixel).
[0083] S203: If the effective area only includes a part of a die and the closest objects to be tested in two adjacent die in the wafer cannot be included in one effective area, determine at least one target field of view corresponding to the area to be tested according to the upper left corner coordinates of all the objects to be tested contained in the die.
[0084] In this embodiment, there is a situation where only a part of a die is included in the effective area. This situation is further divided into the situation where the closest object to be measured in two adjacent die in the wafer cannot be included in one effective area, or the closest object to be measured in two adjacent die is included in another effective area. This step is used to describe the situation where the closest object to be measured in two adjacent die cannot be included in one effective area.
[0085] If the effective area only contains a part of a die and the nearest object to be measured between two adjacent die in the wafer cannot be included in one effective area, the object to be measured is taken as the reference unit and sorted based on the coordinates of the upper left corner of the object to be measured, and the field of view containing the object to be measured is determined in turn, so that all the fields of view corresponding to the area to be detected are recorded as the target field of view.
[0086] As a specific implementation manner, the method of optimizing the upper left corner coordinates of all the objects to be detected contained in the grain to determine at least one target field of view corresponding to the area to be detected includes:
[0087] a1) For each crystal grain in the region to be inspected, according to the coordinates of the upper left corners of all the objects to be inspected contained in the crystal grain, the objects to be inspected are arranged in a set coordinate order to obtain a set of objects to be inspected.
[0088] The coordinate sequence is set from small to large for the horizontal coordinate and from large to small for the vertical coordinate.
[0089] In this embodiment, for each crystal grain in the area to be detected, the upper left corner coordinates of all the objects to be detected in the crystal grain are arranged in order from small to large in the horizontal direction (i.e., X direction) and from large to small in the vertical direction (i.e., Y direction) to form a new set recorded as the object to be detected set.
[0090] b1) extracting the first measured object from the measured object set as the current measured object, and using the upper left corner coordinates of the current measured object as the upper left corner coordinates of the target field of view to obtain the target field of view.
[0091] Specifically, the upper left corner coordinates of the first measured object in the measured object set are taken as the upper left corner coordinates of the field of view, and the field of view is recorded as the target field of view.
[0092] c1) Determine whether the remaining objects in the set of objects to be measured, except the current object to be measured, are contained in the target field of view.
[0093] Then, it is determined in turn whether the remaining objects to be measured in the set of objects to be measured, except the current object to be measured, can be included in the planned target field of view.
[0094] d1) If included, then the remaining measured objects included in the target field of view are added to the target field of view, and the current measured object and the remaining measured objects included in the target field of view are removed from the measured object set to obtain a new measured object set.
[0095] Specifically, if included, the remaining measured objects included in the target field of view are added to the information of the planned target field of view, and the current measured object and the remaining measured objects included in the target field of view are removed from the measured object set to obtain a new measured object set.
[0096] e1) If not included, remove the current measured object from the measured object set to obtain a new measured object set.
[0097] Specifically, if it is not included, only the current measured object is removed from the measured object set to obtain a new measured object set.
[0098] f1) returns to execute and extracts the first measured object from the measured object set as the current measured object until the measured object set is empty.
[0099] After obtaining the new set of measured objects, return to step b1) and repeat the above steps until all measured objects are planned and the set of measured objects is empty, then the execution of the process is terminated. The target field of view of each grain planning is used as all target fields of view for subsequent path optimization.
[0100] For example, Figure 8 An example diagram of field of view planning in which the effective area only includes a portion of a die in the execution of a path planning method for wafer inspection provided in the second embodiment of the present invention is shown in FIG. Figure 8 As shown in the figure, 1 represents a crystal grain, 2 represents an object to be measured, and 3 represents a field of view. When planning with the object to be measured, the coordinates of the upper left corner of the object to be measured are used as the coordinates of the upper left corner of the field of view, and the objects to be measured contained in the same field of view are planned into the same field of view.
[0101] The above technical solution specifies the steps of how to plan the field of view with the object to be measured as the reference unit when the effective area only contains a part of a die and the closest object to be measured in two adjacent dies in the wafer cannot be included in one effective area. It can effectively reduce the number of camera photos and merge the objects to be measured in multiple dies into the same field of view. It ensures the integrity of the objects to be measured in the field of view and improves the computing performance.
[0102] S204: If a certain effective area only contains a part of a die and the closest object to be tested between two adjacent die in the wafer can be contained in another effective area, the object to be tested is planned in a way of first edge and then interior to determine at least one target field of view corresponding to the area to be tested.
[0103] This step is used to describe the situation where a certain effective area only contains a part of a die and the closest object to be tested between two adjacent die in the wafer can be contained by another effective area. In this case, the object to be tested is used as the reference unit, and the edge object to be tested of the die is first planned, and then the internal object to be tested of the die is planned, so that the field of view corresponding to the area to be tested is recorded as the target field of view.
[0104] As a specific implementation manner, the method of planning the object to be detected by first edge and then interior to determine at least one target field of view corresponding to the area to be detected includes:
[0105] a2) For each edge of the grain in the area to be inspected, the target field of view corresponding to the edge object to be inspected is determined according to the coordinate information of the edge object to be inspected and the adjacent object to be inspected of the adjacent grain.
[0106] Among them, the grain edge can be understood as including the left edge, the right edge, the upper edge and the lower edge. For each edge, it is necessary to determine the target field of view separately for the object under test at each edge. For example, the target field of view corresponding to the object under test at the left edge is determined separately, the target field of view corresponding to the object under test at the right edge is determined separately, the target field of view corresponding to the object under test at the upper edge is determined separately, and the target field of view corresponding to the object under test at the lower edge is determined separately. After the corresponding target field of view is planned for each edge, it is considered that the planning of the target field of view corresponding to the edge object under test is completed.
[0107] In this embodiment, for the grains in the area to be inspected, the objects to be inspected are planned to determine whether the grains and the adjacent edges of the adjacent grains can be completely contained in a field of view. Based on the coordinate information of the edge objects to be inspected and the adjacent objects to be inspected, the corresponding target fields of view are determined.
[0108] Further, for each of the left and right edges of the grain in the region to be inspected, determining the target field of view corresponding to the edge object to be inspected according to the coordinate information of the edge object to be inspected and the adjacent object to be inspected of the adjacent grain may include:
[0109] a21) for each of the left and right edges of the grains in the area to be inspected, determining a first distance between the right edge of the left side of the first grain and the left edge of the first grain, and a second distance between the left edge of the right side of the second grain and the right edge of the second grain.
[0110] This step is used to plan the objects to be measured whose left and right edges of the grain and the adjacent grains can be completely contained by a field of view. Among them, the grain on the right side of the relative position among the grain and the adjacent grain is recorded as the first grain, and the grain on the left side is recorded as the second grain. The object to be measured at the left edge of the first grain is recorded as the left object to be measured. The object to be measured at the right edge of the second grain is recorded as the right object to be measured. The distance from the right edge of the left object to the left edge of the first grain is recorded as the first distance, and the distance from the left edge of the right object to be measured of the second grain to the right edge of the second grain is recorded as the second distance. For the left edge of the grain, the grain is taken as the first grain, and the adjacent grain on the left side is taken as the second grain. For the right edge of the grain, the adjacent grain on the right side is taken as the first grain, and the grain is taken as the second grain.
[0111] Exemplarily, for the object to be measured on the right side of the die, the distance from the left edge of the object to be measured on the right side of the die to the right edge of the die is recorded as the first distance, and the distance from the right edge of the object to be measured on the left side of the adjacent die to the left edge of the adjacent die is recorded as the second distance. Similarly, for the object to be measured on the left side of the die, the first distance and the second distance are determined based on the object to be measured on the left side of the die and the right side of the object to be measured in the adjacent die on the left side of the die, and then the central horizontal coordinate is determined based on the first distance and the second distance.
[0112] a22) Determine the central horizontal coordinate of the target field of view according to the first distance and the second distance.
[0113] Specifically, according to the distance ratio between the first distance and the second distance, the field of view is planned according to the distance ratio, so that the distance ratio between the center of the field of view and the edge of the grain and the distance ratio between the center of the field of view and the edge of the adjacent grain matches the ratio of the first distance and the second distance, so that the central horizontal coordinate of the lateral field of view (i.e., the X-direction central coordinate) can be calculated.
[0114] a23) Arrange the left-side measured objects and the right-side measured objects from large to small according to the upper left corner vertical coordinates to obtain a set of edge measured objects.
[0115] Specifically, the left-side measured objects and the right-side measured objects are sorted from large to small according to the upper left corner vertical coordinates, and the obtained set is recorded as the edge measured object set.
[0116] a24) extracting the first measured object from the edge measured object set as the current measured object, and using the upper edge of the current measured object as the upper edge of the target field of view to obtain the target field of view.
[0117] Specifically, the first measured object in the edge measured object set is used as the current measured object, and the field of view is arranged based on the upper edge of the current measured object to obtain the target field of view.
[0118] a25) determining whether the remaining objects in the edge object set except the current object are contained in the target field of view.
[0119] Specifically, it is determined in sequence whether the remaining detected objects in the edge detected object set except the current detected object are contained in the target field of view.
[0120] a26) If included, then the remaining measured objects included in the target field of view are added to the target field of view, and the current measured object and the remaining measured objects included in the target field of view are removed from the edge measured object set to obtain a new edge measured object set.
[0121] Specifically, if included, the remaining measured objects contained in the target field of view are added to the information of the planned target field of view, and the current measured object and the remaining measured objects contained in the target field of view are removed from the edge measured object set to obtain a new edge measured object set.
[0122] a27) If not included, the current measured object is removed from the edge measured object set to obtain a new edge measured object set.
[0123] Specifically, if it is not included, only the current measured object is removed from the edge measured object set to obtain a new edge measured object set.
[0124] a28) Return to execute and extract the first measured object in the edge measured object set as the current measured object until the edge measured object set is empty.
[0125] After obtaining the new edge measured object set, return to step a24) and repeat the above steps until all edge measured objects and adjacent measured objects are planned and the edge measured object set is empty, then the execution of the process is terminated. The target field of view planned for each grain is used as all target fields of view for subsequent path optimization.
[0126] The above technical solution specifies the steps of how to achieve field of view planning for edge measured objects.
[0127] b2) for each edge of the upper and lower edges of the crystal grains in the region to be inspected, the target field of view corresponding to the edge inspected object is determined according to the coordinate information of the edge inspected object and the adjacent inspected object of the adjacent crystal grains.
[0128] In this embodiment, when planning the field of view for the objects to be measured at the upper and lower edges of the grain, the method used is the same as the field of view planning method for the objects to be measured at the left and right edges. Exemplarily, for the objects to be measured on the upper side of the grain, it is necessary to determine the central vertical coordinate in combination with the objects to be measured on the lower side of the adjacent grains at the upper edge of the grain. Accordingly, the objects to be measured are arranged based on the coordinates of the lower left corner, and then the left edge of the field of view is determined. The target field of view can be determined based on the central vertical coordinate and the left edge of the field of view.
[0129] For the object under test in the lower part of the die, it is necessary to determine the central vertical coordinate in combination with the object under test in the upper part of the adjacent die at the lower edge of the die. Accordingly, the objects under test are arranged based on the lower left corner coordinates to determine the left edge of the field of view. The target field of view can be determined based on the central vertical coordinate and the left edge of the field of view.
[0130] c2) After the planning of the edge measured object is completed, any measured object in the set of internal measured objects in the grain is used as the current measured object, and the center coordinates of the current measured object are used as the center coordinates of the target field of view to obtain the target field of view.
[0131] In this embodiment, after the planning of the edge measured objects is completed, the internal measured objects are planned. Any measured object in the internal measured object set is used as the current measured object, and the center coordinates of the current measured object are used as the center coordinates of the target field of view, so as to obtain the target field of view.
[0132] d2) Determine whether the remaining objects to be measured in the internal object set except the current object to be measured are included in the target field of view.
[0133] Specifically, it is determined whether the remaining measured objects in the internal measured object set except the current measured object are included in the target field of view.
[0134] e2) If included, then the remaining measured objects included in the target field of view are added to the target field of view, and the current measured object and the remaining measured objects included in the target field of view are removed from the internal measured object set to obtain a new internal measured object set.
[0135] Specifically, if included, the remaining measured objects contained in the target field of view are added to the information of the planned target field of view, and the current measured object and the remaining measured objects contained in the target field of view are removed from the internal measured object set to obtain a new internal measured object set.
[0136] f2) If not included, remove the current measured object from the internal measured object set to obtain a new internal measured object set.
[0137] Specifically, if it is not included, only the current measured object is removed from the internal measured object set to obtain a new internal measured object set.
[0138] g2) Return to the step of taking any object to be measured in the internal object set in the die as the current object to be measured, until the internal object set is empty.
[0139] After obtaining the new internal measured object set, return to step c2) and repeat the above steps until all measured objects are planned and the internal measured object set is empty, then the execution of the process is terminated. The target field of view of each grain planning is used as all target fields of view for subsequent path optimization.
[0140] For example, Fig. 9 Another example diagram of field of view planning in which the effective area only includes a part of a die in the execution of a path planning method for wafer inspection provided in the second embodiment of the present invention is shown as follows: Fig. 9 As shown in the figure, 1 represents a grain, 2 represents an object to be measured, and 3 represents a field of view. When planning based on the object to be measured, the edge object to be measured is planned based on the coordinate information of the object to be measured and the object to be measured is used as the reference unit. The internal object to be measured is planned with the center coordinate as the center coordinate of the field of view. For the objects to be measured contained in the same field of view, they are planned into the same field of view.
[0141] The above technical solution specifies the steps of how to plan the field of view with the object to be measured as the reference unit if a valid area only contains a part of a die and the closest object to be measured in two adjacent die in the wafer can be included in another valid area. It can effectively reduce the number of camera photos and merge the objects to be measured in multiple die into the same field of view. It ensures the integrity of the objects to be measured in the field of view and improves the computing performance.
[0142] S205 , if the effective area includes parts of at least two dies, determine at least one target field of view corresponding to the area to be detected according to the arrangement of the effective area in the area to be detected and the coordinates of the upper left corner of the object to be detected in the dies.
[0143] In this embodiment, the effective region also includes a part of at least two crystal grains. Fig.10 An example diagram of a portion of at least two dies in an effective area in the execution of a path planning method for wafer inspection provided in the second embodiment of the present invention, such as Fig.10 As shown, the effective area 1 of the field of view 1 includes a part of three grains, and the effective area 2 of the field of view includes a part of three grains. The effective area 1 and the effective area 2 need to be spliced in the horizontal direction to form three complete grains. Fig.11 Another example diagram of a portion of at least two dies in the effective area during the execution of a path planning method for wafer inspection provided in the second embodiment of the present invention, such as Fig.11 As shown, the effective area 1 of the field of view 1 includes a part of three grains, and the effective area 2 of the field of view includes a part of three grains. The effective area 1 and the effective area 2 need to be spliced together in the longitudinal direction to form three complete grains.
[0144] If the effective area contains part of at least two grains, it is necessary to construct a new rectangle based on the number of grains in the effective area in the horizontal and vertical directions, and then based on the number of grains and the size of the grains. After constructing the new rectangle, the new rectangle can be arranged in the area to be detected, so as to obtain the arrangement of the new rectangle in the area to be detected. After obtaining the arrangement, the coordinate information of each new rectangle can be obtained as the coordinate information of the path node. Then, the rectangular area of each path node is planned, and the object to be measured is used as the reference unit. Based on the coordinates of the upper left corner of the object to be measured, the field of view containing the object to be measured is determined in turn, and then combined with the coordinate information of the new rectangle, the coordinate information of the field of view can be determined, so as to obtain each target field of view.
[0145] As a specific implementation manner, determining at least one target field of view corresponding to the area to be detected according to the arrangement of the effective area in the area to be detected and the upper left corner coordinates of the object to be detected in the die includes:
[0146] a3) According to the number of the measured objects arranged in the rows and columns of the effective area, a new rectangle corresponding to the effective area is constructed.
[0147] In this embodiment, when the effective area includes at least a portion of two crystal grains, the following two situations are included:
[0148] When EffectiveSizeX>DieSizeX:
[0149] NumX=(EffectiveSizeX*PixelSizeX) / PitchSizeX, NumY=1;
[0150] When EffectiveSizeY>DieSizeY:
[0151] NumX=1, NumY=(EffectiveSizeY*PixelSizeY) / PitchSizeY;
[0152] Among them, (EffectiveSizeX, EffectiveSizeY) represents the size of the effective area, (DieSizeX, DieSizeY) represents the size of the grain, (PitchSizeX, PixelSizeY) represents the distance between the center points of adjacent grains, NumX represents the number of grains arranged in the horizontal direction, and NumY represents the number of grains arranged in the vertical direction.
[0153] Specifically, according to the size of the effective area and the distance between the center points of adjacent grains, the number of grains in the horizontal and vertical directions can be calculated, and then based on the number of grains in the horizontal and vertical directions and the distance between the center points of adjacent grains, a new rectangle can be constructed. Exemplarily, a new rectangle is constructed according to NumX*PitchSizeX and NumY*PitchSizeY.
[0154] b3) According to the coordinate information of the area to be detected and the number of new rectangles that can be arranged in the area to be detected, the coordinate information of each new rectangle is determined as the coordinate information of the path node.
[0155] Specifically, the size of the area to be detected can be determined according to the coordinate information of the area to be detected, and then according to the new rectangle constructed as above, the number of new rectangles that can be arranged in the area to be detected can be calculated, which is recorded as the number of new rectangles. When calculating the number of new rectangles that can be arranged, the number of new rectangles that can be arranged in the horizontal and vertical directions of the entire area to be detected is calculated respectively. Exemplarily, the number of new rectangles that can be arranged in the X-direction and Y-direction of the entire area to be detected, Column and Row, are calculated, and the Column is calculated as: the smallest integer greater than or equal to the size of the area to be detected in the X-direction divided by the size of the new rectangle in the X-direction, and the Row is calculated as: the smallest integer greater than or equal to the size of the area to be detected in the Y-direction divided by the size of the new rectangle in the Y-direction, where the X-direction corresponds to the horizontal direction and the Y-direction corresponds to the vertical direction.
[0156] Continuing with the above description, after determining the number of new rectangles, the coordinate information of each new rectangle can be calculated based on the vertex coordinates of the area to be detected, the number of new rectangles, and the length and width of the new rectangles, and then the coordinate information of each new rectangle is used as the coordinate information of the path node. It can be understood that the length and width of the path node are the length and width of the new rectangle. In this embodiment, there is no specific limitation on the coordinate information of the path node. For example, the coordinate information can be the upper left corner coordinates or the center point coordinates.
[0157] c3) For each path node, all the objects to be tested contained in a grain are sorted in ascending order according to the upper left corner horizontal coordinates, and the first object to be tested in the sorting is obtained as the current object to be tested.
[0158] In this embodiment, it is necessary to first remove the path nodes that do not contain any grains. Then, the rectangular area of each path node is planned. First, the upper left corner horizontal coordinate (i.e., X-axis coordinate) of each object to be measured in a certain grain is sorted to form a set of objects to be measured, and then the first object to be measured in the set is used as the current object to be measured.
[0159] d3) Taking the left edge horizontal coordinate of the current measured object as the left edge coordinate of the target field of view, and taking the central vertical coordinate of the new rectangle where the grain is located as the central vertical coordinate of the target field of view, the target field of view is obtained.
[0160] Specifically, the horizontal left edge of the current object to be measured is used as the left edge of the target field of view, the horizontal coordinate of the left edge is used as the left edge coordinate of the target field of view, and the center of the new rectangle in the vertical direction (i.e., the Y direction) is used as the longitudinal center of the target field of view to arrange the field of view and obtain the target field of view.
[0161] e3) Determine whether the next measured object of the current measured object is included in the target field of view.
[0162] In this embodiment, the next measured object of the current measured object in the sequence is taken as the next measured object, and then it is determined whether the next measured object is in the planned target field of view.
[0163] f3) If it is included, the next measured object is added to the target field of view, and the next measured object is used as the new current measured object, and the step of returning to determine whether the next measured object of the current measured object is included in the target field of view is executed.
[0164] Specifically, if the next measured object is included in the planned target field of view, it is added to the target field of view. Then the next measured object is used as the new current measured object, and the process returns to step e3) to continue determining whether the next measured object of the new current measured object is included in the target field of view.
[0165] g3) If not included, the next measured object is used as the new current measured object, and the process returns to the step of using the left edge horizontal coordinate of the current measured object as the left edge coordinate of the target field of view, until all the measured objects in the sorting are traversed.
[0166] Specifically, if the next measured object is not included in the planned target field of view, it is taken as the new current measured object, and the process returns to step d3) to continue planning with the horizontal left edge of the current measured object. When all the measured objects in the sorting are traversed and planned to the corresponding target field of view, the process ends and all the planned target fields of view are obtained.
[0167] For example, Fig.12 An example diagram of field of view planning in which an effective area includes a portion of at least two dies in the execution of a path planning method for wafer inspection provided in the second embodiment of the present invention is shown as follows: Fig.12 As shown in the figure, 1 represents a crystal grain, 2 represents an object to be measured, and 3 represents a field of view. When planning is performed based on the object to be measured, the horizontal left edge of the object to be measured is used for planning. For objects to be measured that are included in the same field of view, they are planned into the same field of view.
[0168] The above technical solution specifies the steps of how to plan the field of view with the object to be measured as the reference unit when the effective area contains at least two parts of the grains. This can effectively reduce the number of camera shots and incorporate the objects to be measured in multiple grains into the same field of view. This ensures the integrity of the object to be measured in the field of view and improves computing performance.
[0169] S206 , performing path planning for each target field of view to obtain a target planning path for detecting the area to be detected.
[0170] The second embodiment of the present invention provides a path planning method for wafer inspection, which specifies the steps of determining the effective area of the image captured by the camera on the wafer; and the steps of performing field of view planning with the object to be measured as a reference unit according to the situation of the object to be measured in the effective area, and obtaining at least one target field of view corresponding to the area to be inspected of the wafer; the above technical scheme uses the object to be measured with finer particle size under the grain as the reference unit to take pictures of the field of view, and merges the objects to be measured in multiple grains into the same field of view, which can effectively reduce the number of times the camera takes pictures, ensures the integrity of the object to be measured in the field of view, and improves the computing performance and detection efficiency.
[0171] For example, in order to more clearly illustrate the effect of the path planning method for wafer inspection provided by the embodiment of the present invention, Fig.13 This is a comparison diagram of the effect of path planning based on the existing die as the reference unit and the effect of path planning based on the object to be measured as the reference unit provided by the embodiment of the present invention. Fig.13 As shown in the figure, 1 represents the die, 2 represents the object to be tested, and 3 represents the field of view. Planning based on the die (i.e., Die) requires taking multiple photos of the die and splicing them into a complete die; planning based on the object to be tested (i.e., Pad) only requires planning all the objects to be tested into the field of view, which can reduce the number of photos, and multiple objects to be tested in the same field of view can be planned into one field of view, which can reduce the number of photos and improve the detection efficiency.
[0172] Embodiment 3
[0173] Fig.14 Schematic diagram of the structure of a path planning device for wafer inspection provided in Embodiment 3 of the present invention. The device can be applied to the situation of defect detection of wafers. The path planning device for wafer inspection can be configured in an electronic device, such as Fig.14 As shown, the device includes: an area determination module 31, a field of view determination module 32 and a path planning module 33; wherein,
[0174] An area determination module 31 is used to determine the effective area of the image captured by the camera on the wafer;
[0175] A field of view determination module 32 is used to perform field of view planning based on the situation of the object to be tested in the effective area and take the object to be tested as a reference unit to obtain at least one target field of view corresponding to the area to be tested of the wafer;
[0176] The path planning module 33 is used to plan the path for each target field of view and obtain the target planning path for detecting the area to be detected.
[0177] Different from the prior art in which planning is performed based on the grain as the reference unit during wafer inspection, multiple fields of view need to be photographed to piece together a complete grain, which makes the algorithm calculation complex and affects the wafer inspection efficiency; the above technical solution uses the object to be inspected with finer particle size under the grain as the reference unit to photograph the field of view, which can effectively reduce the number of camera photographs, ensure the integrity of the object to be inspected under the field of view, and improve the computing performance and inspection efficiency.
[0178] Optionally, the field of view determination module 32 may include:
[0179] A first field of view determination unit is used to determine at least one target field of view corresponding to the area to be detected according to the upper left corner coordinates of all the objects to be detected contained in the die if the effective area only contains a part of a die and the objects to be detected that are closest to each other in two adjacent die in the wafer cannot be contained in one effective area;
[0180] A second field of view determination unit is used to plan the object to be detected by first edge and then interior if a certain effective area contains only a part of a die and the object to be detected that is closest to two adjacent die in the wafer can be contained in another effective area, and determine at least one target field of view corresponding to the area to be detected;
[0181] The third field of view determining unit is used to determine at least one target field of view corresponding to the area to be detected according to the arrangement of the effective area in the area to be detected and the upper left corner coordinates of the object to be detected in the grain if the effective area contains part of at least two grains.
[0182] Optionally, the first field of view determining unit is specifically configured to:
[0183] For each crystal grain in the area to be detected, according to the upper left corner coordinates of all the objects to be detected contained in the crystal grain, the objects to be detected are arranged in a set coordinate order to obtain a set of objects to be detected, and the coordinate order is set from small to large for the horizontal coordinate and from large to small for the vertical coordinate;
[0184] Extracting the first measured object from the measured object set as the current measured object, and using the upper left corner coordinate of the current measured object as the upper left corner coordinate of the target field of view, to obtain the target field of view;
[0185] Determine whether the remaining objects in the set of objects to be measured, except the current object to be measured, are contained in the target field of view;
[0186] If so, the remaining measured objects contained in the target field of view are added to the target field of view, and the current measured object and the remaining measured objects contained in the target field of view are removed from the measured object set to obtain a new measured object set;
[0187] If not, remove the current measured object from the measured object set to obtain a new measured object set;
[0188] Return and execute to extract the first object under test from the set of objects under test as the current object under test until the set of objects under test is empty.
[0189] Optionally, the second field of view determining unit is specifically configured to:
[0190] For each of the left and right edges of the grain in the area to be inspected, determine the target field of view corresponding to the edge object to be inspected according to the coordinate information of the edge object to be inspected and the adjacent object to be inspected of the adjacent grain;
[0191] For each edge of the upper and lower edges of the grains in the area to be detected, determine the target field of view corresponding to the edge detected object according to the coordinate information of the edge detected object and the adjacent detected object of the adjacent grains;
[0192] After the planning of the edge measured object is completed, any measured object in the set of internal measured objects in the grain is used as the current measured object, and the center coordinates of the current measured object are used as the center coordinates of the target field of view to obtain the target field of view;
[0193] Determine whether the remaining measured objects in the internal measured object set except the current measured object are contained in the target field of view;
[0194] If included, the remaining measured objects included in the target field of view are added to the target field of view, and the current measured object and the remaining measured objects included in the target field of view are removed from the internal measured object set to obtain a new internal measured object set;
[0195] If not, remove the current measured object from the internal measured object set to obtain a new internal measured object set;
[0196] Return to the step of taking any object to be measured in the internal set of objects to be measured in the die as the current object to be measured until the internal set of objects to be measured is empty.
[0197] Optionally, the grain on the right side of the grain and the adjacent grains is recorded as the first grain, and the grain on the left side is recorded as the second grain; for each edge on the left and right of the grain in the area to be detected, according to the coordinate information of the edge detected object and the adjacent detected object of the adjacent grain, the target field of view corresponding to the edge detected object is determined, including:
[0198] For each left and right edge of the die in the area to be inspected, determine a first distance between a right edge of the left side of the first die and the left edge of the first die, and a second distance between a left edge of the right side of the second die and the right edge of the second die;
[0199] Determine the central horizontal coordinate of the target field of view according to the first distance and the second distance;
[0200] Arrange the left-side measured objects and the right-side measured objects from large to small according to the upper left corner vertical coordinates to obtain a set of edge measured objects;
[0201] Extract the first measured object in the order from the edge measured object set as the current measured object, and use the upper edge of the current measured object as the upper edge of the target field of view to obtain the target field of view;
[0202] Determine whether the remaining objects to be measured in the edge measured object set except the current measured object are contained in the target field of view;
[0203] If so, the remaining objects to be measured contained in the target field of view are added to the target field of view, and the current object to be measured and the remaining objects to be measured contained in the target field of view are removed from the edge object set to obtain a new edge object set;
[0204] If not, the current measured object is removed from the edge measured object set to obtain a new edge measured object set;
[0205] Return and execute to extract the first measured object from the edge measured object set as the current measured object until the edge measured object set is empty.
[0206] Optionally, the third field of view determining unit is specifically configured to:
[0207] According to the number of the measured objects arranged in the rows and columns of the effective area, a new rectangle corresponding to the effective area is constructed;
[0208] According to the coordinate information of the area to be detected and the number of new rectangles that can be arranged in the area to be detected, the coordinate information of each new rectangle is determined as the coordinate information of the path node;
[0209] For each path node, all the objects to be tested contained in a grain are sorted in ascending order according to the upper left corner abscissa, and the first object to be tested in the sorting is obtained as the current object to be tested;
[0210] The target field of view is obtained by taking the left edge abscissa of the current object to be measured as the left edge coordinate of the target field of view, and taking the central ordinate of the new rectangle where the grain is located as the central ordinate of the target field of view;
[0211] Determine whether the next measured object of the current measured object is contained in the target field of view;
[0212] If it is included, then the next measured object is added to the target field of view, and the next measured object is used as the new current measured object, and the step of determining whether the next measured object of the current measured object is included in the target field of view is returned;
[0213] If not, the next measured object is used as the new current measured object, and the process returns to the step of using the left edge horizontal coordinate of the current measured object as the left edge coordinate of the target field of view, until all the measured objects in the sorting are traversed.
[0214] Optionally, the region determination module 31 is specifically configured to:
[0215] If the effective area contains only a part of a grain, the effective area is determined based on the distance between the center points of adjacent grains and the number of fields required to stitch together a complete grain;
[0216] If the effective area includes parts of at least two grains, the effective area is determined based on the distance between the center points of adjacent grains, the number of fields required to splice into a complete grain, and the algorithm reserved area.
[0217] The path planning device for wafer inspection provided by the embodiment of the present invention can execute the path planning method for wafer inspection provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0218] Embodiment 4
[0219] Fig.15A schematic diagram of the structure of an electronic device provided for Embodiment 4 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 required herein.
[0220] like Fig.15 As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0221] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0222] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated 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 41 performs the various methods and processes described above, such as a path planning method for wafer inspection.
[0223] In some embodiments, the path planning method for wafer inspection may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the path planning method for wafer inspection described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to execute the path planning method for wafer inspection in any other appropriate manner (e.g., by means of firmware).
[0224] 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.
[0225] 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 data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0226] 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 combination 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.
[0227] 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).
[0228] 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.
[0229] 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.
[0230] 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.
[0231] 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 path planning method for wafer inspection, characterized in that: include: Determine the effective area of the image captured by the camera on the wafer; According to the situation of the object to be measured in the effective area, the field of view is planned by taking the object to be measured as a reference unit to obtain at least one target field of view corresponding to the area to be inspected of the wafer; Path planning is performed for each target field of view to obtain a target planning path for detecting the area to be detected.
2. The method according to claim 1, characterized in that According to the situation of the object to be measured in the effective area, the field of view planning is performed with the object to be measured as a reference unit to obtain at least one target field of view corresponding to the area to be inspected of the wafer, including: If the effective area only includes a part of a die and the objects to be detected that are closest to each other in two adjacent die in the wafer cannot be included in one effective area, then at least one target field of view corresponding to the area to be detected is determined according to the upper left corner coordinates of all objects to be detected contained in the die; If a certain effective area only contains a part of a die and the object to be detected that is closest to two adjacent die in the wafer can be contained in another effective area, the object to be detected is planned in a way of first edge and then interior to determine at least one target field of view corresponding to the area to be detected; If the effective area includes parts of at least two dies, at least one target field of view corresponding to the area to be detected is determined according to the arrangement of the effective area in the area to be detected and the upper left corner coordinates of the object to be detected in the dies.
3. The method according to claim 2, characterized in that The step of determining at least one target field of view corresponding to the area to be detected according to the upper left corner coordinates of all the objects to be detected contained in the grain includes: For each crystal grain in the area to be detected, according to the upper left corner coordinates of all the detected objects contained in the crystal grain, the detected objects are arranged in a set coordinate order to obtain a set of detected objects, wherein the set coordinate order is from small to large for the horizontal coordinate and from large to small for the vertical coordinate; Extracting the first measured object from the set of measured objects as the current measured object, and using the upper left corner coordinates of the current measured object as the upper left corner coordinates of the target field of view, to obtain the target field of view; Determine whether the remaining objects in the set of objects except the current object are contained in the target field of view; If so, the remaining measured objects contained in the target field of view are added to the target field of view, and the current measured object and the remaining measured objects contained in the target field of view are removed from the set of measured objects to obtain a new set of measured objects; If not, the current measured object is removed from the measured object set to obtain a new measured object set; Return to execute extracting the first measured object in the measured object set as the current measured object until the measured object set is empty.
4. The method according to claim 2, characterized in that: The method of planning the object to be detected by first edge and then interior to determine at least one target field of view corresponding to the area to be detected includes: For each of the left and right edges of the grain in the area to be inspected, determine the target field of view corresponding to the edge object to be inspected according to the coordinate information of the edge object to be inspected and the adjacent object to be inspected of the adjacent grain; For each edge of the upper and lower edges of the grains in the area to be detected, determine the target field of view corresponding to the edge detected object according to the coordinate information of the edge detected object and the adjacent detected object of the adjacent grains; After the planning of the edge measured object is completed, any measured object in the set of internal measured objects in the grain is used as the current measured object, and the center coordinates of the current measured object are used as the center coordinates of the target field of view to obtain the target field of view; Determine whether the remaining objects in the internal object set except the current object are contained in the target field of view; If so, the remaining measured objects contained in the target field of view are added to the target field of view, and the current measured object and the remaining measured objects contained in the target field of view are removed from the internal measured object set to obtain a new internal measured object set; If not, the current measured object is removed from the internal measured object set to obtain a new internal measured object set; Return to the step of taking any object to be measured in the set of internal objects to be measured in the die as the current object to be measured, until the set of internal objects to be measured is empty.
5. The method according to claim 4, characterized in that The grain on the right side of the adjacent grains is recorded as the first grain, and the grain on the left side is recorded as the second grain; For each left and right edge of the grain in the area to be detected, determining the target field of view corresponding to the edge detected object according to the coordinate information of the edge detected object and the adjacent detected object of the adjacent grain, comprises: For each left and right edge of the die in the area to be inspected, determine a first distance between a right edge of the left side of a first die and the left edge of the first die, and a second distance between a left edge of the right side of a second die and the right edge of the second die; Determine the central horizontal coordinate of the target field of view according to the first distance and the second distance; Arrange the left-side measured objects and the right-side measured objects from large to small according to the upper left corner vertical coordinates to obtain an edge measured object set; Extracting the first measured object in the order from the edge measured object set as the current measured object, and taking the upper edge of the current measured object as the upper edge of the target field of view, to obtain the target field of view; Determine whether the remaining detected objects in the edge detected object set except the current detected object are contained in the target field of view; If so, the remaining measured objects contained in the target field of view are added to the target field of view, and the current measured object and the remaining measured objects contained in the target field of view are removed from the edge measured object set to obtain a new edge measured object set; If not, the current measured object is removed from the edge measured object set to obtain a new edge measured object set; Return to execute extracting the first measured object in the edge measured object set as the current measured object until the edge measured object set is empty.
6. The method according to claim 2, characterized in that The step of determining at least one target field of view corresponding to the area to be detected according to the arrangement of the effective area in the area to be detected and the coordinates of the upper left corner of the object to be detected in the die includes: According to the number of the objects to be measured arranged in rows and columns in the effective area, a new rectangle corresponding to the effective area is constructed; According to the coordinate information of the area to be detected and the number of new rectangles in which the new rectangle can be arranged in the area to be detected, determining the coordinate information of each new rectangle as the coordinate information of the path node; For each path node, all the objects to be tested contained in the grain are sorted in ascending order according to the upper left corner abscissas, and the first object to be tested in the sorting is obtained as the current object to be tested; Taking the left edge abscissa of the current measured object as the left edge coordinate of the target field of view, and taking the central ordinate of the new rectangle where the grain is located as the central ordinate of the target field of view, to obtain the target field of view; Determine whether the next measured object of the current measured object is contained in the target field of view; If so, the next measured object is added to the target field of view, and the next measured object is used as the new current measured object, and the step of returning to determine whether the next measured object of the current measured object is contained in the target field of view is performed; If not, the next measured object is used as the new current measured object, and the process returns to the step of using the left edge horizontal coordinate of the current measured object as the left edge coordinate of the target field of view until all the measured objects in the sequence are traversed.
7. The method according to claim 1, characterized in that The determining of the effective area of the image captured by the camera on the wafer includes: If the effective area includes only a portion of a crystal grain, the effective area is determined according to the distance between the center points of adjacent crystal grains and the number of fields of view required to splice into a complete crystal grain; If the effective area includes parts of at least two grains, the effective area is determined according to the distance between the center points of adjacent grains, the number of fields of view required to splice into a complete grain, and the algorithm reserved area.
8. A path planning device for wafer inspection, characterized in that: include: An area determination module is used to determine the effective area of the image captured by the camera on the wafer; A field of view determination module, used to perform field of view planning based on the situation of the object to be measured in the effective area and taking the object to be measured as a reference unit to obtain at least one target field of view corresponding to the area to be detected of the wafer; The path planning module is used to perform path planning for each target field of view and obtain a target planning path for detecting the area to be detected.
9. An electronic device, characterized in that: include: at least one processor; as well as 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 path planning method for wafer inspection as described in any one of claims 1-7.
10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the path planning method for wafer inspection as described in any one of claims 1 to 7 when executed by a computer processor.
Citation Information
Cited By
Wafer probe station detection path planning method, wafer probe station detection path planning device, wafer probe station detection path planning equipment and probe station
CN120370140A
Single-view-field defect detection method, device and equipment for wafer and medium
CN120689340A
