Concept

Integrator — where it appears

A circuit whose output is the time integral of its input, usually an amplifier with a capacitor from output to inverting input. Its gain falls as one over frequency and is unbounded at direct current, so a small offset or leakage at its input decides where its output drifts to.

Named by 6 essays across 4 fields — each of them below, with the objects they name alongside it.

An integrator's summing junction is flat at 15.7 Ω, and worst at direct current. computed by solving, not by drawing. A current is driven into the node and the voltage read. The dashed curve is the same amplifier with a 10 kΩ resistor as its feedback element: a tenth of an ohm at direct current, rising a decade per decade, 909.5 Ω at the top. With a 10 nF capacitor instead, the loop gain has no frequency in it — the amplifier's gain falls as 1/f while the feedback factor rises as f — so it is flat at 62.83 and the node is flat with it, at Rin/(1 + 2π·GBW·C·Rin) = 15.666 Ω, measured 15.668 Ω and holding to 0.50 per cent from 100 Hz to 5.31 kHz — between the amplifier's own pole and the capacitor's corner, which is where a loop gain with no frequency in it lives. Both ends are the other way round from the resistive case: at direct current the capacitor is an open circuit, there is no loop at all, and the node is 843.0 Ω — a factor of 8388 worse than the resistor's 100 mΩ. Above the amplifier's crossover the capacitor is a short and the node is 47.6 Ω against 909.5. The two cross at 1.56 kHz, which is the frequency above which an integrator is the better virtual earth of the two.

The shelf a capacitor makes

An inverting amplifier's summing node rises a decade per decade to the two resistors in parallel. Replace the feedback resistor with a capacitor and it does neither: an integrator's loop gain has no frequency in it, so the node is flat at Rin/(1 + 2π·GBW·C·Rin) — 15.67 ohms over four decades, to half a per cent. Both ends invert. At direct current the capacitor is an open circuit, there is no loop at all, and the node is 843 ohms against the resistor's tenth of one; above the amplifier's crossover the capacitor is a short and the node is nineteen times better.

feedback · Virtual earth
1 nF at the node lifts the inverting stage's virtual earth 1.28-fold at its resonance, the integrator's 1.09-fold. computed by solving, not by drawing. The impedance looking into the summing junction of an inverting stage (1 kΩ in, 10 kΩ feedback) and an integrator (1 kΩ in, 10 nF feedback) on the same 1 MHz amplifier, bare (dashed) and with 1 nF of sensor capacitance from the node to ground (solid). The inverting stage's node rises as an inductance, and a capacitance across an inductance is a resonance: its node reaches 909 Ω at 126 kHz, 1.28 times the bare node there. The integrator's node is a resistance, the shelf of 15.9 Ω, and a capacitance across a resistance is a corner: the loaded node is at most 1.086 times the bare one, and only where the amplifier's own output resistance is part of the loop.

The sensor an integrator does not see

A sensor's capacitance at an inverting stage's summing junction sits across a node that rises like an inductance, and makes a resonance: 10 nF lifts the node 2.50-fold at 39.8 kHz, the lift is the resonance's Q, and the loop's margin falls from 90° to 24.8°, and to 8.0° at 100 nF. The same capacitance at an integrator's node sits across a resistance — the shelf, 1/(2π·GBW·Cf) — and the shelf does not move, because the capacitance enters the open node and the loop gain together and cancels. With an ideal output the integrator's margin is 90.91° at every sensor from 1 pF to 100 nF. What it does see is its amplifier's output resistance: 50 Ω driving the feedback and sensor capacitors in series is a pole, worst when the two are equal, 58.3° at 10 nF, and it recovers on both sides.

feedback · Virtual earth
A 100 kΩ resistor across the capacitor: the node rises a decade per decade and stops at the shelf. computed by solving, not by drawing. The summing-junction impedance of the integrator (1 kΩ in, 10 nF feedback, 1 MHz amplifier) with 100 kΩ across its capacitor (solid), beside the ideal integrator (dashed) and the 10 kΩ inverting stage (dotted). At the lowest frequencies the resistor closes a direct-current loop and the node is 0.999 Ω; it rises a decade per decade, as a resistive stage's does, and stops on the integrator's shelf of 15.9 Ω at the feedback's own corner, 1/(2π·Rp·Cf) = 159 Hz. Its highest point below a tenth of the amplifier's bandwidth is 16.3 Ω.

The resistor that holds the bottom of the shelf

An integrator's summing junction sits on a flat shelf, 1/(2π·GBW·Cf), over its working band, and at direct current it is nearly its whole input resistor, because a capacitor closes no loop there. A resistor across the capacitor closes one. Below the feedback's own corner the node is then an inverting stage's, rising a decade per decade from Rp/A₀, and the rise meets the shelf exactly at that corner, 1/(2π·Rp·Cf), for any resistor and any amplifier — so the node never rises above its shelf at all. That holds for every resistor below 1/(2π·f₁·Cf), the one that puts the feedback's corner on the amplifier's own pole: 1.59 MΩ here. Above it the bottom climbs past the shelf. The same 1.59 MΩ is where a millivolt of offset becomes 1.58 V at the output, and the price below it is a flat gain of Rp/Rin and arctan(1/(2π·f·Rp·Cf)) of phase.

feedback · Virtual earth
An amplifier gain of 1000 caps a switched-capacitor integration at 8000 cycles' worth of averaging. computed by solving, not by drawing. The noise, referred to the input, of the estimate a switched-capacitor integrator makes by integrating a steady input for N cycles, with 1 pF sampling and 4 pF feedback capacitors, against N, for amplifier gains of 100, 1,000, 10,000 and infinity. Each cycle adds 2kT/Cs — 89.5 µV rms — and an ideal integrator averages it as 1/√N without limit. A finite gain leaks, and the noise stops falling at √(kT/(A·Cf)) = 1.000 µV for A = 1000, reached after about 8000 cycles. The closed form is checked against a seeded march.

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.

noise · kT/C noise
An integrator of 100 kΩ and 1 µF with its input grounded: what its own input currents do to it. computed by solving, not by drawing, marched for ten seconds from rest. With 50 nA flowing out of each input and the + input grounded, the output ramps at 50.0 mV/s — the bias current over the capacitance, to six figures — and reaches 0.500 V. With 100 kΩ in the + input to balance the resistances, only the 5 nA of offset current is left and the ramp is 5.00 mV/s. Neither stops: an integrator has no gain to quote, because its gain is time.

The current a capacitor adds up

An amplifier's input current in a resistor is an offset; in a capacitor it is a rate, and time is the gain. An integrator of 100 kΩ and 1 µF with its input grounded ramps at 50.0 mV/s from 50 nA, and balancing the inputs leaves the 5.00 mV/s of the offset current, still unbounded. A leak resistor bounds it at the current times the leak and costs the lowest frequency the circuit integrates. A hold capacitor's droop times its acquisition time is fixed, so 50 nA through a 100 Ω switch needs 655 nF and 0.77 ms for half a 16-bit step. A charge amplifier's offset times its low corner is Ib/2πCf, whatever its bleed.

instruments · Input bias current
A second-order four-bit loop whose integrators are built round amplifiers of finite gain: the ratio in the band against oversampling. computed by solving, not by drawing: each integrator's pole at 1 − 1/A, half-scale input, half a step of shaped dither, three seeds averaged, squared Hann window. With perfect integrators the ratio rises 15.1 dB an octave, to 138.9 dB at 512. With A = 1000: 138.5 dB at 512, 0.4 below; with A = 100: 122.3 dB at 512, 16.6 below; with A = 30: 102.9 dB at 512, 35.9 below; with A = 10: 85.0 dB at 512, 53.9 below. Each curve leaves the ideal one near a ratio of about πA; for A = 10 the last octave gains 2.7 dB against the ideal's 15.1 — toward the three an octave a floor that is not shaped improves at.

The integrator that leaks the zero away

A noise-shaping loop puts its error's zero at zero frequency because its integrators never forget. An integrator built round an amplifier of gain A forgets a part in A every sample, and the zero moves off zero frequency to a floor. The cost is a function of one number, the oversampling ratio over π times the gain: for two leaky integrators it is 10 log(1 + (10/3)x² + 5x⁴), which the marched loops follow to within two decibels from gains of 10 to 300, and keeping it under a decibel needs a gain of 1.2 times the oversampling ratio. A first-order loop pays a second way: inputs within exactly 1/(2A − 1) of zero leave its output where it was.

digital · Noise-shaping

Named alongside it

The objects these essays reach for when they reach for this one.

Loop gainSumming junctionClosed-loop responseDesign tradeoffLoadingOffset voltageAveragingCharge amplifierClosed formCorner frequencyDynamic rangeIdle tones

All concepts