Documentation

ltePUCCH1

Physical uplink control channel format 1

Syntax

  • [sym,info] = ltePUCCH1(ue,chs,ack)
    example

Description

example

[sym,info] = ltePUCCH1(ue,chs,ack) returns a complex matrix, sym, containing Physical Uplink Control Channel (PUCCH) format 1 symbols and information structure array, info, for UE-specific settings, ue, channel transmission configuration, chs, and vector of hybrid ARQ (HARQ) indicator values, ack. The symbols for each antenna are in the columns of sym, with the number of columns determined by the number of PUCCH resource indices specified in the chs structure.

For shortened transmissions, when ue.Shortened is 1, the second column of info.OrthSeq has a zero in the last row because in this case, the spreading factor for the second slot is 3, rather than 4.

This function can also be used to generate a Scheduling Request (SR) if the configured PUCCH resource indices match indices configured for a Scheduling Request (See TS 36.213 [1], Section 10.1.5).

Examples

collapse all

Generate PUCCH Format 1 Symbols

Generate the physical uplink control channel (PUCCH) format 1 symbols for UE-specific settings.

ue.NCellID = 1;
ue.NSubframe = 0;
chs.ResourceIdx = 0;
pucch1Sym = ltePUCCH1(ue,chs,[]);
Warning: Using default value for parameter field CyclicPrefixUL (Normal) 
Warning: Using default value for parameter field Hopping (Off) 
Warning: Using default value for parameter field DeltaShift (1) 
Warning: Using default value for parameter field CyclicShifts (0) 
Warning: Using default value for parameter field Shortened (0) 

To suppress 'Using default value ...' warnings for LTE parameters, execute lteWarning('off','DefaultValue') in your MATLAB® command window prior to running code or initialize the parameters in your code workspace.

Input Arguments

collapse all

ue — UE-specific settingsstructure

UE-specific configuration settings, specified as a structure that can contain the following fields.

Parameter FieldRequired or OptionalValuesDescription
NCellIDRequired

Nonnegative scalar integer (0,…,503)

Physical layer cell identity

NSubframeRequired

Nonnegative scalar integer

Subframe number

CyclicPrefixULOptional

'Normal' (default), 'Extended'

Cyclic prefix length

HoppingOptional

'Off' (default), or 'Group'

Frequency hopping method

ShortenedOptional

0 (default), 1

Shorten subframe flag. If 1, the last symbol of the subframe is not used. It should be set if the current subframe contains a possible SRS transmission.

Data Types: struct

chs — Channel transmission configurationstructure

PUCCH channel settings, specified as a structure that can contain the following fields.

Parameter FieldRequired or OptionalValuesDescription
ResourceIdxOptional

0 (default), 0 ... 2047, Nonnegative scalar integer.

A vector of PUCCH Resource Indices, one for each transmission antenna, which determine the physical resource blocks, cyclic shift, and orthogonal cover used for transmission (n1_pucch)

DeltaShiftOptional

1 (default), 2, 3

(delta_shift)

DeltaOffsetOptional

0 (default), 1, 2

delta_offset Warning: The use of this parameter field is deprecated. It only applies to 3GPP releases prior to v8.5.0. This parameter will be removed in a future release.

CyclicShiftsOptional

0 (default), 0 ... 7, Nonnegative scalar integer.

Number of cyclic shifts used for Format 1 in resource blocks (RBs) with a mixture of Format 1 and Format 2 PUCCH (N1cs)

ack — Hybrid ARQ indicator values0 (default) | nonnegative integer vector (0, 1, 2)

Hybrid ARQ indicator values, specified as nonnegative integer vector with values of 0, 1, or 2. The corresponding PUCCH transmission is of format 1, 1a, or 1b, respectively. This vector is denoted "block of bits b(0),...,b(Mbit–1)" in TS 36.211 [2], Section 5.4.1. An Mbit value of 0, 1, or 2 corresponds to PUCCH format 1, 1a, or 1b, respectively, as described in TS 36.211 [2], Table 5.4-1.

Example: [0,1,2]

Data Types: double

Output Arguments

collapse all

sym — PUCCH format 1 symbolscomplex numeric column vector

PUCCH format 1 symbols, returned as complex numeric column vector.

Example: 0.7071 + 0.7071i

Data Types: double
Complex Number Support: Yes

info — PUCCH format 1 resource informationstructure array

PUCCH format 1 resource information, returned as a structure array. info is a structure array having the following fields.

Alpha — Reference signal cyclic shift for OFDM symboltwo-column row vector

Reference signal cyclic shift, returned as two-column row vector, for each OFDM symbol.

Data Types: double

SeqGroup — PUCCH base sequence group number for each slottwo-column row vector

PUCCH base sequence group number for each slot, returned as two-column row vector. (u)

Data Types: double

SeqIdx — PUCCH base sequence group number indices two-column row vector

PUCCH base sequence group number indices, returned as two-column row vector, for each slot. (v)

Data Types: double

NResourceIdx — PUCCH resource indices for each slottwo-column row vector

PUCCH resource indices for each slot, returned as a two-column row vector. (n')

Data Types: double

NCellCyclicShift — Cell-specific cyclic shift for each OFDM symbolrow vector

Cell-specific cyclic shift for each OFDM symbol, returned as a row vector. (ncell_cs)

Data Types: double

OrthSeqIdx — Orthogonal sequence index for each slotrow vector

Orthogonal sequence index for each slot, returned as a two-column row vector. (n_oc)

Data Types: double

Symbols — Modulated data symbols for each OFDM symbolrow vector

Modulated data symbols for each OFDM symbol, returned as row vector. (d(0))

Data Types: double

OrthSeq — Orthogonal sequence of each slotnumeric matrix

Orthogonal sequence of each slot, returned as numeric matrix. Each column in the matrix contains the orthogonal sequence (w_n_oc) for each slot.

For shortened transmissions, when ue.Shortened is 1, the second column of info.OrthSeq has a zero in the last row because in this case, the spreading factor for the second slot is 3, rather than 4.

Data Types: double

ScrambSeq — Scrambling valuetwo-column row vector

Scrambling value for each slot (S), returned as two-column row vector.

Data Types: double

References

[1] 3GPP TS 36.213. "Physical layer procedures." 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Evolved Universal Terrestrial Radio Access (E-UTRA). URL: http://www.3gpp.org.

[2] 3GPP TS 36.211. "Physical Channels and Modulation." 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Evolved Universal Terrestrial Radio Access (E-UTRA). URL: http://www.3gpp.org.

Introduced in R2014a

Was this topic helpful?