Programming a Time Response of Open Loop Power Control (TROLPC) Measurement
Last updated: May 24, 2006
The following example is based on an RTAP data connection for subtype 0 physical layer test. The general procedure is also applicable to the test based on an RETAP data connection. See
Control Program Examples
for the comprehensive test programs.
General Programming Procedure
-
Prompt the user to connect the access terminal to the test set's front panel
RF IN/OUT
connector and power it on. Instruct the user that if the access terminal does not automatically open a session, perform whatever actions are necessary to open a session. See
Establish a Session from the Access Terminal
for more details.
-
Prompt the user to establish an RTAP data connection. See
Step 4: Make a connection
for more details.
-
Set up the TROLPC measurement parameters as needed using the
SETup:TROPower
commands.
-
Disable the R-ACK Channel by turning
CALL[:CELL]:APPLication:ACKChannel:BFMAttribute[:STATe]
to off and setting
CALL[:CELL]:APPLication:ATDPackets
to 0%.
-
Set cell power using the
CALL:POWer
command. (Set cell power to -60 dBm/1.23 MHz when performing C.S0033 test 4.3.2).
-
Specify the direction of the step change in cell power using the
SETup:TROPower:STEP
command. When the measurement is initiated, the test set will change its cell power in the direction indicated by this command.
-
Initiate the TROLPC measurement using the
INITiate:<measurement mnemonic>[:ON]
command. The <measurement mnemonic> for the TROLPC measurement is TROPower. When the TROLPC measurement is initiated, the test set will change its cell power by 20 dB, and then measure the access terminal power for 100 ms.
-
Use the
FETCh:TROPower[:ALL]?
command to obtain the measurement results. (You can also replace steps 7 and 8 with a single command -
READ:TROPower[:ALL]?
).
-
You must repeat steps 6 - 8 to test each 20 dB step change.
-
A pass or fail indication is returned for each measurement.
-
In addition to retrieving the pass/fail result, you can retrieve data points representing the access terminal output power trace using the
FETCh:TROPower:TRACe?
command. You can then compare the data points to the equations for the mask (see
4.3.2 Time Response of Open Loop Power Control
) to determine any failure points.
Programming Example: 4.3.2 Time Response of Open Loop Power Control
10 ! 4.3.2 Time Response of Open Loop Power Control
20 ! This programming example assumes the access terminal
30 ! is connected to the test set and in a 9.6 kbps
40 ! RTAP data connection.
50 !
60 Testset=714
70 !
80 DISP "Testing Time Response of Open Loop Power Control"
90 !
100 !***Set up test parameters***
110 !
120 Ior=-60
130 ! Start Level for test
140 !
150 !***Set up measurement parameters***
160 !
170 OUTPUT Testset;"SETUP:TROP:TIMEOUT 5"
180 ! Set mesurement timeout to 5 s
190 !
200 !***Set test conditions***
210 !
220 OUTPUT Testset;"CALL:APPLICATION:ACKCHANNEL:BFMATTRIBUTE OFF"
230 ! Turn off ACK Channel Bit Fixed Mode Attribute
240 OUTPUT Testset;"CALL:APPLICATION:ATDPACKETS 0"
250 ! Set AT Directed Packets to 0 to disable R-ACK Channel
260 OUTPUT Testset;"CALL:POW ";Ior
270 ! Set cell power for Test
280 WAIT .1
290 ! Open Loop Time Response settling time after cell power change
300 !
310 CLEAR SCREEN
320 PRINT "Time Response of Open Loop Power Test Results:"
330 !
340 FOR J=1 TO 4
350 ! Loop to measure power after 4 step changes in cell power
360 SELECT J
370 ! Set step direction for each measurement
380 CASE 1
390 Test_number=J
400 Step$="UP20"
410 CASE 2
420 Test_number=J
430 Step$="DOWN20"
440 CASE 3
450 Test_number=J
460 Step$="DOWN20"
470 CASE 4
480 Test_number=J
490 Step$="UP20"
500 END SELECT
510 !
520 !***Obtain measurement results***
530 !
540 OUTPUT Testset;"SETUP:TROP:STEP "&Step$
550 ! Set step direction for measurement
560 OUTPUT Testset;"READ:TROP?"
570 ! Initiate Time Response of Open Loop measurement,
580 ! which automatically induces step change in direction
590 ! set by SETUP:TROP:STEP, then fetch results
600 ENTER Testset;Integrity,Pass_fail
610 !
620 SELECT Pass_fail
630 ! Assign pass/fail results to a string
640 CASE 0
650 Pass_fail$="PASS"
660 CASE 1
670 Pass_fail$="FAIL"
680 CASE ELSE
690 Pass_fail$="ERROR"
700 END SELECT
710 !
720 !***Print measurement results***
730 !
740 PRINT
750 PRINT "Test Number "&VAL$(Test_number)
760 PRINT "Integrity Indicator = ",Integrity
770 PRINT "TROLPC Test Result = ",Pass_fail$
780 !
790 NEXT J
800 !
810 PRINT
820 PRINT "Test 1 is +20 dB change"
830 PRINT "Test 2 is -20 dB change"
840 PRINT "Test 3 is -20 dB change"
850 PRINT "Test 4 is +20 dB change"
860 PRINT
870 PRINT "Time Response of Open Loop Power Control Test Complete"
880 !
890 !***Post test clean up***
900 !
910 OUTPUT Testset;"INIT:TROP:OFF"
920 ! Turn off measurement
930 OUTPUT Testset;"CALL:APPLICATION:ACKCHANNEL:BFMATTRIBUTE ON"
940 ! Turn ACK Channel Bit Fixed Mode Attribute back on
950 OUTPUT Testset;"CALL:APPLICATION:ATDPACKETS 50"
960 ! Set AT Directed Packets back to default value of 50%
970 OUTPUT Testset;"CALL:POW -55"
980 ! Set cell power back to initial level
990 DISP ""
1000 !
1010 END
|