The floor, which bounds from below

The average that is not N times quieter

Averaging sixteen samples of a 1 pF capacitor is supposed to take its 63.3 µV of kT/C noise down by four. With one RC of tracking between samples it takes it down by 2.8: the switch has not been closed long enough for the capacitor to forget the last sample, each shares 37 per cent of its value with the one before, and sixteen samples are worth 7.8 independent ones. At a quarter of an RC they are worth 2.6. Sampling faster never helps past a ceiling: however quickly the samples come, an average gathers at most one independent sample per 2RC of time — the continuous average's own limit. And a sampler that settles its signal to 8 bits has already waited long enough for its noise.

Assumes: The total that has no resistor in it · The bandwidth noise sees

The total that has no resistor in it found that the noise on a capacitor charged through any resistance is kT/C\sqrt{kT/C} — 63.3 microvolts for a picofarad at room temperature — and that the resistance cancels exactly. The noise a clock does not make found the same number on a switched capacitor, independent of the clock. The sample that is subtracted removed it altogether by taking two samples of the same held charge and subtracting them.

Each of those was a statement about one sample. The standard move against a floor that cannot be subtracted is to take many samples and average them, and the standard arithmetic says that NN samples average to kT/C/N\sqrt{kT/C}/\sqrt N. That arithmetic assumes the samples are independent. Whether they are is decided by something none of those essays had to mention: how long the switch stays closed between one sample and the next.

What a sample remembers

A switch closes on the capacitor, the capacitor tracks, the switch opens, the held voltage is read. While the switch is closed the capacitor’s noise is being refreshed through the switch’s resistance with the time constant RCRC: after a track time TtT_t a fraction ρ=e−Tt/RC\rho = e^{-T_t/RC} of the old noise voltage is still there, and the rest has been replaced by a fresh draw. The held sequence is

vk=ρ vk−1+1−ρ2  kT/C  wkv_k = \rho\,v_{k-1} + \sqrt{1 - \rho^2}\;\sqrt{kT/C}\;w_k

with wkw_k independent unit draws. Every sample still has variance exactly kT/CkT/C — the refresh adds precisely what the decay removes, which is the same exact balance the noise a clock does not make found in a switched filter. What has changed is that consecutive samples share a fraction ρ\rho of each other, and the variance of their mean is

kTC N[1+ρ1−ρ−2ρ (1−ρN)N(1−ρ)2]\frac{kT}{C\,N}\left[\frac{1+\rho}{1-\rho} - \frac{2\rho\,(1-\rho^N)}{N(1-\rho)^2}\right]

which is kT/(CN)kT/(CN) only when ρ=0\rho = 0.

With 1 RC of tracking, sixteen samples average like 7.8 independent onescomputed by solving, not by drawing. The rms noise on the average of N consecutive held samples of a 1 pF capacitor, against N, for track times of 0.25, 1, 3 and 10 RC between samples, with the 1/√N law for independent samples dotted. A sample shares exp(−Tₜ/RC) of its value with the one before, so at 1 RC the correlation is 0.368 and sixteen samples are worth 7.81 independent ones; 1,024 are worth 473.6. The closed form is checked against a seeded march of the held sequence.1µ10µ100µ1101001ksamples averaged, Nnoise on the average (volts rms)track 0.25 RCtrack 1 RCtrack 3 RCtrack 10 RCcapacitor1 pFkT/C63.28 µV rmstrack time1 RCcorrelation ρ0.367916 samples are worth7.811024 samples are worth473.6dotted: N independent samples, kT/C ÷ √Nsolved, then checked — closed form, and a seeded march16 samples worth 7.81 at 1 RC
Fig. 1 The rms noise on the average of N consecutive held samples of a 1 pF capacitor, against N, for track times of 0.25, 1, 3 and 10 RC between samples; dotted, N independent samples. The heavy line is the track time on the slider. Every line starts at kT/C and only the slowest follows the dotted one.

With one RC of tracking the correlation is 0.368. Sixteen samples are then worth 7.81 independent ones, and their average is quieter than a single sample by 2.8 rather than 4. At a quarter of an RC — the switch opened almost as soon as it closed — the correlation is 0.779 and sixteen samples are worth 2.63. With three RC they are worth 14.6, and with ten, all sixteen.

The departure is not a small correction at short track times. It is the difference between two bits of improvement and seven-tenths of one.

Why each sample is still exactly kT/C

It is worth being sure of the first half of that before trusting the second, because the whole result rests on the variance of each sample being unchanged while the correlation between them grows.

While the switch is closed, the capacitor’s voltage is the output of a first-order filter driven by the switch resistance’s white noise, and its deviation from equilibrium decays with the time constant RCRC while fresh noise is added. After a closure of length TtT_t, the old deviation has shrunk by ho ho, so its variance has shrunk by ho2 ho^2, and the fresh noise accumulated during the closure has variance (kT/C)(1−ho2)(kT/C)(1 - ho^2) — the part of the equilibrium the closure has had time to rebuild. The two add to kT/CkT/C exactly, whatever ho ho is. A closure of any length leaves the capacitor with the full equilibrium variance; what it does not leave is a new voltage.

That exactness is the same identity the noise a clock does not make found in a switched-capacitor filter, where the variance came out as kT/ChkT/C_h for every capacitor ratio because the recursion’s decay and its fresh noise combined in exactly this proportion. Here the recursion is simpler, and the lesson it adds is about what the identity hides: a sequence can have the right variance at every sample and still carry far less information than its length suggests.

What N samples are worth

The quantity worth drawing is the effective number: kT/CkT/C divided by the variance of the mean, the number of independent samples that would give the same result.

64 samples are worth half their number only from 1.17 RC of tracking. computed by solving, not by drawing. The number of independent samples that the average of 64 consecutive held samples of a capacitor is worth, against the track time between them in units of the switch's RC. It reaches half of 64 at 1.17 RC and all of it only past about five. The dashed line is the long-average limit N(1 − ρ)/(1 + ρ). The marks are the track times a signal needs to settle to half a least significant bit at 8, 12 and 16 bits — 6.24 RC, 9.01 RC, 11.78 RC — at every one of which the noise samples are already independent.
Fig. 2 The number of independent samples the average of 64 consecutive held samples is worth, against the track time between them. It reaches half of 64 at 1.17 RC and comes within a per cent of all of it only past about five. Dashed: the long-average limit N(1 − ρ)/(1 + ρ). The marks are the track times a signal needs to settle to half a least significant bit at 8, 12 and 16 bits.

For a long average the bracket tends to (1+ρ)/(1−ρ)(1 + \rho)/(1 - \rho), so the average of NN is worth N(1−ρ)/(1+ρ)N(1-\rho)/(1+\rho). The factor is a half at ρ=1/3\rho = 1/3, which is 1.10 RC of tracking; for 64 samples, whose end effects still show, half-worth comes at 1.17 RC, and for sixteen at 1.08. Below about an RC most of each new sample is the old one.

The closed form is checked by the other route: a seeded march of the held sequence itself — the recursion above, run four thousand times — whose sample variance of the mean is required to match the formula within six of its own standard errors. It does, at four and at sixty-four samples, at every track time drawn. The march shares nothing with the formula but the recursion’s definition, which is the point of it.

The settling that already paid for it

The marks on that figure are the part of the result that changes a design. A sampler exists to capture a signal, and the signal has to settle through the same switch resistance into the same capacitor: to half a least significant bit at bb bits takes ln⁡2b+1\ln 2^{b+1} time constants — 6.24 RC at eight bits, 9.01 at twelve and 11.78 at sixteen.

At every one of those track times the noise samples are already independent, to within a per cent at eight bits and to far better at twelve. So a sampler that re-acquires its signal every cycle — which is what a converter’s sample-and-hold does — has necessarily waited long enough for its noise, and its averages behave as the textbook says. The correlation is not a hazard of converters that settle properly. It belongs to a different habit.

With 0.25 RC of tracking, sixteen samples average like 2.6 independent ones. computed by solving, not by drawing. The rms noise on the average of N consecutive held samples of a 1 pF capacitor, against N, for track times of 0.25, 1, 3 and 10 RC between samples, with the 1/√N law for independent samples dotted. A sample shares exp(−Tₜ/RC) of its value with the one before, so at 0.25 RC the correlation is 0.779 and sixteen samples are worth 2.63 independent ones; 1,024 are worth 127.8. The closed form is checked against a seeded march of the held sequence.
Fig. 3 A quarter of an RC between samples: the correlation is 0.779, and sixteen samples are worth 2.63 independent ones. Averaging sixteen of them is quieter than a single sample by a factor of 1.6, which is two-thirds of a bit, where the same sixteen samples taken slowly would have bought two whole bits.

The habit that meets it

The habit is sampling a slow input quickly. A signal that is steady — a bridge’s output, a thermocouple, a reference — has already settled on the capacitor from the samples before, and nothing about the signal requires the switch to stay closed for nine time constants. So the track time is cut to the minimum the switch driver allows, the sample rate goes up by ten, and the extra samples are averaged, on the expectation that a tenfold rate is a tenfold average and a factor of 3.2 in noise.

It is not. The signal needed no track time, but the noise did: kT/C is refreshed only as fast as the switch’s RC allows, however steady the input is. Cutting the track time from nine RC to a quarter of one raises the sample count thirty-six times over the same period, and — as the next figure shows — raises the independent information gathered in that period by a factor of only four and a half, with each individual sample worth an eighth of one.

The ceiling on the rate

For a fixed averaging time rather than a fixed count, the question is how many independent samples the time can contain. Taken slowly, one per track time. Taken faster, each is worth less, and the two effects meet at a limit.

However fast the samples come, an average gathers at most one independent sample per 2RC. computed by solving, not by drawing. The rate at which a long average of held samples gathers independent information — its effective number of samples per RC of averaging time — against the track time between samples. Taken slowly, every sample is independent and the rate is one per track time (dashed). Taken faster than an RC apart, each is worth less, and the rate rises only towards 0.5 per RC: a sample every RC gathers 0.462 per RC, 92 per cent of the ceiling. The ceiling is the continuous average's, whose variance over a time T is (kT/C)·2RC/T.
Fig. 4 Independent samples gathered per RC of averaging time, for a long average, against the track time between samples. Dashed: every sample independent, one per track time. Solid: the effective rate, which rises towards 0.5 per RC and never passes it; a sample every RC already gathers 0.462, 92 per cent of the ceiling.

The ceiling is one independent sample per 2RC2RC, and it is not a property of sampling at all. As the track time goes to nothing the samples become a continuous reading of the capacitor’s voltage, and the continuous average of an RC-filtered noise over a time TT has variance (kT/C)⋅2RC/T(kT/C)\cdot 2RC/T — the noise density times the average’s own noise bandwidth, 1/(2T)1/(2T), which the filter an average is derives for any window. That is exactly T/(2RC)T/(2RC) independent samples’ worth.

So the design statement is short. An average over a time TT can never beat kT/CkT/C divided by T/(2RC)T/(2RC), however many samples it takes. Sampling once every RC reaches 92 per cent of that ceiling. Sampling ten times faster reaches 99 per cent of it and costs ten times the conversions. Sampling ten times slower — once per ten RC — reaches a fifth of it, because now the samples are independent but there are too few of them.

The time that counts is the time the switch is closed

One qualification makes the ceiling sharper and moves it in the direction a converter designer will not like. The refresh happens only while the switch is closed. While it is open — which is when a converter holds the sample and converts it — the capacitor is isolated, its noise voltage is frozen, and nothing about it is renewed. The correlation between consecutive samples is set by the track time alone, and the conversion time in between counts for nothing.

So the ceiling of one independent sample per 2RC2RC is per 2RC2RC of tracking. A converter that tracks for a tenth of each cycle and converts for the rest gathers, at best, one independent sample per twenty RC of wall-clock time, and the remaining nine-tenths of its time buys the conversion and nothing towards the average. A slow input sampled by a converter with a short acquisition phase is therefore limited twice: by the track time making each sample correlated with the last, and by the conversion time making the tracking a small share of the whole.

The numbers are worth putting into units. A picofarad behind a kilohm of switch resistance has an RC of a nanosecond, and the ceiling is five hundred independent samples per microsecond of tracking. A converter at a million samples a second with a hundred nanoseconds of acquisition each tracks for a tenth of a microsecond per microsecond, so it can gather at most fifty independent samples of kT/C per microsecond whatever it does — and it gathers one, because it takes one sample. Averaging a thousand of its samples, a millisecond’s worth, reaches 63.3/1000=2.063.3/\sqrt{1000} = 2.0 µV because each of its samples is independent: a hundred nanoseconds is a hundred RC. The correlation only bites when the acquisition is cut towards a few RC to raise the rate, which is exactly the habit described above.

What the noise bandwidth was saying all along

The ceiling ties this back to a result that did not look like it was about sampling. The total that has no resistor in it found kT/C independent of the resistance because a larger resistance is noisier in exact proportion to how much narrower it makes the band. That same narrower band is what makes consecutive samples correlated: the capacitor’s noise has a bandwidth of 1/(4RC)1/(4RC), and samples taken faster than that bandwidth are oversampling a signal that has no more information in it.

Averaging is a filter, and the average’s variance is the density multiplied by the narrower of the two bandwidths — the RC’s own, or the average’s 1/(2T)1/(2T). While the average is short, the RC’s bandwidth is the wider and the average does the limiting; the textbook 1/N1/N holds only while the samples are sparse enough that the average’s bandwidth is set by NN rather than by TT. The bandwidth noise sees is the arithmetic of bandwidths, and here it is the whole of the result: the average cannot see less noise than its own bandwidth passes.

Where the correlation is useful instead

A correlation between samples is not always a loss. The sample that is subtracted exploits the extreme case: when the switch stays open between two reads of the same held charge, the correlation is exactly one, and the difference of the two reads removes kT/C entirely. That is the same recursion with ρ=1\rho = 1 and a difference instead of a sum.

The two results are the two ends of one quantity. A difference of correlated samples is quieter the more correlated they are; a sum is quieter the less. A design that averages wants its switch closed long between samples, and a design that subtracts wants it not to close at all. Anything in between gets some of each, and the correlation coefficient ρ\rho is the one number that says how much.

With 3 RC of tracking, sixteen samples average like 14.6 independent ones. computed by solving, not by drawing. The rms noise on the average of N consecutive held samples of a 1 pF capacitor, against N, for track times of 0.25, 1, 3 and 10 RC between samples, with the 1/√N law for independent samples dotted. A sample shares exp(−Tₜ/RC) of its value with the one before, so at 3 RC the correlation is 0.050 and sixteen samples are worth 14.57 independent ones; 1,024 are worth 927.0. The closed form is checked against a seeded march of the held sequence.
Fig. 5 Three RC between samples: the correlation is 0.050 and sixteen samples are worth 14.6 independent ones — a loss of nine per cent of the count, or five per cent in the noise. A long average at this track time gathers 0.30 independent samples per RC of time, three-fifths of the ceiling.

What an averaging converter should do with it

Three rules follow, and each is a number rather than a habit.

Track for an RC or more if the samples are to be averaged. Below an RC each sample is mostly the last one; above three it is nearly all new. Between them the effective count follows the second figure, and a design can read off what its acquisition time buys. The rule that a converter’s acquisition should settle its signal already puts it far past this, so the rule only needs stating for a converter that shortens its acquisition on purpose.

Count bits by the effective number, not the actual. Averaging is usually priced at half a bit per doubling of the count — six decibels a bit is the conversion — and that price is paid in effective samples. At a quarter of an RC a doubling of the actual count is a doubling of the effective count only once the average is long enough for the end effects to vanish, and each effective sample costs eight actual ones.

Remember that the kT/C noise is also the dither. A converter averaging a steady input relies on noise to spread the input across its codes, since without it every sample returns the same code and the average cannot resolve anything finer than a step. The dither that is a decision sizes that dither; on a converter whose own sampling noise is the only dither, correlated samples are also correlated dither, and the codes the average visits are fewer than the count suggests. Whether the loss in resolution is then worse than the loss in noise is not measured here; that the same correlation causes both is.

Where the closed form meets the march

The closed form and a seeded march agree at four and at sixty-four samples, at every track time drawn, within six standard errors of the march’s own estimate — four thousand trials, so a one-per-cent test.

No average is worth more than its count, and at ten RC sixteen samples are worth sixteen to the precision printed.

At the settling time for 8, 12 and 16 bits, 64 samples are required to be worth at least 99 per cent of 64, which is the statement that a sampler which settles its signal has settled its noise.

And the long-average rate is required never to pass one sample per 2RC, and to approach it within a per cent as the track time shrinks to a hundredth of an RC.

A clean switch and a capacitor with no flicker

The switch is a resistor while closed and nothing while open. A real switch’s resistance depends on the voltage, and its opening injects charge; both matter to the held value and neither changes the correlation arithmetic, which is about how much of the old noise survives a closure.

The noise is only the capacitor’s. An amplifier driving the capacitor adds its own noise, sampled, and the amplifier inside the sample finds that it folds into the band once per time constant of settling. Its samples are correlated by the same track time, with the amplifier’s bandwidth in place of the switch’s.

And nothing slow is present. A flicker component makes consecutive samples correlated at every track time, and no average removes it — the corner where averaging stops working is that limit, arriving from the low-frequency end where this one arrives from the high.

Still open: the integrator, the amplifier’s share, and the optimum rate with a cost

Averaging by integration instead. A switched-capacitor integrator adds each sample’s charge into a feedback capacitor, and the samples it adds are independent — its sampling capacitor is reset by each closure — but each cycle has two switch phases and so two kT/C draws. Whether an integrating average pays twice per sample and gains full independence, and what limits how long it can integrate, is the natural comparison.

The amplifier’s noise, correlated the same way. Driving the capacitor from an amplifier adds a second noise with its own bandwidth. Averaged at a short track time it is correlated by the amplifier’s bandwidth rather than the switch’s, and the ceiling on the rate is then set by whichever of the two is narrower.

A rate with a price. Every conversion costs energy. With the variance falling as the effective count and the energy rising as the actual count, there is a track time that minimises the energy for a given noise, and by the ceiling above it should sit near an RC — a number a low-power converter would want before it chose its clock.

Part 5 on kT/C noise

One argument about kT/C noise, and one of 7 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.

AveragingCorrelation timekT/C noiseMonte carloNoise bandwidthSample-and-holdSeeded generator