Where a signal becomes a number

The frequency a band moves at

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.

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

A picosecond, read as bits gave aperture jitter its rule: a sinusoid of frequency ff sampled at instants wrong by σ\sigma root-mean-square has a signal-to-error ratio of −20log⁡(2πfσ)-20\log(2\pi f\sigma), and ten picoseconds hold sixteen bits up to 199 kHz. A floor, or a line then showed that the same number of picoseconds can arrive as a floor or as a pair of lines, and it ended on a signal it had not measured: one that is itself broadband. For such a signal, it said, the distinction between the clocks disappears and the total is the whole story.

The total is then the question, and the rule in hand does not answer it. It was derived for one tone, and a signal filling a band has no single frequency to put in it. The usual practice is to use the top of the band, on the principle that the fastest component is the one the jitter hurts most. That is a bound and not an answer, and this essay measures how loose a bound it is: for a flat band it is 4.77 dB pessimistic, for the spectra most real signals have it is ten to thirty, and the quantity that replaces the top frequency is a mean over the whole band that anyone holding the signal’s spectrum can compute.

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 highestcomputed 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.406080100120100k1M10M100Mthe band's top frequency (hertz)signal to jitter error (dB)jitter10 ps rmsband0 to the toprms frequency0.580 of the topabove the tone4.77 dBat 1 MHz88.64 dBdashed: a tone at the top frequencysolid: the band's own rms frequencysolved, then checked — 7 bands of 48 tones4.77 dB above the tone rule
Fig. 1 The signal-to-jitter-error ratio against the band’s top frequency, for ten picoseconds of Gaussian aperture jitter. The dashed line is the tone rule at the top frequency; the dots are forty-eight equal tones filling a band, measured; the solid line is the same rule at the band’s rms frequency. The slider moves the band’s lower edge.

A band, sampled and measured

The signal is forty-eight equal tones at random phases, spread evenly across a band from zero to its top frequency, each an exact number of cycles in a record of 16,384 samples so that nothing leaks and the signal’s power is exactly the sum of its tones’. It is sampled twice, once at the ideal instants and once at instants each displaced by a fresh draw from a seeded Gaussian of ten picoseconds, and the difference between the two sample sets is the error. The ratio of the signal’s power to the error’s is measured at seven top frequencies, from 100 kHz to 100 MHz.

At a top frequency of 1 MHz the measured ratio is 88.64 dB. A single tone at 1 MHz, sampled by the same clock, gives 84.04 dB, which is the rule. The band is better than its fastest component by 4.6 dB, and across the whole sweep the dots sit parallel to the tone’s line at the same distance: 20 dB a decade, the same slope, displaced upwards. The band’s top frequency can rise by a factor of 1.73 before the band is as badly off as a tone at its top.

That factor is 3\sqrt 3, and the line the dots lie on is the tone rule evaluated not at the top frequency but at 580 kHz, which is the band’s rms frequency — the square root of the power-weighted mean of the squares of its tones’ frequencies. For a flat band from zero to fmaxf_{max} that is fmax/3f_{max}/\sqrt3, and the measurement agrees with the rule at that frequency to 0.12 dB, which is the scatter of 16,384 random timing errors.

The error is the slope, sample by sample

The reason is visible one sample at a time. A sample taken at t+δt + \delta instead of tt is wrong by x(t+δ)−x(t)x(t+\delta) - x(t), and for a timing error of picoseconds against a signal that changes over microseconds that is the slope times the timing error, x′(t) δx'(t)\,\delta, to an accuracy that the square of the next term decides.

Each sample's error is its own slope times its own timing error — so a band's error is set by how fast the band moves on average, not by its fastest tone. computed by solving, not by drawing. The first 160 samples of a band of 48 equal tones up to 1 MHz (upper trace), and the error each takes from 10 ps of Gaussian aperture jitter (dots, lower trace), beside the slope at that instant multiplied by that instant's timing error (line). The two agree to 7.4e-5 of the largest error. The shaded envelope is the magnitude of the slope, scaled: where the waveform is steep the error is large, and the error's power is the jitter's variance times the slope's mean square — (2π × the rms frequency)² times the signal power, with the rms frequency 580 kHz.
Fig. 2 The first 160 samples of a band of 48 tones up to 1 MHz (upper trace), and the error each sample takes from 10 ps of jitter (dots), beside that sample’s slope times its timing error (line). The shaded envelope is the magnitude of the slope. The two routes agree to 7.4 parts in a hundred thousand of the largest error.

The figure computes both, for the first 160 samples of the band at 1 MHz: the error measured by sampling twice, and the slope at each instant multiplied by that instant’s draw. They agree to 7.4 parts in a hundred thousand of the largest error, and the shaded envelope — the magnitude of the slope — shows the error swelling where the waveform is steep and shrinking where it turns. Nothing about the band’s top frequency appears in any single sample’s error. What appears is the slope at that instant.

So the error’s power is the timing error’s variance times the slope’s mean square, σ2 x′2‾\sigma^2\,\overline{x'^2}, and the slope’s mean square is a property of the signal’s spectrum. Each tone of amplitude aa at frequency ff contributes a2(2πf)2/2a^2(2\pi f)^2/2 to it, the tones’ cross terms average away over a record, and the ratio of signal power to error power is

PsignalPerror=1(2πσ)2 f2‾,f2‾=∑ak2fk2∑ak2,\frac{P_{signal}}{P_{error}} = \frac{1}{(2\pi\sigma)^2\,\overline{f^2}},\qquad \overline{f^2} = \frac{\sum a_k^2 f_k^2}{\sum a_k^2},

which is the tone rule at the frequency frms=f2‾f_{rms} = \sqrt{\overline{f^2}}. For a single tone that is the tone’s own frequency and nothing is lost. For anything else it is a weighted mean, and a mean is always below the maximum it is taken over.

Four spectra with the same top

A flat band is the gentlest departure from a tone. Most signals worth sampling have far less power near their top than near their middle, and for those the rms frequency falls a long way.

Four signals whose top frequency is 1 MHz: 10 ps of jitter costs them 2.6, 4.4, 11.0, 29.3 dB less than a 1 MHz tone. computed by solving, not by drawing. Eighty tones spaced logarithmically over three decades below 1 MHz, with their powers set for four spectral shapes, each sampled 16,384 times with 10 ps of seeded Gaussian jitter. A tone at 1 MHz has a jitter-limited ratio of 84.04 dB. The four signals measure 86.66 dB (rising, power ∝ f, rms frequency 737.0 kHz); 88.41 dB (flat, rms frequency 602.5 kHz); 94.99 dB (pink, power ∝ 1/f, rms frequency 282.1 kHz); 113.34 dB (falling, power ∝ 1/f², rms frequency 34.0 kHz). Each matches −20 log(2π × rms frequency × jitter) for its own rms frequency, and the bar is how much better than the tone rule it does. A signal whose power falls with frequency, like most audio and most sensor outputs, is scarcely touched by a jitter figure computed for its top frequency.
Fig. 3 Eighty tones spaced logarithmically over three decades below 1 MHz, with their powers set for four spectral shapes, each sampled with 10 ps of jitter: how many decibels better than a 1 MHz tone each one does. Rising power, 2.62 dB; flat, 4.37; pink, 10.96; power falling as 1/f², 29.30.

The four signals share a top frequency of 1 MHz and differ only in how their power is spread over the three decades below it. With power rising in proportion to frequency, the rms frequency is 737 kHz — the continuous band’s fmax/2f_{max}/\sqrt2 — and the signal does 2.62 dB better than the rule. Flat, 602 kHz on this logarithmic grid and 4.37 dB better. Pink, with equal power in every octave, 282 kHz and 10.96 dB better. Power falling as the square of frequency, which is the shape of most audio programme above its midrange and of most slowly varying sensor outputs, has an rms frequency of 34 kHz — thirty times below its top — and does 29.30 dB better than a tone at its top would.

Every one of the four matches the tone rule at its own rms frequency, to two tenths of a decibel. The shapes are chosen to bracket what occurs, and the spread between them — 27 dB, four and a half bits — is the range of error a designer is choosing between when the jitter budget is written against the top frequency. The rule written that way is safe. For the falling spectrum it is safe by a factor of thirty in frequency, which is a factor of thirty in the clock’s allowed jitter.

The lower edge, and when a band is a tone

The flat band’s advantage depends on where it starts. A band from zero has an rms frequency of fmax/3f_{max}/\sqrt3. A band from rr to one of fmaxf_{max} has a mean square frequency of (1+r+r2)/3(1 + r + r^2)/3 of fmax2f_{max}^2, so its advantage over the tone at its top is

10log⁡31+r+r2 dB.10\log\frac{3}{1 + r + r^2}\ \text{dB}.

How much a band gains over the tone rule falls from 4.77 dB, for a band from zero, to nothing as it narrows onto its top edge. computed by solving, not by drawing. Forty-eight equal tones filling a band from r to 1 of 1 MHz, for nine values of r, each sampled 16,384 times with 10 ps of Gaussian jitter. The measured ratio less a 1 MHz tone's (dots) against 10 log(3/(1 + r + r²)), which is the band's mean-square frequency (1 + r + r²)/3 of the top's: 4.60 at r = 0, 4.24 at r = 0.1, 3.59 at r = 0.25, 2.89 at r = 0.4, 2.47 at r = 0.5, 1.90 at r = 0.6, 1.17 at r = 0.75, 0.61 at r = 0.9, 0.21 at r = 0.97. A band from zero is √3 lower in rms frequency than its top; a narrow band near its top — a signal sampled well above baseband, or a narrowband carrier — behaves like the tone.
Fig. 4 How much better than a 1 MHz tone a flat band up to 1 MHz does, against its lower edge as a fraction of its top: measured (dots) against 10log⁡10(3/(1+r+r2))10\log_{10}\bigl(3/(1 + r + r^2)\bigr) (dashed). From 4.77 dB for a band from zero to 0.21 dB at 97 per cent.

The measured points follow it across nine bands: 4.60 dB for a band from zero, 3.59 from a quarter, 2.47 from a half, 1.17 from three quarters and 0.21 from 97 per cent, each within the 0.3 dB that the finite draw of timing errors and the finite count of tones allow. The advantage halves by the time the band starts at half its top, and a band a few per cent wide behaves like the tone at its centre.

That is the case the tone rule was written for, and it covers more than a pure sinusoid. A narrowband signal sampled well above baseband — an intermediate frequency digitised directly, a carrier and its modulation — has its rms frequency at its centre, and for it the rule is right with the centre frequency in it. The rule’s error is confined to wideband baseband signals, where it is always on the safe side and usually by more than a designer would guess.

What the same picoseconds allow

Read the other way, the rms frequency is a statement about what a converter’s clock will support.

Ten picoseconds holds sixteen bits to 199 kHz for a tone and to 344 kHz for a band from zero — the same part, specified against two different signals. computed by solving, not by drawing: the closed form, with the flat band's factor of √3 confirmed on the measured bands. The highest frequency at which aperture jitter alone still allows a stated resolution, for a tone at that frequency, a flat band from zero up to it, and a pink band over three decades up to it: 12 bits at 1 ps, a tone at the top: 31.8 MHz; 12 bits at 1 ps, a flat band from zero: 55.0 MHz; 12 bits at 1 ps, a pink band, three decades: 117 MHz; 16 bits at 1 ps, a tone at the top: 1.99 MHz; 16 bits at 1 ps, a flat band from zero: 3.44 MHz; 16 bits at 1 ps, a pink band, three decades: 7.34 MHz; 12 bits at 10 ps, a tone at the top: 3.18 MHz; 12 bits at 10 ps, a flat band from zero: 5.50 MHz; 12 bits at 10 ps, a pink band, three decades: 11.7 MHz; 16 bits at 10 ps, a tone at the top: 199 kHz; 16 bits at 10 ps, a flat band from zero: 344 kHz; 16 bits at 10 ps, a pink band, three decades: 734 kHz. The band's top frequency can be √3 = 1.73 times the tone's, and the pink band's 3.70 times.
Fig. 5 The highest frequency at which jitter alone still allows twelve or sixteen bits, at 1 and 10 ps, for a tone at that frequency, a flat band from zero up to it, and a pink band over three decades up to it. At 10 ps and sixteen bits: 199 kHz, 344 kHz and 734 kHz.

At ten picoseconds, sixteen bits of jitter-limited resolution end at 199 kHz for a tone, 344 kHz for a flat band and 734 kHz for a pink band over three decades. At twelve bits the same clock carries a tone to 3.18 MHz, a flat band to 5.50 MHz and a pink band to 11.7 MHz; at one picosecond every figure is ten times higher. The flat band’s factor of 3\sqrt3 is the measured one; the pink band’s 3.69 is its rms frequency’s ratio to its top, which depends weakly on how many decades the band spans — it is the square root of twice the natural logarithm of that span, for a span much greater than one.

At a top frequency of 1 MHz with ten picoseconds, the tone holds 13.67 bits and the flat band 14.43. Three quarters of a bit is small next to what a pink or falling spectrum gains, and it is still the difference between a converter meeting a specification and not meeting it, for no change in the part.

A budget written three ways

The rule is most often used backwards — to set the clock’s specification from a resolution — and there the difference compounds. Take an audio channel with a 20 kHz band that must hold 120 dB against jitter alone. Written against a tone at the top of the band, the rule allows 10−6/(2π×20 kHz)10^{-6}/(2\pi\times20\,\text{kHz}) = 7.96 ps. Written against a flat band from zero it allows 3\sqrt3 times that, 13.8 ps. Written against pink content from 20 Hz to 20 kHz — equal power per octave, the usual stand-in for programme material — the rms frequency is 20 kHz divided by 2ln⁡1000\sqrt{2\ln 1000}, 5.38 kHz, and the allowance is 29.6 ps. And if the content falls as the square of frequency above 20 Hz, its rms frequency is the geometric mean of the band’s edges, 20×20,000\sqrt{20 \times 20{,}000} = 632 Hz, and the clock may carry 252 ps.

Those four figures span a factor of thirty-two for one channel and one target, and each is right for its signal. A clock specified at 7.96 ps for a channel that only ever carries speech has been bought thirty times too good. That may be the right purchase — a test tone at 20 kHz is what the channel will be certified with, and a tone is the worst case — but it should be made knowing that it is the certificate and not the programme that sets the price.

The error these clocks produce has a spectrum of its own, and it is worth knowing what shape it is. Each sample’s error is the slope times an independent timing draw, and a sequence multiplied by independent draws is white whatever the sequence was: the band is shaped, the error is not. So the jitter error from a pink programme lands as a flat floor across the whole Nyquist band, at the level the rms frequency sets — including the octaves where the programme itself is quiet. The ratio this essay measures is a total; per octave, the error is heaviest relative to the signal exactly where the signal is weakest, at the top of the band. That is the one place the tone rule’s pessimism is partly earned back. It is also the opposite of the behaviour when a floor stops being a floor found in quantisation error, which stops being white and locks to the signal as the signal shrinks: jitter error with independent draws stays white at any amplitude, because its randomness is in the clock and not in the signal’s relation to a grid.

Why the rule was written for a tone

None of this contradicts the floor a converter sets or any converter data sheet, which state an effective number of bits measured with a single full-scale sinusoid. That measurement is the right one to specify a part by, because it is reproducible and it is the worst case at a given frequency: of all signals with power at or below ff, a tone at ff has the largest mean square slope for its power. The rule is correct as a bound on the part.

What it is not is a prediction for a signal. A system whose content is known — a microphone channel, a vibration sensor, a video line — has a spectrum, and the jitter it will actually suffer is computed from that spectrum’s second moment in one line. The quantisation formula carries the same hidden signal: its 1.76 dB is 10log⁡(3/2)10\log(3/2), the ratio of a full-scale sine’s power to that of a full-scale ramp, and six decibels a bit, and the half step blamed on it measured it to 0.15 dB one step inside full scale — with a sine. There the property of the test signal is its shape; here it is its single frequency.

There is a second reason the tone rule persists: a sine at full scale is the largest signal a converter can take without clipping, and a band-filling signal is not. The forty-eight tones drawn here have a crest factor of 3.39 against a sine’s 1.41, so they must be backed off by 7.6 dB below a full-scale sine’s rms to fit between the rails. That costs 7.6 dB of the signal-to-quantisation ratio, measured against a fixed floor. It costs nothing of the signal-to-jitter ratio, which scales with the signal — the error is proportional to the slope, and the slope to the amplitude. The two effects are independent and both have to be counted, and the jitter half is the one this essay measures.

Two routes, and what they share

The measured ratios come from sampling a sum of sinusoids twice and differencing: no expression for the error is used. The predicted ratios come from the tones’ frequencies and amplitudes alone, through the rms frequency, with no samples. The two share the list of tones and the value of the jitter, and nothing else. The per-sample check shares the tones and the draws of the timing error, and it confirms that the first-order picture — slope times timing error — is the whole of the effect at picoseconds, to seven parts in a hundred thousand.

Every band’s tones sit on exact bins of the 16,384-sample record, so the signal’s measured power equals the sum of its tones’ powers to rounding, and the slope’s mean square equals the sum of its tones’ contributions to rounding. What varies between runs is the draw of the timing errors, which moves a measured ratio by about a tenth of a decibel. The seeded generator makes every run of every figure identical.

What it leaves out

Correlation between the jitter and the signal. The timing errors here are independent of each other and of the signal. A clock whose jitter is correlated with the signal — the same reference shared by the source and the sampler — puts the error where the signal is, and the mean over the record no longer separates the two factors.

A jitter that is not independent from sample to sample. Every timing error here is a fresh draw. A clock whose errors are related to the previous edge’s — a free-running oscillator, whose timing wanders — has a jitter whose size depends on how long the record is, and the mean square slope is then multiplied by a quantity that grows with the look. The walk the core sees measured exactly that kind of accumulation in a relaxation oscillator’s timing, where it walks at nanoseconds per root period.

The reconstruction side. A converter going the other way has the same mechanism at its output, and the staircase on the way out is where that path’s own errors are measured. The rms-frequency argument transfers unchanged.

Still open: the wandering clock, the correlated one, and the band that is not stationary

A clock whose errors accumulate. Everything here assumes a jitter with a value — an rms that does not depend on how long it is measured over. A free-running oscillator’s timing is a walk, its rms grows with the square root of the record, and the rule then needs a record length as well as a frequency and a signal. Measuring what a walk does to the same sampled tone, and what a locking loop does to the walk, is the next thing to draw.

A signal and a clock from one reference. When the jitter is a function of the signal rather than independent of it, the error’s power is no longer the product of two means, and whether the cross term helps or hurts depends on the phase relation — which a floor, or a line found decides everything for a modulated clock.

Content that changes. A signal’s spectrum over one record may not be its spectrum over the next — speech, a transient, a burst — and the rms frequency is then a quantity that moves from record to record. The jitter floor moves with it, and a converter whose budget was written against the long-term spectrum is exposed during exactly the loud, bright moments the budget averaged away.

Part 3 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:

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 jitterEffective bitsMeasurement conditionSampled dataSignal-to-noise ratioSpectral density