Film thickness online measurement method, film thickness prediction model training method, device, equipment and storage medium

By combining the self-attention model and the multi-layer bidirectional long-short-term memory model in the film thickness prediction model to process the reflection spectrum data, the problem of poor stability and reliability of the measurement results in the online measurement of film thickness is solved, and a more efficient film thickness is achieved Measurement.

CN118776474APending Publication Date: 2024-10-15TIANJIN UNIV
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410988331.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing method of online measurement of film thickness using reflectance spectrum has the problem of poor stability and poor reliability of the measurement results.

Method used

A film thickness prediction model based on the self-attention model and the multi-layer bidirectional long-short-term memory model is used. By obtaining the initial reflection spectrum data for preprocessing, combined with the preset mask data input model, the film thickness prediction value and confidence are obtained, and based on Reliability thresholds filter measurement results.

Benefits of technology

It improves the validity, accuracy and reliability of online measurement results of film thickness, enhances the robustness and generalization ability of the model, and alleviates the vanishing gradient problem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118776474A_ABST
    Figure CN118776474A_ABST
Patent Text Reader

Abstract

The invention provides a thin film thickness online measurement method, a thin film thickness prediction model training method and device, equipment and a storage medium. The film thickness online measurement method comprises the following steps: acquiring respective initial reflection spectrum data of a to-be-measured film at T processing moments, wherein the initial reflection spectrum data is associated with the current film thickness of the to-be-measured film at the processing moments; preprocessing the initial reflection spectrum data to obtain target reflection spectrum data; inputting preset mask data and the target reflection spectrum data into a film thickness prediction model to obtain a current film thickness prediction value of the to-be-measured film at the processing moment and a first confidence coefficient corresponding to the current film thickness prediction value, the film thickness prediction model is constructed based on a self-attention model and a multilayer bidirectional long-short term memory model; and determining a film thickness online measurement result of the to-be-measured film according to a preset confidence coefficient threshold value, the current film thickness prediction values at the T processing moments and the first confidence coefficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of optical measurement and deep learning technology, and more specifically, to an online film thickness measurement method, a film thickness prediction model training method, a device, a equipment and a storage medium. Background Art

[0002] With the development of nano-manufacturing technology, micro-nano structures are gradually widely used in semiconductor manufacturing, optical device manufacturing, nanomaterials, biomedicine and other fields. Among them, thin films are an important part of micro-nano structures, and film thickness is a key indicator in the design, production and processing of micro-nano devices. It is necessary to measure the film thickness online during the film processing process. For example, several processing moments can be selected, based on the principle of interference effect, and interference is formed by light reflection on the upper and lower surfaces of the film to be measured, so as to use the reflection spectrum to determine the film thickness of the film to be measured at the several processing moments, thereby realizing the online measurement of the film thickness during the film processing process.

[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related art: the related method of online measurement of film thickness using reflection spectroscopy has problems such as poor stability and reliability of measurement results. Summary of the invention

[0004] In view of this, the present disclosure provides a method for online measuring film thickness, a method for training a film thickness prediction model, an apparatus, a device and a storage medium.

[0005] One aspect of the present disclosure provides an online film thickness measurement method, comprising: obtaining initial reflection spectrum data of a film to be measured at T processing moments, wherein the initial reflection spectrum data is associated with the current film thickness of the film to be measured at the processing moment, and T is a positive integer; for each processing moment, preprocessing the initial reflection spectrum data to obtain target reflection spectrum data; for each processing moment, inputting preset mask data and target reflection spectrum data into a film thickness prediction model to obtain a current film thickness prediction value of the film to be measured at the processing moment, and a first confidence level corresponding to the current film thickness prediction value, wherein the film thickness prediction model is constructed based on a self-attention model and a multi-layer bidirectional long short-term memory model; and determining an online film thickness measurement result of the film to be measured according to a preset confidence threshold, and the current film thickness prediction value and the first confidence level of each of the T processing moments.

[0006] According to an embodiment of the present disclosure, for each processing moment, the initial reflection spectrum data includes M initial reflection light data points, where M is a positive integer, and each initial reflection light data point is used to characterize the light intensity information of the reflected light of the film to be tested under the selected light source wavelength. For each processing moment, the initial reflection spectrum data is preprocessed to obtain the target reflection spectrum data, including: normalizing the M initial reflection light data points according to the light source wavelength and light intensity information of each of the M initial reflection light data points to obtain M normalized reflection light data points corresponding to the M initial reflection light data points; determining the feature dimension and data length corresponding to the initial reflection spectrum data according to the M normalized reflection light data points; and determining the target reflection spectrum data according to the preset batch size, feature dimension and data length.

[0007] According to an embodiment of the present disclosure, determining an online measurement result of the film thickness of a film to be measured according to a preset confidence threshold, and a current film thickness prediction value and a first confidence value at each of T processing moments includes: based on a preset screening condition, screening the current film thickness prediction value at each of T processing moments according to a preset confidence threshold and a first confidence value at each of T processing moments to obtain an online measurement value of the film thickness at each of N processing moments, wherein N is a positive integer and N≤T; and determining the online measurement result of the film to be measured according to the current film thickness online measurement value at each of the N processing moments.

[0008] According to an embodiment of the present disclosure, for each processing moment, the preset screening condition includes: when the first confidence level is greater than or equal to a preset confidence level threshold, determining the current film thickness prediction value as the current film thickness online measurement value.

[0009] Another aspect of the present disclosure provides a training method for a film thickness prediction model, including: preprocessing an initial reflection spectrum sample set to obtain a target reflection spectrum sample set, wherein the target reflection spectrum sample set includes target reflection spectrum sample data of each of P sample processing moments, the target reflection spectrum sample data is associated with the current sample film thickness of the sample film at the sample processing moment, and P is a positive integer; performing data transformation on the target reflection spectrum sample data of each of the P sample processing moments to obtain a reflection spectrum intermediate matrix; performing position encoding on the reflection spectrum intermediate matrix to obtain a reflection spectrum encoding matrix; inputting the reflection spectrum encoding matrix into a self-attention model to obtain a self-attention matrix; normalizing the self-attention matrix to obtain a normalized matrix; inputting the normalized matrix into a multi-layer bidirectional long short-term memory model to obtain a current sample film thickness prediction value and a second confidence level at each of the P sample processing moments; and adjusting model parameters of a candidate self-attention model and a candidate multi-layer bidirectional long short-term memory model based on a preset loss function and according to the current sample film thickness prediction value and the second confidence level at each of the P sample processing moments until a preset end condition is met to obtain a film thickness prediction model.

[0010] According to an embodiment of the present disclosure, a film thickness prediction model includes: a data transformation layer, a position encoding layer, a self-attention model, a normalization layer, an activation function layer, a multi-layer bidirectional long short-term memory model and a data integration layer.

[0011] Another aspect of the present disclosure provides an online film thickness measurement device, including: an acquisition module, used to acquire initial reflection spectrum data of a film to be measured at T processing moments, wherein the initial reflection spectrum data is associated with the current film thickness of the film to be measured at the processing moment, and T is a positive integer; a first preprocessing module, used to preprocess the initial reflection spectrum data for each processing moment to obtain target reflection spectrum data; a first input module, used to input preset mask data and target reflection spectrum data into a film thickness prediction model for each processing moment, to obtain a current film thickness prediction value of the film to be measured at the processing moment, and a first confidence level corresponding to the current film thickness prediction value, wherein the film thickness prediction model is constructed based on a self-attention model and a multi-layer bidirectional long short-term memory model; and a determination module, used to determine the online film thickness measurement result of the film to be measured according to a preset confidence threshold, the current film thickness prediction value of each of the T processing moments, and the first confidence level.

[0012] Another aspect of the present disclosure provides a training device for a film thickness prediction model, including: a second preprocessing module, used to preprocess an initial reflection spectrum sample set to obtain a target reflection spectrum sample set, wherein the target reflection spectrum sample set includes target reflection spectrum sample data of each of P sample processing moments, the target reflection spectrum sample data is associated with the current sample film thickness of the sample film at the sample processing moment, and P is a positive integer; a data transformation module, used to perform data transformation on the target reflection spectrum sample data of each of the P sample processing moments to obtain a reflection spectrum intermediate matrix; a position encoding module, used to perform position encoding on the reflection spectrum intermediate matrix to obtain a reflection spectrum encoding matrix; The second input module is used to input the reflection spectrum encoding matrix into the candidate self-attention model to obtain the self-attention matrix; the normalization module is used to normalize the self-attention matrix to obtain the normalized matrix; the third input module is used to input the normalized matrix into the candidate multi-layer bidirectional long short-term memory model to obtain the current sample film thickness prediction value and the second confidence level of each of the P sample processing moments; and the parameter adjustment module is used to adjust the model parameters of the candidate self-attention model and the candidate multi-layer bidirectional long short-term memory model based on the preset loss function and the current sample film thickness prediction value and the second confidence level of each of the P sample processing moments until the preset end condition is met to obtain the film thickness prediction model.

[0013] Another aspect of the present disclosure provides an electronic device, including: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method as described above.

[0014] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed.

[0015] According to the embodiment of the present disclosure, the initial reflection spectrum data of each of the T processing moments can be preprocessed to obtain the target reflection spectrum data of each of the T processing moments. For each processing moment, the preset mask data and the target reflection spectrum data can be input into the film thickness prediction model to obtain the predicted value of the film thickness corresponding to the processing moment and the first confidence. On this basis, the online measurement result of the film thickness of the film to be measured can be determined according to the current film thickness predicted value and the first confidence of each of the T processing moments according to the preset confidence threshold. Since the film thickness prediction model is constructed based on the self-attention model and the multi-layer bidirectional long short-term memory model, it can be understood that the film thickness prediction model can not only realize more comprehensive learning of the characteristics of the target reflection spectrum data by combining the self-attention model and the multi-layer bidirectional long short-term memory model, but also effectively improve the robustness, generalization ability and ability to process complex data of the model, and the residual connection of the Transformer and the gating mechanism of the LSTM can help alleviate the gradient disappearance problem and help improve the stability of the film thickness prediction model. In addition, the current film thickness prediction values ​​of each of the T processing moments can be screened according to a preset confidence threshold, thereby effectively improving the effectiveness, accuracy and reliability of the online film thickness measurement results. Therefore, the online film thickness measurement method provided by the embodiment of the present disclosure can at least partially solve the technical problems of poor stability and poor reliability of the measurement results existing in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0017] Figure 1 A schematic diagram of the interference effect principle according to an embodiment of the present disclosure is schematically shown;

[0018] Figure 2 A diagram schematically shows an application scenario of a thin film thickness online measurement method, a thin film thickness prediction model training method, a device, a equipment, and a storage medium according to an embodiment of the present disclosure;

[0019] Figure 3 The flowchart of the online film thickness measurement method according to the embodiment of the present disclosure is schematically shown;

[0020] Figure 4 exemplarily shows initial reflection spectrum data according to an embodiment of the present disclosure;

[0021] Figure 5 The online measurement results of the film thickness obtained by the online measurement method of the film thickness according to the embodiment of the present disclosure and the online measurement results of the film thickness obtained by the related methods are exemplarily shown;

[0022] Figure 6 A flowchart of a method for training a film thickness prediction model according to an embodiment of the present disclosure is schematically shown;

[0023] Figure 7 A normalized reflectance spectrum sample set according to an embodiment of the present disclosure is exemplarily shown;

[0024] Figure 8 A thin film thickness prediction model according to an embodiment of the present disclosure is schematically shown;

[0025] Fig. 9 The structure block diagram of the online film thickness measurement device according to the embodiment of the present disclosure is schematically shown;

[0026] Fig.10 A structural block diagram schematically shows a training device for a film thickness prediction model according to an embodiment of the present disclosure; and

[0027] Fig.11 The structural block diagram of an electronic device suitable for implementing an online film thickness measurement method and a film thickness prediction model training method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0028] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0029] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0030] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0031] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0032] In the embodiments of the present disclosure, the collection, updating, analysis, processing, use, transmission, provision, disclosure, storage, etc. of the data involved (for example, including but not limited to user personal information) are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. In particular, necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security, and national security.

[0033] In the embodiments of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.

[0034] With the development of nano-manufacturing technology, micro-nano structures are gradually widely used in semiconductor manufacturing, optical device manufacturing, nanomaterials, biomedicine and other fields. Among them, thin films are an important part of micro-nano structures, and film thickness is a key indicator in the design, production and processing of micro-nano devices. It is necessary to measure the film thickness online during the film processing process. For example, several processing moments can be selected, based on the principle of interference effect, and interference is formed by light reflection on the upper and lower surfaces of the film to be measured, so as to use the reflection spectrum to determine the film thickness of the film to be measured at the several processing moments, thereby realizing the online measurement of the film thickness during the film processing process.

[0035] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related art: the related method of online measurement of film thickness using reflection spectroscopy has problems such as poor stability and reliability of measurement results.

[0036] Figure 1 The schematic diagram of the interference effect principle according to an embodiment of the present disclosure is schematically shown.

[0037] As an example, for each processing moment, such as Figure 1As shown, the light emitted by the light source 101 passes through the optical fiber 103 and the lens group 104 in sequence, and then vertically incident on the film to be tested 105. Among them, a part of the light is directly reflected on the upper surface 105_1 of the film to be tested 105, and a part of the light enters the film to be tested 105 and refracts, and then refracts again after being reflected by the lower surface 105_2 of the film to be tested, and finally emerges from the upper surface 105_1 of the film to be tested. The two parts of the reflected light can pass through the lens group 104 and the optical fiber 103 in sequence and be collected by the spectrometer 102. The light reflected on the upper surface 105_1 of the film to be tested and the light reflected on the lower surface 105_2 of the film to be tested will interfere with each other to form interference fringes of light and dark. The light and dark changes of these interference fringes reflect the periodic changes of light intensity, and the light intensity changes are related to the thickness and refractive index of the film to be tested. Based on this, the reflection spectrum formed by the two coherent lights can be used to determine the current film thickness of the film to be tested 105 at the processing moment according to the wavelength and phase changes of the light waves emitted by the light source 101.

[0038] According to an embodiment of the present disclosure, based on the principle of interference effect, the correlation between film thickness and reflected light can be expressed as:

[0039]

[0040] In formula (1), is the combined amplitude of the reflected light, is the phase thickness of the film layer, is the wavelength, n is the refractive index, d is the thickness, , are the Fresnel reflection coefficients at the top and bottom boundaries of the film, respectively, is the amplitude of the light source.

[0041] According to one embodiment of the present disclosure, the current film thickness of the film to be measured can be determined based on the reflection spectrum of the film to be measured based on the Fast Fourier Transform (FFT) or Convolutional Neural Network (CNN). However, the inventors found in practice that the Fourier transform method often requires a large amount of zero padding, resulting in a long calculation time and poor measurement stability. In addition, in order to evaluate the reliability of the measurement results, the Fourier transform method usually uses the power spectrum to define the confidence of the measurement results. When measuring thicker films, due to the increased influence of multiplicative noise, there will be poor confidence, which makes it difficult to distinguish between valid measurement results and invalid measurement results. When the convolutional neural network model is faced with the scenario of online measurement of film thickness, it is difficult to ensure the measurement accuracy and reliability of the measurement results because the film thickness changes in real time with the working conditions during the processing process. In addition, the convolutional neural network model usually does not have the ability to evaluate the measurement results.

[0042] In order to at least partially solve the technical problems existing in the related art, the embodiments of the present disclosure provide a method for online measurement of film thickness, a method for training a film thickness prediction model, a device, an equipment and a storage medium. The method for online measurement of film thickness includes: obtaining initial reflection spectrum data of each film to be measured at T processing moments, wherein the initial reflection spectrum data is associated with the current film thickness of the film to be measured at the processing moment, and T is a positive integer; for each processing moment, preprocessing the initial reflection spectrum data to obtain target reflection spectrum data; for each processing moment, inputting preset mask data and target reflection spectrum data into the film thickness prediction model to obtain the current film thickness prediction value of the film to be measured at the processing moment, and a first confidence corresponding to the current film thickness prediction value, wherein the film thickness prediction model is constructed based on a self-attention model and a multi-layer bidirectional long short-term memory model; and determining the online measurement result of the film thickness of the film to be measured according to a preset confidence threshold, and the current film thickness prediction value and the first confidence of each of the T processing moments.

[0043] Figure 2 The application scenarios of the online film thickness measurement method, film thickness prediction model training method, device, equipment and storage medium according to the embodiments of the present disclosure are schematically illustrated.

[0044] like Figure 2 As shown, the application scenario 200 according to this embodiment may include a first terminal device 201, a second terminal device 202, a third terminal device 203, a network 204, and a server 205. The network 204 is used to provide a medium for a communication link between the first terminal device 201, the second terminal device 202, the third terminal device 203, and the server 205. The network 204 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0045] The user may use the first terminal device 201, the second terminal device 202, and the third terminal device 203 to interact with the server 205 through the network 204 to receive or send messages, etc. Various communication client applications may be installed on the first terminal device 201, the second terminal device 202, and the third terminal device 203, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0046] The first terminal device 201, the second terminal device 202, and the third terminal device 203 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0047] The server 205 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 201, the second terminal device 202, and the third terminal device 203. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0048] It should be noted that the film thickness online measurement method and the film thickness prediction model training method provided in the embodiment of the present disclosure can generally be executed by the server 205. Accordingly, the film thickness online measurement device and the film thickness prediction model training device provided in the embodiment of the present disclosure can generally be set in the server 205. The film thickness online measurement method and the film thickness prediction model training method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 205 and can communicate with the first terminal device 201, the second terminal device 202, the third terminal device 203 and / or the server 205. Accordingly, the film thickness online measurement device and the film thickness prediction model training device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 205 and can communicate with the first terminal device 201, the second terminal device 202, the third terminal device 203 and / or the server 205. Alternatively, the film thickness online measurement method and the film thickness prediction model training method provided in the embodiment of the present disclosure may also be performed by the first terminal device 201, the second terminal device 202 or the third terminal device 203, or may also be performed by other terminal devices different from the first terminal device 201, the second terminal device 202 or the third terminal device 203. Accordingly, the film thickness online measurement device and the film thickness prediction model training device provided in the embodiment of the present disclosure may also be set in the first terminal device 201, the second terminal device 202 or the third terminal device 203, or may be set in other terminal devices different from the first terminal device 201, the second terminal device 202 or the third terminal device 203.

[0049] For example, the initial reflection spectrum data may be originally stored in any one of the first terminal device 201, the second terminal device 202 or the third terminal device 203 (for example, the first terminal device 201, but not limited thereto), or stored in an external storage device and may be imported into the first terminal device 201. Then, the first terminal device 201 may locally execute the thin film thickness online measurement method provided by the embodiment of the present disclosure, or send the initial reflection spectrum data to other terminal devices, servers, or server clusters, and the other terminal devices, servers, or server clusters that receive the initial reflection spectrum data may execute the thin film thickness online measurement method provided by the embodiment of the present disclosure.

[0050] For example, the initial reflection spectrum sample set may be originally stored in any one of the first terminal device 201, the second terminal device 202 or the third terminal device 203 (for example, the first terminal device 201, but not limited thereto), or stored in an external storage device and may be imported into the first terminal device 201. Then, the first terminal device 201 may locally execute the training method of the thin film thickness prediction model provided in the embodiment of the present disclosure, or send the initial reflection spectrum sample set to other terminal devices, servers, or server clusters, and the other terminal devices, servers, or server clusters that receive the initial reflection spectrum sample set may execute the training method of the thin film thickness prediction model provided in the embodiment of the present disclosure.

[0051] It should be understood that Figure 2 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0052] Figure 3 The flowchart of the online film thickness measurement method according to the embodiment of the present disclosure is schematically shown.

[0053] like Figure 3 As shown, the method 300 includes operations S310 to S340.

[0054] In operation S310, initial reflection spectrum data of the film to be tested at T processing moments are obtained, wherein the initial reflection spectrum data is associated with the current film thickness of the film to be tested at the processing moment, and T is a positive integer;

[0055] In operation S320, for each processing moment, the initial reflection spectrum data is preprocessed to obtain target reflection spectrum data;

[0056] In operation S330, for each processing moment, the preset mask data and the target reflection spectrum data are input into a film thickness prediction model to obtain a current film thickness prediction value of the film to be tested at the processing moment, and a first confidence level corresponding to the current film thickness prediction value, wherein the film thickness prediction model is constructed based on a self-attention model and a multi-layer bidirectional long short-term memory model;

[0057] In operation S340, an online measurement result of the film thickness of the film to be measured is determined according to a preset confidence threshold, and the current film thickness prediction values ​​and the first confidence of each of the T processing moments.

[0058] According to the embodiments of the present disclosure, the initial reflection spectrum data can be understood as interference spectrum data generated by the spectrometer due to the interference effect, and the initial reflection spectrum data is associated with the current film thickness of the film to be tested at the processing time.

[0059] Figure 4 The initial reflection spectrum data according to an embodiment of the present disclosure is exemplarily shown.

[0060] like Figure 4 As shown, the initial reflection spectrum data may include multiple initial reflection light data points, wherein for each initial reflection light data point, the horizontal coordinate of the initial reflection light data point is the wavelength of the light source, and the vertical coordinate of the initial reflection light data point is the intensity of the reflected light of the film to be tested at the aforementioned light source wavelength.

[0061] As an example, the initial reflection spectrum data may include 512 initial reflection light data points, each of which corresponds to a unique light source wavelength and light intensity. The 512 initial reflection light data points may be arranged in ascending order of light source wavelength to plot a spectrum image of light intensity varying with light source wavelength (e.g. Figure 4 ). Furthermore, the 512 initial reflected light data points can be arranged in the order of increasing light source wavelength to construct sequence data, thereby obtaining target reflected spectrum data.

[0062] According to an embodiment of the present disclosure, for each processing moment, the initial reflection spectrum data may be preprocessed to convert the initial reflection spectrum data into a form suitable for input into a film thickness prediction model to obtain target reflection spectrum data.

[0063] According to an embodiment of the present disclosure, the preset mask data can be recorded as P (Padding Mask). The preset mask data is used to mask invalid or irrelevant parts of the target reflectance spectrum data, so that the thin film thickness prediction model can selectively process the data, improve the processing efficiency of the model, and help improve the robustness of the model.

[0064] Exemplarily, the preset mask data can be expressed as:

[0065]

[0066] According to an embodiment of the present disclosure, for each processing moment, the preset mask data and the target reflection spectrum data can be input into the film thickness prediction model to obtain the current film thickness prediction value of the film to be measured and the first confidence corresponding to the current film thickness prediction value. On this basis, the online film thickness measurement result of the film to be measured can be determined according to the preset confidence threshold, the current film thickness prediction value and the first confidence of each of the T processing moments. Among them, the film thickness prediction model is constructed based on the self-attention model and the multi-layer bidirectional long short-term memory model.

[0067] According to an embodiment of the present disclosure, the self-attention model can be understood as a model based on the self-attention mechanism. For example, the self-attention model can be selected as a Transformer encoder, and the self-attention mechanism allows the model to directly establish relationships between different positions within the sequence. Specifically, self-attention can effectively capture long-distance dependencies within the sequence by calculating the attention score of each element in the sequence for other elements. Based on this, the self-attention model can learn the global features of the target reflectance spectral data and the long-distance dependencies in the target reflectance spectral data.

[0068] According to an embodiment of the present disclosure, a multi-layer bidirectional long short-term memory model may include multiple long short-term memory sub-models (long short-term memory, LSTM). The LSTM model enables the LSTM model to have long short-term memory capabilities by introducing input gates, forget gates, output gates and cell states, so that the long-term and short-term dependencies in the sequence can be better captured. Multiple long short-term memory sub-models are stacked, and the output of the previous long short-term memory sub-model is used as the input of the next long short-term memory sub-model, and each long short-term memory sub-model includes a first LSTM unit for processing forward sequence data and a second LSTM unit for processing reverse sequence data, thereby increasing the depth of the model and enabling it to learn more complex features. Based on this, the multi-layer bidirectional long short-term memory model can learn the short-term dependencies, long-term dependencies and dynamic changes of the sequence in the target reflectance spectrum data.

[0069] According to the embodiments of the present disclosure, the current film thickness prediction values ​​at each of the T processing moments can be screened according to a preset confidence threshold and the first confidence of each of the T processing moments to distinguish between valid measurement results and invalid measurement results, and the online measurement result of the film thickness of the film to be measured is finally determined by eliminating the invalid measurement results, thereby effectively improving the effectiveness, accuracy and reliability of the online measurement result of the film thickness.

[0070] According to the embodiment of the present disclosure, the initial reflection spectrum data of each of the T processing moments can be preprocessed to obtain the target reflection spectrum data of each of the T processing moments. For each processing moment, the preset mask data and the target reflection spectrum data can be input into the film thickness prediction model to obtain the predicted value of the film thickness corresponding to the processing moment and the first confidence. On this basis, the online measurement result of the film thickness of the film to be measured can be determined according to the current film thickness predicted value and the first confidence of each of the T processing moments according to the preset confidence threshold. Since the film thickness prediction model is constructed based on the self-attention model and the multi-layer bidirectional long short-term memory model, it can be understood that the film thickness prediction model can not only realize more comprehensive learning of the characteristics of the target reflection spectrum data by combining the self-attention model and the multi-layer bidirectional long short-term memory model, but also effectively improve the robustness, generalization ability and ability to process complex data of the model, and the residual connection of the Transformer and the gating mechanism of the LSTM can help alleviate the gradient disappearance problem and help improve the stability of the film thickness prediction model. In addition, the current film thickness prediction values ​​of each of the T processing moments can be screened according to a preset confidence threshold, thereby effectively improving the effectiveness, accuracy and reliability of the online film thickness measurement results. Therefore, the online film thickness measurement method provided by the embodiment of the present disclosure can at least partially solve the technical problems of poor stability and poor reliability of the measurement results existing in the related art.

[0071] According to an embodiment of the present disclosure, for each processing moment, the initial reflection spectrum data includes M initial reflection light data points, where M is a positive integer, and each initial reflection light data point is used to characterize the light intensity information of the reflected light of the film to be tested under the selected light source wavelength. For each processing moment, the initial reflection spectrum data is preprocessed to obtain the target reflection spectrum data, including: normalizing the M initial reflection light data points according to the light source wavelength and light intensity information of each of the M initial reflection light data points to obtain M normalized reflection light data points corresponding to the M initial reflection light data points; determining the feature dimension and data length corresponding to the initial reflection spectrum data according to the M normalized reflection light data points; and determining the target reflection spectrum data according to the preset batch size, feature dimension and data length.

[0072] According to an embodiment of the present disclosure, for each initial reflection spectrum data, the M initial reflection light data points can be normalized according to the light source wavelength and light intensity information of each of the M initial reflection light data points to obtain M normalized reflection light data points corresponding to the M initial reflection light data points. On this basis, the feature dimension (Feat Dim) and data length (DataLength) corresponding to the initial reflection spectrum data can be determined according to the M normalized reflection light data points to obtain normalized reflection spectrum data X' with a dimension of (Feat Dim, Data Length). Furthermore, the two-dimensional array X' can be converted into a three-dimensional tensor I according to the preset batch size, feature dimension and data length to adapt to the input requirements of the film thickness prediction model.

[0073] Exemplarily, the normalization formula may be as follows:

[0074]

[0075] In formula (3), is the normalized reflected light data point, is the initial reflected light data point.

[0076] For example, the formula for converting a two-dimensional array X' into a three-dimensional tensor I may be as follows:

[0077]

[0078] In formula (4), X' is the normalized reflectance spectrum data, and I is the target reflectance spectrum data.

[0079] According to an embodiment of the present disclosure, the dimension of the preset mask data P is consistent with the target reflection spectrum data I in terms of feature dimension and data length. For each processing moment, the preset mask data P and the target reflection spectrum data I can be input into the film thickness prediction model, and the current film thickness prediction value and the first confidence level at the processing moment are output.

[0080] According to an embodiment of the present disclosure, determining an online measurement result of the film thickness of a film to be measured according to a preset confidence threshold, and a current film thickness prediction value and a first confidence value at each of T processing moments includes: based on a preset screening condition, screening the current film thickness prediction value at each of T processing moments according to a preset confidence threshold and a first confidence value at each of T processing moments to obtain an online measurement value of the film thickness at each of N processing moments, wherein N is a positive integer and N≤T; and determining an online measurement result of the film to be measured according to the current film thickness online measurement value at each of the N processing moments.

[0081] According to the embodiments of the present disclosure, those skilled in the art may reasonably set the preset confidence threshold according to actual needs or application scenarios, etc., and no limitation is made here. For example, the preset confidence threshold may be set to 0.35.

[0082] According to the embodiments of the present disclosure, the current film thickness prediction values ​​at each of the T processing moments can be screened according to a preset confidence threshold and the first confidence of each of the T processing moments to distinguish between valid measurement results and invalid measurement results, and the online measurement result of the film thickness of the film to be measured is finally determined by eliminating the invalid measurement results, thereby effectively improving the effectiveness, accuracy and reliability of the online measurement result of the film thickness.

[0083] Figure 5 The online measurement results of film thickness obtained by the online measurement method of film thickness according to the embodiment of the present disclosure (hereinafter referred to as the present method) and the online measurement results of film thickness obtained by related methods are exemplified.

[0084] As an example, the related method may be a Fourier transform method, and the measurement results of the related method may be screened using the same preset confidence threshold as the present method. Figure 5 As shown, compared with related methods, the measurement results of this method for online measurement of film thickness are more stable and reliable.

[0085] According to an embodiment of the present disclosure, for each processing moment, the preset screening condition includes: when the first confidence level is greater than or equal to a preset confidence level threshold, determining the current film thickness prediction value as the current film thickness online measurement value.

[0086] According to the embodiments of the present disclosure, the current film thickness prediction value with a first confidence greater than or equal to a preset confidence threshold can be determined as the current film thickness online measurement value, and the current film thickness prediction value with a first confidence less than the preset confidence threshold can be discarded. Thus, part of the current film thickness prediction values ​​with too low confidence can be excluded based on the preset confidence threshold, so as to ensure the accuracy and effectiveness of the film thickness online measurement result by eliminating invalid measurement values, thereby effectively improving the reliability of the film thickness online measurement result.

[0087] Figure 6 The flowchart of the film thickness prediction model training method according to the embodiment of the present disclosure is schematically shown.

[0088] like Figure 6 As shown, the method 600 includes operations S610 to S670.

[0089] In operation S610, the initial reflection spectrum sample set is preprocessed to obtain a target reflection spectrum sample set, wherein the target reflection spectrum sample set includes target reflection spectrum sample data of P sample processing moments, the target reflection spectrum sample data is associated with the current sample film thickness of the sample film at the sample processing moment, and P is a positive integer;

[0090] In operation S620, data transformation is performed on the target reflection spectrum sample data of each of the P samples at the processing time to obtain a reflection spectrum intermediate matrix;

[0091] In operation S630, position encoding is performed on the reflection spectrum intermediate matrix to obtain a reflection spectrum encoding matrix;

[0092] In operation S640, the reflection spectrum encoding matrix is ​​input into the self-attention model to obtain a self-attention matrix;

[0093] In operation S650, the self-attention matrix is ​​normalized to obtain a normalized matrix;

[0094] In operation S660, the normalized matrix is ​​input into a multi-layer bidirectional long short-term memory model to obtain a current sample film thickness prediction value and a second confidence level at each of the P sample processing moments;

[0095] In operation S670, based on the preset loss function, according to the current sample film thickness prediction value and the second confidence level at each of the P sample processing moments, the model parameters of the candidate self-attention model and the candidate multi-layer bidirectional long short-term memory model are adjusted until the preset end condition is met to obtain a film thickness prediction model.

[0096] According to an embodiment of the present disclosure, the initial reflection spectrum sample set may include initial reflection spectrum sample data of P samples at respective processing moments. The initial reflection spectrum sample data may be understood as sample interference spectrum data generated by the interference effect and collected by the spectrometer. The initial reflection spectrum sample data is associated with the current film thickness of the sample film at the sample processing moment.

[0097] Figure 7 A normalized reflectance spectrum sample set according to an embodiment of the present disclosure is exemplarily shown.

[0098] According to an embodiment of the present disclosure, for each sample processing moment, the initial reflection spectrum sample data may include Q initial reflection light sample data points, each of which is used to characterize the light intensity information of the reflected light of the sample film under the selected light source wavelength. The light source wavelength information and light intensity information of each of the Q initial reflection light sample data points can be normalized to obtain Q normalized reflection light sample data points corresponding to the Q initial reflection light sample data points. On this basis, for each sample processing moment, the feature dimension (Feat Dim) and data length (Data Length) corresponding to the initial reflection spectrum sample data can be determined based on the Q normalized reflection light sample data points to obtain normalized reflection spectrum sample data with a dimension of (Feat Dim, Data Length), thereby obtaining a normalized reflection spectrum sample set (such as Figure 7 As shown in ). Furthermore, the two-dimensional array can be converted into a three-dimensional tensor according to the preset batch size, feature dimension and data length to adapt to the input requirements of the self-attention model, thereby obtaining a target reflectance spectrum sample set.

[0099] It should be noted that the method for preprocessing the initial reflection spectrum sample data can be specifically referred to the method for preprocessing the initial reflection spectrum data, which will not be described in detail here. For example, based on the above formula (3), the Q initial reflection light sample data points can be normalized to obtain Q normalized reflection light sample data points. For example, based on the above formula (4), the two-dimensional array can be converted into a three-dimensional tensor.

[0100] According to the embodiments of the present disclosure, data transformation can be performed on the target reflection spectrum sample data at each of the P sample processing moments to obtain a reflection spectrum intermediate matrix, so as to convert the target reflection spectrum sample data into a pytorch data format suitable for running on a GPU, thereby utilizing multiple GPUs for model training, accelerating the training process, and improving training efficiency.

[0101] According to an embodiment of the present disclosure, the reflectance spectrum intermediate matrix can be position-encoded to obtain a reflectance spectrum encoding matrix. On this basis, the reflectance spectrum encoding matrix can be input into the self-attention model to obtain a self-attention matrix. Through position encoding, the absolute or relative position information of the element in the sequence can be provided to the self-attention model, which is conducive to the self-attention model to better learn the long-distance dependency of the sequence.

[0102] According to the embodiments of the present disclosure, the self-attention matrix can be normalized to obtain a normalized matrix. On this basis, the normalized matrix can be input into the multi-layer bidirectional long short-term memory model to obtain the current sample film thickness prediction value and the second confidence level of each of the P sample processing moments. During the training process, the deviation of the second confidence level and the label value is continuously updated by gradient back propagation. The gradient of back propagation can be calculated according to the preset loss function to adjust the model parameters of the candidate self-attention model and the candidate multi-layer bidirectional long short-term memory model until the preset end condition is met to obtain a film thickness prediction model.

[0103] Exemplarily, the preset loss function can be expressed as:

[0104]

[0105] In formula (5), is the predicted value of the current sample film thickness, is the second confidence level.

[0106] Figure 8 A thin film thickness prediction model according to an embodiment of the present disclosure is schematically shown.

[0107] According to an embodiment of the present disclosure, a film thickness prediction model includes: a data transformation layer, a position encoding layer, a self-attention model, a normalization layer, an activation function layer, a multi-layer bidirectional long short-term memory model and a data integration layer.

[0108] As an example, Figure 8 As shown, the film thickness prediction model can include an input layer, a data transformation layer, a position encoding layer, a Transformer encoder layer, a normalization layer, an activation function layer, a multi-layer bidirectional LSTM layer, a Dropout layer, a data integration layer and an output layer in sequence. Since the film thickness prediction model is a hierarchical hybrid network, it can take into account the long-term and short-term feature learning of spectral data and improve the model's anti-interference ability. Specifically, for each sample processing moment, after the input data is processed by position encoding through dynamic adaptive learning, its embedding vector is sent to the Transformer encoder. Each encoding layer contains a multi-head self-attention mechanism and a feedforward neural network. Each multi-head self-attention mechanism output is connected to the Batch-norm normalization layer to ensure numerical stability. The output of the encoder passes through the activation function layer to enhance its nonlinearity and obtain a high-level representation based on attention. It is then sent to the multi-layer bidirectional network LSTM. Forward and backward contextual information is obtained at each data point to improve the accuracy of network prediction. The Dropout layer is then used to suppress overfitting of the model and enhance the generalization ability of the model. The data integration layer reorganizes the dimensions of the predicted data, and finally maps it to the current sample film thickness prediction value and the second confidence level through the output layer.

[0109] Based on the above-mentioned film thickness online measurement method, the present disclosure also provides a film thickness online measurement device. Fig. 9 The structural block diagram of the online film thickness measurement device according to the embodiment of the present disclosure is schematically shown.

[0110] like Fig. 9 As shown, the thin film thickness online measuring device 900 may include an acquisition module 910 , a first preprocessing module 920 , a first input module 930 and a determination module 940 .

[0111] The acquisition module 910 is used to acquire initial reflection spectrum data of the film to be tested at T processing moments, wherein the initial reflection spectrum data is associated with the current film thickness of the film to be tested at the processing moment, and T is a positive integer.

[0112] The first preprocessing module 920 is used to preprocess the initial reflection spectrum data at each processing moment to obtain target reflection spectrum data.

[0113] The first input module 930 is used to input the preset mask data and the target reflection spectrum data into the film thickness prediction model for each processing moment, so as to obtain the current film thickness prediction value of the film to be tested at the processing moment, and the first confidence level corresponding to the current film thickness prediction value, wherein the film thickness prediction model is constructed based on the self-attention model and the multi-layer bidirectional long short-term memory model.

[0114] The determination module 940 is used to determine the online measurement result of the film thickness of the film to be measured according to a preset confidence threshold, and the current film thickness prediction value and the first confidence of each of the T processing moments.

[0115] According to an embodiment of the present disclosure, the first preprocessing module 920 may include a normalization submodule, a first determination submodule, and a second determination submodule.

[0116] The normalization submodule is used to normalize the M initial reflected light data points according to the light source wavelength and light intensity information of each of the M initial reflected light data points to obtain M normalized reflected light data points corresponding to the M initial reflected light data points.

[0117] The first determination submodule is used to determine the feature dimension and data length corresponding to the initial reflection spectrum data according to the M normalized reflection light data points.

[0118] The second determination submodule is used to determine the target reflection spectrum data according to a preset batch size, feature dimension and data length.

[0119] According to an embodiment of the present disclosure, the determination module 940 may include a screening submodule and a third determination submodule.

[0120] The screening submodule is used to screen the current film thickness prediction values ​​of each of the T processing moments based on the preset screening conditions, according to the preset confidence threshold and the first confidence of each of the T processing moments, to obtain the online measurement values ​​of the film thickness of each of the N processing moments, where N is a positive integer and N≤T.

[0121] The third determination submodule is used to determine the online measurement result of the film to be measured according to the current online measurement values ​​of the film thickness at each of the N processing moments.

[0122] Based on the above-mentioned film thickness prediction model training method, the present disclosure also provides a film thickness prediction model training device. Fig.10 The structural block diagram of a training device for a film thickness prediction model according to an embodiment of the present disclosure is schematically shown.

[0123] like Fig.10 As shown, the training device 1000 for the film thickness prediction model may include a second preprocessing module 1010, a data transformation module 1020, a position encoding module 1030, a second input module 1040, a normalization module 1050, a third input module 1060 and a parameter adjustment module 1070.

[0124] The second preprocessing module 1010 is used to preprocess the initial reflection spectrum sample set to obtain a target reflection spectrum sample set, wherein the target reflection spectrum sample set includes target reflection spectrum sample data of P sample processing moments, the target reflection spectrum sample data is associated with the current sample film thickness of the sample film at the sample processing moment, and P is a positive integer.

[0125] The data transformation module 1020 is used to perform data transformation on the target reflection spectrum sample data of each of the P samples at the processing time to obtain a reflection spectrum intermediate matrix.

[0126] The position encoding module 1030 is used to perform position encoding on the reflection spectrum intermediate matrix to obtain a reflection spectrum encoding matrix.

[0127] The second input module 1040 is used to input the reflection spectrum encoding matrix into the candidate self-attention model to obtain a self-attention matrix.

[0128] The normalization module 1050 is used to normalize the self-attention matrix to obtain a normalized matrix.

[0129] The third input module 1060 is used to input the normalized matrix into the candidate multi-layer bidirectional long short-term memory model to obtain the current sample film thickness prediction value and the second confidence level of each of the P sample processing moments.

[0130] The parameter adjustment module 1070 is used to adjust the model parameters of the candidate self-attention model and the candidate multi-layer bidirectional long short-term memory model based on a preset loss function and the current sample film thickness prediction value and the second confidence level at each of the P sample processing moments until the preset end condition is met to obtain a film thickness prediction model.

[0131] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging circuits, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.

[0132] For example, any multiple of the acquisition module 910, the first preprocessing module 920, the first input module 930 and the determination module 940 can be combined in one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of the modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the acquisition module 910, the first preprocessing module 920, the first input module 930 and the determination module 940 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or may be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in an appropriate combination of any of them. Alternatively, at least one of the acquisition module 910, the first preprocessing module 920, the first input module 930 and the determination module 940 may be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function may be executed.

[0133] For example, any multiple of the second preprocessing module 1010, the data transformation module 1020, the position encoding module 1030, the second input module 1040, the normalization module 1050, the third input module 1060, and the parameter adjustment module 1070 can be combined in one module / unit / subunit for implementation, or any one of the modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functions of one or more of these modules / units / subunits can be combined with at least part of the functions of other modules / units / subunits and implemented in one module / unit / subunit. According to an embodiment of the present disclosure, at least one of the second preprocessing module 1010, the data transformation module 1020, the position encoding module 1030, the second input module 1040, the normalization module 1050, the third input module 1060 and the parameter adjustment module 1070 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware and firmware or by an appropriate combination of any of them. Alternatively, at least one of the second preprocessing module 1010, the data transformation module 1020, the position encoding module 1030, the second input module 1040, the normalization module 1050, the third input module 1060 and the parameter adjustment module 1070 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be performed.

[0134] Fig.11 The structural block diagram of an electronic device suitable for implementing an online film thickness measurement method and a film thickness prediction model training method according to an embodiment of the present disclosure is schematically shown. Fig.11 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0135] like Fig.11As shown, the electronic device 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage part 1108 to a random access memory (RAM) 1103. The processor 1101 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1101 may also include an onboard memory for caching purposes. The processor 1101 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0136] In RAM 1103, various programs and data required for the operation of electronic device 1100 are stored. Processor 1101, ROM 1102 and RAM 1103 are connected to each other through bus 1104. Processor 1101 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1102 and / or RAM 1103. It should be noted that the program can also be stored in one or more memories other than ROM 1102 and RAM 1103. Processor 1101 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0137] According to an embodiment of the present disclosure, the electronic device 1100 may further include an input / output (I / O) interface 1105, which is also connected to the bus 1104. The electronic device 1100 may further include one or more of the following components connected to the input / output (I / O) interface 1105: an input portion 1106 including a keyboard, a mouse, etc.; an output portion 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1108 including a hard disk, etc.; and a communication portion 1109 including a network interface card such as a LAN card, a modem, etc. The communication portion 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the input / output (I / O) interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed, so that a computer program read therefrom is installed into the storage portion 1108 as needed.

[0138] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1109, and / or installed from the removable medium 1111. When the computer program is executed by the processor 1101, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0139] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0140] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0141] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 1102 and / or the RAM 1103 described above and / or one or more memories other than the ROM 1102 and the RAM 1103 .

[0142] It should be noted that the film thickness online measurement device part in the embodiment of the present disclosure corresponds to the film thickness online measurement method part in the embodiment of the present disclosure, and the description of the film thickness online measurement device part specifically refers to the film thickness online measurement method part, which will not be repeated here. The film thickness prediction model training device part in the embodiment of the present disclosure corresponds to the film thickness prediction model training method part in the embodiment of the present disclosure, and the description of the film thickness prediction model training device part specifically refers to the film thickness prediction model training method part, which will not be repeated here.

[0143] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0144] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A method for online measurement of film thickness, include: Acquire initial reflection spectrum data of the film to be tested at T processing moments, wherein the initial reflection spectrum data is associated with the current film thickness of the film to be tested at the processing moment, and T is a positive integer; For each processing moment, preprocessing the initial reflection spectrum data to obtain target reflection spectrum data; For each of the processing moments, inputting the preset mask data and the target reflection spectrum data into a film thickness prediction model to obtain a current film thickness prediction value of the film to be tested at the processing moment, and a first confidence level corresponding to the current film thickness prediction value, wherein the film thickness prediction model is constructed based on a self-attention model and a multi-layer bidirectional long short-term memory model; and The online measurement result of the film thickness of the film to be measured is determined according to the preset confidence threshold, the current film thickness prediction value and the first confidence of each of the T processing moments.

2. The method according to claim 1, in, For each processing moment, the initial reflection spectrum data includes M initial reflection light data points, where M is a positive integer, and each of the initial reflection light data points is used to characterize the light intensity information of the reflected light of the film to be tested under the selected light source wavelength. For each processing moment, the initial reflection spectrum data is preprocessed to obtain the target reflection spectrum data, including: Normalizing the M initial reflected light data points according to the light source wavelength and light intensity information of each of the M initial reflected light data points to obtain M normalized reflected light data points corresponding to the M initial reflected light data points one by one; Determining a characteristic dimension and a data length corresponding to the initial reflection spectrum data according to the M normalized reflection light data points; and The target reflection spectrum data is determined according to a preset batch size, the feature dimension and the data length.

3. The method according to claim 1 or 2, in, Determining the online measurement result of the film thickness of the film to be measured according to the preset confidence threshold, and the current film thickness prediction value and the first confidence value of each of the T processing moments includes: Based on the preset screening condition, according to the preset confidence threshold and the first confidence of each of the T processing moments, the current film thickness prediction value of each of the T processing moments is screened to obtain the online measurement value of the film thickness of each of the N processing moments, wherein N is a positive integer and N≤T; and The online measurement result of the film to be measured is determined according to the online measurement values ​​of the current film thickness at each of the N processing moments.

4. The method according to claim 3, in, For each processing moment, the preset screening conditions include: When the first confidence level is greater than or equal to the preset confidence level threshold, the current film thickness prediction value is determined as the current film thickness online measurement value.

5. A training method for a film thickness prediction model, include: Preprocessing the initial reflection spectrum sample set to obtain a target reflection spectrum sample set, wherein the target reflection spectrum sample set includes target reflection spectrum sample data of P sample processing moments, the target reflection spectrum sample data is associated with the current sample film thickness of the sample film at the sample processing moment, and P is a positive integer; Performing data transformation on the target reflection spectrum sample data of each of the P samples at the processing time to obtain a reflection spectrum intermediate matrix; Position encoding is performed on the reflection spectrum intermediate matrix to obtain a reflection spectrum encoding matrix; Inputting the reflection spectrum encoding matrix into the self-attention model to obtain a self-attention matrix; Normalizing the self-attention matrix to obtain a normalized matrix; Inputting the normalized matrix into a multi-layer bidirectional long short-term memory model to obtain a predicted value of the current sample film thickness and a second confidence level at each of the P sample processing moments; and Based on the preset loss function, according to the current sample film thickness prediction value and the second confidence level of each of the P sample processing moments, the model parameters of the candidate self-attention model and the candidate multi-layer bidirectional long short-term memory model are adjusted until the preset end conditions are met to obtain the film thickness prediction model.

6. The method according to claim 5, in, The film thickness prediction model includes: a data transformation layer, a position encoding layer, a self-attention model, a normalization layer, an activation function layer, a multi-layer bidirectional long short-term memory model and a data integration layer.

7. A film thickness online measuring device, include: An acquisition module, used for acquiring initial reflection spectrum data of the film to be tested at T processing moments, wherein the initial reflection spectrum data is associated with the current film thickness of the film to be tested at the processing moment, and T is a positive integer; A first preprocessing module, for each processing moment, preprocesses the initial reflection spectrum data to obtain target reflection spectrum data; A first input module, for each processing moment, inputs the preset mask data and the target reflection spectrum data into a film thickness prediction model to obtain a current film thickness prediction value of the film to be tested at the processing moment, and a first confidence level corresponding to the current film thickness prediction value, wherein the film thickness prediction model is constructed based on a self-attention model and a multi-layer bidirectional long short-term memory model; and The determination module is used to determine the online measurement result of the film thickness of the film to be measured according to a preset confidence threshold, and the current film thickness prediction value and the first confidence of each of the T processing moments.

8. A training device for a film thickness prediction model, include: A second preprocessing module is used to preprocess the initial reflection spectrum sample set to obtain a target reflection spectrum sample set, wherein the target reflection spectrum sample set includes target reflection spectrum sample data of P sample processing moments, the target reflection spectrum sample data is associated with the current sample film thickness of the sample film at the sample processing moment, and P is a positive integer; A data conversion module, used for performing data conversion on the target reflection spectrum sample data of each of the P samples at the processing time to obtain a reflection spectrum intermediate matrix; A position coding module, used for performing position coding on the reflection spectrum intermediate matrix to obtain a reflection spectrum coding matrix; A second input module is used to input the reflection spectrum encoding matrix into the candidate self-attention model to obtain a self-attention matrix; A normalization module, used to normalize the self-attention matrix to obtain a normalized matrix; a third input module, configured to input the normalized matrix into a candidate multi-layer bidirectional long short-term memory model to obtain a current sample film thickness prediction value and a second confidence level at each of the P sample processing moments; and A parameter adjustment module is used to adjust the model parameters of the candidate self-attention model and the candidate multi-layer bidirectional long short-term memory model based on a preset loss function and according to the current sample film thickness prediction value and the second confidence level at each of the P sample processing moments until the preset end condition is met to obtain the film thickness prediction model.

9. An electronic device, include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 6.

Citation Information

Cited By

  • Spectrometer optical film thickness detection system and method

    CN120008490A

  • A spectrometer optical film thickness detection system and method

    CN120008490B

  • Film thickness real-time measurement method, device and equipment and storage medium

    CN122360313A

  • Film thickness real-time measurement method, device, equipment and storage medium

    CN122360313B