Multi-interface morphology super-resolution measurement method
By constructing a swept frequency interference signal data set and a super-resolution spectrum prediction model, and using a multi-head shift window attention mechanism, the problem of low depth resolution in multi-interface topography measurement is solved, and higher topography resolution and Stronger noise immunity.
Patent Information
- Application Number
- CN202410919780.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-10
AI Technical Summary
The existing technology has low depth resolution in multi-interface topography measurement, traditional methods cannot effectively remove interface aliasing, and the accuracy is reduced in a noisy environment, making it impossible to measure the topography distribution of the interface layer with high sensitivity.
Construct a swept frequency interference signal data set, use sparsity to construct labels, predict the super-resolution spectrum of the measured surface through the super-resolution spectrum prediction model, and track the phase spectrum to reconstruct the topography field, using the CVSwinFreq model combined with the complex-valued filtering module and a super-resolution module that uses a multi-head shift window attention mechanism to extract signal features.
It improves the depth resolution of swept frequency interferometry, overcomes the problems of parameter design and weak anti-interference ability of traditional methods, and achieves higher depth resolution and stronger generalization ability.
Smart Images

Figure CN118735784A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of multi-interface morphology measurement, and in particular to a multi-interface morphology super-resolution measurement method. Background Art
[0002] Swept-frequency interferometry is a distance measurement technology based on the principle of optical coherence interference. It has the advantages of high precision and non-contact measurement. It is often used to measure the surface morphology and thickness of optical devices (such as lenses, films, lenses, etc.). In order to measure the morphology of multiple interfaces, it is usually necessary to convert the swept-frequency interference signal obtained by the swept-frequency interferometry system into the frequency domain for processing. However, the limited bandwidth of the laser source of the measurement system will reduce the resolution of the system in the depth direction, resulting in aliasing between interfaces.
[0003] To overcome this problem, AR spectrum estimation (Autoregressive Spectrum Estimation) can be used to physically model the signal. This method establishes an autoregressive model of the signal, estimates the parameters of the model, obtains the autoregressive coefficients of the signal to obtain its power spectrum estimate, and improves the depth resolution of the swept frequency interferometry. However, AR spectrum estimation generally cannot solve the phase information of the interface, resulting in the inability to measure the morphological distribution of the interface layer with high sensitivity; and the order selection of the AR model will have a great impact on the results, and its accuracy will be reduced when the noise is large. Later, with the vigorous development of machine learning technology, data-driven methods were applied to optical measurement. Researchers use convolutional neural networks (CNN) or generative adversarial networks (GAN) to train a neural network model from aliased images to de-aliased images to learn the characteristics and patterns of aliased signals in the image, thereby achieving signal aliasing removal and depth resolution improvement. However, traditional data-driven methods only focus on the end-to-end mapping relationship, ignoring the physical nature that the depth resolution of the swept frequency interferometry signal is limited by the bandwidth of the light source, and not paying attention to the physical characteristics of the swept frequency interferometry signal itself, so the degree of improvement in depth resolution is limited.
[0004] In summary, existing physical modeling-based or traditional data-driven methods have their limitations in improving the resolution of multi-interface morphology, so it is necessary to further explore multi-interface super-resolution morphology measurement technology. Summary of the invention
[0005] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a multi-interface morphology super-resolution measurement method.
[0006] To achieve the above purpose, the technical solution provided by the present invention is:
[0007] A multi-interface morphology super-resolution measurement method, comprising:
[0008] Construct a swept frequency interferometer signal data set;
[0009] The sparsity of the frequency-sweep interference signal spectrum is used to construct the frequency-sweep interference signal label;
[0010] Normalizing the swept frequency interference signal data;
[0011] A super-resolution spectrum prediction model is constructed and trained based on the normalized swept frequency interference signal data;
[0012] The optimized super-resolution spectrum prediction model is used to predict the super-resolution spectrum of the measured surface;
[0013] The phase spectrum of the measured surface is tracked using the predicted super-resolution spectrum of the measured surface;
[0014] The topography field of the measured surface is reconstructed using the phase spectrum obtained by tracking.
[0015] Furthermore, a frequency sweep interference signal data set is constructed, including:
[0016] In the swept frequency interferometry measurement, after eliminating the DC component and self-coherent component in the swept frequency interferometry signal, the system collects the multi-surface scanning swept frequency interferometry signal obtained according to the principle of optical interference and expresses it in the time domain t as follows:
[0017]
[0018] Where M is the number of surfaces involved in the interference; I R ,I m are the reflected light intensities of the reference surface and the measured surface, respectively, m is the optical path difference between the reference surface and the measured surface, Δk is the laser wave number scanning range; k0 is the starting wave number of the swept light source, is the frequency generated when the reflected light from the reference surface interferes with the light from the measured surface. is the initial phase when the reflected light from the reference surface interferes with the light from the measured surface;
[0019] In a noisy environment, the sampled swept frequency interference signal is expressed as:
[0020]
[0021] Formula (2) is equivalent to formula (1) for superimposed noise; where N is the number of sampling points of the swept frequency interference signal, M is the number of surfaces involved in the interference, Re[·] represents the real part of the complex number, and f i ∈[-0.5,0.5) indicates that the signal sampling frequency is F s = The frequency generated when the reflected light from the reference surface and the measured surface interferes with each other at 1Hz, α i ∈[0,1) is the corresponding amplitude of the frequency generated by the interference between the reflected light of the reference surface and the measured surface, is the initial phase when the reflected light from the reference surface and the measured surface interfere with each other, z[t] is the Gaussian noise in the environment;
[0022] According to formula (2), change the frequency f i , amplitude α i , Phase Obtain a variety of swept frequency interference signals, and f i The sampling satisfies the Gaussian distribution, α i and The sampling meets the uniform distribution;
[0023] Create an analytical signal corresponding to the swept frequency interference signal, and take its real and imaginary coefficients to form the network input.
[0024]
[0025] According to formula (3), the analytical signal of the swept frequency interference signal in the complex domain is obtained. The real part and imaginary part of each signal are extracted to form a matrix Re[·] and Im[·] represent the real part and imaginary part of the complex number respectively; the size of the matrix Input is 2×N, which is used as a training data.
[0026] Furthermore, when constructing the swept frequency interference signal tag, all the frequencies f1, f2, ..., f generated when the reflected light from the reference surface and the measured surface interfere with each other are M Input the Gaussian kernel function to obtain the smoothed spectrum corresponding to the swept frequency interference signal;
[0027] Among them, the Gaussian kernel function is expressed as:
[0028]
[0029] N is the length of the sampling frequency-sweep interference signal; K(x) is a smooth function, and x is the independent variable of the function, which has the following characteristics: when x→0, K(x)=1; when x≠0, K(x) drops rapidly to 0, that is, there is a sharp peak at x=0;
[0030] Input the frequency sweep interference signal spectrum into the Gaussian kernel function to obtain its smoothed spectrum F(u):
[0031]
[0032] Where u∈[-0.5,0.5) is the sampling frequency F s = 1Hz, M is the number of surfaces involved in the interference, f i It is the frequency generated when the reflected light from the reference surface and the measured surface interfere with each other.
[0033] Furthermore, the formula for normalizing the swept frequency interference signal data is as follows:
[0034]
[0035] Among them, x i is the swept frequency interferometry data before normalization, is the normalized swept frequency interference data, and N is the length of the sampled swept frequency interference signal. When the matrix Input is normalized, the square sum of all swept frequency interference signal values in the matrix is calculated and the average is taken. Then the average after the quadratic root is used as the normalization factor of the matrix. All signal values must be divided by the normalization factor to obtain normalized data.
[0036] Furthermore, the constructed super-resolution spectrum prediction model includes a CVSwinFreq model as a basic framework, including a complex-valued filtering module and a super-resolution module;
[0037] Among them, the complex-valued filtering module includes CVLinear layer and CVConv2d layer;
[0038] In the CVLinear layer, the linear_r and linear_i attributes store a real-valued linear layer respectively, which is used for linear operations on the real and imaginary parts of the data. When complex data enters CVLinear, the real and imaginary parts pass through the corresponding real-valued linear layers respectively, and then the results are obtained through the mapping relationship and stored in the newly created CVTensor object.
[0039] In the CVConv2d layer, the conv_r and conv_i attributes store a one- or two-dimensional real-valued convolution layer, respectively, which is used for convolution operations on the real and imaginary parts of the data. When complex data enters the CVConv2d layer, the real and imaginary parts pass through the corresponding real-valued convolution layers respectively, and then the results are obtained through the mapping relationship and stored in the newly created CVTensor object.
[0040] Further, the super-resolution module includes a complex-valued signal shift window attention module, a CVConv1d layer, and a UPConvld layer;
[0041] The complex-valued signal shift window attention module includes a signal shift window attention layer and a CVConv1d layer, with residual connections between the input and the CVConv1d layer;
[0042] The signal shift window attention layer includes a layer normalization layer, a multi-head shift window attention mechanism operation layer, and a multi-layer perceptron;
[0043] After the signal passes through the layer normalization layer, a shift window attention calculation will be performed, and then after the residual connection, it will pass through the layer normalization layer and multi-layer perceptron again, and finally the output will be obtained after the residual connection.
[0044] Furthermore, the multi-head shift window attention mechanism of the multi-head shift window attention mechanism operation layer is as follows:
[0045] When the signal enters the odd signal shift window attention layer, the signal is split into two parts by the shift window, and then the attention calculation is performed.
[0046] Q=ZP Q ,K=ZP K ,V=ZP V ,(7)
[0047]
[0048] In formula (7), Q, K, and V are respectively called query vector, key vector, and value vector in attention operation; P Q , P K , P V are the query weight matrix, key weight matrix and value weight matrix, which are the parameters involved in training and learning; Z is the signal after window segmentation;
[0049] In formula (8), atten(·) is the attention calculation operation, d is the built-in dimension of multi-head shift window attention, and B is the learnable relative position encoding;
[0050] In formula (9), σ(·) is the softmax operation, which is used to perform exponential weighting on the data. i is the independent variable for softmax calculation, n is the number of windows for segmenting the signal;
[0051] When the signal enters the even-numbered signal shift window attention layer, the signal is divided into three parts by the shift window, and then the attention calculation is performed according to formula (7), formula (8), formula (9), and so on.
[0052] Furthermore, when the optimized super-resolution spectrum prediction model is used to predict the super-resolution spectrum of the measured surface, the collected swept frequency interference signal is converted into an analytical signal in the complex domain. The transformation formula is as follows:
[0053]
[0054] Where H[·] is the Hilbert transform operator, I(t) is the swept frequency interference signal; the interference signal is converted into its corresponding analytical signal after Hilbert transform. However, because the analytical signal is in the complex domain, it is necessary to obtain the imaginary part of the analytical signal as the imaginary part of the interference signal after transformation.
[0055]
[0056] The real and imaginary parts of the swept frequency interference signal are combined into a 2×N matrix N is the interference signal length.
[0057] Furthermore, the predicted super-resolution spectrum of the measured surface is used to track its phase spectrum, including:
[0058] The relationship between the phase of the swept frequency interference signal and the optical path difference from the reference surface to the measured surface can be expressed as:
[0059]
[0060] in, is the phase corresponding to the frequency generated by the interference between the reflected light from the reference surface and the measured surface, k0=2π / λ0 is the starting wave number of the light source; Λ i is the optical path difference from the reference surface to the measured surface;
[0061] Use Euler's formula to convert the interference signal from the real domain to the complex domain.
[0062]
[0063] Among them, w i is the angular frequency generated by the interference between the reflected light from the reference surface and the measured surface, is the phase corresponding to the angular frequency, and N is the interference signal length;
[0064] Write formula (13) in matrix form:
[0065] I=AX,(14)
[0066] Where I is the value of the interference signal after discrete sampling, is an N×2 matrix; is a 2×1 matrix;
[0067] After matrix operation, the phase P corresponding to the measured surface angular frequency is obtained as follows:
[0068] X=(A T A) -1 A T I,(15)
[0069]
[0070] Wherein, X(1) represents taking the first item in the matrix; by combining formula (15), formula (16) and formula (12), the frequency spectrum of the measured surface can be used to track its phase spectrum.
[0071] Compared with the prior art, the principles and advantages of this technical solution are as follows:
[0072] This technical solution fully considers the characteristics of super-resolution swept-frequency interference signals and constructs a swept-frequency interference signal data set based on this. The data-driven model is then used to learn the sparsity characteristics of the swept-frequency interference signals in the data set to achieve super-resolution measurement in the depth direction. This technical solution does not require additional parameters for calculation, and the resulting model has good robustness, overcoming the problems of traditional physical modeling methods that require parameter design and weak anti-interference ability. At the same time, compared with traditional data-driven methods, a neural network with higher depth resolution and stronger generalization ability is obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the services required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0074] Figure 1 The present invention is a principle flow chart of a multi-interface morphology super-resolution measurement method;
[0075] Figure 2 A structural diagram of a super-resolution spectrum prediction model in a multi-interface morphology super-resolution measurement method of the present invention;
[0076] Figure 3 This is the calculation principle diagram of the CVLinear layer in the super-resolution spectrum prediction model;
[0077] Figure 4 Schematic diagram of the multi-head shift window attention mechanism;
[0078] Figure 5 It is a schematic diagram of multi-surface aliasing;
[0079] Figure 6 is the interface phase diagram;
[0080] Figure 7 Comparison between the original image and the super-resolution image and the corresponding warped phase map;
[0081] Figure 8 This is a comparison diagram of the wrapped phase and the unwrapped phase. DETAILED DESCRIPTION
[0082] The present invention will be further described below in conjunction with specific embodiments:
[0083] like Figure 1 As shown, a multi-interface morphology super-resolution measurement method described in this embodiment includes the following steps:
[0084] S1, constructing a frequency sweep interferometer signal data set;
[0085] In the swept frequency interferometry, after eliminating the DC component and self-coherent component in the interference signal, the system collects the multi-surface interference signal according to the principle of optical interference and expresses it in the time domain t as follows:
[0086]
[0087] Where M is the number of surfaces involved in the interference; I R ,I m are the reflected light intensities of the reference surface and the measured surface, respectively, m is the optical path difference between the reference surface and the measured surface, Δk is the laser wave number scanning range; k0 is the starting wave number of the swept light source, is the frequency generated when the reflected light from the reference surface interferes with the light from the measured surface. is the initial phase of the interference between the reflected light of the reference surface and the measured surface. From formula (1), it can be seen that the point-to-point vertical distance between the reference surface and the measured surface is related to their optical path difference. Therefore, as long as the spectrum of the interference signal is obtained, the reconstruction of the surface topography field can be achieved.
[0088] At the same time, from formula (1), it can be seen that the swept frequency interference light intensity is actually the superposition of multiple sinusoidal signals; and considering that a large amount of experimental data cannot be obtained in real situations, this method constructs a simulation data set based on the characteristics of the swept frequency interference signal. In a noisy environment, the general form of the sampled swept frequency interference signal can be expressed as:
[0089]
[0090] Formula (2) is equivalent to Formula (1) for superimposed noise. Where N is the number of sampling points of the interference signal, Re[·] represents the real part of the complex number, and f i ∈[-0.5,0.5) indicates that the signal sampling frequency is F s = The frequency generated when the reflected light from the reference surface and the measured surface interferes with each other at 1Hz, α i ∈[0,1) is the corresponding amplitude of the frequency generated by the interference between the reflected light of the reference surface and the measured surface, is the initial phase when the reflected light from the reference surface and the measured surface interfere with each other, and z[t] is the Gaussian noise in the environment. According to formula (2), the frequency f is changed i , amplitude α i , Phase A rich variety of swept frequency interference signals can be obtained, and f i Sampling (sampling in the interval [-0.5, 0.5), which is different from the sampling of interference signals) satisfies the Gaussian distribution, α i and Sampling (same as above, refers to sampling within a specified range) satisfies uniform distribution.
[0091] It should be noted that the model used in the proposed method is used to process complex domain data. When constructing the data set, the analytical signal corresponding to the swept frequency interference signal can be directly created, and the real and imaginary coefficients can be taken to form the network input.
[0092]
[0093] According to the above formula, the analytical signal of the interference signal in the complex domain can be obtained. The real part and imaginary part of each signal are extracted to form a matrix Re[·] and Im[·] represent the real part and imaginary part of the complex number respectively; the size of the matrix Input is 2×N, which is used as a training data.
[0094] S2, constructing a swept frequency interference signal label by utilizing the sparsity of the swept frequency interference signal spectrum;
[0095] The spectrum of the swept frequency interference signal is sparse and is specifically manifested as the superposition of multiple impulse functions. However, the sudden change in the spectrum will cause the gradient explosion phenomenon when the network calculates the error gradient, so the label needs to be smoothed when preparing the data label. In this embodiment, all the frequencies f1, f2, ..., f generated when the reference surface and the reflected light of the measured surface interfere with each other are M Input the Gaussian kernel function to obtain the smoothed spectrum corresponding to the interference signal. The Gaussian kernel function can be expressed as:
[0096]
[0097] Among them, K(x) is a smooth function, and x is the independent variable of the function. Its characteristics are: when x→0, K(x)=1; when x≠0, K(x) drops rapidly to 0, that is, there is a sharp peak at x=0.
[0098] Input the interference signal spectrum into the Gaussian kernel function to obtain its smoothed spectrum F(u),
[0099]
[0100] Among them, u∈[-0.5,0.5) can be compared to the sampling frequency F s = The spectrum sampling point of discrete Fourier transform at 1Hz, f i is the frequency generated when the reflected light from the reference surface and the measured surface interfere with each other. From formula (4), it can be seen that F(u) is i There is a sharp peak at , and then it decays rapidly to 0. So far, according to formula (3) and formula (5), a high-quality data set based on the sparse characteristics of the tomographic interference spectrum can be obtained for model training.
[0101] S3, normalizing the swept frequency interference signal data;
[0102] The normalized formula is as follows:
[0103]
[0104] Among them, x i is the swept frequency interferometry data before normalization, is the normalized swept frequency interference data. When the matrix Input is normalized, the square sum of all interference signal values in the matrix is calculated and then the average is taken. Then the average after the quadratic root is used as the normalization factor of the matrix. All signal values must be divided by the normalization factor to obtain the normalized data. Normalization can make the data distribution more uniform, accelerate the network training process, and improve network performance.
[0105] S4. constructing and training a super-resolution spectrum prediction model based on the normalized swept frequency interference signal data;
[0106] The super-resolution spectrum prediction model is based on the CVSwinFreq model and is divided into two parts: the complex value filter module (MF Moudle) and the super-resolution module (SR Moudle). Figure 2 As shown;
[0107] right Figure 2 The words that appear in the network structure are explained as follows:
[0108] CVLinear: Linear layer for complex-valued computations;
[0109] CVConv1d: One-dimensional convolutional layer for complex-valued computations;
[0110] CVConv2d: 2D convolutional layer for complex-valued computations;
[0111] UPConvld: real 1D transposed convolutional layer;
[0112] CVSSTB: Signal Shift Window Attention Module for Complex-Valued Computations.
[0113] CVSSTL: Signal Shift Window Attention Layer for Complex-Valued Computations.
[0114] LN: layer normalization;
[0115] MSA: Multi-head shift window attention mechanism operation;
[0116] MLP: Multi-layer Perceptron, Figure 2 The number of perceptron layers in the network model is 2;
[0117] The complex-valued filter module of the model consists of 1 complex-valued linear layer and 1 complex-valued 2D convolutional layer; the super-resolution module consists of 3 complex-valued signal shift window attention modules (CVSSTB), 1 complex-valued 1D convolutional layer and a transposed convolutional layer. At the same time, residual connections are made at the input and complex-valued 1D convolutional layer of the super-resolution module to avoid gradient disappearance during training. The complex-valued signal shift window attention module consists of 2 signal shift window attention layers and 1 complex-valued 1D convolutional layer. Residual connections are also made at the input and complex-valued 1D convolutional layer. The signal shift window attention layer consists of 2 layer normalization layers, 1 multi-head shift window attention calculation layer and 1 two-layer perceptron, with 2 residual connections; after the signal is layer normalized, a shift window attention calculation is performed, and then after the residual connection, it is layer normalized again, multi-layer perceptron, and finally residual connection is performed to obtain the output.
[0118] The weights of the neural network are all in the real domain, but by creating a complex vector object CVTensor, it is possible to introduce the weights into the complex domain for calculation. CVTensor stores the real and imaginary parts of the data in the real and imag attributes respectively, and has the same methods and functions as real vector objects.
[0119] Figure 2 All complex number calculation modules that appear in the network model are based on CVTensor, which is described in detail below:
[0120] CVLinear: The linear_r and linear_i attributes store a real-valued linear layer (the weight of the linear layer is in the linear layer object), which is used for linear operations on the real and imaginary parts of the data. When complex data enters CVLinear, the real and imaginary parts pass through the corresponding real-valued linear layer, and then the results are obtained through a certain mapping relationship and stored in a new CVTensor. To show this process more intuitively, the process is as follows Figure 3 shown.
[0121] CVCon1d / CVConv2d: Similar to CVLinear, the conv_r and conv_i attributes store a one-dimensional / two-dimensional real-valued convolution layer, which is used for convolution operations on the real and imaginary parts of the data. When complex data enters CVCon1d / CVConv2d, the real and imaginary parts pass through the corresponding real-valued convolution layers, and then the results are obtained through a certain mapping relationship and stored in a new CVTensor. The process is similar Figure 3 .
[0122] MSA: Use CVLinear to store query weights, key weights, and value weights, and still return a CVTensor after attention calculation.
[0123] The operation process of other modules such as LN and MLP is similar to CVLi near and returns CVTensor.
[0124] By utilizing the characteristics of the swept frequency interferometry signal, the signal can be placed in the complex domain, bringing more prior information to the network model, which is conducive to further improving the depth resolution of swept frequency interferometry measurement.
[0125] Multi-head shift window attention mechanism:
[0126] The multi-head shifting window attention mechanism is an innovation of the traditional self-attention mechanism. By introducing the shifting window, different sequence data fragments can interact through the shifting window, which not only improves the computing speed of the network model, but also improves the performance of the network model.
[0127] The multi-head shift window attention mechanism is as follows Figure 4 As shown in the figure, the signal length is 200, the shift window length is 100, and when the signal enters the odd CVSSTL layer, the signal is divided into two parts by the shift window, both with a length of 100, and then the attention calculation is performed.
[0128] Q=ZP Q ,K=ZP K ,V=ZP V ,(7)
[0129]
[0130] In formula (7), Q, K, and V are respectively called query vector, key vector, and value vector in attention operation; P Q , P K , P V is the query weight matrix, the key weight matrix and the value weight matrix, which are the parameters involved in training and learning; Z is the signal after window segmentation. In formula (8), atten(·) is the attention calculation operation, d is the built-in dimension of multi-head shift window attention, and B is the learnable relative position encoding; in formula (9), σ(·) is the softmax operation, which is used to exponentially weight the data, x i is the independent variable for softmax calculation, and n is the number of windows for segmenting the signal.
[0131] When the signal enters the even-numbered CVSSTL layer, it is divided into three parts by the shift window, with lengths of 50, 100, and 50 respectively. Then the attention calculation is performed according to formula (7), formula (8), and formula (9), and so on.
[0132] From the principle of the multi-headed shifting window attention mechanism, it can be seen that when it is used to extract the features of the swept frequency interference signal, since the signal has a higher attention score at the peak value and the envelope peak value, it means that it tends to pay more attention to the peak value and envelope of the signal, or pays more attention to the characteristics of the signal itself, which are the characteristics that determine the frequency of the signal; the use of the multi-headed shifting window attention mechanism not only solves the problem of long-distance dependency of sequence data, but also brings better feature extraction capabilities to the network.
[0133] Hyperparameter settings
[0134] The hyperparameters of a model refer to the parameters that need to be specified in advance when training the model. These parameters are usually not learned through training data, but need to be set manually. They have the function of adjusting and controlling the structure and learning process of the model.
[0135] The network’s hyperparameters are set as follows:
[0136] n_epochs (number of network training iterations): 100;
[0137] lr (learning rate): 0.003, which is the step size when the network performs gradient back propagation;
[0138] optim_type (optimizer): adamw, the optimizer is the gradient back propagation optimization algorithm;
[0139] fr_size (label length): 4096. The higher the value, the higher the spectrum resolution.
[0140] inner_dim (embedding dimension): 512. The embedding dimension refers to the dimension of the data in the feature space after encoding.
[0141] Upsampling (the step size of each movement of the transposed convolution kernel): 8;
[0142] n_filters (number of neurons in the linear layer of the filter module): 32;
[0143] kernel_size (convolution kernel length): 3;
[0144] kernel_out (transposed convolution kernel length): 18;
[0145] window_size (shift window length): 32;
[0146] It should be noted that in order to ensure that the network input length and output length match, fr_size must be set to inner_dim·upsampling.
[0147] Network model training:
[0148] According to step S1, the data set based on the sparse characteristics of the tomographic interference spectrum is constructed, including a training set (640,000 swept frequency interference signals and their spectra) and a validation set (12,800 swept frequency interference signals and their spectra). The number of surfaces involved in the interference is set to a maximum of 10. Input the training set into Figure 2 The super-resolution spectrum prediction model shown is trained, and the mean square error (MSE) is used as the loss function for back gradient propagation. The evaluation index of the super-resolution spectrum prediction model is obtained by the average standard deviation between the output obtained by inputting the network into the validation set and the spectrum of the validation set.
[0149] The super-resolution spectrum prediction model converged after about 40 iterations, each iteration took about 20 minutes, and the verification error was about 0.3.
[0150] S5. The optimized super-resolution spectrum prediction model is used to predict the super-resolution spectrum of the measured surface. During the process, the collected swept frequency interference signal is converted into an analytical signal in the complex domain. The conversion formula is as follows:
[0151]
[0152] Where H[·] is the Hilbert transform operator, I(t) is the swept frequency interference signal; the interference signal is converted into its corresponding analytical signal after Hilbert transform. However, because the analytical signal is in the complex domain, it is necessary to obtain the imaginary part of the analytical signal as the imaginary part of the interference signal after transformation.
[0153]
[0154] The real and imaginary parts of the swept frequency interference signal are combined into a 2×N matrix
[0155] The specific prediction process is:
[0156] 1) Obtain experimental data. Since the length of the experimental data may not match the input length of the network, the data must be truncated first. At the same time, the truncation operation further reduces the resolution of the image.
[0157] 2) Normalize the truncated data.
[0158] 3) The normalized data is input into the super-resolution spectrum prediction model to obtain the super-resolution spectrum corresponding to the low-resolution data.
[0159] S6, using the predicted super-resolution spectrum of the measured surface to track its phase spectrum;
[0160] The topography field obtained by spectrum reconstruction is far less accurate than the topography field reconstructed by phase spectrum. To obtain a more accurate topography field, the spectrum of the measured surface can be used to track its phase spectrum, and then the topography field can be reconstructed after obtaining the phase spectrum. The relationship between the phase of the swept frequency interference signal and the optical path difference from the reference surface to the measured surface can be expressed as:
[0161]
[0162] in is the phase corresponding to the frequency generated by the interference between the reflected light from the reference surface and the measured surface, k0 = 2π / λ0 is the starting wave number of the light source; because the order of magnitude of k0 is 10 -6 , so the morphology field reconstructed by the phase spectrum has a high accuracy. i is the optical path difference from the reference surface to the measured surface. From formula (12), we can know that the phase generated by the interference of the reflected light from the reference surface and the measured surface is proportional to the corresponding optical path difference. Therefore, we only need to find the phase spectrum of the measured surface to reconstruct its topography field.
[0163] To use the spectrum of the measured surface to track its phase spectrum, first use the Euler formula to convert the interference signal from the real domain to the complex domain.
[0164]
[0165] Among them, w i is the angular frequency generated by the interference between the reflected light from the reference surface and the measured surface, is the phase corresponding to the angular frequency, and N is the interference signal length. The above formula is written in matrix form as follows:
[0166] I=AX,(14)
[0167] Where I is the value of the interference signal after discrete sampling, is an N×2 matrix; is a 2×1 matrix. After matrix operation, the phase P corresponding to the measured surface angular frequency can be obtained as follows:
[0168] X=(A T A) -1 A T I,(15)
[0169]
[0170] Where X(1) represents taking the first item in the matrix. Combining formula (15), formula (16) and formula (12), the frequency spectrum of the measured surface can be used to track its phase spectrum.
[0171] S7. Reconstruct the topography field of the measured surface using the phase spectrum obtained by tracking.
[0172] In order to verify the practicability and superiority of the method described in this embodiment, the following experiment is performed:
[0173] Stack two acrylic plates together to create a gap in the middle of the plates. Place a piece of paper at each end of the gap and apply pressure to create aliasing between the upper and lower surfaces of the upper acrylic plate (interfaces 1 and 2) and the upper and lower surfaces of the lower acrylic plate (interfaces 3 and 4). Figure 5 shown.
[0174] Among them, the phase diagrams corresponding to interface 1, interface 2, interface 3 and interface 4 are as follows: Figure 6 shown.
[0175] from Figure 6 Phase fringe chaos can be observed, which is the result of spectral aliasing leading to an incorrect estimation of the interface position, which will lead to an incorrect reconstruction of the topography field.
[0176] Will Figure 5 The corresponding swept frequency interference signal is truncated and normalized and then input into the obtained model to obtain its super-resolution spectrum; the aliased interface in the original image is intercepted and compared with the corresponding part of the high-resolution image. The results are as follows Figure 7 shown.
[0177] from Figure 7 It can be seen that the model successfully separates the four aliased interface layers and improves the depth resolution of swept frequency interferometry.
[0178] The warping phase and unwarping phase of the original image interface layer are compared with those of the high-resolution image interface layer, such as Figure 8 shown.
[0179] from Figure 8 It is known that the super-resolution image estimates the interface position more accurately, and clear phase fringes can be seen, indicating that the reconstructed morphological field will be more accurate.
[0180] The embodiments described above are only preferred embodiments of the present invention and are not intended to limit the scope of implementation of the present invention. Therefore, all changes made according to the shape and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A multi-interface morphology super-resolution measurement method, characterized in that: include: Construct a swept frequency interferometer signal data set; The sparsity of the frequency-sweep interference signal spectrum is used to construct the frequency-sweep interference signal label; Normalizing the swept frequency interference signal data; A super-resolution spectrum prediction model is constructed and trained based on the normalized swept frequency interference signal data; The optimized super-resolution spectrum prediction model is used to predict the super-resolution spectrum of the measured surface; The phase spectrum of the measured surface is tracked using the predicted super-resolution spectrum of the measured surface; The topography field of the measured surface is reconstructed using the phase spectrum obtained by tracking.
2. A multi-interface morphology super-resolution measurement method according to claim 1, characterized in that: Construct a swept frequency interferometer signal data set, including: In the swept frequency interferometry measurement, after eliminating the DC component and self-coherent component in the swept frequency interferometry signal, the system collects the multi-surface scanning swept frequency interferometry signal obtained according to the principle of optical interference and expresses it in the time domain t as follows: Where M is the number of surfaces involved in the interference; I R ,I m are the reflected light intensities of the reference surface and the measured surface, respectively, m is the optical path difference between the reference surface and the measured surface, Δk is the laser wave number scanning range; k0 is the starting wave number of the swept light source, is the frequency generated when the reflected light from the reference surface interferes with the light from the measured surface. is the initial phase when the reflected light from the reference surface interferes with the light from the measured surface; In a noisy environment, the sampled swept frequency interference signal is expressed as: Formula (2) is equivalent to formula (1) for superimposed noise; where N is the number of sampling points of the swept frequency interference signal, M is the number of surfaces involved in the interference, Re[·] represents the real part of the complex number, and f i ∈[-0.5,0.5) indicates that the signal sampling frequency is F s = The frequency generated when the reflected light from the reference surface and the measured surface interferes with each other at 1Hz, α i ∈[0,1) is the corresponding amplitude of the frequency generated by the interference between the reflected light of the reference surface and the measured surface, is the initial phase when the reflected light from the reference surface and the measured surface interfere with each other, z[t] is the Gaussian noise in the environment; According to formula (2), change the frequency f i , amplitude α i , Phase Obtain a variety of swept frequency interference signals, and f i The sampling satisfies the Gaussian distribution, α i and The sampling meets the uniform distribution; Create an analytical signal corresponding to the swept frequency interference signal, and take its real and imaginary coefficients to form the network input. According to formula (3), the analytical signal of the swept frequency interference signal in the complex domain is obtained. The real part and imaginary part of each signal are extracted to form a matrix Re[·] and Im[·] represent the real part and imaginary part of the complex number respectively; the size of the matrix Input is 2×N, which is used as a training data.
3. A multi-interface morphology super-resolution measurement method according to claim 2, characterized in that: When constructing a swept frequency interference signal label, all frequencies f1, f2, ..., f generated when the reflected light from the reference surface and the measured surface interfere with each other are recorded. M Input the Gaussian kernel function to obtain the smoothed spectrum corresponding to the swept frequency interference signal; Among them, the Gaussian kernel function is expressed as: N is the length of the sampling frequency-sweep interference signal; K(x) is a smooth function, and x is the independent variable of the function, which has the following characteristics: when x→0, K(x)=1; when x≠0, K(x) drops rapidly to 0, that is, there is a sharp peak at x=0; Input the frequency sweep interference signal spectrum into the Gaussian kernel function to obtain its smoothed spectrum F(u): Where u∈[-0.5,0.5) is the sampling frequency F s = 1Hz, M is the number of surfaces involved in the interference, f i It is the frequency generated when the reflected light from the reference surface and the measured surface interfere with each other.
4. The multi-interface morphology super-resolution measurement method according to claim 3, characterized in that: The formula for normalizing the swept frequency interference signal data is as follows: Among them, x i is the swept frequency interferometry data before normalization, is the normalized swept frequency interference data, and N is the length of the sampled swept frequency interference signal. When the matrix Input is normalized, the square sum of all swept frequency interference signal values in the matrix is calculated and the average is taken. Then the average after the quadratic root is used as the normalization factor of the matrix. All signal values must be divided by the normalization factor to obtain normalized data.
5. The multi-interface morphology super-resolution measurement method according to claim 4, characterized in that: The constructed super-resolution spectrum prediction model includes a complex-valued filtering module and a super-resolution module based on the CVSwinFreq model; Among them, the complex-valued filtering module includes CVLinear layer and CVConv2d layer; In the CVLinear layer, the linear_r and linear_i attributes store a real-valued linear layer respectively, which is used for linear operations on the real and imaginary parts of the data. When complex data enters CVLinear, the real and imaginary parts pass through the corresponding real-valued linear layers respectively, and then the results are obtained through the mapping relationship and stored in the newly created CVTensor object. In the CVConv2d layer, the conv_r and conv_i attributes store a one- or two-dimensional real-valued convolution layer, respectively, which is used for convolution operations on the real and imaginary parts of the data. When complex data enters the CVConv2d layer, the real and imaginary parts pass through the corresponding real-valued convolution layers respectively, and then the results are obtained through the mapping relationship and stored in the newly created CVTensor object.
6. A multi-interface morphology super-resolution measurement method according to claim 5, characterized in that: The super-resolution module includes a complex-valued signal shift window attention module, a CVConv1 d layer, and a UPConvld layer; The complex-valued signal shift window attention module includes a signal shift window attention layer and a CVConv1d layer, with residual connections between the input and the CVConv1d layer; The signal shift window attention layer includes a layer normalization layer, a multi-head shift window attention mechanism operation layer, and a multi-layer perceptron; After the signal passes through the layer normalization layer, a shift window attention calculation will be performed, and then after the residual connection, it will pass through the layer normalization layer and multi-layer perceptron again, and finally the output will be obtained after the residual connection.
7. A multi-interface morphology super-resolution measurement method according to claim 6, characterized in that: The multi-head shift window attention mechanism of the multi-head shift window attention mechanism operation layer is as follows: When the signal enters the odd signal shift window attention layer, the signal is split into two parts by the shift window, and then the attention calculation is performed. Q=ZP Q ,K=ZP K ,V=ZP V , (7) In formula (7), Q, K, and V are respectively called query vector, key vector, and value vector in attention operation; P Q , P K , P V are the query weight matrix, key weight matrix and value weight matrix, which are the parameters involved in training and learning; Z is the signal after window segmentation; In formula (8), atten(·) is the attention calculation operation, d is the built-in dimension of multi-head shift window attention, and B is the learnable relative position encoding; In formula (9), σ(·) is the softmax operation, which is used to perform exponential weighting on the data. i is the independent variable for softmax calculation, n is the number of windows for segmenting the signal; When the signal enters the even-numbered signal shift window attention layer, the signal is divided into three parts by the shift window, and then the attention calculation is performed according to formula (7), formula (8), formula (9), and so on.
8. A multi-interface morphology super-resolution measurement method according to any one of claims 2 to 7, characterized in that: When the optimized super-resolution spectrum prediction model is used to predict the super-resolution spectrum of the measured surface, the collected swept frequency interference signal is converted into an analytical signal in the complex domain. The transformation formula is as follows: Where H[·] is the Hilbert transform operator, I(t) is the swept frequency interference signal; the interference signal is converted into its corresponding analytical signal after Hilbert transform. However, because the analytical signal is in the complex domain, it is necessary to obtain the imaginary part of the analytical signal as the imaginary part of the interference signal after transformation. The real and imaginary parts of the swept frequency interference signal are combined into a 2×N matrix N is the interference signal length.
9. The multi-interface morphology super-resolution measurement method according to claim 8, characterized in that: The predicted super-resolution spectrum of the measured surface is used to track its phase spectrum, including: The relationship between the phase of the swept frequency interference signal and the optical path difference from the reference surface to the measured surface can be expressed as: in, is the phase corresponding to the frequency generated by the interference between the reflected light from the reference surface and the measured surface, k0=2π / λ0 is the starting wave number of the light source; Λ i is the optical path difference from the reference surface to the measured surface; Use Euler's formula to convert the interference signal from the real domain to the complex domain. Among them, w i is the angular frequency generated by the interference between the reflected light from the reference surface and the measured surface, is the phase corresponding to the angular frequency, and N is the interference signal length; Write formula (13) in matrix form: I=AX, (14) Where I is the value of the interference signal after discrete sampling, is an N×2 matrix; is a 2×1 matrix; After matrix operation, the phase P corresponding to the measured surface angular frequency is obtained as follows: X=(A T A) -1 A T I, (15 Wherein, X(1) represents taking the first item in the matrix; by combining formula (15), formula (16) and formula (12), the frequency spectrum of the measured surface can be used to track its phase spectrum.
Citation Information
Patent Citations
Sweep frequency interference ranging signal processing method
CN113253241A
Gauge block measuring device and measuring method based on frequency sweep white light interference
CN116858104A
Low-cost high-precision optical lens group parameter measurement method and system
CN118111681A
Non-invasive mechanism providing simultaneous determination of viscosity-temperature variation of lubricant
US20230152212A1
Cited By
VCSEL epitaxial wafer thickness measurement method based on laser interference
CN121274851A
