C222 of 30
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

C2 · Lesson 22 · Switched capacitors

Resistors from capacitors, charge pumps and sample-and-hold

Inside a chip, a precise 1 MΩ resistor would be enormous, but a 10 pF capacitor flipped back and forth by a pair of switches 100,000 times a second carries charge exactly as a 1 MΩ resistor would, and its value is set by a clock and a capacitor ratio that chips make very accurately. Switches and capacitors also double voltages without inductors, as in the charge pumps that make the ±10 V for an RS-232 port from 3.3 V, and they freeze a changing voltage for an analog-to-digital converter to read. All of this comes from moving packets of charge.

  • A charge-pump voltage doubler: a "flying" capacitor C charges to Vin, then switches on top of Vin to charge the output. The line is the output voltage against load current.
  • With no load the output is 2Vin. Each milliamp of load costs 1fC volts per amp: the pump behaves like a source with that output resistance.
  • Raise the switching frequency or the capacitor to stiffen it. The efficiency readout shows the cost of a heavy load.

Predict

A 10 pF capacitor is switched between two nodes 100,000 times a second. What resistance does it imitate?

Name it

The switched-capacitor resistor

A capacitor C alternately connected to node 1 (at V1) and node 2 (at V2), f times a second, picks up charge CV1 and drops it at CV2, carrying C(V1−V2) per cycle. The average current is

I=fC(V1−V2)⇒Req=1fC

Switched-capacitor filters on chips use this: time constants become ratios of capacitors times the clock period, which are accurate to a fraction of a percent, unlike on-chip resistors.

Charge pumps

A doubler charges a flying capacitor to Vin, then stacks it on top of Vin to charge the output capacitor toward 2Vin. Under a load Iout, each cycle tops up the charge the load drew, and the output sags:

Vout≈2Vin−IoutfC

The input supplies twice the output current, so the efficiency is Vout2Vin: the shortfall is the charge-sharing loss of lesson 3. Swapping the switching order makes an inverter, −Vin.

Sample-and-hold

A switch charges a capacitor to the input voltage, then opens and holds it while a converter reads it.

  • Acquisition: the capacitor charges through the switch's resistance, so the switch must stay closed for several RC time constants.
  • Droop: leakage current I drains the held voltage at IC volts per second.
  • Noise: opening the switch freezes in a random thermal voltage of RMS size kT/C, about 64 µV for 1 pF at room temperature, which sets a floor on how small the capacitor can be.

Worked example

A 3.3 V doubler uses a 1 µF flying capacitor at 100 kHz and supplies 5 mA. What does it output, and how efficiently?

Show the solution
  1. Output resistance. Rout=1fC=1105×10−6Ω=10Ω
  2. Output voltage. Vout=(6.6−0.005×10)V=6.55V
  3. Efficiency. η=6.556.6=99.2%
  4. At a heavier load. At 100 mA it would sag to 5.6 V and only 85%.

Answer it outputs 6.55 V at 99.2% efficiency.

Worked example

A sample-and-hold uses 100 pF with 1 nA of leakage and holds for 1 ms. How much does it droop?

Show the solution
  1. Droop. ΔV=ICt=10−910−10×10−3V=10mV
  2. Compare with the converter. That's too much for a 12-bit converter on a 3.3 V scale (an LSB is 0.8 mV): a larger capacitor or a shorter hold is needed.

Answer it droops 10 mV, too much for a 12-bit converter on a 3.3 V scale.

Worked example

A 1 pF capacitor is switched between two nodes at 1 MHz. What resistance does it act like, and what corner frequency does it make with a 10 pF integrating capacitor?

Show the solution
  1. Average current. Each cycle it carries a charge CΔV from one node to the other, so the average current is fCΔV.
  2. Equivalent resistance. Req=1fC=1106×10−12Ω=1MΩ
  3. Corner frequency. With a 10 pF integrator the time constant is τ=ReqC2=10μs a corner of 15.9 kHz.
  4. Why chips use it. The corner depends on a capacitor ratio and the clock, both easy to control on a chip, where a precise 1 MΩ resistor would be huge and drift with temperature.

Answer it acts like 1 MΩ, and with the 10 pF integrating capacitor it makes a corner at 15.9 kHz.

Check

A 1 pF capacitor is switched at 100 kHz. What resistance does it imitate?

Write units the way you normally would: 1.5 MΩ, 1500 kΩ and 0.0015 GΩ are the same answer.

Check

A 2 pF capacitor ferries charge between nodes 3 V apart at 50 kHz. What average current flows?

Write units the way you normally would: 1.5 µA, 1500 nA and 0.0015 mA are the same answer.

Check

A doubler from 3.3 V switches a 1 µF flying capacitor at 100 kHz and supplies 10 mA. What is its output?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A doubler from 3.3 V delivers its load current at 5.5 V. What is its efficiency?

Check

A hold capacitor of 10 pF with 1 nA of leakage holds for 1000 µs. How much does it droop?

Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.

Check

What RMS noise voltage does sampling onto 1 pF freeze in at 300 K?

Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.

Check

A 1 pF capacitor is switched at 0.1 MHz and feeds an integrating capacitor 20 times larger.

(a)

What resistance does it act like?

Write units the way you normally would: 1.5 MΩ, 1500 kΩ and 0.0015 GΩ are the same answer.

(b)

What corner frequency does the integrator have?

Check

A capacitor C is switched at f between nodes differing by V.

Step 1

How much charge does it move each cycle?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why do chip designers build filters from switched capacitors instead of resistors and capacitors?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.