基于Clarke模型的瑞利衰落信道产生

2019-01-12 17:08

Simulation of Rayleigh Fading

( Clarke’s Model – sum of sinusoids method)

A multipath fading channel can be modeled as a FIR (Finite Impulse Response) filter with the following impulse response.

where h(τ,t) is the time varying impulse response of the multipath fading channel having L multipaths and hi(t) and τi(t) denote the time varying complex gain and excess delay of the i-th path. The above mentioned impulse response can be implemented as a FIR filter as shown below :

Multipath Fading phenomena – modelled as a Time Varying FIR Filter

The channel under consideration can be modeled as a multipath fading channel in which the impulse response may follow distributions like Rayleigh distribution ( in which there is no Line of Sight (LOS) ray between transmitter and receiver) or as Rician distribution ( dominant LOS path exist between transmitter and receiver), Nagami distribution, Weibull distribution etc. Different methods of simulation techniques were proposed to simulate/model multipath channels. Some of the models include clarke’s reference model, Jake’s model, Young’s model, filtered gaussian noise model etc.

A Rayleigh fading channel (flat fading channel) is considered in this text.For simplicity we fix the excess delays τi(t) in the above equation and we generate hi(t) that follows Rayleigh distribution. In this simulation Clarke’s Rayleigh fading model is used. This model is also called mathematical reference model and is commonly considered as a computationally inefficient model compared to Jake’s Rayleigh Fading simulator. Theory of Rayleigh Fading:

Lets denote the complex impulse response h(t) of the flat fading channel as follows :

The probability density function (Rayleigh distribution) of the above mentioned amplitude response is given by

We will use the Clarke’s Rayleigh Fading model (given below) and check the statistical properties of the random process generated by the model against the statistical properties of Rayleigh distribution (given above). Clarke’s Rayleigh Fading model:

The random process of flat Rayleigh fading with M multipaths can be simulated with the sum-of-sinusoid method described as

Simulation:

1) The rayleigh fading model is implemented as a function in matlab with following parameters:

M=number of multipaths in the fading channel, N = number of samples to generate, fd=maximum Doppler spread in Hz, Ts = sampling period.

function [h]=rayleighFading(M,N,fd,Ts) % function to generate rayleigh Fading samples based on Clarke's model % M = number of sinusoids to generate Rayleigh Fading % N = number of samples to generate % fd = maximum Doppler frequency % Ts = sampling period % Author : Mathuranathan for http://www.gaussianwaves.com % Creative commons License : CC-BY-NC-SA a=0; b=2*pi;

alpha=a+(b-a)*rand(1,M); %uniformly distributed from 0 to 2 pi beta=a+(b-a)*rand(1,M); %uniformly distributed from 0 to 2 pi theta=a+(b-a)*rand(1,M); %uniformly distributed from 0 to 2 pi

m=1:M; for n=1:N;

x=cos(((2.*m-1)*pi+theta)/(4*M));

h_re(n)=1/sqrt(M)*sum(cos(2*pi*fd*x*n'*Ts+alpha)); h_im(n)=1/sqrt(M)*sum(sin(2*pi*fd*x*n'*Ts+beta)); end

h=h_re+j*h_im; end

2)The above mentioned function is used to generate Rayleigh Fading samples with the following values for the function arguments. M=15; N=10^5; fd=100 Hz;Ts=0.0001 second;

Investigation of Statistical Properties of samples generated using Clarke’s model:

3) Mean and Variance of the real and imaginary parts of generated samples are

Mean of real part ~=0 Mean of imag part ~=0

Variance of real part = 0.4989 ~=0.5 Variance of imag part = 0.4989 ~=0.5

The results implies that the mean of the real and imaginary parts are same and are equal to zero.The variance of the real and imaginary parts are approximately equal to 0.5.

4)Next, the pdf of the real part of the simulated samples are plotted and

compared against the pdf of Gaussian distribution (with mean=0 and variance =0.5)

Real Part of simulated samples exhibiting Gaussian Distribution characteristics

5)The pdf of the generated Rayleigh fading samples are plotted and compared against pdf of Rayleigh distribution (with variance=1)

PDF of simulated Rayleigh Fading Samples

6) From 4) and 5) we confirm that the samples generated by Clarke’s model follows Rayleigh distribution (with variance = 1) and the real and imaginary part of the samples follow Gaussian distribution (with mean=0 and variance =0.5).

7) The Magnitude and Phase response of the generated Rayleigh Fading samples are plotted here.

The Magnitude and Phase response of the generated Rayleigh Fading samples


基于Clarke模型的瑞利衰落信道产生.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:河南省煤矿企业安全生产绩效考核评分 - 图文

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: