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), 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?
A cosine is half a positive-frequency exponential and half a negative one. Against the matching complex probe the positive half adds up to 8 × ½ = 4, and the negative half cancels over the whole cycle, so the magnitude is 4 and its square 16, whatever the cosine's phase. The other correlator gets only 16 × 0.038, the −14 dB leakage.
Name it
Correlation detection
For each bit's samples , n = 0 to N − 1, compute
for f = mark and f = space, and decide 1 if . The magnitude discards the phase, so this noncoherent detector needs no carrier recovery. Each 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 = ±(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 (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
- Leakage amplitude. The tones are = 1000 Hz apart:
- Power and decibels.
- 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
- 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.
- At 1200 baud.
- 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 = 12 dB?
Show the solution
- Convert 12 dB to a ratio.
- Bit error rate. That's about one error in 5500 bits.
- Compare with BPSK. Coherent BPSK would need about 4 dB less for the same rate; FSK's simplicity costs signal.
Answer about , 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 = 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?
The receiver doesn't know the phase of the incoming tone: it depends on the transmitter's oscillator, the path delay and everything that came before. Correlating with only a cosine probe would give a large result when the phases line up and nearly nothing when they're a quarter cycle apart, so the decision would depend on an accident of timing. Correlating with a complex exponential, effectively a cosine and a sine probe together, captures the tone's energy at any phase, and the magnitude combines the two parts into a number that depends only on how much of that frequency is present. That lets the receiver compare the two tones fairly without first recovering the carrier's phase.
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.