EE Primers · Analog

Switched-capacitor circuits: resistors made of clocks

A capacitor that is repeatedly charged from one node and dumped into another moves a packet of charge every clock cycle, and on average behaves like a resistor whose value is set by the clock. On a chip that one trick replaces imprecise resistors with capacitor ratios accurate to 0.1 %, and it underlies sample-and-holds, SAR and ΣΔ converters, sensor front ends, filters and charge pumps. The price is that the circuit is now sampled: it aliases, it collects kT/C noise, and its switches inject charge.

01 · The idea

The switched-capacitor resistor

V₁V₂φ₁φ₂C φ₁: C charges to V₁ (Q = C·V₁)φ₂: C discharges to V₂ (Q = C·V₂)net charge per cycle = C·(V₁ − V₂)Iavg = C·(V₁ − V₂)·fclk ⇒ Req = 1/(fclk·C) φ₁φ₂non-overlapping: both switches are never on together,or V₁ would short to V₂ through the switches
Two switches and a capacitor, driven by two non-overlapping clock phases.

The equivalence holds when the signals change slowly compared with the clock \((f_{\text{signal}}\ll f_{\text{clk}})\). Example: 1 pF switched at 100 kHz acts like 10 MΩ, a value that would take a large area of polysilicon and drift ±20 % with process and temperature. The switched version is set by a clock that can be crystal-accurate and a capacitor whose ratio to its neighbours matches to 0.1 % with common-centroid layout.

Why it mattersA continuous-time RC integrator has a time constant set by absolute R and C, which on silicon vary ±20–30 % independently. Replace R with a switched capacitor C₁ and the time constant becomes (C₂/C₁)/fclk: a capacitor ratio times a clock period. That is what makes precise monolithic filters, ADCs and sensor interfaces possible.
02 · Core block

The parasitic-insensitive integrator

vinC₁C₂−+voutgnd φ₁φ₁ φ₂φ₂
Switch phasing shown is the non-inverting (delayed) form. Swapping the phases of the two left switches gives the inverting, delay-free form.

In φ₁, C₁ charges to vin with its right plate at ground. In φ₂, its left plate is grounded and its right plate is connected to the op-amp's virtual ground, so its charge is pushed into C₂. Each cycle the output steps by (C₁/C₂)·vin:

$$H(z)=(C_{1}/C_{2})\cdot z^{-1}/(1-z^{-1})\qquad \text{unity-gain frequency}\approx (C_{1}/C_{2})\cdot f_{\text{clk}}/2\pi \,(\text{for f}\ll \text{f}_{\text{clk}})$$

The point of the four-switch arrangement is that every parasitic capacitance (top- and bottom-plate parasitics of C₁, switch junctions) is either driven by a voltage source or sits between ground and virtual ground in both phases, so it never transfers charge. The simple two-switch version is sensitive to the bottom-plate parasitic, which can be 10–20 % of C₁.

From this integrator you can build any filter: two integrators in a loop make a biquad (a switched-capacitor version of the state-variable filter), and ladder simulations map passive LC prototypes onto SC integrators. ΣΔ modulator loop filters are exactly cascaded SC integrators.

03 · Where it is used

The family of switched-capacitor circuits

04 · Non-idealities

What limits a switched-capacitor circuit

kT/C noise

When a switch opens, the thermal noise of its on-resistance is frozen on the capacitor. Integrating the resistor's noise density over the RC bandwidth gives a total that does not depend on R at all:

$$v_{\text{n},\text{rms}}=\sqrt{kT/C}\qquad 1\ \text{pF}\to 64\ \text{µV}_{\text{rms}}\qquad 10\ \text{pF}\to 20\ \text{µV}_{\text{rms}}\qquad q_{\text{n}}=\sqrt{kTC}\approx 400\ \text{e}^{-}\ \text{rms at}\ 1\ \text{pF}$$

A larger R raises the noise density but narrows the bandwidth by the same factor. The only levers are larger capacitors (more area, more power to drive), oversampling and averaging, or larger signal swing. A full SC integrator with sampling and transfer phases typically collects about 2kT/C per cycle. This sets the minimum capacitor size for a given resolution: for an N-bit converter with full-scale VFS, kT/C noise should be below the quantization noise, roughly C ≥ 12·kT·22N/VFS².

Charge injection and clock feedthrough

A MOS switch that is on holds channel charge \(Q_{\text{ch}}=W\cdot L\cdot C_{\text{ox}}\cdot (V_{\text{GS}}-V_{\text{T}})\). When it turns off, that charge leaves through source and drain, roughly half each way, and the half that lands on the sampling capacitor causes a step \(\Delta V\approx Q_{\text{ch}}/(2C)\). Because VGS depends on the input, the error is signal-dependent, which means gain error and distortion, not just offset. Separately, the gate-to-drain overlap capacitance couples the clock edge: \(\Delta V=V_{\text{clk}}\cdot C_{\text{ov}}/(C_{\text{ov}}+C)\).

  • Bottom-plate sampling: turn off the switch on the fixed-potential side first. Its injection is signal-independent, and once it is open the capacitor's charge can no longer change.
  • Fully differential circuits: injection that is equal on both sides becomes common-mode and is rejected.
  • Dummy switches (half-size, driven by the inverted clock) absorb the injected charge; complementary (CMOS) switches partially cancel opposite-polarity charges.
  • Bootstrapped switches keep VGS constant as the input moves, making Ron and the injected charge signal-independent. Standard at the input of high-linearity ADCs.

Settling: switch resistance and op-amp bandwidth

Each phase lasts about half a clock period. In that time the sampling RC must settle, and the op-amp must slew and then settle linearly to within the error budget. For N-bit accuracy with single-pole settling you need (N + 1)·ln 2 time constants: about 9 τ for 12 bits, 12 τ for 16 bits. The op-amp's closed-loop time constant is 1/(2π·β·GBW), where the feedback factor \(\beta =C_{2}/(C_{1}+C_{2}+C_{\text{p}})\) is often well below 1, so the required GBW is several times fclk.

Finite op-amp DC gain A leaves a residual error of about 1/(A·β) in every charge transfer. In an integrator that turns into a leaky integrator, which in a ΣΔ modulator leaks quantization noise into the band. Integrator op-amps therefore need 60–80 dB of gain.

Aliasing and noise folding

An SC circuit is a sampled system. Input content near multiples of fclk folds into the passband, so an SC filter needs a continuous-time anti-alias filter in front of it, though a relaxed one because fclk is usually far above the signal band. The same folding applies to noise: the op-amp's and switches' white noise extends far beyond fclk/2 and all of it folds into the first Nyquist zone, which is another way of seeing why the total is kT/C regardless of bandwidth.

05 · Interactive

Sizing calculator

06 · Trade-off

Switched-capacitor versus continuous-time

Switched-capacitor (discrete-time)Continuous-time (RC, gm-C)
Accuracy of time constantsCapacitor ratio × clock, ≈ 0.1 %Absolute R × C, ±20–30 % on chip; needs trimming or tuning
ProgrammabilityChange fclk to scale every cornerSwitch R or C banks
Anti-aliasingNeeds a CT pre-filterInherent (signal is not sampled at input)
NoisekT/C, with wideband noise foldingThermal noise of R and amplifier, no folding
Clock sensitivityRobust to jitter (charge is transferred each period)CT ΣΔ is sensitive to DAC clock jitter
Input driveKickback each cycle; needs a driver that settlesResistive, easy to drive
Speed and powerOp-amps must settle within half a periodOp-amps need GBW only for the signal band
07 · Check yourself

Questions worth being able to answer

Derive the equivalent resistance of a switched capacitor.

In φ₁ the capacitor charges to V₁, holding \(Q_{1}=C\cdot V_{1}\). In φ₂ it settles to V₂, holding \(Q_{2}=C\cdot V_{2}\). Net charge moved from node 1 to node 2 per period is C(V₁ − V₂). Average current is that charge times fclk, so \(I=C\cdot f_{\text{clk}}\cdot (V_{1}-V_{2})\) and \(R_{\text{eq}}=1/(C\cdot f_{\text{clk}})\). Valid when the node voltages barely change over one period.

Why does kT/C noise not depend on the switch resistance?

The resistor's noise density is 4kTR (V²/Hz), and the RC low-pass limits its noise bandwidth to 1/(4RC). Their product is kT/C: doubling R doubles the density but halves the bandwidth. It is also an equipartition result: a capacitor in thermal equilibrium has ½kT of average energy, ½C⟨v²⟩ = ½kT.

Why must the two clock phases be non-overlapping?

If φ₁ and φ₂ switches are briefly on together, they connect the two nodes directly through the switch resistances, shorting the input to the virtual ground or the output and dumping charge that destroys the transfer. A non-overlap gap of a few nanoseconds (generated by cross-coupled NAND or NOR gates with delays) prevents it; often delayed versions of each phase are added for bottom-plate sampling.

What is charge injection and how do you reduce it?

When a MOS switch turns off, the inversion-layer charge in its channel leaves through the terminals and part of it lands on the sampling capacitor, causing a voltage step that depends on the input. Reduce it with bottom-plate sampling, fully differential circuits, dummy or complementary switches, minimum-size switches consistent with settling, larger capacitors, and bootstrapped gate drive to make it signal-independent.

A 12-bit SC stage runs at 10 MHz with a 2 pF sampling capacitor. How low must the switch resistance be?

Half a period is 50 ns. Settling to ½ LSB at 12 bits needs \((12+1)\cdot \ln 2\approx 9\) time constants, so \(\tau \le 5.5\ \text{ns}\) and \(R_{\text{on}}\le 2.8\ \text{k}\Omega\). In practice budget less than half the phase for the switch, because the op-amp must also settle, so aim for \(R_{\text{on}}\approx 1\ \text{k}\Omega\) or below.

Why do SC filters still need an analog anti-alias filter?

Because the SC filter samples its input at fclk. Energy near fclk ± fsignal aliases into the passband and the SC filter cannot reject it. Since fclk is usually 50–100× the passband, a simple first- or second-order RC in front is enough.

Why can a charge pump not regulate efficiently over a wide input range?

Each topology has an ideal conversion ratio (e.g. 2× or 1/2). Charging a capacitor from a source with a voltage difference ΔV loses ½C·ΔV² regardless of switch resistance, so any regulation achieved by letting the output sag below the ideal ratio is dissipated, much like an LDO's headroom. Multi-ratio (gear-shifting) converters and hybrid SC-inductor converters address this.

08 · Further reading

References

  1. B. Razavi, Design of Analog CMOS Integrated Circuits, 2nd ed., McGraw-Hill, 2017. Chapters on switched-capacitor circuits and noise.
  2. D. Johns and K. Martin, Analog Integrated Circuit Design, Wiley, 1997 (2nd ed. with T. Carusone, 2012). Switched-capacitor filters and ΣΔ converters.
  3. R. Gregorian and G. Temes, Analog MOS Integrated Circuits for Signal Processing, Wiley, 1986.
  4. P. Allen and D. Holberg, CMOS Analog Circuit Design, 3rd ed., Oxford University Press, 2011.
  5. C. Enz and G. Temes, "Circuit techniques for reducing the effects of op-amp imperfections: autozeroing, correlated double sampling, and chopper stabilization," Proc. IEEE, vol. 84, no. 11, 1996. Link
  6. M. Seeman and S. Sanders, "Analysis and optimization of switched-capacitor DC–DC converters," IEEE Trans. Power Electronics, vol. 23, no. 2, 2008.