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

D4 · Lesson 7 · Sharing spectrum

How many users share one band by dividing it in frequency, in time or by code, the processing gain of spread spectrum, and OFDM's overlapping but orthogonal subcarriers with the cyclic prefix that protects them from echoes, worked through for Wi-Fi

Radio spectrum is shared by everyone in range, so every system must decide how its users divide it. Early phone networks gave each call its own frequency. Later ones gave each call its own time slot, or let everyone transmit at once and told them apart by code. Today's Wi-Fi and 5G split a channel into hundreds of narrow subcarriers that overlap in frequency yet don't interfere, a trick called OFDM, and hand groups of them to different users. Each scheme is an answer to the same question: how to keep many signals separable at the receiver.

  • The spectra of five neighboring OFDM subcarriers, each a sinc shape sinc⁡(f/Δf−k), overlapping heavily.
  • At each subcarrier's center frequency (the marker), every other subcarrier's spectrum passes through zero: they're orthogonal, so the receiver separates them perfectly.
  • A frequency offset ε (as a fraction of the spacing) moves the sampling point off the zeros: the wanted subcarrier shrinks and its neighbors leak in.

Predict

802.11a Wi-Fi splits a 20 MHz channel into 64 subcarriers. How far apart are they, and how long is each OFDM symbol before its guard interval?

Name it

Dividing by frequency, time and code

  • FDMA gives each user a separate frequency channel, with guard bands between. The number of channels is the total bandwidth over the channel spacing.
  • TDMA gives each user a repeating time slot on a shared channel; GSM put 8 calls on each 200 kHz carrier.
  • CDMA lets all users transmit at once over the whole band, each multiplying its bits by a fast pseudo-random chip sequence. The receiver multiplies by the same sequence, which collapses the wanted signal back to its narrow bandwidth and spreads everyone else's into noise. The processing gain is the chip rate over the bit rate, Gp=Rc/Rb, which is how far below the noise a CDMA signal can be received. GPS works this way.

OFDM

Orthogonal frequency-division multiplexing sends N slow symbols in parallel on subcarriers spaced Δf=B/N apart. Each lasts T=1/Δf, which makes the subcarriers orthogonal: over one symbol, each completes a whole number of cycles more than its neighbor, so their product averages to zero. An inverse FFT makes all N at once, and an FFT separates them.

Long symbols suffer little from echoes, and a cyclic prefix, a copy of each symbol's end placed before it, absorbs echoes shorter than the prefix completely, so each subcarrier needs only a one-tap equalizer. The cost is the prefix's share of the time. OFDM is sensitive to frequency offsets, which break the orthogonality.

OFDMA (Wi-Fi 6, 4G and 5G) gives different users different groups of subcarriers in different time slots.

Worked example

What does 802.11a's fastest mode, 64-QAM with rate-3/4 coding on 48 data subcarriers, deliver?

Show the solution
  1. Bits per symbol. 48×6×3/4=216bits in each 4 µs symbol.
  2. Data rate. 216/4µs=54Mb/s
  3. Prefix cost. 0.8/4=20% of the airtime.

Answer it delivers 54 Mb/s.

Worked example

A CDMA phone system uses 1.2288 million chips per second for 9.6 kb/s voice. What's its processing gain? And with an offset of a tenth of the subcarrier spacing, how badly does OFDM suffer?

Show the solution
  1. Processing gain. 1228800/9600=128 or 21.1 dB.
  2. Wanted subcarrier. It falls to sinc(0.1)=0.984 of its amplitude.
  3. Each neighbor. It leaks in at |sinc(0.9)|=0.109
  4. All neighbors together. They leak in 1−sinc2(0.1)=3.2% of the power, limiting the SNR to about 15 dB.

Answer the processing gain is 128 (21.1 dB), and the offset limits OFDM's SNR to about 15 dB.

Worked example

802.11a's subcarriers are 312.5 kHz apart, with a 0.8 µs cyclic prefix. How long is each symbol's useful part, and how much path difference can the prefix absorb?

Show the solution
  1. Useful part. 1/312.5kHz=3.2µs plus 0.8 µs of prefix for 4 µs in all.
  2. Path difference. Echoes delayed up to 0.8 µs fall inside the prefix: 0.8µs×3×108=240m
  3. Effect. Those echoes cause no interference between symbols.

Answer the useful part lasts 3.2 µs, and the prefix absorbs path differences up to 240 m.

Check

An OFDM system divides 20 MHz into 64 subcarriers. What's the subcarrier spacing?

Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.

Check

OFDM subcarriers are 78.13 kHz apart, and the cyclic prefix adds 0.07 of the symbol's length. How long is each symbol with its prefix?

Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.

Check

An OFDM link has 234 data subcarriers, 2 bits per subcarrier symbol, code rate 0.75 and a 13.6 µs symbol with its prefix. What's its data rate?

Write units the way you normally would: 1.5 Mb/s, 1500 kb/s and 0.0015 Gb/s are the same answer.

Check

A spread-spectrum link sends 3.84 million chips per second for 9.6 kb/s of data. What's its processing gain?

Check

An OFDM system has 52 data subcarriers, 2 bits per subcarrier, rate-0.75 coding and a 16 µs symbol.

(a)

What data rate does it carry?

Write units the way you normally would: 1.5 Mb/s, 1500 kb/s and 0.0015 Gb/s are the same answer.

(b)

How many data bits does each symbol carry?

Check

A CDMA system spreads 9.6 kb/s of voice over 1.229 million chips per second.

(a)

What is the processing gain?

(b)

In decibels?

Explain why

How can OFDM's subcarriers overlap in frequency without interfering?

Practice

Keep practicing

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