Where a signal becomes a number

A jitter that grows with the look

Two clocks with the same 0.1 ps spread in every period sample the same 10 MHz tone. If each edge is displaced independently, the error is 107.0 dB down at any record length. If each edge is displaced from where the last one landed — a free-running oscillator — the edges walk, and the error after fitting the best delay and frequency is 92.6 dB down over 256 samples, 80.3 over 4,096 and 68.2 over 65,536: ten decibels a decade of record, as the period spread times √(n/15). The one oscillator honestly has jitter figures from 0.10 to 4.7 ps depending on the length named. A locking loop is what gives the jitter a value: with a time constant of a hundred periods it stops growing at 87.0 dB.

Assumes: A picosecond, read as bits · The frequency a sample rate invents

Every jitter in a picosecond, read as bits, a floor, or a line and the frequency a band moves at had a value. An edge was displaced from its ideal instant by a draw from a fixed distribution, the draws were independent or a sinusoid, and the root-mean-square displacement was a number that did not care how many edges were looked at. That is the right model of a sampling clock that is locked to something clean. It is not a model of an oscillator on its own.

A free-running oscillator does not know where its edges should be. It knows only where its last edge was, and it times the next period from there, with an error. So its timing errors are not independent draws: each is the previous one plus a fresh draw, and the sequence is a random walk. Measured period by period, the walk and the independent clock can be identical — the same spread in every period — and their timing errors are nothing alike. This essay samples the same tone with both and finds that the walk’s jitter has no value at all until a length of time is named, and that a locking loop is what gives it one.

The same 0.1 ps of period jitter: 107.0 dB at any record length if each edge is independent, 80.3 dB over 4096 samples if the edges walkcomputed by solving, not by drawing, averaged over 8 seeded clocks at each of 5 record lengths. A 10.01 MHz tone sampled at 160 MHz by a clock whose every period has a spread of 0.1 ps, in two ways: each edge independently displaced (white), and each edge displaced from where the last one landed (a free-running oscillator's walk). The sampled tone is fitted by least squares for amplitude, delay and a small frequency offset, and what is left is the error. White jitter gives 107.2, 107.0, 107.0, 107.1, 107.0 dB — the closed form 107.0 dB, at every length. The walk gives 92.6, 86.4, 80.3, 74.5, 68.2 dB for 256, 1024, 4096, 16384, 65536 samples, falling 10.1 dB a decade, as the period spread times √(n/15): a jitter with no value until the length of the look is named.607080901001101k10k100ksamples in the recordsignal to timing error (dB), 10 MHz tone80.3 dBindependent edges107.0 dBwalk, delay fitted77.1 dBwalk, delay and frequency80.3 dBtiming left: 1.54 pslines: σ/√2, σ√(n/6), σ√(n/15)solved, then checked — 80 seeded clocks−10 dB a decade of record
Fig. 1 The signal-to-timing-error ratio of a 10.01 MHz tone sampled at 160 MHz, against the number of samples in the record, for two clocks with the same 0.1 ps spread in every period. The slider picks a record length and marks what each clock gives there.

Two clocks with the same period spread

Both clocks run at 160 MHz and sample a tone at 10.01 MHz, placed on an exact bin of a 16,384-sample record. Both have a period spread of 0.1 ps: the interval between consecutive edges differs from its nominal 6.25 ns by a Gaussian of that size. In the first clock that is achieved by displacing every edge independently from its ideal instant by a draw of 0.1/20.1/\sqrt2 ps, which makes the period the difference of two independent draws and gives it the stated spread; in the second, by timing each edge from the previous one, which makes the period a single draw and the edge’s position the running sum of every draw before it.

The sampled tone is then fitted by least squares — a sine and a cosine at its own frequency, which absorb its amplitude and any constant delay, and the same two multiplied by time, which absorb a small frequency offset to first order. What the fit cannot absorb is the error. That is what a spectrum analyser locked to the tone, or a receiver tracking it, would report, and it is the fair measure: a delay is not an error to anyone who does not know where time zero was, and a clock running a third of a part per million fast is a frequency error and not a jitter.

The independent clock gives 107.0 dB at every record length from 256 samples to 65,536 — 107.2, 107.0, 107.0, 107.1 and 107.0 over the five lengths averaged across eight seeded clocks — which is the tone rule, −20log⁡(2πfσ)-20\log(2\pi f\sigma), with its edges’ 0.071 ps in it. The walking clock gives 92.6 dB over 256 samples, 86.4 over 1,024, 80.3 over 4,096, 74.5 over 16,384 and 68.2 over 65,536. It falls 10.1 dB a decade of record, and it has not stopped falling where the measurement stops.

What a walk is

The two clocks’ timing errors, drawn edge by edge, show the difference directly.

Four thousand edges with the same 0.1 ps spread in every period: 0.070 ps rms if each edge is placed independently, 4.06 if each is timed from the last. computed by solving, not by drawing. The timing error of 4,096 clock edges from two seeded clocks with the same period spread, 0.1 ps. With each edge displaced independently by 0.1/√2 ps (the thin band at zero) the rms is 0.070 ps. With each displaced from the last (the wandering trace) it is 4.06 ps — and the dashed line is its least-squares best line, a delay and a frequency offset of 0.32 parts per million. What is left about that line is 1.31 ps: the part no locking to the tone can remove.
Fig. 2 The timing error of 4,096 edges from each seeded clock. Independent edges stay in a band 0.070 ps rms wide about zero. Edges timed from their predecessors wander to 4.06 ps rms; the dashed line is their best straight line, a delay and a frequency offset of 0.32 parts per million, and what is left about it is 1.31 ps.

The independent clock’s errors fill a thin band about zero, 0.070 ps rms, and look the same at every edge. The walk wanders — up past eight picoseconds and back — to 4.06 ps rms over the record, fifty-eight times the independent clock’s, with the same spread in every single period. Nothing about any one period distinguishes them. What distinguishes them is memory: the walk’s error at edge kk contains every draw that came before it, so its variance is kk times the period spread’s, and its rms over a record of nn edges is the spread times n/2\sqrt{n/2}.

Most of that wander is not an error in the sense that matters, and the fit removes it. A constant offset is a delay; a steady drift is a frequency offset; the best straight line through the walk takes both, 0.32 parts per million of frequency in the record drawn. What remains is the walk’s curvature about that line — the part that is neither a delay nor a frequency — and its rms is 1.31 ps in this record. For a walk of nn steps the expected residual about the mean is the spread times n/6\sqrt{n/6}, and about the best line the spread times n/15\sqrt{n/15}: the fit buys a factor of 7.5\sqrt{7.5} over the raw figure and changes nothing about the growth. The residual still grows as the square root of the record, which is ten decibels a decade of length — the slope in the first figure.

Two independent routes arrive at those numbers. The first works on the timing sequence alone: the rms of the walk about its mean and about its best line. The second samples the tone, fits it by least squares with no knowledge of the timing sequence, and reads the ratio from what is left. They share the draws and nothing else, and at every record length the second agrees with the first read through the tone’s slope, to within six tenths of a decibel across eight seeds.

The spectrum, which is phase noise

A walk in the time domain is a spectrum with no bottom in the frequency domain, and the sampled tone shows it.

Sampled by the walking clock, the tone grows a skirt falling 19.8 dB a decade from it; by the independent one, a flat floor — with the same 0.1 ps period jitter. computed by solving, not by drawing, averaged over 12 seeded clocks of each kind. The spectrum of a 10.01 MHz tone sampled 16,384 times at 160 MHz, Hann windowed, after removing each record's best delay and frequency, against offset from the tone, each point the mean of the bins within a tenth of it. With independent edges the error is a floor, −144.0 dB a bin at every offset. With edges that walk it is a skirt — −96.9 dB at 97.7 kHz and −127.6 dB at 3.91 MHz, falling 19.8 dB a decade — which is what an oscillator's phase noise is. The skirt has no bottom as the offset shrinks, so its integral depends on where the integration starts.
Fig. 3 The spectrum of the tone sampled by each clock, Hann windowed, after removing each record’s best delay and frequency, averaged over twelve seeded records, against offset from the tone. Independent edges give a flat floor at −144.0 dB a bin; edges that walk give a skirt falling 19.8 dB a decade, from −96.9 dB at 97.7 kHz to −127.6 dB at 3.91 MHz.

With independent edges the error is a floor, −144.0 dB a bin at every offset — the white floor a floor, or a line measured, lower here because the jitter is smaller. With edges that walk, the tone grows a skirt that falls 19.8 dB a decade of offset, the twenty that a walk’s spectrum must have, from −96.9 dB at 97.7 kHz to −127.6 dB at 3.91 MHz. That skirt is what an oscillator’s data sheet calls phase noise, in its commonest regime, and the picture is the reason the data sheet gives it as a curve.

A curve falling twenty decibels a decade has an integral that depends on where it starts. Its power between an offset and infinity goes as one over the offset, so the total diverges as the lower limit goes to zero — which is the spectral statement of a timing error that grows without bound. Every quoted rms jitter derived from a phase-noise curve is therefore an integral over a stated band, and the lower limit of the band is the length of the look: an offset of 1/T1/T corresponds to a record of length TT. A jitter figure integrated from 12 kHz and one integrated from 1 kHz describe the same oscillator and differ by the square root of twelve.

One oscillator, six jitter figures

The consequence for specifications is that the same clock has several honest jitter figures, and they do not agree.

One free-running oscillator, six honest jitter figures from 0.10 to 4.7 ps — a factor of 46. computed by solving, not by drawing, over 16 seeded walks of 4096 edges each with a period spread of 0.1 ps. period jitter: 0.100 ps (σ = 0.100); cycle-to-cycle: 0.142 ps (√2 σ = 0.141); accumulated over 1,000 cycles: 3.254 ps (√1000 σ = 3.162); rms over 4,096 edges: 4.655 ps (σ√(n/2) = 4.526); …about the mean (delay removed): 2.868 ps (σ√(n/6) = 2.613); …about the best line (and frequency): 1.580 ps (σ√(n/15) = 1.652). Every figure is a correct description of the same clock. Only the first two are properties of the clock alone; the other four are properties of the clock and a length of time, and a number quoted without its length is not a specification.
Fig. 4 Six jitter figures for one free-running clock with a 0.1 ps period spread, each measured over sixteen seeded walks of 4,096 edges (bars) beside its closed form (dots): period jitter 0.100 ps, cycle-to-cycle 0.142, accumulated over 1,000 cycles 3.25, rms over the record 4.66, about the record’s mean 2.87, about its best line 1.58.

The period jitter — the spread of one period — is 0.100 ps, and it is the only figure that is a property of the oscillator alone. The cycle-to-cycle jitter, the spread of the difference between consecutive periods, is 0.142: 2\sqrt2 times the period jitter, since consecutive periods of a walk are independent draws. Those two are measured in one or two periods and do not depend on anything else.

The other four each carry a length. The accumulated jitter over a thousand cycles — how far an edge has wandered from where a perfect clock would have put it a thousand periods later — is 3.25 ps, against 1000×0.1\sqrt{1000}\times0.1 = 3.16. The rms over a 4,096-edge record is 4.66 ps against 0.14097/20.1\sqrt{4097/2} = 4.53; about the record’s mean, 2.87 against 2.61; and about its best line, 1.58 against 1.65. The last three are within the scatter sixteen walks allow, which is wide because a walk’s rms over one record is itself a random quantity that varies a great deal from one walk to the next.

From the smallest to the largest is a factor of 46, for one clock, with every figure correct. A data sheet that prints “jitter: 0.1 ps” for this oscillator has told the truth about its periods and nothing about its sampling, and a converter designer who uses it in the tone rule has computed 104.0 dB for a clock that delivers 80.3 dB over a four-thousand-sample capture. The difference is not a margin of safety being eroded. It is the difference between two quantities with the same unit.

The same distinction has appeared in these essays in a different circuit. The decision taken where the ramp is slowest found a relaxation oscillator’s consecutive periods sharing a draw, so that its jitter accumulates at 3.771 per root period rather than at the per-period 3.399, and the walk the core sees carried that walk into a transformer’s flux. The walk measured here is the simplest member of that family, with independent periods and no sharing, and the sampling problem it poses is the same one.

What a locking loop does

A clock used for sampling is almost never free-running. It is locked, by a phase-locked loop, to a reference that is itself stable over long times — and a lock is exactly a mechanism that stops a walk.

Lock the oscillator with a loop of 100 periods and its jitter stops growing at 87.0 dB; of 1000, at 77.0 — the loop is what gives the jitter a value. computed by solving, not by drawing, averaged over 8 seeded clocks at each length. The same 10.01 MHz tone and 0.1 ps period spread as the walk, with the walk pulled back towards the reference with a time constant of 100 and 1000 periods, as a phase-locked loop of that bandwidth would. The free walk's ratio after fitting delay and frequency falls without limit: 92.6, 86.4, 80.3, 74.5, 68.2 dB. The locked clocks' ratios fall until the record is a few loop time constants long and then stop: τ = 100, 93.2, 89.4, 87.6, 87.3, 87.0; τ = 1000, 92.6, 86.3, 81.8, 78.2, 77.6 dB. The ceiling is σ/√(1 − e^(−2/τ)) ≈ σ√(τ/2), for a period spread σ: 0.71 ps and 2.24 ps.
Fig. 5 The signal-to-timing-error ratio against record length for the free walk and for the same walk pulled back towards the reference with time constants of 100 and 1,000 periods. The free walk falls without limit to 68.2 dB; the locked clocks stop at 87.0 and 77.0 dB, the ceilings the pull-back sets.

The loop is modelled by its effect: each edge’s error is the previous error shrunk by a factor e−1/τe^{-1/\tau} before the fresh draw is added, so a wander decays with a time constant of τ\tau periods instead of persisting. Over records short against τ\tau the locked clock is indistinguishable from the free one — the loop has not had time to act. Over records long against it the error stops growing, at a stationary spread of σ/1−e−2/τ\sigma/\sqrt{1 - e^{-2/\tau}}, which is about στ/2\sigma\sqrt{\tau/2}.

With a loop time constant of 100 periods the ratio falls from 93.2 dB at 256 samples to 89.4, 87.6 and 87.3, and stops at 87.0 dB over 65,536 — the ceiling set by a stationary spread of 0.71 ps. With a time constant of 1,000 periods it falls further, to 77.6 dB, against a ceiling of 77.0 set by 2.24 ps. The free walk over the same record is at 68.2 dB and still going.

So the loop is what gives the jitter a value, and its bandwidth is what sets the value. A narrow loop — a long time constant — lets the oscillator wander for longer before correcting it, and the ceiling is lower; a wide loop corrects quickly and the ceiling is high, until the loop starts passing the reference’s own noise, which is a different problem. The oscillator’s walk contributes jitter only from offsets above the loop’s bandwidth: in the spectrum, the skirt stops at the loop’s corner and flattens below it. The integration band a data sheet quotes, when it quotes one, is usually chosen to start near that corner for exactly this reason.

What it costs a converter, in bits

Put a fourteen-bit converter behind the free-running clock and the arithmetic becomes a capture-length rule. Fourteen bits is 86.0 dB. The walk’s ratio after the fit follows 104.0−10log⁡(n/15)104.0 - 10\log(n/15) dB for this tone and this period spread — the tone rule with the period jitter in it, less the walk’s growth — and that reaches 86.0 dB at n≈940n \approx 940 samples, 5.9 µs at 160 MHz. Captures shorter than that see the converter’s own resolution; longer ones see the clock. Over 4,096 samples the clock limits the system to 80.3 dB, 13.05 bits, and over 65,536 to 68.2 dB, 11.04 bits — three bits lost to a clock whose every period is as good as the part promised.

Locked with a time constant of a hundred periods, the same clock’s ceiling is 87.0 dB, 14.16 bits, and the converter keeps its fourteen bits at any record length. Locked with a time constant of a thousand, the ceiling is 77.0 dB, 12.50 bits: a slower loop, chosen perhaps to reject a noisier reference, has cost a bit and a half of a fourteen-bit converter at every capture longer than a few thousand samples. Neither number appears in the clock’s period jitter, and both follow from it once a record length and a loop are named.

Why the tone rule still works for locked clocks

None of this overturns the tone rule for a well-locked sampling clock, which is most of them. Over any record much longer than the loop’s time constant, a locked clock has a jitter with a value, and that value is what goes into −20log⁡(2πfσ)-20\log(2\pi f\sigma). What the walk changes is which value. The number to use is the clock’s timing error integrated over the band from the loop’s corner upwards — or, equivalently, the rms timing error over a record, after the best delay and frequency have been removed, once the record is long against the loop. It is not the period jitter, which for the locked clock in the figure is 0.1 ps and gives 104.0 dB, when the clock actually delivers 87.0.

And for records shorter than the loop’s time constant — a burst capture, a single radar pulse, an oscilloscope’s single-shot acquisition — the loop has not acted, and the free walk’s figures apply. The same clock then has a better jitter over a short capture than over a long one: 92.6 dB over 256 samples against 87.0 over 65,536. Averaging longer to reduce noise, which the corner where averaging stops working found failing for flicker noise because its samples are not independent, fails here for the same reason in the time axis: the error is correlated across the record, and a longer record collects more of it rather than less.

How the numbers were obtained

Each clock’s timing errors are generated edge by edge from a seeded Gaussian: independently for the white clock, cumulatively for the walk, and cumulatively with a decay factor e−1/τe^{-1/\tau} for the locked clocks. The tone is sampled at the 160 MHz edges displaced by those errors, and fitted by linear least squares on four functions — sine and cosine at the tone’s frequency, and each multiplied by time about the record’s centre — through the normal equations; the residual’s power over the tone’s is the ratio. The timing-domain route computes the same sequences’ rms about their mean and about their least-squares line, and reads a ratio through −20log⁡(2πfσ)-20\log(2\pi f\sigma). Each point is the mean over eight seeded clocks for the record-length figures, sixteen for the six jitter figures and twelve for the spectra. The spectra use a Hann window on the detrended sampled tone and average the power over the bins within a tenth of each plotted offset.

What it leaves out

Flicker in the oscillator. A real oscillator’s phase noise has a region falling thirty decibels a decade close to the carrier, from flicker noise in its active device, as well as the twenty-decibel region modelled here. Its timing error grows faster than the square root of the record there, and the loop’s ceiling depends on it more strongly.

The reference’s own noise. The locked clocks are pulled towards a perfect reference. A real reference has its own walk, which the loop passes below its bandwidth, and the total is a sum of the reference’s jitter inside the loop band and the oscillator’s outside it.

The signal’s spectrum. Everything here samples a single tone, so the error is the tone’s slope times the residual timing error. For a band-filling signal the frequency a band moves at replaces the tone’s frequency with the band’s rms frequency, and the two corrections multiply.

Still open: the loop’s own noise, the flicker region, and the capture that is shorter than the loop

The loop’s bandwidth as an optimum. A wide loop suppresses the oscillator’s walk and passes the reference’s noise; a narrow one does the opposite. With both sources modelled — a walking oscillator and a walking reference of different strengths — there is a loop time constant at which the sampled tone’s error is least, and it should be where the two clocks’ accumulated jitters are equal over one time constant. Measuring that optimum on the march would turn a loop-design rule of thumb into a number.

The thirty-decibel region. An oscillator whose phase noise falls thirty decibels a decade close in has a timing error growing as the record length itself rather than its square root, and the best-line fit removes less of it. How much less — whether a quadratic term in the fit would be needed to make such a clock usable over a long capture — is a question about the next term of the same least-squares fit.

Bursts. A capture shorter than the loop’s time constant sees the free walk, so a burst receiver’s clock is characterised by its period jitter and its walk alone, and a long-capture receiver’s by its loop. The same oscillator and loop, specified once, give two answers to two receivers, and neither data sheet figure is the one either receiver needs.

Part 4 on aperture jitter

One argument about Aperture jitter, and one of 6 essays on it so far, each part numbered by how much of the idea it assumes. What sits either side of it:

A band from zero to its top frequency takes 4.77 dB less from 10 ps of jitter than a tone at the top: it is the rms frequency that counts, not the highest. computed by solving, not by drawing. Forty-eight equal tones at random phases filling a band from 0 to 1 of its top frequency, sampled 16,384 times at instants displaced by a seeded 10 ps Gaussian, at seven top frequencies from 100 kHz to 100 MHz. The measured signal-to-error ratio (dots) is 88.64 dB at 1 MHz, against −20 log(2π × rms frequency × jitter) = 88.76 dB from the band's power-weighted rms frequency, 580 kHz — and against 84.04 dB for a tone at 1 MHz itself. The gap is 4.77 dB at every frequency, 10 log(3/(1 + r + r²)) for a flat band from r to 1 of the top: 4.77 dB (a factor of √3 in frequency) for a band from zero, nothing for a narrow one. At 1 MHz the band holds 14.43 bits where the tone holds 13.67. The frequency a band moves at Part 3 — The jitter rule is written for a sinusoid: ten picoseconds holds a tone at 1 MHz to 84.04 dB. A signal that fills the band up to 1 MHz holds 88.64 dB against the same clock, because each sample's error is its own slope times its own timing error, and a band's slope is set by its rms frequency — the top frequency over √3 for a flat band, 4.77 dB better. Pink content up to 1 MHz is 11 dB better than the rule and content falling as 1/f² is 29 dB better. So the same ten picoseconds hold sixteen bits to 199 kHz for a tone, 344 kHz for a flat band and 734 kHz for a pink one: an aperture figure needs a signal as well as a frequency. With a 2 ps reference and a 0.1 ps-a-period oscillator the best loop has a time constant of 20.0 periods, where the clock's error is 0.453 ps — 90.9 dB on a 10 MHz tone. computed by solving, not by drawing, with seeded locked clocks as dots. A free-running oscillator whose period has a spread of 0.1 ps, locked by a first-order loop to a reference whose timing error, as the phase detector sees it each period, is 2 ps rms and white. The loop passes the reference's error below its corner and the oscillator's walk above it, so the stationary error is σₒ²/(1 − a²) + σᵣ²(1 − a)/(1 + a) with a = exp(−1/τ). The oscillator's part rises as √(τ/2)·σₒ and the reference's falls as σᵣ/√(2τ); they are equal, and their sum least, at τ = 20.00 periods, the ratio σᵣ/σₒ, where the clock's error is 0.4528 ps — √(σᵣ·σₒ). Seeded clocks of 65,536 periods: τ = 2, 1.000 ps; τ = 5, 0.656 ps; τ = 20, 0.452 ps; τ = 80, 0.649 ps; τ = 300, 1.187 ps; τ = 1000, 2.105 ps. The loop a reference allows Part 5 — A sampling clock is a free-running oscillator held by a loop to a reference, and the reference has an error of its own. With 0.1 ps of period spread in the oscillator and 2 ps of white error in the reference, a first-order loop of 20 periods leaves the clock 0.453 ps from ideal — 90.9 dB on a 10 MHz tone — and that is the best any first-order loop can do: the oscillator's share rises as the square root of the loop's time constant, the reference's falls as one over it, and they are equal at σᵣ/σₒ. The clock's error there is the geometric mean of the two, so a reference a hundred times worse costs ten. On a spectrum the rule reads as one instruction: put the loop's corner where the free oscillator's skirt meets the reference's floor. And it holds only for long captures. Below about seven loop time constants the free oscillator beats every loop.

What links here

Essays that reach for this one mid-argument — the half of a link its own author cannot write down.

The objects named here

The third axis, after the field and the idea: the things themselves, and every essay that touches each one.

Aperture jitterMeasurement conditionPeriod jitterPhase noiseSeeded generatorSignal-to-noise ratio