Switched capacitor

From Wikipedia, the free encyclopedia
Jump to: navigation, search

A switched capacitor is an electronic circuit element used for discrete time signal processing. It works by moving charges into and out of capacitors when switches are opened and closed. Usually, non-overlapping signals are used to control the switches, so that not all switches are closed simultaneously. Filters implemented with these elements are termed "switched-capacitor filters," and depend only on the ratios between capacitances. This makes them much more suitable for use within integrated circuits, where accurately specified resistors and capacitors are not economical to construct.[1]

The switched capacitor resistor[edit]

Switched-capacitor resistor

The simplest switched capacitor (SC) circuit is the switched capacitor resistor, made of one capacitor C and two switches S1 and S2 which connect the capacitor with a given frequency alternately to the input and output of the SC. Each switching cycle transfers a charge q from the input to the output at the switching frequency f. Recall that the charge q on a capacitor C with a voltage V between the plates is given by:

q = CV\

where V is the voltage across the capacitor. Therefore, when S1 is closed while S2 is open, the charge stored in the capacitor CS is:

q_{\text{IN}} = C_S V_{\text{IN}}.\

When S2 is closed, some of that charge is transferred out of the capacitor, after which the charge that remains in capacitor CS is:

q_{\text{OUT}} = C_S V_{\text{OUT}}.\

Thus, the charge moved out of the capacitor to the output is:

q = q_{\text{IN}}-q_{\text{OUT}} = C_S(V_{\text{IN}}-V_{\text{OUT}})\

Because this charge q is transferred at a rate f, the rate of transfer of charge per unit time is:

I = qf.\

Note that we use I, the symbol for electric current, for this quantity. This is to demonstrate that a continuous transfer of charge from one node to another is equivalent to a current. Substituting for q in the above, we have:

I = C_S(V_{\text{IN}}-V_{\text{OUT}})f\

Let V be the voltage across the SC from input to output. So:

V = V_{\text{IN}} - V_{\text{OUT}}.\

So the equivalent resistance R (i.e., the voltage–current relationship) is:

R = {V \over I} = {1 \over {C_S f}}.\

Thus, the SC behaves like a resistor whose value depends on capacitance CS and switching frequency f.

The SC resistor is used as a replacement for simple resistors in integrated circuits because it is easier to fabricate reliably with a wide range of values. It also has the benefit that its value can be adjusted by changing the switching frequency (i.e., it is a programmable resistance). See also: operational amplifier applications. q = CV\ This same circuit can be used in discrete time systems (such as analog to digital converters) as a track and hold circuit. During the appropriate clock phase, the capacitor samples the analog voltage through switch one and in the second phase presents this held sampled value to an electronic circuit for processing.

The Parasitic Sensitive Integrator[edit]

A Simple Switched Capacitor Parasitic-Sensitive Integrator

Often switched capacitor circuits are used to provide accurate voltage gain and integration by switching a sampled capacitor onto an op-amp with a capacitor C_{fb} in feedback. One of the earliest of these circuits is the parasitic-Sensitive integrator developed by the Czech engineer Bedrich Hosticka.[2] Let us analyze what happens in this case. Denote by T = 1 / f the switching period. Recall that in capacitors

\text{charge} = \text{capacitance} \times \text{voltage}

Then, at the instant when S1 opens and S2 closes, we have the following:

1) Because C_s has just charged:

 Q_s(t) = C_s \cdot V_s(t)\,

2) Because the feedback cap, C_{fb}, is suddenly charged with that much charge (by the opamp, which seeks a virtual short circuit between its inputs):

 Q_{fb}(t) = Q_s(t-T) + Q_{fb}(t-T)\,

Now dividing 2) by C_{fb}:

 V_{fb}(t) = \frac {Q_s(t-T)}{C_{fb}} + V_{fb}(t-T)\,

And inserting 1):

 V_{fb}(t) = \frac {C_s}{C_{fb}} \cdot V_s(t-T) + V_{fb}(t-T)\,

This last equation represents what is going on in C_{fb} - it increases (or decreases) its voltage each cycle according to the charge that is being "pumped" from C_s (due to the op-amp).

However, there is a more elegant way to formulate this fact if T is very short. Let us introduce dt\leftarrow T and dV_{fb}\leftarrow V_{fb}(t)-V_{fb}(t-dt) and rewrite the last equation divided by dt:

 \frac {dV_{fb}(t)}{dt} = f \frac {C_s}{C_{fb}} \cdot V_s(t)\,

Therefore, the op-amp output voltage takes the form:

 V_{OUT}(t) = -V_{fb}(t) = - \frac{1}{\frac{1}{fC_s}C_{fb}} \int V_s(t)dt \,

Note that this is an integrator with an "equivalent resistance" R_{eq} = \frac{1}{fC_s}. This allows its on-line or runtime adjustment (if we manage to make the switches oscillate according to some signal given by e.g. a microcontroller).

The Parasitic Insensitive Integrator[edit]

Use In Discrete-Time Systems[edit]

The delaying parasitic insensitive integrator has a wide use in discrete time electronic circuits such as biquad filters, anti-alias structures, and delta sigma data converters. This circuit implements the following z-domain function:

 H(z) = \frac{1}{z-1}

The Multiplying Digital to Analog Converter[edit]

A 1.5 bit Multiplying Digital to Analog Converter

One useful characteristic of switched capacitor circuits is that they can be used to perform many circuit tasks at the same time, which is difficult with non-discrete time components. The multiplying digital to analog converter (MDAC) is an example as it can take an analog input, add a digital value to it, and multiply this by some factor based on the capacitor ratios. The output of the MDAC is given by the following:

 V_{Out} = \frac {V_{i} \cdot (C_{1}+C_{2}) - (d-1) \cdot V_{r} \cdot C_{2} + V_{os} \cdot (C_{1}+C_{2}+C_{p})} {C_{1} + \frac {(C_{1} + C_{2} + C_{p})} {A} }

The MDAC is a common component in modern pipeline analog to digital converters as well as other precision analog electronics and was first created in the form above by Stephen Lewis and others at Bell Laboratories.[3]

See also[edit]

References[edit]

  1. ^ Switched Capacitor Circuits, Swarthmore College course notes, accessed 2009-05-02
  2. ^ B. Hosticka, R. Brodersen, P. Gray, "MOS Sampled Data Recursive Filters. ng Switched Capacitor Integrators," IEEE Journal of Solid State Circuits, Vol SC-12, No.6, December 1977.
  3. ^ Stephen H. Lewis et al., "A 10-bit, 20Msample/s Analog to Digital Converter, IEEE Journal of Solid State Circuits, March 1992