The laws of magnetism dictate how moving electric charges generate magnetic fields, how changing magnetic fields induce voltage, and how opposing magnetic forces interact in physical space. If you are sizing a step-down transformer, wiring a Variable Frequency Drive (VFD), or debugging a melted MOSFET on a motor H-bridge, you are either fighting or leveraging these exact physical laws. Understanding them moves you from guessing component values to engineering reliable circuits.
The Core Rules: Ampere, Faraday, and Lenz
While electromagnetism is governed by Maxwell's equations, three specific principles do 95% of the heavy lifting in practical electrical and electronics work:
- Ampere's Law: Electric current flowing through a conductor generates a proportional magnetic field around it. This is the operating principle behind electromagnets, relay coils, and the inductive heating of metallic conduits.
- Faraday's Law of Induction: A changing magnetic field passing through a loop of wire induces a voltage (Electromotive Force, or EMF) in that wire. The faster the magnetic field changes, or the more turns of wire you have, the higher the induced voltage. This is how generators, alternators, and switch-mode power supply (SMPS) transformers work. For a deeper mathematical breakdown, refer to the Faraday's Law guide on All About Circuits.
- Lenz's Law: The direction of the induced current will always create a magnetic field that opposes the change in the original magnetic field. This is the source of back-EMF in motors and inductive kickback in relay coils.
Worked Example: Calculating Back-EMF and Stall Current
To see how these laws change a real circuit, let us look at a standard 12V brushed DC motor. When a motor spins, it acts as both a load (consuming power) and a generator (producing voltage). Lenz's Law dictates that the generated voltage (Back-EMF) opposes the supply voltage.
- Supply Voltage ($V_{s}$): 12.0V DC
- Armature Resistance ($R_{a}$): 0.40 Ω
- Back-EMF Constant ($K_{e}$): 0.045 V/(rad/s)
- Target Operating Speed: 2,200 RPM (230.4 rad/s)
Scenario A: Normal Running Condition
First, we calculate the Back-EMF ($V_{bemf}$) generated at 2,200 RPM:
$V_{bemf} = K_{e} \times \text{Speed} = 0.045 \times 230.4 = 10.37V$
Next, we find the net voltage driving current through the armature resistance:
$V_{net} = V_{s} - V_{bemf} = 12.0V - 10.37V = 1.63V$
Finally, we use Ohm's Law to find the running current:
$I_{run} = V_{net} / R_{a} = 1.63V / 0.40\Omega = 4.07A$
Scenario B: Mechanical Stall (0 RPM)
If the motor shaft jams, the speed drops to zero. According to Faraday's and Lenz's laws, without movement, there is no changing magnetic flux, meaning $V_{bemf} = 0V$.
The full 12V is now dropped across the tiny 0.40 Ω armature resistance:
$I_{stall} = 12.0V / 0.40\Omega = 30.0A$
This 30A stall current is nearly 7.5 times the running current. Without a PTC thermistor, a polyswitch, or electronic current limiting in your motor driver, the windings will overheat and the insulation will melt in seconds. This numeric reality is why Lenz's law is critical for sizing fuses and selecting MOSFETs (like the IRFZ44N) for motor controllers.
Where You Meet This in Practice
The laws of magnetism are not just theoretical; they dictate physical installation rules and component selection on the bench and the jobsite.
Inductive Kickback and Flyback Diodes
When you de-energize a relay coil, the magnetic field collapses rapidly. Faraday's law states this rapid change induces a massive voltage spike, while Lenz's law ensures the spike's polarity tries to keep current flowing in the same direction. A 12V relay coil can easily generate a 150V spike, instantly destroying the driving NPN transistor or Arduino GPIO pin. You must place a 1N4007 or 1N4148 flyback diode in reverse parallel across the coil to clamp this spike.
NEC Conductor Grouping in Metallic Conduits
Ampere's law states that current creates a magnetic field. If you run only the 'hot' wire of an AC circuit through a steel EMT conduit, the alternating magnetic field induces eddy currents in the steel, causing the conduit to heat up violently. This is why NEC 300.3(B) requires all conductors of the same circuit (hot and neutral, or all phases) to be grouped in the same conduit. The opposing magnetic fields cancel each other out, resulting in a net magnetic field of zero and preventing inductive heating.
Transformer Core Saturation
In switch-mode power supplies, if the PWM duty cycle on the primary winding is not perfectly balanced, a net DC current flows. This drives the transformer core into magnetic saturation. Once saturated, the core cannot store any more magnetic flux, the inductance drops to near zero, and the primary winding acts like a dead short, blowing the switching transistor.
Common Confusions: Flux Density vs. Field Strength
The most frequent mistake hobbyists and junior technicians make is confusing Magnetic Flux Density ($B$) with Magnetic Field Strength ($H$). People assume a 'stronger' magnet always induces more voltage, but they ignore the material the field is passing through.
| Property | Symbol | Unit | What It Actually Means |
|---|---|---|---|
| Magnetic Field Strength | $H$ | Amperes per meter (A/m) | The 'effort' applied by the electrical current to create a magnetic field, independent of the surrounding material. |
| Magnetic Flux Density | $B$ | Tesla (T) or Gauss (G) | The actual 'result' or concentration of magnetic lines of force in a specific material. $B = \mu \times H$. |
Frequently Asked Questions About the Laws of Magnetism
Do the laws of magnetism apply to pure DC circuits?
Yes, but differently than in AC. Ampere's law applies constantly: any DC current creates a static magnetic field, which is how DC electromagnets and solenoid valves function. However, Faraday's law of induction requires a changing magnetic field. In a steady-state DC circuit, the magnetic field is static, so no voltage is induced. Induction only occurs in DC circuits during transients—the exact millisecond you flip the switch on or off, or when a motor changes speed.
How do the laws of magnetism explain inductive kickback?
Inductive kickback is a direct result of Lenz's Law combined with Faraday's Law. When you cut power to an inductor (like a solenoid or relay), the magnetic field collapses. Faraday's law dictates that this rapid change in flux induces a voltage. Lenz's law dictates that the induced voltage will be of a polarity that attempts to maintain the original current flow. Because the collapse happens in microseconds, the rate of change ($d\Phi/dt$) is massive, resulting in a voltage spike that can easily exceed 100V even in a 5V logic circuit.
Why do the laws of magnetism require twisted pair cables for high-speed data?
This is an application of Ampere's Law and magnetic field cancellation. In a twisted pair (like CAT6 Ethernet or RS-485 communication lines), the signal travels down one wire and returns on the other. Because the currents are equal and opposite, their magnetic fields cancel each other out at a distance. Furthermore, if an external magnetic interference source induces a voltage via Faraday's law, the twisting ensures that the interference is induced equally into both wires as a common-mode signal, which the differential receiver at the end of the line easily rejects.






