Switched Capacitor Circuits
Switched Capacitor Circuits
Switched Capacitor Circuits
If S2 closes with S1 open, then S1 closes with switch S2 open, a charge (q is transferred from
v2 to v1 with
.
If this switching process is repeated N times in a time (t, the amount of charge transferred
per unit time is given by
.
Recognizing that the left hand side represents charge per unit time, or current, and the the
number of cycles per unit time is the switching frequency (or clock frequency, fCLK) we can
rewrite the equation as
.
Rearranging we get
which states that the switched capacitor is equivalent to a resistor. The value of this
resistor decreases with increasing switching frequency or increasing capacitance, as either
will increase the amount of charge transfered from v2 to v1 in a given time.
We can also write this with the "s" notation (assuming a sinusoidal input, Aest, s=j)
If you replaced the input resistor with a switched capacitor resistor, you would get
Thus, you can change the equivalent ' of the circuit by changing the clock
frequency. The value of ' can be set very precisely because it depends only on the ratio
of C1 and C2, and not their absolute value.
High Pass
Band Pass
Transfer Function
Notch (Band
Reject)
The pinout for the LMF100 is shown below (from the data sheet):
You can see that the chip, for the most part, is split into two halves, left and right. A block
diagram of the left half ((and a few pins from the right half) is shown below.
The pins are described on page 8 of the datasheet. I will describe a few of them here:
CLKA - is CLK.
INVA - the inverting input to the op-amp
N/AP/HPA - an intermediate output, and the non-inverting input to
the summer. Used for Notch, All Pass or High Pass output.
BPA - another intermediate output, the output of the first integrator.
Used for Band Pass output.
LPA - the output of the second integrator. Used for Low Pass
output.
S1A - an inverting input to the summer.
SAB - determins if the switch is to the left or to the right. That is,
this pin determines if the second inverting input to the summer is
ground (AGND), or the low pass output.
The two integrators are switched capacitor integrators. Their transfer functions are given
by,
where ' is CLK/100, or CLK/50, depending on the state of the 50/100 pin. Note that the
integrator is non-inverting.
A Typical Circuit.
The diagram below shows one of the modes (mode 1) of operations (pages 13 through 20 of
the datasheet).
Let's analyze this circuit and try to derive the filter specifications as given in the datasheet,
and given below.
The low pass (LPA) output is easily given in terms of the band pass output (BPA), as well as
the band pass output as a function of the summer (SUM, not labeled on diagram).
The summer output (SUM) is simply the output of the op amp (NA) minus the lowpass
output (LPA). However we can see that the op amp is set up as the inverting summing
circuit. So
Replace SUM on the left hand side using equation (2) from above, and LPA using
equation (1).
Rearranging brings
yields,