Wafer image scanning method, device, terminal equipment and readable storage medium

By obtaining feedforward and feedback parameters, it predicts and compensates for errors in wafer image inspection equipment, solving the problems of image misalignment and low scanning accuracy in the existing technology, and achieving high-precision and simplified operation of wafer image scanning.

CN118610114BActive Publication Date: 2024-10-22SHENZHEN SICARRIER IND MACHINES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411065657.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-22
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

In the existing technology, during wafer image inspection, due to equipment vibration and environmental interference, the image is misaligned, stretched, and compressed, and cannot accurately reflect the true pattern of the wafer. Moreover, the existing method is complex to operate and cannot compensate for scanning errors in real time, resulting in low scanning accuracy.

Method used

By obtaining feedforward parameters and feedback parameters, the scanning error is predicted and compensated in advance based on historical image processing data, and the motion control parameters of the motion stage, image acquisition equipment and lenses are adjusted to improve scanning accuracy.

Benefits of technology

It improves the accuracy and applicability of wafer image scanning, simplifies the operation process, can correct errors in the scanning process in real time, and improves image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118610114B_ABST
    Figure CN118610114B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a wafer image scanning method, apparatus, terminal device and readable storage medium, the method comprising: obtaining a feedforward parameter; obtaining a feedback parameter; obtaining a control parameter for wafer scanning based on the feedforward parameter and the feedback parameter; controlling the wafer image scanning device to scan the wafer to obtain a first wafer image based on the control parameter, the first wafer image belonging to a first wafer image set; wherein the feedforward parameter is obtained from image processing data of at least one wafer image in a second wafer image set, and the feedback parameter is obtained from image processing data of at least one second wafer image in the first wafer image set; the scanning timing of any wafer image in the second wafer image set is before the scanning timing of any wafer image in the first wafer image set, and the scanning timing of the second wafer image is before the scanning timing of the first wafer image, the wafer image has high scanning accuracy, simple operation and strong applicability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of semiconductor technology, and in particular to a wafer image scanning method, apparatus, terminal device and readable storage medium. Background Art

[0002] In the semiconductor production process, dozens or even hundreds of processes are required from wafer to finished semiconductor product. Semiconductor inspection technology is crucial to controlling product reliability and yield. Wafer images can be detected by wafer inspection equipment. During the wafer image inspection process, due to factors such as vibration of moving components in the inspection equipment and interference from the external environment, the wafer images obtained based on the inspection equipment often appear misaligned, stretched, compressed, etc., and cannot accurately reflect the true pattern of the wafer. Therefore, in order to obtain a true wafer image, it is necessary to compensate for the scanning error of the inspection equipment and improve the scanning strategy to improve the wafer image quality.

[0003] In the detection of wafer images, the prior art marks characteristic points on the edge of the wafer or marks three-dimensional characteristic points, performs alignment based on the characteristic points, and then scans the wafer image. During the scanning process, the line frequency of the image acquisition device is adjusted according to the vertical and horizontal errors and speed. However, this method is complicated to operate, and the errors generated during the wafer scanning process cannot be compensated in real time during the operation. The scanning error of the detection equipment will affect the scanning accuracy, the scanning accuracy of the wafer image is low, and the applicability is poor. Summary of the invention

[0004] The present application provides a wafer image scanning method, device, terminal equipment and readable storage medium, which can improve the scanning accuracy of wafer images, simplify the scanning operation of wafer images, and have strong applicability.

[0005] In a first aspect, an embodiment of the present application provides a wafer image scanning method, the method comprising: obtaining a feedforward parameter; obtaining a feedback parameter; obtaining a control parameter for wafer scanning based on the feedforward parameter and the feedback parameter; controlling a wafer image scanning device to scan a wafer to obtain a first wafer image based on the control parameter, the first wafer image belonging to a first wafer image set; wherein the feedforward parameter is obtained from image processing data of at least one wafer image in a second wafer image set, and the feedback parameter is obtained from image processing data of at least one second wafer image in the first wafer image set; the scanning timing of any wafer image in the second wafer image set is before the scanning timing of any wafer image in the first wafer image set, and the scanning timing of the second wafer image is before the scanning timing of the first wafer image. In the present application, feedforward parameters and feedback parameters are obtained based on image processing data of historical wafer images before scanning the wafer, and control parameters for controlling the wafer image scanning equipment are obtained based on the feedforward parameters and feedback parameters. By scanning the wafer through the control parameters, errors that may occur during the wafer scanning process can be predicted and compensated in advance, thereby improving the scanning accuracy of the wafer image. The operation is simple and the applicability is strong.

[0006] In a possible implementation of the first aspect, the wafer image scanning device includes a moving stage, a lens, and an image acquisition device; the wafer image scanning device is controlled based on the control parameters to scan the wafer to acquire a first wafer image, including: sending a motion control instruction to the moving stage based on the control parameters, triggering the moving stage to move based on a target scanning route based on the motion control instruction, so that the wafer loaded on the moving stage moves along with the moving stage; triggering the image acquisition device and the lens to scan the wafer moving based on the target scanning route based on the control parameters to acquire a first wafer image. In the present application, the moving stage can be triggered according to the control parameters to drive the wafer loaded on the moving stage to move based on the target scanning route, and the image acquisition device and the lens can be triggered to acquire the first wafer image. Therefore, the errors generated by the moving stage, the image acquisition device, and the lens in the process of scanning the wafer can be corrected in real time by adjusting the control parameters, so that the scanning accuracy of the wafer image can be improved, and the applicability is strong.

[0007] In a possible implementation of the first aspect, the first wafer image set includes a plurality of wafer images in the i-th row obtained by scanning the moving wafer line by line with the image acquisition device and the lens; the second wafer image set includes a plurality of wafer images in the i-1th row obtained by scanning the moving wafer line by line with the image acquisition device and the lens, wherein i is an integer greater than or equal to 2; the acquisition of the feedforward parameters includes: acquiring the image position deviation between feature points in the multiple wafer images in the i-1th row, and acquiring the feedforward parameters based on the image position deviation. In the present application, the feedforward parameters for acquiring the first wafer image can be obtained by the image position deviation between feature points in the multiple wafer images in the i-1th row, and the control parameters can be adjusted by the feedforward parameters to correct the error, so the obtained image position deviation can be used to improve the accuracy of subsequent wafer scanning.

[0008] In a possible implementation of the first aspect, the first wafer image set includes a plurality of wafer images sorted according to a scanning sequence, the first wafer image is the Nth wafer image in the first wafer image set; the second wafer image is the N-1th wafer image and the N-2th wafer image in the first wafer image set; N is an integer greater than or equal to 3; the feedback parameter acquisition includes: acquiring the image position deviation between the feature point in the N-1th wafer image and the feature point in the N-2th wafer image; acquiring the feedback parameter based on the image position deviation. In the present application, the feedback parameter for acquiring the first wafer image can be obtained by the image position deviation between the feature points in the N-1th wafer image and the N-2th wafer image, and the control parameter is adjusted by the feedback parameter to correct the error, so the obtained image position deviation can be used to improve the accuracy of subsequent wafer scanning.

[0009] In a possible implementation of the first aspect, the image position deviation between the feature point in the N-1th wafer image and the feature point in the N-2th wafer image is obtained, including: obtaining the horizontal coordinate and the vertical coordinate of the feature point in the N-1th wafer image and the N-2th wafer image, and obtaining the image position deviation between the feature point in the N-1th wafer image and the N-2th wafer image based on the horizontal coordinate and the vertical coordinate. In the present application, the feedforward parameter and the feedback parameter can be obtained through the image position deviation between the feature point in the N-1th wafer image and the N-2th wafer image, and then the control parameter can be generated to correct the error generated in the process of scanning the wafer, so that the obtained wafer image has high quality and strong applicability.

[0010] In a possible implementation of the first aspect, the control parameters include motion control parameters of the moving stage; the control parameters for wafer scanning obtained based on the feedforward parameters and the feedback parameters include: correcting the planned reference values ​​of the motion control parameters of the moving stage based on the feedforward parameters and the feedback parameters to generate target motion control parameters of the moving stage; sending motion control instructions to the moving stage based on the control parameters, and triggering the moving stage to move based on a target scanning route based on the motion control instructions include: generating motion control instructions based on the target motion control parameters, and triggering the moving stage to correct the motion error of the moving stage and the position deviation of the wafer based on the motion control instructions to move based on the target scanning route. In the present application, the motion control instructions can be generated by the target motion control parameters to trigger the moving stage to correct the scanning error and the position deviation of the wafer, thereby improving the quality of the obtained wafer image, and having strong applicability.

[0011] In a possible implementation of the first aspect, the motion control instruction is used to trigger the motion stage to correct the motion error of the motion stage and the position deviation of the wafer, including: triggering the motion stage to adjust the position of the wafer based on the motion control instruction to correct the position deviation of the wafer; triggering the motion stage to adjust the motion speed based on the motion control instruction so that the motion speed of the motion stage matches the line frequency of the image acquisition device to correct the motion error of the motion stage. In the present application, the motion control instruction can be used to trigger the motion stage to adjust the wafer position and the motion speed of the motion stage, thereby correcting the scanning error and the position deviation of the wafer, thereby improving the quality of the obtained wafer image, and having strong applicability.

[0012] In a possible implementation of the first aspect, the control parameters include the line frequency adjustment parameters of the image acquisition device; the control parameters for wafer scanning obtained based on the feedforward parameters and the feedback parameters include: correcting the planned reference value of the line frequency adjustment parameters of the image acquisition device based on the feedforward parameters and the feedback parameters to generate the target line frequency adjustment parameters of the image acquisition device; triggering the image acquisition device and the lens to scan the wafer moving based on the target scanning route based on the control parameters includes: generating a line frequency adjustment instruction based on the target line frequency adjustment parameter, triggering the image acquisition device to correct the line frequency based on the line frequency adjustment instruction so that the line frequency matches the movement speed of the moving stage to correct the scanning error; and scanning the wafer moving based on the target scanning route by the image acquisition device based on the corrected line frequency and the lens. In the present application, the line frequency adjustment instruction generated by the target line frequency adjustment parameter can be used to trigger the image acquisition device to adjust the line frequency, thereby correcting the scanning error, thereby improving the scanning accuracy of the image acquisition device and improving the quality of the obtained wafer image, and the applicability is strong.

[0013] In a possible implementation of the first aspect, the control parameters include lens adjustment parameters of the lens; the control parameters for wafer scanning obtained based on the feedforward parameters and the feedback parameters include: correcting the planned reference value of the lens adjustment parameters of the lens based on the feedforward parameters and the feedback parameters to generate the target lens adjustment parameters of the lens; the triggering of the image acquisition device and the lens to scan the wafer moving based on the target scanning route based on the control parameters includes: generating a lens adjustment instruction based on the target lens adjustment parameter, adjusting the angle and position of the lens based on the lens adjustment instruction to correct the lens displacement error when the image acquisition device acquires the wafer image through the lens, and triggering the image acquisition device to scan the wafer moving based on the target scanning route based on the lens after correcting the lens displacement error. In the present application, the lens adjustment instruction can be generated by the target lens adjustment parameter to adjust the angle and position of the lens, and then the lens displacement error of the lens can be corrected, so the quality of the obtained wafer image can be improved, and the applicability is strong.

[0014] In a second aspect, an embodiment of the present application provides a wafer image scanning device, which includes a module or unit for executing a wafer image scanning method provided in the first aspect or any possible implementation manner of the first aspect.

[0015] Exemplarily, the device comprises:

[0016] A first acquisition module is used to acquire feedforward parameters; a second acquisition module is used to acquire feedback parameters; a third acquisition module is used to obtain control parameters for wafer scanning based on the above feedforward parameters and the above feedback parameters; a control module is used to control a wafer image scanning device to scan a wafer to acquire a first wafer image based on the above control parameters, and the above first wafer image belongs to a first wafer image set; wherein the above feedforward parameters are obtained from image processing data of at least one wafer image in the second wafer image set, and the above feedback parameters are obtained from image processing data of at least one second wafer image in the first wafer image set; the scanning timing of any wafer image in the second wafer image set is before the scanning timing of any wafer image in the first wafer image set, and the scanning timing of the second wafer image is before the scanning timing of the first wafer image.

[0017] In a third aspect, an embodiment of the present application provides a terminal device, comprising: a processor and a memory; the processor is connected to the memory, wherein the memory is used to store program code, and the processor is used to call the program code to execute the wafer image scanning method provided in the first aspect or any possible implementation method of the first aspect.

[0018] In a fourth aspect, an embodiment of the present application provides a wafer image scanning system, comprising: a moving stage, an image acquisition device, a lens, a terminal device as provided in the fifth aspect, and a terminal device as provided in the sixth aspect; wherein the moving stage is used to load wafers, the image acquisition device is used to acquire wafer images, and the lens is used to adjust the angle and position of the image acquisition device to acquire the wafer image.

[0019] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is suitable for being loaded by a processor and executing the wafer image scanning method provided by the first aspect or any possible implementation method of the first aspect.

[0020] In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product comprises computer instructions, and the computer instructions are suitable for being loaded by a processor and executing the wafer image scanning method provided by the first aspect or any possible implementation scheme of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a schematic diagram of the architecture of a wafer image scanning system provided in an embodiment of the present application;

[0022] Figure 2 It is a schematic diagram of a process of a wafer image scanning method provided by an embodiment of the present application;

[0023] Figure 3 is a schematic diagram of a target scanning route of a wafer provided in an embodiment of the present application;

[0024] Figure 4 is a schematic diagram of a control flow of a terminal device provided in an embodiment of the present application;

[0025] Figure 5 is another flow chart of the wafer image scanning method provided by an embodiment of the present application;

[0026] Figure 6 is a schematic structural diagram of a wafer image scanning device provided in an embodiment of the present application;

[0027] Figure 7 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0029] To facilitate understanding, some nouns are briefly explained as follows:

[0030] 1. Wafer map is a graph generated by combining the test results of different electrical functions in the final stage of production with the shape of the wafer. Wafer map is based on the die, and the test results are marked at the position of each die with different colors, shapes or codes. The spatial distribution of the wafer map and its model analysis can be used to find out the possible reasons for low yield.

[0031] 2. Wafer alignment is a key process step to ensure that the marks on the wafer are aligned with the marks on other components (such as masks or other wafers), which can be completed using equipment such as wafer bonding aligners.

[0032] 3. Feature points, also called ideal feature points or target feature points, can be marking patterns used for alignment, or the upper left corner of a die, and need to have unique features that are easily identifiable. They can be selected from feature points used for wafer alignment, or obtained through artificial intelligence annotation in a wafer map.

[0033] 4. Line frequency, also known as line scanning frequency or horizontal scanning frequency of the screen, is measured in Hertz (Hz). Line frequency refers to the number of image lines that a camera can scan per second. In industrial cameras, it refers to the number of image frames or scanning lines that its image sensor can capture per second, which can affect imaging speed and imaging quality.

[0034] 5. The planning benchmark value is a predetermined target or set value, which is the state or value that the control system attempts to achieve.

[0035] 6. Feedforward parameters are parameters set based on the prediction model. They can directly adjust the control input according to the expected changes in order to quickly approach the planned reference value. Feedforward parameters act on the system predictively and can be used to adjust the system before actual detection in the hope of reducing system errors. Feedforward control is direct and can respond quickly, but it relies on an accurate prediction model. If the feedforward control is accurate enough, feedback control may not be needed, but since the system may change, feedback control can improve stability.

[0036] 7. The feedback parameter, also known as the feedback PID value, is adjusted based on the actual performance of the system output. It is adjusted by comparing the difference (i.e., error) between the expected output and the actual output. The PID controller consists of three parts: Proportion, Integration, and Differentiation. It can adjust the error in real time by amplifying, integrating, and differentiating the feedback error, thus achieving real-time adjustment of the image. Feedback PID control can correct deviations. By properly designing and adjusting these parameters, the stability and accuracy of the system can be ensured.

[0037] The wafer image scanning method provided in the embodiment of the present application can be applied to wafer image scanning scenarios during wafer production, wafer image scanning scenarios during wafer processing, etc., and can predict subsequent errors based on the acquired scanning data during the wafer image scanning process, and adjust the target scanning route of the motion stage, the line frequency of the image acquisition device, the angle of the lens, etc. based on the above errors. Therefore, the scanning accuracy of the wafer image obtained by the wafer image scanning method is high and the applicability is strong. For ease of description, the embodiment of the present application is explained by taking the wafer image scanning scenario during wafer processing as an example.

[0038] For ease of understanding, this application first describes the architecture of a wafer image scanning system, and the above-mentioned wafer image scanning method can be used in the wafer image scanning system. Figure 1 , Figure 1 Schematic diagram of the structure of the wafer image scanning system provided by the embodiment of the present application. Figure 1As shown, the wafer image scanning system may include a motion stage 1a, an image acquisition device 1b, a lens 1c, and a terminal device 1d. The terminal device 1d may be used to interact with the motion stage 1a, the image acquisition device 1b, and the lens 1c, and may be a tablet, a computer, or other device for storing and calling program codes to execute the wafer image scanning method. Optionally, the terminal device 1d may include a processor 1e and a controller 1f, wherein the processor 1e may be a host computer or other device for receiving and processing wafer images, and the controller 1f may be a motion controller or other types of controllers, and the present application does not limit this. Optionally, the processor 1e and the controller 1f may also be integrated into a functional module, such as a central processing function module in a motion controller, to implement the functions implemented by the processor 1e and the controller 1f, which may be determined according to the specific form of the product, and is not limited here. For example, the wafer image scanning system may include a motion stage 1a, an image acquisition device 1b, a lens 1c, and a terminal device 1d, and the terminal device 1d has a built-in microprocessor, which is used to execute the implementation method executed by the processor 1e. For ease of description, the embodiment of the present application is described by taking the host computer as the processor 1e and the motion controller as the controller 1f as an example.

[0039] The motion table 1a can be an X / Y / Theta axis motion table, or other motion tables that can load wafers. This application does not limit this, and only uses the X / Y / Theta axis motion table as an example for explanation. It can be understood that the motion table 1a can move on the X-axis, Y-axis and Theta-axis, which correspond to lateral movement, longitudinal movement and rotation angle movement respectively. The motion table 1a can be used to load wafers and adjust the wafer position through movement. In the embodiment of this application, only the X-axis and Y-axis of the motion table 1a are explained, so Figure 1Theta axis is not shown. In some feasible embodiments, the terminal device 1d can perform a wafer alignment operation on the wafer loaded on the moving table 1a, wherein the wafer alignment operation can be performed by a device such as a wafer bonding alignment machine, and the present application does not limit the device that performs the wafer alignment operation. The above-mentioned image acquisition device 1b can be a device such as a line scan camera that can acquire wafer images. The present application does not limit this, and only takes the line scan camera as an example for explanation. The above-mentioned lens 1c can be a reflector that feeds back the position of the wafer, and the above-mentioned image acquisition device 1b can obtain the image of the wafer by scanning the lens 1c, wherein the lateral and longitudinal misalignment of the wafer image can be adjusted by adjusting the angle and position of the lens 1c. The above-mentioned host computer can be a device for processing images and data, and the present application does not limit this. The host computer may include devices such as a memory and an actuator, wherein the memory may store programs, wafer images obtained from the image acquisition device 1b, data obtained after processing by the actuator, etc.; the actuator may process the wafer image through the program stored in the memory, may receive the wafer image, identify the position deviation according to the image, calculate the feedforward parameter, feedback parameter, control parameter and other data through the position deviation, and then eliminate the error of the wafer. The host computer may also send data to the motion controller, such as the target motion control parameter for controlling the motion of the motion stage, the target line frequency adjustment parameter for adjusting the line frequency of the camera, the target lens adjustment parameter for adjusting the lens, etc. The motion controller may be a motion controller or other device that can be used to control the motion or adjustment of the motion stage 1a, the image acquisition device 1b, and the lens 1c, and this application does not limit this. The motion controller may receive the data sent by the host computer, and send instructions to the motion stage 1a, the image acquisition device 1b or the lens 1c according to the data, and the instructions include but are not limited to the motion control instructions of the motion stage 1a, the line frequency adjustment instructions of the image acquisition device 1b, the lens adjustment instructions of the lens 1c, etc. The above-mentioned motion control instructions can trigger the motion stage 1a to adjust the motion speed, target scanning route or adjust the position of the wafer loaded on the motion stage according to the motion control instructions, thereby correcting the motion error of the motion stage; the above-mentioned line frequency correction instructions can trigger the image acquisition device 1b to correct the line frequency according to the line frequency correction instructions so that the line frequency matches the motion speed of the motion stage, thereby correcting the scanning error of the image acquisition device. The above-mentioned scanning error can be errors such as stretching, compression or deformation of the wafer image; the above-mentioned lens adjustment instructions can trigger the lens 1c to adjust the position and angle of the lens 1c according to the lens adjustment instructions, thereby correcting the lens displacement error of the lens.

[0040] To facilitate understanding of the application of the wafer image scanning method provided in the present application in the above-mentioned wafer image scanning system, the embodiment of the present application is described with the terminal device 1d as the executor of the wafer image scanning method. The above-mentioned terminal device 1d can be a device integrating functional modules such as a processor 1e (which can be a host computer), a controller 1f (which can be a motion controller), and a memory (not shown in the figure).

[0041] In some feasible embodiments, the wafer can be loaded on the moving stage 1a in the wafer image scanning system, the moving stage 1a can also be connected to the lens 1c, the image acquisition device 1b can be connected to the host computer, the host computer can be connected to the motion controller, and the motion controller can be connected to the host computer, the moving stage 1a, the image acquisition device 1b and the lens 1c. In some feasible embodiments, the motion controller in the terminal device 1d can send a motion control instruction to the moving stage 1a to trigger the moving stage 1a to drive the wafer loaded on the moving stage 1a to move according to the target scanning route and the movement speed of the moving stage 1a, and trigger the image acquisition device 1b to scan the moving wafer through the lens 1c to obtain the wafer image and transmit it to the host computer in the terminal device 1d. The terminal device 1d can also obtain the feedforward parameters obtained from the scanned wafer image, and the feedforward parameters are used to scan the wafer to obtain the first wafer image. It should be noted that the first wafer image belongs to the first wafer image set. In this application, the first wafer image can also be referred to as the target wafer image. The above-mentioned feedforward parameters can be obtained from at least one wafer image in the second wafer image set. The scanning timing of any wafer image in the above-mentioned second wafer image set is before the scanning timing of any wafer image in the first wafer image set, that is, any wafer image in the second wafer image set is a wafer image that has been scanned before scanning the above-mentioned wafer.

[0042] In some feasible implementations, the terminal device 1d may also obtain feedback parameters, which are used to scan the wafer to obtain the target wafer image. It should be noted that the feedback parameters are obtained from at least one second wafer image in the first wafer image set, and the scanning timing of the second wafer image is before the scanning timing of the first wafer image (i.e., the target wafer image), that is, the second wafer image is a wafer image that has been scanned before scanning the wafer corresponding to the target wafer image.

[0043] In some feasible implementations, the terminal device 1d can obtain a planning reference value for scanning a wafer to obtain a target wafer image, and the planning reference value can be automatically generated in real time by the machine based on image processing data of historical wafer images. Optionally, the planning reference value can be configured in a memory in the terminal device 1d, for example, a fixed initial value of the planning reference value is stored in the memory and directly called by the terminal device 1d. It can be understood that the planning reference value can be determined according to actual application scenarios such as wafer production, and the present application does not limit the specific value of the planning reference value. Furthermore, the terminal device 1d can calculate based on the planning reference value, feedforward parameters and feedback parameters to obtain the control parameters.

[0044] In some feasible implementations, the control parameters may include any one or more of motion control parameters, lens adjustment parameters, or line frequency adjustment parameters. After correction of the feedforward parameters and feedback parameters, any one or more of the target motion control parameters, target lens adjustment parameters, or target line frequency adjustment parameters may be obtained. The terminal device 1d may generate control instructions based on the control parameters, and then control the motion stage 1a, the lens 1c, and the image acquisition device 1b to scan the wafer to acquire the target wafer image. Optionally, the terminal device 1d may also generate other types of parameters based on the feedforward parameters and feedback parameters, such as parameters that may control the wafer, lens 1c, motion stage 1a, image acquisition device 1b to perform other operations, or parameters that may control other devices used for wafer scanning. This application does not limit this, and only takes motion control parameters, lens adjustment parameters, and line frequency adjustment parameters as examples for illustration.

[0045] In some feasible implementations, the terminal device 1d may generate a motion control instruction based on the target motion control parameters in the above control parameters, triggering the motion stage 1a to adjust the motion speed and the target scanning route, or adjusting the position of the wafer loaded on the motion stage 1a. Optionally, the terminal device 1d generates a line frequency adjustment instruction based on the target line frequency adjustment parameters in the above control parameters, triggering the image acquisition device 1b to adjust the line frequency. Optionally, the terminal device 1d generates a lens adjustment instruction based on the target lens adjustment parameters in the above control parameters, triggering the lens 1c to adjust the angle and position. It can be understood that any one or more of the motion control parameters of the motion stage, the line frequency adjustment parameters of the image acquisition device, or the lens adjustment parameters of the lens can be adjusted based on the feedback parameters and the feedforward parameters. For example, if the terminal device 1d adjusts the motion control parameters alone, the line frequency adjustment parameters and the lens adjustment parameters can be default values ​​or generated based on basic working data such as planned benchmark values.

[0046] It should be noted that the terminal device 1d can scan the moving wafer controlled by the motion stage line by line through the image acquisition device and the lens to obtain at least one wafer image of each row in the wafer. Among them, each row of wafer images can be used as a wafer image set, or a certain number of wafer images can be used as a wafer image set according to the scanning timing (for example, every 10 wafer images are a set). This application is not limited to this, and only each row of wafer images is a wafer image set as an example for explanation. In some feasible implementations, multiple wafer images in the i-th row can be used as the first wafer image set, and multiple wafer images in the i-1th row can be used as the second wafer image set. Among them, i is an integer greater than or equal to 2. Among them, any wafer image set includes multiple wafer images sorted according to the scanning timing. Taking the first wafer image set as an example, the Nth wafer image sorted according to the scanning timing in the first wafer image set can be determined as the first wafer image, and the N-1th and N-2th wafer images can be determined as the second wafer image. Wherein, N is an integer greater than or equal to 3.

[0047] In some feasible implementations, the terminal device 1d obtains the image position deviation between the feature points in the plurality of wafer images in the i-1th row, and then obtains the feedforward parameters for obtaining the target wafer image based on the image position deviation between the feature points. For example, the motion controller in the terminal device 1d first obtains the image position deviation between the feature points of the at least one second wafer image from the host computer in the terminal device 1d, and then obtains the feedback parameters for scanning the wafer to obtain the first wafer image based on the image position deviation.

[0048] In some feasible implementations, the above-mentioned image position deviation can be obtained by the host computer in the terminal device 1d processing the received wafer image sent by the image acquisition device 1b. For example, the host computer can obtain the coordinates (including horizontal and vertical coordinates) of the feature points in the N-1th wafer image and the N-2th wafer image. Among them, the feature points can be determined by artificial intelligence or by other means, and the present application does not limit this. Then, the host computer can calculate the difference between the coordinates of the feature points of the N-1th wafer image and the N-2th wafer image based on the horizontal and vertical coordinates of the above-mentioned feature points, and obtain the image position deviation between the feature points in the above-mentioned at least one second wafer image. It can be understood that the above-mentioned image position deviation includes a lateral deviation obtained by the horizontal coordinate difference, and a longitudinal deviation obtained by the vertical coordinate difference.

[0049] By adopting the wafer image scanning method provided by the present application, the feedforward parameters and feedback parameters can be obtained based on the image processing data of the historical wafer images before scanning the wafer, so as to obtain the control parameters for controlling the wafer image scanning device based on the feedforward parameters and feedback parameters. By performing wafer scanning through the control parameters, the errors that may occur during the wafer scanning process can be predicted and compensated in advance, thereby improving the scanning accuracy of the wafer image, and the operation is simple and the applicability is strong. Figure 2 , Figure 2 It is a flow chart of a wafer image scanning method provided in an embodiment of the present application. Figure 2 The wafer image scanning method shown is applicable to Figure 1 For the convenience of description, the wafer image scanning system shown in the present application is described with the terminal device as the execution subject, and the terminal device can realize the function of the motion controller. Figure 2 As shown, the wafer image scanning method may include the following steps:

[0050] Step S101, obtaining feedforward parameters.

[0051] In some feasible implementations, the terminal device can obtain feedforward parameters for scanning the wafer to obtain a target wafer image. The feedforward parameters are error compensation parameters obtained based on image processing data of a wafer image that has been scanned or a historical wafer image, and are used to compensate for various types of errors that may occur during the scanning process, such as scanning errors, motion errors, and lens displacement errors, before scanning the next or next group of wafer chips, thereby reducing errors and the time required to compensate for errors. In an embodiment of the present application, the feedforward parameters are obtained from image processing data of at least one wafer image in the second wafer image set; the target wafer image is the wafer image to be scanned, that is, the first wafer image in the first image set.

[0052] Optionally, the first image set may be a set of multiple wafer images, for example, it may be a wafer image of a row of wafer chips, or it may be a wafer image of a column of wafer chips, or it may be a set of multiple wafer images obtained by other selection methods. The present application does not limit this, and takes a row of wafer images of wafer chips as an image set as an example for explanation. It is understandable that the target wafer image may include one or more wafer images, that is, multiple wafer images may be obtained by one scan. Multiple rows of wafer images can be obtained by scanning the wafer, and each row may contain multiple wafer images. For example, 5 rows of wafer images can be obtained, each row has 5 wafer images, and the third wafer image of the second row sorted by scanning timing is used as the target wafer image for explanation.

[0053] It is understandable that the scanning timing of any wafer image in the above-mentioned second wafer image set is before the scanning timing of any wafer image in the first wafer image set. For example: if the image acquisition device scans rows from top to bottom, the first wafer image set is the image of the second row of wafers sorted by the scanning timing, and the second wafer image set is the image of the first row of wafers. Optionally, the image acquisition device can also scan from bottom to top, in which case the second wafer image set can be the image of the first row of wafers from bottom to top, and this application does not impose any restrictions on this.

[0054] In some feasible implementations, the first wafer image set may include a plurality of wafer images of the i-th row obtained by scanning the moving wafer line by line through an image acquisition device (such as a camera) and a lens based on the line frequency of the image acquisition device and the target scanning route. The target scanning route may be a scanning route of the image acquisition device set according to the actual application scenario, such as a motion route of scanning from top to bottom or from left to right. This application does not limit this, and only takes the method of scanning line by line from top to bottom as an example for explanation. For ease of understanding, please refer to Figure 3 , Figure 3 Schematic diagram of the target scanning route of the wafer provided in the embodiment of the present application. Figure 3 As shown, taking the case where the image acquisition device is stationary and the wafer is moving as an example, the terminal device can trigger the image acquisition device to scan from the first wafer chip in the upper left corner of the wafer through the above-mentioned lens, and scan the second and third wafer chips in the first row in turn. After scanning the last chip in the first row, the second and first wafer chips can be scanned again according to the target scanning route, that is, a row of wafer chips can be scanned twice. After the scanning of the wafer chips in the first row is completed, the terminal device can control the image acquisition device to scan the wafer chips in the second row, and so on, which will not be repeated. It should be noted that the number of wafer chips included in each row of the above-mentioned wafer can also be determined according to actual application scenarios such as wafer production, and can be one or more. The number of scans for each wafer chip can also be one or more. This application does not limit this, and only takes scanning a wafer chip twice as an example for explanation. For ease of description, as Figure 3 The wafer and target scanning route shown are not all shown, and only a part of the target scanning route of the wafer is taken as an example for explanation.

[0055] In some feasible embodiments, the terminal device may trigger the motion stage to move according to the above-mentioned target scanning route, so that the image acquisition device scans the wafer according to the set line frequency. Taking line-by-line scanning as an example, the first wafer image set may be a plurality of wafer images in the i-th row. Wherein, i is an integer greater than or equal to 2. Optionally, the second wafer image set may include a group of wafer images whose scanning timing is before the above-mentioned first wafer image set. Taking line-by-line scanning as an example, the second wafer image set is a set of multiple wafer images in the i-1th row. The above-mentioned terminal device can obtain the image position deviation between the feature points in the multiple wafer images in the i-1th row, and then obtain the feedforward parameters for obtaining the target wafer image based on the above-mentioned image position deviation. For example, the terminal device can generate feedback parameters for obtaining the third wafer image based on the image position deviation between the first wafer image and the second wafer image in the first row, and then generate feedback parameters for obtaining the fourth wafer image based on the image position deviation between the second wafer image and the third wafer image, and so on, until the image position deviation between the last wafer image and the second to last wafer image in the same row is obtained, and the obtained feedback parameters can be used as the feedforward parameters of the first wafer image in the second row. Alternatively, the above-mentioned feedforward parameters can be obtained by other calculation methods, such as using the average value of multiple feedback parameters obtained through each wafer image in the first row as the feedforward parameter for obtaining the wafer image in the second row. The specific method should be determined according to the actual application scenario, and this application does not limit this. Optionally, the feedback parameters or feedforward parameters can be updated at regular intervals. For example, after obtaining multiple feedforward parameters or feedback parameters, new feedforward parameters or feedback parameters are calculated by taking the average value, and then the feedforward parameters or feedback parameters are applied to the wafer image scanning process; the feedback parameters or feedforward parameters applied to the wafer image scanning system can also be updated every time a new feedback parameter or feedforward parameter is obtained, and the present application does not impose any restrictions on this.

[0056] Step S102, obtaining feedback parameters.

[0057] In some possible implementations, the terminal device may periodically obtain feedback parameters for scanning a wafer to obtain a first wafer image, for example, each time a wafer image is scanned, the feedback parameters for obtaining the next wafer image are updated once, or the feedback parameters may be updated once each time a certain number of wafer images are scanned, and the present application does not impose any restrictions on this. The above feedback parameters are obtained from image processing data of at least one second wafer image in the first wafer image set, and the scanning timing of the above second wafer image is before the scanning timing of the above first wafer image.

[0058] Optionally, the feedback parameters can be obtained from image processing data of a second wafer image whose scanning sequence precedes the first wafer image, for example, through an image position deviation between a second wafer image and an ideal wafer image, and the ideal wafer image can be a desired wafer image sample stored in the terminal device.

[0059] Optionally, the feedback parameter may also be obtained from image processing data of two or more second wafer images whose scanning sequence precedes the first wafer image, for example, by image position deviations of the two or more second wafer images. For example, the first wafer image set may include the first wafer image, and if the first wafer image is the Nth wafer image in the first wafer image set sorted by scanning sequence, the second wafer image whose scanning sequence precedes the first wafer image may include the N-1th wafer image and the N-2th wafer image in the first wafer image set, where N is a positive integer greater than or equal to 3.

[0060] In some feasible embodiments, the terminal device may receive a wafer image acquired by an image acquisition device, and the wafer image may include a first wafer image, a second wafer image, etc., and then the wafer image may be processed. For example, the terminal device may acquire an image position deviation based on the wafer image, and the image position deviation may include a longitudinal deviation (the longitudinal deviation may also be referred to as a Y-direction deviation or a Y-direction misalignment) and a lateral deviation (the lateral deviation may also be referred to as an X-direction deviation or an X-direction misalignment). In some feasible embodiments, the terminal device may acquire the horizontal coordinate and the vertical coordinate of the feature point in the second wafer image, and obtain the image position deviation between the feature points of at least two second wafer images based on the horizontal coordinate and the vertical coordinate of the feature point. It should be noted that the scanning timing of the second wafer image is before the scanning timing of the first wafer image. For example, the first wafer image may be a wafer image of the third wafer chip in the first row sorted by the scanning timing, and the second wafer image may be a wafer image of the first wafer chip in the first row and a wafer image of the second wafer chip in the first row.

[0061] Optionally, the above-mentioned image position deviation can be obtained from the coordinate deviation between the coordinates of the feature points. For example, one or more points in the wafer chip are determined as feature points and the coordinates of the above-mentioned feature points in the wafer image are obtained. According to the deviation between the coordinates of the feature points in different wafer images, the image position deviation is calculated, that is, the image position deviation of the wafer image can be obtained from the coordinate deviation of the feature points. Optionally, the above-mentioned image position deviation can also be obtained by directly identifying the wafer image through artificial intelligence or software, etc. This application does not limit this, and only takes the feature points as an example for explanation.

[0062] For example, the terminal device may first obtain the image position deviation between the feature point in the N-1th wafer image and the feature point in the N-2th wafer image, and then obtain the feedback parameters for obtaining the target wafer image based on the image position deviation of the feature point in the N-1th and N-2th wafer images. It should be noted that the terminal device may obtain the horizontal coordinate and vertical coordinate of the feature point in the N-1th wafer image and the horizontal coordinate and vertical coordinate of the feature point in the N-2th wafer image, and then calculate the horizontal coordinate difference between the N-1th wafer image and the N-2th wafer image to obtain the horizontal deviation of the N-1th wafer image; calculate the vertical coordinate difference between the N-1th wafer image and the N-2th wafer image to obtain the vertical deviation of the N-1th wafer image. The above-mentioned horizontal deviation may also be referred to as the deviation in the X-axis direction, and the above-mentioned vertical deviation may also be referred to as the deviation in the Y-axis direction.

[0063] Step S103 , obtaining control parameters for wafer scanning based on the feedforward parameters and the feedback parameters.

[0064] In some feasible implementations, the terminal device can obtain control parameters based on the above-mentioned feedforward parameters and feedback parameters to control the wafer image scanning device in the above-mentioned wafer image scanning system. The control parameters can be one or more of motion control parameters, line frequency adjustment parameters or lens adjustment parameters. The wafer image scanning device can be a motion stage, a lens or an image acquisition device. For example, if the target wafer image is the first wafer image obtained by scanning the wafer and sorting it according to the scanning timing, the above-mentioned feedforward parameters and feedback parameters are both empty. If the target wafer image is other wafer images after the first wafer image of the first row obtained by scanning the wafer, the above-mentioned feedforward parameters are empty, and the feedback parameters can be obtained from the wafer image with a scanning timing before the target wafer image. It can be understood that when the terminal device obtains the control parameters of the motion stage, lens or image acquisition device in the wafer image scanning system based on the feedforward parameters and feedback parameters, if the above-mentioned feedforward parameters or feedback parameters are empty, the feedforward parameters or feedback parameters can be set to "0" or "1" or other parameters that do not affect the results, and then the control parameters of the motion stage, lens or image acquisition device in the wafer image scanning system are calculated. For example, if the calculation of the above control parameters adopts a calculation method of accumulating multiple parameters, the empty feedforward parameter or feedback parameter can be set to "0". If the calculation of the control parameters of the moving stage, lens and image acquisition device in the wafer image scanning system adopts a calculation method of multiplying multiple parameters, the empty feedforward parameter or feedback parameter can be set to "1".

[0065] In some feasible implementations, the above-mentioned control parameters may include motion control parameters of the motion stage, line frequency adjustment parameters of the image acquisition device, or lens adjustment parameters of the lens. Optionally, they may also include control parameters for controlling the wafer scanning device to execute other instructions, which is not limited in this application. After the terminal device obtains the feedforward parameters and feedback parameters, it may correct the planned reference values ​​of the motion control parameters based on the feedforward parameters and feedback parameters to generate target motion control parameters; or correct the planned reference values ​​of the lens adjustment parameters to obtain target lens adjustment parameters; or correct the planned reference values ​​of the line frequency adjustment parameters to obtain target line frequency adjustment parameters of the image acquisition device. It should be noted that the terminal device can obtain one or more of the control parameters such as motion control parameters, line frequency adjustment parameters, and lens adjustment parameters.

[0066] Step S104 , controlling a wafer image scanning device to scan the wafer based on the control parameters to obtain a first wafer image, where the first wafer image belongs to a first wafer image set.

[0067] In some feasible implementations, the terminal device can send a motion control instruction to the motion stage according to the control parameters, thereby triggering the motion stage to move based on the target scanning route and drive the wafer loaded on the motion stage to move, wherein the wafer and the motion stage are relatively stationary. The terminal device can also trigger the image acquisition device and the lens to scan the wafer moving based on the target scanning route through the control parameters to obtain the target wafer image (i.e., the first wafer image).

[0068] For easier understanding, please also refer to Figure 4 , Figure 4 Schematic diagram of the control flow of the terminal device provided in the embodiment of the present application. Figure 4 As shown, the control parameters may include target motion control parameters, target line frequency adjustment parameters and target lens adjustment parameters. Optionally, other control parameters obtained according to image position deviation may also be included, and the present application does not limit this. The terminal device may obtain a planning reference value for wafer scanning, and the planning reference value is a pre-set value, which can act predictably on the wafer image scanning system, such as a wafer image scanning device such as a moving stage, an image acquisition device or a lens in the system. The terminal device may perform operations such as summing the planning reference value, the feedforward parameter and the feedback parameter to correct the planning reference value and obtain the control parameter. It is understandable that when the feedforward parameter or the feedback parameter is empty, it indicates that the planning reference value is not adjusted by the feedforward parameter or the feedback parameter. At this time, the control parameter may be generated based on the planning reference value that has not been adjusted by the feedforward parameter or the feedback parameter.

[0069] It should be noted that the above-mentioned feedforward parameters and feedback parameters can be empty or not empty. When the target wafer image to be obtained by scanning the wafer is the first wafer image in the first row, the feedforward parameter of the wafer image is empty, and the feedback parameter is empty, that is to say, when the scanned wafer image data is not obtained, the feedforward parameter and the feedback parameter are both empty. When the target wafer image to be obtained by scanning the wafer is the second wafer image in the first row, the feedforward parameter of the wafer image is empty, and the feedback parameter can be empty or obtained by the first wafer image obtained. For example, the first wafer image can be compared with the ideal wafer image to obtain the feedback parameter, or the feedback parameter can be obtained by other methods based on the image processing data of the first wafer image, and the present application does not limit this. When the target wafer image to be obtained by scanning the wafer is the third wafer image in the first row, the feedforward parameter is empty, and the feedback parameter can be obtained by the first wafer image and the second wafer image in the first row, and so on. When the target wafer image to be obtained by scanning the wafer is the first wafer image in the second row, the feedforward parameter can be obtained according to the wafer image in the first row, for example, it can be the average value of the feedback parameters of the wafer image in the first row, or it can be the feedback parameter obtained by the last wafer image in the first row and the penultimate wafer image, and the feedback parameter is the same as the feedforward parameter. When the target wafer image to be obtained by scanning the wafer is the second wafer image in the second row, its feedforward parameter is not empty, and the feedback parameter can be obtained according to the image position deviation between the first wafer image in the second row and the last wafer image in the first row. When the target wafer image to be obtained by scanning the wafer is the third wafer image in the second row, the feedforward parameter and the feedback parameter are not empty. It can be understood that the above-mentioned feedforward parameter is obtained according to the image position deviation of a group of wafer images that have been obtained, which can be either the average value or the image position deviation obtained by the last wafer image. This application does not limit this, and only takes the image position deviation of the last wafer image as an example for explanation. The above feedback parameters can be updated periodically after each wafer image is scanned. For example, the calculation can be restarted after each row is scanned, or it can be calculated based on the last wafer image of the previous row, or it can be calculated based on the wafer image obtained by the previous round of wafer scanning. Furthermore, when all wafer chips of the entire wafer are scanned, the image position deviation of the wafer image obtained by the previous round of scanning can be used to calculate the feedforward parameters and feedback parameters when scanning the next wafer, or the recording can be restarted, and this application does not limit this.

[0070] In some feasible implementations, the terminal device can correct the target scanning route and movement speed of the moving stage based on the target motion control parameters, and then correct the motion error of the moving stage. Specifically, the terminal device can generate a motion control instruction for the moving stage through the above-mentioned target motion control parameters, and send the above-mentioned motion control instruction to the moving stage to trigger the moving stage to adjust the target scanning route or movement speed. The adjusted target scanning route and movement speed of the moving stage match the line frequency of the image acquisition device, and then the motion error of the moving stage can be corrected and move based on the target scanning route. In addition, the above-mentioned motion control instruction can also trigger the moving stage to adjust the position of the wafer to adjust the position deviation of the wafer. It can be understood that the terminal device can adjust the motion control parameters in the control parameters separately. At this time, other control parameters such as line frequency adjustment parameters and lens adjustment parameters can be default values ​​for normal operation, or can be generated based on basic data such as planning benchmark values.

[0071] In some feasible implementations, the terminal device can trigger the image acquisition device to adjust the line frequency based on the above-mentioned target line frequency adjustment parameters, so that the line frequency of the image acquisition device matches the movement speed of the above-mentioned motion stage, thereby correcting the scanning error caused by image deformation or misalignment due to the mismatch of movement speed. The image acquisition device can scan the above-mentioned wafer based on the target scanning route and lens according to the corrected line frequency to obtain the target wafer image. It is understandable that the terminal device can adjust the line frequency adjustment parameters in the control parameters separately. At this time, other control parameters such as motion control parameters, lens adjustment parameters, etc. can be default values, or can be generated based on basic data such as planning benchmark values.

[0072] In some feasible implementations, the terminal device can generate a lens adjustment instruction based on the above target lens adjustment parameters to adjust the angle and position of the lens, thereby correcting the lens displacement error caused by the lens displacement when the image acquisition device scans the above wafer through the lens, and triggering the image acquisition device to scan the wafer moving based on the target scanning route based on the lens after correcting the above lens displacement error, to obtain the target wafer image. It is understandable that the terminal device can adjust the lens adjustment parameters in the control parameters separately, at which time other control parameters such as motion control parameters and line frequency adjustment parameters can be default values, or can be generated based on basic data such as planning benchmark values.

[0073] In summary, the terminal device can adjust one or more of the motion control parameters, line frequency adjustment parameters or lens adjustment parameters based on the feedforward parameters and feedback parameters. For example: the terminal device can obtain the feedforward parameters and feedback parameters to individually adjust the control parameters such as the motion control parameters, line frequency adjustment parameters or lens adjustment parameters, so as to individually adjust the wafer image scanning devices such as the motion stage, image acquisition device or lens. Optionally, the terminal device can also adjust the motion control parameters, line frequency adjustment parameters and lens adjustment parameters at the same time to simultaneously adjust the motion stage, image acquisition device and lens. Therefore, the present application can obtain the feedforward parameters and feedback parameters, and generate control parameters that can compensate for expected errors in the scanning process in advance based on the image processing data of the historical wafer images, so as to control the wafer image scanning devices such as the motion stage, lens and image acquisition device to scan the wafer to obtain the target wafer image, which can improve the scanning accuracy of the wafer image and has strong applicability.

[0074] In some feasible implementations, the terminal device may include a host computer and a motion controller, and the host computer may provide the motion controller with image processing data (such as position deviation) of the wafer image. Optionally, the terminal device may not include a host computer, and the motion controller may be integrated with a central processing function module to obtain image processing data through the wafer image transmitted by the image acquisition device and control the wafer image scanning device to scan the wafer based on the image processing data. For example, the terminal device includes a motion controller, see Figure 5 , Figure 5 FIG. 1 is another flow chart of the wafer image scanning method provided in the embodiment of the present application. Figure 5 As shown, step S10 and steps S20 to S80 can be executed by the motion controller as the execution body.

[0075] Step S10: triggering the motion stage to move to perform wafer scanning.

[0076] In some feasible implementations, the motion controller may send a motion control instruction to the motion stage to trigger the motion stage to move according to the above-mentioned target scanning route, so that the wafer loaded on the motion stage moves with the motion stage. The motion controller may also trigger the image acquisition device to perform a wafer scanning operation on the moving wafer according to the set line frequency and target scanning route to obtain multiple target wafer images in the i-th row and multiple wafer images in the i-1-th row. For ease of understanding, the implementation method of the above-mentioned step S10 can be referred to the description of the wafer scanning process in the above-mentioned step S101, which will not be repeated here.

[0077] Step S20: Determine feedforward parameters and feedback parameters.

[0078] In some feasible embodiments, the motion controller may receive a wafer image transmitted by an image acquisition device, and process the wafer image through a central processing function module to obtain wafer image processing data. Specifically, the motion controller may obtain feedforward parameters for scanning a wafer to obtain a target wafer image. Here, the target wafer image is a wafer image to be scanned, and may be the first wafer image in the first image set. The first wafer image set may include a plurality of target wafer images in the i-th row obtained by scanning a moving wafer line by line based on the line frequency and target scanning route of the image acquisition device (such as a camera) and a lens; the feedforward parameters of the first wafer image set may be obtained from at least one wafer image in the second wafer image set; the scanning timing of any wafer image in the second wafer image set is before the scanning timing of any wafer image in the first wafer image set. The motion controller may obtain the image position deviation between the feature points in the plurality of wafer images in the i-1th row, and then obtain the feedforward parameters for obtaining the target wafer image based on the image position deviation.

[0079] In some feasible embodiments, the motion controller can obtain feedback parameters for scanning the wafer to obtain the target wafer image in real time, and the above feedback parameters can be obtained by the image position deviation of at least one second wafer image that is scanned before the first wafer image. For example, the feedback parameter can be obtained by the image position deviation between the N-1th and N-2th wafer images in the first wafer image set. The motion controller can process the N-1th and N-2th wafer images through the central processing function module to obtain the image position deviation of the feature points in the N-1th and N-2th wafer images, and then obtain the feedback parameters of the target wafer image based on the above image position deviation.

[0080] For ease of understanding, the implementation of the above step S20 may refer to the description of the process of obtaining the feedforward parameters and the feedback parameters in the above step S101 and step S102, which will not be repeated here.

[0081] Optionally, in some feasible implementations, the terminal device may further include a host computer, which may execute the following Figure 5 Step S11 and step S12 are shown.

[0082] Step S11: receiving a wafer image acquired by an image acquisition device.

[0083] In some feasible implementations, if the terminal device includes a host computer, the host computer can receive the wafer image obtained by the above-mentioned image acquisition device, and then can store or perform image processing operations on the above-mentioned wafer image. The above-mentioned host computer can receive the scanned wafer image from the image acquisition device through a mobile communication network or a data line connection. For ease of understanding, the implementation method of the above-mentioned step S11 can also refer to the description of the host computer obtaining the wafer image in the above-mentioned step S102.

[0084] Step S12: acquiring image position deviation based on the wafer image.

[0085] In some feasible implementations, if the terminal device includes a host computer, the host computer can obtain the image position deviation based on the wafer image obtained by the image acquisition device. The host computer can determine one or more points in the wafer chip as feature points and obtain the coordinates of the above feature points in the wafer image, and calculate the image position deviation according to the deviation between the coordinates of the feature points in different wafer images, that is, the image position deviation of the wafer image can be obtained from the coordinate deviation of the feature points. Specifically, the host computer can obtain the horizontal and vertical coordinates of the feature points in the second wafer image, and obtain the image position deviation between two or more feature points in the second wafer image based on the horizontal and vertical coordinates of the feature points, or obtain the image position deviation between a second wafer image and an ideal wafer image. It should be noted that the scanning timing of the above-mentioned second wafer image is before the scanning timing of the above-mentioned first wafer image.

[0086] After obtaining the above image position deviation, the host computer can send the above image position deviation to the motion controller, which can then trigger the motion controller to obtain the feedforward parameters and feedback parameters for obtaining the target wafer image based on the image position deviation. For ease of understanding, the implementation method of the above step S12 can be referred to the description of the image position deviation acquisition process in the above step S102, which will not be repeated here.

[0087] In summary, if the terminal device includes a host computer, the host computer can provide the motion controller with the image position deviation of the wafer image.

[0088] In another embodiment, if the terminal device does not include a host computer, the motion controller may acquire the image position deviation based on the wafer image transmitted by the image acquisition device, for example, by acquiring the image position deviation through a central processing function module of the motion controller.

[0089] Step S30: Generate control parameters based on the feedforward parameters and the feedback parameters.

[0090] In some feasible implementations, the motion controller can obtain control parameters based on the feedforward parameters and feedback parameters to control the motion stage, lens and image acquisition device in the wafer image scanning system, and then scan the wafer to obtain the target wafer image. The motion controller can perform operations such as summing the planning reference value, the feedforward parameter and the feedback parameter to correct the planning reference value and obtain the control parameter.

[0091] For ease of understanding, the implementation of the above step S30 may refer to the description of the control parameter acquisition process in the above step S103, which will not be repeated here.

[0092] Step S40: Generate a motion control instruction based on the control parameters to trigger the motion stage to correct the error and move.

[0093] In some feasible embodiments, the above-mentioned control parameters may include motion control parameters. After the motion controller obtains the feedforward parameters and the feedback parameters, it can correct the planned reference values ​​of the motion control parameters to generate target motion control parameters, and correct the target scanning route and movement speed of the motion stage through the target motion control parameters, thereby correcting the motion error of the motion stage. Specifically, the motion controller can generate motion control instructions for the motion stage through the above-mentioned target motion control parameters, and send the above-mentioned motion control instructions to the motion stage to trigger the motion stage to adjust the target scanning route or movement speed, so that the target scanning route and movement speed of the motion stage match the line frequency of the image acquisition device, thereby correcting the motion error of the motion stage and moving based on the target scanning route. In addition, the above-mentioned motion control instructions can also trigger the motion stage to adjust the position of the wafer, thereby adjusting the position deviation of the wafer. For ease of understanding, the implementation method of the above-mentioned step S40 can refer to the description of the motion control instructions in the above-mentioned step S103, which will not be repeated here.

[0094] Step S50: Generate a line frequency adjustment instruction based on the control parameter to trigger the image acquisition device to correct the error.

[0095] In some feasible implementations, the control parameters may also include line frequency adjustment parameters. The motion controller may correct the planned reference value of the line frequency adjustment parameter based on the feedforward parameters and feedback parameters obtained above to obtain the target line frequency adjustment parameter of the image acquisition device, and trigger the image acquisition device to adjust the line frequency based on the target line frequency adjustment parameter, so that the line frequency of the image acquisition device matches the movement speed of the motion stage, thereby correcting the scanning error caused by image deformation or misalignment due to the mismatch of movement speed. For ease of understanding, the implementation method of the above step S50 can be referred to the description of the line frequency adjustment instruction in the above step S103, which will not be repeated here.

[0096] Step S60: generating a lens adjustment instruction based on the control parameter to trigger the lens correction error.

[0097] In some feasible implementations, the control parameters may also include lens adjustment parameters. The motion controller may correct the planned reference values ​​of the lens adjustment parameters based on the feedforward parameters and feedback parameters obtained above to obtain the target lens adjustment parameters, and generate lens adjustment instructions based on the target lens adjustment parameters to adjust the angle and position of the lens, thereby correcting the lens displacement error caused by the lens shift when the image acquisition device scans the wafer through the lens, and triggering the image acquisition device to scan the wafer moving along the target scanning route based on the lens after correcting the lens displacement error, to obtain the target wafer image. For ease of understanding, the implementation method of the above step S60 can be referred to the description of the lens adjustment instruction in the above step S103, which will not be repeated here.

[0098] It is understandable that the present application does not limit the number of steps S40 to S60 to be executed, nor the execution order. For example, the terminal device may execute step S40, step S50 or step S60 alone, or may execute step S40 to step S60; the terminal device may first execute step S40 and then step S50, or may first execute step S50 and then step S40. In addition, the terminal device may also generate other types of control parameters or instructions according to the above-mentioned image position deviation, and the present application does not limit this.

[0099] Step S70: Determine whether the wafer scanning is completed.

[0100] If the judgment result is yes, then execute step S80, and if the judgment result is no, then execute step S10.

[0101] Step S80: Control the moving stage to stop moving, completing wafer scanning.

[0102] In some feasible implementations, the motion controller can determine whether the wafer scanning is completed. If it is determined that the scanning is completed, the operation shown in step S80 can be performed, that is, the motion stage can be controlled to stop moving; if it is determined that the scanning is not completed, the operation shown in step S10 can be performed, that is, the motion stage can be controlled to continue moving to scan the wafer, so that the image acquisition device can acquire the next set of wafer images. Optionally, if it is determined that a wafer has been scanned, the motion stage can also be controlled to continue moving to perform the scanning operation of the next wafer, and this application does not limit this.

[0103] By adopting the wafer image scanning method provided in the present application, feedforward parameters and feedback parameters can be obtained based on image processing data of historical wafer images before scanning the wafer, so as to obtain control parameters for controlling the wafer image scanning equipment based on the feedforward parameters and feedback parameters. By scanning the wafer through the control parameters, errors that may occur during the wafer scanning process can be predicted and compensated in advance, thereby improving the scanning accuracy of the wafer image. The operation is simple and the applicability is strong.

[0104] See also Figure 6 , Figure 6 Schematic diagram of the structure of the wafer image scanning device provided in the embodiment of the present application. Figure 6 The wafer image scanning device 1 shown may be a computer device having a computer program (including program code) for implementing the above-mentioned wafer image scanning method. The wafer image scanning device 1 may also be a computer program, for example, the computer program is an application software. The device may be used to execute the corresponding steps in the wafer image scanning method provided in the embodiment of the present application. Figure 6 As shown, the wafer image scanning device 1 may include: a first acquisition module 101 , a second acquisition module 102 , a third acquisition module 103 and a control module 104 .

[0105] A first acquisition module 101, used to acquire feedforward parameters;

[0106] A second acquisition module 102, used to acquire feedback parameters;

[0107] A third acquisition module 103, used to obtain control parameters of wafer scanning based on the feedforward parameters and the feedback parameters;

[0108] A control module 104, configured to control a wafer image scanning device to scan a wafer based on the control parameters to obtain a first wafer image, wherein the first wafer image belongs to a first wafer image set;

[0109] The feedforward parameter is obtained from image processing data of at least one wafer image in the second wafer image set, and the feedback parameter is obtained from image processing data of at least one second wafer image in the first wafer image set;

[0110] The scanning timing of any wafer image in the second wafer image set is before the scanning timing of any wafer image in the first wafer image set, and the scanning timing of the second wafer image is before the scanning timing of the first wafer image.

[0111] The specific functions implemented by the first acquisition module 101 can be found in the Figure 2 In the corresponding embodiment, step S101, or, you can participate in the above Figure 5For the description of the feedforward parameters in the corresponding embodiment, or, please refer to the above Figure 3 The description of wafer scanning in the embodiment shown in the figure; the specific functions implemented by the second acquisition module 102 can be found in the above Figure 2 In the embodiment shown in FIG. 1 , step S102 may be referred to above. Figure 5 The description of the feedback parameters in the embodiment shown in the figure; the specific functions implemented by the third acquisition module 103 can be found in the above Figure 2 Step S103 in the embodiment shown, or, refer to the above Figure 5 For the description of the control parameters in the embodiment shown, or, please refer to the above Figure 4 The specific functions implemented by the control module 104 can be found in the above Figure 2 In the embodiment shown in FIG. 1 , step S104 may be referred to above. Figure 5 The description of wafer scanning in the illustrated embodiment is omitted here.

[0112] See also Figure 7 , Figure 7 Schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Figure 7 As shown, the terminal device 1000 may include: a processor 1001, a network interface 1004, a memory 1005 and a controller 1006. In addition, the terminal device 1000 may also include: a user interface 1003, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 includes a random access memory (RAM) and a non-volatile memory (NVM), such as an erasable programmable read-only memory (EPROM). The memory 1005 may also be at least one storage device located away from the aforementioned processor 1001. The controller 1006 can be used to receive data sent by the processor and generate control instructions to control devices such as a motion platform and an image acquisition device, and can execute the above Figures 2 to 5 The functions implemented by the controller involved in the illustrated embodiment. Optionally, the controller 1006 may be a motion controller or other types of controllers, which should be determined according to the actual application scenario. This application only takes the motion controller as an example for illustration. Figure 7 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application. Figure 1 The processor 1001 described in this embodiment can execute the above Figure 1 The functions performed by the processor provided in the illustrated embodiment.

[0113] In such Figure 7 In the terminal device 1000 shown, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to implement the aforementioned Figures 2 to 5 The wafer image scanning method in the illustrated embodiment.

[0114] It should be understood that the terminal device 1000 described in the embodiment of the present application can execute the above Figures 2 to 5 The wafer image scanning method of the embodiment shown will not be described in detail. In addition, the beneficial effects of the same method will not be described in detail.

[0115] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the wafer image scanning method mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, the above-mentioned Figures 2 to 5 The above-mentioned wafer image scanning method provided by the illustrated embodiment is therefore not described in detail. In addition, the description of the beneficial effects of adopting the same method is not described in detail. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application.

[0116] The computer-readable storage medium may be the wafer image scanning method provided in any of the aforementioned embodiments or the internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. The computer-readable storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the terminal device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the terminal device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0117] In addition, it should be noted that: the embodiment of the present application also provides a computer program product or a computer program, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the terminal device loads and executes the computer instructions, so that the terminal device can execute the above Figures 2 to 5 The method provided by the illustrated embodiment.

[0118] Those skilled in the art will appreciate that the systems and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

Claims

1. A wafer image scanning method, characterized in that: The method comprises: Get feedforward parameters; Get feedback parameters; Obtaining control parameters for wafer scanning based on the feedforward parameters and the feedback parameters; Controlling a wafer image scanning device to scan a wafer based on the control parameters to obtain a first wafer image, where the first wafer image belongs to a first wafer image set; Wherein, the feedforward parameter is obtained from image processing data of at least one wafer image in the second wafer image set, and the feedback parameter is obtained from image processing data of at least one second wafer image in the first wafer image set; The wafer image scanning device includes a moving stage, a lens and an image acquisition device; the first wafer image set includes a plurality of wafer images of the i-th row obtained by scanning the moving wafer line by line with the image acquisition device and the lens; the second wafer image set includes a plurality of wafer images of the i-1th row obtained by scanning the moving wafer line by line with the image acquisition device and the lens, wherein i is an integer greater than or equal to 2; the obtaining of the feedforward parameter includes: Obtaining image position deviations between feature points in a plurality of wafer images in the i-1th row, and obtaining the feedforward parameter based on the image position deviations; The first wafer image set includes a plurality of wafer images sorted according to a scanning sequence, the first wafer image is the Nth wafer image in the first wafer image set; the second wafer image is the N-1th wafer image and the N-2th wafer image in the first wafer image set; N is an integer greater than or equal to 3; the obtaining of feedback parameters includes: An image position deviation between a feature point in the N-1th wafer image and a feature point in the N-2th wafer image is obtained, and the feedback parameter is obtained based on the image position deviation.

2. The method according to claim 1, characterized in that The controlling the wafer image scanning device to scan the wafer to acquire a first wafer image based on the control parameter includes: Sending a motion control instruction to the motion stage based on the control parameter, triggering the motion stage to move based on a target scanning route based on the motion control instruction, so that the wafer loaded on the motion stage moves along with the motion stage; The image acquisition device and the lens are triggered based on the control parameters to scan the wafer moving based on the target scanning route to acquire the first wafer image.

3. The method according to claim 2, characterized in that The obtaining of the image position deviation between the feature point in the N-1th wafer image and the feature point in the N-2th wafer image includes: The horizontal coordinate and the vertical coordinate of the feature point in the N-1th wafer image and the N-2th wafer image are obtained, and the image position deviation between the feature point in the N-1th wafer image and the N-2th wafer image is obtained based on the horizontal coordinate and the vertical coordinate.

4. The method according to claim 2 or 3, characterized in that: The control parameters include motion control parameters of the motion stage; the control parameters for wafer scanning obtained based on the feedforward parameters and the feedback parameters include: Correcting the planned reference value of the motion control parameter of the motion stage based on the feedforward parameter and the feedback parameter to generate a target motion control parameter of the motion stage; The sending of a motion control instruction to the motion stage based on the control parameter, and triggering the motion stage to move based on a target scanning route based on the motion control instruction, comprises: generating a motion control instruction based on the target motion control parameter; The motion stage is triggered based on the motion control instruction to correct the motion error of the motion stage and the position deviation of the wafer so that the motion stage moves based on a target scanning route.

5. The method according to claim 4, characterized in that The triggering the motion stage to correct the motion error of the motion stage and the position deviation of the wafer based on the motion control instruction includes: Triggering the motion stage to adjust the position of the wafer based on the motion control instruction to correct the position deviation of the wafer; The motion stage is triggered to adjust the motion speed based on the motion control instruction so that the motion speed of the motion stage matches the line frequency of the image acquisition device, so as to correct the motion error of the motion stage.

6. The method according to claim 2 or 3, characterized in that: The control parameters include the line frequency adjustment parameters of the image acquisition device; the control parameters for wafer scanning obtained based on the feedforward parameters and the feedback parameters include: Correcting a planned reference value of a line frequency adjustment parameter of the image acquisition device based on the feedforward parameter and the feedback parameter to generate a target line frequency adjustment parameter of the image acquisition device; The step of triggering the image acquisition device and the lens to scan the wafer moving along the target scanning route based on the control parameter includes: generating a line frequency adjustment instruction based on the target line frequency adjustment parameter, and triggering the image acquisition device to correct the line frequency based on the line frequency adjustment instruction so that the line frequency matches the movement speed of the moving stage to correct the scanning error; The wafer moving based on the target scanning route is scanned by the image acquisition device based on the corrected line frequency and the mirror.

7. The method according to claim 2 or 3, characterized in that: The control parameters include lens adjustment parameters of the lens; the control parameters for wafer scanning are obtained based on the feedforward parameters and the feedback parameters, including: Correcting a planned reference value of a lens adjustment parameter of the lens based on the feedforward parameter and the feedback parameter to generate a target lens adjustment parameter of the lens; The step of triggering the image acquisition device and the lens to scan the wafer moving along the target scanning route based on the control parameter includes: A lens adjustment instruction is generated based on the target lens adjustment parameter, and the angle and position of the lens are adjusted based on the lens adjustment instruction to correct the lens displacement error when the image acquisition device acquires the wafer image through the lens, and the image acquisition device is triggered to scan the wafer moving along the target scanning route based on the lens after correcting the lens displacement error.

8. A wafer image scanning device, characterized in that: include: A first acquisition module, used for acquiring feedforward parameters; A second acquisition module is used to acquire feedback parameters; A third acquisition module, used for obtaining a control parameter of wafer scanning based on the feedforward parameter and the feedback parameter; a control module, configured to control a wafer image scanning device to scan a wafer based on the control parameter to obtain a first wafer image, wherein the first wafer image belongs to a first wafer image set; Wherein, the feedforward parameter is obtained from image processing data of at least one wafer image in the second wafer image set, and the feedback parameter is obtained from image processing data of at least one second wafer image in the first wafer image set; The wafer image scanning device includes a moving stage, a lens and an image acquisition device; the first wafer image set includes a plurality of wafer images of the i-th row obtained by scanning the moving wafer line by line with the image acquisition device and the lens; the second wafer image set includes a plurality of wafer images of the i-1th row obtained by scanning the moving wafer line by line with the image acquisition device and the lens, where i is an integer greater than or equal to 2; the first acquisition module is used to: Obtaining image position deviations between feature points in a plurality of wafer images in the i-1th row, and obtaining the feedforward parameter based on the image position deviations; The first wafer image set includes a plurality of wafer images sorted according to a scanning sequence, the first wafer image is the Nth wafer image in the first wafer image set; the second wafer image is the N-1th wafer image and the N-2th wafer image in the first wafer image set; N is an integer greater than or equal to 3; the second acquisition module is used to: An image position deviation between a feature point in the N-1th wafer image and a feature point in the N-2th wafer image is obtained, and the feedback parameter is obtained based on the image position deviation.

9. A terminal device, characterized in that: include: Processor and memory; The processor is connected to the memory, wherein the memory is used to store program codes, and the processor is used to call the program codes to execute the method described in any one of claims 1-7.

10. A wafer image scanning system, characterized in that: include: A moving stage, an image acquisition device, a lens and a terminal device as described in claim 9; wherein the moving stage is used to load wafers, the image acquisition device is used to acquire wafer images, and the lens is used to adjust the angle and position of the image acquisition device to acquire the wafer image.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the method according to any one of claims 1 to 7.