Вы находитесь на странице: 1из 8

BER analysis of multiuser detection in CDMA using MATLAB

Gaurav Kumar
gauravkumar.usit@gmail.com

and
Dr. Vandana Nath
vandanausit@gmail.com

University School of Information Technology, Guru Gobind Singh


Indraprastha University
Delhi-110006, India

Abstract— This article gives the details account this correlation would perform
about the modulation and detection of better than the conventional matched filter
multiuser detection in CDMA system in a bank. MUD is basically the design of signal
Gaussian channel having additive processing algorithms that run in the black
Gaussian noise. Implementation of box and take into account the correlative
CDMA transmitter and receiver with a structure of the MAI.
conventional and decorrelation detector is
done using MATLAB. The bit error rate
(BER) of the detected users is calculated
and compared as number of users
increases. Finally the effect of noise is
analysed as the noise power increases in
Keywords—DSSS, CDMA, BER, Additive
Gaussian noise, multiuser detection.

1. Introduction

Multiuser Detection (MUD) is the intelligent


estimation/demodulation of transmitted bits
in the presence of Multiple Access
Interference (MAI). MAI occurs in multi-
access communication systems
(CDMA/TDMA/FDMA) where
simultaneously occurring digital streams of
information interfere with each other. Figure 1. A typical multiuser detector
Conventional detectors based on the
matched filter just treat the MAI as additive 2. DSSS transmitter
white gaussian noise (AWGN). However,
unlike AWGN, MAI has a nice correlative In Direct Sequence-Spread Spectrum the
structure that is quantified by the cross- baseband waveform is multiplied by the PN
correlation matrix of the signature sequence. The PN is produced using a PN
sequences. Hence, detectors that take into
generator. Frequency of the PN is higher is used to generate sufficient statistics for
than the Data signal. This generator consists signal detection. In the case of a multi-user
of a shift register, and a logic circuit that system, the detector consists of a bank of
matched filters (each matched to the
determines the PN signal. After spreading,
signature waveforms of different users in the
the signal is modulated and transmitted. The case of CDMA). This is shown in figure 3.
most widely modulation scheme is BPSK This type of detector is referred to as the
(Binary Phase Shift Keying). The equation conventional detector in MUD literature.
that represents this DS-SS signal is: We need exact knowledge of the users
signature sequences and the signal timing in
order to implement this detector.

…..……(1)

where m(t) is the data sequence, p(t) is the


PN spreading sequence, fc is the carrier
frequency, and Ɵ is the carrier phase angle
at t=0. Each symbol in m(t) represents a data
symbol and has a duration of Ts . Each pulse
in p(t) represents a chip, and has a duration
of Tc. The transitions of the data symbols
and chips coincide such that the ratio Ts to
Tc is an integer . Here we notice the higher
frequency of the spreading signal p(t). The
resulting spread signal is then modulated
Figure 3.conventional DSSS reciever
using the BPSK scheme. The carrier
frequency fc should have a frequency at In the demodulator section, we simply
least 5 times the chip frequency p(t). reverse the process. We demodulate the
BPSK signal first using low pass filter the
signal, and then Dispread the filtered signal,
to obtain the original message. The process
is described by the following equations

Figure 2. DSSS transmitter .................................................................. (2)

3. Conventional DS-CDMA receiver

In conventional single-user digital ....... ……………………………….....(3)


communication systems, the matched filter
PN sequence in the receiver it should be an
exact replica of the one used in the
transmitter, with no delays, cause this might
cause severe errors in the incoming
message. Again, my design is based on the
idea that PN sequences are matched, and
actually i am going to use the same
generator for both to ease the design. ……………………………….(6)

The signal at the receiver is given by R is a symmetric, non-negative


definite, toeplitz matrix. The decision
statistic a the output of the Kth
matched filter is given by

...…………………………….. (4)

Where sk is the signature waveform of the


kth user (sk is normalized to have unit ………...….............................. (7)
energy i.e., < sk ,sk > =1). bk is the input
where y(t) is given by (4). Expanding
bit of the kth user, bk {-1,1}.Ak is the
(7),
received amplitude of the kth user. n(t) is
additive white gaussian noise with PSD No.

The cross-correlation of the signature


sequences are defined as
……………………….……… (8)

using eq(6), we get


…… (5)

where N is the length of the signature


sequence . ………
The cross-correlation matrix is then …………………… (9)
defined

…………
……....................... (10)

Since ρ11=1, (9) simplifies to


does not account for the structure of the
MUI, considering it as just background
noise and does not have good near far
resistance. Theoretical limits on the number
............................................... (11)
of orthogonal sequences also place an upper
The 2nd term in (11) is the MAI. The bound on the number of users that can be
supported by such a system. Also
matched filter treats the MAI just as white
practically, the inherent nature of the
noise. Stacking up (11) for all the users we wireless channel introduces multi-path
get fading and delays, which destroy the
orthogonality of these signature waveforms.
In such a scenario, it is often desirable to use
signature waveforms with low cross
correlation’s (almost orthogonal) to ensure
minimum degradation in performance. The
role of multi-user detection becomes
increasingly crucial in non-orthogonal
… CDMA systems. A communication system
………………......................... (12) can achieve significant capacity gains if the
negative effect of Multiple-User Interference
4. Limitations of the conventional (MUI) can be removed. In multiuser
detector detection we exploit the correlation
properties of the signature waveforms of
Although {y1,y2,…,yk} are sufficient different users to extract the desired signal.
statistics for detecting {b1,b2,…,bk}, yk is Then instead of acting as interference, the
not a sufficient statistic for detecting bk. The other users’ signals are used for mutual
conventional detector makes the mistake of benefit by implementing joint detection at
making this assumption (yk is a sufficient the receiver.
statistic for detecting bk) by ignoring the
MAI as background noise. This is one 5. Multiuser detection using decorrelation
reason for the poor performance of the detector
matched filter bank when the number of
users is large. Another serious limitation of
The matched filter bank may decode
the conventional detector is that it is
erroneously even in the absence of
seriously affected by the near-far problem.
background AWGN. This is not a very
This causes a significant degradation in the
attractive property for any receiver. An
system performance even when the number
optimal receiver must be capable of
of users is very small. In a situation when
decoding the bits error-free when the noise
there is a large variation in the energies of
power is zero. This detector makes use of
the signals received from different users, the
the structure of MAI to improve the
detection of relatively lower energy signals
performance of the matched filter bank. The
becomes increasingly erroneous even in
decorrelating detector falls into the category
high SNR regions due to multiple user
of linear multiuser detectors. The
interference. Near-far resistance is defined
decorrelating detector operates by
as the ability of a receiver to reject the
processing the output of the matched filter
structured interference offered by the other
bank with the R^-1 operator where R is the
users. A conventional multi-user detector
cross-correlation matrix as defined in 6. Implementation
eq(12).
In the construction of my simulation model
for multiuser detection in CDMA, two
models are designed and simulated, one
using conventional DS-CDMA and other
using multiuser detection algorithm for
detection of DS-CDMA. MATLAB is used
to generate the message signal, GOLD
spreading sequence, transmitting signal as a
the sum of signals belonging to all active
users.The modulated DSSS signal is
transmitted through a channel having awgn.
The received signal at the receiver is
detected using matched filter and then
decorrelting detector multiuser CDMA
technique is used for detection to remove the
interference. Finally the BER from the
Figure 4. Decorrelating Detector
simulated results computed from the model
The output of the decorrelating detector is constructed in the MATLAB can be
compared with the the results of
given by:
conventional DS-CDMA detector.

…………………
7. Result
……………...…..….. (13)
The CDMA transmitter and receiver is
simulated for multiusers using conventional
………………………
and decorrelation detector using MATLAB
……………..….(14)
in the absence and presence of noise for
When the background noise is absent, i.e., various noise power and various waveforms
No=0, is obtained. Finally BER (bit error rate) is
plotted as a function of number of users for
……………………. conventional and decorrelation detector. The
……………….…(15) effect of noise power is then analysed and
compared for conventional and decorrelation
………………………………… detector.
……..(16)
In the absence of background noise the
decorrelating detector achieves perfect
demodulation unlike the matched filter bank.
One advantage of the decorrelating detector
is that it does not require knowledge of the
received signal amplitudes unlike the other
detector.
Figure 5. PN sequence sA Figure 9. Transmitted signal

Figure 10. Noise signal


Figure 6. PN sequence sB

Figure 11. Received signal at receiver


Figure 7. GOLD codes

Figure 8. Input bit sequence of 10 bits Figure 12. Demodulated signal


and for 29 users
Figure 13. Signal after passing through Figure 17. Probability of error in the
matched filter presence of noise

Figure 14. Received bit sequence using Figure 18. Probability of error as a
conventional detector function of nose with number of
users=29

8. Conclusion

The result of the MATLAB simulation of


detection of CDMA signal shows that if we
use conventional detector, probability of
Figure 15. Received bit sequence using error increases as the number of users
decorrelation detector transmitting their signal in the
communication channel increases because of
interference from other users. So even if
there is no noise present in communication
channel, the probability of error will not be
zero as number of user increases in case of
conventional detector. On the other hand if
we use decorrelation detector the probability
of error remains zero even if number of
users increases if no noise is present in the
Figure 16. Probability of error when noise
power is zero in channel communication channel, hence it completely
removes the interference from other users.
However as noise power increases in
communication channel probability of error
increases for both conventional and
decorrelation detector and beyond a certain
limit probability of error in the decorrelation
detector exceeds the conventional detector.
Hence at low noise power decorrelation
detector has less probability of error and
gives much better performance than the
conventional detector by completely
removing interference from other users.

REFERENCES
[1] Halil Tanyer Eyyuboglu “MATLAB
simulation of multiuser detection in
CDMA”, World Academy of Science and
Technology 3, 2005

[2] M. Honig, U. Madhow, and S. Verdu,


“Blind Adaptive Multiuser Detection,”
IEEE Trans. Inform. Theory, vol. 41, pp.
944-960, Jul. 1995.

[3] “Multiuser detection for CDMA”,


http://www.stanford.edu/class/ee360/suppRe
ad/read1/mud_CDMA.pdf

[4] “Implementation issues in multiuser


detection in CDMA communication
system”,
http://www.ece.rice.edu/~cavallar/theses/ga
ng_ms.pdf

[5] Andreas F.Molish , Wireless


Communications, Wiley India edition, Inc.,
2009.

Вам также может понравиться