Main Content

pre6GCarrierConfig

Extended carrier configuration parameters

Since R2024a

Download Required: To use pre6GCarrierConfig, first install the 6G Exploration Library for 5G Toolbox add-on.

Description

The pre6GCarrierConfig object extends the functionality of the nrCarrierConfig object. You can use the object to set carrier configuration parameters for a specific OFDM numerology, as defined in TS 38.211 Sections 4.2, 4.3, and 4.4 [1], with the following extensions:

  • The SubcarrierSpacing you specify can be greater than 960 kHz (the maximum specified in TS 38.211 Table 4.2-1).

  • The number of resource blocks you specify in NSizeGrid can be greater than 275 (the maximum specified in TS 38.331 Section 6.3.2 [2]).

  • The starting resource block number you specify in NStartGrid can be greater than 2199 (the maximum specified in TS 38.331 Section 6.3.2).

The object defines the carrier subcarrier spacing, bandwidth, and offset parameters from point A, the center of subcarrier 0 in the common resource block 0 (CRB 0). For a 60 kHz subcarrier spacing, you can specify either normal or extended cyclic prefix. The read-only properties of this object provide the carrier resource grid time-domain dimensions. You can use the object in slot-oriented processing by specifying the current slot and frame numbers.

Creation

Description

carrier = pre6GCarrierConfig creates a carrier configuration object with default properties.

carrier = pre6GCarrierConfig(Name=Value) specifies properties using one or more name-value arguments. For example, SubcarrierSpacing=1920,NSizeGrid=300 specifies 300 RBs and a subcarrier spacing of 1920 kHz. Unspecified properties take their default values.

example

Properties

expand all

Physical layer cell identity, specified as an integer from 0 to 1007.

Data Types: double

Subcarrier spacing in kHz, for all channels and reference signals of the carrier, specified as a nonnegative power-of-two multiple of 15. This means that you must specify this input as an integer of the form 15*2μ for a nonnegative integer μ. The default is 15.

Data Types: double

Cyclic prefix length, specified as one of these options.

  • 'normal' — Use this value to specify normal cyclic prefix. This option corresponds to 14 OFDM symbols in a slot.

  • 'extended' — Use this value to specify extended cyclic prefix. This option corresponds to 12 OFDM symbols in a slot. For the numerologies specified in TS 38.211 Section 4.2, extended cyclic prefix length applies for only 60 kHz subcarrier spacing.

Data Types: char | string

Number of RBs in the carrier resource grid, specified as a positive integer.

Data Types: double

Start of carrier resource grid relative to CRB 0, specified as a nonnegative integer. This property is the higher-layer parameter offsetToCarrier.

Data Types: double

Slot number, specified as a nonnegative integer. You can set NSlot to a value larger than the number of slots per frame. For example, you can set this value using transmission loop counters in a MATLAB® simulation. In this case, you may have to ensure that the property value is modulo the number of slots per frame in a calling code.

Data Types: double

System frame number, specified as a nonnegative integer. You can set NFrame to a value larger than the maximum frame number 1023. For example, you can set this value using transmission loop counters in a MATLAB simulation. In this case, you may have to ensure that the property value is modulo 1024 in a calling code.

Data Types: double

Intracell guard bands for operation with shared spectrum channel access for FR1, specified as one of these options:

  • N GB-by-2 matrix of nonnegative integers — N GB is the number of guard bands. Each row defines a guard band: the first column specifies the start of the guard band relative to CRB 0 and the second column defines the size of the guard band in RBs.

  • Cell array of nrIntraCellGuardBandsConfig objects — Only those guard band configurations that have the same subcarrier spacing as the SubcarrierSpacing object property are applicable.

The default value of [] indicates that intracell guard bands are not configured, which means that all resources are available.

This property corresponds to higher-layer parameter IntraCellGuardBandsPerSCS in TS 38.331 [2].

This property is read-only.

Number of OFDM symbols per slot, returned as 14 for normal cyclic prefix or 12 for extended cyclic prefix. The object sets this property based on the CyclicPrefix property.

Data Types: double

This property is read-only.

Number of slots per 1 ms subframe, returned as a nonnegative power of two. The object gets the value of this property by dividing the SubcarrierSpacing property by 15. The default is 1.

Data Types: double

This property is read-only.

Number of slots per 10 ms frame, returned as a nonnegative power-of-two multiple of 10. This means that the property value is an integer of the form 10*2μ for a nonnegative integer μ. The object gets the value of this property by multiplying the SlotsPerSubframe property by 10. The default is 10.

Data Types: double

Examples

collapse all

Create a carrier configuration object, specifying the subcarrier spacing as 1920 kHz and the number of resource blocks as 350.

carrier = pre6GCarrierConfig(SubcarrierSpacing=1920,NSizeGrid=350);

These values are beyond the maximums stipulated by 5G NR.

References

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

[2] 3GPP TS 38.331. “NR; Radio Resource Control (RRC) protocol specification.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

Version History

Introduced in R2024a