How to detect multiple PCI (physical cell id) in 5g from IQ signal

13 次查看(过去 30 天)
Matlab toolbox provide to decode the strongest pci by "https://www.mathworks.com/help/releases/R2023a/5g/ug/nr-cell-search-and-mib-and-sib1-recovery.html".
My question is how can we get more pci, for example the most six strongest pcis.

回答(1 个)

Sudarsanan A K
Sudarsanan A K 2023-10-16
Hello 博文 李,
I understand that you are working with the MathWorks example documentation "NR Cell Search and MIB and SIB1 Recovery":
You might have noticed from the example that the receiver extracts the resource elements associated to the SSS from the received grid and correlates them with each possible SSS sequence generated locally. The indices of the strongest PSS and SSS sequences combined give the physical layer cell identity, which is required for PBCH DM-RS and PBCH processing.
I note that you are particularly interested in obtaining most "k" physical layer cell identities based on their strength of correlation. This can be achieved by making some modifications in the steps of cell identity calculation.
Currently, "NID1" is calculated by finding the strongest correlation as
>> NID1 = find(sssEst==max(sssEst)) - 1;
In order to get the indices of most "k" values in the "sssEst" array, you can use the "maxk()" function as follows:
>> [~, NID1] = maxk(sssEst, k);
>> NID1 = NID1 - 1;
You can refer to the MathWorks documentation on the "maxk()" function for better understanding of its use-cases:
Also, for the calculation of "NID2", you can use the same logic.
Please note that if you modify the code to obtain the 'k' strongest correlation values, you must ensure that the necessary changes are made consistently throughout the code, as it currently relies on finding the peak correlation for computing the cell identity.
I hope this address your query.
  2 个评论
博文 李
博文 李 2023-10-16
Thanks for your answer.
In other words, we can do the coarse frequency and time offset estimations based on different NID2 and record them.
Then, find all "sssEst" based on all NID2 and NID1, after doing different frequency and time corrections according to different IND2.
Finally, we can rank "sssEst" to find the most 'k' strongest PCI.
Do I understand right?
Sudarsanan A K
Sudarsanan A K 2023-10-18
Yes, to the best of my understanding, that is correct. You can follow the below steps to obtain the "k" strongest PCIs:
  1. Perform coarse frequency and time offset estimations based on different "NID2" values and record the results.
  2. Find all "sssEst" values based on all combinations of "NID2" and "NID1", taking into account the different frequency and time corrections according to each "NID2" value.
  3. Rank the "sssEst" values to identify the "k" strongest correlations.
  4. The corresponding PCIs associated with the "k" strongest "sssEst" values will represent the most dominant PCIs in the received signal.
By following these steps, you will be able to obtain the "k" strongest PCIs based on their correlation strength.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by