Beruflich Dokumente
Kultur Dokumente
5/2/04
Page 9.0-1
9.0 - INTRODUCTION
Organization
;;;
;;;
;;;
;;;;
;;;
;;;;;;;;;;
;;;
;;;
;;;;;;
Chapter 10
D/A and A/D
Converters
Chapter 9
Switched Capacitor Circuits
Systems
Chapter 6
Simple CMOS &
BiCMOS OTA's
Chapter 7
High Performance
OTA's
Chapter 8
CMOS/BiCMOS
Comparators
Complex
Simple
Chapter 4
CMOS/BiCMOS
Subcircuits
Chapter 5
CMOS/BiCMOS
Amplifiers
;;;
;;;;
;;;
;;;;;;;;;;
Circuits
Chapter10
1
Chapter
Introduction
D/ to Analog CMOS Design
Devices
Chapter
Chapter11
2
Analog
CMOS
Technology
Systems
Chapter 3
CMOS
Modeling
Page 9.0-2
Page 9.1-1
vC (t)
i1(t)
i2 (t)
v2 (t)
v1(t)
i2 (t)
v2 (t)
Fig 9.1-01
1
t
0
2
1
0
0
T/2
3T/2 2T
Fig. 9.1-02
CMOS Analog Circuit Design
Page 9.1-2
1
i1(average) = T i1(t)dt = T i1(t)dt
2
0
0
Charge and current are related as,
v (t)
v1(t)
vC (t)
C 2
dq1(t)
i1(t) = dt
Fig. 9.1-03
Substituting this in the above gives,
1 T/2
q1(T/2)-q1(0) CvC(T/2)-CvC(0)
i1(average) = T dq1(t) =
=
T
T
0
T
T
For the continuous time circuit:
v1(t)
v2 (t)
V1-V2
T
i1(average) = R
RC
Fig. 9.1-04
For v1(t) V1 and v2(t) V2, the signal frequency must be much less than fc.
i1(average) =
Page 9.1-3
Page 9.1-4
i1(t)
i2 (t)
v1(t)
v2 (t)
Fig 9.1-01
(V1-V2)2 T
Power = TRon
e -t/(RonC)dt
(V1-V2)2
= (T/C)
-e -T /(RonC) + 1
(V1-V2)2
(T/C) if T >> RonC
Thus, if R = T/C, then the power dissipation is identical in the continuous time and
discrete time realizations.
CMOS Analog Circuit Design
Page 9.1-5
S1
S2
C
vC (t)
Series
i1(t)
i2 (t)
v2 (t)
C1
v1(t)
S1
vC1 (t)
i2 (t)
i1(t)
S2
v2 (t)
vC2(t)
C2
Series-Parallel
v1(t)
S1 C S2 i2 (t)
vC (t)
S1
S2
v2 (t)
Bilinear
Fig. 9.1-05
Series-Parallel:
The current, i1(t), that flows during both the 1 and 2 clocks is:
T
q1(T/2)-q1(0) q1(T)-q1(T/2)
1T
1 T/2
+
i1(average) = T i1(t)dt = T i1(t)dt + i1(t)dt =
T
T
0
0
T/2
Therefore, i1(average) can be written as,
C2 [vC2(T/2)-vC2(0)] C1 [vC1(T)-vC1(T/2)]
+
i1(average) =
T
T
The sequence of switches cause,vC2(0)=V2, vC2(T/2)=V1, vC1(T/2)=0, and vC1(T)= V1-V2.
Applying these results gives
C2[V1-V2] C1[V1-V2- 0] (C1+C2)(V1-V2)
+
=
i1(average) =
T
T
T
T
Equating the average current to the continuous time circuit gives: R = C1 + C2
CMOS Analog Circuit Design
Page 9.1-6
Page 9.1-7
Parallel
v1(t) C
v2 (t)
Series
v1(t)
C
1
Series-Parallel
v1(t)
T
C
v2 (t)
T
C1 + C2
C1
C2
2
C
v1(t)
v2 (t)
Bilinear
T
C
v2 (t)
T
4C
Page 9.1-8
R1
v2
v1
C2
The transfer function of this simple circuit is,
V2(j)
1
1
Fig. 9.1-06
H(j) = V (j) = jR C + 1 = j + 1
1
1 2
1
where 1 = R1C2 is the time constant of the circuit and determines the accuracy.
Continuous Time Accuracy
Let 1 = C. The accuracy of C can be expressed as,
dC dR1 dC2
C = R1 + C2 5% to 20% depending on the size of the components
Discrete Time Accuracy
T
1
Let 1 = D = C1 C2 = fcC1 C2. The accuracy of D can be expressed as,
dD dC2 dC1 dfc
D = C2 - C1 - fc 0.1% to 1% depending on the size of components
The above is the primary reason for the success of switched capacitor circuits in CMOS
technology.
CMOS Analog Circuit Design
Page 9.1-9
v(t)
A sampled-data
voltage waveform
for a two-phase
clock.
1
t/T
vO(t)
v(t)
A sampled-data
voltage waveform
for the odd-phase
clock.
1
A sampled-data v (t)
voltage waveform
for the even-phase
clock.
t/T
v(t)
Fig. 9.1-065
t/T
P.E. Allen - 2004
Page 9.1-10
z-domain Relationships:
Consider the one-sided z-transform of a sequence, v(nT), defined as
Page 9.1-11
Vi (z) =
o
Vi (z)
Switched
Capacitor
Circuit
+ Vi (z)
Fig. 9.1-07
V o (z)
H ij (z) = i
V i(z)
e
where i and j can be either e or o. For example, Hoe(z) represents Vo (z)/ V i (z) .
Also, a transfer function, H(z) can be defined as
e
Page 9.1-12
Page 9.1-13
v1
C1
C2
v2
1
1
2
2
2
t
n- 23 n-1 n- 21 n n+ 21 n+1 T
Clock phasing for this example.
Fig. 9.1-08
Solution
1: (n-1)T< t < (n-0.5)T
Equivalent circuit:
C2
v1o(n-1)T C1
C2
v2e(n- 23 )T v2o(n-1)T
Equivalent circuit.
v1o(n-1)T C1
v2e(n- 23 )T v2o(n-1)T
Fig. 9.1-09
(1)
P.E. Allen - 2004
Page 9.1-14
C1
e
v1(n-1/2)T
C2
C1 vo(n-1)T
1
v2e(n- 21 )T
v2o(n-1)T
Fig. 9.1-10
The output of this circuit can be expressed as the superposition of two voltage
sources, vo1 (n-1)T and vo2 (n-1)T given as
C1
C2
ve2 (n-1/2)T = C1+C2 vo1 (n-1)T + C1+C2 vo2 (n-1)T.
(2)
(3)
(4)
Page 9.1-15
o
z
V2(z)
z-1
C2
C1+C2
oo
-1 , where =
H (z) = o =
=
(7)
C2
1 + - z
C1 .
V 1(z)
-1
1 - z C1+C2
Page 9.1-16
Discrete
time frequency
response
=0
-1
Imaginary Axis
+j1
r=1
=
= -
=0
+1 Real
Axis
= -
Continuous Frequency Domain
-j1
Discrete Frequency Domain
Fig. 9.1-11
Page 9.1-17
(3)
ArgHoo = - tan-1(1+)cos(T)- = - tan-1
cos(T) - 1+
CMOS Analog Circuit Design
Page 9.1-18
Page 9.1-19
Page 9.1-20
0.8
0.707
0.6
Magnitude
oo jT
|H (e
)|
0.4
0.2
0
|H(j)|
= 1/1
0
0.2
0.4
/c
0.6
0.8
50
oo jT
Arg[H (e
= 1/1
0
-50
-100
)]
Arg[H(j)]
0
0.2
0.4
/c
0.6
0.8
Fig. 9.1-12
Page 9.1-21
SUMMARY
Resistance emulation is the replacement of continuous time resistors with switched
capacitor approximations
- Parallel switched capacitor resistor emulation
- Series switched capacitor resistor emulation
- Series-parallel switched capacitor resistor emulation
- Bilinear switched capacitor resistor emulation
Time constant accuracy of switched capacitor circuits is proportional to the
capacitance ratio and the clock frequency
Analysis of switched capacitor circuits includes the following steps:
1.) Analyze the circuit in the time-domain during a selected phase period.
2.) The resulting equations are based on q = Cv.
3.) Analyze the following phase period carrying over the initial conditions from the
previous analysis.
4.) Identify the time-domain equation that relates the desired voltage variables.
5.) Convert this equation to the z-domain.
6.) Solve for the desired z-domain transfer function.
7.) Replace z by ejT and examine the frequency response.
CMOS Analog Circuit Design
Page 9.2-1
R1
vIN
vOUT
vIN
R2
R1
vOUT
Fig. 9.2-01
Gain and GB = :
Vout R1+R2
Vin = R1
Gain , GB = :
Avd(0)R1
R1+R2
Vout(s) R1+R2
=
Avd(0)R1
Vin(s) R1
1 + R1+R2
Gain , GB :
GBR1
R1+R2 H
Vout(s) R1+R2 R1+R2
GBR1 = R1 s+H
Vin(s) = R1
s + R1+R2
Vout
R2
=
Vin
R1
R1Avd(0)
R2
Vout(s)
R1+R2
Vin(s)
Avd(0)R1
R1
1 + R1+R2
GBR1
R2 H
Vout(s) R2 R1+R2
=
=
GBR1 - R1 s+H
Vin(s) R1
s + R1+R2
Page 9.2-2
Page 9.2-3
Page 9.2-4
CHARGE AMPLIFIERS
Noninverting and Inverting Charge Amplifiers
C2
C1
vIN
vOUT
C2
C1
vOUT
Gain and GB = :
Vout C1+C2
Vin = C2
Gain , GB = :
Avd(0)C2
Vout C1+C2 C1+C2
Vin = C2
Avd(0)C2
1 + C1+C2
Gain , GB :
GBC2
Vout C1+C2 C1+C2
Vin = C2
GBC2
s + C1+C2
CMOS Analog Circuit Design
vIN
Vout
C1
=
Vin
C2
Avd(0)C2
Vout C1 C1+C2
Vin = -C2
Avd(0)C2
1 + C1+C2
GBC2
Vout C1 C1+C2
Vin = -C2
GBC2
s + C1+C2
P.E. Allen - 2004
Page 9.2-5
vin
+
C1
vC1
+
vC2
-
C2
vout
vin
C1
+
-
vC2
vout
+
C2
vC1
Analysis:
Find the even-odd and the even-even z-domain
transfer function for the above switched capacitor
inverting amplifier.
1: (n -1)T < t < (n -0.5)T
n- 23 n-1 n- 21
n+ 21 n+1 T
o
vC1
(n -1)T = vino (n -1)T
and
o
vC2(n -1)T = 0
CMOS Analog Circuit Design
Page 9.2-6
C1
+ o
vin (n-1)T
-
C1
vino (n-1)T
vC2 = 0 e
- + vout (n-1/2)T
C2
vC1 = 0
- +
+
Simplified equivalent circuit.
C1
e
o
vout (n-1/2)T = - C2 vin (n-1)T
e
V out
(z)
o
Vin (z)
C1
= -C2 z -1/ 2
Page 9.2-7
Assume that the applied input signal, vin (n-1)T, was unchanged during the previous
2 phase period(from t = (n-3/2)T to t = (n-1)T), then
o
V out(z) = -C z -1 Vin(z)
2
or
e
Hee (z) =
V out(z)
e
Vin(z)
C1
= -C2 z -1
Page 9.2-8
Hoe (e jT)
V out( e jT)
e
Vout( e jT)
C1
= - C2 e -jT/2
and
e
Hee (e jT) =
V out(e jT)
o
Vout( e jT)
C1
= -C2 e -jT
If C1/C2 = R2/R1, then the magnitude response is identical to inverting unity gain amp.
However, the phase shift of Hoe(e jT) is
Arg[Hoe(e jT)] = 180 - T/2
and the phase shift of Hee(e jT) is
Arg[Hee(e jT)] = 180 - T.
Comments:
The phase shift of the SC inverting amplifier has an excess linear phase delay.
When the frequency is equal to 0.5fc, this delay is 90.
One must be careful when using switched capacitor circuits in a feedback loop
because of the excess phase delay.
CMOS Analog Circuit Design
Page 9.2-9
v1(t)
CP
v1(t)
CP
C
2
CP
CP
=
= T
i2(average) = T i2(t)dt =
T
T
T/2
Substituting this expression into the one above shows that
RT = -T/C
Page 9.2-10
C
o
e
1
vout(n -1/2)T = C2 vin(n -1)T
Noninverting Switched Capacitor Voltage Amplifier.
C1
C1
o
e
V out(z) = C2 z -1/2 Vin(z) Hoe(z) = C2 z-1/2
If the applied input signal, vin(n -1)T, was unchanged during the previous 2 phase, then,
C1
e
e
V out(z) = C2 z-1 Vin(z)
C1
Hee(z) = C2 z-1
Comments:
Excess phase of H oe(e jT) is -T/2 and for H ee(e jT) is -T
CMOS Analog Circuit Design
Page 9.2-11
vC1(n -1)T = 0
and
vC1(t)
o
o
vout(n
-1)T = 0 .
vC2(n -1)T =
2: (n -0.5)T < t < nT
The voltage across C2 is
C1 e
e
vout(n -1/2)T = - C2 vin(n -1/2)T
C1 e
e
V out(z) = - C2V in(z)
vC2
vout
+
C2
C1
Hoe(z) = - C
Comments:
The inverting switched capacitor amplifier has no excess phase delay.
There is no transfer of charge during 1.
CMOS Analog Circuit Design
Page 9.2-12
vo
(1)
(2)
(3)
(4)
(5)
Page 9.2-13
Page 9.2-14
Page 9.2-15
COL
COL
COL
COL
COL
vC(t)
vin
Verror =
10-12
2110x10-6 - 10-12 (1+1.4+0)
M1
COL
M4
COL
COL
M5
vC2
+
C2
-
vout
+
Fig. 9.2-9
Page 9.2-16
10910-12 220x10-18
220x10-18+(0.5)(24.7)(10-16)
Verror =
Page 9.2-17
2 turning off
Finally, as switch M4 turns off, there will be feedthrough onto C2. Since, M4 has one
of its terminals at 0V, the feedthrough is the same as before and is 5.19mV. The final
voltage across C2, and therefore the output voltage vout, is given as
vout(2off) = vC2(2off) = 1.00022V + 0.00519V = 1.00541V
It is interesting to note that the last feedthrough has the most influence.
CMOS Analog Circuit Design
Page 9.2-18
C2
e
vout
(n-1/2)T
Avd(0)
+
e
vout
(n-1/2)T
e
out
Vout(z) C1 -1/2
1
.
= C2 z
Hoe(z) = o
+
C
C
1
2
V in(z)
1 - Avd(0)C2
Comments:
The phase response is unaffected by the finite gain
A gain of 1000 gives a magnitude of 0.998 rather than 1.0.
CMOS Analog Circuit Design
Page 9.2-19
Page 9.2-20
SUMMARY
Continuous time amplifiers are influenced by the gain and gainbandwidth of the op amp
Charge amplifiers are also influenced by the gain and the gainbandwidth of the op amp
Switched capacitor amplifiers replace the resistors of the continuous time amplifier with
switched capacitor equivalents
The transresistor SC amplifiers can be inverting and noninverting with the positive
input terminal of the op amp on ground
The nonidealities of the SC amplifier include:
- Switches
- Capacitors
- Op amp finite gain
- Op amp finite GB
Page 9.3-1
R1
C2
Vout
Vin
C2
R1
Vout
+
Inverter
(b.)
(a.)
Vin(j) j R 1C2 j
Vin(j) j R 1C2 j =
Frequency Response:
|Vout(j)/Vin(j)|
Arg[Vout(j)/Vin(j)]
40 dB
90
20 dB
0 dB
-20 dB
I I I
100 10
10I 100I
0
log10
log10
-40 dB
(a.)
(b.)
Page 9.3-2
=
=
Vin
Avd(s) (s/)
Avd(s) sR1C2 s
sR1C2
1 + (s/) + 1
1 + sR1C2+1
Avd(0)a GB GB
where
Avd(s) = s+a = s+a s
Vout
Case 1: s 0 Avd(s) = Avd(0) Vin - Avd(0)
GB I
GB
Vout
Case 2: s Avd(s) = s
V - s s
in
Vout
I
V - s
Case 3: 0 < s < Avd(s) =
in
|Vout(j)/Vin(j)|
Avd(0) dB
Eq. (1)
0 dB
Eq. (3)
I
x1 = I
Avd(0)
(2)
(3)
Arg[Vout(j)/Vin(j)]
I
180
10Avd(0) 10I
135
Avd(0)
x2 = GB
log10
Eq. (2)
(1)
90
45
0
GB
10
10GB
I
Avd(0)
GB
log10
Page 9.3-3
Example 9.3-1 - Frequency Range over which the Continuous Time Integrator is
Ideal
Find the range of frequencies over which the continuous time integrator
approximates ideal behavior if Avd(0) and GB of the op amp are 1000 and 1MHz,
respectively. Assume that I is 2000 radians/sec.
Solution
The idealness of an integrator is determined by how close the phase shift is to
90 (+90 for an inverting integrator and -90 for a noninverting integrator).
The actual phase shift in the asymptotic plot of the integrator is approximately 6 above
90 at the frequency 10I/Avd(0) and approximately 6 below 90 at GB /10.
Assume for this example that a 6 tolerance is satisfactory. The frequency range can be
found by evaluating 10I/Avd(0) and GB/10.
Therefore the range over which the integrator approximates ideal behavior is from 10Hz
to 100kHz. This range will decrease as the phase tolerance is decreased.
Page 9.3-4
vC2
vout
+
C2
vc2(n-1)T = vout(n-1)T .
2: (n -0.5)T < t < n T
Equivalent circuit:
o
vC2 = vout
(n-1)T e
vout (n-1/2)T
- +
C2
- o2
vin (n-1)T
+
+
t=0
vC1 = 0
+ -
t=0
C1
2
vino(n-1)T
C1
o
vout
(n-1)T C e
2 vout (n-1/2)T
+
- +
vC2 = 0
-
C1 o
e
o
We can write that, vout(n -1/2)T = C2 vin(n -1)T + vout(n -1)T
Page 9.3-5
oo
H (e ) = o j = C2 e j -1 = C2 e j/2 - e-j/2
V in( e )
Replacing ej/2 - e-j/2 by its equivalent trigonometric identity, the above becomes
o
Hoo(e
T
C1
V out(e j) C1
e-j/2
T/2
) = o j = C2 j2 sin(T/2) T = jTC2 sin(T/2) e-j/2
V in( e )
Page 9.3-6
1 /c
1
H(j) = 10j/ and Hoo(e j) = 10j/ sin(/ ) e-j/c
c
c
c
Plots:
0
5
Magnitude
-50
Arg[H(j)]
-100
3
oo j T
|H (e
)|
2
1
-200
|H(j)|
-150
-250
-300
0
0
0.2
0.4
/ c
0.6
0.8
0.2
0.4
0.6
/
c
0.8
Page 9.3-7
vin
vC1(t)
S1
o
c1
v (n -1)T = 0
C1
S2
S4
S3
vC2
+
C2
vout
and
3
o
o
e
vc2(n -1)T = vout(n -1)T = vout(n -2)T.
Equivalent circuit:
C1
t=0
t=0
2 vC1 = 0 2
vine(n-1/2)T
vC2 =
e
vout
(n-3/2)T e
- + vout (n-1/2)T
C2
+
vine (n-1/2)T
e
vC1 = 0 vout (n-3/2)T C2 e
vout (n-1/2)T
+
- + - +
vC2 = 0
+
C1
-
Page 9.3-8
ee
j
H (e ) = e j = - C2 e -1 = - C2 e j/2 - e-j/2
V in( e )
j/2
Replacing e - e-j/2 by 2j sin(T/2) and simplifying gives,
e
j
out(e )
C1
V
T/2
j
ee
H (e ) = e j = - jTC2 sin(T/2) e j/2
V in( e )
Same as noninverting integrator except for phase error.
Consequently, the magnitude response is identical but the phase response is given as
Arg[Hee(e j)] = 2 + 2 .
Comments:
The phase error is + for the inverting integrator and - for the noninverting integrator.
The cascade of an inverting and noninverting switched capacitor integrator has no
phase error.
CMOS Analog Circuit Design
Page 9.3-9
A Sign Multiplexer
A circuit that changes the 1 and 2 of the leftmost switches of the stray insensitive,
switched capacitor integrator.
1
2
x
VC
To switch connected
to the input signal (S1).
VC
This circuit steers the 1 and 2 clocks to the input switch (S1) and the leftmost switch
connected to ground (S2) as a function of whether Vc is high or low.
Page 9.3-10
e
out
o
vout
(n-1)T
Avd(0)
e
C2 vout (n-1/2)T
+
- +
vC2 = 0
-
o
vout
(n-1)T -
vC1 = 0
- +
e
C1 vout (n-1/2)T
Avd(0)
+
-
Fig. 9.3-10
-1
H (z) = o = 1 - z
C1
C1
1
1
V in(z)
1 - Avd(0) - Avd(0)C2(1-z-1) 1 - Avd(0) - Avd(0)C2(1-z-1)
CMOS Analog Circuit Design
Page 9.3-11
Hoo(e ) =
1
C1
C1/C2
1 - Avd(0) 1 + 2C2 - j
T
2Avd(0) tan 2
where now HI(e jT) is the integrator transfer function for Avd(0) = .
The error of an integrator can be expressed as
HI(j)
H(j) = [1-m()] e-j()
where
m() = the magnitude error due to Avd(0)
() = the phase error due to Avd(0)
If () is much less than unity, then this expression can be approximated by
HI(j)
H(j) 1 - m() - j()
Comparing Eq. (1) with Eq. (2) gives m() and ()due to a finite value of Avd(0) as
1
C1/C2
C1
m(j) = - A (0) 1 + 2C and (j) = 2A (0) tan(T/2)
vd
2
vd
(1)
(2)
Page 9.3-12
Example 9.3-3 - Evaluation of the Integrator Errors due to a finite value of Av d(0)
Assume that the clock frequency and integrator frequency of a switch capacitor
integrator is 100kHz and 10kHz, respectively. If the value of Avd(0) is 100, find the value
of m(j) and (j) at 10kHz.
Solution
The ratio of C1 to C2 is found as
C1
210,000
=
T
=
I
100,000 = 0.6283 .
C2
Substituting this value along with that for Avd(0) into m(j) and (j) gives
0.6283
m(j) = - 1 + 2 = -0.0131
and
0.6283
(j) = 2100tan(18) = 0.554 .
The ideal switched capacitor transfer function, HI(j), will be multiplied by a value of
approximately 1/1.0131 = 0.987 and will have an additional phase lag of approximately
0.554.
In general, the phase shift error is more serious than the magnitude error.
Page 9.3-13
Inverting Integrator
C2
C2
() -e-k C +C cos(T)
1
2
1
C2 GB
k1 C1+C2 fc
K. Martin and A.S. Sedra, Effects of the Op Amp Finite Gain and Bandwidth on the Performance of Switched-Capacitor Filters, IEEE Trans. on
Circuits and Systems, vol. CAS-28, no. 8, August 1981, pp. 822-829.
CMOS Analog Circuit Design
P.E. Allen - 2004
Page 9.3-14
vR2on
12d 2kTRon1 kT
2kTRon
= 2+2 = 2 = C Volts(rms)2
1
(2)
where 1 = 1/(RonC). Note that the switch has an effective noise bandwidth of
1
fsw = 4RonC Hz
which is found by dividing Eq. (2) by Eq. (1).
CMOS Analog Circuit Design
(3)
Page 9.3-15
SUMMARY
The discrete time noninverting integrator transfer function is
o
C1
V out(e j)
T/2
j
ee
H (e ) = e j = - jTC sin(T/2) ej/2
2
V in( e )
In general the integrator transfer function can be expressed as
H(ejT) = (Ideal)x(Magnitude error)x(Phase error)
Note that the cascade of an noninverting integrator with a inverting integrator has no
phase error
A capacitor C and a switch (or switches) has a thermal noise given as kT/C where T is
the clock period
Page 9.4-1
vout(t)
Dependent
Switched
Independent
Unswitched Voltage
Capacitor
Voltage
Capacitor
Source
Circuit
Source
Figure 9.4-1 - Two-port characterization of a general switched capacitor circuit.
Approach:
Four port - allows both phases to be examined
Two-port - simplifies the models but not as general
CMOS Analog Circuit Design
Page 9.4-2
v(t)
Ve(z)
Phase Dependent
Voltage Source
Vo(z)
1
t/T
z-1/2Vo(z)
Phase Independent
Voltage Source for
the Odd Phase
Vo(z)
1
t/T
Ve(z)
Phase Independent
Voltage Source for
the Even Phase
z-1/2Ve(z)
2
t/T
Page 9.4-3
+
v1(t)
-
C
2
+
v2(t)
-
Negative SC Transresistance
C
+ 2
v1(t)
1
-
2 +
1 v2(t)
-
Positive SC Transresistance
C
+
v1(t)
-
+
v2(t)
-
+
o
V1
e
V1
+
+
o
V1
-e
V1
+
+
o
V1
-e
V1
+
C(1-z-1)
-Cz-1/2
Cz-1/2
C
Cz-1/2
-Cz-1/2
-Cz-1/2
+
v2(t)
-
Cz-1/2
+
v1(t)
-
+
o
V1
e
V1
+
Switched Capacitor, Two-Port Circuit Four-Port, z-domain Equivalent Model Simplified, Two-Port z-domain Model
+
o
V2
e
V2
+
+
o
V2
e
V2
+
+
o
V1
-
Cz-1/2
+
e
V2
-
-Cz-1/2
+
e
V2
-
+
o
V2
-e
V2
+
C
+
+
e
e
V1
V2
(Circuit connected between
defined voltages)
+
o
V2
-e
V2
+
C(1-z-1)
+
+
e
e
V1
V2
(Circuit connected between
defined voltages) Fig. 9.4-3
K.R. Laker, Equivalent Circuits for Analysis and Synthesis of Switched Capacitor Networks, Bell System Technical Journal, vol. 58, no. 3,
March 1979, pp. 729-769.
CMOS Analog Circuit Design
P.E. Allen - 2004
Page 9.4-4
C
+
+
v2(t)
v1(t)
1
Capacitor and
Shunt Switch
C
+
o
V1
-e
V1
+
+
o
V2
e
V2
+
+
o
V1
e
V1
+
+
o
V1
-e
V1
+
+
o
V2
-e
V2
+
+
o
V2
e
V2
+
-Cz-1/2
Cz-1/2
-Cz-1/2
V1
+
-Cz-1/2
+
+
v2(t)
v1(t)
Unswitched
Capacitor
+
o
V1
-
Cz-1/2
Simplified Four-port
z-domain Model
-Cz-1/2
Switched Capacitor
Circuit
+
o
V2
-e
V2
+
Fig. 9.4-4
Page 9.4-5
+
vi(t)
-
+
vo(t) = Avvi(t)
-
+
Vio(z)
-
+
Voo(z) = AvVio(z)
-
Vie(z)
+
Voe(z) = AvVie(z)
+
Page 9.4-6
Cz-1/2
-Cz-1/2
Cz-1/2
Next, let us sum the currents flowing away from the positive V 2 node of the fourport z-domain model in Fig. 9.4-3. This equation is,
e
-Cz-1/2(V 2 - V 1 ) + Cz-1/2V 2 + CV 2 = 0.
e
Page 9.4-7
v1
v2
1
v1
v3
vo
v4
2
1
+
Fig. 9.6-4a
V2(z)
V3(z)
V4(z)
Vo(z)
V1(z)
1
2
2
2
1
V1(z)
e
V2(z)
V4(z)
V3(z)
+
-
Vo(z)
Fig9.4-6b
V2(z)
V3(z)
V4(z)
e
1
o
V1(z)
2
2
Vo(z)
2
1
+
Fig. 9.4-7
Page 9.4-8
z-1/2V
o
i (z)
e
C2(1-z-1)V o (z)
=0
Hoe(z)
C1
C2
2
2
vi(t)
vo
2
-
+
-C1z-1/2
(a.)
C2(1-z-1) V e(z)
o
Vo(z)
Vi(z)
z-1/2Vo(z)
(b.)
Figure 9.4-8 - (a.) Modified equivalent circuit
of Fig. 9.3-4a. (b.) Two-port, z-domain model
for Fig. 9.4-8a.
e
o
(V o (z)/V i (z))
C1z-1/2
= C2(1-z-1) .
Hoo(z) is found by using the relationship that V o (z) = z-1/2V o (z) to get
C1z-1
o
o
Hoo(z) = (V o (z)/V i (z)) = C2(1-z-1)
which is equal to z-domain transfer function of the noninverting SC integrator.
CMOS Analog Circuit Design
Page 9.4-9
C1
2
e
C2(1-z-1)V o (z)
+
=0
which can be rearranged to give
e
Hee(z) =
V o (z)
e
vi(t)
C2
2
vo
2
+
C1
e
Vi(z)
(a.)
C2(1-z-1) V e(z)
o
Vo(z)
z-1/2Vo(z)
(b.)
Figure 9.4-9 - (a.) Modified equivalent circuit of
inverting SC integrator. (b.) Two-port, z-domain
model for Fig. 9.4-9a
-C1
= C (1-z-1) .
2
V i (z)
which is equal to inverting, switched capacitor integrator z-domain transfer function.
o
Heo(z) is found by using the relationship that V o (z) = z-1/2V o (z) to get
o
Heo(z)
V o (z)
e
V i (z)
C1z-1/2
= C (1-z-1) .
2
P.E. Allen - 2004
Page 9.4-10
C1
1
o
V 2 (z)
and
for the summing, switched capacitor
integrator of Fig. 9.4-10a.
Solution
This circuit is time-variant because C3 is
charged from a different circuit for each phase.
Therefore, we must use a four-port model. The
resulting z-domain model for Fig. 9.4-10a is
shown in Fig. 9.4-10b.
v1(t)
C3
vo
2
-
+
C1
1
1
2
v2(t)
Page 9.4-11
(1)
e
o
C2V 2 (z)
o
o
o
+ C3V o (z) - C1z-1V 1 (z) - C3z-1V o (z) = 0 (3)
o
Solving for V o (z) gives,
o
o
C1z-1V 1 (z) C2V 2 (z)
o
V o (z) = C3(1-z-1) - C3(1-z-1)
Multiplying Eq. (1) by z-1/2 and adding it to Eq. (2) gives
o
Vo(z)
Vi(z)
- C3
V1(z)
-C1z-1/2
V2(z)
C2
e
Vi(z)
C3
Voe(z)
-C3z-1/2
Fig. 9.4-10b - Four-port, z-domain
model for Fig. 9.4-10a.
e
V o (z)
Page 9.4-12
i(t)
Time-domain:
+
v1(t)
-
T
T
i(t) = C v t - 2 - v2t - 2
1
Cv3(t)
i(t)
+
v2(t)
+v3(t) -
Delay of T/2
Rin =
T
2
+
Fig. 9.4-11b
SPICE Primitives:
2
1
CV4
LosslessTransmission Line
V1-V2
TD = T/2, Z0 = R
Fig. 9.4-11c
B.D. Nelin, Analysis of Switched-Capacitor Networks Using General-Purpose Circuit Simulation Programs, IEEE Trans. on Circuits and Systems, pp. 43-48, vol. CAS-30,
No. 1, Jan. 1983.
Page 9.4-13
C2z-1/2
-C2z-1/2
-C2z-1/2
C2z-1/2
C1
C1z-1/2
-C1z-1/2
C1z-1/2
C1
T
=
I
C2
fc = 0.6283
AssumeC2 = 1F C1 = 0.6283F.
C2
1
3
5
Next we replace the switched
+
+o
106V3
o
Vi
Vo
capacitor C1 and the unswitched
0
0
0
capacitor of integrator by the z-e
-e
Vo
Vi
domain model of the second row of
+
+
106V4
Fig. 9.4-3 and the first row of Fig.
2
4
6
C2
9.4-4 to obtain Fig. 9.4-12. Note Figure 9.4-12 - z-domain model for noninverting switched capacitor integrator.
that in addition we used Fig. 9.4-5
for the op amp and assumed that the op amp had a differential voltage gain of 106. Also,
the unswitched Cs are conductances.
As the op amp gain becomes large, the important components are indicated by the
darker shading.
P.E. Allen - 2004
Page 9.4-14
VIN 1 0 DC 0 AC 1
R10C1 1 0 1.592
X10PC1 1 0 10 DELAY
G10 1 0 10 0 0.6283
X14NC1 1 4 14 DELAY
G14 4 1 14 0 0.6283
R40C1 4 0 1.592
X40PC1 4 0 40 DELAY
G40 4 0 40 0 0.6283
X43PC2 4 3 43 DELAY
G43 4 3 43 0 1
R35 3 5 1.0
X56PC2 5 6 56 DELAY
G56 5 6 56 0 1
R46 4 6 1.0
X36NC2 3 6 36 DELAY
Page 9.4-15
200
150
Magnitude
4
3
Both H
oe
and H
oo
2
1
100
50
0
oo
Phase of H (jw)
-50
oe
Phase of H (jw)
-100
-150
20
40
60
Frequency (kHz)
(a.)
80
100
-200
20
40
60
Frequency (kHz)
(b.)
80
100
Comments:
This approach is applicable to all switched capacitor circuits that use two-phase,
nonoverlapping clocks.
If the op amp gain is large, some simplification is possible in the four-port z-domain
models.
The primary advantage of this approach is that it is not necessary to learn a new
simulator.
CMOS Analog Circuit Design
Page 9.4-16
K. Suyama, Users Manual for SWITCAP2, Version 1.1, Dept. of Elect. Engr., Columbia University, New York, NY 10027, Feb. 1992.
Page 9.4-17
Page 9.4-18
Page 9.4-19
Logic
Threshold
+
...
...
+
-
+
v
-
Av
Page 9.4-20
SWITCAP - Resistors
RQ
RQ
Ceq
R= T
4Ceq
RQ
RQ
RQ
t
RQ
The clock, RQ, for the resistor is run at a frequency, much higher than the system clock in
order to make the resistor model still approximate a resistor at frequencies near the
system clock.
Page 9.4-21
RON
MQ
S
S
Cgd
Cbs
Cbd
Frequency
Higher than
MQ clock
More information:
SWITCAP Distribution Center
Columbia University
411 Low Memorial Library
New York, NY 10027
suyama@elab.columbia.edu
CMOS Analog Circuit Design
Page 9.4-22
SUMMARY
Can replace various switch-capacitor combinations with a z-domain model
The z-domain model consists of:
- Positive and negative conductances
- Delayed conductances (storistor)
- Controlled sources
- Independent sources
These models permit SPICE simulation of switched capacitor circuits
The type of clock circuits considered here are limited to two-phase clocks
Page 9.5-1
Page 9.5-2
Page 9.5-3
2
1
1C1
1
- C1
+
2
C
1 2 1 1
C1
vo(t)
vo(t)
2
vi(t)
vo(t)
1
vi(t)
1C1
2
1
(a.)
(b.)
Figure 9.5-1 - (a.) Noninverting, first-order low pass circuit. (b.) Equivalent circuit of Fig. 9.5-1a.
Transfer function:
Summing currents flowing toward the inverting
op amp terminal gives
e
2C1V o (z)
Vo(z)
C12
-C11z-1/2 C1(1-z-1) V e(z)
o
Vo(z)
z
e
+
1
o
z-1/2Vo(z)
V o (z)
1z-1
1+2
=
=
o
-1
z-1
Figure 9.5-2 - z-domain model of Fig. 9.5-1b.
V i (z) 1 + 2 - z
1 - 1+2
Equating the above to H(z) of the previous page gives the design equations as
1 = A0/B0
and
2 = (1-B0)/B0
CMOS Analog Circuit Design
Page 9.5-4
2
1
1C1
2
vo(t)
- C1
C1
vo(t)
vo(t)
2
vi(t)
2
2C1
1
1
2
vi(t)
1C1
1
1
Equivalent circuit.
e
V o (z)
e
Page 9.5-5
1z-1
= 2 + 1- z-1
o
V (z)
V o (z)
(2)
Next, we note from Eq. (1) that 1-z-1 sT. Furthermore, if sT<<1, then z-1 1.
Making these substitutions in Eq. (2), we get
o
V o (s)
1
1/ 2
2 + sT = 1 + s(T/2)
(3)
V
Equating Eq. (3) to the specifications gives 1 = 102 and 2 = -3dB/fc
2 = 6283/100,000 = 0.0628 and 1 = 0.6283
o
i (s)
Page 9.5-6
2C
2 1
1
1C
1C
vo(t)
Transfer function:
Summing currents at the
inverting input node of the op
amp gives
e
vo(t)
2
- C
vi(t)
- C
vi(t)
(b.)
(a.)
Figure 9.5-3 - (a.) Switched-capacitor, high pass circuit. (b.) Version of Fig. 9.5-3a
that constrains the charging of C1 to the 2 phase.
2
1(1-z-1)
(1-z-1)
Voe(z)
Vo(z)
Vi(z)
z-1/2Vo(z)
Page 9.5-7
3C
2C
1
1
3C
2C
1
1
vo(t)
1
vi(t)
1C
2
1
2
vo(t)
C
vi(t)
C
2 1 1
Transfer function:
(a.)
(b.)
Summing the currents
Figure 9.5-5 - (a.) High or low frequency boost circuit. (b.) Modification of (a.) to simplify
flowing into the
the z-domain modeling
inverting input of the
3(1-z-1)
2
op amp gives
o
-1z-1/2 (1-z-1) V e(z)
-1z-1/2Voi (z)+3(1-z-1)Vei (z)+2Veo(z)+(1-z-1)Veo(z) = 0 Vie(z)
Vo(z)
o
Since Voi(z) = z-1/2Vei(z), then the above becomes
o
Vi(z)
e
+
z-1/2Vo(z)
Veo(z) 2+1-z-1 = 1z-1Vei(z) - 3(1-z-1)Vei(z)
Solving for Hee(z) gives
Figure 9.5-6 - z-domain model for Fig. 9.5-5b.
1+3
1-B0
1z-1-3(1-z-1) -3 1- 3 z-1
A1+A0
- A0
=
and
=
Hee(z) = +(1-z-1) = 2+1
1
2 B0
3
B0
B0
z-1
2
1-2+1
Page 9.5-8
From Fig. 9.5-7, we see that the desired response has a dc gain of 10, a right-half
plane zero at 2 kHz and a pole at -200 Hz. Thus, we see that the following
relationships must hold.
1
1
2
=
10
,
=
2000
,
and
2
T 3
T = 200
From these relationships we get the desired values as
2000
200
1 = fc , 2 = fc , and 3 = 1
CMOS Analog Circuit Design
Page 9.5-9
1C
1
2
vi(t)
C1
1
1C
-+
+-
2
+
2
1
1C
2C
-+
+-
vo(t) vi(t)
vo(t)
2C
1C
2C
1
2
+
vo(t)
2C
1C
2
1
1C
1
2
3C
2 2C
1
2
2
1
vo(t) vi(t)
-
3C
-+
+-
vo(t)
-
vo(t)
2 2C
1
1
(c.)
(a.)
(b.)
Figure 9.5-8 - Differential implementations of (a.) Fig. 9.5-1, (b.) Fig. 9.5-3, and (c.) Fig. 9.5-5.
2
1
Comments:
Differential operation reduces clock feedthrough, common mode noise sources and
enhances the signal swing.
Differential operation requires op amps or OTAs with differential outputs which in turn
requires a means of stabilizing the output common mode voltage.
Page 9.5-10
SUMMARY
Examined first-order SC circuits (lowpass, highpass, allpass)
Illustrated design by assuming the clock frequency is higher than the signal frequency
(s-domain design)
Illustrated direct design by equating coefficients between the desired and design in the
z-domain (requires the specifications in the z-domain)
Page 9.6-1
SecondOrder
Circuit
Stage 1
SecondOrder
Circuit
Stage 2
(a.)
SecondOrder
Circuit
Stage n
Vout
FirstOrder
Circuit
Stage 1
SecondSecondVout
Order
Order
Circuit
Circuit
Stage 2
Stage n
(b.)
Figure 9.6-1 - (a.) Cascade design when n is even. (b.) Cascade designwhen n is odd.
Vin
Ladder design
Also uses first- and second-order circuits
There are also other applications of first- and second-order circuits:
Oscillators
Converters
CMOS Analog Circuit Design
Page 9.6-2
=
K
Ha(s) = Vin(s) =
(s-p )(s-p )
o
1
2
s2 + Q s+ o2
j
o
2Q
Page 9.6-3
-1
1
Vout(s) = s (K1 + K2s)Vin(s) + Q Vout(s) + s (K0Vin(s) +o2Vout(s))
If we define the voltage V1(s) as
-1 K0
-1
o
Vout(s) = s (K1 + K2s) Vin(s) + Q Vout(s) - oV1(s)
Synthesizing the voltages V1(s)
Vin(s) K2
CA=1
and Vout(s), gives
Vout(s) 1/o
Vin(s) o/K0
V1(s)
CB=1
Vin(s) 1/K1
Vout(s) Q/o
Vout(s)
V1(s) -1/o
(a.)
(b.)
Figure 9.6-2 - (a.) Realization of V1(s). (b.) Realization of Vout(s).
CMOS Analog Circuit Design
Page 9.6-4
Vin(z)
2C1
Vout(z)
C1
2
1
e
Vin(z)
2
1
C2 V e (z)
out
4C2
Vin(z)
1C1
2
1
V1(z)
5C2
V1(s)
1
2
6C2
Vout(z)
2
1
(a.)
(b.)
Figure 9.6-3 - (a.) Switched capacitor realization of Fig. 9.6-2a. (b.) Switched
capacitor realization of Fig. 9.6-2b.
Note that we multiplied the V 1 (z) input of Fig. 9.6-3b by z-1/2 to convert it to V 1 (z).
CMOS Analog Circuit Design
Page 9.6-5
2C 1
e
V1(z)
5C 2
1
2
6C 2
C2
1
e
Vout(z)
+
If we assume that T<<1,
4C 2
e
1
1
then 1-z-1 sT and V1(z)
3C 2
e
andVout(z) can be
Figure 9.6-4 - Low Q, switched capacitor, biquad realization.
approximated as
1 e
2 e
2 e
-1 1 e
e
V 1 (s) - sT Vin(s) - sT Vout(s) = s T Vin(s) + T Vout(s)
and
5 e
6 e
-1 4
e
e
V out(s) s ( T + s3)Vin(s) - T V 1(s) + T Vout(s) .
These equations can be combined to give the transfer function, Hee(s) as follows.
s4 15
-3s2 + T + T2
Hee(s)
s6 25
s2 + T + T2
CMOS Analog Circuit Design
Page 9.6-6
s4 15
-3s2 + T + T2 -(K s2+ K s + K )
2
1
0
Equating Hee(s) to Ha(s) gives
o
s6 25 =
s2 + Q s+ o2
s2 + T + T2
oT
K0T
which gives,
1 = o , 2 = |5| = oT, 3 = K2, 4 = K1T, and 6 = Q .
Largest capacitor ratio:
If Q > 1 and oT << 1, the largest capacitor ratio is 6.
For this reason, the low-Q, switched capacitor biquad is restricted to Q < 5.
Sum of capacitance:
To find this value, normalize all of the capacitors connected or switched into the
inverting terminal of each op amp by the smallest capacitor, minC. The sum of the
normalized capacitors associated with each op amp will be the sum of the capacitance
connected to that op amp. Thus,
1 n
C = min i
i =1
where there are n capacitors connected to the op amp inverting terminal, including the
integrating capacitor.
CMOS Analog Circuit Design
Page 9.6-7
Page 9.6-8
Page 9.6-9
Voltage Scaling
It is desirable to keep the amplitudes of the output voltages of the two op amps
approximately equal over the frequency range of interest. This can be done by voltage
scaling.
If the voltage at the output node of an op amp in a switched capacitor circuit is to
be scaled by a factor of k, then all switched and unswitched capacitors connected to that
output node must be scaled by a factor of 1/k.
For example,
1C1
C1
v1
2C2
C2
Page 9.6-10
1 K0 K1
s
Vout(s) 1/o
CB=1
Vin(s) K2
Vout(s) 1/Q
Vin(s) K1/o
V1(s)
V1(s) -1/o
Vout(s)
Vin(s) o/K0
Realization of Vout(s).
Realization of V1(s).
Page 9.6-11
4C1
Vin(z)
3C1
2C1
Vout(z)
C1
2
1
e
Vin(z)
1C1
2
1
V1(z)
e
6C2
5C2 2
Vin(z)
V1(s)
1
2
C2 V e (z)
out
+
1
(a.)
(b.)
Figure 9.6-6 - (a.) Switched capacitor realization of Fig. 9.6-5a. (b.) Switched
capacitor realization of Fig. 9.6-5b.
Note that we multiplied the V 1 (z) input of Fig. 9.6-6b by z-1/2 to convert it to V 1 (z).
CMOS Analog Circuit Design
Page 9.6-12
2
1
4C1
1
2
C2
2
Vout(z)
e
andVout(z)
5C2
1 Ve (z)
1
1 1
Vin(z)
2C1
6C2
can be
Figure 9.6-7 - High Q, switched capacitor, biquad realization.
approximated as
e
1 1
1 2
e
e
V 1 (s) - s T + s3V in(s) - s T + s4V out(s)
and
5 e
-1
e
e
V out(s) s (s6)Vin(s) - T V 1(s) .
These equations can be combined to give the transfer function, Hee(s) as follows.
s35 15
-6s2 + T + T2
Hee(s)
s45 25
s2 + T + T2
CMOS Analog Circuit Design
Page 9.6-13
s35 15
2
-6s + T + T2 -(K s + K s + K )
2 2
1
0
o
s45 25 =
s2 + Q s+ o2
s2 + T + T2
which gives,
K0T
K1
1
1 = o , 2 = |5| = oT, 3 = o, 4 =Q, and 6 = K2 .
Largest capacitor ratio:
If Q > 1 and oT << 1, the largest capacitor ratio is 2 (5) or 4 depending on the
values of Q and oT.
Page 9.6-14
Page 9.6-15
Page 9.6-16
C
2
2
e
Vin(z)
2
V1(s)
Vout(z)
+
I
H
1
J
2
1
2
L
2
e
V out(z)
(DJ^ - AH^)z-2 - [D( I^ + J^) - AG^]z - D I^
=
e
-2 -1
V in(z) (DB - AE)z [2DB - A(C + E) + DF]z + D(B +F)
e
^) + FH^ - E( I^+J^) - CJ^]z-1 - [ I^(C+E) - G
^(F+B)]
V 1(z) (EJ^ - BH^)z-2+[B(G^+H
=
e
(DB - AE)z-2 - [2DB - A(C + E) + DF]z-1 + D(B +F)
V in(z)
G^ = G+L,
where
H^ = H+L ,
I^ = I+K
and
J^ = J+L
Page 9.6-17
G
e
Vin(z)
-Hz-1
B(1-z-1)
e
(z)
Vout
+
I
-Jz-1
L(1-z-1)
Figure 9.6-9 - z-domain equivalent circuit for the Fleischer-Laker biquad of Fig. 9.6-8.
Type 1E Biquad (F = 0)
e
V out
z-2(JD - HA) + z-1(AG - DJ - DI) + DI
e = -2
-1
V in z (DB - AE) + z (AC + AE - 2BD) + BD
and
e
Page 9.6-18
G
e
Vin(z)
-Hz-1
B(1-z-1)
e
Vout
(z)
+
I
-Jz-1
L(1-z-1)
Figure 9.6-9 - z-domain equivalent circuit for the Fleischer-Laker biquad of Fig. 9.6-8.
Type 1F Biquad (E = 0)
e
Page 9.6-19
Page 9.6-20
Page 9.6-21
SUMMARY
The second-order switched capacitor circuit is a very versatile circuit
The second-order switched capacitor circuit will be very useful in filter design
Low-Q biquad is good for Qs up to about 5 before the elements spreads become large
Design methods:
- Assume that fc>>fsig and using continuous time specifications and design
- Direct design equate the z-domain transfer function to a z-domain specification
and solve for the capacitor ratios
Page 9.7-1
Stopband
fcutoff =
fPassband
Frequency
Phase
0 0
Frequency
Slope =
-Time delay
Page 9.7-2
Characterization of Filters
A low pass filter magnitude response.
Tn(jn)
T(j)
1
T(jPB)/T(j0)
T(j0)
T(jPB)
T(jSB)
0
0
T(jSB)/T(j0)
0
0
PB SB
1 SB/PB=n
(b.)
(a.)
Figure 9.7-1 - (a.) Low pass filter. (b.) Normalized, low pass filter.
Page 9.7-3
An(jn) dB
1
log10(n)
T(jPB)
A(jSB)
T(jSB)
A(jPB)
0
0
log10(n)
1
n
(b.)
(a.)
Figure 9.7-2 - (a.) Low pass filter of Fig. 9.7-1 as a Bode plot. (b.) Low pass filter of
Fig. 9.7-2a shown in terms of attenuation (A(j) = 1/T(j)).
Therefore,
Passband ripple = T(jPB) dB
Stopband gain = T(jSB) dB or Stopband attenuation = A(jPB)
Transition frequency is still = n = SB/PB
Page 9.7-4
(j ) =
0.8
A
0.6
|T LPn (j n)|
0.4
Butterworth Magnitude
Approximation:
LPn
N=5
N=4
N=6
1
1+
0.2
N=3
N=2
N=8
2N
N=10
1 + 2 n
0
0
0.5
1
1.5
2
where N is the order of the
Normalized Frequency, n
approximation and is defined in
the above plot.
The magnitude of the Butterworth filter approximation at SB is given as
j SB
1
T
= |T
(j
)|
=
T
=
LPn
LPn
n
SB
2N
PB
1 + 2 n
This equation in terms of dB is useful for finding N given the filter specifications.
2.5
2N
Page 9.7-5
Page 9.7-6
Poles
-0.70711 j0.70711
-0.50000 j0.86603
-0.38268 j0.92388
-0.92388 j0.38268
-0.30902 j0.95106
-0.80902 j0.58779
-0.25882 j0.96593
-0.96593 j0.25882
-0.70711 j0.70711
-0.22252 j0.97493
-0.90097 j0.43388
-0.62349 j0.78183
-0.19509 j0.98079
-0.83147 j0.55557
-0.55557 j0.83147
-0.98079 j0.19509
-0.17365 j0.98481
-0.76604 j0.64279
-0.50000 j0.86603
-0.93969 j0.34202
-0.15643 j0.98769
-0.89101 j0.45399
-0.45399 j0.89101
-0.98769 j0.15643
-0.70711 j0.70711
a1 coefficient
1.41421
1.00000
0.76536
1.84776
0.61804
1.61804
0.51764 1.93186
1.41421
0.44505 1.80194
1.24698
0.39018 1.66294
1.11114 1.96158
0.34730 1.53208
1.00000 1.87938
0.31286 1.78202
0.90798 1.97538
1.41421
P.E. Allen - 2002
Page 9.7-7
Example 9.7-2 - Finding the Butterworth Roots and Polynomial for a given N
Find the roots for a Butterworth approximation with =1 for N = 5.
Solution
For N = 5, the following first- and second-order products are obtained from Table
9.7-1
1
1
1
2
1.5
TLPn(jn )
1
T1(jn )
0.5
T3 (jn)
0
0.5
1
1.5
2
Normalized Frequency, n
2.5
Page 9.7-8
1
A
0.8
1
1+2
N=2
0.6
TLPn(jn )
0.4
N=3
N=4
0.2
0
N=5
0.5
1
1.5
2
Normalized Frequency, n
2.5
1
(jn) = 1 + 2 cosh2[Ncosh-1( )] , n > 1
n
where N is the order of the filter approximation and is defined as
1
|TLPn(PB)| = |TLPn(1)| = TPB = 1+2 .
N is determined from 20 log10(TSB) = TSB (dB) = -10log10{1 + 2cosh2[Ncosh-1(n)]}
T
LPn
Page 9.7-9
Page 9.7-10
Normalized Pole
Locations
-0.54887 j0.89513
-0.24709 j0.96600
-0.49417
-0.13954 j0.98338
-0.33687 j0.40733
-0.08946 j0.99011
-0.23421 j0.61192
-0.28949
-0.06218 j0.99341
-0.16988 j0.72723
-0.23206 j0.26618
-0.04571 j0.99528
-0.12807 j0.79816
-0.18507 j0.44294
-0.20541
a0
a1
1.10251
0.99420
1.09773
0.49417
0.98650
0.27940
0.98831
0.42930
0.27907
0.67374
0.17892
0.46841
0.99073
0.55772
0.12471
0.99268
0.65346
0.23045
0.12436
0.33976
0.46413
0.09142
0.25615
0.37014
P.E. Allen - 2002
Page 9.7-11
0.9883
0.4293
2
sn+0.1789sn+0.9883sn+0.4684sn+0.4293
Other Approximations
Thomson Filters - Maximally flat magnitude and linear phase1
Elliptic Filters - Ripple both in the passband and stopband, the smallest transition region
of all filters.2
An excellent collection of filter approximations and data is found in A.I. Zverev,
Handbook of Filter Synthesis, John Wiley & Sons, Inc., New York, 1967.
W.E. Thomson, Delay Networks Having Maximally Flat Frequency Characteristics, Proc. IEEE, part 3, vol. 96, Nov. 1949, pp. 487-490.
W. Cauer, Synthesis of Linear Communication Networks, McGraw-Hill Book Co., New York, NY, 1958.
ECE 6414 - Analog Integrated Systems Design
Page 9.7-13
Normalized
LP Filter
Root
Locations
Frequency
Transform the
Roots to HP,
BP, or BS
Cascade of
First- and/or
Second-Order
Stages
Normalized
Low-Pass
RLC Ladder
Realization
Frequency
Transform the
L's and C's to
HP, BP, or BS
First-Order
Replacement
of Ladder
Components
Denormalize
the Filter
Realization
All designs start with a normalized, low pass filter with a passband of 1 radian/second and
an impedance of 1 that will satisfy the filter specification.
1.) Cascade approach - starts with the normalized, low pass filter root locations.
2.) Ladder approach - starts with the normalized, low pass, RLC ladder realizations.
A Design Procedure for the Low Pass, SC Filters Using the Cascade Approach
1.) From TPB, TSB, and n (or APB, ASB, and n) determine the required order of the
filter approximation, N.
2.) From tables similar to Table 9.7-1 and 9.7-2 find the normalized poles of the
approximation.
3.) Group the complex-conjugate poles into second-order realizations. For odd-order
realizations there will be one first-order term.
4.) Realize each of the terms using the first- and second-order blocks of the previous
lectures.
5.) Cascade the realizations in the order from input to output of the lowest-Q stage first
(first-order stages generally should be first).
More information can be found elsewhere1,2,3,4.
K.R. Laker and W.M.C. Sansen, Design of Analog Integrated Circuits and Systems, McGraw Hill, New York, 1994.
P.E. Allen and E. Sanchez-Sinencio, Switched Capacitor Circuits, Van Nostrand Reinhold, New York, 1984.
R. Gregorian and G.C. Temes, Analog MOS Integrated Circuits for Signal Processing, John Wiley & Sons, New York, 1987.
3
4
L.P. Huelsman and P.E. Allen, Introduction to the Theory and Design of Active Filters, McGraw Hill Book Company, New York, 1980.
ECE 6414 - Analog Integrated Systems Design
P.E. Allen - 2002
Page 9.7-15
Example 9.7-5 - Fifth-order, Low Pass, SC Filter using the Cascade Approach
Design a cascade, switched capacitor realization for a Chebyshev filter approximation
to the filter specifications of TPB = -1dB, TSB = -25dB, fPB = 1kHz and fSB = 1.5kHz. Give
a schematic and component value for the realization. Also simulate the realization and
compare to an ideal realization. Use a clock frequency of 20kHz.
Solution
First we see that n = 1.5. Next, recall that when TPB = -1dB that this corresponds to =
0.5088. We find that N = 5 satisfies the specifications (TSB = -29.9dB). Using the results
of previous lecture, we may write TLPn(sn) as
0.2895
0.9883
0.4293
2
TLPn(sn) = sn+0.2895 2
(1)
sn+0.1789sn+0.9883sn+0.4684sn+0.4293
Next, we design each of the three stages
1
individually.
21C11
11
11
2
Vin(ej)
V2(ej)
Stage 1 - First-order Stage
1
2
- C11
2
1
Let us select the first-order stage shown. We will
+
assume that fc is much greater than fBP (i.e. 100) and use
transfer function shown below to accomplish the design.
Stage 1
11/21
(2)
T1(s) 1 + s(T/21)
ECE 6414 - Analog Integrated Systems Design
Chapter 9 Section 7 (5/2/04)
Page 9.7-17
2
1
1
2
1
+
+
T(0) n
(5)
= 2 n
Stage 2
2
sn + Q sn + n
where T(0) = 1, n = 0.9941 and Q = (0.9941/0.1789) = 5.56. Therefore, select the lowpass version of the high-Q biquad. First, apply the normalization of Eq. (3) to get
sn3252 1252
-62s n2 + Tn
+
T n2
.
(6)
T2(sn)
sn4252 2252
2
s n + Tn
+
T n2
To get a low pass realization, select 32 = 62 = 0 to get
-(1252/T n2)
(7)
T2(sn)
sn4252 2252 .
2
+
s n + Tn
T n2
ECE 6414 - Analog Integrated Systems Design
Chapter 9 Section 7 (5/2/04)
C
63
23
j
13
13
53
23
2
V3(e )
2
Vout(ej)
sn + 0.4684sn + 0.4293
2
1
2
2
- C13
- C23
1
1
2
1
T(0) n2
+
+
= 2
(8)
2
s n + (n/Q)sn + n
Stage 3
where we see that T(0) = 1, n = 0.6552 and Q = (0.6552/0.4684) = 1.3988. Therefore,
select the low pass version of the low-Q biquad. Apply the normalization of Eq. (3) to get
ECE 6414 - Analog Integrated Systems Design
Page 9.7-19
sn43 1353
-33s n2 + Tn +
2
Tn
T3(sn)
.
(9)
sn63 2353
2
s n + Tn +
T n2
To get a low pass realization, select 33 = 43 = 0 to get
- (1353/T n2)
(10)
T3(sn)
sn63 2353 .
2
s n + Tn +
T n2
Equating Eq. (10) to the last term of TLPn(sn) gives
0.4293PB2 0.429342
2
1353 = 2353 = 0.4293T n =
=
= 0.04184
fc2
400
and
63 = 0.4684Tn = (0.4684PB/fc) = (0.46842/20) = 0.1472
Choose a13 = a23 = 53 to get optimum voltage scaling. Thus , 13 = 23 = 53 = 0.2058
and 63 = 0.1472. The third-stage capacitance is
3rd-stage capacitance = 1+(3(0.2058)/0.1472)+(2/0.1472) =18.78 units of capacitance
The total capacitance of this design is 13 + 17.32 + 18.78 = 49.10 units of capacitance.
ECE 6414 - Analog Integrated Systems Design
Page 9.7-20
2
2
21C11
11C11
C11
Stage 3
2
2
1
23C13
13C13
1
C13
63C23
53C23
1
2
2
Stage 2
22C12
12C12
1
42C12
52C22
2
1
C23
C12
Vout(ej)
2
2
C22
Page 9.7-21
200
Stage 1 Output
-20
Stage 3 Output
-30
-40
Stage 2 Output
(Filter Output)
-50
150
Phase (Degrees)
Magnitude (dB)
-10
100
50
0
-50
-100
-60
-150
-70
-200
500
1000
500
1000
Comments:
There appears to be a sinx/x effect on the magnitude which causes the passband
specification to not be satisfied. This can be avoided by prewarping the specifications
before designing the filter.
Stopband specifications met
None of the outputs of the biquads exceeds 0 dB (Need to check internal biquad nodes)
ECE 6414 - Analog Integrated Systems Design
Page 9.7-22
1 0 DC 0 AC 1
XNC7 17 18 19 20 NC7
XAMP5 19 20 21 22 AMP
XUSCP5 19 20 21 22 USCP
XUSCP6 21 22 15 16 USCP1
XPC8 21 22 15 16 PC6
SUBCKT DELAY 1 2 3
ED 4 0 1 2 1
TD 4 0 3 0 ZO=1K TD=25US
RDO 3 0 1K
.ENDS DELAY
.SUBCKT NC1 1 2 3 4
RNC1 1 0 11.0011
XNC1 1 0 10 DELAY
GNC1 1 0 10 0 0.0909
XNC2 1 4 14 DELAY
GNC2 4 1 14 0 0.0909
XNC3 4 0 40 DELAY
GNC3 4 0 40 0 0.0909
RNC2 4 0 11.0011
.ENDS NC1
.SUBCKT NC3 1 2 3 4
RNC1 1 0 4.8581
XNC1 1 0 10 DELAY
GNC1 1 0 10 0 0.2058
XNC2 1 4 14 DELAY
GNC2 4 1 14 0 0.2058
XNC3 4 0 40 DELAY
GNC3 4 0 40 0 0.2058
RNC2 4 0 4.8581
Ends NC3
P.E. Allen - 2002
Page 9.7-23
.SUBCKT NC7 1 2 3 4
RNC1 1 0 3.2018
XNC1 1 0 10 DELAY
GNC1 1 0 10 0 0.3123
XNC2 1 4 14 DELAY
GNC2 4 1 14 0 0.3123
XNC3 4 0 40 DELAY
GNC3 4 0 40 0 0.3123
RNC2 4 0 3.2018
.ENDS NC7
.SUBCKT PC1 1 2 3 4
RPC1 2 4 11.0011
.ENDS PC1
.SUBCKT PC2 1 2 3 4
RPC1 2 4 4.8581
.ENDS PC2
.SUBCKT PC4 1 2 3 4
RPC1 2 4 6.7980
.ENDS PC4
.SUBCKT PC6 1 2 3 4
RPC1 2 4 3.2018
.ENDS PC6
.SUBCKT USCP 1 2 3 4
R1 1 3 1
R2 2 4 1
XUSC1 1 2 12 DELAY
GUSC1 1 2 12 0 1
XUSC2 1 4 14 DELAY
GUSC2 4 1 14 0 1
XUSC3 3 2 32 DELAY
GUSC3 2 3 32 0 1
XUSC4 3 4 34 DELAY
GUSC4 3 4 34 0 1
.ENDS USCP
.SUBCKT USCP1 1 2 3 4
R1 1 3 5.5586
R2 2 4 5.5586
XUSC1 1 2 12 DELAY
GUSC1 1 2 12 0 0.1799
XUSC2 1 4 14 DELAY
GUSC2 4 1 14 0 .1799
XUSC3 3 2 32 DELAY
GUSC3 2 3 32 0 .1799
XUSC4 3 4 34 DELAY
GUSC4 3 4 34 0 .1799
.ENDS USCP1
.SUBCKT AMP 1 2 3 4
EODD 3 0 1 0 1E6
EVEN 4 0 2 0 1E6
.ENDS AMP
.AC LIN 100 10 3K
.PRINT AC V(5) VP(5) V(13)
VP(13) V(21) VP(21)
.PROBE
.END
Page 9.7-24
.SUBCKT NC7 1 2 3 4
RNC1 1 0 3.2018
XNC1 1 0 10 DELAY
GNC1 1 0 10 0 0.3123
XNC2 1 4 14 DELAY
GNC2 4 1 14 0 0.3123
XNC3 4 0 40 DELAY
GNC3 4 0 40 0 0.3123
RNC2 4 0 3.2018
.ENDS NC
.SUBCKT PC1 1 2 3 4
RPC1 2 4 11.0011
.ENDS PC1
.SUBCKT PC2 1 2 3 4
RPC1 2 4 4.8581
.ENDS PC2
.SUBCKT PC4 1 2 3 4
RPC1 2 4 6.7980
.ENDS PC4
.SUBCKT PC6 1 2 3 4
RPC1 2 4 3.2018
.ENDS PC6
.SUBCKT USCP 1 2 3 4
R1 1 3 1
R2 2 4 1
XUSC1 1 2 12 DELAY
GUSC1 1 2 12 0 1
XUSC2 1 4 14 DELAY
GUSC2 4 1 14 0 1
XUSC3 3 2 32 DELAY
GUSC3 2 3 32 0 1
XUSC4 3 4 34 DELAY
GUSC4 3 4 34 0 1
.ENDS USCP
.SUBCKT USCP1 1 2 3 4
R1 1 3 5.5586
R2 2 4 5.5586
XUSC1 1 2 12 DELAY
GUSC1 1 2 12 0 0.1799
XUSC2 1 4 14 DELAY
GUSC2 4 1 14 0 .1799
XUSC3 3 2 32 DELAY
GUSC3 2 3 32 0 .1799
XUSC4 3 4 34 DELAY
GUSC4 3 4 34 0 .1799
.ENDS USCP1
.SUBCKT AMP 1 2 3 4
EODD 3 0 1 0 1E6
EVEN 4 0 2 0 1E6
.ENDS AMP
.AC LIN 100 10 3K
.PRINT AC V(5) VP(5) V(13)
VP(13) V(21) VP(21)
.PROBE
.END
P.E. Allen - 2002
Page 9.7-25
S6
S7
S8
S9
S10
CL12
CL22
CL42
C12
CL52
C22
E1
E2
END;
OPTIONS;
NOLIST;
GRID;
END;
TIMING;
PERIOD 50E-6;
CLOCK CLK 1 (0 25/50);
END;
SUBCKT (1 100) STG1;
S1
(1 2)
CLK;
S2
(2 0)
#CLK;
S3
(3 4)
#CLK;
S4
(3 0)
CLK;
S5
(5 100)
#CLK;
S6
(5 0)
CLK;
CL11 (2 3)
0.0909;
CL21 (3 5)
0.0909;
E1
(100 0 0 4)1E6;
END;
(6 0)
#CLK;
(7 0)
CLK;
(7 8)
#CLK;
(300 9)
#CLK;
(9 0)
#CLK;
(2 3)
0.3123;
(3 9)
0.3123;
(4 300)
0.1799;
(4 5)
1;
(6 7)
0.3123;
(8 300)
1;
(5 0 0 4) 1E6;
(300 0 0 8)1E6
CL53
C23
E1
E2
END;
CIRCUIT;
X1
(1 100)
STG1;
X2
(100 200) STG3;
X3
(200 300) STG2;
V1
(2 0);
END;
ANALYZE SSS;
INFREQ 1 3000 LIN 150;
SET V1 AC 1.0 0.0;
PRINT vdb(100) vp(100);
PRINT vdb(200) vp(200);
PRINT vdb(300) vp(300);
PLOT vdb(300);
END;
(6 7)
0.2058;
(8 200)
1;
(5 0 0 4) 1E6;
(200 0 0 8)1E6
END;
Page 9.7-26
TBP(j)
1
TPB
One possible
filter realization
TSB
0
0
THP(j)
Transition
Region
1
TPB
1
TPB
TSB
A
D
0
0 SB1 PB1 PB2 SB2
(c.)
(rps)
Transition
Region
(rps)
SB PB
TBS(j)
One possible
filter realization
TSB
(rps) 0
0
PB SB
(a.)
Lower
Transition
Region
One possible
filter realization
(b.)
One possible
Lower
filter realization
Transition
A Region
C
Upper TransiTSB
B
D
tion Region
0
(rps)
0 PB1 SB1 SB2 PB2
(d.)
Practical magnitude responses of (a.) low pass, (b.) high pass, (c.) bandpass, and (d.)
bandstop filter.
We will use transformations from the normalized, low pass filter to the normalized
high pass, bandpass or bandstop to achieve other types of filters.
ECE 6414 - Analog Integrated Systems Design
Page 9.7-27
p1lnp2lnp3lnpNln
shn
THPn(shn) = 1
1
1
1
=
1
1
1
1
+p
+p
+p
+p
s
+
s
+
s
+
s
+
1lnshn 2lnshn 3ln shn Nln
shn
hn p1ln hn p2ln hn p3ln hn pNln
N
shn
= shn+p1hnshn+p2hnshn+p3hnshn+pNhn
Page 9.7-29
shn
shn
shn
= (shn+p1hn)(shn+p6hn)(shn+p2hn)(shn+p5hn)(shn+p3hn)(shn+p4hn)
2
2
2
shn
shn
shn
.
= 2
2
2
shn+0.5176shn+1shn+1.4141shn+1shn+1.9318shn+1
63C23
1
e 33C23
Vin(z)
53C23
1
2 C23
2
1
C13
23C13
V3(z)
Stage 2
e
V2(z)
62C22
52C22
C12
21C12
2
1
Stage 1
61C21
C22 2 32C22
2
1
Stage 3
Page 9.7-30
51C21
31C21 2 C21
2
1
C11
21C11
2
e
Vout(z)
2
1
Page 9.7-31
1
BW
where b = r .
sln' = r sln = bsln = bPB = sbn + sbn
6.) Solve for sbn in terms of sln' from the following quadratic equation.
2
sbn - sln' sbn + 1 = 0 sbn = sln' /2 sln' /22 - 1 .
ECE 6414 - Analog Integrated Systems Design
Page 9.7-32
TLPn(jln )
1
0
-1 0
Bandpass
Normalization
b s ln = BW s ln s 'ln
r
1
(a.)
0
-b 0 b
r ln (rps)
PB
TBPn(jbn )
-r
BW
0
0
(d.)
'ln (rps)
Normalized
2
s 'ln
low-pass to s 'ln
-1
normalized 2
2
bandpass
transformation
s bn
TPBn (jb )
BW
1
(b.)
Bandpass
Denormalization
sb b s bn = BW sbn
r
b (rps)
1
b
b
-1
0
0
(c.)
bn (rps)
Figure 9.7-10 - Illustration of the development of a bandpass filter from a low-pass filter.
(a.) Ideal normalized, low-pass filter. (b.) Normalization of (a.) for bandpass
transformation. (c.) Application of low-pass to bandpass transformation. (d.)
Denormalized bandpass filter.
ECE 6414 - Analog Integrated Systems Design
Page 9.7-33
4.) The normalized bandpass poles can be found from the normalized, low pass poles, pkln
using
jbn
pkln
pkln 2
'
p
jln
jbn
pkbn = 2
2 -1 .
For each pole of the low-pass filter, two poles
result for the bandpass filter.
Figure 9.7-11 - Illustration of how the
normalized, low-pass, complex conjugate
poles are transformed into two normalized,
bandpass, complex conjugate poles.
pkbn
p'jln
'ln
p'kln
= p'jln*
Low-pass Poles
Normalized by PB r
BW
bn
p*jbn
p*kbn
Normalized
Bandpass Poles
sbn
T
(
)
k
kon
Kk sbn
Qk
= s2bn+(2kbn)sbn+(2bn+2kbn) =
kon
s2bn + Qk sbn + 2kon
where j and k corresponds to the jth and kth low-pass poles which are a complex
conjugate pair, Kk is a gain constant, and
2bn+2kbn
kon =
and
Qk = 2bn
.
6.) Realize each second-order product with a bandpass switched capacitor biquad and
cascade in the order of increasing Q.
2
kbn
+2kbn
Page 9.7-35
Page 9.7-36
j'ln
j1
p1ln
p1ln
p1bn jbn
p5bn
j1
j0.8660
j1
p3bn
3 zeros
at j
p'1ln
p2ln
-1
ln
-0.5000
p2ln
p'2ln
-1
'ln
p'3ln
bn
-1
p 2bn
p3ln
-j0.8660
-j1
(a.)
p3ln
-j1
(b.)
p6bn
p4bn
-j1
(c.)
Pole locations for Ex. 9.7-8. (a.) Normalized low-pass poles. (b.) Bandpass
normalized low-pass poles. (c.) Normalized bandpass poles.
Page 9.7-37
s
10.0410 bn
=
1.0904
s2bn+10.0410sbn+1.09042
K2sbn
K2sbn
T2(sbn) = (s+p2bn)(s+p3bn) = (sbn+0.0457+j0.9159)(sbn+0.0457-j0.9159)
0.9170
s
10.0333 bn
.
=
0.9170
2
2
sbn+10.0333sbn+0.9159
and
K3sbn
K3sbn
T3(sbn) = (s+p5bn)(s+p6bn) = (sbn+0.1000+j0.9950)(sbn+0.1000-j0.9950)
1.0000
s
5.0000 bn
.
=
1.0000
s2bn+5.0000sbn+1.00002
ECE 6414 - Analog Integrated Systems Design
Chapter 9 Section 7 (5/2/04)
Page 9.7-39
1
2
e
Vin(z)
23C13
43C13
33C13
53C23
C13
1
2
C23
2
V3(z)
Stage 3
1
42C12
Stage 2
1
2
32C12
C12
52C22
C22
e
V2(z)
1
2
22C12
21C11
41C11
31C11
51C21
C11
1
2
C21
2
Vout(z)
Stage 1
ECE 6414 - Analog Integrated Systems Design
Page 9.7-40
L2n
LN,n
CN-1,n
C1n
C3n
+
Vout (sn )
-
(a.)
+
LN,n
CN-1,n
Vin (sn )
L3n
C2n
L1n
1
Vout (sn )
-
(b.)
Figure 9.7-12 - Singly-terminated, RLC prototype filters. (a.) N even. (b.) N odd.
ECE 6414 - Analog Integrated Systems Design
Page 9.7-41
R0n
L1n
C2n
I5
I3
I1
+
-
L3n
V2
C4n
+
-
L5n
V4
R 6n
Vout (s n )
-
Page 9.7-43
V (s)
3
V3:
V 4:
V (s)
V1(s)
3
sC
V
(s)
= 0
2n
2
R
R
V3(s)
Vout(s)
sC
V
(s)
4n
4
R
R6n = 0
and
Vout:
V4(s) -
sL5nVout(s)
- Vout = 0
R6n
R'
V1'(s) = sL1n Vin(s) - V2(s) - R' V1'(s)
1
V2(s) = sR'C2n [V1'(s) - V3'(s) ]
R'
V3'(s) = sL3n [V2(s) - V4(s)]
R'
1
V4(s) = sR'C4n [V3'(s) - R6n Vout(s)]
R6n
Vout(s) = sL5n [V4(s) - Vout(s)]
Note that each of these functions is the integration of voltage variables and is easily
realized using switched capacitor integrators.
Page 9.7-45
Page 9.7-46
Example 9.7-8 - Fifth-order, Low Pass, Switched Capacitor Filter using the Ladder
Approach
Design a ladder, switched capacitor realization for a Chebyshev filter approximation
to the filter specifications of TBP = -1dB, TSB = -25dB, fPB = 1kHz and fSB = 1.5 kHz. Give
a schematic and component value for the realization. Also simulate the realization and
compare to an ideal realization. Use a clock frequency of 20 kHz. Adjust your design so
that it does not suffer the -6dB loss in the pass band. (Note that this example should be
identical with Ex. 1.)
Solution
From previous work, we know that a 5th-order, Chebyshev approximation will
satisfy the specification. The corresponding low pass, RLC prototype filter is
L5n =2.1349 H L3n =3.0009 H L1n=2.1349 H
+
Vin (sn)
-
+
C 4n=
1.0911 F
C2n =
1.0911 F
Vout(s n)
-
Next, we must find the state equations and express them in the form of an integrator.
Fortunately, the above results can be directly used in this example.
Finally, use switched-capacitor integrators to realize each of the five state functions
and connect each of the realizations together.
ECE 6414 - Analog Integrated Systems Design
Page 9.7-47
R'
1
L1n: V1'(sn) = sn L1n Vin(sn) - V2(sn) - R' V1'(sn)
(1) Vin(ej) 1
2
2
21C1
This equation can be realized by the switched capacitor
+
integrator of Fig. 9.7-17 which has one noninverting input V2(ej) 2
1
and two inverting inputs. Therefore,
31C1
1
j)
V'
(e
1
2
(2)
V1(z) = z-1 11Vin(z) - 21zV2(z) - 31zV1(z)
1
1
However, since fPB < fc, replace z by 1 and z-1 by sT.
Figure 9.7-17 - Realization of V1'.
1
(5)
V2(z) = z-1 12V1 (z) - 22zV3(z) .
Simplifying as above gives
1
(6)
V2(sn) snTn 12V1 (sn) - 22V3(sn) .
Equating Eq. (4) to Eq. (6) yields the design of the capacitor ratios for the second
integrator as
PB
Tn
2000
12 = 22 = RC2n = RfcC2n = 120,0001.0911 = 0.2879.
The second integrator has a total capacitance of
1
Second integrator capacitance = 0.2879 + 2 = 5.47 units of capacitance.
ECE 6414 - Analog Integrated Systems Design
Page 9.7-49
(9)
V 3(sn) snTn 13V2(sn) - 23V4(sn) .
Equating Eq. (7) to Eq. (9) yields the capacitor ratios for the third integrator as
RTn RPB
12000
13 = 23 = L3n = fcL3n = 20,0003.0009 = 0.1047.
The third integrator has a total capacitance of
1
Third integrator capacitance = 0.1047 + 2 = 11.55 units of capacitance
V'
(e
)
1
2
C4n: V4(sn) = sn R'C4n [V3 ( sn)- R6nVout(sn)] (10)
2
2
Eq. (10) can be realized by the switched capacitor
24C4
+
Vout(ej)
integrator of Fig. 9.7-20 with one noninverting and
2
1
1
one inverting input. As before we write that
1
Page 9.7-51
Page 9.7-52
31C1
Vin(ej)
1
211C1
C1
2
21C1
1
2
C2
22C2
1
C3
13C3
2
23C3
1
2
C4
24C4
1
+
15C5
C5
2
25C5
1
V'3(ej)
14C2 1
1
2
V4(ej)
V'1(ej)
12C2 1
V2(ej)
1
2
1
2
Vout(ej)
Page 9.7-53
200
150
Magnitude (dB)
V1' Output
-10
V2 Output
-20
V3' Output
-30
-40
V4 Output
-50
Filter Output
Filter Phase
V2 Phase
100
V3' Phase
50
0
-50
V4 Phase
-100
V1' Phase
-150
-60
-200
-70
0
500
1000
3000
3500
500
1000
3000
3500
Comments:
Both passband and stopband specifications satisfied.
Some of the op amp outputs are exceeding 0 dB (need to voltage scale for maximum
dynamic range)
Page 9.7-54
XAMP3 13 14 9 10 AMP
**************************
*V4 STAGE
XNC41 9 10 25 26 NC2
XPC41 15 16 25 26 PC2
XUSC4 11 12 25 26 USCP
XAMP4 25 26 11 12 AMP
**************************
*VOUT STAGE
XNC51 11 12 17 18 NC1
XPC51 15 16 17 18 PC1
XUSC5 15 16 17 18 USCP
XAMP5 17 18 15 16 AMP
*************************
.SUBCKT DELAY 1 2 3
ED 4 0 1 2 1
TD 4 0 3 0 ZO=1K TD=25US
RDO 3 0 1K
.ENDS DELAY
.SUBCKT NC1 1 2 3 4
RNC1 1 0 6.7934
XNC1 1 0 10 DELAY
GNC1 1 0 10 0 .1472
XNC2 1 4 14 DELAY
GNC2 4 1 14 0 .1472
XNC3 4 0 40 DELAY
GNC3 4 0 40 0 .1472
RNC2 4 0 6.7934
.ENDS NC1
P.E. Allen - 2002
Page 9.7-55
GNC3 4 0 40 0 0.1047
RNC2 4 0 9.5521
.ENDS NC3
.SUBCKT NC4 1 2 3 4
RNC1 1 0 3.4730
XNC1 1 0 10 DELAY
GNC1 1 0 10 0 .2879
XNC2 1 4 14 DELAY
GNC2 4 1 14 0 .2879
XNC3 4 0 40 DELAY
GNC3 4 0 40 0 .1472
RNC2 4 0 6.7955
.ENDS NC4
.SUBCKT PC1 1 2 3 4
RPC1 2 4 6.7934
.ENDS PC1
.SUBCKT PC2 1 2 3 4
RPC1 2 4 3.4730
.ENDS PC2
.SUBCKT NC3 1 2 3 4
RNC1 1 0 9.5521
XNC1 1 0 10 DELAY
GNC1 1 0 10 0 0.1047
XNC2 1 4 14 DELAY
GNC2 4 1 14 0 0.1047
XNC3 4 0 40 DELAY
.SUBCKT PC3 1 2 3 4
RPC1 2 4 9.5521
.ENDS PC3
Page 9.7-56
CIRCUIT
OPTIONS;
NOLIST;
GRID;
END;
TIMING;
PERIOD 50E-6;
CLOCK CLK 1 (0 25/50);
END;
SUBCKT (1 4) NC (P:CAP);
S1
(1 2)
CLK;
S2
(2 0)
#CLK;
S3
(3 0)
CLK;
S4
(3 4)
#CLK;
C11
(2 3)
CAP;
END;
SUBCKT (1 4) PC (P:CAP1);
S1
(1 2)
#CLK;
S2
(2 0)
CLK;
S3
(3 0)
CLK;
S4
(3 4)
#CLK;
C21
(2 3)
CAP1;
END;
Page 9.7-57
ln
Lhn = 1
Cln
Design Procedure:
Normalized LowNormalized High1.) Identify the appropriate RLC
Pass
Network
Pass Network
prototype, low pass circuit to meet
the specifications.
2.) Transform each inductor and capacitor by the normalized, low pass to high pass
transformation.
3.) Choose the state variables and write the state functions.
4.) Realize the state functions using switched capacitor circuits.
The problem: The realizations are derivative circuits.
Page 9.7-58
C1
1
C2
Vin(z) C1
Vout(z)
Vin(z) C1
1
-
Vin(z) C1
Vout(z)
Vout(z)
(a.)
C2
C2
(b.)
(c.)
Figure 9.7-26 - (a.) Switched capacitor differentiatior circuit. (b.) Stray insensitive version of (a.).
(c.) Modification to keep op amp output from being discharged to ground during 1.
Transfer function:
1: (n-1)T < t < (n -0.5)T
e
o
vc1(n -0.5)T = vin(n -1)T
and
o
vc2(n -0.5)T = 0
C1
vin(n-1)
C2
e
vout
(n)
vin(n)
C1 e
C1 e
e
vout(n )T = - C2 vin(n )T + C2 vin(n -1)T
e
Vout(z)
C1 e
C1 e
C1
C1
e
e
Vout(z) = C V in(z) - z-1 C V in(z) = - C (1-z-1)Vin(z) Hee(z) =
=
e
C2 (1-z-1)
2
2
2
V in(z)
ECE 6414 - Analog Integrated Systems Design
Page 9.7-59
C2 2j sin(T/2)e
ejT/2
2
2
or
jTC1 sin(/2)
-j sin(/2)
= - C2 /2 (-j/2) = o /2 e-jT/2
= (Ideal)x(Mag. Error)x(Phase Error)
where o = C2/(C1T).
Frequency Response for C2 = 0.2C1:
|Hee(ejT)
5
10
1
0
Continuous
Time
Discrete
Time
0 o= 10c
c
2
Phase
0
-90
c
c
2
Continuous
Time
-180
-270
Discrete
Time
Page 9.7-61
Page 9.7-62
12C2
V1'
Vout
C2
2
1
V2
1
-
1 2
22C2
V2
13C3
V2
Vout
C3
2
1
1 2
23C3
Vout
1
+
Page 9.7-63
sn
r
s bn + 1
sbn
BW
Cbn =
r
Cln
BW
Design Procedure:
1.) Identify the appropriate RLC
Normalized
Lbn = BW 1
Low-Pass
r Cln
prototype, low pass circuit to meet
Network
Normalized Bandpass Network
the specifications.
2.) Transform each inductor and capacitor by the normalized, low pass to bandpass
transformation.
3.) Choose the state variables and write the state functions.
4.) Realize the state functions using switched capacitor circuits.
In this case, the state functions will be second-order, bandpass functions which can
be realized by switched-capacitor biquads.
ECE 6414 - Analog Integrated Systems Design
Page 9.7-64
R0n
Vin(sn)
C1bn =
r C
1ln
BW
L2bn =
C2bn =
r
L2ln
1/L2bn
BW
+
I2 C
=
V1 L1bn = 3bn
rC
3ln
1/C
1bn
BW
L4bn =
+
V3
-
r
L4ln C4bn =
BW
1/L4bn
I4
L3bn =
1/C3bn
R5n
+
Vout(sn)
-
Ex.6-B
The state equations for this
circuit can be written as illustrated below.
V1(s)
Z1bn
Vin(s) = I2(s) + Z1bn R0n + V1(s) V1(s) = R0n [Vin(s) - I2(s)R0n - V1(s)]
sL1bn(1/sC1bn)
s/C1bn
s/C1bn
= 2
where
Z1bn = sL1bn + (1/sC1bn) = 2
s + (1/L1bnC1bn) s +1
s/R0nC1bn
R0n
V1(s) =
Vin(s) - R V 2(s) - V 1(s)
2
s +1
(1)
P.E. Allen - 2002
Page 9.7-65
(2)
V 2 (s) Vout(s)
s/RC3bn
R
V3(s)=Z3bn(I2(s)-I4(s))=Z3bn R - R
V
(s)V
V3(s)=
(3)
2
out
R
2
5n
s +1
5n
and
I4(s) =Y4bn[V3(s)-Vout(s)] Vout(s) = R5nY4bn[V3(s)-Vout(s)]
sR5n/L4bn
[V3(s)-Vout(s)]
or Vout(s) =
s 2+1
How to realize? Consider the bandpass form of the low-Q and high-Q biquads:
2C1
2C1
1
2
C1
e
V1(z)
5C2
6C2
4C1
2
1
e
Vout(z)
4C2
Vin(z)
C2
1
2
(4)
5C2
C1 Ve (z)
1
Vin(z) 3C1
-
1
2
C2
2
Vout(z)
Page 9.7-66
s + (25/T2)
sn2+ (25/Tn2)
All the 2s and 5s will be given as: 25 = Tn2 = n2T 2 = r2/fc2 = (2)2(fr/fc)2
2fr 23x103
2 = |5| = f =
= 0.1473
c
128x105
Now all that is left is to design 4 for each stage (assuming R0n = R5n = R = 1).
Therefore, let
Page 9.7-67
=
=
=
41
Tn R0nC1bn
R0nC1bn fcrC1ln 128x1030.7658 = 0.03848
There will be one noninverting input (Vin) and two inverting inputs (V2 and V1).
2(0.1437)
2
capacitances = 0.03848 + 0.03848 + 3 = 62.44 units of capacitance
Stage 2
42
rBW
TnBW
R
2600
=
=
=
=
42 rL2ln fcrL2ln 128x1031.8478 = 0.01594
Tn L2bn
There will be one noninverting input (V1) and one inverting input (V3).
2
2(0.1437)
capacitances = 0.01594 + 0.01594 + 2 = 145.50 = units of capacitance
Stage 3
Same as stage 2. 43 = 0.01594
There will be one noninverting input (V2) and one inverting input (Vout).
capacitances = 145.50 units of capacitance
Stage 4
Same as stage 1 except capacitances = 61.44 units of capacitance. 44 = 0.03848.
There will be one noninverting input (V3) and one inverting input (Vout).
ECE 6414 - Analog Integrated Systems Design
Page 9.7-68
C1
1
2
1
2
C2
2
2
1
2C1
2,5
+
Ex.9.7-13B
Vin 1 41C21
2
41C21
21 =
51 =
0.1473
V'2
22 =
52 =
0.1473
143C23 43C23
2
23 =
53 =
0.1473
Vout
24 =
52 =
0.1473 2
1 2
1
2
V1 C
V3 C C
2
42 22 42C22 1
2
44 42 44 42 1
P.E. Allen - 2002
Page 9.7-69
Low pass
Prototype
RLC Ckt.
Write
State
Equations
Use SC
Integrators to
Design Each
State Equation
Low Pass
Switched
Capacitor
Filter
Normalized LP
to Normalized
High pass
Transformation
Choose
State
Variables
Write
State
Equations
Use SC
Differentiators
to Design Each
State Equation
High Pass
Switched
Capacitor
Filter
Normalized LP
to Normalized
Bandpass
Transformation
Choose
State
Variables
Write
State
Equations
Use SC
BP Ckts. to
Design Each
State Equation
Bandpass
Switched
Capacitor
Filter
Eliminate
L-cutsets
and
C-loops
Normalized LP
to Normalized
Bandpass
Transformation
Normalized LP
to Normalized
High pass
Transformation
Choose
State
Variables
Write
State
Equations
Use SC
BS Ckts. to
Design Each
State Equation
Bandstop
Switched
Capacitor
Filter
Page 9.7-70
Anti-Aliasing Filter
Baseband
c-PB
c+PB
2c-PB
2c+PB
0
c
2c
-PB 0 PB
Figure 9.7-28 - Spectrum of a discrete-time filter and a continuous-time
anti-aliasing filter.
The primary problem of aliasing is that there are undesired passbands that contribute
to the noise in the desired baseband.
Page 9.7-71
;;
;;
;;
fc-fsw
fc+fsw
f
fc-fB
-fB
fc+fB
0.5fc
fc
0 fsw fB
Figure 9.7-31 - Illustration of noise aliasing in switched capacitor circuits.
It can be shown that the aliasing enhances the baseband noise voltage spectral density by
a factor of 2fsw/fc. Therefore, the baseband noise voltage spectral density is
kT/C 2fsw
2kT
2
eBN = fsw x fc = fcC volts2/Hz
Multiplying this equation by 2fB gives the baseband noise voltage in volts(rms)2.
Therefore, the baseband noise voltage is
2kT
2kT 2fB 2kT /C
Page 9.7-73
Vin (s)
R1
R3
K=1
C4
(a.)
Vout (s)
K=1
Voltage
Amplifier
(b.)
Transfer function:
K
TLP(0) o2
R1R3C2C4
Vout(s)
=
=
1
o
1
1
K
1
Vin(s)
s 2 + s R3C4 + R1C2 + R3C2 - R3C4+ R1R3C2C4
s 2 + Q s + o2
We desire K = 1 in order to not influence the passband gain of the SCF. With K = 1,
1
R1R3C2C4
1/mn(RC)2
Vout(s)
=
=
1
s 2 + (1/RC)[(n+1)/n]s + 1/mn(RC)2
1
1
Vin(s)
s 2 + s R1C2 + R3C2 + R1R3C2C4
where R3 = nR1 = nR
and C4 = mC2 = mC.
ECE 6414 - Analog Integrated Systems Design
Chapter 9 Section 7 (5/2/04)
Design Equations for The Unity Gain, Sallen and Key Low Pass Filter
Equating Vout(s)/Vin(s) to the standard second-order low pass transfer function, we
get two design equations which are
1
o =
mnRC
m
1
Q = (n +1) n
The approach to designing the components of Fig. 9.7-29a is to select a value of m
compatible with standard capacitor values such that
1
m 4Q 2 .
Then, n, can be calculated from
1
1
n = 2mQ 2 - 1 2mQ 2 1-4mQ 2 .
This equation provides two values of n for any given Q and m. It can be shown that
these values are reciprocal. Thus, the use of either one produces the same element
spread.
Incidentally, these filters have excellent linearity because the op amp is in unity gain.
ECE 6414 - Analog Integrated Systems Design
Page 9.7-75
Page 9.7-76
R1=
1
2|TLP(0)|oQC
Vin
C4=
4Q2(1+|TLP(0)|)C
R2=
1
2oQC
C5=C
R3=
1
2(1+|TLP(0)|)oQC
Vout
This gain of this circuit in the passband is determined by the ratio of R2/R1.
Page 9.7-77
Page 9.8-1
SUMMARY
Switched capacitor circuits have reached maturity in CMOS technology.
The switched capacitor circuit concept was a pivotal step in the implementation of
analog signal processing circuits in CMOS technology.
The accuracy of the signal processing is proportional to the capacitor ratios.
Switched capacitor circuits have been developed for:
Amplification
Integration
Differentiation
Summation
Filtering
Comparison
Analog-digital conversion
Approaches to switched capacitor circuit design:
Oversampled approach clock frequency is much greater than the signal frequency
z-domain approach the specifications are converted to the z-domain and directly
realized. Such circuits can operate to within half of the clock frequency.
SPICE or SWITCAP permits frequency domain simulation of switched capacitor ckts.
Clock feedthrough and kT/C noise represent the lower limit of the dynamic range of
switched capacitor circuits.
ECE 6414 - Analog Integrated Systems Design