Escolar Documentos
Profissional Documentos
Cultura Documentos
Radio School
Digital Radio Transmission
DT14 Spread-spectrum
techniques CDMA
Modulator
Detector
Channel decoder
Channel coder
Speech coder
Speech decoder
RCUR
Core Unit Radio Systems and Technology
Index to DT14
bandspreading
CDMA, Code Division MA
code sequences
cellular systems
chip
cluster size 1
coordinated frequency hopping
discontinuous transmission, DTX
DS-CDMA
DS-CDMA, multipath propagation
DS-CDMA, synchronization
DS-CDMA, traffic capacity
fast frequency hopping
FEC
FH-CDMA
freqency hopping for military use
Gold sequences
interference-limited systems
interference suppression
GPS
jamming margin
matched filter detector
near-far problem
pn-sequences
processing gain
rake receiver
slow frequency hopping
Walsh functions
Contents
page
1.
Overview
4
1.1. Different types of spread spectrum
4
1.2. How DS-CDMA works
5
1.3. CDMA for mobile cellular networks
6
1.4. Characteristics of interference-limited systems
7
1.5. Other uses of band-spreading
8
1.6. Interference suppression
8
2.
DS-bandspreading systems
9
2.1. Processing gain and anti-jamming margin
9
2.2. Transmitter and receiver arrangements
12
3.
Technical aspects of DS band-spreading systems
14
3.1. Synchronization
14
3.2. Code sequences
14
3.3. Adjusting the receiver structure to multipath propagation 14
3.4. Use of FEC (Forward Error Control)
17
4.
Frequency hopping for military systems
18
4.1. Fast frequency hopping
18
4.2. Slow frequency hopping
20
4.3. DS-CDMA
21
5.
Cellular systems based on band-spreading
22
5.1. Introduction
22
5.2. Band-spreading through channel coding
22
5.3. DS-CDMA
22
5.4 FH-CDMA
25
Appendix 1. Characteristics of pn sequencies
27
Appendix 2. Walsh functions
30
1. Overview
1.1. Different types of spread spectrum
It has already been shown in connection with frequency modulation and channel
coding that the detection characteristics can be improved through bandwidth
expansion (modulation gain and coding gain). If overall system considerations
permit bandwidth expansion, spread spectrum techniques can provide more
noticeable improvements in receiver sensitivity when interference is the limiting
factor.
The bandwidth expansion is achieved through applying a modulation (coding) that
is not directly related to the baseband information. Compared to FM, which can
also give considerable bandwidth expansion, there is no limit (or threshold) to the
improvement that can be obtained, so long as synchronism can be maintained
between the transmitter and the receiver. Thus, spread spectrum systems can
continue to discriminate against unwanted interfering signals, not marked by the
right code, even if the desired signal is considerably weaker than the interfering
signals within the wideband radio channel being used.
There are several ways of achieving band spreading. The three most common ones
are:
a. Direct-Sequence Spread Spectrum
It is normally called Direct-Sequence Code Division Multiple Access
(DS-CDMA) in civilian communication applications.
b. Fast Frequency-Hopping Spread Spectrum
It has only been used in military communication systems.
c. Slow Frequency-Hopping Spread Spectrum
It is normally called Frequency-hopping Code Division Multiple Access
(FH-CDMA) in civilian communication applications. It is used in military
mobile networks, i.e. the Swedish Truppradio.
The name CDMA refers to the fact that a spread-spectrum system with sufficient
bandwidth expansion can give so large suppression of interference from radio
connections, marked with the wrong code, that enough isolation is obtained
between simultanious connections to permit multiple access. CDMA is thus an
alternative to FDMA and TDMA, discussed in previous modules and in module
DM1.
The major reason to apply band-spreading in military applications is the
discrimination against hostile interference (jamming) with the intention to disrupt
the communication. The suppression of hostile jamming is based on the assumption
that the code can be kept secret, to prevent jamming signals from being marked
with the same code. In military applications, the code is generally determined by a
cryptographic key, similar to that used for encrypted transmissions.
Suppression of jamming was the original use of spread spectrum, which explains
the name of one of the most important characteristics: the Anti-Jamming or
Jamming Margin. Due to the bandwidth expansion, an acceptable transmission
quality can be obtained even if the interference/jamming (I or J) is considerably
stronger than the desired signal (received power C) at the receiver input. This
corresponds to a negative protection ratio (C/I)min, normally expressed in dB.
The definition of the jamming margin (I/C)max is the maximum relative level of the
interfering signal, I, at the receiver input, for acceptable transmission quality. The
jamming margin, for interference falling within the assigned frequency band, also
corresponds to the system selectivity at a FDMA system.
In true spread spectrum systems, the bandwidth expansion occurs for each information bit, which means that also the short term frequency spectrum is spread out.
This is obtained with direct sequence and to a large extent also with fast frequency
hopping.
In direct sequence band-spreading systems, each primary radio symbol is coded
with a chip sequence of much higher rate than the symbol rate. The ratio
between the chip and symbol rate determines the spreading ratio (ratio between
the modulation bandwidth after and before band-spreading). In a basic
direct-sequence system, the spreading ratio is equal to the processing gain which
is closely related to the jamming margin, see section 2.
In frequency hopping, the codes define the differerent frequency hopping patterns.
The optimum interference suppressing capability is obtained with random patterns,
which results in collisions, as sometimes more than one connection occupy the
same time-frequency slot. This limits the mutual isolation and thus the CDMA
capability.
At fast frequency hopping, the hops occur at least as fast as the rate of the input
signal to the transmitter modulator.
At slow frequency hopping (FH-CDMA), the hopping rate is so slow that many
information bits, using normal narrowband modulation, are sent during the duration
of each frequency hop. The problem is that it is necessary for good interference
suppression that the information in each source bit is spread out over the whole
assigned frequency band. This is achieved by adding FEC channel coding with
interleaving. This is the same hopping arrangement, that is discussed in modules
DT10 (channel coding) and DM1 (GSM). Frequency hopping was motivated in the
GSM system mainly by the need to introduce frequency diversity to support
channel coding with interleaving in connection with quasi-stationary propagation
channels.
This module deals primarily with DS-CDMA, as this is the preferred type of spread
spectum for cellular radio. A more detailed coverage is given in module DM3.
In a simple, one-channel receiver, the detector will try to match its code timing to
the largest multi-path component of the wanted signal. With more advanced signal
processing (rake structure, see section 3.3), several signal components can be
combined coherently in a multi-channel receiver, resulting in better utilization of
the received signal power and also in a diversity gain (multi-path diversity against
frequency-selective fading). To obtain diversity gain, it is necessary that the modulation bandwidth is wide enough to enable the different propagation paths to be
distinguished in time by the receiver signal processing. The same condition can be
expressed as the need for the system bandwidth to exceed the correlation
bandwidth of the propagation channel to make frequency diversity possible.
Such a receiver, which can simultaneously receive signals with different
propagation delays and/or different codes, can also be used for base-station
diversity with soft handover in the outward direction. Se figure 1.1.
T: Base-station transmitter
R: Terminal receiver
The receiver knows the
spreading codes used by
the transmitters.
Figure 1.1
The same baseband signal with suitable spreading is sent from several base stations
with overlapping coverage. The terminal receiver decodes and combines signals
from several base stations simultaneously. It is necessary that the terminal receiver
knows the spreading codes used by the base transmitters involved.
2. DS-CDMA
2.1. Processing gain and anti-jamming margin
In direct-sequence spread spectrum systems, the output signal from the normal
transmitter modulator is mixed with a local oscillator signal modulated with a code
sequence (pseudo-noise or pn sequence) (see Fig. 2.1). Often 2 ASK (antipodal
modulation) is used. The bandwidth expansion is obtained by replacing each
incoming information bit with a code sequence comprising M chips. We assume
that that the chip modulation is also 2 ASK. An example of suitable sequences is
maximum-length shift-register sequences (see Appendix 1). If the information bit
rate is di, the duration of each information bit will be Ti = 1/di.
If the antipodal modulation is used, in rough terms the modulation bandwidth
before spreading will be W = 1/Ti = di. After coding, the signal will comprise a
sequence of chips of length Tc = Ti/M. The modulation bandwidth will be
B = 1/Tc = MW, that is, the bandwidth expansion will be B/W = M. This
corresponds to a processing gain, Gp, of M times, or 10 log M dB.
W di =
Ti
0
I
Ti
One chip
Tc
1 1
"0":
"1":
1 0
1 1
0 1 1
Each
information bit is
coded with an
M-chip code
sequence.
Tc =
1
Ti
M
Ti
Modulation bandwidth after spreading = B
B >>W
"Spread spectrum"
Processing gain = G p =
Fig. 2.1
B
W
1 M
=
M W
Tc Ti
input signal
Code key
PSK
(FSK)
Mod.
W
W di
Code
generator
B
B
Modulated
LO
m
r
Signal
bandwidth
Bsign = W
Gp =
pu
B
W
B jam B
No
PSK
(FSK)
Output signal Demod.
W
Attenuation C 0dB
Attenuation J G p
B
B>>W
m
r = pu
pu
: Propagation delay
I = Jammer
(Hostile or
within system)
Fig.2. 2
10
Jo =
W di
J
B
(Noise
density,
Watt/Hz)
C
C C
E
= B = i di
No
No Jo J
C = Ei di
J = JoB
p-n
sequence
C Ei di
=
J No B
Gp =
B
di
Ei
J
= Gp
dB N o
C dB
dB
( )
Jo No
Example: Information bit rate:
d i = 10 kb / s W 10 kHz
Required
Ei
= 5 dB
No
Fig. 2.3
Since the interfering signal occupies a bandwidth of at least B in the input to the
detector filter, the power density of the interfering signal, Jo, in the worst case will
be J/B. The influence of Jo on the detector can be regarded as equivalent to the
corresponding noise, No. The required value of C/Jo will be the same as the
required value of C/No for the basic arrangement without spread spectrum. From
this we get the expression for the jamming margin, J/C, as shown in Fig. 2.3. This
is a rough estimate. In a detailed analysis we would have to take into account the
auto and cross correlation characteristics of the code sequences and also the fact
that the amplitude distribution of the incoming interfering signals to the detector
can somewhat deviate from Gaussian.
Other modulation types than antipodal, which have different ratios between modulation bandwidth and modulation data rate, can be used for the basic modulation
and the spreading modulation. The relations, derived above, are still valid as long
as the processing gain is defined as the ratio beween the bandwidths after and
before spreading. As an example, at the systems to be used for UMTS, the basic
modulation will be either 4QAM or 16QAM.
Part of the bandwidth expansion can be achieved through coding. If so, the coding
gain is added to the basic value of the processing gain before adding channel
coding (see section 3.4). The basic processing gain relates to the source data rate not the rate after the channel coder.
11
Info
source
modulus 2
+
Code
generator
NRZ
generator
2-ASK
modulator
Code key
A
Tc
B
C
Ti
Fig. 2.4
As can be seen from Fig. 2.2, one way of despreading the received signal is
through the modulation applied to the local oscillator. The receiver mixer correlates
the received signal with the LO signal. Another procedure involves the use of an
unmodulated LO combined with a detector arrangement incorporating a filter, that
is matched to the code sequence (matched filter-receiver). One possibility is to use
a matched transversal filter whose outputs correspond to the train of + and -
bits in the code sequence (see Fig. 2.5).
12
PSK
mod.
T = M Tc
Autocorrelation function
T
S1
1
1
M
Unmod.
LO
C=
I
S1 (t )S1 (t )dt
T
(Maximumlenght sequence
2T
+ + - + - + + + +- - - + - -
Instant
Matched filter
(SAW line)
Fig. 2.5
13
Rake receiver
Thresholddetector
1
Code-sequence
generator
2
3
h (t )
R (microdiversity)
Impulse response T
T1
R (macrodiversity)
1
T2
microdiversity
T1
macro+microdiversity
Fig. 3.1
The simplest arrangement for reducing the necessary fading margin is that whereby
only a small part (one chip interval) of the impulse response is used at any given
instant but where it is possible, when necessary, to jump to another, stronger
propagation path (corresponds to selection diversity). This is made possible by a
separate receiver channel that continuously measures the impulse response and
locates the strongest propagation paths. (A pilot sequence can be used for this
purpose).
A more effective diversity arrangement is obtained using a rake receiver, which
gathers the energy from several propagation paths (see Fig. 3.1). For coherent
combination of the contributions from different propagation paths to be possible, in
addition to time adjustment of the code, the relative phase positions of the LOs for
the detector channels must also be adjusted. This corresponds to equal-gain type of
diversity (see module G2, figure 5.3).
As shown in Fig. 3.1, a rake receiver can also be used to combine signals from two
base stations. This achieves macro diversity with soft handover.
16
No channel coding
di
di
Modulator
Spreading
dc
C
Band
compression
Detector
Ei
N
o
GPI
J = No dc
C ggr Ei di
d
= c
di
Legend
Ei Ei C / di
= =
No Jo J / dc
Channel
coding
db
Modulator
db
Spreading
E b =C Tb
E i =C Ti
Detector
Spreading
d
Eb = Ei i
db
GPII
II
dc
C
Channel
decoding
d
= c
db
II
II
J = No dc = No db dc
C ggr Eb
db Ei ggr di db
ggr
I
J = No G G I
( c) ( P)
C ggr Ei
ggr
Ei
Ei
1
N = N G
o
o ( ck ) ggr
E
J
= i + Gc + GPI dB
C
No
Fig. 3.2
"1"
Code key
"0"
Codesequence
generator
001110
Serialparallel
converter
Frequency
synthesizer
di =
I
t thopp
hop
=W
t
t
hop
Fig. 4.1
For instance, if the available frequency band B is divided into n frequency slots
each having a width of W = B/n, a given hop frequency can be defined by sending
k bits at a time (n = 2k) from the code sequence generator. The width of the
frequency slots is often chosen such that it corresponds to the lowest value that will
give orthogonality (W = di = 1/thop for the case in which the hop frequency
coincides with the information data rate). Fig. 4.1 applies to a simple transmitter
arrangement, whereby the useful information is sent by 2-FSK with the use of two
adjacent frequency slots. The hop sequence determines where these pair of slots is
placed within the allocated bandwith B. The receiver incorporates a corresponding
hopping frequency synthesizer and suitable time synchronization, which results in
synchronized hopping of the receiver and the transmitter.
Since it is hardly possible to achieve phase coherence between adjacent received
pulses (owing to implementation complications of the frequency-hopping
frequency synthesizer and, above all, to the frequency-dependent delay on a radio
channel with time dispersion), transmission of the information is generally based
on orthogonal, noncoherent 2-FSK or MFSK. The digital input signal and the code
sequence control the frequency synthesizer in the transmitter.
18
For example, a 10-bit code sequence and 2-FSK, 211 (2048) different hop
frequencies are defined. In the receiver the identical code sequence is fed to the
frequency-synthesizer arrangement. On the basis of this, the receiver can determine
which two frequency slots (f1 and f2) are to be monitored during a hop interval to
determine whether a 0 or a 1 has been applied to the transmitter. A suitable
receiver arrangement is shown in Fig. 4.2 The signal energy in both frequency
slots is compared in the decision circuit, which decides which channel has the
highest energy.
Env.
det.
circuit
f1-fIF
HF
f1 or f2
Frequency
synthesizer
Decision
Env.
det.
f2-fIF
Frequency Code sequence "1"
synthesizer
"0" / "1"
Fig. 4.2
In MFSK (M > 2), during each frequency-hop interval, information is sent about
n = 2log M information bits. Depending on the value of n information bits, a
frequency, fm, is generated from a group of M different frequencies (f1, f2 ... fM).
The receiver has M parallel channels. The outgoing sequence of n bits corresponds
to the channel which has the highest signal energy. (Basic modulation MFSK).
One considerable advantage of frequency hopping over direct-sequence spread
spectrum is the much easier synchronization. For a given bandwidth, B, the
requirement for synchronization precision in direct pn-sequence is determined by
the chip length, 1/B. In frequency hopping, the frequency band is split into a large
number of frequency slots each having a width of B/n (where n is the number of
frequency slots). This corresponds to a minimum length of radio symbols of n/B.
Compared with direct sequence, the required time precision in the synchronization
will be n times lower.
Above it has been assumed that the frequency slots for 2 FSK and MFSK are
packed together. However, this is not necessary. They can be placed independently
in random frequency slots over the allocated band. Using M frequencies, it is also
possible to send on more than one of these during each hop interval, i.e several
source bits can be transmitted during each hop interval.
19
20
4.3 DS-CDMA
DS-CDMA has been little used for terrestrial military networks without central
control and therefore based on simplex. As mentioned above, the reason is the
limited system selectivity, corresponding to the AJ-margin.
21
5.3. DS-CDMA
The necessary protection ratio in a spread-spectrum system based on DS-CDMA is
determined by the processing gain, Gp, and the required E/No ratio - which together
determine the antijamming margin (see Section 2).
From section 2.1 we get the following basic relations (to which coding gain might
be added):
Protection ratio:
C/I = Eb/No - Gp dB
Antijamming margin, AJ:
AJ = I/C = Gp - Eb/No dB
22
In a cellular system, the major part of the interference comes from the other
connections within the same cell, but in addition there are interference from other
cells, especially as with DS-CDMA all cells share the same radio band (cluster
size 1). Therefore, strong cochannel interference is obtained especially from
adjacent cells. See figure 5.1.
CDMA . All cells using the same frequency band
B2
B3
T6
(Base station)
(Terminal)
T4
T5
I5
I1
T1
I4
B1
I6
I3
C
T3
T2
I
< AJ
C
Figure 5.1
23
Power control:
Within a cell: C = I1 = I3 = I4
24
Gp:
20 dB
AJ-ratio:
13 dB
(N-1)
N = 11
5.4. FH-CDMA
Bandspreading through slow frequency hopping in combination with fairly
extensive channel coding with interleaving can give comparable system capacity,
as direct sequence CDMA, for the same total system bandwidth. The disadvantage
of FH-CDMA is less efficient dynamic demand assignment of channel capacity.
For optimum interference averaging, random hopping sequencies shall be used,
which means that it is a certain risk for collisions. The resulting error bursts out of
the radio demodulator can be nearly completed eliminated by FEC, as long as the
collision rate is fairly low. However, as the system is more and more loaded, the
collision rate becomes so high that the error correction capabilities are degraded.
Finally, the error rate from the channel demodulator becomes so high that the
quality of the connections becomes too low. The capacity limit has been reached.
The collision risk can be reduced by band spreading and by DTX, i.e. FH-CDMA
has the characteristics of an interference-limited system. The collision rate can also
be reduced by coordinating the hopping patterns within each cell, thus achieving
full orthogonality.
Compared to a normal FH-TDMA system, the main factor, that improves the
frequency economy of FH-CDMA, is good interference averaging. Bandspreading
also gives the potential for improved frequency diversity, but the same advantages
are obtained at a normal, channel-limited TDMA system with frequency hopping.
25
26
Appendix 1: Characteristics of
pn-sequences
The starting point is binary maximum-length sequences, which can be generated by
a shift registers with n cells and suitable feedback arrangements (see Fig. A1-1).
Maximum length ("ML") means that during one period of the generated sequence
the shift register goes through all possible states apart from the 0 state. This
means that the length of one period of the sequence is M = 2n - 1. The 0 state
corresponds to a stable condition, i.e. if this state should occur, the sequence
generator stops working (thereby causing an infinite train of 0s to be generated).
Before sequence generation starts the shift register is set to a suitable initial state
(of M possible states) by loading the shift register with a starting vector of n bits.
This determines the starting phase. Apart from different starting phases, the same
ML-sequence is generated regardless of which starting vector (excluding the
0-vector) is applied. The generated sequence contains nearly an equal number of
0s and 1s. One period comprises 2(n-1) 1s, and (2(n-1) - 1) 0s. From this
binary sequence the corresponding bipolar sequence can be generated: (1 +1,
0 -1).
Maximum-length (ML) and Pseudo-noise (pn) shift-register sequences
A shift register with n stages can assume (2n -1) states (excluding the "0" state)
A shift register with a suitable feedback passes all states and generates a periodic
ML sequence with a period of 2n -1.
Example: n=4
Modulus addition: 0 + 0=0, 0
Modulus-2
addition
Binary sequence
0 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 1 0 0
1
Binary p-n
sequence
10 11 12 13 14 15 16 17 18 19 20
+1 +1 -1 +1+1 +1 -1 -1 -1 -1 +1 -1 +1 -1 -1 +1 +1 -1 +1 +1
2
Period= M=4 -1=15
Bipolar sequence
Characteristics
a) Bipolar ML sequence ("1" -1, "0" +1) has
an autocorrelation function in the form of a
pulse train (see Fig. B1-2).
This corresponds to an almost white spectrum.
b) The sequence contains a random train of "0"
and "1"s.
(e.g. Number of "1"s minus number of "0"s =1)
(a) and b) explain the term "pseudo-noise
sequence".)
Fig. A1-1
Such a pseudo-noise sequence has a spectrum very similar to white Gaussian noise.
Strictly speaking, this actually applies to the analog bipolar signal that is generated
by the sequence (see Fig. A1-2). The digital sequence is fed into a D/A converter,
which generates a train of bipolar Dirac pulses which are low-pass-filtered in a
filter having an impulse response in the form of a rectangular pulse of length Tc.
Thus, a random sequence of positive and negative rectangular pulses is generated.
The autocorrelation function for the analogue pn-sequence is periodic, having a
period of MTc, where Tc is determined by the clock frequency (1/Tc) of the shift
register. During one period of the sequence, the autocorrelation function has a
triangular top of height M = 2n - 1 and length Tc. The value otherwise is -1.
27
ak (t kTc )
D/A
converter
h (t)
+1
a=
1
M
b (t)
h (t)
b (t)
t
Tc
+1 -1 +1 +1 -1 -1 -1 +1
0
Autocorrelation function:
t
Tc
b (t ) b (t + )dt
Tc
-1
M = 2 n 1
Fig. A1-2
The corresponding power spectrum is a line spectrum with spacing between the
1 and a spectrum width 1/T . The spectrum can be moved up to a
lines of MT
c
c
suitable wideband radio channel by passing the analogue pn-sequence through a
balanced mixer (DSBAM-ub modulator). Since the number of positive pulses is
slightly higher than the number of negative ones, the baseband spectrum has a
DC component, which is moved up to the carrier frequency on mixing. In the case
of a long pn-sequence, the carrier component is almost negligible (given a perfectly
balanced mixer). For example, in a 1,000-chip-long code, the power in the DC
component of the analogue pn-sequence is suppressed by 30 dB relative to the total
power of the signal.
It follows from the autocorrelation function, that 2n - 1 almost orthogonal signals
can be formed. The signals are pn-sequences with different time shift determined
by the start vector values. The set of signals corresponds to a linear code (2n - 1, n),
the code words for which are almost mutually orthogonal. If also the 0 code word
is included a linear code (2n, n) is obtained. (The code is called a maximum-length
code.) In theory, this can be used in a code multiplex arrangement in the direction
from the base station towards the terminals. A more practical arrangement for a
number of orthogonal channels in the outward direction is based on Walsh functions. In the inward direction from the terminals towards the base station, the
introduction of the necessary time synchronization would be extremely complicated.
One limitation with pn-sequencies of different types (generated by different shift
register structures) is that only some feedback arrangements result in maximumlength sequences. The number increases with the length of the shift register. A
length of 7 produces 18 such sequences, a length of 13 produces 630, and a length
of 17 gives 7,710 sequences. A further limitation is that some values of mutual
time shifts typically result in considerable peaks in the cross-correlation function.
28
+
Start vector
Clock
Start vector
+ + +
Fig. A1-3
29
Gold sequence
W32
W61
W62
W63
0
Figure A2-1
30