signals & systemssignals &...

20
Lecture 7 (Chapter 3) Signals & Systems Signals & Systems Fourier Response and Filtering Ad tdf L t t f MIT Adapted from: Lecture notes from MIT Hamid R. Rabiee Ali Soltani Fall 2011

Upload: others

Post on 01-Sep-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Signals & SystemsSignals & SystemsFourier Response and Filtering

Ad t d f L t t f MITAdapted from: Lecture notes from MITHamid R. Rabiee

Ali Soltani

Fall 2011

Page 2: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

The Eigenfunction Property of Complex Exponentialsg p y p p

h(t)ste stesH )(CT:

∞−

−= dtethsH st)()(CT"System Function"

h[n]nz nzzH )(DT:

∞−=

−=n

nznhzH ][)(DT"System Function"

Sharif University of Technology, Department of Computer Engineering, Signals & Systems2

Page 3: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Fourier Series: Periodic Signals and LTI Systemsg y

h(t)∞

= tjkeatx 0)( ω ∞

= tjkeajkHty 0)()( ωωh(t)−∞=

=k

keatx )( −∞=

=k

keajkHty )()( 0ω

kk ajkHa 0 )( ω→ )(00

0|)(|)( ωωω jkHjejkHjkH ∠=Includes both amplitude & phasegain""

So |ak|→|H(jkω0)||ak| or powers of signals get modified through filter/system

Includes both amplitude & phase

h[n] 0 0[ ] ( )jk jk tk

k Ny n H e a eω ω

=< >

= >=<

=Nk

njkkeanx 0][ ω

k

gain

jkk aeHa

""

)( 0ω→ )( 000 |)(|)(

ωωω jkeHjjkjk eeHeH ∠=Includes both amplitude & phase

Sharif University of Technology, Department of Computer Engineering, Signals & Systems3

Page 4: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

The Frequency Response of an LTI Systemq y p y

H(jω)tje ω tjejH ωω)(H(jω)e j )(

)( ωjs =CT Frequency response: dtethjH tjωω −∞

∞−= )()(

H(ejω)nje ω njj eeH ωω )(H(ej )e )(

)( ωjez =∞

DT Frequency response:nj

n

j etheH ωω −∞

−∞== )()(

Sharif University of Technology, Department of Computer Engineering, Signals & Systems4

Page 5: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Frequency Shaping and Filteringq y p g g

By choice of H(jω) (or H(ejω)) as a function of ω, we can shape the frequency composition of the output

• Preferential amplification

• Selective filtering of some frequencies• Selective filtering of some frequencies

Sharif University of Technology, Department of Computer Engineering, Signals & Systems5

Page 6: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Example #1: Audio Systemp y

For audio signals, the amplitude is much more important than the phase.

Sharif University of Technology, Department of Computer Engineering, Signals & Systems6

Page 7: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Example #2: Frequency Selective Filtersp q y

Filter attenuates signals outside of the frequency range of interest

Lowpass Filters: Only amplitude shown here.

Note for DT:

)()( )2( πωω += jj eHeH

Sharif University of Technology, Department of Computer Engineering, Signals & Systems7

Page 8: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Lowpass Filteringp g

Sharif University of Technology, Department of Computer Engineering, Signals & Systems8

Page 9: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Highpass Filtersg p

Remember:)1( =− πnjn e

DTin frequency highest =π high frequency

high frequency

Sharif University of Technology, Department of Computer Engineering, Signals & Systems9

Page 10: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Highpass Filteringg p g

Sharif University of Technology, Department of Computer Engineering, Signals & Systems10

Page 11: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Bandpass Filtersp

Sharif University of Technology, Department of Computer Engineering, Signals & Systems11

Page 12: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Bandpass Filteringp g

Sharif University of Technology, Department of Computer Engineering, Signals & Systems12

Page 13: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Idealized Filters

CT

ωcCutoff frequency

Stopband Passband Stopband

DT

Note: |H| = 1 and ∠H = 0 for the ideal filters in the passbands, no need for the phase plot.

Sharif University of Technology, Department of Computer Engineering, Signals & Systems13

no need for the phase plot.

Page 14: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Idealized Highpassg p

CT

DT

Sharif University of Technology, Department of Computer Engineering, Signals & Systems14

Page 15: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Idealized Bandpassp

CT

lower cut-off upper cut-offDT

Sharif University of Technology, Department of Computer Engineering, Signals & Systems15

Page 16: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Example #3: DT Averager/Smootherp g

]}1[][]1[{31][ +++−= nxnxnxny

FIR (Finite ImpulseResponse) filters

FIR (Finite Impulse Response) filters

]}1[][]1[{31][ +++−= nnnnh δδδ

p )p )

ωωωωω cos32

31]1[

31][)( +=++== −

−∞=

− jj

n

njj eeenheH

LPF

Sharif University of Technology, Department of Computer Engineering, Signals & Systems16

Page 17: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Example #4: Nonrecursive DT (FIR) filtersp ( )

][1

1][][1

1][ δ −++

=→−++

=−=−= kn

MNnhknx

MNny

M

Nk

M

Nk

)2/sin(]2/)1(sin[

11

11)( ]2/)[(

ωωωωω ++

++=

++= −

−=

−=−=

NMeMN

eMN

eH MNjM

Nk

jkj

NkNk

Rolls off at lower ω as M+N+1

increases

Sharif University of Technology, Department of Computer Engineering, Signals & Systems17

Page 18: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Example #5: Simple DT “Edge” Detectorp p g

]}1[][{1][ −−= nxnxny

DT 2-point “differentiator”

]}1[][{21][

]}1[][{2

][

−−=

−−=

nnnh

nxnxny

δδ

)2/sin()]([2

2/2/2/2/ ωωωωω jjjj jeeeejj −−− =−

/ 21( ) (1 ) sin( / 2)2

j j jH e e jeω ω ω ω− −= − =

Passes high-frequency components|)2/sin(||)(| ωω =jeH

Sharif University of Technology, Department of Computer Engineering, Signals & Systems18

Page 19: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Example #6: Edge enhancement using DT diffrentiatorp g g

Courtesy of Jason Oppenheim. Used with permission.

Courtesy of Jason Oppenheim UsedOppenheim. Used with permission.

Sharif University of Technology, Department of Computer Engineering, Signals & Systems19

Page 20: Signals & SystemsSignals & Systemsce.sharif.edu/courses/90-91/1/ce242-1/resources/root... · 2020. 9. 7. · Lecture 7 (Chapter 3) Example #2: Freqqyuency Selective Filters Filter

Lecture 7 (Chapter 3)

Example #7: A Filter Bankp

Sharif University of Technology, Department of Computer Engineering, Signals & Systems20