DCI Message Parsing Example
DCI Message Parsing Example
ShareTechnote
Home : www.sharetechnote.com
www.sharetechnote.com/html/DCI.html
1/7
6/4/13
ShareTechnote
L1 signaling is done by DCI and Up to 8 DCIs can be configured in the PDCCH. These DCIs can have 6 formats : 1 format for UL scheduling, 2 formats for Non-MIMO DL scheduling, 1 format for MIMO DL Scheduling and 2 formats for UL power control. DCI has various formats for the information sent to define resource allocations. The resource allocation information What kind of information is carreid by each DCI ? The best way to understand this in very detail is to take one example of each of DCI bit string and decode manually based on 3GPP specification. But this section can be a good summary for quick reference. And the DCI decode examples at the end of this page would give you a good/detailed picture of DCI strutures. Type 0 : A bitmap indicating the resource block groups(RBGs) that are allocated to the scheduled UE. (An RBG is a set of consecutive physical resource blocks(PRBs). This type has following informations Flag for format 0/format1A differentiation Hoping flag Resource block assignment and hopping resource allocation New data indicator TPC command for scheduled PUSCH Cyclic shift for DM RS CQI request Number of appended zeros to format 0 Type 1 : A bitmap indicating PRBs from a set of PRBs from a subset of resource block groups determined by the system bandwidth. Resource allocation header (resource allocation type 0/type 1) Resource block assignment Modulation and coding scheme HARQ process number New data indicator Redundancy version TPC command for PUCCH Type 2 : A set of contiguously allocated physical or virtual resource blocks. The allocations vary from a single PRB upto the maximum number of PRBs spanning the system bandwidth. What determines a DCI Format for the specific situation ? There are two major factors to determine a DCI format for a specific situation as follows : i) RNTI Type ii) Transmission Mode This means that you cannot change only one of these parameters arbitrarily and you always have to think of the relationships among these when you change one of these parameters. Otherwise you will spend a long time for troubleshooting -:) Those tables from 3GPP 36.213 shows the relationships between RNTI Type, Transmission Mode and DCI format. (You would notice that same information (same RNTI type) can have multiple candidates of DCI format. Then, the question is "How network determine which DCI format it has to use at a specific moment ?". In some case, you can find a clear criteria from following table, but some other case the selection criteria is not clear. For example, if you ask "Do I have to use DCI format 1A or 2A when I am using TM3, C-RNTI ?". You may say "Use DCI format 2A in MIMO configuration and use 1 A in non-MIMO configuration". But the answer would not be clear if you ask "What kind of DCI format (1A or 1C) for Paging message (P-RNTI) ?". At least table 7.1-2 does now show any different selection criteria and I haven't found anywhere else in the spec about this selection criteria. In this case, I just ask to several other people who is working on that specific area and trying to draw conclusion by a kind of 'vote'. For this specific case (DCI format for P-RNTI), I got the response saying "There is no clear criteria, it is just upto network on which one to pick".)
www.sharetechnote.com/html/DCI.html
2/7
6/4/13
ShareTechnote
www.sharetechnote.com/html/DCI.html
3/7
6/4/13
ShareTechnote
Any relations between DCI format and Layer 3 signaling message ? Yes, there is a relationship. You have to know which DCI format is required for which RRC message. Following tables from 3GPP 36.321 shows the relationship between RNTI and logical channel and you would know which RRC message is carried by which logical channel. So with two step induction, you will figure out the link between RRC message and it's corresponding DCI format.
For example, if you see the "Security Mode Command" message of section 6.2.2 of 36.331, it says Signalling radio bearer: SRB1 RLC-SAP: AM Logical channel: DCCH Direction: UE to E-UTRAN
www.sharetechnote.com/html/DCI.html
4/7
6/4/13
ShareTechnote
Direction: UE to E-UTRAN If you see the table, you would see this message is using C-RNTI. and you will figure out the possible candiates from table 7.1-5 of 36.213 and if you would have detailed information of the transmission mode, you can pinpoint out exactly which DCI format you have to use for this message for a specific case. Assuming TM mode in this case is TM1 and scheduling is dynamic scheduling, if you see Table 7.1-2 you will figure out that this is using C-RNTI. With this RNTI Type and TM mode, if you see table 7.1-5, this case use DCI Format 1 or DCI Format 1A. Channel Coding Process for DCI It is a little complicated to describe this process here. (To be honest, I don't know how to explain this process in plain language). Please see 5.3.3.1 DCI formats of 36.212 DCI 0 - Examples Example 1 > DCIFormat 0, value = 0x2584A800 You can figure out the Start of RB and N_RB (Number of allocated RB) from RIV value.
How can I calcuate Start_RB and N_RB from RIV. The simple calcuation is as follows : i) N_RB = Floor(RIV/MAX_N_RB) + 1= Floor(1200/50) + 1 = 25, where MAX_N_RB = 50 in this case since this is 10 Mhz System BW. ii) Start_RB = RIV mod MAX_N_RB = 1200 mod 50 = 0 Example 2 > DCIFormat 0, value = 0x48720800 This examples shows the case where PUSCH frequency hopping flag is on. Depending on the value for NUL-hop, the detailed hopping pattern is determined.
When the system band frequency is 1.4M, 3M, 5M, Type PUSCH hopping is decided by below method. "NUL-hop" = 0 --- Type1 "NUL-hop" = 1 --- Type2 When the system band frequency is 10M, 15M, 20M, Type PUSCH hopping is decided by below method.
www.sharetechnote.com/html/DCI.html
5/7
6/4/13
=0 =1 =2 =3
---------
ShareTechnote
Example 3 > DCIFormat 0, value = 0x07D7E800 This example shows you a case with UL HARQ retransmission. If you see the MCS value, it says 31 which is set as RVidx 3 in Table 8.6.1-1 of 36.213.
www.sharetechnote.com/html/DCI.html
6/7
6/4/13
ShareTechnote
www.sharetechnote.com/html/DCI.html
7/7