Circuit Bytes · Episode 70 · Electronics · Components
"Electromagnets"
Any wire carrying current makes a weak magnetic field. Coil the wire and the fields of all the loops add up, slide an iron nail inside and the field gets much stronger: that is an electromagnet. Switch off the current and most of the magnetism goes away, so it is a magnet you can turn on and off, used in scrapyard cranes, relays, door locks and speakers.
Current makes a magnetic field
Any wire carrying current has a magnetic field around it. The field forms circles around the wire, and it is weak: a single straight wire from a battery will barely move a compass needle. Turn the current off and the field disappears.
Coil it: the fields add up
Wind the wire into a coil (also called a solenoid) and something useful happens: inside the coil, the field from every loop points the same way, so the fields add up. More loops means a stronger field, and so does more current. For a long coil the field inside is B = μ₀nI, where n is the number of turns per length and I is the current.
Add an iron core
Slide a piece of iron, such as a nail, into the coil and the field gets much stronger. Iron is a ferromagnetic material: the coil's field lines up tiny magnetic regions inside the iron, and together they multiply the field hundreds or even thousands of times, until the iron "saturates" and cannot give any more. A coil with an iron core is an electromagnet.
A magnet with a switch
Switch off the current and most of the magnetism goes away, so the paper clips drop. Soft iron keeps only a little leftover magnetism, while a steel nail may stay slightly magnetized, which is why we say "most" and not "all." That on/off control is the whole point: scrapyard cranes use giant lifting electromagnets to pick up cars and scrap and drop them where they want, and small ones work inside relays, door locks (electric strikes and magnetic locks) and speakers.
Try it yourself
With an adult's OK, wrap insulated wire around an iron nail, strip the ends, and touch them to a single AA or D cell for a few seconds while you hold the nail near some paper clips. Then unwind half of the loops and try again. Does it pick up more or fewer clips? Disconnect between tries so the wire never gets hot.
Good to know
- A current-carrying wire makes a magnetic field that circles the wire.
- In a coil (solenoid) the loop fields add; the field inside is B = μ₀nI, proportional to the turns per length and to the current.
- A soft-iron core concentrates the field and can multiply it hundreds or thousands of times, until the iron saturates.
- "Most of the magnetism goes away": soft iron keeps a little leftover magnetism (remanence), and a steel nail can stay slightly magnetized.
- "Turns times current" is the magnetomotive force, measured in ampere-turns. For the same coil shape and core, equal ampere-turns give about the same field (ignoring core saturation and the coil's length).
- Lifting magnets on scrapyard cranes are large electromagnets; "door locks" here means electric strikes and magnetic locks. Relays were episode 28; speakers are the next episode.
- Safety: a nail electromagnet on a battery is close to a short circuit. One AA or D cell, a few seconds at a time, never wall power.
Answer to the comment question
Strength grows with turns times current. One coil has 50 turns at 2 amps. A 25-turn coil needs how many amps to match? 4 amps. The first coil has 50 × 2 = 100 ampere-turns. To match it with 25 turns you need 100 ÷ 25 = 4 A. Half the turns means twice the current. (This assumes the same coil shape and core, and ignores the iron saturating.)
Test your knowledge
Quick quiz: "Electromagnets"
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- OpenStax College Physics 2e, "Magnetic Fields Produced by Currents: Ampere's Law": a current makes a magnetic field, and a coil's field grows with its turns and current
- HyperPhysics (Georgia State University), "Magnetic Field of a Solenoid": the field inside a coil, and how an iron core makes it stronger
- National MagLab, Magnet Academy, "Making Electromagnets": a battery, wire and nail electromagnet, with safety tips
- National MagLab, Magnet Academy, "Magnets from Mini to Mighty": where electromagnets are used, from small devices to huge research magnets
Video transcript
How can a wire wrapped around a nail turn into a magnet?
Any wire carrying current makes a weak magnetic field.
Coil the wire, and the fields from every loop add up. More loops, stronger field.
Slide an iron nail inside, and the field gets much stronger. That's an electromagnet.
Switch off the current, and most of the magnetism goes away. A magnet you can turn on and off.
More current makes it stronger too. Scrapyard cranes use giant ones to lift cars, then drop them.
Small ones work inside relays, door locks and speakers.
Strength grows with turns times current. One coil has 50 turns at 2 amps. A 25-turn coil needs how many amps to match? Comment your answer below!
That's your byte.
More from Circuit Bytes
- EP68c"Battery capacity: what mAh means"
- EP69c"Wire gauge: why thicker wire carries more"
- EP71c"How a speaker makes sound"
- EP72c"Pull-up and pull-down resistors"