Electromagnetism & solenoids

Magnetism & electromagnetism · tree view

Electric current creates a circular magnetic field around its conductor (Oersted, 1820), and winding the wire into a coil concentrates that field into a solenoid with definite north and south poles. Field strength scales with amp-turns (current × turns) and jumps by orders of magnitude with an iron core.

Prerequisites

battery symbol
battery
inductor symbol
inductor
relay symbol
relay
oersted-wire.svg
oersted-wire.svg
solenoid-field.svg
solenoid-field.svg

The Danish physicist Hans Christian Oersted was lecturing one day in 1820 on the possibility of electricity and magnetism being related to one another, and in the process demonstrated it conclusively by experiment in front of his whole class! By passing an electric current through a metal wire suspended above a magnetic compass, Oersted was able to produce a definite motion of the compass needle in response to the current.

— Tony R. Kuphaldt, Lessons In Electric Circuits, Vol. I (DC), Ch. 14 'Magnetism and Electromagnetism', section 'Electromagnetism' source

To create a stronger magnetic field force (and consequently, more field flux) with the same amount of electric current, we can wrap the wire into a coil shape, where the circling magnetic fields around the wire will join to create a larger field with a definite magnetic (north and south) polarity:

— Tony R. Kuphaldt, Lessons In Electric Circuits, Vol. I (DC), Ch. 14 'Magnetism and Electromagnetism', section 'Electromagnetism' source

The magnetic field force produced by an electromagnet (called the magnetomotive force, or mmf), is proportional to the product (multiplication) of the current through the electromagnet and the number of complete coil "turns" formed by the wire.

— Tony R. Kuphaldt, Lessons In Electric Circuits, Vol. I (DC), Ch. 14, section 'Electromagnetism', REVIEW bullets source
Show alternative explanations

A long wire wound in the form of a helical coil is known as a solenoid. Solenoids are commonly used in experimental research requiring magnetic fields. A solenoid is generally easy to wind, and near its center, its magnetic field is quite uniform and directly proportional to the current in the wire.

— OpenStax, University Physics, Vol. 2, Ch. 12 'Sources of Magnetic Fields', §12.6 'Solenoids and Toroids' source

Another example is the relay, an electrically-controlled switch. If a switch contact mechanism is built so that it can be actuated (opened and closed) by the application of a magnetic field, and an electromagnet coil is placed in the near vicinity to produce that requisite field, it will be possible to open and close the switch by the application of a current through the coil.

— Tony R. Kuphaldt, Lessons In Electric Circuits, Vol. I (DC), Ch. 14, section 'Electromagnetism' source

Saturation is a phenomenon limited to iron-core electromagnets. Air-core electromagnets don't saturate, but on the other hand they don't produce nearly as much magnetic flux as a ferromagnetic core for the same number of wire turns and current.

— Tony R. Kuphaldt, Lessons In Electric Circuits, Vol. I (DC), Ch. 14, section 'Permeability and saturation' source

Predicting the poles of a coil from the current direction

A coil is wound on a core and connected to a battery. The right-hand rule turns the wiring and current direction into a pole prediction for each end of the coil.

To predict the outcome:

  1. Look at one end of the coil and note which way the current circles as seen from that end.
  2. Curl your right-hand fingers around the coil in the direction the conventional current flows.
  3. Your thumb points out of the coil's north-pole face.
  4. Reversing the battery reverses the current sense, so both poles swap; no current means no poles (a steel core keeps only weak remanent magnetism).
current_as_seen_from_the_faceright_hand_rulethat_face_is
counterclockwisefingers curl counterclockwise, thumb points at your facenorth pole (N)
clockwisefingers curl clockwise, thumb points away from yousouth pole (S)
same wiring, battery reversedcirculation sense reversespoles swap: N becomes S, S becomes N
none (battery disconnected)no circulation to followno poles — air core shows nothing, steel core keeps weak remanence

Predicting electromagnet strength from amp-turns and the core

Magnetomotive force is proportional to current × turns (amp-turns), and the core's permeability multiplies the flux that amp-turns produce — up to saturation. Compare each change against a baseline of 100 turns at 0.5 A on an air core (50 amp-turns).

To predict the outcome:

  1. Compute amp-turns: multiply turns by current in amperes.
  2. More turns, more current, or both → proportionally stronger field.
  3. Swap the air core for soft iron → far more flux for the same amp-turns (permeability gain).
  4. Push an iron core past saturation → extra amp-turns stop paying off.
configurationamp_turnsfield_vs_baseline
100 turns, 0.5 A, air core (baseline)50 At1×
200 turns, 0.5 A, air core100 At2× — doubling turns doubles the field
100 turns, 1.0 A, air core100 At2× — doubling current works just as well as doubling turns
200 turns, 1.0 A, air core200 At4× — turns and current multiply together
100 turns, 0.5 A, soft-iron core50 Athundreds of times stronger — until the iron saturates
iron core driven far past saturationbeyond the knee of the B-H curveextra amp-turns add little flux — the air-core coil takes over

Candidate projects — awaiting review

  • Nail electromagnet: wrap 3 feet of insulated wire around a large iron nail, connect to a D cell, and count paperclips lifted — then repeat with more turns, two batteries, or a steel bolt core to test the amp-turns and permeability predictions. (https://www.instructables.com/Electromagnet/, community)
  • Predict-then-wind strength ladder: wind 50, 100 and 200 turns on the same core at the same current and record paperclips per 50 amp-turns; then flip the battery and check that strength stays the same while the poles swap (test with a compass). (https://www.reddit.com/r/electronics/comments/148u41/i_told_my_6_year_old_son_i_would_build_him_an/, community)
  • Repeat Oersted's 1820 lecture demo: suspend a wire above a compass, connect it to a battery only while observing, and watch the needle deflect — then place the wire at different angles to see the deflection change. (https://www.allaboutcircuits.com/textbook/direct-current/chpt-14/electromagnetism/, book)
  • Build a relay from scratch: wind a coil that pulls an iron strip against a spring when energized, and use it to switch a second circuit — electricity controlling electricity, the way the textbook describes. (https://www.allaboutcircuits.com/textbook/direct-current/chpt-14/electromagnetism/, book)