Reference topics: MIT 6.013 · independent study notes, not affiliated

Electromagnetics

Maxwell equations, wave propagation, transmission lines, plane waves, waveguides, and antennas.

5Lectures
1Assignments
1Exams
40hDuration
1

Maxwell Equations and Electromagnetic Waves

The Four Maxwell Equations James Clerk Maxwell (1865) unified electricity, magnetism, and light in four equations: Gauss's law (electric): div D = rho Electric flux diverges from electric...

⏱ 50 min read

The Four Maxwell Equations

James Clerk Maxwell (1865) unified electricity, magnetism, and light in four equations:

Gauss's law (electric):

div D = rho

Electric flux diverges from electric charge.

Gauss's law (magnetic):

div B = 0

Magnetic monopoles don't exist. Magnetic field lines are closed loops.

Faraday's law:

curl E = -dB/dt

A changing magnetic field induces an electric field.

Ampere-Maxwell law:

curl H = J + dD/dt

Current and changing electric field produce magnetic field.

Differential vs Integral Form

Each law has both forms. Integral form uses integrals over surfaces or loops; differential form uses diverges and curls.

Both are equivalent via the divergence theorem and Stokes' theorem.

Constitutive Relations

For linear media:

D = epsilon × E
B = mu × H
J = sigma × E

Where epsilon is permittivity, mu is permeability, sigma is conductivity.

In vacuum:

  • epsilon_0 = 8.854e-12 F/m
  • mu_0 = 4pi e-7 H/m
  • c = 1/sqrt(epsilon_0 mu_0) = 2.998e8 m/s

The Wave Equation

Combining Faraday and Ampere laws gives the wave equation:

d2E/dz2 = mu epsilon × d2E/dt2

Solutions are waves traveling at:

v = 1/sqrt(mu epsilon)

In vacuum, v = c = speed of light.

Maxwell's discovery: light IS an electromagnetic wave.

Plane Waves

A plane wave has E and B perpendicular to each other and to the direction of propagation.

E × B points in the direction of propagation

In vacuum, |E|/|B| = c.

Wave impedance:

eta_0 = sqrt(mu_0/epsilon_0) = 377 ohm

Frequency and Wavelength

lambda = c / f

At 1 MHz: lambda = 300 m
At 100 MHz: lambda = 3 m
At 1 GHz: lambda = 30 cm
At 10 GHz: lambda = 3 cm

Antennas are comparable to wavelength. That's why RF circuits are so different from low-frequency ones.

Applications

  • Wireless communication (radio, Wi-Fi, cellular)
  • Radar and lidar
  • Microwave ovens (2.45 GHz)
  • MRI (magnetic resonance imaging)
  • Optical fibers (guided light)
  • Antennas and transmission lines

Key Takeaways

  • Four Maxwell equations unify EM
  • Constitutive relations describe medium behavior
  • Wave equation: signals propagate at v = 1/sqrt(mu epsilon)
  • In vacuum, v = c
  • Plane waves: E perpendicular to B perpendicular to propagation
  • Wave impedance = 377 ohm in vacuum
  • Frequency determines wavelength, which determines circuit behavior
2

Transmission Lines

Why Transmission Lines? At low frequencies, wires are just wires. At high frequencies (or long distances), they become transmission lines with characteristic impedance, delay, and reflection. Rule of...

⏱ 50 min read

Why Transmission Lines?

At low frequencies, wires are just wires. At high frequencies (or long distances), they become transmission lines with characteristic impedance, delay, and reflection.

Rule of thumb: consider transmission line effects when:

length > lambda/10

Or when the rise time is comparable to the round-trip delay.

The Telegrapher's Equations

For a line with series inductance L and shunt capacitance C per unit length:

dV/dz = -L dI/dt
dI/dz = -C dV/dt

Wave solutions propagate at:

v = 1/sqrt(LC)

Characteristic impedance:

Z_0 = sqrt(L/C)

Typical values:

  • Coax (RG-58): 50 ohm
  • Twisted pair (Cat5): 100 ohm
  • TV coax: 75 ohm

Reflections

When a wave encounters a change in impedance, part reflects back:

Gamma = (Z_L - Z_0) / (Z_L + Z_0)

Where Gamma is the reflection coefficient.

  • Z_L = Z_0: Gamma = 0, no reflection (matched)
  • Z_L = infinity: Gamma = 1, full reflection (open circuit)
  • Z_L = 0: Gamma = -1, full reflection inverted (short)

Voltage standing wave ratio (VSWR):

VSWR = (1 + |Gamma|) / (1 - |Gamma|)

VSWR = 1 is perfect match. VSWR > 2 indicates a problem.

Termination

To prevent reflections, terminate the line at its characteristic impedance:

  • Series termination: resistor at source, Z_s = Z_0
  • Parallel termination: resistor at load, Z_L = Z_0
  • Thevenin termination: two resistors form a Thevenin equivalent of Z_0

Termination is essential for high-speed digital signals (DDR memory, PCIe, Ethernet).

Impedance Matching Networks

For RF circuits, transformers or LC networks transform impedances:

  • L-match: L-network for narrowband
  • Pi-match: pi-network
  • T-match: T-network

Common in amplifiers, antennas, filters.

Standing Waves

When a wave reflects back and forth, it forms standing waves. Nodes (V=0) and antinodes (V=max) appear at specific positions.

Node spacing = lambda/2

Standing waves waste power and cause signal degradation. Matching eliminates them.

Time Domain Reflectometry (TDR)

Send a pulse down a line and observe the reflection. This reveals where impedance changes are (opens, shorts, connector mismatches). Used to diagnose cables and PCB traces.

Microstrip and Stripline

On PCBs, transmission lines are:

  • Microstrip: trace on top layer, ground plane below
  • Stripline: trace between two ground planes

Characteristic impedance depends on width, height, dielectric constant.

For 50 ohm microstrip on FR4: typical width ~ 3 mm for 1.6 mm thick board.

Key Takeaways

  • Transmission line effects at high frequency/long length
  • Telegrapher's equations describe V and I along the line
  • Z_0 characteristic impedance
  • Reflections from impedance mismatch
  • Terminate to prevent reflections
  • Matching networks for RF
  • TDR for diagnosing cable faults
  • Microstrip and stripline on PCBs
3

Antennas and Radiation

What is an Antenna? An antenna converts guided waves (on a transmission line) to free-space waves (in air), or vice versa. Antenna parameters: Gain: how much power is focused in a direction (vs...

⏱ 50 min read

What is an Antenna?

An antenna converts guided waves (on a transmission line) to free-space waves (in air), or vice versa.

Antenna parameters:

  • Gain: how much power is focused in a direction (vs isotropic)
  • Directivity: same, but ignoring efficiency
  • Efficiency: radiated power / input power
  • Polarization: orientation of E field
  • Bandwidth: range of frequencies

The Hertzian Dipole

The simplest antenna: a short dipole. Radiation pattern is like a donut (null along the dipole axis).

Field strength in the far field:

E = j (eta_0 I L / (2 lambda r)) sin(theta) e^(-jkr)

Where L is the dipole length and r is distance from antenna.

Half-Wave Dipole

A dipole of length lambda/2 is resonant — the current forms a standing wave, maximizing radiation.

Input impedance: ~73 + j42 ohm.

The classic "rabbit ears" TV antenna is a half-wave dipole.

Quarter-Wave Monopole

A lambda/4 vertical above a ground plane. Input impedance ~36 ohm.

Pattern: omnidirectional in azimuth. Used for cars, walkie-talkies, Wi-Fi.

Radiation Resistance

The antenna presents a resistance to the driving circuit that represents radiated power.

For a half-wave dipole: R_rad = 73 ohm.

The radiation resistance is what the transmitter "sees" as load.

Antenna Gain

Gain = directivity × efficiency. Measured in dBi (relative to isotropic).

Typical gains:

  • Half-wave dipole: 2.15 dBi
  • Quarter-wave monopole: 5 dBi (with ground plane)
  • Yagi (directional): 10-15 dBi
  • Parabolic dish: 30+ dBi
  • Cell tower sector: 15-18 dBi

Radiation Patterns

Patterns plotted in polar coordinates showing field or power vs angle.

  • Isotropic: uniform sphere (theoretical)
  • Dipole: donut
  • Yagi: forward lobe with back lobes
  • Horn: single beam
  • Dish: narrow pencil beam

Antenna Arrays

Multiple antennas combined to steer the beam electronically. This is how phased arrays work — radar, 5G, satellite dishes.

Steering angle:

sin(theta) = delta_phi × lambda / (2 pi d)

Where delta_phi is the phase difference between elements and d is their spacing.

Friis Equation

Power received vs distance:

P_rx = P_tx × G_tx × G_rx × (lambda / (4 pi R))^2

The 1/R^2 dependence is why wireless range is limited. Doubling distance quarter the received power.

Also called the path loss.

Antenna Types

  • Wire: dipole, monopole, loop
  • Aperture: horn, waveguide slot
  • Reflector: parabolic, corner
  • Array: phased array, Yagi
  • Planar: patch, PIFA (in phones)
  • Chip: tiny ceramic antennas for IoT

Applications

  • Cellular base stations (sector antennas)
  • Wi-Fi routers (dipoles)
  • GPS receivers (patch)
  • Radar (phased arrays)
  • Radio telescopes (huge parabolic dishes)
  • Satellites (horn, reflector)
  • RFID tags (small loops)

Key Takeaways

  • Antennas convert guided to free-space waves
  • Gain, directivity, efficiency, polarization describe antennas
  • Half-wave dipole: R_rad = 73 ohm, gain 2.15 dBi
  • Arrays steer beams electronically
  • Friis equation: P_rx ~ 1/R^2
  • Many types: wire, aperture, array, planar
  • Antenna size scales with wavelength
4

Waveguides and Microwave Engineering

Waveguides At microwave frequencies (GHz and above), transmission lines become lossy. Waveguides — hollow metal tubes — guide EM waves with much lower loss. Standard: rectangular waveguide with...

⏱ 50 min read

Waveguides

At microwave frequencies (GHz and above), transmission lines become lossy. Waveguides — hollow metal tubes — guide EM waves with much lower loss.

Standard: rectangular waveguide with cross-section a × b.

Waveguide Modes

Waves propagate in specific patterns called modes:

  • TE (transverse electric): no E in the direction of propagation
  • TM (transverse magnetic): no H in the direction of propagation
  • TEM: both E and H transverse (only in coax, not hollow waveguide)

TE10 is the dominant mode in rectangular waveguide (lowest cutoff).

Cutoff Frequency

Each mode has a cutoff frequency below which it doesn't propagate:

fc = c / (2a) (for TE10)

Above cutoff, the wave propagates. Below, it decays exponentially (evanescent).

Waveguide size determines the frequency band. X-band (8-12 GHz) uses ~22 mm × 10 mm guide.

Phase and Group Velocity

In a waveguide:

v_phase × v_group = c^2

Phase velocity is faster than c (no information transferred).

Group velocity (energy propagation) is slower than c.

Impedance

Waveguide impedance for TE10 mode:

Z_TE = eta_0 / sqrt(1 - (fc/f)^2)

At cutoff, impedance goes to infinity. Far above, it approaches eta_0.

Waveguide Components

  • Flanges: mechanical connectors
  • Bends and twists: change direction of propagation
  • Tees: split power
  • Couplers: sample a fraction of the power
  • Isolators: pass one direction only
  • Circulators: 3-port nonreciprocal device
  • Filters: resonant cavities
  • Loads: dummy terminations

Microwave Circuit Design

At microwave frequencies, circuits are distributed. Transmission line sections replace lumped elements:

  • Inductor: high-impedance line
  • Capacitor: low-impedance line
  • Resonator: lambda/2 or lambda/4 section

The Smith chart is the graphical tool for matching and analysis.

Smith Chart

A polar plot of reflection coefficient Gamma. Transformations:

  • Adding series line: rotate clockwise
  • Adding series reactance: move along constant-R circle
  • Adding shunt susceptance: move along constant-G circle

Still used today for RF design.

Microwave Applications

  • Radar: weather, air traffic, automotive (77 GHz)
  • Satellite communications: Ku, Ka band
  • 5G: sub-6 GHz and mmWave (24-40 GHz)
  • Microwave ovens: 2.45 GHz heating
  • Medical: hyperthermia, ablation
  • Material processing: sintering, drying

Key Takeaways

  • Waveguides for low-loss microwave transmission
  • Modes: TE, TM, TEM
  • Cutoff frequency depends on dimensions
  • Phase velocity > c, group velocity < c
  • Many components: bends, tees, isolators, filters
  • Smith chart for matching
  • Applications in radar, comms, heating, medical
5

Electromagnetic Compatibility (EMC)

Why EMC? Electronic devices must work in the presence of electromagnetic interference (EMI) without causing interference themselves. This is regulated (FCC in US, CE in EU). Two aspects: Emission:...

⏱ 50 min read

Why EMC?

Electronic devices must work in the presence of electromagnetic interference (EMI) without causing interference themselves. This is regulated (FCC in US, CE in EU).

Two aspects:

  • Emission: device doesn't emit too much EMI
  • Immunity: device tolerates external EMI

Sources of EMI

  • Switching power supplies (SMPS)
  • Digital clocks and high-speed data lines
  • Motors and relays (arcing)
  • Wireless transmitters (Wi-Fi, cellular)
  • ESD (electrostatic discharge)
  • Lightning

Coupling Mechanisms

Conducted: noise travels along wires (power lines, signal cables).

Radiated: noise travels through the air as EM waves.

Capacitive (electric field): between nearby conductors.

Inductive (magnetic field): between nearby current loops.

Grounding

A good ground is the foundation of EMC.

Single-point ground: all returns meet at one point. Good for low-frequency, sensitive analog.

Multi-point ground: ground plane. Good for high-frequency, digital.

Hybrid: combine both, with capacitors or ferrites between.

Ground loops cause noise. Star grounding or transformer isolation breaks loops.

Shielding

Metal enclosures block EM fields. Effectiveness depends on:

  • Conductivity of the shield
  • Thickness (skin depth)
  • Frequency (higher frequency easier to block, but slots become antennas)

Skin depth:

delta = sqrt(2 / (omega mu sigma))

At 1 MHz in copper: ~66 µm. At 1 GHz: ~2 µm.

Slots and holes in shields leak. Keep slots < lambda/20 for good attenuation.

Filtering

Common-mode chokes, ferrite beads, and EMI filters remove noise on cables.

Common-mode choke: two windings on a common core. Differential signal passes; common-mode noise is attenuated.

Ferrite bead: absorbs high-frequency energy as heat. Used on power and signal lines.

PCB Layout for EMC

  • Keep high-speed signals short
  • Ground planes under high-speed traces
  • Terminate transmission lines
  • Avoid split ground planes
  • Route noisy traces away from sensitive ones
  • Use differential signaling for critical signals (USB, Ethernet, HDMI)
  • Bypass capacitors at every IC

ESD Protection

ESD can be 30 kV. It destroys ICs or causes soft failures.

Protection:

  • TVS diodes (transient voltage suppressors)
  • ESD diodes on I/O pins
  • Series resistors to limit current
  • Ground planes and proper layout

IEC 61000-4-2 defines ESD test standards: contact discharge 8 kV, air 15 kV.

Regulatory Standards

  • FCC Part 15: US, limits on radiated and conducted emissions
  • CISPR 22/32: international emissions
  • IEC 61000-4-x: immunity tests
  • CE: EU marking, requires EMC compliance
  • Automotive: CISPR 25, ISO 11452

Testing is done in anechoic chambers with calibrated antennas.

Key Takeaways

  • EMC: emission + immunity, regulated by law
  • EMI sources: SMPS, digital, motors, wireless
  • Coupling: conducted, radiated, capacitive, inductive
  • Grounding: single-point for low freq, plane for high freq
  • Shielding: works if slots < lambda/20
  • Filtering: common-mode chokes, ferrites
  • PCB layout is critical for EMC
  • ESD protection with TVS diodes
  • Regulatory testing is mandatory

📝 Problem Set 1: Maxwell Equations, Plane Waves

Q1. Starting from Maxwell equations in vacuum, derive the wave equation for E.

Show Solution

∇×E = -∂B/∂t. Take curl: ∇×(∇×E) = -∂(∇×B)/∂t. Use identity: ∇(∇·E) - ∇²E = -μ₀ε₀ ∂²E/∂t². In vacuum ∇·E = 0, so ∇²E = μ₀ε₀ ∂²E/∂t². Wave speed c = 1/√(μ₀ε₀).

Q2. A uniform plane wave in vacuum has E = 10cos(6π×10⁸t - 2πz) âx V/m. Find frequency, wavelength, direction of propagation, and H field.

Show Solution

ω = 6π×10⁸ → f = 3×10⁸ Hz = 300 MHz. λ = c/f = 1 m. Direction: +z. η₀ = 377 Ω. H = (10/377)cos(ωt-2πz) ây = 26.5cos(...) ây mA/m.

Q3. Calculate the skin depth in copper at 60 Hz and at 1 GHz. (σ_Cu = 5.8×10⁷ S/m)

Show Solution

δ = √(2/(2πf × 4π×10⁻⁷ × 5.8×10⁷)). At 60 Hz: δ = √(2/(2π×60×4π×10⁻⁷×5.8×10⁷)) = 8.5 mm. At 1 GHz: δ = 2.1 µm. This is why RF currents flow on the surface.

🎯 Midterm 1: Maxwell, Plane Waves, Transmission Lines

Q1. A 50Ω coaxial line is terminated with a 75Ω load. What is the reflection coefficient and VSWR?

Show Solution

Γ = (75-50)/(75+50) = 25/125 = 0.2. VSWR = (1+0.2)/(1-0.2) = 1.5.

Q2. Calculate the critical angle for total internal reflection at a glass-air interface (n_glass = 1.5).

Show Solution

sin(θ_c) = n₂/n₁ = 1/1.5 = 0.667. θ_c = 41.8°.

Q3. A quarter-wave dipole antenna operates at 100 MHz. Find its physical length and input impedance.

Show Solution

λ = c/f = 3m. Half-wave dipole length = λ/2 = 1.5 m. Input impedance ≈ 73Ω. A quarter-wave monopole would be 0.75 m with ~36Ω impedance.