Electromagnetic Interference (EMI) is the disruption of an electronic circuit's normal operation caused by an external electromagnetic field or conducted electrical noise. When EMI couples into your system, it changes the baseline noise floor of your signals, which can result in inaccurate analog-to-digital converter (ADC) readings, false logic triggers on digital pins, or complete microcontroller brownouts and resets.
The Physics of EMI: Radiated vs. Conducted Coupling
To fix EMI, you first have to identify how it is entering your circuit. Energy transfers from an aggressor (the noise source) to a victim (your sensitive circuit) through two primary paths:
- Conducted EMI: Noise travels physically through shared conductors, such as power rails, ground planes, or signal wires. This is dominant at lower frequencies (typically below 30 MHz) and is usually caused by switching power supplies or shared impedance in ground paths.
- Radiated EMI: Noise travels through the air as electromagnetic waves. The aggressor acts as an unintentional antenna, and the victim's traces or cables act as a receiving antenna. This dominates at higher frequencies (above 30 MHz), such as the 2.4 GHz harmonics generated by an ESP32-WROOM-32 WiFi module.
According to All About Circuits, radiated coupling is heavily dependent on the physical loop area of your circuit traces. A high-speed clock signal routed with a distant ground return creates a large loop area, acting as an efficient magnetic loop antenna that both emits and receives interference.
Worked Example: Calculating Crosstalk Noise on a PCB Trace
Let's look at a real-world scenario where conducted and radiated EMI blur into 'crosstalk' on a printed circuit board. Suppose you are routing a 5V PWM signal (the aggressor) directly parallel to a sensitive analog sensor trace (the victim) on a custom PCB.
We can calculate the induced voltage spike on the victim trace using the mutual inductance formula:
Vnoise = M × (di/dt)
Assumptions and Values:
- M (Mutual Inductance): For two 10-mil wide traces spaced 10 mils apart over a 2-inch run, the mutual inductance is approximately 15 nH (15 × 10-9 H).
- di (Change in Current): The PWM line switches a 20 mA load.
- dt (Switching Time): A modern 74HC logic gate or microcontroller GPIO has a fast edge rate of about 10 ns (10 × 10-9 s).
The Calculation:
- Calculate di/dt: 0.020 A / 10 × 10-9 s = 2 × 106 A/s
- Multiply by M: 15 × 10-9 H × 2 × 106 A/s = 0.030 V (30 mV)
The Impact: A 30 mV spike might seem small on a 5V digital line, but if your victim trace is carrying a 0–100 mV signal from a shunt resistor to a 12-bit ADC, that 30 mV spike represents a 30% measurement error. To fix this, you would increase the trace spacing (reducing M) or add a grounded guard trace between them.
Where You Meet EMI in Practice
You don't need an anechoic chamber to encounter EMI. Here is where it routinely breaks hobbyist and prosumer installations:
| Environment | Common Aggressor Source | Coupling Method | Typical Symptom |
|---|---|---|---|
| Home Workshop | Variable Frequency Drives (VFDs) on CNC routers | Conducted (mains) & Radiated | Arduino/ESP32 resets when spindle starts; I2C LCD displays garbage characters. |
| Automotive / 12V | Ignition coils and fuel injectors | Conducted (shared 12V rail) | Audio amplifier whine that scales with engine RPM; sensor brownouts. |
| IoT Breadboarding | Switch-mode power supplies (SMPS) / cheap wall warts | Conducted (DC output ripple) | High noise floor on analog audio circuits; erratic capacitive touch readings. |
| Robotics | Radiated (brush arcing) & Conducted | Encoder miscounts; UART communication frame errors. |
For long cable runs in these environments, such as RS-485 sensor networks, using twisted-pair cable (like standard Cat6) is mandatory. The twisting ensures that any radiated magnetic field induces equal and opposite voltages in adjacent loops, effectively canceling the common-mode noise at the differential receiver.
What People Commonly Confuse EMI With
Terminology Check: EMI vs. RFI vs. EMC vs. EMS
- EMI (Electromagnetic Interference): The actual noise or energy that causes the disruption. (The problem).
- RFI (Radio Frequency Interference): A subset of EMI. RFI specifically refers to interference in the radio frequency spectrum (typically 20 kHz to 300 GHz). All RFI is EMI, but not all EMI is RFI (e.g., 60 Hz mains hum is EMI, not RFI).
- EMS (Electromagnetic Susceptibility): The measure of how easily a device is affected by EMI. A device with high susceptibility is easily disrupted. (The vulnerability).
- EMC (Electromagnetic Compatibility): The ultimate goal. A system has achieved EMC when it neither generates excessive EMI nor is overly susceptible to the EMI generated by others. (The solution/state).
Makers often use 'RFI' when they mean 'EMI'. If your 3D printer stepper motors are causing noise on a 12V DC line, that is conducted EMI, not RFI, because the switching frequencies of the stepper drivers (usually 20 kHz to 50 kHz) fall well below the traditional radio frequency spectrum. For deeper regulatory definitions, the EMC Standards Activity provides comprehensive breakdowns of international compliance frameworks.
Frequently Asked Questions
What is EMI shielding and how does it work?
EMI shielding involves enclosing a circuit or cable in a conductive barrier (like a copper Faraday cage, aluminum enclosure, or metalized Mylar tape) to block radiated electromagnetic fields. It works via two mechanisms: reflection and absorption. High-conductivity materials like copper reflect high-frequency electric fields, while high-permeability materials like mu-metal or steel absorb and redirect low-frequency magnetic fields. For shielding to work, the enclosure must be tied to a clean, low-impedance chassis ground; an ungrounded shield can actually act as an antenna and make EMI worse.
What is the difference between EMI and RFI?
As noted above, RFI (Radio Frequency Interference) is strictly a subcategory of EMI. EMI encompasses the entire spectrum of electromagnetic noise, from 0 Hz (DC magnetic fields) up through light. RFI only applies to the RF spectrum (roughly 20 kHz and above). If you are debugging a 60 Hz ground loop humming in your audio amplifier, you are dealing with EMI. If your ESP32's 2.4 GHz WiFi transmission is corrupting a nearby 2.4 GHz wireless mouse receiver, you are dealing with RFI.
How do you test for EMI in a home workshop?
While official pre-compliance EMC testing requires a spectrum analyzer and a calibrated antenna in a semi-anechoic chamber, makers can perform near-field debugging on the bench. You can build a simple near-field magnetic probe by winding 10 turns of enameled copper wire around a ferrite core and connecting it to your oscilloscope. Sweeping this probe over your PCB will reveal localized magnetic hotspots (usually near switching inductors or clock oscillators). For radiated RF EMI, a cheap RTL-SDR (Software Defined Radio) USB dongle paired with SDR# software can help you identify the exact frequency your board is broadcasting.
What is EMI filtering in power supplies?
EMI filtering on the input of a Switch-Mode Power Supply (SMPS) prevents the high-frequency switching noise generated inside the supply from traveling back out onto the AC mains wiring. This is typically achieved using a combination of Common Mode Chokes (which block noise that is identical on both Line and Neutral) and X/Y safety capacitors. Safety Warning: Never substitute standard ceramic capacitors for X or Y rated safety capacitors in mains EMI filters. X/Y capacitors are specifically designed to fail open rather than short, preventing lethal mains voltage from reaching the chassis or the user. Always defer to local electrical codes and manufacturer datasheets when designing or repairing mains-connected filters.






