How to detect multiple PCI (physical cell id) in 5g from IQ signal
7 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Sudarsanan A K
on 16 Oct 2023
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 Comments
Sudarsanan A K
on 18 Oct 2023
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.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!