X-Ray Diffractometer: Bragg's Law (3D)

Turn the crystal until the planes reflect the beam in phase; the counter arm follows the diffracted ray.

Switch to 2D

Mode

Crystal

Reflecting planes (hkl)

X-rays and sample

Goniometer

Camera

Layers

Quality

Reflections of this crystal

Click a row to select it.

Model check

The science

What is modelled

X-rays have wavelengths (about 0.5 to 2.5 angstrom) comparable to atomic spacings, so a crystal acts as a three-dimensional diffraction grating. Planes of atoms reflect the beam like mirrors, and the reflections from successive planes add up only at special angles. In the single-crystal mode you rotate the crystal (angle ω) and tilt it (χ) and the ray reflected by the chosen planes (hkl) leaves along the mirror direction; in powder mode millions of randomly oriented grains make a cone of diffracted rays for every allowed reflection (Debye-Scherrer rings).

Equations

  • Bragg's law: n λ = 2 d sinθ, with plane spacing for a cubic lattice d = a / √(h² + k² + l²). The glancing angle comes from the geometry, sinθ = |s·n| for beam direction s and plane normal n; the diffracted ray is s − 2 (s·n) n and the counter sits at 2θ from the direct beam.
  • N planes: phase step φ = 4π d sinθ / λ, intensity [sin(Nφ/2) / (N sin(φ/2))]², width about λ/(2 N d cosθ).
  • Structure factor: F(hkl) = ∑j fj exp[2πi (h xj + k yj + l zj)], intensity ∝ |F|². BCC needs h+k+l even, FCC needs h,k,l all odd or all even, diamond additionally forbids h+k+l = 4n+2.
  • Powder: I ∝ m |F|² (1 + cos²2θ)/(sin²θ cosθ) e−2B s² (multiplicity m, Lorentz-polarisation factor, Debye-Waller factor with s = sinθ/λ); peak width by Scherrer, FWHM = 0.9 λ / (L cosθ).

Checks run in the page

  • An explicit sum of 24 scattered waves finds its maximum at the Bragg angle with relative intensity 1 and almost none between the orders.
  • Structure-factor sums agree with the textbook extinction rules for all eight crystals and the allowed h²+k²+l² sequences for BCC, FCC and diamond.
  • Calculated Cu Kα1 powder peaks of Al, Si and Cu match the published 2θ positions and the Al lattice constant is recovered from a peak.
  • The width of a drawn peak is measured against the Scherrer formula.

Honest simplifications

  • The atomic scattering factor is the rough form f = Z exp(−4 s²) (Z = electron count, ions for NaCl and CsCl), not tabulated values: positions and extinctions are exact, relative intensities qualitative. Real patterns also include absorption, preferred orientation and Kα2 lines.
  • The crystal is a magnified 2 x 2 x 2 cell model (atoms drawn at about 70% of their ionic or atomic radius); a real crystal has about 108 cells per millimetre. The counter arm is shown at the horizontal direction of the diffracted ray. The bench is a schematic, not a specific instrument.

What to try

  • Choose Al (111) and press Auto-align: the diffracted beam lights up and the counter arm moves to 2θ = 38.47°.
  • Pick a forbidden plane (Fe (100)): the beam stays dark at every angle.
  • Switch to Powder and watch the rings of Al, Si and NaCl; the ring spacing is the lattice fingerprint.
  • Use the 2 x wavelength Cr source to see higher orders vanish.
Loading model...
Loading Blender model...
Counter signal vs crystal angle omega
Powder pattern (relative intensity vs 2theta)
sin²θ / sin²θ1 of the first reflections (lattice fingerprint)
Made with 🟠 Blender · Three.js