Skip to content

Analog-to-Digital Converters

Clock Jitter: When Timing Error Becomes ADC Noise

The same nanosecond of jitter costs nothing at ten kilohertz and four bits at one megahertz.

  • Lesson 9 of 9
  • Advanced

5 min read

A clock that looks perfect on a scope can cost you four bits. The scope cannot show you the problem, because the problem is a few tens of picoseconds of uncertainty about exactly when each sample was taken.

What makes jitter interesting is that its cost depends on the input frequency, not the sample rate. The same clock is harmless in one application and disqualifying in another, with no change to the clock.

Quick answer. If the instant of sampling is uncertain by t_j, and the signal is moving at the time, then the voltage captured is uncertain too. The faster the signal is moving, the more that timing error costs. The relation is SNR = −20·log10(2π · f_in · t_j), and it depends on the input frequency, not on how often you sample.

Timing error becomes amplitude error

The same error in the sampling instant produces a small voltage error on a slow signal and a large one on a fast signal, because the voltage error is the slope of the signal times the timing error.
Figure 1. What decides the cost is the signal's frequency, not the sample rate.

The figure shows the mechanism in one picture. A sine wave is crossing zero, where it is steepest. The sampler fires slightly early or slightly late. The voltage it captures is wrong by the slope of the signal times the timing error:

ΔV = (dV/dt) · t_j

For a sine of amplitude A at frequency f, the maximum slope is 2π·f·A, at the zero crossing. So the error is proportional to frequency: double the input frequency and the same jitter costs twice as much voltage.

Where the signal is flat, at the peaks, jitter costs nothing. That is why the effect is a noise rather than a fixed error: it varies through the waveform and it behaves statistically.

Working the ratio through gives the standard result:

SNR_jitter = −20 · log10(2π · f_in · t_j)

The same nanosecond, two very different answers

Take one nanosecond of clock jitter, which is an unremarkable number for a microcontroller timer output.

Input frequencySNR from jitter aloneEquivalent bits
10 kHz84.0 dB13.7
100 kHz64.0 dB10.3
1 MHz44.0 dB7.0

At 10 kHz that clock is better than our 12-bit converter needs and you will never notice it. At 1 MHz the same clock has turned a 12-bit converter into a 7-bit one.

Turning it around, the jitter you can afford for a given target:

t_j = 10^(−SNR/20) / (2π · f_in)

For the 74 dB that 12 bits deserves:

Input frequencyJitter budget
10 kHz3.18 ns
100 kHz318 ps
1 MHz31.8 ps

Thirty-two picoseconds is a specification you have to go looking for. It is not something a general-purpose microcontroller pin produces, and it is the reason high-speed converters are clocked from dedicated oscillators rather than from the processor.

What this does and does not explain

It applies to the input frequency, not the sample rate. A 1 MHz signal sampled at 10 MSPS and the same signal sampled at 2.5 MSPS suffer identically from the same jitter. People reach for a slower sample rate to fix jitter and nothing improves.

It is independent of resolution. The jitter floor does not know how many bits you bought. It simply sets a ceiling, and if that ceiling is below your converter's own noise floor then the converter's extra bits are unreachable.

It is a noise floor, not a line. It raises the broadband floor around the signal rather than producing a discrete tone, which is why a spectrum with a jitter problem looks like a signal sitting on a raised skirt.

It is not slew rate and not bandwidth. Those limit what the amplifier in front can do. Jitter is about the converter's clock and affects a signal the amplifier handled perfectly.

Where the jitter comes from

Three sources, and they add in the way uncorrelated noise does, as a root sum of squares:

  • The oscillator itself. Specified as phase noise, in dBc/Hz at offsets

from the carrier, which integrates to a jitter figure. A cheap crystal oscillator and a precision one can differ by two orders of magnitude.

  • Everything the clock passes through. Buffers, level shifters, long

traces, and especially anything whose threshold is noisy. A clean clock through a slow buffer with a noisy supply arrives dirty.

  • The supply and the ground. A clock edge is a threshold crossing, so

noise on the reference against which the threshold is measured becomes timing noise directly. Where that noise comes from on a shared return is the subject of the mixed-signal grounding lesson in the grounding course.

The practical ordering: a slow edge rate makes every other source worse, because the time spent near the threshold is longer, so the same voltage noise produces more timing error. Fast, clean edges and a quiet supply usually beat a more expensive oscillator feeding a sloppy path.

When to stop worrying about it

Run the arithmetic before buying anything. For a thermocouple sampled at 20 SPS, the input frequency is a fraction of a hertz and the jitter budget is in microseconds. No clock you can buy will fail that.

The threshold where it starts to matter, for a 12-bit target, is around the hundred kilohertz mark with an ordinary clock. Below that, spend the attention on the reference and on the input network. Above it, jitter becomes a first- class specification and the clock becomes a component you choose rather than one you inherit.

What comes next

Lesson 10 collects all nine into a way of choosing a converter: not a recommendation, but an order in which to apply the constraints.

Sources and further reading

Where to go next

Analog design

How to Drive a SAR ADC Correctly

The resistor and the capacitor at the input are not a filter. They are a settling budget.

¿Te ha resultado útil?

Reddit LinkedIn

The XKEMA newsletter

Hardware engineering worth keeping

New courses, engineering notes and hardware guides, whenever there is something genuinely worth reading. Nothing else.

We will email you to confirm. You can unsubscribe from any issue.

XKEMA, in one sentence

Engineering knowledge management software for companies that develop electronic products: the product structure, its bills of materials, its documentation and its revisions, all in one place.