analog and telecommunication electronics...• understanding of filter types and parameters –...

31
ATLCE - E1 06/05/2016 © 2016 DDC 1 06/05/2016 - 1 ATLCE - E1 - © 2016 DDC Analog and Telecommunication Electronics E1 - Filters type and design » Taxonomy and parameters » Design flow and tools » FilterCAD example » Basic II order cells AY 2015-16 Politecnico di Torino Electronic Eng. Master Degree

Upload: others

Post on 10-Mar-2020

4 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 1

06/05/2016 - 1 ATLCE - E1 - © 2016 DDC

Analog and Telecommunication Electronics

E1 - Filters type and design» Taxonomy and parameters» Design flow and tools » FilterCAD example» Basic II order cells

AY 2015-16

Politecnico di TorinoElectronic Eng. Master Degree

Page 2: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 2

06/05/2016 - 2 ATLCE - E1 - © 2016 DDC

Lesson E1: Filters type and design

• Filter taxonomy and parameters• Design flow• Design tools

– FilterCAD example

• Basic II order cells with Op Amp– Multiple feedback – Finite gain– Two-integrator loop

• References:– Design with Op Amp …: 3, 4.1 Active Filters– Elettronica per Telecom.: 2.1.3 Filtri attivi

Page 3: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 3

06/05/2016 - 3 ATLCE - E1 - © 2016 DDC

Goals of this lesson

• Understanding of filter types and parameters– Low-pass, high-pass, band-pass/reject

• Knowledge of technologies to build filters (not RF)– Passive, active Op Amp, Switched Capacitor

• Use of CAD tools for filter design– Filter design process

• Knowledge of Op Amp circuits for basic cells

• Ability to design II order cells with Op Amps– Finite gain, multiple, feedback, …

Page 4: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 4

06/05/2016 - 4 ATLCE - E1 - © 2016 DDC

Many types of filters

RF filters(betweenantenna and RX/TX amplifiers): tuned circuits(LC) or mechanical(ceramicresonators)

IF channel filters (narrowband-pass), isolate single radio channels). Same technologies as RF

Baseband and audio filters (low-pass). Active filters

Page 5: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 5

06/05/2016 - 5 ATLCE - E1 - © 2016 DDC

Filter types and parameters

• Function of a filter:– Get a defined frequency response

H(ω) = Vo/Vi

• Transfer function type

– High-pass

– Low-pass

– Band-pass/reject

• Lin/log representation

ω

H(ω)Vi Vo

H(ω)

H(ω)

H(ω)

Page 6: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 6

06/05/2016 - 6 ATLCE - E1 - © 2016 DDC

Filter examples - a

• Pass-band– Radio Frequency (GHz)

» Remove outband signals for RX» Reduce harmonics and distortion for TX» Based on tuned circuits

– Intermediate frequency channel» Isolate single channels» Based on LC or mechanical resonators, or digital processing

• Low-pass – Anti-aliasing before ADC, reconstruction after DAC

» Active filters with R, C, Op Amp» Switched Capacitor circuits

Page 7: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 7

06/05/2016 - 7 ATLCE - E1 - © 2016 DDC

Filter examples - b

• High pass – Remove DC (or LF) from the signal

» Cancel offset and other DC errors» R, C, Op Amp, SC

• Band reject– Remove specific interferences

» Low frequency (50/60 Hz)R, C, Op Amp, SC

» EMC/Radio interferers

• Notch filters– Remove a single F

» Tuned circuits» Mechanical filters

Page 8: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 8

06/05/2016 - 8 ATLCE - E1 - © 2016 DDC

Structure of filters (low-pass)

• We can get only approximation of ideal H(ω)

– Causality principle» Hard F limit infinite in time

– Tolerances» Real value of devices

• Any p(s) with real coefficients can be decomposed in I and II order terms, with real coefficients.

– Any p(s) can be built with a cascade of I or II order cells

Page 9: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 9

06/05/2016 - 9 ATLCE - E1 - © 2016 DDC

Filters: design sequence

• Define specifications (filter mask)» Band-pass gain and ripple» Cutoff frequency and slope» Band-reject attenuation

• Filter design» Which approximation?» How many cells?

• Selection of technology» Analog/digital?» Which circuit for basic cells?

• Circuit design » schematic diagram, values of components, tolerances, …

Page 10: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 10

06/05/2016 - 10 ATLCE - E1 - © 2016 DDC

Filter technologies

• Analog filters:– Passive LC (R): inductors, capacitor, (resistors)

» Size, weight, parasitic– Active filters (Op Amps + RC)

» Active device constraints (need power, limited range, …)– SC (Switched Capacitors)

» Most common technique in current ICs

• Digital filters (not addressed in this course): – Need A/D and D/A conversion

» Intrinsic aliasing & quantization errors» Need processing power, memory, …

– Mostly automated design– Digital processing with microP, DSP, FPGA (easy to modify)

Page 11: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 11

06/05/2016 - 11 ATLCE - E1 - © 2016 DDC

Filters: approximation types

• Ideal transfer funct. approximated as polynomials ratio

• Several choices for approximation, such as:

– Bessel» Linear phase, no ripple in passband» Least steep

– Butterworth» No ripple in passband

– Chebicheff» Ripple in passband» Most steep around cutoff

– …. Many others, with different optimizations

Page 12: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 12

06/05/2016 - 12 ATLCE - E1 - © 2016 DDC

Bessel approximation

– Linear phase, constant group delay, no distortion– No ripple in pass-band

Page 13: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 13

06/05/2016 - 13 ATLCE - E1 - © 2016 DDC

Butterworth approximation

– No ripple in pass-band

Page 14: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 14

06/05/2016 - 14 ATLCE - E1 - © 2016 DDC

Chebicheff approximation

– Ripple – Very steep

Page 15: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 15

06/05/2016 - 15 ATLCE - E1 - © 2016 DDC

Cell parameters

• Each cell has a II order response

• ω0 and ξ cannot be directly measured– Design from ω0 and ξ– Test and tuning from peak position (ωα) and amplitude

Design TuningPole number cell

real pole

Page 16: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 16

06/05/2016 - 16 ATLCE - E1 - © 2016 DDC

Filter design tools

• Several deign tools availble on the web

• Linear Technology:http://ltspice.linear.com/software/FilterCAD.zip(simple)

• Texas Instruments:http://www.ti.com/lsds/ti/analog/webench/webench-filters.page

(complete)

• Others ….

Page 17: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 17

06/05/2016 - 17 ATLCE - E1 - © 2016 DDC

Filter design: example 1 - a

• Specs definition, or filter mask– Passband gain– Passband ripple (R)– Stopband attenuation (A)– Passband limit (Fc)– Stopband limit (Fs)

Page 18: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 18

06/05/2016 - 18 ATLCE - E1 - © 2016 DDC

Filter design: example 1 - b

• Design of the filter– Which approximation?– How many poles/cells needed?– Which parameters for each cell?

Page 19: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 19

06/05/2016 - 19 ATLCE - E1 - © 2016 DDC

Filter design: example 1 - c

• Frequency response

time domainstep response

Page 20: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 20

06/05/2016 - 20 ATLCE - E1 - © 2016 DDC

Filter design: example 1 - d

• Select technology– Switched capacitor or R + C + A.O. (active RC) ? – Which basic cell circuit?

Page 21: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 21

06/05/2016 - 21 ATLCE - E1 - © 2016 DDC

II order cells

• The basic II order cell can use:– L, C, (R) – actually used only for RF– Specific IC, with internal Op Amps (e.g. the LTC1562)

• Op Amp with feedback (R, C)– Multiple feedback, Constant gain, Double integrator, …– Critical issue: tolerances

» Need high precision passive components (R, C)» OK for “discrete”, difficult to get inside ICs

• Switched Capacitor circuits far better for integration– High precision ratio of the same component (C)– General trend to use SC to replace R

» Filters, amplifiers, ADC/DAC, …

Page 22: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 22

06/05/2016 - 22 ATLCE - E1 - © 2016 DDC

II order cell with Op Amp: example 1

A

vA

Can be low/high/band pass, depending on choices of Yi

Page 23: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 23

06/05/2016 - 23 ATLCE - E1 - © 2016 DDC

Example circuit: low-pass cell analysis

R1 =

R3 =

R4 =

C2 =

C5 =

Evaluate

n = ?

= ?

H(0) = ?

R3

AOVI

-

+ VU

C5R1

R4

C2

A

Page 24: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 24

06/05/2016 - 24 ATLCE - E1 - © 2016 DDC

Example circuit: frequency response

Bode plot (on the web: Simulators, II order functions, or SPICE analysis)

R3

AO

VI

-

+ VU

C5R1

R4

C2

A

Page 25: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 25

06/05/2016 - 25 ATLCE - E1 - © 2016 DDC

Example circuit: time-domain response

Step response (on the web: Simulators, II order functions, or SPICE analysis)

R3

AO

VI

-

+ VU

C5R1

R4

C2

A

Page 26: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 26

06/05/2016 - 26 ATLCE - E1 - © 2016 DDC

II order cell with Op Amp: example 2

• Finite gain (K) circuit

Page 27: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 27

06/05/2016 - 27 ATLCE - E1 - © 2016 DDC

II order cell with Op Amp: example 3

2-integrator cell

Same circuitprovideslow/band/high-pass

Page 28: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 28

06/05/2016 - 28 ATLCE - E1 - © 2016 DDC

Comparison with LTC1562 cell

The LTC 1562 cell is actually a two-integrator loop. The adder A uses the inverting input of the Op Amp (integrator 1)

Complete data sheet: http://www.linear.com/pdf/1562fa.pdf

I1

I2

I1I2

A

A

Page 29: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 29

06/05/2016 - 29 ATLCE - E1 - © 2016 DDC

Basic cell of LTC1562 filter IC

4 double integrator cells

Parameters defined by external components

Data sheet: http://www.linear.com/pdf/1562fa.pdf

Page 30: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 30

06/05/2016 - 30 ATLCE - E1 - © 2016 DDC

Filter design: example 1 - e

• Final complete circuit diagram (from FilterCAD)

Not the best type ofschematic(topographic/ functional)

Page 31: Analog and Telecommunication Electronics...• Understanding of filter types and parameters – Low-pass, high-pass, band-pass/reject • Knowledge of technologies to build filters

ATLCE - E1 06/05/2016

© 2016 DDC 31

06/05/2016 - 31 ATLCE - E1 - © 2016 DDC

Lesson E1: Final test

• Describe filter taxonomy, based on frequency response.

• Which are the parameters that define a filter?

• For one of tf the filter types, describe the effect of changing the frequency response parameters on the time-domain step response.

• Describe the design flow for a filter.

• Which are the benefits and drawbacks of active filters built with Op Amps?

• Describe at least two circuits to get II order response from RC circuits.

• Draw he diagram of a Multiple Feedback low-pass cell.

• Draw the diagram of a Finite Gain low-pass cell.

• Turn the cell into high-pass.