B714 of 16
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

B7 · Lesson 14 · Project

Antenna directivity, path loss, mismatch and cable loss, combined into a link budget

A wireless sensor in a field sends readings to a gateway in a barn. Will the link work, and how far can it reach? Answering takes everything in this unit: how strongly the antennas focus their radiation, how the wave spreads over distance, how much power a poor antenna match reflects, and how much a coax cable turns into heat through the skin effect. In this project you'll compute each piece from its physics, check it against the textbook values, and combine them into a link budget that gives the range with a safety margin.

  • A transmitter feeds a half-wave dipole through 2 m of thin coax, and an identical setup receives. The curve is the received power against distance, in dBm.
  • The dashed line is the receiver's sensitivity, −90 dBm, raised by a 10 dB fade margin for walls, foliage and multipath. The link works out to where the curve crosses it.
  • Lower the frequency or raise the power: the readout gives the range. Every 6 dB of extra budget doubles it.

Predict

The same radios and dipoles move from 2.4 GHz to 915 MHz, with the same power. What happens to the range?

Name it

Directivity

An antenna's radiation intensity U(θ,φ) is power per unit solid angle. Its directivity compares the peak with the average over all directions:

D=4πUmax∮UdΩ,dΩ=sin⁡θdθdφ.

A short dipole, U∝sin2⁡θ, has D = 1.5 (1.76 dBi); a half-wave dipole, U∝(cos⁡(π2cos⁡θ)sin⁡θ)2, has 1.641 (2.15 dBi). Gain is directivity times the antenna's efficiency.

Path loss and Friis

Between isotropic antennas, the free-space path loss is (4πdfc)2, or 20log10⁡4πdfc dB, and in decibels the received power is

Pr=Pt+Gt+Gr−FSPL−losses.

Mismatch and cable loss

An antenna with standing-wave ratio S reflects |Γ|2 of the power, with |Γ|=S−1S+1: a mismatch loss of −10log10⁡(1−|Γ|2) dB. A coax with conductor radii a and b loses, to the skin effect alone, α=R′2Z0 nepers per meter, with R′=Rs2π(1a+1b), Rs=πfμ0ρ and Z0=59.96εrln⁡ba; that's 8.686α dB per meter. Real cables lose more, from the braid and the dielectric, so this is a lower bound.

The link budget

Add every gain and subtract every loss; compare with the receiver's sensitivity plus a fade margin, typically 10 to 20 dB, for the things free space leaves out. The surplus decides the range: every 6 dB doubles it.

Worked example

Find the directivity of a short dipole and of a half-wave dipole by integrating their patterns.

Show the solution
  1. Integrate the short dipole's pattern. For U=sin2⁡θ, ∮UdΩ=2π∫0πsin3⁡θdθ=8π3
  2. Short dipole's directivity. D=4π8π/3=1.5 or 1.76 dBi.
  3. Half-wave dipole. Its pattern has no simple integral, but a numerical one gives D = 1.641, or 2.15 dBi.
  4. Compare. The longer dipole squeezes its pattern slightly toward broadside, gaining 0.39 dB.
  5. Mounting. Both radiate nothing along their own axis, so a dipole pointed at the gateway is the worst way to mount one.

Answer the short dipole's directivity is 1.5 (1.76 dBi), and the half-wave dipole's is 1.641 (2.15 dBi).

Worked example

A thin coax has a 0.45 mm inner conductor, a 1.47 mm shield radius and polyethylene insulation (εᵣ = 2.25). What is its impedance, and its conductor loss at 2.4 GHz?

Show the solution
  1. Impedance. Z0=59.961.5ln⁡1.470.45=47.3Ω
  2. Surface resistance. At 2.4 GHz copper's surface resistance is Rs=πfμ0ρπfμ0ρ=π×2.4×109×4π×10−7×1.72×10−8=1.63×10−4Rs=12.8mΩ
  3. Conductor loss. The loss works out to 0.54 dB per meter.
  4. The cables in the link. So 2 m of it at each end costs 2.2 dB: 4×0.54=2.2dB
  5. Other frequencies. The loss grows as f: at 100 MHz the same cable loses 11 dB per 100 m. Keeping cables short, or putting the radio at the antenna, matters more at high frequencies.

Answer the coax's impedance is 47.3 Ω, and at 2.4 GHz its conductor loss is 0.54 dB per meter.

Worked example

With 20 dBm (100 mW) into half-wave dipoles at both ends, 2 m of that coax at each end, and antennas with SWR 1.5, what is the received power at 1 km and 2.4 GHz?

Show the solution
  1. Path loss. Lfs=20log10⁡4π×1000×2.4×1093×108=100.05dB
  2. Cable and mismatch losses. The cables cost 2.16 dB and the two mismatches 0.18 dB each: 2.16+2×0.18=2.52dB
  3. Received power. Pr=20+2.15+2.15−2.52−100.05=−78.3dBm
  4. Margin. Against a −90 dBm sensitivity that's an 11.7 dB surplus, just above a 10 dB fade margin: the link would work to about 1.2 km.

Answer about −78.3 dBm arrives at 1 km, 11.7 dB above the receiver's sensitivity, so the link would work to about 1.2 km.

Check

Step 1. Write directivity(U, n) that integrates a pattern U(θ) (a function of a NumPy array of angles, the same for every φ) over the sphere with n midpoints in θ, and returns D=4πUmax∮UdΩ.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 2. Write fspl_db(f, d) for the free-space path loss in dB, and received_dbm(Pt, Gt, Gr, f, d) for the Friis received power (powers in dBm, gains in dBi).

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 3. Write mismatch_db(swr) returning the mismatch loss in dB for a standing-wave ratio swr.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 4. Write coax_db(f, a, b, L, er) that returns (loss_dB, Z0) for L meters of copper coax (ρ = 1.72 × 10⁻⁸ Ω·m) with inner radius a and shield radius b, counting conductor loss only.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 5. Write max_range(Pt, Gt, Gr, f, losses, sens, margin) that returns the distance in meters at which the received power, after the given extra losses (dB), falls to the sensitivity plus the margin. fspl_db is included.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

A link uses half-wave dipoles (2.15 dBi) at both ends, 10 dBm of transmit power, and runs at 0.868 GHz over 1000 m, with no other losses.

(a)

What is the free-space path loss?

(b)

What power arrives?

Check

An antenna has an SWR of 2. What mismatch loss does it cause?

Explain why

Why does a link budget need a fade margin when the free-space calculation already says the signal is above the receiver's sensitivity?

Practice

Keep practicing

4 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.