Magnetism is a fundamental physical force produced by the motion of electric charges, resulting in attractive and repulsive forces between objects and the generation of magnetic fields that can induce voltage in nearby conductors. In the context of electrical science and electronics, magnetism is not just a static phenomenon involving fridge magnets; it is the dynamic, inseparable partner to electricity. Whenever current flows through a wire, it generates a magnetic field, and whenever a magnetic field changes around a conductor, it forces electrons to move. This dual relationship, formalized as electromagnetism, is the operating principle behind almost every power conversion and electromechanical device on your workbench.
What Magnetism Changes in a Real Circuit
When you move from ideal circuit theory to physical PCB layout and wiring, magnetism introduces three major physical constraints that alter your design:
- Parasitic Inductance: Every straight piece of wire or PCB trace possesses self-inductance. In high-speed digital circuits or switch-mode power supplies (SMPS), this parasitic magnetism opposes rapid changes in current ($V = L \frac{di}{dt}$), causing voltage spikes that can exceed the breakdown voltage of your semiconductors.
- Electromagnetic Interference (EMI): Alternating magnetic fields radiate from current-carrying loops. If a high-current switching node is routed near a high-impedance analog sensor trace, the changing magnetic flux will induce a noise voltage in the sensor line, destroying your signal-to-noise ratio.
- Galvanic Isolation and Energy Transfer: Magnetism allows us to transfer power across an air gap. In transformers and optocouplers (which use light, but serve a similar isolation purpose), magnetic coupling lets us step down 120V AC mains to 12V DC without a direct electrical connection, keeping the user safe from lethal shock.
Because of these effects, magnetism dictates why we use ground planes (to minimize current loop area and thus reduce magnetic radiation), why we place flyback diodes across relay coils, and why we twist AC power cables to cancel out their external magnetic fields.
Worked Numeric Example: Avoiding Core Saturation
To see how the scientific definition of magnetism translates to bench work, let us calculate the peak magnetic flux density ($B_{peak}$) in a DIY buck converter inductor. If $B_{peak}$ exceeds the core material's saturation limit (typically around 300 mT to 400 mT for ferrites), the inductance collapses, current spikes to infinity, and your switching transistor vaporizes.
Assume we are winding our own inductor on a standard toroidal core with the following parameters:
- Target Inductance ($L$): 47 μH ($47 \times 10^{-6}$ H)
- Peak Current ($I_{peak}$): 5.0 A
- Number of Turns ($N$): 20 turns
- Effective Core Area ($A_e$): 1.25 cm² ($1.25 \times 10^{-4}$ m²)
We use the fundamental magnetic flux density formula derived from Ampere's and Faraday's laws:
$$B_{peak} = \frac{L \times I_{peak}}{N \times A_e}$$
Plugging in our real-world values:
- $B_{peak} = \frac{(47 \times 10^{-6}) \times 5.0}{20 \times (1.25 \times 10^{-4})}$
- $B_{peak} = \frac{0.000235}{0.0025}$
- $B_{peak} = 0.094 \text{ Tesla}$ (or 94 mT)
Since 94 mT is well below the ~350 mT saturation threshold of standard manganese-zinc ferrite at 100°C, this design is safe. The magnetic field has enough "headroom" to store the required energy without the core material running out of available magnetic domains to align. For a deeper dive into the underlying physics constants and unit conversions, the Georgia State University HyperPhysics portal provides an excellent interactive reference for magnetic concepts.
Where You Meet This in Practice
You interact with the practical applications of magnetism every time you power up a project. Here is where it physically manifests in your builds:
- Current Sensing: Hall-effect sensors (like the ACS712 or DRV425) measure the magnetic field generated by current flowing through a conductor, allowing you to measure high DC or AC currents without inserting a shunt resistor and wasting power as heat.
- Brushless DC (BLDC) Motors: The electronic speed controller (ESC) sequentially energizes stator coils to create a rotating magnetic field, which pulls the permanent magnets on the rotor. The timing of this magnetic hand-off is dictated by back-EMF zero-crossing detection or Hall sensors.
- EMI Filtering: Common-mode chokes use magnetic coupling to block high-frequency noise. The noise currents flow in the same direction, their magnetic fields add up in the core, creating high impedance. The desired differential signal currents flow in opposite directions, their magnetic fields cancel out, and the signal passes unimpeded.
Decision Tree: Selecting a Magnetic Core Material
When winding your own transformers or inductors, picking the wrong core material will result in massive eddy current losses, overheating, and poor efficiency. Use this decision matrix to select the right material based on your operating frequency and application.
| Application Scenario | Operating Frequency | Required Magnetic Property | Core Material Category | Specific Grade / Part Pick |
|---|---|---|---|---|
| Mains Transformer (50/60Hz) | < 400 Hz | High saturation flux density, low cost | Silicon Steel Laminations | Grain-oriented M6 Steel |
| Audio Output Transformer | 20 Hz - 20 kHz | High permeability, low hysteresis loss | Nickel-Iron Alloy (Permalloy) | Mumetal or 80% Ni Permalloy |
| Switch-Mode Power Supply (Buck/Boost) | 50 kHz - 500 kHz | High resistivity (low eddy currents), sharp saturation | Manganese-Zinc Ferrite | Ferroxcube 3C90 or TDK N87 |
| RF Choke / Antenna Matching | 1 MHz - 50 MHz | Very low core loss at high frequency, distributed air gap | Powdered Iron | Micrometals #6 (Yellow/Black) |
Frequently Asked Questions
Can magnetism travel through a vacuum?
Yes. Unlike sound or thermal conduction, magnetic fields do not require a physical medium. The magnetic flux lines propagate perfectly through a vacuum, which is why electric motors can operate in the vacuum of space, and why transformers can theoretically transfer energy across an air gap (though with significant leakage inductance and poor efficiency compared to using a high-permeability ferrite core).
Why do we use an air gap in ferrite cores for inductors but not for transformers?
In a transformer, you want maximum magnetic coupling and high inductance to minimize magnetizing current, so the core is left ungapped. In an inductor, the component must store energy. An ungapped ferrite core saturates at very low current levels. By introducing a physical air gap (using a spacer or a pre-gapped core bobbin), you drastically reduce the effective permeability. This forces the magnetic field to store its energy in the gap rather than the ferrite, preventing saturation at high DC bias currents. For precise gap calculations and inductance modeling, the Magnetics Design Software suite is the industry-standard free tool.
Does temperature affect magnetic saturation?
Yes, severely. As a ferrite core heats up, its saturation flux density ($B_{sat}$) drops. A core that safely handles 350 mT at 25°C might saturate at 280 mT when it reaches 100°C inside an enclosed project box. Always calculate your peak flux density using the high-temperature $B_{sat}$ rating from the datasheet, not the room-temperature figure, to ensure your power supply survives a hot summer day.






