B12 · Lesson 41 · Magnetism and superconductivity lab
Mean-field magnetization, Curie–Weiss fits, Stoner–Wohlfarth switching, field penetration and the Josephson junction's I–V curve, in Python
Lessons 37 to 40 described magnets and superconductors with a handful of models: the mean-field magnet, the Curie–Weiss law, a single-domain grain flipping in a field, the London penetration depth and the Josephson junction. Each is a short calculation that has no closed form in general, or one worth checking numerically: a self-consistent equation, a fit, an energy landscape whose minimum disappears, a differential equation for a phase. In this lab you'll write each one and compare it with the limiting formulas the lessons used.
- The curve is the average voltage across an overdamped Josephson junction against its bias current, both normalized: against .
- Below the critical current the junction carries a supercurrent with no voltage. Above it the phase slips continuously and the average voltage follows , approaching the ohmic line at high current.
- The readouts give the voltage and the Josephson frequency for a real junction with the critical current and resistance set by the sliders. Step 5 integrates the phase to get this curve.
Predict
A single-domain magnetic grain's easy axis points along x, and it's magnetized along +x. A field is applied pointing back toward −x. Which direction of field flips it with the least field?
At 45°. A field straight along the axis exerts no torque until the magnetization is already disturbed, so it must reach the full anisotropy field . A field at an angle both pushes and twists, and at 45° the switching field is only . The Stoner–Wohlfarth astroid, which step 3 traces numerically, captures this for every angle.
Name it
Mean-field magnetization
In mean-field theory each moment feels the applied field plus an exchange field proportional to the magnetization. For spin ½ with no applied field, the reduced magnetization m satisfies with . Below there's a nonzero solution, found by iterating; near it goes as . Above the susceptibility follows the Curie–Weiss law, , and a straight-line fit of 1/χ against T gives C and θ.
Stoner–Wohlfarth switching
A single-domain grain with uniaxial anisotropy has energy, in units of its anisotropy energy, for magnetization angle θ and field h (in units of ) at angle ψ. Switching happens when the minimum holding the old direction disappears. The critical field traces the astroid,
1 along the axis and ½ at 45°.
Field in a superconducting slab
A slab of thickness d in a parallel field expels it except within λ of each surface: , with x measured from the middle. Its average is of , which tends to for thick slabs and to 1 for thin ones.
The overdamped junction
A Josephson junction shunted by a resistance R, with negligible capacitance, obeys . Above the phase slips continuously, and averaging over a slip gives , with the supercurrent oscillating at the Josephson frequency = 483.6 GHz per mV.
Worked example
For a spin-½ mean-field magnet, what's the magnetization at half its Curie temperature and at 0.9 of it? How good is the near- formula?
Show the solution
- Iterate the mean-field equation. Iterating from m = 1 converges to 0.958 at t = 0.5 and to 0.525 at t = 0.9.
- The formula near the Curie temperature. gives 0.548 at 0.9, 4% high, and is useless at 0.5 (it gives 1.22).
- Closer still. At t = 0.99 the two agree to 0.4%: 0.1725 against 0.1732.
- The shape of the curve. The magnetization stays close to saturation well below and then collapses over the last 20% of the way.
Answer the magnetization is 0.958 at half the Curie temperature and 0.525 at 0.9 of it; the near- formula is 4% high at 0.9 and useless at 0.5.
Worked example
A recording grain has anisotropy field = 1 MA/m. What field flips it along its easy axis, and at 45°?
Show the solution
- Along the axis. Here = 1, so = 1.26 T.
- At 45°. so 0.63 T.
- At 30° and 60°. It's 0.524.
- The writability limit. Write heads can't produce much more than about 2 T, so ever-smaller grains, which need higher for stability, run into a writability limit.
- Ways around it. Tilting the head's field toward 45° gains a factor of two, and heat-assisted recording lowers briefly by heating each bit.
Answer the grain flips at 1.26 T along its easy axis and at 0.63 T at 45°.
Worked example
A Josephson junction has = 100 µA and is shunted by 10 Ω. Biased at 150 µA, what average voltage does it show, and at what frequency does it oscillate?
Show the solution
- Average voltage.
- Oscillation frequency.
- What the voltage looks like. It isn't steady: it's a train of phase-slip pulses whose average is 1.12 mV.
- Uses. Junctions like this generate and detect terahertz radiation, and arrays of them, driven by microwaves, set the volt.
Answer the junction shows an average of 1.12 mV and oscillates at 541 GHz.
Check
Step 1. Write mean_field(t) returning the reduced magnetization of a spin-½ mean-field magnet at , by iterating from m = 1 until it converges (return 0 for t ≥ 1).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Step 2. Write curie_weiss_fit(T, chi) returning (C, theta) from a least-squares straight-line fit of 1/χ against T, using np.polyfit.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Step 3. Write switching_field(psi) returning the Stoner–Wohlfarth switching field (units of ) for a field at angle psi (radians, 0 to π/2) from the easy axis, opposing a grain magnetized along +x. Count the local minima of on a fine θ grid, and find by bisection the smallest h at which the one near θ = 0 is gone.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Step 4. Write slab_average(d, lam) returning the average of across a superconducting slab of thickness d in a parallel field, by numerically averaging from −d/2 to d/2.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Step 5. Write rcsj_voltage(i) returning the average of for , by RK4 from φ = 0 over a long time (step 0.01, time 2000), after discarding the first quarter. This is .
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
A spin-½ mean-field ferromagnet is at t = 0.95 of its Curie temperature = 900 K, with Curie constant 1 K.
(a)
What does the near- formula give for its reduced magnetization?
(b)
Above , at a temperature as far above as t is below, what does Curie–Weiss give for χ (with θ = )?
Check
A Stoner–Wohlfarth grain sees a reversing field at 30° to its easy axis. What switching field, in units of , does the astroid give?
Check
A superconducting slab 0.2 µm thick has penetration depth 0.1 µm. What fraction of a parallel applied field does it hold on average?
Check
An overdamped junction with = 100 µA and R = 5 Ω is biased at 2 . What average voltage does it show?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Explain why
Why is the average voltage across an overdamped Josephson junction less than IR, even well above its critical current?
Above the critical current, the junction's phase can't stay put, so it advances continuously, and the voltage is proportional to how fast it advances. But the supercurrent, , still flows and varies as the phase turns. During the part of each cycle when the supercurrent carries a large share of the bias, little current is left for the resistor, so the phase advances slowly; when the supercurrent reverses, the phase races. The phase lingers where it's slow, so on average the resistor carries less than the full bias current, and the average voltage is . Far above the supercurrent's swing averages out and the junction becomes ohmic.
Practice
Keep practicing
6 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.