26
<WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> Application Note Products: | R&S CMW500 | R&S CMW- KW400 <Application Note> <Thomas Lutz> <05.2010-1CM79>-<version 0.1>

Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

<WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> Application Note

Products:

| R&SCMW500

| R&SCMW-KW400

<App

licati

onNo

te>

<Tho

masL

utz>

<05.2

010-

1CM7

9>-<

versi

on0.1

>

Page 2: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Table of Contents

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 2

Table of Contents 1 Test Equipment Setup ........................................................... 4 1.1 R&S CMW500 WCDMA Arbitrary Waveform Playback Setup.................4 1.1.1 Step 1 – Enable the General Purpose RF Generator ................................4 1.1.2 Step 2 – Configure the General Purpose RF Generator ...........................4 1.1.3 Step 3 – Select the ARB File........................................................................5 1.1.4 Step 4 – Turn ON the General Purpose RF Generator..............................6 1.1.5 – Table of the General Purpose RF Generator Settings...........................6 1.1.6 Rohde & Schwarz WCDMA Non-signaling test arbitrary waveform

configuration.................................................................................................7 1.1.7 Rohde & Schwarz WinIQSIM2 control sequence ......................................8 1.1.7.1 Reset the tool................................................................................................8 1.1.7.2 Defining a TPC pattern with 170 zeros (target power around -10 dBm) .8 1.1.7.3 Appending 10 alternating bits and test pattern A.....................................8 1.1.7.4 Appending 50 zeros (test pattern B) ..........................................................8 1.1.7.5 Appending 50 ones (test pattern C) ...........................................................9 1.1.7.6 Appending 20 ones to be frame aligned ....................................................9 1.1.7.7 Appending 180 ones to return to maximum power ..................................9 1.1.7.8 Defining a the data list directory and write the TPC pattern to a file

e:\\ILPCpatternABC.dm_iqd ........................................................................9 1.1.7.9 Defining the scrambling code.....................................................................9 1.1.7.10 Primary CPICH definition.............................................................................9 1.1.7.11 Secondary CPICH definition (inactive).....................................................10 1.1.7.12 Primary SCH definition ..............................................................................10 1.1.7.13 Secondary SCH definition .........................................................................10 1.1.7.14 Primary CCPCH definition .........................................................................10 1.1.7.15 Secondary CCPCH definition (inactive) ...................................................10 1.1.7.16 PICH definition............................................................................................11 1.1.7.17 AICH definition (inactive)...........................................................................11 1.1.7.18 AP_AICH definition (inactive)....................................................................11 1.1.7.19 PDSCH definition (inactive).......................................................................11 1.1.7.20 Downlink DPCCH definition (inactive) .....................................................11 1.1.7.21 DPCH definition ..........................................................................................12 1.1.7.22 Definition of all other channels (12 to 137)..............................................12

Page 3: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Table of Contents

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 3

1.1.7.23 Marker definition.........................................................................................12 1.1.7.24 ARB Length.................................................................................................12 1.1.7.25 Query for the relative total power.............................................................13 1.1.7.26 Query for channel conflicts, syntax errors in the remote sequence ....13 1.1.7.27 Creation of the arbitrary waveform file ....................................................13 1.1.7.28 Rohde & Schwarz ARB File Marker Modification....................................13 1.1.8 R&S CMW500 Configuration for GPRF Power Uplink Signal

Measurement ..............................................................................................15 1.1.9 Measurement Settings ...............................................................................16 1.1.10 RF Settings..................................................................................................17 1.1.11 Measurement Control ................................................................................20 1.1.11.1 Repetition ....................................................................................................21 1.1.11.2 Display.........................................................................................................21 1.1.11.3 Marker..........................................................................................................22 1.1.12 Start the Measurement...............................................................................23 1.1.13 Automating a GPRF Power Measurement with the R&S CMW500 ......23 1.1.13.1 Configure the arbitrary signal generator to play the waveform ............23 1.1.13.2 Configure the R&S CMW500 analyzer to make a GPRF power

measurement ..............................................................................................24 1.1.13.3 Arm the measurement ...............................................................................25 1.1.13.4 Get the power measurement results ........................................................25

2 Summary............................................................................... 25

3 References............................................................................ 25

Page 4: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 4

1 Test Equipment Setup

1.1 R&S CMW500 WCDMA Arbitrary Waveform Playback Setup

The following details how to configure the R&S CMW500 General Purpose RF Generator for playback of an arbitrary waveform used for WCDMA inner loop power control tests, test pattern A, B and C. The waveform to execute playback on is:

• D:\Rohde-Schwarz\CMW\Data\waveform\RMC12_2_IlpcABC_0_9_36.wv

To start this arbitrary waveform file a software option KW400 on the R&S CMW500 is required

1.1.1 Step 1 – Enable the General Purpose RF Generator

1.1.2 Step 2 – Configure the General Purpose RF Generator

Page 5: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 5

1.1.3 Step 3 – Select the ARB File

To select the arbitrary waveform, press the ARB soft key on left side of R&S CMW screen, followed by the “Select ARB File …” soft key on the bottom

Navigate through the pop up dialog, e.g. rotating the spin wheel and select the desired arbitrary waveform file by pushing the spin wheel. Navigate the focus of the dialog to the OK button by rotating the spin wheel again. After selecting the OK button push the spin wheel again

Page 6: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 6

1.1.4 Step 4 – Turn ON the General Purpose RF Generator

To begin playing the arbitrary waveform, press the On/Off hard key button on the R&S CMW500 front panel, located along the top of the instrument, above the spin wheel.

1.1.5 – Table of the General Purpose RF Generator Settings

General Purpose RF Generator RF Configuration Parameter Settings Units

RF Routing User defined (suggest RF1 COM)

External Attenuation User defined (RF cable path loss) dB

Frequency 2112.4 MHz

Level (RMS) -65.0 dBm

Digital Gain 0.0 dB

List Mode Off

Baseband Configuration Baseband Mode ARB

Dual Tone Not applicable

ARB Configuration Repetition Continuous

ARB File Name D:\Rohde-Schwarz\CMW\Data\waveform\ RMC12_2_IlpcABC_0_9_36.wv

Trigger Retrigger Checked

Autostart Checked

Source Not applicable

List Configuration List Elements Not applicable

Page 7: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 7

1.1.6 Rohde & Schwarz WCDMA Non-signaling test arbitrary waveform configuration

The waveform described below is useful for testing WCDMA chipsets in non-signaling test mode using the Rohde & Schwarz CMW500 Wideband Radio Communication Tester. The signal provides everything needed in a downlink signal for a non-signaling test mode enabled device to synchronize and decode on downlink channel 10562. The signal can be used to perform inner loop power control tests for the test pattern A, B and C in one row. Changing the ARB file will cause the mobile to loose the synchronization. To prevent this, a multi-segment ARB generator mode is available on the R&S CMW500. Uplink signal measurements from the chip can be performed using the R&S CMW500 GPRF power measurement, which is part of the base instrument. Waveform file name: RMC12_2_IlpcABC_0_9_36.wv Waveform Content 360 millisecond long waveform (36 frames)

DL Primary Scrambling Code 0

DL Secondary Scrambling Code 0

DPCH Channel Code 9

Channel type 12.2kbps RMC

Power Control Bits:

• 170 times ‘0’s equal to 34 power steps down from maximum power to reach -10 dBm

• 10’ times alternating bits ’10 to align to a frame border

• Test pattern A as mentioned in the 3GPP specification (60 bits)

• 50 times ‘0’s (test pattern B)

• 50 times ‘1’s (test pattern C)’

• 200 times ‘1’s to return to maximum power and align the length of the arbitrary waveform file to a multiple of the TTI length

P-CPICH Level -3.3 dB

P-SCH Level -8.3 dB

S-SCH Level -8.3 dB

P-CCPCH Level –5.3 dB

PICH Level -8.3 dB

DPCH Level -10.3 dB

Page 8: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 8

1.1.7 Rohde & Schwarz WinIQSIM2 control sequence

The Rohde & Schwarz tool WinIQSIM2 can also be remote controlled to define the parameters, which are used to generate the arbitrary waveform file. The remote interface behaves like a standard remote interface of a signal generator based on a SCPI syntax using an VISA driver to control a TCP/IP connection to “localhost”. The leading “WinIQSIM: ” is not part of the command, this is only used as a address symbol in this Rohde & Schwarz remote script tools

1.1.7.1 Reset the tool

1.1.7.2 Defining a TPC pattern with 170 zeros (target power around -10 dBm)

1.1.7.3 Appending 10 alternating bits and test pattern A

1.1.7.4 Appending 50 zeros (test pattern B)

for index in range (0,50): ilpc_tpc_pattern = ilpc_tpc_pattern + ',0'

for index in range (0,5): ilpc_tpc_pattern = ilpc_tpc_pattern + ',1,0' ilpc_tpc_patternA = ",1,0,0,0,0,0,1,0,1,0,1,0,1,0,1,1,1,1,1,0,1,0,0,0,0,0,1,0,1,0,1,0,1,0,1,1,1,1,1,0,1,0,0,0,0,0,1,0,1,0,1,0,1,0,1,1,1,1,1,0" ilpc_tpc_pattern = ilpc_tpc_pattern + ilpc_tpc_patternA

ilpc_tpc_pattern = "0" # append 169 zeros for index in range (0,169): ilpc_tpc_pattern = ilpc_tpc_pattern + ',0'

buffout = [ ] WINIQSIM2: *IDN? WINIQSIM2: *RST WINIQSIM2: *CLS WINIQSIM2: BB:W3GP:STAT OFF

Page 9: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 9

1.1.7.5 Appending 50 ones (test pattern C)

1.1.7.6 Appending 20 ones to be frame aligned

1.1.7.7 Appending 180 ones to return to maximum power

1.1.7.8 Defining a the data list directory and write the TPC pattern to a file e:\\ILPCpatternABC.dm_iqd

1.1.7.9 Defining the scrambling code

The primary scrambling code is defined with 4 digits followed by the secondary scrambling code with 1 digit

1.1.7.10 Primary CPICH definition

for index in range (0,180): ilpc_tpc_pattern = ilpc_tpc_pattern + ',1'

for index in range (0,50): ilpc_tpc_pattern = ilpc_tpc_pattern + ',1'

for index in range (0,20): ilpc_tpc_pattern = ilpc_tpc_pattern + ',1'

WINIQSIM2: MMEM:CDIR 'e:\\' WINIQSIM2: MMEM:MDIR 'e:\\' WINIQSIM2: SOUR:BB:DM:DLIS:SEL "e:\\ ILPCpatternABC" buffout = "SOUR:BB:DM:DLIS:DATA " + ilpc_tpc_pattern WINIQSIM2.write(buffout)

WINIQSIM2.write('BB:W3GP:BST1:SCOD #H0000') WINIQSIM2: BB:W3GP:BST1:SCOD:STAT ON

Page 10: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 10

1.1.7.11 Secondary CPICH definition (inactive)

1.1.7.12 Primary SCH definition

1.1.7.13 Secondary SCH definition

1.1.7.14 Primary CCPCH definition

1.1.7.15 Secondary CCPCH definition (inactive)

WINIQSIM2: BB:W3GP:BST1:CHAN5:STAT OFF WINIQSIM2: BB:W3GP:BST1:CHAN5:POW -5.3 WINIQSIM2: BB:W3GP:BST1:CHAN5:CCOD 4 WINIQSIM2: BB:W3GP:BST1:CHAN5:DATA PN9 WINIQSIM2: BB:W3GP:BST1:CHAN5:SFOR 4 WINIQSIM2: BB:W3GP:BST1:CHAN5:TOFF 0

WINIQSIM2: BB:W3GP:BST1:CHAN4:STAT ON WINIQSIM2: BB:W3GP:BST1:CHAN4:POW -5.3 WINIQSIM2: BB:W3GP:BST1:CHAN4:CCOD 1 WINIQSIM2: BB:W3GP:BST1:CHAN4:DATA PN9 WINIQSIM2: BB:W3GP:BST:ENH:PCCP:CCOD:STAT ON WINIQSIM2: BB:W3GP:BST:ENH:PCCP:STAT ON

WINIQSIM2: BB:W3GP:BST1:CHAN3:STAT ON WINIQSIM2: BB:W3GP:BST1:CHAN3:POW -8.3

WINIQSIM2: BB:W3GP:BST1:CHAN2:STAT ON WINIQSIM2: BB:W3GP:BST1:CHAN2:POW -8.3

WINIQSIM2: BB:W3GP:BST1:CHAN1:STAT OFF WINIQSIM2: BB:W3GP:BST1:CHAN1:POW -3.3 WINIQSIM2: BB:W3GP:BST1:CHAN1:CCOD 7

WINIQSIM2: BB:W3GP:BST1:CHAN0:STAT ON WINIQSIM2: BB:W3GP:BST1:CHAN0:POW -3.3

Page 11: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 11

1.1.7.16 PICH definition

1.1.7.17 AICH definition (inactive)

1.1.7.18 AP_AICH definition (inactive)

1.1.7.19 PDSCH definition (inactive)

1.1.7.20 Downlink DPCCH definition (inactive)

WINIQSIM2: BB:W3GP:BST1:CHAN10:STAT OFF

WINIQSIM2: BB:W3GP:BST1:CHAN9:STAT OFF

WINIQSIM2: BB:W3GP:BST1:CHAN8:STAT OFF

WINIQSIM2: BB:W3GP:BST1:CHAN7:STAT OFF WINIQSIM2: BB:W3GP:BST1:CHAN7:POW -8.3 WINIQSIM2: BB:W3GP:BST1:CHAN7:CCOD 2

WINIQSIM2: BB:W3GP:BST1:CHAN6:STAT ON WINIQSIM2: BB:W3GP:BST1:CHAN6:POW -8.3 WINIQSIM2: BB:W3GP:BST1:CHAN6:CCOD 16 WINIQSIM2: BB:W3GP:BST1:CHAN6:DATA PN9 WINIQSIM2: BB:W3GP:BST1:CHAN6:TOFF 0

Page 12: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 12

1.1.7.21 DPCH definition

The code channel is 9. It is using aRMC12.2 coded channel with transport format combination index 3. The data source is a PRBS-9 sequence ILPC defined by data list e:\\ILPCpatternABC.dm_iqd

1.1.7.22 Definition of all other channels (12 to 137)

1.1.7.23 Marker definition

1 = ARB length 2 = ARB length 3 = Slot 4 = Frame

1.1.7.24 ARB Length

Defined with number of frames WINIQSIM2: BB:W3GP:SLEN 16 WINIQSIM2: BB:W3GP:STAT ON;*OPC?

WINIQSIM2: SOUR:BB:W3GP:TRIG:OUTP1:MODE CSP WINIQSIM2: SOUR:BB:W3GP:TRIG:OUTP2:MODE CSP WINIQSIM2: SOUR:BB:W3GP:TRIG:OUTP3:MODE SLOT WINIQSIM2: SOUR:BB:W3GP:TRIG:OUTP4:MODE RFR

for index in range (12, 138): buffout = "BB:W3GP:BST1:CHAN" + str(index) + ":STAT OFF" WINIQSIM2.write(buffout) buffout = "BB:W3GP:BST1:CHAN" + str(index) + ":POW 0.0" WINIQSIM2.write(buffout) buffout = "BB:W3GP:BST1:CHAN" + str(index) + ":TOFF 0" WINIQSIM2.write(buffout)

WINIQSIM2: BB:W3GP:BST1:CHAN11:STAT ON WINIQSIM2: BB:W3GP:BST1:CHAN11:POW -10.3 WINIQSIM2: BB:W3GP:BST1:CHAN11:CCOD 9 WINIQSIM2: BB:W3GP:BST1:CHAN11:DATA PN9 WINIQSIM2: BB:W3GP:BST1:CHAN11:TOFF 0 WINIQSIM2: BB:W3GP:BST:ENH:CHAN11:DPCH:CCOD:TYPE M12K2 WINIQSIM2: BB:W3GP:BST:ENH:CHAN11:DPCH:CCOD:STAT ON WINIQSIM2: BB:W3GP:BST:ENH:CHAN11:DPCH:STAT ON WINIQSIM2: BB:W3GP:BST:ENH:CHAN11:DPCH:TCH1:DATA PN9 WINIQSIM2: BB:W3GP:BST1:CHAN11:DPCC:TFCI 3 WINIQSIM2: BB:W3GP:BST1:CHAN11:DPCC:TFCI:STATE ON WINIQSIM2: BB:W3GP:BST1:CHAN11:DPCC:TPC:DATA DLIS WINIQSIM2: BB:W3GP:BST1:CHAN11:DPCC:TPC:DATA:DSEL "e:\\ILPCpatternABC" WINIQSIM2: BB:W3GP:BST1:CHAN11:DPCC:TPC:READ CONT

Page 13: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 13

1.1.7.25 Query for the relative total power

1.1.7.26 Query for channel conflicts, syntax errors in the remote sequence

1.1.7.27 Creation of the arbitrary waveform file

1.1.7.28 Rohde & Schwarz ARB File Marker Modification

In a last step the marker 3 inside the arbitrary waveform file needs to be modified. For this purpose Rohde & Schwarz provides a tool called “Waveform Tag Editor”. Open the arbitrary waveform file “RMC12_2_IlpcABC_09_36.wv” with the “Waveform Tag Editor” and modify the entry of Marker List 3 to:

This line can be interpreted in the following way:

• 0:0; at sample 0 the marker Signal at level “0” • 1382400:1 at sample 1382400 the marker Signal is changing to “1” • 1382403:0 at sample 1382403 the marker Signal is changing back to “0” • 4147199:0 the period of the marker is defined by the last sample.

The sample rate of this arbitrary waveform file is means the period is 11.52 MSamples/second. The number of samples 4147200. In other words the length of the file is:

WINIQSIM2: SOUR:BB:W3GP:WAV:CRE "e:\RMC12_2_IlpcABC_0_9_36.wv" WINIQSIM2: SYST:ERR?

ondssec36.0115200004147200

=

0:0;1382400:1;1382403:0;4147199:0

WINIQSIM2: BB:W3GP:BST1:DCON? WINIQSIM2: SYST:ERR?

WINIQSIM2: BB:W3GP:POW?

Page 14: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 14

The position of the marker inside the ARB file can be calculated in the following way:

The modification of the marker 3 is used to define the start point of the GPRF power measurement. With this offset of 120 milliseconds it starts at the position of the test pattern A. The length of the measurement corresponds to:

• 60 slots test pattern A • 50 slots test pattern B • 50 slots test pattern C

The following screenshot shows the dialog of the tool “Waveform Tag Editor”

ondssec12.0115200001382400

=

Page 15: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 15

1.1.7.29 Changing Markers in the Rohde & Schwarz WinIQSIM2 control sequence

The described modification of the marker 3 can also be done inside the WinIQSIM2 control sequence. The following subroutine exchanges the marker definition of the ARB file.

This subroutine will be used at the end of the sequence like this

1.1.8 R&S CMW500 Configuration for GPRF Power Uplink Signal Measurement

The following describes how to configure the R&S CMW500 to perform a measurement on the uplink WCDMA transmitter. First, enable the WCDMA TX Measurement option on, by checking its enable radio button from the Measurement Controller sub panel. This menu can be found by pressing the Measure hard key found along the top of the R&S CMW500 front panel, above the number keypad.

WaveformFile = "e:\\RMC12_2_IlpcABC_0_9_36.wv" NEWMARKER3 = "{MARKER LIST 0:0;1382400:1;1382403:0;4147199:0}" ModifyMarker3(WaveformFile, NEWMARKER3)

def ModifyMarker3(filename, newmarker): MARKERTAG = "{MARKER LIST 3" TAGEND = "}" i = filename.rfind(".wv") tempname = filename[0:i]+".tmp" os.rename (filename,tempname)

fOriginal = open(tempname, "rb") fModified = open(filename, "wb+")

aLine = fOriginal.readline() fOriginal.seek(0)

startpos = aLine.find(MARKERTAG) endpos = aLine.find(TAGEND,startpos)

str = fOriginal.read(startpos) fModified.write(str)

fOriginal.seek(endpos+1) fModified.write(newmarker)

str = fOriginal.read(-1) fModified.write(str) fOriginal.close() fModified.close() os.remove(tempname)

Page 16: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 16

1.1.9 Measurement Settings

Next find and press the following soft key on from the GPRF Power Measurement – screen. If this soft key is not yet visible, use the Tasks hard key.

The Tasks hard key shows the available currently enabled (loaded) software features and to select this feature. Press the soft key “GPRF Power”

The displayed soft keys row along the bottom of the LCD display should change to one of the GPRF Power Measurement controls like shown below.

Page 17: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 17

1.1.10 RF Settings

The total configuration consists of four different parts:

• Trigger configuration • List mode configuration • Filter configuration • Measurement control.

Start by pressing the “Config…” on the right side of the displayed soft keys row along the bottom of the LCD display. Please define the trigger settings in this shown pop up menu now. Additionally configure the Start index (0) and the Stop Index (159) of the list mode and activate the list mode.

Press the “Config…” button again to return to the main window. In the second step press the “List Config.” Button on the right side of the displayed soft keys row along the bottom of the LCD display. Start to fill out the pop up dialog like shown below and afterwards press the button “Apply”. Enter the Start Index (0) and the Index Range (160), followed by the Frequency and the Level. The frequency increment and the level increment should both be 0.0. These 160 steps belong to the slots of test pattern A, B and C

Page 18: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 18

• 60 slots test pattern A • 50 slots test pattern B • 50 slots test pattern C

Return to the main screen by the button “Cancel” now. In this main window, the filter configuration and the step configuration can be done. Use the spin wheel to change from edit field to next edit field. The trigger offset 291.66 microseconds belongs to the 1024 chips offset between downlink and the uplink signal plus 25 microseconds guard period.

Page 19: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 19

The following table summarizes how to configure the following parameters to these values: GPRF Power Measurements RF Configuration Parameter Settings Units

RF Routing User defined (suggest RF1 COM)

External Attenuation User defined (RF cable path loss) dB

Frequency Defined by the list mode configuration MHz

Expected Power Level (RMS) Defined by the list mode configuration dBm

User Margin 6.0 dB

List Mode On

Trigger Trigger Source ‘GPRF Generator : Restart Marker'

Trigger Timeout 1000 (default) msec.

Trigger Offset 291,66 µsec.

Trigger Mode “Trigger once” for single shot measurements or “Retrigger sweep” for single shot and continuous mode

Statistic Counts Power 1 Slot

List Configuration List Elements 160

Start index 0

Stop index 159

Frequency 1922.4 MHz

Expected Power (index 0 to 159) 0.0 dBm

Filter Configuration Bandwidth 5.0 or 10.0 MHz

Filter Type Bandpass

Filter Configuration Step Length 666.66666666667 (1 slot) µsec.

Measurement Length 616.0 µsec.

The R&S CMW500 LCD screen should look like the following:

Page 20: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 20

The display range of the Y-axis can be optimized by pressing the following soft key on the right-hand column of the LCD screen

Configure the range by pressing the softkey “Y Scale Power…” and the shown popup dialog.

1.1.11 Measurement Control

The big benefit in of the test steps A, B and C in combination with the filling power control bits in the beginning and end is, that the measurements starts and stops at exactly the same condition with maximum power. That gives additionally the possibility to perform the measurement also in a continuous mode

Page 21: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 21

Find and press the following soft key on the right-hand column of the LCD screen.

1.1.11.1 Repetition

Set the repetition mode to “Continuous”

It is possible to analyze the standard deviation of the power results for each TX power step. Press the following soft key on the right-hand column of the LCD screen

1.1.11.2 Display

Look for the softkey “Standard Dev”, which toggles between the state “Show” and “Hide”

Page 22: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 22

Press the following soft key on the right-hand column of the LCD screen

1.1.11.3 Marker

In addition press the soft key “Marker…” and change this value e.g. by rotating the spin wheel of the R&S CMW500.

The fields above the Marker pop up dialog show the power results at this marker position.

Page 23: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 23

1.1.12 Start the Measurement

The measurement can be manually executed (triggered) by pressing the ON/OFF hard key on the front panel of the R&S CMW500, located along the top of the instrument, above the spin wheel.

1.1.13 Automating a GPRF Power Measurement with the R&S CMW500

The following SCPI command code is an example of how to configure the R&S

CMW500 signal generator and signal analyzer to perform a non-signaling WCDMA uplink TX measurement on non signaling enabled WCDMA chipset. The leading “CMW: ” is not part of the command, this is only used as a address symbol in Rohde & Schwarz remote script tools.

1.1.13.1 Configure the arbitrary signal generator to play the waveform

Whenever loading an ARB file, you should ensure it was present on the selected path. The verification can be achieved by querying the currently loaded ARB file. A return string "No File Selected" would be an indication, that the file is not present.

Page 24: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Test Equipment Setup

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 24

1.1.13.2 Configure the R&S CMW500 analyzer to make a GPRF power measurement

Slot timing and filter configuration, user margin corresponding to the crest factor of the signal

Trigger timing defined by generator marker. The trigger mode could also be “trigger once” instead of “retrigger sweep, but the “retrigger sweep” mode also works in continuous mode

List mode uses 160 entries for the same frequency

List mode uses 160 entries for the expected power

Definition of the start and stop index

buffout = "CONF:GPRF:MEAS:POW:LIST:ENP:ALL 0.0" for index in range (1,160): buffout = buffout + ",0.0" CMW.write(buffout)

CMW: CONF:GPRF:MEAS:POW:LIST:STAR 0;STOP 159

buffout = "CONF:GPRF:MEAS:POW:LIST:FREQ:ALL 1.9224E9" for index in range (1,160): buffout = buffout + ",1.9224E9" CMW.write(buffout)

CMW: TRIG:GPRF:MEAS:POW:SOUR " GPRF Gen1: Waveform Marker 3" CMW: TRIG:GPRF:MEAS:POW:MODE SWE CMW: CONF:GPRF:MEAS:POW:TRIG:OFFS 291.66E-6 CMW: CONF:GPRF:MEAS:POW:TRIG:TOUT 300 CMW: CONF:GPRF:MEAS:POW:LIST ON

CMW: CONF:GPRF:MEAS:RFS:ENP 24 CMW: CONF:GPRF:MEAS:RFS:UMAR 6 CMW: CONF:GPRF:MEAS:POW:SLEN 666.67E-6 CMW: CONF:GPRF:MEAS:POW:MLEN 616.60E-6 CMW: CONF:GPRF:MEAS:POW:SCO 1 CMW: CONF:GPRF:MEAS:POW:FILT:TYPE BAND CMW: CONF:GPRF:MEAS:POW:FILT:BAND:BWID 10E6

CMW: ROUT:GPRF:GEN1:RFS:CONN RF1C CMW: SOUR:GPRF:GEN1:BBM ARB CMW: SOUR:GPRF:GEN1:RFS:FREQ 2112.4e6 CMW: SOUR:GPRF:GEN1:RFS:EATT 1 CMW: SOUR:GPRF:GEN1:RFS:LEV -65 CMW: SOUR:GPRF:GEN1:ARB:FILE 'd:\\ :\\Rohde-Schwarz\\CMW\\data\\waveform\\RMC12_2_IlpcABC_0_9_36.wv' CMW: SOUR:GPRF:GEN1:ARB:FILE? CMW: SOUR:GPRF:GEN1:ARB:REP CONT CMW: TRIG:GPRF:GEN1:ARB:RETR ON CMW: TRIG:GPRF:GEN1:ARB:AUT ON CMW: SOUR:GPRF:GEN1:LIST OFF CMW: SYST:ERR? CMW: SOUR:GPRF:GEN1:STAT ON;*OPC?

Page 25: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

Summary

<1CM79_0E> Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using ARB files on the R&S CMW 500> 25

1.1.13.3 Arm the measurement

1.1.13.4 Get the power measurement results

2 Summary The application note explains how to create and use an arbitrary waveform file to perform WCDMA inner loop power control tests, test pattern A, B and C for a non-signaling test mode enabled device.

3 References [1] User manual of the R&S CMW 500 or R&S CMW 280 radio communication

tester. [2] Software manual for the R&S WinIQSim Simulation Software [3] Software manual for the R&SWinIQSim Options xxx-K42/ -K242/ -K43/ -

K243/ -K45/ -K245/ -K59/ -K259/ -KW401/ -KW402 3GPP FDD, HSDPA, HSUPA and HSP

Index AArm the GPRF Power Measurement........................................ 25 Automating a GPRF Power Measurement ............................... 23

CConfigure the ARB generator................................................... 23 Configure the GPRF Generator.................................................. 4 Configure the GPRF power measurement ............................... 24

EEnable the GPRF Generator...................................................... 4

G

Get the GPRF power measurement results.............................. 25

MMeasurement Control ...............................................................20 Measurement Settings..............................................................16

RRF Settings of the GPRF Power Measurement.........................17

S

Select the ARB File ....................................................................5 Start the GPRF Power Measurement .......................................23

T

Table of the GPRF Generator Settings ....................................6,7 Turn On the GPRF Generator..................................................6,8

CMW: FETC:GPRF:MEAS:POW:CURR?

CMW: INIT:GPRF:MEAS:POW;*OPC?

Page 26: Application Note Template - cdn.rohde-schwarz.com...Test Equipment Setup  Rohde & Schwarz < WCDMA Inner Loop Power Control tests, test pattern A, B and C, using

W WCDMA Uplink Measurements for test pattern A, B and C.......15

About Rohde & Schwarz Rohde & Schwarz is an independent group of companies specializing in electronics. It is a leading supplier of solutions in the fields of test and measurement, broadcasting, radiomonitoring and radiolocation, as well as secure communications. Established 75 years ago, Rohde & Schwarz has a global presence and a dedicated service network in over 70 countries. Company headquarters are in Munich, Germany.

Environmental commitment ● Energy-efficient products ● Continuous improvement in

environmental sustainability ● ISO 14001-certified environmental

management system

Regional contact

USA & Canada USA: 1-888-TEST-RSA (1-888-837-8772) from outside USA: +1 410 910 7800 [email protected]

East Asia +65 65 13 04 88 [email protected]

Rest of the World +49 89 4129 137 74 [email protected]

This application note and the supplied programs may only be used subject to the conditions of use set forth in the download area of the Rohde & Schwarz website.

R&S® is a registered trademark of Rohde & Schwarz GmbH & Co. KG. Trade names are trademarks of the owners.

Rohde & Schwarz GmbH & Co. KG Mühldorfstraße 15 | D - 81671 München Phone + 49 89 4129 - 0 | Fax + 49 89 4129 – 13777 www.rohde-schwarz.com