• 【求助】Logical Channel Group的解释?
    在36.321的5.4.5Buffer Status Reporting中看到对一个Logical Channel Group(LCG)进行buffer status报告,一个LCG里的logical channel 是不是有相同的优先级呢?不同的LCG就象征着不同类型的LC吗??

    我的回复:

    建议你看看36.331里的LogicalChannelConfig信元。eNB在建立一个DRB或者logical channel时,要分配一个优先级(16级)及其所属的LCG(4个)。设置LCG的目的主要是减少BSR报告的粒度,一个LCG内的LC不一定都是相同的优先级,但是理论上应该把优先级接近的LC放在一个group内,这样在由于BSR上报资源不够而只能报告一个LCG的资源需求时(truncated BSR),能保证高优先级的一组LC的资源需求得到及时反映

    http://bbs.itgoal.com/viewthread.php?tid=16581993&extra=page%3D1

  • UE Contention Resolution Identity: This field contains the uplink CCCH SDU

    这个msg 4里携带的contention resolution ID就是msg 3里的CCCH SDU(RRCConnectionRequest, etc),原封不动的反射回去。

    contention ID = 48 bits

    RRCConnectionRequest = S-TMSI or Random(40bits) + cause(8bits)

     

  • 理解HARQ - [LTE MAC层]

    2009-04-29

    HARQ的基本概念、几种类型(Chase Combining,Incremental Redundancy,Partial IR)以及HARQ进程的时序,反馈机制等内容相信大家都很熟悉,但如果仅停留在36.321的层面恐怕还谈不上深入理解HARQ吧。HARQ的发送端buffer内的数据是如何组织的?Redundancy Version如何理解?数据在接收端又是如何合并的?为什么接收端的数据叫Soft Bits,合并叫Soft Combining?这些问题还是要搞个清爽才好。

    从Transport Block到Circular Buffer

    所谓的Circular Buffer就是一个首尾相连环成一圈的一个数据结构,如同一个贪食蛇(如图1所示)。当数据进入这个缓冲区的时候,如果数据尺寸大于缓冲区尺寸,则新数据会覆盖最先进入缓冲区的那些数据;当从这个缓冲区读取数据的时候,如果读取的尺寸大于缓冲区尺寸,则缓冲区头部的那些数据会被重复读取。发送端HARQ进程使用的buffer就是这样的Circular Buffer。

    图1 Circular Buffer

    如果从由逻辑信道经过复用映射后得到的传输信道(Transport Channel)上待发送的数据块(Transport Block)开始,我们来看看数据是如何经过各种变化最终进入HARQ进程的发送buffer吧。 TB先要加一个24bits的CRC,然后TB被分为为合适大小的Code Block,Code Block的尺寸要看接收端soft buffer的大小吧。分段后的Code Block同样加上24bits CRC进入信道编码。

    LTE中大部分信道使用的都是编码速率为1/3的turbo编码,turbo编码的原理暂时不需要理会,我们只用知道经过turbo编码后会得到3个数据流,每个数据流的长度跟code block长度差不多。其中第一个数据流是信息比特流(Information bits,也叫系统比特Systematic Bits);第二个和第三个数据流都是校验比特流(parity bits,也叫冗余比特redundancy bits)。如下图所示。一般信息比特会在HARQ首传中传送,然后在重传中发送冗余比特,仅有冗余比特是不能自解码的,所以接收端必须把重传的冗余比特与首传的信息比特合并解码,这也就是type II的Incremental Redundancy方式。

    图2 Turbo Coder

    上面三路数据流再各自用一个Nrow×32的矩阵交织一下,简单地说就是按矩阵的行填入数据,按一定pattern打乱后再按矩阵的列顺序依次把数据读出来。那么现在各路数据长度从交织前的K变成了Nrow×32,如果K比Nrow×32小怎么办,没关系,在矩阵的最前面填入相应个数的NULL bit。交织矩阵的列数固定为32,行数是可变的。不同的矩阵大小得到的输出数据流长度不同,这也是个速率匹配的过程。
    按我的理解在交织前应该还有一个数据打孔(puncturing)过程,当信道质量好能够适应高编码速率传输的话,我们可以把一些冗余比特puncture掉,从而提高编码速率。或者相反如果信道质量特别差需要降低编码速率的话,可以重复一些冗余比特(repetition)。但这个打孔过程在36.212里并未提及,可能是系统实现相关吧。
    交织完的三路比特流按[X0,X1,…,Xk-1,P10,P11,…,P1k-1,P20,P21,…,P2k-1]的顺序放入HARQ发送端的circular buffer,得到如图3的一个待发送缓冲区。
     
    图3 HARQ Circular Buffer

  • DCI format 0/1 - [LTE MAC层]

    Tag:LTE DCI format

    2009-02-23

    DCI Format 0    
     
    Information type Number of bits on PDCCH Purpose
         
    Flag for format 0 / format 1A differentiation 1 Indicates DCI format to UE
    Hopping flag 1 Indicates whether uplink frequency hopping is used or not
    Resource block assignment and hopping resource allocation Depending on
    resource
    allocation type
    Indicates whether to use type 1 or type 2 frequency hopping and index of starting resource block of uplink resource allocation as well as number of contiguously allocated resource blocks
    Modulation and coding scheme and redundancy version

    5 Indicates modulation scheme and, together with the number of allocated physical resource blocks, the transport block size
    Indicates redundancy version to use
    New data indicator 1 Indicates whether a new transmission shall be sent
    TPC command for scheduled PUSCH
    2 Transmit power control (TPC) command for adapting the  transmit power on the Physical Uplink Shared Channel (PUSCH)
    Cyclic shift for demodulation reference signal 3 Indicates the cyclic shift to use for deriving the uplink demodulation reference signal from the base sequence
    Uplink index (TDD only) 2 Indicates the uplink subframe where the scheduling grant has to be applied
    CQI request 1 Requests the UE to send a channel quality indication (CQI)
     
    DCI Format 1  
     
    Information type Number of bits on PDCCH Purpose
     
    Resource allocation header 1 Indicates whether resource allocation type 0 or 1 is used
    Resource block assignment Depending on resource allocation type Indicates resource blocks to be assigned to the UE
    Modulation and coding scheme 5 Indicates modulation scheme and, together with the number of allocated physical resource blocks, the transport block size
    HARQ process number 3 (TDD), 4 (FDD) Identifies the HARQ process the packet is associated with
    New data indicator  1 Indicates whether the packet is a new transmission or a retransmission
    Redundancy version 2 Identifies the redundancy version used for coding the packet
    TPC command for PUCCH 2 Transmit power control (TPC) command for adapting the transmit power on the Physical Uplink Control Channel (PUCCH)
    Downlink assignment index (TDD only) 2 number of downlink subframes for uplink ACK/NACK bundling