Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

umtsDownlinkWaveformGenerator

UMTS downlink waveform generation

Syntax

waveform = umtsDownlinkWaveformGenerator(config)

Description

example

waveform = umtsDownlinkWaveformGenerator(config) returns the UMTS downlink waveform, waveform, defined by the configuration structure, config. This function supports W-CDMA, HSDPA, and HSPA+ waveform generation. The top-level parameters and lower-level substructures of config characterize the waveform and channel properties of the umtsDownlinkWaveformGenerator function output. The config input is generated using the umtsDownlinkReferenceChannels function. config includes top-level parameters and substructures to describe the different channels to include in the waveform. The top-level parameters of config are: TotFrames, PrimaryScramblingCode, FilterType, OversamplingRatio, and NormalizedPower. To enable the specific channels, you can add associated substructures: DPCH, PCCPCH, SCCPCH, PCPICH, SCPICH, PSCH, SSCH, PICH, HSDPA, and OCNS.

Note

Include an interfering downlink 3GPP technology noise source by initializing the OCNS substructure. Specify the orthogonal channel noise source (OCNS) parameters using the appropriate 3GPP definition,

  • RMC OCNS channels are defined in TS 25.101, Table C.6 [1]

  • H-Set OCNS channels are defined in TS 25.141, Tables C.13, and C.13A [2]

  • Test model DPCHs and HS-PDSCH/HS-SCCH channels are defined in TS 25.141, Section 6.1.1 [2]

Examples

collapse all

Initialize a 'QPSK', 'H-Set1' FRC reference channel and generate the UMTS waveform that corresponds to these settings.

Generate the configuration structure, frcStruct.

rc = 'H-Set1';
modulation = 'QPSK';
frcStruct = umtsDownlinkReferenceChannels(rc, modulation);

Generate the desired waveform using frcStruct as the input to the waveform generation function. Create a spectrum analyzer object sampling at chiprate x OversamplingRatio. Plot the waveform.

waveform = umtsDownlinkWaveformGenerator(frcStruct);
saScope = dsp.SpectrumAnalyzer('SampleRate', 3.84e6*frcStruct.OversamplingRatio);
saScope(waveform);

Input Arguments

collapse all

Top-Level Parameters and Substructures

Definition of the channels included by the waveform generator, specified as a structure.

Parameter Field

Required or Optional

Values

Description

TotFramesRequired

Nonnegative scalar integer

Total number of frames to be generated

PrimaryScramblingCodeRequired

Scalar integer from 0 to 511

Primary scrambling code index

FilterTypeRequired'RRC' (default), 'Off'

Enable the RRC filter

OversamplingRatioRequired

Nonnegative scalar integer

Oversampling ratio

NormalizedPowerRequired

Float (-inf to +inf) or 'Off' to disable power normalization

Overall waveform power in dBW relative to 1 ohm

DPCHOptional

Not present, structure, or structure array

See DPCH Substructure.
PCCPCHOptional

Not present or structure

See PCCPCH Substructure.
SCCPCHOptional

Not present or structure

See SCCPCH Substructure.
PCPICHOptional

Not present or structure

See PCPICH Substructure.
SCPICHOptional

Not present or structure

See SCPICH Substructure.
PSCHOptional

Not present or structure

See PSCH Substructure.
SSCHOptional

Not present or structure

See SSCH Substructure.
PICHOptional

Not present or structure

See PICH Substructure.
HSDPAOptional

Not present or structure

See HSDPA Substructure.
OCNSOptional

Not present or structure

See OCNS Substructure.

DPCH Substructure

Include the DPCH substructure in the config structure to add dedicated physical channels to the output structure. The DPCH substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

EnableRequired'On', or 'Off'

Enable or disable the channel

SlotFormatRequired

Scalar integer from 0 to 16

DPCH slot format number

SpreadingCodeRequired

Scalar integer from 0 to 511

DPCH spreading code, for multicode transmission it is the first DPCH code

NMulticodesRequired

Scalar integer (1 ,2, 3, 4, 5, 6)

Number of DPCHs

SecondaryScramblingCodeRequired

Scalar integer form 0 to 15

DPCH secondary scrambling code index

TimingOffsetRequired

Scalar integer from 0 to 149

The timing offset in terms of the number of chips (x256Tchip)

PowerRequiredFloat (-inf to +inf)

Channel power in dB

TPCDataRequired

0 or 1

Scalar or vector of Transmit Power Control data

TFCIRequired

Scalar integer from 0 to 1023

Transport Format Combination Indicator

DataSourceRequired

Scalar, vector, character vector, or cell array

When defined as a cell array use standard PN sequences and a seed value: {PN, seed}

PN options for character vector, or cell array include: 'PN9-ITU', 'PN9', 'PN11', 'PN15', 'PN23'.

If no seed is specified, the shift register is initialized with all ones.

Using Transport channel:

'CCTrCH'

DPCH data source. The data source can be defined as a transport channel (which enables transport channel coding), as one of the PN sequences or as a binary scalar or vector.

CCTrCHOptional

Structure

See CCTrCH Substructure.

CCTrCH Substructure

Include a CCTrCH substructure instance individually for DPCH, PCCPCH, and/or SCCPCH substructures. Separate instances of a coded composite transport channel are added to the output structures of the DPCH, P-CCPCH, and/or S-CCPCH physical channel definitions. When the CCTrCH substructure is included, it contains the following fields.

Parameter Field

Required or Optional

Values

Description

NameOptional

Character vector (default depends on the physical channel specified)

Name assigned to the CCTrCH. Functions do not use the Name field. Therefore, you can redefine the content with no consequence.

DTXPositionRequired'fixed', or 'flexible'

Specifies the DTX position

TrCHRequired

Structure or structure array

An array of structures that defines multiple transport channels in the CCTrCH

  TrCH.NameRequired

Character vector, default depends on the physical channel specified.

Name assigned to the TrCH. Functions do not use the Name field. Therefore, you can redefine the content with no consequence.

  TrCH.CRCRequired

Character vector

'0', '8', '12', '16', '24'

Specifies the CRC polynomial

  TrCH.TTIRequired

Scalar integer (10, 20, 40, 80)

TTI in ms

  TrCH.CodingTypeRequired

'turbo', 'conv2', or 'conv3'

Specifies channel coding type and rate

  TrCH.RMARequired

Scalar integer from 1 to 256

Rate matching attribute value

  TrCH.DataSourceRequired

Scalar, vector, character vector, or cell array

When defined as a cell array use standard PN sequences and a seed value: {PN, seed}

PN options for character vector, or cell array include: 'PN9-ITU', 'PN9', 'PN11', 'PN15', 'PN23'.

If no seed is specified, the shift register is initialized with all ones.

Transport channel data source. The data source can be defined either as one of the standard PN sequences or as a binary scalar or vector.

Examples for setting the DataSource field include:

  • ...CCTrCH.TrCh(1).DataSource = [1 0 0 1] generates a physical channel data block by looping the vector [1 0 0 1].

  • ...CCTrCH.TrCh(1).DataSource = 'PN9' generates a physical channel data block with random seed = 511.

  • ...CCTrCH.TrCh(1).DataSource = {'PN9',5} generates a physical channel data block with seed = 5.

  • ...CCTrCH.TrCh(1).DataSource = 'CCTrCH' causes the physical channel to carry the transport channel that is defined by the CCTrCH substructure.

  TrCH.ActiveDynamicPartRequired

Scalar integer, in the range 1 through length(DynamicPart)

Scalar or vector specifying the active dynamic part

The ActiveDynamicPart field indicates the DynamicPart array index for the active transport format (Blockset, BlockSetSize) from available combinations defined in DynamicPart. The selected transport format is used for data transmission in the current TTI.

  TrCH.DynamicPartRequired

Structure or structure array

Structure specifying size of each transport block

The DynamicPart fields, BlockSize and BlockSetSize, define the size of each transport block and the total bits per transport block set. As a pair (BlockSize, BlockSetSize) describe a transport format set. DynamicPart defines one or multiple transport format sets.

  TrCH.DynamicPart.BlockSizeRequired

Positive scalar integer

Transport block length

  TrCH.DynamicPart.BlockSetSizeRequired

Scalar integer, multiple of BlockSize

Total number of bits in the transport block set. Implementation does not support multiple transport blocks, so by definition BlockSet is equal to BlockSetSize.

Note

When configuring the output structure to transmit the RMC 0kbps as defined in TS 25.101, Section A.3.0 [1], a transport channel CRC is defined for transmission. The standard indicates DTCH transport block size = 0 and transport block set size = 0. Our implementation requires signalling transmission of a transport block to transmit a CRC. In the umtsDownlinkWaveformGenerator, one transport block of size zero is signaled by setting either BlockSize or BlockSetSize to '0'. Setting both BlockSize and BlockSetSize to '0' signals '0' transport block of size '0' and no CRC is transmitted.

PCCPCH Substructure

Include the PCCPCH substructure in the config structure to add the primary common control physical channel to the output structure. The PCCPCH substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

EnableRequired'On', or 'Off'

Enable or disable the channel

PowerRequired

Float (-inf to +inf)

P-CCPCH power in dB

DataSourceRequired

Scalar, vector, character vector, or cell array

When defined as a cell array use standard PN sequences and a seed value: {PN, seed}

PN options for character vector, or cell array include: 'PN9-ITU', 'PN9', 'PN11', 'PN15', 'PN23'.

If no seed is specified, the shift register is initialized with all ones.

Using transport channel:

'CCTrCH'

PCCPCH data source. The data source can be defined as a transport channel (which enables BCH transport channel coding), as one of the PN sequences or as a binary scalar or vector

CCTrCHOptional

Structure

See CCTrCH Substructure.

SCCPCH Substructure

Include the SCCPCH substructure in the config structure to add the secondary common control physical channel to the output structure. The SCCPCH substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

EnableRequired'On', or 'Off'

Enable or disable the channel

SlotFormatRequired

Scalar integer from 0 to 17

S-CCPCH slot format number

SpreadingCodeRequired

Scalar integer from 0 to 255

Valid range depends on slot format

S-CCPCH spreading code

SecondaryScramblingCodeRequired

Scalar integer from 0 to 15

S-CCPCH secondary scrambling code index

TimingOffsetRequired

Scalar integer from0 to 149

The timing offset in terms of the number of chips (x256Tchip)

PowerRequiredFloat (-inf to +inf)

S-CCPCH power in dB

TFCIRequired

Scalar integer from 0 to 1023

Transport format combination indicator

DataSourceRequired

Scalar, vector, character vector, or cell array

When defined as a cell array use standard PN sequences and a seed value: {PN, seed}

PN options for character vector, or cell array include: 'PN9-ITU', 'PN9', 'PN11', 'PN15', 'PN23'.

If no seed is specified, the shift register is initialized with all ones.

Using Transport channel:

'CCTrCH'

S-CCPCH data source. The data source can be defined as a transport channel (which enables PCH/FACH transport channel coding), as one of the PN sequences, or as a binary scalar or vector.

CCTrCHOptional

Structure

See CCTrCH Substructure.

PCPICH Substructure

Include the PCPICH substructure in the config structure to add the primary common pilot channel to the output structure. The PCPICH substructure contains the following fields.

Parameter Field

Required or Optional

Values / Ranges / Notes

Description

EnableRequired'On', or 'Off'

Enable or disable the channel

PowerRequired

Float (-inf to +inf)

P-CPICH power in dB

SCPICH Substructure

Include the SCPICH substructure in the config structure to add the secondary common pilot channel to the output structure. The SCPICH substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

EnableRequired'On', or 'Off'

Enable or disable the channel

SpreadingCodeRequired

Scalar integer from 0 to 255

S-CPICH spreading code

SecondaryScramblingCodeRequired

Scalar integer from 0 to 15

S-CPICH secondary scrambling code index

PowerRequired

Float (-inf to +inf)

S-CPICH power in dB

PSCH Substructure

Include the PSCH substructure in the config structure to add the physical shared channel to the output structure. The PSCH substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

EnableRequired'On', or 'Off'

Enable or disable the channel

PowerRequiredFloat (-inf to +inf)

P-SCH power in dB

SSCH Substructure

Include the SSCH substructure in the config structure to add the secondary synchronization channel to the output structure. The SSCH substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

EnableRequired'On', or 'Off'

Eable or disable the channel

PowerRequired

Float (-inf to +inf)

S-SCH power in dB

PICH Substructure

Include the PICH substructure in the config structure to add the page indicator channel to the output structure. The PICH substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

EnableRequired'On', or 'Off'

Enable or disable the channel

SpreadingCodeRequired

Scalar integer from 0 to 255

PICH spreading code

TimingOffsetRequired

Scalar integer from 0 to 149

The timing offset in terms of the number of chips (x256Tchip)

PowerRequired

Float (-inf to +inf)

PICH power in dB

DataSourceRequired

Scalar, vector, character vector, or cell array

When defined as a cell array use standard PN sequences and a seed value: {PN, seed}

PN options for character vector, or cell array include: 'PN9-ITU', 'PN9', 'PN11', 'PN15', 'PN23'.

If no seed is specified, the shift register is initialized with all ones.

Using paging data: 'PagingData'

PICH data source. The data source can be defined as paging data, as one of the PN sequences or as a binary scalar or vector.

NpRequired

Scalar integer (18, 36, 72, 144)

Number of paging indicators per frame

HSDPA Substructure

Include the HSDPA substructure in the config structure to add high-speed downlink protocol access information and channels to the output structure. The HSDPA substructure contains the following fields.

Parameter Field

Required or Optional

Values / Ranges / Notes

Description

EnableRequired'On', or 'Off'

Enable or disable the HSDPA channels (HS-PDSCHs and HS-SCCH)

CodeGroupRequired

Scalar integer from 0 to 16

Number of channelization codes used simultaneously for HS-PDSCHs

CodeOffsetRequired

Scalar integer from 0 to 15

Offset to the first channelization code to use for HS-PDSCHs

ModulationRequired'QPSK', '16QAM', or '64QAM'

Specifies symbol modulation

VirtualBufferCapacityRequired

Nonnegative scalar integer

Size of virtual IR buffer

InterTTIDistanceRequired

Scalar integer from 1 to 8

TTI interval in ms

NHARQProcessesRequired

Scalar integer from 1 to 8

Total number of HARQ Processes

XrvSequenceRequired

Scalar integer from 0 to 7

Redundancy and constellation version coding sequence

UEIdRequired

Scalar integer from 0 to 65535

UE identifier

TransportBlockSizeIdRequired

Scalar integer from 0 to 63

Transport block size ID

HSSCCHSpreadingCodeRequired

Scalar integer from 0 to 127

HS-SCCH spreading code

SecondaryScramblingCodeRequired

Scalar integer from 0 to 15

Secondary scrambling code index for HS-PDSCH and HS-SCCH channels

HSPDSCHPowerRequired

Float (-inf to +inf)

HS-PDSCH power in dB

HSSCCHPowerRequired

Float (-inf to +inf)

HS-SCCH power in dB

DataSourceRequired

Scalar, vector, character vector, or cell array

When defined as a cell array use standard PN sequences and a seed value: {PN, seed}

PN options for character vector, or cell array include: 'PN9-ITU', 'PN9', 'PN11', 'PN15', 'PN23'.

If no seed is specified, the shift register is initialized with all ones.

Using transport channel: 'HSDSCH'

HSDPA data source. The data source can be defined as a transport channel (enables HS-DSCH transport channel coding), as one of the PN sequences, or as a binary scalar or vector

HSDSCHOptional

Not present or a structure

 
The following fields are required only if the HSDSCH substructure is present.
  HSDSCH.BlockSizeRequired

Nonnegative scalar integer

Transport block size

  HSDSCH.DataSourceRequired

Scalar, vector, character vector, or cell array

When defined as a cell array use standard PN sequences and a seed value: {PN, seed}

PN options for character vector, or cell array include: 'PN9-ITU', 'PN9', 'PN11', 'PN15', 'PN23'.

If no seed is specified, the shift register is initialized with all ones.

HSDSCH transport data source. The data source can be defined either as one of the standard PN sequences or as a binary scalar or vector.

OCNS Substructure

Include the OCNS substructure in the config structure to add orthogonal channel noise source information to the output structure. The OCNS substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

EnableRequired'On', or 'Off'

Enable or disable the channel

PowerRequiredFloat (-inf to +inf)

OCNS overall power in dB

OCNSTypeRequiredFor RMCs and H-Sets:

'RMC_16DPCH', 'H-Set_6DPCH', 'H-Set_4DPCH'

For Test Model DPCH and HS-PDSCH/HS-SCCH sets:

'TM1_4DPCH', 'TM1_8DPCH', 'TM1_16DPCH', 'TM1_32DPCH', 'TM1_64DPCH', 'TM2_3DPCH', 'TM3_4DPCH', 'TM3_8DPCH', 'TM3_16DPCH', 'TM3_32DPCH', 'TM5_4DPCH_4HSPDSCH', 'TM5_6DPCH_2HSPDSCH', 'TM5_14DPCH_4HSPDSCH', 'TM5_30DPCH_8HSPDSCH', 'TM6_4DPCH_4HSPDSCH', 'TM6_30DPCH_8HSPDSCH'.

If OCNS is enabled, OCNSType specifies which OCNS configuration to use.

The OCNS substructure and OCNSType field are used to generate
  • DPCHs, defined as OCNS channels in TS 25.101

  • DPCHs, HS-PDSCHs, and HS-SCCHs, defined for test models in TS 25.141, Section 6

For test model generation, set the corresponding channel configuration Enable field to 'Off'.

Output Arguments

collapse all

Modulated baseband waveform containing the UMTS physical channels, returned as a complex vector array, sampled at (3.84 × config.OversamplingRatio) MHz.

Data Types: double
Complex Number Support: Yes

References

[1] 3GPP TS 25.101. “User Equipment (UE) Radio Transmission and Reception (FDD).” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network. URL: http://www.3gpp.org.

[2] 3GPP TS 25.141. “Base Station (BS) conformance testing (FDD).” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network. URL: http://www.3gpp.org.

Introduced in R2015a

Was this topic helpful?