Analyzer, system, method and program

The GOF index addresses the limitations of existing convergence evaluation methods by providing an absolute measure for X-ray reflectance and small-angle X-ray scattering data analysis, ensuring reliable model optimization and convergence assessment.

JP2024139704AActive Publication Date: 2024-10-09RIGAKU CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024025809
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-27
Filing Date
2024-02-22
Publication Date
2024-10-09
Estimated Expiration
2044-02-22

AI Technical Summary

Technical Problem

Existing methods for analyzing X-ray reflectance and small-angle X-ray scattering data lack an absolute convergence evaluation index, relying on the R factor which varies with data quality and cannot determine convergence reliably, while the S factor is not suitable for data with large dynamic ranges, ignoring low-intensity regions.

Method used

An analysis device and method that calculates the Goodness-of-Fit (GOF) index, using a predetermined mathematical formula that includes a residual ratio based on the probability distribution function of the measurement data, with logarithmic weighting for intensity and Gaussian approximation, to evaluate model optimization.

Benefits of technology

The GOF index provides an absolute measure of model optimization, allowing for reliable determination of convergence and model updating, independent of data quality or user skill, ensuring comprehensive analysis of both high and low-intensity regions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024139704000001_ABST
    Figure 2024139704000001_ABST
Patent Text Reader

Abstract

To provide an analyzer, a system, a method and a program capable of calculating an index indicating an optimization degree of a model for measurement data.SOLUTION: An analysis device 400 calculates an index indicating an optimization degree of a model including information on electron density distribution for measurement data whose probability distribution function the measurement data follows is known, and includes: a measurement data acquisition unit 410 that acquires the measurement data; a calculation data acquisition unit 420 that acquires calculation data calculated from the model; and an index calculation unit 430 that calculates, for a residual defined by a predetermined formula including the measurement data and the calculation data, and an expected value of the residual defined based on the probability distribution function and the predetermined formula, an index GOF including a ratio between the residual and expected value of the residual.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an analysis device, system, method, and program for calculating an index indicating the degree of optimization of a model. [Background technology]

[0002] Because X-ray reflectivity analysis handles a large dynamic range of data, optimization calculations have been performed using logarithmically weighted least squares (Non-Patent Document 1). Furthermore, CD (critical dimension) measurement by small-angle X-ray scattering analysis (CD-SAXS), which applies the theory of X-ray reflectivity analysis, also uses optimization calculations using logarithmically weighted least squares (Non-Patent Document 2). In these analyses, an index called the R-factor, shown in the following formula (1), is used as an index indicating the reliability of fitting. Obs indicates the measured intensity, and Calc indicates the calculated intensity. This R-factor is also used to evaluate the convergence of fitting.

[0003]

number

[0004] Meanwhile, in powder X-ray diffraction, an index called the S-factor, shown in the following formulas (2) to (4), has been used to judge convergence (Non-Patent Documents 3 and 4). S = 1 means perfect refinement, and an S value less than 1.3 is generally considered to be a satisfactory analysis result. In this way, the S-factor can absolutely judge the convergence of fitting. The S-factor, which is an index for judging convergence, is defined separately from the minimization function.

[0005]

number

[0006]

number

[0007]

number

[0008] In addition, R wp is the R factor used in powder analysis, and R e is the estimated minimum R-factor. Also, n is the number of data points that make up the measurement profile, and p is the number of parameters to be fitted. Furthermore, w is a statistical weighting parameter defined as the reciprocal of the error (= variance of statistical fluctuation) contained in each data point. [Prior art documents] [Non-patent literature]

[0009] [Non-Patent Document 1] Kenji Sakurai [ed.], Introduction to X-ray Reflectometry, 2009, p.97 [Non-patent document 2] Y Ito and K Omote, Meas. Sci. Technol. 22 (2011) 024008 (8pp) [Non-patent document 3] RA Young, The Rietveld Method, 1995, p. 43-44, 51 [Non-patent document 4] Izumi Nakai and Fujio Izumi, Practical Application of Powder X-ray Analysis (2nd Edition), 2009, p. 125 [Non-patent document 5] Toru Nakagawa and Yoshio Koyanagi, Experimental Data Analysis by Least Squares Method (New Edition), 2018, pp. 40-42 Summary of the Invention [Problem to be solved by the invention]

[0010] As mentioned above, when analyzing measurement data with a wide dynamic range, such as X-ray reflectivity or small-angle X-ray scattering, optimization calculations are generally performed using logarithmically weighted least-squares methods, without normalization based on error as in the original definition of least-squares methods. In other words, in such analyses, conventional methods have used the R-factor calculated from the weighted residual sum of squares as a criterion for determining convergence.

[0011] However, the value of this R-factor varies depending on the quality of the measurement data. For example, data with good statistics will have a smaller R-factor value. Furthermore, the longer the measurement time, or the more the fitting is limited to only the relatively high-intensity portion of the data used for fitting, the smaller the R-factor value will be. Therefore, the convergence of the fitting cannot be absolutely determined by the R-factor value alone; only a relative evaluation within the same data is possible. Furthermore, when using the R-factor to determine whether an analysis has sufficiently converged in X-ray reflectivity or small-angle X-ray scattering, it has previously been necessary to rely on the experience of a skilled engineer.

[0012] The S factor is used to determine the convergence of powder X-ray diffraction. e is R wp is a parameter derived from the definition of and the least squares method, and R e The derivation of S factor required the prerequisite of normalizing each data point by error (Non-Patent Document 5). If normalization by error were applied to measurement data with a large dynamic range, such as measurement data of X-ray reflectivity or small-angle X-ray scattering, the weighting of signals in the high-intensity region would increase, resulting in an analysis that ignores signals in the low-intensity region. In measurements of X-ray reflectivity or small-angle X-ray scattering, signals in the low-intensity region may also contain information necessary for analysis, and this cannot be ignored. Therefore, normalization by error is not suitable for measurement data of X-ray reflectivity or small-angle X-ray scattering, and the S factor was not applied.

[0013] Therefore, there has been a strong demand for an absolute convergence evaluation index that can be applied to measurement data such as X-ray reflectivity and small-angle X-ray scattering.

[0014] The present invention has been made in view of the above circumstances, and has an object to provide an analysis device, system, method, and program for calculating an index that indicates the degree of optimization of a model for measurement data. [Means for solving the problem]

[0015] (1) In order to achieve the above object, the analysis device of the present invention employs the following measures: That is, an analysis device according to one aspect of the present invention is an analysis device that calculates an index indicating the degree of optimization of a model including information on electron density distribution for measurement data whose probability distribution function the measurement data follows is known, and is characterized by comprising: a measurement data acquisition unit that acquires the measurement data; a calculation data acquisition unit that acquires calculation data calculated from the model; and an index calculation unit that calculates an index GOF including a ratio of a residual defined by a predetermined formula including the measurement data and the calculation data to an expected value of the residual defined based on the probability distribution function and the predetermined formula.

[0016] (2) Furthermore, the analysis device according to one aspect of the present invention is characterized by including an index evaluation unit that evaluates the convergence of the GOF.

[0017] (3) In the analysis device according to one aspect of the present invention, the predetermined mathematical formula includes a residual sum of squares between the logarithm of the measurement data and the logarithm of the calculation data.

[0018] (4) In addition, in one aspect of the analysis device of the present invention, the predetermined formula is characterized in that it includes a weighting parameter that multiplies the measurement data by a constant when the measurement data has an intensity equal to or less than a predetermined value, and that takes the logarithm of the measurement data when the measurement data has an intensity greater than the predetermined value.

[0019] (5) In the analysis device according to one aspect of the present invention, the probability distribution function is a Poisson distribution, and the index calculation unit calculates an expected value of the residual by approximating it with a Gaussian distribution.

[0020] (6) Furthermore, an analysis device according to one embodiment of the present invention includes a model creation unit that creates the model and calculates the calculation data based on the created model, wherein the calculation data acquisition unit acquires the calculation data calculated by the model creation unit, and when the index evaluation unit evaluates that the GOF has converged, the model creation unit outputs the model, and when the index evaluation unit evaluates that the GOF has not converged, the model creation unit updates model parameters of the model, creates the model, and calculates the calculation data, and the index calculation unit calculates the GOF based on the calculated calculation data.

[0021] (7) Furthermore, a system according to one aspect of the present invention is characterized by comprising an X-ray analysis device including an X-ray generation unit that generates X-rays, a sample stage on which a sample is placed, and a detector that detects X-rays, and an analysis device described in any one of (1) to (6) above.

[0022] (8) Furthermore, a method according to one aspect of the present invention is a method for calculating an index indicating the degree of optimization of a model containing information on electron density distribution for measurement data whose probability distribution function the measurement data follows is known, the method comprising: a measurement data acquisition step for acquiring the measurement data; a calculation data acquisition step for acquiring calculation data calculated from the model; and an index calculation step for calculating an index GOF including a ratio of a residual defined by a predetermined formula including the measurement data and the calculation data, and an expectation of the residual defined based on the probability distribution function and the predetermined formula, to the residual.

[0023] (9) Furthermore, a program according to one aspect of the present invention is a program for calculating an index indicating the degree of optimization of a model including information on electron density distribution for measurement data whose probability distribution function the measurement data follows is known, characterized in that the program causes a computer to execute the following processes: a process for acquiring the measurement data; a process for acquiring calculation data calculated from the model; and a process for calculating an index GOF including a ratio of a residual defined by a predetermined formula including the measurement data and the calculation data, and an expectation of the residual defined based on the probability distribution function and the predetermined formula, to the residual. [Brief explanation of the drawings]

[0024] [Figure 1] FIG. 1 is a conceptual diagram illustrating an example of a configuration of an analysis system. [Figure 2] FIG. 2 is a block diagram showing an example of the configuration of a control device. [Figure 3] 1 is a block diagram showing an example of the configuration of an analysis device according to a first embodiment. [Figure 4] 4 is a flowchart showing an example of the operation of the analysis device according to the first embodiment. [Figure 5] FIG. 10 is a block diagram showing an example of the configuration of an analysis device according to a second embodiment. [Figure 6] 10 is a flowchart showing an example of the operation of the analysis device according to the second embodiment. [Figure 7] FIG. 10 is a block diagram showing an example of the configuration of an analysis device according to a third embodiment. [Figure 8] 11 is a flowchart showing an example of the operation of the analysis device according to the third embodiment. [Figure 9] (a) is a graph showing the pseudo-measured waveform and the calculated waveform before model optimization, and (b) is a graph showing the pseudo-measured waveform and the calculated waveform after model optimization. [Figure 10] 1 is a graph showing changes in the R-factor and GOF values ​​corresponding to one diffraction line in the analysis process of an example. [Figure 11] 1 is a graph showing an overlay of measured and calculated waveforms at a certain stage in an example. [Figure 12] 1 is a graph showing the values ​​of all R factors used in the analysis at a certain stage. [Figure 13] This is a graph of all R factors, RG factors, and GOF values ​​at a certain stage used in the analysis. [Figure 14] This is a graph of the values ​​of all R factors, RG factors, and GOF used in the analysis after optimization calculation. DETAILED DESCRIPTION OF THE INVENTION

[0025] Next, an embodiment of the present invention will be described with reference to the drawings. To facilitate understanding of the description, the same reference numerals are used to designate the same components in the drawings, and duplicated descriptions will be omitted.

[0026] [principle] X-ray reflectivity and small-angle X-ray scattering have a large dynamic range of measurement data. For example, the measurement intensity is 1.0 to 1.0 × 10 7 In these analyses, even if the intensity is around 10 counts, if the period of the interference fringes is visible, it contains the information necessary for analysis, so low intensity areas cannot be ignored during fitting.

[0027] To determine the shape of a sample using X-rays, it is necessary to solve an inverse problem using measurement data. Based on the shape and material of the sample to be measured, the sample is represented as a model containing information on the electron density distribution. The calculated intensity is calculated by calculating what kind of reflection or scattering occurs when X-rays are irradiated onto this model. The model is optimized using the least squares method so that the calculated intensity data (calculated data) and the measured intensity data (measured data) match well. At this point, an index is needed to confirm the degree of optimization, which indicates how well the model has been optimized.

[0028] The present invention calculates the GOF, an index that indicates the degree of optimization of a model containing information on electron density distribution, for measurement data whose probability distribution function the measurement data follows is known. The probability distribution function the measurement data follows is known if the variability of the measurement data can be statistically estimated from the values ​​of the measurement data. Specifically, this refers to a case where it is known from the properties of the measurement data that the measurement data follows a Poisson distribution, Gaussian distribution, or the like.

[0029] The GOF is expressed by, for example, the following formula (5): where R (R factor) is a residual defined by a predetermined formula including measurement data and calculation data. G (R G The GOF is the expected value of the residual defined based on the probability distribution function to which the measured data conforms and a predetermined formula. Note that the GOF is not limited to formula (5), and may be any formula defined by a formula including the ratio of the residual including the measured data and the calculated data to the expected value of the residual. The ratio of the residual including the measured data and the calculated data to the expected value of the residual is expressed as R to R. G Even in the ratio of R G For example, the GOF may be defined as the ratio of R to GOF, where the numerator and denominator of Equation (5) are reversed.

[0030]

number

[0031] Since the probability distribution function that the measurement data follows is known, it is possible to calculate the expected value of the residual, which is defined based on the probability distribution function and a predetermined mathematical formula. G is an R factor calculated from the residual error between the measured data and the statistical error of the measured data. G is the minimum R factor that can be estimated from the measurement data. Specific examples of the predetermined formula and its expected value will be described in detail in the embodiments.

[0032] The GOF calculated as described above serves as an index indicating the degree of optimization of the model (the degree of fitting of the model). For example, it can be used to determine which of two models created for the same measurement data has a higher degree of optimization. It can also evaluate whether the model fitting has sufficiently converged. If the model fitting has not sufficiently converged, the parameters can be updated, the model can be re-created, the calculation data can be calculated, and the GOF can be determined. Furthermore, if the model fitting is ideal, the GOF can be defined to be 1 regardless of the quality of the measurement data. Therefore, the degree of optimization of the model can be determined absolutely even between different data. The GOF of the present invention is suitable as an index for analysis using the weighted least squares method. A detailed index calculation method of the present invention will be described in detail in the embodiments.

[0033] In the following embodiments, a method for calculating GOF using measurement data measured by an X-ray analyzer, a method for evaluating GOF convergence, and a method for optimizing a model using the evaluation of GOF convergence will be described in detail. Note that the present invention is not limited to measurement data of X-ray reflectivity or small-angle X-ray scattering measured by an X-ray analyzer, but can also be applied to measurement data measured by similar probes. Specifically, the present invention can be applied to measurement data for which the probability distribution function to which the measurement data follows is known, such as measurement data measured by photons.

[0034] [Embodiment] [Overall system] FIG. 1 is a conceptual diagram showing an example of the configuration of a system 100. The system 100 includes an X-ray analysis device 200, a control device 300, and an analysis device 400. By using this system 100, it is possible to measure measurement data and calculate a GOF, an index that indicates the degree of optimization of a model for measurement data whose probability distribution function the measurement data follows, for which the probability distribution function is known. It is also possible to evaluate the GOF and optimize the model.

[0035] 1, the control device 300 and the analysis device 400 are shown as the same PC. However, as described above, the method of the present invention can acquire measurement data and calculation data and calculate indices independently of the X-ray analysis device 200 and the control device 300. Therefore, the analysis device 400 may be configured as a device different from the control device 300. The following describes a case where the control device 300 and the analysis device 400 are configured as different devices.

[0036] [X-ray analyzer] The X-ray analysis apparatus 200 constitutes an optical system that irradiates X-rays onto a sample and detects reflected X-rays from the sample. The X-ray analysis apparatus 200 includes an X-ray generation unit 210 that generates X-rays from an X-ray focus (i.e., an X-ray source), an incident-side optical unit 220, a goniometer 230, a sample stage 240 on which a sample is placed, and a detector 260 that detects X-rays. The X-ray analysis apparatus 200 may also include an exit-side optical unit 250. The X-ray generation unit 210, the incident-side optical unit 220, the goniometer 230, the sample stage 240, the exit-side optical unit 250, and the detector 260 that constitute the X-ray analysis apparatus 200 may be general components, and therefore, description thereof will be omitted. Note that the configuration shown in FIG. 1 is merely an example, and various other configurations may be adopted.

[0037] The X-ray analysis device 200 repeats the movement of the rotation axis and the projection of X-rays under predetermined conditions. In this way, the sample is irradiated with X-rays and measurement data such as X-ray reflectivity data and X-ray small-angle scattering data is acquired. The X-ray analysis device 200 transmits device information and the acquired measurement data to the control device 300.

[0038] [Control device] The control device 300 is connected to the X-ray analysis device 200, and controls the X-ray analysis device 200 and stores and displays acquired data. In the system 100, if the analysis device 400 does not have the function of creating a model and calculating calculation data, the control device 300 or another device (e.g., a model creation device) has the function of creating a model and calculating calculation data.

[0039] 2 is a block diagram showing an example of the configuration of the control device 300. The control device 300 is configured by a computer having a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and memories connected to a bus. The control device 300 is connected to the X-ray analysis device 200 and receives information from it.

[0040] The control device 300 comprises a control unit 310, a device information storage unit 320, a measurement data storage unit 330, and a display unit 340. Each unit can send and receive information via a control bus L. The input device 510 and the display device 520 are connected to the CPU via an appropriate interface.

[0041] The control unit 310 controls the operation of the X-ray analysis apparatus 200. The apparatus information storage unit 320 stores apparatus information acquired from the X-ray analysis apparatus 200. The apparatus information may include information about the X-ray analysis apparatus 200, such as the apparatus name, type of radiation source, wavelength, background, etc.

[0042] The measurement data storage unit 330 stores the measurement data acquired from the X-ray analysis device 200. Information about the X-ray analysis device 200, such as the type of radiation source, wavelength, background, etc., may be included together with the measurement data. The display unit 340 displays the measurement data on the display device 520, allowing the user to check the measurement data. The user can also give instructions and instructions to the control device 300, analysis device 400, etc. based on the measurement data.

[0043] [Analysis equipment] The analysis device 400 calculates an index GOF indicating the degree of optimization of a model containing information on electron density distribution for measurement data whose probability distribution function is known. The control device 300 and the analysis device 400 are devices equipped with a CPU and memory, and may be PC terminals or servers on the cloud. Furthermore, not only the entire device, but also some devices or some functions within the device may be provided on the cloud. The input device 510 is, for example, a keyboard or mouse, and performs input to the control device 300 and the analysis device 400. The display device 520 is, for example, a display, and displays the model, GOF, etc.

[0044] (Embodiment 1) In the first embodiment, a case where only GOF is calculated will be described. Fig. 3 is a block diagram showing an example of the configuration of an analysis device 400 according to the first embodiment. The analysis device 400 is configured by a computer having a CPU, a ROM, a RAM, and a memory connected to a bus. The analysis device 400 may be connected to the X-ray analysis device 200 via the control device 300.

[0045] Analysis device 400 comprises a measurement data acquisition unit 410, a calculation data acquisition unit 420, and an index calculation unit 430. Each unit can send and receive information via a control bus L. If analysis device 400 and control device 300 have separate configurations, input device 510 and display device 520 are also connected to the CPU of analysis device 400 via an appropriate interface. In this case, input device 510 and display device 520 may be different from those connected to control device 300.

[0046] Fig. 4 is a flowchart showing an example of the operation of analysis device 400 according to embodiment 1. Fig. 4 shows an example of the operation when only calculating GOF. First, analysis device 400 acquires measurement data using measurement data acquisition unit 410 (step S1). Next, calculation data acquisition unit 420 acquires calculation data (step S2). Next, index calculation unit 430 calculates GOF (step S3).

[0047] The measurement data acquisition unit 410 acquires measurement data. The measurement data acquisition unit 410 may acquire the measurement data directly from the X-ray analysis device 200 or via the control device 300, or may acquire measurement data that has been stored in advance in a database or the like.

[0048] The calculation data acquisition unit 420 acquires calculation data calculated from the model. The model represents the characteristics of the sample from which the measurement data was measured. Specifically, it includes information on the electron density distribution derived from the shape and material of the sample. It may also include information other than the electron density distribution, such as the refractive index of the sample. The calculation data is the result of calculating what kind of reflection and scattering occurs when X-rays are irradiated onto the model.

[0049] The index calculation unit 430 calculates an index GOF including the ratio of the residual to the expected value of the residual, where the residual is defined by a predetermined formula including the measurement data and the calculation data, and the expected value of the residual is defined based on the probability distribution function and the predetermined formula. The predetermined formula, the formula defining the expected value of the residual, or the formula defining the index GOF is stored in advance. Alternatively, the configuration may be such that the user can arbitrarily set the predetermined formula by selecting or specifying it.

[0050] Next, an example of a method for calculating GOF using measurement data measured by an X-ray analyzer will be described. The X-ray count intensity of the measurement data of X-ray reflectivity or small-angle X-ray scattering measured by the X-ray analyzer is defined as Obs, and the calculated X-ray intensity of the calculated data calculated from the model is defined as Calc. It is assumed that the model has already been created. Furthermore, a predetermined formula for fitting the model is defined as R. The predetermined formula is a formula that includes measurement data and calculation data and defines the residual for fitting the model. For example, R can be a formula obtained by dividing the sum of squared residuals between the logarithm of Obs and the logarithm of Calc by the sum of the logarithmic intensities of Obs, as in the following formula (6). In this way, the predetermined formula preferably includes the sum of squared residuals between the logarithm of the measurement data and the logarithm of the calculation data. Obs j or Calc j indicates the value of Obs or Calc at each data point j.

[0051]

number

[0052] The probability distribution function f(x) of the X-ray count intensity Obs of the measurement data is expressed as a Poisson distribution with a standard deviation of √(Ideal), where Ideal is the theoretical mean value of the X-ray count intensity. Approximating the Poisson distribution with a Gaussian distribution, the probability distribution function f(x) is expressed by the following equation (7), where σ = √(Ideal). In this way, when the probability distribution function is a Poisson distribution, it is preferable to obtain the expected value of the residual by approximating it with a Gaussian distribution. This makes software implementation easier, since the integral of the Gaussian distribution can be solved analytically. However, if the expected value of the residual, which includes the measurement data and the calculation data, can be calculated without approximating it with another function, the expected value of the residual may be calculated directly.

[0053]

number

[0054] In the above formula (6), the specified formula is defined to include the residual sum of squares between the logarithm of Obs and the logarithm of Calc. Therefore, as shown in the following formula (8), the residual sum of squares between the logarithm of Obs and the logarithm of Ideal is considered. In this case, the expected value of the residual sum of squares between the logarithm of Obs and the logarithm of Ideal is expressed by the following formula (9).

[0055]

number

[0056]

number

[0057] In reality, the value of Ideal is unknown, so we substitute Obs for Ideal to calculate it. Calculating the expected value of the logarithmic residual sum of squares at each data point j and dividing the sum by the sum of logarithmic intensities, we obtain the ideal R for the above R, expressed as R in the following formula (10): G We can calculate the value of R G is the expected value of the residual calculated using the properties of the probability distribution function for the residual defined by a predetermined formula including the measured data and calculated data. G can be defined in any way as long as it represents the expected value of the residual obtained by utilizing the properties of the probability distribution function. In the present invention, the expected value of the residual obtained by utilizing the properties of the probability distribution function is the expected value of the residual defined based on the probability distribution function and a predetermined formula. Note that σ in formula (10) is defined as σ=√(Obs j )

[0058]

number

[0059] R and R above G On the other hand, if GOF is defined by the following formula (11), for example, GOF becomes an index showing the degree of optimization of the model.

[0060]

number

[0061] When actually calculating GOF, use R and R as shown above. G It is not necessary to calculate R and R separately and then use them to calculate GOF. G When GOF is defined by Equation (11) for , the following Equation (12) may be defined in advance as an equation for calculating GOF, and GOF may be calculated using this.

[0062]

number

[0063] Furthermore, if the specified formula is replaced with a different formula, the GOF will also change accordingly, but even if the specified formula is the same, the GOF can be defined differently. G For example, the GOF can be expressed as the following formula (13): In this way, the GOF may be an index including the ratio of the residual to the expected value of the residual, where the residual is defined by a predetermined formula including measurement data and calculation data, and the expected value of the residual is defined based on a probability distribution function and the predetermined formula.

[0064]

number

[0065] Below, we will explain another example of the predetermined formula. As mentioned above, when residuals are calculated using the logarithm of measured or calculated data, the values ​​fluctuate greatly when the intensity of the measured or calculated data is small. For example, log0 = -∞, or when log2 - log1 ≒ 0.3 and log3 - log2 ≒ 0.17, which should be the same 1 count difference, the values ​​are nearly twice as different. As a method for reducing the effect of taking logarithms for small values, the predetermined formula can be, for example, as shown in the following formula (14). W j is the X-ray count intensity of the measurement data, Obs j The weight is defined as W j is defined, for example, as in Equation (15), where e is the base of the natural logarithm.

[0066]

number

[0067]

number

[0068] In this case, the expected value R of the residual defined based on the probability distribution function and the predetermined formula of Equation (14) isG can be defined as the following equation (16). G GOF can be defined for R and R G On the other hand, when GOF is defined by Equation (11), the equation for calculating GOF is expressed as, for example, Equation (17) below.

[0069]

number

[0070]

number

[0071] The above approximation achieves more robust behavior by expressing the residual in terms of linear intensity when the intensity is equal to or less than e (≒ 2.7) counts, and by taking the residual in terms of logarithmic intensity when the intensity exceeds that value. In this way, the predetermined formula preferably includes a weighting parameter that multiplies the measurement data by a constant when the intensity is equal to or less than the predetermined value and takes the logarithmic value of the measurement data when the intensity is greater than the predetermined value. While the weighting parameter in Equation (15) has a predetermined value of e, the predetermined value may be different. Furthermore, the formula representing the weighting parameter is not limited to Equation (15) and may be any formula that multiplies the measurement data by a constant when the intensity is equal to or less than the predetermined value and takes the logarithmic value when the intensity is greater than the predetermined value. While the count value (counts) is generally an integer, it may be multiplied by a correction term. In such cases, the value multiplied by the correction term is considered to be the count value. Therefore, since the count value can be a decimal value, the predetermined value may also be a decimal value.

[0072] It is preferable to calculate the GOF directly from the formula that defines the GOF, without calculating the residual defined by a predetermined formula including measured data and calculated data, or the expected value of the residual defined based on a probability distribution function and the predetermined formula. This makes it possible to easily calculate the GOF. In this way, the GOF can be calculated based on the measured data and calculated data. By calculating the GOF in this way, the user can check the degree of optimization of the model, regardless of the quality of the measured data or the user's level of proficiency.

[0073] (Embodiment 2) In the second embodiment, a case where the convergence of GOF is evaluated will be described. Since many procedures are similar to those of the first embodiment, only the differences will be described. FIG. 5 is a block diagram showing an example of the configuration of an analysis device 400 according to the second embodiment. As shown in FIG. 5, the analysis device 400 preferably includes an index evaluation unit 440 in addition to a measurement data acquisition unit 410, a calculation data acquisition unit 420, and an index calculation unit 430. The analysis device 400 configured as shown in FIG. 5 may also be called an index evaluation device.

[0074] Fig. 6 is a flowchart showing an example of the operation of analysis device 400 according to the second embodiment. Fig. 6 shows an example of the operation when evaluating the convergence of GOF after calculation of GOF. First, analysis device 400 acquires measurement data using measurement data acquisition unit 410 (step T1). Next, calculation data acquisition unit 420 acquires calculation data (step T2). Next, index calculation unit 430 calculates GOF (step T3). The operation up to this point is the same as above.

[0075] Next, the index evaluation unit 440 evaluates the convergence of the GOF (step T4). In this way, the convergence of the GOF can be evaluated. The evaluation criteria for the convergence of the GOF may be set in advance, or may be arbitrarily set by the user by selecting the evaluation criteria for the convergence, a predetermined threshold, or the like. The index evaluation unit 440 may output an evaluation of the convergence of the GOF.

[0076] Next, an example of a method for evaluating the convergence of GOF will be described. The evaluation of GOF convergence differs depending on the definition of GOF and the definition of convergence. For example, when GOF is defined by Equation (11), if the fitting is perfect, the GOF value is 1. Therefore, the convergence of GOF can be defined by whether the GOF value is sufficiently close to 1. When evaluating convergence using such a definition, for example, predetermined thresholds a and b can be set, and it can be evaluated that convergence has occurred when the absolute value of the difference between GOF and the predetermined threshold a is equal to or less than the predetermined threshold b. Note that the threshold a is preferably set to the GOF value when the fitting is perfect.

[0077] Convergence of GOF can also be defined as whether the difference between GOF1 calculated based on a certain model and GOF2 calculated based on an updated model has become sufficiently small. When evaluating convergence using this definition, for example, a predetermined threshold c can be set, and it can be evaluated that convergence has occurred when the absolute value of the difference between GOF1 and GOF2 is equal to or less than c.

[0078] In this way, by assessing the convergence of the GOF, the user can determine whether or not the model needs to be rebuilt.

[0079] (Embodiment 3) In the third embodiment, a case where a model is optimized will be described. Since many procedures are similar to those of the first and second embodiments, only the differences will be described. FIG. 7 is a block diagram showing an example of the configuration of an analysis device 400 according to the third embodiment. As shown in FIG. 7, the analysis device 400 preferably includes a measurement data acquisition unit 410, a calculation data acquisition unit 420, an index calculation unit 430, an index evaluation unit 440, and a model creation unit 415.

[0080] Fig. 8 is a flowchart showing an example of the operation of the analysis device 400 according to the third embodiment. Fig. 8 shows an example of the operation when the index evaluation device optimizes a model. First, the analysis device 400 acquires measurement data using the measurement data acquisition unit 410 (step U1). Next, the model creation unit 415 sets model parameters and analysis conditions (step U2). The model parameters or analysis conditions may be configured so that they can be arbitrarily set by the user through selection, designation, input, etc.

[0081] Model parameters are parameters required to represent a sample as a model containing information about the electron density distribution, such as parameters that indicate the sample's shape or material. Specific model parameters include critical dimensions (CDs), depth or height, and the position of the centerline. Analysis conditions include the range of measurement data used in the analysis, constraints on model parameters, and the weighting assigned to each diffraction line. Model parameter constraints are conditions that are set to prevent model parameters from exceeding or falling below a certain value, or to limit the range within which parameters can change at each step of repeated analysis to prevent sudden changes in parameter values.

[0082] Next, the model parameters are optimized (step U3). The model parameters can be optimized using, for example, the least squares method. Next, a model is created by the model creation unit 415 (step U4). The model is created based on the optimized model parameters. Next, calculation data is calculated (step U5). The calculation data is calculated based on the type of radiation source, wavelength, model shape, composition, etc. of the measurement data.

[0083] Next, the index calculation unit 430 calculates the GOF (step U6). The calculation of the GOF is the same as in step S3. Next, the index evaluation unit 440 evaluates the convergence of the GOF (step U7). The evaluation of the convergence of the GOF is the same as in step T4.

[0084] Next, if the evaluation of the convergence of the GOF does not satisfy the condition (step U8-NO), return to step U2, set (update) the model parameters and analysis conditions, create (recreate) the model using the updated model parameters, and perform the process up to step U7 again.

[0085] On the other hand, if the evaluation of GOF convergence satisfies the condition (step U8 - YES), the model is output as necessary (step U9) and the process ends. In this way, the model can be optimized. Note that when GOF convergence is evaluated based on the GOF before and after the update, it may not be possible to evaluate GOF convergence in the first loop. In such cases, the system may be configured to always perform a second loop.

[0086] The model creation unit 415 optimizes the model parameters. The model creation unit 415 also creates a model and calculates calculation data based on the created model. The model is created based on the model parameters. The calculation data is calculated based on the type of radiation source, wavelength, model shape, composition, etc. of the measurement data. At this time, the calculation data acquisition unit 420 acquires the calculation data calculated by the model creation unit 415.

[0087] If the index evaluation unit 440 evaluates that the GOF has not converged, the model creation unit 415 updates the analysis conditions and model parameters, optimizes the model parameters, creates (recreates) a model, and calculates (recalculates) calculation data. At this time, the index calculation unit 430 recalculates the GOF based on the calculated (recalculated) calculation data. Furthermore, if the index evaluation unit 440 evaluates that the GOF has converged, the model creation unit 415 outputs the model as necessary. This allows the analysis device 400 to optimize the model based on the evaluation of the GOF convergence. Furthermore, the analysis device 400 can automatically optimize the model without requiring a user to confirm convergence. The analysis device 400 configured as shown in FIG. 7 may also be referred to as a model optimization device.

[0088] Next, an example of a method for optimizing a model using an evaluation of GOF convergence will be described. First, the analysis conditions and model parameters are set. Next, the model parameters are optimized. Optimization of the model parameters can be performed, for example, using the least squares method. Next, a model is created based on the optimized model parameters. Next, calculation data is calculated from the model. GOF is then calculated using the measured data and calculation data. GOF is calculated according to the definition above. The convergence of the calculated GOF is evaluated, and if it is evaluated to have converged, the model is output as necessary and the process ends.

[0089] On the other hand, the convergence of the calculated GOF is evaluated, and if it is determined not to have converged, the analysis conditions and model parameters are updated. Next, the updated model parameters are optimized. Next, a model is created (updated) based on the optimized model parameters. Next, calculation data is calculated from the updated model. The GOF is then calculated using the measured and calculated data. The model parameters can be updated randomly or based on the GOF value. Furthermore, when there are multiple sets of measured and calculated data, such as for multiple diffraction lines, a single GOF can be calculated for all data sets, or a GOF can be calculated for each corresponding measured and calculated data. When calculating a GOF for each corresponding measured and calculated data, the model parameters can be updated by weighting the diffraction lines or data sets whose GOF values ​​are far from convergence, i.e., the degree of optimization is far from convergence. For example, a weight can be assigned to the residual of a diffraction line or data set whose GOF values ​​are far from convergence, multiplied by a constant.

[0090] In this way, by optimizing the model using the evaluation of GOF convergence, it is possible to create an optimized model based on the objective index GOF, regardless of the quality of the measurement data or the user's level of expertise.

[0091] [Example] Using the index calculation device configured as described above, the analytical convergence process using simulation data was investigated. First, a calculated waveform was generated based on the analysis results (model) of an actual sample. Next, statistical noise (random numbers following a Poisson distribution) was added to the calculated waveform to generate a pseudo-measured waveform. Next, the generated pseudo-measured waveform was subjected to least-squares fitting using a simple cylinder as the initial model, and the model that was the basis for generating the waveform was restored.

[0092] Figure 9(a) is a graph showing the pseudo-measured waveform and calculated waveform before model optimization. Figure 9(b) is a graph showing the pseudo-measured waveform and calculated waveform after model optimization. The analysis was performed in the following three steps. 1. Perform a trapezoidal fitting, linearly varying the diameter at each depth. 2. Perform fitting with freely varying diameter at each depth. 3. For diffraction lines with GOF values ​​exceeding 1, the residuals are weighted by a constant multiple, and fitting is performed by making them exceed the local minimum.

[0093] Figure 10 is a graph showing the changes in the R-factor and GOF values ​​corresponding to one diffraction line during the analysis process in this example. The GOF at the end of the analysis was 1.03, which was very close to 1, making it possible to determine that the analysis had converged sufficiently, regardless of the user's level of expertise. In contrast, the R-factor at the end of the analysis was 8.39%, which alone does not allow one to determine that the analysis had ended. Conventionally, an experienced user would visually inspect the waveform at this state to determine whether the analysis had ended. This confirms that the method of the present invention does not require the user to be highly skilled in determining convergence.

[0094] Figure 11 is a graph showing the measured waveform and the calculated waveform at a certain stage in the example. The waveform plot in Figure 11 shows the measured waveform and the calculated waveform superimposed at a certain stage of the analysis. Note that the graph in Figure 11 only shows a portion of the waveforms used in the analysis. The actual simulation was performed using 162 diffraction lines. Looking at Figure 11, it appears that the waveforms match to a certain extent when visually inspected.

[0095] On the other hand, Figure 12 is a graph showing the values ​​of all R-factors used in the analysis at a certain stage. Figure 12 plots the R-factor values ​​at the same stage as Figure 11. Looking at Figure 12, we can see that the R-factor values ​​fluctuate over a wide range because the intensity differs for each diffraction line. Therefore, it was not possible to determine from this alone which diffraction line had the largest discrepancy between the calculated and measured values.

[0096] Figure 13 shows all the R factors, R G Figure 13 shows the R factor at the same stage as in Figure 11, as well as the R factor. G The factor and GOF were also calculated for each diffraction line and plotted. Figure 13 shows that there are areas where the GOF significantly exceeds 1 (local minimum).

[0097] For diffraction lines with a GOF value exceeding 1, the residual was weighted by a constant multiple and optimization calculations were performed again. The larger the residual, the greater the influence on the optimization calculation, so the weighted diffraction lines are more strongly fitted to the optimization results. After the optimization calculations, the weights were removed and the GOF was calculated again. Figure 14 shows all the R factors, R G 14 is a graph of the values ​​of the factors and GOF after optimization calculation. As shown in Figure 14, the GOF was close enough to 1 for all diffraction lines, and it was determined that convergence had been achieved. This means that by using GOF, it was possible to overcome the local minimum and converge to the correct solution.

[0098] The above results confirm that the index calculation device, system, method, and program of the present invention can calculate absolute convergence evaluation indexes that can be applied to measurement data such as X-ray reflectivity and small-angle X-ray scattering. [Explanation of symbols]

[0099] 100 systems 200 X-ray analyzer 210 X-ray generator 220 Incident optical unit 230 Goniometer 240 Sample stage 250 Output optical unit 260 detector 300 control device 310 Control Unit 320 Device information storage unit 330 Measurement data storage unit 340 Display section 400 Analysis equipment 410 Measurement data acquisition unit 415 Model Creation Department 420 Calculation Data Acquisition Unit 430 Indicator calculation section 440 Index Evaluation Department 510 Input Device 520 Display device

Claims

1. 1. An analysis apparatus for calculating an index indicating a degree of optimization of a model including information on an electron density distribution for measurement data, the probability distribution function of which is known, the analysis apparatus comprising: A measurement data acquisition unit that acquires the measurement data; A calculation data acquisition unit that acquires calculation data calculated from the model; and an index calculation unit that calculates an index GOF including a ratio between a residual defined by a predetermined formula including the measurement data and the calculation data, and an expected value of the residual defined based on the probability distribution function and the predetermined formula.

2. 2. The analysis device according to claim 1, further comprising an index evaluation unit for evaluating the convergence of the GOF.

3. 2. The analysis device according to claim 1, wherein the predetermined formula includes a residual sum of squares between the logarithm of the measured data and the logarithm of the calculated data.

4. 2. The analysis device according to claim 1, wherein the predetermined formula includes a weighting parameter that multiplies the measurement data by a constant when the measurement data has an intensity equal to or less than a predetermined value, and that takes a logarithmic value of the measurement data when the measurement data has an intensity greater than the predetermined value.

5. 2. The analysis device according to claim 1, wherein the probability distribution function is a Poisson distribution, and the index calculation unit calculates an expected value of the residual by approximating it with a Gaussian distribution.

6. a model creation unit that creates the model and calculates the calculation data based on the created model, The calculation data acquisition unit acquires the calculation data calculated by the model creation unit, When the index evaluation unit evaluates that the GOF has converged, the model creation unit outputs the model; The analysis device according to claim 2, characterized in that when the index evaluation unit evaluates that the GOF has not converged, the model creation unit updates model parameters of the model, creates the model and calculates the calculation data, and the index calculation unit calculates the GOF based on the calculated calculation data.

7. An X-ray analysis apparatus including an X-ray generating unit that generates X-rays, a sample stage on which a sample is placed, and a detector that detects X-rays; A system comprising: the analysis device according to any one of claims 1 to 6.

8. A method for calculating an index indicating a degree of optimization of a model including information on an electron density distribution for measurement data whose probability distribution function is known, the method comprising the steps of: a measurement data acquisition step of acquiring the measurement data; a calculation data acquisition step of acquiring calculation data calculated from the model; a residual defined by a predetermined formula including the measurement data and the calculation data, and an index GOF including a ratio between the residual and an expected value of the residual defined based on the probability distribution function and the predetermined formula.

9. A program for calculating an index indicating a degree of optimization of a model including information on an electron density distribution for measurement data whose probability distribution function is known, the program comprising: A process of acquiring the measurement data; obtaining computational data calculated from said model; a residual defined by a predetermined formula including the measurement data and the calculation data, and an index GOF including a ratio between the residual and an expected value of the residual defined based on the probability distribution function and the predetermined formula.

Citation Information

Patent Citations

  • Structural analysis method of crystal

    JP2007064962A

  • X-ray scatterometry metrology for high aspect ratio structures

    JP2019505766A