Professional Documents
Culture Documents
Honors project
Switched capacitor filter design for mixed signal applications
Q1 Q2
Q1 Q2 J5 J6 +12V
BC264A BC264A
Q1 Q2
C7 V4
12Vdc
V1 = 0 V2 V1 = 0 V3
V2 = 5 V2 = 5 J3 J4
TD = 0 TD = 500n BC264A BC264A 50p C8
TR = 0 TR = 0 50p
C5
TF = 0 TF = 0
PW = 500n PW = 500n
PER = 1u PER = 1u 0 0 V5
0 0 C6 12Vdc
50p
50p
C1 C2
Q1 Q2 0
-12V
10n 10n
TL084 Q1 Q2 -12V
-12V
VDB
11
2 V- TL084 Q1 Q2
- -12V
VDB
11
J1 J2 1 6 V- TL084 Q1 Q2 Q1 Q2
BC264A BC264A OUT -
VDB
V1 11
1Vac 3 J7 J8 7 9 V-
C3 + 4 BC264A BC264A OUT -
0Vdc V+ J9 J10
U1A 5 8
C9 + 4 BC264A BC264A OUT
50p U1B V+ J15 J16 J17 J18
C4 +12V 10
C11 + 4 BC264A BC264A BC264A BC264A
50p
0 C10 0 +12V U1C V+
0 31.25p
31.25p
C17 C19
C12 0 +12V
Q1 Q2 Q1 Q2 31.25p
31.25p
0 C18 C20
Q1 Q2 50p 50p
50p 50p
0
0 -12V 0
J11 J12 J13 J14
BC264A BC264A BC264A BC264A
J19 J20 TL084
VDB
11
C13 C15 BC264A BC264A V-
13
-
C21
14
C14 C16 OUT
50p 45.5p 12
50p 45.5p + 4
C22
0 50p
50p U1D V+
0 0
0 +12V
0
-40
-50
-60
-70
-80
-90
100
110
frequency
1000 10000 100000 1000000 10000000
By
Klaus Jørgensen
Napier No. 04007824
Electronic & Communication Engineering
1 May 2006
Supervisor
Dr. Mohammad Y. Sharif
Page 2 of 46
Abstract
This project report presents the theory of Switch Capacitors (SC) technology and its
advantages, disadvantages and different implementations methods. The report provides a
short review, of three State Variable (SV) SC filters from Maxim, National Semiconductors
and Texas Instruments. The guidelines on how to construct a SV filter with Low-pass,
High-pass, Band-pass and Band-reject filter response are provided. Simulations have
been carried out to clarify the theory.
A SV filter has been implemented using SC method. Simulations have been carried out
using OrCAD software development tool and the results have been compared with filters
from Maxim, National Semiconductors and Texas Instruments.
Page 3 of 46
Table of Contents
1. Introduction...................................................................................................................... 4
2. Theory ............................................................................................................................. 5
2.1 Metal Oxide Semiconductor Capacitors ..................................................................... 5
2.2 Parasitic Capacitors ................................................................................................... 6
2.3 Metal Oxide Semiconductor Field Effect Transistors Switches .................................. 7
2.4 Resistor by Switch Capacitors ................................................................................... 8
2.4.1 Resistor by Switch Capacitors sub conclusion .................................................... 8
2.5 Switch Capacitor setup .............................................................................................. 9
2.5.1 Switch Capacitor setup sub conclusion ............................................................. 10
3. Applications ................................................................................................................... 11
3.1 Texas Instruments UAF42 ....................................................................................... 11
3.2 Maxim MAX7490 and MAX7491 .............................................................................. 12
3.3 National Semiconductor LMF100 ............................................................................. 13
4. State Variable Filter .......................................................................................................14
4.1 Calculations ............................................................................................................. 14
4.2 Simulations .............................................................................................................. 16
4.2.1 Simulations sub conclusion ............................................................................... 19
5. Switch Capacitor Filter................................................................................................... 20
5.1 Test of different programs ........................................................................................ 22
5.1.1 Sub Conclusion ................................................................................................. 23
5.2 Switch Capacitor Filter parallel & Setup of the PSpice model .................................. 24
5.3 Switch Capacitor Filter Series .................................................................................. 26
5.4 Switch Capacitor Filter Parallel and Series .............................................................. 27
5.4.1 Switch Capacitor Filter Parallel and Series sub conclusion ............................... 28
5.5 Switch Capacitor Filter Bilinear ................................................................................ 29
5.6 Negative Switch Capacitor Trans-resistance Realization......................................... 30
5.7 Positive Switch Capacitor Trans-resistance Realization .......................................... 31
5.8 Switch Capacitor Filter Conclusion........................................................................... 32
6. State Variable Filter with Switch Capacitor .................................................................... 33
6.1 State Variable Filter with Parallel or Series Switch Capacitor .................................. 33
6.2 State Variable Filter with Parallel and Series Switch Capacitor ............................... 37
7. Conclusion..................................................................................................................... 39
8. References .................................................................................................................... 40
9. Bibliography................................................................................................................... 40
10. Appendix...................................................................................................................... 41
10.1 Project Proposal..................................................................................................... 41
10.2 Time Plans ............................................................................................................. 42
10.3 Derivation of equation ............................................................................................ 43
10.4 Vpulse in OrCAD.................................................................................................... 44
10.5 State Variable Filter with Parallel or Series Switch Capacitor ................................ 45
10.6 State Variable Filter with Parallel and Series Switch Capacitor ............................. 46
Page 4 of 46
1. Introduction
A SC filter used in an Integrated Circuit (IC) product, and usually implemented by using
Metal Oxide Semiconductor Field Effect Transistors (MOSFET) and capacitors to simulate
the behavior of a resistor, because the resistors are expensive and not easily controlled,
this means that a circuit can be built without the use of resistors, and this is very useful,
many places in the industry today, because that there is build a lot of IC today and a
resistor use a lot of space in a IC. A MOSFET or a capacitor do not use that much room,
also a resistor in a IC is very dependent of the temperature is very stable or else the value
of the resistor will change, the capacitor value in a IC is much more reliable and the value
of a capacitor can be set very accurately, typically around 0,1% accurate and it can be any
value that is required, mostly in a range from 0,1pF to 100pF, and are generally less costly
than resistors. The sampling clock frequency (fS) in a SC filter usually has to be 50 to 100
times bigger then the cut-off frequency at -3dB (fC) to minimize the effects of time-sampling
and charge-sharing, but the frequency area typically in the range from 100kHz to 2MHz,
therefore the SC filter is particularly useful in the voice and audio frequency area, because
that the clock frequency of the switches must be 50 to 100 times bigger then the signal
frequency, and therefore it is very useful in Digital Signal Processor (DSP) technology
which is often used for voice and audio applications. Figure 1.1 shows how a resistor (R) is
replaced with a capacitor (CS) and a switch MOSFET [1].
Cs C
0
0 0
2. Theory
In this chapter the general theory of a SC resistor and the basic ways to construct and
calculate a SC resistor is described along with some of the problems there is by using a
SC resistor.
Cs
Cs
CS × f S
0 0
Figure 2.6
gate and source, the equation for the size Mos A Mos B
C
of the equivalent resistor is the same as Cs 10n
628p
the parallel setup in equation 2.3.
0
Figure 2.7
R= (2.4) Cs2
(CS1 + CS 2) × fS 100p
0
0
Figure 2.8
1
R= (2.5) 0
4 × CS × f S Mos C Mos D
Figure 2.9
Page 10 of 46
In the negative trans-resistance Q1 Q2
Input
realization SC setup (figure 2.10) uses Cs
628p
four MOSFETs and the CS is placed in Mos A Mos B
C
10n
series. When Q1 is high “1” the CS is
Q2 Q1
628p
When Q2 is high “1” CS transfer the Mos A Mos B
3. Applications
There are several electronic companies’s who creates good SV filters in IC, and some of
them are being investigated in this chapter. Some of the company’s who manufacture SV
filters are National Semiconductor, Maxim, Analog, Texas Instruments and Burr-Brown.
Figure 3.2 shows a SV filter with a Low-pass, High-pass and Band-pass filter outputs, the
external resistors can be set by the user to what the demands are for the SV filter, RF1 and
RF2 determine the centre frequency, RG determine the gain of the SV filter, RQ determine
the Q value of the SV filter.
4.1 Calculations
R1 = R2 = R3 (4.1) 1 R3
fC = × (4.7)
R4 = R5 (4.2) 2× π R2 × R4 × R5 × C1× C2
R8 = R9 (4.3) R6 + R7
BandpassGain = (4.8)
C1 = C2 (4.4) ⎛ 1 1 1 ⎞
R1× R7× ⎜ + + ⎟
⎝ R1 R2 R3 ⎠
R2
Lowpass Gain = (4.5) ⎛ ⎞
R1 ⎜ ⎟
Q=
R6 + R7 ⎜
×
1
×
R4× C1 ⎟ (4.9)
R3 R7 ⎜⎛ 1 1 1 ⎞ R2× R3× R5× C2 ⎟
Highpass Gain = (4.6) ⎜⎜ + + ⎟ ⎟
R1 ⎝ ⎝ R1 R2 R3 ⎠ ⎠
To calculate the value of R4 and R5 the program MathCAD where used to drive the
formula for R4 and R5, R5 is typed as R4 in equation 4.10, so MathCAD can drive a
formula for R4 shown in equation 4.11.
1 R3
fc ⋅ (4.10)
2π R2⋅ R4⋅ R4⋅ C1⋅ C2
⎡ 1⎤
⎢ ⎥
⎢ 1 (R2⋅ C1⋅ C2⋅ R3) 2 ⎥
⎢ 2⋅ π⋅ R ⋅ C ⋅ C ⋅ fc ⎥
⎢ 2 1 2 ⎥
R4 := (4.11)
⎢ 1⎥
⎢ ⎥
⎢ −1 (R2⋅ C1⋅ C2⋅ R3) 2 ⎥
⎢ 2⋅ π⋅ R ⋅ C ⋅ C ⋅ fc ⎥
⎣ 2 1 2 ⎦
Page 15 of 46
To be able to calculate the values for the resistors in the SV filter some of them have to be
chosen before it is possible [6, 7].
R1 = R2 = R3 = 10kΩ (4.12) Gain = 1 v (4.16)
v
R7 = 10kΩ (4.13)
Q = 0.707 (4.17)
R8 = R9 = 10kΩ (4.14)
f C = 10kHz (4.18)
C1 = C2 = 1nF (4.15)
When this values is been chosen it is possible to calculate the value of R4 and R5
R10 is chosen to 10kΩ like R8 and R9, because the gain is chosen to be 1v/v. The signals
from the High-pass and Low-pass filter is added together to produce the Band-reject
output, and the gain of the Band-reject filter is 1v/v. Therefore all the resistors of the Band-
reject filter have to bee the same value (R8, R9 and R10).
Page 16 of 46
4.2 Simulations
Figure 4.1 shows the SV filter circuit with all four types of filters, High-pass (U1A), Low-
pass (U1C), Band-pass (U1B) and Band-reject (U1D), and the output signals from the
filters is shown in figure 4.2 U1A and U1D performs as summing function, and U1B and
U1C performs as integrators. One of the advantages of a SV filter is that by changing the
value of only a few components the parameters for the whole circuit is changed. If the
value of R1 is changed the gain is changed, the ratio between R4 and R5 determined
where the fC should bee, and the ratio between R6 and R7 specifics the value of Q.
R2
10k
+12V
R3
C1 V1
10k
12V
C2
-12V 1n
-12V 1n
11
TL084 V2
VDB
R1
2 -12V 0 12V
11
V-
- TL084
VDB
R4
10k
1 6
11
V-
OUT - TL084
VDB
V3 R5
16k
1Vac 3 7 9
V-
+ 4 OUT - -12V
0Vdc V+ 16k
U1A 5 8
+ 4 OUT
U1B V+ 10
+12V + 4 R8
U1C V+
10k
0 R10
0 +12V
R6 0
10k
+12V
11k -12V
R7
10k
11
R9 TL084
13
V-
-
0 14
10k OUT
12
+ 4 VDB
U1D V+
0 +12V
-30
-40
-50
-60
-70
-80
-90
frequency
1000 10000 100000 1000000 10000000
Figure 4.2
Page 17 of 46
R1 controls the gain for all four filters but the 20
dB
State Variable Filter (All gain of 20dB)
Low-pass
High-pass
-20
-40
⎛ dB ⎞ 20
Av = Log10 ⎜ ⎟ ⇒ Log10 = 10
-50
(4.21)
⎝ 20 ⎠ 20 -60
-70
-80
-90
frequency
1000 10000 100000 1000000 10000000
Figure 4.3
-20
-40
-50
-60
-70
-80
-90
frequency
1000 10000 100000 1000000 10000000
Figure 4.4
-20
a gain of 20dB which is equal to 10 times -30
-50
-60
-70
-80
-90
frequency
1000 10000 100000 1000000 10000000
Figure 4.5
-20
gives a gain of 20dB which is equal to 10 times -30
-50
-60
-70
-80
-90
frequency
1000 10000 100000 1000000 10000000
Figure 4.6
Page 18 of 46
The relationship between R6 and R7 20
dB
State Variable Filter (All Q of 4)
Low-pass
High-pass
0
Band-pass
Band-reject
-20
-40
⎛ ⎞
⎜ ⎟
-50
⎜⎜ + + ⎟ ⎟
⎝ ⎝ 10k 10k 10k ⎠
-80
⎠
-90
(4.22) frequency
1000 10000 100000 1000000 10000000
Figure 4.7
State Variable Filter (R4 at 6kohm)
-10
to 6kΩ which gives an fC of 16,24kHz if -20
-30
equation 4.7 on page 14 is used. -40
-50
1 10k
fC = × = 16.24kHz -60
-80
(4.23) -90
frequency
1000 10000 100000 1000000 10000000
Figure 4.8
-20
-40
1 10k
fC = × = 7,8kHz
-50
-70
(4.24) -80
-90
frequency
1000 10000 100000 1000000 10000000
Figure 4.9
State Variable Filter (R6 at 6kohm)
20
dB Low-pass
High-pass
R4 and R5 have an equal influence on the fC 10 Band-pass
Band-reject
0
frequency, in figure 10 R5 has been changes -10
-30
-50
1 10k -60
fC = × = 16.24kHz -70
(4.25) -90
frequency
1000 10000 100000 1000000 10000000
Figure 4.10
Page 19 of 46
R4 and R5 have an equal influence on the fC State Variable Filter (R6 at 26kohm)
20
dB Low-pass
-30
-40
1 10k
fC = × = 7,8kHz -50
(4.26) -70
-80
-90
frequency
1000 10000 100000 1000000 10000000
Figure 4.11
To find out how good performance the SV filter have, the value of Q is going to be tester
for the Low-pass filter section, the test values of Q is chosen to 0.5, 5, 10, 50 and 200 to
se how the filter will handle these values. To calculate R6 equation 4.20 on page 15 is
going to be used. Table 4.1 shows the values of R6. Figure 4.12 shows the result of
simulated values of Q. State Variable Filter (Q from 0.5 to 200)
dB Q = 0.5
Value of Q. Value of R6 50
40
Q=5
Q = 10
Q = 50
30
0.5 5kΩ 20
Q = 200
10
5 140kΩ 0
-10
10 290kΩ -20
-30
50 1.49MΩ -40
-50
Figure 4.12
1 1
R= ⇒ = 1,592kΩ (5.2)
2 × π × fC × C 2 × π × 10k × 10n
On figure 5.1 and 5.2 the results of equation 5.2 are shown, the circuit on figure 5.1 is
converted into a SC filter (figure 5.3).
1.592k
V1 VDB
1Vac C
0Vdc 10n
0 0
Figure 5.1
Switch Capacitor
dB gain Low-pass
0 -3dB
-10
-20
-30
-40
-50
frequency
1000 10000 100000 1000000 10000000
Figure 5.2
Page 21 of 46
To calculate the value of CS in the SC filter, equation 5.3 has to be rewritten, so that the
value of CS can be found, fS >> fC, fs has to be 50 to 100 times bigger then fC to avoid anti-
aliasing in the SC filter.
f S × CS
fC = (5.3)
2× π×C
f S = f C ×100 ⇒ 10k × 100 = 1MHz (5.4)
f S × CS
fC = ⇒
2× π× C
(5.5)
10k × 2 × π × 10n
CS = = 628,3pF
1M
The whole divagation of equation 5.5 is shown in appendix 10.3
1 1
R= ⇒ = 1,592k Ω (5.6)
CS × fS 628,3p × 1M
Figure 5.3 shows the SC filter circuit and figure 5.4 shows the frequency response, as it is
shows the fC is at 45.8kHz and not at 10kHz as it should be, the reason for this is mainly
that the capacitors inside the MOSFET has not been taken in to considering for this circuit.
The setup of switching pulses V2 and V3 are shown in appendix 10.4
V1 = 0 V2 V1 = 0 V3
V2 = 5 V2 = 5
TD = 0 TD = 500n
TR = 0 TR = 0
TF = 0 TF = 0
PW = 500n PW = 500n
PER = 1u PER = 1u
0 0
VDB
J1 J2
V1
1Vac BC264A BC264A
0Vdc Cs C
628p 10n
0 0 0
Figure 5.3
-5
-10
-15
-20
-25
-30
-35
-40
-45
-50
-55
frequency
1000 10000 100000 1000000
Figure 5.4
Page 22 of 46
5.1 Test of different programs
In steed of using MOSFET transistors, where there is small capacitance inside, there has
to be taken into considerations. And since there is no ideal MOSFET transistors in OrCAD
10.0 there was tried to use ideal switches in steed off (figure 5.5), but it is was not possible
to generate a correct frequency response with ideal switches as shown on figure 5.6.
VDB
0 0
1 2 1 2
U1 U2
V4
1Vac
0Vdc Cs1 C1
628p 10n
0 0 0
Figure 5.5
-10
-20
-30
-40
-50
-60
-70
-80
-90
100
110
frequency
1000 10000 100000 1000000
Figure 5.6
The program Tina Pro was tried, except there is no ideal MOSFET in Tina Pro either. The
output from the circuit in figure 5.7 is shown in figure 5.8 with a frequency at 10kHz at the
input. It is only possible to do this simulation at one frequency and not over a wide range to
create a frequency response. Figure 5.8 showns which affect the switches has on the
output signal. The input has the value of 1Volt peek to peek and the frequency is set to
10kHz which means that the output signal has to have a value of 0.707 Volt peek to peek,
because 10kHz is at the -3dB point (equation 5.7).
⎛ dB ⎞ ⎛ -3⎞
− 3dB = anti Log⎜ ⎟ ⇒ anti Log⎜ ⎟ = 0.707 (5.7)
⎝ 20 ⎠ ⎝ 20 ⎠
C1 10n
Input
-
Figure 5.7
Page 23 of 46
T
1.00
Input
Input Output
Output
500.00m
0.749
Voltage (V)
0.00
-500.00m
-0.693
-1.00
Figure 5.8
Also the program Multisim 7 from Electronics Workbench was used to simulate a switch.
However that did not give a very good result, figure 5.9 shows two of the diagrams there
was tried to simulade in Multisim 7.
V2
V4
1 V 1 V
0.5usec 1usec 5 V 5 V
0.5usec 1usec
J2
J1 R3 1mV 0mV
R2 1 V 0mV
1kOhm
1kOhm
V1 R1
12 V 1kOhm V3 R4
12 V 1kOhm
Figure 5.9
5.2 Switch Capacitor Filter parallel & Setup of the PSpice model
In the SC parallel Low-pass filter circuit in figure 5.10 the C1 is en parallel with C on the
output and the size of the C1 to make the equivalent resistor is calculated in equation 5.8.
2 × π × fC × C 2 × π × 10k × 10n
C1 = ⇒ = 628,3pF (5.8)
fS 1M
The filter response is shown on figure 5.11 with the cutoff frequency at -3dB, at 45.8kHz
and not at 10kHz as it should be the main reason for this is all the values there are in the
PSpice model of the BC246A MOSFET, these values are shown in figure 5.12. These
values can be adjusted to make a more ideal MOSFET, and to obtain a better frequency
response.
V1 = 0 V2 V1 = 0 V3
V2 = 5 V2 = 5
TD = 0 TD = 500n
TR = 0 TR = 0
TF = 0 TF = 0
PW = 500n PW = 500n
PER = 1u PER = 1u
0 0
VDB
J1 J2
BC264A BC264A
V1 C2
1Vac C1 10n
0Vdc 628p
0 0 0
Figure 5.10
-5
-10
-15
-20
-25
-30
-35
-40
-45
-50
-55
frequency
1000 10000 100000 1000000
Figure 5.11
Page 25 of 46
After the PSpise model figure 5.12, hade been adjusted to the best possible (figure 5.14) a
new frequency response is created as shown in figure 5.13, this frequency response is not
ideal, but it was not possible to obtain a better frequency response. Therefore a decision
was made, to use this PSpice model (figure 5.14) for the rest of the simulations in this
paper.
Switch Capacitor Filter response with ideal MOSFET
dB filter responce
0
-3dB
-10
-20
-30
-40
-50
-60
-70
-80
-90
frequency
1000 10000 100000 1000000
Figure 5.13
1 1
R= ⇒ = 1.592kΩ (5.10)
CS × f S 628.3p × 1M
V1 = 0 V2 V1 = 0 V3
V2 = 5 V2 = 5
TD = 0 TD = 500n
TR = 0 TR = 0
TF = 0 TF = 0
PW = 500n PW = 500n
PER = 1u PER = 1u
0 0
VDB
J1 J2
BC264A BC264A
C1
V1 C2
1Vac 10n
0Vdc
628p
0 0
Figure 5.15
-5
-10
-15
-20
-25
-30
-35
-40
-45
-50
-55
frequency
1000 10000 100000 1000000
Figure 5.16
Page 27 of 46
1 1
R= ⇒ = 1.592kΩ (5.12)
(C1 + C 2 ) × fS (528 p + 100 p ) × 1M
V1 = 0 V2 V1 = 0 V3
V2 = 5 V2 = 5
TD = 0 TD = 500n
TR = 0 TR = 0
TF = 0 TF = 0
PW = 500n PW = 500n
PER = 1u PER = 1u
0 0
VDB
J1 J2
BC264A BC264A
V1
1Vac C1
0Vdc
C3
528p
10n
C2
100p
0
0
0
Figure 5.17
Switch Capacitor Filter Parallel and Series
dB filter response
0 -3dB
-5
-10
-15
-20
-25
-30
-35
-40
-45
-50
-55
-60
-65
frequency
1000 10000 100000 1000000
Figure 5.18
Page 28 of 46
Switch Capacitor Filter Parallel and Series
dB filter response
0 -3dB
-5
-10
-15
-20
-25
-30
-35
-40
-45
-50
-55
-60
-65
frequency
1000 10000 100000 1000000
Figure 5.19
-5
-10
-15
-20
-25
-30
-35
-40
-45
-50
-55
-60
-65
frequency
1000 10000 100000 1000000
Figure 5.20
V1 = 0 V2 V1 = 0 V3
V2 = 5 V2 = 5
TD = 0 TD = 500n
TR = 0 TR = 0
TF = 0 TF = 0
PW = 500n PW = 500n
PER = 1u PER = 1u
0 0
VDB
J1 J2
BC264A BC264A
V1 C2
1Vac C1 10n
0Vdc Q2 157p Q1
0 0
J3 J4
BC264A BC264A
Figure 5.21
-10
-15
-20
-25
-30
-35
-40
-45
-50
-55
-60
-65
frequency
1000 10000 100000 1000000
Figure 5.22
Page 30 of 46
V1 = 0 V2 V1 = 0 V3
V2 = 5 V2 = 5
TD = 0 TD = 500n
TR = 0 TR = 0
TF = 0 TF = 0
PW = 500n PW = 500n
PER = 1u PER = 1u 0
0
VDB
C1
J1 J2
BC264A 628p BC264A
V1 C2
1Vac 10n
0Vdc
J4
BC264A 0
J3 BC264A
0
Figure 5.23
-40
-45
-50
-55
-60
-65
-70
-75
frequency
1000 10000 100000 1000000
Figure 5.24
Page 31 of 46
V1 = 0 V1 V1 = 0 V2
V2 = 5 V2 = 5
TD = 0 TD = 500n
TR = 0 TR = 0
TF = 0 TF = 0
PW = 500n PW = 500n
PER = 1u PER = 1u
0 0
VDB
C1 J2
J1 628p
BC264A
BC264A
V3
1Vac C2
J4
0Vdc 10n
BC264A
J3
BC264A
0
0
Figure 5.25
-40
-45
-50
-55
-60
-65
-70
-75
frequency
1000 10000 100000 1000000
Figure 5.26
Page 32 of 46
5.8 Switch Capacitor Filter Conclusion
The Low-pass filter response figure 5.2 from the passive filter in figure 5.1 page 20 is used
as reference for all the SC filter simulations in this chapter. The first simulation of the
parallel SC filter figure 5.3 on page 21 did not provide the expected result, one of the
reasons for this, were that there is not used a ideal MOSFET transistor for the simulations,
and since that there is no ideal MOSFET transistor in OrCAD 10.0, some other programs
were tested, however non of them produced a ideal result either, as concluded in the 5.1.1
sub conclusion on page 23. The use of the modified PSpice file figure 5.14 on page 25 for
these simulations will have a small effect on the results. The simulation of the parallel SC
filter figure 5.13 has a small error, because the filter response does not produce a linear
response as it should. This error can be an error created by the modified PSpice model.
The simulation of the series SC filter figure 5.16 page 26 also generate a small error but
not as bad as the parallel SC filter. The simulation of the parallel and series SC filter also
generate a small error if the two SC don’t have the same size. If they have the same size
the filter response of the filter is perfect, as it is concluded in 5.4.1 sub conclusion. In the
simulation of the bilinear SC filter figure 5.22 page 29 the filter response -3dB point is
placed at 20kHz which is 10kHz above the calculated point. This error can be explained by
the modified PSpice model, it can furthermore be explained by the fact that a capacitor act
different, when it is used in a circuit where there is used high frequency as the switching
frequency there are used on the MOSFETs. The frequency response of the bilinear on
figure 5.22, shows that there are no parasitic capacitances, because the response is very
linear. That is exactly what the use of four MOSFET transistors should prevent. The
simulations of the negative and positive trans-resistance realization SC filters produce the
same results and are very fare from the expected result, which is the filter response from
figure 5.2. The reason for this is again that a capacitor act very different at high
frequencies. This concludes that the easiest and most ideal SC setup is the parallel and
series setup figure 5.17. Although the parallel SC setup figure 5.10 and the series SC
setup figure 5.15, can also be used with the knowledge of that they give a small error.
Page 33 of 46
+12Vcc
Q1 Q2
V2
V1 = 0 V4 V1 = 0 V5
12Vdc V2 = 5 V2 = 5 Q1 Q2 J1 J2
TD = 0 TD = 500n BC264A BC264A
TR = 0 TR = 0
C3
TF = 0 TF = 0
PW = 500n PW = 500n
0 V3 PER = 1u PER = 1u
0 0 J3 J4
12Vdc BC264A BC264A 100p
C4
-12Vcc
C1
Q1 Q2 -12Vcc C2
100p
1n
1n
11
TL084 -12Vcc
VDB
2 -12Vcc
11
V-
J5 J6 - TL084
VDB
R4
V1 BC264A BC264A 1 6
11
V-
OUT - TL084
VDB
1Vac C5 R5
16k
0Vdc 100p 3 7 9
V-
+ OUT -
4
U1A 16k
5 8
V+
0 + OUT
4
U1B 10
V+
0 +
4
Q1 Q2 +12Vcc Q1 Q2 0 U1C Q1 Q2 Q1 Q2
V+
+12Vcc
0
+12Vcc
0 0
0
0
Q1 Q2 -12Vcc
11
TL084
VDB
13
V-
-
J7 J8 14
BC264A BC264A OUT
C6 12
+
4
100p
U1D
V+
0 0
+12Vcc
Figure 6.1
When the outputs of the SV SC filter on figure 6.1 is compared with the outputs of the SV
figure 4.2 page 16, they are very alike, however there is a very little difference. Tthe Low-
pass response goes down to roughly -70dB at 600kHz witch is -10dB lower then in figure
4.2. The Band-pass and Band-reject responses is more sharp then in figure 4.2, this is
because both the High-pass and Low-pass responses has a bigger damping in the end of
the response roughly around -70dB where in figure they ends ad roughly -50dB.
State Variable with Switch Capacitors
dB Low-pass
0
High-pass
Band-pass
-10 Band-reject
-3dB
-20 -40dB
-30
-40
-50
-60
-70
-80
-90
frequency
1000 10000 100000 1000000 10000000
Figure 6.2
Page 35 of 46
In figure 6.3 R4 and R5 is converted in to SC resistors using the series technology
although the parallel theory is just as good and will produce the same result. The problem
by converting these two resistors to SC resistors is that they are placed next to C1 and C2
as have the value of 1nF each, and this moves the center frequency one decade up from
10kHz to 100kHz, as shown on figure 6.4. By increasing the value of C1 and C2 to 10nF
each the centre frequency is moved back to 10kHz, as shown in figure 6.6. R4 and R5
have been calculated to give 16kΩ in equation 4.19. The size of capacitor C11 and C12 is
calculated to 62.5pF in equation 6.3 [7].
1 1
C11 = ⇒ = 62.5pF (6.4)
R × fS 16k × 1M
Q1 Q2
+12Vcc
Q1 Q2
V2
V1 = 0 V4 V1 = 0 V5
12Vdc V2 = 5 V2 = 5 Q1 Q2 J1 J2
TD = 0 TD = 500n BC264A BC264A
TR = 0 TR = 0
C3
TF = 0 TF = 0
PW = 500n PW = 500n
0 V3 PER = 1u PER = 1u
0 0 J3 J4
12Vdc BC264A BC264A 100p
C4
-12Vcc
C1
Q1 Q2 -12Vcc C2
100p
1n
1n
Q1 Q2
11
TL084 -12Vcc
VDB
2 Q1 Q2 -12Vcc
11
V-
J5 J6 - TL084
VDB
V1 BC264A BC264A 1 6
11
V-
OUT - TL084
VDB
1Vac C5
3 J21 J22 7 9
0Vdc 100p
V-
+ OUT -
4
0 + OUT
4
BC264A BC264A
U1B C12 10
V+
0 +
4
62.5p
Q1 Q2 +12Vcc Q1 Q2 0 U1C Q1 Q2 Q1 Q2
V+
+12Vcc
0
+12Vcc
0 0
0
0
Q1 Q2 -12Vcc
11
TL084
VDB
13
V-
-
J7 J8 14
BC264A BC264A OUT
C6 12
+
4
100p
U1D
V+
0 0
+12Vcc
Figure 6.3
Switch Capacitor Filter Parallel and Series
0
dB Low-pass
High-pass
-10 Band-pass
Band-reject
-20
-3dB
-30 -47dB
-40
-50
-60
-70
-80
-90
100
110
120
frequency
1000 10000 100000 1000000 10000000
Figure 6.4
Page 36 of 46
Figure 6.6 shows the final test of the SV SC filter with parallel or series technology. A
larger diagram of figure 6.5 with the final values of C1 and C2 can be found in appendix
10.5.
Q1 Q2
+12Vcc
Q1 Q2
V2
V1 = 0 V4 V1 = 0 V5
12Vdc V2 = 5 V2 = 5 Q1 Q2 J1 J2
TD = 0 TD = 500n BC264A BC264A
TR = 0 TR = 0
C3
TF = 0 TF = 0
PW = 500n PW = 500n
0 V3 PER = 1u PER = 1u
0 0 J3 J4
12Vdc BC264A BC264A 100p
C4
-12Vcc
C1
Q1 Q2 -12Vcc C2
100p
10n
10n
Q1 Q2
11
TL084 -12Vcc
VDB
2 Q1 Q2 -12Vcc
11
V-
J5 J6 - TL084
VDB
V1 BC264A BC264A 1 6
11
V-
OUT - TL084
VDB
1Vac C5
3 J21 J22 7 9
0Vdc 100p
V-
+ OUT -
4
0 + OUT
4
BC264A BC264A
U1B C12 10
V+
0 +
4
62.5p
Q1 Q2 +12Vcc Q1 Q2 0 U1C Q1 Q2 Q1 Q2
V+
+12Vcc
0
+12Vcc
0 0
0
0
Q1 Q2 -12Vcc
11
TL084
VDB
13
V-
-
J7 J8 14
BC264A BC264A OUT
C6 12
+
4
100p
U1D
V+
0 0
+12Vcc
Figure 6.5
-40
-50
-60
-70
-80
-90
100
110
120
frequency
1000 10000 100000 1000000 10000000
Figure 6.6
Page 37 of 46
6.2 State Variable Filter with Parallel and Series Switch Capacitor
The SV SC filter in figure 6.7 is created only by using the SC parallel and series
technology, which was concluded in chapter 5 to be the best way to produce an SC
resistor. All the capacitors in figure 6.5 is divided by two to make two equal capacitors to
the parallel and series technology, as used in figure 6.7 C3 to C8, C13, C14 and C17 to C22 is
calculated to be 50pF (equation 6.5), and C9 to C12 is calculated to be 31.25pF (equation
6.6), and C15and C16 is calculated to be 45.5pF (equation 6.7) [7].
⎛ 1 ⎞ ⎛ 1 ⎞
⎜⎜ ⎟⎟ ⎜ ⎟
⎝ R × fS ⎠ ⎝ 10k × 1M ⎠
C3 = ⇒ = 50pF (6.5)
2 2
⎛ 1 ⎞ ⎛ 1 ⎞
⎜⎜ ⎟⎟ ⎜ ⎟
R × f 16k × 1M ⎠
C9 = ⎝ S ⎠
⇒⎝ = 31.25pF (6.6)
2 2
⎛ 1 ⎞ ⎛ 1 ⎞
⎜⎜ ⎟⎟ ⎜ ⎟
⎝ R × fS ⎠ ⎝ 11k × 1M ⎠
C15 = ⇒ = 45.5pF (6.7)
2 2
In appendix 10.6 is there a larger diagram of figure 6.7 which is the final diagram. And the
filter response is shown on figure 6.8.
Q1 Q2
Q1 Q2 J5 J6 +12V
BC264A BC264A
Q1 Q2
C7 V4
12Vdc
V1 = 0 V2 V1 = 0 V3
V2 = 5 V2 = 5 J3 J4
TD = 0 TD = 500n BC264A BC264A 50p C8
TR = 0 TR = 0 50p
C5
TF = 0 TF = 0
PW = 500n PW = 500n
PER = 1u PER = 1u 0 0 V5
0 0 C6 12Vdc
50p
50p
C1 C2
Q1 Q2 0
-12V
10n 10n
TL084 Q1 Q2 -12V
-12V
VDB
11
2 V- TL084 Q1 Q2
- -12V
VDB
11
J1 J2 1 6 V- TL084 Q1 Q2 Q1 Q2
BC264A BC264A OUT -
VDB
V1 11
1Vac 3 J7 J8 7 9 V-
C3 + 4 BC264A BC264A OUT -
0Vdc V+ J9 J10
U1A 5 8
C9 + 4 BC264A BC264A OUT
50p U1B V+ J15 J16 J17 J18
C4 +12V 10
C11 + 4 BC264A BC264A BC264A BC264A
50p
0 C10 0 +12V U1C V+
0 31.25p
31.25p
C17 C19
C12 0 +12V
Q1 Q2 Q1 Q2 31.25p
31.25p
0 C18 C20
Q1 Q2 50p 50p
50p 50p
0
0 -12V 0
J11 J12 J13 J14
BC264A BC264A BC264A BC264A
J19 J20 TL084
VDB
11
C13 C15 BC264A BC264A V-
13
-
C21
14
C14 C16 OUT
50p 45.5p 12
50p 45.5p + 4
C22
0 50p
50p U1D V+
0 0
0 +12V
0
Figure 6.7
Page 38 of 46
Figure 6.8 shows the filter response of figure 6.7, the filter response on figure 6.8 is almost
identical to the filter response from the SV filter in figure 4.2 page 16, which is used as
result reference for the SV SC filter response. One of the larger differences between the
two filter responses is that the Band-reject on figure 6.8 goes down to -52dB, but this is not
a major error because it is the Band-reject response, and because in the Band-reject
response a larger damping is in most cases a good thing. The important part is that the -
3dB point is exactly on the place it have to be.
Switch Capacitor Filter Parallel and Series
0
dB Low-pass
High-pass
-10 Band-pass
Band-reject
-20 -3dB
-52dB
-30
-40
-50
-60
-70
-80
-90
100
110
frequency
1000 10000 100000 1000000 10000000
Figure 6.8
Page 39 of 46
7. Conclusion
The SV filter in chapter 4 figure 4.1 is constructed with a TL084 opamp and this creates
some limitations of the SV filter operation area. The bandwidth of the TL084 is only 3MHz
and this means that the fC frequency of the filter roughly can go up to 100kHz which is
more than enough for the filter to be used for audio applications. The Q value of the filter
was tested up to 200, this produce a value of R6 in figure 4.1 of 5.99MΩ, which is a very
large resistor. However it will be a very small capacitor of 0.17pF with a clock frequency of
1MHz, which is achievable in a SC filter. In chapter 5 it was found out that the parasitic
capacitors in the MOSFET has a very large influence on the filter response and to avoid
this the PSpice model in figure 5.12 was modified to produce a more accurate filter
response. The PSpice model used is provided in figure 5.14 on page 25. With the new
PSpice model all the SC circuits was tested, and the result of this is that the SC parallel
and series in figure 5.17 provides the best result with two equal capacitors, as concluded
in 5.8 SC filter conclusion on page 32. In chapter 6 the SV filter from chapter 4 figure 4.1 is
converted in to a SV filter using SC resistors, the first filter figure 6.5 uses parallel or series
technology and the result is shown in figure 6.6 the second SV SC filter uses the parallel
and series technology and the result is shown in figure 6.8 and is very similar to figure 6.6
but the second filter figure 6.7, is a little better then the first one figure 6.5. There was also
tried to simulate a SV filter using only the SC bilinear technology but this was not possible
to archive a result from OrCAD 10.0 and the same happened when the negative and
positive SC trans-resistance realization was tried. The SV filter in figure 4.1 uses the
TL084 opamp which has its disadvantages, it only has a bandwidth of 3MH and is has to
use ±12V, but it can easily be replaced with another opamp that has a bigger bandwidth
and a lot smaller supply voltage, and a mush better slew rate which is typically 13V/µs in
the TL084 opamp. If the SV filter is to be build in practice. The SV SC filter is almost
impossible to build in practice, because of all the MOSFET, if it was to be build in practice
it will use a lot of space and the MOSFET has to have some very similar parameters
before it will work, the only reasonable way to construct a SV SC filter is to do it in a IC i.e.
a DSP, PIC or FPGA. In appendix 10.2 there is provided two timetables one from befor the
project began and on after the project was finished, and the two timetables is very similar,
some of the dates have been changes but all in all the timetable have been followed to
satisfaction.
_________________________________
23/04/2006 Klaus Jorgensen
Page 40 of 46
8. References
[1]. Analog Filters 5th edition 1996, by. Kendall L. Su
ISBN: 0-412-63840-1
[2]. http://www.mtmi.vu.lt
[3]. http://focus.ti.com/lit/ds/symlink/uaf42.pdf
[4]. http://pdfserv.maxim-ic.com/en/ds/MAX7490-MAX7491.pdf
[5]. http://cache.national.com/ds/LM/LMF100.pdf
[6]. Operational Amplifiers 5th edition, by. George Clayton & Steve Winder
ISBN: 07506-5914-9
[7]. Mixed-Signals Design Seminar, by. Analog Devices
ISBN: 0-916550-08-7
[8]. http://www.datasheetarchive.com/search.php?search=TL084&sType=part
9. Bibliography
• Allen/Holberg: Chapter 9 (12/19/97)
http://www.ece.utexas.edu/~holberg/lecture_notes/bk9.pdf
• Analog Filters 5th edition 1996, by. Kendall L. Su
ISBN: 0-412-63840-1
• Analog MOS integrated circuits, by. Paul R. Gray, David A. Hodges and Robert W.
Brodersen.
ISBN: 0-87942-142-8
• Mixed-Signals Design Seminar, by. Analog Devices
ISBN: 0-916550-08-7
• Operational Amplifiers 5th edition, by. George Clayton & Steve Winder
ISBN: 07506-5914-9
Page 41 of 46
10. Appendix
Double click on the resistance or capacitor, and the corresponding value of a resistance or
a capacitance can be changed. Double click on the pulse voltage source. Set the
following parameters for the source.
+12Vcc
Q1 Q2
V2
V1 = 0 V4 V1 = 0 V5
12Vdc V2 = 5 V2 = 5 Q1 Q2 J1 J2
TD = 0 TD = 500n BC264A BC264A
TR = 0 TR = 0
C3
TF = 0 TF = 0
PW = 500n PW = 500n
0 V3 PER = 1u PER = 1u
0 0 J3 J4
12Vdc BC264A BC264A 100p
C4
-12Vcc
C1
Q1 Q2 -12Vcc C2
100p
10n
10n
Q1 Q2
11
TL084 -12Vcc
VDB
2 Q1 Q2 -12Vcc
11
V-
J5 J6 - TL084
VDB
V1 BC264A BC264A 1 6
11
V-
1Vac C5 OUT - TL084
VDB
3 J21 J22 7 9
0Vdc 100p
4
V-
+ BC264A C11 BC264A OUT -
U1A 5 J23 J24 8
62.5p
V+
0 + BC264A BC264A OUT
U1B C12 10
4
V+
0 +
0 62.5p
Q1 Q2 +12Vcc Q1 Q2 U1C Q1 Q2 Q1 Q2
V+
+12Vcc
0
+12Vcc
0 0
0
0
Q1 Q2 -12Vcc
11
TL084
VDB
13
V-
-
J7 J8 14
BC264A BC264A OUT
C6 12
4
+
100p
U1D
10.5 State Variable Filter with Parallel or Series Switch Capacitor
V+
0 0
+12Vcc
Page 45 of 46
Q1 Q2
Q1 Q2 J5 J6 +12V
BC264A BC264A
Q1 Q2
C7 V4
12Vdc
V1 = 0 V2 V1 = 0 V3
V2 = 5 V2 = 5 J3 J4
TD = 0 TD = 500n BC264A BC264A 50p C8
TR = 0 TR = 0 50p
C5
TF = 0 TF = 0
PW = 500n PW = 500n
PER = 1u PER = 1u 0 0 V5
0 0 C6 12Vdc
50p
50p
C1 C2
Q1 Q2 0
-12V
10n 10n
TL084 Q1 Q2 -12V
11 -12V
VDB
2 V- TL084 Q1 Q2
- 11 -12V
VDB
J1 J2 1 6 V- TL084 Q1 Q2 Q1 Q2
BC264A BC264A OUT - 11
V1
VDB
1Vac 3 J7 J8 7 9 V-
C3 + 4 BC264A BC264A OUT -
0Vdc V+ J9 J10
U1A 5 8
C9 + 4 BC264A BC264A OUT
50p U1B V+ J15 J16 J17 J18
C4 +12V 10
C11 + 4 BC264A BC264A BC264A BC264A
50p V+
0 C10 0 +12V U1C
0 31.25p C17 C19
31.25p
C12 0 +12V
Q1 Q2 Q1 Q2 31.25p
31.25p
0 C18 C20
Q1 Q2 50p 50p
50p 50p
0
0 -12V 0
J11 J12 J13 J14
BC264A BC264A BC264A BC264A
J19 J20 TL084 11
VDB
0 50p U1D V+
50p
0 0
0 +12V
0
Page 46 of 46