Define cdma2000 reverse reference channel
returns
a structure, cfg = cdma2000ReverseReferenceChannels(wv)cfg, that defines the cdma2000® reverse link parameters given
the input waveform identifier, wv. Pass the structure
to the cdma2000ReverseWaveformGenerator function
to generate a reverse link reference channel waveform.
For all syntaxes, cdma2000ReverseReferenceChannels creates
a configuration structure that is compliant with the physical layer
specification for cdma2000 systems described in [1].
returns cfg = cdma2000ReverseReferenceChannels(traffic,numchips,R-SCH-SPEC)cfg for
the specified traffic channel, traffic, and the
reverse supplemental channel (R-SCH) and frame length combination, R-SCH-SPEC.
Generate the structure corresponding to the reverse common control channel (R-CCCH) having a 19,200 bps data rate and 10 ms frames.
config = cdma2000ReverseReferenceChannels('R-CCCH-19200-10');Verify that the R-CCCH substructure is configured for the correct data rate and frame duration.
config.RCCCH
ans = struct with fields:
Enable: 'On'
Power: 0
LongCodeMask: 0
EnableCoding: 'On'
DataSource: {'PN9' [1]}
DataRate: 19200
FrameLength: 10
WalshCode: 1
Generate the reverse channel waveform using the corresponding waveform generator function, cdma2000ReverseWaveformGenerator.
wv = cdma2000ReverseWaveformGenerator(config);
Create a configuration structure to generate all possible channels associated with radio configuration 1 in which the number of chips is specified as 2500.
config = cdma2000ReverseReferenceChannels('ALL-RC1',2500)config = struct with fields:
RadioConfiguration: 'RC1'
PowerNormalization: 'Off'
OversamplingRatio: 4
FilterType: 'cdma2000Long'
InvertQ: 'Off'
EnableModulation: 'Off'
ModulationFrequency: 0
NumChips: 2500
RFCH: [1x1 struct]
RACH: [1x1 struct]
RSCCH: [1x1 struct]
The structure contains substructures corresponding to the R-FCH, R-ACH, and R-SCCH channels.
Call the function again using radio configuration 6.
config = cdma2000ReverseReferenceChannels('ALL-RC6',2500)config = struct with fields:
RadioConfiguration: 'RC6'
PowerNormalization: 'Off'
OversamplingRatio: 4
FilterType: 'cdma2000Long'
InvertQ: 'Off'
EnableModulation: 'Off'
ModulationFrequency: 0
NumChips: 2500
RFCH: [1x1 struct]
RPICH: [1x1 struct]
REACH: [1x1 struct]
RCCCH: [1x1 struct]
RDCCH: [1x1 struct]
RSCH1: [1x1 struct]
RSCH2: [1x1 struct]
The channels supported by RC6 differ from those supported by RC1. They include R-FCH, R-PICH, R-EACH, R-CCCH, R-DCCH, R-SCH1, and R-SCH2.
Create the waveform corresponding to the set of RC6 channels.
wv = cdma2000ReverseWaveformGenerator(config);
Create a configuration structure using radio configuration 3 with a reverse fundamental channel (R-FCH). Specify a 2700 bps data rate and a reverse supplemental channel (R-SCH) having a 76,800 bps data rate and an 80 ms frame length.
config = cdma2000ReverseReferenceChannels('TRAFFIC-RC3-2700',2000, ... 'R-SCH-76800-80');
Verify that the R-FCH data rate is 2700 bps and the first R-SCH data rate is 76,800 bps with an 80 ms frame length.
config.RFCH.DataRate
ans = 2700
config.RSCH1.DataRate
ans = 76800
config.RSCH1.FrameLength
ans = 80
Generate the corresponding waveform.
wv = cdma2000ReverseWaveformGenerator(config);
wv — Waveform identificationWaveform identification of the reference channel, specified
as a character vector. The input typically identifies the channel
type, radio configuration, data rate, and frame length. To specify wv,
connect the substrings with hyphens, for example, 'TRAFFIC-RC2-3600'.
| Parameter Field | Values | Description | ||
|---|---|---|---|---|
| Substring 1 | Substring 2 | Substring 3 | ||
wv | 'R-PICH-ONLY' | Generates a waveform containing a pilot channel only. | ||
'R-CCCH' | 9600 | 20 | Character vector representing the Reverse
Common Control Channel (R-CCCH) data rate in bps and the frame length
in ms. Specify | |
19200 | 10 | 20 | |||
38400 | 5 | 10 | 20 | |||
'TRAFFIC' | RC1 | 1200 | 2400 | 4800 | 9600 | Character vector representing the radio
configuration and the Reverse Fundamental Channel (R-FCH) data rate
in bps. Specify | |
RC2 | RC4 | RC6 | 1800 | 3600 | 7200 | 14400 | |||
RC3 | RC5 | RC6 | 1500 | 2700 | 4800 | 9600 | |||
'R-EACH' | 9600 | 20 | Reverse Enhanced Access Channel waveforms.
Specify | |
19200 | 10 | 20 | |||
38400 | 5 | 10 | 20 | |||
'R-PICH-R-FCH' | Specify tests for the mobile transmitter in accordance with [2]. | |||
'ALL' | RC1 | RC2 | RC3 | RC4 | RC5 | RC6 | N/A | Returns all channels that are supported for the specified
radio configuration. Specify | |
Example: 'R-CCCH-9600-20' is a R-CCH channel
having a 9600 bps data rate and a 20 ms frame length.
Example: 'R-EACH-38400-5' is a R-EACH channel
having a 38,400 bps data rate and a 5 ms frame length.
Data Types: char
numchips — Number of chips1000 (default) | positive integer scalarNumber of chips, specified as a positive integer.
Example: 2048
Data Types: double
traffic — Traffic configurationTraffic channel configuration, specified as a character vector. The table shows the valid configurations.
| Radio Configuration | Traffic Channel Configuration | |||
|---|---|---|---|---|
| 1 | 'TRAFFIC-RC1-1200' | 'TRAFFIC-RC1-2400' | 'TRAFFIC-RC1-4800' | 'TRAFFIC-RC1-9600' |
| 2 | 'TRAFFIC-RC2-1800' | 'TRAFFIC-RC2-3600' | 'TRAFFIC-RC2-7200' | 'TRAFFIC-RC2-14400' |
| 3 | 'TRAFFIC-RC3-1500' | 'TRAFFIC-RC3-2700' | 'TRAFFIC-RC3-4800' | 'TRAFFIC-RC3-9600' |
| 4 | 'TRAFFIC-RC4-1800' | 'TRAFFIC-RC4-3600' | 'TRAFFIC-RC4-7200' | 'TRAFFIC-RC4-14400' |
| 5 | 'TRAFFIC-RC5-1500' | 'TRAFFIC-RC5-2700' | 'TRAFFIC-RC5-4800' | 'TRAFFIC-RC5-9600' |
| 6 | 'TRAFFIC-RC6-1800' | 'TRAFFIC-RC6-3600' | 'TRAFFIC-RC6-7200' | 'TRAFFIC-RC6-14400' |
Example: 'TRAFFIC-RC4-1800' is a traffic channel
using radio configuration 4 and having an R-FCH with an 1800 bps data
rate .
Data Types: char
R-SCH-SPEC — Reverse Supplemental Channel data rate and frame lengthSpecify the R-SCH data rate and frame length as a character
vector. If omitted, R-SCH-SPEC defaults to the
lowest R-SCH data rate allowable for a 20 ms frame length given the
radio configuration specified by traffic. The
table summarizes the supported data rate and frame length combinations.
| Radio Configuration | Frame Length | ||
|---|---|---|---|
| 20 ms | 40 ms | 80 ms | |
3 | 5 | 'R-SCH-1500-20' | 'R-SCH-2700-20' | 'R-SCH-4800-20' | 'R-SCH-9600-20' | 'R-SCH-19200-20' | 'R-SCH-38400-20' | 'R-SCH-76800-20' | 'R-SCH-153600-20' | 'R-SCH-307200-20' | 'R-SCH-1350-40' | 'R-SCH-2400-40' | 'R-SCH-4800-40' | 'R-SCH-9600-40' | 'R-SCH-19200-40' | 'R-SCH-38400-40' | 'R-SCH-76800-40'| 'R-SCH-153600-40' | 'R-SCH-1350-80' | 'R-SCH-2400-80' | 'R-SCH-4800-80' | 'R-SCH-9600-80' | 'R-SCH-19200-80' | 'R-SCH-38400-80' | 'R-SCH-76800-80' |
5 | 'R-SCH-614400-20' | 'R-SCH-307200-40' | 'R-SCH-153600-80' |
4 | 6 | 'R-SCH-1800-20' | 'R-SCH-3600-20' | 'R-SCH-7200-20' | 'R-SCH-14400-20' | 'R-SCH-28800-20' | 'R-SCH-57600-20' | 'R-SCH-115200-20' | 'R-SCH-230400-20' | 'R-SCH-1800-40' | 'R-SCH-3600-40' | 'R-SCH-7200-40' | 'R-SCH-14400-40' | 'R-SCH-28800-40' | 'R-SCH-57600-40' | 'R-SCH-115200-40' | 'R-SCH-1800-80' | 'R-SCH-3600-80' | 'R-SCH-7200-80' | 'R-SCH-14400-80' | 'R-SCH-28800-80' | 'R-SCH-57600-80' |
6 | 'R-SCH-460800-20' | 'R-SCH-1036800-20' | 'R-SCH-230400-40' | 'R-SCH-518400-40' | 'R-SCH-115200-80' | 'R-SCH-259200-80' |
Additional data rate information for the cdma2000 reverse links is given in Tables 2.1.3.1.3-1 and 2.1.3.1.3-2 of [1].
Example: 'R-SCH-153600-20' is an R-SCH having
a 153,600 bps data rate and a 20 ms frame length.
Data Types: char
cfg — Configuration of the parameters and channels used by the waveform generatorConfiguration of the parameters and channels used by the waveform generator. The configuration structure is defined in these tables.
Parameter Field | Values | Description |
|---|---|---|
RadioConfiguration | 'RC1' | 'RC2' | 'RC3' | 'RC4' | 'RC5' | 'RC6' | Radio configuration of the reverse channel. The spreading
rate of the waveform is derived from the radio configuration. Spreading
rate 1, SR1, corresponds to a 1.2288 Mcps carrier and is associated
with RC1 through RC4. Spreading rate 3, |
PowerNormalization | 'Off' | 'NormalizeTo0dB' | Power normalization of the waveform |
NumChips | Positive scalar integer | Number of chips in the waveform |
OversamplingRatio | Positive scalar integer | Oversampling ratio at output |
FilterType | 'cdma2000Long' | 'cdma2000Short' | 'Off' | 'Custom' | Type of output filtering |
CustomFilterCoefficients | Real vector | Custom filter coefficients used only when the |
InvertQ | 'Off' | 'On' | Negate the quadrature output |
EnableModulation | 'Off' | 'On' | Enable carrier modulation |
ModulationFrequency | Nonnegative scalar integer | Carrier modulation frequency (applies when |
RPICH | Structure | See RPICH Substructure.
Optional. |
RACH | Structure | See RACH Substructure.
Optional. |
REACH | Structure | See REACH Substructure.
Optional. |
RCCCH | Structure | See RCCCH Substructure.
Optional. |
RDCCH | Structure | See RDCCH Substructure.
Optional. |
RFCH | Structure | See RFCH Substructure.
Optional. |
RSCCH | Structure | See RSCCH Substructure.
Optional. |
RSCH1 | Structure | See RSCH1 Substructure.
Optional. |
RSCH2 | Structure | See RSCH2 Substructure.
Optional. |
Include the RPICH substructure in the cfg structure
to configure the Reverse Pilot Channel (R-PICH). The RPICH substructure
contains the following fields.
Parameter Field | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Enable or disable the channel |
Power | Real scalar | Relative channel power (dB) |
LongCodeMask | 42-bit binary number | Long code identifier |
PowerControlEnable | 'On' | 'Off' | Enable or disable power control subchannel |
PowerControlPower | Real scalar | Power control subchannel power (relative to R-PICH) |
PowerControlDataSource | Cell array, Standard PN sequence options are | Power control subchannel data source |
Include the RACH substructure in the cfg structure
to configure the Reverse Access Channel (R-ACH). The RACH substructure
contains the following fields.
Parameter Field | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Enable or disable the channel |
Power | Real scalar | Relative channel power (dB) |
LongCodeMask | 42-bit binary number | Long code identifier |
EnableCoding | 'On' | 'Off' | Enable or disable channel coding |
DataSource | Cell array: Standard PN types are | Data source. Specify a standard PN sequence with a random number seed or a binary vector. |
Include the REACH substructure in the cfg structure
to configure the Reverse Enhanced Access Channel (R-EACH). The REACH substructure
contains the following fields.
Parameter Field | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Enable or disable the channel |
Power | Real scalar | Relative channel power (dB) |
DataRate |
| Data rate (bps) |
FrameLength | 5 | 10 | 20 | Frame length (ms) |
WalshCode | Nonnegative integer scalar such that 0 ≤ | Walsh code number |
LongCodeMask | 42-bit binary number | Long code identifier |
EnableCoding | 'On' | 'Off' | Enable or disable channel coding |
DataSource | Cell array: Standard PN types are | Data source. Specify a standard PN sequence with a random number seed or a binary vector. |
Include the RCCCH substructure in the cfg structure
to configure the Reverse Common Control Channel (R-CCCH). The RCCCH substructure
contains the following fields.
Parameter Field | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Enable or disable the channel |
Power | Real scalar | Relative channel power (dB) |
DataRate | 9600 | 19200 | 38400 | Data rate (bps) |
FrameLength | 5 | 10 | 20 | Frame length (ms) |
CodingType | 'conv' | 'turbo' | Type of error control coding |
WalshCode | Nonnegative integer scalar such that 0 ≤ | Walsh code number |
LongCodeMask | 42-bit binary number | Long code identifier |
EnableCoding | 'On' | 'Off' | Enable or disable channel coding |
DataSource | Cell array: Standard PN sequence options are | Data source. Specify a standard PN sequence with a random number seed or a custom vector. |
Include the RDCCH substructure in the cfg structure
to configure the Reverse Dedicated Control Channel (R-DCCH). The RDCCH substructure
contains the following fields.
Parameter Field | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Enable or disable the channel |
Power | Real scalar | Relative channel power (dB) |
FrameLength | 5 | 20 | Frame length (ms) |
WalshCode | Nonnegative integer scalar such that 0 ≤ | Walsh code number |
LongCodeMask | 42-bit binary number | Long code identifier |
EnableCoding | 'On' | 'Off' | Enable or disable channel coding |
DataSource | Cell array, Standard PN sequence options are | Data source. Specify a standard PN sequence with a random number seed or a custom vector. |
Include the RFCH substructure in the cfg structure
to configure the Reverse Fundamental Traffic Channel (R-FCH). The RFCH substructure
contains the following fields.
Parameter Field | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Enable or disable the channel |
Power | Real scalar | Relative channel power (dB) |
DataRate | 1200 | 1500 | 1800 | 2400 | 2700 | 3600 | 4800 | 7200 | 9600 | 14400 | Data rate (bps) |
FrameLength | 5 | 10 | 20 | Frame length (ms) |
WalshCode | Nonnegative integer scalar such that 0 ≤ | Walsh code number |
LongCodeMask | 42-bit binary number | Long code identifier |
EnableCoding | 'On' | 'Off' | Enable or disable channel coding |
DataSource | Cell array, Standard PN sequence options are | Data source. Specify a standard PN sequence with a random number seed or a custom vector. |
Include the RSCCH substructure in the cfg structure
to configure the Reverse Supplemental Code Channel (R-SCCH). The RSCCH substructure
contains the following fields.
Parameter Field | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Enable or disable the channel |
Power | Real scalar | Relative channel power (dB) |
LongCodeMask | 42-bit binary number | Long code identifier |
EnableCoding | 'On' | 'Off' | Enable or disable channel coding |
DataSource | Cell array, Standard PN sequence options are | Data source. Specify a standard PN sequence with a random number seed or a custom vector. |
Include the RSCH1 substructure in the cfg structure
to configure the Reverse Supplemental Channel 1 (R-SCH 1). The RSCH1 substructure
contains the following fields.
Parameter Field | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Enable or disable the channel |
Power | Real scalar | Relative channel power (dB) |
DataRate | 1200 | 1350 | 1500 | 1800 | 2400 | 2700 | 3600 | 4800 | 7200 | 9600 | 14400 | 19200 | 28800 | 38400 | 57600 | 76800 | 115200 | 153600 | 230400 | 259200 | 307200 | 460800 | 518400 | 614400 | 1036800 | Data rate (bps) |
FrameLength | 20 | 40 | 80 | Frame length (ms) |
WalshLength | 2 | 4 | Walsh code length |
WalshCode | Nonnegative integer scalar such that 0 ≤ | Walsh code number |
LongCodeMask | 42-bit binary number | Long code identifier |
EnableCoding | 'On' | 'Off' | Enable or disable channel coding |
DataSource | Cell array, Standard PN sequence options are | Data source. Specify a standard PN sequence with a random number seed or a custom vector. |
Include the RSCH2 substructure in the cfg structure
to configure the Reverse Supplemental Channel 2 (R-SCH 2). The RSCH2 substructure
contains the following fields.
Parameter Field | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Enable or disable the channel |
Power | Real scalar | Relative channel power (dB) |
DataRate | 1200 | 1350 | 1500 | 1800 | 2400 | 2700 | 3600 | 4800 | 7200 | 9600 | 14400 | 19200 | 28800 | 38400 | 57600 | 76800 | 115200 | 153600 | 230400 | 259200 | 307200 | 460800 | 518400 | 614400 | 1036800 | Data rate (bps) |
FrameLength | 20 | 40 | 80 | Frame length (ms) |
WalshLength | 4 | 8 | Walsh code length |
WalshCode | Nonnegative integer scalar such that 0 ≤ | Walsh code number |
LongCodeMask | 42-bit binary number | Long code identifier |
EnableCoding | 'On' | 'Off' | Enable or disable channel coding |
DataSource | Cell array, Standard PN sequence options are | Data source. Specify a standard PN sequence with a random number seed or a custom vector. |
Data Types: struct
[1] 3GPP2 C.S0002–F v2.0. “Physical Layer Standard for cdma2000 Spread Spectrum Systems.” 3rd Generation Partnership Project 2.
[2] 3GPP2 C.S0011–E v2.0. “Recommended Minimum Performance Standards for cdma2000 Spread Spectrum Mobile Stations.” 3rd Generation Partnership Project 2.
You have a modified version of this example. Do you want to open this example with your edits?