Main Content

ltePSSCH

Physical sidelink shared channel

Description

sym = ltePSSCH(ue,cw) returns a complex symbol column vector containing the physical sidelink shared channel (PSSCH) for the specified UE settings structure and codeword bits. Channel processing performed by the function includes PSSCH-specific scrambling, QPSK or 16-QAM modulation, and SC-FDMA transform precoding, as defined in TS 36.211 [1], Section 9.3.

For more information, see Physical Sidelink Shared Channel Processing.

example

Examples

collapse all

Create a codeword using the SL-SCH transport channel and encode the bits on the PSSCH.

Initialize a UE settings structure. Specify the codeword length to use for the SL-SCH. Choose a length that is a multiple of 12 symbols for normal cyclic prefix and has 4 bits per symbol for 16-QAM modulation. Pick a standard number of resource blocks, such as 10.

ue = struct('CyclicPrefixSL','Normal');
ue.RV = 0;
ue.Modulation = '16QAM';
ue.NSAID = 255;
ue.NSubframePSSCH = 0;
ue.SidelinkMode = 'D2D';

codewordlength = 5760; % (12 symbols)(4 bps)(12 REperRB)(10 PRB)

Create a codeword using the lteSLSCH function and encode the bits on the PSSCH. Plot the constellation to show the effects of the SC-FDMA precoding on the 16-QAM modulation symbols.

codeword = lteSLSCH(ue,codewordlength,zeros(100,1));
symbols = ltePSSCH(ue,codeword);

plot(symbols,'o')

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

Cyclic prefix length, specified as 'Normal' or 'Extended'.

Data Types: char | string

Modulation type, specified as 'QPSK' or '16QAM'.

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

Data Types: struct

PSSCH codeword, specified as an Mbit-by-1 integer vector. Mbit is the number of bits transmitted on the physical sidelink shared channel in one subframe and must be a multiple of 12. For more information, see Physical Sidelink Shared Channel Processing.

Output Arguments

collapse all

Modulated PSSCH symbols, returned as an NRE-by-1 column vector. NRE is number of PSSCH resource elements in a subframe. For more information, see Physical Sidelink Shared Channel Processing.

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