NR Cell Selection Criterion S: Srxlev Calculator

Author: Dustin_Chen, email: Dustin_Chen@compal.com or chuhpsdustin@gmail.com

◼️ 3GPP Spec

     ● TS 38.304 chap 5.2.3.2 Cell Selection Criterion
         The cell selection criterion S is fulfilled when:
            Srxlev > 0 AND Squal > 0
         where:
            Srxlev = Qrxlevmeas – (Qrxlevmin + Qrxlevminoffset ) – Pcompensation – Qoffsettemp
            where Pcompensation = max(p-Max – P_powerClass, 0)
			
     ● TS 38 101-1 Table 6.2.1-1: UE Power Class
         ue-PowerClass pc2 => MTPL = 26 dBm
         ue-PowerClass pc3 => MTPL = 23 dBm
		 
     ● TS 38 331 Q-RxLevMin
         Actual value Q rxlevmin = field value * 2 [dBm].
         SIB1 ::=        SEQUENCE { 
             cellSelectionInfo                   SEQUENCE { 
                 q-RxLevMin                          Q-RxLevMin, 
                 q-RxLevMinOffset                    INTEGER (1..8)   OPTIONAL,   -- Need R
	}   

===================================================================================================================

// DU xml
    <cellSelectionInfo>
       <qRxLevMin>
          <rsrpLvl>-60</rsrpLvl>
       </qRxLevMin>
    </cellSelectionInfo>

    <ulFreqInfo>
        <pMax>33</pMax>
    </ulFreqInfo>

// UE QXDM log
Srxlev 
= Qrxlevmeas – (Qrxlevmin      + Qrxlevminoffset ) – Pcompensation          – Qoffsettemp
=    RSRP    - (q-RxLevMin * 2 +   0             ) – (p-Max - P_powerClass) – Qoffsettemp
=    RSRP    - (q-RxLevMin * 2 +   0             ) – (p-Max - MTPL) – Qoffsettemp
=   -49.00   -  [(-60)*2       +   0             ] - ( 33   -  23 ) - 0
=   61  > 0

// RSRP = -49
07:59:43.416	[0xB97F]	NR5G ML1 Searcher Measurement Database Update Ext
      -----------------------------------------------------------------------------------------------------------------------------------------
      |   |      |      |     |            |            |Detected Beams                                                                       |
      |   |      |      |     |            |            |   |     |RX Beam Info           |NR2NR       |NR2NR       |L2NR        |L2NR        |
      |   |      |PBCH  |Num  |Cell Quality|Cell Quality|   |SSB  |RX Beam|               |Filtered Tx |Filtered Tx |Filtered Tx |Filtered Tx |
      |#  |PCI   |SFN   |Beams|RSRP        |RSRQ        |#  |Index|Id     |RSRP           |Beam RSRP L3|Beam RSRQ L3|Beam RSRP L3|Beam RSRQ L3|
      -----------------------------------------------------------------------------------------------------------------------------------------
      |  0|     1|   778|    1|     -49.461|     -10.445|  0|    0|     NA|        -49.461|     -49.461|     -10.445|          NA|          NA|
      |   |      |      |     |            |            |   |     |     NA|        -51.133|            |            |            |            |

// Qrxlevmin = q-RxLevMin * 2 = -120, p-Max = 33
07:59:43.496	[0xB821]	BCCH_DL_SCH / SystemInformationBlockType1
        cellSelectionInfo 
        {
          q-RxLevMin -60, //(-60) * 2 = -120
		          // q-RxLevMinOffset no value
        },
            frequencyInfoUL 
            {
              p-Max 33 //p-Max = 33
            },

// ue-PowerClass pc3 -> MTPL = 23, 	Pcompensation = p-Max - P_powerClass = 33 - 23 = 10
07:59:43.872	[0xB821]	UL_DCCH / UeCapabilityInformation
      {
        bandNR 78,
        ue-PowerClass pc3, //MTPL = 23
      }, 

===================================================================================================================

◼️ Appendix: 3GPP TS 38.304 chap 5.2.3.2 Cell Selection Criterion

GitHub Image