Skip to main content
Sandbox Physics

Micromagnetics · Single-domain switching

Pulse Switching of a Nanomagnet

How can a field pulse shorter than a nanosecond flip a nanomagnet, and why does a longer pulse fail? The pulse does not push the magnetization straight over. It tips the moment slightly out of the film, and the strong field from the film's own magnetic surfaces then spins it around in the plane. If the pulse ends after half a turn, the magnet settles pointing the other way; if it ends after a full turn, the magnet comes back, so a longer pulse can fail.

Hit a 500 nm permalloy bar with a field pulse and follow its magnetization around a sphere. Each cell of the switching map is a full trajectory, so the pulse lengths that flip the bar show up as stripes.

Interactive modelPulse Switching of a Nanomagnet
Easy-axis component at the end, mxm_x−1-1
Highest energy, in saddle heights1.441.44
Ringing after the pulse4.65 GHz4.65\,\mathrm{GHz}
Kittel frequency of the final well4.66 GHz4.66\,\mathrm{GHz}

Outcome: switched to the other well. Each map cell is one full trajectory from the same equation; the white ring marks the current pulse.

More numbers and the saved record
Outcome fixed once the energy fell below the saddle at0.14 ns0.14\,\mathrm{ns}
Last sign change of the easy-axis component in the window0.09 ns0.09\,\mathrm{ns}
Switching map: switched trajectories / trajectories run422 / 1280422\ /\ 1280
Demagnetizing factors along x, y, z0.0092, 0.0382, 0.95260.0092,\ 0.0382,\ 0.9526
In-plane shape-anisotropy field29.1 mT29.1\,\mathrm{mT}
Largest change of the unit length within one step, before renormalizing1.54×10−131.54\times10^{-13}

The JSON record holds the parameters, the model constants, the sampled trajectory with its energy, and every cell of the switching map.

Physics tutorial

Flipping a nanomagnet with a timed kick

BackgroundA thin permalloy bar 500 nm long has two stable states: magnetized toward +x or toward -x. Magnetic memories and logic flip such bars with field or current pulses lasting well under a nanosecond.

Why it mattersA field along -x would flip the bar slowly, by letting damping drain energy turn after turn. A field across the bar carries it over about five times sooner, but only if the pulse ends at the right moment.

Start with the essentials

Focus question
How can a field pulse shorter than a nanosecond flip a nanomagnet, and why does a longer pulse fail?
One-sentence intuition
A transverse pulse starts a precession around the film normal; the bar switches when the pulse ends after an odd number of half turns and its energy then sits below the saddle.

Core mathematical model

Landau-Lifshitz-Gilbert equation

dmdt=−γ0 m×Heff+α m×dmdt\frac{\mathrm{d}\mathbf{m}}{\mathrm{d}t}=-\gamma_0\,\mathbf{m}\times\mathbf{H}_{\mathrm{eff}}+\alpha\,\mathbf{m}\times\frac{\mathrm{d}\mathbf{m}}{\mathrm{d}t}

The first term turns m\mathbf{m} around the effective field; the second, with damping α\alpha, pulls it toward the field. Both keep ∣m∣=1\lvert\mathbf{m}\rvert=1. Here γ0=2.211×105 m A−1 s−1\gamma_0=2.211\times10^{5}\,\mathrm{m\,A^{-1}\,s^{-1}}.

Effective field of a uniformly magnetized bar

Heff=Hp+Hb−Ms(Nxmx,  Nymy,  Nzmz)\mathbf{H}_{\mathrm{eff}}=\mathbf{H}_{\mathrm{p}}+\mathbf{H}_{\mathrm{b}}-M_{\mathrm{s}}\left(N_x m_x,\;N_y m_y,\;N_z m_z\right)

For the 500 by 125 by 3 nm prism the demagnetizing factors are Nx=0.0092N_x=0.0092, Ny=0.0382N_y=0.0382 and Nz=0.953N_z=0.953, so xx is the easy axis and leaving the film plane costs the most energy.

Damping only removes energy

dEdt=−α γ0 μ0Ms1+α2 ∣m×Heff∣2≤0\frac{\mathrm{d}E}{\mathrm{d}t}=-\frac{\alpha\,\gamma_0\,\mu_0 M_{\mathrm{s}}}{1+\alpha^{2}}\,\bigl\lvert\mathbf{m}\times\mathbf{H}_{\mathrm{eff}}\bigr\rvert^{2}\le 0

With the field held fixed, the energy per volume can only fall. Once the pulse is off and the energy is below the saddle, the moment can no longer reach the other well, so the outcome is decided.

Kittel frequency of small oscillations

fK=γ02π[Hb+(Ny−Nx)Ms][Hb+(Nz−Nx)Ms]f_{\mathrm{K}}=\frac{\gamma_0}{2\pi}\sqrt{\bigl[H_{\mathrm{b}}+(N_y-N_x)M_{\mathrm{s}}\bigr]\bigl[H_{\mathrm{b}}+(N_z-N_x)M_{\mathrm{s}}\bigr]}

Without bias field this gives 4.66 GHz; the ringing measured from the simulated trajectory after a small kick is 4.65 GHz.

Common difficulties

Longer is not stronger

Typical misconceptionIf a pulse flips the magnet, a longer or stronger pulse will flip it too.

Better mental modelPrecessional switching is about timing. The pulse keeps the moment turning; what matters is where the moment is when the pulse ends.

Damping is not the engine here

Typical misconceptionDamping is what drags the moment to the other side.

Better mental modelWith a transverse pulse, precession carries the moment across and damping only settles it. With a field along -x, damping does the work, and the reversal takes several times longer.

What the model leaves out

Typical misconceptionA real 500 nm bar reverses as one rigid moment.

Better mental modelThe bar is the 500 nm by 125 nm by 3 nm permalloy element of the muMAG standard problem 4, with saturation magnetization 800 kA/m. Here it moves as one rigid moment (a macrospin), so it has no domains, no edge modes and no spin waves; the real element reverses through nonuniform states. Its only anisotropy is the shape anisotropy of a uniformly magnetized rectangular prism (Aharoni 1998). The Landau-Lifshitz-Gilbert equation is integrated with fourth-order Runge-Kutta steps of 0.25 ps (1 ps for the map). Temperature is left out; a 1 degree starting tilt stands in for thermal disorder. A run counts as switched or returned once the pulse is off and its energy has fallen below the saddle between the two wells.

Run the experiment

  1. 01

    Watch one flip

    Start from A half-turn pulse flips it and let the run play.

    What to observe: The trail lifts slightly off the equator, swings around to -x and spirals in. The energy climbs above the saddle line during the pulse and drops below it once the pulse stops.
  2. 02

    Make the pulse longer

    Drag Pulse length from 140 ps up to 350 ps.

    What to observe: The moment makes almost a full turn while the pulse is on and settles back at +x. Same field, same energy kick, opposite result.
  3. 03

    Read the switching map

    Look at the right-hand map, then click cells in different stripes.

    What to observe: Red and blue stripes alternate along the pulse length. Each stripe is one more half turn; stronger pulses turn faster, so the stripes bend toward shorter pulses. Below about 20 mT nothing switches.
  4. 04

    Switch off damping

    Choose Without damping it circles forever.

    What to observe: After the pulse the energy stays flat above the saddle and the moment keeps circling both wells. Its unit length still holds to better than one part in a trillion per step.
  5. 05

    Compare with Kittel

    Choose A small kick rings at the Kittel frequency, then raise the bias field in the advanced group.

    What to observe: The ringing frequency read from the trajectory stays within half a percent of the Kittel formula as the bias changes.

Related experiments and articles

Micromagnetics · Reading path

Micromagnetics: how magnetization finds its own texture

Articles on this path that use this experiment, followed by the other experiments they suggest.

  1. ArticleA magnetic moment circles a field before it settles
  2. ArticleA nanomagnet’s shape sets its easy axis and how it switches
FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy