ltePSSCHDRS
PSSCH demodulation reference signal
Description
[
returns a complex column vector sequence containing PSSCH demodulation reference
signal (DM-RS) values and an associated information structure for the specified UE
settings structure. For more information, see PSSCH Demodulation Reference Signal Processing.seq
,info
]
= ltePSSCHDRS(ue
)
Examples
Generate PSSCH DM-RS Sequence
Generate a PSSCH DM-RS sequence associated with both DM-RS SC-FDMA symbols in a subframe. Plot the constellation of the sequence.
Create a user equipment settings structure.
ue = []; ue.NSAID = 34; ue.NSubframePSSCH = 5; ue.PRBSet = (1:10)';
Generate a PSSCH DM-RS sequence. Plot the constellation.
[psschDrsSeq,info] = ltePSSCHDRS(ue);
plot(psschDrsSeq,'o')
Generate a PSSCH DM-RS Sequence for V2X
Generate a PSSCH DM-RS sequence for V2X using the format 1 SCI PSCCH CRC.
Create a user equipment settings structure.
ue = [];
ue.SidelinkMode = 'V2X';
ue.PRBSet = (1:10)';
ue.NSLRB = 50;
Generate the format 1 SCI PSCCH CRC and assign it to the UE V2X scrambling identity.
sciinfo = lteSCIInfo(ue); scibits = ones(1,sciinfo.Format1); [cw,crc] = lteSCIEncode(ue,scibits); ue.NXID = crc;
Generate a PSSCH DM-RS sequence. Plot the constellation.
[psschDrsSeq,info] = ltePSSCHDRS(ue);
plot(psschDrsSeq,'or')
Input Arguments
ue
— User equipment settings
structure
User equipment settings, specified as a parameter structure containing these fields:
SidelinkMode
— Sidelink mode
'D2D'
(default) | 'V2X'
| optional
Sidelink mode, specified as 'D2D'
or
'V2X'
.
Data Types: char
| string
NSAID
— Sidelink group destination identity
integer in the interval [0, 255]
Sidelink group destination identity, specified as an integer in the interval [0, 255].
This field is the lower eight bits of the full 24-bit ProSe Layer-2 group destination ID. This
field and the NSubframePSSCH
field control
the value of the scrambling sequence at the start of each
subframe. This field is required only for D2D sidelink.
Data Types: double
NXID
— V2X scrambling identity
integer scalar
V2X scrambling identity, specified as an integer scalar. NXID
is
the 16 bit CRC associated with the PSCCH SCI grant. It is only required for V2X
sidelink.
Data Types: double
NSubframePSSCH
— PSSCH subframe number
integer scalar
PSSCH subframe number in the PSSCH subframe pool, specified as an integer scalar ().
NSubframePSSCH
and NSAID
control the values of the
scrambling sequence. It is only required for D2D
sidelink.
Data Types: double
PRBSet
— Zero-based physical resource block indices
integer column vector | two-column integer matrix
Zero-based physical resource block (PRB) indices, specified as an integer column vector or a two-column integer matrix.
The PSSCH is intended to be transmitted in the same PRB in each
slot of a subframe. Therefore, specifying PRBSet
as
a single column of PRB indices is recommended. However, for a nonstandard
slot-hopping PRB allocation, PRBSet
can be specified
as a two-column matrix of indices corresponding to slot-wise resource
allocations for PSSCH.
Data Types: double
Data Types: struct
Output Arguments
seq
— PSSCH DM-RS values
column vector
PSSCH DM-RS values, returned as a N × 12 × NPRB-by-1 column vector. For more information, see PSSCH Demodulation Reference Signal Processing.
info
— PSSCH DM-RS information
structure
PSSCH DM-RS information about the intermediate variables used to create the DM-RS, returned as a parameter structure containing these fields:
SeqGroup
— Base sequence group number for each slot
two-column vector
Base sequence group number for each slot, returned as a two-column vector. (u)
SeqIdx
— Base sequence number for each slot
two-column vector
Base sequence number for each slot, returned as a two-column vector. (v)
RootSeq
— Root Zadoff-Chu sequence index for each slot
two-column vector
Root Zadoff-Chu sequence index for each slot, returned as a two-column vector. (q)
NCS
— Cyclic shift values for each slot
two-column vector
Cyclic shift values for each slot, returned as a two-column vector. ()
NZC
— Zadoff-Chu sequence length
integer
Zadoff-Chu sequence length, returned as an integer. ()
OrthSeq
— Orthogonal cover value for each slot
matrix
Orthogonal cover value for each slot, returned as a matrix. ()
Data Types: struct
More About
PSSCH Demodulation Reference Signal Processing
The PSSCH demodulation reference signal (DM-RS)
sequence is transmitted alongside the ltePSSCH
values
using the two SC-FDMA symbols allocated to DM-RS in a PSSCH subframe.
The output vector is the repetition of a 12-element sequence and specified
in TS 36.211, Section 9.8. The vector is mapped onto the 12 DM-RS
SC-FDMA symbol subcarriers in each subframe slot for each PSSCH physical
resource block (PRB) transmission on antenna port 1000.
The output PSSCH DM-RS sequence is the concatenation of the two sequences to be mapped onto
the DM-RS SC-FDMA symbol subcarriers in each subframe slot carrying a ltePSSCH
transmission. Its length is N × 12 × NPRB, where NPRB is the number of
PRBs associated with the PSSCH. For D2D sidelink, there is one DM-RS symbol per slot and
therefore N=2, and for V2X sidelink, there are two symbols per slot and
N=4.
PSSCH Demodulation Reference Signal Indexing
Use the ltePSSCHDRSIndices
indexing
function and the corresponding ltePSCCHDRS
sequence
function to populate the resource grid for any PSSCH subframe. The
PSSCH DM-RS is transmitted in the available SC-FDMA symbols in a PSSCH
subframe, using a single layer on antenna port 1000.
The indices are ordered as the PSSCH DM-RS QPSK modulation symbols should be, applying frequency-first mapping. One-based linear indexing is the default return format, but alternative indexing formats can also be generated.
The resource elements in the last SC-FDMA symbol within a subframe are counted in the mapping process but should not be transmitted. The sidelink-specific SC-FDMA modulation creates the last symbol, which serves as a guard symbol.
For D2D sidelink, when indexing is zero-based, the SC-FDMA symbol indices used are {3,10} for
normal cyclic prefix and {2,8} for extended cyclic prefix. The same symbols are used by the
ltePUSCHDRSIndices
function. For V2X sidelink, there are four DM-RS SC-FDMA
symbols with indices {2,5,8,11} for normal cyclic prefix only.
Note
The indicated symbol indices are based on TS 36.211, Section 9.8. 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.
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
See Also
ltePSSCHDRSIndices
| ltePSSCH
| ltePSSCHDecode
| ltePSSCHIndices
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 (한국어)