5g nr random access procedure


The 5G NR (New Radio) Random Access Procedure is a mechanism by which a User Equipment (UE) initiates communication with the network, establishing a connection when needed. It is crucial for scenarios such as initial access, handovers, or when the UE requires additional resources. The procedure involves the transmission of specific messages and the allocation of resources by the network. Let's delve into the technical details of the 5G NR Random Access Procedure:

1. Random Access Preamble Transmission:

1.1 Objective:

  • The UE initiates the procedure by transmitting a random access preamble on the Physical Random Access Channel (PRACH).
  • The preamble serves as a unique identifier for the UE, allowing the network to identify and respond to the specific UE.

1.2 Parameters:

  • Preamble Formats:
    • Different formats of preambles are defined, and the UE randomly selects one.
  • Preamble Transmission Timing:
    • The UE follows a specific timing for transmitting the preamble on the PRACH.

2. Network Response - Contention Resolution:

2.1 Objective:

  • The network acknowledges the reception of the preamble.
  • The UE receives a contention resolution message (CR), indicating whether it should proceed to the next step or wait for further instructions.

2.2 Parameters:

  • Contention Resolution Information:
    • The CR message informs the UE about the success or failure of the contention resolution.
    • If contention occurs (multiple UEs select the same preamble), collision resolution mechanisms are applied.

3. Msg1 (Initial Access Request):

3.1 Objective:

  • If contention resolution is successful, the UE sends Message 1 (Msg1), which includes essential information such as the identity of the UE and the reason for access.
  • Msg1 is transmitted on the PRACH.

3.2 Parameters:

  • Msg1 Content:
    • Includes the identity of the UE, the cause for access (e.g., initial access, handover), and other relevant information.

4. Network Response - Msg2 and Msg3:

4.1 Objective:

  • The network processes Msg1 and responds accordingly.
  • The network may send Message 2 (Msg2) to acknowledge Msg1 and provide necessary instructions.
  • The UE responds with Message 3 (Msg3), acknowledging the receipt of Msg2.

4.2 Parameters:

  • Msg2 Content:
    • Contains information such as the timing advance for the UE, initial radio resource configuration, and other parameters.
  • Msg3 Content:
    • Acknowledges the reception of Msg2 and may include additional information or instructions.

5. Finalization - RRC Connection Establishment:

5.1 Objective:

  • Once the network successfully processes Msg1, Msg2, and Msg3, the Random Access procedure transitions to the establishment of the Radio Resource Control (RRC) connection.
  • The RRC connection allows for further signaling and data transfer between the UE and the network.

5.2 Parameters:

  • RRC Connection Setup:
    • Involves the exchange of messages to establish the RRC connection, including security-related procedures.

6. Key Considerations:

6.1 Collision Handling:

  • In scenarios where multiple UEs select the same preamble (collision), mechanisms such as backoff procedures and additional randomization are applied.

6.2 Access Type:

  • The access type can be either Contention-Based Random Access (CBRA) or Contention-Free Random Access (CFRA), depending on network and service requirements.

6.3 Preamble Transmission Timing:

  • The timing of preamble transmission is critical for proper reception by the network. It is synchronized based on network configuration.

7. Scenarios:

  • The Random Access Procedure is used in various scenarios, including initial access, handover, and resource request scenarios.

In summary, the 5G NR Random Access Procedure involves the transmission of a random access preamble, contention resolution, transmission of Msg1, network response with Msg2 and Msg3, and the finalization of the RRC connection. This procedure is designed to efficiently handle access attempts from UEs, ensuring successful establishment of communication with the network while considering factors such as contention, collision resolution, and timing synchronization.