xdart · Strain Analysis · physics and fitting guide

How residual stress tilts a sin²ψ line, and how Strain Analysis reads it

Stress in a film stretches some lattice planes and squeezes others, depending on how they are tilted. Measuring one reflection's plane spacing at several tilts ψ turns that into a straight line whose slope is the stress. This guide starts with that physics, then shows how each number Strain Analysis reports follows from it.

ψ from χa grazing-incidence fiber map, cut into χ sectors on one or both branches
Equibiaxial stressfrom one reflection's slope and its elastic constants
4 kinds of d₀typed, a phase-library line, a stress-free result, or ψ*
Refraction checkednear the critical angle the stress is reported as apparent
The physics

Strain is a change of plane spacing

A reflection measures the spacing d of one family of lattice planes. Under stress that spacing changes, and the strain is the fractional change from the stress-free spacing d₀: ε = (d − d₀)/d₀. In-plane tension pulls apart the planes that stand upright in the film, while the Poisson effect pulls together the planes that lie flat, so the strain a reflection shows depends on how its planes are tilted. That tilt is the handle on the stress.

Which planes a reflection sees: ψ

sample surface surface normal: χ = 0 missing wedge: |χ| below about θ q at +χ q at −χ ψ = |χ| the beam, toward you at grazing angle α Seen along the beam: +χ and −χ lie on the detector's two sides. A fiber sample looks the same on both, so they mirror each other and are not two in-plane directions. The planes are tilted by ψ = |χ|.
Seen along the beam, which comes toward you at the grazing angle α. In a grazing-incidence fiber map, χ is the scattering vector's polar angle from the surface normal (χ = 0 out of plane, χ = 90° in plane), and the measured planes are tilted by ψ = |χ|. A sector's ψ is the mean |χ| of its bins, a reporting angle for a narrow sector. Around the normal the geometry leaves a missing wedge: q cannot point exactly along the normal, so sectors with ψ below about the Bragg angle θ are empty, and the wedge widens with q (for Pt 111 at 1 Å, θ ≈ 12.7°). Toward ψ = 90° the data end at the sample horizon, where the lowest exit angles are most affected by refraction, and the detector's extent sets the practical upper limit at high q. The +χ and −χ branches are the detector's two sides of the beam. A fiber-textured or powder film looks the same on both, so fitting them separately checks alignment and symmetry, but it cannot tell two in-plane directions apart.

d against sin²ψ

00.10.20.30.40.50.60.70.80.9-4-202sin²ψstrain (d − d₀)/d₀ (10⁻³)ε = 0: d = d₀ψ* = 47.9°: sin²ψ* = 2ν/(1+ν)d-fit slope m_d → σ = m_d/(½s₂·d₀) = 1.00 GPa
+χ branch−χ branch fit over both branchesε = 0, d = d₀
For equibiaxial in-plane stress σ at a free surface (no stress normal to it), the strain at tilt ψ is ε = ½s₂·σ·sin²ψ + 2s₁·σ, where s₁ and ½s₂ are the reflection's diffraction elastic constants. That is a straight line in sin²ψ with strain slope mε = ½s₂·σ. The owner fits d rather than strain: its spacing slope md = d₀·mε gives σ = md/(½s₂·d₀). The plot shows 1000·ε, so its displayed slope is 1000·mε, and ε = 0 means d = d₀. This occurs at the strain-free direction ψ*, where sin²ψ* = −2s₁/½s₂. With isotropic constants, s₁ = −ν/E and ½s₂ = (1 + ν)/E, so sin²ψ* = 2ν/(1 + ν). These synthetic Pt 111 sectors were made with 1 GPa of tension, E = 168 GPa and ν = 0.38 (the isotropic assumption, not Pt 111's own diffraction constants). Strain Analysis's regression recovers that stress, and ψ* follows from the constants.

Other stress states

Uniaxial or unequal biaxial stress makes the slope depend on the in-plane direction of the measurement, and shear in the plane of the surface normal splits the line into two branches at +ψ and −ψ for one in-plane direction. Both need each point's in-plane direction. A grazing-incidence fiber map gives only the polar angle, and its ±χ branches are mirrors, not directions, so Strain Analysis fits equibiaxial stress and refuses the others by name until a geometry model gives each point its direction.

From fit to physics

Fitted valueWhat it measuresRead it as
slope mhow d changes with sin²ψthe equibiaxial stress, σ = m/(½s₂·d₀): positive is tensile, negative compressive
interceptd at ψ = 0, planes parallel to the surfacenever the stress-free d₀: the stress already shifts it, through the Poisson effect
ψ*the strain-free tilt, sin²ψ* = −2s₁/½s₂where the line meets d₀; it can supply a model-derived d₀ that is not independent of the fit
each branch's fitthe +χ and −χ sectors on their owna symmetry and alignment check, with no stress claim
χ²_redscatter against the points' errorsabove 1: the points scatter more than their errors, from grain statistics, texture or peak overlap
How Strain Analysis fits

From a map to points

The regression and its uncertainty

00.10.20.30.40.50.60.70.80.9-20020sin²ψd − fit (10⁻⁵ Å)χ²_red = 15: the points scatter beyond their error barsthe formal ±1σ band of the line, thinner than the line here, leaves that scatter out
With at least three usable points carrying finite positive errors, the fit uses those points with weights 1/σ² and leaves out points without such errors, naming them in a notice. Otherwise it is unweighted over all usable points, with a notice. A weighted fit's stress error is formal: it follows from the points' errors and the straight-line model, plus d₀'s error when that is given (an unweighted fit scales its covariance by the residuals instead). When the points scatter more than their error bars, as these residuals do, the weighted reduced χ² is above 1 and the notice says so: the formal error, and the ±1σ band of the line (here thinner than the drawn line), leave that excess scatter out. Several reflections can be combined into one stress by an inverse-variance mean, which assumes their errors are independent; a shared calibration or d₀ error does not shrink with the count.

Choosing d₀

Refraction at grazing incidence

Close to the critical angle, refraction at the surface shifts the measured q, and so the slope. Strain Analysis estimates how much refraction alone would move the slope, for the fit's own points, through the shared grazing-incidence correction owner. It reports the stress as apparent when the incidence or any exit angle is within three critical angles, when the shift is at least a tenth of the measured slope, or when no material is chosen. It applies no correction: that is a later correction step.