Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
EECS 247
Lecture 6: Filters
Summary Lecture 5
Continuous-time filters
Effect of integrator non-idealities on continuous-time filter behavior
Effect of integrator finite DC gain & non-dominant poles on filter frequency response Integrator non-linearities affecting filter maximum signal handling capability (harmonic distortion and intermodulation distortion) Effect of integrator component variations and mismatch on filter response & need for frequency tuning
EECS 247
VG1 ID1
M1
VG3 IX1
M3 +
W V Vi V + i V L gs3 th 4 2 I X 1 = I D1 + I D3 I D3 = Cox W V V = Cox Vgs1 Vgs3 i i L 22 W V V I X 2 = Cox Vgs3 Vgs1 i i L 22 I X 1 I X 2 = Cox G= (IX1 IX 2) Vi W V gs1 Vgs3 Vi L
Vi/2
C
-
I D3
-Vi/2
ID2
M2
ID M4 4
Vout
IX2
M1,2,3,4
C equal W/L
= Cox
W V gs1 Vgs3 L
R-MOSFET-C Integrator
VG1 VG2
M1 M3 +
Vi/2
C
-
-Vi/2 R
M2
M4
Vout
Improvement over MOSFET-C by adding resistor in series with MOSFET Voltage drop primarily across fixed resistor small MOSFET Vds improved linearity & reduced tuning range Generally low frequency applications
Ref: U-K Moon, and B-S Song, Design of a Low-Distortion 22-kHz Fifth Order Bessel Filter, IEEE Journal of Solid State Circuits, Vol. 28, No. 12, pp. 1254-1264, Dec. 1993.
EECS 247 Lecture 6: Filters 2007 H.K. Page 4
VG2
Vi/2
R1
C
M3 +
-Vi/2 R1
M2
M4
Vout
R2
Negative feedback around the non-linear MOSFETs improves linearity but Compromises frequency response accuracy
Ref: U-K Moon, and B-S Song, Design of a Low-Distortion 22-kHz Fifth Order Bessel Filter, IEEE Journal of Solid State Circuits, Vol. 28, No. 12, pp. 1254-1264, Dec. 1993.
EECS 247 Lecture 6: Filters 2007 H.K. Page 5
Example:
Opamp MOSFET-RC Filter
5th Order Bessel MOSFET-RC LPF 22kHz bandwidth THD -90dB for 4Vp-p , 2kHz input signal
Suitable for low frequency, low Q applications Significant improvement in linearity compared to MOSFET-C Needs tuning
Ref: U-K Moon, and B-S Song, Design of a Low-Distortion 22-kHz Fifth Order Bessel Filter, IEEE Journal of Solid State Circuits, Vol. 28, No. 12, pp. 1254-1264, Dec. 1993.
EECS 247 Lecture 6: Filters 2007 H.K. Page 6
OTA
Voltage controlled current source
Output in the form of voltage Low output impedance Can drive R-loads Good for RC filters, OK for SC filters
Output in the form of current High output impedance In the context of filter design called gm-cells Cannot drive R-loads Good for SC & gm-C filters Typically, less complex compared to opamp higher freq. potential Typically lower power
Lecture 6: Filters 2007 H.K. Page 7
EECS 247
Vin Gm Vo
Vin Gm
+
Vo
GmC Intg.
GmC-OTA Intg.
Vo Vin
EECS 247
o s
G whe r e o = m C
Lecture 6: Filters 2007 H.K. Page 8
M1
Cint g
Vo +
M2
M10
Vcontrol
Ref: H. Khorramabadi and P.R. Gray, High Frequency CMOS continuous-time filters, IEEE Journal of Solid-State Circuits, Vol.-SC-19, No. 6, pp.939-948, Dec. 1984.
EECS 247 Lecture 6: Filters 2007 H.K. Page 9
Cint g
Cint g
Vo +
+ Vin -
2C 2Cint g int g
Vo + Vin
M1
Vo
+ Vin -
M1
M2
M1
M2
2Cintg
M10V control
Vcontrol
M10
Vcontrol
AC half circuit
EECS 247
Lecture 6: Filters
Vo Vin
M1
2Cintg
AC half circuit
Vin
g m Vin
Vo
2Cintg
2 Cint g
CGS
)
+ Vin M1
Id =2 Vgs Vth
Cint g
Vo +
M2
)
1/ 2
W 1 = 2 Cox I d L 2
M10
Vcontrol
EECS 247
Lecture 6: Filters
2nd
+ Vin -
M1
Cint g
Vo +
M2
M10
Vcontrol
EECS 247
Lecture 6: Filters
V2
1 1
Vo R* sL
R* R
sC R* 1 1 1 Vin
Vo
V1'
V3'
1 = R* C 2 = L
R*
R* R
s1 1
s 2
- Vin
EECS 247 Lecture 6: Filters 2007 H.K. Page 14
1 = R* C 2 = L
= R*
R
R*
1Q
s 1
-1
0 = 1
1 2 = 1 2
LC
Q = 1 1
Vin
EECS 247
Lecture 6: Filters
1Q
s 1
V0 = 1 Vin s +1 0 Q
Vin
EECS 247
Lecture 6: Filters
Vo M3 M4 M2 M1
Vo Vin
M1 M3
2Cintg
+ Vin -
AC half circuit
M11 M10
Vcontrol
EECS 247
Lecture 6: Filters
Vin
M g m 1 Vin CGS
Vo
2Cintg
1
M3 gm
2Cintg
AC half circuit
Vo = Vin
1Q
s 1
Vin CGS
M g m 1 Vin
Vo
1
M3 gm
2Cintg
V0 = 1 Vin s +1 0 Q Vin
0 =
M gm 1 2Cint g
Vo 1 = Vin s 2Cint g
M gm 1
gM 3 + m M gm 1
gM1 & Q= m M gm 3
1/ 2 1 W M M gm 3 = 2 Cox M 3 I d 3 LM 3 2
Cint g
Vo M3 M4 M2 M1
+ Vin -
EECS 247
Lecture 6: Filters
Cint g
Vo M3 M4 M2 M1
M I d 11
WM 10 WM 11
+ Vin W W = M 10 M 1 W M 11 WM 3
1/ 2
M gm 1 M gm 3
EECS 247
Lecture 6: Filters
Q=
M gm 1,2 M gm 3,4
EECS 247
Lecture 6: Filters
R1
R2
-
R3 R4
C
R2
R3 R4
Vo
Not practical to require end-user to tune the filter Need to fix the adjustment at the factory
EECS 247 Lecture 6: Filters 2007 H.K. Page 24
Factory Trimming
Factory component trimming
Build fuses on-chip
Based on measurements @ wafersort blow fuses selectively by applying high current to the fuse Expensive Fuse regrowth problems! Does not account for temp. variations & aging
To switch D1 Fuse
Laser trimming
Trim components or cut fuses by laser Even more expensive Does not account for temp. variations & aging
EECS 247 Lecture 6: Filters
D1=1 D1=0
Fuse
D1
Fuse
R1
R2
-
R3 R4
C
Fuse
R1 Vin
EECS 247
R2
R3 R4
Vo
Lecture 6: Filters
EECS 247
Lecture 6: Filters
VBP
o
1 s
o
s
Apply a sinusoid at the desired fodesired Compare the phase of LP output versus input Based on the phase difference: Increase or decrease filter critical freq.
EECS 247 Lecture 6: Filters
VH P
- VLP
Vin
2007 H.K. Page 29
Vr ef VL P = A2 si n (t ) s i n (t + )
2 2 Vr ef VL P = A cos A cos ( 2t + ) 2 2
Note that this term is=0 only when the incoming signal is at exactly the filter -3dB frequency
EECS 247
1 Q
o
1 s
o
s
Filter Out
-VLP
Phase Comparator
Vre f
Lecture 6: Filters
fo Q
1 Q
o
1 s
o
s
VTu ne
Amp.+ Filter
Vtune
-VLP
Phase Comparator
fo
Input Signal Frequency
EECS 247 Lecture 6: Filters
Vre f
VLP
1 Q
o
1 s
o
s
VTu ne
Amp.+ Filter
Phase Comparator
1 Q
s0 1
s0 VLP
Vtune
Amp.+ Filter
Vre f
1 Phase Comparator
s 1
s 2
s 3
s 4
Ref: H. Khorramabadi and P.R. Gray, High Frequency CMOS continuous-time filters, IEEE Journal of Solid-State Circuits, Vol.-SC-19, No. 6, pp.939-948, Dec. 1984.
EECS 247 Lecture 6: Filters 2007 H.K. Page 33
EECS 247
Lecture 6: Filters
Vin
R* R s
Vo
1
s 5
R* R
Ref: V. Gopinathan, et. al, Design Considerations for High-Frequency Continuous-Time Filters and Implementation of an Antialiasing Filter for Digital Video, IEEE JSSC, Vol. SC-25, no. 6 pp. 13681378, Dec. 1990.
EECS 247 Lecture 6: Filters 2007 H.K. Page 37
Vin Vref
Gm
Vtune
Replica of main filter integrator e.g. Gm-C building block used Utilizes the fact that a DC voltage source connected to the input of the Gm cell generates a constant current proportional to the transconductance and the voltage reference I = Gm.Vref
EECS 247 Lecture 6: Filters 2007 H.K. Page 38
Vtune
VC1
VC1 = Gm Vr ef T
C1
t=0
time
EECS 247
Lecture 6: Filters
C1
Gm
Vref
Vtune
VC1
VC1 GmVref T
time
C1
t=0
Use feedback!!
EECS 247 Lecture 6: Filters 2007 H.K. Page 40
S2 Vref Gm C1
S3 S1
A
C2
C1 C2
EECS 247
Lecture 6: Filters
A
C2
I=Gm*Vref
C1 C2
P2
VC1 = Gm Vref T 2
VC1
T1
EECS 247
T2
Lecture 6: Filters 2007 H.K. Page 43
T1
T2
C1 charge shares with C2 Few cycles following startup Assuming A is large, feedback forces: V 0 VC2= Vref
Lecture 6: Filters 2007 H.K. Page 44
EECS 247
VC1 = VC2 = V r ef
T1 T2
C1 C1
t hen : Vr ef = GmVref T 2 or : C1 Gm = T 2 = N / f cl k
EECS 247
Lecture 6: Filters
Integrator time constant locked to an accurate frequency Tuning signal used to adjust the time constant of the main filter integrators
i nt g = C1 Gm = N / f cl k
or
int 0 g = Gm C1 = f cl k / N
2007 H.K. Page 46
EECS 247
Lecture 6: Filters
Note: Need to pay attention to loop stability C1 chosen to be smaller than C2 tradeoff between stability and speed of lock acquisition Lowpass filter at the output of amp. A helps stabilize the loop
EECS 247 Lecture 6: Filters 2007 H.K. Page 47
S2 Vref Gm C1
S3
A
C2 To Main Filter
int 0 g = Gm C1 = fc l k / N
Vos
Vo +
M1 M2
+ Vin -
Vtune
EECS 247
Lecture 6: Filters
( ) ( )
Vos
Vo +
M1 M2
+ Vin -
Vtune
Ref: Gray, Hurst, Lewis, Meyer, Analysis & Design of Analog Integrated Circuits, Wiley 2001, page 335
EECS 247 Lecture 6: Filters 2007 H.K. Page 50
S2
S3 C1
A
C2
C1
S2
S3 C1
A
C2
Example:
C1 Gm V = T 2 1 os V re f fcritical Gm C1
fo r
Vos = 1/ 10 Vre f
1 0 % e rro r in t un i ng!
EECS 247 Lecture 6: Filters 2007 H.K. Page 52
Cint g
-
Vo M3 M1 M4 M2
aux. Vin
Aux. Main Input Input
+ +
+ + main Vin -
EECS 247
Lecture 6: Filters
Vin1
2Cintg
CGS1
ro
2Cintg
1 + s 2Cint g ro
Vin1
1+
a1 a1 s 2Cint g
Vin1
M gm 1
Note : a1 ,
Vo =
EECS 247
Lecture 6: Filters
Vin1
Vin2 CGS3
M1 M3 g m Vin1 g m Vin2
M1 M3 g m Vin1 g m Vin2
Vo
2Cintg
Vin1
Vin2
M3
2Cintg
CGS1
ro
AC half circuit
M M Vo = g m 1Vin1 + g m 3Vin2 ro || 1 s 2C int g Vo = Vo =
M g m 1ro
1 + s 2Cint g ro 1+
Vin1
M g m 3ro
1 + s 2Cint g ro Vin1 1+
Vin2 Vin2
M gm 3
2007 H.K. Page 55
a1 a1 s 2Cint g
M gm 1
a3 a3 s 2Cint g
EECS 247
Lecture 6: Filters
Gm-Cell DC Model
+ + -
V + o
aux. Vin
Cint g
Vo M4 M2
EECS 247
Lecture 6: Filters
-Vref/2
+ + + -
C1
+ +
P2B P2
C3b
Gm-cell two sets of input pairs Aux. input pair + C3a,b Offset cancellation Same clock timing
EECS 247 Lecture 6: Filters 2007 H.K. Page 57
Reference Integrator Locked to Reference Frequency P3 High (Update & Store offset)
C3a
+Vref/2 Vcm
Vos
-Vref/2
C3b
+ + + -
C1
Vout = Vos
C2
+ +
Vtune
Gm-cell Unity gain configuration via aux. inputs Main inputs shorted C1, C2 Charge sharing
EECS 247
Lecture 6: Filters
VC 3a,b = Vo s
C3a
+ +
Vos
Vout = Vos
C3b
Vo = Vos
C3a,b
EECS 247
Lecture 6: Filters
Reference Integrator Locked to Reference Frequency P3 High (Update & Store offset)
VC3a,b = Vos
+Vref/2 Vcm C3a
Vos
-Vref/2
C3b
+ + + -
C1
Vout = Vos
C2
+ +
Vtune
Gm-cell Unity gain configuration via aux. inputs Main input shorted C3a,b Store Gm-cell offset C1, C2 Charge sharing
EECS 247 Lecture 6: Filters 2007 H.K. Page 60
Vos
C3a
-Vref/2
+ + + -
C1
C2
+ +
C3b
Gm-cell Reset. Discharge C1 C2 Hold Charge C3a,b Hold Charge Offset previously stored on C3a,b cancels gm-cell offset
EECS 247
Vtune
Lecture 6: Filters
C2
Vos
C3b
+ +
-Vref/2
Vtune
Gm-cell C3a,b C2
EECS 247
+Vref/2 Vcm
C3a
Vos
-Vref/2
C3b
+ + + -
C1
Vout = Vos
C2
+ +
Vtune
Key point: Tuning error due to Gm-cell offset cancelled *Note: Same offset compensation technique can be used in many other applications
EECS 247 Lecture 6: Filters 2007 H.K. Page 63
Summary
Reference Integrator Locked to Reference Frequency
Tuning error due to gm-cell offset voltage resolved Advantage over previous schemes:
Vref Gm C1 C2 S2 S3
fclk can be chosen to be at much higher frequencies compared to filter bandwidth (N >1)
Feedthrough of clock falls out of band and thus attenuated by filter
i nt g = C1 Gm = N / f cl k
or
int 0 g = Gm C1 = f cl k / N
EECS 247
Lecture 6: Filters