---
title: Free-space optical links
heading: Sending data on a laser beam through air or space: divergence, capture, attenuation and pointing
eyebrow: S13 · Lesson 47 · Free-space optical links
xp: 50
---

::: hook
Lesson 46's fiber links guide light the whole way. Sometimes there's no fiber: between buildings, between satellites, from a spacecraft to the ground. A **free-space optical link** sends a laser beam across the gap and catches what it can with a telescope. Its great advantage over radio is the narrow beam: a 2 cm aperture at 1550 nm spreads less than a big radio dish, so little power is wasted and the link is hard to intercept. Its weaknesses are the other side of the same coin: a narrow beam must be pointed with microradian accuracy, and fog can wipe out a terrestrial link entirely. Lesson 2's Gaussian beams give every number needed.
:::

::: play
- A Gaussian beam with a 1 cm waist radius at 1550 nm, spreading with half-angle $\theta = \lambda/(\pi w_0)$ = 49 µrad. The curve is the fraction of its power a receiver of aperture radius $r$ catches at range $z$, $1 - e^{-2r^2/w(z)^2}$, with $w(z) = w_0\sqrt{1 + (z\theta/w_0)^2}$.
- Up to a few hundred meters the receiver catches nearly everything; beyond, the beam outgrows it and the power falls as $1/z^2$.
:::

```sim plot
view: graph
x: z = 0.1..100 log
y: F = 0.0001..1 log
slider: r = 1..20 step 1 = 5
slider: w0 = 0.2..5 step 0.1 = 1
plot: 1 - exp(-2*(r*1e-2)^2/((w0*1e-2)^2*(1 + (z*1e3*1550e-9/(pi*(w0*1e-2)^2))^2))) | label: fraction captured
readout: divergence half-angle, µrad = 1550e-9/(pi*w0*1e-2)*1e6
```

::: predict
## A 1550 nm beam with a 1 cm waist radius crosses 2 km to a receiver with a 5 cm radius aperture. Roughly what fraction of the power does it catch?

- [ ] 99%
- [x] About 40%
- [ ] About 4%
- [ ] 0.1%

::: reveal
The divergence is 49 µrad, so at 2 km the beam's radius is about $2000 \times 49 \times 10^{-6}$ = 9.9 cm. A 5 cm aperture catches $1 - e^{-2(5/9.9)^2}$ = 40%: a geometric loss of 4 dB. A wider transmit beam would diverge less, at the cost of a larger transmit telescope.
:::
:::

::: nameit
## Geometric spreading

A Gaussian beam of waist radius $w_0$ diverges with half-angle $\theta = \lambda/(\pi w_0)$, and its radius at range $z$ is $w(z) = w_0\sqrt{1 + (z/z_R)^2}$ with $z_R = \pi w_0^2/\lambda$. A centered receiving aperture of radius $r$ captures

$$\eta_{geo} = 1 - e^{-2r^2/w(z)^2}$$

which for a small aperture far away is $\approx 2r^2/w^2$, falling as $1/z^2$: the same law as radio, with a far smaller beam.

## Atmospheric loss

Clear air attenuates near-infrared light by a few tenths of a dB/km; haze by several; fog by tens to hundreds of dB/km, which a terrestrial link can't overcome, so such links are short, or backed up by radio. **Scintillation**, twinkling from turbulence, makes the received power fluctuate and needs fade margin.

## Pointing

If the beam is aimed off by an angle $\theta_e$, the receiver sits at a displacement $z\theta_e$ from the beam's center, and the intensity there is $e^{-2(z\theta_e)^2/w^2}$ times the peak. With $w \approx z\theta$, that's $e^{-2(\theta_e/\theta)^2}$: an error of half the divergence costs 2.2 dB, an error equal to it costs 8.7 dB. Narrow beams need fine pointing and tracking, often with a fast-steering mirror and a beacon.

## The link budget

Received power = transmitted power × geometric capture × atmospheric transmission × optical efficiencies × pointing loss. Compared with the receiver's sensitivity (lesson 36), it gives the margin, just as in a radio link (C10).
:::

::: example
## A link uses a 1 cm waist at 1550 nm across 2 km to a 5 cm radius receiver. Find the divergence, the beam radius at the receiver, and the geometric loss.

::: solution
1. **Divergence.**
   $$\begin{aligned} \theta &= \frac{1.55 \times 10^{-6}}{\pi \times 0.01} \\ &= 49.3\ \mu\text{rad} \end{aligned}$$
2. **Rayleigh range.**
   $$\begin{aligned} z_R &= \frac{\pi(0.01)^2}{1.55 \times 10^{-6}}\ \text{m} \\ &= 203\ \text{m} \end{aligned}$$
3. **Beam radius at 2 km.**
   $$\begin{aligned} w &= 0.01\sqrt{1 + (2000/203)^2}\ \text{m} \\ &= 9.92\ \text{cm} \end{aligned}$$
4. **Captured fraction.**
   $$\begin{aligned} \eta &= 1 - e^{-2(5/9.92)^2} \\ &= 0.398 \end{aligned}$$
   a loss of 4.0 dB.

**Answer:** the divergence is 49.3 µrad, the beam radius at the receiver 9.92 cm, and the geometric loss 4.0 dB.
:::
:::

::: example
## The 2 km link transmits 10 mW and needs −40 dBm at the receiver. In haze of 3 dB/km with 3 dB of optics losses, what margin does it have? What about fog at 30 dB/km?

::: solution
1. **Transmit power.** 10 mW is +10 dBm.
2. **Losses in haze.** Geometry, haze over 2 km and optics take
   $$4.0 + 6 + 3 = 13\ \text{dB}$$
3. **Received power.**
   $$10 - 13 = -3\ \text{dBm}$$
   which is 37 dB of margin over the −40 dBm needed.
4. **In fog.** The atmosphere alone takes 60 dB:
   $$10 - 4 - 60 - 3 = -57\ \text{dBm}$$
   arrives, 17 dB short.
5. **Design practice.** Terrestrial optical links are engineered for the local fog statistics, typically with a radio fallback.

**Answer:** the link has 37 dB of margin in haze, and in fog it falls 17 dB short.
:::
:::

::: example
## The same beam is mispointed by 20 µrad. How much power is lost?

::: solution
1. **Pointing ratio.**
   $$\begin{aligned} \frac{\theta_e}{\theta} &= \frac{20}{49.3} \\ &= 0.406 \end{aligned}$$
2. **Intensity at the receiver.** It falls by
   $$\begin{aligned} e^{-2 \times 0.406^2} &= e^{-2 \times 0.165} \\ &= 0.72 \end{aligned}$$
   a 1.4 dB loss.
3. **In practice.** Building sway and thermal drift easily exceed that, which is why rooftop links use active tracking or a deliberately wider beam.

**Answer:** the mispointing costs 1.4 dB: the receiver gets 0.72 of the power.
:::
:::

::: check
given: l = 0.85 | 1.55 | 10.6; w0 = 0.5 | 1 | 5
answer: l*1e-6/(pi*w0*1e-2)*1e6
unit: µrad
tolerance: 0.5%

## What is the divergence half-angle of a Gaussian beam of waist radius {w0} cm at {l} µm?

::: right
Right. $\lambda/(\pi w_0)$ = {answer}.
:::

::: misses
- [l*1e-6/(w0*1e-2)*1e6] Include the π.
- [l*1e-6/(pi*w0*1e-2/2)*1e6] $w_0$ is the waist radius already.
- [any] Not yet. $\theta = \lambda/(\pi w_0)$.
:::
:::

::: check
given: r = 2 | 5 | 10; w = 5 | 10 | 30
answer: (1 - exp(-2*r^2/w^2))*100
tolerance: 0.5%

## A receiver of radius {r} cm sits centered in a Gaussian beam of radius {w} cm. What percentage of the power does it capture?

::: right
Right. $1 - e^{-2r^2/w^2}$ = {answer}%.
:::

::: misses
- [(r/w)^2*100] That's the area ratio of a flat beam; a Gaussian concentrates power at its center.
- [any] Not yet. $1 - e^{-2r^2/w^2}$.
:::
:::

::: check
given: w0 = 0.5 | 1 | 2; z = 1 | 5 | 40
answer: w0*1e-2*sqrt(1 + (z*1e3*1550e-9/(pi*(w0*1e-2)^2))^2)*1e2
unit: cm
tolerance: 0.5%

## A 1550 nm beam with a {w0} cm waist radius travels {z} km. What is its radius there?

::: right
Right. $w_0\sqrt{1 + (z/z_R)^2}$ = {answer}.
:::

::: misses
- [any] Not yet. $z_R = \pi w_0^2/\lambda$.
:::
:::

::: check
given: e = 0.25 | 0.5 | 1
answer: -10*log(exp(-2*e^2))
tolerance: 0.5%

## A beam is mispointed by {e} times its divergence half-angle. How many dB of power does the receiver lose?

::: right
Right. $-10\log_{10}e^{-2(\theta_e/\theta)^2}$ = {answer} dB.
:::

::: misses
- [-20*log(exp(-2*e^2))] It's a power ratio: 10 log.
- [any] Not yet. Intensity falls as $e^{-2(\theta_e/\theta)^2}$.
:::
:::

::: check
kind: parts
given: P = 1 | 10 | 100; g = 2 | 6 | 15; a = 0.3 | 3 | 30; d = 2 | 5; S = -45 | -35

## A link transmits {P} mW over {d} km with {g} dB of geometric loss, {a} dB/km of atmospheric loss and 3 dB of optics loss; the receiver needs {S} dBm.

::: part
answer: 10*log(P) - g - a*d - 3
unit: dBm
tolerance: 0.5%

### What power arrives?

::: misses
- [10*log(P) - g - a - 3] Atmospheric loss is per kilometer: multiply by {d}.
- [any] Not yet. Transmit power in dBm minus all losses.
:::
:::

::: part
answer: 10*log(P) - g - a*d - 3 - S
tolerance: 0.5%

### What is the margin in dB?

::: misses
- [10*log(P) - g - a*d - 3 + S] Subtract the sensitivity.
- [any] Not yet. Received minus required.
:::
:::

::: right
Right. A negative margin means the link fails in that weather.
:::
:::

::: check
kind: choice

## Why does a free-space optical link between buildings need tracking, when a microwave link over the same distance doesn't?

- [x] The optical beam's divergence is tens of microradians, so building sway and thermal drift move it off the receiver; a microwave beam is degrees wide
- [ ] Light is absorbed by sway
- [ ] Optical receivers need to be refocused continuously
- [ ] Microwave links use tracking too, but slower

::: right
Right. The narrow beam that makes optical links efficient also makes them sensitive to pointing errors of tens of microradians.
:::

::: misses
- [2] Sway moves the beam; it doesn't absorb it.
- [3] Focus isn't the issue; aim is.
- [4] Fixed microwave links are rarely tracked; their beams are wide enough.
:::
:::

::: check
kind: python
given: w0 = 0.5 | 1 | 2; r = 2 | 5; sigma = 5 | 20

## Model pointing jitter. A 1550 nm beam with waist `w0` = {w0} cm crosses 2 km to a receiver of radius `r` = {r} cm. The pointing error in each of two axes is Gaussian with standard deviation `sigma` = {sigma} µrad (`numpy.random.default_rng(2)`, 100 000 samples per axis, x first). For a displaced beam, use the captured fraction $\eta_0e^{-2\rho^2/w^2}$ with ρ the displacement at the receiver and $\eta_0$ the centered capture (valid when the aperture is smaller than the beam). Set `mean_loss_db` (the loss of the mean captured power relative to perfect pointing) and `p_fade`, the fraction of samples losing more than 3 dB.

```python starter
import numpy as np
mean_loss_db = 0.0
p_fade = 0.0
```

```python solution
import numpy as np
lam, z = 1.55e-6, 2000
w = w0 * 1e-2 * np.sqrt(1 + (z * lam / (np.pi * (w0 * 1e-2) ** 2)) ** 2)
rng = np.random.default_rng(2)
ex = rng.normal(0, sigma * 1e-6, 100000)
ey = rng.normal(0, sigma * 1e-6, 100000)
rho2 = (z * ex) ** 2 + (z * ey) ** 2
g = np.exp(-2 * rho2 / w ** 2)
mean_loss_db = float(-10 * np.log10(g.mean()))
p_fade = float(np.mean(g < 10 ** -0.3))
```

```python tests
import numpy as np
lam, z = 1.55e-6, 2000
w = w0 * 1e-2 * np.sqrt(1 + (z * lam / (np.pi * (w0 * 1e-2) ** 2)) ** 2)
rng = np.random.default_rng(2)
ex = rng.normal(0, sigma * 1e-6, 100000); ey = rng.normal(0, sigma * 1e-6, 100000)
g = np.exp(-2 * ((z * ex) ** 2 + (z * ey) ** 2) / w ** 2)
assert abs(mean_loss_db - (-10 * np.log10(g.mean()))) < 1e-9, "mean_loss_db is the loss of the average captured power."
assert abs(p_fade - np.mean(g < 10 ** -0.3)) < 1e-12, "p_fade counts samples more than 3 dB down."
```

::: right
Right. Jitter costs average power and, worse, causes deep fades; the ratio of the jitter to the beam's divergence decides which, which is why designers sometimes widen a beam on purpose.
:::
:::

::: explain
## A satellite-to-ground laser link has a beam far narrower than any radio link's. Explain why that makes its link budget much better than a radio link of similar power, and what new problems it brings.

::: model
The beam's divergence is about $\lambda/(\pi w_0)$, and an optical wavelength is about ten thousand times shorter than a microwave one, so a small telescope produces a beam microradians wide. At the ground, the beam's footprint is meters to tens of meters across instead of the hundreds of kilometers of a radio beam, so a ground telescope intercepts a far larger fraction of the transmitted power, a geometric gain of tens of decibels. The narrowness brings the problems: the satellite must point to within a fraction of the divergence, microradians, while moving fast, which needs a beacon from the ground and fine-steering mirrors; clouds block the link entirely, so ground stations are placed in dry climates and networks need site diversity; and atmospheric turbulence makes the received power scintillate and distorts the beam, which adaptive optics or receiver aperture averaging mitigates.
:::
:::

::: practice

::: check
given: l = 1.06 | 1.55; w0 = 0.3 | 3
answer: l*1e-6/(pi*w0*1e-2)*1e6
unit: µrad
tolerance: 0.5%

## What is the divergence of a {w0} cm waist beam at {l} µm?

::: misses
- [l*1e-6/(w0*1e-2)*1e6] Include π.
- [any] $\lambda/(\pi w_0)$.
:::
:::

::: check
given: r = 3 | 8; w = 12 | 40
answer: (1 - exp(-2*r^2/w^2))*100
tolerance: 0.5%

## What percentage of a {w} cm Gaussian beam does a centered {r} cm aperture capture?

::: misses
- [(r/w)^2*100] A Gaussian isn't flat: use $1 - e^{-2r^2/w^2}$.
- [any] $1 - e^{-2r^2/w^2}$.
:::
:::
:::
