Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf ·...

38
Jump to first page 1 Thanks for some of the material to David Hernandez Garduño HIGHER-ORDER FILTERS Cascade of Biquad Filters Follow the Leader Feedback Filters (FLF) ELEN 622 (ESS)

Transcript of Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf ·...

Page 1: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

1

Thanks for some of the material to David Hernandez Garduño

HIGHER-ORDER FILTERS

• Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF)

ELEN 622 (ESS)

Page 2: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

2

CASCADE FILTER DESIGN )()()()()( 21 sHsHsHsHsH Nii

Ni =Π= =

Is the order in which sections are connected important?

• Mathematically is irrelevant • On one hand, to avoid loss of dynamic and to avoid signal clipping in the high-Q sections use:

NQQQ ⋅⋅<< 21

• On the other to minimize noise, use

NQQQ >> 21

• What is the optimal ordering to yield the best S/N?

Vi 1

101 ,,G

2

202 ,,G

N

NN

G

Q ,,0ω

Page 3: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

3

even isn )()(

)(

2

1

221

22

stksH

QssasasaksH

ii

n

i

oiioi

oiiiii

=Π=

++++

=ωω

How do we assign pole-zero pairs? Proposition 1. Minimize the maximum value of di where

i

ii m

Gd log= , Gi and mi are the maximum and minimum gain in the

frequency range of interest, HL ωωω ≤≤ . Then determine the optimal

sequence of the biquad sections, such that again the maximum number di is minimized. The final step is to assign the gain constants (ki) of the biquads. To yield optimal dynamic range i.e. ,

( ) ( )ωωω jVjVjV outnooi maxmax)(max 2, ==

Proposition 2. To jointly optimize signal gain and noise gain. Noise by itself is minimized by assigning the largest possible gain to the first-stage, then the second with the largest gain among the other stages and so on.

Page 4: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

4

Realization of High Order Transfer Functions (N>2) Cascade of 2nd order sections (one 1st

order section if N is odd) Leapfrog Follow-The-Leader

Cascade FLF Leap-Frog

Sensitivity High Medium Low

Easy to Tune

Medium Easy Difficult

Page 5: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

5

Primary Resonator Block

It provides compensatory internal interactions between the different filter sections through coupling the biquad building blocks.

F1 is incorporated in BP1.

Vout

BP1

BP2

BP3

+

-F2

-F3

Vin

Page 6: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

6

+ T1(s) T2(s)

Tn(s) . .

+

Vin a . Vo

-F1

-F2

-Fn

V1

V2 . . . .

Bo

B1

Bn B2

Vn

Vout

Follow-the-Leader Feedback Filter Topology

[ ]∑

∑ Π

Π

= =

= =

= =

=

Π+

+==

Π+

==

n

k j

k

jk

n

k j

k

jko

in

out

n

k j

k

jk

j

n

j

in

nn

sTF

sTBBa

VVsH

sTF

sTa

VVsH

1 1

1 1

1 1

1

)(1

)()(

)(1

)()(

Page 7: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

7

Design Questions:

How do we obtain the feedback coefficients F2 and F3?

How do we determine the specifications for each biquadratic section?

Q

ωo

Gain

Page 8: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

8

Design Procedure

+

-F2

-F3

Vout Vin

K0 kskK+1 ks

kK+2 ks

kK+3

However Elliptic Filters need finite zeros in their lowpass equivalent transfer function.

Start with the Lowpass equivalent system.

Page 9: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

9

Implementation of Finite Zeros by the Summation Technique

Vout

+

-F2

-F3

+

B0 B1 B2 B3

Vin K0 ks

kK+1 ks

kK+2 ks

kK+3

V0 V1 V2 V3

Page 10: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

10

EXAMPLE To design a 6th order bandpass elliptic

filter using the Follow-the-Leader (FLF) architecture. The specifications are:

Specification Value

Order 6

Passband 1.9MHz to 2.1MHz

Passband Ripple 0.1dB

Attenuation ≥30dB at 0.6MHz

Page 11: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

11

Design Procedure Let for now K1=K2=K3=1

and (1)

Applying Mason’s rule, the complete transfer function is given by: (2)

ksksT+

=)(

)()(1)()()(

)()()( 3

32

2

33

2210

0 sTFsTFsTBsTBsTBBK

sVsVsH

in

out

+++++

==

( ) ( ) ( )( ) ( ) 3

32

23

33

22

21

30

0 kFkskFkskBkskBkskBksBK

++++++++++

=

Page 12: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

12

Design Procedure From Matlab or Fiesta, we can obtain the lowpass prototype transfer function of the

desired 6th Order Elliptic Filter:

(3) Equating the denominators of equations (2) and (3), we obtain the following set of

equations from which we can solve for k, F2, and F3.

(4) Also from equations (2) and (3)

(5)

012

23

012

23

3

0

0)(asasasbsbsbsb

bamsH

++++++

=

( ) 03

32

12

22

2

1

3

3

akFF

akFk

ak

=++

=+

=

0

00 b

amK =

Page 13: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

13

Design Procedure To obtain the summation coefficients, we equate the numerators of equations (2) and

(3). If H(s) is a bandpass: B0=b3=0. Then, we obtain the following set of equations from which we can determine B1, B2 and B3.

(6)

( ) 03

321

12

21

21

30

2

0

bkBBB

bkBkB

bkBbB

=++

=+

===

Page 14: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

14

Designing for Maximum Dynamic Range We need to distribute the gains of

each section T(s), i.e. K1, K2 and K3 such that we maximize the Dynamic Range.

The maximum dynamic range will be obtained if the signal spectra at the output of all sections have equal maxima, i.e.

Vout,max=V3,max=V2,max=V1,max=V0,max

Page 15: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

15

Maximizing Dynamic Range

To make V3,max= Vout,max

(7) where

(8) We also need to adjust the summation coefficients to keep the overall gain:

(9)

If we assume a flat spectrum for the input, i.e. Vin(ω)=1 (10)

qKKK 000 =′→

scalingtopriorscalingtoprior

VV

q out

←←

=max,3

max,

qBBB i

ii =′→

)(max, ωHMaxVout =

)(3max,3 ωHMaxV =

Page 16: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

16

Gain Values Determination

Where

(11) To obtain K1, K2 and K3 :

(12)

012

23

3

03

3 )()()(

asasaskK

sVsVsH

in +++==

.3,2,1

)(

)(

23

2

22

3

24

2

22

3

=

+

+

=−

iforkHMax

kHMax

Ki

i

i

ωωω

ωωω

Page 17: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

17

Feedback Coefficients The feedback coefficients need to be readjusted to keep the same loop gains:

(13)

The summation coefficients also need to be readjusted again:

(14)

21

222 KK

FFF =′→

321

333 KKK

FFF =′→

qBBB

qKBBB

qKKBBB

1333

3222

32111

=′→

=′→

=′→

Page 18: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

18

Summary of Design Procedure

Obtain from Matlab or Fiesta the lowpass prototype for the desired filter. From equations (4), (5) and (6), obtain K0, the feedback and the summation

coefficients. To maximize dynamic range, obtain q using equation (8). Recalculate K0 using

equation (7). Calculate the gain of each section, i.e. K1, K2 and K3 using equation (12). Recalculate the feedback and summation coefficients using equations (13) and (14). Finally, apply a lowpass-to-bandpass transformation to obtain the desired bandpass

filter specifications:

where Q is the quality factor of the overall filter and Q0 is that required for each biquad section.

Note: A Matlab program was written to automate the design procedure for an arbitrary filter specification of order N.

kQQ

ff UL

=

=

0

0 2πω

Page 19: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

19

Summary of Results For the required specifications, the following values were obtained:

Feedback Coefficients F2 = 0.657640 F3 = 0.227545

Feedforward Coefficients B0 = 0 B1 = 0.169792 B2 = -0.216571 B3 = 1.129814

Gain for the input and each biquad stage

K0 = 0.604488 K1 = 2.349 K2 = 2.165 K3 = 2

Center frequency and Q0 of each biquad stage

f0 = 1.9975MHz Q0 = 15.7

Page 20: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

20

Simulation Results System Level

The complete filter was simulated in Cadence at a system-level. The results are shown below:

Magnitude Response Phase Response

Ripple ≤ 0.1dB

Page 21: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

21

Transistor Level Implementation To implement each biquadratic section, a two-

integrator loop biquad OTA-C filter was used.

Advantages with respect to Active-RC: Easy Tunability by changing the bias currents

of the OTAs. (Active-RC needs the use of varactors).

Lower Power Consumption and Smaller Area.

Disadvantages with respect to Active-RC: Smaller Dynamic Range Poorer Linearity

Page 22: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

22

Transistor Level Implementation of each Biquad Section

Vout

Vin gm1+

-

OUT

gm4

+

-

OUT

gm2+

-

OUT

gm3

+

-

OUTC1

C2

R

R

12

32

1

42

1

1

)(

CCgg

Cgss

Cgs

sHmmm

m

++=

Page 23: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

23

The lossless integrator was designed to have unity gain at f0=1.9975MHz.

The following specifications are needed if a 5% variation in Q is allowed:

Design of Lossless Integrator This image cannot currently be displayed.

°=×=

−≤ − 086.0105.11

21: 3 rad

QQ

QPhaseExcess

aEφ

dB

QQ

QAGainDC

a

V 58.556021

2: ==−

1)(2

2 ==C

gH m

ωω

VAgm µ52.3763 =

pFC 302 =

Page 24: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

24

Design of Lossless Integrator

Due to the relatively high DC gain required for the OTA, a folded-cascode topology was used:

VSS

VDD

M1 M2

M3 M4 M5

M6 M7

M8M9

M10 M11

M12 M13

Ibias

M14

Vin+Vout

Vin-

Vbp

Vbn

Transconductance DC Gain GBW Bias Current Power Consumption Active Area

376.52µA/V 64.1dB 263MHz 40µA 792µW 727µm2

Page 25: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

25

Simulation Results of the Lossless Integrator The excess phase without any compensation was

1.17°. Passive excess phase compensation was used

→R=55Ω.

Magnitude Response Phase Response

Page 26: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

26

Design of Biquadratic Bandpass Filter

To reuse the designed OTA:

Transconductance gm1 depends on Ki

For demonstrations purposes, gm1=gm4, i.e. K=1

VAgg mm µ52.37623 ==

pFCC 3021 ==

VAQCgm µω 827.230

0

14 ==

41 mim gKg =

Page 27: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

27

Design of Biquadratic Bandpass Filter

Due to the relatively small transconductance required, source degeneration was used. Also, a PMOS differential pair was more suitable.

Transconductance DC Gain GBW Bias Current Power Consumption Active Area

23.827µA/V 61.15dB 62.3MHz 14µA 277.2µW 820µm2

VSS

VDD

M9 M8

M11M10

M13M12

R

M14

Ibias

M1 M2

M3A M3BM4 M5

M7M6

VoutVin+ Vin-

Vbp

Vbn

Page 28: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

28

Simulation Results of the Biquadratic Bandpass Filter

Frequency Response Step Response

Page 29: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

29

Summation Nodes To complete the transistor-level design, we need two summation

nodes:

+

-F2

-F3

+

B0 B1 B2 B3

Vout

Vin K0 ks

kK+1 ks

kK+2 ks

kK+3

V0 V1 V2 V3

Page 30: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

30

Summation Nodes

Vin

V2

V3

V0

K0 gm0+

-

OUT

F2 gm0

+

-

OUT

F3 gm0

+

-

OUTgm0

+

-

OUT

V2

Vout

V1

V3

gm0

+

-

OUT

B3 gm0+

-

OUT

B2 gm0

+

-

OUT

B1 gm0+

-

OUT

The summation nodes can be implemented with OTAs in the following configurations:

Summation Node for the Feedback Paths Summation Node at the Output

If gm0 is chosen large enough, the output resistance of each OTA does not need to be very high. Excess Phase of OTAs can be a concern.

Page 31: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

31

Summation Nodes Due to the desired low excess phase introduced by the OTAs, it is more

convenient to use a simple differential pair.

Transconductance Bias Current Power Consumption Active Area 300µA/V 40µA 264µW 269µm2

VDD

VSS

M2

M12

M1

M13

M3

Ibias

M9

Vin-

Vout

Vin+

Page 32: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

32

Simulation Results of the Complete FLF Filter (Transistor vs. System Level)

Magnitude Response Phase Response

Ripple ~0.2dB

Page 33: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

33

Simulation Results of the Complete FLF Filter (Transistor vs. System Level)

Transient Response to a Sinewave Step Response

Page 34: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

34

Summary of Results Specification Value

Passband 1.9MHz to 2.1MHz

Passband Ripple ~0.2dB

Attenuation ≥40dB at 0.6MHz

Power Consumption 8.53mW

Active Area 11,434µm2

Total Area ~ 211,549µm2

Page 35: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

35

Problems to be considered Voltage Swing: The allowable input voltage swing is only 100mV. A small voltage

swing is expected, since the OTAs have a small linear range limited by ±VDSAT of the input transistors (in case no linearization technique is used, such as source degeneration or others). Nevertheless, 100mV is too small and is basically because the OTAs with gm=376.52µA/V use input transistors with a small VDSAT and no linearization technique is being used. I need to redesign these OTAs to increase the linear range.

Bias Network: To design the bias network for the folded-cascode OTAs capable of effectively tracking changes of VT due to process variations.

Sensitivity and Tunability: To characterize the complete filter in terms of sensitivity and tunability.

Layout

Page 36: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

36

Another structure for higher-order filters that can be obtained from the FLF is the inverse FLF by using a transposed signal-flow graph.

Bo

+ T1(s) T2(s)

Tn(s) . + Vn a -F1

-F2

-Fn

Vn-1 Vn-2

Bo

B1

Bn

Vo

Vin

+

. B2

+ T1(s) T2(s)

Tn(s) + Vin a Vo

-F1 -F2

-Fn

V1

B1

Bn

B2

Vn-2 Vn + +

Vn-1

IFLF

Page 37: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

37

References [1] Sedra, Brackett. Filter Theory and Design: Active and

Passive. Matrix Series in Circuits and Systems. pp. 589-659. [2] Deliyannis, Sun, Fidler. Continuous-Time Active Filter Design.

CRC Press 1999. pp. 151-180. [3] G. Hurtig, III. The Primary Resonator Block Technique of

Filter Synthesis Proc. Int. Filter Symposium, p.84, 1972. [4] Barbargires. Explicit Design of General High-Order FLF OTA-

C Filters. Electronics Letters. 5th August 1999, Vol. 35, No. 16, pp. 1289-1290.

[5] Jie Wu, Ezz I. El-Masry. Synthesis of Follow-the-Leader

Feedback Log-Domain Filters. IEEE 1998. 0-7803-5008-1/98. pp. 381-384.

Page 38: Cascade of Biquad Filters • Follow the Leader Feedback ...s-sanchez/622-FLF-Cascade 2011.pdf · • Cascade of Biquad Filters • Follow the Leader Feedback Filters (FLF) ELEN 622

Jump to first page

38

References (cont.)

[6] G. S. Moschytz, “Linear Integrated Networks-Design”, Van Nostrand, Reinhold, New York 1975 [7] R. Schaumann, M.S. Ghaussi, and K.R. Laker, “Design of Analog Filters: Passive, Active RC and Switched Capacitor”, Prentice Hall, Englewood Cliffs, 1990. [8] A.S. Sedra, and P.O. Brackett, “Filter Theory and Design: Active and Passive”, Matrix, Portland 1978. [9] W.M. Snelgrove, and A.S. Sedra, “Optimization of Dynamic Range in Cascade Active Filters”, Proc. IEEE ISCAS, pp. 151-155, 1978.