Where a signal becomes a number

A frequency that wanders

Below its flicker corner an oscillator's phase noise falls thirty decibels a decade instead of twenty, because the oscillator's frequency itself wanders. A clock with 0.1 ps of period spread and a 100 kHz corner samples a 10 MHz tone at 84.1 dB over 1,024 samples and 52.9 over 65,536 — 14.7 dB worse than the walk alone — because past 2,277 samples its error grows as the capture rather than its square root. That crossing is 1.42 periods of the corner frequency for every corner. Fitting a parabola as well as a line buys 3.88 dB at every length and changes no slope; each further term buys a fixed fraction. And a first-order locking loop cannot stop it: the locked clock's variance grows with the logarithm of the record, 1.92 dB lost between 4,096 and 262,144 samples, until a loop with an integrator holds it at 87.5.

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

A jitter that grows with the look found that a free-running oscillator has no jitter until a record length is named. Each of its periods is independent, so its edges walk, and the error left after fitting a capture’s best delay and frequency grows as the square root of the capture — ten decibels a decade of length, on a phase-noise curve falling twenty decibels a decade of offset. The loop a reference allows then locked that oscillator to a noisy reference and found the best loop at the ratio of the two noises.

Both essays used one kind of oscillator noise, and a real oscillator has two. Close to the carrier its phase-noise curve steepens from twenty decibels a decade to thirty, at an offset its data sheet may call the flicker corner. The cause is in the active device: its own low-frequency noise falls as one over frequency, the oscillator converts some of it into a wandering of its frequency, and a frequency that wanders as 1/f puts into the phase — the frequency summed — a spectrum falling as 1/f31/f^3. The walk’s periods were independent. A flicker clock’s are not: a period that ran long is likely to be followed by another that runs long, because the frequency that made it long has not had time to change.

The walk essay’s list of open questions put it in one line: a timing error growing as the record itself, which the best-line fit removes less of. This essay measures how much less, says where the change from one growth to the other happens, and finds that a locking loop has to be of a particular kind to stop it.

A clock whose frequency has a 1/f in it

The oscillator is the walk essay’s — 160 MHz, a 0.1 picosecond spread in every period, sampling a 10.01 MHz tone — with a flicker of its frequency added. The flicker is built as a sum of first-order processes with corners three to a decade, each of unit variance; their sum has a spectral density within a fraction of a decibel of C/f from a quarter of the capture’s own lowest frequency up to half the clock rate. Its level is set by the flicker corner: the offset at which its contribution to the timing spectrum equals the walk’s. That is the number a phase-noise plot shows as the knee between thirty and twenty decibels a decade, and the hero figure puts it at 100 kHz.

With a 100 kHz flicker corner the 0.1 ps oscillator's ratio stops falling ten decibels a decade of capture and starts falling twenty, past 2,277 samples — 1.42 periods of the cornercomputed by solving, not by drawing, from the exact expected residual of a summed process, with seeded clocks as dots (24 at each length to 16,384). A free-running oscillator with a 0.1 ps period spread and a flicker of its frequency whose timing spectrum meets the walk's at 100 kHz, sampling a 10.01 MHz tone at 160 MHz. Signal-to-timing-error after removing each capture's best delay and frequency: the walk alone falls ten decibels a decade, 85.7 dB at 1024, 67.6 dB at 65536; with the flicker, 84.1 and 52.9 dB. The flicker's share equals the walk's at 2,277 samples, 14.2 µs, which is 1.42 periods of the corner frequency; beyond it the ratio falls 19.5 dB a decade. Removing a quadratic as well buys 3.80 dB at 65,536 samples and changes no slope.4050607080901001101k10k100ksamples in the capturesignal to timing error (dB), 10 MHz tonethe walk aloneten decibels a decadewith flicker, line fitted52.9 dB at 65,536with flicker, parabola fitted56.7 dB at 65,536the two shares equal2,277 samplesexact expectation, seeded dotspast the corner, twenty decibels a decade
Fig. 1 Signal-to-timing-error after fitting each capture’s best delay and frequency, against capture length, for the 0.1 ps walk alone and with a 100 kHz flicker corner, the latter with a line and with a parabola removed. Lines are exact expectations; dots are 24 seeded clocks at each length. The slider is the corner.

The curves are exact expectations rather than averages. The timing error is a running sum of increments whose autocovariance is known — a spike for the walk, a sum of geometric decays for the flicker — so the expected mean square left after removing any polynomial can be computed directly: a reverse running sum, then one recursion per corner, for any capture length. Twenty-four seeded clocks at each of four lengths are the second route, and they agree to within the scatter that two dozen captures allow, which for this noise is wide; more on that below.

Over 1,024 samples the flicker costs 1.6 dB: 84.1 against the walk’s 85.7. Over 65,536 it costs 14.7: 52.9 against 67.6. Beyond a few thousand samples the flicker clock’s ratio falls 19.5 dB a decade of capture — twice the walk’s slope — and in the limit exactly twenty.

Why twenty decibels a decade, and where it starts

A walk’s residual grows as the square root of the capture because its timing error at a point is the sum of independent periods, and a fitted line can take only its average slope. A flicker clock’s residual grows as the capture itself. The reason is self-similarity: flicker frequency noise looks the same at every time scale, so the frequency’s wander over a capture twice as long is the same shape, and the timing error it integrates to is twice as large. Removing the best line takes the capture’s average frequency, and what is left is the frequency’s wander within the capture, which by that same scaling is a fixed fraction of the whole. The exact expectation confirms it: the residual about the line, divided by the square of the capture, is the same to a part in a hundred from 256 samples to 4,096.

So there are two growths and they cross. The walk’s mean square grows as n and the flicker’s as n2n^2, so they are equal at one capture length, and the hero figure marks it: 2,277 samples, 14.2 microseconds, at a 100 kHz corner. Below it the walk dominates and the walk essay’s rules apply; above it the flicker dominates and they do not.

The crossing has a universal form. Move the slider and it moves inversely with the corner: 22,778 samples at 10 kHz, 7,592 at 30, 758 at 300. In every case the capture at which the flicker’s share equals the walk’s lasts 1.42 periods of the corner frequency. That is a rule a converter designer can use without a phase-noise plot’s fine print: read off the oscillator’s flicker corner, invert it, multiply by 1.4, and captures longer than that are flicker-limited.

Telling the two apart from a timing record

A phase-noise plot shows the corner directly, but a converter designer often has only timing records — edge times captured by a time-interval analyser — and the question is how to find the corner in those. The statistic that does it is the one frequency metrologists use for exactly this purpose: the Allan deviation, the spread of the difference between the average frequencies of two adjacent stretches of a given length. For the walk, whose periods are independent, averaging the frequency over a stretch four times longer halves its wander, and the Allan deviation falls as the square root of the stretch. For flicker frequency noise it does not fall at all: a stretch four times longer has a frequency that wanders just as much, because the wander is the same at every scale.

So the Allan deviation of this clock falls as one over the square root of the stretch for short stretches and flattens at a floor for long ones, and the knee sits at a stretch of the same order as the corner period — the time-domain face of the 1.42 found above. The flat floor is the most useful single number a flicker clock’s data sheet can carry: it is the fractional frequency error that no amount of averaging removes, and multiplying it by a capture’s length gives, to within the fit’s constant, the timing error that capture will see. A data sheet that gives a period jitter and no Allan floor has described the walk and left the flicker to be discovered.

The same corner, seen as a spectrum

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. 2 From the walk essay: the tone sampled by the walking clock grows a skirt falling twenty decibels a decade, with no bottom. The flicker adds a steeper skirt below its corner.

The walk essay’s spectrum had one slope. Add the flicker and the skirt bends: above the corner it is the walk, twenty decibels a decade; below it, the flicker, thirty.

A 100 kHz flicker corner: the clock's phase noise falls 29.7 dB a decade below it and 20.3 well above, and the seeded clocks' spectrum follows. computed by solving, not by drawing, with the periodogram of eight seeded clocks of 65,536 edges as dots, each detrended by its best line and Hann windowed. The phase noise a 10.01 MHz tone acquires from a free-running clock with a 0.1 ps period spread and a flicker of its frequency cornering at 100 kHz. Far above the corner it is the walk, twenty decibels a decade; far below, the flicker, thirty; at the corner the two are equal and the total is three decibels above either. 9.77 kHz: -105.1 against -107.3; 78.1 kHz: -131.6 against -132.2; 625 kHz: -152.9 against -153.2; 5.00 MHz: -172.0 against -171.8 dBc/Hz.
Fig. 3 The phase noise a 10.01 MHz tone acquires from the flicker clock, against offset: the model, and the periodogram of eight seeded clocks of 65,536 edges as dots. The flicker falls 29.7 dB a decade below the 100 kHz corner and the walk 20.3 well above it; at the corner the two are equal and the total is three decibels above either.

The model and eight seeded clocks agree across four decades of offset — −131.6 against −132.2 dBc/Hz at 78 kHz, −152.9 against −153.2 at 625 kHz — and part company by two decibels only at the lowest offsets the record holds, where a periodogram has very few cycles to average. Measured between a thirtieth and a third of the corner, the flicker’s own slope is 29.7 dB a decade; well above it the total falls 20.3.

The thirty-decibel slope is what makes the growth with capture length steeper. The power in a skirt between an offset and the carrier diverges as the offset falls — for the walk’s skirt as one over the offset, for the flicker’s as one over its square — and the lowest offset a capture can see is one over its length. A capture four times longer reaches four times lower: the walk’s error gains a factor of four in power, the flicker’s sixteen.

A fit takes a fraction, not a slope

The natural repair is a richer fit. A line removes a frequency offset; a parabola would remove a frequency that drifted steadily through the capture, which is what a wandering frequency looks like over a short enough stretch. A cubic would take more again. The walk essay’s open question was whether a quadratic term would make a flicker clock usable over long captures.

Sixteen thousand edges of a clock with a 100 kHz flicker corner: 9.2 ps left about the best line, 6.8 about the best parabola, against 2.38 for the walk alone. Seeded: the timing error of 16,384 consecutive edges of a 160 MHz clock with a 0.1 ps period spread, with and without a flicker of its frequency cornering at 100 kHz. The walk alone wanders by a few picoseconds and leaves 2.38 ps rms about its best straight line. The flicker clock bends — its frequency itself wanders — and leaves 9.2 ps about its best line and 6.8 about its best parabola, which absorbs the record's average frequency drift and nothing finer.
Fig. 4 One seeded capture of 16,384 edges with a 100 kHz flicker corner, its best line and its best parabola, beside the walk alone. The walk leaves 2.38 ps about its line; the flicker clock leaves 9.2 about its line and 6.8 about its parabola.

One capture shows what the fit is up against. The walk wanders a few picoseconds and leaves 2.38 ps rms about its best line. The flicker clock bends: its frequency is different at the end of the capture from the beginning, and in between it changes more than once. A line leaves 9.2 picoseconds, a parabola 6.8 — it absorbs the average drift and nothing finer, and the curvature that remains is the frequency’s wander on every shorter time scale.

Each further term in the fit buys a fixed number of decibels at every capture length — a parabola 3.88 dB against flicker and 1.92 against a walk — and changes no slope. computed by solving, not by drawing: the exact expected residual after removing polynomials of increasing degree from the timing error, for a walk with 0.1 ps period spread and for flicker frequency noise alone, at captures of 256, 1024, 4096, 16384 samples. the walk alone: the line buys 3.98 dB over the mean, the parabola 1.92 over the line, a cubic 1.30 over the parabola; the flicker alone: the line buys 7.63 dB over the mean, the parabola 3.88 over the line, a cubic 2.61 over the parabola. Each gain is the same at every length to a few hundredths of a decibel, because both processes look the same at every scale; forty-eight seeded flicker clocks of 1,024 edges give 3.34 dB for the parabola. A fit removes a fixed fraction of a self-similar error and leaves its growth untouched.
Fig. 5 What each further polynomial term in the fit buys, in decibels, for the walk alone and for the flicker alone, from the exact expected residual. Each gain is the same at every capture length from 256 samples to 16,384.

The exact expectation turns that one capture into a rule. Against flicker, removing a line rather than the mean buys 7.63 dB; a parabola on top of the line buys 3.88; a cubic on top of that, 2.61. Against the walk the same three terms buy 3.98, 1.92 and 1.30. And each gain is the same at every capture length, from 256 samples to 16,384, to a few hundredths of a decibel. That is self-similarity again: a fit removes a fixed fraction of a process that looks the same at every scale, so it shifts the curve down by a constant and leaves its slope alone.

A quadratic term does not make a flicker clock usable over long captures. It is worth 3.88 dB — two-thirds of a bit — at every length, which is something, and it is the whole of what it is worth. Over 65,536 samples the flicker clock is at 52.9 dB with a line removed and 56.7 with a parabola, against the walk’s 67.6; no polynomial of modest degree closes a fourteen-decibel gap that is still growing at twenty decibels a decade. Forty-eight seeded flicker clocks of 1,024 edges give 3.34 dB for the parabola, within the scatter that a noise dominated by its slowest components leaves even after four dozen captures.

That scatter is itself a property worth stating. A flicker clock’s residual over one capture is dominated by the corners slowest compared with the capture, which the capture holds only a cycle or two of, so one capture’s residual can sit several decibels from the expectation in either direction. Twenty-four seeds put the mean square within about a decibel and a half. A walk’s residual over one capture is much more consistent, because it is built from many independent periods; the flicker clock’s jitter is not just larger over long captures but less predictable from one capture to the next.

What a locking loop does, and what kind it must be

A locked clock does not walk. The loop a reference allows modelled the lock as a first-order pull towards the reference, and against the walk that was enough: the error stopped growing once the record was several loop time constants long. Against flicker it is not.

Locked by a first-order loop of 100 periods, a clock with a 100 kHz flicker corner loses 1.92 dB between 4,096 and 262,144 samples and never stops; a loop with an integrator holds 87.5 dB. computed by solving, not by drawing: the locked clock's stationary error from the increments' spectrum and each loop's error transfer, integrated down to the record's lowest frequency, with six seeded clocks of 16,384 edges as a check (first-order 1.060 against 1.057 ps; second-order 0.675 against 0.674). A 0.1 ps-a-period oscillator with a 100 kHz flicker corner, locked to a perfect reference with a time constant of 100 periods. With the walk alone the first-order loop holds 87.1 dB at every length. With the flicker it gives 85.17, 84.28, 83.55, 82.92, 82.36 dB at 1024, 4096, 16384, 65536, 262144 samples — each fourfold longer record adding the same variance, a logarithmic growth. A second-order loop of the same time constant, damping 0.707, holds 87.53, 87.47, 87.46, 87.45, 87.45.
Fig. 6 The locked clock’s signal-to-timing-error against the record length, with a loop time constant of 100 periods, for the walk alone and with a 100 kHz flicker corner, under a first-order loop and under a loop with an integrator. From the spectral integrals, with seeded clocks as a check at 16,384 edges.

With the walk alone the first-order loop holds 87.1 dB at every length. With the flicker it gives 85.17 dB over 1,024 samples, 84.28 over 4,096, 83.55, 82.92 and 82.36 over 262,144 — still falling, and falling by the same amount for every fourfold longer record. Each fourfold step adds the same variance, which is a logarithm. A first-order loop’s error transfer has one zero at zero frequency, which turns the walk’s 1/f21/f^2 into something flat and integrable, but turns the flicker’s 1/f31/f^3 into 1/f1/f, whose integral diverges logarithmically as the lowest frequency in the record falls. The loop has slowed the flicker’s growth from twenty decibels a decade to a creep of about one decibel per decade of record — and has not stopped it.

A loop with an integrator in it has two zeros at zero frequency, because it removes a ramp in phase as well as an offset, and that turns the flicker’s 1/f31/f^3 into ff, which is integrable with room to spare. The same time constant with an integrator and a damping of 0.707 holds 87.5 dB at every length, 87.53 over 1,024 samples and 87.45 over 262,144. Six seeded clocks of 16,384 edges agree with both integrals to a third of a per cent.

So the order of the loop is not a detail of its dynamics. Against a walk, a first-order loop and a second-order loop of the same time constant give nearly the same jitter, and the choice between them is about settling and tracking. Against flicker, the first-order loop leaves a jitter that has no value, in exactly the sense the walk essay meant — it depends on how long the record is — and the second-order loop gives it one. A clock specified with a single jitter figure and a flicker region close to its carrier is making a claim about its loop’s order that the specification does not state.

What it costs a converter

The walk essay’s fourteen-bit converter needed 86.0 dB on this tone, and the walk alone held it for captures up to 953 samples. With a 100 kHz flicker corner the limit is 723 samples; with a 10 kHz corner, 916. At fourteen bits the flicker barely moves the boundary, because the boundary sits below the crossover, where the walk still dominates.

The damage is to long captures. Over 65,536 samples the walk alone gave 67.6 dB, 10.9 bits; with a 100 kHz corner the clock gives 52.9 dB, 8.5 bits, and with a parabola fitted 56.7 dB, 9.1 bits. Over 4,096 samples the corner costs 4.5 dB, 75.2 against 79.7. A spectrum analyser measuring a converter’s spurious-free range over long records, a radio receiver integrating a narrowband signal, a coherent sampler accumulating many periods of a waveform — all of them capture for much longer than 1.42 corner periods, and all of them see the flicker clock’s error growing at twenty decibels a decade past that.

Locked, the picture changes again, and what matters is the order of the loop. A first-order loop of a hundred periods leaves 82.4 dB over a quarter of a million samples and less beyond; a second-order loop of the same bandwidth leaves 87.5, which is fourteen bits with room. The difference is five decibels at this length and grows without limit at longer ones.

How the numbers were obtained

The flicker is the sum of first-order processes with corners three to a decade from a quarter of the capture’s lowest frequency to half the clock rate, each started from its stationary distribution so that a short capture is not a transient, and scaled so that its timing spectrum meets the walk’s at the stated corner. The exact expectations use the increments’ autocovariance — the walk’s spike and the flicker’s sum of geometric decays — summed into the timing error’s covariance and projected onto an orthonormal polynomial basis, so a capture of 131,072 samples costs a few million operations. The locked clocks’ variances are integrals of the increments’ spectrum times each loop’s error transfer, on a logarithmic grid from a twentieth of the record’s lowest frequency to half the clock rate. The seeded clocks are the same construction run forward with a fixed seed and fitted by least squares.

What it leaves out

The reference’s own flicker. A locked clock follows its reference below the loop’s corner, and a crystal reference has a flicker region too, usually far closer to the carrier. Below the loop’s corner the clock inherits the reference’s thirty-decibel slope, and over long enough captures it reappears whatever the oscillator does.

Frequency noise steeper than flicker. Below the flicker region many oscillators show a random walk of frequency, a phase-noise slope of forty decibels a decade from temperature and ageing. A first-order loop’s single zero leaves that as 1/f21/f^2 — a locked clock that walks like a free one — while the second-order loop’s two zeros flatten it, so the integrator that was optional against the walk and necessary against flicker is exactly sufficient here. A noise one order steeper again would need a third.

And everything is one tone. A band-filling signal replaces the tone’s frequency with the band’s rms frequency, as the frequency a band moves at found, and that correction multiplies the one here rather than interacting with it.

Still open: the capture shorter than the corner, a frequency that drifts, and the loop’s order as a budget

Bursts against a flicker corner. A capture shorter than 1.42 corner periods sees mostly the walk, and the corner where averaging stops working found the same structure in amplitude: averaging pays until the flicker takes over and then stops. Whether the best capture length for a fixed total observation time — many short captures fitted separately, or one long one — has a closed form in the corner frequency is the time-domain version of that question.

A drift with a cause. Temperature changes an oscillator’s frequency smoothly and predictably, which is what a parabola fits. When the drift is a cause rather than a noise — a crystal warming after power-up — the fit’s quadratic term is worth much more than its 3.88 dB against flicker, and the question becomes how long after power-up a capture has to start before the residual is the noise’s rather than the warm-up’s.

The loop’s order as a design variable. A second-order loop stops the flicker at the price of a peak in its error transfer near the corner, which amplifies the reference’s noise there. Whether the best loop for a clock with both a flicker corner and a noisy reference is second-order at a narrower bandwidth or first-order at a wider one, and where the boundary between those lies in the two corners’ ratio, joins the reference essay’s geometric mean to this essay’s logarithm.

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

The objects named here

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

Aperture jitterCorner frequencyFlicker noiseMeasurement conditionPhase noisePower law fitSeeded generatorSignal-to-noise ratio