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.
0 个评论
回答(1 个)
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 个评论
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:
- Perform coarse frequency and time offset estimations based on different "NID2" values and record the results.
- 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.
- Rank the "sssEst" values to identify the "k" strongest correlations.
- 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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!