Programming a PRACH Transmit On/Off Power Measurement

Programming a PRACH Transmit On/Off Power Measurement

Last updated: January 16, 2009

This section provides an example of how to make PRACH transmit on/off power measurements via GPIB. The following program example assumes that the mobile station's (UE's) antenna output is connected to the RF IN/OUT connector.

The basic procedure to test PRACH transmit on/off power is as follows:

  1. Set the PRACH transmit on/off power setup parameters as desired using the SETup:WOOPower commands.
  2. Use the INITiate :WOOPower commands to start the measurement.
  3. Use the FETCh:WOOPower query to obtain the measurement results.

Programming Example

 
10 ! PRACH Transmit On/Off Power Measurement Programming Example:
20 ! 5.4.1 Open Loop Power Control in the Uplink
30 !
40 ! This example assumes that the UE is camped to the test set, and in idle mode.
50 ! (The test set must first be configured to allow the UE to camp to the
60 ! test set - sufficient cell power level, proper cell parameters etc.)
70 !
80 ! Ensure that you have properly accounted for the path loss in your system
90 ! using the Amplitude Offset setting.
100 !
110       Testset=714
120 !
130 !***Set up test parameters***
140 !
150       OUTPUT Testset;"CALL:UPLink:PRAChannel:PREambles:NUMBer 4"
160 ! Set number of PRACH Preambles to 4
170       OUTPUT Testset;"CALL:UPLink:PRAChannel:PREambles:RCYCles 1"
180 ! Set number of PRACH Ramping Cycles to 1
190       OUTPUT Testset;"CALL:UPLink:PRAChannel:ASUBchannels `000000000001'"
200 ! Set Available Subchannels to 1
210       OUTPUT Testset;"CALL:UPLink:TXPower:LEVel:MAXimum 21"
220 ! Set Maximum Uplink Transmit Power Level to the max power for your UE
230       OUTPUT Testset;"CALL:CONNected:LIMit OFF"
240 ! Set Call Limit State to Off
250       OUTPUT Testset;"CALL:BCCHannel:UPDAtepage AUTO"
260 ! Set BCCH Update Page to Auto so the test set will notify the UE of
270 ! the changes to Cell Parameters.
280 !
290 !***"RX Upper dynamic end" test***
300 !***Set up test parameters for "RX Upper dynamic end" test***
310 !
320       OUTPUT Testset;"CALL:PCTPower 19"
330 ! Set Primary CPICH TX Power to 19 dBm
340       OUTPUT Testset;"CALL:UINTerferenc -75"
350 ! Set Uplink Interference to -75 dBm
360       OUTPUT Testset;"CALL:CVALue -10"
370 ! Set Constant Value to -10 dB
380       OUTPUT Testset;"CALL:POWer -25"
390 ! Set Cell Power to -25 dBm"
400 !
410 !***Set up measurement parameters***
420 !
430       OUTPUT Testset;"SETup:WOOPower:TIMeout 5"
440 ! Set timeout to 5 seconds
450       OUTPUT Testset;"SETup:WOOPower:OPEN:LOOP:POWer:UPPer:LIMit 9"
460 ! Set the Open Loop Power Error Upper Limit to 9 dB
470       OUTPUT Testset;"SETup:WOOPower:OPEN:LOOP:POWer:LOWer:LIMit -9"
480 ! Set the Open Loop Power Error Lower Limit to -9 dB
490 !
500 !***INITiate and FETCh measurements for "RX Upper dynamic end" test***
510 !
520       OUTPUT Testset;"INITiate:WOOPower"
530 ! Initiate a PRACH transmit on/off power measurement
540       OUTPUT Testset;"FETCh:WOOPower?"
550 ! Fetch PRACH transmit power measurement results
560       ENTER Testset;Integrity,Pre_off_pow,Pre_off_pf,On_pow,Ol_pow_err,Ol_pf,Post_off_pow,Post_off_pf
570 ! Read results
580 !
590 !***Print measurement results for "RX Upper dynamic end" test***
600 !
610       CLEAR SCREEN
620       PRINT "PRACH Transmit On/Off Power Measurement Results:"
630       PRINT
640       PRINT "RX Upper dynamic end --"
650       PRINT "Integrity Indicator (0 = normal)        = ",Integrity
660       PRINT "Expected UE Power                       =         -37.7 dBm"
670       PRINT "Measured UE Power (dBm)                 = ",On_pow
680       PRINT "Open Loop Power Error (dB)              = ",Ol_pow_err
690       PRINT "Open Loop Power Error Pass (0)/Fail (1) = ",Ol_pf
700 !
710 ! Before inititating the measurement again, ensure that the UE
720 ! has finished PRACHing from the prior measurement.
730 ! (Wait 250 ms, then query to see if the call status is idle.)
740       WAIT .25
750       LOOP
760           OUTPUT Testset;"CALL:STATus?"
770           ENTER Testset;Call_status$
780       EXIT IF Call_status$="IDLE"
790       END LOOP
800 !
810 !***"RX-middle" test***
820 !***Set up test parameters for "RX-middle" test***
830 !
840       OUTPUT Testset;"CALL:PCTPower 28"
850 ! Set Primary CPICH TX Power to 28 dBm
860       OUTPUT Testset;"CALL:UINTerferenc -101"
870 ! Set Uplink Interference to -101 dBm
880       OUTPUT Testset;"CALL:CVALue -10"
890 ! Set Constant Value to -10 dB
900       OUTPUT Testset;"CALL:POWer -65.7"
910 ! Set Cell Power to -65.7 dBm"
920 !
930 !***INITiate and FETCh measurements for "RX-middle" test***
940 !
950       OUTPUT Testset;"INITiate:WOOPower"
960 ! Initiate a PRACH transmit on/off power measurement
970       OUTPUT Testset;"FETCh:WOOPower?"
980 ! Fetch PRACH transmit power measurement results
990       ENTER Testset;Integrity,Pre_off_pow,Pre_off_pf,On_pow,Ol_pow_err,Ol_pf,Post_off_pow,Post_off_pf
1000 ! Read results
1010 !
1020 !***Print measurement results for "RX-middle" test***
1030 !
1040       PRINT
1050       PRINT "RX-middle --"
1060       PRINT "Integrity Indicator (0 = normal)        = ",Integrity
1070       PRINT "Expected UE Power                       =         -14 dBm"
1080       PRINT "Measured UE Power (dBm)                 = ",On_pow
1090       PRINT "Open Loop Power Error (dB)              = ",Ol_pow_err
1100       PRINT "Open Loop Power Error Pass (0)/Fail (1) = ",Ol_pf
1110 !
1120 ! Before inititating the measurement again, ensure that the UE
1130 ! has finished PRACHing from the prior measurement.
1140 ! (Wait 250 ms, then query to see if the call status is idle.)
1150       WAIT .25
1160       LOOP
1170           OUTPUT Testset;"CALL:STATus?"
1180           ENTER Testset;Call_status$
1190       EXIT IF Call_status$="IDLE"
1200       END LOOP
1210 !
1220 !***"RX-Sensitivity" test***
1230 !***Set up test parameters for "RX-Sensitivity" test***
1240 !
1250       OUTPUT Testset;"CALL:PCTPower 19"
1260 ! Set Primary CPICH TX Power to 19 dBm
1270       OUTPUT Testset;"CALL:UINTerferenc -110"
1280 ! Set Uplink Interference to -110 dBm
1290       OUTPUT Testset;"CALL:CVALue -10"
1300 ! Set Constant Value to -10 dB
1310       OUTPUT Testset;"CALL:POWer -106.7"
1320 ! Set Cell Power to -106.7 dBm"
1330 !
1340 !***INITiate and FETCh measurements for "RX-Sensitivity" test***
1350 !
1360       OUTPUT Testset;"INITiate:WOOPower"
1370 ! Initiate a PRACH transmit on/off power measurement
1380       OUTPUT Testset;"FETCh:WOOPower?"
1390 ! Fetch PRACH transmit power measurement results
1400       ENTER Testset;Integrity,Pre_off_pow,Pre_off_pf,On_pow,Ol_pow_err,Ol_pf,Post_off_pow,Post_off_pf
1410 ! Read results
1420 !
1430 !***Print measurement results for "RX-Sensitivity" test***
1440 !
1450       PRINT
1460       PRINT "RX-Sensitivity --"
1470       PRINT "Integrity Indicator (0 = normal)        = ",Integrity
1480       PRINT "Expected UE Power                       =          9 dBm"
1490       PRINT "Measured UE Power (dBm)                 = ",On_pow
1500       PRINT "Open Loop Power Error (dB)              = ",Ol_pow_err
1510       PRINT "Open Loop Power Error Pass (0)/Fail (1) = ",Ol_pf
1520       PRINT
1530 !
1540       END

Related Topics