---
title: "Problem set 11: communication systems across the course"
heading: "Problem set 11: problems that combine link budgets, modulation, detection, coding, fading and system design"
eyebrow: S8 · Problem set 11
type: problems
---

::: hook
These problems draw on the whole course and most combine ideas from different weeks: a received power turned into an error rate, a modulation chosen to fit a bandwidth, a code sized against capacity, an OFDM design checked against a channel's delay spread. Work them as a review before the final.
:::

::: pool
pick: 12

::: check
kind: parts
given: P = -100 | -96; N = 6 | 8; R = 1 | 2; M = 4 | 16

## A receiver ({N} dB noise figure) gets {P} dBm at {R} Mb/s, Gray-coded {M}-QAM.

::: part
answer: P - (-174 + 10*log(R*1e6) + N)
unit: dB
tolerance: 0.05

### Eb/N0?

::: misses
- [any] $P - (-174 + 10\log R_b + \text{NF})$.
:::
:::

::: part
answer: 4*(1 - 1/sqrt(M))*Q(sqrt(3*log(M)/log(2)/(M - 1)*10^((P - (-174 + 10*log(R*1e6) + N))/10)))/(log(M)/log(2))
tolerance: 1%

### Bit error probability?

::: misses
- [any] The QAM formula.
:::
:::
:::

::: check
kind: parts
given: B = 6 | 20; b = 0.2 | 0.35; S = 15 | 25

## A {B} MHz passband channel with raised-cosine rolloff {b} and {S} dB SNR.

::: part
answer: B/(1 + b)
tolerance: 0.5%

### Symbol rate, Mbaud?

::: misses
- [any] $B/(1 + \beta)$.
:::
:::

::: part
answer: B*log(1 + 10^(S/10))/log(2)
unit: Mb/s
tolerance: 0.5%

### Capacity?

::: misses
- [any] $B\log_2(1 + \text{SNR})$.
:::
:::

::: part
answer: B*log(1 + 10^(S/10))/log(2)/(B/(1 + b))
tolerance: 0.5%

### Bits per symbol needed to reach capacity?

::: misses
- [any] Capacity over symbol rate.
:::
:::
:::

::: check
kind: parts
given: d = 20 | 75; W = 5 | 15; g = 30 | 40; b = 3 | 5

## An FM system with {d} kHz deviation and {W} kHz audio; γ = {g} dB; a test tone at β = {b}.

::: part
answer: 2*(d + W)
unit: kHz
tolerance: 0.5%

### Carson bandwidth?

::: misses
- [any] $2(\Delta f + W)$.
:::
:::

::: part
answer: g + 10*log(1.5*b^2)
unit: dB
tolerance: 0.05

### Output SNR for the tone?

::: misses
- [any] $1.5\beta^2\gamma$.
:::
:::
:::

::: check
kind: parts
given: n = 8 | 12; f = 8 | 44.1; R = 0.25 | 0.35

## {n}-bit PCM at {f} kHz sent with raised-cosine pulses, rolloff {R}, binary.

::: part
answer: n*f
unit: kb/s
tolerance: 0.5%

### Bit rate?

::: misses
- [any] $nf_s$.
:::
:::

::: part
answer: (1 + R)*n*f/2
unit: kHz
tolerance: 0.5%

### Baseband bandwidth?

::: misses
- [any] $(1 + \beta)R_b/2$.
:::
:::
:::

::: check
kind: parts
given: E = 7 | 10; p = 8 | 15

## QPSK at Eb/N0 = {E} dB with a {p}° carrier phase error, compared with DBPSK.

::: part
answer: 0.5*(Q(sqrt(2*10^(E/10))*(cos(p*pi/180) - sin(p*pi/180))) + Q(sqrt(2*10^(E/10))*(cos(p*pi/180) + sin(p*pi/180))))
tolerance: 1%

### QPSK error rate?

::: misses
- [any] Average of the crosstalk cases.
:::
:::

::: part
answer: 0.5*exp(-10^(E/10))
tolerance: 1%

### DBPSK error rate (no carrier recovery)?

::: misses
- [any] $\frac{1}{2}e^{-E_b/N_0}$.
:::
:::
:::

::: check
kind: parts
given: M = 16 | 64; n = 2 | 4

## {M}-ary orthogonal signaling against Shannon's bound at {n} bits/s/Hz.

::: part
answer: 2*log(M)/log(2)/M
tolerance: 0.5%

### Orthogonal FSK's spectral efficiency (coherent spacing)?

::: misses
- [any] $2\log_2M/M$.
:::
:::

::: part
answer: 10*log((2^n - 1)/n)
unit: dB
tolerance: 0.05

### Shannon's minimum Eb/N0 at {n} bits/s/Hz?

::: misses
- [any] $\frac{2^\eta - 1}{\eta}$.
:::
:::
:::

::: check
kind: parts
given: a = 0.6 | 0.85; s = 15 | 22; N = 64 | 256; c = 16 | 32; f = 20 | 40

## An echo channel h = [1, {a}] at {s} dB; or OFDM with {N} subcarriers, a {c}-sample prefix, {f} MHz sampling.

::: part
answer: s + 10*log(1 - a^2)
unit: dB
tolerance: 0.05

### ZF linear equalizer output SNR?

::: misses
- [any] $s + 10\log(1 - a^2)$.
:::
:::

::: part
answer: f*1000/N
unit: kHz
tolerance: 0.5%

### OFDM subcarrier spacing?

::: misses
- [any] $f_s/N$.
:::
:::

::: part
answer: c/f
unit: µs
tolerance: 0.5%

### OFDM prefix duration?

::: misses
- [any] $N_{cp}/f_s$.
:::
:::
:::

::: check
kind: parts
given: p = 0.05 | 0.1; R = 0.4 | 0.6; m = 4 | 6

## A BSC with p = {p}; a rate-{R} code; a Hamming code with m = {m}.

::: part
answer: 1 + (p*log(p) + (1 - p)*log(1 - p))/log(2)
tolerance: 0.5%

### Capacity?

::: misses
- [any] $1 - H(p)$.
:::
:::

::: part
answer: (2^m - 1 - m)/(2^m - 1)
tolerance: 0.5%

### Hamming code rate?

::: misses
- [any] $k/n$.
:::
:::
:::

::: check
kind: parts
given: K = 5 | 7; d = 7 | 10; t = 8 | 16; m = 8

## An inner rate-1/2 convolutional code (K = {K}, $d_\text{free}$ = {d}) with an outer RS code correcting {t} {m}-bit symbols.

::: part
answer: 2^(K - 1)
tolerance: 0

### Viterbi states?

::: misses
- [any] $2^{K-1}$.
:::
:::

::: part
answer: 10*log(0.5*d)
unit: dB
tolerance: 0.05

### Inner code's asymptotic gain?

::: misses
- [any] $10\log(Rd_\text{free})$.
:::
:::

::: part
answer: (t - 1)*m + 1
unit: bits
tolerance: 0

### Longest burst the outer code always corrects?

::: misses
- [any] $(t - 1)m + 1$.
:::
:::
:::

::: check
kind: parts
given: v = 60 | 200; f = 1.9 | 3.5; E = 15 | 25

## A mobile at {v} km/h on {f} GHz; BPSK at {E} dB average Eb/N0 in Rayleigh fading.

::: part
answer: v/3.6*f*1e9/299792458
unit: Hz
tolerance: 0.5%

### Doppler?

::: misses
- [any] $vf_c/c$.
:::
:::

::: part
answer: 0.5*(1 - sqrt(10^(E/10)/(1 + 10^(E/10))))
tolerance: 1%

### Error rate, one antenna?

::: misses
- [any] Rayleigh BPSK.
:::
:::

::: part
answer: ((1 - sqrt(10^(E/10)/(1 + 10^(E/10))))/2)^2*(2 + sqrt(10^(E/10)/(1 + 10^(E/10))))
tolerance: 1%

### Error rate, two antennas with MRC?

::: misses
- [any] L = 2 MRC.
:::
:::
:::

::: check
kind: parts
given: c = 3.84 | 1.2288; r = 12.2 | 9.6; E = 5 | 7; v = 0.5 | 1

## A CDMA system at {c} Mchip/s with {r} kb/s voice needing {E} dB, activity {v}, other-cell factor 0.5.

::: part
answer: 10*log(c*1e6/(r*1e3))
unit: dB
tolerance: 0.05

### Processing gain?

::: misses
- [any] $10\log(R_c/R_b)$.
:::
:::

::: part
answer: 1 + c*1e6/(r*1e3)/(10^(E/10)*v*1.5)
tolerance: 0.5%

### Users per cell?

::: misses
- [any] $1 + G_p/((E_b/N_0)\nu(1 + f))$.
:::
:::
:::

::: check
kind: parts
given: H = 1.4 | 2.3; d = 0.05 | 0.2; q = 0.25 | 0.4; p = 0.05 | 0.15

## A source of entropy {H} bits coded at {H} + {d} bits per symbol; a BSC with p = {p} driven with P(1) = {q}.

::: part
answer: 100*H/(H + d)
unit: %
tolerance: 0.5%

### Code efficiency?

::: misses
- [any] H/L.
:::
:::

::: part
answer: -((q*(1 - p) + (1 - q)*p)*log(q*(1 - p) + (1 - q)*p) + (1 - (q*(1 - p) + (1 - q)*p))*log(1 - (q*(1 - p) + (1 - q)*p)))/log(2) + (p*log(p) + (1 - p)*log(1 - p))/log(2)
tolerance: 0.5%

### Mutual information on the BSC?

::: misses
- [any] $H(Y) - H(p)$.
:::
:::
:::

::: check
kind: parts
given: P = 0.01 | 0.001 | 0.0001

## A Rayleigh link must be available all but {P} of the time.

::: part
answer: 10*log(-1/ln(1 - P))
unit: dB
tolerance: 0.5%

### What fade margin does one antenna need?

::: misses
- [any] Solve $1 - e^{-1/M} = P$.
:::
:::

::: part
answer: 10*log(1/sqrt(2*P))
unit: dB
tolerance: 1%

### What margin do two branches with MRC need, using the high-SNR outage $x^2/2$?

::: misses
- [any] Solve $x^2/2 = P$ for $1/x$.
:::
:::
:::

::: check
kind: parts
given: N = 8 | 30 | 120; n = 8 | 12; f = 8 | 16; b = 0.25 | 0.35

## {N} channels of {n}-bit PCM sampled at {f} kHz are sent over one QPSK carrier with root-raised-cosine pulses of rolloff {b}.

::: part
answer: N*n*f/1e3
unit: Mb/s
tolerance: 0.5%

### What is the bit rate?

::: misses
- [any] Channels × bits × sample rate.
:::
:::

::: part
answer: N*n*f/1e3/2*(1 + b)
unit: MHz
tolerance: 0.5%

### What RF bandwidth does the QPSK signal need?

::: misses
- [N*n*f/1e3*(1 + b)] QPSK carries 2 bits per symbol.
- [any] $R_s(1 + \beta)$ with $R_s = R_b/2$.
:::
:::
:::

::: check
kind: parts
given: B = 5 | 20 | 100; s = 0.1 | 0.5 | 2

## A wideband signal of {B} MHz crosses a channel with {s} µs rms delay spread.

::: part
answer: 1/(5*s)
unit: MHz
tolerance: 0.5%

### Roughly what is the coherence bandwidth?

::: misses
- [any] $B_c \approx 1/(5\sigma_\tau)$.
:::
:::

::: part
answer: B*5*s
tolerance: 0.5%

### About how many independently fading pieces does the band hold, the frequency diversity a code spread across it can use?

::: misses
- [any] $B/B_c$.
:::
:::
:::
:::
