EE247 - Lecture 2 Filters
EE247 - Lecture 2 Filters
Filters
• From last lecture:
– Dynamic range of analog circuits
• Filters:
– Nomenclature
– Specifications
• Quality factor
• Frequency characteristics
• Group delay
– Filter types
• Butterworth
• Chebyshev I & II
• Elliptic
• Bessel
– Group delay comparison example
– Biquads
EECS 247 Lecture 2: Filters © 2008 H.K. Page 1
Nomenclature
Filter Types wrt Frequency Range Selectivity
ω ω ω ω ω
H ( jω ) [ d B ]
Passband Ripple (Rpass) f−3dB
H (0 )
Passband 3dB
Transition
Gain H ( jω ) Band
Stopband
Rejection
H ( jω )
f
0
fc f stop
Frequency (Hz)
x 10
Stopband
Passband
Frequency
H ( jω ) = 1
R (ω ) + jX (ω )
X (ω ) Energy Stored
Q= → p e r u n i t t i me
R (ω ) Aver age Po w er D i s s i pa t i o n
YL = 1 QL = ω L
Rs + jω L Rs Rs L
• Capacitor Q :
Rp
ZC = 1 QC = ω CR p
1 + jωC
Rp C
ωp
QP o l e =
2σ x
0
Magnitude [dB]
-3dB
Δf = f2 - f1
0.1 f1 fcenter
1 f2 Frequency
10
θ(ω+Δω) dθ(ω)
ω+Δω
≅
[ θ(ω)+
dω
Δω
][ ω1 (1 - Δωω ) ]
θ(ω) dθ(ω) θ(ω)
≅
ω + ( dω - ω ) Δωω
EECS 247 Lecture 2: Filters © 2008 H.K. Page 11
θ(ω)
vOUT(t) = A1 ⏐G(jω)⏐ sin { ω [t + ω ]} +
θ(ω) Δω
{ (ω+Δω) [ t + θ(ω)
dθ(ω)
+ A2 ⏐G[ j(ω+Δω)]⏐sin
ω +( dω - ω ω ) ]}
• τPD ≡ -θ(ω)/ω is called the “phase delay” and has units of time
• If the second term is zero, then the filter’s output at frequency ω+Δω and
the output at frequency ω are each delayed in time by -θ(ω)/ω
• If the second term in the phase of the 2nd sin wave is non-zero, then the
filter’s output at frequency ω+Δω is time-shifted differently than the
filter’s output at frequency ω
Æ “Phase distortion”
[ (
vOUT(t) = A1 ⏐G(jω)⏐ sin ω t - τGR)] +
+ A ⏐G[ j(ω+Δω)]⏐ sin [ (ω+Δω) ( t - τ )]
2 GR
0 5
ω =0
Phase (degrees)
-200 3
• All poles jω
s-plane
• Number of poles equal to
filter order
pole
Filter Types
Chebyshev I Lowpass Filter
0
Magnitude [dB]
• Chebyshev I filter
– Ripple in the passband -20
jω
s-plane
• All poles
Filter Types
Chebyshev II Lowpass
• Chebyshev II filter 0
Magnitude (dB)
– No ripple in passband
-20
– Nulls or notches in -40
stopband
-60
– Sharper transition band 0
compared to
-90
Phase (deg)
Butterworth
-180
– Passband phase more -270
linear compared to
-360
Chebyshev I 0 0.5 1 1.5 2
Normalized Frequency
Filter Types
Elliptic Lowpass Filter
0
• Elliptic filter
Magnitude (dB)
-20
-40
– Ripple in passband
-60
– Nulls in the stopband 0
Phase (degrees)
Filter Types
Bessel Lowpass Filter
• Bessel
jω s-plane
– All poles
Pole
– Poor out-of-band attenuation
Example: 5th Order Bessel filter
-40 r O
lte nÆ Filter order
-50 Fi 2
-60
3
-70
4
-80
5
6
-90
7
-100
0.1 1 10 100
Normalized Frequency
Filter Types
Comparison of Various Type LPF Magnitude Response
0
Magnitude (dB)
-20
-40
-60
0 1 2
Magnitude (dB)
Normalized Frequency
Bessel
All 5th order filters with same corner freq. Butterworth
Chebyshev I
Chebyshev II
Elliptic
1
12
10 Butterworth
4
1
1
Ref: A. Zverev, Handbook of filter synthesis, Wiley, 1967.
Magnitude Response
4th Order Chebyshev I versus Bessel
0
Magnitude (dB)
-20
-40
-50
Phase [degrees]
-100
-200
-250
4th order Chebyshev 1
-300
Group Delay
4th Order Chebyshev I versus Bessel
14
12
Group Delay [usec]
10
8 4th order
Chebyshev 1
6
0
10 100 1000
Frequency [kHz]
1.4
1.2
4th order Bessel
1
Amplitude
0.4
0.2
00 5 10 15 20
Time (usec)
0.5 0.5
0 0
-0.5 -0.5
-1 -1
-1.5 -1.5
1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2
-4 -4
x 10 x 10
Note that in the case of the Chebyshev filter not only the pulse has broadened but it
also has a long tail
Æ More ISI for Chebyshev compared to Bessel
1
1111011111001010000100010111101110001001
-0.5
-1
-1.5
0 0.2 0.4 0.6 0.8 1 1.2 1.4
-4
x 10
1.5 1.5
1 1
0.5 0.5
0 1111011111001010000100010111101110001001 0
1111011111001010000100010111101110001001
-0.5 -0.5
-1 -1
-1.5 -1.5
0 0.2 0.4 0.6 0.8 1 1.2 1.4 0 0.2 0.4 0.6 0.8 1 1.2 1.4
-4 -4
x 10 x 10
4th order Bessel 4th order Chebyshev I
RLC Filters
R Vo
• Bandpass filter (2nd order):
Vin L C
s
Vo = RC
Vin s2 + ωo s + ωo2
Q
jω
ωo = 1 LC
s-Plane
Q = ωo RC = R
Lω o
σ
RLC Filters
Effect of Finite Component Q
1 Qfilt.=20 (ideal L)
= 1 + 1
Q filt Qid ea l Qin d .
filt
Qfilt. =13.3 (QL.=40)
R Vo
Vin L C
Question:
Can RLC filters be integrated on-chip?
Monolithic Inductors
Feasible Quality Factor & Value
Typically, on-chip
inductors built as
spiral structures out
of metal/s layers
QL= (ω L/R)
QL measured at
frequencies of
operation ( >1GHz)
• Hence:
Filters
2nd Order Transfer Functions (Biquads)
• Biquadratic (2nd order) transfer function:
1
H( s ) =
s s2
1+ +
ωPQP ωP2
H ( jω ) ω =0 = 1
1
H( jω ) = H ( jω ) ω →∞ = 0
2
⎛ ω 2 ⎞ ⎛ ω ⎞2
⎜1− 2 ⎟ + ⎜ H ( jω ) ω =ω = QP
⎜ ω ⎟ ⎝ ωPQP ⎟⎠ P
⎝ P⎠
ωP ⎛ 2⎞
Bi quad pole s @: s = − ⎜ 1 ± 1 − 4QP ⎟
2QP ⎝ ⎠
ωP ⎛ S-plane
s=− 2 ⎞ jω
⎜1 ± j 4QP − 1 ⎟
2QP ⎝ ⎠
poles
d
Distance from origin in s-plane:
⎛ω ⎞
2 σ
d 2 = ⎜⎜ P ⎟⎟ (1 + 4QP2 − 1)
⎝ 2QP ⎠
= ω P2
s-Plane
jω
radius = ω P poles
1
arccos
2QP σ
ωP
real part = - ωP ⎛
2Q P s=− 2 ⎞
⎜1 ± j 4QP − 1 ⎟
2QP ⎝ ⎠
• Terminated LC
– Low power, since it is passive
– Only fundamental noise sources Æ load and source resistance
– As previously analyzed, not feasible in the monolithic form for
f <350MHz
• Active Biquads
– Many topologies can be found in filter textbooks!
– Widely used topologies:
• Single-opamp biquad: Sallen-Key
• Multi-opamp biquad: Tow-Thomas
• Integrator based biquads
Active Biquad
Sallen-Key Low-Pass Filter
G
H ( s) =
C1 s s2
1+ +
ω PQP ωP2
R1 R2
G 1
ωP =
Vin C2 Vout R1C1R2C2
ωP
QP =
1 1 1− G
+ +
• Single gain element R1C1 R2C1 R2C2
• Can be implemented both in discrete & monolithic form
• “Parasitic sensitive”
• Versions for LPF, HPF, BP, …
Æ Advantage: Only one opamp used
Æ Disadvantage: Sensitive to parasitic – all pole no zeros
Imaginary Zeros
• Zeros substantially sharpen transition band f P = 100kHz
• At the expense of reduced stop-band attenuation at QP = 2
high frequencies
fZ = 3 fP
6
x 10
2
Pole-Zero Map
10 1.5
With zeros
No zeros 1
0
Magnitude [dB]
Imag Axis
0.5
-10
0
-20
-0.5
-30
-1
-40
-1.5
-50 -2
4 5 6 7 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2
10 10 10 10
Frequency [Hz] 6
Real Axis x 10
Imag Axis
10
Magnitude [dB]
0 0
-10 -2
-20
-4
-30
-40
-6
-6 -4 -2 0 2 4 6
-50 4
105 106 107
5
10
Real Axis x10
Frequency [Hz]
• Parasitic insensitive
• Multiple outputs
Ref: P. E. Fleischer and J. Tow, “Design Formulas for biquad active filters using three
operational amplifiers,” Proc. IEEE, vol. 61, pp. 662-3, May 1973.
• Vo2 implements a general biquad section with arbitrary poles and zeros
• Vo1 and Vo3 realize the same poles but are limited to at most one finite zero
Component Values
R8 given ai , bi , ki , C1 , C2 and R8
b0 =
R3 R5 R7C1C2 1
R1 =
a1C1
1 ⎛ R8 R1R8 ⎞
b1 = ⎜ − ⎟
R1C1 ⎜⎝ R6 R4 R7 ⎟⎠
k1
R2 = it follows that
a0 C2
R8
b2 = 1 1 R8
R6 R3 = ωP =
k1k2 a0 C1 R2 R3 R7C1C2
R8
a0 = 1 1 1 QP = ω P R1C1
R2 R3 R7C1C2 R4 =
1 k2 a1b2 − b1 C1
a1 =
R1C1 k1 a0
R5 =
R2 R8C2 b0C2
k1 = R8
R3 R7C1 R6 =
b2
R7
k2 = R7 = k2 R8
R8