|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This tool visualizes the Physical Uplink Control Channel (PUCCH) resource allocation in 5G NR. The grid shows how UCI (Uplink Control Information) and DMRS (Demodulation Reference Signal) occupy Resource Elements (REs) across OFDM symbols and subcarriers. A constellation plot (top-right) shows the modulation per format: Format 0 displays 12 cyclic-shift phase states; Formats 1–4 show UCI and DMRS constellation points. Hover over an RE to see its value overlaid as a vector on the constellation. PUCCH FormatsFormat 0 (Short): Sequence-based, 1–2 symbols. No QAM modulation; information is encoded via cyclic shift of a base sequence (12 possible phases). initialCyclicShift selects the cyclic shift. Intra-slot frequency hopping supported when nrofSymbols=2 (TS 38.211 §6.3.2.3.2). Format 1 (Long): 4–14 symbols. TDM: DMRS and UCI strictly alternate — even-indexed symbols within the allocation are DMRS, odd-indexed are UCI (TS 38.211 Table 6.3.2.4.1-1). additionalDMRS (nrofSymbols≥5) doubles DMRS density to consecutive pairs every 4 symbols. Format 2 (Short): 1–2 symbols. FDM: DMRS and UCI occupy the same symbol but different subcarriers (every 3rd subcarrier is DMRS, TS 38.211 §6.3.2.5). UCI and DMRS use QPSK. additionalDMRS is not applicable to Format 2. Format 3 (Long): 4–14 symbols, multiple PRBs. TDM: DMRS positions are defined by a fixed lookup per nrofSymbols (TS 38.211 Table 6.3.2.6.1-1). additionalDMRS selects a denser pattern (Table 6.3.2.6.1-2). UCI: π/2-BPSK or QPSK; DMRS: low-PAPR sequence. Format 4 (Long): 4–14 symbols, 1 PRB only, with Pre-DFT OCC (Orthogonal Cover Code). DMRS uses the same TDM lookup as Format 3 (TS 38.211 §6.3.2.7). UCI: π/2-BPSK or QPSK; DMRS: low-PAPR sequence. Intra-slot frequency hopping: When enabled, the first half of the symbols use one PRB and the second half “hop” to another PRB for diversity. Applicable to all formats (Format 0 requires nrofSymbols=2). Constellation
25
0
2
12
2
0
1
UCI
DMRS
Active PRB
Dashed border = intra-slot 2nd hop
Inter-slot: even slots → Start PRB, odd → 2nd Hop PRB
PUCCH Format 1: Time-domain OCC spreading. NSF from Table 6.3.2.4.1-1; wi(m)=ej2πφ(m)/NSF from Table 6.3.2.4.1-2.
38.211 Table 6.3.2.4.1-1: NSF (Spreading Factor)
38.211 Table 6.3.2.4.1-2: φ(m) for wi(m)=ej2πφ(m)/NSF
PUCCH Format 4: Pre-DFT OCC. Orthogonal sequences wn(m) per 38.211 Tables 6.3.2.6.3-1/2. n = occ-Index (PUCCH-format4.occ-Index in RRC).
38.211 Table 6.3.2.6.3-1: wn(m) when NSFPUCCH,4=2
38.211 Table 6.3.2.6.3-2: wn(m) when NSFPUCCH,4=4
PUCCH Format 0: m0 = initialCyclicShift. Payload Size selects 1-bit or 2-bit table (independent of Nr Symbols). HARQ-ACK determines mCS per 38.213 Tables 9.2.3-3/4.
mCS = 0; Total = m0+mCS = 0
38.213 Table 9.2.3-3: Mapping for one HARQ-ACK information bit
38.213 Table 9.2.3-4: Mapping for two HARQ-ACK information bits
UsageFormat: Select PUCCH Format 0–4. The parameter panel shows only relevant inputs for that format. Parameters: No of PRB for CBW sets the channel bandwidth (24–273 PRBs). Start PRB / 2nd Hop PRB set the PRB index for the first and second hop. Start Sym (0–13 for Format 0/2, 0–10 for Format 1/3/4), Nr Symbols (1–2 for short, 4–14 for long), Init Cyclic (Format 0/1), Nr PRBs (Format 2/3 only; Format 4 is fixed at 1 PRB), Time OCC 0–6 (Format 1), OCC Length/Index (Format 4). Intra-slot Freq Hop / Inter-slot Freq Hop, Add DMRS, π/2 BPSK, Simul HARQ+CSI, Nr Slots (2/4/8 for Format 1–4). Grid: X-axis = OFDM symbols (0–13), Y-axis = subcarriers. Blue = UCI, Red = DMRS. When Nr Slots > 1, a Multi-Slot Timeline shows mini-grids side-by-side: same template per slot, but Inter-slot Freq Hop swaps the PRB (even slots = Start PRB, odd = 2nd Hop PRB). Dashed border = intra-slot 2nd hop. Constellation: Format-specific I/Q plot. Format 0: 12 points on a circle (cyclic shifts). Payload Size (1 or 2 bits) selects which HARQ table applies, independent of Nr Symbols. Phase = α⋅n per TS 38.211 (subcarrier n multiplies cyclic shift). Hover over an RE to see its value as a yellow vector. For Formats 3/4 with π/2-BPSK, click a symbol in the grid to switch which symbol’s constellation (even/odd) is shown. Key Concepts
Multi-Slot: Same vs. Different
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||