+ All Categories
Home > Documents > Department of Electronics and Communications Random...

Department of Electronics and Communications Random...

Date post: 27-Aug-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
48
Mohamed Khedr 1 EC 7xx Advanced Digital Communications Spring 2008 Mohamed Essam Khedr Department of Electronics and Communications Random Process and Optimum Detection http://webmail.aast.edu/~khedr
Transcript
Page 1: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr1

EC 7xx Advanced Digital Communications Spring 2008

Mohamed Essam KhedrDepartment of Electronics and Communications

Random Process and Optimum Detection

http://webmail.aast.edu/~khedr

Page 2: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr2

Syllabus

� TentativelyWeek 6

Week 7

Week 8

Week 9

Week 10

Week 11

Week 12

Week 13

Week 15

Week 14

Week 5

Week 4

Week 3

Random Process, Optimum DetectionWeek 2

Overview, Probabilities, Random variablesWeek 1

Page 3: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr3

Random Sequences and Random Processes

Page 4: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr4

Random process� A random process is a collection of time functions, or signals,

corresponding to various outcomes of a random experiment. For each outcome, there exists a deterministic function, which is called a sample function or a realization.

Sample functionsor realizations(deterministic

function)

Random variables

time (t)

Rea

l num

ber

fX(x)

Page 5: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr5

Specifying a Random Process� A random process is defined by all its joint CDFs

for all possible sets of sample times

t0 t1t2

tn…

Page 6: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr6

Stationarity� If time-shifts (any value T) do not affect its joint CDF

t0t1

t2

tn… t0 + T t1+T t2+T tn+T

Page 7: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr7

Wide Sense Stationarity (wss)

� Keep only above two properties (2nd order stationarity)…� Don’t insist that higher-order moments or higher order joint CDFs be

unaffected by lag T

� With LTI systems, we will see that WSS inputs lead to WSS outputs, � In particular, if a WSS process with PSD SX(f) is passed through a linear time-

invariant filter with frequency response H(f), then the filter output is also a WSS process with power spectral density |H(f)|2SX(f).

� Gaussian w.s.s. = Gaussian stationary process (since it only has 2nd order moments)

Page 8: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr8

Ergodicity� Time averages = Ensemble averages[i.e. “ensemble” averages like mean/autocorrelation can be computed as “time-

averages” over a single realization of the random process]� A random process: ergodic in mean and autocorrelation (like w.s.s.) if

and

Time average

Ensemble average

E[X(t)]

Page 9: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr9

Autocorrelation: Summary� Autocorrelation of an energy signal

� Autocorrelation of a power signal

� For a periodic signal:

� Autocorrelation of a random signal

� For a WSS process:

Page 10: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr10

Power Spectral Density (PSD)

1. SX(f) is real and SX(f) � 02. SX(-f) = SX(f) 3. AX(0) = � SX(�) d�

Page 11: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr11

Spectral density: Summary� Energy signals:

� Energy spectral density (ESD):

� Power signals:

� Power spectral density (PSD):

� Random process:� Power spectral density (PSD):

Note: we have used f for � and Gx for Sx

Page 12: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr12

Properties of an autocorrelation function

� For real-valued (and WSS for random signals):1. Autocorrelation and spectral density form a Fourier

transform pair. RX(τ) � SX(�)2. Autocorrelation is symmetric around zero. RX(-τ) = RX(τ) 3. Its maximum value occurs at the origin. |RX(τ)| � RX(0) 4. Its value at the origin is equal to the average power or

energy.

Page 13: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr13

Noise in communication systems� Thermal noise is described by a zero-mean Gaussian random process,

n(t).� Its PSD is flat, hence, it is called white noise. IID gaussian.

[w/Hz]

Probability density function

Power spectral density

Autocorrelation function

Page 14: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr14

White Gaussian Noise� White:

� Power spectral density (PSD) is the same, i.e. flat, for all frequencies of interest (from dc to 1012 Hz)

� Autocorrelation is a delta function => two samples no matter however close are uncorrelated.� N0/2 to indicate two-sided PSD� Zero-mean gaussian completely characterized by its variance (σ2)� Variance of filtered noise is finite = N0/2

� Similar to “white light” contains equal amounts of all frequencies in the visible band of EM spectrum

� Gaussian + uncorrelated => i.i.d.� Affects each symbol independently: memoryless channel

� Practically: if b/w of noise is much larger than that of the system: good enough

Page 15: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr15

Signal transmission w/ linear systems (filters)

� Deterministic signals:� Random signals:

Input OutputLinear system

Ideal distortion less transmission:• All the frequency components of the signal not only arrive with an identical time delay, but also amplified or attenuated equally.

Page 16: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr16

(Deterministic) Systems with Stochastic InputsA deterministic system1 transforms each input waveform intoan output waveform by operating only on the time variable t. Thus a set of realizations at the input corresponding to a process X(t) generates a new set of realizations at the output associated with a new process Y(t).

),( itX ξ)],([),( ii tXTtY ξξ =

)},({ ξtY

Our goal is to study the output process statistics in terms of the inputprocess statistics and the system function.

1A stochastic system on the other hand operates on both the variables t and .ξ

PILLAI/Cha

][⋅T → )(tX → )(tY

t t

),(i

tX ξ),(

itY ξ

Fig. 14.3

Page 17: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr17

Deterministic Systems

Systems with Memory

Time-Invariantsystems

Linear systems

Linear-Time Invariant(LTI) systems

Memoryless Systems)]([)( tXgtY =

)]([)( tXLtY =Time-varying

systems

.)()(

)()()(

�∞+

∞−

∞+

∞−

−=

−=

τττ

τττ

dtXh

dXthtY( )h t( )X t

LTI system

Page 18: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr18

LTI systemh(t)

Linear system

wide-sense stationary process

strict-sense stationary process

Gaussianprocess (alsostationary)

wide-sense stationary process.

strict-sensestationary process

Gaussian process(also stationary)

)(tX )(tY

LTI systemh(t)

)(tX

)(tX

)(tY

)(tY

(a)

(b)

(c)

LTI Systems: WSS input good enough

Page 19: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr19

White Noise Process & LTI SystemsW(t) is said to be a white noise process if

i.e., E[W(t1) W*(t2)] = 0 unless t1 = t2.W(t) is said to be wide-sense stationary (w.s.s) white noise if E[W(t)] = constant, and

If W(t) is also a Gaussian process (white Gaussian process), then all of its samples are independent random variables

),()(),( 21121 tttqttRWW

−= δ

).()(),( 2121 τδδ qttqttRWW

=−=

White noiseW(t)

LTIh(t)

Colored noise( ) ( ) ( )N t h t W t= ∗

Page 20: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr20

Narrowband Noise Representation

� The noise process appearing at the output of a narrowband filter is called narrowband noise.

� Representations of narrowband noise� A pair of component called the in-phase and quadrature

components.� Two other components called the envelop and phase.

Page 21: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr21

Representation of Narrowband Noise in Terms of In-Phase and Quadrature Components

� Consider a narrowband noise of bandwidth 2B centered on frequency.� We may represent n(t) in the canonical (standard) form:

where, is in-phase component of and is quadraturecomponent of .

)2sin()()2cos()()( tftntftntn cQcI ππ −=)(tnI

)(tnQ)(tn)(tn

)(tn

Page 22: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr22

� and have important properties:� and have zero mean.� is Gaussian, then and are jointly Gaussian.� is stationary, then and are jointly stationary.� Both and have the same power spectral density.

� and have the same variance as

)(tnI )(tnQ

)(tnI )(tnQ

)(tn )(tnI )(tnQ

)(tn )(tnI )(tnQ

)(tnI )(tnQ

��� ++−

==,0

),()()()( cNcN

NN

ffSffSfSfS

QI otherwise

BfB ≤≤−

)(tn)(tnI )(tnQ

Page 23: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr23

Page 24: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr24

Representation of Narrowband Noise in Terms of Envelope and Phase Components

Page 25: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr25

Page 26: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr26

� Figure Illustrating the coordinate system for representation of narrowband noise: (a) in terms of in-phase and quadrature components, and (b) in terms of envelope and phase.

ψcosrnI =ψsinrnQ =

ψrdrddndn QI =

Page 27: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr27

Page 28: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr28

Page 29: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr29

Sine Wave Plus Narrowband Noise

Page 30: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr30

Page 31: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr31

Page 32: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr32

������������� ������� ����������������������� ���

������������������ ��������������������� ������������������

Page 33: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr33

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 34: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr34

Example: Impact of the channel

Page 35: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr35

Example: Channel impact …

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

Page 36: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr36

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 37: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr37

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 38: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr38

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 39: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr39

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 40: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr40

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 41: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr41

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 42: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr42

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

2

2A−

TA

TA

TA

TA−

TA−

TA

Page 43: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr43

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 44: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr44

Correlator receiver

� The matched filter output at the sampling time, can be realized as the correlator output.

>=<=

∗=

� )(),()()(

)()()(

*

0

tstrdsr

TrThTz

i

T

opt

τττ

Page 45: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr45

Implementation of matched filter receiver

���

���

Mz

z

1

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 46: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr46

Implementation of correlator receiver

dttstrz i

T

i )()(0�=

�T

0

)(1 ts∗

�T

0

)(ts M∗

���

���

Mz

z

1

z=)(tr

)(1 Tz

)(TzM

z

Bank of M correlators

Correlators output:Observation

vector

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

Mi ,...,1=

Page 47: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr47

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

Page 48: Department of Electronics and Communications Random ...webmail.aast.edu/~khedr/Courses/Graduate/ADC/lecture_two.pdf · 14 Mohamed Khedr White Gaussian Noise White: Power spectral

Mohamed Khedr48

Questions?


Recommended