01 / What is Barkhausen noise?
Ferromagnets can change magnetisation in abrupt jumps rather than as a continuously rotating compass needle. Domain walls are delayed by defects, grain boundaries, and local anisotropies. When the applied field becomes sufficiently strong, one region reverses; its changed environment may destabilise nearby regions. The resulting cascade is called an avalanche. A pickup coil registers changing magnetic flux as an induction pulse. The apparent crackling recorded by sensitive electronics is Barkhausen noise.
In this laboratory each illuminated tile represents a coarse-grained bistable magnetic region, not a single atom. Amber tiles point along +x; turquoise tiles point along −x. The net moment is the sum of the tile states. A patterned field is deliberately not fabricated or animated: every state change follows the numerical stability condition.
02 / Microscopic rules
We simulate the ferromagnetic random-field Ising model at effectively zero temperature. A cell i has spin sᵢ = ±1, four lattice neighbours, applied induction B (tesla), a fixed random local field bᵢ (tesla), and a coupling J expressed in equivalent tesla. Its Hamiltonian is E = −m₀ Σᵢ sᵢ(B + bᵢ) − m₀ J Σ⟨i,j⟩ sᵢsⱼ. The cell moment m₀ = Mₛ Vcell, with saturation magnetisation Mₛ = 800 kA/m. Each local field bᵢ is drawn once from a zero-mean Gaussian with standard deviation σ. This frozen disorder produces pinning.
The local switching criterion is sᵢ[B + bᵢ + JΣⱼsⱼ] < 0. The code flips one unstable cell at a time, holds the external field fixed while the cascade relaxes, and stops only at a metastable configuration. Every accepted flip at unchanged B reduces E by ΔE = 2m₀sᵢ[B + bᵢ + JΣⱼsⱼ]. No artificial smooth animation substitutes for these events.
03 / Operating the apparatus
Choose one of six protocols above the specimen. Press Run field to drive the applied field, Pause to freeze it, Reverse to swap sweep direction, or Next avalanche to advance quasi-statically to the next unstable threshold. Drag the scene to orbit, scroll or pinch to zoom, hold Shift while dragging to pan, and double-click to restore the camera. Inspect a domain for its effective local field; switch to Paint and drag over the tile surface to add a permanent Gaussian bias field. Changing disorder regenerates the specimen, because a new random-field distribution means a new material realisation.
The two instrument charts contain sampled outputs from the actual solver. Hover or click a chart to inspect a point. Save a run into the notebook and overlay its M–B trace on later measurements. Export CSV to inspect every recorded time, field, magnetisation, spin-flip count, flux-derived coil voltage, and energy in other software.
04 / Six experiments
Field-cycle magnetometry: Begin from negative saturation and drive through positive saturation, then reverse. Plot M/Mₛ against B and look for coercivity and hysteresis. Avalanche microscope: Pause the sweep and use Next avalanche repeatedly to locate exact switching thresholds; compare tiny events with collective cascades. Pinning sculptor: Select Paint, introduce a positive or negative defect around a tile, and test how a local change can redirect a cascade. Return-point memory: Run small reversal loops between ±45 mT, then reverse again at an earlier field. Compare branches from the same frozen disorder realisation.
Pickup coil transients: Increase or decrease N₍c₎ and observe the bridge-compensated voltage. Flux jumps scale with magnetic change; the displayed pulse amplitudes also depend on the chosen acquisition interval. Disorder atlas: Save a low-σ trace, raise σ, reset, run the same protocol, and overlay the curves. Form a hypothesis about disorder controlling collective switching.
05 / Measurement and induction
Magnetisation is M/Mₛ = (1/N) Σsᵢ, so switching a single cell changes it by 2/N. With cell pitch 20 µm and specimen thickness 100 µm, this simplified model has a 0.72 × 0.48 mm top face. An idealised pickup coil encloses effective cross-section A = (24 × 20 µm) × 100 µm. To represent finite flux coupling, the laboratory uses a fixed geometric efficiency η = 0.35. After reference compensation removes the direct externally applied field, the magnetic signal is ΔΦ = N₍c₎ η μ₀ A Mₛ Δ(M/Mₛ). The reported mean window voltage is V = −ΔΦ/Δt.
The acquisition window defaults to 12 ms of simulated instrument time per sweep step. This is an assumed measurement interval, not a prediction of the real physical duration of an avalanche. A slow drive can change measured event clustering; the quasi-static Next avalanche button is appropriate for testing switching thresholds.
06 / Scope, limitations & questions
This square-lattice RFIM models bistable units with a uniform easy axis, positive nearest-neighbour interactions, open boundaries, quenched Gaussian disorder, deterministic zero-temperature single-spin-flip dynamics, and no explicit demagnetising long-range field. The 3D assembly is a genuine manipulable visualisation of a two-dimensional spin model; tiles are not microscopic crystallites of measured shape. The yoke, coil turns, and sample thickness are schematic or idealised. The model does not solve micromagnetic Landau–Lifshitz–Gilbert dynamics, electromagnetic eddy currents, magnetostriction, finite-temperature activation, or a measured material's calibrated loop. Disorder strength and J therefore describe a controlled toy material rather than a verified commercial steel grade.
Explore: Is the hysteresis loop symmetric for this particular seeded sample? At what disorder does one large avalanche fragment into many smaller ones? Does changing the number of pickup turns alter the physical switching thresholds? Why is the induced voltage sign opposite the changing flux? How would long-range dipolar interactions modify the model? Applications of Barkhausen measurements include steel inspection, residual-stress assessment, domain-wall research, and nondestructive testing—each requiring real-world calibration beyond this educational lattice.