Thursday, November 26, 2015

Paging in LTE

The purpose of this procedure is:
- to transmit paging information to a UE in RRC_IDLE and/ or;
- to inform UEs in RRC_IDLE and UEs in RRC_CONNECTED about a system information change and/ or;
- to inform about an ETWS primary notification and/ or ETWS secondary notification and/ or;
- to inform about a CMAS notification.
The paging information is provided to upper layers, which in response may initiate RRC connection establishment, e.g.
to receive an incoming call.

Discontinuous Reception for paging

The UE may use Discontinuous Reception (DRX) in idle mode in order to reduce power consumption.
One Paging Occasion (PO) is a subframe where there may be P-RNTI transmitted on PDCCH addressing the paging message.
One Paging Frame (PF) is one Radio Frame, which may contain one or multiple Paging Occasion(s). When DRX is used the UE needs only to monitor one PO per DRX cycle.

PF and PO is determined by following formulae using the DRX parameters provided in System Information:
PF is given by following equation:
SFN mod T= (T div N)*(UE_ID mod N)

Index i_s pointing to PO from subframe pattern , will be derived from following calculation:
i_s = floor(UE_ID/N) mod Ns

System Information DRX parameters stored in the UE shall be updated locally in the UE whenever the DRX parameter
values are changed in SI. If the UE has no IMSI, for instance when making an emergency call without USIM, the UE
shall use as default identity UE_ID = 0 in the PF and i_s formulas above.

The following Parameters are used for the calculation of the PF and i_s:
- T: DRX cycle of the UE. T is determined by the shortest of the UE specific DRX value, if allocated by upper
layers, and a default DRX value broadcast in system information. If UE specific DRX is not configured by upper
layers, the default value is applied.
- nB: 4T, 2T, T, T/2, T/4, T/8, T/16, T/32.
- N: min(T,nB)
- Ns: max(1,nB/T)
- UE_ID: IMSI mod 1024.

IMSI is given as sequence of digits of type Integer (0..9), IMSI shall in the formulae above be interpreted as a decimal
integer number, where the first digit given in the sequence represents the highest order digit.
For example:
IMSI = 12 (digit1=1, digit2=2)
In the calculations, this shall be interpreted as the decimal integer "12", not "1x16+2 = 18".

FDD Sub-frame Patterns

TDD Sub-frame Patterns
Ref: http://www.etsi.org/deliver/etsi_ts/136300_136399/136304/12.02.00_60/ts_136304v120200p.pdf




Upon receiving the Paging message, the UE shall:

1> if in RRC_IDLE, for each of the PagingRecord, if any, included in the Paging message:
2> if the ue-Identity included in the PagingRecord matches one of the UE identities allocated by upper layers:
3> forward the ue-Identity and the cn-Domain to the upper layers;
1> if the systemInfoModification is included:
2> re-acquire the required system information using the system information acquisition procedure as specified in
5.2.2.
1> if the etws-Indication is included and the UE is ETWS capable:
2> re-acquire SystemInformationBlockType1 immediately, i.e., without waiting until the next system information
modification period boundary;
2> if the schedulingInfoList indicates that SystemInformationBlockType10 is present:
3> acquire SystemInformationBlockType10;
2> if the schedulingInfoList indicates that SystemInformationBlockType11 is present:
3> acquire SystemInformationBlockType11;
1> if the cmas-Indication is included and the UE is CMAS capable:
2> re-acquire SystemInformationBlockType1 immediately, i.e., without waiting until the next system information modification period boundary as specified in 5.2.1.5;
2> if the schedulingInfoList indicates that SystemInformationBlockType12 is present:
3> acquire SystemInformationBlockType12;



Paging in LTE
   1. For MT Call(PS/CS)
   2. For SI (System Information) modification
   3. For ETWS (Earthquake and Tsunami Warning System)


Example for Type 1: PS Call
As this is for a specific UE , it includes a paging record list.
Paging record list is an array, so this might include more than UE if needed.

Air Message: AIR_MSG_TYPE_PCCH
 
          pagingRecordList_exist         1
          systemInfoModification_exist 0
          etws_Indication_exist                 0
          nonCriticalExtension_exist         0


        pagingRecordList[0] PagingRecord
            ue_Identity PagingUE_Identity_
              s_TMSI S_TMSI
                mmec MMEC
                  buff[0..0] 01
                TMSI S_TMSIm_TMSI
                  buff[0..3] c2 34 56 78


Example for Type 2: SI Modification 
as it is applicable for all the UE's under that eNB so it doesn't need any UE identifier.


Air Message: AIR_MSG_TYPE_PCCH
        paging Paging
          systemInfoModification PagingsystemInfoModification_true
          pagingRecordList_exist         0
          systemInfoModification_exist 1
          etws_Indication_exist                 0
          nonCriticalExtension_exist         0

Example for Type 3: For ETWS 
as it is applicable for all the UE's under that eNB so it doesn't need any UE identifier.

Air Message: AIR_MSG_TYPE_PCCH
        paging Paging
          systemInfoModification PagingsystemInfoModification_true
          pagingRecordList_exist         0
          systemInfoModification_exist 0
          etws_Indication_exist                 1
          nonCriticalExtension_exist         0



SIB2 Caries Configuration for PCCH - Paging Control Channel

Sib2 contains , RadioResourceConfigCommonSIB

Under PCCH-Config

PCCH-Config ::= SEQUENCE {
defaultPagingCycle ENUMERATED {
rf32, rf64, rf128, rf256},
nB ENUMERATED {
fourT, twoT, oneT, halfT, quarterT, oneEighthT,
oneSixteenthT, oneThirtySecondT}
}

defaultPagingCycle
Default paging cycle, used to derive "T" in TS 36.304 [4]. Value rf32 corresponds to 32 radio frames, rf64 corresponds to 64 radio frames and so on.

nB
Parameter: nB is used as one of parameters to derive the Paging Frame and Paging Occasion according to TS 36.304 [4]. Value in multiples of 'T' as defined in TS 36.304 [4]. A value of fourT corresponds to 4 * T, a value of twoT corresponds to 2 * T and so on.



Either SIB2 configuration or UE upper-layer configuration is considered for nB.

There is concept of paging occasion and paging frame to help UE saving it's power further on DRX mode.

Paging Occasion: Paging Frame:



Wednesday, November 25, 2015

Cell Acqusition in LTE

This is one of the confusing and most beautiful thing in LTE.

To understand Cell Acquisition in LTE we will need help of 3gpp Spec 36.211 and 36.331 sometime.

36.211 : Physical Channel
36.331 : Radio Resource Control

1. From the primary synchronization signal(PSS), it discovers the symbol timing and gets some incomplete information about the physical cell identity.
2. From the secondary synchronization signal(SSS), it discovers the frame timing, the physical cell identity, the transmission mode(FDD or TDD) and the cyclic prefix duration (normal or extended).



3. Once PSS and SSS is acquired, the mobile starts reception of the cell specific reference signals. These provides an amplitude and phase reference for the channel estimation process, which are essential for everything that follows.
4. The mobile then receives the physical broadcast channel and reads the master information block.
5. By doing so, it discovers the number of transmit antennas at the base station, the downlink bandwidth, the system frame number and a quantity called the PHICH configuration that describes the physical hybrid ARQ indicator channel.
6. The mobile can now start reception of the physical control format indicator channel (PCFICH), so as to read the control format indicators. These indicate how many symbols are reserved at the start of each downlink subframe for the physical control channels and
   how many are available for data transmissions.
7. Finally, the mobile can start reception of the physical downlink control channel (PDCCH).
8. This allows the mobile to read the remaining system information blocks (SIBs), which are sent on the physical downlink shared channel (PDSCH).
9. By doing this, it discovers all the remaining details about how the cell is configured, such as the identities of the networks that it belongs to.


Steps in the cell acquisition procedure
1
Receive PSS
Symbol Timing
Cell Identity within Group
2
Receive SSS
Frame Timing
Physical Cell Identity
Transmission Mode (FDD/TDD)
Cyclic Prefix Duration (Normal/Extended)
3
Receive RS

Amplitude and phase reference for demodulation
Power reference for channel quality estimation
4

Read MIB from PBCH
Number Of Transmit Antennas
Downlink bandwidth
System frame number
PHICH configuration
5
Start Reception Of PCFICH
Number of control symbols per subframe
6
Read SIB’s from PDSCH
System information



Frame Structure in LTE


FDD Down-link Frame Structure in LTE








Source: http://www.sharetechnote.com/image/36_211_Fig4_1_1_FDD_DL_FrameStructure.PNG


1 Frame = 1 ms
1 Frame = 10 Sub-frame

1 Slot = 0.5 ms
2 Slot = 2*0.5 ms = 1 ms
2 Slot = 1 Sub-frame

1 Frame = 10 (Sub-frame) * 2  slots = 20 Slots





Source: http://www.sharetechnote.com/image/FDD_DL_FrameStructure_Symbols.PNG


1 Slot = 7 Symbols
(In case of Normal Cyclic Prefix, 6 in case of Extended Cyclic Prefix)

1 Symbol = 0.5(Duration of 1 slot) / 7 (Number of Symbol per slot) ms =  ~71.4 us
1 Symbol =  Cyclic Prefix + Data

First OFDM symbol is longer than the rest of the OFDM symbol in that slot.

First Symbol = 71.9 us  = 5.2 us+ 66.7 us
Rest Symbol = 71.3 us  = 4.7 us + 66.6 us

First Symbol (time) + 6*Rest Symbol (time) = 71.9 us  + 6*71.3 us = 71.9 us + 427.8 us = 499.7 us = ~500 us = 0.5 ms

The Number of sample we see here in below illustration is based on the sampling rate is 30.072 M Samples/Sec and 2048 bins/IFFT(N_ifft). Since real sampling rate and N_ifft varies depending on system BW, we need to scale this number according to a specific BW.




Source: http://www.sharetechnote.com/image/FDD_DL_FrameStructure_Subframe_01.PNG












Source :http://www.sharetechnote.com/image/PHY_CH_DL.PNG













Source: http://www.sharetechnote.com/image/LTE_DL_FrameStructure_01.png





Monday, November 23, 2015

NEED ON/OR/OP in RRC

Abbreviation Meaning

Cond conditionTag (Used in downlink only) 
Conditionally present An information element for which the need is specified by means of conditions. For each conditionTag, the need is specified in a tabular form following the ASN.1 segment. In case, according to the conditions, a field is not present, the UE takes no action and where applicable shall continue to use the existing value (and/ or the associated functionality) unless explicitly stated otherwise in the description of the field itself.

Need OP (Used in downlink only)
 Optionally present An information element that is optional to signal. For downlink messages, the UE is not required to take any special action on absence of the IE beyond what is specified in the procedural text or the field description table following the ASN.1 segment. The UE behaviour on absence should be captured either in the procedural text or in the field description.

Need ON (Used in downlink only) 
Optionally present, No action An information element that is optional to signal. If the message is received by the UE, and in case the information element is absent, the UE takes no action and where applicable shall continue to use the existing value (and/ or the associated functionality).

Need OR (Used in downlink only)
 Optionally present, Release An information element that is optional to signal. If the message is received by the UE, and in case the information element is absent, the UE shall discontinue/ stop using/ delete any existing value (and/ or the associated functionality). 

LTE Procedure's

All the Procedure's for an LTE UE in CS and PS mode along with multi RAB combination are as below.

Spec: 34.108


7.3.2.3.1 For UE Supporting CS
Step
Direction
Message
Comments
UE
SS
1

SYSTEM INFORMATION (BCCH)
Broadcast
2

PAGING TYPE1 (PCCH)
Paging (CS domain, TMSI)
3

RRC CONNECTION REQUEST (CCCH)
RRC
4

RRC CONNECTION SETUP (CCCH)
RRC
5

RRC CONNECTION SETUP COMPLETE (DCCH)
RRC
6

PAGING RESPONSE
RR
7

AUTHENTICATION REQUEST
MM
8

AUTHENTICATION RESPONSE
MM
9

SECURITY MODE COMMAND
RRC
10

SECURITY MODE COMPLETE
RRC
11

ACTIVATE RB TEST MODE
TC
12

ACTIVATE RB TEST MODE COMPLETE
TC
13

RADIO BEARER SETUP
RAB SETUP
14

RADIO BEARER SETUP COMPLETE
RRC
15

CLOSE UE TEST LOOP (DCCH)
TC (UE test loop mode set up)
16

CLOSE UE TEST LOOP COMPLETE
TC (confirms that loopback entities for the
radio bearer(s) have been created and
loop back is activated)
17

OPEN UE TEST LOOP
TC
18

OPEN UE TEST LOOP COMPLETE
TC
19

RRC CONNECTION RELEASE
RRC
20

RRC CONNECTION RELEASE COMPLETE
RRC
7.3.2.3.2 For UE supporting PS only
Step
Direction
Message
Comments
UE
SS
1

SYSTEM INFORMATION (BCCH)
Broadcast
2

PAGING TYPE1 (PCCH)
Paging (PS domain, P-TMSI)
3

RRC CONNECTION REQUEST (CCCH)
RRC
4

RRC CONNECTION SETUP (CCCH)
RRC
5

RRC CONNECTION SETUP COMPLETE (DCCH)
RRC
6

SERVICE REQUEST
GMM
7

AUTHENTICATION AND CIPHERING REQUEST
GMM
8

AUTHENTICATION AND CIPHERING RESPONSE
GMM
9

SECURITY MODE COMMAND
RRC
10

SECURITY MODE COMPLETE
RRC
11

ACTIVATE RB TEST MODE
TC
12

ACTIVATE RB TEST MODE COMPLETE
TC
13

RADIO BEARER SETUP
RRC (RAB SETUP)
14

RADIO BEARER SETUP COMPLETE
RRC
15

CLOSE UE TEST LOOP (DCCH)
TC (UE test loop mode set up)
16

CLOSE UE TEST LOOP COMPLETE
TC (confirms that loopback entities for
the radio bearer(s) have been created
and loop back is activated)
17

OPEN UE TEST LOOP TC
TC
18

OPEN UE TEST LOOP COMPLETE
TC
19

RC CONNECTION RELEASE
RRC
20

RC CONNECTION RELEASE COMPLETE
RRC
7.3.2.3.3 For CS+PS multi RAB combination
Step
Direction
Message
Comments
UE
SS
1

SYSTEM INFORMATION (BCCH)
Broadcast
2

PAGING TYPE1 (PCCH)
Paging (CS domain, TMSI)
3

RRC CONNECTION REQUEST (CCCH)
RRC
4

RRC CONNECTION SETUP (CCCH)
RRC
5

RRC CONNECTION SETUP COMPLETE (DCCH)
RRC
6

PAGING RESPONSE
RR
7

AUTHENTICATION REQUEST
MM
8

AUTHENTICATION RESPONSE
MM
9

SECURITY MODE COMMAND
RRC
10

SECURITY MODE COMPLETE
RRRC
11

PAGING TYPE2 (DCCH)
TMSI(GSM-MAP)/P-TMSI
12

SERVICE REQUEST
GMM
13

SECURITY MODE COMMAND
RRC
14

SECURITY MODE COMPLETE
RRC
15

ACTIVATE RB TEST MODE
TC
16

ACTIVATE RB TEST MODE COMPLETE
TC
17

RADIO BEARER SETUP
RRC CS radio bearer(s) are configured
18

RADIO BEARER SETUP COMPLETE
RRC
19

RADIO BEARER SETUP
RRC PS radio bearer(s) are configured
20

RADIO BEARER SETUP COMPLETE
RRC
21

CLOSE UE TEST LOOP (DCCH)
TC (UE test loop mode set up)
22

CLOSE UE TEST LOOP COMPLETE
TC (confirms that loopback entities for the radio bearer(s) have been created and loop back is activated)
23

OPEN UE TEST LOOP
TC
24

OPEN UE TEST LOOP COMPLETE
TC
25

RRC CONNECTION RELEASE
RRC
26

RRC CONNECTION RELEASE COMPLETE
RRC




Link http://www.etsi.org/deliver/etsi_ts/134100_134199/134108/12.01.00_60/ts_134108v120100p.pdf