Main Content

nrPDCCHConfig

PDCCH configuration parameters

Since R2020a

Description

The nrPDCCHConfig object sets physical downlink control channel (PDCCH) configuration parameters, as defined in TS 38.211 Section 7.3.2 [1] and TS 38.213 Section 10 [2].

Creation

Description

pdcch = nrPDCCHConfig creates a PDCCH configuration object with default properties.

example

pdcch = nrPDCCHConfig(Name,Value) specifies properties using one or more name-value pair arguments. Enclose each property in quotes. For example, 'NSizeBWP',36 configures the PDCCH with a bandwidth part (BWP) consisting of 36 resource blocks (RBs). Unspecified properties take their default values.

Properties

expand all

Start of BWP resource grid relative to the common resource block 0 (CRB 0), specified as a nonnegative integer. Set this property relative to the carrier such that the property value is in this range: NStartGridNStartBWP < (NStartGrid + NSizeGrid), where NStartGrid and NSizeGrid are properties of the carrier configuration object nrCarrierConfig. This figure shows where in the carrier the BWP is located in terms of this property and the NSizeBWP property.

Data Types: double

Number of RBs in BWP resource grid, specified as an integer from 1 to 275. This property must be less than or equal to the size of the carrier, which is specified by the NSizeGrid property of the carrier configuration object nrCarrierConfig.

Data Types: double

Control resource set (CORESET) configuration, specified as an nrCORESETConfig object.

Search space set configuration, specified as an nrSearchSpaceConfig object.

Radio network temporary identifier (RNTI), specified as an integer from 0 to 65,519.

  • If the higher layer parameter pdcch-DMRS-ScramblingID is configured, RNTI is the cell radio network temporary identifier (C-RNTI) with integer value from 1 to 65,519.

  • If pdcch-DMRS-ScramblingID is not configured, RNTI is 0.

Data Types: double

PDCCH demodulation reference signal (DM-RS) scrambling identity, specified as an integer from 0 to 65,535 if the higher layer parameter pdcch-DMRS-ScramblingID is configured or as [] if pdcch-DMRS-ScramblingID is not configured. When you specify this property as [], the object sets the PDCCH DM-RS scrambling identity to the physical layer cell identity specified by the NCellID property of the carrier.

Data Types: double

PDCCH aggregation level, specified as 1, 2, 4, 8, or 16.

Data Types: double

Candidate used for the PDCCH instance, specified as an integer from 1 to 8. The value of this property is an index from the set of candidates specified for the aggregation level by the SearchSpace.NumCandidates property.

This property does not apply when the CCEOffset property is set to a nonempty value.

Data Types: double

Control channel element (CCE) offset used for the PDCCH instance, specified as one of these options.

  • [] — The AllocatedCandidate property determines the first CCE used for the PDCCH instance.

  • Positive integer — This value explicitly specifies the index of the first CCE used for the PDCCH instance. The value must be a multiple of the AggregationLevel property value and less than or equal to the CCE capacity of the associated CORESET. This option overrides the allocation specified by the AllocatedCandidate property.

Data Types: double

Examples

collapse all

Configure the carrier with default configuration parameters.

carrier = nrCarrierConfig;

Configure the CORESET with 6 frequency resources, a duration of 3 OFDM symbols, and a REG bundle size of 3.

crst = nrCORESETConfig;
crst.FrequencyResources = ones(1,6);
crst.Duration = 3;
crst.REGBundleSize = 3;

Configure the PDCCH with the specified bandwidth part and CORESET.

pdcch = nrPDCCHConfig;
pdcch.NStartBWP = 6;
pdcch.NSizeBWP = 36;
pdcch.CORESET = crst;
pdcch.AggregationLevel = 16;

Generate PDCCH DM-RS symbols and indices for the specified carrier and PDCCH.

[~,dmrs,dmrsInd] = nrPDCCHResources(carrier,pdcch);

Configure a carrier grid of 60 resource blocks (RBs), where the starting RB index relative to the common resource block 0 (CRB 0) is 3.

carrier = nrCarrierConfig;
carrier.NStartGrid = 3;
carrier.NSizeGrid = 60;

Configure noninterleaved CORESET with 6 frequency resources and a duration of 3 OFDM symbols.

crst = nrCORESETConfig;
crst.FrequencyResources = ones(1,6);
crst.Duration = 3;
crst.CCEREGMapping = 'noninterleaved';

Configure the PDCCH with the specified bandwidth part and CORESET.

pdcch = nrPDCCHConfig;
pdcch.NStartBWP = 5;
pdcch.NSizeBWP = 48;
pdcch.CORESET = crst;
pdcch.AggregationLevel = 16;

Generate PDCCH resource element indices and DM-RS symbol indices using 1-based, subscript indexing form relative to the BWP grid.

[ind,~,dmrsInd] = nrPDCCHResources(carrier,pdcch,...
    'IndexOrientation','bwp','IndexStyle','subscript');

Configure the carrier with default configuration parameters.

carrier = nrCarrierConfig;

Configure the CORESET with 6 frequency resources, a duration of 3 OFDM symbols, and a REG bundle size of 3.

crst = nrCORESETConfig;
crst.FrequencyResources = ones(1,6);
crst.Duration = 3;
crst.REGBundleSize = 3;

Configure the search space set for the PDCCH with the specified number of candidates at each aggregation level.

cfgSS = nrSearchSpaceConfig;
cfgSS.NumCandidates = [5 5 3 2 1];

Configure the PDCCH with the specified bandwidth part, CORESET, and search space set.

pdcch = nrPDCCHConfig;
pdcch.NStartBWP = 6;
pdcch.NSizeBWP = 36;
pdcch.CORESET = crst;
pdcch.SearchSpace = cfgSS;

Generate PDCCH DM-RS symbols for all candidates and aggregation levels.

[~,allDMRS] = nrPDCCHSpace(carrier,pdcch)
allDMRS=5×1 cell array
    { 18x5 double}
    { 36x5 double}
    { 72x3 double}
    {144x2 double}
    {288x1 double}

Verify that the number of generated candidates for the PDCCH DM-RS symbols at each aggregation level matches the number of candidates specified by the search space set.

numCandidates = [...
    size(allDMRS{1},2) ... 
    size(allDMRS{2},2) ... 
    size(allDMRS{3},2) ... 
    size(allDMRS{4},2) ... 
    size(allDMRS{5},2)];
isequaln(cfgSS.NumCandidates,numCandidates)
ans = logical
   1

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.213. “NR; Physical layer procedures for control.” 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 R2020a