Main Content

ltePSSCHDRS

PSSCH demodulation reference signal

Description

[seq,info] = ltePSSCHDRS(ue) 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.

example

Examples

collapse all

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')

Figure contains an axes object. The axes contains a line object which displays its values using only markers.

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')

Figure contains an axes object. The axes contains a line object which displays its values using only markers.

Input Arguments

collapse all

User equipment settings, specified as a parameter structure containing these fields:

Sidelink mode, specified as 'D2D' or 'V2X'.

Data Types: char | string

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

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

PSSCH subframe number in the PSSCH subframe pool, specified as an integer scalar (nssfPSSCH).

NSubframePSSCH and NSAID control the values of the scrambling sequence. It is only required for D2D sidelink.

Data Types: double

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

collapse all

PSSCH DM-RS values, returned as a N × 12 × NPRB-by-1 column vector. For more information, see PSSCH Demodulation Reference Signal Processing.

PSSCH DM-RS information about the intermediate variables used to create the DM-RS, returned as a parameter structure containing these fields:

Reference signal cyclic shift for each slot, returned as a two-column vector. (α)

Alpha is proportional to NCS, where α=2πncs,λ12.

Base sequence group number for each slot, returned as a two-column vector. (u)

Base sequence number for each slot, returned as a two-column vector. (v)

Root Zadoff-Chu sequence index for each slot, returned as a two-column vector. (q)

Cyclic shift values for each slot, returned as a two-column vector. (ncs,λ)

Zadoff-Chu sequence length, returned as an integer. (NZCRS)

Orthogonal cover value for each slot, returned as a matrix. (w¯)

Data Types: struct

More About

collapse all

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