Main Content

nrPUCCH2Config

PUCCH format 2 configuration parameters

Since R2021a

    Description

    The nrPUCCH2Config object sets physical uplink control channel (PUCCH) configuration parameters for format 2, as defined in TS 38.211 Sections 6.3.2.1, 6.3.2.5, and 6.4.1.3.2 [1]. The object also configures the bandwidth part (BWP) containing the PUCCH and the number of resource blocks (RBs) that the PUCCH occupies within the BWP.

    The default nrPUCCH2Config object allocates a PUCCH format 2 in the first RB in the BWP and the last OFDM symbol in the slot of 14 OFDM symbols.

    For operation with shared spectrum channel access for frequency range 1 (FR1), set the Interlacing property to true, then use the RBSetIndex and InterlaceIndex object properties to specify the allocated frequency resources. In addition, you can use the SpreadingFactor and OCCI properties with single-interlace configurations. (since R2023b)

    Creation

    Description

    pucch = nrPUCCH2Config creates a default PUCCH configuration object for format 2.

    pucch = nrPUCCH2Config(Name,Value) specifies properties using one or more name-value pairs. Enclose each property in quotes. For example, 'NSizeBWP',200 specifies 200 physical resource blocks (PRB) in the BWP.

    example

    Properties

    expand all

    Number of PRBs in the BWP, specified as [] or an integer from 1 to 275. To set this property to the NSizeGrid property of the nrCarrierConfig object, use [].

    Data Types: double

    Starting PRB index of the BWP relative to the common resource block 0 (CRB 0), specified as [] or an integer from 0 to 2473. To set this property to the NStartGrid property of the nrCarrierConfig object, use [].

    Data Types: double

    OFDM symbol allocation of the PUCCH within a slot, specified as [] or a two-element vector of nonnegative integers. The first element of this property represents the start of symbol allocation. The second element represents the number of consecutively allocated OFDM symbols and must equal 1 or 2. To indicate that no OFDM symbols are allocated for the PUCCH, use [] or specify the second element of the vector as 0.

    Data Types: double

    PRB allocation of the PUCCH within the BWP, specified as a vector of integers from 0 to 274. To indicate that no resource blocks are allocated for the PUCCH, use [].

    Dependencies

    To enable this property, set the Interlacing property to 0 (false).

    Data Types: double

    Frequency hopping configuration for the PUCCH, specified as one of these values.

    • 'neither' — Indicates no frequency hopping

    • 'intraSlot' — Enables intraslot frequency hopping

    • 'interSlot' — Enables interslot frequency hopping

    When you enable interslot frequency hopping, the slot number determines the starting resource block for the allocated OFDM symbols. For even-numbered slots, the resource block starts from the minimum resource block allocated in the PRBSet property. For odd-numbered slots, the resource block starts from the resource block provided in the SecondHopStartPRB property.

    Dependencies

    To enable this property, set the Interlacing property to 0 (false).

    Data Types: char | string

    Starting PRB index of the second hop relative to the BWP, specified as an integer from 0 to 274.

    Dependencies

    To enable this property, set the FrequencyHopping property to 'intraSlot' or 'interSlot' and set the Interlacing property to 0 (false).

    Data Types: double

    Since R2023b

    Interlaced resource allocation, specified as one of these values.

    • 0 (false) — Disable interlaced resource allocation.

    • 1 (true) — Enable interlaced resource allocation. Use the RBSetIndex and InterlaceIndex properties to configure the frequency resource allocation.

    This property implements the useInterlacePUCCH-PUSCH higher-layer parameter.

    Data Types: double | logical

    Since R2023b

    Indices of RB sets between intracell guard bands (0-based), specified as a vector of nonnegative integers. Use this property to specify the indices of the RB sets in an interlaced resource allocation.

    Dependencies

    To enable this property, set the Interlacing property to 1 (true).

    Data Types: double

    Since R2023b

    Interlace indices in the interlaced resource allocation, specified as a vector of nonnegative integers with up to M elements. The vector element must be in the range [0, M – 1). M = 10 for 15 kHz subcarrier spacing and M = 5 for 30 kHz subcarrier spacing.

    Dependencies

    To enable this property, set the Interlacing property to 1 (true).

    Data Types: double

    Spreading factor, specified as 2 or 4.

    Dependencies

    To enable this property, set the InterlaceIndex property to a scalar.

    Data Types: double

    Orthogonal cover code index (OCCI), specified as an integer from 0 to 3. The OCCI value must be less than the SpreadingFactor property.

    Dependencies

    To enable this property, set the InterlaceIndex property to a scalar.

    Data Types: double

    PUCCH scrambling identity, specified as [] or an integer from 0 to 1023.

    • If the higher-layer parameter dataScramblingIdentityPUSCH is configured, this property must be in the range from 0 to 1023.

    • If the higher-layer parameter dataScramblingIdentityPUSCH is not configured, this property must be equal to the physical layer cell identity and be in the range from 0 to 1007.

    When you specify this property as [], the object sets the PUCCH scrambling identity to the physical layer cell identity specified by the NCellID property of the nrCarrierConfig object.

    Data Types: double

    Radio network temporary identifier of the user equipment (UE), specified as an integer from 0 to 65,535.

    Data Types: double

    Demodulation reference signal (DM-RS) scrambling identity, specified as [] or an integer from 0 to 65,535.

    • If the higher-layer parameter scramblingID0 is configured, this property must be in the range from 0 to 65,535.

    • If the higher-layer parameter scramblingID0 is not configured, this property must be equal to the physical layer cell identity and be in the range from 0 to 1007.

    When you specify this property as [], the object sets the DM-RS scrambling identity to the physical layer cell identity specified by the NCellID property of the nrCarrierConfig object.

    Data Types: double

    Examples

    collapse all

    Create a default PUCCH configuration object for format 2.

    pucch = nrPUCCH2Config;

    Specify the starting PRB index of the BWP relative to the CRB 0 as 1005, the PRB allocation of the PUCCH to range from 70 to 74 (occupying 5 resource blocks), and the PUCCH to span the first two OFDM symbols in each slot. Enable intraslot frequency hopping and set the starting PRB index of the second hop as 35. Set the data scrambling identity to 450 and the radio network temporary identifier of the UE to 12,034. Display the object properties.

    pucch.NStartBWP = 1005;
    pucch.SymbolAllocation = [0 2];
    pucch.PRBSet = 70:74;
    pucch.FrequencyHopping = 'intraSlot';
    pucch.SecondHopStartPRB = 35;
    pucch.NID = 450;
    pucch.RNTI = 12034;
    disp(pucch)
      nrPUCCH2Config with properties:
    
                 NSizeBWP: []
                NStartBWP: 1005
         SymbolAllocation: [0 2]
                   PRBSet: [70 71 72 73 74]
         FrequencyHopping: 'intraSlot'
        SecondHopStartPRB: 35
              Interlacing: 0
                      NID: 450
                     RNTI: 12034
                     NID0: []
    

    References

    [1] 3GPP TS 38.211. “NR; Physical channels and modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

    Extended Capabilities

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Version History

    Introduced in R2021a

    expand all