WCDMA Air Interface Training: WCDMA Acquisition, Synchronization, and Handover
WCDMA Air Interface Training: WCDMA Acquisition, Synchronization, and Handover
WCDMA Air Interface Training: WCDMA Acquisition, Synchronization, and Handover
Part 5
WCDMA Acquisition,
Synchronization,
and Handover
1
WCDMA Physical Layer Procedures
• Physical Layer Timing and procedures
Ø BS Downlink timing
Ø Slot Synchronization
Ø Frame Synchronization
Ø Soft Handover
Ø Random Access protocol
Ø Inter-Frequency Handover
2
Downlink Transmission Timing
3GPP TS 25.211 ¶ 7.0
10 ms Frame 3GPP TS 25.211 ¶ 7.0
AICH access slots #0 #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 ττ S-CCPCH,k = N x 256 chips
ττ DPCH,n = N x 256 chips
The above diagram shows very clearly the timing transmission of the various
downlink channels. The 256 chip gaps in the beginning of the P-CCPCH is to
allow transmission of the synchronization channels. This channel is
continuously transmitted from the base station and it is transmitted at the same
timing reference with the CPICH. Meanwhile, the secondary CCPCH is only
transmitted when there is data available. Therefore, it has its own transmission
timing. This timing offset is a multiple of one tenth of a slot in another words a
multiple of 256 chips. A time offset is allowed for the DPCCH and DCDCH to
perform the handover process, where two or more sources of DCDCH from
different base station should be aligned together. In the case of S-CCPCH the
PICH will inform the mobile for its coming channel.
3
Downlink Scrambling Codes
3GPP TS 25.213 ¶ 5.2.2
4
Downlink Scrambling Codes 3GPP TS 25.213 ¶ 5.2.2
3GPP TS 25.213 ¶ 5.2.2
X 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Q
Y 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Initial Conditions:
The diagram above depicts how the 3GPP specify how these primary
scrambling codes should be generated. It should be noted the 10 mSec or
38,400 chips of two separate codes are combined to produce the required Gold
code. This Cold code consist of two binary sequences x and y which are
generated using the generator polynomials 1+ X7 + X18 and
1+ X5 + X7 + X10 + X18, respectively. The initial values stored in each flip/flop
are as follows:
x(0)=1;x(1),….x(17)=0
y(0)…….y(17)=1
The total number of codes available using 18 registers are 218-1, the length of
these codes it only taken to be 38,400 chips.
5
Synchronization Codes 3GPP TS 25.213 ¶ 5.2.3
3GPP TS 25.213 ¶ 5.2.3
PSC
Broadcast Data (18 bits)
SSCi
Ø Broadcast by BS
First 256 chips of every SCH time slot
As previously stated the first 256 chips of the P-CCPCH is reserved for
transmission of the primary and secondary synchronization codes. These codes
are NOT scrambled with the primary scrambling code of the base station as
with all other channels. The reason for this is that all UEs use these codes to
firstly locate a WCDMA system and then locate a WCDMA CPICH.
These 256 chip codes are broadcast every SCH time slot which allows the UEs
to quickly synchronise to the the network.
The primary synchronization code (PSC) is used to notify the UEs that this is a
WCDMA system and also provides them with a reference to synchronize
themselves to the WCDMA slots. In other words after decoding the PSC the
UE know two things :-
• They have found a WCDMA system.
• They know when the slots start, so they know when to look for the secondary
sync codes.
The 16 secondary synchronization codes are arranged into one of 64 unique
combinations to signify the code group the BS common pilot physical channel
belongs to and what slot in the frame is presently being sent. In other words
after decoding the SSC the UE knows two more things:
• The code group used for the CPICH.
• When the next WCDMA frame is going to start.
6
Primary Synchronization Code 3GPP TS 25.213 ¶ 5.2.3
3GPP TS 25.213 ¶ 5.2.3
SCH BCH
256 Chips 2304 Chips
PSC
Broadcast Data (18 bits)
SSCi
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
The diagram above shows how the PSC is transmitted to convey the slot
timing to the UEs. As can be seen the code and the inverse of the code is sent
according to a particular pattern. The PSC is chosen to have good aperiodic
auto correlation properties.
The SCH consist of two sub channels, the primary and secondary SCHs. The
SCH supplies short code to minimize the acquisition time of the long code.
The primary SCH is used to acquire the timing for the secondary SCH. It
consists of unmodulated code of length 256 chips, which is transmitted once
every slot. The primary synchronization code is the same for every base station
in the system and is transmitted time aligned with the slot boundary.
7
Secondary Synchronization Code Group 3GPP TS 25.213 ¶ 5.2.3
3GPP TS 25.213 ¶ 5.2.3
SSC 2 Group 1 1 1 2 8 9 10 15 8 10 16 2 7 15 7 16
SSC 3 Group 2 1 1 5 16 7 3 14 16 3 10 5 12 14 12 10
SSC 4 Group 3 1 2 1 15 5 5 12 16 6 11 2 16 11 15 12
SSC 5 •• •• ••
SSC 6 SSC 1 SSC 15
•• •• ••
SSC 7 •• •• ••
SSC 8 Group 62 9 10 13 10 11 15 15 9 16 12 14 13 16 14 11
SSC 9 Group 63 9 11 12 15 12 9 13 13 11 14 10 16 15 14 16
SSC 10 Group 64 9 12 10 15 13 14 9 14 15 11 11 13 12 16 10
SSC 11
SSC 12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SSC 13
SSC 14 1 Frame = 15 slots = 10 mSec
SSC 15 Note:
SSC 16 The SSC patterns positively identify one and only one of the 64 Scrambling Code Groups.
This is possible because no cyclic shift of any SSC is equivalent to any cyclic shift of any other SSC.
The secondary SCH code carries information about the code group to which
the long PN code of the BS belongs. In this way, the search of long codes can
be limited to subset of all the codes.
The secondary SCH consists of one code of length 256 chips, which is
transmitted in parallel with the primary SCH. The secondary SCH is chosen
from a set of 16 different codes depending on which of the 32 different code
groups the base station down link scrambling code belongs.
The secondary SCH is modulated with a binary sequence of length 16 bits,
which is repeated for each frame.
This diagram shows clearly how the 16 SSCs are arranged into one of 64
unique patterns. The UEs can tell from the order in which the codes are
transmitted which scrambling code group the BS belongs to. Another benefit
of decoding these is that once 16 have been received the UE knows the BS
frame timing.
8
Slot Synchronization 3GPP TS 25.214 Annex C
3GPP TS 25.214 Annex C
PSC BCH PSC BCH PSC BCH PSC BCH PSC BCH Matched Filter
[1] Data [2] Data [3] Data [4] Data [15] Data (Matched to PSC)
P-CCPCH
(PSC)
Matched
Filter
Output
time
This diagram shows how the PSC is used to provide the UE with the required
slot synchronization. In practice this is used to tune a matched filter to the
timing of each slot. The slot timing of the cell can be obtained by detecting
peaks in the matched filter output.
9
Frame Synchronization, SCG ID 3GPP TS 25.214 Annex C
3GPP TS 25.214 Annex C
SSC BCH SSC BCH SSC BCH SSC BCH SSC BCH
[1] Data [2] Data [3] Data [4] Data [15] Data
Matched Filter
SSC SSC SSC SSC SSC SSC SSC SSC SSC SSC SSC SSC SSC SSC SSC
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] Matched to SSC
code group pattern
SSC Code Group Pattern provides
time
10
Random Access 3GPP TS 25.211 ¶ 7.3
3GPP TS 25.211 ¶ 7.3
RACH
AICH
4096 chips
(1.066 msec) Pre- RACH
Pre- amble
Pre- amble message part
UE amble (UE Identification)
BS No No Acq.
Ind. Ind. Ind.
11
Random Access Procedure 3GPP TS 25.214 ¶ 6.1
3GPP TS 25.214 ¶ 6.1
- The available random access signatures and set of available RACH sub-channels
This information can be read from the BCH once the correct primary common
control channel has been found, by searching for a pilot channel in the code
group worked out from the secondary synchronization channel.
The minimum information that needed to be transmitted during a random
access attempt is some kind of mobile identification. A typical random access
message consists of preamble, synchronization part, and data part. The data
part contains at least the mobile station identification, while the preamble is an
non modulated wide band spread signal.
12
Random Access Preamble Signatures 3GPP TS 25.213 ¶ 4.3.3.3
3GPP TS 25.213 ¶ 4.3.3.3
0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 -1 1 -1 1 -1 1 -1 1 -1 1 -1 1 -1 1 -1
2 1 1 -1 -1 1 1 -1 -1 1 1 -1 -1 1 1 -1 -1
3 1 -1 -1 1 1 -1 -1 1 1 -1 -1 1 1 -1 -1 1
4 1 1 1 1 -1 -1 -1 -1 1 1 1 1 -1 -1 -1 -1
5 1 -1 1 -1 -1 1 -1 1 1 -1 1 -1 -1 1 -1 1
6 1 1 -1 -1 -1 -1 1 1 1 1 -1 -1 -1 -1 1 1
7 1 -1 -1 1 -1 1 1 -1 1 -1 -1 1 -1 1 1 -1
8 1 1 1 1 1 1 1 1 -1 -1 -1 -1 -1 -1 -1 -1
9 1 -1 1 -1 1 -1 1 -1 -1 1 -1 1 -1 1 -1 1
10 1 1 -1 -1 1 1 -1 -1 -1 -1 1 1 -1 -1 1 1
11 1 -1 -1 1 1 -1 -1 1 -1 1 1 -1 -1 1 1 -1
12 1 1 1 1 -1 -1 -1 -1 -1 -1 -1 -1 1 1 1 1
13 1 -1 1 -1 -1 1 -1 1 -1 1 -1 1 1 -1 1 -1
14 1 1 -1 -1 -1 -1 1 1 -1 -1 1 1 1 1 -1 -1
15 1 -1 -1 1 -1 1 1 -1 -1 1 1 -1 1 -1 -1 1
• Preamble codes help the BS distinguish between UE making simultaneous Random Access Attempts.
13
Random Access Scrambling Codes 3GPP TS 25.213 ¶ 4.3.3
3GPP TS 25.213 ¶ 4.3.3
Also included in the BCH is the scrambling code that should be used by UEs
accessing the cell.
The preamble scrambling sequence are constructed of two binary m-sequences
generated by means of two generator polynomials x, and y of degree 25. The x
sequence polynomial is x25 + x3 + 1. The y sequence polynomial is x25 + x3 +
x2 + x + 1.
The example above shows that BS 1 is transmitting a message like “All UE
accessing this cell shall use random access preamble spreading code n1”. BS 2
would be transmitting a message like “All UE accessing this cell shall use
random access preamble spreading code n2”.
14
Acquisition Indicator Channel 3GPP TS 25.211¶ 5.3.3.6
3GPP TS 25.211¶ 5.3.3.6
AS #14 AS #0 AS #1 AS #i AS #14 AS #0
20 ms
15
Random Access Message 3GPP TS 25.211¶ 5.2.2
3GPP TS 25.211¶ 5.2.2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
The 10 ms message part radio frame is split into 15 slots, each of length
T=2560 chips. Each slot consists of two parts, a data part that carries layer 2
information and a control part that carries layer 1 control information. The data
and control parts are transmitted in parallel. The data part consists of 10·b2k
bits, where k=0, 1, 2, 3. This corresponds to a spreading factors of 256, 128,
64, and 32, respectively, for the data message part.
The control part consists of eight known pilot bits to support channel
estimation for coherent detection and two TFCI bits. This corresponds to a
spreading factor of 256 for the message control part.
The random access message which is sent by the UE after it has received the
acquisition indicator channel is shown above. The RACH data slot is sent to
the I input and the message slot is sent to the Q input of the RF modulator.
16
3GPP TS 25.211 ¶ 5.2.2.1.1
{
Access slot set 1 Access slot set 2
The above figure shows the access slots of AICH and PRACH and their
relative spacing. There are 15 access slots per two frames and they are spaced
5120 chips apart. These are used to coordinate the timing of the RACHs. The
figure also shows the 12 sub-channels of RACH.
P = preamble
17
Acquisition and Synchronization
UE Monitors Secondary SCH code, detects SCG and frame start time offset
This diagram displays how all these steps are performed by the mobile to
achieve synchronization.
Slot synchronization: during the first step of the cell search procedure, the
mobile station uses the SCH’s primary synchronization code to acquire slot
synchronization to a cell. This can be done with a single matched filter to
match the primary SCH code that is common to all cells. The slot timing of the
cell can be obtained by detecting peaks in the matched filter output.
Frame synchronization and code-group identification: the mobile station uses
the SCH’s secondary synchronization code to find the frame synchronization
and identify the code group of the cell.
The mobile station determines the exact primary scrambling code used by the
cell. The primary scrambling code typically identified through symbol by
symbol correlation over the CPICH with all codes within the code group. After
the primary scrambling code are identified, the primary CCPCH can be
detected. And the system and cell specific BCH can be read.
18
Random Access
P-CCPCH
• Physical Layer Procedures (PSC + SSC + BCH)
The second stage is to send the RACH. When cell synchronization is complete
the UE reads the random access parameters scrambling code, slots available
etc and used the measured power from the BS to calculate the power required
to access the system. This is the power that will be used for the RACH. From
this point it will initiate the RACH and respond to authentication challenge
from the BS. When this is complete the UE will enter idle mode.
19
Establishing a Dedicated Channel 3GPP TS 25.214 ¶ 4.3.2
3GPP TS 25.214 ¶ 4.3.2
UE in Idle Mode
From the idle mode the UE may require a dedicated channel following the
process above. We can see the various stages performed as part of the closed
loop power control process.
20
Packet Channel Access 3GPP TS 25.211 ¶ 7.4
3GPP TS 25.211 ¶ 7.4
CSICH
AP-AICH
CD/CA-ICH
DPCCH CCC (CPCH Control Commands)
e.g., Start-of-Message , Emergency-Stop
AP
CDP
PCPCH
PCPCH control part DL-DPCCH Slot (SF=256)
AP CDP
AP
PCPCH
Power Control Uplink Data Packet
Preamble ‘N’ x 10 msec Frames
(0 or 8 slots)
The above diagram depicts the stages that the UE and BS go through when
establishing a packet channel.
The BS transmits the common packet channel status indicator channel
(CSICH) informing the UE about the availability of the common packet
channels. This channel is sent in the unused 1024 chips of the acquisition
indicator channel.
The UE will send an access preamble in the same way as explained for the
RACH, however this time the BS responds using the access preamble
acquisition indicator channel (AP-AICH). Upon receiving this the UE will
send the collision detection preamble. The BS will respond to the UE with a
collision detection and channel assignment indicator channel in parallel, using
the preamble signature sent by the UE.
The UE will then send 0 or 8 slots of PCPCH control part that contains pilot,
TFCI, FBI and TPC bits that are used as part of the closed loop power control
function.
Once under power control the UE will begin to send the packet using SF 4 top
256. This channel will be controlled by the downlink dedicated physical
control channels (DPCCH).
It should be noticed that the UE is sending the PCPCH on the I branch and the
PCPCH control part on the Q branch of the I/Q modulator and the the BS is
only sending a control channel.
21
Packet Channel Access 3GPP TS 25.211 ¶ 7.4
3GPP TS 25.211 ¶ 7.4
22
CPCH Status Indicator Channel 3GPP TS 25.211¶ 5.3.3.6
3GPP TS 25.211¶ 5.3.3.6
1024 chips
8 bits/slot
4096 chips
SF = 256
Higher layers provide
mapping of status
(Transmission Off) b0 b1 b2 b3 b4 b5 b6 b7
indicators to availability
of CPCH resources
AS #14 AS #0 AS #1 AS #i AS #14 AS #0
20 ms
The diagram above shows the structure of the common packet channel status
indicator channel (CSICH) that is used to indicate the availability of physical
common packet channels. The CSICH is a fixed rate (SF=256) and it is always
associated with a physical channel used for transmission of CPCH AP-AICH
and uses the same channelization and scrambling codes.
It should be noted that 15 of these channels are transmitted in 20 ms. It should
be noted that the first 4096 chips are not used, which allows time for the access
preamble indicator channel (AP-AICH).
23
Access Preamble Indicator Channel 3GPP TS 25.211¶ 5.3.3.6
3GPP TS 25.211¶ 5.3.3.6
15
a j = ∑ API sbs, j
s =0 1024 chips
AS #14 AS #0 AS #1 AS #i AS #14 AS #0
20 ms
The diagram above shows the structure of the access preamble indicator
channel (AP-AICH). 4096 chips derived from the UE's access preamble
signature are used to identify which UE is being responded to. The last 1024
chips are not used as the CPCH status indicator channel is transmitted in this
time.
24
CD/CA Indicator Channel 3GPP TS 25.211¶ 5.3.3.6
3GPP TS 25.211¶ 5.3.3.6
15 15
a j = ∑ CDI sbs, j + ∑ CAIs bs , j
s =0 s= 0 1024 chips
AS #14 AS #0 AS #1 AS #i AS #14 AS #0
20 ms
25
WCDMA Soft Handover
• Each cell uses a different Scrambling Code
SC1
26
The WCDMA Soft Handover Problem...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
BS 2
CPICH 2 CPICH 2 CPICH 2 CPICH 2
BS 1 DPCCH/DPDCH DPCCH/DPDCH DPCCH/DPDCH DPCCH/DPDCH
10 msec
frame
Toffset
Before entering soft hand over, the mobile station measures the observed
timing difference of the downlink SCH from the two base station. The mobile
station reports the timing references back to the serving base station. The
timing of a new downlink hand over connection is adjusted with a resolution of
one symbol. This is done for the dedicated downlink signals from the two base
station. This enables the mobile Rake receiver to collect the macro diversity
from the two base stations.
This problem can be clearly seen in the above diagram. The time difference
(Toffset ) can clearly be seen. This problem is not present in IS-95 or
CDMA2000 networks as all base stations are synchronized to GPS. One
downside of this system is that micro sites are difficult to install especially
indoors as the GPS antenna may need to be installed outside.
27
WCDMA Handover Scenarios 3GPP TS 25.832
3GPP TS 25.832
Core Network
Iu Iu
RNS RNS
Iur
RNC RNC
←UTRAN → Iub
Iub Iub Iub
Before we look at how this problem is solved it is useful to look at the different
handover scenarios that can occur. Handovers between sectors on cells that are
connected to the same are referred to as “inter-Node” handovers, these can be
either hard or soft.
When the target sector is controlled by another RNC the handover is termed
“inter-RNS”. It should be noted that if this is a soft handover the Iur interface
is used to pass information between the RNSs. This interface is not used if a
hard handover is performed.
The last scenario that needs to be considered is when the handover is occurring
between sectors on the same base station or node B. This type of handover is
called “intra-Node” or softer.
As is shown in the above figure, it is composed of core network, wireless
access net and users terminals. For the core network, it is mainly based on two
kinds of networks in the 2nd generation of mobile communication GSM
network based on MAP and CDMA based on IS-41.
28
WCDMA Soft Handover 3GPP TS 25.401 ¶ 9.0
3GPP TS 25.401 ¶ 9.0
Vocoder
Time
Alignment
UTRAN
RNS RNS
RNC RNC
Transport Channel
Frame Alignment
Node B Node B Node B Node B Node B Node B
Radio
Synchronization
UE
29
WCDMA Soft Handover
• Soft Handover Initiation
(1) (2) (3) (4)
BS 2
CPICH 2 CPICH 2 CPICH 2 CPICH 2
BS 1
10 msec
frame
UTRAN
The flowchart shows the first 4 stages of WCDMA soft handover. In stage 1
the UTRAN informs the UE of the neighboring cell information, scrambling
code, power etc using the broadcast channel, this is similar to the BA list
transmitted by base stations in GSM networks. In stage 2 the UE measures the
Common pilot channel (CPICH) power and time delay from the cells in the list
of neighbors that is Toffset . Stage 3 is when the UE sends these measurements
back to the UTRAN. The UTRAN will then decide if a handover should be
performed based on these measurements.
30
WCDMA Soft Handover
• Soft Handover Execution
(5) (6) (7) (8)
UTRAN Commands BS2 to UE Rake Receiver UE in soft handover When BS2 sufficiently strong
adjust DPCH timing by Synchronizes to BS2 with BS1 and BS2 compared to BS1, drop BS1.
Toffset DPCCH/DPDCH DPCCH/DPDCH’s (Handover complete)
BS 2
CPICH 2 CPICH 2 CPICH 2 CPICH 2
BS 1 DPCCH/DPDCH DPCCH/DPDCH DPCCH/DPDCH DPCCH/DPDCH
10 msec
frame
Stage five shows the UTRAN commanding BS2 to adjust the DPCH timing by
Toffset. The rake receiver in the UE will then synchronize to the dedicated
physical data and control channels (DPDCH & DPCCH) of BS2. Once
complete the UE is then said to be in soft handover with BS 2. The final stage
8 shown here is when the signal form BS2 is sufficiently strong to allow the
connection to BS 1 to be dropped. The handover is then complete.
It should be noted that the timing of the dedicated channels on BS2 is adjusted,
the pilot channel is not as this is being used by other UEs.
31
Inter-Frequency Handover
• Inter-frequency Handover
Puncturing bits
– weakens FEC coding
32
Compressed Mode Operation 3GPP TS 25.212 ¶ 4.4.3
3GPP TS 25.212 ¶ 4.4.3
Normal Operation
11 12 13 14 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6
Transmission Gap
Transmission Gap
The diagram shows how 1 to 7 slots per frame are diverted to allow this time
for the UE to perform this intra frequency (hard handover). As can be seen
these slots can either be in the middle of the frame (single frame) or spread
over two frames as is the case in the double frame method.
It should be noted that the transmit format combination indicator which
informs the receiver as to the makeup of the DPDCH frame must be sent in
every frame. For this reason timeslots in compressed mode will contain a
higher proportion of TFCI bits.
33
Handover to/from GSM
• Handover to/from GSM
Ø GSM handover is an explicit requirement in WCDMA
Ø Facilitated by commonality of multi-frame structures
1 2 3 4 5 6 7 8 9 10 11 12
T T T T T T T T T T T T S T T T T T T T T T T T T I
T = Traffic Frame
S = SACCH Frame
I = Idle Frame
The last type of handover supported by the WCDMA is that to the GSM
network. Since this was an explicit requirement of the WCDMA network it
explains why the 10 mSec frame length was chosen. 12 WCDMA frames will
correspond to 26 GSM TCH multi frames as shown.
It should also be remembered that the WCDMA air interface channel is
specified to have a 200 kHz raster, that is WCDMA channels will separated
from each other by multiples of 200 kHz which is the width of a GSM carrier.
This simplifies the process of handing over between the two systems.
34