WCDMA3G_TrCHDeMux
Description: Transport channel de-multiplexing
Library: 3GPPFDD 10-99, Transport Channel Multiplex
Class: SDFWCDMA3G_TrCHDeMux
Parameters
Name | Description | Default | Type | Range |
---|---|---|---|---|
LinkDir | link direction: Downlink, Uplink | Downlink | enum | |
TrCHPosInCCTrCH | type of transport channel position in one frame of CCTrCH: Fixed, Flexible | Fixed | enum | |
PhyCHNum | number of physical channels that CCTrCH is mapped to | 1 | int | [1, ∞) |
DL_PhyCHType | downlink physical channel type: DPCH_15kbps_TF0_T2_P4, DPCH_15kbps_TF2_T2_P4, DPCH_30kbps_TF0_T2_P2, DPCH_30kbps_TF2_T2_P2, DPCH_30kbps_TF0_T2_P4, DPCH_30kbps_TF2_T2_P4, DPCH_30kbps_TF0_T2_P8, DPCH_30kbps_TF2_T2_P8, DPCH_60kbps_TF0_T2_P4, DPCH_60kbps_TF2_T2_P4, DPCH_60kbps_TF0_T2_P8, DPCH_60kbps_TF2_T2_P8, DPCH_120kbps_TF8_T4_P8, DPCH_120kbps_TF0_T4_P8, DPCH_240kbps_TF8_T4_P8, DPCH_240kbps_TF0_T4_P8, DPCH_480kbps_TF8_T8_P16, DPCH_480kbps_TF0_T8_P16, DPCH_960kbps_TF8_T8_P16, DPCH_960kbps_TF0_T8_P16, DPCH_1920kbps_TF8_T8_P16, DPCH_1920kbps_TF0_T8_P16, PCCPCH | DPCH_30kbps_TF2_T2_P8 | enum | † |
UL_DPDCHType | uplink dedicated physical data channel type: DPDCH_15kbps, DPDCH_30kbps, DPDCH_60kbps, DPDCH_120kbps, DPDCH_240kbps, DPDCH_480kbps, DPDCH_960kbps, BCH_11_1_kbps, BCH_12_3_kbps | DPDCH_30kbps | enum | |
TrCHNum | number of transport channels to be multiplexed | 1 | int | [1, ∞) |
TrCHType | dedicated channel type: Dedicated Channel, Dedicated Measurement Channel, Broadcast Channel | Dedicated Channel | enum | |
RM | semi-static rate matching attribute for all transport channels | 1 | real array | |
OptimisticTrCHSizes | set of transport channel frame sizes for flexible downlink transport channel positions | 0 | real array | |
† where TF n = number of transmit format indicator bits T n = number of transmit power control bits P n = number of pilot bits F n = number of feedback indicator bits |
Pin Inputs
Pin |
Name |
Description |
Signal Type |
---|---|---|---|
1 |
TFMax |
maximum TF of each transport channel |
int |
2 |
in |
data of one CCTrCH frame to be de-multiplexed |
real |
3 |
TFCI |
received transport format combination indicator |
int |
Pin Outputs
Pin |
Name |
Description |
Signal Type |
---|---|---|---|
4 |
out |
data of each transport channel after de-multiplexing |
multiple real |
5 |
outSize |
data size of each transport channel after de-multiplexing |
multiple int |
Notes/Equations
- This model is used to de-multiplex radio frames of all transport channels from one coded composite transport channel (CCTrCH). It also punctures discontinuous transmission indicators with flexible transport channel positions in downlinks.
Each firing, Mp × Np tokens of each out signal and one token of each outSize signal are produced when Nt tokens of TFMax, Mp × Np tokens of in and one token of TFCI are consumed. Refer to the following table for the values of Mp. - DL_PhyCHType is valid only when LinkDir = Downlink; UL_DPDCHType is valid only when LinkDir = Uplink. When DL_PhyCHType = PCCPCH, set PhyCHNum and TrCHNum to 1.
Value of Mp
Physical Channel Type Bits per Frame (Mp) DL_PhyCHType DPCH_15kbps_TF0_T2_P4 60 DPCH_15kbps_TF2_T2_P4 30 DPCH_30kbps_TF0_T2_P2 240 DPCH_30kbps_TF2_T2_P2 210 DPCH_30kbps_TF0_T2_P4 210 DPCH_30kbps_TF2_T2_P4 180 DPCH_30kbps_TF0_T2_P8 150 DPCH_30kbps_TF2_T2_P8 120 DPCH_60kbps_TF0_T2_P4 510 DPCH_60kbps_TF2_T2_P4 480 DPCH_60kbps_TF0_T2_P8 450 DPCH_60kbps_TF2_T2_P8 420 DPCH_120kbps_TF8_T4_P8 900 DPCH_120kbps_TF0_T4_P8 900 DPCH_240kbps_TF8_T4_P8 2100 DPCH_240kbps_TF0_T4_P8 2100 DPCH_480kbps_TF8_T8_P16 4320 DPCH_480kbps_TF0_T8_P16 4320 DPCH_960kbps_TF8_T8_P16 9120 DPCH_960kbps_TF0_T8_P16 9120 DPCH_1920kbps_TF8_T8_P16 18720 DPCH_1920kbps_TF0_T8_P16 18720 PCCPCH 270 UL_DPDCHType DPDCH_15kbps 150 DPDCH_30kbps 300 DPDCH_60kbps 600 DPDCH_120kbps 1200 DPDCH_240kbps 2400 DPDCH_480kbps 4800 DPDCH_960kbps 9600 Transport Channel Data Sizes
TrCHType TF TTI Downlink Data Size Uplink Data Size DCH_8_kbps 0 10 ms 96 312 1 20 ms 176 276 2 40 ms 336 258 3 80 ms 656 252 DCH_16_kbps 4 10 ms 368 552 5 20 ms 688 516 6 40 ms 1344 504 7 80 ms 2640 495 DCH_32_kbps 8 10 ms 688 1032 9 20 ms 1344 1008 10 40 ms 2640 990 11 80 ms 5256 986 DCH_64_kbps 12 10 ms 1980 1980 13 20 ms 3900 1950 14 40 ms 7740 1935 15 80 ms 15432 1929 DCH_128_kbps 16 10 ms 3900 3900 17 20 ms 7740 3870 18 40 ms 15432 3858 19 80 ms 30807 3851 DCH_256_kbps 20 10 ms 7740 7740 21 20 ms 15432 7716 22 40 ms 30807 7702 23 80 ms 61560 7695 DCH_512_kbps 24 10 ms 15432 15432 25 20 ms 30807 15404 26 40 ms 61560 15390 27 80 ms 123039 15380 DMCH_2_4_kbps 2 40 ms 360 105 DMCH_12_2_kbps 5 20 ms 804 495 DMCH_64_kbps 9 20 ms 3900 2295 DMCH_144_kbps 13 20 ms 8700 4700 DMCH_384_kbps 17 20 ms 23112 9525 DMCH_2048_kbps 21 20 ms 57510 BCH_11_1_kbps 0 10 ms 270 BCH_12_3_kbps 5 20 ms 540 - Model functions
This model calculates the data size of each transport channel in one frame of CCTrCH (determined in WCDMA3G_CCTrCHRMatch) and gets each transport channel data from it. The calculations used in this model are the same as, and the following notations are consistent with, WCDMA3G_CCTrCHRMatch.
Function RMatch_deltasize( ) is used to calculate the rate matching parameters deltasize Δ Nij saved in the deltaSizeP array. There are TrCHNum (equal to Nt) transport channels which RM values are saved in the RMP array. The sizes of all transport channels Nij are stored in the TrCHFrameSizeP array. All these transport channels will be rate matched into one frame of CCTrCH with a size of CCTrCHSize that is equal to Mp × Np.Nij for uplink, number of bits in a radio frame before rate matching on transport channel i with transport format combination j; for downlink, an intermediate calculation variable.
NilTTI(used in downlink only) number of bits in a transmission time interval before rate matching on transport channel i with transport format l.
ΔNij for uplink, if positive, number of bits to be repeated in each radio frame on transport channel i with transport format combination j;
for uplink, if negative, number of bits to be punctured in each radio frame on transport channel i with transport format combination j.
for downlink, an intermediate calculation variable.
ΔNilTTI (used in downlink only) if positive, number of bits to be repeated in each transmission time interval on transport channel i with transport format l; if negative, number of bits to be punctured in each transmission time interval on transport channel i with transport format l.
RMi semi-static rate matching attribute for transport channel i; signalled from higher layers.
Ndata,j total number of bits available for the CCTrCH in a radio frame with transport format combination j.
Zij intermediate calculation variable.
Fi no. of radio frames in transmission time interval of transport channel i.
ni radio frame number in transmission time interval of transport channel i (0 ≤ ni ≤ Fi ).
TFi(j) transport format of transport channel i for transport format combination j.
TFS(i) set of transport format indices l for transport channel i.
TFCS set of transport format combination indices j.
round towards +∞, that is, integer such that
round towards -∞, that is, integer such that
absolute value of x
The o notation is used to replace an index x when the indexed variable Xx does not depend on the index x. In the left wing of an assignment the meaning is that "Xo =Y" is equivalent to "for all x do Xx =Y".- Downlink
One CCTrCH frame size Ndata,j does not depend on the transport format combination j and is equal to Mp × Np. It is denoted as Ndata,*. All transport channel data in 10 ms are serially placed in one frame of CCTrCH. For flexible positions of transport channels, there may be some DTX indications at the end of one frame of CCTrCH. - Uplink
One CCTrCH frame size Ndata,j is equal to Mp × Np. M and Np are determined by WCDMA3G_UpLkAllocDPCH. Each transport channel data after rate matching is serially placed in one frame of CCTrCH and all transport channel data fills it completely.
From input TFCI, TF values of all Nt transport channels can be obtained. The maximum data size of each transport channel is determined by its maximum TF value from input TFMax. The previous table list TF values. RMi is obtained from RM. After de-multiplexing, the data size of each transport channel in 10 ms is output at outSize.
RMatch_deltasize (TrCHFrameSizeP, deltaSizeP, RMP, TrCHNum, CCTrCHSize)
for each
end fordo
end for
for each
do tmpSum += RMP[i] * TrCHFrameSizeP[i]
- Downlink
- Computation of transport channel data size in downlink
One BCH is mapped to one PCCPCH. From the previous tables, one frame data size of BCH is equal to that of PCCPCH. So for BCH, there are no transport channel multiplexing and rate matching; input data is directly output.
Function DnLk_TrCHDemux( ) is used to calculate the data size of each transport channel saved in the array TrCHSizeP in downlink.The current data size of each transport channel NilTTI is based on its TF and TTI values as shown in the previous table. The maximum data size of each transport channel i for downlink is determined by its maximum TF value from input TFMax according to the previous table. is derived from function RMatch_deltasize( ).
DnLk_TrCHDemux( TFMax, NilTTI,TrCHSizeP)
if for fixed positions of transport channels
else // for flexible positions of transport channelsthen
// an intermediate calculation variable Ni,o, determined by TFMax and Fi
Δ Ni,o is calculated by calling function RMatch_deltasize( ) which input parameter TrCHFrameSizeP is based on Ni,o.
// For each transport channel i
end for
// an intermediate calculation variable Nij is calculated.
if the parameter OptimisticTrCHSizes is valid and used
then Ni,j, i = 1, ..., Nt, can be obtained by OptimisticTrCHSizes.
These meet the following condition: .
else // parameter OptimisticTrCHSizes is not valid and not used
Ni,j =
end if
// rate matching ratios RFi are calculated for each transport channel i.
// tentative temporary values of Δ Ni,lTTI for all transport channel i and any of its transport format l are calculated
// Temporary values of Δ Ni,lTTI are checked and corrected
for all j in TFCS
if D > Ndata, o
then for i = 1 to Nt
ΔNi,j is calculated by calling function RMatch_deltasize( ) (parameter TrCHFrameSizeP is based on Nij.
ΔN = Fi * ΔNi,j
if then
end if
end ifend if
end for
// for each transport channel i
- Calculation of transport channel data size in uplink
Ndata,j = Mp × Np; Nij can be obtained according to the TF value of transport channel i. Using the function RMatch_deltasize( ), the data size of transport channel i is (Δ Nij + Nij).
References
- 3GPP Technical Specification TS 25.212 V3.0.0, "Multiplexing and channel coding (FDD)," October 1999.