l, digital c,ommunicatiofi - massachusetts institute of...

34
/ h(t) JJl J r L, ---1~ rf (free. domain) a M ~ "II, i\ .il II j, !i ~.: ' II I I N\ 1\ !A (! ! i .1 i; ,I \,) \~ 1 I 1'\ i I 1.1 I ~l '['Ii If I 1/" \! ,~i \. !\: \4 "I .~ lfjl Y i ! 1 I( \! \ J - 1'1 (!,fi:1 I' , ." ! .ao~J- '.~ Ii... ! lny -: :)(:1; I~Q ·10 1m- 11R so W,,· -=--------.:~, ,~ , r "~ ,,6:02 Spring 2010 ,"1 ,~' "h~ w DIGITAL C,OMMUNICATIOfi SblSTE:I'1S 6.02 Spring 2010 Lecture #14 • Modulation Review • Delay Issue Lecture 14, Slide #1

Upload: phamthuy

Post on 29-Mar-2018

216 views

Category:

Documents


2 download

TRANSCRIPT

/

h(t)

JJl JrL, ---1~

rf (free. domain)

a M ~ •"II, i\.il II j, !i ~.: '

II I I N\ 1\ !A (! ! i.1 i ; ,I \,) \~1 I 1'\ iI 1.1 I

~l '['Ii If I 1/" \! ,~i \ . !\:\4 "I.~ lfjl Y i ! 1 I( \! \ J

- 1'1 (!,fi:1 I' , ." !.ao~J- '.~ Ii...!lny

-: :)(:1; I~Q ·10 1m- 11RsoW,,· -=--------.:~,

,~,r

"~

,,6:02 Spring 2010

,"1,~'

"h~

wDIGITALC,OMMUNICATIOfiSblSTE:I'1S

6.02 Spring 2010Lecture #14

• Modulation Review• Delay Issue

Lecture 14, Slide #1

't: \ c{\]~\C(\J~()

~

t,(Ct]C9)!'tcfl

'1-~ \,

•v

""va-1\( .

L tF+-----I-tP- - !::h.C~

WReminder about Discrete-Time Fourier Series

(Assume x[n] is periodic with period N)

K

L

N-l

n==O

6.02 Spring 2010 Lecture 14, Slide #2

Key DTFS Modulation Identity~

/ MQ .lJ.. ",.::h9/l P:re: 't '"e. i\ C'7

QEt 1<[ "!<;J. '1 •.. < •... .......••.. /(Inx[n] COS Om [n] = L X[k]eJ" k .s

k~-K

1 .~.,,,,, 1·· ('l... n s : f. • •..• / .• '. . .' .'_. eJ ';'n4n+ -«:» ·'tnn,') ?•.••• "-i

11 J Y\Jt c,....r..-"-) p;'L- k - Z11. J! -::,-:~~~~.N tJ +e.. ~ iLk =: N" Q(V1 - NM Ffe~telE:1 K 1 K2 L X[k]ejcnk+n.n)n + 2 L X[klej(nk-r~'rr1,)Tl,

k:::::::.-K k=....-l<R \

1<[(\J 5l n l4t [{\J -= r L "Z(bJ e.-l .(Lt<- () i t:~Q.., f\f' .J.e,-j s:t",Il'K::.-R z, /

- ~ ~~"'LCK]~--\~K+.Q~)(\ -t ~ b~J~&.QK-JS k:::...,]S

6.02 Spring 2010 Lecture 14, Slide #3

(Dff Lr 11.11~ 5o.Clt f le \~+-e

f'\-=- trC)O f K :::~b K~loLfrlfOo<- 11SLl-< == Z If ~_k

x[n] .' fs~- ...~.•----.-- •.-,.---,." , '~--~'~,---- 1

8 T\~-'~--"-~. ": \ ~2 ~~ ~ IO·,

DTFS of X

Bw~l\M r~'e-Jc

~1c- ~. { t) ~\<h..r

{l -::..1\c. \0

-21- ,j I50 100 150 200 250 300 350 400

X[k]

~:;f -----~' j'

_ 0.."lQ

a!. 0.2 !

!~:~f ~----:t~-t--~-,---,~_..-J-0...!2~O-·.._ ..-'-'-=1~5'"..._-_._--=1:0- -0.5 0.0 0.:> 1.0 1.5 2.0

- +c... ~ -l Q() \(~~../"IMHz ~ f c. ':: \Q <) k H ~r-~--------------'--------"--'-------------T-----l::r n 1. J0.0 I .. . ... ·._m

Q\<C

§

~:';L-2 ..0

---..i .....-1.5 -1.0 -0.5 0.0 0.5 1.0

,.e. MHZ"£''-I£., Tc:..

1.5 2.0

6.02 Spring 2010 Lecture 14, Slide #4

DTFS of modulated x/~9qKt-tt-

p[nl=x] n]:cos(2*pi*( 4e5/4e6)[0 1r~~l~~'~'-~~'~-""T""""-~'-'-"'---~~--~~ f =-~'~-'---~'"f""""==~=~".~W~~~-----~~~

s1/11

~~\o 50 350200

P[k]0.30 ,-------,------,------,--+--~~--+_-,--------,-----,----!

-0,05: f 1-0 10 _, ," , ...L "'-::_.I---,----------~-----,-.---" '-0---'-5 -------------lA-------------i'5---------r 0

'~2,O -1..5 -LO -O,~ v; 0.0 ...\i. '

- ~{)b~R. MHz trt;>Q K rt~

100 150 250 300

!""'"1"""0.2

0.1

f~ ooL,.---------------------------§ ,-0.1"

~O,2 r-2,0

J-- U1.0 1.5-1.5 -LO -0.5 0.0 0,5

MHz

(§)

400

J2.0

6.02 Spring 2010 Lecture 14, Slide #5

eDTFS of x modulated by two carriers

.-.\ [,1 X -r ~ -~XlJJ]. X n.J !-?~7..7TJ~!~!:¥'l-I'\~)r) / yy~L'--'-~'~f"" ..

sampleslnl ~ C{'>; 2,:lT .• \ 215 t ~ ' . t-·-;-~--~- , '-"'1 't"1 ~ t)~10 11

_~\II~H~~M~'-101, .' ".'. -. -- _...

o 50 100 150 200

DTFS Coeffs[kJ

".-----1---" __ ..J....- ...-.l. .. _

1,0 15 2.0

.. ----£-- I--·-r-· ...· -'-, _'.'.- n.~--- -r-r+-v- r I j

::r un J ~,.. .OJ i .... ... ! !

i5 001 ~ . U u u.,

§ L ' "'----7"-0.1 ----- ..- ..~.--O.O....-'_... ·--·-----0.5 MHz

-0.2 ._ -1.0----- -1,5-2..0

~ ~p kH7:-./- /

'\ ,1

0.300.25 .0,20

~ ~:~~[a:0.0510,00",,: ---

-O,{)SI-0,101. .... " _._--"----_. .. . . .. ~---.-

-2.0 -L) -1.0 -05 0.0MHz

I·~ /\\ . \

f \ t \. U \ 1

6.02 Spring 2010 Lf~Q-F

\'-. \~t)\(ti

, ~ +c.

! 'W

350 400

-- .....--~ , ---II\~ : g'QOKHt-

I '

1

2.0

"twk112- ~ ~OW H~-(ORki:f:Mt -T:'Lecture 14, Slide #6 C-.

x mod' d by two carriers and demod

(OS dernod cos sarnpleslnl-..,.------- ---,- -----,--- ,

15i

101• I

;~~ T1-,1 sO 100 ,so 200 25.·· 300 350 400

demod coeffslk]

0.25

0.20· ' I~ 0.15·, \i>l A A A

QJ 0.10' • t \ I •• \ l'a: t r r \ t , I~.~ . . f \---1 '---! '---' \.....J J '---! \ ,=~:~~ ~_.c..._, _ _. ~ __ • • . --'- •••__ ••J

-2.0 -1.5 -)'L!,}Q K~=t -o.s !~i~z 0.5 1.0 I'V1~~rtt 2.0

...~-' ---------, -r-r--r-rr-r-r-r-r-r-r- -' --------

0.2 ,.

~,-]1.5 2.0

0.1" nI"~ iC'I I.§ 0.0 I""'H ,-'" .

-0.1 "

-0.2'

MHz-2.,0 -1.5 1.0

@

VJe. MQJ\

0y4vOd Klt~

\.

6.02 Spring 2010 Lecture 14, Slide #7

@)Second Carrier Too Close

tt-g Q k\-tt, 5 2. \)kti 6~~~

lOl.-r- ," " < sarnpleslnl , ..--~ -rtvl1., . ff"'l"t.

-~~j-10 I~ '. I

o 50 350 400200

DTfS Coeffs[kJ

~:~~I L~ , I 1 '10,20 , \

.,.. 0.15· /?l •~ 0.10 . r' \

0.0.5. ./"1.. r \, ~ .. ,., I0.00 t .mmm7:~~·· .mmm m

-0,05 i- ,,~-0.10 L .L. '" /' ---'-- . ..__ L -4--'-!. ----'- -'-__ .._._...._, __,_

-2,0 -l~----LO -0,5 0.0 11 0.5 1,01.5 2,0".._,--------.. MHz I ~Of<Ht'

," r+" ..

100 150 250 300

5' ~() t< fA:C

0,21 1-\ ni.~'0.1 " II 0,0.. I ~,.' I ' I I,,"

-0,1 ' i i l'~ ..... ,I. i , lU' j

~0.2 ,\ I . of

-2,0 -1.5 -1.0 -0.5 0.0 0.5 1,0 1.5 2,0MHz

.~

Lecture 14, Slide #8:rf"\ 1, -+tc::; =- ~QO R'l={=t

> -f'M"2. - tc, -:: '+"l(j;(Ht;6.02 Spring 2010 'bdweef\

C~c.f'f\J5

Demod Second Carrier Too Close

cos demod cos sarnpleslnl '~------~, ~12 eT"'---'--~ ---,-_'_-

10

~~j\\' I411 ~rlLt_~I ~jI NiJ, , '.' 200 250 JOO100 ISO _

~.:.;~f . . . demol·~~ ..f(fs[k] , . ' , IG.20 r 1\

~ ~:~~ 1- 1~.Ii' ., 1'-\ ,a: OO"t' '\ i t r. . I .________\_~:~~LU . , u I~~=-------,0- "5 -'0

010 -----··---·--'--------·--·-·----'-----·-=-65-\ (to i 0.5 , ,- ,, -2,0 -1.5 -LO . MHz

o 50 400

r iU "u I.. - -,- ------ - ,...,

0,2 [

0.11 Ill' ~% 0.0 I ' - -- -\ . ,. - -- .-C i I !- I 1-0.11- i. LJ

-0.21l'--""'~_~N_' .. ~__ •••.•"""~:.-.. _ ••••....._.."""".•......•...•.•••..•..•.•..:..............•.• - .. ..,.;...•...•.•...•¥_.¥¥ __ ¥.,.

-2.0 2,0-1.5 -1.0 -0.5

.~@J

6.02 Spring 2010 Lecture 14, Slide #9

.. -:~.-

@LPF transmitted signal before mod

sernpleslnj

'ijl-.---f-'" '" ' - ", " . '1IIi-~~1~,~~~~v:~==J_=:=:J~Jo ~ ~ ~ _ m DBaDlFS Coeffs[k]

a.lOr--- ------.

:~I~ ~~~~~------------------~-Q.05!

-0 lE2L.o----.:-, -=-, ---.::-_:-----:_"7.-----,~-

A A A AI \Ii tV'ill \

iI\I I !11

-.I,.~ -J..V -Y.:) v.v 05 1.0 i.s 1.0MH~

0.2 If. rl n n n0.1 I, " I' 'I

I 001 1\ H! ! \ I\! I-0').1 'Ill i iI !I-021 u J u l.l ,

L.._..........••......•...........•....._ •...•....._._._ ..•.••......••........_ ..•.•............._..~ .._ ,,__ ~ _ •....•......•.....•.......••.........J-2.0 ·-1.5 -1.0 -0.5 0.0 05 1.0 15 ],0

MHz

L ~f:- ~ e..~-9 r-~

Lt-Q Q k. r\t 0..1\,),

; 1 Q \:'--1-/ "-e- MOd-

.h,-++er_.b- ~E~ t..:::bO kin:

tt ~\) K0 t: ~ 60 K tf-·~6.02 Spring 2010 ~ . ~

1'M1 f'c

(05 demod cos sarnplesln]

:'I~i4,l!fl

W!ilI.,! 1\.\o'lV

··F

1HP

.1.~-w---.j.IJvvv.-~vvv..-,vvvv....A~.vN.."""~"~.~N.r'vvvV--·A~Y.HAViJliiJr ..N~Jf i. ... . ._..._..~ __ .. ___, .......:.... L__ .--J

~ D ~ _ M _ m a-41demod (oeffs[k]

O.,0 ,'----.-------.------- ..--,.------r- - - ..-~ ..-.-- ..-.....,.... ._ __ _.._.--::..- _. __._--,-_ __.._._..__..'1"._ •• '-"---""'1

(t1!ll f ~~r, ~0.20" r 10.15' f \ ·i

I ili M (I r M~~'~;2~-"--~.5.- .-:;:c--..-~:05..- ..-Lor---Q;,---U- .."..l~.-.-.-._Jo

t~.,:·t:~'

.-_._-----.---.,.--0.1, n

if Olr nG n'lfi. nn.E 00, ili! 1 !lV Hi""'! -----~::~I •.U '1 U J J

-i.c -e.s i~~_~ ~!I:'v l~trt!~v~~Ot'll <9t~c'\

if 0 ~ t< ~L:=6 cte rv1 pel

,,,2.,,, -·1.5

'fbokJi t/.""""'-. . ".r•••., "'.w-·-· ..·O" .••.•••

'" ..'-.. -, "'.. "'\

~-&~~t\Ct5(~k\n

f '--~.-. '<.. T f tl\1..

1+\ M<J.ft' no0" ..l '. 'I eJ \~f

Lecture 14, Slide #10

(~\...... .

DT~~n~f~~~d~,l,~~e~t~ Sl~~-n~)~S~4t.T\Q~A~0: fs

r[nJ= x[n ]sin(2 *pi*( 4e5/4e6)( n jr----r--w----r-------~.-.-.-'--.,--------,..--w--------,---~,-.___:----'~---"-----"-.

:~,\~'\ ~~

-51 III '~, '

o 50 100 150 200 250 300 350 400

R[k]

=::~~_~··L~•.~ __~ __~~2,O -1,5 -0.5 CUi 05

0..,3-r,----'-,-'"_·w .~'i:.D•.{)kt..trt. .MHz ~.' Kll(l 1,00,2 ~ '. . " -' .~.r:LJ;;L

0,1 ,. I~'~ \§ 0,0[... .. . . . ." I \ . . -

-0,1 ..\ .I"""----------~- \ - I

02 .. 1.0,0 os .. '

MHz ' 1,0

-LO 1.5 2,0

-2.(i-· -1.5 ·-----1.0 -0.5 1.5 2.0

6.02 Spring 2010 Lecture 14, Slide #11

®L~PDTFS of cos demod' d sin mod' d xy.. [tlJ 7C0--'~'-"~.,- ~-t; -ffi--'::O

c ss z..T( 'is n---"", ,'R --"-'-----,--

1~~1\..~\~"'J~ ~hJ'Io 50 350100 150 /200 \

DT~S Coeffs[kJ250 300

0.21,0,1 _ l"""'!' '

-r: ' ' In'······· (&-::L III · \i:r.-0.2 I ......,I I '

-20 . I ' \ I I"., _. ....J-1.5 -.. I-1.0 ,I-(),:> i! 0.0_. I MH'\ . Z

n~.~

, IU

- ,1.0 1.5 2.00.5

0.3 '. \ J0.2 "\ ~. \ ./- \0.1 . \ . \ \ !

~ 0.0.. --if \\H "H'~. 1m. I- . ,\ I ., .-0.1 - \ \ \ r --0.2- \ I \v V i-O.3l_._~__.-.~ ....--.-----,-,-..---- ..--",,--- .. _f-_....-L._ ....J. .--L . _....•-'-_.. ~J

-2.0 -1.5 -1.0 -05 '. 0.0 I 0,5 1.0 1.5 2.0\ MHz •

"J

6.02 Spring 2010~e\()<;

o.t'·<)V f\~,

~.r-e ~.V «« cy

400

lLecture 14, Slide #12

, }') \I I \I, \( J -."I 'l, 1 t,~ £.

I.. ./'

Modv

of

X [f\-'(). --e..

x C~-

--

\ (~-,

I ---

,A ~ ~vrv\1f\c. X Cf\l is ~ ~ 1\ J LM \~c.rJ

I J

'Qr L.. JL

/~.-X Cf\\ ~(~\ .~ f) ;~MjDr~ ~y

~( ·h7\ / '7

"-/'\

II )~ ,Ir( \

_ ,.... Ii"- " t\. 7 )(.....\J ~..,\(..., i

r~("JS ..HJI J--~.i->: ~

I-- -----~ ---L Pt=...,.---..,-----' .-

1,...f'" ""

/' <" J 0-J .

/ J~T ? \ .. ..1' / i. A

jll. ~ "'-~c. .•..•.-~ J;, -..

/\...;- \.r r- I,,' C- 05.1[.j)- !'Ul-Vj -

2-

\ ,-. rr-: ~ J i. '

I - '\.; ~' ~ j J I...........

7\ J />::.-", 7I ,.

~. - ~\.-

I I -~I~I

.eli'. (1 A ~ 11\ fi V\~ 'I f 'X [~ - 0 .., \1 r•••••.••.•v.. USA _ -- ....,

~"'" Ls-,

6.02 Fall 2009 Recitation 15-16 Slide #1

In this example, consider using sine and cosine demodulation of cosine modulated signal x[n] where there is a delay. In, particular, for the case where

Consider a delay of 5 samples (so that 25*Omega_1*D = pi/4) in the modulated signal.

The following plots show the impact of a 5 sample delay on modulation and demodulation at four different modulation frequencies (but the same delay). The different modulation frequencies will change the phase shift introduced by the delay, and generate different outputs from sine and cosine demodulation. In particular, the modulation frequencies considered are 25, 50, 75 and 100 times Omega_1.

6.02 Fall 2009 Recitation 15-16 Slide #2

Plot of x[n] and X[k]

Note: 0.3 for coefficient 0 and ½*0.3 for coefficients -5, -4,-3 and 3, 4, 5

6.02 Fall 2009 Recitation 15-16 Slide #3

Cos25 Omega_1 n modulated x[n]

Note: ½*0.3 for coefficient 25 and -25, 1/4*0.3 for coefficients -30, -29,-28, 22,-21, -20 and 30, 29, 28, 22, 21, 20

6.02 Fall 2009 Recitation 15-16 Slide #4

Plots of modulated x[n] and x[n-5] (note periodicity!)

6.02 Fall 2009 Recitation 15-16 Slide #5

Cos25 Omega_1 n modulated x[n] after 5 sample delay

Note impact of pi/4 phase shift (peaks are 0.3*½ *sqrt(2)/2 for real and imaginary part).

6.02 Fall 2009 Recitation 15-16 Slide #6

Cos25 Omega_1 n demod after delay

6.02 Fall 2009 Recitation 15-16 Slide #7

Sin 25 Omega_1 n demod after delay

6.02 Fall 2009 Recitation 15-16 Slide #8

Cos50 Omega_1 n modulated s[n]

Note: ½*0.3 for coefficient 50 and -50, 1/4*0.3 for coefficients -55, -54, -53, -47,-46, -45 and 55, 54, 53,47,46, 45

6.02 Fall 2009 Recitation 15-16 Slide #9

Cos50 Omega_1 n modulation after 5 sample delay

Note impact of pi/2 phase shift (peaks are 0.3*½ but are now in the imaginary part).

6.02 Fall 2009 Recitation 15-16 Slide #10

Cos50 Omega_1 n demod after delay

6.02 Fall 2009 Recitation 15-16 Slide #11

Sin 50 Omega_1 n demod after delay

6.02 Fall 2009 Recitation 15-16 Slide #12

Cos75 Omega_1 n modulated s[n]

Note: ½*0.3 for coefficient 75 and -75 and 1/4*0.3 for coefficients -80, -79,-78, -72,-71,-70, 80, 79, 78, 72,71, 70

6.02 Fall 2009 Recitation 15-16 Slide #13

Cos 75 Omega_1 n modulated s[n] after 5 sample delay

Note impact of approximately 3pi/4 phase shift (peaks are 0.3*½*sqrt(2)/2 for real and imaginary part, and opposite in sign from 25 Omega_1 case.

6.02 Fall 2009 Recitation 15-16 Slide #14

Cos75 Omega_1 n demod after delay

6.02 Fall 2009 Recitation 15-16 Slide #15

Sin 75 Omega_1 n demod after delay

6.02 Fall 2009 Recitation 15-16 Slide #16

Cos100 Omega_1 n modulation

Note: ½*0.3 for coefficient 100 and -100, and 1/4*0.3 for coefficients -105, -104, -103, -97, -96, -95, 105, 104, 103, 97, 96, 95

6.02 Fall 2009 Recitation 15-16 Slide #17

Cos 100 Omega_1 n modulation after 5 sample delay

Note impact of pi phase shift (peaks are 0.3* ½ and real, but flipped in sign).

6.02 Fall 2009 Recitation 15-16 Slide #18

Cos100 Omega_1 n demod after delay

6.02 Fall 2009 Recitation 15-16 Slide #19

Sin 100 Omega_1 n demod after delay