LTE Random Access Procedure (RACH): Msg1 to Msg4 Explained
Understanding the LTE Random Access Procedure (RACH)
The Random Access Procedure (RACH) is a fundamental process in LTE and 5G NR networks. It allows User Equipment (UE) to establish uplink synchronization with the eNodeB (base station) and obtain the initial resources required for communication.
Whenever you turn on your phone, transition from idle to connected mode, or experience a handover, your device performs a RACH procedure.
There are two types of RACH procedures in LTE:
- Contention-Based Random Access (CBRA)
- Contention-Free Random Access (CFRA)
In this guide, we focus on the more common Contention-Based Random Access (CBRA), which consists of four distinct steps, often referred to as Msg1, Msg2, Msg3, and Msg4.
Step 1: Msg1 - Random Access Preamble Transmission
The procedure begins when the UE selects a Random Access Preamble and transmits it over the Physical Random Access Channel (PRACH).
Key aspects of Msg1:
- Contention Risk: Because multiple UEs might select the same preamble at the exact same time, there is a risk of a "collision" or contention.
- Timing Advance: At this stage, the UE is not synchronized in the uplink. The primary purpose of Msg1 is to let the network estimate the transmission delay to the UE, so it can issue a Timing Advance (TA) command.
- Power Ramping: If the UE does not receive a response, it will retransmit the preamble with increased power, a mechanism known as Power Ramping.
Step 2: Msg2 - Random Access Response (RAR)
Upon receiving Msg1, the eNodeB calculates the necessary timing correction and responds with the Random Access Response (RAR), also known as Msg2.
Key aspects of Msg2:
- Sent on PDSCH: The RAR is transmitted on the Physical Downlink Shared Channel (PDSCH). It is addressed to the RA-RNTI (Random Access Radio Network Temporary Identifier) on the PDCCH.
- Timing Advance Command: The most critical piece of information in the RAR is the Timing Advance Command, which tells the UE exactly how much to adjust its uplink timing to ensure its transmissions arrive precisely aligned with the network's time slots.
- Temporary C-RNTI: The network assigns a Temporary Cell RNTI (TC-RNTI) to the UE.
- Uplink Grant: The RAR also contains an initial uplink resource grant, allowing the UE to send its first actual message (Msg3).
Step 3: Msg3 - RRC Connection Request
Using the resources granted in Msg2 and applying the Timing Advance, the UE transmits Msg3 on the Physical Uplink Shared Channel (PUSCH).
Key aspects of Msg3:
- Content: The exact content of Msg3 depends on the trigger for the RACH procedure. For initial access, it carries the
RRCConnectionRequestmessage. - UE Identity: Msg3 includes a unique UE identifier (such as the S-TMSI or a random value generated by the UE). This identifier is crucial for resolving contentions.
- HARQ Processing: Msg3 is protected by Hybrid Automatic Repeat Request (HARQ). If the eNodeB fails to decode it, it will ask for a retransmission.
Step 4: Msg4 - Contention Resolution
Because multiple UEs could have theoretically sent the same preamble (Msg1) and decoded the same RAR (Msg2), they might all transmit Msg3 using the same resources, causing a collision. Msg4 resolves this.
Key aspects of Msg4:
- Echoing the UE Identity: The eNodeB responds on the PDSCH by echoing back the unique UE identity it successfully decoded from Msg3.
- Resolution: A UE compares the identity in Msg4 with the one it sent in Msg3.
- If they match, the contention is resolved successfully, and the Temporary C-RNTI becomes the permanent C-RNTI.
- If they do not match, the UE assumes its RACH procedure failed, backs off, and starts the process over from Msg1.
Why is Timing Advance Crucial?
The Timing Advance command sent in Msg2 is one of the most critical elements of the RACH procedure. In an LTE system, multiple UEs share the same frequency channel through Time Division Multiplexing (Orthogonal Frequency Division Multiple Access - OFDMA).
If a UE is far away from the tower, its signal will take longer to arrive. Without Timing Advance, this delayed signal would bleed into the time slot of a different UE, causing severe interference. The RACH procedure ensures every UE receives its precise Timing Advance correction before sending standard data traffic.
Summary
The LTE Random Access Procedure is a 4-step handshake designed to provide uplink synchronization and resolve contentions:
- Msg1: UE sends Preamble.
- Msg2: Network sends Timing Advance and Uplink Grant.
- Msg3: UE sends RRC Request and unique ID.
- Msg4: Network confirms ID, resolving contention.
WirelessBrew Team
Technical expert at WirelessBrew, specializing in 5G NR, LTE, and wireless system optimization. Committed to providing accurate, 3GPP-compliant engineering tools.
Up Next
More lte Articles →