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

D12 · Lesson 4 · An FSK receiver

Deciding which tone each bit holds by correlating the samples with each tone, why taking the magnitude makes the receiver ignore the unknown phase, the correlator as a filter whose response falls to nulls a bit rate apart, how much one tone leaks into the other's detector, and the error rate in noise

To decide whether a bit was sent as the 1200 Hz tone or the 2200 Hz one, the receiver asks of each bit's 8 samples: how much do they look like 1200 Hz, and how much like 2200 Hz? Multiplying the samples by a probe tone and adding them up, a correlation, answers exactly that, and it's the same arithmetic as one bin of a DFT (D5). Using a complex probe and taking the magnitude makes the answer independent of the tone's phase, which the receiver doesn't know. Two such correlators, one per tone, make a complete noncoherent FSK detector.

  • The response of each correlator over one bit (8 samples) to a tone of frequency f, normalized to 1 at its own frequency: a Dirichlet shape (D5), |sin⁡(8πΔ/fs)/(8sin⁡(πΔ/fs))|2 with Δ the offset.
  • Each correlator responds strongly to its own tone and weakly to the other: the 1200 Hz correlator sees a 2200 Hz tone at −14.2 dB. The detector picks whichever correlator responds more.
  • Nulls fall every 1200 Hz from each center: a bit time's correlator is a filter whose width is set by the bit rate.

Predict

A unit-amplitude 1200 Hz cosine fills one 8-sample bit. What does its correlation with a complex 1200 Hz probe come to, in magnitude squared?

Name it

Correlation detection

For each bit's samples x[n], n = 0 to N − 1, compute

Ef=|∑nx[n]e−j2πfn/fs|2

for f = mark and f = space, and decide 1 if Emark>Espace. The magnitude discards the phase, so this noncoherent detector needs no carrier recovery. Each Ef is one DFT-like bin, so a bank of them is a filter bank.

The correlator as a filter

Summing N samples against a probe has the frequency response of a length-N moving average shifted to f: a main lobe with nulls at ±fs/N = ±(bit rate) and sidelobes beyond. Tones exactly a bit rate apart fall on each other's nulls: they're orthogonal over a bit. The 1200 and 2200 Hz tones are 1000 Hz apart, so each leaks into the other's correlator at −14.2 dB, costing some noise margin.

Errors

Noise adds random vectors to both correlations, and an error happens when the wrong one wins. For orthogonal tones the error rate is 12e−Eb/2N0 (D4); the leakage here makes it somewhat worse.

Worked example

How strongly does a 2200 Hz tone register in the 1200 Hz correlator over one bit?

Show the solution
  1. Leakage amplitude. The tones are Δ = 1000 Hz apart: A=sin⁡(8π×1000/9600)8sin⁡(π×1000/9600)=0.52.572=0.194
  2. Power and decibels. A2=0.037810log10⁡A2=−14.2dB
  3. A tone 1200 Hz away. It would give exactly zero.

Answer the 2200 Hz tone registers at 0.194 of full amplitude, 0.0378 in power, or −14.2 dB.

Worked example

What tone spacing makes the two correlators completely blind to each other's tone over one 1200 baud bit?

Show the solution
  1. When tones are orthogonal. Over a bit of length T, tones whose frequencies differ by a multiple of 1/T are orthogonal: each correlator sees exactly zero of the other.
  2. At 1200 baud. 1T=1200Hz
  3. Bell 202. Its 1000 Hz spacing isn't quite a multiple, which is the 0.194 leakage found above.

Answer a spacing of 1200 Hz, or any multiple of it.

Worked example

What bit error rate does noncoherent FSK reach at Eb/N0 = 12 dB?

Show the solution
  1. Convert 12 dB to a ratio. EbN0=1012/10=15.85
  2. Bit error rate. Pb=12e−Eb/2N0=0.5e−15.85/2=1.8×10−4 That's about one error in 5500 bits.
  3. Compare with BPSK. Coherent BPSK would need about 4 dB less for the same rate; FSK's simplicity costs signal.

Answer about 1.8×10−4, one error in 5500 bits.

Check

Write a noncoherent FSK demodulator.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

A correlator sums 16 samples taken at 9600 Hz. How far from its center frequency is its first null?

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

Check

A correlator sums 8 samples at 9600 Hz. What's its response to a tone 1000 Hz off center, in dB relative to its peak?

Check

A cosine of amplitude 1 fills 8 samples exactly at a correlator's frequency (a whole number of cycles). What's the correlation's magnitude squared?

Check

A noncoherent FSK link runs at Eb/N0 = 10 dB.

(a)

What is its bit error rate?

(b)

About how many bits between errors?

Check

Orthogonal noncoherent FSK runs at 1200 baud.

(a)

What tone spacing, 1 times the minimum, keeps the tones orthogonal over a bit?

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

(b)

About what bandwidth does that take?

Explain why

Why does a noncoherent FSK receiver take the magnitude of each correlation?

Practice

Keep practicing

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