B1241 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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: VIcR against IIc.
  • Below the critical current the junction carries a supercurrent with no voltage. Above it the phase slips continuously and the average voltage follows i2−1, 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?

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 m=tanh⁡mt with t=T/Tc. Below Tc there's a nonzero solution, found by iterating; near Tc it goes as m≈3(1−t). Above Tc the susceptibility follows the Curie–Weiss law, χ=CT−θ, 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, e(θ)=12sin2⁡θ−hcos⁡(θ−ψ) for magnetization angle θ and field h (in units of HK) at angle ψ. Switching happens when the minimum holding the old direction disappears. The critical field traces the astroid,

hsw(ψ)=(cos2/3⁡ψ+sin2/3⁡ψ)−3/2,

1 along the axis and ½ at 45°.

Field in a superconducting slab

A slab of thickness d in a parallel field B0 expels it except within λ of each surface: B(x)=B0cosh⁡(x/λ)cosh⁡(d/2λ), with x measured from the middle. Its average is 2λdtanh⁡d2λ of B0, which tends to 2λd for thick slabs and to 1 for thin ones.

The overdamped junction

A Josephson junction shunted by a resistance R, with negligible capacitance, obeys ℏ2eRdφdt=I−Icsin⁡φ. Above Ic the phase slips continuously, and averaging V=ℏ2edφdt over a slip gives V¯=RI2−Ic2, with the supercurrent oscillating at the Josephson frequency f=2eV¯h = 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-Tc formula?

Show the solution
  1. Iterate the mean-field equation. Iterating m←tanh⁡(m/t) from m = 1 converges to 0.958 at t = 0.5 and to 0.525 at t = 0.9.
  2. The formula near the Curie temperature. 3(1−t) gives 0.548 at 0.9, 4% high, and is useless at 0.5 (it gives 1.22).
  3. Closer still. At t = 0.99 the two agree to 0.4%: 0.1725 against 0.1732.
  4. The shape of the curve. The magnetization stays close to saturation well below Tc 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-Tc formula is 4% high at 0.9 and useless at 0.5.

Worked example

A recording grain has anisotropy field HK = 1 MA/m. What field flips it along its easy axis, and at 45°?

Show the solution
  1. Along the axis. Here hsw = 1, so μ0H = 1.26 T.
  2. At 45°. hsw=(2×0.51/3)−3/2=12 so 0.63 T.
  3. At 30° and 60°. It's 0.524.
  4. The writability limit. Write heads can't produce much more than about 2 T, so ever-smaller grains, which need higher HK for stability, run into a writability limit.
  5. Ways around it. Tilting the head's field toward 45° gains a factor of two, and heat-assisted recording lowers HK 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 Ic = 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
  1. Average voltage. V¯=RI2−Ic2=10Ω×1502−1002μA=1.12mV
  2. Oscillation frequency. f=483.6GHz/mV×1.118mV=541GHz
  3. What the voltage looks like. It isn't steady: it's a train of phase-slip pulses whose average is 1.12 mV.
  4. 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 t=T/Tc, by iterating m←tanh⁡(m/t) 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 HK) 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 e(θ)=12sin2⁡θ−hcos⁡(θ−π−ψ) 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 B/B0 across a superconducting slab of thickness d in a parallel field, by numerically averaging cosh⁡(x/λ)cosh⁡(d/2λ) 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 dφdτ for dφdτ=i−sin⁡φ, by RK4 from φ = 0 over a long time (step 0.01, time 2000), after discarding the first quarter. This is V¯/(IcR).

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 Tc = 900 K, with Curie constant 1 K.

(a)

What does the near-Tc formula give for its reduced magnetization?

(b)

Above Tc, at a temperature as far above as t is below, what does Curie–Weiss give for χ (with θ = Tc)?

Check

A Stoner–Wohlfarth grain sees a reversing field at 30° to its easy axis. What switching field, in units of HK, 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 Ic = 100 µA and R = 5 Ω is biased at 2 Ic. 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?

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.