Electromagnetism
2. Solenoids and Electromagnets
Learning outcomes
- I can describe the structure of a solenoid.
- I can explain how solenoids produce magnetic fields.
- I can identify factors affecting electromagnet strength.
- I can compare electromagnets and permanent magnets.
- I can describe applications of electromagnets.
Solenoids and Electromagnets
What Is a Solenoid?
A solenoid is a long coil of insulated conducting wire made from many closely spaced loops.
When electric current flows through the wire, each loop produces a magnetic field. The fields from all the loops combine to create a much stronger and more organized magnetic field.
A typical solenoid consists of:
- many turns of insulated wire
- a cylindrical shape
- an electric current passing through the wire
- sometimes a ferromagnetic core placed inside the coil
A current-carrying solenoid behaves in many ways like a bar magnet.
Magnetic Field from a Single Loop
Before considering a solenoid, consider one circular loop of wire.
When current flows around the loop, every section of wire produces a magnetic field.
At the centre of the loop, these magnetic-field contributions point mainly in the same direction and reinforce one another.
The result is a magnetic field passing through the centre of the loop.
Adding more loops allows these fields to combine even more strongly.
From a Loop to a Solenoid
A solenoid contains many loops positioned close together.
Each loop produces its own magnetic field.
Because the loops carry current in the same overall direction, their magnetic fields combine through superposition.
Inside the solenoid:
fields reinforce one another → strong magnetic field
Outside the solenoid:
parts of the fields combine to produce a pattern similar to that of a bar magnet.
Magnetic Field Pattern of a Solenoid
The magnetic field of a solenoid resembles that of a permanent bar magnet.
One end behaves as a:
north pole
The other behaves as a:
south pole
Outside the solenoid, field lines travel approximately:
north → south
Inside the solenoid, the field returns:
south → north
Magnetic field lines therefore form continuous closed loops.
Field Inside a Solenoid
Inside a long solenoid, the magnetic field is approximately:
uniform
A uniform magnetic field has nearly constant:
- strength
- direction
The field lines inside an ideal solenoid are therefore drawn:
- straight
- parallel
- evenly spaced
The field near the ends becomes less uniform.
Field Outside a Solenoid
Outside the solenoid, the magnetic field is weaker and curves around from one end to the other.
The pattern resembles the field around a bar magnet.
This similarity allows us to describe a solenoid as having:
- north pole
- south pole
even though its magnetism is produced by electric current.
Determining the Poles of a Solenoid
The right-hand grip rule can be used.
Wrap the fingers of your right hand in the direction of conventional current around the coil.
Your thumb points toward the:
north pole
Therefore:
curled fingers → current
thumb → north pole / internal field direction
Clockwise and Counterclockwise Rule
When looking directly at one end of the solenoid:
counterclockwise current → north pole
clockwise current → south pole
This provides a useful shortcut.
You can remember:
N = aNticlockwise
when viewing that end of the coil.
Reversing the Current
If the current through the solenoid is reversed, the magnetic field reverses.
Therefore:
north pole becomes south
and:
south pole becomes north
The strength may remain the same if the current magnitude is unchanged, but its magnetic polarity reverses.
This ability to reverse a magnetic field electrically is an important feature of electromagnets.
Magnetic Flux Density Inside a Solenoid
For an ideal long air-core solenoid:
B = μ₀nI
where:
- B = magnetic flux density (T)
- μ₀ = permeability of free space
- n = number of turns per metre (m⁻¹)
- I = current (A)
The number of turns per metre is:
n = N/L
where:
- N = total number of turns
- L = solenoid length (m)
Therefore:
B = μ₀NI/L
for the ideal air-core model.
Effect of Current
From:
B = μ₀nI
we can see:
B ∝ I
Therefore:
greater current → stronger magnetic field
If the current doubles:
magnetic flux density approximately doubles
for an ideal solenoid with everything else unchanged.
Example: Changing Current
A solenoid produces:
B = 0.004 T
when:
I = 2.0 A
The current is increased to:
I = 6.0 A
The current has tripled.
Therefore, for the ideal model:
B_new = 3(0.004)
B_new = 0.012 T
Effect of Number of Turns
Increasing the number of turns per unit length increases magnetic-field strength.
From:
B = μ₀nI
we see:
B ∝ n
Therefore:
more closely packed turns → stronger magnetic field
If the same solenoid length contains twice as many turns:
n doubles
and the ideal magnetic field doubles for the same current.
Turns per Unit Length Matters
Suppose:
Solenoid A has 500 turns over 1.0 m.
Then:
n = 500/1.0
n = 500 m⁻¹
Solenoid B has 500 turns over 0.50 m.
Then:
n = 500/0.50
n = 1000 m⁻¹
Solenoid B has twice as many turns per metre.
Therefore, for the same current in the ideal model, its internal field is approximately twice as strong.
Example: Calculating a Solenoid Field
A long air-core solenoid has:
N = 1000 turns
L = 0.50 m
I = 2.0 A
First calculate:
n = N/L
n = 1000/0.50
n = 2000 m⁻¹
Use:
B = μ₀nI
with:
μ₀ = 4π × 10⁻⁷ T·m/A
B = (4π × 10⁻⁷)(2000)(2.0)
B ≈ 5.0 × 10⁻³ T
Therefore:
B ≈ 0.0050 T
or:
B ≈ 5.0 mT
From Solenoid to Electromagnet
A current-carrying solenoid already produces a magnetic field.
Its field can be made much stronger by placing a suitable ferromagnetic core inside the coil.
For example:
soft iron
The combination forms an:
electromagnet
Why an Iron Core Strengthens the Field
Ferromagnetic materials contain regions called:
magnetic domains
Without an external magnetic field, many domains may point in different directions.
When the material is placed inside the field of a current-carrying solenoid, many domains become more strongly aligned.
The magnetized core then produces its own magnetic field.
This reinforces the solenoid's field.
Therefore:
solenoid field + magnetized core field → much stronger total field
Soft Iron Cores
Soft iron is particularly useful in electromagnets because it:
- magnetizes easily
- can produce a strong magnetic response
- loses much of its magnetization when the external magnetizing field is removed
This makes it suitable when magnetism needs to be:
switched on and off
Why Not Always Use Hard Magnetic Materials?
Hard magnetic materials resist demagnetization.
This makes them useful for:
permanent magnets
However, an electromagnet often needs to lose most of its magnetism when current is switched off.
A material that remains strongly magnetized would be less suitable for applications requiring rapid switching.
Therefore:
soft magnetic material → electromagnets
hard magnetic material → permanent magnets
is a useful general distinction.
Factors Affecting Electromagnet Strength
The strength of an electromagnet depends on several important factors.
Current
Increasing current generally increases field strength.
I ↑ → B ↑
Number of turns
Increasing the number of coil turns, especially turns per unit length, strengthens the field.
n ↑ → B ↑
Core material
Adding a suitable ferromagnetic core can greatly strengthen the field.
Coil geometry
The:
- length
- diameter
- spacing of turns
- magnetic circuit geometry
can affect practical field strength.
Air gaps
Large air gaps in a magnetic circuit can reduce the field in practical electromagnetic systems.
Three Main Ways to Make an Electromagnet Stronger
At an introductory level, remember:
increase the current
increase the number of coil turns
add a soft iron core
These are the most common answers when asked how to increase electromagnet strength.
Limits to Increasing Current
It might seem that we could make an electromagnet indefinitely stronger simply by increasing current.
In reality, current produces heating because the wire has resistance.
Electrical power converted to heat is:
P = I²R
Increasing current greatly increases heating.
Too much current can:
- overheat the wire
- damage insulation
- waste energy
- damage the power supply
- create a fire hazard
Engineering electromagnets therefore requires balancing magnetic strength against electrical and thermal limits.
Magnetic Saturation
A ferromagnetic core cannot increase its magnetization indefinitely.
As the magnetic field becomes stronger, more domains align.
Eventually, most available domains are strongly aligned.
The material approaches:
magnetic saturation
Beyond this point, increasing current produces much less additional magnetization of the core.
This limits the usefulness of simply increasing current.
Electromagnet vs Permanent Magnet
Both electromagnets and permanent magnets produce magnetic fields.
However, they have important differences.
| Electromagnet | Permanent Magnet |
|---|---|
| Requires current for its main controllable field | Does not require continuous electrical power |
| Can be switched on/off | Normally remains magnetic |
| Strength can be adjusted | Strength is relatively fixed |
| Polarity can be reversed electrically | Polarity is normally fixed |
| Often uses soft magnetic core | Usually made from hard magnetic material |
| Can produce very strong controlled fields | Useful when constant field is required |
Advantages of Electromagnets
Electromagnets are useful because their fields are:
controllable
The field can be:
- switched on
- switched off
- strengthened
- weakened
- reversed
This allows electrical circuits and control systems to control mechanical devices.
Advantages of Permanent Magnets
Permanent magnets also have important advantages.
They:
- require no continuous electrical power
- can be compact
- can provide a constant magnetic field
- do not generate resistive heating simply to maintain their field
Permanent magnets are therefore useful in applications where a continuous field is needed without an electrical supply.
Electromagnetic Cranes
One familiar application is an electromagnetic lifting crane.
These cranes can lift large quantities of:
- iron
- steel
- ferromagnetic scrap
Current switched on:
electromagnet becomes strongly magnetic
Metal is attracted and lifted.
Current switched off:
magnetic field greatly decreases
The load is released.
This would be much more difficult with a permanent magnet because its magnetic field cannot simply be switched off.
Electromagnetic Relays
A relay is an electrically operated switch.
A simple electromagnetic relay contains:
- coil
- iron core
- movable armature
- electrical contacts
When current flows through the coil:
coil becomes electromagnet
↓
armature is attracted
↓
contacts open or close
This allows one electrical circuit to control another.
Electric Bells
Traditional electric bells use electromagnets.
A simplified sequence is:
- Current flows through the coil.
- The electromagnet attracts an iron armature.
- The attached striker hits the bell.
- Movement breaks the circuit.
- Current stops.
- Electromagnet weakens.
- Armature returns.
- Circuit reconnects.
- Cycle repeats.
This rapid switching produces repeated ringing.
Solenoid Actuators
The word solenoid is also commonly used for devices in which a coil produces linear mechanical movement.
A movable ferromagnetic plunger is positioned inside or near the coil.
When current flows:
magnetic field attracts the plunger
The device converts:
electrical energy → mechanical movement
Solenoid actuators are used in:
- door locks
- valves
- automotive systems
- vending machines
- industrial equipment
- robotic systems
Electromagnetic Door Locks
Electromagnetic locks use powerful controlled magnetic attraction.
When energized, the electromagnet strongly attracts a ferromagnetic plate.
Depending on the design, controlling the current can lock or release the mechanism.
This makes electromagnets useful in electronically controlled security systems.
Circuit Breakers
Some circuit breakers use electromagnetic effects to detect unusually large currents.
A larger current produces a stronger magnetic field.
If the current becomes excessive, the magnetic effect can activate a mechanism that opens the circuit.
This helps protect electrical systems from:
- overload
- excessive heating
- dangerous currents
Loudspeakers
Loudspeakers combine permanent magnets and electromagnetic effects.
A current passes through a:
voice coil
The voice coil sits inside a magnetic field.
The current-carrying coil experiences a magnetic force.
As the audio current changes:
force changes → coil moves → cone vibrates → sound produced
Thus, controlled electromagnetism converts electrical signals into mechanical vibration.
Electric Motors
Electric motors also depend on magnetic fields produced by currents.
Current-carrying coils interact with magnetic fields.
The resulting forces create:
torque
which rotates the motor.
Many motors therefore combine:
- electromagnets
- permanent magnets
- current-carrying coils
depending on the motor design.
MRI Systems
Magnetic resonance imaging systems use extremely strong, carefully controlled magnetic fields.
Many modern MRI systems use superconducting electromagnets.
Superconducting coils can carry very large persistent currents with extremely low electrical resistance under appropriate operating conditions.
This allows them to produce powerful magnetic fields needed for medical imaging.
Particle Accelerators
Large electromagnets are used in particle accelerators.
Their magnetic fields can:
- bend charged-particle beams
- focus beams
- guide particles along designed trajectories
Changing current allows engineers to precisely control magnetic-field strength.
Maglev Technology
Some magnetic-levitation systems use electromagnets to produce controlled magnetic forces.
These forces can be used for:
- levitation
- guidance
- propulsion
Magnetic systems can reduce mechanical contact and therefore reduce some forms of friction.
Electromagnets in Transformers
Transformers use coils wound around magnetic cores.
Alternating current produces a changing magnetic field in the core.
The changing magnetic field links another coil and induces a voltage.
Although transformers involve electromagnetic induction rather than simply magnetic attraction, the ability of coils and magnetic cores to create and guide magnetic fields is fundamental to their operation.
Electromagnets in Technology
Electromagnets appear in many devices, including:
- motors
- generators
- transformers
- relays
- speakers
- headphones
- electric bells
- magnetic locks
- lifting cranes
- valves
- circuit breakers
- particle accelerators
- MRI systems
- robotics
- industrial automation
Example: Comparing Two Solenoids
Solenoid A:
N = 500 turns
L = 0.50 m
I = 2.0 A
Solenoid B:
N = 1000 turns
L = 0.50 m
I = 2.0 A
Calculate turns per metre.
For A:
n_A = 500/0.50
n_A = 1000 m⁻¹
For B:
n_B = 1000/0.50
n_B = 2000 m⁻¹
Since:
B ∝ n
Solenoid B produces approximately:
twice the magnetic flux density
in the ideal air-core model.
Example: Comparing Current
Two identical solenoids carry different currents.
Solenoid A:
I = 1.5 A
Solenoid B:
I = 4.5 A
Since:
B ∝ I
we have:
B_B/B_A = 4.5/1.5
B_B/B_A = 3
Therefore:
Solenoid B produces three times the ideal magnetic flux density.
Example: Designing a Stronger Electromagnet
Suppose a student builds an electromagnet using:
- 50 turns of wire
- 0.5 A current
- air core
Several changes could strengthen it:
Change 1
Increase the number of turns.
For example:
50 → 200 turns
Change 2
Increase the current within safe limits.
For example:
0.5 A → 1.0 A
Change 3
Insert a soft iron core.
Combining these changes could produce a much stronger electromagnet.
Investigating Electromagnet Strength
A simple classroom investigation can use a coil wrapped around an iron nail.
The electromagnet can lift paper clips.
Students could investigate:
How does current affect the number of paper clips lifted?
or:
How does the number of coil turns affect electromagnet strength?
Only one variable should be changed at a time.
Possible control variables include:
- same nail
- same wire type
- same paper clips
- same coil length
- same testing method
This allows a fair comparison.
Interpreting Experimental Results
Suppose the following results are obtained:
| Number of Turns | Paper Clips Lifted |
|---|---|
| 20 | 3 |
| 40 | 7 |
| 60 | 11 |
| 80 | 15 |
The general trend is:
more turns → stronger electromagnet
However, the number of paper clips is only an indirect measure of magnetic strength.
A more advanced investigation could use a magnetic-field sensor or Hall probe to measure B directly.
Energy Considerations
An electromagnet requires electrical energy.
Some of this energy may be transferred into thermal energy because of the resistance of the coil.
The heating rate is related to:
P = I²R
Therefore, stronger electromagnets can require careful:
- cooling
- insulation
- current control
- wire selection
This is especially important in powerful industrial electromagnets.
Common Mistakes
Mistake: Saying a solenoid is simply a straight wire.
A solenoid consists of many loops of wire arranged as a coil.
Mistake: Saying a solenoid only has a magnetic field inside it.
Its field is strongest and most uniform inside, but a magnetic field also exists outside.
Mistake: Saying field lines stop at the poles.
Magnetic field lines form continuous closed loops.
Mistake: Using the left-hand rule to identify solenoid poles.
Use the right-hand grip rule.
Mistake: Saying the thumb shows current when using the solenoid version of the rule.
For a solenoid, curl the fingers with the current; the thumb points toward the north pole.
Mistake: Saying more turns always means a stronger field without considering coil length.
For the ideal long-solenoid relationship, turns per unit length is important.
Mistake: Saying an iron core creates the current.
The current flows in the wire; the core strengthens the resulting magnetic field.
Mistake: Saying electromagnets remain equally magnetic after current is switched off.
A well-designed soft magnetic core loses much of its magnetization when the current stops.
Mistake: Saying permanent magnets are always better than electromagnets.
The best choice depends on whether controllable strength, switching, energy use, size, and other properties are required.
Key Terms
Solenoid — long coil containing many turns of conducting wire.
Electromagnet — magnet whose controllable magnetic field is produced by electric current, often using a ferromagnetic core.
Magnetic flux density (B) — measure of magnetic-field strength and direction, measured in teslas.
Uniform magnetic field — field with approximately constant strength and direction.
Turns per unit length — number of coil turns divided by solenoid length.
Ferromagnetic material — material such as iron that can respond strongly to magnetic fields.
Magnetic domain — region in a ferromagnetic material containing aligned magnetic moments.
Soft magnetic material — material that magnetizes and demagnetizes relatively easily.
Hard magnetic material — material that resists demagnetization and is suitable for permanent magnets.
Magnetic saturation — condition in which increasing the magnetizing field produces relatively little additional magnetization.
Relay — electrically operated switch that can use an electromagnet.
Solenoid actuator — device using a solenoid to produce controlled mechanical movement.
Armature — movable magnetic component attracted or moved by an electromagnet.
Superconducting electromagnet — electromagnet using superconducting coils to support very large currents with extremely low electrical resistance.
Key Takeaways
- A solenoid is a coil containing many closely spaced turns of wire.
- Each current-carrying loop produces a magnetic field.
- The fields from the loops combine through superposition.
- The field inside a long solenoid is strong and approximately uniform.
- A solenoid's overall field resembles that of a bar magnet.
- A current-carrying solenoid has north and south poles.
- The right-hand grip rule can determine the north pole.
- Reversing current reverses the solenoid's poles.
- For an ideal long air-core solenoid, B = μ₀nI.
- Increasing current increases magnetic-field strength.
- Increasing turns per unit length increases magnetic-field strength.
- A suitable ferromagnetic core can greatly strengthen the field.
- Soft iron is useful because it magnetizes and demagnetizes relatively easily.
- An electromagnet can be switched on and off.
- Electromagnet strength can be adjusted by changing current.
- Electromagnet polarity can be reversed by reversing current.
- Permanent magnets do not require continuous electrical power.
- Electromagnets are particularly useful when controllable magnetism is required.
- Excessive current can cause significant heating because P = I²R.
- Electromagnets are widely used in cranes, relays, motors, speakers, locks, MRI systems, particle accelerators and industrial control systems.
Check Your Understanding
- What is a solenoid?
- Explain why a current-carrying solenoid produces a magnetic field.
- Describe the magnetic-field pattern inside a long solenoid.
- Compare the magnetic-field pattern of a solenoid with that of a bar magnet.
- How can the north pole of a solenoid be determined using the right-hand grip rule?
- What happens to the poles if the current is reversed?
- State the equation for the magnetic flux density inside an ideal long air-core solenoid.
- What does n represent in B = μ₀nI?
- A solenoid contains 800 turns over a length of 0.40 m. Calculate n.
- Explain how increasing current affects solenoid field strength.
- Explain how increasing the number of turns per metre affects field strength.
- Why does inserting a soft iron core strengthen an electromagnet?
- What are magnetic domains?
- Compare soft and hard magnetic materials.
- Give three ways of increasing the strength of an electromagnet.
- Why can excessive current cause problems in an electromagnet?
- Compare an electromagnet with a permanent magnet.
- Explain how an electromagnetic lifting crane can pick up and release steel.
- Describe how an electromagnetic relay operates.
- Give four applications of electromagnets and explain why controllable magnetism is useful in each.