Hahn Spin Echo and CPMG

2D companion of the pulsed NMR console: spins fan out because the field is uneven, a 180 degree pulse turns them round, and the echo shows what really decays.

Switch to 3D

Presets

Playback

Apparatus

Model checks

The science

What is modelled

After a 90 degree pulse all spins point the same way in the plane perpendicular to the field. Because the magnet is not perfectly uniform, each spin precesses at a slightly different frequency and the arrows fan out, so the signal dies quickly even though no energy is lost. A 180 degree pulse after a time tau flips the pattern, the faster spins are now behind, and at 2 tau they line up again: an echo. Only the true transverse relaxation T2 stays lost, so echo heights fall as exp(-t / T2).

Equations

  • Offset frequencies Gaussian with spread σ; free induction decay exp(−2π²σ²t²) exp(−t/T2).
  • Echo after pulses of flip angle β: exp(−2τ/T2) sin²(β/2); for perfect pulses a train gives exp(−2nτ/T2) at echo n.
  • Bloch equation in the rotating frame, dM/dt = Ω × M, with a Rabi solution for a pulse of strength Ω1 and offset Δ.

Checks run in the page

  • Time-stepped free induction decay against the Gaussian envelope.
  • First echo against exp(-2τ/T2) sin²(β/2).
  • CPMG echo height against exp(-t/T2) with perfect pulses.
  • Runge-Kutta Bloch integration of a finite pulse against the Rabi formula.

Honest simplifications

Pulses are instantaneous and flip every isochromat equally, the spread is Gaussian and static, there is no diffusion through field gradients, no T1 recovery between echoes and no coil response. The echo formula for a mis-set pulse is exact only for the first echo, since later echoes in a train of imperfect pulses mix in stimulated echoes.

What to try
  • Press Hahn echo and watch the white arrow shrink to nothing and reappear at 2 tau.
  • Press CPMG train and see the echo heights follow the dashed T2 curve although the field spread is large.
  • Press Poor 180 pulses and see the echo shrink according to sin squared of half the pulse angle.
Signal against time
First echo height against pulse spacing
Echo height against refocusing pulse angle
Free induction decay
Made with 🤖 ChatGPT