Semiconductor wafer position detection device and detection method

By using multi-scale template matching and an improved Hough transform algorithm in semiconductor wafer position detection, combined with automated motion control, the problem of insufficient detection accuracy in the existing technology is solved, and high-precision and stable wafer position detection is achieved. Suitable for mass production.

CN118824901APending Publication Date: 2024-10-22杜禾

Patent Information

Application Number
CN202410938443.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-13
Publication Date
2024-10-22

Smart Images

  • Figure CN118824901A_ABST
    Figure CN118824901A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of semiconductors, in particular to a semiconductor wafer position detection device and a detection method, a first correction angle is calculated by performing multi-scale template matching based on edge geometric features on a first low-magnification wafer image, and the adaptive capacity of an algorithm to image change is enhanced through weighted calculation of the multi-scale features; automatically and preliminarily adjusting the position of the wafer according to the first straightening angle; then acquiring a first high-magnification wafer image and a second high-magnification wafer image, and calculating a second correction angle according to the two high-magnification wafer images by adopting an improved Hough transform algorithm to ensure that the position of the semiconductor wafer is detected more finely; and automatically and accurately adjusting the position of the wafer according to the second straightening angle. Different position detection algorithms are adopted for the semiconductor wafer images with different multiplying power, two-stage position detection is achieved, and the position detection precision of the semiconductor wafer is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of semiconductor technology, and in particular to a semiconductor wafer position detection device and a detection method. Background Art

[0002] Semiconductor wafers are high-purity single-crystal silicon wafers used to manufacture semiconductor devices and integrated circuits. They are the core materials of modern electronic technology, and their quality directly affects the performance and reliability of the final product. The wide application of semiconductor wafers in various fields has promoted scientific and technological progress and social development. For example, in the field of consumer electronics, semiconductor wafers are used to produce microprocessors, memory chips and other key components, making smartphones, computers and tablets possible; in the field of communications industry, semiconductor wafers are used to manufacture high-speed communication chips, supporting the development of 5G networks and fiber-optic communications; in the field of medical equipment, high-performance semiconductor chips enhance the functions of portable diagnostic equipment and advanced imaging systems; semiconductor wafers are also widely used in industrial automation and Internet of Things devices, promoting the construction of intelligent manufacturing and smart cities.

[0003] The wafer processing operation process is one of the key links in semiconductor manufacturing. First, the silicon wafer is cut from a single crystal silicon rod, and then undergoes a series of precise chemical and mechanical polishing to make its surface smooth and flat. Next, the wafer enters the photolithography process stage, and the circuit pattern is transferred to the wafer surface by coating photoresist, exposing and developing. Subsequently, the wafer undergoes an etching process to remove unnecessary materials and retain the required circuit structure. After that, ion implantation and diffusion processes are used to form different doping areas on the wafer to build basic components such as transistors. Next, the deposition process deposits various thin films such as oxide layers, nitride layers, and metal layers on the surface of the wafer. These films provide the basis for electrical isolation, conductive interconnection, and protection circuits. Then, the circuit pattern is further refined through photolithography and etching again. The above steps are repeated many times to build complex integrated circuits layer by layer.

[0004] Accurate detection of wafer position is crucial to the accuracy and efficiency of the entire production process. For example, in the final step, the entire wafer with the completed circuit pattern needs to be cut into independent chips. However, since the channel width between the grains is very small, the blade can easily exceed the channel and damage the grains. Therefore, a high-precision semiconductor wafer position detection device and detection method are required to accurately detect the wafer position before cutting, thereby improving the chip yield and quality. In addition, with the miniaturization and diversification of functions of electronic devices, higher requirements are also placed on wafer processing accuracy and detection technology.

[0005] In order to meet these challenges, some innovative solutions have been proposed in the prior art. For example, the Chinese patent application number CN202410097847.X discloses wafer inspection equipment and methods, devices, electronic devices and storage media; the method selects reference grains by acquiring a first wafer image and a second wafer image, establishes a target coordinate axis based on the reference grains to obtain an initial grain coordinate information table; reads the reference grain coordinates from the initial grain coordinate information table according to the reference grain position to obtain the target reference coordinates; updates the initial grain coordinate information table according to the target reference coordinates to obtain the target grain coordinate information table, thereby inspecting the target wafer. In addition, the Chinese patent application number CN202210058893.X discloses a semiconductor wafer position detection device, a detection method, and a detection system; the method sets an alignment mark in the chamber of the semiconductor wafer position detection device, obtains the first position deviation of the wafer center position and the reference point of the reference coordinate system by acquiring the first image to be tested; obtains the position of the notch and the line connecting the wafer center position through the notch image set on the edge of the wafer in the first image to be tested, thereby obtaining the angle between the notch position and the line connecting the wafer center position and the reference direction. However, the above method depends on the wafer image quality and environmental conditions, and there is no difference between the multiple images obtained and the detection methods of the wafer position in the image, and the applicability of the method to changes in image quality cannot be guaranteed, thereby affecting the detection accuracy of the semiconductor wafer position during actual processing, and it is difficult to meet the needs of large-scale production.

[0006] In order to solve the above problems, the present invention proposes a semiconductor wafer position detection device and a detection method. Summary of the invention

[0007] The object of the present invention is to provide a semiconductor wafer position detection device and method, which acquires wafer images of different magnifications and adopts corresponding position detection algorithms to detect the wafer position alignment angle, and then uses an automated motion control system to finely adjust the wafer position, thereby achieving accurate position detection during semiconductor wafer processing.

[0008] To achieve the above object, the present invention provides the following technical solutions:

[0009] A semiconductor wafer position detection device, characterized in that the device comprises: a wafer fixing truncated table, a visual imaging system, a motion control system, and a software system; the fixed truncated table is used to fix the wafer to be detected; the visual imaging system is located directly above the wafer fixing truncated table, and is used to obtain a first low-magnification wafer image, a first high-magnification wafer image, and a second high-magnification wafer image; the motion control system comprises a motion control platform and a motion control card, which are used to move the wafer fixing truncated table, assist the visual imaging system to collect a first high-magnification wafer image and a second high-magnification wafer image at a first part of the wafer and a second part of the wafer, respectively, and complete a first wafer position alignment and a second wafer position alignment; the software system is used to connect the visual imaging system, detect a first alignment angle according to the first low-magnification wafer image, detect a second alignment angle according to the first high-magnification wafer image and the second high-magnification wafer image, and display the wafer position detection result in real time, and connect the motion control system to automatically align the wafer position according to the first alignment angle and the second alignment angle.

[0010] Preferably, the visual imaging system includes two high-resolution industrial cameras, two professional optical lenses and two stable light sources, ensuring that clear wafer images can be obtained at different magnifications.

[0011] Preferably, the motion control platform is used to carry the wafer fixing table and is driven by a motion control card, including an X-axis, a Y-axis and a W-axis. The X-axis and the Y-axis control the up, down, left and right movement of the wafer fixing table on the motion control platform, and the W-axis is used to control the rotation of the wafer fixing table.

[0012] Preferably, the software system includes a position detection algorithm module and a feedback control module; the position detection algorithm module includes a first detection unit and a second detection unit, which are used to detect the first swing angle and the second swing angle of the wafer; the feedback control module is used to realize communication between the motion control system and the software system, receive the semiconductor wafer position detection result, and control the motion control system to adjust the semiconductor wafer position.

[0013] Preferably, the first detection unit adopts a multi-scale template matching method based on edge geometric features. The multi-scale template matching based on edge geometric features introduces multi-scale feature fusion in the correlation measurement, performs weighted calculation on features of different scales, and the improved correlation measurement formula is:

[0014]

[0015] Where N represents the total number of scales; w L represents the weight of the Lth scale; p i =(r i ,c i ) Trepresents the point set on the template image; n represents the number of points; d i =(t i ,u i ) T represents the direction vector associated with each point; e r,c =(x r,c ,y r,c ) represents the direction vector of each point q=(r,c) in the image to be matched; p i ′ and d i ′ represents the point and direction vector of the point in the template image after affine transformation;

[0016] The matching results obtained by the multi-scale template matching method based on edge geometric features are linearly fitted using the least squares method, and the first swing angle is obtained according to the slope of the fitting line. The specific operations include: grouping all the matching results, and dividing the points close to the same straight line into a group; using the least squares method to fit each group of coordinates (X 1 ,Y 1 ,X 2 ,Y 2 ,...,X n ,Y n ) to perform linear fitting, these points are near a straight line, and the equation of the straight line is y=a 0 +a 1 x; the least squares method solves the slope a by the following formula 1 :

[0017]

[0018] A plurality of angles are calculated according to the slopes of a plurality of straight lines, and an average value of the angles is used as the first straightening angle of the semiconductor wafer position.

[0019] Preferably, the second detection unit uses an improved Hough transform algorithm to detect the straight line intersection area, and the improved Hough transform algorithm includes: using median filtering to preprocess the first high-magnification wafer image and the second high-magnification wafer image respectively; using the Canny operator to extract the edge of the image preprocessed by the median filter to obtain a pixel-level edge image; using sub-pixel edge extraction technology to subdivide the edge image again to obtain sub-pixel edges and map the sub-pixel edge points to the Hough space; by adjusting the angular resolution AngleResolution to optimize the representation of the Hough space, find the local maximum in the Hough space, and the local maximum corresponds to the straight line in the image; the straight line represents the cutting channel on the wafer, and the intersection area of ​​the straight line corresponds to the channel intersection area between the grains in the wafer. According to the direction of the straight line and the size of the straight line intersection area, the straight line that meets the conditions is screened out, and the direction Oriention of the straight line satisfies the condition that:

[0020] -2°<Oriention<2°or 88°<Oriention<92°;

[0021] The size (Width, Height) of the straight line intersection area satisfies the following conditions:

[0022]

[0023] Wherein, W and H represent the number of pixels of width and height corresponding to the actual channel intersection area, respectively; the center coordinates (r 1 ,c 1 ) and (r 2 ,c 2 ), connect the center points of the two center areas into a straight line, and calculate the second swing angle α according to the slope k of the straight line, and the formula is:

[0024]

[0025] Wherein, D represents the corresponding pixel value converted from the distance between the two center areas according to the calibration ratio.

[0026] A method for detecting a semiconductor wafer position, comprising the following steps:

[0027] S1. Preliminarily aligning and fixing the semiconductor wafer on the wafer fixing table;

[0028] S2. Acquire a first low magnification wafer image of the semiconductor wafer;

[0029] S3. intercepting a single or multiple substantially aligned grains in the first low-magnification wafer image as a template image;

[0030] S4. The first detection unit of the execution position detection algorithm module calculates the first swing angle of the wafer position;

[0031] S5. Preliminarily adjust the wafer position according to the first swing angle;

[0032] S6. Acquire a first high magnification wafer image and a second high magnification wafer image of the semiconductor wafer;

[0033] S7. The second detection unit of the execution position detection algorithm module calculates the second swing angle of the wafer position;

[0034] S8. Accurately adjust the wafer position according to the second swing angle.

[0035] Preferably, the first detection unit adopts a multi-scale template matching method based on edge geometric features. The multi-scale template matching based on edge geometric features introduces multi-scale feature fusion in the correlation measurement, performs weighted calculation on features of different scales, and the improved correlation measurement formula is:

[0036]

[0037] Where N represents the total number of scales; w L represents the weight of the Lth scale; p i =(r i ,c i ) T represents the point set on the template image; n represents the number of points; d i =(t i ,u i ) T represents the direction vector associated with each point; e r,c =(x r,c ,y r,c ) represents the direction vector of each point q=(r,c) in the image to be matched; p i ′ and d i ′ represents the point and direction vector of the point in the template image after affine transformation;

[0038] The matching results obtained by the multi-scale template matching method based on edge geometric features are linearly fitted using the least squares method, and the first swing angle is obtained according to the slope of the fitting line. The specific operations include: grouping all the matching results, and dividing the points close to the same straight line into a group; using the least squares method to fit each group of coordinates (X 1 ,Y 1 ,X 2 ,Y 2 ,…,X n ,Y n ) to perform linear fitting, these points are near a straight line, and the equation of the straight line is y=a 0 +a 1 x; the least squares method solves the slope a by the following formula 1 :

[0039]

[0040] A plurality of angles are calculated according to the slopes of a plurality of straight lines, and an average value of the angles is used as the first straightening angle of the semiconductor wafer position.

[0041] Preferably, the second detection unit uses an improved Hough transform algorithm to detect the straight line intersection area, and the improved Hough transform algorithm includes: using median filtering to preprocess the first high-magnification wafer image and the second high-magnification wafer image respectively; using the Canny operator to extract the edge of the image preprocessed by the median filter to obtain a pixel-level edge image; using sub-pixel edge extraction technology to subdivide the edge image again to obtain sub-pixel edges and map the sub-pixel edge points to the Hough space; by adjusting the angular resolution AngleResolution to optimize the representation of the Hough space, find the local maximum in the Hough space, and the local maximum corresponds to the straight line in the image; the straight line represents the cutting channel on the wafer, and the intersection area of ​​the straight line corresponds to the channel intersection area between the grains in the wafer. According to the direction of the straight line and the size of the straight line intersection area, the straight line that meets the conditions is screened out, and the direction Oriention of the straight line satisfies the condition that:

[0042] -2°<Oriention<2°or 88°<Oriention<92°;

[0043] The size (Width, Height) of the straight line intersection area satisfies the following conditions:

[0044]

[0045] Wherein, W and H represent the number of pixels of width and height corresponding to the actual channel intersection area, respectively; the center coordinates (r 1 ,c 1 ) and (r 2 ,c 2 ), connect the center points of the two center areas into a straight line, and calculate the second swing angle α according to the slope k of the straight line, and the formula is:

[0046]

[0047] Wherein, D represents the corresponding pixel value converted from the distance between the two center areas according to the calibration ratio.

[0048] Preferably, the wafer position detection result is sent to the motion control system through the feedback control module, and the wafer position is automatically preliminarily adjusted and precisely adjusted respectively.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] 1. The present invention proposes a two-stage semiconductor wafer position detection method. The two detection units of the position detection algorithm module respectively cope with the detection requirements of two magnification images, taking into account the global position and local details of the semiconductor wafer, and realizing a two-stage position detection strategy from coarse to fine, thereby ensuring the applicability of the semiconductor wafer position detection method to image changes, improving the comprehensiveness and accuracy of detection, thereby improving the detection accuracy of the semiconductor wafer position in the actual processing process, and meeting the needs of large-scale production in modern semiconductor manufacturing.

[0051] 2. The present invention adopts a multi-scale template matching method based on edge geometric features, introduces multi-scale feature fusion in the correlation measurement, and can effectively suppress noise interference by comprehensively considering features at multiple scales. It can also maintain a high matching accuracy at different resolutions, and can more accurately capture subtle changes in the edge of the wafer by weighted calculation of features at different scales. This not only enhances the algorithm's ability to adapt to changes in semiconductor wafer images during actual processing, but also makes the detection results more stable and reliable, thereby meeting the needs of large-scale production in modern semiconductor manufacturing.

[0052] 3. The present invention adopts an improved Hough transform algorithm. First, the high-magnification image is preprocessed by using a median filter to effectively eliminate image noise while retaining edge details, providing a clearer image basis for subsequent edge detection. After edge detection is performed in combination with the Canny operator, sub-pixel edge extraction technology is further used to extract the edge. The mapping process of the Hough space is optimized by the angle resolution parameter. By analyzing the direction of the straight line and the size of the intersection area, the channel intersection area between the grains in the semiconductor wafer is accurately identified. The second straightening angle of the wafer is calculated according to the coordinates of the center point of the straight line intersection area. This method improves the accuracy of edge detection, enables the algorithm to more finely identify the straight lines in the image, improves the detection accuracy of the semiconductor wafer position, and meets the needs of large-scale production of modern semiconductor manufacturing. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A schematic structural diagram of a semiconductor wafer position detection device provided by an embodiment of the present invention;

[0054] Figure 2 A schematic diagram of a process flow of a wafer position detection method provided by an embodiment of the present invention;

[0055] Figure 3 A schematic diagram of shooting locations of a first high magnification wafer image and a second high magnification wafer image provided by an embodiment of the present invention;

[0056] Figure 4 A schematic diagram of a Hesse normal straight line equation provided by an embodiment of the present invention.

[0057] In the figure: 10, wafer fixing table; 20, visual imaging system; 21, first industrial camera; 22, second industrial camera; 23, 0.5x telecentric lens; 24, 7.5x telecentric lens; 25, first coaxial point light source; 26, second coaxial point light source; 31, motion control platform; 32, motion control card; 40, software system; 51, first part of wafer; 52, second part of wafer; 53, center position of wafer. DETAILED DESCRIPTION

[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will be introduced in conjunction with the drawings required for the technical description in the embodiments. 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 are within the scope of protection of the present invention.

[0059] Embodiment 1

[0060] As an embodiment of the present invention, refer to Figure 1 , a semiconductor wafer position detection device is shown, including: a wafer fixing table 10, a visual imaging system 20, a motion control system including a motion control platform 31 and a motion control card 32, and a software system 40; the fixed table 10 is used to fix the wafer to be detected; the visual imaging system 20 is located directly above the wafer fixing table, and is used to obtain a first low-magnification wafer image, a first high-magnification wafer image, and a second high-magnification wafer image; the motion control system is used to move the wafer fixing table 10, assist the visual imaging system 20 in acquiring the first high-magnification wafer image and the second high-magnification wafer image, and complete the first wafer position alignment and the second wafer position alignment; the software system 40 is used to connect the visual imaging system 20, detect the first alignment angle according to the first low-magnification wafer image, detect the second alignment angle according to the first high-magnification wafer image and the second high-magnification wafer image, and display the wafer position detection result in real time, and connect the motion control card 32 to drive the motion control platform 31 to align the wafer position according to the first alignment angle and the second alignment angle.

[0061] Furthermore, the imaging system includes: two high-resolution industrial cameras 21 and 22. In any imaging system, the camera always plays a vital role. A camera with good stability, excellent image quality and appropriate parameters can lay a good foundation for later image processing. In order to be able to perform subsequent processing on the captured images, the camera's resolution must be greater than or equal to the resolution required for actual detection. Considering the positioning accuracy requirements, a 5-megapixel array camera is selected; the first industrial camera 21 and the second industrial camera 22 are respectively equipped with a 0.5x lens 23 and a 7.5x lens 24 for collecting wafer images of different magnifications. The lens selects a telecentric lens to avoid the ordinary lens due to To solve the poor imaging caused by insufficient depth of field, the function of the lens is to focus the light reflected from the image to form an image on the camera, highlighting the sharp edges of the image to fully display the details of the object being measured; the camera is connected to the software system 40 through a Gigabit Ethernet (GigE) interface with stable interface protocol, long transmission distance, low CPU occupancy and easy use, ensuring high-speed transmission of image data; in the visual imaging system, the function of the light source is to highlight the features that need to be acquired in the object being measured and suppress other unnecessary interference information. The imaging system selects two coaxial point light sources 25 and 26 to be inserted into the light source holes reserved in the coaxial lens, providing uniform and stable lighting for the imaging system, highlighting the feature details of the wafer surface.

[0062] Furthermore, the motion control system includes: a three-axis motion control motion platform 31, which can move the wafer fixing table 10 in the X-axis and Y-axis directions, and adjust the angle of the wafer fixing table 10 on the W-axis. The three axes move independently without interfering with each other. Each axis is driven by an independent motor to achieve precise position correction; the motion control card 32 drives the three-axis motion control motion platform 31 through a pulse signal to accurately move the wafer fixing table 10.

[0063] Further, the software system 40 includes a position detection algorithm module and a feedback control module; the position detection algorithm module includes a first detection unit and a second detection unit; the first detection unit uses a multi-scale template matching method based on edge geometric features to detect the wafer position in the low-magnification wafer image, extracts multi-scale features of the image to be matched and the template image by constructing an image pyramid, calculates the correlation of the multi-scale features by weighting, and calculates the first straightening angle according to the matching result; the second detection unit uses an improved Hough transform algorithm to detect the wafer position for the high-magnification image, extracts and detects straight lines through sub-pixel edge extraction, obtains the coordinates of the intersection area of ​​the straight lines in the first high-magnification wafer image and the second high-magnification wafer image, and calculates the second straightening angle; this two-stage strategy for detecting the position of the semiconductor wafer realizes the transition from global rough positioning to local precise positioning, ensures the accurate alignment of the wafer at the overall and detail levels, enhances the robustness and accuracy of the detection, and is suitable for large-scale processing of semiconductor wafers;

[0064] Furthermore, the multi-scale template matching based on edge geometric features introduces multi-scale feature fusion in the correlation measurement. First, multi-scale features are extracted from the image to be matched and the template image by constructing an image pyramid. The image pyramid generates a series of images with gradually reduced resolutions through downsampling operations. Each layer represents a different scale. Features of different scales are weighted. This makes the algorithm robust when processing images of various sizes and resolutions, and can effectively cope with scale changes and noise interference in wafer images. The improved correlation measurement formula is:

[0065]

[0066] Where N represents the total number of scales; w L represents the weight of the Lth scale; p i =(r i ,c i ) T represents the point set on the template image; n represents the number of points; d i =(t i ,u i ) T represents the direction vector associated with each point; e r,c =(x r,c ,y r,c ) represents the direction vector of each point q=(r,c) in the image to be matched; p i ′ and d i ′ represents the point and direction vector of the point in the template image after affine transformation;

[0067] Since the grains in the wafer are regularly distributed, the least square method is used to perform linear fitting on the matching results obtained by the multi-scale template matching method based on edge geometric features, and the first swing angle is obtained according to the slope of the fitting line. The specific operations include: grouping all matching results, and dividing the points close to the same straight line into a group; using the least square method to fit each group of coordinates (X 1 ,Y 1 ,X 2 ,Y 2 ,…,X n ,Y n ) to perform linear fitting, these points are near a straight line, and the equation of the straight line is y=a 0 +a 1 x, all measured values ​​are Y i , X i Substitute y = a 0 +a 1 x gets the expected value Y j , the principle of least squares method is to find the minimum value of the sum of squares of distances from all points to the fitting line, Y i and Y j The sum of the squares of the differences is:

[0068]

[0069] To obtain the minimum value, for a 0 and a 1 Find the partial derivatives, and the other two partial derivatives are equal to zero, and we get the system of equations:

[0070] na 0 +(∑X i ) 1 =∑Y i ;

[0071] (∑X i ) 0 +(∑X i 2 ) 1 =∑(X i *Y i );

[0072] Solving the system of equations yields:

[0073]

[0074] Put a 0 and a 1 Substitute y = a 0 +a 1In x, multiple angles are calculated according to the slopes of multiple straight lines calculated from multiple sets of coordinates, and the average of the angles is used as the first straightening angle of the semiconductor wafer position; the calculation process of the least squares method is relatively simple and efficient, easy to implement and optimize, suitable for large-scale data processing and real-time detection needs, and can effectively improve the semiconductor wafer position detection effect and production efficiency;

[0075] Further, see Figure 3 First, the center position 53 of the wafer is placed directly below the 7.5x lens through the X-axis and Y-axis of the motion control platform, and the wafer fixing table is moved downward through the Y-axis of the motion control platform, so that the visual imaging system collects a first high-magnification wafer image of the first part 51 of the wafer, and the wafer fixing table is moved upward again through the Y-axis of the motion control platform, so that the visual imaging system collects a second high-magnification wafer image of the second part 52 of the wafer. The moving distance d is determined by the specific size of the input wafer, and d is converted into corresponding D pixels according to the calibration ratio;

[0076] The second detection unit uses an improved Hough transform algorithm to calculate the second wafer swing angle for the high magnification image, detects the precise straight line position, and improves the detail accuracy of semiconductor wafer position detection; since there is a situation in the parameter space where the slope of the vertical line does not exist or is infinite, the value of the slope parameter of the traditional straight line equation is close to infinity. The Hough transform algorithm uses the Hesse normal straight line equation, see Figure 4 , the formula is:

[0077] r=xcosθ+ysinθ

[0078] Wherein, r represents the distance from the origin to the nearest point on the straight line; θ represents the angle between the x-axis and the straight line connecting the origin and the nearest point; the Hough space is represented as the (r,θ) plane;

[0079] The Hough transform algorithm first uses median filtering to pre-process the high-magnification image to eliminate noise and retain edge details. The filter mask is selected as follows: a 3×3 matrix with 9 pixels is taken from the image, the 9 pixels are sorted, and finally the center point of the matrix is ​​assigned to the median of the 9 pixels;

[0080] The Canny operator is used to extract the edge of the image after filtering preprocessing to obtain a pixel-level edge image; the sub-pixel edge extraction technology is used to subdivide the edge image again to obtain sub-pixel edges and map the sub-pixel edge points into the Hough space; the Hough space mapping is optimized by adjusting the angle resolution AngleResolution, and the angle definition range of all pixels is from -90 to 180 degrees, and the registration is performed at a resolution of 1 / AngleResolution. In this embodiment, AngleResolution=2 is selected to achieve no loss of edge details and reduce the amount of subsequent calculations;

[0081] Find the local maximum in the Hough space. The local maximum corresponds to the straight line in the image. The straight line represents the cutting channel on the wafer. The intersection area of ​​the straight line corresponds to the channel intersection area between the grains in the wafer. The local maximum is searched by setting three parameters. The parameters and screening conditions are:

[0082]

[0083] Among them, MinPixel represents the minimum number of pixels that the output line overlaps with the edge; DistGap and AngleGap represent the minimum line spacing and minimum angle spacing between the output lines, respectively, to avoid outputting too many repeated lines with similar distances. The position coordinates (r, θ) that meet the three screening conditions can be output;

[0084] According to the direction of the straight line and the size of the intersection area of ​​the straight line, the straight line that meets the conditions is screened out, and the direction of the straight line Oriention meets the conditions:

[0085] -2°<Oriention<2°or 88°<Oriention<92°;

[0086] The size (Width, Height) of the straight line intersection area satisfies the following conditions:

[0087]

[0088] Wherein, W and H represent the number of pixels of width and height corresponding to the actual channel intersection area, respectively; the center coordinates (r 1 ,c 1 ) and (r 2 ,c 2 ), connect the center points of the two center areas into a straight line, and calculate the second swing angle α according to the slope k of the straight line, and the formula is:

[0089]

[0090] Wherein, D represents the corresponding pixel value converted from the distance between the two center areas according to the calibration ratio.

[0091] Furthermore, the feedback control module is used to realize communication between the software system and the motion control system, receive the semiconductor wafer position detection result, and control the motion control system to adjust the semiconductor wafer position. The communication between the feedback control module and the motion control system is mainly realized through the IPC (Inter-Process Communication) mechanism. For the relatively simple communication content in the software system, the WM_COPYDATA message method is selected to realize process communication. The implementation method is simple, easy and efficient.

[0092] Embodiment 2

[0093] As an embodiment of the present invention, refer to Figure 2 , showing the operation flow of a semiconductor wafer position detection method, including:

[0094] S1. Preliminarily aligning and fixing the semiconductor wafer on the wafer fixing table;

[0095] S2. Acquire a first low magnification wafer image of the semiconductor wafer;

[0096] S3. intercepting a single or multiple substantially aligned grains in the first low-magnification wafer image as a template image;

[0097] S4. The first detection unit of the execution position detection algorithm module calculates the first swing angle of the wafer position;

[0098] S5. Preliminarily adjust the wafer position according to the first swing angle;

[0099] S6. Acquire a first high magnification wafer image and a second high magnification wafer image of the semiconductor wafer;

[0100] S7. The second detection unit of the execution position detection algorithm module calculates the second swing angle of the wafer position;

[0101] S8. Accurately adjust the wafer position according to the second swing angle.

[0102] Further, in step S4, the first detection unit detects the position of the wafer in the first low-magnification wafer image using a multi-scale template matching algorithm based on edge geometric features. The multi-scale template matching based on edge geometric features introduces multi-scale feature fusion in the correlation measurement. First, multi-scale features are extracted from the image to be matched and the template image by constructing an image pyramid. The image pyramid generates a series of images with gradually reduced resolution through downsampling operations. Each layer represents a different scale. Features of different scales are weighted. The improved correlation measurement formula is:

[0103]

[0104] Where N represents the total number of scales; w L represents the weight of the Lth scale; p i =(r i , c i ) T represents the point set on the template image; n represents the number of points; d i =(t i ,u i ) T represents the direction vector associated with each point; e r ,c=(x r ,c,y r , c) represents the direction vector of each point q=(r,c) in the image to be matched; p i ′ and d i ′ represents the point and direction vector of the point in the template image after affine transformation;

[0105] Since the grains in the wafer are regularly distributed, the least square method is used to perform linear fitting on the matching results obtained by the multi-scale template matching method based on edge geometric features, and the first swing angle is obtained according to the slope of the fitting line. The specific operations include: grouping all matching results, and dividing the points close to the same straight line into a group; using the least square method to fit each group of coordinates (X 1 , Y 1 , X 2 ,Y 2 , …, X n , Y n ) to perform linear fitting, these points are near a straight line, and the equation of the straight line is y=a 0 +a 1 x, all measured values ​​are Y i , X i Substitute y = a 0 +a 1 x gets the expected value Y j , the principle of least squares method is to find the minimum value of the sum of squares of distances from all points to the fitting line, Yi and Y j The sum of the squares of the differences is:

[0106]

[0107] To obtain the minimum value, for a 0 and a 1 Find the partial derivatives, and the other two partial derivatives are equal to zero, and we get the system of equations:

[0108] na 0 +(ΣX i ) 1 =ΣY i ;

[0109] (ΣX i ) 0 +(ΣX i 2 ) 1 =Σ(X i *Y i );

[0110] Solving the system of equations yields:

[0111]

[0112] Put a 0 and a 1 Substitute y = a 0 +a 1 In x, multiple angles are calculated according to the slopes of multiple straight lines calculated from multiple sets of coordinates, and the average value of the angles is used as the first straightening angle of the semiconductor wafer position;

[0113] Further, in step S6, refer to Figure 3 First, the wafer center position 53 is placed directly below the 7.5x lens through the X-axis and Y-axis of the motion control platform, and the wafer fixing table is moved downward through the Y-axis of the motion control platform, so that the visual imaging system can collect a first high-magnification wafer image of the first part 51 of the wafer. The wafer fixing table is moved upward again through the Y-axis of the motion control platform, so that the visual imaging system can collect a second high-magnification wafer image of the second part 52 of the wafer. The moving distance d is determined by the specific size of the input wafer, and d is converted into corresponding D pixels according to the calibration ratio.

[0114] Further, in step S7, the second detection unit uses an improved Hough transform algorithm to calculate the second wafer straightening angle for the high magnification image. Since there is a situation in the parameter space where the slope of the vertical line does not exist or is infinite, the value of the slope parameter of the traditional straight line equation is close to infinity. The Hough transform algorithm uses the Hesse normal straight line equation, see Figure 4 , the formula is:

[0115] r=xcosθ+ysinθ

[0116] Wherein, r represents the distance from the origin to the nearest point on the straight line; θ represents the angle between the x-axis and the straight line connecting the origin and the nearest point; the Hough space is represented as the (r,θ) plane;

[0117] The Hough transform algorithm first uses median filtering to pre-process the high-magnification image to eliminate noise and retain edge details. The filter mask is selected as follows: a 3×3 matrix with 9 pixels is taken from the image, the 9 pixels are sorted, and finally the center point of the matrix is ​​assigned to the median of the 9 pixels;

[0118] The edge detection algorithm Canny operator is used to extract the edge of the image after filtering preprocessing to obtain a pixel-level edge image, and the edge image is further subdivided by a sub-pixel edge extraction technology; the sub-pixel points of the extracted edge are mapped into the Hough space, and the Hough space mapping is optimized by adjusting the angle resolution AngleResolution, and the angle definition range of all pixels is from -90 to 180 degrees, and the registration is performed at a resolution of 1 / AngleResolution. In this embodiment, AngleResolution=2 is selected to achieve no loss of edge details and reduce the amount of subsequent calculations;

[0119] Find the local maximum in the Hough space. The local maximum corresponds to the possible straight line in the image. The possible straight line represents the cutting channel on the wafer. The possible straight line intersection area corresponds to the channel intersection area between the grains in the wafer. The local maximum is searched by setting three parameters. The parameters and screening conditions are:

[0120]

[0121] Among them, MinPixel represents the minimum number of pixels that the output line overlaps with the edge; DistGap and AngleGap represent the minimum line spacing and minimum angle spacing between the output lines, respectively, to avoid outputting too many repeated lines with similar distances. The position coordinates (r, θ) that meet the three screening conditions can be output;

[0122] According to the direction of the straight line and the size of the intersection area of ​​the straight line, the straight line that meets the conditions is screened out, and the direction of the straight line Oriention meets the conditions:

[0123] -2°<Oriention<2°or 88°<Oriention<92°;

[0124] The size (Width, Height) of the straight line intersection area satisfies the following conditions:

[0125]

[0126] Wherein, W and H represent the number of pixels of width and height corresponding to the actual channel intersection area, respectively; the center coordinates (r 1 ,c 1 ) and (r 2 ,c 2 ), connect the center points of the two center areas into a straight line, and calculate the second swing angle α according to the slope k of the straight line, the formula is:

[0127]

[0128] Wherein, D represents the corresponding pixel value converted from the distance between the two central areas according to the calibration ratio;

[0129] Furthermore, in steps S5 and S8, the feedback control module is used to realize communication between the software system and the motion control system, receive the semiconductor wafer position detection result, and control the motion control system to adjust the semiconductor wafer position.

[0130] Note that the above are only preferred embodiments of the present invention and the technical principles used. It is possible for those skilled in the art to make various obvious changes, readjustments and substitutions without departing from the scope of protection of the present invention. Therefore, although the present invention is described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A semiconductor wafer position detection device, characterized in that: The device comprises: a wafer fixing truncated table, a visual imaging system, a motion control system and a software system; The wafer fixing truncated table is used to fix the wafer to be inspected; the visual imaging system is located directly above the wafer fixing truncated table, and is used to obtain a first low-magnification wafer image, a first high-magnification wafer image, and a second high-magnification wafer image; the motion control system is used to move the wafer fixing truncated table, assist in collecting images, and complete preliminary adjustment and precise adjustment of the wafer position; the software system includes a position detection algorithm module and a feedback control module, which are used to connect to the visual imaging system, calculate the first and second straightening angles according to the wafer image, and display the wafer position detection results in real time, and connect to the motion control system to automatically adjust the wafer position according to the first and second straightening angles; The position detection algorithm module includes a first detection unit and a second detection unit; the first detection unit uses a multi-scale template matching method based on edge geometric features to detect the wafer position in the low-magnification wafer image, extracts multi-scale features of the image to be matched and the template image by constructing an image pyramid, calculates the correlation of the multi-scale features by weighting, and calculates the first straightening angle according to the matching result; the second detection unit uses an improved Hough transform algorithm to detect the wafer position for the high-magnification image, detects the straight line through sub-pixel level edge extraction, obtains the coordinates of the intersection area of ​​the straight lines in the first high-magnification wafer image and the second high-magnification wafer image, and calculates the second straightening angle.

2. A semiconductor wafer position detection device according to claim 1, characterized in that: The multi-scale template matching based on edge geometric features introduces multi-scale feature fusion in the correlation measurement, performs weighted calculation on features of different scales, and the improved correlation measurement formula is: Where N represents the total number of scales; w L represents the weight of the Lth scale; p i =(r i ,c i ) T represents the point set on the template image; n represents the number of points; d i =(t i ,u i ) T represents the direction vector associated with each point; e r,c =(x r,c ,y r,c ) represents the direction vector of each point q=(r,c) in the image to be matched; p i ′ and d i ′ represents the point and direction vector of the point in the template image after affine transformation; finally, the matching result obtained by the multi-scale template matching method based on edge geometric features is linearly fitted using the least squares method, and the first straightening angle is obtained according to the slope of the fitting straight line.

3. A semiconductor wafer position detection device according to claim 2, characterized in that: The least squares linear fitting method includes: grouping all matching results, and dividing the points close to the same straight line into one group; using the least squares method to fit each group of coordinates (X1, Y1, X2, Y2, ..., X n ,Y n ) is used for linear fitting, assuming that the linear equation is y=a0+a1x; the slope a1 is solved by the least squares method using the following formula: A plurality of angles are calculated according to the slopes of a plurality of straight lines, and an average value of the angles is used as the first straightening angle of the semiconductor wafer position.

4. The semiconductor wafer position detection device according to claim 1, characterized in that: The improved Hough transform algorithm includes: using median filtering to preprocess the first high-magnification wafer image and the second high-magnification wafer image respectively; using the Canny operator to extract the edge of the image preprocessed by the median filter to obtain a pixel-level edge image; using sub-pixel edge extraction technology to subdivide the edge image again to obtain sub-pixel edges and map the sub-pixel edge points to the Hough space; optimizing the representation of the Hough space by adjusting the angular resolution AngleResolution, finding the local maximum value in the Hough space to obtain the edge straight line; according to the direction of the straight line and the size of the intersection area of ​​the straight line, screening out the straight line that meets the conditions, and the direction Oriention of the straight line meets the conditions: -2°<Oriention<2° or 88°<Oriention<92°; The size (Width, Height) of the straight line intersection area satisfies the following conditions: Wherein, W and H represent the number of pixels of width and height corresponding to the actual channel intersection area, respectively; the center coordinates (r1, c1) and (r2, c2) of the intersection area in the first high-magnification wafer image and the second high-magnification wafer image are extracted respectively by the improved Hough transform algorithm, the center points of the two center areas are connected into a straight line, and the second swing angle α is calculated according to the slope k of the straight line, and the formula is: Wherein, D represents the corresponding pixel value converted from the distance between the two center areas according to the calibration ratio.

5. The semiconductor wafer position detection device according to claim 1, characterized in that: The feedback control module is used to realize the communication between the motion control system and the software system, receive the semiconductor wafer position detection result, and control the motion control system to adjust the semiconductor wafer position.

6. A semiconductor wafer position detection method, characterized in that: The following steps are involved: S1. Preliminarily align and fix the semiconductor wafer on the wafer fixing table; S2. Acquire a first low magnification wafer image of the semiconductor wafer; S3. intercepting a single or multiple substantially aligned grains in the first low-magnification wafer image as a template image; S4. The first detection unit of the execution position detection algorithm module calculates the first swing angle of the wafer position; S5. Preliminarily adjust the wafer position according to the first swing angle; S6. Acquire a first high magnification wafer image and a second high magnification wafer image of the semiconductor wafer; S7. The second detection unit of the execution position detection algorithm module calculates the second swing angle of the wafer position; S8. Accurately adjust the wafer position according to the second swing angle.

7. A semiconductor wafer position detection method according to claim 6, characterized in that: The first detection unit adopts a multi-scale template matching method based on edge geometric features. The multi-scale template matching based on edge geometric features introduces multi-scale feature fusion in the correlation measurement, performs weighted calculation on features of different scales, and the improved correlation measurement formula is: Where N represents the total number of scales; w L represents the weight of the Lth scale; p i =(r i ,c i ) T represents the point set on the template image; n represents the number of points; d i =(t i ,u i ) T represents the direction vector associated with each point; e r,c =(x r,c ,y r,c ) represents the direction vector of each point q=(r,c) in the image to be matched; p i ′ and d i ′ represents the point and the direction vector of the point in the template image after affine transformation; finally, the matching result obtained by the template matching method is linearly fitted using the least squares method, and the first straightening angle is obtained according to the slope of the fitting line.

8. A semiconductor wafer position detection method according to claim 7, characterized in that: The least squares linear fitting method includes: grouping all matching results, and dividing the points close to the same straight line into one group; using the least squares method to fit each group of coordinates (X1, Y1, X2, Y2, ..., X n ,Y n ) is used for linear fitting, assuming that the linear equation is y=a0+a1x; the slope a1 is solved by the least squares method using the following formula: A plurality of angles are calculated according to the slopes of a plurality of straight lines, and an average value of the angles is used as the first straightening angle of the semiconductor wafer position.

9. A semiconductor wafer position detection method according to claim 6, characterized in that: The second detection unit uses an improved Hough transform algorithm to detect the straight line intersection area, and the improved Hough transform algorithm includes: using median filtering to preprocess the first high-magnification wafer image and the second high-magnification wafer image respectively; using the Canny operator to extract the edge of the image preprocessed by the median filter to obtain a pixel-level edge image; using sub-pixel edge extraction technology to subdivide the edge image again to obtain sub-pixel edges and map the sub-pixel edge points to the Hough space; by adjusting the angular resolution AngleResolution to optimize the representation of the Hough space, find the local maximum value in the Hough space to obtain the edge straight line; according to the direction of the straight line and the size of the straight line intersection area, screen out the straight line that meets the conditions, and the direction Oriention of the straight line meets the conditions: -2°<Oriention<2° or 88°<Oriention<92°; The size (Width, Height) of the straight line intersection area satisfies the following conditions: Wherein, W and H represent the number of pixels of width and height corresponding to the actual channel intersection area, respectively; the center coordinates (r1, c1) and (r2, c2) of the intersection area in the first high-magnification wafer image and the second high-magnification wafer image are extracted respectively by the improved Hough transform algorithm, the center points of the two center areas are connected into a straight line, and the second swing angle α is calculated according to the slope k of the straight line, and the formula is: Wherein, D represents the corresponding pixel value converted from the distance between the two center areas according to the calibration ratio.

10. The method for detecting the position of a semiconductor wafer according to claim 6, characterized in that: The feedback control module is used to realize the communication between the software system and the motion control system, receive the first swing angle and the second swing angle, and automatically perform preliminary adjustment and precise adjustment on the position of the semiconductor wafer.

Citation Information

Patent Citations

  • Semiconductor wafer position detection device, detection method and detection system

    CN116504666A

  • Wafer detection equipment, method and device, electronic equipment and storage medium

    CN118032754A

Cited By

  • 3D optical imaging system and method

    CN119673823A

  • A 3D optical imaging system and method

    CN119673823B

  • Wafer alignment method and system based on searching of right-angle side of wafer

    CN119764234A

  • Wafer alignment method and system based on finding wafer right-angle edges

    CN119764234B