Professional Documents
Culture Documents
RACH
RACH
RACH
To initiate the procedure UE lower layes will send a Random Access Request(RACH
Request) after receiving request from UE RRC.
You can also refer LTE(Long Term Evolution) SIB2 parameters section.
1. RACH Configurations
2. PRACH Configurations
How UE decides about when and where it needs to send RACH Request:-
It is decided on the basis of parameters received in SIB2 PRACH configurations.
UE can use 6 Resource blocks for sending the RACH Request.
From PRACH Config Index - There is a mapping in spec 36211 table 5.7.1-2 from which
UE can find the available subframes where it can send a RACH.
For example:- Prach Config index value = 7, From table it is clear that UE can send a
RACH Req in any system frame but subframe should be 2 and 7.
From PRACH Frequency Offset - This value is also received in SIB2 by UE. It governs
which frequency resource UE can use for the RACH Req.
Example:- If the value of PRACH Freq Offset is 10. UE can use the 6 PRB's starting from
PRB 10 for RACH Request.
MessageSizeGroupA :- It is used for selecting a preamble from a group. Its value is in
bits.
Now UE needs to decide the group from which it needs the preamble. Group is decided
on the basis of size of MSG3( RRC connection request ).
The actual formula for selecting a preamble is given in spec 36321 sec 5.1.2. That
contain factors other than MSG3 size as well. But mainly this is how UE decides the
Group. From the selected group, randomly UE selects a preamble index.
powerRampingStep:- This is mainly used when eNodeB is not able to detect the Rach
Request then UE will re transmit the RACH Request by increasing the power
to powerRampingStep factor.
DELTA_PREAMBLE = This is preamble format based delta offset. There are four formats
available for preamble which are called as preamble formats. We will be explaining them in
detail later. Most of the time preamble format 0 is used.
For Example:-
In Sib2, preambleInitialReceivedtargetPower = -100
powerRampingStep = 2
UE will send the RACH Request containing these values in the specified subframe by
using the specified resources.
Mainly this timing advance fundamental is used for eNodeB PHY to receive the UE
message at correct timing. It is possible that UE is far away from the eNodeB , so for
eNodeB to receive the data from UE at correct timing this timing adjustments are done.
For Example:-
Suppose eNodeB has allocated 5 RB's to a particular UE in uplink as shown below.
It is clear that the allocation in uplink in terms of RB is contiguous. But eNodeB has
enabled frequency hopping for this UE.
There is a lot more to discuss in frequency hopping. we will be taking it later in that
particular section.
If NULRB <= 44
Truncate the fixed size resource block assignment to its b least significant bits where,
b = ceiling ( log2(NULRB * (NULRB + 1)/2) )
and interpret the truncated resource block assignment according to the rules for a
regular DCI format 0
else
Insert b most significant bits with value zero where,
b = (ceiling ( log2(NULRB * (NULRB + 1)/2) )) - 10
and interpret the expanded resource block assignment according to the rules for a
regular DCI format 0
= 13 -10
= 3
UL delay :- 1 bit of information which can be set to 0 or 1. It indicates whether the
delay of PUSCH is introduced or not.
CSI field :- This 1 bit of information determines whether an aperiodic CQI, PMI and RI
report can be included in the PUSCH transmission. For contention based Random access
CSI field is reserved.
RACH
The PRACH occupies 6 PRBs in the frequency domain and spans 1 or 2 or 3 sub frames in the time domain,
depending on the specific preamble format. In the frequency domain, several subcarriers at both ends of the 6 PRBs
are not used to avoid interference with the adjacent PUCCH/PUSCH. In the time domain, the cyclic prefix (CP) and
guard time (GT) are used to avoid interference with the previous and next subframes. As it turns out, the GT
determines the maximum cell radius.
In TDD usage of preamble format depends on UL/DL configuration used. There might be multiple random
access resources in an UL sub frame depending on the UL/DL configuration.
Eg: preamble format 1 requires 2sf and format 3 requires 3sf and num of available UL sf depends on UL/DL
config used.
Preamble Format 4 (Short PRACH) is only used in TD-LTE, which can be transmitted in the UpPTS part of the
special sub-frame (SF1 and/or SF6). Minimum number of symbols needed for this is 2. Hence this can be
applied only for Special sub frame configurations 5-8 with normal CP or configuration 4-6 with extended CP
(Refer: 36.211, Table 4.2-1).PRACH configuration indexes 48 to 57 will use Short PRACH
UpPTS lengths 4384 .Ts and 5120.Ts only. PRACH configuration indexes 48 to 57 will use Short PRACH
PRACH POSITION:
random access preamble mapping in time and frequency
The random access opportunities for each PRACH configuration shall be allocated in time first and then in
frequency if and only if time multiplexing is not sufficient to hold all opportunities of a PRACH configuration
.
Types of RACH preambles (Regular and restricted).
Restricted set used in high speed scenarios. where UE experiences higher frequency offset
due to doppler shift which causes spurious and aliased peaks. These spurious peaks occur at
specific cyclic shift values and therefore, should be restricted in the preamble set.
The parameter High-speed-flag provided by higher layers determines if unrestricted set or restricted set shall
be used.
In high speed scenarios, there may be RAPID mismatches during RACH procedure if high
speed flag is not set (in SIB2). If this flag is set, UE will not use these cyclic shifts while
selecting RACH preambles.
The random access preambles are generated from Zadoff-Chu sequences, generated from one or several root
Zadoff-Chu sequences
Preamble generation:
There are 64 preambles available in each cell. The set of 64 preamble sequences in a cell is found by including
first, in the order of increasing cyclic shift, all the available cyclic shifts of a root Zadoff-Chu sequence with the
logical index rootSequenceIndex, where rootSequenceIndex and for preamble generation is
broadcasted as part of the System Information. Additional preamble sequences, in case 64 preambles cannot
be generated from a single root Zadoff-Chu sequence, are obtained from the root sequences with the
consecutive logical indexes until all the 64 sequences are found. The logical root sequence order is cyclic: the
logical index 0 is consecutive to 837(total of 838 Zadoff-Chu sequences).
NCS:The cyclic shift can be used to expand the preamble capacity. A small Ncs value generates more
preambles.
below diagram :The cyclic shift used by UE0 is 0 and the cyclic shift used by UE1 is Ncs and UE2 is
2NCS. At the eNB, the observed cyclic shift of UE0 will not be 0 but some value x because of the
transmission delay. As long as x is less than Ncs, the auto-correlation between the shifted x and
shifted Ncs will be zero, and eNB will be able to distinguish between the accesses from UE0 and
UEx (properties of Z-C sequences)
However, the cyclic shift cannot be configured smaller than expected cell radius, since that will block
random accesses from the cell edge and may cause drops during handovers.
eg:NCS=119 cell radius ~16Km.
NCS=46 cell radius ~5.5Km.
RACH trigger:
where PCMAX is the configured maximum UE transmitted power and PL is the downlink pathloss estimate
calculated in the UE. Based on the reference signal power signaled in SIB2 and the measured RSRP,
Random access procedure
random access procedure at the UE side.
The UE listens to a downlink broadcast signal to obtain the transmission timing. It is also
informed of the available signatures, frequency bands and time slots for a random access.
(SIB2)
Open-loop power control can be used to obtain a suitable transmission power. The path loss
is estimated from a downlink signal and the UE estimates the transmission power to achieve
a certain SNR target.
The UE selects randomly a signature, a time slot and a frequency band among the available
set.
The NodeB correlates the received signal in the RACH sub-frame with all possible signature
sequences
The UE monitors a specified downlink channel for response from the NodeB.
In case of positive answer:
The UE decodes the response and adapts its transmission timing.
If the UE does not receive any response from the NodeB: A new attempt is performed by
power ramping method or : the UE selects a new signature after a random back-off time.
Example:
sib2 :
{
....
prach-Config
{
rootSequenceIndex 384,
prach-ConfigInfo
{
prach-ConfigIndex 4,
highSpeedFlag FALSE,
zeroCorrelationZoneConfig 12,
prach-FreqOffset 2
}
...
}
prach-ConfigIndex is 4, meaning PRACH can be transmitted in any SFN and 4th sub-frame.
prach-FreqOffset is 2, meaning PRACH starts from 1st RB in frequency domain
zeroCorrelationZoneConfig 12 means NCS is 119.
UE Logs on RACH
Version = 2
Cycle Shift = 52
Preamble Format = 0
Start RB = 17