Top Banner
EECS 247 Lecture 7: Filters © 2009 H.K. Page 1 EE247 Lecture 7 • Automatic on-chip filter tuning (continued from last lecture) Continuous tuning (continued) DC tuning of resistive timing element Periodic digitally assisted filter tuning Systems where filter is followed by ADC & DSP, existing hardware can be used to periodically update filter freq. response • Continuous-time filter design considerations Monolithic highpass filters Active bandpass filter design Lowpass to bandpass transformation Example: 6 th order bandpass filter Gm-C bandpass filter using simple diff. pair Various Gm-C filter implementations EECS 247 Lecture 7: Filters © 2009 H.K. Page 2 Summary last lecture Continuous-time filters (continued) Gm-C filters Frequency tuning for continuous-time filters Trimming via fuses or laser Automatic on-chip filter tuning Continuous tuning – Utilizing VCF built with replica integrators – Use of VCO built with replica integrators – Replica single integrator in a feedback loop locked to a reference frequency
36

EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

May 30, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 1

EE247 Lecture 7

• Automatic on-chip filter tuning (continued from last lecture)– Continuous tuning (continued)

• DC tuning of resistive timing element– Periodic digitally assisted filter tuning

• Systems where filter is followed by ADC & DSP, existing hardwarecan be used to periodically update filter freq. response

• Continuous-time filter design considerations– Monolithic highpass filters– Active bandpass filter design

• Lowpass to bandpass transformation• Example: 6th order bandpass filter• Gm-C bandpass filter using simple diff. pair

– Various Gm-C filter implementations

EECS 247 Lecture 7: Filters © 2009 H.K. Page 2

Summary last lecture• Continuous-time filters (continued)

– Gm-C filters

• Frequency tuning for continuous-time filters– Trimming via fuses or laser – Automatic on-chip filter tuning

• Continuous tuning– Utilizing VCF built with replica integrators– Use of VCO built with replica integrators– Replica single integrator in a feedback loop locked to a

reference frequency

Page 2: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 3

DC Tuning of Resistive Timing Element

Vtune Tuning circuit Gm replica of Gm used in filter

Rext used to lock Gm to accurate off-chip R

Feedback forces: IxRext @ Gm-cell inputCurrent flowing in Gm-Cell IGm=1/Rext

Issues with DC offset

Account for capacitor variations in this Gm-C implementation by trimming C in the factory

Rext.

-

+ -

+

I

I

Gm

Ref: C. Laber and P.R. Gray, “A 20MHz 6th Order BiCMOS Parasitic Insensitive Continuous-time Filter and Second Order Equalizer Optimized for Disk Drive Read Channels,” IEEE Journal of Solid State Circuits, Vol. 28, pp. 462-470, April 1993

EECS 247 Lecture 7: Filters © 2009 H.K. Page 4

Digitally Assisted Frequency Tuning Example:Wireless Receiver Baseband Filters

• Systems where filter is followed by ADC & DSP– Take advantage of existing digital signal processor capabilities to

periodically test & if needed update the filter critical frequency

– Filter tuned only at the outset of each data transmission session (off-line/periodic tuning) – can be fine tuned during times data is not transmitted or received

RF Amp

Osc.

A/D Digital Signal

Processor (DSP)

A/D

π 2IF Stage ( 0 to 2 )

Page 3: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 5

Example: Seventh Order Tunable Low-Pass OpAmp-RC Filter

EECS 247 Lecture 7: Filters © 2009 H.K. Page 6

Digitally Assisted Filter Tuning Concept

Assumptions:– System allows a period of

time for the filter to undergo tuning (e.g. for a wireless transceiver during idle periods)

– An AC (e.g. a sinusoid) signal can be generated on-chip whose amplitude is a function of an on-chip DC voltage

• AC signal generator outputs a sinusoid with peak voltage equal to the DC signal source

• AC Signal Power =1/2 DC signal power @ the input of the filter

VP AC=VDC

Page 4: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 7

Digitally Assisted Filter Tuning Concept

VP AC=VDC

AC signal @ a frequency on the roll-off of the desired filter frequency response(e.g. -3dB frequency)

Provision can be made during the tuning cycle, the input of the filter is disconnected from the previous stage (e.g. mixer) and connected to:

1. DC source2. AC source

under the control of the DSP

( )desiredAC DC 3dBV V sin 2 f tπ −= ×

EECS 247 Lecture 7: Filters © 2009 H.K. Page 8

Digitally Assisted Filter Tuning Concept

VP AC=VDC

Page 5: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 9

2ΔΔ

Practical Implementation of Frequency TuningAC Signal Generation From DC Source

Vout

Clock

ClockB

Vout0+Δ

−Δ

Δ Vout=

Clock=high

+Δ Δ Vout= −Δ

ClockB=high

Square waveform generated 2Δ peak to peak magnitude and @ frequency=fclock

EECS 247 Lecture 7: Filters © 2009 H.K. Page 10

Δ 2ΔΔ

DC Measurement AC Measurement

A/D 4bit

10MHz

Digital Signal

ProcessorDSP1616

40MHzVref+Vref-

Filter

Register

CH

OP

TUN

E

FREQ

.C

ON

T.

625k

Hz

Practical Implementation of Frequency Tuning

Page 6: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 11

2ΔΔAC

Measurement

Practical Implementation of Frequency TuningEffect of Using a Square Waveform

( ) ( )n 1,3,5,..

4Vin sin n tnt π ω=

∞ Δ= ∑

• Input signal chosen to be a square wave due to ease of generation• Filter input signal comprises a sinusoidal waveform @ the fundamental

frequency + its odd harmonics:

Key Point: The filter itself attenuates unwanted odd harmonics Inaccuracy incurred by the harmonics negligible

( ) ( )4 1Vout sin t2

t π ωΔ= ×

EECS 247 Lecture 7: Filters © 2009 H.K. Page 12

Simplified Frequency Tuning Flowchart

Page 7: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 13

Digitally Assisted Offset Compensation

EECS 247 Lecture 7: Filters © 2009 H.K. Page 14

Filter Tuning Prototype Diagram

Page 8: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 15

EECS 247 Lecture 7: Filters © 2009 H.K. Page 16

Measured Tuning Characteristics

Page 9: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 17

Off-line Digitally Assisted Tuning• Advantages:

– No reference signal feedthrough since tuning does not take place during data transmission (off-line)

– Minimal additional hardware– Small amount of programming

• Disadvantages:– If acute temperature change during data transmission,

filter may slip out of tune!• Can add fine tuning cycles during periods of data is not

transmitted or received

Ref: H. Khorramabadi, M. Tarsia and N.Woo, “Baseband Filters for IS-95 CDMA Receiver Applications Featuring Digital Automatic Frequency Tuning,” 1996 International Solid State Circuits Conference, pp. 172-173.

EECS 247 Lecture 7: Filters © 2009 H.K. Page 18

Summary: Continuous-Time Filter Frequency Tuning• Trimming

Expensive & does not account for temperature and supply etc… variations• Automatic frequency tuning

– Continuous tuningMaster VCF used in tuning loop, same tuning signal used to tune the slave (main) filter

– Tuning quite accurate– Issue reference signal feedthrough to the filter output

Master VCO used in tuning loop– Design of reliable & stable VCO challenging– Issue reference signal feedthrough

Single integrator in negative feedback loop forces time-constant to be a function of accurate clock frequency

– More flexibility in choice of reference frequency less feedthrough issuesDC locking of a replica of the integrator to an external resistor

– DC offset issues & does not account for integrating capacitor variations– Periodic digitally assisted tuning

– Requires digital capability + minimal additional hardware– Advantage of no reference signal feedthrough since tuning performed off-line

Page 10: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 19

RLC Highpass Filters

• Any RLC lowpass can be converted to highpass by:–Replacing all Cs by Ls and LNorm

HP = 1/ CNormLP

–Replacing all Ls by Cs and CNormHP = 1/ LNorm

LP

– LHP=Lr / CNormLP , CHP=Cr / LNorm

LP where Lr=Rr/ωr and Cr=1/(Rrωr)

RsC1 C3

L2

inVRs

L1 L3

C2

inV

C4

L4

Lowpass Highpass

EECS 247 Lecture 7: Filters © 2009 H.K. Page 20

Integrator Based High-Pass Filters1st Order

• Conversion of simple high-pass RC filter to integrator-based type by using signal flowgraph technique

in

s CV Ros CV 1 R

=+

oV

R

C

inV

Page 11: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 21

1st Order Integrator Based High-Pass FilterSignal Flowgraph

oV

R

C

inV+ VC - +

VR-

IC

IRV V VR in C1V IC C sC

V Vo R1I VR R R

I IC R

= −

= ×

=

= ×

=

1

1R

1sC

RICI

CV

inV

1−1

SFG

oV1VR

EECS 247 Lecture 7: Filters © 2009 H.K. Page 22

1st Order Integrator Based High-Pass FilterSGF

1sC R

oVinV 1 1oV

R

C

inV

oVinV

∫ -

SGF

Note: Addition of an integrator in the feedback path High pass frequency shaping

+

+

+ VC- + VR

-

Page 12: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 23

Addition of Integrator in Feedback Path

oVinV

∫ -

a

1/sτ

Let us assume flat gain in forward path (a)Effect of addition of an integrator in the feedback path:

+

+

in

in

int gpole o

V aoV 1 af

sV aos sV 1 a / 1 / a

azero@ DC & pole @ a

ττ τ

ω ωτ

=+

= =+ +

→ = − = − ×

Note: For large forward path gain, a, can implement high pass function with high corner frequency Addition of an integrator in the feedback path zero @ DC + pole @ axω0

intg

This technique used for offset cancellation in systems where the low frequency content is not important and thus disposable

EECS 247 Lecture 7: Filters © 2009 H.K. Page 24

( )H jω

( )H jω

Lowpass Highpass

ω

( )H jω

ωω

Q<5

Q>5

• Bandpass filters two cases:1- Low Q or wideband (Q < 5)

Combination of lowpass & highpass

2- High Q or narrow-band (Q > 5)Direct implementation

ω

( )H jω

+

Bandpass Filters

Bandpass

Bandpass

Page 13: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 25

Narrow-Band Bandpass FiltersDirect Implementation

• Narrow-band BP filters Design based on lowpass prototype• Same tables used for LPFs are also used for BPFs

Lowpass Freq. Mask Bandpass Freq. Mask

cc

s s2 s1c B2 B1

ss Qs

ωω

Ω Ω − ΩΩ Ω − Ω

⎡ ⎤× +⎢ ⎥⎣ ⎦

⇒ ⇒

EECS 247 Lecture 7: Filters © 2009 H.K. Page 26

Lowpass to Bandpass TransformationLowpass pole/zero (s-plane) Bandpass pole/zero (s-plane)

From: Zverev, Handbook of filter synthesis, Wiley, 1967- p.156.

PoleZero

Page 14: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 27

Lowpass to Bandpass Transformation Table

From: Zverev, Handbook of filter synthesis, Wiley, 1967- p.157.

'

'

'

'

1

1

1 1

r r

r

r

r

r

r r

C QCRRL

QC

RL QL

CRQL

ω

ω

ω

ω

= ×

= ×

= ×

= ×

C

L

C’

LP BP BP Values

L CL’

Lowpass RLC filter structures & tables used to derive bandpass filters

' 'C &L are normilzed LP values

filterQ Q=

EECS 247 Lecture 7: Filters © 2009 H.K. Page 28

Lowpass to Bandpass TransformationExample: 3rd Order LPF 6th Order BPF

• Each capacitor replaced by parallel L& C• Each inductor replaced by series L&C

oVL2 C2

RsC1

C3inV RLL1 L3

RsC1’ C3’

L2’

inV RL

oV

Lowpass Bandpass

Page 15: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 29

Lowpass to Bandpass TransformationExample: 3rd Order LPF 6th Order BPF

'1 1

0

1 '01

2 '02

'2 2

0

'3 3

0

3 '03

1

1

1 1

1

1

C QCRRL

QC

CRQLRL QL

C QCRRL

QC

ω

ω

ω

ω

ω

ω

= ×

= ×

= ×

= ×

= ×

= ×

oVL2 C2

RsC1

C3inV RLL1 L3

Where:C1

’ , L2’ , C3

’ Normalized lowpass valuesQ Bandpass filter quality factor ω0 Filter center frequency

EECS 247 Lecture 7: Filters © 2009 H.K. Page 30

Lowpass to Bandpass TransformationSignal Flowgraph

oVL2 C2

RsC1

C3inV RLL1 L3

1- Voltages & currents named for all components2- Use KCL & KVL to derive state space description 3- To have BMFs in the integrator form

Cap. voltage expressed as function of its current VC=f(IC)Ind. current as a function of its voltage IL=f(VL)

4- Use state space description to draw SFG5- Convert all current nodes to voltage

Page 16: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 31

Signal Flowgraph6th Order BPF versus 3rd Order LPF

1−

*RRs

−*

1

1sC R

1

*RRs

− *1

1sC R

1−

*

1

RsL

1−

1

*RRL

−*

3

1sC R

*

3

RsL

−*

2

1sC R

−*

2

RsL

1

V1’

V2

V3’

V1

V2’

VoutVinV3

inV 1 1V oV1−1

1− 1V1’ V3’V2’

*

2

RsL

*RRL

V2

*3

1sC R

LPF

BPF

EECS 247 Lecture 7: Filters © 2009 H.K. Page 32

Signal Flowgraph6th Order Bandpass Filter

1

*RRs

− *1

1sC R

1−

*

1

RsL

1−

1

*RRL

−*3

1sC R

*

3

RsL

−*

2

1sC R

−*

2

RsL

1−

Note: each C & L in the original lowpass prototype replaced by a resonatorSubstituting the bandpass L1, C1,….. by their normalized lowpass equivalent from page 29The resulting SFG is:

1

V1’

V2

V3’

V1

V2’

VoutVinV3

Page 17: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 33

Signal Flowgraph6th Order Bandpass Filter

1

*RRs

− 0

1'QCs

ω

1−

'1 0QC

1−

1

*RRL

−'3

0

Q Csω'

3 0Q C

−2 0

'QL

0

2'QLs

ω

1−

• Note the integrators different time constants• Ratio of time constants for two integrator in each resonator loop~ Q2

Typically, requires high component ratiosPoor matching

• Desirable to modify SFG so that all integrators have equal time constants for optimum matching.

• To obtain equal integrator time constant use node scaling

1

V1’

V2

V3’

V1

V2’

VoutVin V3

EECS 247 Lecture 7: Filters © 2009 H.K. Page 34

Signal Flowgraph6th Order Bandpass Filter

'1

1QC

'2

1QL

*

'1

R 1Rs QC

− ×

0s

ω

1−

0s

ω−

'2

1QL

'3

1QC

*

3

R 1RL QC

− ×

0s

ω0s

ω−

0s

ω−0

• All integrator time-constants equal• To simplify implementation choose RL=Rs=R*

1

V1’/(QC1’)

V2 /(QL2’)

V3’/(QC3’)

V1 V3

V2’

VinVout

Page 18: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 35

Signal Flowgraph6th Order Bandpass Filter

'2

1QL

'1

1QC

− 0s

ω

1−

0s

ω−

'2

1QL

'3

1QC

'3

1

QC−0

0s

ω−

0s

ω−0

'1

1QC

Let us try to build this bandpass filter using the simple Gm-C structure

1VinVout

EECS 247 Lecture 7: Filters © 2009 H.K. Page 36

Second Order Gm-C FilterUsing Simple Source-Couple Pair Gm-Cell

• Center frequency:

• Q function of:

Use this structure for the 1st and the 3rd resonatorUse similar structure w/o M3, M4 for the 2nd resonatorHow to couple the resonators?

M1,2m

oint g

M1,2mM 3,4m

g2 C

gQg

ω = ×

=

Page 19: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 37

Coupling of the Resonators1- Additional Set of Input Devices

Coupling of resonators:Use additional input source coupled pairs for the highlighted integrators For example, the middle integrator requires 3 sets of inputs

'2

1QL

'1

1QC

− 0s

ω

1−

0s

ω−

'2

1QL

'3

1QC

'3

1

QC−0

0s

ω−

0s

ω−0

'1

1QC

1VinVout

EECS 247 Lecture 7: Filters © 2009 H.K. Page 38

Example: Coupling of the Resonators1- Additional Set of Input Devices

int gC

Add one source couple pair for each additional input

Coupling level ratio of device widths

Disadvantage extra power dissipation

oV

maininV

+-

+

-

M1 M2M3 M4

-

+

couplinginV

+

--+

+

-

MainInput

CouplingInput

Page 20: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 39

Coupling of the Resonators2- Modify SFG Bidirectional Coupling Paths

' '1 2

1Q C L

'1

1QC

− 0s

ω

inV 1−

0s

ω−

' '3 2

1Q C L

'1

' '3 2

CQC L

3

1QC'

−0s

ω0s

ω−

0s

ω−0

1' 'Q C L1 2

Modified signal flowgraph to have equal coupling between resonators• In most filter cases C1

’ = C3’• Example: For a butterworth lowpass filter C1’ = C3’ =1 & L2’=2• Assume desired overall bandpass filter Q=10

outV1

EECS 247 Lecture 7: Filters © 2009 H.K. Page 40

Sixth Order Bandpass Filter Signal Flowgraph

γ

1Q

− 0s

ω

inV 1−

0s

ω−

1Q

−0s

ω0s

ω−

0s

ω−0

outV1γ−

γγ−

1Q 2114

γ

γ

=

• Where for a Butterworth shape

• Since in this example Q=10 then:

Page 21: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 41

Sixth Order Bandpass Filter Signal FlowgraphSFG Modification

1Q

−0s

ω

inV 1−

0s

ω−

1Q

−0s

ω0s

ω−0

−0s

ω

outV1

γ−

20s

ωγ ⎛ ⎞⎜ ⎟⎝ ⎠

×

γ−

20s

ωγ ⎛ ⎞⎜ ⎟⎝ ⎠

×

EECS 247 Lecture 7: Filters © 2009 H.K. Page 42

Sixth Order Bandpass Filter Signal FlowgraphSFG Modification

20 1

ωω

⎛ ⎞ ≈⎜ ⎟⎝ ⎠

For narrow band filters (high Q) where frequencies within the passband are close to ω0 narrow-band approximation can be used:

Within filter passband:

The resulting SFG:

2200

js

ωωω

γ γ γ⎛ ⎞⎛ ⎞ = ≈⎜ ⎟⎜ ⎟⎝ ⎠ ⎝ ⎠

× × −

Page 22: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 43

Sixth Order Bandpass Filter Signal FlowgraphSFG Modification

1Q

−0s

ω

inV 1−

0s

ω−

1Q

−0s

ω0s

ω−0

−0s

ω

outV1

γ−

γ−

γ−

Bidirectional coupling paths, can easily be implemented with coupling capacitors no extra power dissipation

γ−

EECS 247 Lecture 7: Filters © 2009 H.K. Page 44

Sixth Order Gm-C Bandpass FilterUtilizing Simple Source-Coupled Pair Gm-Cell

Parasitic cap. at integrator output, if unaccounted for, will result in inaccuracy in γ

k

int g k

int gk

k int g

C2 C C

2 CC 1 1

2C C13

1 / 14

γ

γγ

+=

×

×=

→ =

=

Page 23: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 45

Sixth Order Gm-C Bandpass FilterNarrow-Band versus Exact

Frequency Response Simulation

Q=10

Regular Filter

Response

Narrow-Band Approximation

EECS 247 Lecture 7: Filters © 2009 H.K. Page 46

Simplest Form of CMOS Gm-CellNonidealities

• DC gain (integrator Q)

• Where a denotes DC gain & θ is related to channel length modulation by:

• Seems no extra poles!

( )

M 1,2m

M 1,20 load

M 1,2

gag g

2LaV Vgs th

L

θ

θλ

=+

=−

=

Small Signal Differential Mode Half-Circuit

Page 24: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 47

CMOS Gm-Cell High-Frequency Poles

• Distributed nature of gate capacitance & channel resistance results in infinite no. of high-frequency poles

Cross section view of a MOS transistor operating in saturation

Distributed channel resistance & gate capacitance

EECS 247 Lecture 7: Filters © 2009 H.K. Page 48

CMOS Gm-Cell High-Frequency Poles

• Distributed nature of gate capacitance & channel resistance results in an effective pole at 2.5 times input device cut-off frequency

High frequency behavior of an MOS transistor operating in saturation region

( )

M 1,2

M 1,2

effective2

i 2 i

effectivet2

M 1,2M 1,2m

t 2

1P1

P

P 2.5

V Vgs thg 3C2 / 3 WL 2 Lox

μ

ω

ω

=

−= =

Page 25: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 49

Simple Gm-Cell Quality Factor

( )M 1,2effective2 2

V Vgs th15P4 L

μ −=( )M 1,2

2LaV Vgs thθ

=−

• Note that phase lead associated with DC gain is inversely prop. to L• Phase lag due to high-freq. poles directly prop. to L

For a given ωο there exists an optimum L which cancel the lead/lag phase error resulting in high integrator Q

( )( )

i1 1o pi 2

2M1,2 o

M1,2

int g. 1real

V Vgs th L1 4int g. 2L 15 V Vgs th

Q

a

Q

ω

θ ωμ

=

≈−

−≈ −

EECS 247 Lecture 7: Filters © 2009 H.K. Page 50

Simple Gm-Cell Channel Length for Optimum Integrator Quality Factor

( )1/ 32

M1,2

o

V Vgs th. 15opt. 4Lθμ

ω

⎡ ⎤−⎢ ⎥≈ ⎢ ⎥⎢ ⎥⎣ ⎦

• Optimum channel length computed based on process parameters (could vary from process to process)

Page 26: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 51

Source-Coupled Pair CMOS Gm-Cell Transconductance

( ) ( )

( )

1/ 22i i

d ssM1,2 M1,2

i M 1,M 2dm

iM 1,2

di

i

v v1I I 1V V V V4gs th gs th

v INote : For small gV V vgs thINote : As v increases or the v

ef fect ive transconductance decreases

⎧ ⎫Δ⎡ ⎤ Δ⎡ ⎤⎪ ⎪Δ = ⎢ ⎥ − ⎢ ⎥⎨ ⎬− −⎢ ⎥ ⎢ ⎥⎪ ⎪⎣ ⎦ ⎣ ⎦⎩ ⎭

Δ⎡ ⎤ Δ→ =⎢ ⎥− Δ⎢ ⎥⎣ ⎦ΔΔ Δ

For a source-coupled pair the differential output current (ΔId)as a function of the input voltage(Δvi):

i i1 i2

d d1 d2

v V V

I I I

Δ = −

Δ = −

EECS 247 Lecture 7: Filters © 2009 H.K. Page 52

Source-Coupled Pair CMOS Gm-Cell Linearity

Ideal Gm=gm

• Large signal Gm drops as input voltage increasesGives rise to nonlinearity

Page 27: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 53

Measure of Linearity

ω1 ω1 3ω1 ωω

2ω1−ω2 2ω2−ω1

Vin Voutω1 ωω2 ω1 ωω2

Vin Vout2 3

1 2 3

23

1

3

2 43 5

1 1

.............

3 . .3

1 ......4

3 .

3 25 ......4 8

Vout Vin Vin Vin

amplitude rd harmonicdist compHDamplitude fundamental

Vin

amplitude rd order IM compIMamplitude fundamental

Vin Vin

α α α

αα

α αα α

= + + +

=

= +

=

= + +

EECS 247 Lecture 7: Filters © 2009 H.K. Page 54

Source-Coupled Pair Gm-Cell Linearity

( ) ( )

( )

( )

( )

1/ 22i i

d ssM 1,2 M1,2

2 3d 1 i 2 i 3 i

ss1 2

M1,2

ss3 43

M 1,2

ss5

v v1I I (1)1V V V V4gs th gs th

I a v a v a v . . . . . . . . . . . . .

Series expansion used in (1)Ia & a 0

V Vgs thIa & a 0

8 V Vgs thIa

128 V Vgs th

⎧ ⎫Δ⎡ ⎤ Δ⎡ ⎤⎪ ⎪Δ = ⎢ ⎥ − ⎢ ⎥⎨ ⎬− −⎢ ⎥ ⎢ ⎥⎪ ⎪⎣ ⎦ ⎣ ⎦⎩ ⎭

Δ = ×Δ + ×Δ + ×Δ +

= =−

= − =−

= −−

65

M 1,2

& a 0=

Page 28: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 55

Linearity of the Source-Coupled Pair CMOS Gm-Cell

• Note that max. signal handling capability function of gate-overdrive voltage

( ) ( )

( )

( )

2 43 5i i

1 1

1 32 4

i i

GS th GS th

i max GS th

rms3 GS th in

3a 25aˆ ˆIM 3 v v . . . . . . . . . . . .4a 8aSubst i tu t ing for a ,a ,. . . .

ˆ ˆv v3 25IM 3 . . . . . . . . . . . .32 1024V V V V

2v̂ 4 V V IM 33

ˆIM 1% & V V 1V V 230mV

≈ +

⎛ ⎞ ⎛ ⎞≈ +⎜ ⎟ ⎜ ⎟− −⎝ ⎠ ⎝ ⎠

≈ − × ×

= − = ⇒ ≈

EECS 247 Lecture 7: Filters © 2009 H.K. Page 56

Simplest Form of CMOS Gm CellDisadvantages

( )

( )( )

since

then

23 GS th

M 1,2m

oint g

o

IM V V

g2 C

W V VCg gs thm ox LV Vgs th

ω

μ

ω

−∝ −

−=

−∝

•Max. signal handling capability function of gate-overdrive

•Critical freq. is also a function of gate-overdrive

Filter tuning affects max. signal handling capability!

Page 29: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 57

Simplest Form of CMOS Gm CellRemoving Dependence of Maximum Signal Handling

Capability on Tuning

Dynamic range dependence on tuning removed (to 1st order)Ref: R.Castello ,I.Bietti, F. Svelto , “High-Frequency Analog Filters in Deep Submicron Technology ,

“International Solid State Circuits Conference, pp 74-75, 1999.

• Can overcome problem of max. signal handling capability being a function of tuning by providing tuning through :

– Coarse tuning via switching in/out binary-weighted cross-coupled pairs Try to keep gate overdrive voltage constant

– Fine tuning through varying current sources

EECS 247 Lecture 7: Filters © 2009 H.K. Page 58

Dynamic Range for Source-Coupled Pair Based Filter

( )3 1% & 1 230rmsGS th inIM V V V V mV= − = ⇒ ≈

• Minimum detectable signal determined by total noise voltage• It can be shown for the 6th order Butterworth bandpass filter

fundamental noise contribution is given by:

2o

int g

int grmsnoise

rmsmax

36

k Tv Q C

Assumin g Q 10 C 5pF

v 160 Vsince v 230mV

230x10Dynamic Range 20log 63dB160x10

3

μ

−−

= =

≈=

= ≈

Page 30: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 59

Simplest Form of CMOS Gm-Cell• Pros

– Capable of very high frequency performance (highest?)

– Simple design

• Cons– Tuning affects max. signal handling

capability (can overcome)

– Limited linearity (possible to improve)

– Tuning affects power dissipationRef: 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 7: Filters © 2009 H.K. Page 60

Gm-CellSource-Coupled Pair with Degeneration

( )

( )dsV small

eff

M 3 M 1,2mds

M 1,2 M 3m ds

M 3eff ds

C Wox 2V VI 2 V Vgs thd ds ds2 L

I Wd V VCg gs thds oxV Lds1g 1 2

g g

for g g

g g

μ

μ

⎡ ⎤−= −⎣ ⎦

∂ −= ≈∂

=+

>>

M3 operating in triode mode source degeneration determines overall gmProvides tuning through varing Vc (DC voltage source)

Page 31: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 61

Gm-CellSource-Coupled Pair with Degeneration

• Pros– Moderate linearity– Continuous tuning provided

by varying Vc– Tuning does not affect power

dissipation

• Cons– Extra poles associated

with the source of M1,2,3 Low frequency

applications only

Ref: Y. Tsividis, Z. Czarnul and S.C. Fang, “MOS transconductors and integrators with high linearity,”Electronics Letters, vol. 22, pp. 245-246, Feb. 27, 1986

EECS 247 Lecture 7: Filters © 2009 H.K. Page 62

BiCMOS Gm-CellExample

• MOSFET in triode mode (M1):

• Note that if Vds is kept constant gm stays constant

• Linearity performance keep gm constant as Vinvaries function of how constant Vds

M1 can be held– Need to minimize Gain @ Node X

• Since for a given current, gm of BJT is larger compared to MOS- preferable to use BJT

• Extra pole at node X could limit max. freq.

B1

M1X

Iout

Is

Vcm+Vin

Vb

Varying Vb changes VdsM1

adjustable overall stage gm

( )M 1m

M 1 B1xm m

in

C Wox 2V VI 2 V Vgs thd ds ds2 LI Wd Cg Vox dsV Lgs

VA g gx V

μ

μ

⎡ ⎤−= −⎣ ⎦∂

= =∂

= =

Page 32: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 63

Alternative Fully CMOS Gm-CellExample

• BJT replaced by a MOS transistor with boosted gm

• Lower frequency of operation compared to the BiCMOS version due to more parasitic capacitance at nodes A & B

A B

+- +

-

EECS 247 Lecture 7: Filters © 2009 H.K. Page 64

• Differential- needs common-mode feedback ckt

• Freq.tuned by varying Vb

• Design tradeoffs:– Extra poles at the input device drain

junctions– Input devices have to be small to

minimize parasitic poles– Results in high input-referred offset

voltage could drive ckt into non-linear region

– Small devices high 1/f noise

BiCMOS Gm-C Integrator

-Vout+

Cintg/2

Cintg/2

Page 33: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 65

7th Order Elliptic Gm-C LPFFor CDMA RX Baseband Application

-A+ +B-+ -

-A+ +B-+ -

-A+ +B-+ -

+A- +B-+ -

-A+ +B-

+-

-A+ +B-

+-

-A+ +B-

+-

Vout

Vin

+C-

• Gm-Cell in previous page used to build a 7th order elliptic filter for CDMA baseband applications (625kHz corner frequency)

• In-band dynamic range of <50dB achieved

EECS 247 Lecture 7: Filters © 2009 H.K. Page 66

Comparison of 7th Order Gm-C versus Opamp-RC LPF

+A- +B-+ -

+A- +B-+ -+A- +B-

+ -+A- +B-

+ -

+A- +B-

+-

+A- +B-

+-

+A- +B-

+-

Vout

Vin

+C-

• Gm-C filter requires 4 times less intg. cap. area compared to Opamp-RC

For low-noise applications where filter area is dominated by Cs, could make a significant difference in the total area

• Opamp-RC linearity superior compared to Gm-C

• Power dissipation tends to be lower for Gm-C since OTA load is C and thus no need for buffering

Gm-C Filter

++- - +

+- -

inV

oV

++- - ++- -

++- -

+-+ - +-+ -

Opamp-RC Filter

Page 34: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 67

• Used to build filter for disk-drive applications

• Since high frequency of operation, time-constant sensitivity to parasitic caps significant.

Opamp used• M2 & M3 added to

compensate for phase lag (provides phase lead)

Ref: C. Laber and P.Gray, “A 20MHz 6th Order BiCMOS Parasitic Insensitive Continuous-time Filter & Second Order Equalizer Optimized for Disk Drive Read Channels,” IEEE Journal of Solid State Circuits, Vol. 28, pp. 462-470, April 1993.

BiCMOS Gm-OTA-C Integrator

EECS 247 Lecture 7: Filters © 2009 H.K. Page 68

6th Order BiCMOS Continuous-time Filter &Second Order Equalizer for Disk Drive Read Channels

• Gm-C-opamp of the previous page used to build a 6th order filter for Disk Drive

• Filter consists of cascade of 3 biquads with max. Q of 2 each• Performance in the order of 40dB SNDR achieved for up to 20MHz

corner frequency

Ref: C. Laber and P.Gray, “A 20MHz 6th Order BiCMOS Parasitic Insensitive Continuous-time Filter & Second Order Equalizer Optimized for Disk Drive Read Channels,” IEEE Journal of Solid State Circuits, Vol. 28, pp. 462-470, April 1993.

Page 35: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 69

Gm-CellSource-Coupled Pair with Degeneration

Ref: I.Mehr and D.R.Welland, "A CMOS Continuous-Time Gm-C Filter for PRML Read Channel Applications at 150 Mb/s and Beyond", IEEE Journal of Solid-State Circuits, April 1997, Vol.32, No.4, pp. 499-513.

• Gm-cell intended for low Q disk drive filter• M7,8 operating in triode mode provide source degeneration for M1,2

determine the overall gm of the cell

EECS 247 Lecture 7: Filters © 2009 H.K. Page 70

Gm-CellSource-Coupled Pair with Degeneration

– Feedback provided by M5,6 maintains the gate-source voltage of M1,2 constant by forcing their current to be constant helps deliver Vin across M7,8 with good linearity

– Current mirrored to the output via M9,10 with a factor of k overall gm scaledby k

– Performance level of about 50dB SNDR at fcorner of 25MHz achieved

Page 36: EE247 Lecture 7 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa09/files07/lectures/L7_2_f09.pdf · EECS 247 Lecture 7: Filters © 2009 H.K. Page 5 Example: Seventh

EECS 247 Lecture 7: Filters © 2009 H.K. Page 71

• Needs higher supply voltage compared to the previous design since quite a few devices are stacked vertically

• M1,2 triode mode

• Q1,2 hold Vds of M1,2 constant

• Current ID used to tune filter critical frequency by varying Vds of M1,2 and thus controlling gm of M1,2

• M3, M4 operate in triode mode and added to provide common-mode feedback

Ref: R. Alini, A. Baschirotto, and R. Castello, “Tunable BiCMOS Continuous-Time Filter for High-Frequency Applications,” IEEE Journal of Solid State Circuits, Vol. 27, No. 12, pp. 1905-1915, Dec. 1992.

BiCMOS Gm-C Integrator

EECS 247 Lecture 7: Filters © 2009 H.K. Page 72

• M5 & M6 configured as capacitors- added to compensate for RHP zero due to Cgd of M1,2 (moves it to LHP) size of M5,6 1/3 of M1,2

Ref: R. Alini, A. Baschirotto, and R. Castello, “Tunable BiCMOS Continuous-Time Filter for High-Frequency Applications,” IEEE Journal of Solid State Circuits, Vol. 27, No. 12, pp. 1905-1915, Dec. 1992.

BiCMOS Gm-C Integrator

1/2CGSM1

1/3CGSM1

M1 M2

M5M6