EMDyna Sandbox Scene Details
Overview Manual & Theory Validation Suite Python API Gallery Open Simulator

← Back to Scene Gallery

OfficialBasicMoving a Magnet Through a Coil (Electromagnetic Induction: Speed, Turns, and Current)

A galvanometer (2 Ω) is connected to a horizontal coil (length 8 cm, radius 1.3 cm, initially 20 turns). The bar magnet on the left (N-pole facing the coil) moves rightward at a preset speed (initially 0.2 m/s) and passes through the coil. Induced current flows as the magnet enters and exits (electromagnetic induction). This is from the lesson "Electromagnetic Induction" (/classroom). [Highlights] - The "Current at probe" waveform shows current flowing in opposite directions upon entry and exit. Click "Zoom" to display peak heights (max and min) in a table. - Click the magnet and change "Constant speed" under "Mechanics" -> "Prime mover" to 0.1, 0.2, 0.3, or 0.4 m/s; peak heights scale proportionally with speed (faster motion causes faster flux change). - Click the coil and change "Turns" to 10, 20, 30, or 40; peak heights scale proportionally with turns. - Click "Swap N/S poles" on the magnet to invert the current direction. - When experimenting, pause with ⏸, reset the magnet to the left with ⏮ "From Beginning", change settings, then proceed with ▶. - While the magnet passes through the coil center, the internal field changes little, so current remains small. - The induced current produces a magnetic field that opposes magnet motion (Lenz's law): the left end becomes an N-pole upon entry, and the right end becomes an N-pole upon exit.

Oct 26, 2026 • 7 views

Launch & Remix in Simulator

Read the explanation, with equations and figures ↓

Modify this scene in the simulator, then open the "Scene" tab and click "Publish Current Scene to Gallery" to share your remix!

·

In short

A bar magnet moves straight through a coil of wire. Moving the magnet makes an electric current pulse through the wire (electromagnetic induction).

Turn the magnet around, and the current directions flip too.

What you are looking at

Electromagnetic induction produced by moving a permanent bar magnet straight through a stationary cylindrical solenoid coil at constant speed:

  • A horizontal cylindrical coil (length l=8 cm=0.08 ml = 8\text{ cm} = 0.08\text{ m}, radius a=1.3 cm=0.013 ma = 1.3\text{ cm} = 0.013\text{ m}, default N=20 turnsN = 20\text{ turns}) is wired in a closed circuit across a galvanometer (resistor R=2 ΩR = 2\ \Omega).
  • A cylindrical permanent magnet (length 3 cm3\text{ cm}, radius 1 cm1\text{ cm}, remanence Br=1.2 TB_r = 1.2\text{ T}) with its North pole facing rightward (+x+x) starts at x=−0.12 mx = -0.12\text{ m} and travels through the coil bore to +0.12 m+0.12\text{ m} at an electronically regulated constant velocity (default v=0.2 m/sv = 0.2\text{ m/s}).
  • A current probe measures the galvanometer loop current in milliamperes (mA\text{mA}).

As the magnet enters the coil, the magnetic flux threading through the windings surges, generating a negative current spike (≈−7.3 mA\approx -7.3\text{ mA}). While the magnet passes through the middle of the coil, the flux change stalls and the current momentarily drops close to zero. As the magnet exits from the opposite end, the decreasing flux induces an equal and opposite positive current spike (≈+7.2 mA\approx +7.2\text{ mA}).

Faraday's law of electromagnetic induction

According to Faraday's law, the electromotive force (EMF) ε(t)\varepsilon(t) induced in an NN-turn coil equals the negative rate of change of magnetic flux Φ(t)=∬B⋅dS\Phi(t) = \iint \mathbf{B} \cdot d\mathbf{S}:

ε(t)=−NdΦ(t)dt\varepsilon(t) = -N \frac{d\Phi(t)}{dt}

Because the magnet travels along the xx-axis at constant speed v=dxdtv = \frac{dx}{dt}, the time derivative can be expanded using the chain rule:

ε(t)=−NdΦdxdxdt=−NvdΦdx\varepsilon(t) = -N \frac{d\Phi}{dx} \frac{dx}{dt} = -N v \frac{d\Phi}{dx}

The circuit current I(t)I(t) obeys Ohm's law with total resistance Rtot=Rgalv+Rcoil≈2 ΩR_{\text{tot}} = R_{\text{galv}} + R_{\text{coil}} \approx 2\ \Omega:

I(t)=ε(t)Rtot≈−NvRdΦdxI(t) = \frac{\varepsilon(t)}{R_{\text{tot}}} \approx -\frac{N v}{R} \frac{d\Phi}{dx}

This relationship establishes two fundamental linear proportions:

  1. Proportionality to speed (Ipeak∝vI_{\text{peak}} \propto v): Doubling the magnet velocity doubles the time rate of change of flux dΦ/dtd\Phi/dt, doubling the peak induced EMF and current.
  2. Proportionality to turns (Ipeak∝NI_{\text{peak}} \propto N): Each additional winding turn links the changing flux, multiplying the total induced EMF by NN.

Lenz's law and polarity

The negative sign in Faraday's law embodies Lenz's law: the direction of induced current always creates a magnetic field that opposes the change in flux producing it:

  • On entry: The approaching North pole increases rightward flux through the coil. The coil generates an opposing leftward magnetic field (its left face becomes a North pole), producing a negative current pulse and a retarding magnetic force on the magnet.
  • On exit: The receding North pole decreases rightward flux. The coil generates an attractive rightward magnetic field (its right face becomes a South pole), producing a positive current pulse.
  • Inverted poles: Swapping the magnet's poles so that the South pole enters first reverses the sign of dΦ/dxd\Phi/dx, inverting the entry peak to positive and the exit peak to negative.

Total transferred charge

Integrating current over the entry pulse gives the net electric charge QQ pushed through the galvanometer:

Q=∫I(t) dt=NRtot∫(−dΦdt)dt=NΔΦRtotQ = \int I(t)\,dt = \frac{N}{R_{\text{tot}}} \int \left(-\frac{d\Phi}{dt}\right) dt = \frac{N \Delta\Phi}{R_{\text{tot}}}

Remarkably, the total electrical charge ΔQ\Delta Q depends strictly on the net change in flux ΔΦ\Delta\Phi and is completely independent of the magnet velocity vv: moving faster increases the peak current IpeakI_{\text{peak}}, but compresses the pulse duration Δt\Delta t by the exact same ratio.

Simulation measurements

Velocity sweep (N=20 turnsN = 20\text{ turns})

Magnet speed vvEntry peak currentExit peak currentPeak / speed ratio
0.1 m/s−3.66 mA-3.66\text{ mA}+3.61 mA+3.61\text{ mA}36.6 mA/(m/s)36.6\text{ mA} / (\text{m/s})
0.2 m/s−7.32 mA-7.32\text{ mA}+7.23 mA+7.23\text{ mA}36.6 mA/(m/s)36.6\text{ mA} / (\text{m/s})
0.3 m/s−11.0 mA-11.0\text{ mA}+10.8 mA+10.8\text{ mA}36.7 mA/(m/s)36.7\text{ mA} / (\text{m/s})
0.4 m/s−14.6 mA-14.6\text{ mA}+14.5 mA+14.5\text{ mA}36.5 mA/(m/s)36.5\text{ mA} / (\text{m/s})

Turn count sweep (v=0.2 m/sv = 0.2\text{ m/s})

Turn count NNEntry peak currentExit peak currentPeak / turn ratio
10 turns−3.74 mA-3.74\text{ mA}+3.66 mA+3.66\text{ mA}0.374 mA/turn0.374\text{ mA}/\text{turn}
20 turns−7.32 mA-7.32\text{ mA}+7.23 mA+7.23\text{ mA}0.366 mA/turn0.366\text{ mA}/\text{turn}
30 turns−10.8 mA-10.8\text{ mA}+10.7 mA+10.7\text{ mA}0.360 mA/turn0.360\text{ mA}/\text{turn}
40 turns−14.2 mA-14.2\text{ mA}+14.1 mA+14.1\text{ mA}0.355 mA/turn0.355\text{ mA}/\text{turn}

At N=40N = 40, the additional copper wire resistance (≈0.1 Ω\approx 0.1\ \Omega) adds slightly to the 2 Ω2\ \Omega load, causing a tiny 4%4\% departure from strict linearity.

Try it

Comments