Programming a Digital Average Power Measurement

Programming a Digital Average Power 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

  1. 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.
  2. Prompt the user to establish an RTAP data connection. See Step 4: Make a connection for more details.
  3. Set up the access parameters as needed using the CALL:APARameter commands.
  4. Set up the digital average power measurement parameters as needed using the SETup:DAPower commands.
  5. Set cell power as needed using the CALL:POWer command.
  6. Set the Reverse Closed Loop Power Control mode as needed using the CALL[:CELL[1]]:CLPControl:REVerse:MODE<[:SELected]|:TA856> command.
  7. Initiate the digital average power measurement using the INITiate:<measurement mnemonic>[:ON] command. The <measurement mnemonic> for the digital average power measurement is DAPower.
  8. Use the FETCh:DAPower commands to obtain the measurement results. (You can also replace steps 7 and 8 with a single command - READ:DAPower[:ALL]? ).

Programming Example: 4.3.4 Maximum RF Output Power

 
10 ! 4.3.4 Maximum RF Output Power
20 ! This programming example assumes the access terminal
30 ! is connected to the test set and in a 153.6 kbps
40 ! RTAP data connection.
50 !
60       Testset=714
70 !
80       DISP "Measuring Maximum Power"
90 !
100 !***Set up test parameters***
110 !
120       Ior=-60
130       ! Set cell power for test
140       Ol_adjust=84
150       ! Set Open Loop Adjust for Band Class 4
160 !
170       OUTPUT Testset;"CALL:APAR:POWER:OLADJUST ";Ol_adjust
180       ! Set Open Loop Adjust
190       OUTPUT Testset;"CALL:APAR:PROBE:IADJUST 15"
200       ! Set Probe Initial Adjust
210       OUTPUT Testset;"CALL:APAR:PROBE:STEP:COUNT 15"
220       ! Set Probe Num Steps
230       !OUTPUT Testset;"CALL:APAR:PROBE:SEQUENCE 15"
240       ! Set Probe Sequence Max - this parameter setting is required
250       ! by C.S0033 but does not affect test results. It is a legacy
260       ! parameter setting from IS-98. Changing this parameter drops
270       ! the connection, as required by C.S0024. It is recommended not
280       ! to send this command.
290       OUTPUT Testset;"CALL:APAR:PROBE:POWER:STEP 7.5"
300       ! Set Probe Step
310 !
320 !***Set up measurement parameters***
330 !
340       OUTPUT Testset;"SETUP:DAPOWER:CONTINUOUS OFF"
350       ! Set measurement to single trigger
360       OUTPUT Testset;"SETUP:DAPOWER:TIMEOUT 1"
370       ! Set DIGITAL Power timeout to 1 sec
380 !
390 !***Set test conditions***
400 !
410       OUTPUT Testset;"CALL:POW ";Ior
420       ! Set Cell Power for Test
430       OUTPUT Testset;"CALL:CLPCONTROL:REVERSE:MODE UP"
440       ! Start transmission of All Up (0) power control bits
450       WAIT 1
460       ! Settling time to allow mobile power to slew up to maximum power
470 !
480 !***Obtain measurement results***
490 !
500       OUTPUT Testset;"INITIATE:DAPOWER"
510       ! Initiate digital average power measurement
520 !
530       OUTPUT Testset;"FETCh:DAPOWER?"
540       ! Fetch the digital average power measurement results
550       ENTER Testset;Integrity,Avg_power_dbm
560 !
570       Avg_power_dbw=Avg_power_dbm-30
580       ! Convert dBm to dBW
590 !
600 !***Print Max Power Test Results***
610 !
620       CLEAR SCREEN
630       PRINT "Max Power Test Results:"
640       PRINT
650       PRINT "Integrity Indicator = ",Integrity
660       PRINT "Maximum Power (dBm) = ",Avg_power_dbm
670       PRINT "Maximum Power (dBW) = ",Avg_power_dbw
680       PRINT
690       PRINT "Maximum Output Power Test Complete"
700 !
710 !***Post test clean up***
720 !
730       OUTPUT Testset;"CALL:CLPCONTROL:REVERSE:MODE ACTIVE"
740       ! Return to active power control bits
750       OUTPUT Testset;"CALL:POW -55"
760       ! Set cell power back to initial level
770       ! Do this before reconfiguring other parms so signaling
780       OUTPUT Testset;"CALL:APAR:PROBE:IADJUST 0"
790       ! Set Access parameters for test
800       OUTPUT Testset;"CALL:APAR:PROBE:STEP:COUNT 5"
810       ! Set Access parameters for test
820       !OUTPUT Testset;"CALL:APAR:PROBE:SEQUENCE 1"
830       ! Set Access parameters for test (not necessary if commented
840       ! out command before test)
850       OUTPUT Testset;"CALL:APAR:PROBE:POWER:STEP 1"
860       ! Set Access paramters for test
870       OUTPUT Testset;"INIT:DAP:OFF"
880       ! Turn digital ave power off
890       DISP ""
900 !
910       END

Related Topics


Digital Average Power Measurement Description

Manual Operation: Measuring Digital Average Power

Digital Average Power Troubleshooting

4.3.4 Maximum RF Output Power


Programming: Getting Started Guide for 1xEV-DO Terminal Test