Beruflich Dokumente
Kultur Dokumente
In wireless communication, multipath propagation occurs unlike that in wired, where only
one path exists.
This leads to constructive and destructive interferences.
The destructive interferences cause fading.
When magnitudes of different signals arriving at the receiver have a distribution resembling
that of a Rayleigh distribution it is known as Rayleigh Fading.
When one of the signals dominate over others, Rician fading occurs.
ChannelType: 'Rayleigh'
InputSamplePeriod: 1.0000e-005
DopplerSpectrum: [1x1 doppler.jakes]
MaxDopplerShift: 130
PathDelays: 0
AvgPathGaindB: 0
NormalizePathGains: 1
StoreHistory: 0
StorePathGains: 0
PathGains: -0.0428 + 0.4732i
ChannelFilterDelay: 0
ResetBeforeFiltering: 1
NumSamplesProcessed: 0
g =
-0.0428 + 0.4732i
2)
The code below plots a faded signal's power (versus sample number). The code also illustrates the
syntax of the filter and rayleighchan functions and the state retention of the channel object.
Notice from the output that NumSamplesProcessed equals the number of elements in sig, the signal.
c = rayleighchan(1/10000,100);
sig = 1i*ones(2000,1);
% Generate signal
y = filter(c,sig);
3)
The code below creates a frequency-flat Rayleigh fading channel object and uses it to process a
DBPSK signal consisting of a single vector. The example continues by computing the bit error rate of
the system for different values of the signal-to-noise ratio. Notice that the example
uses filter before awgn; this is the recommended sequence to use when you combine fading with
AWGN.
hDemod = comm.DBPSKDemodulator;
tx = randi([0 M-1],50000,1);
fadedSig = filter(chan,dpskSig);
for n = 1:numSNR
hChan.SNR = SNR(n);
rxSig = step(hChan,fadedSig);
rx = step(hDemod, rxSig);
% Demodulate
reset(hErrorCalc)
% Compute error rate.
berVec(:,n) = step(hErrorCalc,tx,rx);
end
BER = berVec(1,:);
% Compute theoretical performance results, for comparison.
BERtheory = berfading(SNR,'dpsk',M,1);
4)
commmultipathfading
The above code can be used to visualize the qpsk multipath fading and the different factors
mentioned:
a) Impulse response
b) Frequency response
c) Multipath fading components
d) Multipath gain
e) Doppler spectrum
f) Scattering function