X-ray diffraction (XRD) works by shining a beam of X-rays at a crystalline sample and measuring the angles and intensities of the scattered rays; the resulting pattern acts as a unique fingerprint because each crystal structure produces a characteristic set of diffraction peaks based on its atomic spacing and arrangement. This pattern emerges from constructive interference of X-rays reflected off parallel planes of atoms, governed by Bragg's law: nλ = 2d sinθ. By analyzing the peak positions and intensities, scientists can identify the material, determine its crystal structure, and even quantify different phases in a mixture.
Background: What Is Crystallinity and Why Does It Matter?
Crystals are solids where atoms are arranged in a repeating three-dimensional pattern, like a stack of identical bricks. This regularity is what allows XRD to work—if the atoms were randomly arranged (amorphous, like glass), the X-rays would scatter in all directions without producing sharp peaks. The repeating unit, called a unit cell, has dimensions on the order of a few angstroms (1 Å = 10⁻¹⁰ m), which is comparable to the wavelength of X-rays (typically 0.5–2.5 Å). That match is key: X-rays are the right size to "see" atomic spacing.
Most solid materials are either crystalline (metals, salts, minerals, many polymers) or partially crystalline. Even a seemingly uniform sample often contains multiple phases—for example, a pharmaceutical tablet may have the active ingredient in one crystal form and excipients in another. XRD can tell them apart because each phase has its own distinct diffraction pattern.
How X-ray Diffraction Works: The Physics Step by Step
- X-ray generation: A cathode ray tube or synchrotron produces X-rays by accelerating electrons and striking a metal target (commonly copper). The X-rays are filtered to produce a nearly monochromatic beam (single wavelength).
- Collimation and direction: The beam is directed onto the sample, which is usually a flat powder or a single crystal. For powder XRD, the sample contains millions of tiny crystallites oriented randomly.
- Interaction with atoms: When the X-ray photon hits an atom, it causes the electron cloud to oscillate, re-emitting X-rays in all directions (scattering). This is a coherent process—the scattered waves retain the same wavelength.
- Interference: Waves scattered from different atoms interfere. In most directions, they cancel out (destructive interference). But for certain angles, the path difference between waves from adjacent atomic planes equals an integer multiple of the wavelength, causing constructive interference—a strong reflected beam.
- Bragg's law: The condition for constructive interference is nλ = 2d sinθ, where n is an integer, λ is the wavelength, d is the spacing between atomic planes, and θ is the angle of incidence. The detector records the intensity of the diffracted beam as the angle θ is varied.
- Pattern generation: The output is a plot of intensity versus 2θ (the angle between the incident and diffracted beams). Each peak corresponds to a set of planes with a specific d-spacing.
The key insight is that every crystal structure has a unique set of d-spacings and atomic arrangements, so the peak positions and relative intensities form a distinctive "fingerprint." For example, table salt (NaCl) and quartz (SiO₂) produce completely different patterns, even if both are white powders.
Interpreting the Diffraction Pattern: Peaks, Positions, and Intensities
The diffraction pattern is not just a collection of lines—it encodes rich information:
- Peak positions (2θ) give the d-spacings via Bragg's law. These are determined by the size and shape of the unit cell.
- Peak intensities depend on the types of atoms and their positions within the unit cell. Heavier atoms scatter X-rays more strongly, so their presence affects relative peak heights.
- Peak width relates to crystallite size and strain. Smaller crystallites (below ~100 nm) cause peak broadening because the finite number of planes leads to less perfect interference.
- Peak shape can indicate defects, dislocations, or microstrain.
For identification, the most common approach is to compare the measured pattern against a reference database, such as the Powder Diffraction File (PDF) maintained by the International Centre for Diffraction Data (ICDD). Each entry lists the characteristic d-spacings and intensities for a known material. Modern software can automatically match peaks and suggest candidate phases.
How to Choose: Powder XRD vs. Single-Crystal XRD
There are two main types of XRD experiments, chosen based on the sample and the information needed:
- Powder XRD (polycrystalline): The sample is a fine powder or a polycrystalline solid. It is fast, requires minimal sample preparation, and is ideal for phase identification, quantitative analysis, and measuring crystallite size. It is the most common form used in industry and research.
- Single-crystal XRD: Requires a single crystal of sufficient size (typically 0.1–0.5 mm). It provides a complete three-dimensional electron density map, revealing the exact atomic positions, bond lengths, and angles. This is the gold standard for determining novel crystal structures, but it is time-consuming and requires a high-quality crystal.
If you just need to know what a material is, powder XRD is sufficient. If you need to determine a new structure or study detailed bonding, single-crystal XRD is necessary.
Common Problems and How to Avoid Them
- Preferred orientation: In powder samples, if crystallites are not randomly oriented (e.g., plate-like particles settling flat), some peaks become artificially intense. Mitigation: grind the sample finely, use a spinning sample holder, or prepare a side-loading mount.
- Sample fluorescence: Some elements (like iron or cobalt) absorb and re-emit X-rays at wavelengths that increase background noise. Mitigation: use a different X-ray wavelength (e.g., cobalt instead of copper) or a monochromator.
- Peak overlap: In mixtures, peaks from different phases can overlap, making identification difficult. Mitigation: use a slower scan, higher resolution, or Rietveld refinement to deconvolute.
- Amorphous content: Amorphous materials produce a broad hump rather than sharp peaks. This can be quantified but makes identification of crystalline phases in a mostly amorphous sample harder.
XRD vs. Other Analytical Techniques
XRD is often compared to other materials characterization methods:
- XRD vs. X-ray fluorescence (XRF): XRF tells you the elemental composition (what elements are present), while XRD tells you the crystal structure (how those elements are arranged). They are complementary—XRF gives the "ingredients," XRD gives the "recipe."
- XRD vs. electron microscopy (SEM/TEM): Microscopy shows morphology and local structure at high magnification, but it only samples a tiny area. XRD gives bulk average information over the entire sample.
- XRD vs. infrared spectroscopy (IR): IR probes molecular vibrations and functional groups, useful for organic compounds. XRD is better for inorganic crystalline materials and phase identification.
For a complete picture, researchers often combine XRD with elemental analysis and microscopy.
Safety and Practical Considerations
X-ray diffraction instruments use ionizing radiation, so safety is paramount. Modern benchtop XRD systems are heavily shielded and interlocked, but users must still follow protocols:
- Never bypass safety interlocks or open the instrument while the X-ray beam is on.
- Wear a personal dosimeter if required by your institution.
- Be aware of the X-ray beam path—it can cause burns or radiation damage.
- Sample preparation is generally safe, but some samples may be toxic or reactive; always check the material safety data sheet (MSDS).
In practice, XRD is considered a routine, safe analytical technique when used correctly. The main risks are from accidental exposure to the primary beam, not from the sample itself.
Frequently Asked Questions
What is the difference between XRD and X-ray crystallography?
X-ray crystallography is the broader field of using X-ray diffraction to determine the atomic structure of crystals. XRD is the experimental technique itself. Single-crystal X-ray crystallography is a specific application that yields full 3D structures, while powder XRD is used for phase identification and less detailed structural analysis.
Can XRD identify amorphous materials?
XRD cannot directly identify amorphous materials because they produce no sharp peaks—only a broad, diffuse halo. However, the halo's shape can sometimes hint at the material type, and XRD can quantify the amorphous fraction in a mixture by comparing the halo intensity to standards.
How much sample do I need for powder XRD?
Typically, a few milligrams to a few hundred milligrams are sufficient, depending on the instrument and the sample's X-ray absorption. For a standard flat-plate holder, you need enough to fill a shallow cavity (about 1–2 mm deep). Even less can be used with specialized holders, but the signal-to-noise ratio will decrease.
Why do some peaks appear stronger than others?
Peak intensity depends on the number of atoms in the unit cell that scatter in phase for that particular set of planes. Atoms with higher atomic numbers scatter more strongly. Also, the relative arrangement of atoms within the unit cell can cause some reflections to cancel (systematic absences) or enhance. Preferred orientation in the sample can also artificially boost certain peaks.
What is the typical accuracy of d-spacing measurements?
With careful calibration, d-spacings can be measured to an accuracy of about 0.01 Å or better. This is sufficient to distinguish between similar materials, such as different polymorphs of a drug or different clay minerals. Modern instruments and software can achieve even higher precision with internal standards.