background image

Recommended Test Equipment

Table 1-1 lists the test equipment recommended for testing, adjusting, and
servicing the AFG. Essential requirements for each piece of test equipment
are described in the "Requirements" column.

Table 1-1. Recommended Test Equipment

Instrument

Requirements

Recommended

Model

Use*

Controller, HP-IB

HP-IB compatibility as defined by IEEE
Standard 488-1988 and the identical ANSI
Standard MC1.1:  SH1, AH1, T2, TE0, L2,
LE0, SR0, RL0, PP0, DC0, DT0, and C1, 2, 3,
4, 5.

HP 9000 Series 300
or
IBM compatible PC with HP
BASIC

F,O,
P,A,T

Mainframe

Compatible with AFG

HP E1300A/E1301A, E1302A,
or 
HP E1400B/T, E1421A  (w/HP
E1405/E1406)

F,O,
P,A,T 

Digital Multimeter

DCV, ACV

HP 3458A

O,P,
A,T

Power Meter

Frequency Range:  100 kHz - 20 MHz

HP 8902A

P,A

Power Sensor

Frequency Range:  100 kHz - 20 MHz

HP 11722A

P,A

Counter

Frequency Range:  up to 45  MHz

HP 5334A/B

P

Spectrum Analyzer
(low frequency)

Frequency Range:  100 kHz - 40  MHz

HP 3585A/B

O,P

Spectrum Analyzer
(high frequency)

Frequency Range:  1 MHz - 150  MHz

HP 8566B/8568B

P

Oscilloscope

General Purpose 
Bandwidth:  20 MHz

HP 54111D

F

50 

 feed-thru

termination

50 

±

 0.10 

HP 11048C

P

  *  F = Functional Verification,  O = Operation Verification Tests, P = Performance Verification
      Tests, A = Adjustments, T = Troubleshooting

Chapter 1

General Information  19

Summary of Contents for E1340A

Page 1: ...umbers 18 Recommended Test Equipment 19 Chapter 2 Verification Tests 21 Introduction 21 Test Conditions and Procedures 21 Performance Test Record 21 Verification Test Examples 21 Command Coupling 22 Functional Verification 22 Operation Verification 29 Performance Verification 29 Performance Test Record 57 AFG Test Limits 57 Measurement Uncertainty 57 Test Accuracy Ratio TAR 57 Chapter 3 Adjustment...

Page 2: ...Verification Tests C Programs 85 Functional Verification Tests 85 Functional Verification Self Test 85 Functional Verification Aux In Test 86 Functional Verification Aux Out Test 87 Performance Verification Tests 89 Test 2 1 DC Accuracy 89 Test 2 2 DC Offset 90 Test 2 3 AC Accuracy 92 Test 2 4 AC Flatness 94 Test 2 5 Frequency Accuracy 96 Test 2 6 Total Harmonic Distortion 97 Test 2 7 Spurious and...

Page 3: ...oducts that result from the Buyer s circuitry In addition HP does not warrant any damage that oc curs as a result of the Buyer s circuit or any defects that result from Buyer supplied products NO OTHER WARRANTY IS EXPRESSED OR IMPLIED HP SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Exclusive Remedies THE REMEDIES PROVIDED HEREIN ARE BUYER S ...

Page 4: ...r shields are for use by service trained personnel only Under certain conditions dangerous voltages may exist even with the equipment switched off To avoid dangerous electrical shock DO NOT perform procedures involving cover or shield removal unless you are qualified to do so DO NOT operate damaged equipment Whenever it is possible that the safety protection features built into this product have b...

Page 5: ...991 Group1 Class A IEC 801 2 1991 EN50082 1 1992 4kVCD 8kVAD IEC 801 3 1984 EN50082 1 1992 3 V m IEC 801 4 1988 EN50082 1 1992 1kV PL 0 5kV SL Supplementary Information The product herewith complies with the requirements of the Low Voltage Directive 73 23 EEC and the EMC Directive 89 336 EEC and carries the CE marking accordingly Tested in a typical HP B size VXI configuration European contact You...

Page 6: ...Notes 6 HP E1340A Arbitrary Function Generator Service Manual ...

Page 7: ...well organized O O O O O Instructions are easy to understand O O O O O The documentation is clearly written O O O O O Examples are clear and useful O O O O O Illustrations are clear and helpful O O O O O The documentation meets my overall expectations O O O O O Please write any comments or suggestions below be specific cut along this line fold here Your Name Company Name Job Title Address City Sta...

Page 8: ......

Page 9: ...ories Also lists the test equipment required for service 2 Verification Tests Functional verification operation verification and performance verification tests 3 Adjustments Procedures for adjusting the instrument to within its rated specifications 4 Replaceable Parts Lists part numbers for user replaceable parts in the arbitrary function generator Provides information on ordering spare parts and ...

Page 10: ...Notes 12 What s in this Manual HP E1340A Service Manual ...

Page 11: ...y Function Generator AFG See the HP E1340A User s Manual for additional information Figure 1 1 shows the HP E1340A This chapter includes the following sections Introduction Safety Considerations Inspection Shipping Environment AFG Description Recommended Test Equipment Figure 1 1 HP E1340A Arbitrary Function Generator Chapter 1 General Information 13 ...

Page 12: ...es in this manual or do any servicing unless you are qualified to do so CHECK MAINFRAME POWER SETTINGS Before applying power verify that the mainframe setting matches the line voltage and that the correct fuse is installed An uninterruptible safety earth ground must be provided from the main power source to the supplied power cord set GROUNDING REQUIREMENTS Interruption of the protective grounding...

Page 13: ...ainframe has been disconnected from its source of supply USE PROPER FUSES For continued protection against fire hazard replace the line fuses only with fuses of the same current rating and type such as normal blow time delay etc Do not use repaired fuses or short circuited fuseholders CAUTION Static electricity is a major cause of component failure To prevent damage to the electrical components in...

Page 14: ...the steps in Figure 1 2 as guidelines to perform initial inspection of the AFG WARNING To avoid possible hazardous electrical shock do not perform electrical tests if there are signs of shipping damage to the shipping container or to the instrument Figure 1 2 Initial Incoming Inspection Guidelines 16 General Information Chapter 1 ...

Page 15: ... 75 to 100 mm 3 to 4 inches of shock absorbing material around the module Seal the shipping container securely Mark the shipping container FRAGILE 3 Ship the module to Hewlett Packard Place address label on shipping carton Send carton to Hewlett Packard We recommend that you use the same shipping materials as those used in factory packaging available from Hewlett Packard For other commercially ava...

Page 16: ...ommand Module using Standard Commands for Programmable Instruments SCPI AFG Specifications AFG specifications are listed in Appendix A of the HP E1340A User s Manual These specifications are the performance standards or limits against which the instrument may be tested AFG Options Arbitrary Waveform Generation Software for HP 9000 Series 300 computers can be ordered as Option 005 AFG Serial Number...

Page 17: ... Mainframe Compatible with AFG HP E1300A E1301A E1302A or HP E1400B T E1421A w HP E1405 E1406 F O P A T Digital Multimeter DCV ACV HP 3458A O P A T Power Meter Frequency Range 100 kHz 20 MHz HP 8902A P A Power Sensor Frequency Range 100 kHz 20 MHz HP 11722A P A Counter Frequency Range up to 45 MHz HP 5334A B P Spectrum Analyzer low frequency Frequency Range 100 kHz 40 MHz HP 3585A B O P Spectrum A...

Page 18: ...Notes 20 General Information Chapter 1 ...

Page 19: ...he tests more often The verification tests assume that the person performing the tests understands how to operate the mainframe the AFG and specified test equipment The test procedures do not specify equipment settings for test equipment except in general terms It is assumed that a qualified service trained technician will select and connect the cables adapters and probes required for the test Per...

Page 20: ...ands with a semi colon and a colon as illustrated below FUNC SIN VOLT 1VRMS In the example programs these commands would appear as follows OUTPUT 70910 FUNC SIN OUTPUT 70910 VOLT 1VRMS Functional Verification The purpose of these tests is to verify that the AFG is functioning properly and that all front panel inputs and outputs are working No attempt is made to verify that the AFG is meeting speci...

Page 21: ...5 Read the result A 0 indicates that the test passed A 1 indicates a failure Read the error queue using the SYST ERR command until the code is 0 Example Program 10 RE STORE SELF_TEST 20 DIM Message 255 30 INTEGER Result 40 50 Set up I O path 60 ASSIGN Afg TO 70910 70 80 Perform Self test 90 OUTPUT Afg RST CLS 100 OUTPUT Afg TST 110 ENTER Afg Result 120 IF Result 0 THEN 130 PRINT SELF TEST FAILED 1...

Page 22: ...ocedure 1 Reset the AFG RST CLS Reset AFG and clear status registers 2 Set up the equipment as shown in Figure 2 1 Set the scope to 2 V div 02 msec div 3 Send the following commands to the mainframe to set up the Pacer port RST Reset AFG PULS COUN INF Infinite pulse count PULS PER 2 S 2 second period Figure 2 1 Aux In Test Setup 24 Verification Tests Chapter 2 ...

Page 23: ... RE STORE AUX_IN 20 30 Set up I O path 40 ASSIGN Afg TO 70910 50 ASSIGN Pacer TO 70900 60 70 Initialize AFG Mainframe Pacer 80 OUTPUT Afg RST CLS Reset AFG 90 100 Set up Mainframe Pacer port 110 OUTPUT Pacer RST 120 OUTPUT Pacer PULS COUN INF Infinite pulse count 130 OUTPUT Pacer PULS PER 2 S 2 second period 140 150 Connect equipment 160 CLEAR SCREEN 170 PRINT Set Scope to 2 V div 02 msec div 180 ...

Page 24: ...T IMM Initiate Pacer 320 330 PRINT Verify that the signal displayed on the scope toggles between 340 PRINT a 10 KHz sinewave and a DC signal at 1 second intervals 350 360 ON KBD ALL GOSUB Key_press 370 DISP Press any key to continue 380 390 Done 0 400 REPEAT Loop until key is pressed 410 UNTIL Done 420 430 OFF KBD 440 CLEAR SCREEN 450 OUTPUT Afg RST CLS 460 STOP 470 480 Key_press 490 Done 1 500 RE...

Page 25: ...t up the equipment as shown in Figure 2 2 Set scope Channels A and B to 2 V div 02 msec div 3 Set up the AFG to output a 10 kHz sinewave with gating enabled FREQ 1E4 Set freq to 1 MHz OUTP LOAD INF Infinite load VOLT 4VPK Set AFG amplitude MARK FEED OUTP ZERO Marker at zero crossings INIT IMM Initiate 4 Verify that Channel A displays a 10 kHz sinewave Verify that Channel B displays a 10 kHz square...

Page 26: ... DISP Press Continue when ready 170 PAUSE 180 CLEAR SCREEN 190 200 Perform test 210 OUTPUT Afg FREQ 1E4 Set freq to 10 kHz 220 OUTPUT Afg OUTP LOAD INF Infinite load 230 OUTPUT Afg VOLT 4VPK 4 volts peak 240 OUTPUT Afg MARK FEED OUTP ZERO Zero crossings 250 OUTPUT Afg INIT IMM Initiate 260 WAIT 5 270 280 PRINT Verify that Channel A shows a 10 kHz sinewave 290 PRINT Verify that Channel B shows a 10...

Page 27: ... performance using the specifications in Appendix A of the HP E1340A User s Manual as the performance standards These tests are suitable for incoming inspection troubleshooting and preventive maintenance The results of the Performance Verification tests should be recorded in the Performance Test Record Table 2 7 Performance Verification includes the following tests Test Test Name 2 1 2 2 2 3 2 4 2...

Page 28: ...racy Equipment Setup Connect equipment as shown in Figure 2 3 Set DMM to DCV autorange Test Procedure 1 Reset the AFG RST CLS Reset AFG and clear status registers 2 Set up the AFG to output a DC signal FUNC DC Select DC waveform OUTP LOAD INF Infinite load Figure 2 3 DC Accuracy Test Setup 30 Verification Tests Chapter 2 ...

Page 29: ...ied in Table 2 1 4 Trigger the DMM and record the reading in Table 2 7 Table 2 1 DC Accuracy Test Points Amplitude volts Specifications volts 10 235 5 120 2 560 0 320 0 000 0 320 2 560 5 120 10 240 10 235 0 276 5 120 0 276 2 560 0 276 0 320 0 276 0 000 0 276 0 320 0 276 2 560 0 276 5 120 0 276 10 240 0 276 Chapter 2 Verification Tests 31 ...

Page 30: ...70 PRINT 180 PRINT Connect DMM HI and LO to AFG Output 190 DISP Press Continue when ready 200 PAUSE 210 CLEAR SCREEN 220 230 Set up AFG 240 OUTPUT Afg RST CLS Reset AFG 250 WAIT 5 260 OUTPUT Afg FUNC DC DC function 270 OUTPUT Afg OUTP LOAD INF Infinite load 280 290 Perform test 300 310 FOR I 1 TO 9 320 OUTPUT Afg VOLT VAL Vout I Set amplitude 330 PRINT OUTPUT VOLTAGE Vout I 340 350 DISP Record DMM...

Page 31: ...ure 1 Reset the AFG RST CLS Reset AFG and clear status registers 2 Set up the AFG to output the waveform defined above OUTP LOAD INF Infinite load VOLT 0 001 Set amplitude FUNC USER Select user waveform 3 Create a user defined waveform made up of zeros LIST SEGM SEL A Select segment name LIST SEGM VOLT array Segment list where array is an array of 4096 zeros Figure 2 4 DC Offset Test Setup Chapter...

Page 32: ... Offset volts Spec volts 10 240 5 120 2 560 0 000 2 560 5 120 10 235 10 240 æ 0 276 5 120 0 276 2 560 0 276 0 000 0 276 2 560 0 276 5 120 0 276 10 235 0 276 Example Program 10 RE STORE DC_OFFSET 20 COM Afg 30 DIM Offset 1 7 40 50 Set up I O paths 60 ASSIGN Afg TO 70910 AFG I O path 70 80 Initialize variables 90 DATA 10 24 5 12 2 56 0 2 56 5 12 10 235 100 READ Offset Read in offsets 110 120 Set up ...

Page 33: ...SER A Select sequence 340 OUTPUT Afg INIT IMM 350 360 Perform test 370 FOR I 1 TO 7 380 OUTPUT Afg VOLT OFFS VAL Offset I Set offset 390 PRINT OFFSET Offset I 400 410 DISP Record DMM reading then press Continue 420 PAUSE 430 DISP 440 NEXT I Next offset 450 460 END 470 480 Define segment consisting of all zeros 490 SUB Def_seg_zeros 500 COM Afg 510 DIM Array 1 4096 520 530 FOR I 1 TO 4096 540 Array...

Page 34: ...uipment as shown in Figure 2 5 Set DMM to ACV autorange Test Procedure 1 Reset the AFG RST CLS Reset AFG and clear status registers 2 Set up the AFG to output a 1 kHz sinewave FREQ 1E3 Set freq to 1 kHz OUTP LOAD INF Infinite load VOLT UNIT VRMS Set units to rms volts INIT IMM Initiate waveform Figure 2 5 AC Accuracy Test Setup 36 Verification Tests Chapter 2 ...

Page 35: ...value specified in Table 2 3 4 Trigger the DMM and record the reading in Table 2 7 Table 2 3 AC Accuracy Test Points Specifications Amplitude volts Low Limit volts High Limit volts 7 239 6 450 5 750 4 566 2 881 1 440 0 229 6 889 6 138 5 472 4 345 2 742 1 370 0 218 7 606 6 777 6 042 4 798 3 027 1 513 0 241 Chapter 2 Verification Tests 37 ...

Page 36: ...0 DISP Press Continue when ready 200 PAUSE 210 CLEAR SCREEN 220 230 Set up AFG 240 OUTPUT Afg RST CLS Reset AFG 250 WAIT 5 260 OUTPUT Afg FREQ 1E3 Set freq to 1 kHz 270 OUTPUT Afg OUTP LOAD INF Infinite load 280 OUTPUT Afg VOLT UNIT VRMS Set units to VRMS 290 OUTPUT Afg INIT IMM Initiate 300 WAIT 5 310 320 Perform test 330 FOR I 1 TO 7 340 OUTPUT Afg VOLT VAL Vout I Set amplitude 350 PRINT OUTPUT ...

Page 37: ...own in Figure 2 6 Set DMM to ACV 10 V range Test Procedure 1 Reset the AFG RST CLS Reset AFG and clear status registers 2 Set up the AFG to output a 10 dBm sinewave FUNC SIN VOLT 10DBM Set amplitude OUTP LOAD 50 50 ohm load 3 Set the AFG output to the reference frequency 1 kHz FREQ 1000 Set frequency INIT IMM Initiate waveform Figure 2 6 AC Flatness Test Setup DMM Chapter 2 Verification Tests 39 ...

Page 38: ... can measure ABORT FREQ 1E5 Set frequency INIT IMM 6 Measure the amplitude with the DMM and record the reading in Table 2 4 7 Set up the power meter Units Watts Power Range auto NOTE Follow the power meter manufacturer s instructions for performing an autocalibration and correcting for the power sensor 8 Connect the equipment as shown in Figure 2 7 Figure 2 7 AC Flatness Test Setup Power Meter 40 ...

Page 39: ...le 2 4 ABORT FREQ frequency Set frequency INIT IMM Initiate waveform where frequency is the value specified in Table 2 4 12 Set the power meter expected frequency to the AFG output frequency 13 Measure the output power with the power meter convert the reading to volts and multiply by the correction factor Record the results in Table 2 4 Reading volts Reading watts 50 Corrected Reading volts Readin...

Page 40: ...100 kHz volts Step 10 Correction Factor Step 11 Step 13 Step 14 Test Frequency Hz Reading watts Reading volts Corrected Reading volts Reading dBm Error dB Specification dB 1E6 0 2 2E6 0 2 3E6 0 2 4E6 0 2 5E6 0 2 6E6 0 2 7E6 0 2 8E8 0 2 9E6 0 2 10E6 0 2 11E6 0 5 12E6 0 5 13E6 0 5 14E6 0 5 15E6 0 5 42 Verification Tests Chapter 2 ...

Page 41: ..._afg 200 CALL Meas_flat 210 220 Quit 230 Reset instruments 240 OUTPUT Afg RST CLS 250 OUTPUT Pwr_mtr IP 260 OUTPUT Dmm RESET 270 LOCAL Dmm 280 LOCAL Pwr_mtr 290 300 Close I O paths 310 ASSIGN Afg TO 320 ASSIGN Dmm TO 330 ASSIGN Pwr_mtr TO 340 STOP 350 360 Setup_afg 370 OUTPUT Afg RST CLS 380 OUTPUT Afg FUNC SIN Sine 390 OUTPUT Afg VOLT VAL Ampl_dbm DBM Set amplitude 400 OUTPUT Afg OUTP LOAD 50 50 ...

Page 42: ...ER READING Dmm_xover 740 CALL Pm_flat_rdg Xover_freq Pm_xover Pm_setup 750 Correct_factor Dmm_xover Pm_xover 760 PRINT POWER METER XOVER READING Pm_xover 770 Offset_factor Dmm_ref 780 PRINT CORRECTION FACTOR Correct_factor 790 PRINT 800 PRINT 810 820 Perform measurements at test freqs 830 840 PRINT FREQ READING V ERROR dBm 850 PRINT 860 PRINT 870 880 FOR I 1 TO Num_points 890 Test_freq I I Step_si...

Page 43: ...t with 50ohm termination then press Continue 1250 PAUSE 1260 DISP 1270 OUTPUT Dmm PRESET NORM FUNC ACV SETACV SYNC TRIG HOLD 1280 OUTPUT Dmm RANGE 10 DELAY 1 1290 WAIT 1 1300 Dmm_setup 0 Clear flag so setup is only performed once 1310 END IF 1320 1330 OUTPUT Dmm ACBAND VAL Freq 9 VAL Freq 1 1 1340 WAIT 5 1350 OUTPUT Dmm TRIG SGL 1360 ENTER Dmm Rdg 1370 SUBEND 1380 1390 Pm_flat_rdg SUB Pm_flat_rdg ...

Page 44: ..._exp_img Exp_img 1590 INTEGER Diff 1600 SELECT ABS Value 1610 CASE 1 E 9 1 E 10 1620 IF NOT POS Exp_img ZZ THEN 1630 OUTPUT String USING Exp_img Z Value 1640 ELSE 1650 OUTPUT String USING Exp_img Value 1660 END IF 1670 CASE 1 E 4 Not_exp_max 1680 OUTPUT String USING Exp_img Value 1690 CASE ELSE 1700 OUTPUT String USING Not_exp_img Value 1710 END SELECT 1720 Diff Length LEN String 1730 IF Diff 0 TH...

Page 45: ...unter to Frequency Test Procedure 1 Reset the AFG RST CLS Reset AFG and clear status registers 2 Set the AFG Aux Out port to output the reference oscillator MARK FEED ROSC Marker source is ref oscillator INIT IMM Initiate waveform 3 Record the counter reading in Table 2 7 The AFG s reference oscillator frequency should be 42 9497 MHz 50 ppm Figure 2 8 Frequency Accuracy Test Setup Chapter 2 Verifi...

Page 46: ...NT 120 PRINT Connect the Counter to Aux Out on the AFG 130 DISP Press Continue 140 PAUSE 150 CLEAR SCREEN 160 170 Set up AFG 180 OUTPUT Afg RST CLS Reset AFG 190 WAIT 5 200 210 Perform test 220 OUTPUT Afg MARK FEED ROSC Marker source ROSC 230 OUTPUT Afg INIT IMM Initiate 240 250 DISP Record the Counter reading then press Continue 260 PAUSE 270 DISP 280 END 48 Verification Tests Chapter 2 ...

Page 47: ...tal harmonic distortion THD Equipment Setup Connect equipment as shown in Figure 2 9 Set Spectrum Analyzer to Ref Level 25 dBm Freq Span 1 kHz Resolution BW 30 Hz Video BW 30 Hz NOTE These are recommended settings only Adjust your spectrum analyzer as necessary Figure 2 9 Total Harmonic Distortion Test Setup Chapter 2 Verification Tests 49 ...

Page 48: ...ency to the output frequency of the AFG Measure the peak amplitude of the fundamental in dBm Record the reading in Table 2 5 5 Set the spectrum analyzer center frequency to the second harmonic 2 fundamentalfrequency Measure the peak amplitude of the second harmonic Repeat for third through fifth harmonics Record the amplitude of each harmonic in Table 2 5 6 Calculate total harmonic distortion as s...

Page 49: ... resultn volts thd dBc Specification dBc 23 100E3 n 2 n 2 60 n 3 n 3 n 4 n 4 n 5 n 5 23 1E6 n 2 n 2 49 n 3 n 3 n 4 n 4 n 5 n 5 23 10E6 n 2 n 2 33 n 3 n 3 n 4 n 4 n 5 n 5 10 100E3 n 2 n 2 63 n 3 n 3 n 4 n 4 n 5 n 5 10 1E6 n 2 n 2 54 n 3 n 3 n 4 n 4 n 5 n 5 10 10E6 n 2 n 2 47 n 3 n 3 n 4 n 4 n 5 n 5 Chapter 2 Verification Tests 51 ...

Page 50: ...230 DISP Press Continue when ready 240 PAUSE 250 260 Set up AFG 270 OUTPUT Afg RST CLS Reset AFG 280 WAIT 1 290 OUTPUT Afg VOLT Dbm_out Set AFG output 300 310 Perform test 320 FOR I 1 TO 6 330 IF I 4 THEN 340 Dbm_out 10DBM 350 OUTPUT Afg VOLT Dbm_out Set AFG output to 10dBm 360 DISP Set Spectrum Analyzer Ref Level to 12 dBm then press Continue 370 PAUSE 380 END IF 390 400 OUTPUT Afg ABORT Abort wa...

Page 51: ...XT Harmonic 700 720 Thd 20 LGT SQRT Sum_amp_sqr Calculate THD in dBc 720 SUBEXIT 730 740 Meas_fund 750 PRINT FUNDAMENTAL 760 PRINT Set Spectrum Analyzer Center Freq to VAL Frequency Hz 770 PRINT Measure amplitude at the center frequency 780 PRINT 790 INPUT Enter amplitude in dBm Baseline 800 RETURN 810 820 Meas_amp 830 PRINT HARMONIC Harmonic 840 PRINT Set Spectrum Analyzer Center Freq to VAL Freq...

Page 52: ...ment Setup Connect equipment as shown in Figure 2 10 Set Spectrum Analyzer to Ref Level 10 dBm Resolution BW 3 kHz Video BW 3 kHz NOTE These are recommended settings only Adjust your spectrum analyzer as necessary Test Procedure 1 Reset the AFG RST CLS Reset AFG and clear status registers Figure 2 10 Spurious Non Harmonic Distortion Test Setup 54 Verification Tests Chapter 2 ...

Page 53: ...to the values listed in Table 2 6 4 Measure the amplitude in dBm of the highest peak Subtract the amplitude of the fundamental 10 dBm from the reading and record the result result dBc reading dBm 10 dBm Table 2 6 Spurious Non Harmonic Test Points Start Frequency Hz Stop Frequency Hz Spec dBc 1 E6 10 5 E6 21 E6 31 E6 41 E6 51 E6 75 E6 100 E6 125 E6 9 5 E6 19 E6 29 E6 39 E6 49 E6 75 E6 100 E6 125 E6...

Page 54: ...INT Video BW 3 kHz 240 PRINT 250 PRINT Connect Spectrum Analyzer to AFG Output 260 DISP Press Continue when ready 270 PAUSE 280 CLEAR SCREEN 290 300 Set up AFG 310 OUTPUT Afg RST CLS Reset AFG 320 WAIT 1 330 OUTPUT Afg FREQ VAL Freq_out Set frequency 340 OUTPUT Afg VOLT Dbm_out Set amplitude 350 OUTPUT Afg INIT IMM Initiate 360 370 Perform test 380 FOR I 1 TO 9 390 CLEAR SCREEN 400 PRINT Set Spect...

Page 55: ...s manual the measurement uncertainties are based on the accuracy specifications for the following test equipment Performance Test Test Equipment 1 DC Accuracy HP 3458A 2 DC Offset HP 3458A 3 AC Accuracy HP 3458A 4 AC Flatness HP 3458A HP 8902A 5 Frequency Accuracy HP 5334B 6 Total Harmonic Distortion HP 3585B 7 Spurious Non harmonic Distortion HP 8566B Includes following uncertainties HP 8902A Ran...

Page 56: ...____ ____________________________________________________________________________________________ ____________________________________________________________________________________________ ____________________________________________________________________________________________ ____________________________________________________________________________________________ _______________________...

Page 57: ...______________ 19 ______________________________ 20 ______________________________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ ______________ __...

Page 58: ... 1 10 1 10 1 10 1 10 1 Test 2 2 DC Offset Test Values in Vdc 10 24V 5 12V 2 56V 0 00V 2 56V 5 12V 10 235V 10 516 5 396 2 836 0 276 2 284 4 844 9 959 ____________ ____________ ____________ ____________ ____________ ____________ ____________ 9 964 4 844 2 284 0 276 2 836 5 396 10 511 4 9E 5 2 6E 5 1 4E 5 1 0E 6 1 4E 5 2 6E 5 4 9E 5 10 1 10 1 10 1 10 1 10 1 10 1 10 1 Test 2 3 AC Accuracy Test Values ...

Page 59: ...2 0 2 0 2 0 5 0 5 0 5 0 5 0 5 ____________ ____________ ____________ ____________ ____________ ____________ ____________ ____________ ____________ ____________ ____________ ____________ ____________ ____________ ____________ 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 5 0 5 0 5 0 5 0 5 0 0506 dB 0 0506 dB 0 0506 dB 0 0506 dB 0 0506 dB 0 0506 dB 0 0536 dB 0 0536 dB 0 0536 dB 0 0536 dB 0 0536 dB 0 053...

Page 60: ... 63 dBc 54 dBc 47 dBc 1 7 dB 1 7 dB 1 7 dB 1 7 dB 1 7 dB 1 7 dB NA NA NA NA NA NA Test 2 7 Spurious Non harmonic Distortion Test Values in dBc 10 MHz 10 dBm sinewave 1 MHz 9 5 MHz 10 5 MHz 19 MHz 21 MHz 29 MHz 31 MHz 39 MHz 41 MHz 49 MHz 51 MHz 75 MHz 75 MHz 100 MHz 100 MHz 125 MHz 125 MHz 150 MHz ____________ ____________ ____________ ____________ ____________ ____________ ____________ __________...

Page 61: ...ate to calibration of the AFG More information on these commands can be found in the Command Reference section of the HP E1340A User s Manual CALibration DC BEGin starts the DC calibration sequence and sets up the AFG for the first calibration point CALibration DC POINt value sends a value to the AFG so that the appropriate calibration constant s can be calculated The AFG returns two numbers 1 the...

Page 62: ...tants If state is ON corrections will be used If state is OFF corrections will not be used DC Adjustment Procedure Description A DC adjustment is performed on the AFG by reading a series of voltages output by the AFG then entering those values back into the AFG After all measurements have been completed new calibration constants are calculated and stored in non volatile memory To ensure accuracy p...

Page 63: ...hown in Figure 3 1 Set the DMM to DCV 1 V range 10 NPLC Adjustment Procedure 1 Reset the AFG RST CLS Reset AFG and clear status registers 2 Send the command to start the DC adjustment routine and wait for the command to complete CAL DC BEGIN Initiate DC cal OPC The AFG will return a 1 when ready Figure 3 1 DC Adjustment Setup Chapter 3 Adjustments 65 ...

Page 64: ...verload when the AFG sets itself for the next reading This should be done immediately after performing the DMM measurement for cal point 6 and before sending the reading to the AFG 4 Trigger the DMM and note the reading 5 Send the reading to the AFG CAL DC POINT reading where reading is the DMM reading from step 4 The AFG will return in order the number of the current calibration point and an erro...

Page 65: ...v 210 OUTPUT Afg IDN 220 ENTER Afg Id 230 IF POS Id A 01 00 THEN 240 BEEP 1000 2 250 PRINT This procedure requires a firmware revision of A 01 02 or later 260 STOP 270 END IF 280 290 Initialize AFG and DMM 300 OUTPUT Afg RST CLS 310 WAIT 5 320 330 OUTPUT Dmm PRESET NORM 340 OUTPUT Dmm FUNC DCV NPLC 10 RANGE 1 350 360 Connections 370 CLEAR SCREEN 380 PRINT Connect the DMM to the AFG Output 390 DISP...

Page 66: ...0 UNTIL Err_num 0 OR This_point 0 650 660 End of loop 670 IF ERROR PRINT ERROR NUMBER CAL POINT 680 IF Err_num 0 THEN 690 PRINT CALIBRATION SUCCESSFUL 700 ELSE 710 PRINT CALIBRATION ERROR NUMBER VAL Err_num AT CAL POINT VAL This_point 720 END IF 730 740 Quit 750 OUTPUT Afg RST CLS Reset AFG 760 LOCAL Dmm Return DMM to local control 770 DISP 780 STOP End of main program 790 800 Subroutines 810 Read...

Page 67: ...on AC BEGin command starts the AC calibration sequence and the CALibration AC POINt command steps the AFG to the next calibration point All AFG settings are performed by the firmware routine NOTE If an error occurs at any time during the procedure abort RST and start over Equipment Setup Perform a complete autocalibration on the DMM unless an autocal has been performed within the last 24 hours Fol...

Page 68: ... the reading to RMS volts and note the result for use in step 5 4 Connect the DMM to the AFG Output as shown in Figure 3 3 5 Measure the AFG Output with the DMM Calculate the correction factor as shown below and note the result for use in step 10 C F DMM reading Power Meter reading Step 3 6 Start the calibration procedure CAL AC BEGIN Initiate AC cal Figure 3 3 Flatness Adjustment Setup DMM 70 Adj...

Page 69: ... the power meter as follows Frequency Hz Current cal point 1342177 28 NOTE When performing step 9 for the first time use 1 for the current cal point Thereafter use the cal point returned by the most recent CAL AC POINT command 10 Trigger the power meter convert to peak volts and multiply by the correction factor calculated in step 5 Raw Reading Vpk 2 Reading watts 50 Corrected Reading Vpk Raw Read...

Page 70: ...SSIGN Pwr_mtr TO 714 130 CLEAR SCREEN 140 150 Initialize variables 160 Max_cal_point 16 170 Freq_step 1342177 28 180 Pm_setup 1 190 200 Initialize AFG and DMM 210 OUTPUT Afg RST CLS 220 WAIT 5 230 240 Get power meter correction factor 250 CALL Corr_factor Corr_factor 260 PRINT CORRECTION FACTOR Corr_factor 270 PRINT 280 290 Setup AFG 300 This_point 1 310 OUTPUT Afg CAL AC BEGIN Begin DC cal 320 WA...

Page 71: ...code 570 PRINT USING Fmat2 Cal_point Err_num Rdg Error_db 580 Fmat2 IMAGE 3X 2D 11X K 7X 2D 6D 6X 3D 4D 590 600 UNTIL Err_num 0 OR This_point 0 OR This_point Max_cal_point 610 620 CALL System_errs Afg Syst_err 630 640 End of loop 650 660 PRINT 670 IF Err_num 0 AND Syst_err 0 THEN 680 PRINT CALIBRATION SUCCESSFUL 690 ELSE 700 IF Err_num THEN 710 PRINT CALIBRATION ERROR NUMBER VAL Err_num AT CAL POI...

Page 72: ...UTPUT Dmm RANGE 10 DELAY 1 1070 WAIT 1 1080 END IF 1090 1100 OUTPUT Dmm ACBAND VAL Freq 9 VAL Freq 1 1 1110 WAIT 5 1120 OUTPUT Dmm TRIG SGL 1130 ENTER Dmm Rdg 1170 SUBEND 1180 1190 Pm_flat_rdg SUB Pm_flat_rdg Freq Rdg INTEGER Pm_setup 1200 COM Afg Dmm Pwr_mtr 1210 1220 IF Pm_setup THEN If true then set up power meter 1230 Otherwise skip setup 1240 DISP Connect Power Meter to AFG Output then press ...

Page 73: ...470 1480 Set up AFG for 1 V peak 100 kHz sine 1490 OUTPUT Afg VOLT 1VPK 1500 OUTPUT Afg FREQ VAL Xover_freq 1510 OUTPUT Afg INIT IMM 1520 1530 Measure output with Power Meter and DMM 1540 Pm_flat_rdg Xover_freq Pm_rdg 1 1550 Dmm_flat_rdg Xover_freq Dmm_rdg 1 1560 Corr_factor Dmm_rdg Pm_rdg 1570 OUTPUT Afg RST CLS 1580 SUBEND 1590 1600 SUB System_errs Path INTEGER Err 1610 DIM Message 255 1620 INTE...

Page 74: ...Notes 76 Adjustments Chapter 3 ...

Page 75: ...blies required for spare parts stock must be ordered by the new assembly part number Contact your nearest Hewlett Packard Sales and Support Office for details Ordering Information To order a part listed in Table 4 1 specify the Hewlett Packard part number and the quantity required Send the order to your nearest Hewlett Packard Sales and Support Office Replaceable Parts List Table 4 1 lists the use...

Page 76: ...2 949672 MHZ HARDWARE AND MISCELLANEOUS E1340 60001 1 ARBITRARY FUNCTION GENERATOR MNL SFTW KIT E1340 10035 1 DRIVER AND BASIC EXAMPLE DISK LIF 3 5 E1340 10036 E1401 90022 1 1 DRIVER AND C EXAMPLE DISK DOS 3 5 INSTALLATION NOTE DRIVER DOWNLOAD MP1 E1300 45101 1 HNDL KIT TOP HP MP2 E1300 45102 1 HNDL KIT BTM VXI PNL1 E1340 00202 1 PNL RR CENTER 4 CH SCR1 SCR2 0515 2140 2 SCR THD RLG M2 5 X 0 45 14m...

Page 77: ...ference Designators A assembly MP mechanical part F fuse P electrical connector plug HDW hardware PNL panel J electrical connector jack SCR screw JM jumper SP switch U integrated circuit Figure 4 1 HP E1340A Replaceable Parts Chapter 4 Replaceable Parts 79 ...

Page 78: ...Notes 80 Replaceable Parts Chapter 4 ...

Page 79: ...equired for AFG troubleshooting and repair is listed in Table 1 1 Recommended Test Equipment Any equipment that satisfies the requirements given in the table may be substituted To avoid damage to the screw head slots use a T8 Torx driver to remove the front panel handles Service Aids See Chapter 4 for descriptions and locations of HP E1340A replaceable parts Service notes manual updates and servic...

Page 80: ...apter 1 of the HP E1340A User s Manual for information on downloading the driver Catastrophic Failure If a catastrophic failure occurs see Testing the Assembly to troubleshoot the AFG Performance Out of Specification If the AFG fails any of its Performance Tests perform the adjustments described in Chapter 3 then repeat the Performance Tests Testing the Assembly You can use the tests and checks in...

Page 81: ...is set correctly factory set at 80 Verify that the bus request level and servant area settings are correct See the HP E1340A User s Manual for information Checking the AFG PCAs Check fuse continuity and inspect all connectors for bent pins or damaged contacts Removing BNC Connectors Use the following steps to remove and replace the AFG front panel BNC connectors refer to Figure 5 1 1 Unsolder wire...

Page 82: ...rough holes that allow a solder path to both sides of the insulating material Soldering can be done from either side of the board with equally good results When soldering to any circuit board keep in mind the following guidelines Avoid unnecessary component unsoldering and soldering Excessive replacement can result in damage to the circuit board and or adjacent components Do not use a high power s...

Page 83: ...ine ADDR hpib7 9 10 to match your address setting Functional Verification Self Test The AFG self test verifies communications between the AFG and the HP E1300A E1301A mainframe or the HP E1405 E1406 command module Self Test E1340A include stdio h include sicl h define ADDR hpib7 9 10 Address of device void main void INST id Define id as an instrument char message 256 0 Result variable int result i...

Page 84: ... 1 0 else Self Test Passed printf n nSelf Test Passed iclose id Close instrument session Aux In Functional Verification Test E1340A include stdio h include sicl h define ADDR hpib7 9 10 Address of device define COMM hpib7 9 0 Address of command module void main void INST id cm Define id and cm as an instrument char message 256 0 Result variable int result if defined __BORLANDC__ defined __WIN32__ ...

Page 85: ...en ready getchar Perform Test iprintf id FREQ 1E4 n iprintf id OUTP LOAD INF n iprintf id VOLT 4VPK n iprintf id ROSC GATE STAT ON n iprintf id INIT IMM n iprintf cm INIT IMM n printf n nVerify that the signal displayed on the scope toggles between printf na 10 kHz sinewave and a DC signal at 1 second intervals printf n nPress ENTER to end test getchar iprintf id RST CLS n iclose id Close instrume...

Page 86: ...FG Output printf n3 Connect Scope Channel B to AFG Aux Out printf n nPress ENTER when ready getchar Perform Test iprintf id FREQ 1E4 n iprintf id OUTP LOAD INF n iprintf id VOLT 4VPK n iprintf id MARK FEED OUTP ZERO n iprintf id INIT IMM n printf n nVerify that Channel A shows a 10 kHz sinewave printf nVerify that Channel B shows a 10 kHz squarewave printf n nPress ENTER to end test getchar iprint...

Page 87: ...id main void INST id dm Define id as an instrument char cr 256 0 double result 9 float volt 9 10 235 5 12 2 56 32 0 32 2 56 5 12 10 24 int i if defined __BORLANDC__ defined __WIN32__ _InitEasyWin endif ionerror I_ERROR_EXIT id iopen ADDR Open instrument session dm iopen DMM Initialize AFG and Multimeter iprintf id RST CLS n iprintf id FUNC DC n iprintf id OUTP LOAD INF n iprintf dm PRESET NORM TRI...

Page 88: ...tf n 7 3f 7 3lf volt i result i if abs result i volt i 0 276 printf FAILED else printf PASSED iprintf id RST CLS n iclose id Close instrument session iclose dm DC Offset Performance Verification Test E1340A include stdio h include sicl h include math h define ADDR hpib7 9 10 Address of device define DMM hpib7 22 Address of multimeter void main void INST id dm Define id as an instrument char cr 256...

Page 89: ...for i 1 i 4096 i iprintf id 0 iprintf id n iprintf id FUNC USER A n iprintf id INIT IMM n iprintf dm PRESET NORM TRIG HOLD n iprintf dm END ALWAYS n iprintf dm FUNC DCV n Connect Equipment printf n nDC Offset Test printf n n1 Connect DMM HI and LO to AFG Output printf n nPress ENTER when ready getchar Perform Test for i 0 i 6 i iprintf id VOLT OFFS f n volt i iprintf dm TRIG SGL n iscanf dm lf res...

Page 90: ...h include math h define ADDR hpib7 9 10 Address of device define DMM hpib7 22 Address of multimeter void main void INST id dm Define id as an instrument char cr 256 0 double result 7 float volt 7 7 239 6 450 5 750 4 566 2 881 1 440 0 229 float low 7 6 889 6 138 5 472 4 345 2 742 1 370 0 218 float hi 7 7 606 6 777 6 042 4 798 3 027 1 513 0 241 int i if defined __BORLANDC__ defined __WIN32__ _InitEa...

Page 91: ...O to AFG Output printf n nPress ENTER when ready getchar Perform Test for i 0 i 6 i iprintf id VOLT f n volt i iprintf dm TRIG SGL n iscanf dm lf result i iscanf dm t cr printf n n printf nAmplitude Measured printf nRange Amplitude n for i 0 i 6 i printf n 7 3f 7 3lf volt i result i if result i low i result i hi i printf FAILED else printf PASSED iprintf id RST CLS n iclose id Close instrument ses...

Page 92: ...lts 15 corrvolts 15 dbm 15 error 15 int i if defined __BORLANDC__ defined __WIN32__ _InitEasyWin endif ionerror I_ERROR_EXIT id iopen ADDR Open instrument session dm iopen DMM pm iopen POW Initialize AFG and Multimeter iprintf id RST CLS n iprintf id FUNC SIN n iprintf id VOLT 10DBM n iprintf id OUTP LOAD 50 n iprintf id FREQ 1000 n iprintf id INIT IMM n iprintf dm PRESET NORM TRIG HOLD n iprintf ...

Page 93: ...n Crossover frequency iprintf pm T3 n iscanf pm lf result xoverpm sqrt abs result 50 Convert from watts to volts correction xoverdmm xoverpm Calculate correction factor Perform Test printf n nTest Reading Reading Corrected Reading Error Specification printf nFrequency Reading printf n Hz watts Volts volts dBm dB dB n for i 1 i 15 i iprintf id ABORT n iprintf id FREQ uE6 n i iprintf id INIT IMM n i...

Page 94: ...cy Performance Verification Test E1340A include stdio h include sicl h define ADDR hpib7 9 10 Address of device void main void INST id co Define id and co as an instrument float result if defined __BORLANDC__ defined __WIN32__ _InitEasyWin endif ionerror I_ERROR_EXIT id iopen ADDR Open instrument session Connect Equipment printf n nFrequency Accuracy Test printf n n 1 Connect the counter to AFG Au...

Page 95: ...lt iprintf id RST CLS n iclose id Close instrument session Total Harmonic Distortion Performance Verification Test E1340A include stdio h include sicl h include math h define ADDR hpib7 9 10 Address of device void main void INST id Define id as an instrument double baseline reading result sum thd double freq 6 100E3 1E6 10E6 100E3 1E6 10E6 int i dbm_out 23 harmonic if defined __BORLANDC__ defined ...

Page 96: ...undamental amplitude printf n n Set Spectrum Analyzer center frequency to 2e Hz freq i printf n Measure amplitude at the center frequency printf n Enter amplitude in dBm scanf lf baseline sum 0 for harmonic 2 harmonic 5 harmonic printf n nHARMONIC u harmonic Enter harmonic amplitude printf n n Set Spectrum Analyzer center frequency to 2e Hz freq i harmonic printf n Measure amplitude at the center ...

Page 97: ...efine id as an instrument double peak double start 9 1E6 10 5E6 21E6 31E6 41E6 51E6 75E6 100E6 125E6 double stop 9 9 5E6 19E6 29E6 39E6 49E6 75E6 100E6 125E6 150E6 int i if defined __BORLANDC__ defined __WIN32__ _InitEasyWin endif ionerror I_ERROR_EXIT id iopen ADDR Open instrument session Set up Spectrum Analyzer printf n nSet up Spectrum Analyzer printf n n 1 Ref Level 10 dBm printf n 2 Resoluti...

Page 98: ...cy to 1e Hz start i printf n Set Spectrum Analyzer Stop frequency to 1e Hz stop i printf n Measure amplitude of the highest peak printf n Enter amplitude in dBm scanf lf peak printf n nResult 2f peak 10 printf n nPress ENTER to continue getchar iprintf id RST CLS n iclose id Close instrument session 100 Verification Tests C Programs Appendix A ...

Page 99: ...nt char cr 256 0 double reading int cal_point 0 err_num 0 if defined __BORLANDC__ defined __WIN32__ _InitEasyWin endif ionerror I_ERROR_EXIT id iopen ADDR Open instrument session dm iopen DMM Initialize AFG and Multimeter iprintf id RST CLS n iprintf dm PRESET NORM TRIG HOLD n iprintf dm END ALWAYS n iprintf dm FUNC DCV NPLC 10 RANGE 1 n Check Firmware Revision iprintf id IDN n iscanf id t cr if c...

Page 100: ...TRIG SGL n iscanf dm lf reading iscanf dm t cr if cal_point 5 iprintf dm RANGE 10 n iprintf id CAL DC POINT lf n reading iscanf id u u t cal_point err_num cr printf n 2u 2u 4lf cal_point err_num reading while err_num 0 cal_point 0 if err_num 0 printf n nCalibration Successful else printf n nCALIBRATION ERROR NUMBER u AT CAL POINT u err_num cal_point EXIT iprintf id RST CLS n iclose id Close instru...

Page 101: ...tor freq 1 0E5 iprintf id VOLT 1VPK n Set AFG to 1 V peak 100 kHz sine iprintf id FREQ lf n freq iprintf id INIT IMM n printf n nConnect Power Meter to AFG output and press ENTER getchar Measure output with power meter iprintf pm IP n iprintf pm AU M4 WT n iprintf pm lfMHZ n freq 1E6 iprintf pm T3 n iscanf pm lf pm_rdg pm_rdg sqrt abs pm_rdg 50 Convert from watts to volts printf n nConnect DMM to ...

Page 102: ...r_num 0 goto ERROR printf Connect Power Meter to AFG output and press ENTER getchar iprintf pm IP n iprintf pm AU M4 WT n do cal_point this_point freq freq_step this_point iprintf pm lfMHZ n freq 1E6 iprintf pm T3 n iscanf dm lf reading reading sqrt abs reading 50 Convert to volts reading reading corr_factor Calculate corrected reading reading reading sqrt 2 Convert to peak volts error_db 20 log10...

Page 103: ...if err_num 0 printf n nCALIBRATION ERROR NUMBER u AT CAL POINT u err_num this_point if cr 1 48 printf n nSYSTEM ERROR DURING CALIBRATION CAL ABORTED n s cr iprintf id RST CLS n iclose id Close instrument session iclose dm iclose pm Appendix A Verification Tests C Programs 105 ...

Page 104: ...Notes 106 Verification Tests C Programs Appendix A ...

Reviews: