OfficialBasicMagnetic Field Created by a Coil (Number of Turns, Current, and Magnetic Field Strength)
A power supply and a resistor are connected to a coil (initially 20 turns, length 4 cm, radius 1.5 cm) to run current through it. You can read the magnetic field magnitude with the "Magnetic field at coil center" probe and current with the "Ammeter". This scene corresponds to the classroom lesson "Magnetic Field Created by a Coil" (/classroom).
[Highlights]
- Click the coil and change "Turns" in the right panel to 10, 20, 30, or 40 (since coil length is fixed, windings become denser). As long as current remains nearly constant, the center magnetic field increases in direct proportion to turns.
- Click the power supply and change voltage to 1.5, 3, 4.5, or 6 V to alter the current. The center field is strictly proportional to current.
- Invert the voltage sign to reverse current direction; magnetic field arrows flip accordingly (right-hand grip rule).
- The 5.5 Ω ballast resistor is much larger than coil internal resistance (approx. 0.06 Ω for 20 turns), so current barely changes when modifying turn count.
- Central flux density for this geometry is B = μ0 N I / √(l² + 4a²) (l: length, a: radius), giving approx. 0.5 mT at 20 turns and 1 A.
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 coil is a wire wound round and round. When current flows through it, the coil becomes a magnet (an electromagnet). This scene measures how strong the magnetic field is at the middle of the coil.
More turns, stronger field. Double the turns and the field doubles.
More current, stronger field. Double the battery voltage and both the current and the field double.
Turn the battery around and the field inside the coil points the other way.
With 20 turns and about 1 A, the field at the center is about 500 microtesla (μT), roughly ten times the Earth's magnetic field.
What you are looking at
The magnetic field generated by a cylindrical electromagnetic coil (solenoid) and its quantitative dependence on the number of turns and electrical current:
An air-core cylindrical coil of fixed length l=4 cm (0.04 m) and radius a=1.5 cm (0.015 m), wound with N turns (initially N=20).
A DC series circuit containing a DC voltage source V (6 V, internal resistance Rint=0.5Ω), a ballast resistor R=5.5Ω, and a closed knife switch.
Two designated measurement probes:
Magnetic field at coil center: A field sensor placed precisely at the origin (0,0,0) inside the solenoid bore, measuring magnetic flux density magnitude ∣B∣ in microteslas (μT).
Ammeter: A current sensor placed on the wire loop, measuring the loop current I in milliamperes (mA).
The ballast resistor (5.5Ω) is almost two orders of magnitude larger than the internal resistance of the copper windings (approximately 0.06Ω for 20 turns). As a result, changing the coil's turn count changes the coil's winding density without altering the total circuit resistance or current, allowing an ideal controlled experiment.
Proportionality laws
1. Proportionality to turns (B∝N)
When the coil length l is kept constant and turns N are changed, the windings become more closely spaced. Because the external resistance dominates the circuit, current remains practically constant (I≈0.98 A to 0.99 A). Each turn contributes equally to the total axial field, producing a strict direct proportion:
B∝N(I=const)
2. Proportionality to current (B∝I)
According to Ohm's law, varying the source voltage V directly scales the current I≈V/(R+Rint). The magnetic field responds linearly:
B∝I(N=const)
3. Field direction (Right-hand rule)
The vector direction of B along the solenoid axis follows the right-hand grip rule: when fingers curl in the direction of conventional current circling the coil, the thumb points in the direction of the magnetic field vector. Reversing the DC voltage (e.g., to −6 V) reverses the current direction and inverts the magnetic field vector.
Magnetic field of a finite solenoid
According to the Biot–Savart law, the on-axis magnetic flux density B at the exact center of a finite single-layer solenoid of length l, radius a, and total turns N carrying current I is given by:
B=l2+4a2μ0NI
where μ0=4π×10−7 H/m is the vacuum magnetic permeability.
For an infinitely long solenoid with turn density n=N/l, the textbook formula is:
B∞=μ0nI=lμ0NI
For the dimensions in this scene (l=0.04 m and a=0.015 m):
l2+4a2=0.042+4×0.0152=0.0016+0.0009=0.0025=0.05 m
The finite geometry introduces an exact reduction factor of:
l2+4a2l=0.05 m0.04 m=0.80
At the coil center, the field is exactly 80% of the infinite solenoid approximation because magnetic flux lines begin to diverge and spread outward near both open ends.
Measured simulation values
Winding turns sweep (V=6 V)
Turns N
Current I
Center field B (simulated)
Theoretical B
Ratio B/N
10 turns
994 mA
250μT
250μT
25.0μT/turn
20 turns
989 mA
497μT
497μT
24.9μT/turn
30 turns
984 mA
742μT
742μT
24.7μT/turn
40 turns
978 mA
984μT
983μT
24.6μT/turn
Voltage sweep (N=20 turns)
Voltage V
Current I
Center field B (simulated)
Theoretical B
Ratio B/I
1.5 V
247 mA
124μT
124μT
502μT/A
3.0 V
494 mA
249μT
248μT
504μT/A
4.5 V
742 mA
373μT
373μT
503μT/A
6.0 V
989 mA
497μT
497μT
503μT/A
The slight decrease in current from 10 to 40 turns (994 mA→978 mA) reflects the small added resistance of the longer copper wire, perfectly replicating real-world circuit behavior.
Comments