The relationship between magnets and electricity is that a changing magnetic field induces an electric voltage in a conductor, and an electric current flowing through a conductor generates a surrounding magnetic field. This two-way street, known as electromagnetism, is the foundational principle behind every motor, generator, transformer, and inductor on your workbench. When you design or troubleshoot a circuit, this relationship changes how the circuit handles alternating current by introducing inductive reactance, and it creates back-electromotive force (back-EMF) that can destroy sensitive semiconductors if not properly snubbed.
The Core Mechanism: Fields, Flux, and Force
At the bench level, electromagnetism is governed by two primary behaviors. First, Ampere’s Law dictates that anytime electrons move through a wire, they create a cylindrical magnetic field around that wire. You can amplify this by coiling the wire and wrapping it around a ferromagnetic core, creating an electromagnet. Second, Faraday’s Law of Induction states that if you move a magnet near a wire—or change the strength of an existing magnetic field—it forces electrons to move, generating a voltage. According to Georgia State University HyperPhysics, the induced voltage is directly proportional to the rate of change of the magnetic flux.
Worked Numeric Example: Sizing an AC Line Choke
Let’s look at how this relationship changes a real circuit. If you place a straight piece of 10 AWG copper wire across a 240V AC line, it’s a dead short. But if you wind that wire into a 10mH (0.01 Henry) coil around a silicon steel core, the magnetic field it generates resists the alternating current. This resistance is called inductive reactance ($X_L$).
The formula for inductive reactance is $X_L = 2\pi f L$, where $f$ is frequency in Hertz and $L$ is inductance in Henries.
- Frequency (f): 60 Hz (standard North American mains)
- Inductance (L): 0.01 H (10mH)
- Calculation: $2 \times 3.14159 \times 60 \times 0.01 = 3.77 \Omega$
Now, apply Ohm’s Law to find the current limit of this choke on a 240V AC supply:
By leveraging the magnetic field generated by the coil, we have safely limited a 240V circuit to 63.6A without using a resistor that would waste massive amounts of energy as heat. This is exactly how industrial line reactors limit fault currents and smooth out power harmonics.
Where You Meet This in Practice
You interact with electromagnetism constantly in electrical installations and electronics design. Here is a breakdown of common components that rely entirely on this relationship:
| Component | How It Uses Electromagnetism | Common Failure Mode |
|---|---|---|
| Relays & Contactors | A low-current DC/AC coil generates a magnetic field that pulls a mechanical armature, closing high-current contacts. | Coil burns out from overvoltage; contacts pit and weld shut from inductive kickback arcing. |
| Transformers | AC in the primary winding creates a fluctuating magnetic field in the iron core, which induces a proportional voltage in the secondary winding. | Core saturation from DC offset or overvoltage, leading to excessive heat and insulation breakdown. |
| Induction Motors | Stator coils create a rotating magnetic field that induces current in the rotor, generating its own magnetic field that chases the stator field. | Single-phasing causes the magnetic field to collapse into a pulsating (non-rotating) state, stalling and burning the motor. |
| Flyback Diodes | Doesn't create the field, but provides a safe path for the induced voltage when a relay coil's magnetic field collapses. | Installed backwards (shorts the power supply) or omitted entirely (destroys the driving transistor). |
Real-World Scenario Walkthrough: The Burned-Out VFD Filter
To understand what happens when you ignore the nuances of collapsing magnetic fields, consider this real-world failure from a CNC router retrofit.
- The Setup: A hobbyist installs a Variable Frequency Drive (VFD) to control a 3-phase 2HP spindle motor. To reduce electromagnetic interference (EMI) on the nearby limit switches, they decide to build a DIY dV/dt filter (an inductor) for the VFD output, using a heavy iron-core choke salvaged from an old 60Hz fluorescent lighting ballast.
- The Numbers: The motor runs at 240V and draws 8A. The VFD uses Pulse Width Modulation (PWM) to simulate a sine wave, switching its IGBTs at a carrier frequency of 16 kHz. The salvaged choke is rated for 15A continuous at 60Hz.
- The Outcome: The CNC runs perfectly for about ten minutes. Then, the VFD trips with an 'Overcurrent' fault code. The salvaged choke is smoking, and the varnish on the copper windings has melted, creating a dead short between the coil layers.
- What Went Wrong: The builder forgot that inductive reactance and core losses scale with frequency. While the choke was rated for 15A at 60Hz, the VFD was hitting it with 16,000 pulses per second (16 kHz). At this high frequency, the rapid $di/dt$ (change in current over time) caused the magnetic field to reverse so fast that the iron core experienced massive eddy current losses and hysteresis heating. Furthermore, the high-frequency voltage spikes exceeded the dielectric rating of the 60Hz wire enamel, causing turn-to-turn shorts. As Fluke Corporation notes in their motor drive troubleshooting guides, high-frequency PWM outputs require specialized filtering, not standard line-frequency chokes.
The Fix: Replace the DIY iron choke with a commercial dV/dt filter specifically designed for VFD outputs, utilizing nanocrystalline or specialized ferrite core materials that can handle high-frequency magnetic flux reversals without saturating or overheating.
Common Confusions: Magnetic Fields vs. Electric Fields
The most common mistake beginners make is confusing magnetic fields with electric fields. They are related but distinct phenomena.
An electric field is created by voltage (stationary charges). If you have a 120V AC wire sitting on your bench with the switch open, there is an electric field radiating from it due to the voltage potential, but zero magnetic field because no current is flowing.
A magnetic field is created only by moving charges (current). The magnetic field only exists when the circuit is closed and electrons are actually flowing.
Think of a closed water valve on a pressurized municipal pipe. The water pressure sitting against the closed valve is the voltage (electric field). The pipe won't vibrate or do any physical work until you open the valve and the water actually flows. The physical vibration and force of the moving water against the pipe walls represents the magnetic field. No flow, no magnetic field.
FAQ: Electromagnetism on the Workbench
Q: Why does my mechanical relay arc across the contacts when I switch off a DC motor?
A: When you open the contacts, the current drops to zero instantly. The motor's internal inductance (its magnetic field) violently collapses, inducing a massive voltage spike (back-EMF) to try and keep the current moving. This voltage exceeds the air gap's dielectric breakdown limit, ionizing the air and creating a plasma arc. Always use a snubber circuit or freewheeling diode across inductive DC loads.
Q: Can a static, stationary magnet generate electricity in a wire?
A: No. Faraday’s Law requires a changing magnetic flux. A magnet sitting perfectly still next to a coil will induce exactly zero volts. You must either move the magnet, move the coil, or change the magnetic field's strength (as done in electromagnets) to generate electricity.
Q: How do I measure the strength of a magnetic field with my multimeter?
A: Standard multimeters cannot measure magnetic flux density (Gauss or Tesla) directly. You need a dedicated Gaussmeter or a multimeter with a specific Hall-effect magnetic field probe attachment. However, you can measure the effects of the magnetic field by measuring the AC voltage induced in a nearby test coil, or by measuring the inductance (in Henries) of the coil generating the field using an LCR meter.






