The dither that is a decision
Assumes: The floor a converter sets · The distortion a linear model cannot have
When a floor stops being a floor ends with a prescription: add noise on purpose, one whole least significant bit, and no more. It is the right answer and it is stated the way a constant is stated. A quarter of a step and a half a step appear in it as evidence that less does not work, and nothing above one step appears at all, so the axis on which “one, and no more” is a choice has never been drawn.
Drawn, it does not have the shape the phrase implies. There is no minimum anywhere on it. There is a corner: a place where the benefit stops arriving and the price carries on, which is a different kind of object and is decided differently.
What is being swept, and against what
A twelve-bit converter is driven by a coherent sinusoid whose amplitude is set in levels the input uses rather than in volts, from 230 levels down to 1.3, which is the arrangement when a floor stops being a floor argues for at length: the same sweep in volts is a different sweep at every bit count, and asked in levels it is the same question of every converter.
Uniform noise of steps peak to peak is added at the input before the quantiser, and the error is measured against the clean signal rather than against the dithered one. That is the part that decides whether the answer is honest. The dither is something the converter did to the signal, so hiding it in the reference reports the error of a converter fed something else, and dither then looks free.
Two numbers come out of each run. The harmonic share is the fraction of the error’s power sitting at exact multiples of the input’s bin, evaluated at those bins directly rather than at the first few lines of the record. The cost is the signal-to-noise ratio with the dither minus the ratio without it, at the same amplitude.
Sweeping in levels also makes the answer portable, and the sweep checks it: run the identical measurement on a twelve-bit converter and a sixteen-bit one and the two agree at every point to a part in a billion. What decides the character of the error is how many levels the signal crosses, not how many the converter owns, which is why “one least significant bit” can be a prescription at all rather than a number that has to be restated per part. It is the same portability six decibels a bit, and the half step blamed on it relies on when it measures the ratio one step inside full scale at every bit count from eight to sixteen and gets agreement to 0.15 decibels.
The price is a closed form, and it is the calibration
The cost half of the trade needs no measurement at all, and establishing that is what makes the benefit half worth measuring.
Uniform noise of steps peak to peak has times the variance of a step’s worth, and the quantiser’s own error has a variance of one step squared over twelve. If the two are independent the variances add, so the ratio falls by — 0.97 decibels at half a step, 3.01 at one, 6.99 at two, 12.30 at four. Nothing in that derivation is about the converter.
Measured across thirteen dither amplitudes from an eighth of a step to four, at the top of the amplitude sweep, the departure from that expression is at worst 0.118 decibels. So the lower panel of the figure above is a two-route agreement of the kind one step computed twice insists on: an addition of variances with no converter in it, against a transform of an error sequence produced by a real quantiser fed real noise, sharing only the number .
That agreement is what licenses the rest. The price is known in advance and only the benefit has to be found, which is why the axis is worth sweeping and why the sweep is one-dimensional rather than two.
The benefit, which has no closed form
The other half has no expression to check against, and the shape of it is the reason “one, and no more” is right without being obvious.
From an eighth of a step upwards the worst harmonic share falls: 64.5 per cent at an eighth, 52.1 at a quarter, 41.9 at three eighths, 25.8 at a half, 12.4 at five eighths, 4.70 at three quarters, 1.22 at seven eighths, 0.337 at one whole step. That is a fall of nearly two hundred to one across a range of dither amplitudes spanning a factor of eight, and it is steepest in the last quarter of it.
The mechanism is the one the rung below states and does not sweep: a dither smaller than a step cannot make the quantiser cross one, so it does not break the lock between the error and the signal. It only makes the locked error noisier.
Halving it again does not make the position better in the way a cheaper failure usually is. What is being bought on this axis is the character of the error rather than a few tenths of a decibel, and a purchase that delivers none of it is not improved by costing less.
Above one whole step nothing further arrives at the whole steps. Taking the sweep’s mean rather than its worst point — a maximum over eight amplitudes carries the scatter of whichever one happened to be worst — the share reads 0.283 per cent at one step, 0.297 at two, 0.297 at three and 0.301 at four: flat to six per cent across a factor of four in dither. Meanwhile the price goes on exactly as the closed form says, 7.098 decibels at two steps and 12.406 at four.
So the decision is a corner rather than an optimum, and it is worth being precise about the difference. An optimum is where a cost and a benefit cross and it moves when either is reweighted. A corner is where one of them stops changing, and it does not move at all: no weighting of decibels against distortion puts the answer anywhere but at one whole step, because past it the benefit is constant and any positive weight on the price argues for less. That is a much stronger kind of answer than a trade, and it is only visible once the axis is swept.
And the amount is a whole number of steps, not merely at least one
The flat band above one step is flat only where it is sampled at whole steps, and sweeping the places between them is what says so.
The sweep means at a step and a quarter, a step and a half and a step and three quarters are 0.475, 0.526 and 0.387 per cent, against 0.283 at one step and 0.297 at two. Between two and three, two and a half reads 0.345; between three and four, three and a half reads 0.311. Every half step is worse than both whole steps beside it, and the penalty falls as the dither grows: 1.86 times a whole step’s value at a step and a half, 1.16 at two and a half, 1.05 at three and a half.
The last of those is smaller than the whole steps’ own spread — 0.283 to 0.301 is a band six per cent wide and 0.311 sits three per cent above the top of it — so only its sign is being claimed. The first is not marginal by any reading.
And it fails in exactly the regime the dither is for. At one whole step the harmonic share has no amplitude dependence left at all: 0.274, 0.297, 0.258, 0.287, 0.266, 0.262, 0.337 and 0.282 per cent from 230 levels down to 1.3, every one of them inside every other one’s error bar. At a step and a half the same sweep reads 0.267, 0.340, 0.322, 0.297, 0.340, 0.544, 1.026 and 1.072 — flat across the top and climbing by a factor of four over the last three amplitudes, which are the amplitudes an undithered converter is worst at. A fractional dither does not degrade the answer uniformly. It leaves a residual lock that appears where the lock was the problem.
The prediction that goes with it is short and the measurement is what tests it: a rectangular dither of width removes the error’s dependence on the signal when its own transform has zeros at the quantiser’s harmonics, which happens when is a whole number and not otherwise, and the residue left at fractional shrinks as the dither widens. Flat at 1, 2, 3 and 4; 1.86, 1.16 and 1.05 at the half steps between them. That is the shape predicted, measured on a sweep that was built to answer a different question.
So the answer is a corner and a comb, and the design rule gains a word. Not “at least one least significant bit”. A whole number of least significant bits, and one of them.
The dither the circuit already has
There is a second route to one whole step, and it arrives from a field that was not thinking about dither at all.
The floor a converter sets puts the quantiser’s floor beside the Johnson noise of the source in front of it and finds where they cross: for a 1 kΩ source in 100 kHz of bandwidth, at 18.80 bits. Below that crossing the converter is the limit and above it the resistor is. The bandwidth in that sentence is not decoration — a noise floor without one is not a number, which is the whole of the bandwidth noise sees — and it carries through into everything below.
Uniform dither of steps peak to peak has an rms value of , so a source whose own noise has rms is supplying steps of dither whether anybody asked for it or not. Setting that to one gives — which is the crossing condition, identically. The bit count at which a source’s noise becomes the limit is the bit count at which the source is providing exactly one least significant bit of dither. Not approximately: the two statements are the same equation with the terms moved.
Evaluated for that 1 kΩ source in a 2 V span, the equivalent dither is 0.0090 steps at twelve bits, 0.0359 at fourteen, 0.1437 at sixteen, 0.5746 at eighteen and 1.0004 at 18.80 — the same 18.80 that essay reports, reached without asking about noise floors at all.
So the prescription has a physical reading that the sweep alone does not give. A converter whose resolution sits well below its source’s noise floor is already dithered and needs nothing added; one whose resolution has overtaken that floor is not, and the amount it is short by is exactly the amount the crossing says it is short by in bits. A twelve-bit converter on a 1 kΩ source has a hundredth of the dither it wants, which is why the question arises for it at all, and a twenty-bit one on the same source has 2.3 steps — past the corner, on the flat part of the axis, paying for it in the ratio it was bought for. The instruments field’s sentence about a resolution quoted without a source impedance being no resolution turns out to price the dither as well as the floor.
The error bar on both halves, and the one that is zero
Every point above is averaged over several coherent test tones, for the reason the noise field averages over seeds, and both sweeps return the smallest and largest value across those tones as well as the mean. Reading them changes what can be said about the numbers in the paragraph above.
The undithered sweep’s spread is exactly zero — 7.8 × 10⁻¹² of the value at worst — and there is a reason rather than a coincidence. A coherent cycle count coprime with the record length permutes the sample phases: the set of instants at which the signal is sampled is the same set for every such tone, visited in a different order. The error at each sample is a function of the phase alone, and the transform of that error evaluated at a multiple of the tone’s own bin re-indexes to exactly the same sum whichever order the phases arrive in. So the harmonic share cannot depend on which coherent tone is used, and the measurement says so to eleven decimal places. Coherent sampling is doing the work there, and it is the same property the frequency a sample rate invents leans on when it differences two sequences at the arithmetic’s floor: an integer number of cycles in the record is not a convenience for the transform, it is what makes the record a complete statement about one period.
The averaging that sweep performs therefore buys nothing at all. It is free, it is correct, and it is not doing what it was put there to do — which is worth knowing precisely because it looks like the same construction as the noise field’s seed averaging and is not.
The dithered sweep is the opposite, and the permutation argument is what says why: the dither is a different random sequence at every tone, so nothing is being re-indexed. Its spread runs to 120 per cent of the value at 13 levels — where 0.266 per cent is really 0.137 to 0.457 — and its worst point at half a step, one, two and four steps is 100, 120, 86 and 107 per cent of the value it sits on. That is an error bar as wide as the number it belongs to, and it is the reason every claim above is made on the sweep’s mean rather than on one of its points: a single dithered reading of this quantity carries no information at the precision the comb is argued at.
This is also where the count of tones stops being bookkeeping. The two sweeps ask for five and the undithered one may have any number, since every tone gives it the same answer; the dithered one is an average over however many it actually got, and it got three until the stride that spaces them was found to be adding an odd number to an odd start, so that every second candidate came out even, was rejected for sharing a factor with a power-of-two record, and was never replaced. The count was reported nowhere and no assertion asked for it. It was found by reading the spread — the one number on this page that is an error bar rather than a measurement — and asking how many draws were in it.
The comb above is the part that moved. At three draws the half steps sat above the whole ones and the honest statement was that the ranking could not be resolved. At five they separate: 0.526 against 0.283 and 0.297 either side of it, with the amplitude structure at a step and a half plain in the last three points of its own sweep. The finding was there the whole time and the error bar was too wide to see it, which is the error that is a distribution’s argument arriving as a consequence rather than as a caution — and the near miss is the distribution the bench cannot see’s, in a simulation rather than on a bench.
Where the closed form for the price stops being the price
The two-route agreement on the cost was quoted at the top of the amplitude sweep. It does not hold at the bottom, and the reason is inside the derivation rather than beside it.
Adding variances assumes the undithered error really is one step squared over twelve. That is precisely the assumption which fails at small amplitudes, where the error is a deterministic staircase locked to the signal and several times larger than a step over root twelve. The quantity the dither’s variance is being added to is not the quantity the derivation named.
Both directions is the part worth dwelling on. At 1.3 levels a whole step of dither costs 2.16 decibels rather than 3.01, because the error it is being added to was already large; at 2.6 levels it costs 3.78 rather than 3.01. A correction that went one way could be absorbed into a margin. One that goes both ways is a statement that the model has a range, which is what every model has an edge asks of every model and what nobody had asked of this one.
The practical consequence is small and specific. The price of dither is predictable to a tenth of a decibel exactly where the dither is not needed, and is unpredictable by up to two decibels exactly where it is. A budget that prices dither at 3.01 decibels and applies that price across the whole input range is right at the top of it and out by two decibels at the bottom, in whichever direction the amplitude happens to fall.
The same measurement, one field over
The quantity being swept here has a twin in a device with no levels in it at all.
A floor, or five tones measures that loop against its own shaping rather than against a flat spectrum and finds the concentration real but three times smaller than the flat comparison reported. The loop reaches the same place by a different road, and it has no dither knob: what makes its error spread out is a large input rather than added noise, so the trade this essay prices does not exist there in the same form. Whether a small deliberate dither inside such a loop buys the same character for the same three decibels is an open measurement, and it is the obvious next one.
What this does not say
It does not revise the prescription so much as sharpen it. One whole least significant bit remains the answer; what changes is that “one” was carrying the weight of “a whole number”, and the half steps between the whole ones are where that shows.
It does not settle the shape of the dither. Uniform noise of one step peak to peak is one choice; triangular dither of two steps peak to peak is a different one with a different price — 4.77 decibels by the same variance argument — and a property this measurement does not test at all, which is that the modulation of the error’s power by the signal disappears rather than merely its harmonic content. Nothing here distinguishes the two, and the sweep would need a different statistic to.
And it does not extend below five draws. Every dithered number above carries an error bar between about half and one and a fifth of itself, so the whole-step band is flat at that resolution and the three-and-a-half-step excess of five per cent is at the edge of it. Only the sign of that one is claimed; the step-and-a-half excess of eighty-six per cent is not near any edge.
The number worth carrying
One whole step, 0.283 per cent, 3.03 decibels — and a whole number of steps rather than at least one, because a step and a half is 1.86 times worse and is worse where it matters.
The habit that goes with it is about constants that are decisions. A number quoted everywhere without its axis has usually had the axis swept once by somebody and then thrown away, and the shape of that axis is what says whether the number is a corner, an optimum or a convention. Sweeping it here found a corner, then a comb inside the flat part of the corner, and then — in the error bar the sweep produces as a side effect — the reason the comb had been invisible. The error bar was the most useful thing on the page and it was the one quantity nobody had read.
Part 4 on quantisation
One argument about Quantisation, and one of 4 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.
Closed formDesign tradeoffDitherEffective bitsMeasurement errorModel rangeQuantisationSeeded generatorTotal harmonic distortion
- The loop that is worse at full scale design tradeoff, effective bits, model range, quantisation
- The factor the expression leaves out closed form, design tradeoff, model range
- The optimum that does not move closed form, design tradeoff, model range
- The order that stops helping closed form, model range, total harmonic distortion
- The point the device is never at design tradeoff, model range, total harmonic distortion
- The tolerance that is not on any part design tradeoff, model range, seeded generator