---
title: "Problem set 4: PSK, FSK, capacity and synchronization"
heading: "Problem set 4: M-PSK and DPSK, FSK and orthogonal signaling, MSK, the Shannon bound, and synchronization errors"
eyebrow: S8 · Problem set 4
type: problems
---

::: hook
These problems cover lessons 19 to 22: PSK distances and error rates, differential detection, coherent and noncoherent FSK, tone spacing, M-ary orthogonal bandwidth and error bounds, MSK, capacity and the efficiency plane, and the cost of carrier phase errors, frequency offsets and frame synchronization.
:::

::: pool
pick: 12

::: check
kind: parts
given: M = 8 | 16; E = 14 | 20; s = 1 | 2.25

## {M}-PSK at Es/N0 = {E} dB, symbol energy {s}.

::: part
answer: 2*sqrt(s)*sin(pi/M)
tolerance: 0.5%

### Adjacent distance?

::: misses
- [any] $2\sqrt{E_s}\sin(\pi/M)$.
:::
:::

::: part
answer: 2*Q(sqrt(2*10^(E/10))*sin(pi/M))
tolerance: 1%

### Symbol error probability?

::: misses
- [any] $2Q(\sqrt{2E_s/N_0}\sin(\pi/M))$.
:::
:::

::: part
answer: 2*Q(sqrt(2*10^(E/10))*sin(pi/M))/(log(M)/log(2))
tolerance: 1%

### Bit error probability with Gray coding?

::: misses
- [any] Divide by log₂M.
:::
:::
:::

::: check
kind: parts
given: E = 7 | 10; P = 0.0001 | 0.000001

## Differential BPSK at Eb/N0 = {E} dB; and a target error rate of {P}.

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

### DBPSK bit error probability?

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

::: part
answer: 10*log(ln(1/(2*P)))
unit: dB
tolerance: 0.05

### Eb/N0 DBPSK needs for {P}?

::: misses
- [any] $\ln(1/2P)$.
:::
:::

::: part
answer: 10*log(2*ln(1/(2*P)))
unit: dB
tolerance: 0.05

### Eb/N0 noncoherent BFSK needs for {P}?

::: misses
- [any] $2\ln(1/2P)$.
:::
:::
:::

::: check
kind: parts
given: M = 16 | 64 | 256

## Comparing {M}-QAM with {M}-PSK at equal average energy.

::: part
answer: 6/(M - 1)
tolerance: 0.5%

### QAM's $d_\text{min}^2/E_s$?

::: misses
- [any] $6/(M - 1)$.
:::
:::

::: part
answer: 4*sin(pi/M)^2
tolerance: 0.5%

### PSK's $d_\text{min}^2/E_s$?

::: misses
- [any] $4\sin^2(\pi/M)$.
:::
:::

::: part
answer: 10*log((6/(M - 1))/(4*sin(pi/M)^2))
unit: dB
tolerance: 0.05

### QAM's advantage?

::: misses
- [any] Ratio in dB.
:::
:::
:::

::: check
kind: parts
given: R = 2.4 | 19.2 | 250; E = 9 | 12

## Binary FSK at {R} kb/s and Eb/N0 = {E} dB.

::: part
answer: R/2
unit: kHz
tolerance: 0.5%

### Minimum coherent tone spacing?

::: misses
- [any] $R_b/2$.
:::
:::

::: part
answer: Q(sqrt(10^(E/10)))
tolerance: 1%

### Coherent error probability?

::: misses
- [any] $Q(\sqrt{E_b/N_0})$.
:::
:::

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

### Noncoherent error probability?

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

::: check
kind: parts
given: M = 8 | 32 | 128; R = 1 | 5; E = 6 | 8

## {M}-ary orthogonal FSK at {R} Mb/s and Eb/N0 = {E} dB.

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

### Bandwidth?

::: misses
- [any] $\frac{M}{2\log_2M}R_b$.
:::
:::

::: part
answer: M/2*Q(sqrt(log(M)/log(2)*10^(E/10)))
tolerance: 1%

### Union bound on bit errors?

::: misses
- [any] $\frac{M}{2}Q(\sqrt{\log_2M\cdot E_b/N_0})$.
:::
:::
:::

::: check
kind: parts
given: R = 50 | 270.833 | 2000

## MSK at {R} kb/s.

::: part
answer: R/2
unit: kHz
tolerance: 0.5%

### Tone separation?

::: misses
- [any] $R_b/2$.
:::
:::

::: part
answer: R/4
unit: kHz
tolerance: 0.5%

### Peak deviation?

::: misses
- [any] $R_b/4$.
:::
:::
:::

::: check
kind: parts
given: n = 0.25 | 3 | 7; E = 9.59 | 17.79

## Spectral efficiency {n} bits/s/Hz; a scheme needing {E} dB.

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

### Shannon's minimum Eb/N0?

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

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

### Minimum SNR?

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

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

### Gap to capacity, if the scheme ran at {n} bits/s/Hz?

::: misses
- [any] Requirement minus the bound.
:::
:::
:::

::: check
kind: parts
given: B = 4 | 50 | 200; S = 8 | 18 | 35

## A {B} kHz channel at {S} dB SNR.

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

### Capacity?

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

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

### Maximum spectral efficiency?

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

::: check
kind: parts
given: E = 8 | 11; p = 12 | 25

## BPSK and QPSK at Eb/N0 = {E} dB with a {p}° carrier phase error.

::: part
answer: 20*log(cos(p*pi/180))
unit: dB
tolerance: 0.05

### BPSK signal loss?

::: misses
- [any] $20\log\cos\phi$.
:::
:::

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

### BPSK bit error probability?

::: misses
- [any] $Q(\sqrt{2E_b/N_0}\cos\phi)$.
:::
:::

::: 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 bit error probability?

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

::: check
kind: parts
given: M = 2 | 4 | 8; f = 200 | 800; R = 24 | 240; N = 7 | 11 | 13

## An Mth-power carrier loop for {M}-PSK at {R} kbaud with a {f} Hz offset; a length-{N} Barker preamble.

::: part
answer: 360/M
unit: °
tolerance: 0.2

### Lock-phase spacing?

::: misses
- [any] 360°/M.
:::
:::

::: part
answer: 360*f/(R*1000)
unit: °
tolerance: 0.5%

### Rotation per symbol?

::: misses
- [any] $360\Delta fT_s$.
:::
:::

::: part
answer: 20*log(N)
unit: dB
tolerance: 0.05

### Barker peak-to-sidelobe ratio?

::: misses
- [any] $20\log N$.
:::
:::
:::

::: check
kind: parts
given: P = 0.0001 | 0.00003; g = 2 | 5 | 8

## Differentially decoded BPSK with raw error rate {P}; and a code with {g} dB of coding gain.

::: part
answer: 2*P
tolerance: 0.5%

### Decoded error rate?

::: misses
- [any] Errors come in pairs.
:::
:::

::: part
answer: 100*10^(-g/10)
unit: %
tolerance: 0.5%

### Fraction of the original power needed with the code?

::: misses
- [any] $10^{-g/10}$.
:::
:::
:::

::: check
kind: parts
given: E = 8 | 11 | 14

## Binary FSK runs at Eb/N0 = {E} dB.

::: part
answer: Q(sqrt(10^(E/10)))
tolerance: 1%

### What is its bit error probability with coherent detection?

::: misses
- [Q(sqrt(2*10^(E/10)))] Orthogonal signals have half the squared distance of antipodal ones.
- [any] $Q(\sqrt{E_b/N_0})$.
:::
:::

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

### And with noncoherent (envelope) detection?

::: misses
- [0.5*exp(-10^(E/10))] That's DPSK.
- [any] $\frac12 e^{-E_b/2N_0}$.
:::
:::
:::

::: check
kind: parts
given: W = 1 | 10; C = 60 | 70 | 80

## A link has {W} MHz of bandwidth and a received C/N0 of {C} dB-Hz.

::: part
answer: W*log(1 + 10^(C/10)/(W*1e6))/log(2)
unit: Mb/s
tolerance: 0.5%

### What is its capacity?

::: misses
- [any] $W\log_2(1 + P/(N_0W))$.
:::
:::

::: part
answer: 2*W*log(1 + 10^(C/10)/(2*W*1e6))/log(2)
unit: Mb/s
tolerance: 0.5%

### What if the bandwidth doubles at the same power?

::: misses
- [2*W*log(1 + 10^(C/10)/(W*1e6))/log(2)] Doubling W also doubles the noise in the band.
- [any] $2W\log_2(1 + P/(2N_0W))$.
:::
:::

::: part
answer: W*log(1 + 2*10^(C/10)/(W*1e6))/log(2)
unit: Mb/s
tolerance: 0.5%

### What if instead the power doubles?

::: misses
- [any] $W\log_2(1 + 2P/(N_0W))$.
:::
:::
:::

::: check
kind: parts
given: C = 30 | 40 | 50; B = 10 | 30 | 100

## A carrier-recovery loop with a {B} Hz noise bandwidth tracks a carrier received at C/N0 = {C} dB-Hz.

::: part
answer: sqrt(B/10^(C/10))*180/pi
unit: °
tolerance: 0.5%

### What is its rms phase jitter, from $\sigma^2 = B_L/(C/N_0)$?

::: misses
- [B/10^(C/10)*180/pi] That's the variance; take its square root.
- [any] $\sigma = \sqrt{B_L N_0/C}$ in radians.
:::
:::

::: part
answer: -20*log(cos(sqrt(B/10^(C/10))))
unit: dB
tolerance: 1%

### How much does a static phase error of that size reduce BPSK's effective Eb/N0?

::: misses
- [-10*log(cos(sqrt(B/10^(C/10))))] The amplitude shrinks by cos φ, the energy by cos²φ.
- [any] $-20\log_{10}\cos\sigma$.
:::
:::
:::

::: check
kind: parts
given: M = 16 | 64 | 256 | 1024

## Square {M}-QAM uses equally likely points on a grid.

::: part
answer: 10*log(3*(sqrt(M) - 1)/(sqrt(M) + 1))
unit: dB
tolerance: 0.5%

### What is its peak-to-average power ratio?

::: misses
- [any] $3(\sqrt M - 1)/(\sqrt M + 1)$: corner power over average power.
:::
:::

::: part
answer: 10*log(3)
unit: dB
tolerance: 0.5%

### What does that ratio approach for very large M?

::: misses
- [any] The limit of $3(\sqrt M - 1)/(\sqrt M + 1)$.
:::
:::
:::
:::
