Digital Communication

Slides:



Advertisements
Similar presentations
Digital Communication
Advertisements

Image Enhancement in the Frequency Domain (2)
Chapter 3. Noise Husheng Li The University of Tennessee.
1. INTRODUCTION In order to transmit digital information over * bandpass channels, we have to transfer the information to a carrier wave of.appropriate.
Lecture 7 Linear time invariant systems
1 Chapter 16 Fourier Analysis with MATLAB Fourier analysis is the process of representing a function in terms of sinusoidal components. It is widely employed.
Digital Communication
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
Digital Signal Processing
ELEC 303 – Random Signals Lecture 20 – Random processes
Noise. Noise is like a weed. Just as a weed is a plant where you do not wish it to be, noise is a signal where you do not wish it to be. The noise signal.
Stochastic processes Lecture 8 Ergodicty.
EE322 Digital Communications
3F4 Power and Energy Spectral Density Dr. I. J. Wassell.
1 Dr. Uri Mahlab. INTRODUCTION In order to transmit digital information over * bandpass channels, we have to transfer the information to a carrier wave.
APPLICATIONS OF FOURIER REPRESENTATIONS TO
Review of Probability and Random Processes
About this Course Subject: Textbook Reference book Course website
Lecture 16 Random Signals and Noise (III) Fall 2008 NCTU EE Tzu-Hsien Sang.
Digital communication - vector approach Dr. Uri Mahlab 1 Digital Communication Vector Space concept.
Matched Filters By: Andy Wang.
1 For a deterministic signal x(t), the spectrum is well defined: If represents its Fourier transform, i.e., if then represents its energy spectrum. This.
ELEC 303 – Random Signals Lecture 21 – Random processes
Review of Probability.
Random Processes and LSI Systems What happedns when a random signal is processed by an LSI system? This is illustrated below, where x(n) and y(n) are random.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Discrete-Time and System (A Review)
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
Probability Theory and Random Processes
Random Process The concept of random variable was defined previously as mapping from the Sample Space S to the real line as shown below.
COSC 4214: Digital Communications Instructor: Dr. Amir Asif Department of Computer Science and Engineering York University Handout # 2: Random Signals.
6.2 - The power Spectrum of a Digital PAM Signal A digtal PAM signal at the input to a communication channl scale factor (where 2d is the “Euclidean.
TELECOMMUNICATIONS Dr. Hugh Blanton ENTC 4307/ENTC 5307.
Review for Exam I ECE460 Spring, 2012.
Random Processes ECE460 Spring, Power Spectral Density Generalities : Example: 2.
1 Part 5 Response of Linear Systems 6.Linear Filtering of a Random Signals 7.Power Spectrum Analysis 8.Linear Estimation and Prediction Filters 9.Mean-Square.
1 Dr. Uri Mahlab. 1.א1.א תוכן עניינים : Introduction of Binary Digital Modulation Schemes 2-10 Probability of error Transfer function of the optimum.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Definitions Random Signal Analysis (Review) Discrete Random Signals Random.
1 Chapter 1 Introduction to spread-spectrum communications Part I.
Elements of Stochastic Processes Lecture II
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
1 Chapter 9 Detection of Spread-Spectrum Signals.
Fourier Analysis of Signals and Systems
ارتباطات داده (883-40) فرآیندهای تصادفی نیمسال دوّم افشین همّت یار دانشکده مهندسی کامپیوتر 1.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Causality Linearity Time Invariance Temporal Models Response to Periodic.
revision Transfer function. Frequency Response
Lecture#10 Spectrum Estimation
Chapter 1 Random Process
Dept. of EE, NDHU 1 Chapter One Signals and Spectra.
Discrete-time Random Signals
1 EE571 PART 3 Random Processes Huseyin Bilgekul Eeng571 Probability and astochastic Processes Department of Electrical and Electronic Engineering Eastern.
Geology 6600/7600 Signal Analysis 28 Sep 2015 © A.R. Lowry 2015 Last time: Energy Spectral Density; Linear Systems given (deterministic) finite-energy.
DTFT continue (c.f. Shenoi, 2006)  We have introduced DTFT and showed some of its properties. We will investigate them in more detail by showing the associated.
Geology 6600/7600 Signal Analysis 09 Sep 2015 © A.R. Lowry 2015 Last time: Signal Analysis is a set of tools used to extract information from sequences.
Signals and Systems Analysis NET 351 Instructor: Dr. Amer El-Khairy د. عامر الخيري.
Random Processes Gaussian and Gauss-Markov processes Power spectrum of random processes and white processes.
1 Review of Probability and Random Processes. 2 Importance of Random Processes Random variables and processes talk about quantities and signals which.
Oh-Jin Kwon, EE dept., Sejong Univ., Seoul, Korea: 2.3 Fourier Transform: From Fourier Series to Fourier Transforms.
What is filter ? A filter is a circuit that passes certain frequencies and rejects all others. The passband is the range of frequencies allowed through.
Chapter 2. Signals and Linear Systems
Eeng Chapter4 Bandpass Signalling  Bandpass Filtering and Linear Distortion  Bandpass Sampling Theorem  Bandpass Dimensionality Theorem  Amplifiers.
Chapter 6 Random Processes
SIGNALS PROCESSING AND ANALYSIS
Outline Introduction Signal, random variable, random process and spectra Analog modulation Analog to digital conversion Digital transmission through baseband.
Digital Communication
EE Audio Signals and Systems
3.1 Expectation Expectation Example
Digital Communication
Random Process The concept of random variable was defined previously as mapping from the Sample Space S to the real line as shown below.
copyright Robert J. Marks II
Presentation transcript:

Digital Communication Simulation in Digital Communication By: Dr. Uri Mahlab

Chapter # 2 Random Processes By: Dr. Uri Mahlab

Generation of Random Variables Most computer software libraries include a uniform random number generator. Such a random number generator a number between 0 and 1 with equal probability. We call the output of the random number generator a random variable. If A denotes such a random variable, its range is the interval

Is called the probability density function F(A) is called the probability distribution function Where:

Figure: Probability density function f(A) 1 1 A A 1 1 Fig 1 (a) (b) Figure: Probability density function f(A) and the probability distribution function F(A) of a uniformly distributed random variable A.

Which now has a mean value If we wish to generate uniformly distributed noise in an interval (b,b+1), it can be accomplished simply by using the output A of the random number generator and shifting it by an amount b. Thus a new random variable B can be defined as Which now has a mean value

Figure : Probability density function and the probability F(B) f(B) 1 1 B B (b) (a) Fig 2 Figure : Probability density function and the probability distribution function of zero- mean uniformly distributed random variable

F(C) 1 A=f(C) C C 0 Fig.3 Figure : Inverse mapping from the uniformly distributed random variable A to the new random variable C

Example 2.1 Generate a random variable C that has the linear probability density function shown in Figure (a);I.e., F(C) f(C) 1 1 C C 2 (b) 2 Fig - 4 (a) Figure : linear probability density function and the corresponding probability distribution function Answer ip_02_01

Thus we generate a random variable C with probability function F(C) ,as shown in Figure 2.4(b). In Illustartive problem 2.1 the inverse mapping C= (A) was simple. In some cases it is not. Lets try to generate random numbers that have a normal distribution function. Noise encountered in physical systems is often characterized by the normal,or Gaussian probability distribution, which is illustrated in Figure 2.5. The probability density function is given by Gaussian Normal Noise

F(C) f(C) 1 C C Fig 5 (b) (a) Gaussian probability density function (b) (a) Gaussian probability density function and the corresponding probability distribution function.

Unfortunately,the integral cannot be expressed in terms of simple functions. Consequently the inverse mapping is difficult to achieve. A way has been found to circumvent this problem. From probability theory it is known that a Rayleigh distributed random variable R, with probability distribution function

Is related to a pair of Gaussian random variables C and D through the transformation

Where A is a uniformly distributed random variable in the interval(0,1). Now, if we generate a second uniformly distributed random variable B and define Then from transformation,we obtain two statistically independent Gaussian distributed random variables C and D.

Gaussian Normal Noise Gngauss.m u=rand; % a uniform random variable in (0,1) z=sgma*(sqrt(2*log(1/(1-u)))); % a Rayleigh distributed random variable u=rand; % another uniform random variable in (0,1) gsrv1=m+z*cos(2*pi*u); gsrv2=m+z*sin(2*pi*u); Gngauss.m

[Generation of samples of a multivariate gaussian process] Example 2.2: [Generation of samples of a multivariate gaussian process] Generate samples of a multivariate Gaussian random process X(t) having a specified mean value mx and a covariance Cx Answer ip_02_02

Example 2.3: generate a sequence of 1000(equally spaced) samples of gauss Markov process from the recursive relation Answer ip_02_03

Power spectrum of random processes and white processes A stationary random process X(t) is characterized in the frequency domain by its power spectrum which is the fourier transform of the autocorrelation function of the random process.that is, Conversely, the autocorrelation function of a stationary process X(t) is obtained from the power spectrum by means of the inverse fourier transform;I.e.,

Definition:A random process X(t) is called a white process if it has a flat power spectrum, I.e., if is a constant for all f frequency

Example 2.4: 1) Generate a discrete-time sequence of N=1000 i.i.d. uniformly distributed random in interval (-1/2,1/2) and compute the autocorrelation of the sequence {Xn} defined as 2) Determine the power spectrum of the sequence {Xn} by computing the discrete Fourier transform (DFT) of Rx(m) The DFT,which is efficiently computed by use of the fast Fourier transform (FFT) algorithm, is defined as Answer Matlab: M-file ip_02_04

Example 2.5: compute the auto correlation Rx(t) for the random process whose power spectrum is given by Answer Matlab: M-file ip_02_05

Linear Filtering of Random Processes Suppose that a stationary random process X(t) is passed through a liner time-invariant filter that is characterized in the time domain by its impulse response h(t) and in the frequency domain by its frequency response.

The auto correlation function of y(t) is In the Frequency domain

Determine the power spectrum Sy(f)of the filter output. Example 2.6 suppose that a white random process X(t) with power spectrum Sx(f)= 1 for all f excites a linear filter with impulse response Determine the power spectrum Sy(f)of the filter output. Answer Matlab: M-file ip_02_06

Compute the autocorrelation function Ry(t) Example 2.7 Compute the autocorrelation function Ry(t) corresponding to Sy(f)in the Illustrative problem 2.6 for the specified Sx(f)=1 Answer Matlab: M-file ip_02_07

Determine the power spectrum of the output process{Y(n)} Example 2.8 Suppose that a white random process with samples{X(n)} is passed through linear filter with impulse response Determine the power spectrum of the output process{Y(n)} Answer Matlab: M-file ip_02_08

Lowpass and Bandpass processes Definition:A random process is called lowpass if its power spectrum is large in the vicinity of f=0 and small (approaching 0) at high frequencies. In other words, a lowpass random process has most of its power concentrated at low frequencies . Definition: A lowpass random process x (t) is band limited if the power spectrum Sx(f)=0 for Sx(f)>B. The parameter B is called the bandwidth of the random process

Example # 9:consider the problem of generating samples of a lowpass random process by passing a white noise sequence {Xn}through a lowpass filter. The input sequence is an I.I.d. sequence of uniformly distributed random variables on the interval (-0.5,0.5 ). The lowpass filter has the impulse response. And is characterized by the input-output recursive(difference)equation. Compute the output sequence{yn} and determine the autocorrelation function Rx(m) and Ry(m),as indicated in problem 2.4 Determine the power spectra Sx(f) and Sy(f) by computing the DFT of Rx(m) and Ry(m) Answer Matlab: M-file ip_02_09

» N=1000; % The maximum value of n M=50; Rxav=zeros(1,M+1); Ryav=zeros(1,M+1); Sxav=zeros(1,M+1); Syav=zeros(1,M+1); for i=1:10, % take the ensemble average ove 10 realizations X=rand(1,N)-(1/2); % Generate a uniform number sequence on (-1/2,1/2) Y(1)=0; %should be x(1) !!!!! for n=2:N, Y(n) = 0.9*Y(n-1) + X(n); % note that Y(n) means Y(n-1) end; Rx=Rx_est(X,M); % Autocorrelation of {Xn} Ry=Rx_est(Y,M); % Autocorrelation of {Yn} Sx=fftshift(abs(fft(Rx))); % Power spectrum of {Xn} Sy=fftshift(abs(fft(Ry))); % Power spectrum of {Yn} Rxav=Rxav+Rx; Ryav=Ryav+Ry; Sxav=Sxav+Sx; Syav=Syav+Sy; Rxav=Rxav/10; Ryav=Ryav/10; Sxav=Sxav/10; Syav=Syav/10; % Plotting commands follow »

Definition: A random process is called bandpass if its power spectrum is large in a band of frequencies centered in the neighborhood of a central frequency fo and relatively small outside of this band of frequencies. A random process is called narrowband if its bandwidth B<< fo Bandpass processes are suit for representing modulated signals. In communication the information-bearing signal is usually a lowpass random process that modulates a carrier for transmission over a bandpass communication channel. Thus the modulated signal is bandpass random process.

Figure 7: generation of a bandpass random process Example # 10:[Generation of samples a bandpass random process] Generate samples of a bandpass random process by first generating samples of two statistically independent random processes XC(t) and XS(t) and using these to modulate the quadrature carriers cos( 2 ) and sin 2 ,as shown in figure 7. + - Answer Matlab: M-file ip_02_10 Figure 7: generation of a bandpass random process

N=1000; % number of samples for i=1:2:N, [X1(i) X1(i+1)]=gngauss; [X2(i) X2(i+1)]=gngauss; end; % standard Gaussian input noise processes A=[1 -0.9]; % lowpass filter parameters B=1; Xc=filter(B,A,X1); Xs=filter(B,A,X2); fc=1000/pi; % carrier frequency for i=1:N, band_pass_process(i)=Xc(i)*cos(2*pi*fc*i)-Xs(i)*sin(2*pi*fc*i); end; % T=1 is assumed % Determine the autocorrelation and the spectrum of the band-pass process M=50; bpp_autocorr=Rx_est(band_pass_process,M); bpp_spectrum=fftshift(abs(fft(bpp_autocorr))); % plotting commands follow