2-1 fourier transform for discrete-time signals and systemsnwpu-dsp.com/lecture_notes/2-1 frequency...

50
2-1 Fourier Transform for Discrete-time Signals and Systems

Upload: others

Post on 13-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

2-1 Fourier Transform for Discrete-time Signals and Systems

Page 2: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Discussions

◼ What is the impulse response? How to obtain it?

◼ How to obtain the output of an LTI system given the input?

◼ How about if the impulse response is an IIR?

◼ What domain are we talking about?

Page 3: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Frequency Representation

Red

Orange

Yellow

Green

Blue

Indigo

Violet

Page 4: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

The World in Frequency Domain

◼ What you hear…

Frequency or spectrum analysis & process

Page 5: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

◼ What you see…

The World in Frequency Domain

Page 6: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Examples of frequency range

Signals related to communications:

Radio broadcast, shortwave radio signals, radar, satellite communications, space communications, microwave, Infrared, Ultraviolet, Gamma rays and X rays… They all have their frequency range, respectively.

Page 7: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Examples of frequency range

Frequency Range

3G:1880MHz-1900MHz & 2010MHz-2025MHz

4G:1880-1900MHz & 2320-2370MHz & 2575-2635MHz

Page 8: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Example of Frequency Analysis

◼ Frequency and time in terms of Fourier Transform

Page 9: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

1822

Fourier

Laplace Lagrange

Page 10: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Frequency Analysis

◼ Continuous-Time Periodic SignalsExamples: square waves, sinusoids…

Fourier Series

−=

=k

tjk

kectx 0)(

Linear weighted sum of sinusoids or complex exponentials

−−

=0

0

0)(2

0

dtetxc

tjk

k

Analysis Synthesis

Page 11: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

◼ Continuous-Time Aperiodic Signals

Fourier Transform

dejXtx tj

−= )(

2

1)( dtetxjX tj −

−= )()(

Analysis Synthesis

Page 12: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

◼ Discrete-Time Periodic Signals

Fourier Series

=

=1

0

2

][N

k

knN

j

kecnx

Analysis Synthesis

=

=1

0

2

][1 N

k

knN

j

k enxN

c

Page 13: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

◼ Discrete-Time Aperiodic Signals

Fourier Transform

deeXnx njj

−= )(2

1][

Analysis Synthesis

nj

n

j enxeX −

−=

= ][)(

Page 14: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Discussions

◼ Is Fourier Transform the only way to represent signals in the frequency domain?

◼ Why is Fourier Transform designed that way?

◼ Does any signal or system have its Fourier Transform?

Page 15: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Eigenfunctions for LTI systems

◼ Eigenfunction:In mathematics, an eigenfunction of a linear operator, A, defined on some function space is any non-zero function f in that space that

returns from the operator exactly as is, except for a multiplicative

scaling factor.

fAf =

Page 16: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

◼ Eigenfunctions for LTI systems:

Sinusoidal or componential sequences

If we apply a sinusoidal sequence input to an LTI system, the

output will be sinusoidal with the same frequency as the input, while the

][n

][n

Page 17: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

njenx =][][ny][nx

][nh

)(][][ knj

k

ekhny −

−=

=

kj

k

nj ekhe −

−=

= ][

kj

k

j ekheH −

−=

= ][)(

If define

njj eeH )(=

EigenfunctionEigenvalue

Frequency Response:

Related to the frequency!!!

Page 18: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

◼ The frequency response is complex

)()()( j

I

j

R

j ejHeHeH +=

))(arg()()( jeHjjj eeHeH =

Rectangular Form – real and imaginary parts

Polar Form – magnitude and phase parts

Page 19: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[ ] [ ]nx n a u n=

=

−=0

)(n

njnj eaeX

=

−=0

)(n

njae

jae−=

-1

11aif

Page 20: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

◼ The frequency response is periodic

kj

k

j ekheH −

−=

= ][)(

kjkjkjkj eeee −−−+− == 2)2(

kj

k

j ekheH )2()2( ][)( +−

−=

+ =

)()(

)()(

)2(

)2(

jrj

jj

eHeH

eHeH

=

=

+

+

period 2

r:

integer

0 2

Depict it

Page 21: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

◼ The frequency response is continuous

deeXnx njj

−= )(2

1][ nj

n

j enxeX −

−=

= ][)(

Discrete in Time

Continuous in Frequency

Page 22: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

2

of multiple odd

tocolse0 2

of multipleeven

20toclose or

Frequency

high

low

Page 23: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

◼ Example 4.1: frequency response of the ideal delay system

][][ dnnxny −=

][ny][nx}{T

][][ dnnnh −=d

dd

njj

njnjnnj

eeH

eeeny

−−

=

==

)(

][)(

njenx =][

Page 24: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Example 4.2: Ideal frequency-selective filters

)( jhp eH

−c

c−

1

)( jlp eH

−c

c−

1

Page 25: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

)( jbs eH

−a

1

ba−b−

)( jbp eH

−a

1

ba−b−

Page 26: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

◼ E.g. 1 Frequency response

of the moving-average system (p44)

−=

−++

=2

1

][1

1][

21

M

Mk

knxMM

ny

++=

−++

= −=

otherwise

MnMMM

knMM

nhM

Mk

,0

,1

1

][1

1][

21

21

21

2

1

Smooth out rapid variations

Lowpass filtering

Page 27: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

2

1

1 2

1 2

1 2

1,1

1[ ] [ ]1

0,

M

k M

M n MM Mh n n k

M Motherwise

=−

+ += − = + +

2

1 1 2

1( )

1

Mj j n

n M

H e eM M

=−

=+ +

2 1( )1 2

1 2

sin[ ( 1) / 2]1( )

1 sin( / 2)

j M Mj M MH e e

M M

− −+ +=

+ +

Periodic

Lowpass filtering

Page 28: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Steady-state and transient responses

◼ Suddenly applied complex exponential inputs: suddenly applied at an arbitrary time (n = 0 here)

][][ nuenx nj=

=−

=

njkjn

k

eekh

n

ny

0

][

0,0

][

Causal LTI

+=

==

−100

)()()(nkk

n

k

0

[ ] [ ]

'

j k

k

y n e h n k

k n k

=

= −

= −

Page 29: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

njkj

nk

njkj

k

eekheekhny

= −

+=

=

10

][][][

Steady-state response

transient response

njkj

k

ss eekhny

= −

=

0

][][

njj

ss eeHny )(][ =

njkj

nk

t eekhny

= −

+=

1

][][

=

+=

01

][][][knk

t khkhny

Page 30: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

FIR

IIR

+=

+=

=11

][][][nk

njkj

nk

t kheekhny

1

)(][][

==

Mnfor

eeHnyny njj

ss

1. If the samples of the impulse response approach

zero with increasing n, so

does the transient response

2. For a stable system, the transient response dies out

when n approaches infinity.

Mnforexcept

nh

=

0

0][

=

0

][][k

t khny

Bounded

Page 31: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Representation of Sequences by Fourier Transforms

◼ Many sequences can be represented by

Fourier Integral

deeXnx njj

−= )(2

1][

Analysis –

Inverse Fourier Transform

Synthesis –

Fourier Transform

nj

n

j enxeX −

−=

= ][)(

Page 32: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

)()()( j

I

j

R

j ejXeXeX +=

))(arg()()( jeXjjj eeXeX =

Rectangular Form – real and imaginary parts

Polar Form – magnitude and phase parts

Magnitude spectrum

or amplitude spectrum

Phase spectrum

Restricted in the range of

Page 33: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Frequency response of LTI systems

deeHnh njj

−= )(2

1][

][ny][nx][nh

nj

n

j enheH −

−=

= ][)(

Page 34: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

◼ Does any signal or system have its Fourier Transform?

Page 35: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

◼ Convergence of the infinite sum

Conditions for Fourier Transform

deeXnx njj

−= )(2

1][

nj

n

j enxeX −

−=

= ][)(

allforeX j )(Convergence

Sufficient condition: x[n] is absolutely summable

Proof

Page 36: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

nj

n

j enxeX −

−=

= ][)(

−=

n

nx ][

−=

−n

njenx ][

−=

)(

][

j

n

eX

nxif

Since a stable sequence is absolutely summable, all stable sequences have Fourier transforms.

And any FIR system is stable and has the Fourier transform

Page 37: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Absolute summability is a sufficient condition for the existence of a Fourier transform representation.

And it also guarantees uniform convergence.

If some sequences are not absolutely summable, but are square summable, such sequences can be represented as Fourier transform if the condition of uniform convergence is relaxed.

Page 38: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

−=n

nx2

][

−=

−=

=

=

M

Mn

njjM

n

njj

enxeX

enxeX

][)(

][)(

0)()(lim2

=−−→

deXeX j

M

j

M

Square summable

The absolute error

may not approach zero at each value of , as

but the total energy in the error does.

)()( j

M

j eXeX −

→M

Page 39: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Example: Square-summability for the ideal lowpass filter

1, ,( )

0, ,

cj

lp

c

H e

=

)( jlp eH

−c

c−

1

1[ ]

2

1 1( )

2 2

sin,

c

c

cc c

c

j n

lp

j n j nj

c

h n e d

e e ejn jn

nn

n

=

= = −

= −

sin j nc

n

ne

n

=−

Page 40: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Square-summability for the ideal lowpass filter (p52)

sin( )

Nj j nc

N

n N

nH e e

n

=−

=

Page 42: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

sin( )

Mj j mc

M

m M

mH e e

m

=−

=

Page 43: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,
Page 44: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Fourier transform for some special sequences

−=−

−=

−=

−=

++−

=

+−==

+−==

+==

rj

j

r k

kk

j

k

nj

k

r

jnj

r

j

re

eUnu

raeXeanx

reXenx

reXnx

k

)2(1

1)(][

)2(2)(][

)2(2)(][

)2(2)(1][

00

Page 46: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

have aperiodic spectra

have spectra

◼ Periodic signals have (Fourier series)

have continuous spectra

Page 47: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Exercise: Does the following signal has a Fourier transform?

[ ] [ ]nx n a u n=

Page 48: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Conclusions

◼ Frequency-domain representation for systems and sequences, Fourier transform

◼ Next lectures: Symmetry Properties of The Fourier Transform, Fourier Transform Theorems, Discrete Fourier Series, Properties of the Discrete Fourier Series

Page 49: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,
Page 50: 2-1 Fourier Transform for Discrete-time Signals and Systemsnwpu-dsp.com/Lecture_notes/2-1 Frequency and Fourier Transform.pdfFrequency-domain representation for systems and sequences,

[email protected]

Assignment

◼ Preparation for the next lecture:

◼ Solve problems 2.8, 2.11

◼ Watch the movie of “Interstellar”

End of lecture 4

Thanks!