Main Content

nrPUCCH0Config

PUCCH format 0 configuration parameters

Since R2021a

    Description

    The nrPUCCH0Config object sets physical uplink control channel (PUCCH) configuration parameters for format 0, as defined in TS 38.211 Sections 6.3.2.1 to 6.3.2.3 [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 nrPUCCH0Config object allocates a PUCCH format 0 in the first RB of 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. (since R2023b)

    Creation

    Description

    pucch = nrPUCCH0Config creates a default PUCCH configuration object for format 0.

    pucch = nrPUCCH0Config(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 vector of integers from 0 to 274 or []. 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

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

    • 'neither' — Disables group hopping and sequence hopping

    • 'enable' — Enables group hopping and disables sequence hopping

    • 'disable' — Disables group hopping and enables sequence hopping

    This property is the higher-layer parameter pucch-GroupHopping.

    Data Types: char | string

    Hopping identity of the PUCCH, specified as [] or an integer from 0 to 1023.

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

    • If the higher-layer parameter hoppingId 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 hopping identity to the physical layer cell identity specified by the NCellID property of the nrCarrierConfig object.

    Data Types: double

    Initial cyclic shift, specified as an integer from 0 to 11.

    This property is the higher-layer parameter initialCyclicShift.

    Data Types: double

    Examples

    collapse all

    Create a default PUCCH configuration object for format 0.

    pucch = nrPUCCH0Config;

    Specify the size of the BWP as 45, the PRB allocation of the PUCCH as 40, and the initial cyclic shift as 5. Enable group hopping and set the hopping identity to 400. Display the object properties.

    pucch.NSizeBWP = 45;
    pucch.PRBSet = 40;
    pucch.GroupHopping = 'enable';
    pucch.HoppingID = 400;
    pucch.InitialCyclicShift = 5;
    disp(pucch)
      nrPUCCH0Config with properties:
    
                  NSizeBWP: 45
                 NStartBWP: []
          SymbolAllocation: [13 1]
                    PRBSet: 40
          FrequencyHopping: 'neither'
         SecondHopStartPRB: 1
               Interlacing: 0
              GroupHopping: 'enable'
                 HoppingID: 400
        InitialCyclicShift: 5
    

    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