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?
It grows about 2.6 times, from 1.2 km to 3.2 km. The wave spreads the same way at any frequency, but a dipole's effective area, the power it collects per unit of incoming intensity, scales as . A dipole for 915 MHz is 2.6 times longer and catches 6.9 times more power, which buys a 2.6 times longer path, since received power falls as .
Name it
Directivity
An antenna's radiation intensity is power per unit solid angle. Its directivity compares the peak with the average over all directions:
A short dipole, , has D = 1.5 (1.76 dBi); a half-wave dipole, , 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 , or dB, and in decibels the received power is
Mismatch and cable loss
An antenna with standing-wave ratio S reflects of the power, with : a mismatch loss of dB. A coax with conductor radii a and b loses, to the skin effect alone, nepers per meter, with , and ; 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
- Integrate the short dipole's pattern. For ,
- Short dipole's directivity. or 1.76 dBi.
- Half-wave dipole. Its pattern has no simple integral, but a numerical one gives D = 1.641, or 2.15 dBi.
- Compare. The longer dipole squeezes its pattern slightly toward broadside, gaining 0.39 dB.
- 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
- Impedance.
- Surface resistance. At 2.4 GHz copper's surface resistance is
- Conductor loss. The loss works out to 0.54 dB per meter.
- The cables in the link. So 2 m of it at each end costs 2.2 dB:
- Other frequencies. The loss grows as : 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
- Path loss.
- Cable and mismatch losses. The cables cost 2.16 dB and the two mismatches 0.18 dB each:
- Received power.
- 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 .
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?
The free-space formula describes a wave spreading through empty space between two perfectly placed antennas. Real paths have walls, trees, people and the ground, which absorb some of the signal, and reflections that arrive by several routes and partly cancel at the receiver, so the received power can dip far below the free-space value at some spots and moments. Those dips are unpredictable, so instead of computing them, the budget sets aside a margin, often 10 to 20 dB, between the predicted power and the sensitivity. A link with no margin works on the bench and fails in the field whenever a dip comes along.
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.