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

← Back to Scene Gallery

OfficialBasicCoil rotating with commutator (DC motor)

Between the left and right magnets is a coil (the rotor) that can turn about the vertical axis. Current reaches the coil from the battery through the commutator and brushes below it. The coil receives a torque from the magnetic field and turns, and every half turn the segments touched by the brushes swap and the current reverses, so it keeps turning in the same direction. The faster it turns, the larger the opposing EMF induced in the coil (back EMF), the smaller the current, and it soon settles at a constant speed. After the switch is turned off, it keeps coasting for a while.

Oct 8, 2026 • 5 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 loop of wire sits between two permanent magnets. When connected to a battery, the loop spins round and round without stopping.

Electric current flowing through the wire makes it act like a magnet. The outer magnets push and twist the loop. To keep the loop spinning in the same direction instead of getting stuck, a split metal ring called a commutator flips the current every half-turn.

As the motor spins faster, it acts like a tiny generator and pushes back against the battery voltage. This slows down the rush of electric current until the motor settles at a steady cruising speed.

What you are looking at

A classic brushed direct-current (DC) electric motor:

  • Stator: Two permanent bar magnets (Br=1.2 TB_r = 1.2\text{ T}) on the left and right establish a horizontal magnetic field pointing in the +x+x direction across the central air gap.
  • Rotor: A 10-turn copper coil (r=1.5 cmr = 1.5\text{ cm}) mounted on a vertical spindle, free to pivot about the vertical yy-axis.
  • Commutator and brushes: Beneath the rotor coil, a split-ring commutator (two semicircular copper segments separated by insulating gaps) rotates with the shaft. Two stationary carbon brushes slide against the commutator segments, delivering current from a DC battery (V=0.2 VV = 0.2\text{ V}, Rint=0.1 ΩR_{\text{int}} = 0.1\ \Omega).

When you close the circuit switch, current flows into the coil. The interaction between the current and the magnetic field exerts a mechanical torque that sets the coil spinning. The commutator periodically reverses the current direction every half-turn, sustaining continuous rotation in a single direction.

Lorentz torque on the rotor loop

Consider a rectangular loop of width 2r2r and axial length LL carrying current II in a uniform magnetic field B=B x^\mathbf{B} = B\,\hat{\mathbf{x}}. The magnetic force on each axial conductor segment is:

F=I (L×B)\mathbf{F} = I\,(\mathbf{L} \times \mathbf{B})

For the two opposite axial sides of the coil carrying antiparallel currents along ±y^\pm\hat{\mathbf{y}}, the forces point in opposite horizontal directions, forming a force couple (torque):

T=m×B=NIABsin⁡(θ) y^\mathbf{T} = \mathbf{m} \times \mathbf{B} = N I A B \sin(\theta)\,\hat{\mathbf{y}}

where:

  • m=NIA n^\mathbf{m} = N I A\,\hat{\mathbf{n}} is the magnetic dipole moment of the NN-turn coil of area A=πr2A = \pi r^2,
  • θ\theta is the angle between the coil's normal vector n^\hat{\mathbf{n}} and the magnetic field vector B\mathbf{B}.

When the plane of the coil is parallel to B\mathbf{B} (θ=90∘\theta = 90^\circ), torque is at its maximum: Tmax=NIABT_{\text{max}} = N I A B. When the coil turns perpendicular to the field (θ=0∘\theta = 0^\circ or 180∘180^\circ), torque drops to zero (the dead center).

The role of the commutator

Without a commutator, as the coil swings past the perpendicular position (θ=0\theta = 0), the torque would reverse direction and pull the coil backward, causing it to merely oscillate around the equilibrium angle like a compass needle.

The split-ring commutator solves this problem:

  1. The commutator segments are aligned so that their insulating gap passes beneath the brushes precisely when the coil reaches θ=0\theta = 0 (where torque is momentarily zero).
  2. As the coil carries through due to rotational inertia, the brushes make contact with the opposite commutator segments.
  3. The current through the coil flips sign: I→−II \to -I.
  4. Reversing the current direction exactly when sin⁡θ\sin\theta changes sign keeps the product Isin⁡θ>0I \sin\theta > 0 strictly positive, ensuring unidirectional, continuous forward torque throughout the entire 360∘360^\circ rotation.

Back-electromotive force (Back-EMF) and steady-state speed

As the coil rotates at angular velocity ω=θ˙\omega = \dot{\theta}, Faraday's law of induction generates an induced electromotive force opposing the supply voltage:

Eb=Keω\mathcal{E}_b = K_e \omega

where Ke=NABK_e = N A B is the motor's back-EMF constant (in V⋅s/rad\text{V}\cdot\text{s/rad}). The net current through the armature circuit is determined by the difference between the battery voltage VbV_b and the back-EMF:

I(ω)=Vb−EbRtotal=Vb−KeωRtotalI(\omega) = \frac{V_b - \mathcal{E}_b}{R_{\text{total}}} = \frac{V_b - K_e \omega}{R_{\text{total}}}
Dynamic stateRotor speed ω\omegaBack-EMF Eb\mathcal{E}_bArmature current IIMotor torque TT
Startup (locked rotor)ω=0\omega = 00 V0\text{ V}Maximum (stall current)Peak starting torque
AccelerationIncreasingRisingDecliningDecreasing
Steady-state runningωterminal\omega_{\text{terminal}}Near VbV_bLow (matches friction)Balances bearing drag

The motor reaches terminal equilibrium when the electromagnetic driving torque T=KtIT = K_t I equals the mechanical friction drag Tdrag=cωT_{\text{drag}} = c \omega:

ωterminal=KtVbKtKe+cRtotal\omega_{\text{terminal}} = \frac{K_t V_b}{K_t K_e + c R_{\text{total}}}

Try it

Comments