원시데이터 수집 시스템
선정목록으로

Machine learning techniques applied for detection of nanoparticles on surfaces using Coherent Fourier Scatterometry

관련 필름·전자재료 · (11) 배리어 필름

기본 정보

저자
  1. Kolenov, D.
  2. Pereira, S. F.
DOI
10.48550/arxiv.2006.03475
저널
OPAL (Open@LaTrobe) (La Trobe University)
발행년도
2022
발행기관
La Trobe University
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://figshare.com/articles/preprint/Machine_learning_techniques_applied_for_detection_of_nanoparticles_on_surfaces_using_Coherent_Fourier_Scatterometry/24700209
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W6910700205

평가 내용

관련도
관련
사업분야
필름·전자재료 · (11) 배리어 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 배리어 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We present an efficient machine learning framework for detection and classification of nanoparticles on surfaces that are detected in the far-field with Coherent Fourier Scatterometry (CFS). We study silicon wafers contaminated with spherical polystyrene (PSL) nanoparticles (with diameters down to $λ/8$). Starting from the raw data, the proposed framework does the pre-processing and particle search. Further, the unsupervised clustering algorithms, such as K-means and DBSCAN, are customized to be used to define the groups of signals that are attributed to a single scatterer. Finally, the particle count versus particle size histogram is generated. The challenging cases of the high density of scatterers, noise and drift in the dataset are treated. We take advantage of the prior information on the size of the scatterers to minimize the false-detections and as a consequence, provide higher discrimination ability and more accurate particle counting. Numerical and real experiments are conducted to demonstrate the performance of the proposed search and cluster-assessment techniques. Our results illustrate that the proposed algorithm can detect surface contaminants correctly and effectively.

본문 70,875자

본문 펼치기
## Machine learning techniques applied for detection of nanoparticles on surfaces using Coherent Fourier Scatterometry D. KOLENOV <sup>*</sup> , S.F. PEREIRA _Optics Research Group, Imaging Physics Department, Faculty of Applied Sciences, Delft University of_ _Technology, Lorentzweg 1, 2628 CJ Delft, The Netherlands_ _*d.kolenov@tudelft.nl_ Abstract: We present an efficient machine learning framework for detection and classification of nanoparticles on surfaces that are detected in the far-field with Coherent Fourier Scatterometry (CFS). We study silicon wafers contaminated with spherical polystyrene (PSL) nanoparticles (with diameters down to 휆/8). Starting from the raw data, the proposed framework does the pre-processing and particle search. Further, the unsupervised clustering algorithms, such as K-means and DBSCAN, are customized to be used to define the groups of signals that are attributed to a single scatterer. Finally, the particle count versus particle size histogram is generated. The challenging cases of the high density of scatterers, noise and drift in the dataset are treated. We take advantage of the prior information on the size of the scatterers to minimize the false-detections and as a consequence, provide higher discrimination ability and more accurate particle counting. Numerical and real experiments are conducted to demonstrate the performance of the proposed search and cluster-assessment techniques. Our results illustrate that the proposed algorithm can detect surface contaminants correctly and effectively. © 2020 Optical Society of America under the terms of the OSA Open Access Publishing Agreement 1. Introduction Much research on detection and localization of deep-subwavelength objects based on optical scattering has been done, covering a wide range of particle types such as viruses, bacteria, dust and nanofabricated features [1–4]. Regardless of the various approaches, the physical principle that underlies these studies remains the same. By analysing the light that is scattered to the far field after being reflected from a surface containing nanoparticles or other types of contamination, one tries to get information on the density, size, material of these nanoparticles [5]. In the context of the semiconductor industry, we can think of unwanted contamination on the silicon wafers in the nanometer-size scale. This contamination can occur at different stages of the lithography process, and it is important to check blank or patterned wafer as well as the mask (reticle) itself. The reticle quality and reticle defects continue to be a top industry risk [6]. To ensure the quality and high yield in semiconductor manufacturing, contamination due to isolated particles in the size range of from 20 nm to 1 휇푚 in diameter should be detected and, if possible, localised and removed. The main techniques to study these nanometer-size features are scanning electron (SEM), dark and bright field microscopes. For electrically conductive materials, the surface analysis in the reflection mode is straightforward with SEM. If the scattering objects are buried inside the structures, transmission electron microscope (TEM) or scanning TEM (STEM) using a beam or a focused spot of electrons can be used [7]. With these techniques, sub-nanometer resolution can be achieved; however, it is hard to implement them in the production line, and generally, these techniques are considered to be slow. In addition, if relatively high beam current and acceleration voltage for the electrons are used, the analysis with SEM can also produce cracks on the surface or permanent thermal damage. Subsequently, dark-field techniques, where only the scattered portion of the light is captured, are powerful tools for high-throughput analysis. The state-of-art systems work with bare wafers, smooth and rough films, and deliver defect detection sensitivity aimed at the 7 nm logic and advanced memory device nodes [8]. Since the direct reflected light is eliminated from the measured field, the incident power has to be high to produce enough scattering and sufficient signal to noise ratio (SNR). Hence, similar to SEM, in dark-field measurements, there is a potential to alter or damage the sample under study due to thermal effects [9]. Bright field techniques, where the reflected and the scattered light from the surface are measured, solve the issue of the sample damaging since they use very low incident power. However, similarly to dark-field, the small inherent scattering and consequently low SNR renders the limit of the sensitivity. In this context, it is hard to detect tiny particle sizes, with diameters < 100 nm in bright field mode using the visible wavelengths. To solve this issue and to allow for the detection of such particle sizes, researchers have proposed various methods including interferometric ones such as label-free interference reflectance imaging of IRIS or ISCAT [10] and non-conventional sensing with optical forces in optical pseudoelectrodynamics microscopy (OPEM) [2]. Another family of techniques that are suitable to study nanotechnology materials in far-field is based on Quantitative Phase Imaging (QPI) [11]. The method of optical interferometric microscopy, in particular, has demonstrated an outstanding result in detecting 20 nm wide defects in patterned wafers [12]. A volumetric (3D) analysis for processing focus-resolved images of defects is enabled via the combination of scattered field optical microscopy and through-focus scanning optical microscopy. The results include the detection of sub-20 nm patterned defects [13]. Alternatively, one can obtain high sensitivity and low power of the illumination by measuring the light that is scattered from the particles to the far field in a smart way such that the SNR can be improved as compared to dark field techniques. This is the core of the technique used in this paper, namely Coherent Fourier Scatterometry (CFS): it is a low cost, robust, and suitable for the detection of polystyrene latex (PSL) nanoparticles down to 50 nm in diameter, and possibly even smaller ones [14–17]. For the detection of very small particles using CFS, it is crucial to optimize the entire system. Reliable numerical tools have been developed to understand the parameters that could influence the scattering process such as polarization, beam shaping, and how the data should be collected. Experimentally, besides a robust design, improvements directed to the detection system (such as noise suppression by introducing heterodyne detection system and beam shaping [14,18]) have been implemented. At last, the data processing is of extreme importance, and this is the main subject of this paper. The scatterometry data become useless if the algorithm that treats the data cannot effectively discriminate between different sizes of the particles present on a particular surface. One complicating factor is that, besides the inherent noise related to the detection of light, in a production environment, data can be corrupted with several other sources of noise and artefacts. In addition, the presence of extensive size-range contamination severely complicates the analysis of individual particles. In the worst-case scenario, if the measured data is examined in the wrong way, it can lead, for example, in the case of lithography, to a drop in system productivity. Finally, taking into account the growing amount of data, techniques such as CFS lack the tools of being able to process raw data sets automatically and effectively. Recently, to overcome the challenges of detection and classification of smaller particles, machine learning methods, including the regularized matrix-based imaging framework [19], principal component analysis [20], and convolutional neural networks [21] were applied to image-based defect detection. The objective of this paper is to develop a full framework for particle size classification in scatterometry data consisting of pre-processing, signal search and histogram formation with an algorithm that can be directly targeted at data that is corrupted with noise and drift, as well as including mixed-size particles per sample. For this framework, we relied on the established noiseremoval and unsupervised clustering techniques and adapted them to detect the nanoparticles. We developed a parametrized search by thresholding that picks the differential signal shape (raw data from the scatterometer) and relates it to the sought information (size distribution and location of the particles). By using these techniques, we show that the nanoparticles could be accurately quantified, even in the case of high densities. With sufficient resolution, a sample containing a mixture of nanoparticles with 60, 80 and 100 nm has been analysed in conditions where the data set had a lot of noise and drift due to the scanning issues related to the CFS tecnhique. Our framework enables the demanded automatic analysis of the scatterometry data and facilitates the validation of the detection results. The paper is organized as follows. In Section 2, a brief overview of the measurement process and data is presented. Section 3 contains a description of sub-problems for the data set analysis. Section 4 describes the proposed algorithms of pre-processing, search, feature extraction, supervised clustering, and computational complexity. Section 5 shows the experimental results with the framework implementation and compares the accuracy of several classification algorithms incorporated in the scheme. In Section 6 and 7 we finalize the paper with discussions, conclusions, respectively. The summary of the functions used in this paper is given in Table 1. Table 1. Glossary of the main functions used in the manuscript. name explanation mathematical description Trend can be modeled and removed from _detrend_ the time series where measured data values 푦 푥 in time 푥 and 푎, 푏 are parameters to be minimized where measured data values minimize 퐽 = <sup>~~�~~</sup> 푥 <sup>[푦</sup> 푥 <sup>−(푎푥</sup> <sup>+ 푏)]2</sup> _abs_ Modulus of the real number |푦| = 푦, if 푦 ≥ 0 �−푦, if 푦< 0 _ceil_ Round up or round towards plus infinity 푦 = 푐푒푖푙 (푥) = ⌈푥⌉ = −⌊−푥⌋ The Euclidian distance between _dist_ a point 푥푛 and 휇 dist(푥푛, 휇) = (푥푛 - 휇) <sup>2</sup> ~~�~~ _ind1_ _ind2_ Sampling points of the singal at which the amplitude is maximized/minimized Size or cardinality of a set is a measure for _size_ the number of elements of the set 푛 argmax푥 푦(푥) argmin푥 푦(푥) 푐푎푟푑 (푦 푥) = 푛 2. Methods Fig. 1. Schematic of the experimental setup, showing the light path and the differential detection principle. To obtain the scatterometer maps, the sample is scanned in the x and y directions. For every X-Y position, the differential signal at the balanced detector is recorded. Measurements with CFS are done via raster-scanning a ≈ 1 휇푚 tightly focused spot (휆 = 405 nm, 푁퐴 = 0.9) over the surface of interest. The Fourier plane of the objective obtained in reflection is imaged on the balanced detector. The sample is mounted on a 3D piezo-electric stage whose position can be controlled with sub-nm precision (P-629.2CD by Physik Instrumente). To reduce the amount of recorded data, and to increase speed and SNR, the Fourier plane is divided into two halves (perpendicular to the scan direction) and subtracted from each other using a balanced split detector (see Figure 1). In this way, for every X-Y scanning position, only one current value is obtained and stored as one point in the 2D scatterometry map. The differential detection allows having high SNR because the contribution from the rough background is minimized. If any clean part of the surface is analyzed, the acquired signal is virtually zero. For the areas containing particles, the spurious reflected light from the surface and light that is scattered due to the particle interferes at the detector. The total far field in the presence of the particle will become asymmetric as the particle is scanned through the focused beam. This implies that the left half of the field in the pupil is different from the right half, generating a nonzero photocurrent at the split detector, The recorded signals from the photodetector are the basis for the scattered maps (2D X-Y distributions) [22]. One of the significant advantages of the CFS approach is its high-sensitivity in localizing the centre of the particle in both transverse 푋푌 and longitudinal 푋푍,푌푍 planes. When the probe is focused on the interface, by scanning a spherical nanoparticle on the surface will render the so-called balanced pulse (positive and negative lobes of equal intensities, see Figure 2 B)). The zero-crossing of this pulse refers to the perfect alignment between the centre of the nanoparticle and the focused spot [23] (green point in Figure 2 B)). The effect of the defocus produces unbalance of the signal as well as a drop in the SNR drop, as it has been demonstrated in Ref. [23]. A) Δy B) C) Δy A ### Vpk-pk Time Fig. 2. A) 2D raster scanning procedure showing scan lines in the X direction separated by Δ 푦 = 10 nm in Y direction. The geometrical size of the studied particle is 푑 = 50 nm. On the left - the first scanning line coincides with the edge of the nanoparticle, and consequently the differential signal will appear in 5 consecutive lines, with the red lines providing small amplitude of the signal. On the right - if there is an offset between the first scanning line and the edge of the particle, the signal due to this particle will be spread in fewer lines. B) A typical amplitude distribution of the recorded differential signal in time as one line containing the particle is scanned in the X direction - first maximum and then minimum when the positive lobe is equal to the negative lobe (balanced signal). The time axes is related to the X axis (length) by 푡 = 푣.퐿, with 푣 being the scanning speed and 퐿 the length of one scan line. Red lines constrain the features of width 휏 and amplitude 푉푝푘− 푝푘 of the differential signal. C) An example of a particle response as a collection of subsequent scans in X (separated by Δ 푦) is called a scattered map. When analysing the surface in a raster scanning fashion, one needs to choose the proper Δ 푦 displacement step between the parallel lines of scanning. The bigger the step, the lesser the time it takes to cover the complete area, but the downside is that particles can be missed. The simplified picture showing the relationship between the scanning step Δ 푦 and the particle size is shown in Figure 2 A. Naturally, if one wants to detect contamination of e.g. 50 nm, the step between lines of the scanning should be set lower than the particle diameter, for instance Δ 푦 = 10 nm. For relatively big particles, one can expect that every time the probe interacts with the particle, a high-enough scattering will be produced and thus the estimate for the amount of lines where the particle is visible equals to 푛 = 푑/Δ 푦, with 푑 being the diameter of the particle. N.B. the SNR is the defining factor for the effective amount of lines and the influence area of the particle is bigger than the physical size as according to its scattering cross-section. Yet, the outlined picture highlights the idea that there is a certain minimum and maximum expected number of beneficial signals that would emerge from using different settings of Δ 푦. For tiny particles < 80 nm, using the wavelength 휆 = 405 nm, one can expect that the scanning lines that would go through the edges of the particle have much less SNR (see Figure 2 A and C), because the amplitude of the scattering becomes small as the focused spot goes away from the center of the particle. Furthermore, mismatches between the position of the particle and the scanning step might occur (dashed lines Figure 2 A) and in this case, even fewer scan lines containing signals due to the particle are obtained. The rule of thumb is to have at least two signals that come from an isolated particle that is distinguished from the background. Finally, the nanoparticles are generally classified based on their dimensionality, where the size of the calibrated sphere is associated with the features of 푉푝푘− 푝푘 amplitude and time-width 휏 of the measured differential signal (Figure 2 B). The time axes is related to the X axis (length) by 푡 = 푣.퐿, with 푣 being the scanning speed and 퐿 the length of one scan line. 3. Sub-problems The task of detection and classifying the particles using scatterometry data can be split into sub-problems. In this section, we discuss these sub-problems: pre-processing of data, finding the particle-like signals, estimation of the width, cluster assessment. 3.1. Pre-processing The goal of the pre-processing task is to prepare the raw sampled data for further steps. Commonly, a DC bias and sometimes baseline fluctuations in the signal at the detector can occur due to vibrations and other experimental factors. For the removal of the various electronic noise, low-pass (LP), notch filtering and wavelet-based subtraction were applied. 3.2. Selection of suitable Amplitude and Width We use two parameters for the object detection: the 퐴 amplitude (푉푝푘− 푝푘 /2) and the 휏 width of the complete differential signal due to a single particle in the time-domain (see Figure 2 B). We look for an algorithm that is robust to non-particle signals that can be present in the data. Examples of such signals include environmental vibrations or large defects present on the surface of the material, which we can consider as false-detections. In the scan direction 푋, multiple particles may be present on one scan line since the density of particles can be high in some areas of the surface. Multiple maxima and minima needs to be determined on one scan line, sorted and the relative distance between different signals needs to be determined. Each “transition" between maxima and minima is associated with the corresponding zero-crossing position at the middle of the signal. Finally, fine adjustment is needed to define the width of the particle-like signal accurately; this is done by parametrizing it such that it can be distinguished from noise or another signal in the data set. Next, one needs to take care of the particle signal appearing at the border of the scan line. In this case, if the signal was sampled for one of the two lobes (positive or negative), the algorithm should estimate the complete width of the pulse. 3.3. Multiple line particle detection identification A particle-like signal is distinguished from a false detection if the centroid of the signals (position of the zero between maxima and minima) have the same X position over multiple lines (see Figure 2 C). A false detection is identified when the particle-like signal is observed in only one scan line, and is further removed from the data. Finally, per signal group, the most clear particle-like signal and its features (see Figure 2 C) are stored for the histogram. The pulse with the biggest 푉푝푘− 푝푘 is a good representative because it corresponds to the centre of the particle in the X and Y directions. There are many well-known algorithms for cluster determination, such as hierarchical clustering, K-means, DBSCAN [24–26]. Almost every clustering algorithm can be tuned to penalize one error more than the other according to the requirements. For instance, we can use the predefined vertical step of Δ 푦 and set the expected number of zero-crossings associated with a single particle. Additionally, the clusters of zero-crossings (pair of X and Y coordinates) can have a characteristic spread of 휎. 4. Algorithm In this section, we show the specific tools and algorithms we have used to solve the sub-problems showed above. We also mention the computational efficiency and some other aspects of the algorithms. 4.1. Pre-processing Among various noise sources that might be present in our experiment [14], the power line interference and the baseline wandering can strongly affect the further detection and classification of particle signals. The 50-60 Hz local power-line frequency (bandwidth of < 1 Hz) can be mostly removed by analogue hardware during acquisition, and the remaining noise is removed digitally using the notch filter. However, the baseline wandering is not easy to be suppressed by analogue circuits. Hence, we take the notch-filtered waveform and subtract the wavelet decomposed version of the same signal to recover the clean particle signal (more details in Appendix: The pre-process filters). This step effectively introduces the point by point correction to the wandering profile. Finally, an average filter (LP) is applied to remove glitches. This approach can be considered as more rigorous because it relies on the sampling frequency used in the experiment. The routine is based on a contribution from reference [27]. A less accurate way of dealing with the offset in the data can be MatLab’s _detrend_ function that removes the best straight-fit line from the data in a vector of the sampled points. 4.2. Selection of suitable Amplitude and Width Hyperparameters: 퐴, τ, 푁푢푙푙푖푛푔푅, 푊푖푛푑표푤 푦 These are user-defined parameters of expected threshold amplitude 퐴 and width τ. Since the multiple expected amplitudes and widths are passed iteratively, the results from the previous search should not translate to the consecutive one. Let’s consider the 2D measured data 푰푖푗 with each row representing a single scan line (Y) and column representing the sampling point over the width (X of the Figure 2 C). The differential signal at the detector for the 푖 = 4 scanning lines and with 푗 = 4 samples in horizontal direction of scan is given in Eq. 1  푰4푥4 =  퐼11 퐼12 퐼13 퐼14 퐼21 퐼22 퐼23 퐼24 퐼31 퐼32 퐼33 퐼34 퐼41 퐼42 퐼43 퐼44 (1) The parameters of 푁푢푙푙푖푛푔푅, 푊푖푛푑표푤 푦 represent the half-width and length of the region to be zeroed w.r.t reference sampling point. Hence, for measured data, if 퐼33 is the reference position (centre of the particle), the 푁푢푙푙푖푛푔푅 = 1 and 푊푖푛푑표푤 푦 = 3 dataset becomes:  푰4 <sup>′</sup> 푥4 <sup>=</sup>  퐼11 퐼12 퐼13 퐼14 퐼21 0 0 0 퐼31 0 0 0 퐼41 0 0 0 (2) Thus by, 푁푢푙푙푖푛푔푅 and 푊푖푛푑표푤 푦, the user can zero the lines that are close to the reference detected particle. Per line, the algorithm looks for the multiple peaks and minima and checks whether their absolute values fall under the amplitude 퐴. The retrieval of secondary peaks and minima allows increasing the overall accuracy of the algorithm. By default, we assume every particle-like looking signal to be a forward signal (Figure 2 B)). The reverse signal can be stored separately or included in the estimation process. Some key reasonings are highlighted in the following bullet-points and also shown in Figure 3. Fig. 3. Block diagram of the signal search algorithm that starts with the 푁 signal line. - Find and store the values and indices of global line maxima 푖푛푑1 and global line minima 푖푛푑2. Next, check the amplitude condition 푎푏푠(푚푎푥1) - 퐴푂푅푎푏푠(푚푖푛1) - 퐴. Store True of False for the first condition. - Define whether the signal is forward (maxima appears before minima), choose between ignoring or flipping the reverse pulses. Check whether the distance between 2 indices 푎푏푠(푖푛푑2 − 푖푛푑1) < 휏 fits the condition of the time-width. Store True of False for the second condition. - When both conditions are true, a particle is roughly detected. We calculate the position of the particle’s signal zero-crossing by taking the average between maxima and minima position 푚푖푑푑푙푒 = 푐푒푖푙 (푎푏푠(푖푛푑1 + 푖푛푑2)/2) (ceil function rounds towards plus infinity), perform the fine adjustment (next section) and remove the signal from the data set. The 푁푢푙푙푖푛푔푅 is global parameter that represents half-distance in indices to replace with zeroes about the 푚푖푑푑푙푒 of the signal. The rule of thumb, in this case, is that region to be zeroed should not exceed the time width of the particles you are looking for. - If only the amplitude condition is satisfied, the indices of multiple minima (above threshold) that belong to the current line are checked to fall closer to the 푖푛푑1 than 푖푛푑2. If other minimum falls closer, reassign the 푖푛푑2 and repeat the width check. If both conditions are satisfied, remove the signal from the data set and apply the 푁푢푙푙푖푛푔푅. - The multiple particle search routine is to find numerous maxima (above threshold), 푠표푟푡 them in descending order (see Alg. 1), and, maximum by maximum, follow the steps outlined previously. If there are multiple particles on a single line, the algorithm returns X’s corresponding to the particles middles. Throughout this paper, we will use the terms “zero-crossing" and “middle" interchangeably, following the variable name of 푚푖푑푑푙푒푠 as defined in the MatLab software. 4.3. Fine adjustment for the boundaries of particle’s signal Fig. 4. A sketch showing the margins of the signal separating it from the background. The fine adjustment algorithm is to go from 푙푒푓푡푚푎푟푔푖푛 to 푙푒푓푡푚푎푟푔푖푛 <sup>′</sup> . Fine adjustment is the part of the search process right after the width, and amplitude conditions are satisfied. We assume that from the 푚푖푑푑푙푒 position, the particles’ signal occupies the same amount of samples on both sides of the signal (spherical object). The initial guess for the left margin of the signal is 푙푒푓푡푚푎푟푔푖푛 = 푚푖푑푑푙푒푠푖푛푑 - 휏/2. To make sure that the signal doesn’t go outside the indexing in Matlab, i.e., 푚푖푑푑푙푒푠푖푛푑 - 휏/2 <= 0, we rewrite the left margin as index 1. In this case, in the procedure that follows, we should rely on the 푟푖푔ℎ푡푚푎푟푔푖푛 to be defined accurately and then 푙푒푓푡푚푎푟푔푖푛 is recomputed based on it. Analogously, the right margin is calculated as 푟푖푔ℎ푡푚푎푟푔푖푛 = 푚푖푑푑푙푒푠푖푛푑 + 휏/2. If a signal appears close to the right border, we rewrite right margin as the last index of the sampled voltage vector. The crucial part of the fine-adjustment step is to cut-out the region of signal for zoom-in study, i.e. from 푙푒푓푡푚푎푟푔푖푛 to 푟푖푔ℎ푡푚푎푟푔푖푛. The secondary minima of the cut-out region are checked to fall closer to the middle position, compared to the initial 푙푒푓푡푚푎푟푔푖푛. If there is a closer point, it is redefined as 푙푒푓푡푚푎푟푔푖푛′. The compared to the initial 푙푒푓푡푚푎푟푔푖푛. If there is a closer point, it is redefined as 푙푒푓푡푚푎푟푔푖푛′. The reason for this is an observation that typically there is a small dip in the signal preceding the quick rise in amplitude of the particle pulse. Further, we reassign the 푟푖푔ℎ푡푚푎푟푔푖푛 of signal to be the same separation as to the left 푟푖푔ℎ푡푚푎푟푔푖푛 = 푚푖푑푑푙푒푠푖푛푑 + 푎푏푠(푚푖푑푑푙푒푠푖푛푑 - 푙푒푓푡푚푎푟푔푖푛′). same separation as to the left 푟푖푔ℎ푡푚푎푟푔푖푛 = 푚푖푑푑푙푒푠푖푛푑 + 푎푏푠(푚푖푑푑푙푒푠푖푛푑 - 푙푒푓푡푚푎푟푔푖푛′). Finally, the 푠푖푔푛푎푙푆푖푧푒 = 푎푏푠(푟푖푔ℎ푡푚푎푟푔푖푛 - 푙푒푓푡푚푎푟푔푖푛′), and one can notice that in our Finally, the 푠푖푔푛푎푙푆푖푧푒 = 푎푏푠(푟푖푔ℎ푡푚푎푟푔푖푛 - 푙푒푓푡푚푎푟푔푖푛′), and one can notice that in our procedure the estimator can generalize outside the original size of the sampled vector. 4.4. Clustering of data from one single particle The steps of the algorithm presented previously result in an array of coordinate pairs for (X,Y), that correspond to the position of the 푚푖푑푑푙푒푠 (zero-crossings) of each signal and has dimensionality 2× 푁, where 푁 is the number of 푚푖푑푑푙푒푠. Since one particle results in a few signals at consecutive lines of the scan, one should recognise a group of the particle-looking signals as a centroid that represents this specific particle. In this way, the particle-size distribution histogram will identify one particle on the sample corresponding to one cluster of signals. The centroid of the cluster will correspond to the line with the highest 푉푝푘− 푝푘 of the cluster, and consequently the particle’s center. We modify a well-known machine learning algorithms of K-means and DBSCAN to recognize the clusters of the particle-looking signals and use prior information that can help to spot the isolated particles. One complicating factor that can be present in the data is the random drift between the lines when sampling. The drift manifests itself in the shift of the signal zero-crossing (see Fig. 2C) position in the 푋 direction between consecutive lines. In the Appendix Modified K-means, DBSCAN and comparison, we define several algorithms that can account for the drift in the data. We compare the computational complexity of the modified K-means to the algorithm of DBSCAN. Besides, we highlight the sensitivity of algorithms to initialization parameters. 5. Results Throughout this section we experimentally study three different samples of the PSL particles spin-coated on the silicon wafer. The first sample includes particles with diameters of 50 nm, the second 100 nm, and the third a mixture of 60, 80 and 100 nm. The details on sample preparation are outlined in the Appendix: Preparation of the samples. 5.1. Pre-processing and search. In the high-scale IC manufacturing, typically double side polished wafers are used. The block of pure crystalline silicon is diced and polished right before the deposition of the resist. Due to the lack of precision in the wafer holder, unstable rotation and heat deformation, the polishing can affect the flatness of the wafer. Additionally, the thickness of the wafer is not uniform across the sample [28]. This effect mostly occurs at the edges of the wafer. Nevertheless, the scanners need to provide information over the entire wafer under the study. For sensing or particle detection applications using CFS, the probing light should be focused on the interface between air and top surface. Due to several experimental factors during the scanning, the baseline (differential signal when no particle is present) may fluctuate or drift from the expected zero value. Hence, occasionally, the data set might include DC offsets mixed with low frequency noise (baseline wadering) [29,30]. This problem can be corrected as shown in the data presented in Figure 5 A) raw data (top), and with baseline correction (bottom). A) C) Scan Length [ m] 15 10 <mark>40 60 80 100 120</mark> Particle diam. [nm] Signal width [s] B) D) 0 Scan Width [ m] L C R 50 100 ScanScan Width [ing time [ms]m] Fig. 5. A) Top - the side view (along Y) of the raw sampled data wherein the baseline wandering is present. Bottom - the corresponding data after the baseline wandering is removed. B) Top view on the same scan with the red points representing the detected zero-crossings. C) Histogram representing the particle size distribution, based on time width 휏 from detected pulses. The inset shows the calibration of size of the particle as a function of the time width of the signal. D) Example of the line from the data set, the dashed line is an initial guess for the time-width and left - L and right -R boundary is returned from the fine-adjustment step. The scan speed per line is such that a scan width of 20 microns in X takes 100 [ms]. Further, the scattered map from the bottom Figure 5 A) is analysed with the search algorithm (Section 4.2) to produce the corrected data that is seen on the 5 B). Here we analyzed a random area from the calibrated sample and the histogram nicely peaks at the position of the 휏 = 7.05 [ms] that corresponds to PSL particle with 50 nm in diameter (see inset with the callibration curve) that agrees with the recipe of the first sample. For the area that contained only a few particles, one can notice a relatively high amount of counts, and this is because all the localized zero-crossings contribute to the output histogram. The SNR ratio for this dataset is low 푆푁푅 = 7.14 [dB] while the algorithm can still localize the particle detections, including the one that resides at the border of the scan, thus generalizing beyond the input data. N.B. The particle classification in CFS is based on the width of a time-domain particle signal. The quantitative limit of the post-processing framework for discrimination between the different-size particles is defined by the accuracy of the fine-adjustment routine of Section 5.1. More specifically, in the ability to find the minima closest to the rising edge of the differential signal. If we assume the infinite sampling of the signal and low noise, there are virtually no limitations on how accurate the position of minima can be defined, aside from those emerging from the numerics or computational effort [31]. On the practical side, there is a limitation in the manufacturing of the monodisperse PSLs. The target size of the particle diameter has the uncertainty in the range of 1 − 2 nm [32]. 5.2. Comparing the accuracy of clustering routines on a data set with drift. The source of the drift originates from the sampling at the detector being asynchronous process with respect to the piezo stage movement. When the piezo controller passes the initialization signal to the computer, the jitter and USB connection produce a random time delay before the sampling will actually start. E) #### Vsd V A) B) C) D) #### Ns tc t Fig. 6. A) The sampling done asynchronously, and the start sampling point (red cross) has fluctuation in time - above. The primitive of the voltage waveform for moving the piezo along one axis forth and back - below. The time-constant 푡푐 tries to match the start of the piezo movement (uprising edge of the waveform) with the beginning of the sampling. Example of the isolated nanoparticle with different amount of drift present. The non-drift image B), an increasing amount of drift from 100, 90, 50 ms scanning time per line, C), D) and E) correspondingly. One can mitigate the problem by introducing the constant waiting time 푡푐 (empirical estimate) at the piezo before the voltage will be increased (Figure 6 A)). Yet, the random nature of the delay will not be equal to the introduced 푡푐. When faster scanning is performed, the drift in the data set gets worse. Figure 6 B) - E) shows the same isolated nanoparticle scanned at a different speeds: 100, 90 and 50 ms per line, demonstrating an increasing amount of the distortion in the data set. We take the data corrupted with the drift and compare the accuracy (Eq. 3) of two clustering algorithms as the average result of 100 random initializations. ′ ���� ′ 퐴푐푐푢푟푎푐푦 = 1 − 푁푡푟푢푒 hence isolated ����1 − <u>푁푑푒푡</u> , (3) where 푁푑푒푡 is a number of detected clusters, hence isolated particles, and 푁푡푟푢푒 the actual amount of particles on the sample. This formula ignores the difference between the over- and under-estimate in the 푁푑푒푡 . We will use the non-drift corrected “image" as a ground truth for this comparison providing us the number for 푁푡푟푢푒. The non-drift “image" is achieved by establishing a new synchronization approach with the trigger pulse generated at the piezo controller through analogue output upon each beginning and end of the scanning line. The first test is to use some of the global parameters such as 푛푚푖푛, 휖, 푛푚푎푥, 휎푡ℎ푟푒푠ℎ according to the reasoning outlined in the Section 4.4 and Appendix: Modified K-means, DBSCAN and comparison. Recommended hyperparameters come from showing the program once how the “good cluster" looks like. A number of 100 random initializations were needed to get an idea on how the K-means algorithm will suffer from random initialization, specifically the starting number of clusters 퐾 and their positions are randomly initialized. On the contrary, the DBSCAN, regardless of initialization, always converges to the same result (see Figure 7). A) C) B) no drift, 26 particles 1.0 Initialization # Fig. 7. The true number of particles (ground truth) in red. Comparison of the DBSCAN (in blue) and modified K-means algorithms (in black) for the three levels of drift present. 100 drift represents the least distorted data set, 90 drift dat aset with average distortion, 50 drift is the data set with severe distortion. Recommended in A) and tuned hyperparameters in C). Result of 81% accurate convergence by the DBSCAN for the case of 50 drift present B). This test reveals that both algorithms can achieve relatively high accuracy > 70%. As it has been expected, accuracy on the data that contains less drift is higher and contains less uncertainty. On average, the accuracy does not exceed 84% for the case of the DBSCAN and the algorithm produces the same amount of clusters at every iteration. When the input data is shuffled, the only “non-deterministic" behaviour is in the label for the cluster being assigned, but not the composition of the cluster itself. The behaviour was firstly highlighted in the original paper of DBSCAN [26] where the authors claimed that convergence result is independent of the order in which the points of the database are visited expect the “rare" situations. This “rare” situations occur when border points belong simultaneously to two clusters. This border point will be assigned to the cluster that is considered first to avoid the overlap. In other words, there is always the same amount of density-reachable points from a reference point, hence the same amount of the assigned clusters is constant. In the next test for both algorithms, the global parameters were manually adapted to yield higher accuracy (Figure 7 C)). The adjustments to the 퐾, the desired number of clusters in K-means can be set higher than the elbow method recommends, and for the DBSCAN algorithm the 휖 parameter is crucial. This test demonstrates that with the aid of completely manual tuning, higher accuracy > 80% for any type of data set can be achieved. Even more, the 휖 parameter in the DBSCAN can be chosen to recover the 100% accuracy on the data set with the minor drift. N.B. The average convergence time for the DBSCAN algorithm is 0.01 second and for the K-means algorithm 47 seconds on laptop Dell Inspiron 7577. 5.3. Benefit of the centroids re-assignment For the domain of the semiconductor industry, specifically for the lithography process, it is crucial that cleaning can be performed if contamination above a certain size is present on the sample. In this way, for instance, the very small particles are of minor importance for the pellicle layer above the UV mask, and only if the bigger particles are present, cleaning action needs to be taken. In the absence of the pellicle, on the contrary, one should take care only about the small contamination landing on the mask [33]. The quantitative description of the surface, provided by the surface scanner in this regard becomes very crucial. The confusion between the different sizes of the scatterers on the sample should be minimal. For our system, the width of the signal changes as scanning through the spherical particle is performed : it is highest when the scan line passes through the center of the particle and it is smaller in consecutive lines around the particle’s center, as shown in Figure 8. # NL V NS Fig. 8. Sketch of the signal from an isolated spherical particle visible over three consecutive line scans. The red region represents the increase in the τ width of the signal when the scan line passes through the centre of the particle as compared to other consecutive lines ±Δ푌 (signals as dotted lines). In the first approximation, all detected signals can be fed to the histogram as it was done in Section 5.1. This approach would work properly if the data set would include a single particle size or if the contamination is reasonably different. Realistically, samples contain a wide range of particle sizes. If the pulses on the edges of the particle scan are included in the estimation histogram, they will contribute to the interclass confusion (classes represent diameters). In the Figure 9 we demonstrate the outputs from the signal search algorithm and corresponding clusters defined by the DBSCAN algorithm. This algorithm was chosen since the convergence time is faster than the modified K-means, and it had achieved higher accuracy at the previous test. The region of the sample under study is a good representative of the multi-class sample where additionally to the nominal 60 and 80 nm PSL particles, there are isolated particle-looking signals that are treated as outlier by the algorithm as well as the contamination of bigger particles ≈ 100 nm in diameter. The results of convergence by K-means algorithm for the same data set is presented in Appendix: The re-assignment of signal centroids by the K-means algorithm. A) B) Normalized distance [a.u.] Normalized distance [a.u.] C) D) Signal length [s] x10 <sup>-3</sup> Signal length [s] x10 <sup>-3</sup> Fig. 9. A) The zero-crossings of the differential signals by the search algorithm and B) the corresponding isolated particles by converged DBSCAN. The data set includes minor drift where one scanning line of Δ푥 = 25휇푚 takes 100 ms. C) Histogram when all particle-looking signals are taken into account and D) when the signals corresponding to one particle are clustered and only one signal (highest 푉푝푘− 푝푘 ) is taken into account to represent one particle detection. The first approximation histogram includes the side detection from the class of the 100 and 80 nm contributing to the class of 60 nm as well as features between the classes and it seems that there is only a single class present in the data (see Fig. 9 C). When all signals that corresponds to one particle are clustered and only the highest 푉푝푘− 푝푘 pulses from each cluster is assigned as being one particle (Fig. 9 B), we observe three separable classes in the histogram (Fig. 9 D), showing that this strategy solves the problem of particle size confusion. 6. Discussion The approach of clustering the data has a downside, namely, the risk of losing the beneficial signals that correspond to very tiny particles. These particles may produce only one or two scan lines containing signals with sufficient SNR, if the selected step between the scan lines Δ 푦 is too big. To improve the sensitivity of the algorithm even further, a separate routine could reconsider the outliers. This step could include adding a collection of matched filters operating in the time domain to filter out signals with the expected duration. Alternatively, one can try to establish spectral differences between the particle and non-particle signals (multiple wavelength approach). While this study considered the detection of polystyrene particles, the technique could also be applied to extract features from a measurement of particles of different materials. Scatterometry is not an imaging technique, and some other features (such as material) can be recovered if one can model them and obtain more diversity in the experimental data. For example, instead of only looking at the time spam of the particle signal (related to the size of the particle), one can add its magnitude, which is proportional to the diameter and material of the particle [34]. Another example is the work of Potenza et al. [35] where using similar technique, they were able to recover the complex index of refraction of the particles, and in this way, reveal their material. DBSCAN can yield higher accuracy than the K-means subroutine in the case when the scale of the data is well understood. Also, the convergence of DBSCAN algorithm is fast. Nevertheless, there is still room for implementing the K-means routine because the sensitivity to the hyperparameters is much higher in case of the DBSCAN, including the complete failure in defining the clusters from the initial data (see the Appendix: Modified K-means, DBSCAN and comparison). The K-means, on the contrary, can be considered as a more robust algorithm that yields relatively high accuracy, and at any initialization will always define a certain amount of clusters. The K-means algorithm is scalable to large data sets while the DBSCAN can suffer from the curse of dimensionality [36]. A final point to consider is when working on data sets with severe drift due to scanning, high density and wide range of the particle sizes, the DBSCAN can fail to cluster data [37]. Throughout the IC manufacturing process, large amounts of data need to be mined in a fully automated mode [38]. With a growing amount of data, we can envision that the lineby-line analysis of the data set can become computationally slow. Also, the total amount of hyperparameters is significant. Search and clustering routine in total has up to 6 parameters fed by the user. Hence, in future work, we will explore the potential of methods for handling big data, such as deep learning and CNN [39,40]. 7. Conclusions We have demonstrated that Coherent Fourier scatterometry is capable of generating the 2D maps with the locations and sizes of PSL nanoparticles on a surface, down to particles with a diameter of 50 nm using low power illumiantion wavelength of 휆 = 405 nm (on the substrate, the input power is 푃 =∼ 0.026 mW). CFS relies on differential detection to minimize the contribution from the rough background, and uses photocurrent measurement in a raster-scanning regime generating a wealth of 2D data sets. In this paper, we have developed a generalized framework that accurately extracts features of the differential signal produced by the scattering of a nanoparticle and uses these features for particle location and size determination. We have combined pre-processing with search algorithms based on the thresholding, such as peak-to-peak amplitude, and the width in time of the signal. The proposed method makes use of unsupervised clustering techniques to separate particles with high density on the samples. We adapt algorithms of DBSCAN and K-means and use them together with the simple prior. We have tested the framework for data sets with high density of the particles, in the presence of large experimental noise and drift. The accuracy of the algorithm resulted in the 84% for the hyperparameters set semi-automatically, and the 100% accurate result for manually-tuned parameters. The algorithm of DBSCAN is a go-to solution because it works much faster than K-means. However, the latter is more robust because it is less sensitive to the change on the input parameters. Finally, we would like to stress that while we tested the framework for the particular case of experimental data obtained with CFS, this method can be generalized to other experiments that involve measurements with differential detection, such as coherent time-addressed optical CDMA systems [41] and ferromagnetic resonance spectrometers (VNA-FMR) [42]. In these techniques, the data set might include mechanical vibrations or other experimental fluctuations, similar to the drift studied in this paper. We believe that the proposed framework is an essential addition to the nanoparticle detection experimental community. Appendix The pre-process filters The input-output description of the filter operation on an input signal vector 푥(푛), where 푛 is the number of samples, can be expressed in the form of the difference equation: 푎(1)푦(푛) = 푏(1)푥(푛)+푏(2)푥(푛−1)+...+푏(푛푏+1)푥(푛−푛푏)−푎(2)푦(푛−1)−...−푎(푛푎+1)푦(푛−푛푎), (4) where 푛푎 is the feedback filter order, and 푛푏 is the feed-forward filter order. We design a second-order notch digital filter, thus 푛푎 = 푛푏 = 2 and Eq. 4 becomes: 푎(1)푦(푛) = 푏(1)푥(푛) + 푏(2)푥(푛 - 1) + 푏(3)푥(푛 - 2) − 푎(2)푦(푛 - 1) − 푎(3)푦(푛 - 2), (5) with the notch at frequency 50 Hz and a bandwidth at the -3 dB level (q-factor of 35), we have angular frequency 푊 = 50/( 푓푠/2) and bandwidth 퐵푊 = 푊/35. Thus, for sampling frequency 푓푠 = 3 kHz, the coefficients are b = [0.998, −1.986, 0.998] and a = [1, −1.986, 0.997]. The local power line frequency is removed from the data set and 푦푛표푡푐ℎ = 푎(1)푦(푛). Further, we subtract the wavelet decomposed version of the signal 푦 푤푑 from the filtered waveform 푦푛표푡푐ℎ effectively introducing the point by point correction to the profile. The discrete wavelet transform (DWT) of signal 푦 푤푑 (푛) is defined as a combination of a set of basis functions: 푑 푗 (푘)휓 푗,푘 (푛) (6) (7) ∞ 푘=−∞ 푦 푤푑 (푛) = ∞ 푘=−∞ 푐 푗 (푘)휙 푗,푘 (푛) + 퐽 푗=1 Where 휙 푗,푘 (푛) = 2 <sup>푗/2</sup> 휙(2 <sup>푗</sup> 푛 - 푘) 휓 푗,푘 (푛) = 2 <sup>푗/2</sup> 휓(2 <sup>푗</sup> 푛 - 푘) In Eq. 6, 휙 푗,푘 (푛) is the scaling function, 휓 푗,푘 (푛) is the wavelet function, 푐 푗 (푘) are the scaling and 푑 푗 (푘) are detailed coefficients. In this paper, the Daubechies 6 scaling and wavelet functions were used because it has been proved to be excellent in analysis of signals that contain baseline wandering [43, 44]. For computing the 푐 푗 (푘) and 푑 푗 (푘) coefficients, the low-pass (LP) and high-pass (HP) filters are being recursively applied to a signal. When the signal is processed for the first time, the HP filtered data gives the details and LP filtered data gives the scaling coefficients at level 1. The more times the filters are applied, the more detailed levels of the signal representation can be achieved. In this paper, we have used the decomposition level of 푗 = 10 and have applied the translation factor of 푘 = 8 for the scaling and wavelet function. The baseline wandering is removed and 푦푏푐표푟 = 푦푛표푡푐ℎ - 푦 푤푑. Finally a simple moving average filter is applied according to Eq. 8. 푖 <sup>′</sup> <sup>=</sup> <sup><u>1</u></sup> 푦푖 <sup>′</sup> 푀 푀 −1 푗=0 푦푏푐표푟 [푖 + 푗]. (8) The output signal 푦′푖 <sup>is a result of averaging the points in the input signal 푦푏푐표푟</sup> <sup>, and 푀</sup> <sup>= 5 is the</sup> number of points used in the moving average. Modified K-means, DBSCAN and comparison. Given, for instance, the 푚푖푑푑푙푒푠 coordinates (X,Y), K-means clustering, can converge to a 퐾 amount of clusters, among which per cluster we know the distance between each point and the position of the cluster centroid mean 휇. The first two algorithms are used to treat the outliers in the clusters 퐾: <u>Algorithm 1</u> <u>Sort in descending order</u> 1: procedure sort(푋푛) ⊲푊ℎ푒푟푒푥1, 푥2, ..., 푥 푗푗푗 ∈ R 2: 푖푛푣푒푟푠푖표푛푠 = 0 3: for 푖푖푛 1 : 푛 do 4: for 푗푗푗푖푛 1 : 푖 do 5: if 푋 (푖) - 푋 ( 푗푗푗) then 6: 푖푛푣푒푟푠푖표푛푠 = 푋 (푖) 7: 푋 (푖) = 푋 ( 푗푗푗) 8: 푋 ( 푗푗푗) = 푖푛푣푒푟푠푖표푛푠 9: end if 10: end for 11: end for 12: return 푋 13: end procedure <u>Algorithm 2</u> <u>Remove if 휎</u> <u>improves</u> 1: Input: (푋,푌 ) 푗푗푗 ∈ 퐾 ⊲ In cluster each _middle_ (푋,푌 ) is associated with _dist_ to 휇 2: Output: Nremove 3: 푠푒푡푁푟푒푚표푣푒푡표푧푒푟표 4: 푆표푟푡푡ℎ푒푝표푖푛푡푠푏푦푑푖푠푡 ⊲ Descending order Alg. 1 5: for 푏 ← 2 to 푗푗푗푑푖푠푡 do 6: 푚 ← 퐸푞.(9) 7: if 푚< 0.1 then 8: 푁푟푒푚표푣푒 ← 푏 - 1 9: return 푁푟푒푚표푣푒 10: end if 11: <u>end for</u> Where the metric 푚, standard deviation 휎, and average 휇 are computed according to Eqs. (9 11).For a random variable vector M made up of N scalar observations, 휎(푋,푌 ) 푗푗푗 푚 = 휎(푋,푌 ) 푗푗푗−1 - 1 (9) 푁 푖=1 푁 푖=1 푖=1 휎 = 1 ~~��~~ <u>�</u> 푁 - 1 휇 = <sup>1</sup> 푁 |푀푖 - 휇| <sup>2</sup> (10) 푀푖. (11) Example of such an algorithm (Alg. 2) applied to an arbitrary cluster is shown in Figure 10 A). The idea is to remove the points that are too far from the mean, and we use the constant of 10% decrease in standard deviation (STD) to reject the outliers. The initial 8 points in cluster 퐾 are sorted in descending order by the distance from the mean 휇. When removing the first two points, the metric 푚> 0.1, but not when we remove the third, 푚< 0.1 thus cluster will be reduced to the most packed 6 points. A) B) C) nmax = 4 <u>3</u> σ 1 2 σ Fig. 10. A) Per cluster the outliers are removed according to predefined 10% decrease in STD. Only the first two points will be moved to the outliers because the 3rd point is close together with the other points; B) Global parameter of 휎푡ℎ푟푒푠ℎ in red and, per cluster, the estimated 휎 in green, is either below or outside the expected range; C) Maximum number of points per cluster 푛푚푎푥, and 푛 푝푘 < 푛푚푎푥 is the number of points in cluster When the outliers are removed we want to reject the clusters that are overly spread for instance due to the drift. In our approach, the spread of particular cluster has to be below 휎퐾 < 휎푡ℎ푟푒푠ℎ and it is computed according to Algorithm 3. <u>Algorithm 3</u> <u>Compute spread</u> 1: X ← X - 휇 ( X ) 2: Y ← Y - 휇 ( Y ) ⊲푐푙푢푠푡푒푟 ← 푐푒푛푡푒푟푡표푍푒푟표(푐푙푢푠푡푒푟) 3: 휎퐾 = 휎(퐾 (:)) ⊲퐸푞. 10 표푝푒푟푎푡푖푛푔표푛푐푙푢푠푡푒푟퐾 The idea here is that the user selects a single cluster that with a big confidence corresponds to an isolated particle and passes the corresponding recommended limit of 휎푡ℎ푟푒푠ℎ. The example of the thresholding by spread 10 B) shows that such a limit will be met by the set of black points but not by the red set. Finally, based on the geometric considerations outlined in Section 2 of the paper, we add a prior on the resultant amount of points that contribute to a single cluster. For a target particle diameter of the 푑, the amount of the zero-crossing points (푋,푌 )푛 ≤ Δ푑푦 <sup>.</sup> Alternatively, one can perform numerical simulations where the line-by-line scanning of the focused spot is done through the range of particle sizes and by combining it with the estimates for the characteristic noise present in the technique assess the maximum amount of lines. Further research on this issue would be of interest; however, it is beyond the scope of this study. Next, the two popular algorithms of K-means and DBSCAN are described and compared to become the cluster initializers. Classical K-means with prior Hyperparameters: 푛푚푎푥, 휎푡ℎ푟푒푠ℎ We modify the K-means [25,45] such that it can accurately establish the isolated particles. For validation purposes, the density of spheres is crucial, thus the algorithm needs to overcome its inherent tendency to overestimate clusters. One difference to the original K-means is that we introduce the outliers. The outliers include: A) clusters with single particle; B) empty clusters; C) distant points previously included in a cluster. The option C) is treated by Algorithm 2. The second difference is conditioning of the assigned clusters. Clusters are considered to be valid if 푛 푝푘 < 푛푚푎푥 (Figure 3 C)) and 휎 <sup>′</sup> ([푋,푌 ]) < 휎푡ℎ푟푒푠ℎ, where 휎 <sup>′</sup> ([푋,푌 ]) is 푠푝푟푒푎푑 computed for the set of points, with a mean moved to the zero and the distance normalized to unity (Algorithm 3). After K-means convergence (one epoch), if there are points that fail on both conditions 푛푚푎푥 and 휎 <sup>′</sup> ([푋,푌 ]), they are passed through the K-means again. The algorithm stops if all points are assigned to either cluster or an outlier. In every epoch of the K-means, the optimal amount of clusters is defined from the elbow method based on the average of 3 random initializations. Hence, in our implementation, the K-means is described via following algorithm in pseudocode. <u>Algorithm 4</u> <u>K-means with prior</u> 1: procedure Kmeansp(푝푎푠푝, 푠푡푑퐿푖푚푖푡, 푡ℎ푟푒푠ℎ) ⊲ 푝푎푠푝 : 푖푛푝푢푡푝표푖푛푡푠 (푋,푌 ), 푠푡푑퐿푖푚푖푡 : 휎푡ℎ푟푒푠ℎ, 푡ℎ푟푒푠ℎ : 푛푚푎푥 2: while 푠푖푧푒( 푝푎푠푝) - 0 do 3: 퐾 ← 표푝푡푖푚푎푙퐾 ⊲ Defined by elbow method 4: 푘푚푒푎푛푠( 푝푎푠푝, 퐾) ⊲ Apply classical K-means 5: for 1 : 퐾 do ⊲ For each cluster 6: if 푁푟푒푚표푣푒 ≠ 0 then ⊲ Remove outliers in cluster, Algorithm 2 7: 푠푒푡푠푝 = 푠표푟푡푒푑푃표푖푛푡푠(1 : 푁푟푒푚표푣푒) 푓푎푙푠푒 ⊲ Defining outliers 8: 푁표푂푢푡푙푖푒푟푠 ← 푟푒푣푒푟푠푒푆표푟푡 (푠푝) 9: end if 10: if 푠푝푟푒푎푑 (푐푙푢푠푡푒푟) - 푠푡푑퐿푖푚푖푡 then ⊲ Find sparse clusters 11: ℎ푖푔ℎ푆푝푟푒푎푑 ←(푠푝푟푒푎푑 (푁표푂푢푡푙푖푒푟푠) - 푠푡푑푙푖푚푖푡) 12: end if 13: if 푠푖푧푒(푐푙푢푠푡푒푟) - 푡ℎ푟푒푠ℎ then ⊲ Find dense clusters 14: 푀푎푛푦푃표푖푛푡푠 ←(푠푖푧푒(푁표푂푢푡푙푖푒푟푠) - 푡ℎ푟푒푠ℎ) 15: end if 16: 푔표표푑푃표푖푛푡푠 ←∼ 푁표푂푢푡푙푖푒푟푠(ℎ푖푔ℎ푆푝푟푒푎푑 AND 푀푎푛푦푃표푖푛푡푠) 17: 푏푎푑푃표푖푛푡푠 ← 푁표푂푢푡푙푖푒푟푠(ℎ푖푔ℎ푆푝푟푒푎푑 AND 푀푎푛푦푃표푖푛푡푠) 18: if 푠푖푧푒(푔표표푑푃표푖푛푡푠 ≤ 1) then ⊲ Remove single/zero point clusters 19: 푅푒푚표푣푒푖푠표푙푎푡푒푑 20: end if 21: 푝푎푠푝 ← 푏푎푑푃표푖푛푡푠 ⊲ Send not suitable points to new iteration 22: end for 23: end while 24: end procedure DBSCAN Hyperparameters: 푛푚푖푛, 휖 The density-based clustering algorithm (DBSCAN) [26, 46] has a straightforward advantage in taking care of the obscure points, such that all points that are not reachable from any other point are outliers or noise points. The two hyperparameters are inclusion radius 휖 and minimum number of points in the cluster 푛푚푖푛. The input for the 푛푚푖푛 is straightforward, such that it can be any number between 1 < 푛푚푖푛 < 푛푚푎푥. For the 휖 recommendation, we use the following routine: - Normalize the complete data set of 푚푖푑푑푙푒푠 to the unity, such that 푛표푟푚 X = 푚푎푥 <u>X</u> ( X ) <sup>and</sup> 푛표푟푚 Y = 푚푎푥 <u>Y</u> ( Y ) <sup>.</sup> - Select the set of points that with a high confidence forms a cluster, via visual inspection, 푐표푛푓푋 = {푛표푟푚 X } and 푐표푛푓푌 = {푛표푟푚 Y }. Center this cluster to the zero 푐푒푛푡푒푟푡표푍푒푟표(푐표푛푓푋, 푐표푛푓푌 ) (first two lines of Algorithm 3) - Determine the average distance between points. Includes computation of Euclidian distance between each pair of observations in separately X and Y and taking average of each vector. As a result of K-means or DBSCAN, one can pick up the converged clusters and either: A) Pull the features of 푠푖푔푛푎푙푆푖푧푒 specifically for the highest 푉푝푘− 푝푘 from corresponding pulses in a cluster; B) Average of the corresponding time-spans <u>τ</u> of points in clusters (Eq. 12); C) The full amplitude of a signal itself 푉푝푘− 푝푘 . <u>τ</u> = <u>푖=1</u> <sup>τ푖</sup> 푛푐 <u>�푛푐</u> (12) Where 푛푐 is number of points assigned to the cluster. Correspondingly, the centroids of clusters are stored for the mapping of the particle positions. On computational complexity of algorithms. Comparing two algorithms The classical K-means algorithm has a complexity 푂 (푇퐾푛), where 푛 is the number of input points, 퐾 is the desired number of clusters, and 푇 is the number of iterations needed for convergence. It is also observed that approximately 푇 ∝ 푛 [47]. Hence, the effective time complexity becomes 푂 (푛 <sup>2</sup> ). The K-means is a greedy algorithm since it can produce both empty and over-populated clusters. Another drawback is the large dependence on the initialization of cluster centers. As according to the quadratic time complexity, it should not be used in extremely large data applications [48]. Implementation of the K-means with prior in this paper has 푂 (푛 <sup>2</sup> - 푙표푔푛) time complexity. In the DBSCAN implementation, for each of the points of the input data, we have at most one region query. Thus, the average run time complexity of DBSCAN is query of log 푛 times the amount of points 푛, 푂 (푛 - 푙표푔푛). Sensitivity of K-means and DBSCAN algorithms Sensitivity analysis was used to explore how the accuracy of algorithms would change with slight variations in the hyperparameters. The green point in every plot represents the most preferred initial value that yields the highest accuracy, while the offset from this point defines the sensitivity (see Fig. 11). A) thresh = 0.0566 B) = 0.013 % of change % of change C) nmax = 13 D) MinPts = 4 % of change % of change Fig. 11. Sensitivity analysis of isolated changes of hyperparameters for K-means and DBSCAN algorithms. The accuracy changes as a function of 휎푡ℎ푟푒푠ℎ and 휖, given fixed 푛푚푎푥 = 13 and 푀푖푛푃푡푠 = 4 in A) and B) correspondingly and as a function of 푛푚푎푥 and 푀푖푛푃푡푠, given 휎푡ℎ푟푒푠ℎ = 0.056 and 휖 = 0.013 in C) and D). Preparation of the samples Samples were prepared in a clean room class ISO 6 and we used high quality 1 inch wafers from Ultrasil. The general procedure for the sample preparation is outlined below: - Clean UV/Ozone apparatus with IPA wipe and switch on for 15 minutes - Prepare solution - Place solution in ultrasonic bath - Clean 1-inch Si wafer in UV Ozone for 5 minute - Spin 0.5 ml solution on wafer @ 6100 RPM - Place wafer in box Solution for sample #1, 50 nm PSL: 3 droplets (Thermo scientific, Nanospheres, 3050A) in 0.5 푚푙 demi water (from Mecrk Simplicity UV water purification system, applied in each recipe) 50 휇푙 in 5 푚푙 IPA (Sigma-Aldrich, 2-Propanol, anhydrous, catalogusnummer 278475-1L, applied in each recipe) under vigorous shaking. Solution for sample #2, 100 nm PSL: 3 droplets (Thermo scientific, Nanosspheres, 3100A) in 0.5 푚푙 demi water. Dilute 80 휇푙 in 5 푚푙 IPA. Solution for sample #3, 60 and 80 nm PSL: 1 droplet 80 nm PSL dispersion (Thermo scientific, Nanospheres, 3080A) and 1 droplet 60 nm PSL dispersion (Thermo scientific, Nanospheres, 3060A) in 0.5 푚푙 demi water. Dilute 70 휇푙 in 5 푚푙 IPA under vigorous shaking. The re-assignment of signal centroids by the K-means algorithm. A) B) Normalized distance [a.u.] C) D) Normalized distance [a.u.] Signal length [s] x10 <sup>-3</sup> Signal length [s] x10 <sup>-3</sup> Fig. 12. Adapted K-means algorithm. A) The zero-crossings of the differential signals by the search algorithm and B) the corresponding isolated particles (after clustering) obtained by converged DBSCAN. The data set includes minor drift where one scanning line of Δ푥 = 25휇푚 takes 100 ms. Histograms obtained when C) all the particle-looking signals contribute to the histogram, and D) when the signals are clustered and only one centroid (with maximum 푉푝푘− 푝푘 ) is assigned to represent the particle. In addition to the better performing algorithm of DBSCAN presented in Section 5.3, we demonstrate the output of the modified K-means algorithm 12 B). The difference with the DBSCAN algorithm is a tendency to merge the clusters that would easily be separated by the human eye. Such cluster can be seen as cluster n. 3, which contains two separable groups of points. The solution for this problem can be to re-initialize the algorithm multiple times until the cluster is assigned correctly. Nevertheless, it is more informative to present average initialization result. The algorithm is capable of separating three classes of particles, as shown in 12 D), which is much better than the result of using all the detected signals 12 C). Funding Nederlandse Organisatie voor Wetenschappelijk Onderzoek; 501100003246; 14660, High Tech Systems and Materials Research Program, 14660, Applied and Technical Sciences division (TTW). Acknowledgments We gratefully acknowledge the help provided by TNO in the fabrication of samples. Dmytro Kolenov acknowledges the High Tech Systems and Materials Research Program with Project n. 14660, financed by the Netherlands Organisation for Scientific Research (NWO), Applied and Technical Sciences division (TTW) for funding this research. Disclosures The authors declare no conflicts of interest. References 1. K. Lindfors, T. Kalkbrenner, P. Stoller, and V. Sandoghdar, “Detection and spectroscopy of gold nanoparticles using supercontinuum white light confocal microscopy,” Phys. Rev. Lett. 93, 037401 (2004). 2. J. Zhu, Y. Liu, X. Yu, R. Zhou, J. Jin, and L. Goddard, “Sensing sub-10 nm wide perturbations in background nanopatterns using optical pseudoelectrodynamics microscopy (opem),” Nano Lett. 19, 5347–5355 (2019). 3. D. Sevenler, O. Avci, and M. S. Ünlü, “Quantitative interferometric reflectance imaging for the detection and measurement of biological nanoparticles,” Biomed. Opt. Express 8, 2976–2989 (2017). 4. J.-E. Park, K. Kim, Y. Jung, J.-H. Kim, and J.-M. Nam, “Metal nanoparticles for virus detection,” ChemNanoMat 2, 927–936 (2016). 5. R. Donovan, _Contamination-Free Manufacturing for Semiconductors and Other Precision Products_ (Taylor & Francis, 2001). 6. W. B. Junior, S. Watson, P.-C. Chiang, R.-F. Shi, J.-R. Wang, and P. Lim, “1X HP EUV reticle inspection with a 193nm inspection system,” in _Photomask_ _Technology_ _2017,_ vol. 10451 P. D. Buck and E. E. Gallagher, eds., International Society for Optics and Photonics (SPIE, 2018), pp. 149 – 157. 7. M. Benelmekki, “An introduction to nanoparticles and nanotechnology,” in _Designing Hybrid Nanoparticles,_ (Morgan & Claypool Publishers, 2015), 2053-2571, pp. 1–1 to 1–14. 8. S. Lozenko, T. Shapoval, G. Ben-Dov, Z. Lindenfeld, B. Schulz, L. Fuerst, C. Hartig, R. Haupt, M. Ruhm, and R. Wang, “Matching between simulations and measurements as a key driver for reliable overlay target design,” in _Metrology,_ _Inspection,_ _and_ _Process_ _Control_ _for_ _Microlithography_ _XXXII,_ vol. 10585 V. A. Ukraintsev, ed., International Society for Optics and Photonics (SPIE, 2018), pp. 314 – 325. 9. Y. Lu and S. C. Chen, “Nanopatterning of a silicon surface by near-field enhanced laser irradiation,” Nanotechnology 14, 505–508 (2003). 10. J. T. Trueb, O. Avci, D. Sevenler, J. H. Connor, and M. S. Ünlü, “Robust visualization and discrimination of nanoparticles by interferometric imaging,” IEEE J. Sel. Top. Quantum Electron. 23 (2017). 11. G. Popescu, _Quantitative phase imaging of cells and tissues_ (McGraw Hill Professional, 2011). 12. R. Zhou, C. Edwards, A. Arbabi, G. Popescu, and L. L. Goddard, “Detecting 20 nm wide defects in large area nanopatterns using optical interferometric microscopy,” Nano Lett. 13, 3716–3721 (2013). PMID: 23899129. 13. B. M. Barnes, M. Y. Sohn, F. Goasmat, H. Zhou, A. E. Vladár, R. M. Silver, and A. Arceo, “Three-dimensional deep sub-wavelength defect detection using 휆 = 193 nm optical microscopy,” Opt. Express 21, 26219–26226 (2013). 14. D. Kolenov, R. C. Horsten, and S. F. Pereira, “Heterodyne detection system for nanoparticle detection using coherent Fourier scatterometry,” in _Optical_ _Measurement_ _Systems_ _for_ _Industrial_ _Inspection_ _XI,_ vol. 11056 P. Lehmann, W. Osten, and A. A. G. Jr., eds., International Society for Optics and Photonics (SPIE, 2019), pp. 336 – 342. 15. O. E. Gawhary and S. J. Petra, “Method and apparatus for determining structure parameters of microstructures,” US Pat. (2015). Https://goo.gl/zJkGPq. 16. S. Roy, S. F. Pereira, H. P. Urbach, X. Wei, and O. El Gawhary, “Exploiting evanescent-wave amplification for subwavelength low-contrast particle detection,” Phys. Rev. A 96, 013814 (2017). 17. S. Roy, A. C. Assafrao, S. F. Pereira, and H. P. Urbach, “Coherent fourier scatterometry for detection of nanometer-sized particles on a planar substrate surface,” Opt. Express 22, 13250–13262 (2014). 18. S. Konijnenberg, “Focal field shaping by means of pupil engineering using the enz theory,” PhD dissertation, TU Delft (2013). 19. J. Zhu, R. Zhou, L. Zhang, B. Ge, C. Luo, and L. L. Goddard, “Regularized pseudo-phase imaging for inspecting and sensing nanoscale features,” Opt. Express 27, 6719–6733 (2019). 20. S. Purandare, J. Zhu, R. Zhou, G. Popescu, A. Schwing, and L. L. Goddard, “Optical inspection of nanoscale structures using a novel machine learning based synthetic image generation algorithm,” Opt. Express 27, 17743–17762 (2019). 21. M.-A. Henn, H. Zhou, and B. M. Barnes, “Data-driven approaches to optical patterned defect detection,” OSA Continuum 2, 2683–2693 (2019). 22. S. Roy, M. Bouwens, L. Wei, S. Pereira, H. Urbach, and P. Van Der Walle, “High speed low power optical detection of sub-wavelength scatterer,” Rev. Sci. Instruments 86 (2015). 23. D. Kolenov, P. Meng, and S. F. Pereira, “Highly-sensitive laser focus positioning method with sub-micrometre accuracy using coherent fourier scatterometry,” Meas. Sci. Technol. (2020). 24. J. H. W. Junior, “Hierarchical grouping to optimize an objective function,” J. Am. Stat. Assoc. 58, 236–244 (1963). 25. S. P. Lloyd, “Least squares quantization in pcm,” IEEE Transactions on Inf. Theory 28, 129–137 (1982). 26. M. Ester, H.-P. Kriegel, J. Sander, and X. Xu, “A density-based algorithm for discovering clusters in large spatial databases with noise.” in _KDD,_ E. Simoudis, J. Han, and U. M. Fayyad, eds. (AAAI Press, 1996), pp. 226–231. 27. A. Bailur, “Remove baseline wander using for ecg or pppg,” (2017). 28. W. Andrew, _Handbook of Silicon Based MEMS Materials and Technologies_ (Elsevier Inc., 2010). 29. J. Yang, J. Sun, and J. Ni, “Removing DC offset and de-noising for inspecting signal based on mathematical morphology filter processing,” in _Fourth International Symposium on Precision Mechanical Measurements,_ vol. 7130 Y. Fei, K.-C. Fan, and R. Lu, eds., International Society for Optics and Photonics (SPIE, 2008), pp. 1146 – 1152. 30. K. Brzostowski, “An algorithm for estimating baseline wander based on nonlinear signal processing,” in _2016 IEEE_ _18th International Conference on e-Health Networking, Applications and Services (Healthcom),_ (2016), pp. 1–5. 31. T. Sauer, _Numerical Analysis_ (Addison-Wesley Publishing Company, 2011), 2nd ed. 32. Z. Chen, P. Hu, Q. Meng, and X. Dong, “Novel optical fiber dynamic light scattering measurement system for nanometer particle size,” Adv. Mater. Sci. Eng. 2013 (2013). 33. D. Brouns _et al._, “NXE pellicle: offering a EUV pellicle solution to the industry,” in _Extreme Ultraviolet (EUV)_ _Lithography VII,_ vol. 9776 E. M. Panning, ed., International Society for Optics and Photonics (SPIE, 2016), pp. 567 – 576. 34. S. Roy, K. Ushakova, Q. van den Berg, S. F. Pereira, and H. P. Urbach, “Radially polarized light for detection and nanolocalization of dielectric particles on a planar substrate,” Phys. Rev. Lett. 114, 103903 (2015). 35. M. Potenza, T. Sanvito, and A. Pullia, “Measuring the complex field scattered by single submicron particles,” AIP Adv. 5, 117222 (2015). 36. M. learning course Google Dev., “K-means advantages and disadvantages,” (2019). Https://tinyurl.com/ydjqw4d2. 37. H.-P. Kriegel, P. Kröger, J. Sander, and A. Zimek, “Density-based clustering,” WIREs Data Min. Knowl. Discov. 1, 231–240 (2011). 38. V. Sze, Y. . Chen, T. . Yang, and J. S. Emer, “Efficient processing of deep neural networks: A tutorial and survey,” Proc. IEEE 105, 2295–2329 (2017). 39. N. G. Orji, M. Badaroglu, B. M. Barnes, C. Beitia, B. D. Bunday, U. Celano, R. J. Kline, M. Neisser, Y. Obeng, and A. E. Vladar, “Metrology for the next generation of semiconductor devices,” Nat. Electron. 1, 532–547 (2018). 40. Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature 521, 436–444 (2015). 41. S.-J. Kim, T.-Y. Kim, C. S. Park, C.-S. Park, and Y. Y. Chun, “All-optical differential detection for suppressing multiple-access interference in coherent time-addressed optical cdma systems,” Opt. Express 12, 1848–1856 (2004). 42. S. Tamaru, S. Tsunegi, H. Kubota, and S. Yuasa, “Vector network analyzer ferromagnetic resonance spectrometer with field differential detection,” Rev. Sci. Instruments 89 (2018). 43. M. Murugappan, S. Murugappan, and B. S. Zheng, “Frequency band analysis of electrocardiogram (ecg) signals for human emotional state classification using discrete wavelet transform (dwt),” J. physical therapy science 25, 753–759 (2013). 44. K. Daqrouq, “Ecg baseline wander reduction using discrete wavelet transform,” Asian J. Inf. Technol. 4, 989–995 (2005). 45. O. R. Barron, “k-means clustering,” (2019). 46. S. M. K. Heris, “Implementation of dbscan clustering in matlab,” (2015). 47. M. K. Pakhira, “A fast k-means algorithm using cluster shifting to produce compact and separate clusters,” Int. J. Eng. Transactions A: Basics 28, 36–45 (2015). 48. X. Jin and J. Han, _K-Means Clustering_ (Springer US, 2010), pp. 563–564.

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.