10
1 Covers O & W pp. 385-427 DTFT Properties and Examples Duality Magnitude/Phase of Fourier transforms 2 Convolution Property Example Example 5.13 (O & W p385) h[ n] = " n u [ n ], x[ n] = # n u [ n ], | " |, | # | < 1 " y[ n] = h[ n ] # x[ n] $ % & Y (e j) = 1 1 ( ) e ( j* 1 1 ( + e ( j– ratio of polynomials in , = e ( jH (e j" ) = 1 1 # $ e # j" , X (e j" ) = 1 1 # % e # j" " # $ : Y (e j% ) = PFE A 1 & $ e & j% + B 1 & " e & j% A, B – determined by partial fraction expansion y[ n] = A" n u [ n] + B# n u [ n]. " = # : Y (e j$ ) = 1 (1 % # e % j$ ) 2 y[ n]=? ny[ n ] " j dY ( e j# ) d# $ % $ $ $ $ $ y[ n] = ( n + 1) & n u [ n] EECE233 Signals and Systems Lecture Note #11 Prof. Joon Ho Cho (Slides thanks to Qing Hu*, D. Boning, D. Freeman, T. Weiss, J. White, and A. Willsky) * These lecture notes are based on the lecture notes used in 6.003 taught by Prof. Qing Hu at M.I.T. These notes are adopted for EECE233 under the permission of Prof. Qing Hu.

EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

1

1

Covers O & W pp. 385-427• DTFT Properties and Examples• Duality• Magnitude/Phase of Fourier

transforms

2

Convolution Property ExampleExample 5.13(O & W p385)

!

h[n] =" nu[n] , x[n] = # n

u[n] , |" |, |# |<1

!

"

y[n] = h[n]# x[n]$ % & Y (ej') =

1

1() e( j'*

1

1( + e( j'

– ratio of polynomials in , = e( j'

!

H(ej") =

1

1#$ e# j", X(e

j") =

1

1# % e# j"

!

" #$ : Y (ej%) =PFE A

1&$ e& j%+

B

1& " e& j%

A, B – determined by partial fraction expansion

!

y[n] = A" nu[n] + B# n

u[n] .

!

" =# : Y (ej$) =

1

(1%# e% j$ )2

y[n] = ?

!

ny[n ]" jdY (e

j#)

d#$ % $ $ $ $ $ y[n] = (n +1)& nu[n]

EECE233 Signals and Systems Lecture Note #11 Prof. Joon Ho Cho (Slides thanks to Qing Hu*, D. Boning, D. Freeman, T. Weiss, J. White, and A. Willsky)

* These lecture notes are based on the lecture notes used in 6.003 taught by Prof. Qing Hu at M.I.T. These notes are adopted for EECE233 under the permission of Prof. Qing Hu.

EECE233
CT에서 parallel한 것을 생각해 보자.
EECE233
증명은?
EECE233
EECE233
EECE233
이 조건들이 violate되면 DTFT들이 존재하지 않는다.
EECE233
앞서 CT에서는 j\omega 의 rational function이었다. 이제는 e^(-j \omega)의 rational function이다. 주의!! e^(+j \omega)의 rational function으로 보지 않는다.
Page 2: EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

2

3

DT LTI System Described by LCCDE’s

— Rationalfunction of e-jω,use PFE to geth[n].

!

aky[n " k] =k= 0

N

# bkx[n " k]k= 0

M

#

!

From time - shifting property : x[n " k]# $ % e" jk&

X(ej&)

!

"

FT on both sides : ake# jk$

Y (ej$) =

k= 0

N

% bke# jk$

X(ej$)

k= 0

M

%

!

"

Devide both sides by ake# jk$

k= 0

N

% : Y (e j$) =

bke# jk$

k= 0

M

%

ake# jk$

k= 0

N

%

&

'

( ( ( (

)

*

+ + + +

H (e j$ )

1 2 4 3 4

X(ej$)

4

Example: First-order recursive system

!

y[n] "#y[n "1] = x[n] , |# |<1

!

with the condition of initial rest " causal

!

b

h[n] =" nu[n] – infinite duration

!

FT on both sides : (1"#e" j$ )Y (e j$) = X(e

j$)

!

H(ej") =

Y (ej")

X(ej")

=1

1#$e# j"

EECE233
Q. 앞서 설명했듯, 주파수영역에서 원하는 시스템을 설계하여 inverser DTFT하여 구한 impulse response를 저장하여 software적으로 DT LTI system을 구현하는 방법은 저가의 빠른 시스템을 구현하는데 적합치않다. CT에서는 RLC그리고op-amp등을 써서 (또는 their equivalents를 써서) approximately 구현했는데 DT에서는 어떻게 하면 될까?
EECE233
A. linear constant coefficient DIFFERENCE equation으로 arbitrary frequency response를 closely approximate할 수 있다는 데 착안하여.... adder, multiplier, 그리고 delay component (또는 shift register)를 써서....
EECE233
Rational
EECE233
function
EECE233
of
EECE233
e-
EECE233
jω,
EECE233
LCCDE에서 과거의 출력이 현재의 y[n]에 영향을 준다. = recursive system이다. first-order=y[n-1]이 영향을 준다.
EECE233
zero input zero output condition이 지켜지면 이 LCCDE으로 나타나는 DT system은 LTI이다.
EECE233
이렇게 impulse response가 infinite duration을 가지는 filter (DT system)을 IIR (Infinite Impulser Response) filter라 한다.
EECE233
LCCDE로 input output relation이 나타난다고 해서 모두 linear system은 아니다. zero input zero output이 만족되도록 initial conditions가 잘 정해져야 한다.
EECE233
EECE233
Q. 다음과 같이 input output relation이 LCCDE로 나타나는 causal DT LTI system의 impulse response를 구하시오.
EECE233
EECE233
EECE233
A. 여전히 LCCDE를 만족한다. 즉, LCCDE가 주어지면 무조건 causal system 인 것은 아니다. 1. adder, constant multiplier, delay components로 구성된 discrete-time circuit => causal하며 LCCDE로 나타남. 그러나 2. LCCDE로 나타남 does not necessarilly imply causal system.
EECE233
Q. 이 문제에서 causal 조건이 없으면 어떻게 될까?
EECE233
initial rest = 임의의 입력이 어떤 t_0까지가 0이면 출력도 t_0까지 0이다. 그러면 system이 initial rest조건을 만족한다고 한다. linear system이 initial rest 조건을 만족한다 <=> linear system 이 causal이다. 주의: LCCDE로 input-output 관계가 나타나는 시스템이 LTI이다. <=> ZIZO이다. proof?
EECE233
h[n] = -a^n u[-n-1] 도 impulse response 로서 가능하다.!!!!!
EECE233
주의: 여기서는 x[n]과 y[n]의 DTFT가 모두 존재한다는 가정하에 변환을 하였다. 모순되는 결과(예를 들어 h[n]이 absolutely 또는 square summable하지 않게 나오는 경우)가 생기면 가정이 잘못된 것이다.
Page 3: EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

3

5

DTFT Multiplication Property

!

y[n] = x1[n] " x

2[n]# $ % Y (e

j&) =

1

2'X1(e

j()X

2(e

j(&)( ))d(

2'*

=1

2'X1(e

j&)+ X

2(e

j&) – periodic convolution

!

=1

2"X1(e

j#)X

2(e

j($%# ))d#

2"& QED

!

Proof : Y (ej") = x

1[n] # x

2[n]e

$ j" n

n=$%

%

&

!

Use synthesis Eq. for x1[n] : =

1

2"X1(e

j#)e

j# nd#

2"$

%

& '

(

) *

x1[n]

1 2 4 4 4 4 3 4 4 4 4

x2[n]e

+ j, n

n=+-

-

.

!

Exchange order of " and # : =1

2$X1(e

j%) x

2[n]e

& j('&% )n

n=&(

(

"

X 2 (ej (' &% )

)

1 2 4 4 3 4 4

)

*

+ +

,

+ +

-

.

+ +

/

+ +

d%2$#

6

Calculating Periodic Convolutions

Suppose we integrate from -π to π:

ˆ X 1

ej!( ) =

X1

ej!( ) , ! " #

0 , otherwise

$ % &

!

Y (ej") =

1

2#X1(e

j$)X

2(e

j("%$ ))d$

%#

#

&

!

can be written as : =1

2"ˆ X

1(e

j#)X

2(e

j($%# ))d#

%&

&

'

Changes a periodic convolution to a regular convolution.

where

EECE233
각각의 DT 신호의 DTFT는 주기 2\pi인 주기신호이고 곱의 DTFT는 이들 주기신호의 periodic convolution이다.
EECE233
Remind that x(t) and y(t) are periodic with same period => x(t)periodic convolution y(t) has the CTFS coefficients that are term by term products of the CTFS coefficients of x(t) and y(t)
Page 4: EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

4

7

y n[ ] =sin ! n 4( )

! n

"

# $

%

& '

2

= x1 n[ ] ( x2 n[ ] , x1 n[ ] = x2 n[ ] =sin ! n 4( )

! n

Y(e j) ) =1

2!X1(e

j) )* X2 (ej) )

Example:

8

Duality in Fourier AnalysisFourier Transform is highly symmetric

CTFT: Both time and frequency are continuous and in general aperiodic

x(t) =1

2!X j"( )e j"td"

#$

+$

%

X j"( ) = x(t)e# j" t

dt#$

+$

%&

Suppose f(*) and g(*) are two functions such that they are a Fourier-transform pair (Eg. f is a square and g is a sinc),

x1(t) = f(t) ↔ X1(jω) = g(ω).

Then for another time-domain function such that,

x2(t) = g(t)

then without doing any math, we should know that

X2(jω) = 2πf (-ω)

Same operation

EECE233
EECE233
DTFT이야기
EECE233
이제는 CT/DT FS/FT이야기
EECE233
EECE233
만약에 f(t)의 CTFT가 g(\omega)라면 g(t)의 CTFT는 2\pi f(-\omega)이다.
EECE233
요약하면, DT의 경우 TD에서의 convolution은 FD에서의 곱이고 TD에서의 곱은 FD에서의 periodic convolution이다.
EECE233
CT의 경우 TD에서의 convolution은 FD에서의 곱이고 TD에서의 곱은 FD에서의 convolution이다. 공통점과 차이점에 유의!!!
EECE233
duality는 '쌍대성'이라 한다.
Page 5: EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

5

9

Example of CTFT dualitySquare pulse in either time or frequency domain

10

Duality between CTFS and DTFT

x(t) = akejk! 0t

k ="#

+#

$ = x(t + T ) !o =2%

T

ak =1

Tx(t)e

" jk! 0tdtT&

x n[ ] =1

2!X(e j" )e j"nd"

2!#

X(e j" ) = x n[ ]e$ j"n

n= $%

+%

& = X(ej " + 2!( ))

CTFS

DTFT

Periodic in time ! " # discrete in frequency

Discrete in time ! " # periodic in frequency

EECE233
Page 6: EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

6

11

Illustration: Periodic in time ! " # discrete in frequency

It is clear that x(t) = ˜ x ( t)! "(t # nT) — sampling functionn= #$

$

%

Any periodic signalx(t) is aconvolution of x(t)in one period with

!

"(t # nT)n=#$

$

%!

"(t # nT)n=#$

$

%

12

Illustration (continued):

Also discrete

From the symmetry of Fourier Transform, the reverse is also true:

Discrete in time DTFT

! " # # # periodic in frequency

Discrete

X( j! )1 2 3 =˜ X ( j! ) "

2#

T$(! %

k2#

T)

k= %&

&

'1 2 4 4 4 3 4 4 4

— also a sampling function

EECE233
EECE233
EECE233
이 신호의 CTFS는 1/T times sum of all harmonics 따라서 CTFT는 2\pi/T sum of delta functions with period 2\pi/T
Page 7: EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

7

13

DTFS

x n[ ] = akejk!

0n

k=<N>

" = x n + N[ ] !o =2#

N

ak =1

Nx n[ ]e$ jk!0 n

k =<N >

" = ak+N

%

Discrete & periodic in time ! " # periodic & discrete in frequency

Suppose f[*] and g[*] are two functions such that they are a FT pair,

x1[n] = f [n] ↔ ak = g[k].

Then for another time-domain function such that,

bk ↔ x2[n] = g[n]

then without doing any math, we should know that

bk = N f [-k]

Samemathematicaloperation

14

Magnitude and Phase of FT, and Parseval Relation

CT:

Parseval Relation:

DT:

Parseval Relation:

x(t) =1

2!X j"( )ej"td"

#$

+$

%

X j"( ) = X j"( )e j&X j"( )

x(t)2dt

#$

+$

% =1

2!X j"( )

2

1 2 4 3 4 d"

#$

+$

%

x n[ ] =1

2!X e

j"( )e j"nd"2!#

X ej"( ) = X e

j"( )ej$X e j"( )

x n[ ]2

=n =%&

+&

'1

2!X e j"( )

2

d"2!#

Energy distribution in ω

EECE233
EECE233
EECE233
f[n]의 DTFS coefficient가 g[k]이면 g[n]의 DTFS coefficient는 Nf[-k]이다.
EECE233
Page 8: EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

8

15

Effects of Phase• Not on signal energy distribution as a function of

frequency

• Can have dramatic effect on signal shape/character

— Constructive/Destructive interference

• Is that important?

— Depends on the signal and the context, not as important as the amplitude in hearing, but very important for image processing.

16

Demo: 1) Effect of phase on Fourier Series

EECE233
전혀 관계없지는 않다. 예를 들어 linear phase shift 가 일어나면 signal이 delay가 되고 이는 우리 귀가 알아챈다. 다만 우리귀는 short time Fourier transform을 하는 것으로 생각할 수 있고 이렇게 짦은 시간동안 서로 다른 phase를 가진 tone신호들이 들어오면 phase는 알아듣지 못한다.
Page 9: EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

9

17

Demo: 2) Effect of phase on image processing

Original image of a boat

Amplitude of FT

Phase of FT

18

Demo:2) Effect of phase on image processing (cont.)

Constructed with the amplitude ofFT of the boat, but with auniform phase.

Constructed with the phase ofFT of the boat, but with auniform amplitude.

Page 10: EECE233 Signals and Systemscisl.postech.ac.kr/class/eece233/lec11.pdf이제는 CT/DT FS/FT이야기 만약에 f(t)의 CTFT가 g(\omega)라면 g( 琀⧇堀 䌀吀䘀咲鐀 尀瀀椀

10

19

Demo:2) Effect of phase on image processing (cont.)

This image was constructed with the phase of FT of the boat, but withamplitude from a very different image –– you wouldn’t have guess it.

20

Demo:2) Effect of phase on image processing (cont.)

The amplitude information for the previous image is from our oldfriend! Cannot make a monkey out of a boat!Next lecture covers O & W pp. 427-472.