Programming an HSDPA Reporting of Channel Quality Indicator Measurement
Last updated: January 16, 2009
This section is only applicable to the lab application.
This example is for
Active Cell Operating Mode
.
This section provides an example of how to make Reporting of Channel Quality Indicator measurements via a remote program. The following program example assumes that the UE is connected to the RF IN/OUT connector, the appropriate Amplitude Offsets are set and the UE has attached to the test set.
The basic procedure to perform the Reporting of Channel Quality Indicator measurement is as follows:
-
Set the Reporting of Channel Quality Indicator setup parameters as desired using the
SETup:HRCQuality
commands as well as non-measurement specific test set parameters that are called out in the 3GPP standards (see
Parameters that Affect the HSDPA Reporting of Channel Quality Indicator Measurement
).
-
Use the
INITiate:HRCQuality
command to start the measurement.
-
Use the
FETCh:HRCQuality
query to obtain the measurement results (or use the
READ:HRCQuality?
command to both initiate and fetch the measurement as a sequential operation).
Programming Example
10 ! Reporting of Channel Quality Indicator Measurement Programming Example
20 ! 3GPP TS 34.121 9.3.1 Single Link Performance - AWGN Propagation Conditions
30 ! Category 8 UE
40 !
50 Testset=714
60 !
70 !***Set up test parameters***
80 !
90 OUTPUT Testset;"CALL:OPERating:MODE OFF"
100 ! Set Operating Mode to OFF
110 OUTPUT Testset;"CALL:HSDPa:SERVice:RBTest:HSPDschannel:CCODe CODE5"
120 ! Set RB Test Mode First HS-PDSCH Channel Code to 5
130 !
140 OUTPUT Testset;"CALL:HSDPa:SERVice:RBTest:UDEFined:HARQ:PROCess:COUNt 2"
150 ! Set User Defined Number of HARQ Processes 2
160 !
170 OUTPUT Testset;"CALL:SERVice:RBTest:RAB HSDParmc12"
180 ! Set Channel Type to 12.2k RMC + HSDPA
190 !
200 OUTPUT Testset;"CALL:HSDPa:MACHs:SDTX:RBEHavior ACK"
210 ! Set statDTX Reception Behavior to Handle as NACK
220 !
230 !
240 !***Settings per 34.121 table 9.3.1.1***
250 !
260 OUTPUT Testset;"CALL:POWer -50"
270 ! Set Cell Power to -50 dBm
280 OUTPUT Testset;"CALL:AWGNoise:POWer -60"
290 ! Set AWGN Power to -60 dBM/3.84 MHz
300 !
310 !HSDPA Cell 1 Connected HS-PDSCHs Level (Sum) is set by the measurement to -3 dB
320 !
330 OUTPUT Testset;"CALL:CONNected:HSSCchannel -10"
340 ! Set SDPA Cell 1 Connected HS-SCCH 1 Level to -10 dB
350 !
360 OUTPUT Testset;"CALL:HSDPa:UPLink:CQI:FCYCle 2 MS"
370 ! Set CQI Feedback Cycle (k) to 2 ms
380 OUTPUT Testset;"CALL:HSDPa:UPLink:CQI:RFACtor 1"
390 ! Set CQI Repetition Factor to 1
400 OUTPUT Testset;"CALL:HSDPa:SERVice:RBTest:UDEFined:ITTI 3"
410 ! Set User Defined Inter-TTI Interval to 3
420 !
430 !***Settings per 34.121 table E.5.1***
440 !
450 OUTPUT Testset;"CALL:CONNected:CPIChannel:HSDPa -10"
460 ! Set HSDPA Cell 1 Connected CPICH Level to -10 dB
470 OUTPUT Testset;"CALL:CONNected:CCPChannel:PRIMary:HSDPa -12"
480 ! Set HSDPA Cell 1 Connected P-CCPCH/SCH Level to -12 dB
490 OUTPUT Testset;"CALL:CONNected:PICHannel:HSDPa -15"
500 ! Set HSDPA Cell 1 Connected PICH Level to -15
510 OUTPUT Testset;"CALL:CONNected:HSSCchannel2 -15"
520 ! Set HSDPA Cell 1 Connected HS-SCCH 2 Level to OFF (-15dB)
530 OUTPUT Testset;"CALL:CONNected:HSSCchannel3 -15"
540 ! Set HSDPA Cell 1 Connected HS-SCCH 3 Level to OFF (-15dB)
550 OUTPUT Testset;"CALL:CONNected:HSSCchannel4 -15"
560 ! Set HSDPA Cell 1 Connected HS-SCCH 4 Level to OFF (-15dB)
570 !
580 !***Settings per 25.214 section 6A.2***
590 !
600 OUTPUT Testset;"CALL:HSDPa:MPOWer 7"
610 !Set the Measurement Power Offset to dB
620 !
630 !
640 !***Settings per 25.214 tables 7A,7B,7E***
650 !
660 ! User Defined Number of Active HS-PDSCHs is set by the measurement to 5
670 !
680 ! User Defined Transport Block Size Index is set by the measurement to 8.
690 !
700 ! User Defined Modulation Type is set by the measurement to 16QAM
710 !
720 OUTPUT Testset;"CALL:HSDPa:MACHs:RVSequence `0'"
730 !Set RV Sequence to 0
740 OUTPUT Testset;"CALL:HSDPa:SERVice:RBTest:UDEFined:MS:IREDundancy:BUFFer:ALLocation EXPLicit"
750 ! Set User Defined UE IR Buffer Allocation to Explicit
760 OUTPUT Testset;"CALL:HSDPa:SERVice:RBTest:UDEFined:MS:IREDundancy:BUFFer:SIZE 19200"
770 ! Set User Defined Explicit UE IR Buffer Size to 19200 bits
780 OUTPUT Testset;"CALL:OPERating:MODE CALL"
790 ! Set Operating Mode to CALL
800 !
810 !***Set up measurement parameters***
820 !
830 OUTPUT Testset;"SETup:HRCQuality:VARiance:CQIValue:INITial 16"
840 ! Set Starting Downlink TF CQI to 16
850 OUTPUT Testset;"SETup:HRCQuality:VARiance:CQIReports 2000"
860 ! Set Number of CQI Reports to test to 2000
870 OUTPUT Testset;"SETup:HRCQuality:VARiance:CQIValue:WRANge 90"
880 ! Set Percentage of CQI values within range to 90 %
890 OUTPUT Testset;"SETup:HRCQuality:SENSe:ANResponses:FILTered 1000"
900 ! Set Number filtered ACK/NACK responses to test to 1000
910 OUTPUT Testset;"SETup:HRCQuality:SENSe:BLERatio:FILTered:BASE:DECision 10"
920 ! Set Filtered BLER for initial CQI sense decision to 10%
930 OUTPUT Testset;"SETup:HRCQuality:SENSe:BLERatio:FILTered:CQIMinus1 10"
940 ! Set Filtered BLER for PASS/FAIL: Median_CQI-1 to 10%
950 OUTPUT Testset;"SETup:HRCQuality:SENSe:BLERatio:FILTered:CQIPlus2 10"
960 ! Set Filtered BLER for PASS/FAIL: Median_CQI+2 to 10%
970 OUTPUT Testset;"SETup:HRCQuality:TIMeout:STATe OFF"
980 ! Set Measurement Timeout to off
990 !
1000 !
1010 !
1020 CLEAR SCREEN
1030 PRINT "Establish an RB Test Mode - HSDPA connection "
1040 PRINT "by pressing Originate Call from the call setup screen"
1050 PRINT
1060 PRINT "Press CONTINUE when the Call Status shows `Connected'"
1070 PRINT
1080 !
1090 PAUSE
1100 !
1110 !***INITiate and FETCh measurements***
1120 !
1130 OUTPUT Testset;"INITiate:HRCQuality"
1140 !
1150 !
1160 OUTPUT Testset;"FETCh:HRCQuality?"
1170 ENTER Testset;Int,Pass_fail
1180 !
1190 !
1200 !***FETCh the CQI Variance results***
1210 !
1220 OUTPUT Testset;"FETCh:HRCQuality:VARiance:CQINdicator?"
1230 ENTER Testset;Tf_cqi
1240 OUTPUT Testset;"FETCh:HRCQuality:VARiance:CQIReports?"
1250 ENTER Testset;Num_reports
1260 OUTPUT Testset;"FETCh:HRCQuality:VARiance:CQINdicator:MEDian?"
1270 ENTER Testset;Med_cqi
1280 OUTPUT Testset;"FETCh:HRCQuality:VARiance:CQIReports:WRANge?"
1290 ENTER Testset;Cqi_in_range
1300 OUTPUT Testset;"FETCh:HRCQuality:VARiance:FAIL?"
1310 ENTER Testset;Cvar_pf
1320 !
1330 !*Fetch the CQI Variance Frequency Distribution*
1340 REAL Int,Cvar_dis(30)
1350 OUTPUT Testset;"FETCh:HRCQuality:VARiance:CQIReports:DISTribution?"
1360 ENTER Testset;Int,Cvar_dis(*)
1370 !
1380 !***FETCh the BLER vs. CQI Sense base results***
1390 !
1400 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BASE:CQINdicator?"
1410 ENTER Testset;Base_tf_cqi
1420 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BASE:CQINdicator:MEDian?"
1430 ENTER Testset;Base_med_cqi
1440 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BASE:SDTX?"
1450 ENTER Testset;Base_statdtxs
1460 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BASE:ACKS:FILTered?"
1470 ENTER Testset;Base_filt_a
1480 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BASE:NACKs:FILTered?"
1490 ENTER Testset;Base_filt_n
1500 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BASE:ANResponses:FILTered?"
1510 ENTER Testset;Base_filt_an
1520 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BASE:BLERatio:FILTered?"
1530 ENTER Testset;Base_bler
1540 !
1550 !
1560 !***FETCh the BLER vs. CQI Sense boundary detection results***
1570 !
1580 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BDETection:DIRection?"
1590 ENTER Testset;Sense
1600 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BDETection:CQINdicator?"
1610 ENTER Testset;Bdet_tf_cqi
1620 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BDETection:CQINdicator:MEDian?"
1630 ENTER Testset;Bdet_med_cqi
1640 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BDETection:SDTX?"
1650 ENTER Testset;Bdet_statdtxs
1660 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BDETection:ACKS:FILTered?"
1670 ENTER Testset;Bdet_filt_a
1680 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BDETection:NACKs:FILTered?"
1690 ENTER Testset;Bdet_filt_n
1700 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BDETection:ANResponses:FILTered?"
1710 ENTER Testset;Bdet_filt_an
1720 OUTPUT Testset;"FETCh:HRCQuality:SENSe:BDETection:BLERatio:FILTered?"
1730 ENTER Testset;Bdet_bler
1740 !
1750 !
1760 !***Print measurement results***
1770 !
1780 PRINT "Reporting of Channel Quality Indicator Measurement Results:"
1790 PRINT
1800 !
1810 PRINT "Part 1:CQI Variance Results:"
1820 PRINT "----------------------------"
1830 PRINT "Downlink TF CQI: ",Tf_cqi
1840 PRINT "CQI Reports : ",Num_reports
1850 PRINT "Median_CQI: ",Med_cqi
1860 PRINT "CQI in Range (%): ",Cqi_in_range
1870 PRINT "CQI Variance Pass(0)/Fail (1):",Cvar_pf
1880 PRINT
1890 PRINT "The frequency distribution of the CQI Reports"
1900 PRINT "gathered during the CQI Variance test is:"
1910 PRINT Cvar_dis(*)
1920 PRINT
1930 PRINT "Part 2:BLER versus CQI Sense:"
1940 PRINT " Median_CQI ";Sense
1950 PRINT " 1=Median_CQI+2; 2=Median CQI-1"
1960 PRINT "--------------------------------------------"
1970 PRINT "Downlink TF CQI: ",Base_tf_cqi;Bdet_tf_cqi
1980 PRINT "Median_CQI: ",Base_med_cqi;Bdet_med_cqi
1990 PRINT "statDTXs: ",Base_statdtxs;Bdet_statdtxs
2000 PRINT "Filtered ACKs: ",Base_filt_a;Bdet_filt_a
2010 PRINT "Filtered NACKs: ",Base_filt_n;Bdet_filt_n
2020 PRINT "Filtered ACKs_NACKs: ",Base_filt_an;Bdet_filt_an
2030 PRINT "BLER: ",Base_bler;Bdet_bler
2040 PRINT
2050 PRINT "Integrity Indicator = ",Int
2060 PRINT "Overall Pass (0) / Fail (1) = ",Pass_fail
2070 !
2080 !
2090 END
2100 !
A sample output from this programming example is shown below:
|