Averaging — where it appears
Named by 12 essays across 2 fields — each of them below, with the objects they name alongside it.
A floor and a ceiling
Every other boundary these essays measure is a ceiling. This one puts a floor underneath and measures the distance between them — 4.00 nanovolts per root hertz at the bottom, one per cent of harmonic distortion at 1.03 millivolts at the top, and 66.3 decibels of range in a ten-kilohertz measurement. Both ends are computed, neither is on a datasheet, and the arrangement of the stages decides which one moves.
The corner where averaging stops working
Average N samples and the noise falls by √N. That is a statement about independent samples, and flicker noise's samples are not independent — its correlation extends over every time scale, which is what a spectrum with no bottom means. Measured on the same seeded stream filtered and not: the white sequence falls as the −0.510 power of the block length and the pink one as the −0.087 power, so a thousand-sample average buys a factor of 36.9 on one and 2.1 on the other.
The average a square root pulls low
A true-RMS converter squares, averages and takes the root, and the root of a quantity that ripples averages below the root of its mean. With a hundred-millisecond averager a sine is read one per cent low below 1.86 hertz, where the ripple is still ±20 per cent — and a second filter that steadies the display takes the ripple away and leaves the reading exactly as low as it was. A square wave is read exactly at any averaging time; a rectifier current conducting for twenty degrees needs 2.41 times the averaging a sine does. The implicit converter is the explicit one at half the time constant, and a reading falls 1.38 times slower than it rises.
The filter an average is
A mean taken over a window is a filter, and the area under its squared response is exactly one over twice the window — 25 hertz of noise bandwidth for twenty milliseconds, passing half its power at 22.15. Built to the same noise, a one-pole averager passes half its power at 15.92 hertz and takes 2.33 times as long to settle to one per cent, and two means in cascade pass half at 23.92 and take 1.25 times as long. Between its nulls a mean rejects the mains no better than the one-pole does, and one per cent off a null it rejects it by forty decibels however many cycles the window holds.
The noise a true-RMS meter reads low
A true-RMS converter reads a sine low by an amount that falls as the square of its frequency, and for anything but a slow sine that amount vanishes: 3.96 parts per million at ten times the averager's corner. Noise is not a sine. Its square fluctuates at every frequency down to zero, and the averager passes a share of that set by its own bandwidth against the noise's, so the reading is low by 1/(16Bτ) — the first power, not the second. Measured on seeded noise at Bτ = 10 it is 0.600 per cent low against a predicted 0.625; at 100, 672 parts per million. One reading scatters by eighteen times that, so no single reading shows the bias and the mean of a few hundred is nothing but bias.
The window the square-root law has
Averaging N readings divides the noise power by N only if the readings are independent, and samples of a filtered noise are independent only over a band. Measured on the exact sampled autocorrelation, the rule that a reading's noise is the density over twice the window is right at one front-end bandwidth and wrong on both sides — a factor of three wide at six hundred samples, asking the sample rate to exceed the front end's noise bandwidth by about ten rather than by two. Above it the folded noise arrives at full amplitude; below it the front end has removed noise the rule is still charging for.
The cycle a converter has to know
Summing a waveform's square over a whole number of periods reads its root-mean-square exactly: no averager, no ripple, no bias. It needs the period, and a period known one per cent long puts a hundredth of a period too much into the window. Wherever that extra piece falls, the reading moves — on a sine by up to 0.50 per cent over one period, and by 0.46 per cent over ten, because the extra piece grows with the window as fast as the window does. The worst error is δ(CF² − 1)/2, set by the crest factor and the period error and not by how many periods are summed, until the excess reaches half a period. A square wave is read exactly from any window, and a 60° rectifier current twice as badly as a sine.
The order of the null, not the number of them
A mean rejects the mains exactly and rejects it one per cent off frequency by forty decibels, whatever the window length. Two means in cascade of the same total length settle in the same time, cost a third more noise bandwidth and hold that forty decibels over ten times the band — the factor being ten raised to minus the depth in decibels over forty, because a first-order null rises linearly through a target and a second-order one quadratically. Splitting the two lengths to straddle the frequency buys a further factor of exactly root two, for no noise at all, and puts the design two parts in ten thousand from a cliff.
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.
The average an integrator can hold
A switched-capacitor integrator is an averager whose samples are exactly independent, because every cycle resets the sampling capacitor — and it pays for that with two switch phases, 2kT/Cs a cycle, 89.5 µV rms with a picofarad. An ideal integrator averages that as 1/√N without end. A real one leaks through its amplifier's finite gain, and the leak caps the average at 2A·Cf/Cs cycles: 8,000 for a gain of a thousand and a 4 pF feedback capacitor, where the noise stops at √(kT/(A·Cf)) = 1.00 µV. That floor contains the feedback capacitor and the gain and not the sampling capacitor at all, which decides only how long the integration takes to reach it.
The mean that makes a stopband
A cascade of n means of one mains period holds, at a depth D, exactly the band a single mean holds at D/n — to a part in a million, because the cascade's response is the single mean's raised to the nth power. That one identity answers whether the third mean pays. Forty decibels down, two means hold 45.4 to 55.7 Hz, three 40.7 to 69.5, and four hold everything above 36.9 Hz: once D/n is shallower than one mean's first sidelobe, 13.26 dB, the null stops being a null and becomes a stopband. The price is a mains period of settling per mean and a noise bandwidth that exceeds a single mean of the same length by √(3n/π) — a factor that never stops growing.
The leak worth building in
An integrator that never forgets cannot follow an input that moves. Give a switched-capacitor integrator a deliberate leak — a damping capacitor that samples the output each cycle and takes its charge away — and it becomes an exponential average with a memory of Cf/Cd cycles. Fed an input drifting 1 µV a cycle, through a 1 pF sampling capacitor, too short a memory passes the switch noise and too long a memory lags the drift; the best, on the exact closed form and on seeded marches of sixty thousand cycles, is 16.5 cycles, for 27.2 µV of error against 89.5 µV in a single sample. The best memory follows a cube-root law, the cube root of kT/(Cs·r²), ten times the drift for a memory 4.64 times shorter, and at it the noise variance is twice the squared lag. And the leak is not free: the damping capacitor is switched too, and at unity gain it samples half of the averager's noise.
Named alongside it
The objects these essays reach for when they reach for this one.
Seeded generatorSettling timeEquivalent noise bandwidthModel rangeIntegrationkT/C noiseMeasurement conditionMonte carloTrue-rmsBrick wall filterConduction angleCorrelation time