ProDeveloperTutorial.com

Tutorials and Programming Solutions
Menu
  • Shell Scripting
  • System Design
  • Linux System Programming
  • 4g LTE
  • Coding questions
  • C
  • C++
  • DSA
  • GIT
  • 450 DSA Cracker
  • 5G NR
  • O-RAN

5G NR RACH process – Msg1 – Generation PRACH Preamble

prodevelopertutorial February 8, 2022

In previous 2 chapters, we had a a brief of RACH procedure. In the next chapters we shall have indepth understanding of all the messages.

In brief:

1. CBRA procedure is as below:

i) UE –> NW : RACH Preamble (RA-RNTI, indication for L2/L3 message size)

ii) UE <– NW : Random Access Response (Timing Advance, T_C-RNTI, UL grant for L2/L3 message)

iii) UE –> NW : L2/L3 message

iv) Message for early contention resolution

2. CFRA procedure is as below:

i) UE <–NW : RACH Preamble (PRACH) Assignment

ii) UE –> NW : RACH Preamble (RA-RNTI, indication for L2/L3 message size)

iii) UE <–NW : Random Access Response (Timing Advance, C-RNTI, UL grant for L2/L3 message)

Now coming to the actual topic, to send a Random Access Preamble through PRACH channel.

To send , we need to answer below 2 questions:

1. How to generate a Preamble ?

2. How to select the correct PRACH time-frequency resource to send the selected preamble ?

In this chapter we shall answer first question, in the next chapter we shall answer the second question.

What is PRACH Preamble?

Similar to LTE, NR preamble sequence is based on Zadoff Chu sequence.

To generate a sequence we follow below steps:

5G NR RACH process - Msg1 - Generation PRACH Preamble

Now we shall understand in detail about the formulas mentioned above:

PRACH Preamble:

A PRACH Preamble is a ZaddOff Chu (ZC) sequence {x(0),x(1),…x(LRA-1)} of length L_RA (839 or 139).

Below is the definition of Xi

Here u is used to indicate that the ZC sequence is generated according to the root sequence number u.

UE needs to generate 64 preambles according to the configuration parameters.

There are 2 ways to generate the sequences. Either use different “u” in above formula or use the same root sequence number and generate based on cyclic shift by using below formula.

According to TS 38 211, we need to perform cyclic shift on a root sequence. If that is not possible to generate 64 preambles and change the root sequence till all 64 preambles are generated.

We use below formula to get the spread over frequency domain.

Different types of preamble format:

Similar to LTE, in NR there are 2 types of preamble depending upon the subcarrier spacing:

1. Long Preamble: The subcarrier spacing of PRACH preamble is 1.25 or 5 Khz, long sequence (L_RA = 839) is used.

They are divided into 4 formats as 0/1/2/3 as shown in below table.

TS 38 211

2. Short Preamble: The subcarrier spacing of PRACH preamble is 15,30,60 or 120 Khz, short sequence (L_RA = 139) is used

They are divided into 9 formats as A1/A2/A3/B1/B2/B3/B4/C0/C2 as shown in below table.

TS 38 211

A preamble consists of 3 parts: Cyclic Prefix(CP) + Preamble Sequence (repeat) + Guard Period (GP).

Below Image shows some of the example of example of different preamble formats.

Now let us take the format 2 from the table 1 as an example and see how much it will occupy the time domain:

Below table shows the number of RBs in the frequency domain.

Generation of PRACH Preamble

One PRACH preamble corresponds to 64 preamble.

The preambles are generated in the order of the cyclic shift of the first logical root sequence and then the increasing order of the logical root sequence until there are 64 preambles

prach-RootSequenceIndex indicates the starting logical root sequence.

 

Share
Email
Tweet
Linkedin
Reddit
Stumble
Pinterest
Prev Article
Next Article

About The Author

prodevelopertutorial

Follow this blog to learn more about C, C++, Linux, Competitive Programming concepts, Data Structures.

Leave a Reply Cancel Reply

You must be logged in to post a comment.

ProDeveloperTutorial.com

Tutorials and Programming Solutions
Copyright © 2023 ProDeveloperTutorial.com
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT