Login processing...

Trial ends in Request Full Access Tell Your Colleague About Jove

Materials Engineering

X-ray Diffraction


Source: Faisal Alamgir, School of Materials Science and Engineering, Georgia Institute of Technology, Atlanta, GA

X-ray diffraction (XRD) is a technique used in materials science for determining the atomic and molecular structure of a material. This is done by irradiating a sample of the material with incident X-rays and then measuring the intensities and scattering angles of the X-rays that are scattered by the material. The intensity of the scattered X-rays are plotted as a function of the scattering angle, and the structure of the material is determined from the analysis of the location, in angle, and the intensities of scattered intensity peaks. Beyond being able to measure the average positions of the atoms in the crystal, information on how the actual structure deviates from the ideal one, resulting for example from internal stress or from defects, can be determined.

The diffraction of the X-rays, that is central to the XRD method, is a subset of the general X-ray scattering phenomena. XRD, which is generally used to mean can wide-angle X-ray diffraction (WAXD), falls under several methods that use the elastically scattered X-ray waves. Other elastic scattering based X-ray techniques include small angle X-ray scattering (SAXS), where the X-rays are incident on the sample over the small angular range of 0.1-100 typically). SAXS measures structural correlations of the scale of several nanometers or larger (such as crystal superstructures), and X-ray reflectivity that measures the thickness, roughness, and density of thin films. WAXD covers an angular range beyond 100.


Relationship between diffracted peak positions and crystal structure:

When light waves of sufficiently small wavelength are incident upon a crystal lattice, they diffract from the lattice points. At certain angles of incidence, the diffracted parallel waves constructively interfere and create detectable peaks in intensity. W.H. Bragg identified the relationship illustrated in Figure 1 and derived a corresponding equation:

nλ = 2dhkl sin θ [1]

Here λ is the wavelength of the X-rays used, dhkl is the spacing between a particular set of planes with (hkl) Miller indices*, and θ is the angle of incidence at which a diffraction peak is measured. Finally, n is an integer that represents the 'harmonic order' of the diffraction. At n=1, for example, we have the first harmonic, meaning that the path of X-rays diffracted through the crystal (equivalent to 2dhkl sin ) is exactly 1λ, while at n=2, the diffracted path is 2λ. We can typically assume n=1, and, in general, n=1 for θ < sin-1(2λ/dh'k'l'), where h'k'l' are the Miller indices of the planes that show the first peak (at the lowest 2θ value) in a diffraction experiment. Miller indices are a set of three integers that constitute a notation system for identifying directions and planes within crystals. For directions, the [h k l] Miller indices represent the normalized difference in the respective x, y and z coordinates (in a Cartesian coordinate system) of two points along the direction. For planes, the Miller indices (h k l) of a plane are simply the h k l values of the direction perpendicular to the plane.

In a typical XRD experiment in reflection mode, the X-ray source is fixed in position and the sample is rotated with respect to the X-ray beam over θ. A detector picks up the diffracted beam and has to keep up with the sample rotation by rotating at twice the rate (i.e. for a given sample angle of θ, the detector angle is 2θ). The geometry of the experiment is schematically shown in Figure 1.

Figure 1
Figure 1: Illustration of Bragg's Law.

When a peak in intensity is observed, equation 1 is necessarily satisfied. Consequently, we can calculate d-spacings based on the angles at which these peaks are observed. By calculating the d-spacings of multiple peaks, the crystal class and the crystal structure parameters material sample can be identified using a database such as the Hanawalt Search Manual or database libraries available with the XRD software being used.

We will be assuming that the sample being investigated is not a single crystal. If the sample were a single crystal with a particular (h*k*l*) plane parallel to the sample surface, it would need to be rotated until the Bragg condition for the (h*k*l*) is satisfied in order to see a peak in diffracted intensity (for n=1) with potentially higher harmonic (h*k*l*) peaks (e.g. for n=2) also detectable at higher angles. At all other angles there would be no peaks in a single crystal sample. Instead, let's assume that the sample is either polycrystalline or that it is a powder, with a statistically significant number of crystalline grains or powder particles illuminated by the incident X-ray beam. Under this assumption, the sample consists of randomly oriented grains, with a similar statistical probability for all possible lattice planes to diffract.

The relationships between the dhkl and the unit cell parameters are shown below in Equations 2-7 for the 7 crystal classes, cubic, tetragonal, hexagonal, rhombohedral, orthorhombic, monoclinic and triclinic. The unit cell parameters consist of lengths of (a,b,c) and the angles between (α, β, γ) the edges of the unit cells for the 7 crystal classes (Figure 1x shows the example of one of the crystal classes: the tetragonal structure where a=b≠c, and α=β=γ=900). Using multiple diffracted peak positions (i.e. several distinct dhkl values), the values of the unit cell parameters can be solved uniquely.

Figure 2
Figure 2: The tetragonal structure as one of the seven crystal classes.

Cubic (a = b = c; α = β = γ = 900):

Equation 1  [2]

Tetragonal (a = b ≠ c; α = β = γ = 900):

Equation 2  [3]

Hexagonal (a = b ≠ c; α = β = 900; γ = 1200):

Equation 3  [4]

Orthorhombic (a ≠ b ≠ c; α = β = γ = 900):

Equation 4  [5]

Rhombohedral (a = b ≠ c; α = β = γ = 900):

Equation 5  [6]

Monoclinic (a ≠ b ≠ c; α = γ = 900 ≠ β):

Equation 6  [7]

Triclinic (a ≠ b ≠ c; α ≠ β ≠ γ ≠ 900): 

      Equation 7  [8] 

Relationship between diffracted peak intensities and crystal structure:

Next we examine the factors that contribute to the intensity in an XRD pattern. The factors can be broken down as 1) the contribution to scattering that results directly from the unique structural aspects of the material (the specific types and locations of scattering atoms in the structure) and 2) those that are not specific to the material. In the former, there are two factors: the 'absorption factor' and the 'structure factor'. The absorption factor primarily depends on the ability of the material to absorb X-rays on their way in and out. This factor does not have a θ dependence as long as the samples are not thin (the sample should be > 3 times thicker than the attenuation length of the X-rays). In other words, the contribution by the absorption factor to the intensity of different peaks is constant. The 'structure factor' directly affects the intensity of specific peaks as a direct result of the structure. The remaining factors, the 'multiplicity', which accounts for all the planes that belong to the same family because they are symmetrically related, and the 'Lorentz-Polarization' factor, which comes from the geometry of the XRD experiment, also affect the relative intensity of the peaks but they are not specific to a material and can easily be accounted for with analytical expressions (i.e. XRD analysis software can remove them with analytical functions).

Figure 3
Figure 3: Three diffraction ray paths, of which rays 11' and 22' satisfy the Bragg condition, while ray 33' results from scattering by an atom (red circle) at an arbitrary position.

As the only factor that carries the unique structural contribution of a material to the relative intensities of XRD peaks, the structure factor is very important and requires a closer look. In Figure 2, let us assume that the 1st order Bragg diffraction condition (remember, that this corresponds to n=1) is satisfied between ray11' and ray22' which are scattered on two atomic planes in the h00 direction (using the Miller indices notation described earlier) separated by a distance d. Under this condition, the difference in path length between ray11' and ray22' is δ(22'-11') = SA + AR = λ. The phase shift between the diffracted rays 1 and 2 is, therefore, Φ22'-11' = (δ(22'-11')/λ) 2π = 2π (assuming a cubic symmetry and, therefore, d = a/h in the h00 direction].

With a few steps in analytical geometry, it can be shown that the phase shift, Φ(33'-11'), with ray 3 diffracted by an arbitrary plane of atoms that are spaced an arbitrary distance x, is given by: Φ(33'-11') = 2πhu, where u=x/a (a is the unit cell parameter in the (h00) direction.) Taking the two other orthogonal directions, (0k0) and (00l), and v=y/a and w=z/a as fractional coordinates in the y- and z-directions, the expression for the phase shift extends to Φ = 2π(hu+kv+lw). Now, the X-ray wave scattered by the j-th atom in a unit cell will have a scattering amplitude of fj and a phase of Φj, such that the function describing it is Equation 8. The structure factor we seek, therefore, is the sum of all the scattering functions due to all the unique atoms in a unit cell. This structure factor, F, is given as:

Equation 9  [9]

and the intensity factor contributed by the structure factor is I = F2.

Based on the positions (u,v,w) of atoms on particular planes (h,k,l), there is the possibility of interference between scattered waves that is constructive, destructive, or in-between, and this interference directly affects the amplitude of the XRD peaks representing the (hkl) planes.

Now, a plot of intensity, I, versus is what is measured in an XRD experiment. The determination of the of crystal type and the associated unit cell parameters (a, b, c, α, β, and γ) can be arrived at analytically by observing systematic presence/absence of peaks, using the equations 2-9, comparing values against databases, using deduction and a process of elimination. Nowadays, this is process is fairly automated by a variety of software linked to crystal structure databases.


The following procedure applies to a specific XRD instrument and its associated software, and there may be some variations when other instruments are used.

  1. We will examine a Ni powder sample on a Panalytical Alpha-1 XRD instrument.
  2. First, choose the mask to fix the beam size according to your sample diameter. The beam must not have a footprint larger than the sample at the smallest θ value (typically ~ 70-100). For a sample of width ε, the beam size should be < ε sinθ.
  3. Load the sample in the sample spinner stage and lock the sample into position. The sample spinner helps to spatially randomize the exposure of the sample to the X-ray source.
  4. Choose the angle range for your XRD scan. For example 15-90 degrees is a typical range.
  5. Choose a step size, i.e. the increment in , and integration (counting) time. Generally a 0.05 degree step size and 4 seconds integration is the default for a wide angle scan.
  6. Once all the peak positions are determined through this initial scan, subsequent scans can focus on a narrower scan range around specific peaks using a smaller step size in angle if higher resolution data from those peaks are desired.

X-Ray diffraction is a technique used to determine the atomic and molecular structure of materials. Solids have a crystalline structure, which corresponds to a microscopic arrangement of atoms that is repeated periodically. By staking planes, a 3-D structure of specific symmetry can be formed.

These structural arrangements result in a specific packing geometry that dictates the physical and chemical properties of the material. Such as magnetization, thermal conductivity, or malleability. Reflecting x-rays off of materials can reveal the inner details of their structure.

This video will illustrate the general principles of x-ray diffraction on a material and how this phenomenon is used in the laboratory to determine the structure and chemical composition of materials.

To begin, let's have a closer look at a crystal. It is formed of atomic lattices disposed in planes periodically separated by a distance dhkl of a few angstroms. H, k, l are Miller indices, a set of three integers the constitute a notation system for identifying directions and planes within crystals. The smallest repeating structure in a crystal is called the unit cell. Different angles, alpha, beta, gamma, and lengths a, b, c, of a unit cell forming the lattice will give rise to different symmetries. There are seven crystal systems. Cubic, tetragonal, orthorhombic, rhombohedral, monoclinic, triclinic, and hexagonal.

The relationship between the unit cell parameters and the Miller indices can be calculated for each crystal class. Electromagnetic of wavelength lambda can have similar dimensions with the differences between planes within the crystal's lattice. These correspond to wavelengths in the x-ray spectral range. When x-ray light waves irradiate a crystal at an incident angle theta, they propagate through the crystal and encounter lattice points from which they defract. Bragg's Law relates these parameters where n is an integer that represents the harmonic order of the diffraction. For a given lambda, only specific angles theta give rise to diffraction. This is the unique signature of a crystalline structure.

In an experiment, the sample is rotated and the detector that collects the scattered x-rays records peaks in intensity when reaching these characteristic angles. One can then extract the lattice spacing DHKL for each angle satisfying the Bragg's Law. Using multiple diffracted peak positions corresponding to several distinct DHKL values, the parameters of the unit cell can be solved uniquely.

Two main factors contribute to the relative intensity of the peaks. First, there are the non-structural contributions, which include the ability of the material to absorb x-ray light, and the geometry of the XRD experiment. These can be taken into account in the post-processing of the experimental data. Second, and most importantly, the structural contribution of the material is carried to the relative intensities of XRD. Each diffraction peak is in fact the sum of all the scattered amplitudes from multiple ray paths diffracted by all the unique atoms in a unit cell. If scattered lights are in phase, there is constructed interference. While if they are out of phase, there is destructed interference. These interferences directly affect the amplitude of the XRD peaks, representing the HKL planes of the crystal.

We will now see how these principles apply in an actual x-ray diffraction experiment.

Before starting, carefully inspect the XRD instrument and assess its status and safety. XRD users must be trained in basic radiation safety before having access to the instrument. Then proceed with sample preparation. In this experiment, we use a nickel powder sample in the form of a pressed pellet.

It is important that the sample is not thin and it should be at least three times thicker than the attenuation length of the x-rays. Note that the following procedure applies to a specific XRD instrument and its associated software and there may be some variations when other instruments are used.

Load the sample in the sample spinner stage and lock the sample into position, making sure the irradiated side of the sample is parallel to the sample stage. Use a mask to adjust the x-ray beam size of the instrument according to the sample diameter. At the smallest incident angle, the beam must have a footprint smaller than the sample width.

Now it is time to choose the acquisition parameters. First, select the angle range for the XRD scan. Typically, the range goes from 15 to 90 degrees. Then, select the degree step size as well as the integration time at each angle scanned.

Next, proceed to the data acquisition. After the scan, a graph of the intensity as a function of the angle to theta is obtained. From this initial scan, select specific peaks and determine peak positions.

Repeat the acquisition and focus this time on a narrower scan range around specific peaks. Using a smaller step size in angle to obtain higher resolution data. Once the data acquisition is finished, data can be analyzed to identify the structure of the material.

Using the instrument software and database library, each peak of the spectrum is identified and associated to a specific symmetry of crystal arrangement. In this particular case of the nickel powder sample, the spectrum shows a first peak corresponding to a one one one symmetry.

The second peak is associated to a two zero zero symmetry and so on. Then the software determines that this specific combination of symmetries corresponds to a face centered cubic structure and it identifies that the sample is a nickel powder.

X-ray diffraction is a standard method for determining the presence or absence of crystallographic order in materials. It is often used to obtain a variety of other structural information regarding internal stress and defects in a crystal, or multiple crystallographic phases in composite materials. XRD technique is also used in biology to determine the structure and spatial orientation of biological macromolecules such as proteins and nucleic acids.

In particular, this is how the double helix structure of DNA has been discovered, leading to the Nobel Prize in Physiology or Medicine in 1962. The study of the geochemistry of minerals either for mining purposes or even for planetary exploration also makes use of XRD technique. Think of the Rover Curiosity on Mars that has amongst its ten scientific instruments an XRD detector to analyze the composition of the martian soil.

You've just watched Jove's introduction to x-ray diffraction. You should now understand the crystalline structure of a solid and the principles of x-ray diffraction. You should also know how the XRD technique is used in the laboratory to obtain the structure and chemical composition of materials.

Thanks for watching!


In Figure 4 we see the XRD peaks for the Ni powder sample. Note that the peaks that are observed (e.g. {111}, {200}) are for those that have either all even or all odd combinations of h, k, and l. Ni is face-centered cubic (FCC), and in all FCC structures, the peaks corresponding to {hkl} planes where h, k, and l are mixtures of even and odd integers, are absent due to the destructive interference of the scattered X-rays. Peaks corresponding to planes, such as {210} and {211} are missing. This phenomenon is called the systematic presence and absence rules, and they provide an analytical tool for assessing the crystal structure of the sample.

Figure 4
Figure 4: An XRD scan of Ni with a face-centered cubic structure is shown.

Applications and Summary

This is a demonstration of a standard XRD experiment. The material examined in this experiment was in a powder form, but XRD works equally well with solid piece of material as long as the sample has a flat surface that can be set parallel to the plane of the sample stage.

XRD is a fairly ubiquitous method for determining the presence (or absence) of crystallographic order in materials. Beyond the standard application of determining the crystal structure, XRD is often used to obtain a variety of other structural information such as:

  1. Whether or not the structure of a material is amorphous (characterized by a broad hump in the diffraction intensity and a lack of discernable crystallographic peaks),
  2. Whether the sample is a composite material consisting of multiple crystallographic phases and, if so, determine the fraction of each phase,
  3. Determining whether a material is an amorphous/crystalline composite
  4. Determining the grain/particle size of the material,
  5. Determining the degree of texture (preferred orientation of grains) in material.
X-ray Diffraction
Play Video

Cite this

JoVE Science Education Database. Materials Engineering. X-ray Diffraction. JoVE, Cambridge, MA, (2021).More

JoVE Science Education Database. Materials Engineering. X-ray Diffraction. JoVE, Cambridge, MA, (2021).

Copy Citation
View Video

Get cutting-edge science videos from JoVE sent straight to your inbox every month.

Waiting X
simple hit counter