modulation, demodulation and coding course · modulation and coding course term 3 ... binary pulse...

22
Digital Communication I: Modulation and Coding Course Term 3 - 2008 Catharina Logothetis Lecture 3

Upload: ngolien

Post on 27-Mar-2019

251 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Digital Communication I:Modulation and Coding Course

Term 3 - 2008Catharina Logothetis

Lecture 3

Page 2: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 2

Last time we talked about: Transforming the information source to a form

compatible with a digital system Sampling

Aliasing Quantization

Uniform and non-uniform Baseband modulation

Binary pulse modulation M-ary pulse modulation

M-PAM (M-ary Pulse amplitude modulation)

Page 3: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 3

Formatting and transmission of baseband signal

Information (data) rate: Symbol rate :

For real time transmission:

Sampling at rate

(sampling time=Ts)

Quantizing each sampled value to one of the L levels in quantizer.

Encoding each q. value to bits

(Data bit duration Tb=Ts/l)

EncodePulse

modulateSample Quantize

Pulse waveforms(baseband signals)

Bit stream(Data bits)Format

Digital info.

Textual info.

Analog info.

source

Mapping every data bits to a symbol out of M symbols and transmitting

a baseband waveform with duration T

ss Tf /1= Ll 2log=

Mm 2log=

[bits/sec] /1 bb TR =ec][symbols/s /1 TR =

mRRb =

Page 4: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 4

Quantization example

tTs: sampling time

x(nTs): sampled valuesxq(nTs): quantized values

boundaries

Quant. levels

111 3.1867

110 2.2762

101 1.3657

100 0.4552

011 -0.4552

010 -1.3657

001 -2.2762

000 -3.1867

PCMcodeword 110 110 111 110 100 010 011 100 100 011 PCM sequence

amplitudex(t)

Page 5: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 5

Example of M-ary PAM

-B

B

T‘01’

3B

TT

-3B

T‘00’

‘10’

‘1’A.

T

‘0’

T

-A.

Assuming real time transmission and equal energy per transmission data bit for binary-PAM and 4-ary PAM:

• 4-ary: T=2Tb and Binary: T=Tb

• 4-ary PAM

(rectangular pulse)Binary PAM

(rectangular pulse)

‘11’

22 10BA =

Page 6: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 6

Example of M-ary PAM …

0 Tb 2Tb 3Tb 4Tb 5Tb 6Tb

0 Ts 2Ts

0 T 2T 3T

2.2762 V 1.3657 V

1 1 0 1 0 1

0 T 2T 3T 4T 5T 6T

Rb=1/Tb=3/Ts

R=1/T=1/Tb=3/Ts

Rb=1/Tb=3/Ts

R=1/T=1/2Tb=3/2Ts=1.5/Ts

Page 7: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 7

Today we are going to talk about: Receiver structure

Demodulation (and sampling) Detection

First step for designing the receiver Matched filter receiver

Correlator receiver

Page 8: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 8

Demodulation and detection

Major sources of errors: Thermal noise (AWGN)

disturbs the signal in an additive fashion (Additive) has flat spectral density for all frequencies of interest (White) is modeled by Gaussian random process (Gaussian Noise)

Inter-Symbol Interference (ISI) Due to the filtering effect of transmitter, channel and receiver,

symbols are “smeared”.

Format Pulse modulate

Bandpassmodulate

Format Detect Demod.& sample

)(tsi)(tgiim

im̂ )(tr)(Tz

channel)(thc

)(tn

transmitted symbol

estimated symbol

Mi ,,1=M-ary modulation

Page 9: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 9

Example: Impact of the channel

Page 10: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 10

Example: Channel impact …

)75.0(5.0)()( Tttthc −−= δδ

Page 11: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 11

Receiver tasks Demodulation and sampling:

Waveform recovery and preparing the received signal for detection:

Improving the signal power to the noise power (SNR) using matched filter

Reducing ISI using equalizer Sampling the recovered waveform

Detection: Estimate the transmitted symbol based on the

received sample

Page 12: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 12

Receiver structure

Frequencydown-conversion

Receiving filter

Equalizingfilter

Threshold comparison

For bandpass signals Compensation for channel induced ISI

Baseband pulse(possibly distored) Sample

(test statistic)Baseband pulseReceived waveform

Step 1 – waveform to sample transformation Step 2 – decision making

)(tr)(Tz

im̂

Demodulate & Sample Detect

Page 13: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 13

Baseband and bandpass Bandpass model of detection process is

equivalent to baseband model because: The received bandpass waveform is first

transformed to a baseband waveform.

Equivalence theorem: Performing bandpass linear signal processing followed by

heterodyning the signal to the baseband, yields the same results as heterodyning the bandpass signal to the baseband , followed by a baseband linear signal processing.

Page 14: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 14

Steps in designing the receiver

Find optimum solution for receiver design with the following goals:

1. Maximize SNR2. Minimize ISI

Steps in design: Model the received signal Find separate solutions for each of the goals.

First, we focus on designing a receiver which maximizes the SNR.

Page 15: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 15

Design the receiver filter to maximize the SNR

Model the received signal

Simplify the model: Received signal in AWGN

)(thc)(tsi

)(tn

)(tr

)(tn

)(tr)(tsiIdeal channels

)()( tthc δ=

AWGN

AWGN

)()()()( tnthtstr ci +∗=

)()()( tntstr i +=

Page 16: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 16

Matched filter receiver Problem:

Design the receiver filter such that the SNR is maximized at the sampling time when

is transmitted. Solution:

The optimum filter, is the Matched filter, given by

which is the time-reversed and delayed version of the conjugate

of the transmitted signal

)(th

)()()( * tTsthth iopt −==)2exp()()()( * fTjfSfHfH iopt π−==

Mitsi ,...,1 ),( =

T0 t

)(tsi

T0 t

)()( thth opt=

Page 17: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 17

Example of matched filter

T t T t T t0 2T

)()()( thtsty opti ∗=2A)(tsi )(thopt

T t T t T t0 2T

)()()( thtsty opti ∗=2A)(tsi )(thopt

T/2 3T/2T/2 TT/2

22A−

TA

TA

TA

TA−

TA−

TA

Page 18: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 18

Properties of the matched filterThe Fourier transform of a matched filter output with the matched signal as input is, except for a time delay factor, proportional to the ESD of the input signal.

The output signal of a matched filter is proportional to a shifted version of the autocorrelation function of the input signal to which the filter is matched.

The output SNR of a matched filter depends only on the ratio of the signal energy to the PSD of the white noise at the filter input.

Two matching conditions in the matched-filtering operation:spectral phase matching that gives the desired output peak at time T.spectral amplitude matching that gives optimum SNR to the peak value.

)2exp(|)(|)( 2 fTjfSfZ π−=

sss ERTzTtRtz ==⇒−= )0()()()(

2/max

0NE

NS s

T

=

Page 19: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 19

Correlator receiver The matched filter output at the sampling time,

can be realized as the correlator output.

>= <=

∗=

∫ )(),()()(

)()()(

*

0

tstrdsr

TrThTz

i

T

opt

τττ

Page 20: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 20

Implementation of matched filter receiver

Mz

z1

z=)(tr

)(1 Tz)(*

1 tTs −

)(* tTsM − )(TzM

z

Bank of M matched filters

Matched filter output:Observation

vector

)()( tTstrz ii −∗= ∗ Mi ,...,1=

),...,,())(),...,(),(( 2121 MM zzzTzTzTz ==z

Page 21: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 21

Implementation of correlator receiver

dttstrz i

T

i )()(0∫=

∫T

0

)(1 ts∗

∫T

0

)(ts M∗

Mz

z1

z=)(tr

)(1 Tz

)(TzM

z

Bank of M correlators

Correlators output:Observation

vector

),...,,())(),...,(),(( 2121 MM zzzTzTzTz ==z

Mi ,...,1=

Page 22: Modulation, Demodulation and Coding Course · Modulation and Coding Course Term 3 ... Binary pulse modulation M-ary pulse modulation M-PAM (M-ary Pulse amplitude modulation) Lecture

Lecture 3 22

Implementation example of matched filter receivers

2

1

z

zz=

)(tr

)(1 Tz

)(2 Tz

z

Bank of 2 matched filters

T t

)(1 ts

T t

)(2 tsT

T0

0

TA

TA−

TA−

TA

0

0