ltePSSSIndices
PSSS resource element indices
Description
returns
a 124-by-1 complex column vector of resource element (RE) indices
for the primary sidelink synchronization signal (PSSS) values for
user equipment settings in the ind
= ltePSSSIndices(ue
)ue
structure.
By default, the indices are returned in one-based linear indexing
form. You can use this form to directly index elements of a matrix
representing the subframe resource grid for antenna port 1020. For
more information, see Primary Sidelink Synchronization Signal Indexing.
Examples
Generate PSSS Indices
Generate PSSS values and indices. Write the values into the PSSS resource elements in a synchronization subframe (normal cyclic prefix) and display an image of their locations.
Create a user equipment settings structure and a resource grid that has a 10 MHz bandwidth and normal cyclic prefix.
ue.NSLRB = 50;
ue.CyclicPrefixSL = 'Normal';
ue.NSLID = 1;
subframe = lteSLResourceGrid(ue);
Generate PSSS indices and display the first five indices. Load the PSSS symbols into the resource grid. Display an image showing the PSSS symbol locations.
psss_indices = ltePSSSIndices(ue); psss_indices(1:5)
ans = 5x1 uint32 column vector
870
871
872
873
874
subframe(psss_indices) = ltePSSS(ue);
imagesc(100*abs(subframe));
axis xy;
Generate Zero-Based PSSS Indices
Generate PSSS indices using zero-based indexing style. Compare these indices to one-based indices.
Create a user equipment settings structure and a resource grid that has a 10 MHz bandwidth and normal cyclic prefix.
ue.NSLRB = 50;
ue.CyclicPrefixSL = 'Normal';
ue.NSLID = 1;
subframe = lteSLResourceGrid(ue);
Generate PSSS zero-based indices and view the first five indices.
psss_indices = ltePSSSIndices(ue,'0based');
psss_indices_size = size(psss_indices)
psss_indices_size = 1×2
124 1
psss_indices(1:5)
ans = 5x1 uint32 column vector
869
870
871
872
873
Generate PSSS one-based indices and view the first five indices.
psss_indices = ltePSSSIndices(ue,'1based');
psss_indices_size = size(psss_indices)
psss_indices_size = 1×2
124 1
psss_indices(1:5)
ans = 5x1 uint32 column vector
870
871
872
873
874
For zero-based indexing, the first assigned index is one lower than the one-based indexing style.
Input Arguments
ue
— User equipment settings
structure
UE-specific settings, specified as a structure containing these parameter fields:
NSLRB
— Number of sidelink resource blocks
integer scalar from 6 to 110
Number of sidelink resource blocks, specified as an integer scalar from 6 to 110.
Example: 6
, which corresponds to a channel
bandwidth of 1.4 MHz.
Data Types: double
CyclicPrefixSL
— Cyclic prefix length
'Normal'
(default) | 'Extended'
| optional
Cyclic prefix length, specified as 'Normal'
or 'Extended'
.
Data Types: char
| string
opts
— Output format options for resource element indices
character vector | cell array of character vectors | string array
Output format options for resource element indices, specified as a character vector, cell
array of character vectors, or string array. For convenience, you can
specify several options as a single character vector or string scalar by a
space-separated list of values placed inside the quotes. Values for
opts
when specified as a character vector include
(use double quotes for string) :
Category | Options | Description |
---|---|---|
Indexing style |
| The returned indices are in linear index style. |
| The returned indices are in | |
Index base |
| The returned indices are one-based. |
| The returned indices are zero-based. |
Example: 'ind 1based'
, "ind 1based"
,
{'ind','1based'}
, or ["ind","1based"]
specify
the same formatting options.
Data Types: char
| string
| cell
Output Arguments
ind
— PSSS resource element indices
integer column vector | three column integer matrix
PSSS resource element indices, returned as an integer column
vector or a three-column integer matrix. This output is generated
using the UE-settings structure, ue
. For more
information, see Primary Sidelink Synchronization Signal Indexing.
More About
Primary Sidelink Synchronization Signal Indexing
Use the indexing function, ltePSSSIndices
, and the corresponding sequence
function, ltePSSS
, to populate
the resource grid for the desired subframe number. The PSSS values
are output by ltePSSS
, ordered
as they should be mapped, applying frequency-first mapping into the
resource elements of the adjacent symbols using ltePSSSIndices
.
When indexing is zero-based, the SC-FDMA symbols used are {1,2} for
normal cyclic prefix and {0, 1} for extended cyclic prefix.
Note
The indicated symbol indices are based on TS 36.211, Section 9.7. However to align with the LTE Toolbox™ subframe orientation, these indices are expanded from symbol index per slot to symbol index per subframe.
For more information on mapping symbols to the resource element grid, see Resource Grid Indexing.
Primary Sidelink Synchronization Signal
The primary sidelink synchronization signal
(PSSS) is transmitted in the central 62 resource elements of two adjacent
SC-FDMA symbols in a synchronization subframe. The same sequence of
62 complex values is repeated in each of the symbols, resulting in
a 124-by-1 element vector returned by the ltePSSS
function.
The values of this sequence are ordered as they should be mapped into
the resource elements of the adjacent symbols using ltePSSSIndices
. If a terminal is transmitting
PSSS, then the PSSS should be sent every 40 ms with the exact subframe
dependent on the RRC signaled subframe number offset (syncOffsetIndicator-r12).
The PSSS is sent on antenna port 1020, along with the secondary sidelink synchronization signal (SSSS). A synchronization subframe also contains the PSBCH, which is sent on antenna port 1010. The transmission power of the PSSS symbols should be the same as the PSBCH therefore they should be scaled by in a subframe. No PSCCH or PSSCH transmission will occur in a sidelink subframe configured for synchronization purposes.
As specified in TS 36.211, Section 9.7, the PSSS identity assignment
depends on the network coverage. The set of all is
divided into two sets, id_net {0, ..., 167} and id_oon {168, ...,
335}, which are used by terminals that are in-network and out-of-network
coverage, respectively. The sidelink physical layer cell identity
number, ,
corresponds to the ltePSSS
input
UE settings structure field ue
.NSLID
.
Within each set, all identities result in the same PSSS. For an in-network
terminal, the ue
.NSLID
value
corresponds to the RRC sidelink synchronization signal identity (slssid-r12)
associated with the cell.
References
[1] 3GPP TS 36.211. “Evolved Universal Terrestrial Radio Access (E-UTRA); Physical Channels and Modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network. URL: https://www.3gpp.org.
Version History
Introduced in R2016b
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
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)