# Documentation

### This is machine translation

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

## Syntax

``config = umtsUplinkReferenceChannels(rc)``

## Description

example

````config = umtsUplinkReferenceChannels(rc)` returns a structure containing the configuration parameters for the UMTS uplink reference channel defined by `rc`. The output structure, `config`, contains the configuration parameters required by `umtsUplinkWaveformGenerator` to generate an uplink reference channel waveform. `umtsUplinkReferenceChannels` uses, `rc`, to initialize a configuration data structure that is compliant with one of the reference channels defined in the following 3GPP standards:Uplink RMC configurations are defined in TS 25.101, Annex A.2 [1].Uplink E-DPDCH FRC configurations are as defined in TS 25.141, Annex 10 [2].```

## Examples

collapse all

Initialize a `'RMC12.2kbps'` reference channel.

Generate the configuration structure, `config`.

```rc = 'RMC12.2kbps'; config = umtsUplinkReferenceChannels(rc); ```

The output from `umtsUplinkReferenceChannels` provides the input required to generate the desired UMTS waveform corresponding to these settings.

Examine the `DPDCH` field in `config`. This field uses a nested structure to define this physical channel for the `'RMC12.2kbps'` reference channel.

```config config.DPDCH config.DPDCH.CCTrCH config.DPDCH.CCTrCH.TrCH(1) config.DPDCH.CCTrCH.TrCH(1).DynamicPart config.DPDCH.CCTrCH.TrCH(2) config.DPDCH.CCTrCH.TrCH(2).DynamicPart ```
```config = struct with fields: TotFrames: 1 ScramblingCode: 1 FilterType: 'RRC' OversamplingRatio: 4 NormalizedPower: 'Off' DPDCH: [1x1 struct] DPCCH: [1x1 struct] HSUPA: [1x1 struct] HSDPCCH: [1x1 struct] ans = struct with fields: Enable: 'On' SlotFormat: 2 CodeCombination: 64 Power: 0 DataSource: 'CCTrCH' CCTrCH: [1x1 struct] ans = struct with fields: Name: 'DCH' TrCH: [1x2 struct] ans = struct with fields: Name: 'DTCH' CRC: '16' CodingType: 'conv3' RMA: 256 TTI: 20 DataSource: 'PN9-ITU' ActiveDynamicPart: 1 DynamicPart: [1x1 struct] ans = struct with fields: BlockSize: 244 BlockSetSize: 244 ans = struct with fields: Name: 'DCCH' CRC: '12' CodingType: 'conv3' RMA: 256 TTI: 40 DataSource: 'PN9-ITU' ActiveDynamicPart: 1 DynamicPart: [1x1 struct] ans = struct with fields: BlockSize: 100 BlockSetSize: 100 ```

## Input Arguments

collapse all

Reference channel, specified as a character vector that identifies which RMC or E-DPDCH FRC to configure.

Parameter FieldRequired or OptionalValuesDescription
`rc`Required

Reference measurement channels:

`'RMC12.2kbps'`, `'RMC64kbps'`, `'RMC144kbps'`, `'RMC384kbps'`

Reference channel identifying the W-CDMA uplink RMC configuration set-up as defined in TS 25.101, Annex A.2 [1].

E-DPDCH Fixed Reference Channels:

`'FRC1'`, `'FRC2'`, `'FRC3'`, `'FRC4'`, `'FRC5'`, `'FRC6'`, ` 'FRC7'`, `'FRC8'`

Reference channel identifying the E-DPDCH FRC configuration as defined in TS 25.141, Annex A.10 [2].

### Note

Additional standards-based reference channels can be configured by executing `lteUplinkReferenceChannels` and then adjusting parameters to match configurations defined in TS 25.141 [2]. For example:

• To generate the HS-DPCCH RMC, use` 'RMC12.2kbps'` and set `HSDPCCH.Enable = 'On'`.

• To generate the 12.2 kbps RMC defined in TS 25.141 [2], use ` 'RMC12.2kbps'`. Using this value the function initializes `config` to generate the TS 25.101 [1] 12.2 kbps RMC). After `config` is generated, adjust the DPDCH and DPCCH parameters to align with the settings in TS 25.141 [2].

## Output Arguments

collapse all

#### Top-Level Parameters and Substructures

Definition of the channels included for the waveform generator, returned as a structure.

Parameter Field

Required or Optional

Values

Description

`TotFrames`Required

Positive scalar integer

Total number of frames to be generated

`ScramblingCode`Required

Scalar integer

`$0-\left({2}^{24}-1\right)$`

Scrambling code index used by UE

`FilterType`Required`'RRC'`, or `'Off'`

Enable the RRC filter

`OversamplingRatio`Required

Positive scalar integer

Oversampling ratio

`NormalizedPower`Required

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

Overall waveform power in dBW relative to 1 ohm

`DPDCH`Optional

Not present or single structure

See DPDCH Substructure.
`DPCCH`Optional

Not present or single structure

See DPCCH Substructure.
`HSUPA`Optional

Not present or single structure

See HSUPA Substructure.
`HSDPCCH`Optional

Not present or single structure

See HSDPCCH Substructure.

#### DPDCH Substructure

Include the `DPDCH` substructure in the `config` structure to add the dedicated physical data channel to the output structure. The `DPDCH` substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

`Enable`Required`'On'`, or `'Off'`

Enable or disable the channel

`SlotFormat`Required

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

DPDCH slot format number

`CodeCombination`Required

Scalar integer or vector (256, 128, 64, 32, 16, 8, 4)

Scalar or vector of valid spreading factors

`Power`Required

Float (-inf to +inf)

Channel power in dB

`DataSource`Required

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

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

`CCTrCH`Optional

Structure

See CCTrCH Substructure.

#### CCTrCH Substructure

The `CCTrCH` substructure is associated with the DPDCH physical channel definition substructures. The `CCTrCH` substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

`Name`Optional

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.

`TrCH`Required

Structure or structure array

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

`TrCH.Name`Required

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.CRC`Required

Character vector

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

Specifies the CRC polynomial

`TrCH.TTI`Required

Scalar integer (10, 20, 40, 80)

Transmission Time Interval (TTI) in ms

`TrCH.CodingType`Required

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

Specifies channel coding type and rate

`TrCH.RMA`Required

Scalar integer from 1 to 256

Rate matching attribute value

`TrCH.DataSource`Required

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.ActiveDynamicPart`Required

Scalar integer in the range from 1 to `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.DynamicPart`Required

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.BlockSize`Required

Positive scalar integer

Transport block length

`TrCH.DynamicPart.BlockSetSize`Required

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`.

#### DPCCH Substructure

Include the `DPCCH` substructure in the `config` structure to add the dedicated physical control channel to the output structure. The `DPCCH` substructure contains the following fields.

Parameter Field

Required or Optional

Values / Ranges / Notes

Description

`Enable`Required`'On'`, or `'Off'`

Enable or disable the channel

`SlotFormat`Required

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

DPCCH slot format number

`Power`Required

Float (-inf to +inf)

DPCCH power in dB

`TPCData`Required

0 or 1

Scalar or vector of transmit power control data

`TFCI`Required

Scalar integer from 0 to 1023

Transport format combination indicator

`FBIData`Required

0 or 1

Scalar or vector of feedback information data

#### HSUPA Substructure

Include the `HSUPA` substructure in the `config` structure to add the high speed uplink packet access information and channels to the output structure. The `HSUPA` substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

`Enable`Required`'On'`, or `'Off'`

Enable or disable the channel

`CodeCombination`Required

Scalar integer from 2 to 256

Valid one-code combination: 256, 128, 64, 32, 16, 8, 4 for BPSK modulation

Valid two-code combinations: [4 4], [2 2] for BPSK modulation

Valid four-code combinations: [2 2 4 4] for BPSK and 4PAM modulation

`EDPDCHPower`Required

Float (-inf to +inf)

E-DPDCH channel power in dB

`EDPCCHPower`Required

Float (-inf to +inf)

E-DPCCH channel power in dB

`RSNSequence`Required

Scalar integer (0, 1, 2 ,3)

Vector of retransmission sequence numbers. The length of this vector determines the number of retransmissions.

`ETFCI`Required

Scalar integer from 0 to 127

E-TFCI value

`HappyBit`Required

0 or 1

Happy bit

`DataSource`Required

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:

`'EDCH'`

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

`EDCH`Required

Single structure

`EDCH.BlockSize`Required

Nonnegative scalar integer

Transport block size

`EDCH.TTI`Required

Scalar integer (2 or 10)

Transmission Time Interval (TTI) in ms

`EDCH.Modulation`Required`'BPSK'` or `'4PAM'`

Specifyies the modulation scheme

`EDCH.DataSource`Required

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.

E-DCH transport data source. The data source can be defined as one of the PN sequences or as a binary scalar or vector.

#### HSDPCCH Substructure

Include `HSDPCCH` substructure in `config` structure to add the high speed dedicated physical control channel to the output structure. The `HSDPCCH` substructure contains the following fields.

Parameter Field

Required or Optional

Values

Description

`Enable`Required`'On'`, or `'Off'`

Enable or disable the channel

`Power`Required

Float (-inf to +inf)

HS-DPCCH channel power in dB

`CQI`Required

Scalar integer or vector from 0 to 30

CQI values

`HARQACK`Required

Scalar integer or vector (0, 1, 2, 3)

HARQACK messages

`UEMIMO`Required

0 or 1

Flag to indicate MIMO mode

## 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.