Tuesday, August 18, 2015

LTE - RACH Procedure

LTE RACH Procedure

RACH Procedure is the 1st procedure through which UE will send its first Uplink message to the Network element EnodeB. Since its the 1st message sent by UE in UL, its MSG1

1. UE sends Rach Request in MSG1 to EnodeB
2. EnodeB sends Rach Response in MSG2 to UE with Temp_C_RNTI
3. UE sends UE Identification Message in MSG3 to EnodeB
4. EnodeB sends Contention Resolution Message in MSG4 to UE


 UE                                                                          EnodeB


------------------- RACH REQUEST in MSG1 ----------------->


<------------------- RACH RESPONSE in MSG2 ---------------


--------- UE IDENTIFICATION MESSAGE in MSG3 ------->


<--- CONTENTION RESOLUTION MESSAGE in MSG4 --


Note:

Important points to remember about the RACH procedure:

1. RRC connection request will be sent in MSG3 to EnodeB by UE with UE- Identity filled with a Random Value (Random value will be used when the RRC connection Request will be sent for the 1st time by the UE after Switch ON, i.e., UE is not having any identifiers with it.)

2. Once the RRC connection request is received by EnodeB, MSG4 will be sent by the EnodeB MAC  to UE, since MSG4 is a MAC level Message. (All MSG1, MSG2, MSG3, MSG4 are MAC level messages)

3. After RRC connection req is processed, RRC Connection Setup will be sent by EnodeB to UE on Signalling Radio Bearer 0 - SRB0 with a C- RNTI assigned & details to setup the SRB1.

MSG 1:


LTE Random Access Request (MSG1) Report
Version                  = 5
Preamble Sequence        = 25
Physical Root Index      = 129
Cyclic Shift             = 325
PRACH Tx Power           = -44 dBm
Beta PRACH               = 242
PRACH Frequency Offset   = 0
Preamble Format          = 0
Duplex Mode              = FDD
Density Per 10 ms        = 1
PRACH Timing SFN         = 907
PRACH Timing Sub-fn      = 1
PRACH Window Start SFN   = 907
RACH Window Start Sub-fn = 4
PRACH Window End SFN     = 908
PRACH Window End Sub-fn  = 4
RA RNTI                  = 2
PRACH Actual Tx Power    = -44



MSG 2:

LTE Random Access Response (MSG2) Report
Version                 = 1
SFN                     = 907
Sub-fn                  = 6
Timing Advance          = 0
Timing Advance Included = Included
RACH Procedure Type     = Contention Based
RACH Procedure Mode     = Initial Access
RNTI Type               = TEMP_C_RNTI
RNTI Value              = 53



MSG 3:

LTE UE Identification Message (MSG3) Report
Version                   = 1
TPC                       = 3
MCS                       = 1
RIV                       = 302
CQI                       = Disabled
UL Delay                  = Don't Delay
Hopping Flag              = Disabled
SFN                       = 908
Sub-fn                    = 2
Starting Resource Block   = 2
Num Resource Blocks       = 4
Transport Block Size Index = 1
Modulation Type           = QPSK
Redundancy Version Index  = 0
HARQ ID                   = 2

MSG 4:


LTE Contention Resolution Message (MSG4) Report
Version              = 1
SFN                  = 908
Sub-fn               = 7
Contention Result    = Pass
UL ACK Timing SFN    = 909
UL ACK Timing Sub-fn = 1

Thursday, August 6, 2015

LTE - STACKS

LTE - STACKS

Lets see the LTE complete Stack architecture with respect to MME & SGW from the EnodeB. EnodeB is nasically a protocol converter, which converts the messages received from MME with a different set of Stack layers. It Take the NAS messages & encapsulate it to the OTA stack & send it to UE's.

In Downlink, EnodeB receives 3 kind of stack messages.

1. From MME (Control Plane - S1 Interface)
2. From SGW (Data Plane - S1-U Interface)
3. From neighbour EnodeB (Control & Data Plane - X2 interface)

Lets see the Stack between UE, EnodeB & MME



Similarly you can see the Stack between UE, EnodeB & SGW:


The EnodeB to EnodeB stack comprises control & Data Planes in the X2 Interface for carrying the control information & data respectively.

Stack for X2 Interface control plane:

Stack for X2 Interface Data Plane:

I hope the you can understand the complexity in the EnodeB stack & its importance in the LTE architecture.

Wednesday, August 5, 2015

LTE - Terminologies & Explanations

LTE - Terminologies & Explanations

PLMN ID is a Public Land Mobile Network Identifier; serves to PLMN unique identification
PLMN ID (not more than 6 digits) = MCC + MNC

MCC is a Mobile Country Code; assigned by ITU; (3 digits)

MNC is a Mobile Network Code; assigned by National Authority; (2 or 3 digits) If the 2 digit MNC is used, then the PLMN will be like ex: 262-09 for 3 didgit MNC, PLMN is like: 262-009

MSIN (MSISDN) is a Mobile Subscriber Identification Number; assigned by operator; (10 digits)

IMSI is an International Mobile Subsciber Identity; serves to uniquely identify a mobile (LTE) subscriber; not more than 15 digits) IMSI will be 14 digits or 15 digits based on the MNC with 2 digits or 3 digits.
IMSI = PLMN ID + MSIN = MCC + MNC + MSIN

ECGI is an E-UTRAN Cell Global Identifier; serves to identify a Cell in global (globally unique); EPC knows the UE location based of ECGI
ECGI (not more than 52 bits) = PLMN ID + ECI

ECI is an E-UTRAN Cell Identifier; serves to identify a cell within PLMN; (28 bits)
ECI = eNB ID + Cell ID

Cell ID is a CELL identifier; serves to uniquely identify a cell within eNB; (8 bits)

eNB ID is an eNodeB Identifier; serves to identify an eNB within PLMN; (20 bits)

Global eNB ID is a Global eNodeB Identifier; serves to identify an eNB in global (Globally unique); (max 44 bits)
Global eNB ID = PLMN ID + eNB ID

Note: The physical Cell ID is different from the Cell ID mentioned above. The Physical Cell ID is used to decode the enodeB signalling by the UE @ phy layer. The Cell ID mentioned above is used by the NAS & RRC layers for EPC management purposes. The most important use of Phy Cell ID is:

Interference to reference signals from reference signals of other cells is eliminated by Physical Cell Identity

Reference: 3GPP 36.508 - Conformance Testing.