Microprocessor Based DesignUnit 58 min read
EMI/EMC: Causes, Effects, Mitigation & Standards
Unit 5 of Microprocessor Based Design explores electromagnetic interference (EMI) and electromagnetic compatibility (EMC), covering sources, effects on microcontroller systems, mitigation techniques, and regulatory standards like CISPR and FCC. Learn how to design EMI-resistant circuits and troubleshoot real-world issu
TAKEAWAYS:
- EMI is unwanted electromagnetic noise that disrupts microcontroller operations, caused by conducted (wires) or radiated (air) emissions.
- EMC ensures devices operate without interfering with each other, governed by standards like CISPR 22 (home electronics) and FCC Part 15 (unintentional radiators).
- Shielding, filtering, and grounding are key mitigation techniques, with ferrite beads and common-mode chokes used for high-frequency noise suppression.
- Differential signaling (e.g., UART, I²C) reduces EMI compared to single-ended signals.
- Faraday cages and twisted-pair cables are physical solutions to contain or minimize EMI in real-world systems like Ncell base stations or Khalti payment terminals.
- Pre-compliance testing (e.g., near-field probes) helps identify EMI issues before formal certification.
1. What is Electromagnetic Interference (EMI)?
EMI occurs when electromagnetic noise from one source disrupts the normal operation of another electronic device. In microcontroller-based systems, EMI can corrupt data, cause resets, or introduce errors in sensor readings.
Sources of EMI
EMI can originate from:
- Internal sources: Switching regulators, clock circuits, or PWM signals in the microcontroller itself.
- External sources: Power lines, fluorescent lights, cell phones, or nearby RF transmitters (e.g., NTC’s microwave ovens interfering with nearby IoT devices).
mindmap
root((EMI Sources))
Internal
Switching Regulators
Clock Circuits
PWM Signals
External
Power Lines
Fluorescent Lights
RF Transmitters (Wi-Fi, Bluetooth)
Motors (e.g., Daraz delivery drones)How EMI Affects Microcontrollers
- Data corruption: Noise on data lines (e.g., UART, SPI) causes bit errors.
- Unintended resets: Sudden voltage spikes from EMI can trigger watchdog timers or brown-out detectors.
- Sensor inaccuracies: Analog signals (e.g., temperature sensors in Pathao’s fleet management) may show false readings due to induced noise.
2. Electromagnetic Compatibility (EMC): The Goal
EMC is the ability of a device to function correctly in its electromagnetic environment without emitting excessive noise that disrupts other devices. Key aspects:
- Immunity: Resistance to external EMI (e.g., NEPSE trading terminals not crashing during stock market spikes).
- Emissions: Limiting the device’s own EMI (e.g., Khalti’s payment gateways not interfering with nearby ATMs).
EMC Standards
| Standard | Scope | Key Limit |
|---|---|---|
| CISPR 22 | Home electronics (Class A/B) | Radiated emissions (30 MHz–1 GHz) |
| FCC Part 15 | Unintentional radiators (USA) | Conducted/differential noise |
| EN 55022 | European EMC compliance | Burst immunity (1–80 MHz) |
| ISO 11452 | Automotive EMC (e.g., Pathao EVs) | Bulk current injection test |
3. Mitigation Techniques
A. Shielding
- Faraday cages: Enclose sensitive components (e.g., Ncell’s 5G baseband chips) in conductive enclosures to block external fields.
- Shielded cables: Twisted-pair or coaxial cables reduce radiated EMI (used in eSewa’s secure payment cables).
B. Filtering
- Low-pass filters: Remove high-frequency noise from power lines (e.g., Daraz’s server power supplies).
- Ferrite beads: Used on I²C/SPI lines to suppress GHz-range noise.
- Common-mode chokes: Cancel out noise on differential pairs (e.g., UART lines in Khalti POS machines).
C. Grounding and Layout
- Star grounding: All grounds meet at a single point to avoid ground loops (critical in NTC’s SCADA systems).
- Separate analog/digital grounds: Prevents digital switching noise from affecting sensors (e.g., temperature sensors in Pathao’s cold chain logistics).
- PCB trace routing: Keep high-speed signals (clocks, PWM) short and away from sensitive analog lines.
D. Differential Signaling
- UART/I²C/SPI: Use differential pairs (e.g., RS-485 in NEPSE’s trading networks) to reject common-mode noise.
- LVDS: Low-voltage differential signaling for high-speed data (used in Google’s data center links).
4. Real-World Applications
Case 1: Khalti Payment Terminals
- Problem: EMI from nearby ATMs or Wi-Fi routers could corrupt transaction data.
- Solution:
- Shielded enclosures for the microcontroller and SD card slot.
- Ferrite beads on UART lines connecting to the card reader.
- Twisted-pair cables for power supply lines.
Case 2: Ncell Base Stations
- Problem: High-power RF transmitters cause EMI in nearby IoT devices (e.g., smart meters).
- Solution:
- Faraday cages around sensitive electronics.
- Bandpass filters to isolate specific frequency ranges.
- Compliance with CISPR 22 Class B for radiated emissions.
Case 3: Daraz Delivery Drones
- Problem: Motors and GPS modules interfere with each other.
- Solution:
- Separate power planes for motors and electronics.
- Twisted-pair antennas for GPS to reduce radiated noise.
- Pre-flight EMI testing using near-field probes.
5. Worked Example: Fixing EMI in a Traffic Light Controller
Scenario: A microcontroller-based traffic light system (like Kathmandu’s smart traffic) resets randomly due to EMI from nearby power lines.
Step-by-Step Debugging
Identify the noise source:
- Use an oscilloscope to check power line voltage spikes during traffic light changes.
- Result: 100 MHz noise spikes at 5V supply.
Apply mitigation:
- Add a π-filter (capacitor-inductor-capacitor) to the power input.
- Replace single-ended UART with RS-485 differential signaling for remote control.
- Ground the microcontroller’s analog ground separately from the digital ground.
Test compliance:
- Use a near-field probe to measure radiated emissions at 30 cm.
- Before: 80 dBµV (fails CISPR 22).
- After: 50 dBµV (passes).
sequenceDiagram
participant MCU as Microcontroller
participant PowerLine as Power Line
participant Filter as π-Filter
participant UART as UART (RS-485)
participant TrafficLight as Traffic Light Actuators
PowerLine->>MCU: Noise Spike (100 MHz)
MCU-->>TrafficLight: Corrupted Signal (Reset)
MCU->>Filter: Noise Attenuated
Filter->>MCU: Clean Power
MCU->>UART: Differential Signal
UART->>TrafficLight: Stable Control6. Common EMI/EMC Mistakes to Avoid
| Mistake | Consequence | Fix |
|---|---|---|
| Shared ground planes | Ground loops cause noise | Star grounding |
| Long, unshielded traces | Radiated EMI from clocks/PWM | Keep traces short (<1 cm) |
| Poor power decoupling | Voltage spikes during switching | Add 0.1 µF caps near Vcc/GND |
| Single-ended long cables | Susceptible to induced noise | Use twisted-pair or differential |
| Ignoring PCB stackup | Crosstalk between layers | Separate analog/digital layers |
Exam Tip
- Define EMI vs. EMC clearly:
- EMI = interference (problem).
- EMC = compatibility (solution).
- Draw diagrams:
- Faraday cage, π-filter, or differential signaling in exams.
- Relate to real systems:
- Mention Khalti, Ncell, or Daraz in answers to show practical awareness.
- Calculate noise margins:
- If a signal has 3V logic high but EMI adds ±0.5V, the noise margin is 2.5V (acceptable if >0.3V).
- Common exam questions:
- "How would you shield an 8051’s UART port from EMI?" Answer: Use a ferrite bead + twisted-pair cable + separate ground plane.
- "Why does differential signaling reduce EMI?" Answer: Common-mode noise cancels out in the receiver (e.g., RS-485).
Based on the TU BSc CSIT syllabus for Microprocessor Based Design, unit 5.
Discussion
Loading…