---
title: Cellular systems and traffic
heading: Frequency reuse, cluster size and co-channel interference, sectoring, and Erlang B blocking
eyebrow: S8 · Lesson 49 · Cellular systems and traffic
xp: 50
---

::: hook
A cellular network serves millions of people with a few hundred channels by reusing them: every cell gets a share, and cells far enough apart use the same channels again. How far apart is a trade between interference and capacity: reuse too closely and co-channel cells drown each other, too sparsely and each cell gets few channels. And because calls arrive randomly, a cell with m channels can't carry m calls' worth of traffic without sometimes turning callers away. The Erlang B formula, from the telephone exchanges of a century ago, sets how many channels a target blocking rate needs.
:::

::: play
- The curve is the signal-to-interference ratio at a cell's edge for hexagonal cells with cluster size N and path-loss exponent n, counting the six nearest co-channel cells: $\text{SIR} \approx \frac{(\sqrt{3N})^n}{6}$.
- With n = 4, a 7-cell cluster gives 18.7 dB and a 4-cell cluster 13.8 dB.
- Steeper path loss (larger n) isolates cells better, so tighter reuse becomes possible.
:::

```sim plot
view: graph
x: N = 1..21
y: S = 0..35 dB
slider: n = 2..5 = 4
plot: 10*log((sqrt(3*N))^n/6) | label: SIR
```

::: predict
## A cell has 10 channels and its users offer 5 erlangs of traffic in the busy hour. About what fraction of calls are blocked?

- [ ] None: 5 calls never exceed 10 channels
- [x] About 1.8%
- [ ] About 50%
- [ ] About 10%

::: reveal
Calls arrive randomly, so sometimes more than 10 overlap. Erlang B gives $B(5, 10) = 0.0184$: 1.8% of call attempts find every channel busy. Halving the blocking needs more channels than the traffic alone suggests, because small groups of channels can't smooth out the randomness.
:::
:::

::: nameit
## Frequency reuse

Hexagonal clusters of N cells, with $N = i^2 + ij + j^2$ for integers i, j (1, 3, 4, 7, 9, 12, 13, …), share the system's channels; each cell gets 1/N of them. Co-channel cells sit $D = R\sqrt{3N}$ apart for cell radius R. At the cell edge, with six first-tier interferers and path loss $\propto d^{-n}$:
$$\frac{S}{I} \approx \frac{(D/R)^n}{6} = \frac{(\sqrt{3N})^n}{6}$$
A required SIR therefore fixes the smallest usable N, and so the channels per cell.

## Sectoring

Splitting each cell into three 120° sectors with directional antennas cuts the first-tier interferers from six to two (in the worst case), raising the SIR by $10\log_{10}3 = 4.8$ dB, which can allow a smaller cluster, though each sector's channels are a smaller trunk.

## Traffic and blocking

Traffic intensity in **erlangs** is the average number of simultaneous calls: A = λH for λ calls per hour each lasting H hours. With m channels and blocked calls lost, the **Erlang B** formula gives the blocking probability
$$B(A, m) = \frac{A^m/m!}{\sum_{k=0}^{m}A^k/k!}$$
computed stably by the recursion $B(A, k) = \frac{A\,B(A, k - 1)}{k + A\,B(A, k - 1)}$, B(A, 0) = 1. The carried traffic A(1 − B) spread over m channels is the **trunking efficiency**: large groups run their channels busier at the same blocking.
:::

::: example
## A system needs 18 dB of SIR with a path-loss exponent of 3.5. What is the smallest usable cluster?

::: solution
1. **The SIR condition.**
   $$\begin{aligned} \frac{(\sqrt{3N})^{3.5}}{6} &\ge 10^{1.8} \\ &= 63.1 \end{aligned}$$
2. **Solve for N.**
   $$\begin{aligned} (3N)^{1.75} &\ge 378.6 \\ 3N &\ge 29.7 \\ N &\ge 9.9 \end{aligned}$$
3. **A valid cluster size.** The valid sizes near that are 9 and 12, so N = 12: each cell gets a twelfth of the channels.
4. **With n = 4.** The same SIR would allow N = 7.

**Answer:** the smallest usable cluster is N = 12.
:::
:::

::: example
## A cell with 10 channels must keep blocking near 2%. If each user makes calls totaling 1.5 minutes in the busy hour, how many users can it serve?

::: solution
1. **Traffic per user.**
   $$\begin{aligned} A &= \frac{1.5}{60} \\ &= 0.025\ \text{erlang} \end{aligned}$$
2. **What the cell carries.** B(5, 10) = 0.018, so the cell carries about 5 erlangs at that blocking.
3. **Users.**
   $$\frac{5}{0.025} = 200\ \text{users}$$
4. **Occupancy.** Its 10 channels are then busy only
   $$\frac{5(1 - 0.018)}{10} = 49\%$$
   of the time on average: the price of small trunks.

**Answer:** about 200 users.
:::
:::

::: example
## Compare a cell with 30 channels as one group against three 120° sectors of 10 channels each, at 2% blocking.

::: solution
1. **Three sectors.** Each 10-channel sector carries about 5 erlangs: 15 in all.
2. **One group.** One 30-channel group at the same blocking carries about 21.9 erlangs.
3. **The trade.** Sectoring raised the SIR by 4.8 dB but cost about a third of the traffic, which is why it's used to allow tighter reuse (more channels per cell) rather than on its own.

**Answer:** the single 30-channel group carries about 21.9 erlangs, against 15 for the three sectors.
:::
:::

::: check
kind: parts
given: N = 3 | 4 | 7 | 12; n = 3 | 4

## Hexagonal cells use a cluster of N = {N} with path-loss exponent {n}.

::: part
answer: sqrt(3*N)
tolerance: 0.5%

### What is the co-channel reuse ratio D/R?

::: misses
- [any] $\sqrt{3N}$.
:::
:::

::: part
answer: 10*log(sqrt(3*N)^n/6)
unit: dB
tolerance: 0.5%

### What SIR does a cell-edge user see?

::: misses
- [10*log(sqrt(3*N)^n)] Six first-tier interferers.
- [any] $(\sqrt{3N})^n/6$.
:::
:::
:::

::: check
kind: parts
given: S = 12 | 15 | 18; n = 3 | 3.5 | 4

## A system needs {S} dB of SIR with path-loss exponent {n}.

::: part
answer: (6*10^(S/10))^(2/n)/3
tolerance: 0.5%

### What cluster size would exactly meet it (before rounding up to a valid N)?

::: misses
- [any] Solve $(\sqrt{3N})^n/6 = \text{SIR}$.
:::
:::
:::

::: check
kind: parts
given: A = 1 | 2 | 4

## {A} erlangs are offered to a group of channels.

::: part
answer: (A^2/2)/(1 + A + A^2/2)*100
unit: %
tolerance: 0.5%

### What blocking does a 2-channel group give?

::: misses
- [any] $\frac{A^2/2}{1 + A + A^2/2}$.
:::
:::

::: part
answer: (A^3/6)/(1 + A + A^2/2 + A^3/6)*100
unit: %
tolerance: 0.5%

### And a 3-channel group?

::: misses
- [any] $\frac{A^3/6}{\sum_{k=0}^{3}A^k/k!}$.
:::
:::
:::

::: check
kind: parts
given: c = 1 | 3 | 6; h = 1.5 | 3; A = 5 | 21.9

## Users each make {c} call(s) a busy hour averaging {h} minutes; a cell can carry {A} erlangs at its target blocking.

::: part
answer: c*h/60
unit: Erl
tolerance: 0.5%

### How much traffic does each user offer?

::: misses
- [any] Calls per hour times hours per call.
:::
:::

::: part
answer: A/(c*h/60)
unit: users
tolerance: 0.5%

### How many users can the cell serve?

::: misses
- [any] Cell capacity over traffic per user.
:::
:::
:::

::: check
kind: parts
given: T = 210 | 395 | 840; N = 4 | 7 | 12

## A system has {T} channels in a cluster of N = {N}.

::: part
answer: T/N
unit: channels
tolerance: 0.5%

### How many channels does each cell get?

::: misses
- [any] T/N.
:::
:::

::: part
answer: T/N/3
unit: channels
tolerance: 0.5%

### How many does each 120° sector get?

::: misses
- [any] A third of the cell's.
:::
:::
:::

::: check
kind: parts
given: A = 4 | 15; B = 0.01 | 0.05; m = 10 | 30

## {A} erlangs are offered to {m} channels and blocked at a rate of {B}.

::: part
answer: A*(1 - B)
unit: Erl
tolerance: 0.5%

### How much traffic is carried?

::: misses
- [any] A(1 − B).
:::
:::

::: part
answer: A*(1 - B)/m*100
unit: %
tolerance: 0.5%

### What is the average channel occupancy?

::: misses
- [any] Carried traffic over channels.
:::
:::
:::

::: check
kind: choice

## Why can't a cell with 10 channels carry 10 erlangs of traffic at low blocking?

- [ ] Each channel can only carry one erlang in theory, and overhead takes some
- [x] Calls arrive and end randomly, so the number in progress fluctuates around its average; with an average of 10, more than 10 calls are wanted a large fraction of the time, and those are blocked. Low blocking needs the average well below the number of channels
- [ ] Interference reduces each channel's capacity
- [ ] Handoffs use half the channels

::: misses
- [1] The limit is statistical, not overhead.
- [3] Interference sets how channels are reused, not how traffic fills them.
- [4] Handoffs add traffic but don't explain the main effect.
:::
:::

::: check
kind: derivation
vars: N = 1..30, n = 2..5, A = 0.1..10

## Hexagonal cells use cluster size N and path-loss exponent n; separately, A erlangs are offered to one channel.

::: step
answer: sqrt(3*N)

### What is D/R?
:::

::: step
answer: sqrt(3*N)^n/6

### What is the cell-edge SIR?
:::

::: step
answer: A/(1 + A)

### What blocking does a single channel give?
:::

::: right
Right. Erlang B with m = 1 is A/(1 + A): one channel offered one erlang blocks half the calls.
:::
:::

::: check
kind: python

## Write `erlang_b(A, m)` by the stable recursion, and `channels_for(A, target)`: the fewest channels with blocking at or below target.

```python starter
def erlang_b(A, m):
    return 0.0

def channels_for(A, target):
    return 1
```

```python solution
def erlang_b(A, m):
    B = 1.0
    for k in range(1, m + 1):
        B = A * B / (k + A * B)
    return B

def channels_for(A, target):
    m = 0
    while erlang_b(A, m) > target:
        m += 1
    return m
```

```python tests
assert abs(erlang_b(5, 10) - 0.01838) < 1e-5, "B(5, 10) = 1.84%."
assert abs(erlang_b(2, 3) - 4 / 19) < 1e-12, "B(2, 3) = 4/19."
assert channels_for(5, 0.02) == 10 and channels_for(21.9, 0.02) == 30, "2% blocking: 10 channels for 5 Erl, 30 for 21.9."
```

::: right
Right. The recursion never forms the huge powers and factorials of the closed form, so it works for thousands of channels.
:::
:::

::: explain
## What limits how tightly a cellular system can reuse its frequencies?

::: model
Each cell's users hear not only their own base station but also every other cell using the same channels, so the signal-to-interference ratio at the cell edge depends on how far away the nearest co-channel cells are, relative to the cell's size. Placing them farther apart, a larger cluster, raises that ratio but gives each cell a smaller share of the channels; placing them closer raises capacity until interference makes the links fail. The path-loss exponent decides how quickly interference fades with distance, so environments with steep path loss allow tighter reuse, and techniques like sectoring, power control and interference-tolerant coding push the trade further.
:::
:::

::: practice
::: check
given: N = 7 | 9; n = 3.5 | 4
answer: 10*log(sqrt(3*N)^n/6)
unit: dB
tolerance: 0.5%

## SIR for N = {N}, n = {n}?

::: misses
- [any] $(\sqrt{3N})^n/6$.
:::
:::

::: check
given: A = 0.2 | 0.5 | 1 | 1.5 | 2 | 3
answer: (A^2/2)/(1 + A + A^2/2)*100
unit: %
tolerance: 0.5%

## Erlang B for {A} Erl on 2 channels?

::: misses
- [any] $\frac{A^2/2}{1 + A + A^2/2}$.
:::
:::

::: check
given: c = 2 | 4; h = 2 | 5
answer: c*h/60
unit: Erl
tolerance: 0.5%

## Traffic per user: {c} calls of {h} minutes per hour?

::: misses
- [any] Calls × duration in hours.
:::
:::
:::
