nrPDCCHConfig
Description
Creation
Description
pdcch = nrPDCCHConfig
creates a PDCCH configuration object with
default properties.
pdcch = nrPDCCHConfig(
specifies
properties using one or more name-value pair arguments. Enclose each property in quotes.
For example, Name,Value
)'NSizeBWP',36
configures the PDCCH with a bandwidth part
(BWP) consisting of 36 resource blocks (RBs). Unspecified properties take their default
values.
Properties
NStartBWP
— Start of BWP resource grid relative to CRB 0
0
(default) | nonnegative integer
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: NStartGrid
≤
NStartBWP
< (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
NSizeBWP
— Number of RBs in BWP resource grid
48
(default) | integer from 1 to 275
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
CORESET
— CORESET configuration
nrCORESETConfig
object with default
properties (default)
Control resource set (CORESET) configuration, specified as an nrCORESETConfig
object.
SearchSpace
— Search space set configuration
nrSearchSpaceConfig
object with default
properties (default)
Search space set configuration, specified as an nrSearchSpaceConfig
object.
RNTI
— Radio network temporary identifier
1
(default) | integer from 0 to 65,519
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
is0
.
Data Types: double
DMRSScramblingID
— PDCCH DM-RS scrambling identity
2
(default) | integer from 0 to 65,535 | []
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
AggregationLevel
— PDCCH aggregation level
8
(default) | 1
| 2
| 4
| 16
PDCCH aggregation level, specified as 1
, 2
, 4
, 8
, or 16
.
Data Types: double
AllocatedCandidate
— Candidate used for PDCCH instance
1
(default) | integer from 1 to 8
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
CCEOffset
— CCE offset used for PDCCH instance
[]
(default) | positive integer
Control channel element (CCE) offset used for the PDCCH instance, specified as one of these options.
[]
— TheAllocatedCandidate
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 theAllocatedCandidate
property.
Data Types: double
Examples
Generate PDCCH DM-RS Symbols and Indices
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);
Generate PDCCH and DM-RS Indices Relative to BWP Grid
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');
Generate PDCCH DM-RS Symbols for All Candidates and Aggregation Levels
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
See Also
Functions
Objects
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)