nrCORESETConfig
Description
The nrCORESETConfig
object sets CORESET configuration parameters
for the physical downlink control channel (PDCCH), as defined in TS 38.211 Section 7.3.2 [1]. Use this object when setting
the CORESET
property of the nrPDCCHConfig
or nrDLCarrierConfig
objects.
Creation
Description
crst = nrCORESETConfig
creates a CORESET configuration object
with default properties.
crst = nrCORESETConfig(
specifies
properties using one or more name-value pair arguments. Enclose each property in quotes.
For example, Name,Value
)'REGBundleSize',3,'Duration',3
configures the CORESET with
a duration of 3 OFDM symbols and resource element group (REG) bundle size of 3.
Unspecified properties take their default values.
Properties
CORESETID
— CORESET ID
1
(default) | integer from 0 to 11
CORESET ID, specified as an integer from 0 to 11. When this object and nrSearchSpaceConfig
object
specify the SearchSpace
and CORESET
properties, respectively, of the same nrPDCCHConfig
object, the
CORESETID
properties of these objects must match.
The reference point for the demodulation reference signal (DM-RS) sequence-to-subcarrier resource mapping for CORESET ID 0 is the lowest physical resource block of the CORESET. All other CORESET ID values use the common resource block 0 for the DM-RS reference point.
Data Types: double
Label
— Name of CORESET configuration
'CORESET1'
(default) | character array | string scalar
Name of CORESET configuration, specified as a character array or string scalar. Use this property to set a description to the CORESET configuration.
Data Types: char
| string
FrequencyResources
— Frequency-domain resources
[1 1 1 1 1 1 1 1]
(default) | binary row vector
Frequency-domain resources, specified as a binary row vector. An element value of
1
indicates an allocated frequency resource of six resource blocks
(RBs). An element value of 0
indicates no allocation. The maximum
number of vector elements is 45. Grouping starts from the first RB group in the
bandwidth part (BWP). The first vector element corresponds to the first RB group in the
BWP.
This property determines the total number of RBs allocated in the frequency domain,
which is given by numRBs = 6 ×
sum(FrequencyResources)
.
Data Types: double
Duration
— CORESET duration
2
(default) | 1
| 3
CORESET duration, in OFDM symbols, specified as 1
,
2
, or 3
.
Data Types: double
CCEREGMapping
— CCE-to-REG mapping
'interleaved'
(default) | 'noninterleaved'
Control channel elements (CCE) to REG mapping, specified as
'interleaved'
or 'noninterleaved'
.
These diagrams illustrate the difference between noninterleaved and interleaved
CORESETs. Both CORESETS are configured with the Duration
property set to 2
and the REGBundleSize
property set to 6
. The InterleaverSize
property of the interleaved CORESET is set to
2
.
Data Types: char
| string
REGBundleSize
— Size of REG bundles
6
(default) | 2
| 3
Size of REG bundles, specified as 2
, 3
, or
6
.
When the
Duration
property is set to3
, setREGBundleSize
to3
or6
.When
Duration
is set to1
or2
, setREGBundleSize
to2
or6
.
The number of REGs, numREGs, depends on the total number of resource blocks, numRBs, allocated in the frequency domain and is given by
numREGs = numRBs × Duration
, where numRBs = 6 × sum(
.FrequencyResources
)
When the CCEREGMapping
property is set to 'interleaved'
,
numREGs must be a multiple of REGBundleSize
× InterleaverSize
.
Dependencies
To enable this property, set the CCEREGMapping
property to 'interleaved'
.
Data Types: double
InterleaverSize
— Interleaver size
2
(default) | 3
| 6
Interleaver size for interleaved CCE-to-REG mapping, specified as
2
, 3
, or 6
.
The number of REGs, numREGs, depends on the total number of resource blocks, numRBs, allocated in the frequency domain and is given by
numREGs = numRBs × Duration
, where numRBs = 6 × sum(
.FrequencyResources
)
When the CCEREGMapping
property is set to 'interleaved'
,
numREGs must be a multiple of REGBundleSize
× InterleaverSize
.
Dependencies
To enable this property, set the CCEREGMapping
property to 'interleaved'
.
Data Types: double
ShiftIndex
— Shift index
0
(default) | integer from 0 to 274 | NCellID with integer value from 0 to 1007
Shift index, specified as an integer from 0 to 274 or the physical layer cell identity NCellID with integer value from 0 to 1007.
For example, these diagrams illustrate the effect of shift index on CORESET mapping.
Both CORESETs are configured with the Duration
property set to 2
, the REGBundleSize
property set to 2
, and the InterleaverSize
property set to 2.
Dependencies
To enable this property, set the CCEREGMapping
property to 'interleaved'
.
Data Types: double
PrecoderGranularity
— Precoder granularity
'sameAsREG-bundle'
(default) | 'allContiguousRBs'
Precoder granularity associated with the CORESET, as defined in TS 38.211 Sections 7.3.2.2 and 7.4.1.3.2., specified as one of these values.
'sameAsREG-bundle'
— The precoding on associated PDCCH transmissions is the same within a REG bundle. In this case, the PDCCH DM-RS transmission is across the PRBs associated with the PDCCH.'allContiguousRBs'
— The precoding is the same across all REGs within the set of contiguous RBs in the CORESET. In this case, the PDCCH DM-RS transmission is across the entire CORESET region.
Data Types: char
| string
RBOffset
— RB offset of CORESET in BWP
[]
(default) | integer from 0 to 5
RB offset of the start of the CORESET from the start of the BWP, specified as one these values.
[]
— CORESET frequency resources start at the first complete group of six common resource blocks (CRBs) in the BWP.Integer from 0 to 5 — Specify the RB offset explicitly. This option corresponds to the higher-layer parameter rb-Offset-r16.
Data Types: char
| string
NCCE
— Number of CCE available in CORESET
positive integer
This property is read-only.
Number of CCE available for use in the CORESET, as defined in TS 38.213 Section
10.1 [2], returned as a positive
integer. The value depends on the FrequencyResources
and Duration
property values.
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');
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 R2020aR2022b: Specify precoder granularity
The PrecoderGranularity
property enables you to specify the precoder granularity
of the associated PDCCH, as defined in TS 38.211 Sections 7.3.2.2 and 7.4.1.3.2.
R2022b: Specify RB offset
The RBOffset
property enables you to specify the RB offset of the CORESET in the
BWP.
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 (한국어)