In real 5G NR Signal demodulation, the constellation is correct, but the decoded bit sequence is wrong
Show older comments
I have recently been attempting to process a segment of PUCCH Format 4 signals collected from a 5G signal generator using the 5G Toolbox in MATLAB. The 5G signal generator is from the ROHDE & SCHWARZ SMW-K14x/-K17x series. The version of Matlab I used is 2025b.
The carrier and PUCCH configurations in the generator are fully consistent with those set in my MATLAB code. In the simulation results, a distinct DMRS symbol correlation peak can be observed (Figure 1). After performing time synchronization, carrier offset compensation, and channel equalization, the constellation diagram of the received PUCCH symbols obtained via the nrPUCCHDecode function shows a standard QPSK modulation pattern (Figure 2).


However, when I attempt to decode the soft bits using the nrUCIDecode function, the CRC check always fails, and the resulting bit sequence does not match the one configured on the signal generator. Later, I encountered the exact same issue when demodulating PUCCH Format 3 and PUCCH Format 4 signals collected from real 5G transmitting devices.
Has anyone encountered the same problem before? Could you kindly share your solutions? Thank you very much!!
2 Comments
Will
on 29 Jan 2026
I faced similar issue because of intra-slot frequecy hoping. It was enabled in the genrator but I was not handling in the code, making the the second hop's symbols at the wrong frequency, corrupting half the data.
You can also check if the nID, RNTI and slot index are matching in your code and signal generator. And before nrUCIDecode, examine the soft bit LLRs. They should show clear separation if everything upstream is correct.
As a last resort you can try both small (e.g., 11 bits) and large payloads to see if the issue is payload-size dependent.
维成
on 3 Feb 2026
Accepted Answer
More Answers (0)
Categories
Find more on PHY Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!