X-Ray Diffraction (XRD) for Metallurgical Analysis: Principles and Applications
X-ray diffraction is the primary bulk technique for identifying and quantifying crystalline phases, measuring residual stress, and characterizing microstructural parameters such as crystallite size and texture in metals and alloys. This guide develops the Bragg diffraction principle underlying the technique and its major metallurgical applications, from retained austenite quantification to sin-squared-psi residual stress measurement, positioning XRD alongside the imaging and atomic-scale techniques covered elsewhere on MetallurgyZone.
Key Takeaways
- XRD identifies crystalline phases from the unique pattern of diffraction peak positions and intensities each produces, governed by Bragg’s law, n*lambda = 2*d*sin(theta).
- Rietveld whole-pattern refinement enables accurate quantitative phase analysis in multi-phase steels and alloys, including cases where simple peak-ratio methods fail due to overlapping reflections.
- ASTM E975 provides a standardless XRD method for quantifying retained austenite in heat-treated steel, valid down to about 1 volume percent, based on integrated peak intensities and theoretical weighting factors.
- The sin-squared-psi method converts the angular shift of a diffraction peak with sample tilt into a quantitative near-surface residual stress value, sampling only the shallow depth penetrated by the X-ray beam.
- Diffraction peak broadening encodes both crystallite size and lattice microstrain; the Scherrer equation isolates size alone under a no-strain assumption, while the Williamson-Hall method separates the two contributions using their different angular dependence.
- XRD is a bulk, statistically averaged technique and is complementary to, not a replacement for, direct-imaging methods such as SEM and atom-scale techniques such as atom probe tomography.
The Bragg Diffraction Principle
X-ray diffraction exploits the constructive interference of X-rays elastically scattered by the periodic array of atoms in a crystalline lattice. When X-rays of wavelength lambda strike a set of parallel lattice planes separated by spacing d at incidence angle theta, rays reflected from successive planes travel different path lengths. Constructive interference, producing a measurable diffraction peak, occurs only when this path length difference equals a whole number of wavelengths, the condition expressed by Bragg’s law.
Bragg's Law: n * lambda = 2 * d * sin(theta) where: n = order of reflection (integer) lambda = X-ray wavelength (commonly Cu K-alpha, 1.5406 Angstrom) d = interplanar spacing of the diffracting (hkl) plane theta = angle of incidence (and diffraction) measured from the plane
Because each crystalline phase has a characteristic set of lattice plane spacings determined by its crystal structure and lattice parameter, each phase produces a unique pattern of diffraction peak positions, a principle used directly for phase identification and connected to the crystal structure fundamentals in our iron-carbon phase diagram guide.
Phase Identification and Quantitative Phase Analysis
Search-Match Identification
Routine phase identification compares the measured diffraction pattern, a plot of intensity against diffraction angle 2-theta, against reference patterns held in databases such as the ICDD Powder Diffraction File, matching peak positions and relative intensities to identify the crystalline phases present in an unknown sample.
Rietveld Refinement
For quantitative phase analysis in multi-phase metallurgical samples, particularly where reflections from different phases overlap, whole-pattern Rietveld refinement is the preferred method. Rather than measuring individual peak areas, Rietveld refinement calculates a complete theoretical diffraction pattern for each candidate phase from its known crystal structure and iteratively adjusts structural, microstructural, and instrumental parameters until the calculated pattern converges with the measured data. This approach simultaneously yields phase fractions, refined lattice parameters, crystallite size, and microstrain from a single measurement, and is the basis for the retained austenite and phase-fraction analysis routinely applied in heat-treated steel development, connecting to the transformation behaviour covered in our martensite formation guide.
Retained Austenite Quantification (ASTM E975)
ASTM E975 provides a standardless XRD method for quantifying retained austenite in steel with near-random crystallographic orientation, applicable to heat-treated low-alloy, medium- to high-carbon steels where retained austenite is a common and mechanically significant constituent. The method calculates austenite volume fraction directly from the integrated intensities of selected non-overlapping ferrite/martensite and austenite diffraction peaks, combined with theoretical structure-factor weighting terms, without requiring an internal or external calibration standard.
ASTM E975 direct comparison method (simplified concept):
V_austenite = I_austenite / (R_austenite)
------------------------------------------------
[I_austenite / R_austenite] + [I_ferrite / R_ferrite]
where I = integrated peak intensity (measured)
R = theoretical intensity factor (from structure, multiplicity,
Lorentz-polarization, and temperature factors for each hkl)
Method is standardless (no calibration sample required), valid for
retained austenite content down to approximately 1 volume percent.
The method requires correction when significant carbide content is present, since carbide reflections can interfere with the selected austenite and ferrite peaks, and its accuracy depends on the near-random crystallographic orientation assumption; strongly textured samples, common in heavily cold-worked or directionally solidified material, require additional correction or a texture-aware analysis approach, a consideration linked to the anisotropy concepts in our crystallographic texture guide.
Residual Stress Measurement: The Sin-Squared-Psi Method
XRD residual stress measurement relies on the fact that elastic strain in the crystal lattice, caused by residual (or applied) stress, produces a measurable shift in diffraction peak position relative to the strain-free d-spacing. The sin-squared-psi (sin²ψ) method measures this peak shift for a chosen lattice plane across a series of sample tilt angles, psi, relative to the diffraction plane normal.
Sin-squared-psi method (biaxial stress state, isotropic material): d(phi,psi) = d0 * [1 + ((1+nu)/E) * sigma_phi * sin^2(psi)] - (nu/E)*d0*(sigma_1+sigma_2) Simplified working relation: sigma_phi = (E / (1+nu)) * (1/d0) * (d(d)/d(sin^2 psi)) where: d0 = strain-free interplanar spacing E, nu = X-ray elastic constants (may differ slightly from bulk values) sigma_phi = residual stress in direction phi at the sample surface
A linear relationship between measured d-spacing and sin²ψ is expected for an isotropic, homogeneous stress state; the slope of this line, combined with the material’s X-ray elastic constants, converts directly into a stress value. Because the technique relies on a diffracted beam that has travelled through and back out of the material, it samples only a shallow near-surface volume, typically a few to a few tens of microns deep depending on the X-ray source and material absorption, making it well suited to characterizing shot-peened, ground, or welded surface layers, and complementary to the destructive hole-drilling and layer-removal techniques used for deeper residual stress profiles.
Applications of XRD Residual Stress Measurement
- Verifying compressive residual stress depth and magnitude after shot peening or laser peening of fatigue-critical components.
- Assessing weld residual stress fields adjacent to the fusion line and HAZ, relevant to the reheat and lamellar cracking mechanisms discussed elsewhere on this site.
- Quality control of grinding processes, where excessive tensile residual stress (“grinding burn”) can significantly reduce fatigue life.
- Evaluating case-hardened or nitrided component surface stress states as part of heat treatment process validation.
Crystallite Size and Microstrain Analysis
Diffraction peaks are not infinitely sharp; their width and shape encode information about crystallite (coherently diffracting domain) size and lattice microstrain, local variation in d-spacing caused by dislocations and other lattice defects. Peaks broaden as crystallite size decreases below roughly 100-200 nanometres and as microstrain increases.
Scherrer equation (crystallite size, assumes negligible strain broadening): D = (K * lambda) / (beta * cos(theta)) where: D = mean crystallite size K = shape factor (commonly ~0.89-0.94) lambda = X-ray wavelength beta = peak breadth (FWHM, instrument-corrected), in radians theta = Bragg angle Williamson-Hall method (separates size and strain broadening): beta_hkl * cos(theta) = (K*lambda / D) + 4*epsilon*sin(theta) Plotting beta*cos(theta) against sin(theta) across multiple reflections yields crystallite size D from the intercept and microstrain epsilon from the slope.
The Scherrer equation alone is adequate for a first-order size estimate when strain broadening is genuinely negligible, but the Williamson-Hall method, which uses multiple reflections and exploits the different angular dependence of size and strain broadening, is preferred where both effects are expected to contribute, such as in heavily cold-worked or nanocrystalline metallurgical samples, connecting to the strengthening mechanisms discussed in our strain hardening and cold working guide.
Texture Analysis
Because rolled, drawn, or otherwise deformed metals commonly develop preferred crystallographic orientation (texture), XRD pole figure measurement, which records diffracted intensity for a chosen reflection as a function of sample orientation, provides a direct, quantitative map of the degree and character of texture present. Texture measurement is significant both because it can bias other XRD quantitative analyses, including the retained austenite method above, if not properly accounted for, and because texture itself governs directional variation in yield strength, formability, and magnetic properties in sheet products, a topic developed further in our crystallographic texture guide.
XRD Compared with SEM and Atom Probe Tomography
| Technique | Information Provided | Length Scale | Sample Volume |
|---|---|---|---|
| XRD | Phase identification and quantification, texture, residual stress, crystallite size/microstrain | Angstrom (lattice) to bulk statistical average | Bulk (mm to cm scale, statistically averaged) |
| SEM | Direct real-space imaging of microstructural morphology, with EDS for local chemistry | ~1 nm to mm | Surface and near-surface, point-by-point |
| Atom Probe Tomography | Three-dimensional, atom-by-atom chemical mapping | Sub-nanometre | Needle-shaped specimen, tens of nanometres wide |
These three techniques are complementary rather than competing. XRD provides statistically representative, quantitative bulk-phase and stress information rapidly and non-destructively, but cannot directly image individual grains, precipitates, or interfaces. A complete metallurgical characterization programme, particularly for advanced alloy development, typically draws on all three: XRD to establish bulk phase fractions and stress state, SEM to visualize and correlate microstructural morphology, and atom probe tomography to resolve fine-scale segregation or precipitate chemistry that neither bulk nor imaging techniques alone can capture. Related SEM-based characterization is developed in our metallographic sample preparation guide.
Sample Preparation Considerations
Avoiding a Biased Result
Conventional metallographic grinding and polishing introduces a mechanically deformed near-surface layer that can both mask the true bulk crystallographic texture and introduce spurious apparent residual stress unrelated to the material’s actual service-relevant stress state. For quantitative retained austenite and residual stress measurement in particular, careful electropolishing or chemical etching to remove this deformed layer is essential; skipping this step is one of the most common sources of misleading XRD results in metallurgical laboratories.
Industrial Significance
XRD is a routine, high-value quality control and research tool across steelmaking, heat treatment, surface engineering, and failure analysis, providing rapid, quantitative answers to questions that optical and electron microscopy alone cannot resolve, particularly retained austenite content, residual stress state, and precise phase identification in complex multi-phase alloys. Its non-destructive nature and standardized methods, including ASTM E975 and the sin-squared-psi residual stress technique, make it a common companion to hardness testing, metallography, and the more spatially resolved SEM and atom probe methods across both production quality control and advanced materials research settings.
Frequently Asked Questions
What is X-ray diffraction and how does it work?
What is Bragg’s law and why is it central to XRD?
How does XRD quantify retained austenite in steel?
How does XRD measure residual stress?
What is Rietveld refinement and why is it used in metallurgical XRD?
How does XRD determine crystallite size and microstrain?
How is XRD different from SEM and atom probe tomography for metallurgical analysis?
What sample preparation is required for metallurgical XRD?
Recommended Reference Reading
Elements of X-Ray Diffraction (Cullity & Stock)
The standard foundational reference on XRD theory, technique, and application to metals.
View on AmazonResidual Stress Measurement by X-Ray Diffraction (SAE)
Applied reference for the sin-squared-psi method and X-ray elastic constants.
View on AmazonASM Handbook Vol. 10: Materials Characterization
Comprehensive reference covering XRD alongside SEM, TEM, and atom probe techniques.
View on AmazonIntroduction to Rietveld Refinement
Practical guide to whole-pattern fitting and quantitative phase analysis methodology.
View on AmazonDisclosure: MetallurgyZone participates in the Amazon Associates programme. If you purchase through these links, we may earn a small commission at no extra cost to you. This helps support free technical content on this site.