Before this:The demodulation pipeline
Clock recovery & symbol timing
Key takeaways The transmitter never sends its clock, so the receiver must recover the symbol timing from the signal itself — that’s clock recovery. It matters because a symbol is only a clean value for an instant at its centre; sampling off-centre catches the ambiguous transitions and causes errors. Clock recovery aims to sample at the widest point of the eye diagram. When the signal is too weak or smeared, timing loses lock, the eye closes, and the decode breaks up — visible in GopherTrunk’s symbol scope and eye diagram.
This is the timing trick at the heart of stage 4 of the demodulation pipeline. It’s why a signal with plenty of strength can still fail to decode — and why the scopes are such powerful diagnostic tools.
Why symbol timing matters
A digital signal carries one symbol after another at a fixed symbol rate. But each symbol is only a clean, distinct value for a brief instant at its centre. Between symbols, the signal transitions from one value to the next, passing through ambiguous in-between levels.
The receiver therefore has to sample right at the centre of every symbol. Sample a little early or late and you catch a transition instead of a symbol, reading a value that’s neither one thing nor the other — an error. At 4800 baud, those instants are about 200 microseconds apart, and the receiver must hit each one.
The clock-recovery problem
Here’s the catch: the transmitter and receiver run on separate clocks, and the transmitter doesn’t send a “tick here” signal. The receiver only has the incoming waveform. So it must deduce the symbol timing from the signal itself — figuring out the rhythm purely from where the signal’s transitions fall.
Worse, the two clocks drift slightly relative to each other, so the timing isn’t a one-time guess — it has to be continuously tracked.
How much drift? A cheap dongle’s clock might be off by 20 ppm — 20 parts per million. At 4800 baud that’s only about 0.1 symbol of slip per second, which sounds negligible. But a digital frame is thousands of symbols long, so left uncorrected the sampling point would wander right out of the symbol within a fraction of a second and the decode would collapse. That’s why clock recovery is a loop that nudges constantly, not a one-time measurement.
How a receiver locks to the symbol rate
A timing-recovery loop solves it. In essence the receiver:
- Makes an initial estimate of the symbol period (it knows the nominal baud).
- Watches where the signal’s transitions actually occur — transitions should fall between symbols, so their position reveals whether the current sampling point is early or late.
- Nudges the sampling instant to keep it centred, repeating forever to track drift.
When this loop has settled onto the right rhythm, the receiver has symbol lock — it’s sampling each symbol at its centre, and the symbols come out clean.
Timing error and the eye diagram
The eye diagram makes timing visible. It overlays many symbol periods so the open “eyes” between levels stack up. The centre of the eye is the widest, clearest place to sample:
If timing drifts off-centre, the effective opening shrinks — the eye appears to close — and decisions get error-prone even though the signal strength hasn’t changed. A closing eye is therefore a direct, visual symptom of a timing (or noise) problem.
What loss of lock looks like in GopherTrunk
When the signal is too weak, too noisy, or smeared by multipath, the timing loop can’t keep up and loses lock. Symbols get sampled at the wrong moments, bit errors outrun error correction, and the decode breaks up or drops out. On the scopes you’ll see it clearly:
- The eye diagram closes and blurs.
- The symbol scope goes from steady, well-separated levels to a jittery, collapsing mess.
- The constellation smears or rotates.
Recognising these is the core skill of tuning for a clean lock — often the fix is more SNR (better antenna/placement, right gain) so the timing loop has a clean signal to track.
Quick check: where should the receiver sample each symbol?
Recap
- The transmitter’s clock isn’t shared, so the receiver must recover symbol timing from the signal.
- Sample at the symbol centre (widest eye); off-centre sampling causes errors.
- A timing-recovery loop tracks the rhythm and follows clock drift.
- Losing lock closes the eye and breaks the decode — visible on GopherTrunk’s scopes.
- The usual cure is more SNR so the loop has a clean signal.
That completes Module 4. Next module reaches the systems GopherTrunk was built for — starting with why voice went digital.
Frequently asked questions
What is clock recovery in a digital receiver?
Clock recovery is the process of working out the exact timing of a digital signal’s symbols from the signal itself, since the transmitter’s clock isn’t shared with the receiver. Once recovered, the receiver knows when each symbol starts and can sample it at its centre, where the value is clearest. Without it, the receiver wouldn’t know where one symbol ends and the next begins.
Why does symbol timing matter so much?
A digital symbol is only a clean, distinct value for a brief instant at its centre. Sample too early or too late and you catch the transition between symbols, where the value is ambiguous, causing errors. Good symbol timing samples right at the centre of each symbol, where the eye diagram is most open and the decision is easiest.
What does the eye diagram have to do with clock recovery?
The eye diagram shows the demodulated signal overlaid over one symbol period; the open part of the “eye” is where sampling gives a clear value. Clock recovery aims to sample at the widest point of the eye. If timing drifts, the sampling point moves off-centre and the eye appears to close, which is a visible sign of timing trouble.
What happens when clock recovery loses lock?
When the receiver can’t track the symbol timing — usually because the signal is too weak, noisy, or smeared by multipath — symbols are sampled at the wrong moments and bit errors climb past what error correction can fix. In practice the decode breaks up or drops, and GopherTrunk’s symbol-based scopes show a collapsing, unstable pattern.