Professional Documents
Culture Documents
Systems
First Edition
Laboratory I
Fading in Wireless
Communication Systems
𝑠 𝑡 𝐴 𝑡 cos 2𝜋𝑓 𝑡 𝜃 𝑡 1
𝑠 𝑡 𝐴 𝑡 cos 2𝜋𝑓 𝑡 2𝜋 △ 𝑓 𝑡 𝜃 𝑡 3
Fading
• It is an advantage to describe bandpass signals with
baseband signals that have their energy concentrated
around zero frequency because bandpass signals are not
convenient to analyze.
• In addition, it is easier to handle low-pass signals in
hardware and software implementations of signal
processing algorithms. Equation 3 can be rewritten using
the low-pass signals 𝑥 𝑡 and 𝑦 𝑡 which are often denoted
the in-phase I and quadrature Q components of the
signal
𝑠 𝑡 𝑥 𝑡 cos 2𝜋𝑓 𝑡 𝑦 𝑡 sin 2𝜋𝑓 𝑡 4
Fading
• The received signal can also be expressed as
𝑠 𝑡 ℜ𝔢 𝑧 𝑡 𝑒 5
where the complex envelope of 𝑠 𝑡 is a low-pass signal given
by 𝑧 𝑡 𝑥 𝑡 𝑗𝑦 𝑡 6
• The envelope of the signal 𝑧 𝑡 is denoted by 𝑟 𝑡
𝑟 𝑡 𝑥 𝑡 𝑦 𝑡 7
and the phase of the signal is denoted by 𝜃 𝑡
𝑦 𝑡
𝜃 𝑡 atan 8
𝑥 𝑡
• The in-phase 𝑥 𝑡 and quadrature 𝑦 𝑡 become uncorrelated
Gaussian processes if the received signal 𝑠 𝑡 consists of
many components with the same statistical properties.
Fading
• If the mean values of 𝑥 𝑡 and 𝑦 𝑡 are equal to zero, the
joint probability distribution function pdf can be
expressed as
1
𝑝 𝑥, 𝑦 𝑒 9
2𝜋𝜎
• The joint pdf of 𝑟 𝑡 and 𝜃 𝑡 is given by
𝑟
𝑝 𝑟, 𝜃 𝑒 10
2𝜋𝜎
• The marginal density function mdf of 𝑟 𝑡 , denoted by
𝑝 𝑟 is often called the Rayleigh distribution in the
literature:
𝑟
𝑝 𝑟 𝑒 11
𝜎
Fading
• It can be shown that the average power of the received
signal 𝛾 𝑟 𝑡 is exponentially distributed with mean
𝛾 2𝜎
1
𝑝 𝛾 𝑒 12
𝛾
Fading
• If there is a direct line-of-sight path between the
transmitting antenna and the mobile, Equation 3 can be
modified to include this effect
13
where the constant 𝐴 is the strength of the direct component
and △ 𝑓 is the Doppler shift along the direct path.
• The envelope 𝑟 𝑡 is in this case Nakagami-Rice distributed
or just Rican distributed with the mdf
𝑝 𝑟 𝑒 𝐼 14
where 𝐼 is the zero-order modified Bessel function.
Pre-lab Assigment
• Derive the expression for the doppler shift △ 𝑓 in Equation
2 , and explain under which circumstances△ 𝑓 takes on
its minimum and maximum values.
• Calculate the expressions for the in-phase 𝑥 𝑡 and
quadrature 𝑦 𝑡 in Equation 4 using trigonometric
expansion of the cosine function in Equation 3 .
– Hint: cos 𝑎 𝑏 cos 𝑎 cos 𝑏 sin 𝑎 sin 𝑏
• Derive the joint pdf of 𝑟 𝑡 and 𝜃 𝑡 in Equation 10 from the
joint pdf 𝑝 𝑥, 𝑦 defined in Equation 9.
– Hint: use the transformations 𝑥 𝑡 𝑟 𝑡 cos 𝜃 𝑡 and
𝑦 𝑡 𝑟 𝑡 sin 𝜃 𝑡
Pre-lab Assigment
• Derive the mdf of the envelope, 𝑝 𝑟 , in Equation 11 from
the joint pdf 𝑝 𝑟, 𝜃 , defined in Equation 10.
• Calculate the probability that the envelope 𝑟 𝑡 is below a
value 𝑎
• Calculate mean 𝑟 , second moment 𝑟 and the variance of
the envelope 𝑟 𝑡
– Hint: Gaussian integral
𝑒 𝑑𝑥 𝜋
Matlab
• Write a Matlab function r,p ray_mdf n, sigma that
returns the mdf of a Rayleigh distributed stochastic
variable. The function returns 𝑝 𝑟 defined in Equation 11
for 0 𝑟 𝑛𝜎. The input parameters are scalars and the
output parameters are vectors.
• Use the graph to estimate the probability that the envelope
𝑟 𝑡 is below the variance. Compare the returned value
with the theoretical value.
• Write a function which computes the variance of the
Rayleigh distribution. The input parameters are obtained
from the ray_mdf function. Compare the returned value
with the theoretical variance..
Matlab
• Write a function t, s ray_gen N, a, b, fc, fs, v, tau which
generates the 𝑠 𝑡 signal in Equation 3 for a mobile unit
travelling at m/s. The path amplitudes 𝐴 𝑡 are generated
using the Weibull distribution with parameters alpha and
beta, see the wblrnd function. Furthermore, the carrier and
sampling frequencies are denoted by fc and fs respectively.
The signal should be generated for a time interval of tau
seconds. The output parameters t and s contain the
sampling times and the corresponding signal values.
Execute the ray_gen function with parameters N 10, a 1,
b 3, fc 900 MHz, fs 4fc, v 25 m/s and tau 1μs. Plot
𝑠 𝑡 .
Matlab
• Use the demod function to demodulate the signal 𝑠 𝑡 to get
the in-phase 𝑥 𝑡 and quadrature 𝑦 𝑡 components. Plot
𝑠 𝑡 , 𝑥 𝑡 , 𝑦 𝑡 and the envelope 𝑟 𝑡 using the subplot
command.
• Plot the received signal power 𝛾 𝑡 and the mean signal
power 𝛾 , both expressed in dB, in the same graph. Use the
graph to estimate the outage probability at the level 𝛾 .
• Write a function t, s rice_gen N, a, b, fc, fs, v, tau, A0
which generates the 𝑠 𝑡 signal in Equation 13. Execute the
function with the same parameter values that was used for
the ray_gen function above. Compare the mean received
signal power for the two cases when A0 2.8.