WO2023133729A1 - Automatic focusing method, apparatus and device based on electron beam measurement device, and storage medium - Google Patents

Automatic focusing method, apparatus and device based on electron beam measurement device, and storage medium Download PDF

Info

Publication number
WO2023133729A1
WO2023133729A1 PCT/CN2022/071605 CN2022071605W WO2023133729A1 WO 2023133729 A1 WO2023133729 A1 WO 2023133729A1 CN 2022071605 W CN2022071605 W CN 2022071605W WO 2023133729 A1 WO2023133729 A1 WO 2023133729A1
Authority
WO
WIPO (PCT)
Prior art keywords
search
fine
preset number
images
focus
Prior art date
Application number
PCT/CN2022/071605
Other languages
French (fr)
Chinese (zh)
Inventor
杨彩虹
韩春营
俞宗强
王振
Original Assignee
东方晶源微电子科技(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 东方晶源微电子科技(北京)有限公司 filed Critical 东方晶源微电子科技(北京)有限公司
Priority to PCT/CN2022/071605 priority Critical patent/WO2023133729A1/en
Publication of WO2023133729A1 publication Critical patent/WO2023133729A1/en

Links

Images

Definitions

  • the present application relates to the technical fields of automatic control and image processing, and in particular to an automatic focusing method and device, device and storage medium based on electron beam measuring equipment.
  • Nano-scale electron beam measurement equipment mainly uses the principle of scanning electron microscope to realize nano-scale imaging, and based on image measurement and analysis, to realize the monitoring of key process parameters, which is the key equipment for quality control in the chip manufacturing process.
  • There are generally two ways to focus the electron beam measurement equipment one is to focus by adjusting the size of the Z-axis of the stage, and the other is to focus by adjusting the current of the electromagnetic lens.
  • the automatic focusing process is to automate the process, and finally realize the automatic focusing process of the scanning electron microscope by automatically adjusting the size of the Z coordinate or the size of the current value.
  • the existing autofocus process is mainly divided into two core parts, one is image sharpness evaluation, and the other is search strategy.
  • the focus search strategy directly affects the speed of auto focus.
  • a hill-climbing algorithm search strategy is usually used for auto-focusing.
  • the search strategy of the hill-climbing algorithm is based on image definition, and its essence is a problem of image definition optimization.
  • the automatic focus hill-climbing search is divided into two steps: coarse focus and fine focus.
  • the autofocus takes a long time, which affects the speed of autofocus.
  • the present application proposes an autofocus method based on electron beam measurement equipment, which can effectively improve the autofocus speed of electron beam measurement equipment.
  • an automatic focusing method based on an electron beam measuring device including:
  • the coarse focus search step size is adaptively adjusted according to the sharpness evaluation results of the plurality of detection images, including:
  • the coarse focus search step size is determined according to the sharpness evaluation result.
  • unifying the contrast of each of the detection images is performed by performing a histogram definition process on each of the detection images.
  • the sharpness evaluation is performed on each of the detected images after median filtering, and the sharpness evaluation result is obtained, including:
  • performing a logical operation on the normalized spectrum histogram also includes performing a high-frequency and low-frequency amplification operation on the image content in the spectrum histogram.
  • performing a logic operation on the normalized spectrum histogram includes performing weighted sum processing on the normalized spectrum histogram.
  • the evaluation results of the sharpness are obtained based on the evaluation curves of each of the detected images, including:
  • the sharpness evaluation result is obtained according to each of the calculated correlations.
  • the evaluation curve with the highest correlation is selected from each of the correlations as the sharpness evaluation result .
  • the fine-focus search parameter includes at least one of a fine-focus search range and a fine-focus search step.
  • the search is performed in a variable step size manner.
  • variable step size method when using a variable step size method to perform a fine-focus search based on the sharpness evaluation results of the collected sample images of the preset number of sheets to obtain the focus result, it includes:
  • the change trend of the sharpness evaluation results of the preset number of sample images includes at least one of monotonically increasing, monotonically decreasing, and quadratic fitting of the sharpness curve
  • the fine focus search parameters are updated according to the opening direction of the fitted curve, and based on the updated fine focus search parameter to perform reacquisition of the preset number of sample images.
  • an automatic focusing device based on electron beam measuring equipment including an image acquisition module, a coarse focusing module and a fine focusing module;
  • the image acquisition module is configured to acquire multiple detection images collected by the current channel in the electron beam measurement device;
  • the coarse focus module is configured to adaptively adjust the coarse focus search step size according to the sharpness evaluation results of the plurality of detection images, and adjust the electron beam measurement device according to the adjusted coarse focus search step size Carry out coarse focus and determine the best coarse focus position;
  • the fine focusing module is configured to take the best coarse focus position as the search center, collect a preset number of sample images according to the current fine focus search parameters, and collect samples according to the preset number of samples collected.
  • the sharpness evaluation result of the image is subjected to a fine focus search to obtain the focus result.
  • an autofocus device based on an electron beam measurement device including:
  • memory for storing processor-executable instructions
  • the processor is configured to implement any one of the aforementioned methods when executing the executable instructions.
  • a non-volatile computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any one of the aforementioned methods is implemented.
  • Electron beam measuring equipment performs coarse focusing to determine the best coarse focus position. Then take the best coarse focus position as the search center, collect a preset number of sample images according to the current fine focus search parameters, and finally perform a fine focus search according to the sharpness evaluation results of the collected preset number of sample images
  • the focus result is obtained, which realizes the coarse focus in the autofocus process of the electron beam measurement equipment by adopting a variable step size, which makes the coarse focus search step used in the coarse focus more flexible, and finally effectively improves the electron beam. Autofocus efficiency of the beam measurement device.
  • Fig. 1 shows the flow chart of the autofocus method based on the electron beam measurement equipment of the embodiment of the present application
  • Fig. 2 shows the flow chart of image sharpness evaluation in the autofocus method based on electron beam measuring equipment according to the embodiment of the present application
  • Fig. 3 shows another flow chart of the autofocus method based on the electron beam measuring equipment of the embodiment of the present application
  • Fig. 4 shows the structural block diagram of the autofocus device based on the electron beam measurement equipment of the embodiment of the present application
  • FIG. 5 shows a structural block diagram of an autofocus device based on an electron beam measurement device according to an embodiment of the present application.
  • FIG. 1 shows a flowchart of an autofocus method based on an electron beam measuring device according to an embodiment of the present application.
  • the method includes: Step S100 , acquiring a plurality of detection images collected by a current channel in an electron beam measurement device.
  • the electron beam measurement equipment in the embodiment of the present application mainly refers to nanoscale electron beam measurement equipment, such as a scanning electron microscope, specifically a CD-SEM (Critical Dimension SEM).
  • CD-SEM is a key equipment for quality control in the chip manufacturing process. It can be used for the measurement and analysis of nano-scale silicon wafer patterns, and realizes the monitoring of key process parameters.
  • step S200 can be executed to adaptively adjust the coarse focus search step according to the sharpness evaluation results of the multiple detection images, and according to the adjusted coarse
  • the focus search step performs coarse focus on the electron beam measuring equipment, and determines the best coarse focus position.
  • step S300 take the best coarse focus position as the search center, collect a preset number of sample images according to the current coarse focus search parameters, and evaluate the result according to the sharpness of the collected preset number of sample images Perform a fine-focus search to get focused results.
  • the fine-focus search parameter includes at least one of a fine-focus search range and a fine-focus search step.
  • the fine focus search step refers to the sampling frequency when sampling the image of the sample during the fine focus process
  • the fine focus search range refers to the electron frequency when the sample is collected during the fine focus process.
  • the value range of the current value of the beam measuring device refers to the fine focus search step.
  • the focus result is obtained, which realizes the coarse focus in the autofocus process of the electron beam measurement equipment by adopting a variable step size, which makes the coarse focus search step used in the coarse focus more flexible, and finally effectively improves the electron beam. Autofocus efficiency of the beam measurement device.
  • the coarse focus search step is adaptively adjusted according to the sharpness evaluation results of multiple detection images, it is necessary to perform sharpness evaluation on the multiple detection images first.
  • it may be implemented in the following manner.
  • the contrast of each detected image is unified, and median filtering is performed on each detected image. Then, sharpness evaluation is performed on each detected image after median filtering to obtain a first sharpness evaluation result. Further, the coarse focus search step is determined according to the first sharpness evaluation result.
  • unifying the contrast of each detection image can be realized by defining the histogram of each detection image.
  • the histogram specification of each detection image can be realized by conventional technical means in the field, and details will not be repeated here.
  • each detection image after median filtering is evaluated for sharpness to obtain the sharpness evaluation result
  • the spectral histogram of each detection image can be obtained by performing Fourier transform on each detection image after median filtering, and then Multi-interval normalization is performed on each spectrum histogram, and logical operation is performed on the normalized spectrum histogram to obtain the evaluation curve of each detection image. Finally, based on the evaluation curves of each detected image, the sharpness evaluation result is obtained.
  • Performing a logical operation on the normalized spectrum histogram may include performing weighted summation on the normalized spectrum histogram. That is, weighted summation is performed on the normalized results of each interval of the spectrum histogram.
  • the weighted summation of the normalized spectrum histograms may be implemented by using a conventional weighted summation algorithm in the field, which will not be repeated here.
  • the method further includes calculating an average local variance curve of the detected images after median filtering.
  • the sharpness evaluation result when it is obtained based on the evaluation curves of each detected image, it includes: calculating the correlation between each evaluation curve and the average local variance curve, and then obtaining the image sharpness evaluation result according to the calculated correlations .
  • an evaluation curve with the highest correlation may be selected from the correlations as the sharpness evaluation result.
  • step S210 can be executed to perform the N detection images obtained Carry out the histogram specification respectively, then through step S220, carry out median filtering on the detection image with the histogram specification, then through step S231, perform Fourier transform on the detection image after the histogram specification processing and median filtering , to obtain the corresponding spectrum histogram, and through step S232 in turn, the spectrum in the spectrum histogram of each detection image obtained is normalized to a plurality of intervals respectively, and through step S233, the normalized spectrum histogram Weighted summation is performed, and then through step S234, an evaluation curve of each detected image is obtained.
  • step S230' is also included to calculate the average local variance on the detection image after median filtering to obtain a corresponding reference score curve.
  • step S240 the obtained evaluation score curve and reference score curve are normalized, and through step S250, the correlation between each evaluation score curve and the reference score curve is calculated.
  • step S250 the correlation between each evaluation score curve and the reference score curve.
  • step S260 the evaluation score curve with the highest correlation is selected from the calculated correlations as the final image definition evaluation result.
  • step S270 is executed again to output a set of evaluation score curves with the highest correlation.
  • the sharpness evaluation of the collected N detection images can be completed, and a corresponding sharpness evaluation result can be obtained.
  • the corresponding coarse focus search step is determined according to the obtained sharpness evaluation result, and finally the coarse focus search is performed according to the determined coarse focus search step, so as to determine the best coarse focus position.
  • the electron beam measuring equipment can be searched for fine focusing, so as to finally realize Automatic focusing of electron beam measuring equipment.
  • the process of fine-focusing the electron beam measurement equipment mainly includes: first, taking the best coarse focus position as the search center, according to the current
  • the fine focus search parameter captures a preset number of sample images. Then, according to the sharpness evaluation results of the collected preset number of sample images, a fine focus search is performed to obtain the focus result.
  • the process of performing the fine-focus search according to the sharpness evaluation results of the collected preset number of sample images can be carried out in a variable step size manner.
  • the variable step size method when used to perform fine-focus search, it can be implemented in an iterative manner.
  • the fine-focus search parameters are updated, and the preset number of sample images are re-collected with the updated fine-focus search parameters until the number of re-acquisitions until the preset number of iterations is reached.
  • the fine-focus search parameter includes at least one of a fine-focus search range and a fine-focus search step.
  • the fine-focus search parameters When performing an update of the fine-focus search parameters, it is performed according to the sharpness evaluation results of the preset number of sample images currently obtained, so that in the method of the embodiment of the present application, when performing a fine-focus search on the electron beam measuring device It is also possible to adopt a variable step size method, which further improves the focusing speed of the device.
  • the sharpness evaluation method described above can be used when evaluating the sharpness of the collected sample images with a preset number of sheets, which will not be repeated here.
  • the fine-focus search when performed according to the sharpness evaluation results of the collected preset number of sample images, it may be performed based on the change trend of the sharpness evaluation results of the preset number of sample images.
  • the change trend of the sharpness evaluation results of the preset number of sample images includes at least one of monotonically increasing, monotonically decreasing, and quadratic fitting of the sharpness curve.
  • the forward search is performed, the search range is updated, and the preset number of sample images are re-acquired based on the updated search range.
  • the backward search is performed, the search range is updated, and the preset number of sample images is re-acquired based on the updated search range.
  • the fine focus search parameters are updated according to the opening direction of the fitted curve, and the fine focus search parameters are updated based on the updated fine focus search parameters. Reacquisition of a preset number of sample images.
  • the opening direction of the fitting curve is divided into upward opening and downward opening.
  • the fine focus search range and the fine focus search step are updated with the currently evaluated clearest position as the center, and a preset number of sample images are collected again.
  • the opening direction of the fitting curve is downward, centering on the position of the symmetry axis of the quadratic function, the fine focus search range and the fine focus search step are updated to re-acquire a preset number of sample images.
  • the sharpness evaluation curve opens upward, assuming that the clearest position is 2, and the current value at this position is L, then the current value of the second image is centered, and the search step is updated (generally Under the circumstances, take 1.5 times of the previous step size), and update the search range L ⁇ 2*1.5*step.
  • the sharpness evaluation curve opens downward, assuming that the clearest position is 3, and the current value at this position is L, then the current value of the third image is centered, and the search range L ⁇ step is updated , the update step size is 2*step/4.
  • the forward search refers to the current value of the image corresponding to the position of the maximum value in the monotonically increasing curve.
  • the starting point is along the increasing direction of the curve, and a preset number of sample images are collected again according to the updated fine focus search range and fine focus search step.
  • the fine-focus search parameters only the fine-focus search range needs to be updated, and the fine-focus search step remains unchanged from the initial step.
  • the sharpness evaluation curve increases monotonically, assuming that the clearest position is 5, and the current value at this position is L, then the current value of the fifth image is the starting point, with a fixed step size, and updates
  • the search range is L ⁇ (L+4*step).
  • the backward search refers to the current value of the image corresponding to the position of the minimum value in the monotonically decreasing curve.
  • the updated fine focus search range and fine focus search step are used to re-acquire a preset number of sample images.
  • the fine-focus search parameters only the fine-focus search range needs to be updated, and the fine-focus search step remains unchanged from the initial step.
  • step S001 parameters are set, specifically including: the maximum number of iterations t, the initial search step size of the fine focus, and the search range of the fine focus.
  • step S100 a certain number of detection images collected by the current channel of the electron beam measuring device are acquired.
  • step S200 the sharpness evaluation is performed on each of the collected detection images to obtain the corresponding sharpness evaluation results, and the corresponding coarse focus search step is determined according to the obtained sharpness evaluation results, and according to the determined coarse focus
  • the search step size performs a coarse focus search operation. Specifically, based on the exhaustive search, the sharpness score of each frame sample image is performed, and according to the change rate of the sharpness score of adjacent images, the search step is adaptively adjusted to determine the best coarse focus position.
  • Step S330 collect a preset number (nums) of sample images with the initially set fine-focus search step, and perform a sharpness evaluation on each frame of images through step S340 (see Figure 2 for the specific image sharpness evaluation process. shown), to obtain the clarity evaluation results.
  • step S351 it is judged whether the obtained sharpness evaluation result (that is, the change curve of the sharpness results of each frame image according to the order of frames) shows a monotonous increasing trend.
  • step S361 is executed, and a forward search is performed starting from the maximum value among the monotonically increasing sharpness evaluation results.
  • step S352 is used to determine whether the sharpness evaluation result is in a monotonous decreasing trend.
  • step S362 is executed, and a backward search is performed with the minimum of the monotonically decreasing sharpness evaluation results as the starting point.
  • step S371 can be executed to update the fine-focus search range and keep the fine-focus search step unchanged.
  • step S352 When it is determined through step S352 that the sharpness evaluation result is a quadratic curve fitting, then through step S363 it is determined whether the opening of the quadratic fitting curve is upward. When it is judged that the opening is upward, step S373 is executed to update the fine focus search range centered on the clearest position, and at the same time update the fine focus search step. When it is judged that the opening is downward, step S372 is executed to update the fine focus search range centered on the position of the symmetry axis, and at the same time update the fine focus search step.
  • the method of the embodiment of the present application proposes a brand-new autofocus method for electron beam measuring equipment by improving the image sharpness evaluation function and search strategy.
  • the processing such as histogram specification and median filtering unifies the contrast of the image to a certain extent, filters out redundant noise of the image, and highlights the characteristics of the image.
  • the final evaluation result is corrected based on the local variance curve of the image, which effectively weakens the influence of image content diversity and contrast on the image sharpness score, and improves the reliability of the sharpness score.
  • the search strategy the variable step length search strategy is adopted in both the coarse focusing and fine focusing processes, which effectively saves the search time and improves the search efficiency.
  • the image contrast may change due to the influence of the acquisition environment during the continuous acquisition process, directly calculating the sharpness of the filtered image will inevitably affect the final evaluation result. Therefore, in the autofocus method of the electron beam measuring equipment in the embodiment of the present application, firstly, the contrast of the image is unified, and the sharpness score is performed on this basis; secondly, the median filter is performed on the image to filter out noise, and the comprehensive Consider the information of each frequency band of the image to highlight the image features; finally, using the local variance as a reference, calculate its correlation with different intervals, and choose the best as the final definition evaluation result, which improves the accuracy of the evaluation results and reduces the image falling into the local maximum. excellent risk.
  • the automatic focus variable step length climbing mountain search also greatly saves the search time and improves the timeliness of automatic focus.
  • the present application also provides an autofocus device based on electron beam measurement equipment. Since the working principle of the autofocus device based on the electron beam measuring equipment provided in the present application is the same or similar to the principle of the autofocus method based on the electron beam measuring equipment of the present application, repeated descriptions will not be repeated here.
  • the autofocus device based on electron beam measurement equipment includes an image acquisition module, a coarse focus module and a fine focus module.
  • the image acquisition module is configured to acquire multiple detection images collected by the current channel in the electron beam measurement device.
  • the coarse focus module is configured to adaptively adjust the coarse focus search step according to the sharpness evaluation results of the multiple detection images, and perform coarse focus on the electron beam measuring device according to the adjusted coarse focus search step to determine the best coarse focus. focus position.
  • the fine focus module is configured to take the best coarse focus position as the search center, collect a preset number of sample images according to the current fine focus search parameters, and evaluate the result according to the sharpness of the collected preset number of sample images Perform a fine-focus search to get focused results.
  • an auto-focus device 200 based on an electron beam measurement device is also provided.
  • the autofocus device 200 based on the electron beam measuring device includes a processor 210 and a memory 220 for storing instructions executable by the processor 210 .
  • the processor 210 is configured to implement any one of the aforementioned autofocus methods based on electron beam measurement equipment when executing executable instructions.
  • processors 210 may be one or more.
  • an input device 230 and an output device 240 may also be included.
  • the processor 210 , the memory 220 , the input device 230 and the output device 240 may be connected through a bus or in other ways, which are not specifically limited here.
  • the memory 220 can be used to store software programs, computer-executable programs and various modules, such as the programs or modules corresponding to the autofocus method based on the electron beam measurement device in the embodiment of the present application.
  • the processor 210 executes various functional applications and data processing of the autofocus device 200 based on the electron beam measuring device by running the software programs or modules stored in the memory 220 .
  • the input device 230 can be used to receive input numbers or signals.
  • the signal may be a key signal related to user setting and function control of the device/terminal/server.
  • the output device 240 may include a display device such as a display screen.
  • a non-volatile computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by the processor 210, any one of the aforementioned electron beam-based Measure the autofocus method of the device.

Landscapes

  • Automatic Focus Adjustment (AREA)

Abstract

The present application relates to an automatic focusing method, apparatus and device based on an electron beam measurement device, and a storage medium. The method comprises: acquiring a plurality of detection images collected by the current channel in an electron beam measurement device; adaptively adjusting a coarse focusing search step according to definition evaluation results of the plurality of detection images, and performing coarse focusing on the electron beam measurement device according to the adjusted coarse focusing search step, so as to determine an optimal coarse focusing position; and taking the optimal coarse focusing position as a search center, collecting a preset number of sample images according to the current fine focusing search parameter, and performing a fine focusing search according to definition evaluation results of the preset number of collected sample images, so as to obtain a focusing result. By means of the present application, coarse focusing during an automatic focusing process of an electron beam measurement device is performed in a variable-step manner, such that a coarse focusing search step used during coarse focusing is more flexible, thereby ultimately effectively improving the automatic focusing efficiency of the electron beam measurement device.

Description

基于电子束量测设备的自动对焦方法和装置、设备及存储介质Autofocus method and device, device and storage medium based on electron beam measuring equipment 技术领域technical field
本申请涉及自动控制和图像处理技术领域,尤其涉及一种基于电子束量测设备的自动对焦方法和装置、设备及存储介质。The present application relates to the technical fields of automatic control and image processing, and in particular to an automatic focusing method and device, device and storage medium based on electron beam measuring equipment.
背景技术Background technique
纳米级电子束量测设备主要是利用扫描电镜的原理实现纳米级成像,并基于图像进行测量和分析,实现关键工艺参数的监控,是芯片制造过程中质量控制的关键设备。电子束量测设备聚焦一般有两种方式,一是通过调节stage Z轴大小进行聚焦,二是通过调节电磁透镜的电流大小进行聚焦。其中,自动聚焦过程就是将该过程自动化,通过自动调整Z坐标的大小或电流值的大小,最终实现扫描电镜的自动聚焦过程。Nano-scale electron beam measurement equipment mainly uses the principle of scanning electron microscope to realize nano-scale imaging, and based on image measurement and analysis, to realize the monitoring of key process parameters, which is the key equipment for quality control in the chip manufacturing process. There are generally two ways to focus the electron beam measurement equipment, one is to focus by adjusting the size of the Z-axis of the stage, and the other is to focus by adjusting the current of the electromagnetic lens. Among them, the automatic focusing process is to automate the process, and finally realize the automatic focusing process of the scanning electron microscope by automatically adjusting the size of the Z coordinate or the size of the current value.
现有的自动聚焦过程主要分为两个核心部分,一是图像清晰度评估,二是搜索策略。其中,聚焦搜索策略直接影响自动对焦的速率。在相关技术中,通常会采用爬山算法搜索策略进行自动对焦。爬山算法搜索策略是基于图像清晰度进行的,其本质是一个图像清晰度寻优的问题。其中,自动聚焦爬山搜索分为粗聚焦和细聚焦两步,粗聚焦和细聚焦过程均采用定步长爬山搜索,这就使得在寻找出最清晰图像位置时需要花费较长的时间,从而使得自动聚焦时长较长,影响了自动聚焦的速率。The existing autofocus process is mainly divided into two core parts, one is image sharpness evaluation, and the other is search strategy. Among them, the focus search strategy directly affects the speed of auto focus. In related technologies, a hill-climbing algorithm search strategy is usually used for auto-focusing. The search strategy of the hill-climbing algorithm is based on image definition, and its essence is a problem of image definition optimization. Among them, the automatic focus hill-climbing search is divided into two steps: coarse focus and fine focus. The autofocus takes a long time, which affects the speed of autofocus.
发明内容Contents of the invention
有鉴于此,本申请提出了一种基于电子束量测设备的自动对焦方法,可以有效提高电子束量测设备的自动对焦速率。In view of this, the present application proposes an autofocus method based on electron beam measurement equipment, which can effectively improve the autofocus speed of electron beam measurement equipment.
根据本申请的一方面,提供了一种基于电子束量测设备的自动对焦方法,包括:According to an aspect of the present application, an automatic focusing method based on an electron beam measuring device is provided, including:
获取电子束量测设备中当前通道所采集到的多张检测图像;Obtain multiple detection images collected by the current channel in the electron beam measurement device;
根据多张所述检测图像的清晰度评估结果自适应调整粗聚焦搜索步长,并根据调整后的所述粗聚焦搜索步长对所述电子束量测设备进行粗聚焦,确定最佳粗聚焦位置;Adaptively adjust the coarse focus search step according to the sharpness evaluation results of the plurality of detected images, and perform coarse focus on the electron beam measuring device according to the adjusted coarse focus search step to determine the best coarse focus Location;
以所述最佳粗聚焦位置为搜索中心,按照当前的细聚焦搜索参数采集预设张数的样品图像,并根据采集到的所述预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到所述聚焦结果。Taking the best coarse focus position as the search center, collect a preset number of sample images according to the current fine focus search parameters, and perform fine focusing according to the sharpness evaluation results of the collected preset number of sample images Search for the focused results.
在一种可能的实现方式中,根据多张所述检测图像的清晰度评估结果自适应调整粗聚焦搜索步长,包括:In a possible implementation manner, the coarse focus search step size is adaptively adjusted according to the sharpness evaluation results of the plurality of detection images, including:
统一各所述检测图像的对比度,并对各所述检测图像进行中值滤波;unifying the contrast of each of the detected images, and performing median filtering on each of the detected images;
对中值滤波后的各所述检测图像进行清晰度评估,得到清晰度评估结果;Carrying out sharpness evaluation on each of the detected images after median filtering to obtain a sharpness evaluation result;
根据所述清晰度评估结果确定所述粗聚焦搜索步长。The coarse focus search step size is determined according to the sharpness evaluation result.
在一种可能的实现方式中,统一各所述检测图像的对比度时,通过对各所述检测图像进行直方图规定化处理进行。In a possible implementation manner, unifying the contrast of each of the detection images is performed by performing a histogram definition process on each of the detection images.
在一种可能的实现方式中,对中值滤波后的各所述检测图像进行清晰度评估,得到清晰度评估结果,包括:In a possible implementation manner, the sharpness evaluation is performed on each of the detected images after median filtering, and the sharpness evaluation result is obtained, including:
对中值滤波后的各所述检测图像进行傅里叶变换,得到各所述检测图像的频谱直方图;performing Fourier transform on each of the detected images after median filtering to obtain a spectrum histogram of each of the detected images;
对各所述频谱直方图进行多区间归一化,并对归一化后的频谱直方图进行逻辑运算,得到各所述检测图像的评估曲线;performing multi-interval normalization on each of the spectrum histograms, and performing logic operations on the normalized spectrum histograms to obtain the evaluation curves of each of the detection images;
基于各所述检测图像的评估曲线,得到所述清晰度评估结果。Based on the evaluation curve of each of the detected images, the definition evaluation result is obtained.
在一种可能的实现方式中,对归一化后的频谱直方图进行逻辑运算的同时,还包括对所述频谱直方图中的图像内容进行高频和低频放大的操作。In a possible implementation manner, performing a logical operation on the normalized spectrum histogram also includes performing a high-frequency and low-frequency amplification operation on the image content in the spectrum histogram.
在一种可能的实现方式中,对归一化后的频谱直方图进行逻辑运算时,包括对归一化后的频谱直方图进行加权求和处理。In a possible implementation manner, performing a logic operation on the normalized spectrum histogram includes performing weighted sum processing on the normalized spectrum histogram.
在一种可能的实现方式中,对各所述检测图像进行中值滤波后,还包括:计算中值滤波后的所述检测图像的平均局部方差曲线;In a possible implementation manner, after performing median filtering on each of the detection images, further comprising: calculating an average local variance curve of the detection images after median filtering;
对应的,基于各所述检测图像的评估曲线得到所述清晰度评估结果,包 括:Correspondingly, the evaluation results of the sharpness are obtained based on the evaluation curves of each of the detected images, including:
计算各所述评估曲线分别与所述平均局部方差曲线的相关性;calculating a correlation of each of said evaluation curves with said mean local variance curve, respectively;
根据计算得到的各所述相关性得到所述清晰度评估结果。The sharpness evaluation result is obtained according to each of the calculated correlations.
在一种可能的实现方式中,根据计算得到的各所述相关性得到所述图像清晰度评估结果时,由各所述相关性中选取出相关性最高的评估曲线作为所述清晰度评估结果。In a possible implementation manner, when the image sharpness evaluation result is obtained according to each of the calculated correlations, the evaluation curve with the highest correlation is selected from each of the correlations as the sharpness evaluation result .
在一种可能的实现方式中,所述细聚焦搜索参数包括细聚焦搜索范围和细聚焦搜索步长中的至少一种。In a possible implementation manner, the fine-focus search parameter includes at least one of a fine-focus search range and a fine-focus search step.
在一种可能的实现方式中,根据采集到的所述预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到所述聚焦结果时,采用变步长方式进行搜索。In a possible implementation manner, when the fine-focus search is performed according to the sharpness evaluation results of the collected sample images of the preset number to obtain the focus result, the search is performed in a variable step size manner.
在一种可能的实现方式中,采用变步长方式根据采集到的所述预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到所述聚焦结果时,包括:In a possible implementation manner, when using a variable step size method to perform a fine-focus search based on the sharpness evaluation results of the collected sample images of the preset number of sheets to obtain the focus result, it includes:
根据当前得到的所述预设张数的样品图像的清晰度评估结果,更新所述细聚焦搜索参数,并以更新后的细聚焦搜索参数重新进行所述预设张数的样品图像的采集,直至重新采集次数达到预设迭代次数后为止。Updating the fine-focus search parameters according to the sharpness evaluation results of the preset number of sample images currently obtained, and re-acquisition of the preset number of sample images with the updated fine-focus search parameters, Until the number of re-acquisitions reaches the preset number of iterations.
在一种可能的实现方式中,根据采集到的所述预设张数的样品图像的清晰度评估结果进行细聚焦搜索时,基于所述预设张数的样品图像的清晰度评估结果的变化趋势进行;In a possible implementation manner, when the fine-focus search is performed according to the collected sharpness evaluation results of the preset number of sample images, changes in the sharpness evaluation results based on the preset number of sample images the trend goes on;
其中,所述预设张数的样品图像的清晰度评估结果的变化趋势包括单调递增、单调递减和清晰度曲线呈二次拟合中的至少一种;Wherein, the change trend of the sharpness evaluation results of the preset number of sample images includes at least one of monotonically increasing, monotonically decreasing, and quadratic fitting of the sharpness curve;
在所述预设张数的样品图像的清晰度评估结果的变化趋势为单调递增时进行前向搜索,更新搜索范围并基于更新后的搜索范围进行所述预设张数的样品图像的重新采集;When the change trend of the sharpness evaluation results of the preset number of sample images is monotonically increasing, perform a forward search, update the search range and re-acquire the preset number of sample images based on the updated search range ;
在所述预设张数的样品图像的清晰度评估结果的变化趋势为单调递减时进行后向搜索,更新搜索范围并基于更新后的搜索范围进行所述预设张数的样品图像的重新采集;Perform a backward search when the change trend of the definition evaluation results of the preset number of sample images is monotonically decreasing, update the search range and re-acquire the preset number of sample images based on the updated search range ;
在所述预设张数的样品图像的清晰度评估结果的变化趋势为清晰度曲线呈二次拟合时,根据拟合曲线的开口方向更新细聚焦搜索参数,并基于更新后的细聚焦搜索参数进行所述预设张数的样品图像的重新采集。When the change trend of the sharpness evaluation results of the preset number of sample images is that the sharpness curve is quadratic fitting, the fine focus search parameters are updated according to the opening direction of the fitted curve, and based on the updated fine focus search parameter to perform reacquisition of the preset number of sample images.
根据本申请的另一方面,还提供了一种基于电子束量测设备的自动对焦装置,包括图像获取模块、粗聚焦模块和细聚焦模块;According to another aspect of the present application, there is also provided an automatic focusing device based on electron beam measuring equipment, including an image acquisition module, a coarse focusing module and a fine focusing module;
所述图像获取模块,被配置为获取电子束量测设备中当前通道所采集到的多张检测图像;The image acquisition module is configured to acquire multiple detection images collected by the current channel in the electron beam measurement device;
所述粗聚焦模块,被配置为根据多张所述检测图像的清晰度评估结果自适应调整粗聚焦搜索步长,并根据调整后的所述粗聚焦搜索步长对所述电子束量测设备进行粗聚焦,确定最佳粗聚焦位置;The coarse focus module is configured to adaptively adjust the coarse focus search step size according to the sharpness evaluation results of the plurality of detection images, and adjust the electron beam measurement device according to the adjusted coarse focus search step size Carry out coarse focus and determine the best coarse focus position;
所述细聚焦模块,被配置为以所述最佳粗聚焦位置为搜索中心,按照当前的细聚焦搜索参数采集预设张数的样品图像,并根据采集到的所述预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到所述聚焦结果。The fine focusing module is configured to take the best coarse focus position as the search center, collect a preset number of sample images according to the current fine focus search parameters, and collect samples according to the preset number of samples collected. The sharpness evaluation result of the image is subjected to a fine focus search to obtain the focus result.
根据本申请的另一方面,还提供了一种基于电子束量测设备的自动对焦设备,包括:According to another aspect of the present application, an autofocus device based on an electron beam measurement device is also provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为执行所述可执行指令时实现前面任一所述的方法。Wherein, the processor is configured to implement any one of the aforementioned methods when executing the executable instructions.
根据本申请的另一方面,还提供了一种非易失性计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现前面任一所述的方法。According to another aspect of the present application, there is also provided a non-volatile computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any one of the aforementioned methods is implemented.
通过获取电子束量测设备的当前通道所采集到的多张检测图像,然后根据多张检测图像的清晰度评估结果自适应调整粗聚焦搜索步长,并根据调整后的粗聚焦搜索步长对电子束量测设备进行粗聚焦,确定最佳粗聚焦位置。进而再以最佳粗聚焦位置为搜索中心,按照当前的细聚焦搜索参数采集预设张数的样品图像,最后再根据采集到的预设张数的样品图像的清晰度评估结 果进行细聚焦搜索得到聚焦结果,这就实现了采用变步长的方式进行电子束量测设备自动对焦过程中的粗聚焦,使得在进行粗聚焦时所使用的粗聚焦搜索步长更加灵活,最终有效提高了电子束量测设备的自动对焦效率。By acquiring multiple detection images collected by the current channel of the electron beam measurement equipment, and then adaptively adjust the coarse focus search step according to the sharpness evaluation results of the multiple detection images, and adjust the coarse focus search step according to the adjusted coarse focus search step Electron beam measuring equipment performs coarse focusing to determine the best coarse focus position. Then take the best coarse focus position as the search center, collect a preset number of sample images according to the current fine focus search parameters, and finally perform a fine focus search according to the sharpness evaluation results of the collected preset number of sample images The focus result is obtained, which realizes the coarse focus in the autofocus process of the electron beam measurement equipment by adopting a variable step size, which makes the coarse focus search step used in the coarse focus more flexible, and finally effectively improves the electron beam. Autofocus efficiency of the beam measurement device.
根据下面参考附图对示例性实施例的详细说明,本申请的其它特征及方面将变得清楚。Other features and aspects of the present application will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本申请的示例性实施例、特征和方面,并且用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the application and, together with the specification, serve to explain the principles of the application.
图1示出本申请实施例的基于电子束量测设备的自动对焦方法的流程图;Fig. 1 shows the flow chart of the autofocus method based on the electron beam measurement equipment of the embodiment of the present application;
图2示出本申请实施例的基于电子束量测设备的自动对焦方法中进行图像清晰度评估的流程图;Fig. 2 shows the flow chart of image sharpness evaluation in the autofocus method based on electron beam measuring equipment according to the embodiment of the present application;
图3示出本申请实施例的基于电子束量测设备的自动对焦方法的另一流程图;Fig. 3 shows another flow chart of the autofocus method based on the electron beam measuring equipment of the embodiment of the present application;
图4示出本申请实施例的基于电子束量测设备的自动对焦装置的结构框图;Fig. 4 shows the structural block diagram of the autofocus device based on the electron beam measurement equipment of the embodiment of the present application;
图5示出本申请实施例的基于电子束量测设备的自动对焦设备的结构框图。FIG. 5 shows a structural block diagram of an autofocus device based on an electron beam measurement device according to an embodiment of the present application.
具体实施方式Detailed ways
以下将参考附图详细说明本申请的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
另外,为了更好的说明本申请,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本申请同样可以 实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本申请的主旨。In addition, in order to better illustrate the present application, numerous specific details are given in the following specific implementation manners. It will be understood by those skilled in the art that this application may be practiced without certain of the specific details. In some instances, methods, means, components and circuits well known to those skilled in the art have not been described in detail in order to highlight the gist of the present application.
图1示出根据本申请一实施例的基于电子束量测设备的自动对焦方法的流程图。如图1所示,该方法包括:步骤S100,获取电子束量测设备中当前通道所采集到的多张检测图像。此处,需要说明的是,在本申请实施例的电子束量测设备主要指的是纳米级电子束量测设备,如可以为扫描电镜,具体为CD-SEM(Critical Dimension SEM)。CD-SEM是芯片制造过程中质量控制的关键设备,可用于纳米级的硅片图形的测量和分析,实现关键工艺参数的监控。其中,本领域技术人员可以理解的是,在采用电子束量测设备进行硅片图形的测量和分析时,通常是由电子束量测设备中探测器的某一通道进行被检测样品的图像采集,然后基于采集到的图像进行相应的缺陷检测。FIG. 1 shows a flowchart of an autofocus method based on an electron beam measuring device according to an embodiment of the present application. As shown in FIG. 1 , the method includes: Step S100 , acquiring a plurality of detection images collected by a current channel in an electron beam measurement device. Here, it should be noted that the electron beam measurement equipment in the embodiment of the present application mainly refers to nanoscale electron beam measurement equipment, such as a scanning electron microscope, specifically a CD-SEM (Critical Dimension SEM). CD-SEM is a key equipment for quality control in the chip manufacturing process. It can be used for the measurement and analysis of nano-scale silicon wafer patterns, and realizes the monitoring of key process parameters. Among them, those skilled in the art can understand that when electron beam measurement equipment is used to measure and analyze silicon wafer patterns, usually a certain channel of the detector in the electron beam measurement equipment is used to collect the image of the sample to be tested. , and then perform corresponding defect detection based on the collected images.
在获取到电子束量测设备当前通道采集到的多张检测图像之后,即可执行步骤S200,根据多张检测图像的清晰度评估结果自适应调整粗聚焦搜索步长,并根据调整后的粗聚焦搜索步长对电子束量测设备进行粗聚焦,确定最佳粗聚焦位置。然后,再通过步骤S300,以最佳粗聚焦位置为搜索中心,按照当前的粗聚焦搜索参数采集预设张数的样品图像,并根据采集到的预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到聚焦结果。After the multiple detection images collected by the current channel of the electron beam measuring device are obtained, step S200 can be executed to adaptively adjust the coarse focus search step according to the sharpness evaluation results of the multiple detection images, and according to the adjusted coarse The focus search step performs coarse focus on the electron beam measuring equipment, and determines the best coarse focus position. Then, through step S300, take the best coarse focus position as the search center, collect a preset number of sample images according to the current coarse focus search parameters, and evaluate the result according to the sharpness of the collected preset number of sample images Perform a fine-focus search to get focused results.
其中,需要说明的是,在本本申请实施例的方法中,细聚焦搜索参数包括细聚焦搜索范围和细聚焦搜索步长中的至少一种。本领域技术人员可以理解的是,细聚焦搜索步长指的是在细聚焦过程中进行样品图像采样时的采样频率,细聚焦搜索范围则指的是细聚焦过程中所确定的样品采集时电子束量测设备的电流值的取值范围。Wherein, it should be noted that, in the method of the embodiment of the present application, the fine-focus search parameter includes at least one of a fine-focus search range and a fine-focus search step. Those skilled in the art can understand that the fine focus search step refers to the sampling frequency when sampling the image of the sample during the fine focus process, and the fine focus search range refers to the electron frequency when the sample is collected during the fine focus process. The value range of the current value of the beam measuring device.
由此,本申请实施例的方法,在电子束量测设备的自动对焦过程中,通过获取电子束量测设备的当前通道所采集到的多张检测图像,然后根据多张检测图像的清晰度评估结果自适应调整粗聚焦搜索步长,并根据调整后的粗聚焦搜索步长对电子束量测设备进行粗聚焦,确定最佳粗聚焦位置。进而再以最佳粗聚焦位置为搜索中心,按照当前的细聚焦搜索参数采集预设张数的 样品图像,最后再根据采集到的预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到聚焦结果,这就实现了采用变步长的方式进行电子束量测设备自动对焦过程中的粗聚焦,使得在进行粗聚焦时所使用的粗聚焦搜索步长更加灵活,最终有效提高了电子束量测设备的自动对焦效率。Therefore, in the method of the embodiment of the present application, during the auto-focusing process of the electron beam measurement equipment, multiple detection images collected by the current channel of the electron beam measurement equipment are obtained, and then according to the clarity of the multiple detection images The evaluation results adaptively adjust the coarse focus search step, and perform coarse focus on the electron beam measuring equipment according to the adjusted coarse focus search step, and determine the best coarse focus position. Then take the best coarse focus position as the search center, collect a preset number of sample images according to the current fine focus search parameters, and finally perform a fine focus search according to the sharpness evaluation results of the collected preset number of sample images The focus result is obtained, which realizes the coarse focus in the autofocus process of the electron beam measurement equipment by adopting a variable step size, which makes the coarse focus search step used in the coarse focus more flexible, and finally effectively improves the electron beam. Autofocus efficiency of the beam measurement device.
需要说明的是,根据多张检测图像的清晰度评估结果自适应调整粗聚焦搜索步长时,需要先对多张检测图像进行清晰度评估。在一种可能的实现方式中,可以通过以下方式来实现。It should be noted that when the coarse focus search step is adaptively adjusted according to the sharpness evaluation results of multiple detection images, it is necessary to perform sharpness evaluation on the multiple detection images first. In a possible implementation manner, it may be implemented in the following manner.
首先,统一各检测图像的对比度,并对各检测图像进行中值滤波。然后,对中值滤波后的各检测图像进行清晰度评估,得到第一清晰度评估结果。进而再根据第一清晰度评估结果确定粗聚焦搜索步长。First, the contrast of each detected image is unified, and median filtering is performed on each detected image. Then, sharpness evaluation is performed on each detected image after median filtering to obtain a first sharpness evaluation result. Further, the coarse focus search step is determined according to the first sharpness evaluation result.
具体的,统一各检测图像的对比度时可以通过对各检测图像进行直方图规定化来实现。其中,对各检测图像进行直方图规定化可以采用本领域的常规技术手段来实现,此处不再进行赘述。Specifically, unifying the contrast of each detection image can be realized by defining the histogram of each detection image. Wherein, the histogram specification of each detection image can be realized by conventional technical means in the field, and details will not be repeated here.
同时,对中值滤波后的各检测图像进行清晰度评估,得到清晰度评估结果,则可以通过对中值滤波后的各检测图像进行傅里叶变换,得到各检测图像的频谱直方图,然后对各频谱直方图进行多区间归一化,并对归一化后的频谱直方图进行逻辑运算,得到各检测图像的评估曲线。最后,再基于各检测图像的评估曲线,得到清晰度评估结果。At the same time, each detection image after median filtering is evaluated for sharpness to obtain the sharpness evaluation result, then the spectral histogram of each detection image can be obtained by performing Fourier transform on each detection image after median filtering, and then Multi-interval normalization is performed on each spectrum histogram, and logical operation is performed on the normalized spectrum histogram to obtain the evaluation curve of each detection image. Finally, based on the evaluation curves of each detected image, the sharpness evaluation result is obtained.
此处,需要说明的是,对各频谱直方图进行多区间归一化处理时,区间的划分可以根据实际情况灵活设置,此处不对其进行具体限定。对归一化后的频谱直方图进行逻辑运算可以包括对归一化后的频谱直方图进行加权求和的处理方式。即,通过对频谱直方图各区间归一化处理后的结果进行加权求和处理。其中,对归一化后的频谱直方图进行加权求和可以采用本领域常规的加权求和算法来实现,此处也不再进行赘述。Here, it should be noted that when the multi-interval normalization processing is performed on each spectrum histogram, the division of the intervals can be flexibly set according to the actual situation, which is not specifically limited here. Performing a logical operation on the normalized spectrum histogram may include performing weighted summation on the normalized spectrum histogram. That is, weighted summation is performed on the normalized results of each interval of the spectrum histogram. Wherein, the weighted summation of the normalized spectrum histograms may be implemented by using a conventional weighted summation algorithm in the field, which will not be repeated here.
此外,还应当指出的是,在对归一化后的频谱直方图进行逻辑运算时,还包括对频谱直方图中的图像内容进行高频和低频放大的操作。通过对各检测图像的频谱直方图中的图像信息进行高频和低频放大处理,有效地提取了 图像特征丰富度,使得在对各检测图像进行清晰度评估时更加准确。In addition, it should also be noted that when performing logical operations on the normalized spectrum histogram, it also includes performing high-frequency and low-frequency amplification operations on image content in the spectrum histogram. By performing high-frequency and low-frequency amplification processing on the image information in the spectrum histogram of each detection image, the richness of image features is effectively extracted, making it more accurate to evaluate the sharpness of each detection image.
进一步地,在对各检测图像进行中值滤波后,还包括计算中值滤波后的检测图像的平均局部方差曲线。相应的,在基于各检测图像的评估曲线得到清晰度评估结果时,则包括:计算各评估曲线分别与平均局部方差曲线的相关性,然后再根据计算得到的各相关性得到图像清晰度评估结果。Further, after median filtering is performed on each detected image, the method further includes calculating an average local variance curve of the detected images after median filtering. Correspondingly, when the sharpness evaluation result is obtained based on the evaluation curves of each detected image, it includes: calculating the correlation between each evaluation curve and the average local variance curve, and then obtaining the image sharpness evaluation result according to the calculated correlations .
在一种可能的实现方式中,根据计算得到的各相关性得到清晰度评估结果时,可以通过由各相关性中选取出相关性最高的评估曲线作为清晰度评估结果。In a possible implementation manner, when the sharpness evaluation result is obtained according to the calculated correlations, an evaluation curve with the highest correlation may be selected from the correlations as the sharpness evaluation result.
为了更清楚地说明本申请实施例中进行粗聚焦的过程,以下以一具体实施例进行更加详细地说明。In order to more clearly illustrate the coarse focusing process in the embodiment of the present application, a specific embodiment will be used to describe in more detail below.
参阅图2,在本申请实施例的方法中,在通过步骤S100,获取到电子束量测设备当前通道采集到的N张检测图像之后,即可执行步骤S210,对获取到的N张检测图像分别进行直方图规定化,然后通过步骤S220,对直方图规定化的检测图像进行中值滤波,接着通过步骤S231,对经过直方图规定化处理和中值滤波后的检测图像进行傅里叶变换,得到相应的频谱直方图,并依次通过步骤S232,将得到的各检测图像的频谱直方图中的频谱分别归一化到多个区间,并通过步骤S233,对归一化后的频谱直方图进行加权求和,进而通过步骤S234,得到各检测图像的评估曲线。Referring to Fig. 2, in the method of the embodiment of the present application, after obtaining the N detection images collected by the current channel of the electron beam measuring equipment through step S100, step S210 can be executed to perform the N detection images obtained Carry out the histogram specification respectively, then through step S220, carry out median filtering on the detection image with the histogram specification, then through step S231, perform Fourier transform on the detection image after the histogram specification processing and median filtering , to obtain the corresponding spectrum histogram, and through step S232 in turn, the spectrum in the spectrum histogram of each detection image obtained is normalized to a plurality of intervals respectively, and through step S233, the normalized spectrum histogram Weighted summation is performed, and then through step S234, an evaluation curve of each detected image is obtained.
同时,参阅图2,在对直方图规定化后的检测图像进行中值滤波之后,还包括步骤S230’,对中值滤波后的检测图像进行平均局部方差计算,得到相应的参考分数曲线。At the same time, referring to FIG. 2 , after performing median filtering on the detection image after histogram specification, step S230' is also included to calculate the average local variance on the detection image after median filtering to obtain a corresponding reference score curve.
然后,再通过步骤S240,对所得到的评估分数曲线和参考分数曲线进行归一化,并通过步骤S250,计算各评估分数曲线分别与参考分数曲线的相关性。此处,需要指出的是,在计算各评估分数曲线与参考分数曲线的相关性时,可以采用本领域常规的相关性计算方式来实现,此处不再进行赘述。Then, through step S240, the obtained evaluation score curve and reference score curve are normalized, and through step S250, the correlation between each evaluation score curve and the reference score curve is calculated. Here, it should be pointed out that, when calculating the correlation between each evaluation score curve and the reference score curve, it can be realized by using a conventional correlation calculation method in the art, which will not be repeated here.
进而再通过步骤S260,由计算得到的各相关性中选取出相关性最高的评估分数曲线作为最终图像清晰度评估结果。最后,再执行步骤S270,输出相 关性最高的一组评估分数曲线。Further, through step S260, the evaluation score curve with the highest correlation is selected from the calculated correlations as the final image definition evaluation result. Finally, step S270 is executed again to output a set of evaluation score curves with the highest correlation.
通过以上步骤即可完成对采集到的N张检测图像的清晰度评估,得到相应的清晰度评估结果。然后再根据所得到的清晰度评估结果确定相应的粗聚焦搜索步长,最后再根据确定的粗聚焦搜索步长进行粗聚焦搜索,以确定最佳粗聚焦位置。Through the above steps, the sharpness evaluation of the collected N detection images can be completed, and a corresponding sharpness evaluation result can be obtained. Then, the corresponding coarse focus search step is determined according to the obtained sharpness evaluation result, and finally the coarse focus search is performed according to the determined coarse focus search step, so as to determine the best coarse focus position.
此处,应当指出的是,在根据确定的粗聚焦搜索步长进行粗聚焦搜索时直接采用穷举搜索方式即可,此处不再进行赘述。Here, it should be pointed out that the exhaustive search method can be used directly when performing the coarse focus search according to the determined coarse focus search step size, and details will not be described here.
更进一步地,在通过以上任一所述方式完成对电子束量测设备的粗聚焦过程,确定相应的最佳粗聚焦位置之后,即可对电子束量测设备进行细聚焦搜索,从而最终实现电子束量测设备的自动聚焦。Furthermore, after completing the coarse focusing process of the electron beam measuring equipment through any of the above methods, and determining the corresponding best coarse focusing position, the electron beam measuring equipment can be searched for fine focusing, so as to finally realize Automatic focusing of electron beam measuring equipment.
具体的,在本申请实施例的方法中,在确定最佳粗聚焦位置后,对电子束量测设备进行细聚焦的过程主要包括:首先,以最佳粗聚焦位置为搜索中心,按照当前的细聚焦搜索参数采集预设张数的样品图像。然后再根据采集到的预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到聚焦结果。Specifically, in the method of the embodiment of the present application, after the optimal coarse focus position is determined, the process of fine-focusing the electron beam measurement equipment mainly includes: first, taking the best coarse focus position as the search center, according to the current The fine focus search parameter captures a preset number of sample images. Then, according to the sharpness evaluation results of the collected preset number of sample images, a fine focus search is performed to obtain the focus result.
其中,根据采集到的预设张数的样品图像的清晰度评估结果进行细聚焦搜索的过程可以采用变步长方式来进行的。具体的,在采用变步长方式进行细聚焦搜索时,则可以通过迭代的方式来实现。Wherein, the process of performing the fine-focus search according to the sharpness evaluation results of the collected preset number of sample images can be carried out in a variable step size manner. Specifically, when the variable step size method is used to perform fine-focus search, it can be implemented in an iterative manner.
即,根据当前得到的预设张数的样品图像的清晰度评估结果,更新细聚焦搜索参数,并以更新后的细聚焦搜索参数重新进行预设张数的样品图像的采集,直至重新采集次数达到预设迭代次数后为止。That is, according to the sharpness evaluation results of the preset number of sample images currently obtained, the fine-focus search parameters are updated, and the preset number of sample images are re-collected with the updated fine-focus search parameters until the number of re-acquisitions until the preset number of iterations is reached.
同时,根据前面所述,在本申请实施例的方法中,细聚焦搜索参数包括细聚焦搜索范围和细聚焦搜索步长中的至少一种。在进行细聚焦搜索参数的更新时,根据当前得到的预设张数的样品图像的清晰度评估结果进行,从而使得本申请实施例的方法中,在对电子束量测设备进行细聚焦搜索时同样也能够采用变步长的方式,这也就更进一步地提高了设备聚焦的速率。Meanwhile, according to the foregoing, in the method of the embodiment of the present application, the fine-focus search parameter includes at least one of a fine-focus search range and a fine-focus search step. When performing an update of the fine-focus search parameters, it is performed according to the sharpness evaluation results of the preset number of sample images currently obtained, so that in the method of the embodiment of the present application, when performing a fine-focus search on the electron beam measuring device It is also possible to adopt a variable step size method, which further improves the focusing speed of the device.
同时,还需要说明的是,在对采集到的预设张数的样品图像进行清晰度评估时可以采用前面所述的清晰度评估方式,此处不再进行赘述。At the same time, it should also be noted that the sharpness evaluation method described above can be used when evaluating the sharpness of the collected sample images with a preset number of sheets, which will not be repeated here.
另外,在根据采集到的预设张数的样品图像的清晰度评估结果进行细聚焦搜索时,则可以基于预设张数的样品图像的清晰度评估结果的变化趋势进行。其中,预设张数的样品图像的清晰度评估结果的变化趋势包括单调递增、单调递减和清晰度曲线呈二次拟合中的至少一种。In addition, when the fine-focus search is performed according to the sharpness evaluation results of the collected preset number of sample images, it may be performed based on the change trend of the sharpness evaluation results of the preset number of sample images. Wherein, the change trend of the sharpness evaluation results of the preset number of sample images includes at least one of monotonically increasing, monotonically decreasing, and quadratic fitting of the sharpness curve.
具体的,在预设张数的样品图像的清晰度评估结果的变化趋势为单调递增时进行前向搜索,更新搜索范围并基于更新后的搜索范围进行预设张数的样品图像的重新采集。Specifically, when the change trend of the definition evaluation results of the preset number of sample images is monotonously increasing, the forward search is performed, the search range is updated, and the preset number of sample images are re-acquired based on the updated search range.
在预设张数的样品图像的清晰度评估结果的变化趋势为单调递减时进行后向搜索,更新搜索范围并基于更新后的搜索范围进行预设张数的样品图像的重新采集。When the change trend of the sharpness evaluation results of the preset number of sample images is monotonically decreasing, the backward search is performed, the search range is updated, and the preset number of sample images is re-acquired based on the updated search range.
在预设张数的样品图像的清晰度评估结果的变化趋势为清晰度曲线呈二次拟合时,根据拟合曲线的开口方向更新细聚焦搜索参数,并基于更新后的细聚焦搜索参数进行预设张数的样品图像的重新采集。When the change trend of the sharpness evaluation results of the preset number of sample images is that the sharpness curve is quadratic fitting, the fine focus search parameters are updated according to the opening direction of the fitted curve, and the fine focus search parameters are updated based on the updated fine focus search parameters. Reacquisition of a preset number of sample images.
此处,需要说明的是,拟合曲线的开口方向分为向上开口和向下开口。在拟合曲线的开口方向向上时,则以当前评估出的最清晰的位置为中心,更新细聚焦搜索范围和细聚焦搜索步长进行预设张数的样品图像的再次采集。在拟合曲线的开口方向向下时,则以二次函数对称轴位置为中心,更新细聚焦搜索范围和细聚焦搜索步长进行预设张数的样品图像的再次采集。Here, it should be noted that the opening direction of the fitting curve is divided into upward opening and downward opening. When the opening direction of the fitting curve is upward, the fine focus search range and the fine focus search step are updated with the currently evaluated clearest position as the center, and a preset number of sample images are collected again. When the opening direction of the fitting curve is downward, centering on the position of the symmetry axis of the quadratic function, the fine focus search range and the fine focus search step are updated to re-acquire a preset number of sample images.
举例来说,若采集图像为5,清晰度评估曲线开口向上,假设最清晰的位置为2,该处电流值为L,则以第2张图像所在电流值为中心,更新搜索步长(一般情况下取前次步长step的1.5倍),更新搜索范围L±2*1.5*step。For example, if the acquired image is 5, the sharpness evaluation curve opens upward, assuming that the clearest position is 2, and the current value at this position is L, then the current value of the second image is centered, and the search step is updated (generally Under the circumstances, take 1.5 times of the previous step size), and update the search range L±2*1.5*step.
对应的,若集图像为5,清晰度评估曲线开口向下,假设最清晰的位置为3,该处电流值为L,则以第3张图像所在电流值为中心,更新搜索范围L±step,更新步长为2*step/4。Correspondingly, if the set image is 5, the sharpness evaluation curve opens downward, assuming that the clearest position is 3, and the current value at this position is L, then the current value of the third image is centered, and the search range L±step is updated , the update step size is 2*step/4.
其中,本领域技术人员可以理解的是,在清晰度评估结果的变化趋势为单调递增时所进行的前向搜索指的是以单调递增的曲线中最大值所在位置处对应的图像的电流值为起点沿曲线递增方向,按照更新后的细聚焦搜索范 围和细聚焦搜索步长进行预设张数的样品图像的再次采集。此处,应当说明的是,在更新细聚焦搜索参数时,只需要更新细聚焦搜索范围,细聚焦搜索步长保持初始步长不变。Among them, those skilled in the art can understand that, when the change trend of the sharpness evaluation result is monotonically increasing, the forward search refers to the current value of the image corresponding to the position of the maximum value in the monotonically increasing curve. The starting point is along the increasing direction of the curve, and a preset number of sample images are collected again according to the updated fine focus search range and fine focus search step. Here, it should be noted that when updating the fine-focus search parameters, only the fine-focus search range needs to be updated, and the fine-focus search step remains unchanged from the initial step.
举例来说,若采集图像数为5,清晰度评估曲线单调递增,假设最清晰的位置为5,该处电流值为L,则以第5张图像所在电流值为起点,固定步长,更新搜索范围L~(L+4*step)。For example, if the number of collected images is 5, the sharpness evaluation curve increases monotonically, assuming that the clearest position is 5, and the current value at this position is L, then the current value of the fifth image is the starting point, with a fixed step size, and updates The search range is L~(L+4*step).
在清晰度评估结果的变化趋势为单调递减时所进行的后向搜索则指的是以单调递减的曲线中最小值所在位置处对应的图像的电流值为起点沿曲线递减方向的反向,按照更新后的细聚焦搜索范围和细聚焦搜索步长进行预设张数的样品图像的再次采集。此处,应当说明的是,在更新细聚焦搜索参数时,同样只需要更新细聚焦搜索范围,细聚焦搜索步长保持初始步长不变。举例来说,若采集图像数量为5帧,清晰度评估曲线单调递减,假设最清晰的位置为1,该处电流值为L,则以第1帧图像所在电流值为起点,固定步长,更新搜索范围:(L-4*step)~L。When the change trend of the definition evaluation result is monotonically decreasing, the backward search refers to the current value of the image corresponding to the position of the minimum value in the monotonically decreasing curve. The updated fine focus search range and fine focus search step are used to re-acquire a preset number of sample images. Here, it should be noted that when updating the fine-focus search parameters, only the fine-focus search range needs to be updated, and the fine-focus search step remains unchanged from the initial step. For example, if the number of captured images is 5 frames, and the sharpness evaluation curve is monotonically decreasing, assuming that the clearest position is 1, and the current value at this position is L, then the current value of the first frame image is the starting point, with a fixed step size, Update the search range: (L-4*step)~L.
为了更清楚地说明本申请实施例的基于电子束量测设备的自动对焦方法,以下以一具体实施例进行更加详细和完整地说明。In order to more clearly illustrate the auto-focus method based on the electron beam measurement device of the embodiment of the present application, a specific embodiment will be used as a more detailed and complete description below.
参阅图3,首先通过步骤S001,设置参数,具体包括:最大迭代次数t,细聚焦初始搜索步长以及细聚焦搜索范围。Referring to FIG. 3 , firstly, through step S001 , parameters are set, specifically including: the maximum number of iterations t, the initial search step size of the fine focus, and the search range of the fine focus.
然后,通过步骤S100,获取电子束量测设备当前通道采集到的一定数量的检测图像。进而再通过步骤S200,对采集到的各检测图像进行清晰度评估,得到相应的清晰度评估结果,并根据所得到的清晰度评估结果确定相应的粗聚焦搜索步长,按照所确定的粗聚焦搜索步长进行粗聚焦搜索操作。具体的,基于穷举搜索,进行各帧样品图像的清晰度评分,并根据相邻图像的清晰度评分变化率,自适应调整搜索步长,确定最佳粗聚焦位置。Then, through step S100, a certain number of detection images collected by the current channel of the electron beam measuring device are acquired. Then, through step S200, the sharpness evaluation is performed on each of the collected detection images to obtain the corresponding sharpness evaluation results, and the corresponding coarse focus search step is determined according to the obtained sharpness evaluation results, and according to the determined coarse focus The search step size performs a coarse focus search operation. Specifically, based on the exhaustive search, the sharpness score of each frame sample image is performed, and according to the change rate of the sharpness score of adjacent images, the search step is adaptively adjusted to determine the best coarse focus position.
然后,再通过步骤S310,以当前最佳粗聚焦位置为搜索中心,设置细聚焦搜索范围,在设定的细聚焦搜索范围内进行细聚焦搜索,进而再执行步骤 S320,初始化迭代次数t=0。Then, through step S310, set the fine focus search range with the current best coarse focus position as the search center, and perform fine focus search within the set fine focus search range, and then execute step S320, and initialize the number of iterations t=0 .
步骤S330,以初始设置的细聚焦搜索步长采集预设张数(nums)的样品图像,并通过步骤S340,对各帧图像进行清晰度评估(具体的图像清晰度评估流程可参见图2所示),得到清晰度评估结果。Step S330, collect a preset number (nums) of sample images with the initially set fine-focus search step, and perform a sharpness evaluation on each frame of images through step S340 (see Figure 2 for the specific image sharpness evaluation process. shown), to obtain the clarity evaluation results.
然后,再通过步骤S351,判断所得到的清晰度评估结果(即,各帧图像的清晰度结果按照帧排序的变化曲线)是否呈单调递增趋势。在判断出所得到的清晰度评估结果呈单调递增趋势时,则执行步骤S361,以单调递增的清晰度评估结果中的最大值为起点进行前向搜索。在判断出所得到的清晰度评估结果不是呈单调递增趋势时,则通过步骤S352,判断清晰度评估结果是否呈单调递减趋势。在判断出清晰度评估结果呈单调递减趋势时,则执行步骤S362,以单调递减的清晰度评估结果中的最小值为起点进行后向搜索。在通过上述步骤确定再次进行细聚焦搜索的方向后,即可执行步骤S371,更新细聚焦搜索范围,并保持细聚焦搜索步长不变。Then, through step S351 , it is judged whether the obtained sharpness evaluation result (that is, the change curve of the sharpness results of each frame image according to the order of frames) shows a monotonous increasing trend. When it is determined that the obtained sharpness evaluation results show a monotonically increasing trend, step S361 is executed, and a forward search is performed starting from the maximum value among the monotonically increasing sharpness evaluation results. When it is judged that the obtained sharpness evaluation result is not in a monotonous increasing trend, then step S352 is used to determine whether the sharpness evaluation result is in a monotonous decreasing trend. When it is determined that the sharpness evaluation results show a monotonically decreasing trend, step S362 is executed, and a backward search is performed with the minimum of the monotonically decreasing sharpness evaluation results as the starting point. After the direction to perform the fine-focus search again is determined through the above steps, step S371 can be executed to update the fine-focus search range and keep the fine-focus search step unchanged.
在通过步骤S352,判断出清晰度评估结果呈二次曲线拟合时,则通过步骤S363,判断二次拟合曲线的开口是否向上。在判断出开口向上时,则执行步骤S373,以最清晰位置为中心更新细聚焦搜索范围,同时更新细聚焦搜索步长。在判断出开口向下时,则执行步骤S372,以对称轴位置为中心更新细聚焦搜索范围,同时更新细聚焦搜索步长。When it is determined through step S352 that the sharpness evaluation result is a quadratic curve fitting, then through step S363 it is determined whether the opening of the quadratic fitting curve is upward. When it is judged that the opening is upward, step S373 is executed to update the fine focus search range centered on the clearest position, and at the same time update the fine focus search step. When it is judged that the opening is downward, step S372 is executed to update the fine focus search range centered on the position of the symmetry axis, and at the same time update the fine focus search step.
即,根据清晰度评估结果大致分为以下3种情形:That is, according to the clarity evaluation results, it can be roughly divided into the following three situations:
case1.清晰度曲线单调递增,则前向搜索,更新搜索范围;case1. The sharpness curve increases monotonically, then search forward and update the search range;
case2.清晰度曲线单调递减,则后向搜索,更新搜索范围;case2. The sharpness curve is monotonically decreasing, then search backward and update the search range;
case3.清晰度曲线二次拟合,若开口向上,则当前评估最清晰的位置为中心,更新搜索范围和搜索步长,反之,则以二次函数对称轴位置为中心,更新搜索范围和搜索步长。case3. Quadratic fitting of the sharpness curve. If the opening is upward, the currently evaluated clearest position will be the center, and the search range and search step will be updated. Otherwise, the search range and search will be updated based on the position of the symmetry axis of the quadratic function. step size.
同时,在更新细聚焦搜索参数后,并通过步骤S380,对当前计数的迭代次数进行判断,若t<最大迭代次数,则执行步骤S391,对所设置的迭代次数t进行计数(t=t+1),并返回S330进行再次样品图像的采集并进行细聚焦搜索; 反之,迭代结束,通过步骤S392,迭代结束,输出聚焦结果。Simultaneously, after updating the fine focus search parameters, and through step S380, the iteration number of the current count is judged, if t<maximum iteration number, then execute step S391, the iteration number t set is counted (t=t+ 1), and return to S330 to collect the sample image again and perform a fine focus search; otherwise, the iteration ends, through step S392, the iteration ends, and the focus result is output.
由此,本申请实施例的方法,通过对图像清晰度评估函数和搜索策略的改进,提出了一种全新的电子束量测设备的自动对焦方法,在图像清晰度评估上,通过对图像进行直方图规定化和中值滤波等处理,在一定程度上统一了图像的对比度,滤除图像多余噪声,突出图像的特征。同时,还以图像局部方差曲线为参考依据,校正最终评估结果,这就有效减弱了图像内容多样性及对比度对图像清晰度评分的影响,提高了清晰度评分可靠性。在搜索策略上通过粗聚焦和细聚焦过程均采用变步长搜索策略,有效节省了搜索时间,提升了搜索效率。Therefore, the method of the embodiment of the present application proposes a brand-new autofocus method for electron beam measuring equipment by improving the image sharpness evaluation function and search strategy. The processing such as histogram specification and median filtering unifies the contrast of the image to a certain extent, filters out redundant noise of the image, and highlights the characteristics of the image. At the same time, the final evaluation result is corrected based on the local variance curve of the image, which effectively weakens the influence of image content diversity and contrast on the image sharpness score, and improves the reliability of the sharpness score. In the search strategy, the variable step length search strategy is adopted in both the coarse focusing and fine focusing processes, which effectively saves the search time and improves the search efficiency.
也就是说,由于图像在连续采集过程中,受采集环境的影响,图像对比度可能会发生变化,直接对滤波后的图像进行清晰度计算,势必会影响最终评估结果。因此,在本申请实施例的电子束量测设备的自动对焦方法中,首先,统一图像的对比度,在此基础上进行清晰度评分;其次,对图像进行中值滤波,滤除噪声,并综合考虑图像各频段信息,突出图像特征;最后,并以局部方差作为参考,计算其与不同区间的相关性,择优作为最终清晰度评估结果,提高了评估结果的准确性,降低了图像陷入局部最优的风险。与此同时,自动聚焦变步长爬山寻优,也大大节省了搜索时间,提高了自动聚焦的时效性。That is to say, since the image contrast may change due to the influence of the acquisition environment during the continuous acquisition process, directly calculating the sharpness of the filtered image will inevitably affect the final evaluation result. Therefore, in the autofocus method of the electron beam measuring equipment in the embodiment of the present application, firstly, the contrast of the image is unified, and the sharpness score is performed on this basis; secondly, the median filter is performed on the image to filter out noise, and the comprehensive Consider the information of each frequency band of the image to highlight the image features; finally, using the local variance as a reference, calculate its correlation with different intervals, and choose the best as the final definition evaluation result, which improves the accuracy of the evaluation results and reduces the image falling into the local maximum. excellent risk. At the same time, the automatic focus variable step length climbing mountain search also greatly saves the search time and improves the timeliness of automatic focus.
相应的,基于前面任一所述的基于电子束量测设备的自动对焦方法,本申请还提供了一种基于电子束量测设备的自动对焦装置。由于本申请提供的基于电子束量测设备的自动对焦装置的工作原理与本申请的基于电子束量测设备的自动对焦方法的原理相同或相似,因此重复之处不再赘述。Correspondingly, based on any one of the foregoing autofocus methods based on electron beam measurement equipment, the present application also provides an autofocus device based on electron beam measurement equipment. Since the working principle of the autofocus device based on the electron beam measuring equipment provided in the present application is the same or similar to the principle of the autofocus method based on the electron beam measuring equipment of the present application, repeated descriptions will not be repeated here.
参阅图4,本申请提供的基于电子束量测设备的自动对焦装置,包括图像获取模块、粗聚焦模块和细聚焦模块。其中,图像获取模块,被配置为获取电子束量测设备中当前通道所采集到的多张检测图像。粗聚焦模块,被配置为根据多张检测图像的清晰度评估结果自适应调整粗聚焦搜索步长,并根据调整后的粗聚焦搜索步长对电子束量测设备进行粗聚焦,确定最佳粗聚焦 位置。细聚焦模块,被配置为以最佳粗聚焦位置为搜索中心,按照当前的细聚焦搜索参数采集预设张数的样品图像,并根据采集到的预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到聚焦结果。Referring to FIG. 4 , the autofocus device based on electron beam measurement equipment provided by the present application includes an image acquisition module, a coarse focus module and a fine focus module. Wherein, the image acquisition module is configured to acquire multiple detection images collected by the current channel in the electron beam measurement device. The coarse focus module is configured to adaptively adjust the coarse focus search step according to the sharpness evaluation results of the multiple detection images, and perform coarse focus on the electron beam measuring device according to the adjusted coarse focus search step to determine the best coarse focus. focus position. The fine focus module is configured to take the best coarse focus position as the search center, collect a preset number of sample images according to the current fine focus search parameters, and evaluate the result according to the sharpness of the collected preset number of sample images Perform a fine-focus search to get focused results.
更进一步地,根据本申请的另一方面,还提供了一种基于电子束量测设备的自动对焦设备200。参阅图5,本申请实施例的基于电子束量测设备的自动对焦设备200包括处理器210以及用于存储处理器210可执行指令的存储器220。其中,处理器210被配置为执行可执行指令时实现前面任一所述的基于电子束量测设备的自动对焦方法。Furthermore, according to another aspect of the present application, an auto-focus device 200 based on an electron beam measurement device is also provided. Referring to FIG. 5 , the autofocus device 200 based on the electron beam measuring device according to the embodiment of the present application includes a processor 210 and a memory 220 for storing instructions executable by the processor 210 . Wherein, the processor 210 is configured to implement any one of the aforementioned autofocus methods based on electron beam measurement equipment when executing executable instructions.
此处,应当指出的是,处理器210的个数可以为一个或多个。同时,在本申请实施例的基于电子束量测设备的自动对焦设备200中,还可以包括输入装置230和输出装置240。其中,处理器210、存储器220、输入装置230和输出装置240之间可以通过总线连接,也可以通过其他方式连接,此处不进行具体限定。Here, it should be noted that the number of processors 210 may be one or more. Meanwhile, in the autofocus device 200 based on the electron beam measurement device in the embodiment of the present application, an input device 230 and an output device 240 may also be included. Wherein, the processor 210 , the memory 220 , the input device 230 and the output device 240 may be connected through a bus or in other ways, which are not specifically limited here.
存储器220作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序和各种模块,如:本申请实施例的基于电子束量测设备的自动对焦方法所对应的程序或模块。处理器210通过运行存储在存储器220中的软件程序或模块,从而执行基于电子束量测设备的自动对焦设备200的各种功能应用及数据处理。The memory 220, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and various modules, such as the programs or modules corresponding to the autofocus method based on the electron beam measurement device in the embodiment of the present application. The processor 210 executes various functional applications and data processing of the autofocus device 200 based on the electron beam measuring device by running the software programs or modules stored in the memory 220 .
输入装置230可用于接收输入的数字或信号。其中,信号可以为产生与设备/终端/服务器的用户设置以及功能控制有关的键信号。输出装置240可以包括显示屏等显示设备。The input device 230 can be used to receive input numbers or signals. Wherein, the signal may be a key signal related to user setting and function control of the device/terminal/server. The output device 240 may include a display device such as a display screen.
根据本申请的另一方面,还提供了一种非易失性计算机可读存储介质,其上存储有计算机程序指令,计算机程序指令被处理器210执行时实现前面任一所述的基于电子束量测设备的自动对焦方法。According to another aspect of the present application, there is also provided a non-volatile computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by the processor 210, any one of the aforementioned electron beam-based Measure the autofocus method of the device.
以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显 而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Having described various embodiments of the present application above, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or improvement of technology in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein.

Claims (15)

  1. 一种基于电子束量测设备的自动对焦方法,其特征在于,包括:An automatic focusing method based on an electron beam measuring device, characterized in that it comprises:
    获取电子束量测设备中当前通道所采集到的多张检测图像;Obtain multiple detection images collected by the current channel in the electron beam measurement device;
    根据多张所述检测图像的清晰度评估结果自适应调整粗聚焦搜索步长,并根据调整后的所述粗聚焦搜索步长对所述电子束量测设备进行粗聚焦,确定最佳粗聚焦位置;Adaptively adjust the coarse focus search step according to the sharpness evaluation results of the plurality of detected images, and perform coarse focus on the electron beam measuring device according to the adjusted coarse focus search step to determine the best coarse focus Location;
    以所述最佳粗聚焦位置为搜索中心,按照当前的细聚焦搜索参数采集预设张数的样品图像,并根据采集到的所述预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到所述聚焦结果。Taking the best coarse focus position as the search center, collect a preset number of sample images according to the current fine focus search parameters, and perform fine focusing according to the sharpness evaluation results of the collected preset number of sample images Search for the focused results.
  2. 根据权利要求1所述的方法,其特征在于,根据多张所述检测图像的清晰度评估结果自适应调整粗聚焦搜索步长,包括:The method according to claim 1, wherein, adaptively adjusting the coarse focus search step size according to the sharpness evaluation results of a plurality of said detected images, comprising:
    统一各所述检测图像的对比度,并对各所述检测图像进行中值滤波;unifying the contrast of each of the detected images, and performing median filtering on each of the detected images;
    对中值滤波后的各所述检测图像进行清晰度评估,得到清晰度评估结果;Carrying out sharpness evaluation on each of the detected images after median filtering to obtain a sharpness evaluation result;
    根据所述清晰度评估结果确定所述粗聚焦搜索步长。The coarse focus search step size is determined according to the sharpness evaluation result.
  3. 根据权利要求2所述的方法,其特征在于,统一各所述检测图像的对比度时,通过对各所述检测图像进行直方图规定化处理进行。The method according to claim 2, characterized in that unifying the contrast of each of the detected images is performed by performing a histogram definition process on each of the detected images.
  4. 根据权利要求2所述的方法,其特征在于,对中值滤波后的各所述检测图像进行清晰度评估,得到清晰度评估结果,包括:The method according to claim 2, wherein the sharpness evaluation is performed on each of the detected images after median filtering to obtain a sharpness evaluation result, including:
    对中值滤波后的各所述检测图像进行傅里叶变换,得到各所述检测图像的频谱直方图;performing Fourier transform on each of the detected images after median filtering to obtain a spectrum histogram of each of the detected images;
    对各所述频谱直方图进行多区间归一化,并对归一化后的频谱直方图进行逻辑运算,得到各所述检测图像的评估曲线;performing multi-interval normalization on each of the spectrum histograms, and performing logic operations on the normalized spectrum histograms to obtain the evaluation curves of each of the detection images;
    基于各所述检测图像的评估曲线,得到所述清晰度评估结果。Based on the evaluation curve of each of the detected images, the definition evaluation result is obtained.
  5. 根据权利要求4所述的方法,其特征在于,对归一化后的频谱直方图进行逻辑运算的同时,还包括对所述频谱直方图中的图像内容进行高频和低频放大的操作。The method according to claim 4, characterized in that, while performing logical operations on the normalized spectrum histogram, it also includes the operation of performing high-frequency and low-frequency amplification on the image content in the spectrum histogram.
  6. 根据权利要求4所述的方法,其特征在于,对归一化后的频谱直方图进行逻辑运算时,包括对归一化后的频谱直方图进行加权求和处理。The method according to claim 4, wherein the logic operation on the normalized spectrum histogram includes performing weighted sum processing on the normalized spectrum histogram.
  7. 根据权利要求4所述的方法,其特征在于,对各所述检测图像进行中值滤波后,还包括:计算中值滤波后的所述检测图像的平均局部方差曲线;The method according to claim 4, wherein after performing median filtering on each of the detected images, further comprising: calculating an average local variance curve of the detected images after median filtering;
    对应的,基于各所述检测图像的评估曲线得到所述清晰度评估结果,包括:Correspondingly, the definition evaluation result is obtained based on the evaluation curves of each of the detected images, including:
    计算各所述评估曲线分别与所述平均局部方差曲线的相关性;calculating a correlation of each of said evaluation curves with said mean local variance curve, respectively;
    根据计算得到的各所述相关性得到所述清晰度评估结果。The sharpness evaluation result is obtained according to each of the calculated correlations.
  8. 根据权利要求7所述的方法,其特征在于,根据计算得到的各所述相关性得到所述图像清晰度评估结果时,由各所述相关性中选取出相关性最高的评估曲线作为所述清晰度评估结果。The method according to claim 7, characterized in that, when the image definition evaluation result is obtained according to each of the calculated correlations, the evaluation curve with the highest correlation is selected from each of the correlations as the Clarity evaluation results.
  9. 根据权利要求1至8任一项所述的方法,其特征在于,所述细聚焦搜索参数包括细聚焦搜索范围和细聚焦搜索步长中的至少一种。The method according to any one of claims 1 to 8, wherein the fine focus search parameters include at least one of a fine focus search range and a fine focus search step size.
  10. 根据权利要求1至8任一项所述的方法,其特征在于,根据采集到的所述预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到所述聚焦结果时,采用变步长方式进行搜索。The method according to any one of claims 1 to 8, characterized in that, when performing a fine-focus search to obtain the focus result based on the sharpness evaluation results of the collected sample images of the preset number of sheets, variable steps are used Long way to search.
  11. 根据权利要求10所述的方法,其特征在于,采用变步长方式根据采集到的所述预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到所述聚焦结果时,包括:The method according to claim 10, characterized in that, when performing a fine-focus search according to the sharpness evaluation results of the collected sample images of the preset number of sheets by using a variable step size method to obtain the focus result, it includes:
    根据当前得到的所述预设张数的样品图像的清晰度评估结果,更新所述细聚焦搜索参数,并以更新后的细聚焦搜索参数重新进行所述预设张数的样品图像的采集,直至重新采集次数达到预设迭代次数后为止。Updating the fine-focus search parameters according to the sharpness evaluation results of the preset number of sample images currently obtained, and re-acquisition of the preset number of sample images with the updated fine-focus search parameters, Until the number of re-acquisitions reaches the preset number of iterations.
  12. 根据权利要求1至8任一项所述的方法,其特征在于,根据采集到的所述预设张数的样品图像的清晰度评估结果进行细聚焦搜索时,基于所述预设张数的样品图像的清晰度评估结果的变化趋势进行;The method according to any one of claims 1 to 8, characterized in that when performing a fine-focus search based on the sharpness evaluation results of the collected sample images of the preset number, based on the preset number of The change trend of the sharpness evaluation results of the sample image is carried out;
    其中,所述预设张数的样品图像的清晰度评估结果的变化趋势包括单调递增、单调递减和清晰度曲线呈二次拟合中的至少一种;Wherein, the change trend of the sharpness evaluation results of the preset number of sample images includes at least one of monotonically increasing, monotonically decreasing, and quadratic fitting of the sharpness curve;
    在所述预设张数的样品图像的清晰度评估结果的变化趋势为单调递增时进行前向搜索,更新搜索范围并基于更新后的搜索范围进行所述预设张数 的样品图像的重新采集;When the change trend of the sharpness evaluation results of the preset number of sample images is monotonically increasing, perform a forward search, update the search range and re-acquire the preset number of sample images based on the updated search range ;
    在所述预设张数的样品图像的清晰度评估结果的变化趋势为单调递减时进行后向搜索,更新搜索范围并基于更新后的搜索范围进行所述预设张数的样品图像的重新采集;Perform a backward search when the change trend of the definition evaluation results of the preset number of sample images is monotonically decreasing, update the search range and re-acquire the preset number of sample images based on the updated search range ;
    在所述预设张数的样品图像的清晰度评估结果的变化趋势为清晰度曲线呈二次拟合时,根据拟合曲线的开口方向更新细聚焦搜索参数,并基于更新后的细聚焦搜索参数进行所述预设张数的样品图像的重新采集。When the change trend of the sharpness evaluation results of the preset number of sample images is that the sharpness curve is quadratic fitting, the fine focus search parameters are updated according to the opening direction of the fitted curve, and based on the updated fine focus search parameter to perform reacquisition of the preset number of sample images.
  13. 一种基于电子束量测设备的自动对焦装置,其特征在于,包括图像获取模块、粗聚焦模块和细聚焦模块;An automatic focusing device based on electron beam measuring equipment, characterized in that it includes an image acquisition module, a coarse focusing module and a fine focusing module;
    所述图像获取模块,被配置为获取电子束量测设备中当前通道所采集到的多张检测图像;The image acquisition module is configured to acquire multiple detection images collected by the current channel in the electron beam measurement device;
    所述粗聚焦模块,被配置为根据多张所述检测图像的清晰度评估结果自适应调整粗聚焦搜索步长,并根据调整后的所述粗聚焦搜索步长对所述电子束量测设备进行粗聚焦,确定最佳粗聚焦位置;The coarse focus module is configured to adaptively adjust the coarse focus search step size according to the sharpness evaluation results of the plurality of detection images, and adjust the electron beam measurement device according to the adjusted coarse focus search step size Carry out coarse focus and determine the best coarse focus position;
    所述细聚焦模块,被配置为以所述最佳粗聚焦位置为搜索中心,按照当前的细聚焦搜索参数采集预设张数的样品图像,并根据采集到的所述预设张数的样品图像的清晰度评估结果进行细聚焦搜索得到所述聚焦结果。The fine focusing module is configured to take the best coarse focus position as the search center, collect a preset number of sample images according to the current fine focus search parameters, and collect samples according to the preset number of samples collected. The sharpness evaluation result of the image is subjected to a fine focus search to obtain the focus result.
  14. 一种基于电子束量测设备的自动对焦设备,其特征在于,包括:An automatic focusing device based on an electron beam measuring device, characterized in that it comprises:
    处理器;processor;
    用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
    其中,所述处理器被配置为执行所述可执行指令时实现权利要求1至12中任意一项所述的方法。Wherein, the processor is configured to implement the method according to any one of claims 1 to 12 when executing the executable instructions.
  15. 一种非易失性计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1至12中任意一项所述的方法。A non-volatile computer-readable storage medium on which computer program instructions are stored, wherein the computer program instructions implement the method according to any one of claims 1 to 12 when executed by a processor.
PCT/CN2022/071605 2022-01-12 2022-01-12 Automatic focusing method, apparatus and device based on electron beam measurement device, and storage medium WO2023133729A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/071605 WO2023133729A1 (en) 2022-01-12 2022-01-12 Automatic focusing method, apparatus and device based on electron beam measurement device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/071605 WO2023133729A1 (en) 2022-01-12 2022-01-12 Automatic focusing method, apparatus and device based on electron beam measurement device, and storage medium

Publications (1)

Publication Number Publication Date
WO2023133729A1 true WO2023133729A1 (en) 2023-07-20

Family

ID=87279998

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/071605 WO2023133729A1 (en) 2022-01-12 2022-01-12 Automatic focusing method, apparatus and device based on electron beam measurement device, and storage medium

Country Status (1)

Country Link
WO (1) WO2023133729A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011014303A (en) * 2009-06-30 2011-01-20 Topcon Corp Auto-focus image determination method and device of charged particle beam apparatus, charged particle beam apparatus, computer program, and recording medium
CN108027499A (en) * 2015-09-23 2018-05-11 科磊股份有限公司 Method and system for the focusing adjustment of multi-beam scanning electron microscopic system
CN109116541A (en) * 2018-09-10 2019-01-01 广州鸿琪光学仪器科技有限公司 Microscope focusing method, device, computer equipment and storage medium
US20190035596A1 (en) * 2017-07-27 2019-01-31 Hitachi High-Technologies Corporation Charged Beam Apparatus
CN112731773A (en) * 2020-12-31 2021-04-30 中国科学院微电子研究所 Electron beam exposure machine, focusing method and device
US20210249220A1 (en) * 2019-04-12 2021-08-12 Robert TRAUNER Method of automatically focusing a charged particle beam on a surface region of a sample, method of calculating a converging set of sharpness values of images of a charged particle beam device and charged particle beam device for imaging a sample
CN114040067A (en) * 2021-11-05 2022-02-11 东方晶源微电子科技(北京)有限公司 Automatic focusing method and device based on electron beam measuring equipment, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011014303A (en) * 2009-06-30 2011-01-20 Topcon Corp Auto-focus image determination method and device of charged particle beam apparatus, charged particle beam apparatus, computer program, and recording medium
CN108027499A (en) * 2015-09-23 2018-05-11 科磊股份有限公司 Method and system for the focusing adjustment of multi-beam scanning electron microscopic system
US20190035596A1 (en) * 2017-07-27 2019-01-31 Hitachi High-Technologies Corporation Charged Beam Apparatus
CN109116541A (en) * 2018-09-10 2019-01-01 广州鸿琪光学仪器科技有限公司 Microscope focusing method, device, computer equipment and storage medium
US20210249220A1 (en) * 2019-04-12 2021-08-12 Robert TRAUNER Method of automatically focusing a charged particle beam on a surface region of a sample, method of calculating a converging set of sharpness values of images of a charged particle beam device and charged particle beam device for imaging a sample
CN113748481A (en) * 2019-04-12 2021-12-03 应用材料公司 Method for automatically focusing a charged particle beam on a surface region of a sample, method for calculating a convergent set of sharpness values of an image of a charged particle beam device, and charged particle beam device for imaging a sample
CN112731773A (en) * 2020-12-31 2021-04-30 中国科学院微电子研究所 Electron beam exposure machine, focusing method and device
CN114040067A (en) * 2021-11-05 2022-02-11 东方晶源微电子科技(北京)有限公司 Automatic focusing method and device based on electron beam measuring equipment, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114040067B (en) Automatic focusing method and device based on electron beam measuring equipment, equipment and storage medium
US11170483B2 (en) Sample observation device and sample observation method
US8570432B2 (en) Focus adjustment apparatus and image capturing apparatus
CN107407648B (en) Adaptively create disturbances to filter
CN108259753B (en) Camera automatic focusing method and device based on defocus estimation and improved hill climbing method
JP5639797B2 (en) Pattern matching method, image processing apparatus, and computer program
US8331726B2 (en) Creating emission images of integrated circuits
JP5546646B2 (en) Imaging apparatus and main subject recognition method
US8542313B2 (en) Depth from defocus calibration
JP5225297B2 (en) Method for recognizing array region in die formed on wafer, and setting method for such method
CN105578048B (en) A kind of quick focusing method and device, mobile terminal
JP5325802B2 (en) Observation method and observation apparatus
WO2017114373A1 (en) Method for focusing camera module based on chromatic aberration
JP4906174B2 (en) Beam automation in charged particle beam systems.
JP6909886B2 (en) Image estimation method and system
WO2023133729A1 (en) Automatic focusing method, apparatus and device based on electron beam measurement device, and storage medium
WO2022134305A1 (en) Wafer defect detection method and apparatus, device and storage medium
CN117555123A (en) Automatic focusing method and device for electron microscope
CN107085843B (en) System and method for estimating modulation transfer function in optical system
WO2023077675A1 (en) Detector channel-based automatic focusing method and apparatus, device and storage medium
CN115242979A (en) Focusing method and system applied to blood shooting, intelligent equipment and storage medium
TW202124946A (en) Defect inspecting system and defect inspecting method
CN112907500A (en) Endoscope focusing method and device
CN118317202A (en) Image tuning method and device and electronic equipment
CN117850032B (en) Optical lens adjusting method and system