MCSS CDMA Handouts
MCSS CDMA Handouts
Principles of DS-CDMA
Olav Tirkkonen
TKK, Department of Communications and Networking
Principles of CDMA 2
Spreading: Chips and Symbols
• A chip is the shortest modulated signal in a DS-CDMA system
• Chip rate signal bandwidth
• A symbol is spread over multiple chips
• The Spreading Factor (SF) tells how many chips are used to
transmit one symbol
Rc chip rate
spreading factor = SF = =
Rs symbol rate
• SF is a spectrum spreading factor: bit rate ⇒ chip rate
• The Spreading Code is a sequence of SF chips
• Usually the chips are +-1
• Spreading code can be understood as SF × 1 vector c
• normalization: cTc = SF T
• Example: SF=8 spreading code c = 1 1 −1 1 −1 −1 1 −1
• Spreading
• Transmitted symbol x (any linear modulation)
T
• Transmitted chip sequence xc = x x −x x −x −x x −x
Principles of CDMA 3
Despreading
• At receiver, despreading is performed
• Example: 1-tap channel h,constant during transmission
• equivalent baseband signal model, one sample per chip
• received signals during the SF chips of transmitting the spread symbol:
T
y = hxc + n = hx hx −hx hx −hx −hx hx −hx + n
where n is noise and interference
• despreading by multiplying with the (transposed) spreading code:
z = cTy = hxcTc + cTn = SF hx + cTn
• the chips carrying information about symbol x are coherently
combined
• noise and interference is despread and non-coherently combined
(as long as interference is not transmitted with the same
spreading code)
Principles of CDMA 4
Interference from Other Code Channel
• despreading:
z1 = cT1y = SF h1x1 + h2x2cT1c2 + cT1n
• interference caused by transmission using c2 on c1 determined by
cross-correlation cT
1 c2 of c1 and c2
Principles of CDMA 5
Principles of CDMA 6
Orthogonal and Non-orthogonal Codes I
• expected
√ auto-correlation of random code with shifted versions of itself is
SF
Principles of CDMA 8
Multicode CDMA vs. TDMA
• With orthogonal codes, the channel can be divided into SF
orthogonal code channels, each with symbol rate 1/SF of the chip
rate
• Just as with TDMA, one can divide the chip rate into SF
orthogonal time domain channels with rate 1/SF
• in TDMA, symbols/channels are multiplexed in the time domain
Principles of CDMA 9
Principles of CDMA 10
Multicode CDMA vs. TDMA Example II
• despreading of all channels:
√ 4 despreading outputs zi
• include scaling with 1/ SF = 1/2 into despreading
• scales received ⎤ and interference + noise similarly
⎡ signals ⎡ ⎤
z1 h1x1
⎢ z2 ⎥ ⎢ ⎥
z=⎢ ⎥ T T ⎢ h2x2 ⎥ + √ 1 CTn
⎣ z3 ⎦ = √SF C y = √SF C C ⎣ h3x3
1 1
⎦ SF
z4 h4x4
⎡ ⎤
h1 x 1
⎢ h2 x 2 ⎥
• with orthogonal spreading z = ⎢ ⎥
⎣ h3x3 ⎦ + ñ
h4 x 4
• noise hase not been coloured in despreading:
E ññH = SF1 E CTnnHC = SF1 CT E nnH C = N0I
=N0 I
Principles of CDMA 11
• With fixed bandwidth & chip rate, CDMA with large SF offers less
complex receiver processing against multipath interference than
TDMA and a more graceful diminishing of transmission rate with
increasing interference
Principles of CDMA 12
Spreading in Cellular Systems
• Downlink is intra-cell synchronous by definition
• Transmissions to all users have the same timing
• Orthogonal spreading may be used
• Including possible multicode transmissions to a user
• To synchronize intra-cell UL, accurate Timing Advance is required
• Less than a fraction of the chip rate
• If UL is intra-cell synchronized, orthogonal spreading may be used
• If UL is not synchronous, orthogonal spreading for different users cannot be
used
• Pseudo random spreading is used to randomize interference
• In WCDMA, chip rate 4 Mcps, UL synchonization not considered
• required TA accuracy would be < 10−7 s
• Orthogonal spreading can be used for multicode transmission from a user
• In CDMA systems, resources used in different cells are not
orthogonal
• Reuse 1
• Pseudo-random spreading (“scrambling”) to mitigate inter-cell interference
Principles of CDMA 13
Spreading Partitioning
• functions of spreading in Cellular system
1. to provide immunity against multipath interference
• good autocorrelation properties
2. to whiten the inter-cell interference (randomization)
3. to provide orthogonal CDM for synchronized intra-cell channels
• these somewhat conflicting targets are achieved by partitioning
spreading code into two parts
• scrambling code
• a long sequence of pseudo-random +-1:s generated by mathematically defined random sign
generator, known at BS and MS
• fulfils targets 1 and 2
• channelization code
• performs the spreading from symbol rate to chip rate
• length SF
• family of SF orthogonal codes, provides multiple orthogonal channels, if needed
• fulfils target 3
Principles of CDMA 14
Spreading and Scrambling, Example
• SF = 4
• channelization code c = −1 1 1 −1
• pseudo-random scrambling code
• data symbols are BPSK, one bit per symbol, values ±1
• spectrum is spread from bit rate to chip rate = 4 x bit rate
Principles of CDMA 15
Processing Gain I
• multi-user CDMA (UL), N users
• the received signal of user k after despreading
N
T
zk = ck y = SF hk xk + hixicTk ci + cTk n
i=1
i=k
N
√
≈ SF hk xk +
SF hixi + cTk n
signal i=1 noise
i=k
Multiple Access Interference
Principles of CDMA 16
Processing Gain II
• expected signal power is SF 2|h|2|x|2Rc = SF 2Pk
• Pk is the received signal power for user k , the channel gain times the
transmitted symbol power (symbol energy/chip duration)
• expected interference power is
N N ∗ ∗
N 2 2
N
SF E i=1 hi xi j=1 hj xj Rc = SF i=1 |hi | |xi | Rc = SF i=1 Pi
i=k j=k i=k i=k
• the post-despreading SINR of user k is
SF Pk Pk
γk = N ≡ G N
i=1 Pi + N0 Rc i=1 Pi + N0 Rc
i=k i=k
• the spreading factor provides the processing gain G = SF
against noise and interference
• processing gain is 3dB per doubling of SF
• here Multiple Access Interference (MAI) treated
• similarly, spreading provides processing gain against Inter-Path Interference
and Inter-Cell Interference
Principles of CDMA 17
Near–Far Effect
G Pk
• recall SINR of user k : γk = N
i=1 Pi +N0 Rc
i=k
• With the same Tx power, received power differences of UL users
due to path loss may be up to 90 dB, due to fast fading up to 50dB.
• To overcome this, a user in a disadvantaged position would need
a processing gain of the same magnitude, i.e. G 109
• This near-far effect causes a significant reduction of the capacity
• To cope with the near-far effect, effective uplink power control is
required in DS-CDMA systems
Principles of CDMA 18
Power Control in CDMA I
• Uplink
• removes excessive intra-cell (and inter-cell) interference caused by
transmissions of users close to BS
• Downlink
• removes excessive inter-cell interference caused by transmissions to users
close to BS
Principles of CDMA 20
Advantages of DS-CDMA
• All resources can be used in all cells
• wideband channel and large SF produce sufficient SINR for cell edge users
⇒ high system capacity
• Protection against multipath interference
• based on good autocorrelation properties of the spreading codes
• if spreading factor is large
• Multipath diversity can be utilised by the RAKE-receiver
• It is easy to multiplex different channels in the code domain
• control and transport channels, different users
• Silence periods in the transmitted signal do not consume
resources
• Narrowband interference rejection
• A narrowband signal will be spread in the correlation receiver
• Privacy and low probability of interception
• signal can be detected only if spreading code is known
• In a hostile environment good anti-jamming properties
Principles of CDMA 21
Disatvantages of DS-CDMA
• In UL, chip synchronisation between the users is overwhelming
⇒ Multiple Access Interference between users
• In DL, Inter-Path Interference reduces orthogonality of users
• Accurate power control needed to avoid near-far problems which
put distant users in an unfavourable situation
• CDMA is fundamentally an access scheme for low rates and
many users
• RAKE works well in severe multipath channel only if significant fraction of the
possible orthogonal codes are not used (DL)
• More complex receivers (chip equalizers) are needed to mitigate IPI and MAI
• Simplicity of DS-CDMA is lost
Principles of CDMA 22
S-72.2211 Mobile Communication Systems and Services
CDMA Capacity
Olav Tirkkonen
TKK, Department of Communications and Networking
CDMA Capacity 3
UL Capacity, Example
200
Target SINR = 3dB
Target SINR = 6dB
150 Target SINR = 9dB
Nmax
100
50
0
−20 −15 −10 −5 0 5 10
RF SNR
CDMA Capacity 4
UL Capacity, Non-similar Users
• different users have different SINR targets and processing gains
• target SINR for user j is γj , spreading factor is Gj
• assume that the MAI affects all users in the same way: power control
condition is
γj G j Pj
=
γk Gk Pk
• this means that the feedback coupling in PC needs not to be taken into account (how the
user’s PC affect other user’s PC, and again the users PC)
• the PC of one user does not affect the interference level in the cell
CDMA Capacity 5
Noise Rise
• the SINR can be calculated from the previous equation:
⎛ ⎞
ρj γj
γk = ⎝1 − (1 + f ) ⎠ Gk γRF
Gj
j=k
CDMA Capacity 6
Fractional Load
• the more users the higher load in the system
• the higher SINR targets, the higher load
• the more activitym the higher load
• the fractional load is
ρj γj
η = (1 + f )
j
Gj
• note: all users taken into account (also user k )
• noise rise equation was derived based on the power control condition that
assumed that a user takes negligible resources
⇒ no essential difference betwwen fractional load and sum in noise rise
• relation of fractional and noise rise:
γ0 1
≈
γk 1 − η
• when number of users and their SINR requirements grow so that
η → 1, the required SNR (and the Tx power) grows to infinity
• infinitely interference limited network
CDMA Capacity 7
Pole Capacity
• fractional load 1 determines the pole capacity of the CDMA
system ρj γj
η = (1 + f ) =1
j
Gj
• the number of users and SINR requirements that can be served if all users
have ∞ Tx power
• with finite Tx powers, capacity is less than pole capacity
• Example: similar users
• pole capacity equation:
1 ργ G
Nmax = 1 ⇒ Nmax =
1+f G (1 + f )ργ
• takle ρ = 0.5, G = 256, γ = [3, 6, 9]dB = [2, 4, 8]
• f = 0.6 = 3/5
5 1 1
Nmax = · 256 · 1, , = [160, 80, 40]
8 2 4
• compare plot for similar users above
CDMA Capacity 8
DL Fractional Load
• In DL CDMA, users in a cell typically use orthogonal spreading
codes
CDMA Capacity 9
Interference Margin I
• According to noise rise equation, post-despreading SNR γ0 is
larger than SINR γk
CDMA Capacity 10
Interference Margin II
CDMA Capacity 11
CDMA Capacity 12
Load vs. Coverage II
n
η 2 3 4 5
0 1 1 1 1
0.5 0.5 0.63 0.71 0.87
0.7 0.3 0.45 0.55 0.79
0.9 0.1 0.22 0.32 0.63
CDMA Capacity 13