The most common powder X-ray diffraction (XRD) refinement technique used today is based on the method proposed in the 1960s by Hugo Rietveld.3 The Rietveld method fits a calculated profile (including all structural and instrumental parameters) to experimental data. It employs the non-linear least squares method, and requires the reasonable initial approximation of many free parameters, including peak shape, unit cell dimensions and coordinates of all atoms in the crystal structure. Other parameters can be guessed while still being reasonably refined. In this way one can refine the crystal structure of a powder material from PXRD data. The successful outcome of the refinement is directly related to the quality of the data, the quality of the model (including initial approximations), and the experience of the user.
The Rietveld method is an incredibly powerful technique which began a remarkable era for powder XRD and materials science in general. Powder XRD is at heart a very basic experimental technique with diverse applications and experimental options. Despite being slightly limited by the one-dimensionality of PXRD data and limited resolution, powder XRD's power is astonishing. It is possible to determine the accuracy of a crystal structure model by fitting a profile to a 1D plot of observed intensity vs angle. Rietveld refinement requires a crystal structure model, and offers no way to come up with such a model on its own. However, it can be used to find structural details missing from a partial or complete ab initio structure solution, such as unit cell dimensions, phase quantities, crystallite sizes/shapes, atomic coordinates/bond lengths, micro strain in crystal lattice, texture, and vacancies.45
Before exploring Rietveld refinement, it is necessary to establish a greater understanding of powder diffraction data and what information is encoded therein in order to establish a notion of how to create a model of a diffraction pattern, which is of course necessary in Rietveld refinement. A typical diffraction pattern can be described by the positions, shapes, and intensities of multiple Bragg reflections. Each of the three mentioned properties encodes some information relating to the crystal structure, the properties of the sample, and the properties of the instrumentation. Some of these contributions are shown in Table 1, below.
(a, b, c, α, β, γ)
(x, y, z, B, etc.)
The structure of a powder pattern is essentially defined by instrumental parameters and two crystallographic parameters: unit cell dimensions, and atomic content and coordination. So, a powder pattern model can be constructed as follows:
It is easy to model a powder pattern given the crystal structure of a material. The opposite, determining the crystal structure from a powder pattern, is much more complicated. A brief explanation of the process follows, though it is not the focus of this article.
To determine structure from a powder diffraction pattern the following steps should be taken. First, Bragg peak positions and intensities should be found by fitting to a peak shape function including background. Next, peak positions should be indexed and used to determine unit cell parameters, symmetry, and content. Third, peak intensities determine space group symmetry and atomic coordination. Finally, the model is used to refine all crystallographic and peak shape function parameters. To do this successfully, there is a requirement for excellent data which means good resolution, low background, and a large angular range.
For general application of the Rietveld method, irrespective of the software used, the observed Bragg peaks in a powder diffraction pattern are best described by the so-called peak shape function (PSF). The PSF is a convolution of three functions: the instrumental broadening Ω ( θ ) {\displaystyle \Omega (\theta )} , wavelength dispersion Λ ( θ ) {\displaystyle \Lambda (\theta )} , and the specimen function Ψ ( θ ) {\displaystyle \Psi (\theta )} , with the addition of a background function, b ( θ ) {\displaystyle b(\theta )} . It is represented as follows:
where ⊗ {\displaystyle \otimes } denotes convolution, which is defined for two functions f {\displaystyle f} and g {\displaystyle g} as an integral:
The instrumental function depends on the location and geometry of the source, monochromator, and sample. Wavelength function accounts for the distribution of the wavelengths in the source, and varies with the nature of the source and monochromatizing technique. The specimen function depends on several things. First is dynamic scattering, and secondly the physical properties of the sample such as crystallite size, and microstrain.
A short aside: unlike the other contributions, those from the specimen function can be interesting in materials characterization. As such, average crystallite size, τ {\displaystyle \tau } , and microstrain, ε {\displaystyle \varepsilon } , effects on Bragg peak broadening, β {\displaystyle \beta } (in radians), can be described as follows, where k {\displaystyle k} is a constant:
Returning to the peak shape function, the goal is to correctly model the Bragg peaks which exist in the observed powder diffraction data. In the most general form, the intensity, Y ( i ) {\displaystyle Y(i)} , of the i th {\displaystyle i^{\text{th}}} point ( 1 ≤ i ≤ n {\displaystyle 1\leq i\leq n} , where n {\displaystyle n} is the number of measured points) is the sum of the contributions y k {\displaystyle y_{k}} from the m {\displaystyle m} overlapped Bragg peaks ( 1 ≤ k ≤ m {\displaystyle 1\leq k\leq m} ), and the background, b ( i ) {\displaystyle b(i)} , and can be described as follows:
where I k {\displaystyle I_{k}} is the intensity of the k th {\displaystyle k^{\text{th}}} Bragg peak, and x i = 2 θ i − 2 θ k {\displaystyle x_{i}=2\theta _{i}-2\theta _{k}} . Since I k {\displaystyle I_{k}} is a multiplier, it is possible to analyze the behaviour of different normalized peak functions y ( x ) {\displaystyle y(x)} independently of peak intensity, under the condition that the integral over infinity of the PSF is unity. There are various functions that can be chosen to do this with varying degrees of complexity. The most basic functions used in this way to represent Bragg reflections are the Gauss, and Lorentzian functions. Most commonly though, is the pseudo-Voigt function, a weighted sum of the former two (the full Voigt profile is a convolution of the two, but is computationally more demanding). The pseudo-Voigt profile is the most common and is the basis for most other PSF's. The pseudo-Voigt function can be represented as:
where
and
are the Gaussian and Lorentzian contributions, respectively.
Thus,
where:
The pseudo-Voigt function, like the Gaussian and Lorentz functions, is a centrosymmetric function, and as such does not model asymmetry. This can be problematic for non-ideal powder XRD data, such as those collected at synchrotron radiation sources, which generally exhibit asymmetry due to the use of multiple focusing optics.
The Finger–Cox–Jephcoat function is similar to the pseudo-Voigt, but has better handling of asymmetry, which is treated in terms of axial divergence. The function is a convolution of pseudo-Voigt with the intersection of the diffraction cone and a finite receiving slit length using two geometrical parameters, S / L {\displaystyle S/L} , and H / L {\displaystyle H/L} , where S {\displaystyle S} and H {\displaystyle H} are the sample and the detector slit dimensions in the direction parallel to the goniometer axis, and L {\displaystyle L} is the goniometer radius.8
The shape of a powder diffraction reflection is influenced by the characteristics of the beam, the experimental arrangement, and the sample size and shape. In the case of monochromatic neutron sources the convolution of the various effects has been found to result in a reflex almost exactly Gaussian in shape. If this distribution is assumed then the contribution of a given reflection to the profile y i {\displaystyle y_{i}} at position 2 θ i {\displaystyle 2\theta _{i}} is:
where H k {\displaystyle H_{k}} is the full width at half peak height (full-width half-maximum), 2 θ k {\displaystyle 2\theta _{k}} is the center of the reflex, and I k {\displaystyle I_{k}} is the calculated intensity of the reflex (determined from the structure factor, the Lorentz factor, and multiplicity of the reflection).
At very low diffraction angles the reflections may acquire an asymmetry due to the vertical divergence of the beam. Rietveld used a semi-empirical correction factor, A s {\displaystyle A_{s}} to account for this asymmetry:
where P {\displaystyle P} is the asymmetry factor and s {\displaystyle s} is + 1 {\displaystyle +1} , 0 {\displaystyle 0} , or − 1 {\displaystyle -1} depending on the difference 2 θ i − 2 θ k {\displaystyle 2\theta _{i}-2\theta _{k}} being positive, zero, or negative respectively.
At a given position more than one diffraction peak may contribute to the profile. The intensity is simply the sum of all reflections contributing at the point 2 θ i {\displaystyle 2\theta _{i}} .
For a Bragg peak ( h k l ) {\displaystyle (hkl)} , the observed integrated intensity, I h k l {\displaystyle I_{hkl}} , as determined from numerical integration is
where j {\displaystyle j} is the total number of data points in the range of the Bragg peak. The integrated intensity depends on multiple factors, and can be expressed as the following product:
The width of the diffraction peaks are found to broaden at higher Bragg angles. This angular dependency was originally represented by
where U {\displaystyle U} , V {\displaystyle V} , and W {\displaystyle W} are the half-width parameters and may be refined during the fit.
In powder samples there is a tendency for plate- or rod-like crystallites to align themselves along the axis of a cylindrical sample holder. In solid polycrystalline samples the production of the material may result in greater volume fraction of certain crystal orientations (commonly referred to as texture). In such cases the reflex intensities will vary from that predicted for a completely random distribution. Rietveld allowed for moderate cases of the former by introducing a correction factor:
where I obs {\displaystyle I_{\text{obs}}} is the intensity expected for a random sample, G {\displaystyle G} is the preferred orientation parameter and α {\displaystyle \alpha } is the acute angle between the scattering vector and the normal of the crystallites.
The principle of the Rietveld method is to minimize a function M {\displaystyle M} which analyzes the difference between a calculated profile y calc {\displaystyle y^{\text{calc}}} and the observed data y obs {\displaystyle y^{\text{obs}}} . Rietveld defined such an equation as:
where W i {\displaystyle W_{i}} is the statistical weight and c {\displaystyle c} is an overall scale factor such that y calc = c y obs {\displaystyle y^{\text{calc}}=cy^{\text{obs}}} .
The fitting method used in Rietveld refinement is the non-linear least squares approach. A detailed derivation of non-linear least squares fitting will not be given here. Further detail can be found in Chapter 6 of Pecharsky and Zavalij's text 12 . There are a few things to note however. First, non-linear least squares fitting has an iterative nature for which convergence may be difficult to achieve if the initial approximation is too far from correct, or when the minimized function is poorly defined. The latter occurs when correlated parameters are being refined at the same time, which may result in divergence and instability of the minimization. This iterative nature also means that convergence to a solution does not occur immediately for the method is not exact. Each iteration depends on the results of the last which dictate the new set of parameters used for refinement. Thus, multiple refinement iterations are required to eventually converge to a possible solution.
Using non-linear least squares minimization, the following system is solved:
where Y i calc {\displaystyle Y_{i}^{\text{calc}}} is the calculated intensity and Y i obs {\displaystyle Y_{i}^{\text{obs}}} is the observed intensity of a point i {\displaystyle i} in the powder pattern, k {\displaystyle k} , is a scale factor, and n {\displaystyle n} is the number of measured data points. The minimized function is given by:
where w i {\displaystyle w_{i}} is the weight, and k {\displaystyle k} from the previous equation is unity (since k {\displaystyle k} is usually absorbed in the phase scale factor). The summation extends to all n {\displaystyle n} data points. Considering the peak shape functions and accounting for the overlapping of Bragg peaks because of the one-dimensionality of XRD data, the expanded form of the above equation for the case of a single phase measured with a single wavelength becomes:
For a material that contains several phases ( p {\displaystyle p} ), the contribution from each is accounted for by modifying the above equation as follows:
It can easily be seen from the above equations that experimentally minimizing the background, which holds no useful structural information, is paramount for a successful profile fitting. For a low background, the functions are defined by contributions from the integrated intensities and peak shape parameters. But with a high background, the function being minimized depends on the adequacy of the background and not integrated intensities or peak shapes. Thus, a structure refinement cannot adequately yield structural information in the presence of a large background.
It is also worth noting the increased complexity brought forth by the presence of multiple phases. Each additional phase adds to the fitting, more Bragg peaks, and another scale factor tied to corresponding structural parameters, and peak shape. Mathematically they are easily accounted for, but practically, due to the finite accuracy and limited resolution of experimental data, each new phase can lower the quality and stability of the refinement. It is advantageous to use single phase materials when interested in finding precise structural parameters of a material. However, since the scale factors of each phase are determined independently, Rietveld refinement of multi phase materials can quantitatively examine the mixing ratio of each phase in the material.
Generally, the background is calculated as a Chebyshev polynomial. In GSAS and GSAS-II they appear as follows. Again, background is treated as a Chebyshev polynomial of the first kind ("Handbook of Mathematical Functions", M. Abramowitz and IA. Stegun, Ch. 22), with intensity given by:
where T j − 1 ′ {\displaystyle T'_{j-1}} are the coefficients of the Chebyshev polynomial taken from Table 22.3, pg. 795 of the Handbook. The coefficients have the form:
and the values for C m {\displaystyle C_{m}} are found in the Handbook. The angular range ( 2 θ {\displaystyle 2\theta } ) is converted to X {\displaystyle X} to make the Chebyshev polynomial orthogonal by
And, the orthogonal range for this function is –1 to +1.
Sample displacement: sample transparency and zero-shift corrections
Different correction factors have been developed to account for the specimen-detector displacement in Debye-Scherrer 9 (transmission) and Bragg-Brentano10 (reflection) geometries. Correction factors have been published for flat tilted and non-tilted 2D detectors as well.1112
Traditional X-ray diffraction experiments place the detector normal to the incident X-ray beam, centering the detector on the beam or placing the incident beam at the bottom edge of the detector. In these experiments, a unique configuration is taken by aligning the detector such that the incident X-rays are still hitting the bottom-most edge of the detector. However, tilting the detector forward such that the topmost edge of it is directly above the sample provides a number of benefits such as higher quality and better resolved radial distribution functions than in typical traditional geometries, improved dynamic range, increased reciprocal space resolution per pixel for low angle scattering and access to higher reciprocal space values at lower energies.13 Tilting the detector does not have much impact when carrying out SAXS experiments, however it has a huge impact on WAXS measurements in large-scale facilities (synchrotrons).
The appropriate function for the correction of 2 θ c {\displaystyle 2\theta _{c}} peak positions due to sample displacement depends upon the geometry of the instrument. Guzmán’s equation14 provides the correction with flat detectors generalized to non-conventional geometries in both reflection and transmission modes:
2 θ c = 2 θ u + arctan ( Δ sin ( 4 θ u ) [ 1 + tan ( 2 θ u ) tan ( ϕ ) ] 2 [ D u − Δ cos 2 ( 2 θ u ) ( 1 + tan ( 2 θ u ) tan ( ϕ ) ) ] ) {\displaystyle 2{\theta }_{\rm {c}}=2{\theta }_{\rm {u}}+\arctan \left({\frac {\varDelta \,\sin(4{\theta }_{u})[1+\,\tan(2{\theta }_{u})\tan(\phi )]}{2[{D}_{\rm {u}}-{\varDelta \cos }^{2}(2{\theta }_{\rm {u}})(1+\,\tan(2{\theta }_{\rm {u}})\tan(\phi ))]}}\right)}
where ϕ {\displaystyle \phi } corresponds to the tilt (angle) of the detector, 2 θ c {\displaystyle 2\theta _{c}} and 2 θ u {\displaystyle 2\theta _{u}} are the corrected and uncorrected values of the diffraction angles, respectively, D u {\displaystyle D_{u}} is the uncorrected sample-to-detector distance, Δ {\displaystyle \Delta } is the correction for the sample-to-detector distance (corrected sample-to-detector distance D c = D u − Δ {\displaystyle D_{c}=D_{u}-\Delta } ).
Now, given the considerations of background, peak shape functions, integrated intensity, and non-linear least squares minimization, the parameters used in the Rietveld refinement which put these things together can be introduced. Below are the groups of independent least squares parameters generally refined in a Rietveld refinement.
Each Rietveld refinement is unique and there is no prescribed sequence of parameters to include in a refinement. It is up to the user to determine and find the best sequence of parameters for refinement. It is worth noting that it is rarely possible to refine all relevant variables simultaneously from the beginning of a refinement, nor near the end since the least squares fitting will be destabilized or lead to a false minimum. It is important for the user to determine a stopping point for a given refinement. Given the complexity of Rietveld refinement it is important to have a clear grasp of the system being studied (sample, and instrumentation) to ensure that results are accurate, realistic, and meaningful. High data quality, a large enough 2 θ {\displaystyle 2\theta } range, and a good model – to serve as the initial approximation in the least squares fitting – are necessary for a successful, reliable, and meaningful Rietveld refinement.
Since refinement depends on finding the best fit between a calculated and experimental pattern, it is important to have a numerical figure of merit quantifying the quality of the fit. Below are the figures of merit generally used to characterize the quality of a refinement. They provide insight to how well the model fits the observed data.
Profile residual (reliability factor):
Weighted profile residual:
Bragg residual:
Expected profile residual:
Goodness of fit:
It is worth mentioning that all but one ( R B {\displaystyle R_{B}} ) figure of merit include a contribution from the background. There are some concerns about the reliability of these figures, as well there is no threshold or accepted value which dictates what represents a good fit.15 The most popular and conventional figure of merit used is the goodness of fit which should approach unity given a perfect fit, though this is rarely the case. In practice, the best way to assess quality is a visual analysis of the fit by plotting the difference between the observed and calculated data plotted on the same scale.
Hewat, A.; David, W. I. F.; Eijck, L. van (1 August 2016). "Hugo Rietveld (1932–2016)". Journal of Applied Crystallography. 49 (4): 1394–1395. doi:10.1107/S1600576716012061. ISSN 1600-5767. https://doi.org/10.1107%2FS1600576716012061 ↩
Rietveld, H. M. (2 June 1969). "A profile refinement method for nuclear and magnetic structures". Journal of Applied Crystallography. 2 (2): 65–71. Bibcode:1969JApCr...2...65R. doi:10.1107/S0021889869006558. ISSN 0021-8898. https://doi.org/10.1107%2FS0021889869006558 ↩
Pecharsky and Zavalij chapters 2, 6 and 7 ↩
Longo, Elson; La Porta, Felipe de Almeida, eds. (2017). Recent Advances in Complex Functional Materials. doi:10.1007/978-3-319-53898-3. ISBN 978-3-319-53897-6. S2CID 136368632. 978-3-319-53897-6 ↩
Pecharsky, Vitalij K.. (24 November 2008). Fundamentals of Powder Diffraction and Structural Characterization of Materials. Springer. ISBN 9780387095790. OCLC 690510145. 9780387095790 ↩
Caglioti, G.; Paoletti, A.; Ricci, F. P. (1 July 1958). "Choice of collimators for a crystal spectrometer for neutron diffraction". Nuclear Instruments. 3 (4): 223–228. Bibcode:1958NucIn...3..223C. doi:10.1016/0369-643X(58)90029-X. ISSN 0369-643X. /wiki/Bibcode_(identifier) ↩
Finger, L. W.; Cox, D. E.; Jephcoat, A. P. (20 April 1994). "A correction for powder diffraction peak asymmetry due to axial divergence". Journal of Applied Crystallography. 27 (6): 892–900. Bibcode:1994JApCr..27..892F. doi:10.1107/S0021889894004218. ISSN 0021-8898. /wiki/Bibcode_(identifier) ↩
Gozzo, Fabia; Cervellino, A.; Leoni, Matteo; Scardi, Paolo; Bergamaschi, A.; Schmitt, B. (December 2010). "Instrumental profile of MYTHEN detector in Debye-Scherrer geometry". Zeitschrift für Kristallographie. 225 (12): 616–624. doi:10.1524/zkri.2010.1345. ISSN 0044-2968. https://www.degruyterbrill.com/document/doi/10.1524/zkri.2010.1345/html ↩
McCusker, L. B.; Von Dreele, R. B.; Cox, D. E.; Louër, D.; Scardi, P. (1 February 1999). "Rietveld refinement guidelines". Journal of Applied Crystallography. 32 (1): 36–50. doi:10.1107/S0021889898009856. ISSN 0021-8898. https://journals.iucr.org/j/issues/1999/01/00/gl0561/index.html ↩
Hulbert, B. S.; Kriven, W. M. (1 February 2023). "Specimen-displacement correction for powder X-ray diffraction in Debye–Scherrer geometry with a flat area detector". Journal of Applied Crystallography. 56 (1): 160–166. doi:10.1107/S1600576722011360. ISSN 1600-5767. PMC 9901925. PMID 36777137. https://journals.iucr.org/j/issues/2023/01/00/vb5047/index.html ↩
Amano, Tatsuya; Babich, Danylo; Mandal, Ritwika; Guzman-Brambila, Julio; Volte, Alix; Trzop, Elzbieta; Servol, Marina; Pastor, Ernest; Alashoor, Maryam; Larsson, Jörgen; Jurgilaitis, Andrius; Pham, Van-Thai; Kroon, David; Ekström, John Carl; Ahn, Byungnam (November 2024). "Propagation of insulator-to-metal transition driven by photoinduced strain waves in a Mott material". Nature Physics. 20 (11): 1778–1785. doi:10.1038/s41567-024-02628-4. ISSN 1745-2481. https://www.nature.com/articles/s41567-024-02628-4 ↩
Burns, Nicholas (May 2022). Two-Dimensional X-ray Diffraction Correction Factors and Analysis: A Starting Point for Quantitative Investigation of High-Density Crosslinked Polyethylene (Thesis). University of Guelph. https://atrium.lib.uoguelph.ca/items/d23dd79e-44e3-4b94-883b-de4557e0b7fa ↩
Toby, Brian H. (March 2006). "R factors in Rietveld analysis: How good is good enough?". Powder Diffraction. 21 (1): 67. Bibcode:2006PDiff..21...67T. doi:10.1154/1.2179804. /wiki/Bibcode_(identifier) ↩