Home

it here

image

Contents

1. Series Resonance 8 00011960 MHz Fs 3dB 8 00014050 MHz Fs 3dB 8 00007779 MHz Parallel Resonance 8 01554675 MHz Rm 9 062560 ohms Lm 22 999604 mH Cm 0 017208 pF Q 127569 20 CO 4 461775 pF For Help press F1 4 842 secs CDS mode If this button is pressed the current simulation configuration is replaced by that of the crystal parameters being shown The simulation control dialog does not have to be open for this to work but if it is or if it is opened later then the schematic of the crystal will be shown The results of the simulation will also be displayed on the screen with the main trace as shown below In this example the green and red traces are the scanned data the other two the simulated data from the results myVNA v0 93 Page 123 of 181 Network Simulation Simulation Limitations s Centrefe cors3e mez v Spanfo cens rte Centre 5oan Steps 1000 Select Device Type Crystal Parameters Select Model S awole 34B points fen J Sco Progress Bar Select Data Source 7 Mncecale on Duplay Change Current Scan Data J Shap to 125 on Autoscale J Srap to 128 udio Cues J Force cisplay for Log axes Log Results Log File en Real Series Resonance 8 00011051 MHz MAAL ILEA Fse3dB 8 0001 4208 MHz Fs 3d6 8 00007866 MHz Parallel Resonance 8 01552152 MHz Cm Lm vet D i vi 5 10 t y A 5 e aai 4H es toc oard Cop noy co m 8
2. it is a COLORREF which takes the form 0x00bbggrr myVNA v0 93 Page 164 of 181 Automation interface example contents and may be created with the RGB macro to set a colour populate data 0 and data 1 with the appropriate values to get a colour populate data 0 with the desired target and the subroutine will fill in the colour value in data 1 if the value of data 0 is out of range the set command has no effect if it is out of range on a get the returned colour value will be 1 and the subroutine will return a non zero value define GETSET COLOURS 2 case 3 get or set left axis display parameters case 4 get or set right axis display parameters nindex not used set to 0 requires an array of 4 integers The array contents correstpond to a 128 bit bitmap where the bits that are set determine which parameters are shown on the axis The bits correspond to the values shown for Get or Set Scan Data above with the exception of DISPLAY FREQ SCALE hence for example DISPLAY REFL CS takes the value of 11 and DISPLAY REFL XS takes the value 1 so the bitmap would be 1 lt lt DISPLAY REFL XS 1 lt lt DISPLAY REFL CS 7 an other words 1 lt lt 11 lt lt 1 or Ox000000000000000000000000000008 02 the value is split into four 32 bit unsigned integer values as follows data 0 bits 31 0 datal 1 bits 63 32 data 2 bits 95 64 data 3 bits 127
3. sets options related to configuration of switch and attenuator options data 0 are various flags ia bit 0 if set set invert sense flag for switch 1 Tf bit 1 if set set invert sense flag for switch 2 bit 8 if set set invert sense flag for attenuator data 1 values 0 to 7 configure the forward scan attenuator setting data 2 values 0 to 7 configure the reverse scan attenuator setting define GETSETSWITCHATTENUATORCONFIG 12 case 13 switch and attenuator settings nindex not used set to 0 sets options related to configuration of switch and attenuator settings data 0 are various flags 14 bit 0 if set set invert sense flag for switch 1 fa bit 1 if set set invert sense flag for switch 2 f4 bit 8 if set set enable switch 1 during reverse scan ii bit 9 if set set enable switch 2 during reverse scan ii bit 16 if set set enable switch 1 during scan if bit 17 if set set enable switch 2 during scan Ti bit 24 if set set enable automatic attenuator setting during scan data 1l values 0 to 7 sets the attenuator define GETSETSWITCHATTENUATORSETTINGS 13 Fi CE a a a a i a general purpose interface functions used to get or set various things Two versions exist one for integers and one for doubles with a Get and a Set in each case The functions need a parameter to say what is to be set got see details below a pointer to an array of sufficient size for the
4. Bh paul t check 30 60 4th scan cal 30 60 in myvna Format csy Eh scan extended csv CI Bh paul t check 30 60 second scan in myvna Format cs BL scan cs BL paul t check 30 60 third scan in myvna format csv BL scan extended csv Bik scani extended csv Bh scan csv E scanl csv BL scans extended csv EE Bah scan2 extended csv Bh scan8 cs My Computer lt Desktop My Documents 2 e File name 2 My Network Save as type csv Data Set csv X Cancel Places CSV Data Set csv YNA4win CSY files csv Extended CSV Data Set cs Touchstone Format s2p All Files Touchstone format is the industry standard SNP format more on that later Extended data sets provides the option to select what data types to save To use it you must first select what data types to save This is done using the Set extended filesave types option under Load amp Save Data When selected it pops up the following dialog box myVNA v0 93 Page 47 of 181 Save print and copy Saving Data to and loading data from Disk Select extended data formats Dual Detector and Reflection Mode Selection W Rs zs WSR cs ks tes RL Ls Rp Zpl Rho cp W p zp Rho Lp Dual Detector and Transmission Mode Selection G wM GidB G 5 Parameter Mode Selection 511 Real Mw S21 Real 522 Real 512 Real S2i Imag S22Imag 5i Imag Siil 521 522
5. The current list of supported networks is given below myVNA v0 93 Page 116 of 181 Network Simulation Synthesize Network Network Type Frequency Input Reactance None Inductive Update Capacitive C fohms Values flow Pass L match series C Low Pass L match series C High Pass L match series L Nudge Sensitivity High Reactance None Inductive Capacitive C fohms Cancel So for example selecting an input match of 50 ohms an output of 900 ohms in parallel with 24pF and a design frequency of 10 7 MHz using a simple L match with series L results in the following display Network Simulation Network 1 yp A 1 none fo l Nudge Sensitivity 2 cF 7215092261 aa High 3 L uH 4 none 5 none v Low 5 012050152 m fo A o a p ra fo a fo 6 none 7 none 8 none m Simulation configuration Port 1 1 Network Simulation l 2 Unused l 3 Unused l C 4 Unused l 5 Unused l Ha H Recalculate Data Close Selecting Store 1 as the second network and generating just for the hell of it an LCCL band pass network from 900 ohms in parallel with 24pF to 50 ohms in network 3 results in the following display myVNA v0 93 Page 117 of 181 Network Simulation Values Network Simulation Network 3 Simulation configuration Port 1 4 2 Pa 1 Network Simulation v 2 Store
6. 512 lt 511 lt 521 lt 522 lt 512 511d S5S21d6 S 2dB 512 dB Set All Clear All Cancel For each instrument mode you may select what formats of data to be saved when a file 1s saved in the extended file save form The settings you choose will be saved on exit and reloaded when the program restarts Note that only the default file format or Touchstone not VNA4win or extended files are supported for loading back into myVNA Touchstone file format otherwise known as snp file format is supported for both trace data save and load but with some caveats When saving in Reflection mode data may be saved in slp format and when in Transmission or S Parameter instrument mode s2p mode is available When loading formats MA DB and RI are available in both file types Units may be in Hz MHz kHz or GHz Files may be saved or loaded in S Y or Z formats H and G are not supported The program automatically detects the format when loading To save a dialog under Load amp Store Data selects the file details It is invoked by the option Set Touchstone File Options and pops up a dialog as shown below Touchstone File Details Save Parameter Type Save Format C MA Mag Angle C DB Mag dB ngle RI Real Imag Il On load 0 gt absent i Cancel myVNA v0 93 Page 48 of 181 Save print and copy Saving Data to and loading data from Disk Select the parameter type and forma
7. A Untitled myVNA File Edit View Help G R Start Scan single scan Calibrate Autoscale Markers Centre 14 318000 MHz v Span 0 020000 MHz Centre Span v Steps 2000 Instrument Mode Display Sets S Rs Xs Rp Xp 1575 12 Zs lt Zs 2p lt Zp YSWR Rs RL Rho lt Rho Q Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp lt Smith Chart A Display Left Display Right Calibration Reference Standards Load amp Store Data Network Settings 754 45 403 72 14 314412 14 324412 MHz 14 334412 For Help press F1 4 882 secs CDS mode NUM If you drag below the frequency axis then it will increase or decrease the span for example i Untitled myVNA File Edit View Help lal amp R Start Scan single scan Calibrate Autoscale Markers Centre 14 318000 mHz gt Span 0 020000 MHz Centre Span gt Steps 2000 Instrument Mode Display Sets if Rs Xs Rp sp 1575 12 Zs lt Zs 2p lt Zp VSWR Rs RL Rho lt Rho Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp IY lt Smith Chart J Display Left J Display Right Display Options Calibration gt Reference Standards Load amp Store Data oO YNA Hardware Choose Trace Colours Network Settings 754 45 403 72 14 292526 14 324412 MHz 14 356299 For Help press F1 4 882 secs CDS mode NUM Note
8. Hardware Type Configure the hardware ADC Step Delay us 2000 Sweep Start Delay us 10000 Reference Standards Phase Change Delay us 500 p list eee ADC Speed 10 Go System Reference ohms 50 00 Hardware Type JS Reload Z0 with Calibration Data 7 gt Configure the hardware Hardware Interface pe ADC Step Delay us 2000 Choose CDS Harmonic mode Se Sweep Start Delay us 10000 J Load DDS during ADC Phase Change Delay us 500 at Swap Detectors on Reverse Scan System Reference ohms 50 01 JS Power Down DDS when Idle l a Hardware Interface Set RF IV configuration Sif Fa Power Down DDS when Idle Set Reference Mode configuration i RF DDS Frequency Offset Bae RF DDS Frequency Offset Ci I This node sets the program configuration to match the hardware The MSA case presents a reduced set as compared to the N2PK The N2PK set are shown on the left in the figure above myVNA v0 93 Page 146 of 181 Command Reference Treeview controls Hardware Type specifies the hardware type N2PK VNA or MSA Select the desired option Configure the Hardware is a dialog box whose appearance changes depending on the hardware type It is used to define the specific details of the hardware Details on hardware configuration are given in Section 4 2 The next three entries determine the delays introduced by the program into a sweep The first is the delay every time a change in DDS frequency to the next step is made bef
9. In this configuration the bridge 1s connected as above the DUT port on the bridge is connected to the input port of the device under test and the output port is connected to the transmission detector input When calibrating the DUT is substituted by an Open Short or Load on the bridge DUT port or by a through connection in Thru mode This configuration is shown in Figure B of Paul s Fast Detector publication An S parameter test set is used with 10 or 12 term calibration with automatic switching In this configuration two bridges are used with relay switching as shown in Figure C of Paul s fast detector memo The DUT is connected between the DUT ports of the bridges When testing amplifiers it may be advantageous to use different attenuator setting for forward and reverse scans To support this the program may be instructed to automatically set an attenuator value before each scan and to use a different value for forward and reverse scans To read more on this see the section on Attenuator control myVNA v0 93 Page 155 of 181 Glitches when using the parallel port Annex C Glitches when using the parallel port Under XP it is possible to get sudden unexplained glitches such as the one shown below iP S Parameters mode myVNA File Edit wiew Help lad ER Start Scan Single scan Calibrate Autoscale Markers Start 1 000000 mH Stop 60 000000 MHz Start Stop Steps 20 Instrument Mode J Display Sets JS 511 dB
10. Menus Popup Menus controls Copies of the menus are shown below without further explanation re File Edit View Help myVNA S Parameters n OSW ts Be SFM mS LU AFM Y I E X EL PaRi td StartScan Single Scan Calibrate Centre 10 700000 MHz Span 0 050000 Instrument Mode J Display Sets J Display Left A Display Left Calc Time Display Right J Display Right Calc Time Trace Calculation Display Options Print Options Calibration rr a Reference Standards 10 00 Load amp Store Data dB VNA Hardware Choose Trace Colours Transverters Network Settings Switch and Attenuators Debug Controls 40 00 Dump Raw Scan Data amj Dump Raw Thru Cal Data Dump Raw Open Cal Data 3 H Dump Raw Short Cal Data Dump Raw Load Cal Data a Dump Raw LLC Cal Data Dump Computed Thru Cal Data Dump Computed Open Cal Data a Dump Computed Short Cal Data Dump Computed Load Cal Data i Dump Scan Thru Cal Data amj Dump Scan Open Cal Data fy Dump Scan Short Cal Data Dump Scan Load Cal Data 80 00 10 675000 Set Vertical Axis Set Frequency Axis Set Scan to current frequencies Set Display to current scan freq Lock Scan to Display Lock Left Vertical Axis Lock Right Vertical Axis Lock Frequency Axis Bring Manual Markers Onscreen Hide Markers Log Frequency Scale Log Vertical Scale Clear Reverse Scan Data Clear All Scan Data Edit Trace Labels
11. Normal Y Normal z Normal z Normal z Normal x Normal x Normal z Normal z Normal gt Normal z z z p z 2 Normal Y Annotation 4 Colour V Use Colours for Labels Reset Cancel i The dialog shown above is used to configure the labels There is one label for each of the current and saved traces and 4 free standing annotations Each has a string that is displayed and some control over the size of the text small normal large Each may also be switched on or off with the Display Label checkbox For the free standing annotations the colour used may be set for the trace labels the colour adopted will be taken from the corresponding trace colour Trace labels are linked to a parameter of the trace This may take one of a number of settings as follows e None the label acts like a free standing annotation but only displays when the corresponding trace displays e Left or Right the label is associated with the main left axis or right axis parameter e Otherwise the drop down list gives access to all the individual parameters Rs Xp S11 real etc Initially the labels will appear in the middle of the screen and may be dragged to where they are needed For those associated with a trace if the corresponding trace moves on the screen the location of the left hand end of the label will move to maintain its relative position to the trace as it was when dr
12. Trace Calculation Oo Display Options C Print Options Calibration ff Load Calibration Data T z Ra gt Reload Current Calibration Data SE Save Calibration Data fee J Calibration Data Summary Clear calibration Data Bee Relax harmonic mode checking Been ft Use Separate Isolation Avg Isolation Average 5 Trace Averages me Unguided Calibration vee Log Calibration Scan Do LLC calibration Response and OSL Calibration ae Va 5 Term Calibration 6 Term Calibration Trace Calculation D Display Options D Print Options Calibration LED Import Path Cal data a Export Path Cal data Been 7 Use Separate Isolation Avg fae Isolation Average 3 on 10 Term Calibration Trace Averages 1 12 Term Calibration 3 Calibrate WWM Do 5 6 term cheat 3 Load mode with Cal Data mor im L Unguided Calibration vee Log Calibration Scan Do LLC calibration Calibrate WWM m Load mode with Cal Data The first three settings are associated with loading and saving calibration data Reload reloads the last saved or loaded file Calibration Data Summary displays a summary screen of the currently held calibration data Calibration data may be cleared using the Clear function When using harmonic modes the program will normally not permit mixing of modes and calibration data as this will result in strange results but for test purposes it is sometimes useful Th
13. E 7 Minus 3 V 6 value MHz v 5 Minus 6 a 6 Frequency cme Note also that the number of digits to the right of the decimal point may be set for the markers using the drop down list There are separate settings for the value and the frequency myVNA v0 93 Page 27 of 181 Tutorial Performing your first scan Also ask for it to display the difference between markers and 3 The display now looks like this A Untitled myVNA File Edit View Help G R Start Scan Single Scan Calibrate Autoscale Markers Centre 14 319000 mHz Span 0 005000 MHz Centre Span v Steps 2000 Instrument Mode Display Sets S Rs Xs Rp Xp Zs lt Zs Mkr 1 564 361 14 319400 MHz Zp lt Zp Mkr 2 360 775 14 319480 MHz Y SWR Mkr 3 50 084 14 319100 MHz RL Mkr 4 78 930 14 319400 MHz Rho lt Rho Mkr 1 3 514 277 0 000300 MHz Q Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp lt Smith Chart J Display Left gt Display Right Display Options Calibration gt Reference Standards Load amp Store Data oO YNA Hardware Choose Trace Colours Network Settings 56 25 416 32 14 316500 14 319000 MHz 14 321500 For Help press F1 4 882 secs CDS mode NUM Ask for it to scan repeatedly The markers will be updated at the end of each scan tracking what they are asked to track When you perform marker arithmetic the pr
14. Network Simulation Simulation configuration Port 1 1 Unused v 0 2 Unused v c Unused Md 2 4 Unused M C 5 Unused hd amp Port 2 E i a z 7 lle lle kl lk kle k bl kl 50 ohms Synthesize Network Load Recalculate Data Save Low Network simulation port impedances Juh TIT The dropdown list for each of the five networks determines its type The following graphic shows the menu from the fifth network all 5 display the same set of options The choices are to omit that network from the simulation unused to implement a simulation of a set of components to use the current scan data or to use the contents of one of the data stores myVNA v0 93 Page 114 of 181 Network Simulation Values Lee ele HE ele te fe ele TUTE Selecting network simulation enables the rest of the controls to the left In each case there is a pi network of up to 7 components each of which may be unused a resistor a capacitor or an inductor plus one component in parallel with the pi network Simulation configuration Port 1 Network 1 8 1 Ee e 2 4 6 TF 2 Unused 9 3 Unused C 4 Unused p QI w N i Network simulation port impedances 50 ohms Synthesize Network Load Recalculate Data Save m m r i m Jrone z A Jrone z Jrone z A Jrone z m one z hone z g Jrone z one z 1 2 3 4 5 6 ty
15. Tracking Maximum Defaut 0 000000 marker s27743ase22041 3 leftscan Tracking Maximum Defaut oo00000 Markeri s27743as622041 4 fleftscan gt Tracking Maxin Defaut o 000000 Markeri s2774385622041 5 fleftscan Tracking Maxi Defaut 0 000000 Marker1 62774385622041 6 fleftscan Tracking Maximum Defaut oomo markeri 62774385622041 7 Left Scan Tracking Maximum Default 0 000000 Marker 1 2774385622041 8 Left Scan Tracking Maximum Default 0 000000 Marker 1 2774385622041 g Left Scan Tracking Maximum Default 0 000000 Marker 1 2774385622041 Marker Arithmatic Number of decimal digits Frequency Units Marker Marker Display Show Q I Curve fitlinked f markers fa v Minus ji E m m f Ea i Linear fitlinked f markers 1 Minus i D D 6 Frequency m a cot MHz hal There are 9 markers and two marker maths functions Each marker may be configured to work in different ways and pairs of markers may be used together in an arithmetic computation Note also that the number of digits to the right of the decimal point may be set for the markers using the drop down list There are separate settings for the value and the frequency Each marker is configured primarily as follows Source Mode Target Parameter The source defines which trace the marker is attached to it may be to t
16. When pressed this button clears any forward scan data EL Edit Trace Labels The same function is also available from the display options treeview When selected it opens up the dialog box that permits the editing of labels associated with the traces Pn Edit Print Notes The same function is also available from the print options treeview When selected this button opens a dialog box that permits the notes to be included on a printout to be edited RI Reset Axis Label Positions When pressed it moves all axis labels back to their default positions Open and display the marker measurement dialog box This dialog box allows configuration of what parameters are to be displayed or printed against each marker tdr Opens the dialog box that permits the Time Domain Reflection TDR mode to be configured myVNA v0 93 Page 135 of 181 Command Reference Toolbars e X When selected ths control opens the trace averaging dialog box 35 2 3 Display Format Toolbar This toolbar permits selection of the main display modes rectangular polar report and equivalent circuit L Sa HE t The same functions are also available from the display options treeview controls 35 2 4 Scan Control Toolbar The scan control toolbar is the primary control for starting and stopping a scan as well as autoscaling the display and configuring markers Start Scan Single Scan Calibrate Autoscale Markers The first button starts or stops scanning The second per
17. 0 023876 101 686847 512 dB lt 512 1 465090 24 885036 54 449880 0 026194 99 822492 511 lt 511 1 531532 24 493263 54 300221 0 028050 100 020075 521 lt 521 1 597973 24 101577 54 230426 0 029921 104 016060 522 lt 522 1 664414 23 726669 53 963396 0 031880 113 544454 512 lt 512 1 730856 23 367173 54 039718 0 033964 105 502433 S11 Real Imag 1 797297 23 025962 54 166281 0 036651 104 643950 Redi 1 863739 22 677731 54 080643 0 037446 103 267351 Saeg 1 930180 22 364829 53 973799 0 040698 105 024572 521 Real Imag 1 996622 22 050817 53 710836 0 043530 94 323922 512 Real Imag 2 063063 21 758984 53 838046 0 045279 102 025325 A Display Left 2 129505 21 468331 54 000525 0 048164 105 556154 A Display Right 2 195946 21 175706 53 747583 0 050279 104 958243 Display Options 2 262387 20 905182 53 848511 0 052862 104 688569 2 328829 20 648204 53 749524 0 055779 101 606707 2 395270 20 391726 53 757771 0 057918 100 992229 2 461712 20 146282 53 639200 0 061492 99 345452 gt Load amp Store Data 2 528153 19 903424 53 547226 0 064991 101 324246 O VNA Hardware 2 594595 19 681076 53 681533 0 067085 110 786399 Choose Trace Colours 2 661036 19 447272 53 455742 0 070012 101 089181 Transverters 2 727477 19 229087 53 486992 0 073501 101 958108 E Network Settings 2 793919 19 020579 53 638793 0 076887 105 960152 2 860360 18 807434 53 668697 0 079128 106 071995
18. 511 dB lt 511 Mkr 1 14 434357 22 985000 MHz 521 dB lt 521 Mkr 4 0 369923 22 985000 MHz 522 dB lt 522 21 dB 512 dB lt 512 511 lt 511 521 lt 521 522 lt 522 0 00 512 lt 512 511 Real Imag 522 Real Imag 521 Real Imag 512 Real Imag J Display Left Switch and Attenuators 40 00 160 00 0 000000 50 000000 100 000000 2 086 secs NUM SCRL All functions such as markers log displays cursor movements should still function correctly 5 7 On Screen Cursors When in a rectangular display right click to display the menu One of the options is Cursors which brings up a secondary menu as shown below myVNA v0 93 Page 38 of 181 Managing the display On Screen Cursors io S Parameters mode myVNA File Edit View Help Sen Start Scan Single Scan Calibrate Autoscale Markers Start 1 000000 MHz Stop 60 000000 MHz Start Stop Steps 400 lt lt lt iS ee Instrument Mode Display Sets Display Left Display Right 2 58 10 35 1 Display Options Mkr 1 0 218036 13 685000 MHz chal Mkr 2 1 189381 31 975000 MHz_ _ Set Vertical Axis 2 A ib hi 11 dB Mkr 3 0 217298 42 300000 MHz Set Frequency Axis 21 dB nae saline Set Scan to current Frequencies P 4 20 v Lock Scan to Display Snap to 125 dB Audio Cues i Div Lock Left Vertical Axis Force display for Log axes Lo
19. 60 49 215 31 14 316500 14 319000 MHz 14 321500 For Help press F1 4 882 secs CDS mode NUM This switching function also applies to S parameters The same multiple display type logic also applies so you may select multiple parameters such as S11 S12 S21 and S22 and display them all at the same time myVNA v0 93 Page 70 of 181 Logarithmic amp Linear Scans Crystal Motional Parameters 12 Logarithmic amp Linear Scans A scan may be performed such that points are linearly or logarithmically distributed between start and stop frequencies Similarly but separately the display may be linear or logarithmic when in rectangular display mode This chapter discusses logarithmic and linear scans There are two aspects to this logarithmic or linear calibration data and logarithmic or linear scan data You may freely mix both in all 4 combinations but remember that at extremes of frequency especially low frequency and when using a small number of steps some errors may be expected when the program generates scan specific calibration data by interpolation Therefore you may find it wise to use a log calibration scan with a log device scan Under Calibration is an option for Log Calibration Scans When ticked all calibration data collected is done using a logarithmic frequency step scale Under Instrument Mode is an option for a Logarithmic device scan When selected the steps between the scan points will follow a logarithmic
20. Phase Change Delay us 0 ADC Speed 8 System Reference ohms 50 00 Hardware Interface Choose CDS Harmonic mode JS Load DDS during ADC Swap Detectors on Reverse Scan Power Down DDS when Idle Set RF IY configuration Set Reference Mode configuratior p Choose Trace Colours f Transverters J Network Settings Switch and Attenuators 100 00 20 000 20 020 20 040 20 060 20 080 20 100 20 120 20 140 20 160 20 180 20 200 20 000 kHz div 0 611 secs CDS mode Select the video filter and path From Instrument mode select Spectrum Analyser and from the Display Left select Amp dBm Untick any option in Display Right 4 3 Hardware Interface Selection Select the Hardware Interface option from the VNA Hardware section of the tree control This pops up a dialog box like this myVNA v0 93 Page 14 of 181 Tutorial Hardware Interface Selection Interface Configuration Selected InterFace Parallel Port Configuration ISB LPT Port Mame Parallel 0x378 Base Address m TEPHIP 500 000 ADC Timeout fms C Custom USB Configuration 0 r Instance E TCPIIP configuration Parallel driver a n 0 0 f Tnpouts2 P Port Number 49152 gt f Wino z Select the interface type you are using MSA only supports USB and if parallel is chosen select the base address of the printer port and the port name The TCP IP option is described i
21. Steps 2000 Instrument Mode A Display Sets Select Device Type Display Left Crystal Parameters z J Display Right e Display Options Select Model J Graticule 6 Term Model S Scan Progress Bar J Autoscale on Display Change Select Data Source JS Snap to 125 on Autoscale Current Scan Data JS Snap to 125 Audio Cues Report View fies JS Equivalent Circuits Auto Refine Eq Cct VA Display Info Tips Vertical Divisions 8 Horizontal Divisions 10 Trace Averages 1 Print Pen Width 5 Display Pen Width 2 Calibration Reference Standards Load amp Store Data VNA Hardware Choose Trace Colours O Transverters EJ Network Settings Series Resonance 8 00011691 MHz Fs 3dB 8 00014607 MHz Fs 3dB 8 00008775 MHz Parallel Resonance 8 01396012 MHz Rm 1 820944 ohms Lm 22 635824 mH Cm 0 017484 pF Q 137178 14 CO 11 709884 pF RO 7 294449 GO 5 35648e 006 For Help press F1 18 971 secs CDS mode Read Jack s paper for more information When scanning a high Q device like a crystal some thought needs to be given to the settings As a starter I suggest the following but you may find different values work better e ADC mode 8 or faster use 6 for transmission mode ADC sweep start delay 4000 usec ADC step delay 3000 usec Phase step delay 100 usec Initial frequency scan 200 points or more Trace averages 5 For a VERY high Q crystal a more conservativ
22. The next two nodes control TDR operation The first opens the TDR configuration setup dialog the second toggles on or off the TDR results display TDR mode is addressed in Section 23 Trace Average Control opens the dialog box that controls trace averaging See Section 25 for more details The final two entries manage the application of an offset to the reflection mode reference plane the first toggles on and off the application of the offset the second configures the offset This feature is experimental if you find problems please let me know myVNA v0 93 Page 141 of 181 Command Reference Treeview controls 35 3 4 Display Options Treeview Node l Display Right Display Right Calc Time Trace Calculation Be Graticule _ f Scan Progress Bar os vi Autoscale on Display Change wi Snap to 125 on Autoscale i Snap to 125 2 Audio Cues Force display for Log axes vel Report View Ta Equivalent Circuits Auto Refine Eq Cct ve Invert RL display ven d Display Info Tips Vertical Divisions 2 he Horizontal Divisions 10 a Label Freq Gridlines a Label Vert Gridlines Display Pen Width 1 Smith Polar View ma Edit Trace Labels J Show Scan Data A Marker size 3 Et Print Options This node controls many of the functions of the trace display pane Many of the options are self explanatory and simply toggle on or off the appropriate setting The current display mode is set by selecting one of Report Vie
23. Time Trace Calculation Calibration Reference Standards toh ie rt E Instrument Mode Display Sets gt Display Left E 511 Real s 511 Imag a 511 lt 51 i 511 dB 521 om 21 dB Base lt 52 S 322 Real i 522 Imag E 522 files lt 22 z S22 dB 7 512 x 12 dB lt 12 w S21 Real ban 21 Imag i S12 Real ba 12 Imag Display Left Cale Time A Display Right Display Right Calc Time Treeview controls Instrument Mode gt Display Sets F Display Left fat Display Left Calc Time ni FO Real 7 FO Imag T Check Real T Check Imag A Display Right A Display Right Calc Time Trace Calculation Display Options IC Print Options gt Calibration Reference Standards CS Load amp Store Data VNA Hardware p Choose Trace Colours Transverters ba Network Settings Switch and Attenuators Debug Controls Parameters are selected by clicking them To select more than one at once hold down the control key when clicking on a setting The parameters selected will be shown for all selected race data in the display Select many and it can get hard to read though Display Sets represents a set of shortcuts for setting left and right axis displays at the same time for example selecting S11 dB S21 dB achieves the same as selecting S11 dB on the left display and S21 dB on the right display The cho
24. a dialog will open up allowing you to change the value as shown below The min and max frequency parameters relate to the frequency range of the base hardware VNA The default is 50 KHz to 60 MHz but change it as you wish All settings are retained when you exit amp restart the program Ignore the USB Instance parameter for now This is designed to allow multiple USB connected VNAs to be used at the same time on one PC For more details please refer to Section 3lon page 126 4 4 Choose CDS Harmonic mode This treeview node from the VNA Hardware section allows the harmonic mode to be selected In Basic mode a single pair of measurements 1s made at each point one reading 90 degrees out of phase with the other Harmonic suppression modes perform additional measurements and also permit selection of harmonics of the DDS frequency The dialog box is as shown below Configure CDS Harmonic mode Select Mode Samples U Basic Mode C 4 Samples CDS C a Samples 16 Samples f Harmonic Suppression Mode Harmonic 32 Samples f Fundamental fa m r C 2nd Harmonic C 3rd Harmonic C 4th Harmonic Mote For COS select Harmonic Suppression Fundamental 4 f Sth Harmonic samples Cancel For now select Harmonic Suppression Mode with Fundamental and 4 Samples CDS This is also known as Correlated Double Sampling CDS mode There is more on harmonic modes later in this manual Also when calibrating
25. call it OSLC Don t use it unless you understand it The 4 step uses a high Q capacitor whose characteristics must be known to the program This is set by entering the value of the capacitor its Q at a given frequency that frequency and the model to be applied There are 3 models for now fixed Q an equation based on a high quality vacuum capacitor and one based on a porcelain ATCIOOB capacitor 18 5 Calibration Notes It is possible to put calibration notes into a calibration data file If enabled the function is disabled with a tickbox under View Options then every time a calibration data file is saved to disk a dialog box will pop up first with the current calibration notes You may clear the notes cancel the inclusion of notes or include the notes in the calibration data file When calibration data is loaded the notes are displayed at the bottom of the calibration data summary dialog 18 6 Loading saving settings in calibration data Under the Calibration options is a selectable item Load mode with Cal data and under View Option is a selectable option Save basic mode data in calibration data file This controls the saving of basic scan parameters in a calibration file and whether when the file is loaded the settings are applied myVNA v0 93 Page 84 of 181 Unguided Calibration Loading saving settings in calibration data 19 Unguided Calibration There are two modes of operation for calibration gu
26. specify here the offset in millimetres 35 3 8 Load amp Save Treeview Node This node controls the loading and saving of trace data to internal data stores or to file gt Display Options gt Print Options Calibration lt gt Reference Standards Save Scan to Store 1 Save Scan to Store 2 Save Scan to Store 3 Save Scan to Store 4 Save Simulation to Store Save Scan to File Save Simulation to File Save Store to File gt Load File to Store Display Store 1 Display Store 2 Display Store 3 Display Store 4 gt Set extended filesave types f Set Touchstone File Options J Ask if set Scan to File data on load Set Scan to File data on load Set scan to stored trace Auto load save trace data The first four options provide a one click method of saving current scan data into one of the four built in data stores the next saves simulation data to one of the stores but in this case a dialog box will be used to specify the store to be used this is to keep the treeeview node to manageable size myVNA v0 93 Page 145 of 181 Command Reference Treeview controls The next three options are used to save scan simulation or data store trace data to a file and the one following that loads data from file When data is saved to file a number of file formats are supported but the available formats will be filtered depending on the instrument mode For example Touchstone snp file formats slp and s2p are suppor
27. there is a 5000 us sweep start delay which can be seen before the first point is read and the RF outputs are held steady for this time SS E i it in i W al i I il i IMR i i CH1 200m When DDS power down is selected the DDS chips are put into power down mode at the end of a sweep and held there until needed This may be seen in the following trace This power down occurs after all activity the end of each sweep between calibration runs when exiting VVM or Signal Generator modes etc myVNA v0 93 Page 130 of 181 DDS Power Down Simulation Limitations i i i 1 000ms myVNA v0 93 Page 131 of 181 Command Reference Main Menu 35 Command Reference This chapter provides a brief summary of all commands 35 1 Main Menu 35 1 1 Main Menu File fih Edit View Help Mew Frame i New Ctrl N Open Ctri O0 Save Ctrl Save As Print Ctrl P Print Preview Print Setup Recent File Exit The main menu file commands provide the following functions e Open Used to load a saved trace from a file same as the file open icon from the windows toolbar or the keyboard shortcut control o It will prompt for which data store to load the file into and will then prompt for the file Supported file types are csv slp and s2p The program will attempt to interpret the contents of the file For more information see Section 6 1 Saving Data to and loading data f
28. 1 gt sean data 7 7 bit 2 1 gt store data 7 Bit 37 1 gt sim data bit 4 7 spare bit 11 8 stere Sim or cal index 0 15 bit 15 12 spare bit 23 16 parameter type not all in use integer 0 255 bits 31 24 spare es mode is as follows 0 tracking 1 manual 2 linked 3 linked f 4 linked f F target is as follows Q0 maximum 1 minimum jj 2 Gross wo lst 3 cross down 1st 4 cross up 2nd 5 cross down 2nd i amp cross Up ord 7 cross down 3rd ce link is the other marker number 0 NUM MARKERS 1 display flag is 0 to disable hide and lt gt 0 to enable amp display define GETSETMARKERSETUP 7 case 8 get not set various program constants nindex 0 return the following data 0O number of different left right axis parameters data l number of markers data 2 number of calculation markers data 3 number of stores for traces data 4 number of annotations data 5 number of separate trace colour data 6 number of transverters permitted data 7 limit on length of a transverter name data 8 number of simulations supported data 9 number of simulation structures per simulation supported data 10 number of components per simulation define GETPROGRAMCONSTANTS 8 case 9 get or set equivalent circuit configuration nindex not used set
29. 1 lt lt 5 return codes from Read Command and Reset functions define VNAHW OK 0 define VNAHW HWERROR 1 the above are also returned as error codes from DoScan define VNAHW_ OVERRANGE 2 define VNAHW ADC TIMEOUT 3 define VNAHW NO POWER 4 from MSA scan functions define VNAHW INVALID ADC 5 define VNAHW COMMSERROR 6 along with the following T fi Ti These are the exported functions called by myVNA Call CustomVNAhwInit before anything else Call CustomVNAhwFree before closing Pass the value returned by CustomVNAhwInit see the c source as the first parameter to all other functions for details of each function _ eclepec dllexzport eclepec allexpor _ Geclepec dllexzport myVNA v0 93 void stdcall CustomVNAhwInit int nInstance void _stdcall CustomVNAhwFree void pHelper bool _stdcall CheckVNAHardware void pHelper Page 169 of 181 Custom VNA Interface _ declspec dllexport bool _stdcall RescanForCustomVNA void pHelper int ninstance _ decilspec dllexport pocl stdcall GetCustomVNACodeVersions void pHelper int pCustomVNAinterfaceDLLversion int pVnaDllVersion _ teclepec ail lexpor double LoDDS double RfDDS int AdcCount int AdcMode bool bAdcOnly _Geclepec dliexzport int stdcall signed long pdata int LoPhase int RfPhase bool bPauseInOut CustomVNARead void pHelper _ Aeclspec dllexport int _stdcall CheckCustomVNARe
30. 2 926802 18 611554 53 577542 0 082781 100 051470 2 993243 18 413823 53 567270 0 086256 102 631143 3 059685 18 214463 53 581861 0 088835 102 844306 3 126126 18 032084 53 377170 0 092891 103 625522 3 192568 17 844646 53 334132 0 096752 122 123041 3 259009 17 677475 53 413509 0 099661 97 514462 3 325450 17 501220 53 220539 0 102439 109 874058 3 391892 17 339145 53 392293 0 106648 109 490736 3 458333 17 177157 53 323077 0 110257 109 898730 3 524775 17 016155 53 335666 0 114098 103 767545 3 591216 16 864160 53 188533 0 117388 94 808121 3 657658 16 709742 53 265414 0 121239 102 011287 For Help press F1 11 459 secs CDS mode O Calibration O Reference Standards R amp Switch and Attenuators You may select as many items to display as you want at the same time This also works for the main graphical displays for example P S Parameters mode myVNA File Edit View Help oa SIN Start Scan Single Scan Calibrate Autoscale Markers Start 1 000000 MHz Stop 60 000000 MHz X Start Stop Steps 888 R Instrument Mode al Display Sets 511 dB 521 dB 522 dB 512 dB 1 00 3 00 511 dB lt 511 Mkr 1 0 597 59 933559 MHz 521 dB lt 521 Mkr 2 0 010 13 557432 MHz 522 dB lt 522 S11 Real Mkr 3 0 010 13 557432 MHz 11 Imag 512 dB lt 512 Mkr 4 0 010 13 557432 MHz f 511 511 i Mkr 3 4 0 000 0 000000 MHz 521 lt 521 522 lt 522 512 lt 512 J
31. 2 Load and Store options and configuration ccc seeeessecceeeceeeeseeseeeeeees 49 6 1 3 Export amp Import Program Configuration ssessseoeeeesssssseseerrssssssseeeeees 49 62 Pontin eoscsni a a a a 50 6 gt COPY 10 CMO AA dar a e tseel a aaue ade ddemdn tn gestae ceed 51 CE DDO ea or raceme TA nee TR AeT A Mie err nme here aera 52 T Program Limits and Omer OpuOns aeiae a ak deena a 53 S smiithvand Polat Warts e cae et cater a T 56 Sel ZOOMING ations osaiveii diene A csastaltide ea menus aah Raactaletta eel menue ahs 58 T REPO NICWN eners a a 60 10 Egua ot CEC US ennn n aa cena a heads 62 10 1 Crystal Mottona Parameter Seinai eea E 63 LD Dal Detector SCAM rsrsr a eE 68 myVNA v0 93 Page 4 of 181 12 Jeoearitonue amp Lincar Sains seor ee etal eine olor eeeae 71 D S Parane IC a a E asesiauciaaindea tusaab neha osteds 73 t4 Harmonie modes and CDS ernieren AR T11 I3 Coup Dey aoee a EA N 79 16 TRANS VCCI Se TEE 80 I stent atOrand S WItC I ConTO kens E ertieee oes 81 17 1 PLossline switches durin a SCan aar ti acheter en 82 18 Open Short Load Calibration Standards cccccccsssesssecceececeeeeeeseeceeeeeeeaeaeenees 83 18 1 Loading amp Saving Calibration Standards Data i ecceccceceeeeeeeeeeeeees 83 18 2 Saving Calibration Standards in Calibration data files eeeeeeeeeees 83 18 3 Saving System Reference Impedance in Calibration amp Standards Files 83 18 4 LEC OSE
32. 6 7598 6 8899 7 0199 7 1500 7 2801 7 4101 7 5402 7 6703 7 8003 0 5000 130 0694 kHz div 0 4000 us div 3 5000 Now put the cursor in the main display grid press the left mouse button and hold then drag left or right and observe the trace for example thus Mkr 3 45 210 2 972000 us Mkr 4 45 031 2 965000 us Mkr 3 4 0 179 0 007000 MHz 00 10 00 11 dB t S11 20 00 40 00 50 00 60 00 70 00 80 00 35 00 90 00 6 4675 6 5976 6 7276 6 8577 6 9878 7 1178 7 2479 7 3780 7 5080 7 6381 7 7682 0 5000 130 0694 kHz div 0 4000 us div 3 5000 The depth of the nulls will change as the trace is dragged In this case the centre frequency is 7 1178 MHz for the second resonator The amount of data that may be used in such a zoom is limited The data will be clipped to the display frequencies and the start amp stop frequencies of the data and the amount of data must exceed a fairly arbitrary 100 points The output time domain data will always be the same number of data points as the trace itself in this case 501 points Also if you zoom in too much you get some strange results myVNA v0 93 Page 96 of 181 Marker Measurements Using Time Domain to tune variable coupling BPFs 24 Marker Measurements To extend the functionality of markers a separate marker measurements dialog box may be opened to display extra data This chapter describes its operation Under Tr
33. 96 Given the current definitions the final entry in the above list is DISPLAY TDR 22 ZS which takes the value of 66 hence currently bits 67 127 will always be zero define GETSETLEFTAXIS 3 define GETSETRIGHTAXIS 4 case 5 get or set hardware delays amp adc speed nIindex not used set to 0 data 0 ADC speed data 1l ADC step delay data 2 sweep start delay data 3 phase change delay the speed is an integer that depends on hardware 1 10 for the N2PK other values ignored the time delays are integers in us the data may be truncated for example setting the data length to 2 will changeADC speed and step delay only define GETSETHARDWARESPEEDS 5 case 6 set or get the hardware options nindex not used set to 0 data 0 CDS mode as defined below data 1 flags as defined below data 2 system reference CDS mode This is an integer structured as follows bit 0 if 0 basic mode and rest of this integer has no effect Zi if 1 harmonic suppression mode as defined below bits 8 15 harmonic where 0x01 means fundamental 0x02 is second harmonic bits 16 24 number of samples 0x01 means 1 0x04 means 4 etc jf limitations samples must be 0x04 0x08 0x10 or 0x32 Other values will cause setting to be ignored harmonics must be 1 2 3 4 or 5 Other values will be ignored if harmonics is 2 or 3 sample setting 4 is not available if harm
34. ADC BW Hz Update rate DDS Frequency a Volts RMS 1700 vy 0 5 x 59 000000 MHz x E k aa Average _zeroPhase FF snc dode arein antiphase nd Zero Ampl Iv Apply Cal Data The display shows at the top the current ADC readings for each ADC Each may be switched on or off and the number of decimal points shown may be changed Below that in the middle of the screen 1s the difference between ADC1 and ADC2 in amplitude and phase The format of this data is controlled by the settings lower down on the dialog and may be either a simple value difference a vector computation or a ratio Bottom left there is a drop down list that selects the units for the display This may be in volts or millivolts either RMS or peak to peak or in dB dBm It also permits a simple ratio to be displayed or a ratio multiplied by the system reference impedance typically 50 ohms myVNA v0 93 Page 103 of 181 Vector Voltmeter Using Time Domain to tune variable coupling BPFs From left to right at the bottom the ADC mode is selected the speed of update of the screen display is set the number of traces that are averaged 1s set the relative phase and magnitude ration may be set to zero the frequency of the meter is determined and calibration data applied The ADC mode is set from a drop down list and the settings are the same as those of the ADC modes but here are displayed as the bandwidth that 1s applied as a result of the mode choice T
35. Choose trace colours option The first two are reserved for the primary left and right parameters of the current scan data that is the parameters whose details appear in the upper half of the left and right axes The other 6 are used for the rest of the traces cycling round each in turn In polar or Smith displays only the first pen is reserved 5 3 Scan setting options amp the Scan Toolbar Look again at the drop down list of scan settings The Scan toolbar is the toolbar that extends from Centre to Avg in the picture below It is a moveable dockable toolbar so you can drag it around if you wish fe Reflection mode myVNA File Edit View Help co lel amp NW Centre 8 009686 MHz v Span 0 024332 MHz Centre Span Steps 1000 Ava 1 Start Scan SingleScan Calibrate Autoscale Markers J mm gt S gt D DI LI RI a X EL Pn RI in Instrument Mode a Full Scan JS Reflection Fom 20 Transmission Centre Per Step Centre Per Div Dual Detector Trans Refl S Parameters Start Per Step Start Per Div You may set the scan in many different ways Full Scan sets the range to be the current limits of the VNA From Zero sets the display from zero to the current stop frequency The other six options are in two groups those based on a start frequency and those based on a centre frequency For each the scan may be set for a specified span per step or per division Divisions here refers to
36. Data O Transmission uses ADC 2 Reflection uses ADC 1 ADC Step Delay us 1000 Sweep Start Delay us 10000 ADC Speed 6 Clock Hz 148342934 00 Maximum Frequency 60000000 01 Minimum Frequency 60000 00 Hardware Interface Choose CDS Harmonic mode JS Load DDS during ADC Choose Trace Colours Le Transverters EJ Network Settings 118 58 1 000000 75 500000 MHz 150 000000 Cursor Freq 82 924952 MHz Left 74 430849 dB 97 771 secs CDS mode NUM To use it you MUST use a harmonically rich RF source as described by Paul such as an AC series gate biased to its mid point Look also under Calibration and you will see an option Relax Harmonic Mode Checking Normally the program will not allow you to use calibration data with one harmonic mode to scan in another mode Under certain circumstances this may be useful tick the menu item to permit it Harmonic suppression is also useful at baseband Here is the same filter from O to 60 with normal CDS mode The red amp blue traces show the gain differences with harmonic effects at the upper end of the range and the purple green show the phase differences Green and red traces are normal CDS mode P Untitled myVNA File Edit View Help amp R Start Scan single scan Calibrate Autoscale Markers Start 1 000000 MHz Stop 60 000000 MHz Start Stop Steps 1000 Instrument Mode Display Sets Display L
37. Force display for Log axes Report View Equivalent Circuits Auto Refine Eq Cct JS Invert RL display z Display Info Tips Vertical Divisions 8 Horizontal Divisions 10 JS Label Freq Gridlines JS Label Vert Gridlines Display Pen Width 2 Smith Polar View Edit Trace Labels JS Show Scan Data Marker size 3 C Print Options Calibration gt Reference Standards 0 00 0 00 Load amp Store Data 14 2980 14 3020 14 3060 14 3100 14 3140 14 3180 14 3220 14 3260 14 3300 14 3340 14 3380 0 0000 4 0000 kHz div 0 1000 us div 1 0000 Cursor Freq 14 306219 MHz Time 0 205473 us Left 58 023 Ohms Right 58 023 Ohms 142 371 secs CDS mode Click Single Scan and wait It is likely that the display will be off screen On the first trace 1t will autoscale for you but in general clicking Autoscale will rescale the axes to match the current trace When you try dragging things around later click autoscale to reinstate the axes cP Untitled myVNA File Edit View Help O oo Me ew Start Scan Single Scan Calibrate Autoscale Markers Centre 14 318000 mHz Span 0 020000 MHz Centre Span x Steps 2000 RA Instrument Mode Rs xs Rp Xp Zs lt Zs 2p lt Zp VSWR RL Rho lt Rho Q Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp IY lt Smith Chart Display Left J Display Right C Display Options O Calibration OD Reference
38. LS 12 DISPLAY REFL CP 13 DISPLAY REFL LP 14 DISPLAY REFL GP 15 DISPLAY REFL BP 16 DISPLAY REFL MODY 17 DISPLAY REFL ANGY 18 DISPLAY REFL RHO REAL 19 DISPLAY REFL RHO IMAG 20 DISPLAY S11 REAL 21 DISPLAY S11 IMAG 22 DISPLAY S11 ABS 23 DISPLAY S11 ANG 24 DISPLAY S11 RL 25 DISPLAY S21 GAIN 26 DISPLAY S21 GAIN DB 27 DISPLAY S21 GAIN ANG 28 DISPLAY S22 REAL 29 DISPLAY S22 IMAG 30 DISPLAY S22 ABS 31 DISPLAY S22 ANG 32 DISPLAY S22 RL 33 DISPLAY S12 GAIN 34 DISPLAY S12 GAIN DB 35 DISPLAY S12 GAIN ANG 36 DISPLAY S21 REAL 37 DISPLAY S21 IMAG 38 DISPLAY S12 REAL 39 DISPLAY S12 IMAG 40 DISPLAY TRANS GAIN 41 DISPLAY TRANS GAINDB 42 DISPLAY TRANS GAIN PHASE 43 DISPLAY TRANS REAL 44 DISPLAY TRANS IMAG 45 DISPLAY TRANS GROUPDELAY 46 DISPLAY DISP1 47 DISPLAY DISP1RE DISPLAY DISP1 DISPLAY DISP1IM DISPLAY DISP1 1 DISPLAY DISP2 49 DISPLAY DISP2RE DISPLAY DISP2 DISPLAY DISP2IM DISPLAY DISP2 1 DISPLAY DISP3 51 DISPLAY DISP3RE DISPLAY DISP3 DISPLAY DISP3IM DISPLAY DISP3 1 DISPLAY DISP4 53 DISPLAY DISP4RE DISPLAY DISP4 DISPLAY DISP4IM DISPLAY DISP4 1 spectrum analyser trace unused define define time define define define define define define define define define define define Ia LILL ILLALLA eee eee eee AAAA IA T LAA TA eee ee eee eee AAT AAA eee eee A AA A Pe ee eee oe TAAL TA i MyVNASetDisplayMode DISPLAY SPECTRUM MAG 55 DISPLAY SPECTRUM DBM 56 domain offsets in nDisplayTD
39. Please email the above data to thd Responses are manually processed so a reply will not be immediate Paste the response into the window below and click Activate Product Clear Paste Copy Activate Product Product key valid but needs activation in 25 days If a valid product key has been entered that needs activation then activation data will be displayed Copy this into an email to the address shown or to myvna btinternet com if one is not otherwise indicated Upon receipt of the activation key paste it in and click Activate Product Activation keys look like product keys but they are not interchangeable Do not try to enter a product key as an activation key or vice versa Please note that given the security sometimes applied to computer settings for some operating systems it may be the case that if activated under one user account on a shared computer it may not appear to be activated for other users of the same computer If this is the case use the same product and activation key for other accounts It may also be the case that due to local security policy restrictions you need to run myVNA as administrator when performing product key entry or activation myVNA v0 93 Page 9 of 181 Tutorial First Run 4 Tutorial This chapter provides a step by step tutorial on using myVNA 4 1 First Run When you first run the program or after installing a new version it will not find any stored parameter
40. Rs Ls Rp Cp Rp Lp Gp Bp M lt Y Fo F1 F2 T Check TDR S11 amp 522 dB i TDR ports 1 amp 2 Zs 5 Display Left Display Left Calc Time J Display Right Display Right Calc Time Trace Calculation C Display Options C Print Options i D Calibration D Reference Standards O Load amp Store Data C VNA Hardware p Choose Trace Colours 14 2980 14 3020 14 3060 14 3100 14 3140 14 3180 14 3220 14 3260 14 3300 14 3340 14 3380 CP Transverters 0 0000 4 0000 kHz div 0 1000 us div 1 0000 Network Settings Cursor Freq 14 303529 MHz Time 0 138219 us 42 371 secs CDS mode Select Rs Xs a green tick appear this will be on the left Note the axes now carry a default setting and labels of Rs and Xs aih myVNA Reflection mode myvna A i a i i i et aes a ca j File Edit View Help OSW jiel R m gt S gt D DI LI RI FI M X lt 3 EL Pn RI amp tdr L SHH Stertscan Sngescan calibrate Autoscale markers Centre 14 318000 mz Span 0 040000 miz v centre Span Steps z000 Ava i A Instrument Mode a J Display Sets J m Rs Xs Rp Xp 100 00 100 00 Zs lt Zs VSWR Rs RL E S x 87 50 87 50 Rho lt Rho 12 50 12 50 Q Ohms Ohms Rs Cs i Div i Div Rs Ls 75 00 75 00 Rp Cp Rp Lp Gp Bp Y lt Y FO F1 F2 50 00 50 00 T Check TDR S11 amp 22 dB
41. Show Print Notes Dialog Cursors Configure TDR Open Trace Average Dialog Show Marker Measurements Copy Image to Clipboard Reset Screen Label Positions Ph myVNA Reflection mode myVNA File Edit View Help jo aM Be J wosmdu RAM F EXEL PHA td z SE Start Scan Single Scan Calibrate Instrument Mode Display Sets Admittance T Check J Display Left J Display Left Calc Time J Display Right J Display Right Calc Time Trace Calculation Display Options Print Options Calibration Reference Standards Load amp Store Data VNA Hardware Choose Trace Colours Transverters Network Settings Switch and Attenuators Debug Controls myVNA v0 93 anf Rho Smith Chart Rho lt Rho Smith Chart Centre 10 700000 mHz v Span 0 050000 MHz 7 Centre Span 4 Set Radial Axis Set Frequency Axis Lock Radial Axis Lock Frequency Axis Bring Manual Markers Onscreen Hide Markers Modify Marker Units Log Frequency Scale Clear Reverse Scan Data Clear All Scan Data Edit Trace Labels Show Print Notes Dialog Show Marker Measurements Copy Image to Clipboard Zoom in CTRL Zoom out CTRL Zoom reset Page 150 of 181 Command Reference Popup Menus fe File Edit View Help myVNA Reflectio DSW BeBe wv J mS DURAM Ill Sc 56 EL Pn Al tdr 3 WN r ao ra
42. Standards Load amp Store Data gt YNA Hardware Choose Trace Colours C gt Transverters b Network Settings 56 25 416 32 14 308000 14 318000 MHz 14 328000 For Help press F1 4 882 secs CDS mode NUM 4 7 3 Dragging the display around Autoscale brings both main traces on screen It will also take account of any stored trace data currently displayed and ensure that both the stored data and current trace fit on screen Now time to play with dragging things There are 6 different draggable things here 5 to be described now myVNA v0 93 Page 23 of 181 Tutorial Performing your first scan On the left of the left vertical axis and right of the right vertical axis are zones where the axes may be rescaled Put the mouse on the left say somewhere between the values in the example above 139 21 and 27 30 Press the left mouse button and drag up or down The value at the top of the axis will remain unchanged but the scale will increase or decrease for example moving the mouse up gives this 2 Untitled myVNA File Edit View Help aTa Start Scan Single scan Calibrate Autoscale Markers Centre 14 318000 mHz v Span 0 020000 MHz Centre Span v Steps 2000 Instrument Mode Display Sets S Rs Xs Rp Xp Zs lt Zs 2p lt Zp VSWR RL Rho lt Rho Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp Y lt Smith Chart J Display Left J Disp
43. Yahoo group The program ought to limit calibration data so for example it should not allow you to use harmonic calibration data in another mode This it currently will not do as the modes are experimental Therefore you must take care Configure CDS Harmonic mode Select Mode Samples C Basic Mode f Harmonic Suppression Mode C 8 Samples 16 Samples 32 Samples Harmonic C Fundamental Note For CDS select Harmonic B Suppression Fundamental 4 e 3rd Harmonic samples C Sth Harmonic J Cancel In this example the program will extract the 3 harmonic using 16 samples per step so it gets slower When you select 3 or 5 a multiplier 1s applied to the frequency settings Note that you should NOT change the minimum and maximum frequencies the program will automatically apply a multiplier to the frequency scales used In 3 harmonic mode for example the scan range of the VNA changes to 180 KHz to 180 MHz Here is a scan of a 30 MHz low pass filter from 1 MHz to 150 MHz myVNA v0 93 Page 77 of 181 Harmonic modes and CDS Crystal Motional Parameters A Untitled myVNA File Edit View Help G R Start Scan single Scan Calibrate Autoscale Markers Start 1 000000 mHz v Stop 150 000000 MHz Start Stop v Steps 1000 Instrument Mode Display Sets J Display Left J Display Right i Le Display Options Mkr 3 1 295 30 353000 MHz Calibration Reference Standards Load amp Store
44. after it Another way to achieve the same effect is to use the avgscan or avgstore functions which provide a simple way to average a range of points about the current point avgscan range what avgstore store range what A range of for example 2 will return the average of the current point the two before and the two after If a point is accessed before the first point in the scan or after the last point for any of these four offset functions then the first or last respectively will be returned to avoid strange effects at the start or end of a plot It is possible also to access raw scan data this is the complex ADC data before any processing is applied Specifically this is before OSL or n term corrections and is therefore a simple indication of the ADC voltages read The data are accessed thus rawscan index where index is as follows Q Forward transmission 1 Forward reflection 2 Reverse transmission myVNA v0 93 Page 111 of 181 User Defined Display Functions Functions 3 Reverse reflection Only raw scan data may be accessed in this way not stored data One possible use for this data is to perform swept vector voltmeter measurements As a final twist it is also possible to load the results of a calculation into another calculation so for example scan calcl would load the complex result of the first calculation initially named F1 Be careful however recursion is not allowed and calculation
45. axes the details are self explanatory For the frequency axis you may either explicitly set the frequency using start stop or centre span or may set the current centre frequency to the current marker frequency of any currently enabled marker Note however that the frequencies will only be set if valid for the current calibration data You may also set the number of decimal places for the frequency axis The Start Stop settings control the left and right start and stop frequencies as well as the centre point in a linear scan In a log frequency display the centre value is omitted and the log scale setting controls the number of decimal places on each decade point The Show Freq Div option states the scale on the frequency axis in non logarithmic rectangular displays There are in fact two frequency axis setting dialogs if the display and scan frequencies are not locked then the following version of the Set Frequency Axis dialog will be displayed instead Set Display Frequencies Frequency range Start Frequency 7 99752 MHz End Frequency 8 021852 MHz Decimal Places 4 Start Stop 2 Log Scale i fat o Canel W Show Freg div There is also a second way to access these dialogs A double click with the left mouse button will cause one or other to appear If the mouse is pointing to the bottom 10 of the display area or the area under the trace the frequency dialog will appear otherwise
46. click Next 9 2 Choose Install from a list or specific location and click Next 9 3 Choose Search for the best driver in these locations check Include this location and Browse to the appropriate subdirectory created in step 1 Click OK and then click Next If the wizard does not appear open Control Panel select the System Icon and from there select the Hardware tab Then click the Device Manager button Select the first item in the list and from the Action menu select scan for hardware changes This should then cause Windows to find the device The N2PK drivers are installed Ignore the Has not passed Windows Logo Testing message and click Continue Anyway When the process completes click the Finish button You are returned to the Windows desktop and the Found New hardware flag pops up If the Found New Hardware Wizard appears again repeat steps 9 and 10 until Windows can routinely find the USB interface when it is plugged in Note from now on whenever you plug the USB interface into a USB1 port as used in older PCs you will see an irritating message that This device can perform faster Ignore it Note 2 If the PC wants to reboot let it The driver will in fact be working correctly but it is simpler to get it over with You may also find that if you plug it in to a different USB port it wil reinstall the drivers again This should only happen once per port though Re run the usb configure
47. computes a time domain representation myVNA v0 93 Page 90 of 181 TDR mode Loading saving settings in calibration data The data that is processed may be any of the reflection transmission or the reverse port versions When enabled additional display options are available for the left and right axes A typical trace showing the reflection port time domain 1s as follows a a AEAEE ae BLS eS ee ee File Edit View Help gt bel SB J m gt SDDI L RI AM I gt lt gt EL Pn RI tdr _ SHt Markers Start 6 150000 Maz Stop 8 150000 mHz Start Stop steps 500 ava instoument Mode Mkr 1 7 741 0 606000 us J Display Sets Mkr 2 45 150 1 236000 us J Display Left J Display Left Calc Time 0 00 J Display Right FO lt FO F1 Real F1 Imag F2 lt F2 T Check Real T Check Imag TDR S11 JS TDR S11 dB TDR 22 TDR 22 dB TDR S21 TDR 21 dB TDR 12 TDR S12 dB TDR Port 1 Zs TDR Port 2 Zs Trace Calculation jo Display Options gt Print Options D Calibration 40 00 85 00 6 1500 6 3500 6 5500 6 7500 6 9500 7 1500 7 3500 7 5500 7 7500 7 9500 8 1500 Network Settings 0 5000 200 0000 kHz div 0 3500 us div 3 0000 Switch and Attenuators 10 701 secs CDS mode Markers display with time instead of frequency when attached to a time domain trace In addition the status line displays time as well as frequency for the cursor
48. double data from an array LONG nSize VARIANT a id 7 helpstring method Show or hide myVNA window void ShowWindowAutomation LONG nValue 1d 8 helpstring method Retrieve subset of current scan data results int GetScanDataAutomation LONG nStart LONG nEnd LONG nWhata LONG nWhatb VARIANT a VARIANT b id 10 helpstring method Load current configuration data from a file id 11 helpstring method Save current configuration data to a file int SetDoubleArrayAutomation LONG nWhat LONG nIndex int LoadConfigurationAutomation LPCTSTR fileName int SaveConfigurationAutomation LPCTSTR fileName myVNA v0 93 Page 158 of 181 Automation interface example contents id 12 helpstring method Load current calibration data from a file int LoadCalibrationAutomation LPCTSTR fileName id 13 helpstring method Save current calibration data to a file int SaveCalibrationAutomation LPCTSTR fileName id 14 helpstring method generic method to get integer data to an array int GetIntegerArrayAutomation LONG nWhat LONG nIndex LONG nSize VARIANT a id 15 helpstring method generic method to set integer data from an array int SetIntegerArrayAutomation LONG nWhat LONG nindex LONG nSize VARIANT a id 16 helpstring method Autoscale display int AutoscaleAutomation void id 17 helpstring method Copy current displayed data to clipboard int ClipboardCopyAutoma
49. exe program see step 5 At the Compressed Files warning click Run The N2PK USB Interface Control dialog opens myVNA v0 93 Page 176 of 181 Configuring the USB hardware 12 Go to the Communicate with Adapter tab and click Check VNA interface You should get an N2PK VNA Interface found message and the Read VNA Interface and Write VNA Interface buttons will be enabled 13 Click Read VNA Interface still with no VNA connected and you should read the message 00 00 X0 CO 00 Where X is 8 or 4 myVNA v0 93 Page 177 of 181 Testing I O Lines Annex H Testing I O Lines There is a test function under Instrument Modes that allows low level debugging of I O lines It works for either USB or Parallel port mode When selected it opens a dialog as shown Debug I O Lines Low High Toggle Low High Toggle Low High Toggle RF DDS Data and ADC SDI 4DC1 CS Atten 0 fe fe ie LO DDS Data ADC2 CS Atten 1 C C e C DDS WCLK ADC SCLK Atten 2 fe C l C DDS Reset ADC Input Lines Switch 0 C ADC1 ADC2 C High DDS FQ UD C Low Note these controls only show whether the input lines are high or low not ADC operation Each line may be set high low or toggling When toggling the rate may be high 10 to 20 msec approx per change depends on windows or 0 5 second There are two input lines three for the USB interface The two ADC Serial Data Out lines appear as two
50. for nWhat in GetScanData the first is a dummy used for nWhata or nWHatb to cause no data to be retrieved for that case a or b hence to retrieve just one parameter set in a call set nWhatA or nWhatB to the desired value and set the other nWhatb or nWhata to be set to 2 Otherwise two separate parameter values may be retrieved at same time for example setting nWhata to 1 and nWhatb to 0 would cause scan frequency data and RS data to be retrieved Setting the values to 21 and 22 would cause S11 real and imaginary to be retrieved define DISPLAY NOTHING 2 define DISPLAY FREQ SCALE 1 define DISPLAY REFL RS 0 define DISPLAY REFL XS 1 define DISPLAY REFL RP 2 define DISPLAY REFL XP 3 define DISPLAY REFL MODZS 4 define DISPLAY REFL ANGZS 5 define DISPLAY REFL VSWR 6 define DISPLAY REFL RL 7 define DISPLAY REFL RHO 8 define DISPLAY REFL ANGRHO 9 myVNA v0 93 Page 161 of 181 Automation interface example contents define define define define define define define define define define define define define define define define define define define define define define define define define define define define define define tdefine define define define define define define define define define define define define define define define define define define DISPLAY REFL Q 10 DISPLAY REFL CS 11 DISPLAY REFL
51. function must be a value from 1 to 4 The second should be one of the parameters shown below in fact these are just pre defined constants you can see the value by entering a function of just the parameter name such as xs and seeing the effect in report view It is important to note that the stored data must exist to be used and that the number of data points in the store MUST be the same as the number in the current scan The program will try to prevent you selecting an equation that requires a store if the store does not contain data of the same number of points but try hard and you can probably get round this zs Seriesimpedance O Z oO o OO tho reflection coefficient Rho y Complex admittance ooo myVNA v0 93 Page 109 of 181 User Defined Display Functions Data Sources In each of the above the complex value for the parameter is loaded This is used directly in calculations as a complex quantity It is also possible to load individual calculated results as shown in the table below Note however that in each case these are loaded as a real value into the calculator or more precisely as a complex value with a zero imaginary part Parameter p modzs angzs vswr modrho angrho oe C CCCC C Series capacitance Series inductance Series inductance oo mody angy rhore rhoim sl Ire Real component of S11 sl lim Imaginary component of S11 sl Imod Modulus of S11 sl lang Phase of S11 in degrees sl Irl S
52. if different from the common ones The program will remember the value you enter This is only used in transmission mode In reflection mode just connect the crystal to a suitable connector on the bridge between signal and ground Before you can use the function you need to get the display to show the crystal resonances Here is what it should look like for the 45 degree parameter model in reflection mode Note also the displayed results myVNA v0 93 Page 63 of 181 Equivalent Circuits Crystal Motional Parameters Ph Reflection mode RF IV myVNA File Edit View Help i amp R Start Scan Single scan Calibrate Autoscale Markers Centre 8 008374 mH Span 0 020000 MHz Centre span gt Steps 20 R Instrument Mode A Display Sets Select Device Type Display Left Crystal Parameters z J Display Right R amp Trace Calculation Select Model C Display Options 45 Degree Phase X JS Graticule J Scan Progress Bar Select Data Source S Autoscale on Display Change Current Scan Data JS Snap to 125 on Autoscale JS Snap to 125 JS audio Cues izes WA Force display for Log axes Report View JS Equivalent Circuits Log Results Auto Refine Eq Cct JS Display Info Tips Vertical Divisions 8 Horizontal Divisions 10 J Label Freq Gridlines Label vert Gridlines Print Pen Width 5 Display Pen Width 2 Print Notes Dialog Rm 8 387048 ohms JS add Print Notes to Clipboard Lm 22 513399
53. is sequential so loading calcl into F2 makes sense but loading calc2 into F1 does not 28 2 Functions There are a small number of built in functions that may be used to build an equation The following operate on complex data values All angles in these equations are in radians Function cos x sin x tan x cosh x sinh x tanh x acos x Calculate arccos of real component of x setting the imaginary part to Zero _ Zero _ Zero _ imaginary part to zero mo imaginary part to zero exp x In x log x sqrt real x imag x Return the imaginary part of x as the real part setting the imaginary part of the result to zero im x abs x arg x conj x norm x polar x y Return the complex number that results from the real modulus of x with real phase of y in radians myVNA v0 93 Page 112 of 181 User Defined Display Functions Numbers db x Return 20 log10 abs x with the imaginary part set to zero Adds two complex numbers k Subtracts the two complex numbers Divide two complex numbers Multiply two complex numbers Raise one number to the power of another 28 3 Numbers Numbers may be entered in the form digits digits e sign digits For example 1 23 3 4e 10 In addition a number may be preceded or followed by I or j to create a complex number for example 3 4 2 3e 10 3 6e31 Note that I or j are functions if you put just I or j in for example sin so
54. modes interact with the scan mode as not all permutations are myVNA v0 93 Page 138 of 181 Command Reference Treeview controls supported RF IV mode and Reference Mode use an external hardware module to measure V and I independently and improve measurement accuracy There is also specific hardware configuration that needs to be set to define the way that the hardware module is used and controlled for more information see sections 21 and 22 Logarithmic Scan changes the scan mode so the scan points are distributed between start and stop on a logarithmic basis rather than a linear one This scan setting is separate to the display mode log or linear but when changing the scan mode the display mode is also updated to reflect the scan setting The display mode may subsequently be changed as desired independent of the scan mode Reflection data port is a shortcut override useful in some circumstances where the port used for reflection mode measurements 1s swapped Be careful though as it does not change the transmission setting and can therefore cause a scan not to be made if both ADCs are needed Trace Averages performs the same function as the trace averages control on the span toolbar it sets the number of readings taken at each scan step which are then averaged The next two entries export and import configuration permit the current program settings to be saved to file or reimported useful if specific configu
55. none Configure Transverters will pop up a dialog as shown below Transverter Management Display Local Oscillator MHz Band Edges MHz Display Name Low High 160 000000 110 000000 150 000000 2 metres 0 000000 0 000000 0 000000 0 000000 0 000000 0 000000 0 000000 0 000000 0 000000 This may be used to configure up to 10 transverters Every one for which a tick is shown in the display column will appear under none in the transverter list and may then be selected for use a green tick will appear next to the currently active transverter or against none For each displayed transverter the program needs to know the local oscillator frequency and the actual band edges for the transverter It can be either side of the LO but must be wholly on one side or the other myVNA will figure out the correct scan direction based on whether the band given is below or above the transverter LO Finally a display name of up to 20 characters must be entered this is what will be shown in the list of active transverters The transverter data will get stored in the registry on exit and automatically reloaded on startup myVNA v0 93 Page 80 of 181 Attenuator and Switch control Crystal Motional Parameters 17 Attenuator and Switch control Switch and attenuator control functions are present to support S parameter measurements and to permit external scan synchronisation should it be needed This chapter addresses how
56. please let me know myVNA v0 93 Page 157 of 181 Automation interface example contents Annex D Automation interface example contents myVNA odl type library source for myVNA exe This file will be processed by the Make Type Library mktyplib tool to produce the type library myVNA tl1b uuid AAC33E4F AB38 4100 BF4A C779F89AAC58 version 1 3 library myVNA importlib stdole32 t1lb Primary dispatch interface for CmyVNADoc uuid 1D00566F 4A33 4bcf AB14 A73EAFOOQO6CE dispinterface IID IA myVNA properties NOTE ClassWizard will maintain property information here J Use extreme caution when editing this section AFX_ODL_ PROP CmyVNADoc id 1 int nScanSteps id 3 int nScanAverage 1d 9 int nInstrumentMode id 19 int nDisplayMode AFX_ODL_ PROP methods NOTE ClassWizard will maintain method information here it Use extreme caution when editing this section AFX ODL METHOD CmyVNADoc id 2 helpstring method Do a single scan int SingleScanAutomation LONG Message HWND hWnd LONG Command LONG lParam i1d 4 helpstring method Set current frequency range for scan int SetScanDetailsAutomation double dF1l double dF2 LONG nFlags id 5 helpstring method generic method to get double data to an array int GetDoubleArrayAutomation LONG nWhat LONG niIndex LONG nSize VARIANT a id 6 helpstring method generic method to set
57. position The time axis may be moved scaled in the same way as the frequency axis by holding down the CTRL key when dragging with the mouse The program is capable of computing a time domain representation from complex frequency domain data as described by Agilent in the application note Agilent Time Domain Analysis Using a Network Analyzer Application Note 1287 12 The program implements the Chirp Z transform to perform the calculation using either low pass or bandpass modes Here is the configuration dialog myVNA v0 93 Page 91 of 181 TDR mode Loading saving settings in calibration data Configure TDR Window Mod Start Time us End Time us Window on display freg Scan data Hamming Store 1 Store 2 Store 3 Store 4 Display C Time 0 126350035 u seconds f Distance cst 24 99999979002 metres Show Round Trip Time Ok Cancel For each of the data sets Scan and Stores 1 4 the configuration may be separately set The Window provides a drop down to select the window type Mode permits selection of Lowpass or Bandpass The computation and display times are separately set Currently only low pass impulse response is supported not step response The Bandpass mode is the most general purpose mode permitting calculation over an arbitrary frequency scan and number of points save that it must be a linear scan and at least 100 points The Lowpass mode requires a scan where the steps are linear
58. remember this filename and load the calibration data at startup next time along with all the other parameters you just set It is suggested that you store the calibration data in the folder myVNA under My Documents This folder should have been created for you when the program was installed As long as the calibration data is valid for the scan i e the scan frequency is not outside the calibration data it will permit the scan interpolating the calibration data for the scan points selected if necessary Also the scan data will hold two sets of data at the same time one transmission and one reflection PROVIDED that the frequencies and number of step points are the same It permits this as part of its support for dual detector scans and S parameters Note that the program will not allow you to mix CDS and non CDS calibration data Similarly it will not allow mixing of harmonic modes unless you explicitly override this limit for test purposes There is a flag to permit this under the Calibration node Also you can choose to use additional averaging on the isolation step of CDS There are two options under calibration to support this as shown below When selected as shown the average number in the following line is used for the isolation step average count instead of the normal display average count under display options The number of averages at each point may also be set separately for calibration as for sca
59. than the value of the linked marker Look to the bottom right the two checkboxes labelled curve fit and linear fit Without these ticked markers only locate themselves on the nearest data point in the scan data With either of these ticked the value crossing and offset markers will interpolate between scan points to find a more accurate setting The interpolation may be either a linear interpolation between the points each side or a polynomial between the nearest 3 points When a marker is linked to another marker the link control determines to which marker it is linked P Untitled myVNA File Edit View Help amp Start Scan Single Scan Calibrate Autoscale Markers Centre 14 319000 MHz Span o oosoo0 MHz Centre span Steps 2000 Mkr 1 564 361 14 319400 MHz Mkr 2 360 775 14 319480 MHz Mkr 3 50 084 14 319100 MHz Mkr 4 78 930 14 319400 MHz Mikr 1 3 514 277 0 000300 MHz C Transver ters Network Settings 56 25 416 32 14 316500 14 319000 MHz 14 321500 For Help press F1 4 882 secs CDS mode NUM myVNA v0 93 Page 43 of 181 Managing the display Markers and Marker Arithmetic When you perform marker arithmetic the program will not stop you subtracting say degrees from ohms It is up to you as to whether the units make sense Also note that if the value of a marker is computed as being over 1e9 the marker will not display A man
60. that this drag is temporary the frequencies in the span bar are unchanged to allow you to return to it easily Before doing that though do another single scan it will use the temporary frequency range you selected by dragging If you want to change the span bar settings to match the frequency scale you have created by using the mouse right click in the display area and select the menu option Set Scan to Current Frequencies Now open up the display options tab on the left again and click the Autoscale on Display Change option Try changing the Display Type Now each time you change the display but not every time it completes a sweep the display will autoscale myVNA v0 93 Page 25 of 181 Tutorial Performing your first scan Look again at the display option There are two marked Snap to 125 These will avoid those strange units you noticed as you dragged traces around basically at the moment you may drag traces smoothly If you select a 125 snap option the display will try to assume nice round numbers for the units on a 1 2 5 10 type scale when you release the mouse button It will do this separately for each drag option and you may also select for this to happen on autoscale Personal preference Now try a repeat scan with the scan button You can drag the display around and rescale it whilst it is scanning but the display you get if you drag the frequency is a bit weird until it gets chance t
61. the number of divisions on the frequency axis of a rectangular display non log scale The toolbar will change its labels according to the selection you make Signal Generator Test Hardware I O Vector Voltmeter 5 4 Labelling the Screen There is now the facility to apply text labels to a display There are two types of label those associated with a trace and free standing annotations In each case a label may be placed anywhere on the display area and may be moved around the screen by dragging it with the mouse The difference is that those associated with a trace only display when the corresponding trace is shown and myVNA v0 93 Page 35 of 181 Managing the display Labelling the Screen will alter their position so that their relative location compared to the trace is maintained if the trace moves To access the labels dialog either select Edit Trace Labels from the Display Options or from the pop up menu after right clicking with the mouse Note that this only works in the main rectangular and polar smith displays and linkage to a trace only works in rectangular displays Edit Trace Labels and Annotations Link Label Label Display to trace Size Label Current Scan None Normal v Store 1 None i Normal Store 2 None l Normal Y Store 3 None i Normal Y Store 4 None e Annotation 1 Colour Normal Normal Y Annotation 2 Annotation 3 Colour Normal w
62. the option under the VNA Hardware option of the tree control as shown below Display Right Calc Time Trace Calculation Display Options This opens a dialog box as shown Print Options Calibrati anorauon Select Hardware Type Reference Standards Load amp Store Data Basic Hardware Type VNA Hardware Hardware Type Configure the hardware Cancel ADC Step Delay us 2000 Sweep Start Delay us 1000 Phase Change Delay us 5 Select the desired hardware type and click ADC Speed 10 OK System Reference ohms 5 JS Reload ZO with Calibration Hardware Interface Choose CDS Harmonic mo JS Load DDS during ADC myVNA v0 93 Page 11 of 181 Tutorial Setting Initial Hardware Settings 4 2 1 N2PK Hardware Setup Next configure the hardware For the N2PK this is easy just select the configure the hardware option under VNA Hardware in the treeview to the left N2PK Hardware Settings Transmission ADC Reflection ADC C ADCI f ADC f ADC ADC Clock Frequency MHz Calibrate Minimum Frequency MHz Maximum Frequency MHz ADC Voltage conversion factor Cancel Enter the desired settings and click OK If you wish to set the master clock frequency there is a Calibration function to help Click the Calibrate button but note that you can t do this until you have selected the hardware interface so come back to this later To set the master clock fr
63. the vertical axes one will be created Returning for the moment to the pop up menu described above the menu also provides quick access to the axis lock functions Locking an axis also protects the axis against changing as a result of autoscale or display type changes If for example you want to be able to drag a trace up and down myVNA v0 93 Page 32 of 181 Managing the display Popup Menus amp Toolbars but not to move the frequency axis locking the axis will allow this When an axis is locked a tick mark will appear next to that menu item There are three popup menu items that control the linking of display and scan When linked the display and scan ranges are the same When unlinked the display frequency range may differ from the scan One option links or unlinks them The other two allow the scan to be set to the current display frequency range or the display frequency range to be set to that of the scan Next if you are using manual markers it is easier to use this menu to bring then onto the screen than to explicitly set a frequency with the markers dialog Any manual markers currently set to display will be brought to the centre of the display when the Bring Manual Markers Onscreen item is selected If you have been rescaling the frequency axis by dragging with the mouse there is a quick way to set the current main scan to the frequency range you have selected just click on the Set Scan to current frequencies m
64. to something like this Untitled myVNA File Edit View Help id amp R Start Scan Single Scan Calibrate Autoscale Markers Start 7 997324 MHz v Stop 8 017658 MHz Start Stop v Steps 500 Instrument Mode g A Display Sets Select Device Type J Display Left Crystal Parameters X J Display Right gt ae Select Model Gace 45 Degree Phase vA Scan Progress Bar Autoscale on Display Change Select Data Source Snap to 125 on Autoscale Current Scan Data Snap to 125 Audio Cues Report view fiz y JS Equivalent Circuits Auto Refine Eq Cet v Display Info Tips Vertical Divisions 8 Refine Result Horizontal Divisions 10 Trace Averages 1 Print Pen Width 5 Display Pen Width 2 Calibration Reference Standards Load amp Store Data VNA Hardware Choose Trace Colours oO Transverters Ed Network Settings 4 751 secs CDS mode NUM What is displayed is governed by the Instrument Mode and the drop down list settings on this screen When you select equivalent circuits the program will change the display types to suit it you can change them whilst in this screen but the results may be wrong It works in Transmission mode or Reflection mode but the only device type for now is Crystal Motional Parameters For each device type a number of models may be available and the data source may either be a stored data set or the current scan data The display has
65. vertical progress bars representing high and low levels In USB there is also a power detect line Its status 1s reflected in the bottom left of the dialog box Please note that the ADC input lines are not showing the result of an ADC conversion they are just indicating binary high all blue or binary low 10 blue according to whether the input line is high or low Note that the ADC lines are read at the same rate as the Toggle speed so if set to slow may take up to 1 second to update myVNA v0 93 Page 178 of 181 Index Index ANCETV AION asan ie eeadeuaideasblatandiaheioeawtens 8 Attenuator and Switch Control 81 CAMP EAL ON asean r a NG 19 INCE PO latio Mses 54 Introduction sesio a a t 16 Isolation Averaging ccccceccceeeseeseeeeeees 20 LLC Calibra Oh ccecceecceeecee scene 84 Logarithmic Scams cccccecccesssesseeeeees 71 S Paramete cn ERA 74 Save to Disk x Accins hace ioc eead estes 20 Standard Offsets ccc ce eecceecceesceeceeees 21 Summary Display cccccceeeeeeeeeeeees 21 Unguided Calibration cccceeeeeeeeeees 85 Vadar 20 Calibration Standards 00 00 cece ceecceeeceeeeeee 83 IE Gere ere Ee eee ra ee 84 Load amp Save to File eee eeeeee 83 Open Snort 10ad ocr cisstastetanercenneaniwtes 83 CMPDOAEC Laen tedasereduamestols 51 COV and EXC renina a tens 51 PPI IN Ol Sic coctestodoateaccasieentadeaecatunieer tenes 51 REPO VIEW ossoa reins a 51 Cry
66. zoom view Secondly two hotkeys may be used to zoom in and out Hold the control key down and depress the or keys You may zoom in by a ratio of up to 10x It is also possible to drag the displayed area around to zoom in on a specific area The display below shows the effect of zooming in and dragging the display to show a specific region To drag the display press the left mouse button move the display then release the button myVNA v0 93 Page 58 of 181 Smith and Polar Charts Zooming a h myVNA Reflection mode myVNA o x File Edit View Help pe OSH tmel MI mS AFM I gt lt gt lt EL Po Al tdr S H H uf StartScan SingleScan Calibrate Autoscale Markers 0 050000 miz z 60 000000 MHz Full scan v Steps 2000 Avg 1 5 f J a F Fan gt 4 Pa y rat AX Instrument Mode a eS Fi Fs lt A AN X N AAN E Display Sets T Rho si N Z f N ff S f C AN Display Left Mkr 2 0 232 115 190 30 028000 MHz f N ee F Display Left Calc Time L NY Z NZ A Display Right A Pans 5 Display Right Calc Time JX Trace Calculation iC Display Options WG Print Options gt Calibration gt Reference Standards gt Load amp Store Data C VNA Hardware Choose Trace Colours Border Graticule Trace1 Trace 2 Trace 3 Trace 4 Trace 5 Trace6 Joe Trace7 Las Trace8 1 Mar
67. 0 000000 27 7405622041 J leftScan re Maximum am Elie o 000000 Marker 1 52774385622041 Left Scan hi acki Maximum Default 0 000000 Marker 1 6277438562204 1 Left Scan acki Maximum R 0 000000 Marker i 627 743859622041 5 Left Scan od acki Maximum 0 000000 Marker 1 52774385622041 Left Scan Tradi Maximum lvswe 0 000000 Marker 1 62774385622041 Left Scan x ack Maximum berat 0 000000 Marker 1 2774385622041 Left Scan Y ack jef Marker 1 27 743859622041 Left Scan hd acki Taxi ef Marker 1 p27 74385622041 Marker Arithmatic Number of decimal digits Frequency Units Marker Marker Display Show Q i Curve fit linked f markers MHz Minus E E Value a oE sd Bo leds eeraeses 1 Minus 1 E E 6 Frequency ee as ns 5 8 1 Global Show Hide Markers On the toolbar is a button like this and correspondingly popup menu items with a right click on the display that permits marker display to be switched on or off 5 9 Full Screen Display Under the view menu is an option Full Screen If this is selected the display will switch to a full screen display mode To return to normal hit the Esc key 5 10 Keyboard Shortcuts The following keyboard shortcut may be used Key Esc myVNA v0 93 Page 46 of 181 Save print and copy Saving Data to and loading data from Disk 6 Save print and copy This chapte
68. 0 Avg 1 Instrument Mode J Display Sets S Rs Xs Rp Rs Xp Zs 12 50 87 50 lt Zs Ohms VSWR i Div RL 75 00 J Display Left Calc Time J Display Right I Display Right Calc Time Trace Calculation Display Options Print Options Calibration Reference Standards Load amp Store Data VNA Hardware 0 00 0 00 Choose Trace Colours 14 2980 14 3020 14 3060 14 3100 14 3140 14 3180 14 3220 14 3260 14 3300 14 3340 14 3380 G Transverters 0 0000 4 0000 kHz div 0 1000 us div 1 0000 Network Settings Cursor Freq 14 303622 MHz Time 0 140538 us Left 79 2195 Ohms Right 79 2195 Ohms 42 371 secs CDS mode Now before you do a scan open up the display options node on the left and make sure that autoscale on display change and both snap to 125 options are not selected as shown below Note in this example the option to display Info Tips is selected myVNA v0 93 Page 22 of 181 Tutorial Performing your first scan File Edit View Help aod tael R mS LU AFI M I X lt EL Po Al M tdr 1 SH 0 050000 MHz 50 000000 Mez Full Scan v Steps 2000 Avg 1 Qy Instrument Mode J Display Sets J Display Left J Display Left Calc Time J Display Right J Display Right Calc Time Q Trace Calculation gt JS Graticule JS Scan Progress Bar Autoscale on Display Chan Snap to 125 on Autoscale Snap to 125 Audio Cues
69. 1 Deft 0 000000 marker1 62774385622041 Deft 0 000000 marker 62774385622041 fleftscan gt Tracking Maxi Deft 0 000000 Marker1 62774385622041 Marker Arithmatic Number of decimal digits Frequency Units Marker Marker Display Show Q I Curve fitlinked f markers wuz j f us fs d E fm Niece fit inked 4 fincakers fi Minus fi E T 6 Fre uni ox Cancel M y s There are 9 markers and two marker maths functions For this example choose to display marker 1 which tracks the maximum of the left trace Marker 2 that tracks the minimum of the left trace marker 3 that tracks the first time that the right trace crosses 50 ohms rising and marker 4 that is going to track marker 1 but is on the right trace Depending on what you scanned you may need to alter this Don t forget to tick the display box for each marker that you want to enable but to help you whenever you change the source mode or target settings of a marker the marker will be enabled the display box automatically ticked if it was not enabled Please note the following screenshots use an earlier version that had 6 markers Configure Markers m Markers Source Mode Target Frequency Display Left Trace Tracking w Crossupist o oo00o00 Marsri 62774585622041 m Marker Arithmatic Number of decimal digits Marker Marker Display Frequency Units
70. 1 c 3 Network Simulation 4 Unused v 38 40580280 E Nudge sensitivity Unused 38 93863141 cs High n 126 2639905 1 339231858 m Synthesize Network Observe the radio buttons on the right These permit selection of the network that is shown on the left As network 3 was the last one edited that is the one shown Clicking one of the other buttons causes that network to be shown and edited on the left Also for convenience when a network type is changed to Network Simulation then that network is automatically selected on the left Roderick Wall kindly provided an S2P file that corresponded to a measured crystal filter with a design load impedance of 900 ohms in parallel with 24pF A step by step example of filter matching is shown in the next section The trace obtained from it is as shown below iP S Parameters mode myVNA File Edit View Help amp R Start Scan Single Scan Calibrate Autoscale Markers Centre 10 700000 mHz Span 0 029476 MHz gt Centre Span gt Steps 1000 Instrument Mode J Display Sets Mkr 1 2 836061 10 675000 MHz Display Left Mkr 2 104 859583 10 675000 MHz Display Right i 0 00 Trace Calculation Calibration 21 dB Reference Standards Load amp Store Data WW Save Scan to Store 1 LW Save Scan to Store 2 LW Save Scan to Store 3 LW Save Scan to Store 4 ka Save Scan to File LW Save Simulation to Store 1 LW Save Simulation to S
71. 11 return loss ap N Sd p_i p go s21mod s21db s2 lang s2 Ire s2 lim s22re s22im s22mod s22ang s22rl s12mod s12db s12ang s12re s12im E myVNA v0 93 Page 110 of 181 User Defined Display Functions Data Sources Modulus of transmission gain loss Transmission gain in dB Phase of transmission gain loss in degrees Real component of gain Imaginary component of gain So an equation that loaded S11 from the scan data would be scan s11 And loading the modulus of the transmission gain from data store 1 would be store 1 modgain It is important to remember this if you put into a formula of s11 you will not get the s11 data you will just get an internal program constant You must use scan s11 or one of the store functions The editor is not case sensitive so scan s11 gives the same result as ScAn S11 It is also possible to include in a calculation other data points from the scan Two functions support this iscan index_offset what istore store index_offset what These indexed versions hence the names with an 1 allow an offset to be added An index_offset of 0 gives the same result as scan or store A value of 1 gives the data point after the current point 2 gives the point two before the current point etc Hence by way of example the equation iscan 1 s11 scan s11 iscan 1 s11 3 would give an average of the current point and the ones before and
72. 30 of 181 Managing the display Popup Menus amp Toolbars 5 Managing the display This chapter addresses Graphical User Interface subjects specifically e Popup Menus and Toolbars Displaying Multiple Traces Scan Setting Options and the Scan Toolbar Labelling the Screen Dragging Items on the Screen Locking the Scan and the Display On Screen Cursors Markers and Marker Arithmetic 5 1 Popup Menus amp Toolbars If you right click within the display area you will get a menu like this zl amp W 2 Centre so so0000 mhz v Span s9 000000 mHz centre span Steps 1000 Avg 1 an Single Scan Calibrate Autoscale Markers m gt S oD DI LI AIF M X 3 EL Pn RI ent Mode Sets dB 521 dB dB 512 dB 0 00 dB 2511 dB lt S21 dB lt 522 dB lt S12 I lt S11 I lt 521 11 dB 2 lt 522 2 lt 512 10 00 Real Imag dB Real Imag i Div Real Imag Real Imag Set Vertical Axis Set Frequency Axis Set Scan to current Frequencies Set Display to current scan Freq Lock Scan to Display 4 Lock Left Vertical Axis Lock Right Yertical Axis Lock Frequency Axis Bring Manual Markers Onscreen veck 40 00 Left Right alculation Options ion ce Standards store Data dware Trace Colours ters z Settings ind Attenuators Log Frequency Scale Log Vertical Scale Clear Reverse Scan Data Clear All Scan Data Edit Tra
73. 33 Decimal Places ssi a 32 LOCK AKOS naa 32 Lop SCIES ae Ros eet eae 31 Manual Markers 2 cscsccscieiiicicieen ius 33 SEC PrequenCy aise enore eee saat 32 Set Scan to Current Frequencies 33 Vertical AGS isc cet iercaewaia erase 31 PRINS a Si cantarracewtemencssaraeudeanastotnss 50 Header and FooteT eresia 50 NOS acs tte cen ane rene tena 50 Pen WG th enne 50 Produc OK CY rnana a a 8 Program Limits and Options c ce 53 Reference Mode aniutaccaosthaceaseutacnaueeueonasxocts 89 Reference Planes euroni anei 87 RDO WV 16 W rdinara 60 ClipDOardeC OPV x ccccarehisscadaiincsnnetanstosdueeates 60 Dragging Column ceeeeeeeeeeees 60 RESI nni ued enuhiantemtanmusensnace 88 Configura ON ninaa 88 S Paramo ETS asics ia 73 IOA N T aa aa 73 DOO USM cancers aE 73 Calibration senie a 74 Reverse SCANS oiana OT 73 OE SU SC 1S taetccte E eendeeeumieas 155 Saving and Loading Traces 00eeeees 47 TAU OS AN Ss a E E 49 Extended Data Sets ccccccccccssseeeeeeseees 47 PIEEO Gisan 47 DAVIN O DISK aaa a ce 47 OUCHSLONG trent ssa an e oalietes casi tedas 47 SCANS Dee aaa a octane oaiceaed 171 Paralel Poi usean aac crs aaictests 173 Slas Bar DISplay caa 17 MSI A E heen eee 171 SCANNE ear E 22 Locking Display and Scan 006 38 SEIE SCAN esti d vencensh Eaa 23 Signal Generator eenaa cies 101 myVNA v0 93 NO Sing erie es tatiok Meeesescaitaee detain oedetees 101 CSD vee cee ener teb sa tresea
74. 4 parts to it Top left the program is configured by means of the controls Top right there is a small display of the trace data as would be seen in the normal view but simplified Bottom left is the equivalent circuit Bottom right is where the results will be shown After a successful measurement the results will be displayed bottom right and may be logged to a file myVNA v0 93 Page 62 of 181 Equivalent Circuits Crystal Motional Parameters 10 1 Crystal Motional Parameters The model used is taken from an excellent paper by Jack R Smith K8ZOA Crystal Motional Parameters A Comparison of Measurement Approaches available from http www cliftonlaboratories com which enumerates a number of methods The program implements the 3dB and 45 degree methods in transmission and reflection modes but the 6 parameter HP model is experimental and may give incorrect results In addition as a variation on the 3dB model CO is computed from the series and parallel resonances by the equation c 4 1 2 e To use the program in transmission mode you must connect the crystal in series in between RF out and Detector in preferably with a jig as shown by Jack and as reproduced here 50 ohms 12 5 ohms 12 5 ohms 50 ohms R3 Crystal under test R7 This gives an RI of 12 5 ohms Alternatively you could just use a couple of inline 50 ohm pads To allow for this the program has a drop down list for selecting RI or you may enter your own value
75. 50000 6 350000 6 550000 6 750000 6 950000 7 150000 7 350000 7 550000 7 750000 7 950000 8 150000 0 500000 200 000000 kHz div 0 350000 us div 3 000000 The traces are as follows Purple t S11 Time Domain trace Elsie Template Black t S11Time Domain trace DUT BPF Dark Green Return Loss trace Elsie Template Light Green Return Loss trace DUT BPF Black G dB Insertion Loss Elsie Template Red G dB Insertion Loss DUT BPE Click single scan to scan the DUT BPF Your Time Domain trace won t have the deep dips shown above because your DUT BPF has not been adjusted The two Time Domain dips Time Markers 7 9 are the return loss from each resonator displayed on a time scale The three humps Time myVNA v0 93 Page 94 of 181 TDR mode Using Time Domain to tune variable coupling BPFs Markers 6 amp 8 are the three coupling capacitors Refer to Agilent s application notes AN 1287 8 and AN 1287 10 for the procedure to adjust the filter Click Start Scan to sweep and adjust the BPF Before assembling the BPF you may want to adjust the components to the values shown in the circuit this will make it easier to adjust the BPF Adjusting the centre frequency of the transform allows you to determine the frequency the resonators are tuned to Adjust the centre frequency for the deepest dip and the centre frequency is the resonant frequency Refer to Agilent application notes for more information To do this in this example w
76. 521 dB 522 dB 512 dB 60 00 511 dB lt 511 Mkr 1 28 231 1 000000 MHz 521 dB lt 521 Mkr 2 0 262 34 040000 MHz 522 dB lt 522 11 dB Mkr 3 0 150 60 000000 MHz 21 dB 512 dB lt 512 Mkr 1 2 27 969 33 040000 MHz H 511 lt 511 521 lt 521 522 lt 522 512 lt 512 511 Real Imag 522 Real Imag 521 Real Imag 512 Real Imag J Display Left J Display Right T Display Options Network Settings Switch and Attenuators 1 000000 30 500000 MHz 60 000000 Cursor Freq 32 873319 MHz Left 1 0084 dB Right 44 0336 dB 3 931 secs NUM Whilst signal cable errors may be the cause there is also a possible software reason Under later versions of XP the parallel port subsystem will poll for printers automatically apparently on a periodic interval of 5 seconds and following the detection of activity on the port This can give rise to glitches like that shown above If this happens you may disable the auto poll function by changing an entry in the registry Specifically in the following location HKEY LOCAL MACHINE SYSTEM CurrentControlSet Services Parport there may be a key called Parameters If not create one and then within that key create an entry called DisableWarmPoll of type DWord with a value of 1 Next time you start the computer the problem should have gone away but it is worth checking with RegEdit that it is still
77. 75 MHz 80 00 160 00 10 675000 10 700000 10 725000 S21 Traces unmatched red matched blue 29 4 Simulation and Crystal Equivalent Circuits Simulation support has been added to Crystal Equivalent Circuits Don t try to use it with the 6 term model it is not going to work Under crystal simulation there is a new button Simulate i Reflection mode myVNA File Edit View Help amp R Start Scan single scan Calibrate Autoscale Markers Centre 8 007436 mHz v Span 0 020904 MHz Centre Span v Steps 1000 Instrument Mode A Display Sets Select Device Type A Display Left Crystal Parameters Me J Display Right Trace Calculation Select Model Display Options 3dB points JS Graticule J Scan Progress Bar Select Data Source vi Autoscale on Display Change Current Scan Data JS Snap to 125 on Autoscale JS Snap to 125 WA Audio Cues fiz n y S Force display for Log axes Report View JS Equivalent Circuits Auto Refine Eq Cct WA Display Info Tips Vertical Divisions 8 Horizontal Divisions 10 Print Pen Width 5 Display Pen Width 2 Print Notes Dialog Add Print Notes to Clipboard Cops J Label Markers in Printouts Smith Polar view Edit Trace Labels Calibration gt Reference Standards Load amp Store Data VNA Hardware Choose Trace Colours Q Transverters Network Settings Switch and Attenuators
78. 77 0 001455 MHz Rho lt Rho Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp lt Smith Chart J Display Left J Display Right Display Options D Calibration gt Reference Standards gt Load amp Store Data J Network Settings 17 92 14 316500 14 319000 MHz 14 321500 For Help press F1 4 882 secs CDS mode NUM Now it gets fun At this point hold down the control key on the keyboard and click on another parameter such as Rs Xs The display now shows those parameters too Click on a few more such as Rho You can have any combination of parameters you want at the same time with the caveat that the display will get very cluttered Switching to transmission mode gives this when gain and phase are selected myVNA v0 93 Page 69 of 181 Dual Detector Scan Crystal Motional Parameters A Untitled myVNA File Edit View Help ETTR Start Scan Single Scan Calibrate Autoscale Markers Centre 14 319000 mHz gt Span 0 005000 MHz Centre Span v Steps 2000 Instrument Mode G lt G JS IGI dB lt G Display Left Mkr 1 4 080 14 318718 MHz A Display Right Mkr 2 179 395 14 318475 MHz s Display Options Mkr 4 99 661 14 318718 MHz N lt G Calibration a i Reference Standards 53 87 Load amp Store Data Degrees iO YNA Hardware Div Choose Trace Colours 3 Transverters Network Settings
79. 784918 ohms Smith Polar View 22 cate 126145 _ CO 4 659621 pF H B56 p e tng 29 5 Simulation Limitations There a couple of limitations to be aware of First if scan and store are used at the same time the number of data points in the scan and store must be the same and the frequency details must be the same The number of data points in the simulation will adjust itself to the scan or store settings automatically Now the second limitation Simulation uses ABCD transfer scattering parameters and to work correctly this means that the program must possess forward and reverse dual detector data The program will try to be helpful but be careful If you do not have valid reverse data for a network it will reuse the forward data for the reverse direction in order to have something to use but this assumes the network 1s symmetrical myVNA v0 93 Page 124 of 181 Multiple Program Configurations Simulation Limitations 30 Multiple Program Configurations Multiple program configurations are supported Specifically the registry entry that the program uses is the same as the executable normally myVNA exe hence the registry entry would be myVNA If you make a copy of the program for example myMSA exe then a separate configuration will be created each will have its own settings This may be used to create multiple configurations for one piece of hardware or may be used to create different instances for different ha
80. 8 J The box top left displays a graphic of the currently selected network Each component may be selected by type from the drop down list below the graphical representation and each may be given a value The up and down arrows on the right of each value permit the value to be nudged higher or lower in value The slider control to the right of the nudge buttons changes the sensitivity of the nudge buttons at the top each step is about 10 of the value at the bottom it is about 1ppm You may also nudge values up or down by clicking into the edit box for a component s value and scrolling up or down using the mouse wheel The button lower right labelled synthesize network is used to generate a specific network according to design requirements At the moment the list is limited to common matching networks myVNA v0 93 Page 115 of 181 Network Simulation Values The Recalculate data button needs describing In the main changing a network type values or even the type of a component in a network will not cause a change to the calculated results as displayed in the main VNA window There are however three exceptions when an update will occur These are respectively when the OK button is pressed and results in closure of the dialog when the Recalculate Data button is pressed or when one of the component parameter up down nudge controls is pressed When synthesize network is pressed the dialog below is opened
81. 803 89 589939 Display Info Tips 7 997975 511 644295 89 561806 vertical Divisions 8 7 998015 502 626403 89 524889 Horizcnkal Divisions 10 7 998056 493 519939 89 483961 7 998097 484 410216 89 452981 7 998137 475 157555 89 408385 7 998178 465 938034 89 377463 Trace Averages 1 Print Pen Width 5 i Display Pen width 2 7 998219 456 702443 89 341336 Calibration 7 998259 447 415647 89 313400 OO Reference Standards 7 998300 438 162871 89 291541 gt Load amp Store Data 7 998341 428 849380 89 279470 Se 7 998422 410 084807 89 254810 4 ae aed 7 998463 400 648150 89 239609 Ce 7 998503 391 169678 89 217691 Network Settings 7 998544 381 610591 89 186831 7 998585 371 972119 89 142986 7 998625 362 270349 89 095394 7 998666 352 449127 89 032966 7 998707 342 580878 88 968781 7 998747 332 686996 88 900220 7 998788 322 762189 88 831431 7 998829 312 812463 88 763103 7 998869 302 797102 88 704566 7 998910 292 710615 88 640128 7 998951 282 572325 88 578228 4 751 secs CDS mode NUM The columns will be whatever the current displayed parameters are and you may change them in the view and the column widths may be adjusted by dragging the divider lines between the headings The order of columns may also be changed by dragging the column header left or right A scroll bar will appear on the right to allow the data to be viewed and if printing is selected from this view a tabular report will be generated Copying to the clipb
82. A is connected by USB it must be USB to one PC That PC runs myVNA and is configured to act as a server Another PC also running myVNA has its hardware interface set not to Parallel or to USB but to an IP address Once that is done functions such as scan on the second client PC will cause the server PC to perform a scan and the result will appear on the screen of the client Note that the calibration data and configuration used are those of the client PC not the server the server is just providing remote access to the USB connected VNA To set a PC up as a server do the following 1 Configure the PC to use USB interface and make sure that it is working correctly 2 Configure the server details as shown below 3 Switch on the server mode To set up a client PC do the following 1 Set the interface type to TCP IP with the IP address of the server 2 Perform a scan signal generator or other function To configure a server open the network settings on the left hand treeview and select configure remote access The following dialog will appear Configure Network Settings Server Configuration Port Number 49152 v Set the port number to the desired IP port or just leave it at 49152 if you don t understand this To start the server running click on the Accept Remote Connections option The following dialog will appear myVNA v0 93 Page 128 of 181 Network Client Server Network Server Stat
83. Cali Brat Oils ixiwccstsusschastivinntitenicettedtieunsiasionceddatancttcatieticieaners 84 18 5 Cal Dr alin NOES sca fos sn cusinthetecaslaaataare ane tela ta a eens 84 18 6 Loading saving settings in calibration data cccccccssssesseeceeeeeeeeeeeeees 84 19 Ohi esd 0 06 ore Be CanDo Nee nee smeeueren ee a pe aan ee vet tr ment n seme a 85 AO MME 8 CE 00 Pli ee ere aaa a 87 2L REIV NICE OU seis sac conc s san etiowen E a 88 22 REREN MOU Cs aissicscesita e a na E a E S 89 2 gt TBR MOIO a a heres a Asc ee Ah cine aah heen aaa 90 23 1 Using Time Domain to tune variable coupling BPFS cccceeeeeeees 93 24 Marker WNICASUPEMENUS sussusaccsanwracdus saad sidadenasuesassdalannctedih e E 97 DS Trace AV ra Uy ers i ees See had oh see ses Sad pee see ease 100 DO SECA CIC MCCALOM a a iiyeck atte tts edi cater haley eek ate E S 101 pA Pe 0 Cae L068 are Nera er ae SR a Ree nN a 103 20 al DIDS RES Te Toere ee ieutuiteasi S 106 28 User Defined Display PUNCHONS cerae O 108 28 1 ata SOULCES a a inl siae sn teeuseria token ieee ine eet nceelens 109 28 2 PUN CHIONS ie aceiicsdlaerdoxedeentetods a net a eit ues 112 28 3 NUM DGS scacsericth ta stauaemanttennveasta etl eaentnsaen suse ction 113 28 4 BUNS EE ase setae ahaa actos nad eae des E A EI A ea eee Nena ach needs 113 297 NGIWOO MAION sa na E T E decou cine uae dteemaatin 114 29 1 Load amp Saive SUA TALIONS es a a a A 120 29 2 LMP COANCES scecacthcodiay eaiiscaitoretsrac h
84. Calibrate AutosXgle 0 050000 Mifz 60 000000 C _y Steps 200 Move the manual markers Mkr 1 0 038 60 000000 MHz Mkr 2 14 371 4 363000 MHz JS Graticule JS Scan Progress Bar JS Autoscale on Display Chan ri Snap to 125 on Autoscale 11 dB JS Snap to 125 Audio Cues Force displ play for Log axes Move the labels l JS Display Info Tips Vertical Divisions 8 22 dB Move the labels Horizontal Divisions 10 Label Freq Gridlines Label Vert Gridlines Print Pen Width 5 Drag up down here to change the scale Drag up down here of the left axis to change the scale of the right axis This is a screen label WE Load amp Store Data 140 00 Move the screen labels _ Drag freq scale _ Move the Cursors In addition clicking on the left or right sides of the main display area other than when over one of the objects shown above will drag the display up down left or right and clicking amp dragging to the left right or bottom of the display permits rescaling the corresponding axis To reset moveable text to its default location right click and at the bottom of the display select the option Reset Screen Label Positions As discussed later in this document there is a TDR mode When this is used the horizontal axis supports both time and frequency To drag the time axis hold down the CTRL key whilst dragging as you
85. Connect to the server using the CLSID __ clapec alilexpert int setdcall MyVNAInNit vaid Make sure you call the Close function before the windows GUI application is closed OLE equivalent simply release the interface __declspec dllexport int _stdcall MyVNAClose void Ti LLL LLALA AALALA lA ddd dd ddd ddd ddd F MyVNASingleScan attempt to single scan the VNA On completion myVNA will post a message Message to the queue of the specified window hWnd with the given COmmand and lParam values See the example in AccessMyVNAD1g cpp OLE equivalent int SingleScanAutomation LONG Message HWND hWnd LONG lParam LONG wParam declspec dllexport int _stdcall MyVNASingleScan int Message HWND hWnd int nCommand int 1Param i fi SITILTITTITTIT TITTIES ji MyVNAEqCctRefine attempt to refine an equivalent circuit On completion myVNA will post a message Message to the queue of the specified window hWnd with the given Command and lParam values See the example in AccessMyVNAD1g cpp OLE equivalent int RefineAutomation LONG nEnd LONG hWnd LONG Command LONG lParam __declspec dllexport int _stdcall MyVNAEgCctRefine int Message HWND hWnd int nCommand int lParam ie LELLU ALALLA ETAT ET ET ETL PEC T ECCT TIT ET ITEP ETT TTT E TT ECT TE AT TFET EET T ETT EPO T TET dd i MyVNASetScanSteps sets the number of steps min 2 max 50 000 but note this can take
86. DS hardware option will switch off the signal generator when you exit the function this button may be used to explicitly switch off the signal myVNA v0 93 Page 102 of 181 Vector Voltmeter Using Time Domain to tune variable coupling BPFs 2 Vector Voltmeter The Vector Voltmeter uses both ADCs and a modified configuration to measure the amplitudes and relative phase of two RF signals It may also be used to test the DDS synchronisation This chapter describes its operation The method here 1s attributable to Ivan Makarov VE3IVM To use the VVM mode connect one signal to each of the two detector RF inputs The VVM is a narrow band mode so it is important that the frequency be set to the same as the signal being measured There are two components to the VVM a calibration screen and a VVM operational screen The VVM will work without calibration but the levels will be inaccurate at high frequency tailing off by a few dB Looking first at the VVM operational screen which is accessed from the Instrument Mode node on the leftview titled Vector Voltmeter The screen will look something like this Vector Voltmeter ADC 1 reading ADC2 reading 0 011685 0 108372 V Enable ADC 1 le v Decimals V Enable ADC 2 6 v Decimals Vector Reading ADC 1 ADC2 displaying Vector Modulus in units as below followed by Phase in degrees 0 021 2 656 V Compute as vector 3 X Decimals Modulus 3 v Decimals Phase Display Units
87. DS mode NUM The resulting simulation data may be viewed as any scan or store data by selecting any desired display type Reflection parameters such as Rs Xs Cs VSWR etc transmission or S parameters The simulation data may also be saved to file in any of the file formats or may be stored in a data store You may also save it to a store currently being used in the simulation but expect some weird effects It is also fun to select a matching network for example network 1 as defined above and analyse it Set networks 1 and 2 to unused and then display the simulation results What you get is the analysis of network 1 In the above case selecting a reflection myVNA v0 93 Page 119 of 181 Network Simulation Load amp Save Simulations parameter display with parallel C would show an impedance of about 900 ohms in parallel with 24 pF varying with frequency of course It is also possible to display the reflection parameters such as Cp for port 2 by changing the port that is used with the option Reflection Data Port under Instrument Mode On each of the two simulation dialogs as shown above you may have noticed up down controls next to each value entered and a slider for nudge sensitivity Clicking on the up or down arrows next to any parameter will nudge the value up or down slightly How much the value changes by is controlled by the sensitivity slider control When you nudge a value up or down the synthesis d
88. It will then find the best point in this new scan and again find two points before and two points after and repeat the process until it finds that the step size matches the DDS step size It then stops This means that you can select a fairly coarse scan provided that the steps are sufficient to give it a starting point then refine the result Whilst this is happening a dialog box will show progress The dialog shows the progress through the parameters by tick boxes note that for some scans the dialog box may disappear and re appear with a progress bar for each scan The progress bar will be repeated for each recursion performed Be careful however of a noisy signal In manual mode reselecting the method will revert the results to the original values before the optimisation whereas clicking the scan button will generate a new starting point Note that as the program is seeking a solution to a fraction of a Hz the VNA needs to have reached an operating temperature before the results can be believed Finally note that in reflection mode you also have a 6 parameter model available This is under revision at the moment don t believe what it says yet Here is an example of its output myVNA v0 93 Page 66 of 181 Equivalent Circuits Crystal Motional Parameters A Untitled myVNA File Edit View Help G R Start Scan Singe scan Calibrate Autoscale Markers Centre 8 008591 mHz gt Span 0 023870 MHz Centre Span v
89. M Do 5 6 term cheat Load mode with Cal Data O Reference Standards 0 13 135 00 gt Load amp Store Data 0 00 180 00 VNA Hardware 2 9129 3 0806 3 2484 3 4161 3 5839 3 7516 3 9193 4 0871 4 2548 4 4226 4 5903 p Choose Trace Colours 0 0000 167 7392 kHz div 0 3000 us div 3 0000 4 m Cursor Freq 3 520148 MHz Time 1 08604 us Left 0 926902 Right 153 685 Degrees 42 371 secs CDS mode The screen is divided into several parts At the top are 5 toolbars the usual windows one a scan control toolbar with buttons on it a controls toolbar a display format toolbar and a span toolbar All are floating dockable toolbars and can be moved around When you exit the program the position will be remembered It won t do a perfect job of this It won t let you put them all on one row for example because this interferes with the menu command to hide the main toolbar You can t hide the scan and span toolbars On the left is a treeview of the main settings On the right is the output display Initially if you position the mouse over one of the entries in the treeview on the left it myVNA v0 93 Page 10 of 181 Tutorial Setting Initial Hardware Settings will display an Info Tip with a brief explanation of the function There is an option to switch these off in the Display Options settings when you get used to the functions As the program knows you have no calibration
90. MULATION COMPONENT VALUES 6 TOTTI TT TTT TTT TPIT IIT A TT a Get or set a string parameter The functions need a parameter to say what is to be set got see details below a string for the result parameter and an index value OLE equivalents int SetStringAutomation LONG nWhat LONG nIndex BSTR newstring BSTR GetStringAutomation LONG nWhat LONG nIndex _ declspec dllexport int stdcall MyVNASetString int nWhat int nindex TCHAR sWhat _decispec dllexport CString _stdcall MyVNAGetsotring int nWhat int nindex options for MyVNAGetString and MyVNASetString case 0 equation nindex is which one to set get 0 3 define GETSET EQUATION O myVNA v0 93 Page 168 of 181 Custom VNA Interface Annex E Custom VNA Interface The program supports a hardware interface called Custom This provides an opportunity to implement a custom hardware interface Present in the installation directory of the program is a DLL named CustomVNAinterface dll This DLL may be replaced by another to interface to other hardware The DLL must export an interface identical to the existing DLL Available for download is a Visual Studio project named Custom VNAinterface which was used to build the existing DLL The code currently present in the DLL implements a functional equivalent of the built in USB N2PK VNA logic If you wish to change the filename from CustomVNAinterface dll cha
91. Options are a couple of entries that control the labelling of the horizontal and vertical axes in rectangular view mode When ticked these cause the respective axis to be labelled at every graticule point and not just the first last and central ones If you select the option to label the vertical axes you may want to drag the display type and units label away from the axes value labels so they do not overlap 4 7 1 Calibration Click the calibrate button and follow the instructions starting with this myVNA v0 93 Page 19 of 181 Tutorial Performing your first scan Calibrate Reflection Mode Open Calibration Please place Open Standard on bridge input and press OK or press Cancel to abort RF OUT BRIDGE 0 043147 0 107907 Cancel The display shows a simple picture of the expected connections and a set of progress bars that will display the current readings for the ADCs continually updated In reflection or transmission mode just the first pair is used For dual mode scan both are active The voltage of each is also displayed on the right of the progress bars If you get nothing displayed in the progress bars and no voltages shown it means that the hardware is not responding correctly to the software Assuming you get no error messages it will ask you for open short and load and finish with a save file dialog Choose a suitable name for the calibration data the program will automatically
92. RType DISPLAY TDR FIRST 37 DISPLAY TDR 11 V 57 DISPLAY TDR 11 DB 58 DISPLAY TDR 22 V 59 DISPLAY TDR 22 DB 60 DISPLAY TDR 21 V 61 DISPLAY TDR 21 DB 62 DISPLAY TDR 12 V 63 DISPLAY TDR 12 DB 64 DISPLAY TDR 11 ZS 65 DISPLAY TDR 22 ZS 66 get and set the basic display mode _ declspec adllexport declspec dllexport r nMode takes one of these values define define define define DISP MODE RECT 0 DISP MODE REPORT 1 DISP MODE EQ CCT 2 DISP MODE POLAR 3 myVNA v0 93 and MyVNAGetDisplayMode int stdcall MyVNASetDisplayMode int nMode int stdcall MyVNAGetDisplayMode int pnMode Page 162 of 181 Automation interface example contents FET ETIE PETE EETIETI ETE ETI E TET T ITI TTT ITT ITP ETT PETIT PT PTI PIPPI Pa a Pe MyVNASetInstrumentMode and MyVNAGetInstrumentMode get and set the basic instrument mode OLE equivalent Set Get property nInstrumentMode __declspec dllexport int _stdcall MyVNASetInstrumentMode int nMode __declspec dllexport int _stdcall MyVNAGetInstrumentMode int pnMode data structure for Get Set instrument mode parameter is a 32 bit unsigned integer as follows bits 0 3 define the mode Not all values currently in use the following values should be placed into those bits as follows define INSTRUMENT MODE REFLECTION O define INSTRUMENT MODE TRANSMISSION 1 define INSTRUMENT MODE DUALMODE 2 define INST
93. RUMENT MODE SPARAM 3 define INSTRUMENT MODE SPECANAL 4 bit 4 if set causes the program to always do a dual scan even if reflection or transmission mode Set define ALWAYS_DO DUAL SCAN bit 5 if set forces a reverse scan as in S12 S22 instead of S21 S11 define REVERSE SCAN 1 lt lt 5 bit 6 if set causes RFIV mode to be selected define RFIV_SCAN 1 lt lt 6 bit 7 if set causes Reference mode to be selected define REFMODE SCAN 1 lt lt 7 bit 8 if set causes log frequency scale mode to be selected define LOGF SCAN 1 lt lt 8 77 VRETTEA IT TAIC TET CATE i a MyVNALoadConfiguration MyVNASaveConfiguration MyVNALoadCalibration MyVNASaveCalibration Given a filename attempt to load or save the current program configuration including calibration data or just load save the calibration data finally option exists to save current trace data to a file s2p only supported here OLE equivalents int LoadConfigurationAutomation LPCTSTR fileName int SaveConfigurationAutomation LPCTSTR fileName int LoadCalibrationAutomation LPCTSTR fileName int SaveCalibrationAutomation LPCTSTR fileName int SaveTraceDataAutomation LPCTSTR fileName __declspec dllexport int _stdcall MyVNALoadConfiguration TCHAR fileName __declspec dllexport int stdeall MyVNASaveConfiguration TCHAR fileName __declspec dllexport int _stdcall MyVNALoadCalibration TCHAR f
94. S S11 Real Imag 522 Real Imag JS 521 Real Imag 512 Real Imag Display Left Display Right Display Options 1 00 1 00 O Calibration O Reference Standards O Load amp Store Data YNA Hardware Choose Trace Colours 21 Real 21 Imag Le Transverters 4 Network Settings Switch and Attenuators 3 00 1 00 1 000000 30 500000 MHz 60 000000 Cursor Freq 53 489313 MHz Left 1 63445 Right 0 365546 1 459 secs CDS mode myVNA v0 93 Page 34 of 181 Managing the display Scan setting options amp the Scan Toolbar Again you may have as many as you want at the same time Note that the trace colours are shown by label on each axis It can however get quite complex quite quickly The same principle also applies to data stores Here however it is not necessary to hold down the control key to make multiple selections each operates independently It is possible therefore to have up to 26 different parameters shown on each axis in a rectangular display and to have the current scan data plus all 4 stores shown at once You would not want to do this the display would be unusable but there is nothing to stop it The implication is that there would be 260 traces shown on the screen That needs 260 colours Clearly impractical The current solution to this is not ideal if I find a better way it will change There are 8 trace pens available and visible under the
95. TDR ports 1 amp 2 Zs J Display Left J Display Left Calc Time 5 Display Right W Display Right Calc Time 25 00 25 00 Qy Trace Calculation C Display Options C Print Options Calibration gt Reference Standards Load amp Store Data C VNA Hardware 0 00 0 00 p Choose Trace Colours 14 2980 14 3020 14 3060 14 3100 14 3140 14 3180 14 3220 14 3260 14 3300 14 3340 14 3380 a Transverters 0 0000 4 0000 kHz div 0 1000 us div 1 0000 Network Settings 62 50 62 50 m 37 50 37 50 12 50 12 50 Cursor Freq 14 317119 MHz Time 0 477968 us Left 60 5983 Ohms Right 60 5983 Ohms 42 371 secs CDS mode Now select Rs Cs Cs will replace Xs Now look again at the TreeView Beneath the currently displayed Display Sets are options Display Left and Display Right These allow you to individually select what parameter to show on the left axis and what on the right This is for the occasions when you don t want the predefined groupings of Display Sets and want to choose them independently Your choice You can hide the sets option if you want to Incidentally as will be described later on you may display multiple data types at the same time by selecting multiple parameters holding down the CTRL key and clicking on the desired choices Finally whilst it is usually the case that the offered myVNA v0 93 Page 18 of 181 Tu
96. Tutorial Performing your first scan There are two sets of data shown The first set is the Raw calibration data as currently held from a calibration scan The program generates a per scan set of data from this raw data and the second set of data indicates the current scan specific calibration data In each set 5 rows are shown The Through Data indicates the transmission thru data and also the reflection data of the second detector when used for ERC 10 or 12 term correction The Isolation row shows the transmission Isolation data The Open Short and Load rows show the reflection data for OSL correction The Type indicates whether the calibration data was created using a logarithmic or linear step frequency scale Although you may freely mix log or linear calibration data with log or linear device scans it may be better especially at extremes of frequency to use log calibration data with a log device scan and vice versa From 1 to 60 MHz unless you use a small number of points it makes no difference 4 7 2 Scanning The scan is set using the span bar controls select centre and span from the drop down list apply something interesting and set the scan for example as shown here j ma _ lt ft myVNA Reflection mode myVNA N File Edit View Help gt W 8 amp 7 R m SDD U R F M I X lt gt EL Pn RI td F L H Start Scan Single Scan Calibrate Autoscale Markers MH MHz Full Scan yv Steps 200
97. View Help id amp Start Scan Single Scan Calibrate Autoscale Markers 0 060000 mz v 60 000000 mz FulScan Steps eoo Instrument Mode Display Sets 511 Real 5 00 r 20 00 511 Imag Mkr 1 6 27 7e 066 30 030000 MHz 511 Mkr 2 6 277e 066 30 030000 MHz lt 511 11 RL dB 21 dB JS S11 RL dB 45 4B 521 521 dB lt 521 522 Real 522 Imag 522 lt 522 522 RL dB Calibration gt Reference Standards Load amp Store Data Network Settings Switch and Attenuators 5 Parameter Config 35 00 140 00 0 060000 30 030000 MHz 60 000000 14 666 secs CDS mode NUM And above here are the display options for S parameters currently configured There is a limitation to note In CDS mode the software eliminated detector offsets so with no signal the detector should read zero This means that we can safely use 5 or 10 term correction where we assume that the through isolation is zero In basic mode though the detector offset is not removed so it 1s not safe to use 5 or 10 term calibration You would get the wrong results so it will not permit such a combination and will give the following error message I m sorry but you have selected ERC 5 term or 10 term correction but the ADC mode is basic This means that the results will be invalid as the through calibration data will be zeroed Either change to RC 6 or 12 term calibration or select a CDS Harmo
98. Width 5 Display Pen Width 2 Print Notes Dialog A Add Print Notes to Clipboard Cops JS Label Markers in Printouts Smith Polar View Edit Trace Labels Calibration Reference Standards Load amp Store Data YNA Hardware p Choose Trace Colours E Transverters Network Settings Switch and Attenuators 31 01 117 69 6 244715 19 069221 31 893726 Cursor Freq 23 273219 MHz Left 23 5695 dB Right 89 2355 dB 2 710 secs CDS mode Finally a cursor may be dragged using the mouse Here is the result of dragging the cursors with the mouse and using the clipboard copy function rather than as in the above traces a screendump Printed on Friday May 01 2009 at 23 55 11 2 58 10 68 Mkr 1 0 216538 13 685000 MHz Mkr 3 0 221654 42 152500 MHz_s 11 dB 21 dB 4 20 16 05 dB dB Div i Div 14 22 53 50 31 01 117 69 6 244715 19 069221 31 893726 Printed on Friday May 01 2009 at 23 55 11 myVNA v0 93 Page 41 of 181 Managing the display Markers and Marker Arithmetic 5 8 Markers and Marker Arithmetic Markers are used to identify specific points on a trace on the display and to perform calculations on their values On clicking the Markers button you get a display like this Markers Source Parameter Link Freg Time Display 1 Trading Maxi Defaut oo emas 2 fleftscan gt
99. a huge amount of memory OLE equivalent Set property nScanSteps __ eclspec dllexport int stdcall MyVNASetScansSteps int nSteps i C EEA E a E ETE PITT PCIE PEI E A a a a Pe Pe re MyVNAGetScanSteps read the current scan steps value OLE equivalent Get property nScanSteps _ declspec dllexport int stdcall MyVNAGetScansteps int pnsteps iy OPPO CUPP CPP e OPPO PO POPC POPPE POPC COPE POPP C EOP E ECC UEC POPE TOC EC EC TCE CPC POE ere MyVNASetScanAverage and MyVNAGetScanAverage set get the current scan trace average count OLE equivalent Set Get property nAverage __declspec dllexport int _stdcall MyVNASetScanAverage int nAverage __declspec dllexport int _stdcall MyVNAGetScanAverage int pnAverage myVNA v0 93 Page 160 of 181 Automation interface example contents fr PEETIETITTITEPETTPEI PTET ITT PETTITTE TET ITEP P ILALL LEILI aa MyVNASetFequencies nFlags bits 0 3 set scan mode where fl is first parameter f2 is the second 0 centre span 1 start 7 stop 2 full scan 3 from zero 4 centre per division 5 centre per step 6 start per step 7 start per division 8 15 unused ii return codes Z OK Td start too low yy Stop toc high start is before end stop too low OLE equivalent int SetScanDetailsAutomation double dF1 double dF2 LONG nFlags __ declspec d
100. ace Calculation is an option Show Marker Measurements This opens a dialog box that provides a detailed view of a range of parameters at each of the markers 1 6 When opened it may also be opened from the toolbar or from a right click popup menu in the main view a dialog box appears like this vViv2vsf4f sf 6f 7f ef 9 Show on trace display Show on printout Frequency MHz This when opened will always appear on top of the main window It may be minimised or it may be closed and re opened The settings will still be present they are also saved on program exit restart The Configure button determines which parameters are to be displayed It brings up a dialog box thus Dual Detector and Reflection Mode Selection Iv Rs zs vswR T Cs Xs lt Zs RL Ls Rp Rho Cp T Xp lt Rho Lp Dual Detector and Transmission Mode Selection l jc M Gide TT lt G Group Delay S Parameter Mode Selection 11Real 21Real S22Real 12Real 11 Imag 21Imag S22Imag 12Imag S11 s521 1522 12 lt 21 lt 22 lt 512 21dB S22cB 512dB Tick the parameters desired for example ticking Rs G dB and S11dB followed by OK changes the marker measurements window to this myVNA v0 93 Page 97 of 181 Marker Measurements Using Time Domain to tune variable coupling BPFs B Marker Measurements MaLezlsalalisLielrylelis Show on trace
101. ady void pHelper __declspec dllexport int _stdcall PowerDownCustomVNA void pHelper __declspec dllexport int _stdcall ResetCustomVNA void pHelper declspec dllexport int stdcall CustomVNASweep void pHelper double qaRfDDS int LoPhase int RfPhase double dLoStepDDS double dRfStepDDS int LoStepPhase int nSteps int nStepDelay int nInitDelay bool SetSWwl bool bPowerDownBetweenSweeps _ decispec dllexport int stdceall SetCustomVNASwitchLines void pHelper _ Sec lepec allexport int stdcall declspec dllezport int etdcall int nSettingB _ Oeclspec cllexzpoert ant stdcall _ Geclepec dllexport int etdeall int StructSize int what double dLoDDS SetCustomVNAPortABLines void pHelper CustomVNARawRead void pHelper CustomVNAGetInformation void pHelper void pResult myVNA v0 93 int pflags SetCustomvNAAttenuatorLines void pHelper int dataA int pUSBCodeVersion int stdcall CustomVNACommand void pHelper double dClockDDS int Delay bool bOverlapDDSandADCFlag int pcount int ninstance double dClockDDS int RfStepPhase int nSetting int nSetting int nSettingA int dataB int StructVersion Page 170 of 181 How fast will it scan Annex F How fast will it scan On the left of the progress bar in the status line is a trace speed estimation Given the current Sweep it tries to predict the current sweep time This takes into account the
102. agged with the mouse so if for example you place the label just above a point on the trace it will stay just above the same point should the trace move on the screen Labels will display on printout or when copied to the clipboard They are not preserved when the program exits Labels may also be set to ignore their associated myVNA v0 93 Page 36 of 181 Managing the display Dragging Items on the Screen trace colours and display in black Annotations may be set to specific colours by the appropriate buttons on the dialog Annotation data string position size and colour are retained on program exit and reloaded when the program starts again Note that when this happens the annotations will display even if when the program last exited the display flags had been cleared When scan data is saved to file in the myVNA native format any label associated with the data set is also saved into the file and automatically reloaded if the data is read from file Labels applied manually to saved data sets are not retained on exit as the data on disk is not rewritten 5 5 Dragging Items on the Screen There are various parts of the display that may be moved using the mouse left click drag release Move the Drag the display around Drag the display around to Markers to change the left vertical change the right vertical fiiino oi I scale or frequency scale or frequency File Edit View Help Ba Start Scan Single Scan
103. an so they must be set correctly before calibrating 18 2 Saving Calibration Standards in Calibration data files Under Calibration are two extra options Save Mode with Cal Data and Load Mode with Cal Data This permits the instrument mode the dual scan option the current attenuator setting S parameter switch settings and reverse scan flag to be saved along with the calibration data It may then be automatically loaded again whenever the calibration data is loaded It is recommended that this option be used If not care must be exercised in loading the correct standards data before loading a calibration data file generated with that standards data 18 3 Saving System Reference Impedance in Calibration amp Standards Files There is the option to save amp load the system reference Z0 from standards data and calibration data files This only applies to files where ZO is actually stored in other words files saved by software version 86 or later In these cases ZO is automatically included in the files and there is an option under the Hardware section called Reload ZO with calibration data to set the system reference when the files are loaded Untick it to stop this happening myVNA v0 93 Page 83 of 181 Open Short Load Calibration Standards LLC OSLC Calibration 18 4 LLC OSLC Calibration Low Loss Capacitor calibration is also provided This results in a A step to the normal OSL calibration
104. an start freg when waiting for calibration W Save basic mode data in calibration data file lf Prompt for calibration notes when saving User Interface Options if Permit Frequency drag rescale whilst scanning if Attempt automatic retries on IO fails during scan if Clip polar traces to the chart area Display Frequency Limits Lower Limit If you change the configuration of which options are shown in the left treeview note that the changes will not take effect until you restart the program There are two options that alter the way calibration data is generated When you perform a calibration it is performed with a specific number of points When you subsequently use that data you may choose a different number of points a narrower frequency range or a logarithmic frequency scan In all such cases the program needs to generate a scan specific set of calibration data When it does this it may need to interpolate between calibration data points With the Use Curve Fitting for calibration data interpolation box unchecked then a simple linear interpolation between points will be used However a better fit may well be obtained using a curve fitting algorithm With the second box ticked it will do just that The second tick box comes into play when a log frequency scale was used for the calibration data In this case the curve fitting is modified to take this into account also The effect of this appears to be small so the default configuration i
105. and link boxes thus me i lo Value 3 eA jii i 4 if 4 4 ii V Curve fit linked f markers Linear fit linked f markers In the example above marker 1 is lined to marker 2 but will seek a value 3 units lower than the marker 2 value The obvious use is for example to position markers 3dB up or down from a minimum or maximum Setting one each side provides a means to display Q for example To do this then link 2 markers one above and one below and offset by 3 in a display that is showing dB Then set the marker arithmetic to subtract the two linked markers from each other The marker will then display the difference in frequency between the two markers Finally tick the show Q option Now the display will be the centre frequency divided by the difference in the frequencies Return now to the marker dialog and observe the Parameter column The default behaviour of each marker is that it is attached to the main or default trace If you display more than one parameter on an axis at a time though you may want to select the parameter that it 1s attached to The Parameter permits this It opens up a drop down list of all possible parameters If that parameter is displayed then so will the marker myVNA v0 93 Page 45 of 181 Managing the display Full Screen Display Source Target Parameter ink Freq Time Display Left Scan acki Maximum ka Default
106. ar may not be hidden Options set certain limits and configuration options that affect the program behaviour Details are given in Section 7 Full screen display is self evident To exit full screen mode hit the Esc key myVNA v0 93 Page 133 of 181 Command Reference Toolbars 35 1 4 Main menu Help eh File Edit View Help Topics About myVNA Product Rey Entry Manual Product Activation r T T r re pe z n The Help menu provides access to the help file pressing F1 does the same thing as do the two help icons from the windows toolbar About myVNA gives program authorship and copyright information The final two entries are used to manage product keys and authorisation A product key is needed in order to run the program and the dialog box used to enter view or change it is accessed from here Depending on the product key product activation is usually required in either 30 or 60 days from when the product key is entered Full details are given in Sections 3 2 and 3 3 35 2 Toolbars There are six toolbars supported by the program One of these is only present in MSA mode All toolbars are moveable and dockable Their location is preserved when the program is closed 35 2 1 Windows Toolbar fa LA a T Ke The windows toolbar provides quick access to the following functions e Open a file same as the menu command File Open or the keyboard shortcut control o It will promp
107. ata 1s recalculated immediately no need to close the dialog or press recalculate The displayed traces should update for each nudge 29 1 Load amp Save Simulations The network simulation dialog provides the options to save and load a simulation Clicking on the Save button opens a file save dialog This permits a simulation setup to be saved to a text file Similarly the Load button permits a saved configuration to be loaded 29 2 Impedances The simulations by default use the analyser system reference normally 50 ohms set in the Hardware section Sometimes for example 1f a filter match is being simulated where the matching impedance is not 50 ohms it 1s desirable to be able to specify a different impedance This may be done using the Network Simulation Port Impedances dialog in the network simulation control This code is subject to change in later versions 29 3 Filter matching example The inclusion of the simulation tool was in response to a request from Roderick Wall for filter matching functionality The following is his description of how to use it with some tweaks to the text The previous section used it as an example to illustrate the functionality present here the same example is given again as a step by step example The example used is for an ITT 10 7MHz filter DUT The matching requirement is 9000hms with 24pF parallel The simulation tool can be used to determine the actual filter to check filt
108. ation you can display a summary of the current calibration data from the Calibration node on the left pane It will result in a dialog box something like this The filename of the current calibration file is shown together with the details If the file contains any calibration notes these are shown at the bottom of the dialog Current calibration Data summary Start MHz Through 0 050000 Isolation 0 050000 Open 0 050000 Short 0 050000 Load 0 050000 LLC 0 050000 Stopt MHz 60 000000 60 000000 60 000000 60 000000 60 000000 60 000000 Current working calibration Data set Through 0 050000 Isolation 0 050000 Open 0 050000 Short 0 050000 Load 0 050000 Current Calibration File 60 000000 60 000000 60 000000 60 000000 60 000000 Points 1001 1001 1001 1001 1001 201 1001 1001 1001 1001 1001 Type Linear Linear Linear Linear Linear Linear Linear Linear Linear Linear Linear Data Valid For Refl Fivd Rev and Trans Fiad Rey Trans Fivwd Rev Refl Fwd Rev Refl Fwd Rev Refl Fwd Rev Refl Fiwd Rev and Trans Fivd Rey Trans Fiwd Rev Refl Fwd Revi Refl Fwd Rev Refl Fwd Rev C Documents and Settings DayvelMy Documentsimy Y MAg 531full scan 10 term my NA cal Calibration data type is Fundamental mode 4 samples 10 Term Calibration Calibration Motes 10 term cal Full scan adc amp average 5 myVNA v0 93 Page 21 of 181
109. ay frequency limits to 0 and 200 Tick save basic mode data in calibration data file Tick prompt for calibration notes when saving Set lower and upper display limits to O and 200 MHz for the N2PK for the MSA set it according to the hardware e Tick Reset Warnings On the main toolbars e Select Full Scan from the drop down list e Set Steps to 200 e Set Avg to Now exit the program and restart it Proceed as per the first time use in the front sections of this manual myVNA v0 93 Page 154 of 181 S Parameter Test Sets and Bridges Annex B S Parameter Test Sets and Bridges There are basically 3 configurations for the VNA single detector dual detector and S parameter test set For a single detector configuration there are basically two configurations straight through for transmission mode or a single bridge configuration In the latter case the RF DDS Out and Det RF In ports of the bridge are connected to the corresponding ports on the VNA and the Device Under Test DUT connects not surprisingly to the DUT port Refer to Figure 11 of Part 2 of Paul s VNA documentation for a circuit diagram This configuration is shown in Figure A of Paul s Fast Detector publication A simple single bridge dual scan configuration is suitable in the following circumstances e Dual Scan Response Calibration RC e 5 or 6 term Enhanced Response Calibration ERC e 10 or 12 term calibration with manual device reversal
110. ble phase settings Set the scan details either by frequency or DDS tuning word If you update a frequency the DDS tuning word is automatically updated Similarly edit the tuning word and the frequency changes Note that frequencies honour the current transverter setting the frequencies must be valid for the band You may also change the frequency by dragging the slider bar left or right for RF or LO Alternatively if you select a slider bar by clicking on it the cursor left and right buttons will give finer control There are 32767 points on the sliders so with a 60 MHz range on the VNA each step is just under 2 KHz apart The option to set SW 1 if ticked for a sweep it is only valid in a sweep causes the SW 1 output to go high when the scan is valid and low when resetting for the next sweep Similarly if you select to power down the DDSs between sweeps the RF and LO outputs will switch off between sweeps myVNA v0 93 Page 101 of 181 Signal Generator Using Time Domain to tune variable coupling BPFs Signal Generator Function Mode of Operation Lock mode ADC readings f Fixed Frequency LO locked ta RF Show 40001 Readings C Sweep Phase Difference Show 40C2 Readings Frequencies 1 000000 RF Start Frequency MHz 01B9C961 RF Start Tuning Word hex 1 000000 LO Start Frequency MHz 01895961 LO Start Tuning Word hex The OFF button is greyed out until the frequency is set Whilst the Power Down D
111. cabling or relays used to perform reverse measurements do not introduce an error but if you are only performing forward measurements or manually reversing the DUT then a single bridge configuration may be used See Annex B for more information on test sets The type of calibration scan is explicitly set in the Calibration treeview control Set it to Response Calibration or one of 4 other Calibration modes 5 6 10 or 12 The sequence in which it will ask for these 5 6 10 or 12 data items will vary by the mode selected and by whether the program has control over the forward reverse settings It is preferable to use an S parameter test set and automate the switching The program will know you have an automated test set if it sees that the switch line parallel or either switch line USB are set to change on S parameter switch control in the Switches and Attenuators set of controls The sequence for a manual scan is simple do the forward then if 10 or 12 term the reverse data set For automated switching however the sequence tries to optimise the handling of the open short and load standards to make it as easy as possible Take care however to read the instructions on screen as it is not immediately intuitive During any scan including the calibration scans it is possible to average a number of traces up to 10 000 per point if you want to go mad but during the Open Isolation scan it is possible to configure the program to avera
112. ce Labels Show Print Notes Dialog Cursors b Show Marker Measurements Copy Image to Clipboard Reset Screen Label Positions 80 00 1 000 6 900 12 800 18 700 24 600 30 500 36 400 5 900 MHz div This menu provides some additional control over the display Note the two log scale functions These allow the horizontal or vertical axes to be set to a logarithmic scale There are some limits here Obviously negative values are a bit problematical so do not expect the display to be correct in all circumstances Therefore to handle negative values there is an option under display options to allow values to be forced to be positive displaying Ivaluel when in logarithmic vertical axis displays Also note that the snap functions do not operate with a logarithmic vertical scale Next the specific settings of the left and right vertical axes may be set similarly the frequency axis Each brings up a menu as shown below myVNA v0 93 Page 31 of 181 Managing the display Popup Menus amp Toolbars Set Frequencies Quick Set From Marker Decimal Places f Set Centre to Marker 1 3 Start Stop 2 Log Scale Set Vertical Axes f Set Centre to Marker 3 co Left Axis Right Axis Select scan type Top 100 000000 180 000000 YP Select W Show Freq div Bottom 0 000000 180 000000 Lock B Decimals Auto Auto Also Update Scan Settings oc a cance For the vertical
113. cently Used Equations vv Show result as modulus and angle This is an equation editor that allows custom display traces to be created The name FO may be changed and this name will then be used in the display choices left right or sets and in the labelling of the axes but keep the name short The equation editor manages a complex number calculator that takes input from scan or store data and creates data that may be displayed graphically or in the report view An equation might be something simple like this lel2 w scan xp or it may be much more complicated The above example calculates the parallel capacitance from the scan data in the same way that the built in function for cp does Specifically it multiplies the real value for xp by 2 pi f and divides it into le12 to give cp in picofarads The last entry is by default the T Check algorithm from R amp S courtesy of Paul The formula is as follows abs scan s11 conj scan s21 scan s12 conj scan s22 sqrt 1 abs scan s11 42 abs scan s12 42 1 abs scan s21 42 abs scan s22 2 What the program does 1s to take the equation compute a complex result for each scan data point and provide the results to the display routines The display routines will show the result as either real amp imaginary or modulus and angle in degrees Whenever a valid equation is present in one of the four options two new entries will be present in the left and right data choice
114. centre frequency must be set to the resonant frequency that the resonators are to be tuned to If you don t then you will be tuning the BPF to the wrong frequency Set the span to two to five times the bandwidth of the BPF Generate an s2p s parameter Template file Load the s2p Template file into my VNA Store 1 When asked select yes to make the Frequency range and steps the same as the loaded s2p Template file Under Trace Calculations select for both Scan Data and Store 1 TDR Configurations and set Window Hamming Mode Bandpass Start Time 0 5us End Time 3us and select Enable TDR functions as shown below Set the display time to match Click OR myVNA v0 93 Page 93 of 181 TDR mode Using Time Domain to tune variable coupling BPFs Configure TDR Window Mode End Time us Scandata Hamming z Bandpass z gt E n npes E Store2 Hamming x lowpass z Store 3 Hamming Bandpass Store 4 Hamming Bandpass x Display Under Display Left Select G dB press the Control key and select TDR S11 Under Display Right select RL Return loss as shown below Set the display Vertical Axis for suitable scales Note the following also shows the traces for the DUT BPF that has been tuned 20 00 14 239 0 241000 us 63 917 0 186000 us 13 878 0 655000 us 44 747 1 208000 us 60 00 i 40 00 6 1
115. cessMyVNA exe This should display the dialog box Now click the Init button This should cause an instance of myVNA to be automatically executed and minimised and some of the values to be automatically loaded It may then be controlled by means of the other controls on the dialog So how does the interface get registered During installation the installer runs myVNA with command line switches of Register and Unregister Executing these will register or remove the Automation interface from the windows registry Unfortunately unregistering will also clean out some of the registry information that the program uses the only implication as far as I can see 1s that when next it is run the toolbar positions will have reset themselves myVNA v0 93 Page 127 of 181 Network Client Server Simulation Limitations 33 Network Client Server The network client server code is a precursor to a possible Ethernet interface to the VNA and permits remote operation of a VNA on another PC This chapter describes its use The idea is to allow control of the VNA via an Ethernet interface This interface would either be an adjunct to the USB interface or for now another PC running myVNA In other words for now it just provides remote control of the VNA connected via USB to one PC from another PC which could either be local or anywhere via the Internet Some care is needed the code has limited error handling To use it the VN
116. ck bring manual cursors on screen will make them appear and press the left mouse button As you drag left and right the cursor will move in polar coordinates around the trace Note also that the marker may jump when you start to drag this is so that it remains possible to position the cursor to any frequency on the scan without having to release the mouse button and drag again myVNA v0 93 Page 56 of 181 Smith and Polar Charts Drag amp Drop In polar display modes markers will display as two values followed by the frequency The first value is the absolute value of the parameter for example lgainl or Irhol The second parameter is the phase angle in degrees In Smith chart view this may be further refined via the popup menu to change the display for each marker A choice of values such as rho rs xs rs cs etc is provided These options are not saved on exit Finally the program permits some display scaling for example when displaying in log display modes However the display will get quite confused if you display smith linear polar and log polar at the same time By all means do it but don t expect it to be useful if S Parameters mode myVNA File Edit view Help ie amp R Start Scan Single scan Calibrate Autoscale Markers 1 000000 mHz v Stop 60 000000 MHz From Zero Steps 200 Instrument Mode rat 21 Real S21 Imag 511 Real Imag 522 Real Imag 521 dB 512 dB LO ie ot ee NATA A Netwo
117. ck Right vertical Axis Report View Equivalent Circuits Auto Refine Eq Cct Bring Manual Markers Onscreen Fa bel sa Log Frequency Scale Vertical Divisions 8 Log Vertical Scale Horizontal Divisions 10 Print Pen Width 5 Display Pen Width 2 Print Notes Dialog Edit Trace Labels JS Add Print Notes to Clipboard Copy Show Print Notes Dialog J Label Markers in Printouts Edit Cursors Smith Polar View Edit Trace Labels Copy Image to Clipboard Put Horizontal Cursor 1 here Calibration Put Horizontal Cursor 2 here gt Reference Standards Put Horizontal Cursor 3 here O Load amp Store Data Hide Horizontal Cursors YNA Hardware Choose Trace Colours oO Transverters d Network Settings Switch and Attenuators 31 02 Hide Vertical Cursors 114 05 1 000000 30 500000 Hide All Cursors 60 000000 Lock Frequency Axis Clear Reverse Scan Data Clear All Scan Data Put Vertical Cursor 1 here Put Vertical Cursor 2 here Put Vertical Cursor 3 here 2 710 secs CDS mode This menu controls three horizontal and three vertical cursors The simplest and quickest function place a horizontal or a vertical cursor at the position of the mouse when the menu was first opened The following example shows 3 horizontal and 2 vertical cursors placed in arbitrary locations i S Parameters mode myVNA File Edit View Help 1 amp R Start Scan Single Scan Calibrate Autoscale Marker
118. data it has opened up the calibration data controls but you need to set the hardware up first Experiment with this tree control You will find that as you click on each of the main items it will open up and the previous one will collapse to keep the display manageable 4 2 Setting Initial Hardware Settings Before anything else the hardware settings need to be configured Select the VNA Hardware node The display will change to show you the controls as shown below aih VNA S Parameters mode vna E A ee File Edit View Help EE Am amp 2 m gt SD DI L RI FI M I X lt X EL Pn RI tdr Start Scan Single Scan Calibrate i Autoscale Markers Start 6 150000 mHz v Stop 8 150000 Hz start stop v steps 500 avaf Instrument Mode J Display Sets J Display Left J Display Right Display Options Print Options ADC Step Delay us 1000 Sweep Start Delay us 10000 Phase Change Delay us 100 ADC Speed 8 System Reference ohms 42 0 Hardware Interface Choose CDS Harmonic mode J Load DDS during ADC JS Swap Detectors on Reverse Scz JS Power Down DDS when Idle Set RF IV configuration Set Reference Mode configura Choose Trace Colours Switch and Attenuators 6 3500 6 5500 6 7500 6 9500 7 1500 7 3500 7 5500 7 7500 7 9500 200 0000 kHz div 0 3500 us div 3 501 secs CDS mode First select the Hardware Type from
119. display Show on printout For each marker selected those parameters will be shown To select the appropriate markers tick the option 1 to 6 at the top Selecting for example 1 and 3 will not immediately display any information but when the markers are showing valid data then the parameters listed will be enumerated for the markers selected for example as shown next A Fi e al My 7 S Parameters mode myVNA j amp fo 1000 fin s0 10000 m v Full Scan Steps 200 Start Scan Single Scan Calibrate Autoscale J mS DI LI RI Fl M Il x lt gt EL Pn Al ia FAQ Instrument Mode Display Sets f 5 Display Left Display Right SHIN Trace Calculation Mkr 1 r 1 16 771161 20 824000 MHz r Mkr 3 27 262672 33 981000 MHz TE s Q Network Simulation Setup 21 dB Show Simulation Data Show Marker Measurements C gt Display Options a O Calibration WAID Reference Standards O Load amp Store Data Ce VNA Hardware We Choose Trace Colours OC Transverters D Network Settings F Switch and Attenuators E Marker Measurements Configure Mil 2 Ml 45r e6 Parameter Markeri Marker 3 20824000 000000 33981000 000000 37 367995 2695 419726 16 771161 0 297527 0 238868 27 262672 6 045 12 040 18 035 24 030 30 025 36 020 i 1 559 secs fi e gs 2 myVNA CPUID CPU Z titip FLIP 2 4 6 The Marker Measurements box may be mov
120. dit the entry double click away from an entry and it offers the chance to add an entry The top pane configures the 10 7 MHz band pass filters The lower pane configures the video low pass filters Set each as needed but importantly set the delay value If you are not sure click the guess button once the bandwidth has been entered Here are a couple example dialogs myVNA v0 93 Page 13 of 181 Tutorial Hardware Interface Selection Edit Filter Ed Add Filter Mame Narrow Frequency Delete Filter MHz 10 7 Cut off T Bandwidth qi Hz kHz i Guess Delay Guess Delay Delay Delay fms 100 ims oO Cancel On the main screen of the program is a new toolbar not used for the N2PK VNA See the figure below Like all toolbars here it is a dockable floating toolbar and can be moved around to where you want it A myVNA Spectrum Analyser mode myVNA File Edit View Help gt lal amp 2 J mS LU AFI M I X lt gt EL Pn RI Start Scan Single Scan Calibrate Autoscale Markers Start 20 000000 MHz Stop 20 200000 MHz 7 Start Stop Steps 1000 vg 1 R Instrument Mode gt Display Sets a Display Left a Display Right Trace Calculation a Mkr 1 2 297350 20 002600 MHz f Display Options gt Calibration gt Reference Standards gt Load amp Store Data ee I Path Path 0 15 000kH2 Hardware Type Configure the hardware ADC Step Delay us 0 Sweep Start Delay us 10000
121. e 10 11 Watch the messages at the bottom If the download succeeds the final line will say SUCCESS Program downloaded and it will enable the Read and Write buttons on that tab Click Read and you should get 8 bytes of FF At this point you are communicating correctly with the USB card If you navigate away from this tab in the program at this time then you will find you can no longer communicate with the card until you reset it by disconnecting it and reconnecting it In the Write EEPROM field of the same tab select the N2PK option from the drop down list and click Write Data That should result in a success message and the EEPROM will have been programmed Now click the Read button and check that it reads back the same string that was programmed in see Data to be written at bottom of tab If the EEPROM does not read back correctly go to the drop down list select the Erase write FFs option and repeat the Write Data operation to try to reset the EEPROM Do not pull the USB plug out while the EEPROM is not reading back correctly or you will lose control of the EEPROM When all is OK in step 8 close the usb configure exe program Note that at this point the program running on the USB controller chip is the Vend Ax programming utility and not the VNA program Pull the USB plug out and reconnect it When the Found New Hardware Wizard appears 9 1 Choose No do not connect to Windows Update and
122. e Relax harmonic mode checking function permits this to be overridden When performing calibration the isolation reading in transmission mode is the one most likely to suffer noise the next two controls permit a separate average to be made of the isolation calibration scan readings Separate from the main trace averaging calibration scans may also be averaged using the Trace averages control There are two main forms of calibration guided where the user is taken step by step through the calibration process and unguided where calibration is performed as required The mode is set by ticked or unticking the guided calibration control myVNA v0 93 Page 143 of 181 Command Reference Treeview controls A calibration scan can be either logarithmic or linear in its steps It does not really matter whether it matches the scan mode setting as it will interpolate but it is preferable if they are the same especially if the number of points is small Low Loss capacitor LLC calibration is an alternative to Open Short Load OSL calibration and is performed if this option is ticked The next five entries Response and OSL Calibration 5 6 10 and 12 term define the calibration mode only one may be ticked at a time For more information please refer to Section 13 Calibrate VVM opens the calibration dialog box for the VVM mode which is addressed in Section 27 Selecting the 5 6 term cheat applies 10 12 te
123. e 3 m 20 00 Trace 4 Trace 5 Trace 6 Trace 7 Trace 8 Marker 1 Marker 2 Marker 3 Marker 4 Marker 5 Marker 6 Marker 7 Marker 8 Marker 9 40 00 160 00 C Transverters LJ 1 0000 30 5000 60 0000 4 Network Settings 5 9000 MHz div A Switch and Attenuators 3 391secs ICDS mode The location of the measurements results may be dragged around on the screen to position them in any desired location myVNA v0 93 Page 99 of 181 Trace Averaging Using Time Domain to tune variable coupling BPFs 25 Trace Averaging As well as averaging multiple readings at each point it is sometimes useful to average a number of traces This chapter shows how that is done Available from the secondary toolbar or the treeview under Trace Calculation is the option to average traces This opens a dialog box as shown Averaging Control Current Reset Store Accumulate Count Store 1 Store 1 Store 2 Store 2 Store 3 Store 3 Store 4 Store 4 This dialog box may be left open minimised or closed amp reopened as desired It permits traces to be averaged provided that each trace is the same frequency number of points The basic operation is as follows Traces that result from a scan may be manually or automatically averaged with other traces in one of the stores By way of example clicking the Store 1 button under Reset Store results in the current scan da
124. e USB interface you must also have installed the USB drivers To support the MSA there is also a specific dll msadll dll Copies of the current versions of each are included in the installation and should appear as zip files in the installation directory The installer also creates a subfolder with USB drivers and a utility to program the USB controller chip When the VNA is connected if USB is used Windows will prompt for the appropriate drivers DO NOT let windows search online for drivers make sure you tell windows to let you choose the drivers from local storage and navigate to the appropriate subfolder in the USB drivers folder Installation of the drivers is a two step process it will ask you twice point it to the same location both times For more detail please refer to Annex G or to the USB driver installation instructions for which there should be a shortcut in the start menu For 64 bit operating systems Vista or Windows 7 amp 8 signed parallel port drivers are needed if you wish to use the parallel port to drive the VNA In this case you must install the drivers first by executing the file InstallDriver exe which you will find in the program installation folder It needs to run as administrator but should only need to be run once To run this as administrator right click on the file and select run as administrator There is a choice of parallel drivers Support is built in for both inpout32 and WinIO The f
125. e functions need a parameter to say what is to be set got see details below a pointer to an array of sufficient size for the results and as a safeguard the number of entries in tht array OLE equivalents int GetIntegerArrayAutomation LONG nWhat LONG nIndex LONG nSize VARIANT a int SetIntegerArrayAutomation LONG nWhat LONG niIndex LONG nSize VARIANT a __declspec dllexport int _stdcall MyVNAGetIntegerArray int nWhat int nIndex int nArraySize int pnResult _ seclepec dllexport int _stdcall MyVNASsetiIntegerArray int nWhat int nindex int nArraysize int pnData options for nWhat parameter in MyVNAGetIntegerArray and MyVNASetIntegerArray all get set an array of integers nindex is required for some but not all options as indicated below Set to 0 when not used case 0 display options array of 4 integers nindex not used set to 0 data 0 horizontal divisions in byte 0 vertical divisions in byte 1 data 1 byte 0 pen width byte 1 marker size data 2 flags as follows fy bit 0 graticule on fi bit 1 scan progress bar displayed Ti bit 2 autoscale on display change iy bit 3 snap to 125 on display change id bit 4 snap to 125 Er bit 5 audio cues Id bit 6 force disp on log axes JF bit 7 auto refine on equivalent circuits yy bit 8 invert RL display iy bit 9 display info tips ii bit 10 label frequency gridlines if bit 11 label vertica
126. e set of parameters is probably called for As an experimental addition there is now a simulate button This takes the current parameters generates a simulation of the crystal and overlays it on the trace see the section on Network Simulation for more details One point to note If you simulate a crystal that has been measured in reflection mode then the termination impedance of 50 ohms will give the wrong results so the program will include a short circuit after the crystal to give the correct reflection S11 results Similarly in transmission mode it will set the simulation termination impedance to match that of the transmission test jig 12 56 ohms for example for the jig shown earlier myVNA v0 93 Page 67 of 181 Dual Detector Scan Crystal Motional Parameters 11 Dual Detector Scan Not described yet in this manual an N2PK VNA may be equipped with one or two ADCs When only one ADC is present it may be used for reflection or transmission measurements but not both When two are present a scan is usually performed using both ADCs at the same time A Dual detector scan The Instrument Modes switches the basic configuration into a number of modes such as reflection transmission and dual scan S Parameters 1s a variant on Dual Detector and is explained later in this document If you select Dual Detector the program will perform a scan using both ADCs with concurrent operation but to do this it needs to know which ADC 1s
127. e who deserve to be acknowledged for their contribution The following are noted First above all to Paul Kiciak N2PK for producing a most excellent VNA design and for help encouragement algorithms and advice Paul together with Wayne Torrey also own the design for the digital filter used for the harmonic mode filtering Ivan Makarov VE3IVM similarly needs to be thanked for his suggestions testing signing of drivers producing good PCBs and the RF IV hardware modules To Jack R Smith K8ZOA for the paper Crystal Motional Parameters A Comparison of Measurement Approaches the test crystals and the transmission jig My thanks to Mike Collins for the suggestions on optimisation of the calibration flows and to Roderick Wall VK3YC my thanks for the feature requests testing feedback and the worked examples of filtering matching and tuning using TDR mode The program about box also acknowledges contributions from others in regard of the code a copy is shown below myVNA Version 1 0 0 91 a Copyright C 2008 2015 Dave Roberts This program is copyright Dave Roberts GSKBB Itis designed to be used with that most excellent piece of hardware the N2PK VNA http www n2pk com If you are a Radio Amateur and using this with an N2PK VNA that you built for hobby use then you are free to use this program For any other use commerdal or otherwise you may not use disassemble modify or make daim to it for any purpose wit
128. ectory Do not connect the VNA to the USB interface until you have successfully completed step 13 l Unzip the driver files into a suitable location unless as is usually the case they are already present in the USB drivers folder of the installation folder of my VNA This will install the usb configure exe program and also create driver subdirectories called XP and Vista Windows T If installed as part of myVNA a shortcut to the program will already be present under myVNA from the sart menu Plug in the USB interfce Windows will identify there is a new USB device and may then search for several minutes to find drivers you have to wait until it gives up If you see any messages about This device will go faster ignore them and they will go away See step 10 for more details Note it is possible that if previously unsigned drivers were loaded or Windows was instructed not to install the drivers that no such response will be obtained In this case run Device Manager locate the entry for the interface and select update drivers manually When the Found New Hardware Wizard eventually appears and with slight variations depending on the operating system version 3 1 Choose No do not connect to Windows Update and click Next 3 2 Choose Install from a list or specific location and click Next 3 3 Choose Search for the best driver in these locations check Include this location and Browse to one o
129. ed Note the Graticule setting A green tick should be shown Items that are either selected or not just gain or lose a tick mark when you click them You have the option to switch on or off a scan progress bar This appears on the status bar below the sweep display and shows the progress of the current sweep Also on the status bar will appear the expected scan run time This is based on how long things take on a typical PC and may be different for other systems use it as a rough guide only 4 7 Performing your first scan Assuming all of the above settings have been made correctly go to Instrument Mode and select either Transmission or Reflection For whatever the instrument mode is the Display Sets will reflect the current mode Try changing them and see what happens In general you have one axis on the left one on the right and a frequency axis on the bottom Whenever you select a new left display item any previous one is removed To get the idea of this select Reflection mode then open up display types like this myVNA v0 93 Page 17 of 181 Tutorial Performing your first scan amine reer mee npn O a O e File Edit View Help oes Be SB YM mS L RAM I EXEL PaRi te 1 SHH StartScan Single Scan A Centre 14 318000 mHz v Span o 040000 MHz centre Span v Steps 2000 Ava f1 A Instrument Mode Hal Display Sets H Rs Xs Rp Xp o Zs lt Zs VSWR RL Rho lt Rho Q Rs Cs lt
130. ed minimised or resized as desired myVNA v0 93 Page 98 of 181 Marker Measurements Using Time Domain to tune variable coupling BPFs Ta E Marker Measurements E l foyx a L f 13S Parameters mode myVNA S e 2 amp R fi FullScan v Steps 200 Start Scan Single Scan Calibrate Autoscale Markers mS Di LU AIF M I lt 3 EL Pn RI A Instrument Mode arker 1 20824000 000000 33981000 000000 A Display Sets Rs 37 367995 2695 419726 vA 511 dB 521 dB 16 771161 0 297527 522 dB 512 dB 0 0 238868 27 262672 511 dB lt 511 Mkr 1 16 771161 20 824000 MHz 521 dB lt 521 Mkr 3 27 262672 33 981000 MHz 522 dB lt 522 512 dB lt 512 511 lt 511 g 521 lt 521 11 dB 21 dB 522 lt 522 512 lt 512 511 Real Imag 522 Real Imag 521 Real Imag 512 Real Imag J Display Left A Display Right R amp Trace Calculation Bea Display Options Calibration D Reference Standards O Load amp Store Data GA 2 VNA Hardware Choose Trace Colours C Transverters amp J Network Settings R amp Switch and Attenuators J Z 160 00 6 045 12 040 18 035 24 030 30 025 36 020 42 015 48 010 54 005 60 000 1 559 secs CDS mode A word of warning The markers will interpolate for example for a zero crossing marker The Marker Measurements will not Also displaying Group Delay with a marker at the left ha
131. ed Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Double click on a row to calibrate that Frequency f setting Right click on a row for the popup menu to add delete etc Cancel This is an empty calibration data set It permits correction for amplitude variation for each ADC For each row which corresponds to a specific frequency the difference between an actual signal and that read is determined and used to correct the displayed values Right click on the display and a popup menu appears Calibrate VVM Frequency 10 000000 30 000000 50 000000 57 000000 58 000000 59 000000 60 000000 Display Units volts RMS v Actual Value 0 070711 0 070711 0 070711 Y Calibrate this entry Edit this entry Delete this entry Add an entry 4DC1 Reading Not Measured Yet Not Measured Yet Not Measured Yet Export calibration data to file Import calibration data from file 0 070711 Which 4DCs Both C ADC1 only C ADC2 only Not Measured Yet Average 100 ADC BW Hz 1700 4DC2 Reading Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Double click on a row to calibrate that frequency setting Right click on a row for the popup menu to addjdelete etc cme This men
132. ed however a vector calculation is performed So to try the meter out connect both ADC inputs to a T piece and apply a signal Set the frequency to be the same as that frequency and observe the display The relative amplitudes should be about the same and the phase somewhere near zero Now put a couple of metres of coax in one leg of the T piece The relative phase and level differences should be shown There will be some error in the amplitudes To correct for this there is a calibration function under calibration in the leftview It brings up a dialog box like this myVNA v0 93 Page 104 of 181 Vector Voltmeter Using Time Domain to tune variable coupling BPFs Calibrate VVM Frequency 0 060000 0 600000 1 000000 10 000000 55 000000 57 000000 58 000000 59 000000 60 000000 Display Units volts RMS v Actual Value 0 070711 0 070711 0 070711 0 070711 0 070711 0 070711 0 070711 0 070711 0 070711 0 070711 0 070711 0 070711 Which ADCs f Both C ADC1 only C ADC2 only ADC1 Reading Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Average 100 sh ADC BW Hz 1700 l ADC2 Reading Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measured Yet Not Measur
133. eeeeeeeees 158 ANNE E Custom VNA Interlace cece eet oat ides a ute oe dacties 169 Annex P How Tast will it scan secante e OAA NEE AEE 171 USB TIMINS Seesar A O or yere ye ee 171 Pare EPO anar AEE Ee ey eee ee ee 173 Annex G Configuring the USB hardware 0 0 0 ceecccccccccecceeeeeeeeeeeeeeeeeanaeeeees 175 Amor H Tesino OULeS asec ctastencselseeccdienicsaloegidschcuiandeteaged oneuaeeleimened screed se 178 9 6 Coane eee eee ERR CE Fae ive EAE OR A PTET ES PC eR ROT en aE RR RCT On Ce 179 myVNA v0 93 Page 6 of 181 Start Here Installation 3 Start Here This chapter describes how to install the program including entry of product keys and program activation 3 1 Installation First install the program from the setup exe that accompanied myVNA ms1 If you have a previously installed version running the new installer will remove the old version automatically first It will also remove all settings from the old version The installer will create shortcuts in the start menu and desktop It should also create a directory in my documents called myVNA it is suggested that you store settings there The program may be uninstalled either by rerunning the installer or from add delete programs in Control Panel It also copies into the program directory some images used in calibration and equivalent circuits and some DLLs One is inpout32 dll for parallel port access Another is vnadll dll the USB interface dll In order to run th
134. eft A Display Right Mkr 3 1 037 30 382000 MHz lt G Calibration 100 00 Reference Standards a 2 Degrees Load amp Store Data i Div Network Settings 120 11 500 00 1 000000 30 500000 MHz 60 000000 Cursor Freq 45 129563 MHz Left 55 841048 dB Right 107 563025 Degrees 10 051 secs CDS mode NUM myVNA v0 93 Page 78 of 181 Group Delay Crystal Motional Parameters 15 Group Delay Within the transmission modes there is a Group Delay option Selecting this will cause the program to display group delay by calculating _ _A phase delay A freq Where the readings are from adjacent scan points This is not ideal it would be better to use a frequency aperture but that is not implemented The implication is that you must ensure that there are sufficient scan points to ensure no big phase changes between points or accept that the result will be in error at that point Because it uses scan data there is no measurement for the first point in a scan rather the program will display the same reading for the first two points myVNA v0 93 Page 79 of 181 Transverters Crystal Motional Parameters 16 Transverters External hardware transverters may be used to extend the VNA operating frequency range This chapter explains how to configure the program to use them When you open up the transverters node the only items shown will be Configure Transverters and
135. egrees 14 31898832 MHz Fs 45 degrees 14 31826731 MHz Display Pen Width 2 Parallel Resonance 14 34048272 MHz RI used in calculations 12 56 ohms Print Notes Dialog J amp dd Print Notes to Clipboard Rm 6 891109 ohms JS Label Markers in Printouts Lm 7 066116 mH Smith Polar view Cm 0 017485 pF i Q 19859 15 Edit T Label D a Q unloaded 92251 23 O Reference Standards CO 5 721248 pF 8 327 secs CDS mode The program will position cursors in the form of vertical lines at the measurement points it has used and display the results of its computation If the program detects a parallel resonance it will display CO and a 4 parameter schematic otherwise it will only show 3 Note however that it will not measure parallel resonance alone the program must have the series resonance within the scan in order to work properly Without using the parallel resonance here is the result Note that you may zoom in on the series resonance for better resolution This example is in reflection mode It also shows the effect of clicking on the simulate button The program has used the network simulation package to simulate the measured crystal the phase plot is myVNA v0 93 Page 64 of 181 Equivalent Circuits Crystal Motional Parameters coincident with the measure results and the impedance can be seen as a red measured and blue simulated trace cP Reflection mode RF IV myVNA File Edit View Help id am
136. ein ich eon atin 139 35 3 3 Trace Calculation Treeview Node 0 cc ccc eeccceccesccesscscescenscesscescens 141 35 3 4 Display Options Treeview Node cccccccccccccasseseseeccceceeaaeesseseeeees 142 33 33 Prnt Options Treeview Node i esotettcascctct crositeanatatesetdaa ment meanest 142 23330 Calibration Treeview NOGE resnie T 143 35 3 7 Reference Standards Treeview Node n cc cece cecceeccesccsceescesscesscessens 144 333 9 Load amp Save Treeview Node occa ce tiers a a a 145 35 3 9 VNA Hardware Treeview Node cccceccesccsccesscesscscescenscesseuscens 146 35 3 10 Choose Trace Colours Treeview Node cc cee ceecseceescenccessceesees 148 35 3 11 Transverters Treeview Node nerccicccniirecieiiiecirrerin iiien 148 35 3 12 Network Settings Treeview Node ccccccccsssseseeeceeeeceeaeeseseeeees 148 35 3 13 Switches and Attenuators Treeview Node ccc cee cecceecceecceeseeeseee 148 So 00i4 Deb o Treeview Node wen ihe tern aiates ad torsional ERS 149 35 4 POpu pp IMCnUS atssewaniuivissiwaliatiatedinatiacivabosdielainiod O 150 Annex A Common Configurations cccccccccccccccccseseseeeeccceeceaaeeseseeceeeseeeeaeenees 152 Annex B S Parameter Test Sets and Bridges 000 0 ceecccccccccccceseeeeseeeeeeeeeeeeeeeees 155 Annex C Glitches when using the parallel port cc cccesseeeeeeeeeeeeeeeeeeeees 156 Annex D Automation interface example Contemnts cccccsssesseeeeeeeee
137. enu item If the toolbar shows centre span or start stop the frequencies shown will be changed to those currently on the screen If the current display shows Full scan or From Zero it will also change to Start Stop first Also present in this menu is a shortcut to copy the current display image to the clipboard Note that you may also use the main menu copy command the copy button on the toolbar or a Control C shortcut to do the same thing Other menu items open the trace labels and print notes dialogs Marker measurements dialog may also be opened and cursors placed edited or hidden Finally you may clear the current scan trace data with the Clear Scan Data option or just the reverse scan data if using 10 12 term S parameter corrections There is another way to access common functions using the controls toolbar as shown above It provides access to the most common functions from the popup menu in the main view It is a floating dockable toolbar A second small toolbar permits easy selection of the display mode i _ fey myVNA Transmission mode myVNA I _ l tr File Edit View Help gt fe amp RY Start Scan Single Scan Calibrate Autoscale Markers m gt S gt DD LI Al FI M Il X lt 3 EL Start 0 050000 mhz v Stop 4s 000000 mHz Start Stop v steps 899 Ava 1 L S HH e Display mode A Display Right 0 00 toolb ar Trace Calcu
138. equency first make sure the VNA has warmed up and connect a digital frequency meter to the RF output Calibrate VMA Master Oscillator To use this Function connect a Frequency counter to the YMA so that it measures the generated carrier Frequency Then enter below the measured Frequency When You click Set Clock the master oscillator Frequency will be adjusted to correct the settings For the actual master oscilator in your YNA To avoid changing the oscillator click Cancel Click the Set DOS button to reset the DDS outputs to the currently entered Expected Frequency The Set Clock button is only enabled if the measured and expected frequencies are within 10 Expected Frequncy SOo0000 Hz Measured Frequncy 0 Hz E The frequency counter should display a frequency close to the expected frequency shown Enter the measured frequency If it is within 10 of the expected frequency this is just to prevent finger trouble then the Set Clock button will be enabled and if clicked will close the dialog and change the master clock frequency to calibrate for the oscillator in the VNA hardware The default frequency shown here is 5 MHz As soon as this dialog is opened the program will attempt to set both DDSs to that frequency If you wish to use a different myVNA v0 93 Page 12 of 181 Tutorial Setting Initial Hardware Settings frequency enter it in the Expected Frequency The Set DDS button w
139. er number 0 NUM MARKERS 1 data O marker value data 1 time or frequency value define GETSET MARKER VALUES I case 2 get not set equivalent circuit results nindex is not used data depends on model chosen define GET EQCCT VALUES 2 case 3 get set display frequency and time settings nindex is not used data 0 display start frequency data 1 display end frequency data 2 display start time data 3 display end time Either 2 or 4 values may be provided either frequencies alone or frequencies and tim define GETSET DISPLAY FT AXIS VALUES 3 case 4 get set vertical axis settings nindex is 0 for left 1 for right axis data 0 axis top data 1 axis bottom define GETSET DISPLAY VERTICAL AXIS VALUES 4 case 5 get set N2PK hardware configuration nindex unused datalO transmission ADV 1 or 2 Gatall reflection ADV 1 or 2 may either pass 2 values or 5 if 2 only the above are affected data 2 clock frequency Hz data 3 VNA minimum frequency data 4 VNA maximum frequency define GETSET N2PK HARDWARE VALUES 5 case 6 get set network simulation components nindex simulation number 0 num_simulations 1 data 0 component 0 type O none 1 R 2 L 3 C data l component 0 value data 2 component 1 type ete so for 8 components it needs an array of 16 doubles define GETSET SI
140. er performance and to determine the component values for the matching circuits The ITT Filter s2p data can be either scanned data or stored data For this example the s2p S parameter data is in Store 1 but the data could equally be from live scan data myVNA v0 93 Page 120 of 181 Network Simulation Filter matching example Instrument Mode A Display Sets Display Left Display Right Trace Calculation Under Trace Calculation click select Network Simulation Setup We will use the simulation tool to generate two matching networks A network from 50 ohms to 900 ohms with 24pF parallel capacitance and from the same 900 ohms with 24pF parallel back to 50 ohms The simulation tool will be configured to use 3 of the 5 available networks for this function with networks 1 and 3 used for the matching networks and network 2 used for the measured performance of the filter by the VNA in a 50 ohm system There is nothing special about the choice of networks we could equally have used networks 1 4 and 5 The important point to note is that the sequence is as shown the networks are in series from port 1 network 1 to port 2 network 5 Select Network Simulation for the input matching circuit for port 1 of the Filter DUT Note the matching circuit component values will only be shown after the next step Synthesize Network Click the Synthesize Network button to show the following window Sy
141. erved on program exit however the body text notes are cleared on program startup E Print notes Header Text V Append Date Time to Header E eee O Body Text Footer Text V Append Date Time to Footer a The Notes dialog box may also be resized to suit your needs If you want to change the width of the traces shown either on screen or when printing there are separate settings for each on the display options The values represent the pen width in pixels The graticule will always be 1 pixel thick and the border around the display will be 2 or 3 wider than the trace pens The size of the markers will change to reflect the resolution of the display Also available are two options to change the fonts on a printout The notes font applies to the header footer print notes and if present the marker calculations The other font applies to the fonts on the trace graphic myVNA v0 93 Page 50 of 181 Save print and copy Copy to Clipboard 6 3 Copy to Clipboard On the main toolbar is a copy button that copies current data to the chipboard If the current display is the main trace either a polar or rectangular display the current trace data and labels will be copied as an image to the clipboard It may then be pasted into another program such as Word Excel Paint etc There is also a tickable option under Display Options labelled Add Print Notes to Clipboard Copy When this is ticked the header footer and
142. es 126 N2PK Hardware Setup cccceeceeceeees 12 Parallel Drivers cccccceccccecceeecceesceesceees 15 Reference Mode ccccceecceeccceeceeecceeseeees 89 RFIV Configuration cccccccceeeeeeeeees 88 Vector Voltmeter eee cceeeceeeeeee 103 VNA Hardware cccccceeccescceeccesccecceees 11 Harmonic Modes ccecceeeccsesceeccesceesseueees 11 Harmonic Suppression Mode 16 Hirmo Sea a 77 BS Ga AG O10 aces aeons consis tad oats comma codecs eae 7 MYN NAMS Genea a a 7 Pat ale POr uenea en A 7 Previously Installed Version 00 T Product Activation seeseeeseessessenseessessese 8 Produet IK CY onae 8 WSS Beri VES arae EN 7 Instrument Mode cece ceecceecceeeceeeseeeees 17 Always do Dual Scan ccccccccecessneees 68 Dal Detector rar nA 68 Logarithmic Scan vs sccsccs wuciencdinceciessvoecesss 71 Reterence Modest naaa 89 Relicina a 17 Reflection Data Port cece ceeeee ees 76 IRC VE USE DC AIS aa ssa tates os aeons 73 RFI Mode 22 cee Aaah iden 88 SE ALAINC CIS honkia aaa 73 Signal Generator rei 101 Test Hardware O renn 178 Tians miss iOm cgacconstcaue veceanteesascauns 17 Vector VOlIMe len eaae ote tsci 103 Keyboard Shortcuts ccccccceceeeeeeeeeeeeees 46 sO CKIN CAKES e a 32 Logarithmic Displays cccccccccccseesssseeeeees 71 Marker Measurements c cccecceeeceeeseeeees 97 MIK a Re DRO DN Hoe eT 26 42 Global s
143. eticnctaaeduantadotnai oud eae N 120 29 3 Filter Tate iii es AN ONG ssi e Maliesd eda Ei 120 29 4 Simulation and Crystal Equivalent Circuits ccccccccccccessseeeeeeeeeeeeeees 123 29 5 Simulation Limitations socos eie i tieetedacerciesetaieiw ales E N 124 30 Multiple Program Configurations eneesessseooeensssssssseeersssssssscererssssssseeerresssss 125 31 Multiple USB connected VYNAS renoenane na o et 126 3 OLEA OT ACO a E OR 127 33 NWO Ceny DCV ear a ane acerereaucueadees toca meter aes 128 34 DDS Power DOWI eccseene aiea e A aa 130 3 gt Command Rer NCE senean EO EEE EE 132 35 1 Man WI CTU espe cca cesta etic otensiehsahhin seu seraahalestnsomneesiehsade nen steranbabet mesa 132 ALl Man Ment Fiese E 132 Soe Man Meu Edi eaaa R 133 IL Minm VIe Wea E seine egentoiaaned 133 Seer AVAIL SAC iit iets tered ener he oad a 134 33 2 TUNG A E A 134 55 2 1 WindOwSs TOOlDa aisn a 134 3322 C ONTOS FOODIE eses a N 134 myVNA v0 93 Page 5 of 181 95 2 5 Display Format 1 OOIDAE siavecetercss isla iredeerd teins a a 136 39 24 Sean Cont FOOD AN ssid nsscdespdsacdaodivactysetsa nitosuscetuseusasialnteaPuekseuaosuees 136 25 20 OP LOODA wie hice nates an toon tae toi ae ts eat eee 136 D520 WIS al HOO DaT aae ts ea iene ciate pale aicadeaieeieneneian 137 35 3 TT SSVAS WW CONTO S eree E OT 137 35 3 1 Instrument Mode Treeview Node cc cece ceccsscceeccesccescescenscesscessens 138 55 0 2 Display Treeview NOES nina a
144. eview controls Short reference there are two parameters the series resistance and inductance as fringing capacitance will be negligible For the load reference the series resistance and inductance together with the parallel capacitance must be given The default values are those that may be expected of a simple SMA female connector constructed set of references The next 3 values define the Low Loss Capacitor used in LLC calibration Only the first two parameters are important the Q and the frequency at which that Q would be expected The program will use one of three different built in models for how the Q varies with frequency to define the overall characteristics The model to be used is selected by choosing one of the LLC options towards the bottom of this treeview node For more information refer to Section 18 4 The next two options control the use of reference data in calibration files When calibration is performed it is performed with a set of reference standards and therefore it makes sense to save the reference standards data with the calibration data and reload it when calibration data is loaded If you don t want to do this untick one or other of these options The final entry is the optional offset of the reference plane Using the reference standards parameters defined above and a reference standard built carefully from an SMA female the reference plane will be the back face of the SMA If you want another reference plane
145. f the subdirectories created in step 1 as appropriate for the operating system Click OK and then click Next The USB drivers are installed Ignore any EEPROM missing error message and click Next It will then tell you that the drivers have not passed Windows Logo testing Ignore this and click Continue Anyway all this means 1s that the chip has been found correctly and either the EEPROM is missing or it is blank When the process completes click the Finish button You are returned to the Windows desktop and the Found New hardware flag pops up at the lower right Wait for it to do this driver installation is a two step process and both must complete correctly Go to the directory you created in step and double click the usb configure exe program If you get a Compressed Files warning click Run The N2PK USB Interface Control dialog opens Make sure that the title of the dialog box indicates version 2 2 or later of the program Go to the Setup tab and use the Browse button in the Vend_Ax filename field to find the Vend_Ax Hex file Click Save Settings Click on the Find devices button and select the device indicated Note that if you have any other Cypress controller chips plugged in at this point then it may find these as well be careful not to reprogram them inadvertently Go to the Program FX2 Chip EEPROM tab and click Download myVNA v0 93 Page 175 of 181 Configuring the USB hardwar
146. f the through detector It is assumed to be infinite loss So when calibrating choose 5 6 or 10 12 according to your hardware configuration then choose between 5 amp 6 and 10 amp 12 according to whether you wish to include isolation data Note that whatever calibration data is available will then be used optimally in DUT scans The best results for S parameters will be obtained when forward and reverse scan data is available This is not the same as whether you performed 5 6 or 10 12 term calibration In a reverse scan if 10 12 term data is not available the 5 6 term data is used in both directions How do you make the program do a reverse scan There are two ways Manually there is a tick option under Instrument Mode called Perform reverse Scan When this is ticked if appropriate the program will assume that the data it is reading is reverse direction data and process it accordingly However if an S parameter test set is being used the program can automatically control the relays that switch the test set To enable this tick one or other of the Enable Switch X in Reverse scan options under Switches and Attenuators When one of these is selected the program will automatically perform a reverse scan after a forward scan A word of caution it is very easy to get confused about data in forward and reverse scans If you perform a reverse scan only and display a forward scan data item or conversely do the oppos
147. figured to automatically switch the attenuator before each scan the values will be set to the chosen settings depending on whether the scan is forward or reverse When enabled by ticking the Set Attenuator Automatically treeview item the manual settings for the attenuator will be overridden by the appropriate automatic settings at the start of each new scan This functionality is designed to be used in S parameter amplifier testing where different attenuator values may be needed in each direction for best performance myVNA v0 93 Page 81 of 181 Attenuator and Switch control Toggling switches during a scan 17 1 Toggling switches during a scan Under Switches and Attenuators are two options labelled Invert Switch 0 during scan and Invert Switch during scan which when selected cause the corresponding switch line to be inverted at the start of a scan and reinstated at the end This may be used to synchronize external hardware to a scan Because it uses the same switch lines as other functions such as the RFIV control it is only active when such functions are not active myVNA v0 93 Page 82 of 181 Open Short Load Calibration Standards Loading amp Saving Calibration Standards Data 18 Open Short Load Calibration Standards Reference standards are critical to the operation of a VNA This chapter explains how the program uses them and how their characteristics are made known to the program On the treeview is an ite
148. forms a single scan When scanning repetitively a scan may be completed then stopped by pressing the single scan button The third button starts calibration by opening a calibration dialog Autoscale will cause the display left and right axes to rescale themselves to match the current display configuration and trace data The final button will open the marker configuration dialog box 35 2 5 Span Toolbar Start 2 150000 MHz Stop 3 150000 MHz steps 2000 Avg 1 Start Stop The Span toolbar controls the start and stop frequencies for a scan the number of frequency steps and the number of measurements to be taken and averaged at each point The dropdown menu shown as Start Stop permits the mode of data entry to be changed The labels and functions of the preceding two controls labelled here Start and Stop change accordingly The units for a frequency may also be changed for each to be Hz kHz or MHz The modes of entry supported are Start and Stop frequency Centre frequency ad span Full scan analyser minimum to analyser maximum From Zero same as full scan but the display starts from zero to avoid unusual settings per division on the display myVNA v0 93 Page 136 of 181 Command Reference Treeview controls e Centre per step The second frequency box determines the frequency change for each step between points e Centre per division The second frequency box determines the frequency change
149. ge 10 000 points per step in 32 point harmonic suppression mode you will be there for an unfeasibly long time approx 102 years to be precise The program has a number of built in limits In general you should not need to change any of these but if you do you will find them in a dialog box accessed from the main menu view options It pops up a dialog box as shown below These configure the various internal program limits and also permit the hiding or display of optional features should you not want to use them Some limits like the maximum number of steps and averages are not changeable myVNA v0 93 Page 53 of 181 Program Limits and other options Drag amp Drop Set Internal Program Limits and Options ee BDS Clock Frequency Limits Max 10000 MHz Min 10 MHz Base VNA Frequency Limits Max 10000 MHz Min PQ MHz Transverter Frequency Limits Max 100000 MHz Min 1 MHz Rid Max 500 Ohms Calibration Standard Limits Cld Max E pF Lid Max E nH Rsh Max 10 Ohms Lsh Maw 10 nH Cop 10 pF Change Leftview Controls Hide Display Sets Hide Transverters Note Changes to these controls take effect next time the T Hide Network Options IS SL Hide Switch and Attenuator controls Show all display types at once W Hide debug controls Calibration Data lf Use curve fitting for calibration data interpolation Use log f if curve fitting log calibration data if Set DDS to sc
150. ge a different number of points This is useful for example in increasing the accuracy of the low signal level isolation scans without incurring the overhead of excess averaging at other settings This is controlled by the Use separate isolation average option and Isolation Average count in the calibration node of the treeview on the left Calibration data can therefore be captured in a number of ways myVNA v0 93 Page 74 of 181 S Parameters Crystal Motional Parameters p Reflection scan Open Short Load reflection data only are captured 2 Transmission scan Through and optionally isolation are captured Isolation data is set to zero 1f skipped Through reflection data is set to zero always 3 Dual Mode or S parameter As defined above this captures the reflection data transmission data and detector reflection coefficient for 5 6 10 12 term correction Therefore if you calibrate separately for reflection and transmission detector reflection coefficients will be missing from the calibration data and therefore a source of error in the S parameters The program will not stop you using such data you might deliberately intend such a measurement Note that under Hardware is an option to set an initial scan delay that may be used to take account of relay switch times Also remember that only one switch line is available with the parallel interface two with USB For a full 2 port S parameter scan a set of fo
151. gs Response 5 6 10 12 term and if Response Calibration is selected the Instrument Mode Response Calibration changes depending on whether Reflection Transmission or Dual Detector mode is chosen and whether the Always do dual scan option is selected The Current Settings are taken from the current calibration data open settings if there is any valid data present For each parameter a green tick or red cross is displayed if the calibration data for that parameter appears valid or not Note that the current VNA frequency and scan point settings may be different to the displayed value if the calibration data does not match As soon as you calibrate any parameter it will use the current VNA settings for that parameter and adopt the new myVNA v0 93 Page 85 of 181 Unguided Calibration Loading saving settings in calibration data settings Because of this a set of green ticks can change to a set of red ones when a new scan is taken There is one button and one cross tick for each parameter All that are currently valid will be enabled The Isolation step though merits discussion Whether it is enabled or not depends not only on the calibration mode but also on the two tick boxes on the right In Response Calibration when doing a Transmission scan you may choose not to do an Isolation scan if a CDS or Harmonic mode is being used When available the tick box will be enabled and ticking it will grey out the Iso button and the Iso
152. has no effect in MSA mode The next three controls affect ADC DDS operation Each may be toggled on or off The first causes the DDS to be loaded for the next reading during an ADC reading Whilst there is the possibility of introducing some noise as a result of the digital switching this does not appear to be the case and it speeds up scans The next causes the detectors to be swapped in their function when a reverse scan is being mode This is only needed if the specific S parameter test set requires it Finally the DDSs may be powered down when not sweeping to save power but beware the temperature of the chips will then rise when scanning which may cause some thermal drift The next two entries configure the software for specific RF IV or Reference mode test head hardware The modes themselves are selected from the Instrument Mode node of the treeview The final entry specifies an optional RF DDS frequency offset that may be applied if selected in the Instrument Mode section myVNA v0 93 Page 147 of 181 Command Reference Treeview controls 35 3 10 Choose Trace Colours Treeview Node This node is used to set the colours of the display Each opens the same dialog box that allows a colour to be selected The colour may be set for The trace border The graticule Traces 1 8 Markers 1 9 e The background display colour Traces 1 8 needs some explanation Normally less than 8 traces will be shown at once it 1s far t
153. he current scan data any of the four data stores or the simulation results and in addition to a trace attached to the left or the right axis myVNA v0 93 Page 42 of 181 Managing the display Markers and Marker Arithmetic The Mode is either tracking manual or linked If linked it may also be with an offset to the marker to which it is linked and this offset may be on the positive higher frequency or negative lower frequency side The target setting is used when a marker is set to track for example if set to track the maximum value it will move at the end of the scan to position itself at the maximum peak value of the trace selected The target may also be set to track to minimum or to the first second or third time a trace crosses a given value either positive or negative going Parameter is used when there are multiple traces shown on a given axis left or right Normally it is set to default but it may be explicitly set to track any calculated parameter such as Rs Xs etc Value is used in two different ways When a marker 1s set to track a value crossing this control selects the value to be used When a marker s mode is set to be linked with an offset f or f then the value entered represents the value offset For example setting a marker to f with a value of 3 means that the marker will locate a point on the trace on the high frequency side of its linked marker where the value of the parameter is 3 less
154. he meter will display a rolling average of the last N readings a drop down list allows selection of the value N The meter runs continuously in the background but if it were to update the screen each reading it would flicker too much to be of use Therefore it updates the screen at a rate selected by the user in seconds The meter reads the amplitude and phase of signals at a given frequency that frequency is set by the controls at the far right The zero phase button may be used to zero the current phase difference useful in correcting for cable differences The Zero Ampl Button may be used to zero the current difference set to zero for difference calculations set to 1 0 for ratios It is usually the case that the two local oscillator DDS signals are 180 degrees out of phase To provide an easy correction for this a 180 degree offset may be applied with the tickbox Finally the current calibration data may be applied or not to the readings This data corrects for amplitude variations and mainly affects high frequency response beyond 55 MHz A specific control to note is the Compute as Vector checkbox just below the vector reading This conditions the basic calculation method There is no difference for the ratio measurements it affects the voltage difference computations When unchecked the voltage differences are computed as a simple subtraction of the amplitudes of the signals and of the phases When check
155. hen setting a marker the left trace refers to the modulus and the right trace refers to the argument Also in Smith Chart view the values that the markers display may be changed to another parameter for example Rs Xs Underlying this though the program is still dealing in rho so the values used in tracking markers will still be rho myVNA v0 93 Page 29 of 181 Tutorial Data Stores 4 8 Data Stores Now select Load amp Store Data and click on Store 1 The current scan data will be stored in the first of 4 data stores and displayed The display can be toggled on or off with the Display Store 1 item as shown below The basic model is as follows You can have 4 data stores that hold trace data and can display one or more of these with the current scan data The current scan data can also be stored to a file and a set of stored data in a file can be loaded to one of the stores If you load stored data without a scan trace you may display analyse and view the stored data as if it were from a recently completed scan Whenever you have a stored trace on screen autoscale will also take it into account when it autoscales the display iP S Parameters mode myVNA File Edit View Help o gt tel amp R Start ioo0000 mhz Stop 60 000000 MHz start stop Steps 1000 Ava 1 Start Scan Single Scan Calibrate Autoscale markers mo gt S2D DIL RI FI M I 54 EL Pn Al is Instrument Mode Dis
156. hout permission from me Please see the license in the installation directory for full conditions of use WinlO is copyright 1998 2002 Yariv Kaplan htto www internals com Please see the details in the installation directory of myVNA for full information InpOut32 is from Logix4U http Aogix4u net and no specific licensing is required The filtering algorithms used in harmonic suppression and harmonic modes are induded by permission of Paul Kiciak The equation parser is Copyright c 2008 Jacob Nielsen Please see the file parser redist conditions pdf for more details The TOR function uses code derived from the Chirp Z algorithm AS 117 from the Journal of the Royal Statistical Society Vol 26 No 3 1977 myVNA v0 93 Page 3 of 181 Table of Contents L TPOGUICH OM ai2tss5 canitacteiedaetoneninati ial cuusecninticesanedondnmmaciusl tela caled ae detanianieleeran 2 2 ACKNOW deceme IIS renea a a dat ysealaenmsanncatnrediass 3 BE A E a E E T eam E A ets A E S E E E 7 Sal AMStAN AMON enese E 7 32 Product keys eier E a e 8 Dor Product LA CU Val Oleo a a 8 SO 00 2 renee E A treatise trent A tee Dera ane re ee ere nee mer pera ee ee ae eee ee mee ree 10 Al FSER UN ee Pe T 10 42 Setune Initial Hardware Settins Sensire a a 11 AD NEK Hardware SCUD eaa A EE OSER 12 422 MSAHirdware Seea a 13 Ads Hardware Interface Selection noscia a 14 4 4 Choose CDS Harmonic mode sccsssciens sdevisetess eackcdesraseinssteend lo vived
157. how hide cccc cee ceecceecceeeceeeeeee 46 InteLpoOlauion s cisnesrevas neta ee 43 Manual Markers cccc cece ceeccceecceecceeseeees 29 Marker Arithmetic cecceeceece eee 28 44 Marker Display Location 29 44 Parametr aren anore Searedersaasevanteavedes 45 Polar and Smith Chart 0 0 0 29 44 O GISDIAY sticicacarenscataneaseancd iancsdlersacuaesencises 45 StAtUs BaT aaee ania 29 44 MAC KAAS oiea 21 Mouse amp Dragging ccccecccceceeeeeeeeeesseeeeees 23 Cursor Popup Menu ccsseeeeeeeeeeees 38 COSOI enana Aa EE 39 Page 179 of 181 Index Do ble CHICK osre 32 Drag and Drop s ssssseessssssssssssssseeereressssss 52 BGI CURLS OLS eniin eis tedeacts 40 Freguent y AK Sannn 24 Lock Scan and Display cc cc sseeeeeeees 38 Ma Cbs nonr N esas 29 44 Moving the Display cccccccceseseeeeeees 24 Parts Of The Display ssicccwocaastesczavaietecauasiedss 3 Repor Vie W ca ctiisceceitieeuwoiau a todas 60 Reset Label Positions ccccccsseeeeeeeees 37 V CMiCalll Scales sectors dcancasiamntisveduncnes westaays 24 MS A tar sadesnetencatane bands E N 13 Conf eurId osnon races 13 Multiple Program Configurations 125 Network Client Server csssseeeeeeees 128 Network Simulation See Simulation OLE AttomatOnecisdinesn a ss 127 Popup Mernis reinn E 31 Clear Scan Datisca 33 Copy to Chipboard cso
158. ices offered in the display nodes is conditioned by the instrument mode chosen in this case it was set to S parameters Selecting Reflection Transmission or dual detector yields different choices for example as shown below Instrument Mode P T Check pa Display Left Display Left Calc Time Display Right gt Display Right Calc Time h Trace Calculation s Display Options i Print Options gt Calibration Reference Standards Pom ime m e h Instrument Mode E Display Sets ve G lt G conf G dB lt G ee Gain Real Imag Group Delay 7 FO T Check All Display Left gt Display Left Calc Time Display Right Display Right Calc Time h Trace Calculation Display Options gt Calibration gt Reference Standards gt Load amp Store Data VNA Hardware Choose Trace Colours s Transwerters Network Settings h Switch and Attenuators h Debug Controls Instrument Mode 7 Display Sets 2 IG lt G af G dB lt G bis Gain Real maq Group Delay os Rs Xs A T Check Display Left Display Left Calc Time Display Right Display Right Calc Time Trace Calculation sk m e m It is also possible to display all choices at all times regardless of the mode by setting the Show all display types at once option in the Options dialog myVNA v0 93 Page 140 of 181 Command Reference Treeview contro
159. ided and unguided This chapter explains the unguided mode The guided mode was shown in the Tutorial chapter It is not always the case that you want to follow the step by step guided mode through calibration When you get used to the program you may want simply to do your own thing in regards of the sequence of steps and do not need the prompts For this there is an unguided mode This is presented as an option under calibration When selected it changes the mode of the calibration button Clicking Calibrate will give the following dialog Unguided Calibration Calibrating Dual Detector Response and OSL Calibration Current setting 1 000000 MHz to 60 000000 MHz in 200 steps Calibration data type is Fundamental mode 4 samples Forward Reverse r W Perform Transmission Isolation step during Open Skip Transmission Isolation step For HS COS m Click this button to clear all scan data gt gt Clear All oggi Mag Fhase 0 053057 ee oiea Finished Note the three lines at the top of the dialog showing the type of calibration and the current settings Initially it shows the current calibration data If you perform a calibration step it may change as the step will be performed to the current calibration settings and not to the current calibration data settings The type of calibration 6 term ERC in this case is taken from a combination of the calibration mode selected from the Calibration settin
160. ileName _ declspec dll xport int stdceall MyVNASaveCalibration TCHAR fileName __declspec dllexport int _stdcall MyVNASaveTraceData TCHAR fileName EUIVIITIT IIT ITI ITT TT ae when in eq cct view mode and only then use these functions to establish a log file and log the results of a scan The description is a string added to each log entry OLE equivalents int SetEqCctLogFileAutomation LPCTSTR fileName int EgqCctLogFileAutomation LPCTSTR description __declspec dllexport int _stdcall MyVNASetEgCctLogFile TCHAR fileName _ aeclispec dllexport int stdceall MyVNALoCgEgCctResults TCHAR description i Ee a a a a a a a CT EPI ETE TPT TT a a a a ee MyVNAAutoscale execute the autoscale function same as clicking the Autoscale button OLE equivalent int AutoscaleAutomation void __declspec dillexport int stdcall MyVNAAutoscale void Ti Ogee eee a a ee eee eee a a se ee eee eee ee eee ee eee eee eee eee eee ee ee oe ee Id myVNA v0 93 Page 163 of 181 Automation interface example contents a a copy whatever is currently being displayed to the clipboard OLE equivalent int ClipboardCepyAutomation void _ declspec dllexport int stdcall MyVNAClipboardCopy void ji C a a a a a general purpose interface functions used to get or set various things Two versions exist one for integers and one for doubles with a Get and a Set in each case Th
161. ill then be enabled and when clicked it will set both DDSs to the new frequency The final entry ADC Voltage conversion factor should not normally need to change It is there for anyone who uses myVNA to control other hardware In this case the ADC reading is multiplied by this conversion factor to convert the value into volts The value shown here is 1 64636127271944e 009 which is the ADC hardware reference voltage 2 5 divided by 2 as the drivers internally use a 28 bit reading divided by 2 V2 for rms conversion 4 2 2 MSA Hardware Setup MSA Hardware Settings PLL Configuration Filters FLLI Freg MHz Ew kHz Oo 10 700000 15 000 Type 4112 Polarity Non invert Reference MHz 0 974 Mode Integer bi Cutoff Hz DOS LO Configuration DESI Centre 10 7 MHz Bandwidth moas Basic Configuration ADC configuration TS w ES MHz Freq Band iG x f With Tracking Gen Max ass 0 1 Min Freq C with VNA PEAN on Cancel Max Freq De 1000 Set Defaults ae MHz The first time you run it the PLL types will show as Select the basic MSA type from the Basic Configuration options bottom left then click Set Defaults Now change the options to match your hardware The filters are set using the two filter edit windows on the right To change the entries either double click with the mouse or right click for a menu If you double click on an entry it opens a dialog to e
162. in transmission mode with a CDS sweep it will offer you the option to skip the ISO Isolation aka open calibration as shown below 2 45 this is a CDS scan do you wish to skip the 50 Open step myVNA v0 93 Page 16 of 181 Tutorial Setting the ADC mode 4 5 Setting the ADC mode The ADC mode is shown as a speed value from 1 to 10 with 1 the slowest and 10 the fastest When you change the ADC speed to be found under the VNA Hardware treeview node a dialog pops up as shown below Select the desired ADC mode by selecting the appropriate radio button then clicking OK Note that two forms of display are possible technical ADC data is shown if you click the Display ADC Technical data box Both forms are shown below and the program assumes both ADCs are of the same type Select LTC2440 Conversion Speed Select LTC2440 Conversion Speed Select the desired ADC conversion rate select the desked ADC conversion rat Fastest O Fastest OSR 1 ADC speed is 3 25 KHz C OSR 2 ADC speed is 1 76 KHz C OSR 3 ADC speed is 880 Hz C OSR 4 ADC speedis 440 Hz C OSR 5 ADC speed is 220 Hz C OSR 6 ADC speed is 110 Hz C OSR 7 ADC speed is 55Hz C OSR 8 ADC speed is 27 5 Hz C OSR 9 ADC speed is 13 75 Hz Slowest 1 C OSR 15 ADC speed is 6 875 Hz Display ADC Technical Data Cancel Cancel 4 6 Setting the Display Options Select the Display Options from the main tree view and change these as need
163. ing marker it will stay put on its frequency but now you can also drag it this was the other draggable item referred to previously If you put the mouse pointer close to it technically within 10 pixels and depress the left mouse button you can drag it left and right The marker will stay glued to its trace but can now be moved left amp right Look at the status bar as you drag the manual marker it will indicate the current marker position and values This only lasts whilst the marker is being dragged When you move the mouse across the screen at other times the current mouse pointer position will be displayed as frequency amp values for left amp right axes Markers are by default positioned top left of the display Sometimes this 1s not very convenient it obscures parts of the trace So you may move it around on the screen by dragging it where you want it to be Anywhere on the marker display text click the left mouse button and drag the markers where you want them to be The position you select will be preserved on startup and there are two positions one for polar smith charts and one for rectangular Finally there are a few quirks the position may be off the page on printed copies and dragged off the bottom they may reappear on the top as they strive to stay visible In Polar and Smith Chart views the markers work slightly differently At their core they always use the modulus and argument of the measurement Therefore w
164. interface steps CDS mode averages single or dual detector step delay start delay and ADC mode It does not try to tweak itself for the PC speed though it is based on typical PC timings USB Timings With USB if you set all delays to zero and speed to 10 a 200 point CDS non dual detector scan will take 0 39 seconds To the raw ADC conversion time about 320 usec the program will add a fixed overhead of 110 usec giving a per conversion time of about 430 usec If you select a step delay this gets added to each step point and there is a fixed scan startup time of 960 usec which can be extended with the scan start delay setting A rate of 430 usec per conversion is a rate of just over 2300 conversions per second It s not quite that simple though USB frames are 125 usec and the conversions will align with this grid in a manner that depends on delay settings However the data rate should be at least 2000 ADC conversions per second including DDS update time This data rate is sustained through the scan including screen update as long as the PC can keep up An overall logic analyser trace of the first part of a scan is shown below Note that in this scan the data lines are as follows D7LO DDS data D6RF DDS data DSDDS Reset D4DDS WCLK D3DDS FQUD D2ADC SDO DIADC CS DOADC SCLK myVNA v0 93 Page 171 of 181 How fast will it scan Oo LEE TET ETL H LE UE TUE Tah IL AA IE MENSI TR TET In the above trace the scan start dela
165. ite then when scanning you will see a trace in progress indication but no trace data will be shown at the end myVNA v0 93 Page 73 of 181 S Parameters Crystal Motional Parameters Note that for the parallel interface there is just one switch line For the USB there are two the program will automatically reverse scan if either is selected Note that if you tick the second USB only switch line then select a parallel interface the second switch line will be hidden which can be confusing as it will still cause automatic reverse scans In summary then when you perform a dual detector 12 term calibration scan the program will need to capture the following 1 During the Open scan it measures transmission isolation and reflection coefficient for open 2 During the Short scan it measures reflection short data During the Load scan it measures reflection load data 4 During the Through scan it measures through transmission data and also measures the reflection coefficient of the detector oS These 6 factors are applied to forward and reverse data giving 12 terms The program may also be set to use 10 term in which case the Open scan does not measure Transmission Isolation or 5 and 6 term ERC The 5 and 6 term models are like the 10 and 12 term models but the reverse scan calibration data is assumed to be the same as the forward scan data In 5 or 6 term it is therefore a big assumption that the program is making that the
166. ith stored data Look again at the TDR configuration dialog Configure TOR i Window Mode Start Time us End Time us Window on display freq Scan data Hamming Bandpass pd Store1 Hamming v Bandpass Store 2 Hamming v Bandpass v Store3 Hamming Bandpass Store4 Hamming Bandpass Display Note the Window on Display freq option When this is ticked the frequency range used for the transform is clipped to the range of frequencies shown in the display So given this display Mkr 445 968 2 965000 us Mkr 3 4 0 110 0 007000 MHz 10 00 t S11 20 00 30 00 40 00 50 00 25 00 60 00 30 00 70 00 35 00 80 00 40 00 90 00 6 1500 6 3500 6 5500 6 7500 6 9500 7 1500 7 3500 7 5500 7 7500 7 9500 8 1500 0 5000 200 0000 kHz div 0 4000 us div 3 5000 Zoom in slightly on the frequency axis by putting the cursor on the frequency axis press and hold the left mouse button and drag the cursor left to zoom in slightly like this myVNA v0 93 Page 95 of 181 TDR mode Using Time Domain to tune variable coupling BPFs Mkr 3 45 006 2 972000 us Mkr 4 44 875 2 965000 us Mkr 3 4 0 131 0 007000 MHz 0 00 10 00 11 dB t S11 5 00 20 00 5 00 10 00 dB dB i Div i Div 10 00 30 00 15 00 40 00 20 00 50 00 25 00 60 00 30 00 70 00 35 00 80 00 40 00 90 00 6 4997 6 6297
167. ize Network button to show the following window Synthesize Network Network Type Band Pass LECL Mudge Frequency 10 7 MHz 9 aera Input Match Output Match R 900 E alii 50 E e R Series Reactance Series Reactance Reactance Reactance f None i None C Inductive f Inductive Update f Capacitive tC Capacitive C toms C fohms co 24 pF Cancel Select the Network type and the matching circuit input output impedance Click OK From the Network Simulation window click Recalculate Data This will generate a simulation of the above 3 networks To display the simulation trace select Show Simulation Data option under Trace Calculation as shown below Instrument Mode Display Sets Display Left Display Right Trace Calculation Fi F2 F3 T Check Q Network Simulation Setup Jp Show Simulation Data O Day Options Reference standards Load amp Store Data F VNA Hardware SS Choose Trace Colours s Transverters tJ Network Settings Switch and Attenuators S2 The simulation trace will be displayed with whatever display modes are selected For example selecting S21 should yield the following display myVNA v0 93 Page 122 of 181 Network Simulation Simulation and Crystal Equivalent Circuits 0 00 13 990 10 703950 MHz 23 056 10 695800 MHz 21 dB f 8 666 10 698375 MHz 1 264 10 696800 MHz 20 00 2 678 10 700025 MHz 6 574 10 7038
168. k Logarithmic Scan Untick TDR Mode Only Untick Apply RF DDS scan freq offset Make sure Reflection Data Port shows 1 as a value Set Trace Averages to 1 Display Sets Rs Xs for transmission mode or G dB lt G for transmission Choosing an option under this heading means you can ignore for now Display Left and Display Right Display Options Tick Graticule Tick Scan Progress Bar Tick Autoscale on display change Tick both snap options Tick Audio Cues if you want some beeps Tick Force displayl for log axes Untick Invert RL display Tick Display Info Tips Set vertical divisions to 8 Set horizontal divisions to 10 Set Display Pen Width to 2 Untick Smith Polar View Report View or Equivalent Circuits Untick Auto Refine Eq Cet Tick Show Scan Data Set Marker Size to 3 Print Options Set Print Pen Width to 5 Tick Label Markers in Printouts Set Marker Size to 5 Calibration Untick Relax harmonic mode checking Tick Use Separate ISO Average Set Isolation Average to 5 Set trace averages to 1 Untick Unguided Calibration initially Tick Response and OSL Calibration myVNA v0 93 Page 152 of 181 Common Configurations Untick Log Calibration Scan Untick Do LLC calibration Untick Lode mode with Cal data Reference Standards Set Cop to 0 04 Set Cld to 0 23 Set Rid t
169. ker 1 Marker 2 Marker 3 Marker 4 Marker 5 Marker 6 Marker 7 Marker 8 boi Marker 9 Bae Background Colour O Transverters myVNA v0 93 Page 59 of 181 Report View Zooming 9 Report View Data may be displayed in four formats e Rectangular plots all traces so far in this manual e Smith and Polar charts e Report Listing view e Equivalent circuit view This chapter covers Report view Under Display Options there is an option of Report View If selected this changes the graphical display to a tabular report as shown below i Untitled myVNA File Edit view Help al amp Start Scan Single Scan Calibrate Autoscale Markers Start 7 997324 MHz Stop s 017658 mHz Start Stop v Steps 500 Instrument Mode lt Zs A Display Sets 7 997324 650 287894 89 844313 A Display Left 7 997365 641 770396 89 814116 A Display Right Aat io peee G 7 997487 616 476672 89 768081 raticule 7 997527 607 927642 89 749459 J Scan Progress Bar 7 997568 599 424654 89 731234 Autoscale on Display Change 7 997609 590 803232 89 716213 Snap to 125 on Autoscale 7 997649 582 169220 89 693909 Snap to 125 7 997690 573 638325 89 680565 Audio Cues 7 997731 564 848501 89 668402 7 997771 556 096487 89 661189 s Repare Wew 7 997812 547 318592 89 640210 Equivalent Circuits 7 997853 538 465987 89 623795 Auto Refine Eq Cct 7 997893 529 555384 89 608896 Invert RL display 7 997934 520 692
170. l gridlines Er bit 12 show scan data bit 13 lock scan to display fF bit 14 31 spare data 3 more flags Note these flags are not readable they will always read as zero in this version this parameter may be omitted by setting the number of integers to 3 instead of 4 ii bit 0 log vertical scale if currently in rectangular display mode gi bit 1 log frequency scale if currently in rectangular display mode E bit 2 if set set the scan to match the current display fregeuncies make sure scan is not locked to display see bit 13 above 77 bit 3 if set set the display to match the current scan frequencies make sure scan is not locked to display see bit 13 above ye bit 4 if set lock the frequency axis bit 5 if set lock the left axis a bit 6 if set lock the right axis define GETSET DISPLAY OPTIONS 0 case 1 print options array of 4 integers nindex not used set to 0 GatalO unused data 1 byte 0 pen width byte 1 marker size GatalZ flags as follows I bit 0 add print notes to clipboard copy ii bit 1 label markers in printout a bit 2 31 spare data 3 spare define GETSET PRINT OPTIONS 1 case 2 get and set screen colours array of 1 integers nindex which colour to access Zi 0 Border Ei 1 graticule 0x10 to 0x17 trace colours 1 to 8 ii 0x30 to 0x38 marker colours 1 to 9 data 0 the colour This is a DWORD passed as an int
171. l rows by holding down the Control key and clicking on specific rows When Report View is selected it is also possible to copy just one column of data or a subset of a column by using the mouse with the keyboard Shift and Control buttons To do this right click on the display area and a popup menu will appear For whatever columns are currently displayed a menu item will be present to allow that column s data to be copied to the clipboard It will also be in both text and CSV formats but in this case as there is just one column there will be no trailing commas This format is suitable for pasting data into Lotus 123 as I can t figure out how to make it paste properly yet Finally it is possible to change the column order by dragging columns left or right using the column heading row When this is done the order in which the columns are copied to the clipboard will match the currently selected order Beware though this order will be reset every time report view is selected Marker measurements data may also be copied to the clipboard with the copy button in that dialog box This will copy all current rows or if one or more rows are selected just those rows As for the report view the data 1s available on the chipboard in both text and CSV format to permit pasting into excel or word myVNA v0 93 Page 51 of 181 Save print and copy Drag amp Drop 6 4 Drag amp Drop If a file is dragged onto the application display
172. lation G Display Options G dB F Print Options 10 00 l t This toolbar as others is moveable and dockable Each of the buttons permits easy selection of the rectangular polar report and equivalent circuit display modes myVNA v0 93 Page 33 of 181 Managing the display Displaying Multiple Traces 5 2 Displaying Multiple Traces In all of the above discussion only one parameter type has been shown on each of the left or right axes by clicking on the desired parameter in a display set display left or display right option It is however possible to display multiple types at the same time by holding down the Ctrl button whilst selecting a type to display In report view this causes extra columns to be displayed for example as shown below i S Parameters mode myVNA File Edit View Help a Start Scan Single Scan Calibrate utoscale Markers Start 1 000000 MHz Stop 60 000000 mHz v Start Stop Steps 888 Instrument Mode 512 dB 521 dB 522 dB sii de EN Display Sets 1 000000 28 189762 55 324301 0 018892 98 795867 511 dB 521 dB 1 066441 27 673924 55 185469 0 016223 116 529267 J 522 dB 512 dB 1 132883 27 162021 55 165995 0 017818 99 140715 S11 dB lt 511 1 199324 26 676507 54 967374 0 019205 105 424362 521 dB 521 1 265766 26 207962 54 629681 0 021247 99 071923 522 de 4 lt 522 1 332207 25 753827 54 645371 0 022811 105 721969 1 398649 25 320130 54 489356
173. lation data will be zeroed when the Thru calibration is performed The other tick box that may be shown 1s labelled Perform Transmission Isolation During Open Again if ticked the Iso button will be greyed out Now the Isolation data i e transmission Open data will be collected when doing the Open scan Always shown is a tick box that allows override of the log linear calibration scan setting The tickbox labelled mag phase toggles the display of the current ADC readings between real amp imaginary and magnitude amp phase myVNA v0 93 Page 86 of 181 Reference Planes Loading saving settings in calibration data 20 Reference Planes An offset to the reference plane may be entered using the control Ref Plane Offset mm located under the Reference Standards control This offset is designed to be used to move the reference plane by a small amount for example to move if from the back of an SMA to the mating surface of the connector The implementation is of a lossless perfect line and the value required is the number of millimetres a positive value towards the VNA and a negative value away from it Specifically the complex reflection coefficients measured for each of the OSL values is multiplied by 1 j tan 2 2 L A 1 j tan 2 2 L A It is also possible to apply a transmission line correction to measurements in reflection mode The controls for this are located under Trace Calculation and comp
174. lay Right Display Options Calibration Reference Standards Load amp Store Data iO YNA Hardware Choose Trace Colours Transverters EJ Network Settings 1708 78 416 32 14 308000 14 318000 MHz 14 328000 For Help press F1 4 882 secs CDS mode NUM If you drag within the graticule it will move the trace up or down specifically the left axis trace if you click and drag on the left half of the graticule or the right trace for the right half This is the result of dragging the left axis trace down P Untitled myVNA File Edit View Help E I Start Scan Single scan Calibrate Autoscale Markers Centre 14 318000 mHz v Span 0 020000 MHz Centre Span v Steps 2000 Instrument Mode A Display Sets JS Rs ts Rp Xp 1575 12 Zs lt Zs 2p lt Zp VSWR Rs RL Rho lt Rho Q Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp Y lt Smith Chart J Display Left J Display Right Display Options Calibration Reference Standards Load amp Store Data oO YNA Hardware Choose Trace Colours Network Settings 754 45 416 32 14 308096 14 318096 MHz 14 328096 For Help press F1 4 882 secs CDS mode NUM Note also that the frequency axis has moved in this example This is because you can also drag the frequency axis left and right like this myVNA v0 93 Page 24 of 181 Tutorial Performing your first scan
175. llexport int stdeall MyVNASetFequencies double f1 double 2 int nFlags 0 i 2 3 width must be gt 0 4 5 Bo geod a eee a a ee eee eee ee ees eee eee ee eee eee a a eee ee eee eee eee eee eer eres se 2 MyVNAShowWindow show or hide the current myVNA window nValue set to 0 causes SW SHOWDEFAULT nValue set to 1 causes SW SHOWMINIMIZED all other values ignored OLE equivalent void ShowWindowAutomation LONG nValue __declspec dllexport int _stdcall MyVNAShowWindow int nValue CEE a a a TTT a a MyVNAGetScanData get current scan data results starting from scan point nStart up to and including nEnd note that a scan of N steps gives N 1 data points from 0 to N the data type requsted nWhat must be one of the ones as follows It is the callers responsibility to make sure that that data type is capable of being calculatd from the current scan data OLE equivalent int GetScanDataAutomation LONG nStart LONG nEnd LONG nWhata LONG nWhatb VARIANT a VARIANT o J3 VARIANT a and b must encapsulate safearrays of doubles of sufficient size for the output and be zero indexed even if one or other a or b are not in use i e DISPLAY NOTHING is used for it then an suitable variant must be provided still __declspec dllexport int _stdcall MyVNAGetScanData int nStart int nEnd int nWhata int nWhatb double pDataA double pDataB flags
176. ls 35 3 3 Trace Calculation Treeview Node The trace calculation treeview node provides access to the user defined functions network simulation marker measurements Time Domain Reflection TDR controls trace averaging and reflection mode reference plane offsets Instrument Mode Display Sets Display Left Display Left Calc Time Display Right Display Right Calc Time Trace Calculation s s 5 5 ve a Network Simulation Setup Show Simulation Data a Show Marker Measurements r Sa TDR configuration TDR Functions a 5 Trace Average Control Offset Reflection Reference Plane wl Refl mode Ref Offset Setup The first four entries FO to T Check open up dialog boxes to configure the four user defined functions The default names for each are FO F1 F2 and F3 but the dialog box permits the name of the function to be set the final entry in the example above has been set to T Check When a valid equation is set for one of these functions it will then appear in the lists of display sets left or right options and may be used to display trace data More information is given in Section 28 The next two entries control network simulation The first opens up the dialog box to configure network simulation the second toggles on or off the display of the results Refer to Section 29 for more information Show Marker Measurements displays the marker measurements dialog
177. ly spaced such that the first point frequency is equal to the difference between the first two points If this is not the case then for a scan the program will switch back to bandpass mode and for a store will switch off time domain plots for that store Look back at the configuration dialog The tick option against each trace permits the frequency range for the transform which is normally all the data points in the scan from start to stop frequency to be windowed on the current display frequency Hence you may zoom in on a part of the scan and transform it The zoom must contain at least 100 points but the output time domain scan will always contain the full number of points as the full frequency scan The minimum frequency used will be the highest of the display start and the scan start frequencies and the maximum will be the lowest frequencies of the scan and display end frequencies The Display items in the dialog control how the trace is displayed Firstly the axis markers and status bar may be set to display values as time or as distance If distance is selected then the velocity factor for the transmission line needs to be defined Finally the start and end times for the display may be set In time mode the displayed values are in us In distance values are shown in metres The distance is computed as the product of the time the velocity factor and the speed of light myVNA v0 93 Page 92 of 181 TDR mode Using Time D
178. m Disk 6 2 Printing You have the option either to print directly or to copy an image to the clipboard that may be pasted into another document Both functions will preserve the aspect ratio of the screen display currently selected in the printed or copied image When printing a trace you may now add notes to the printout Under Print Options there is an entry labelled Print Notes Dialog It is also available on the right click popup menu This dialog is as shown below It allows control over the header footer and notes sections of the printed page The Header and Footer are two lines long each that appear centred on the page top and bottom Each may also be extended to a third line by including the print date amp time using the appropriate tick box The notes section is a freeform text area that appears beneath the trace display It will be truncated at the end of the page if it is too long Noting that the display may fill the page length especially in portrait prints some space needs to be made for the notes When necessary therefore the program will shrink the plot area to leave space but will only shrink it sufficiently to allow up to 1 3 of the page height to be taken up by the notes After that the notes are truncated The notes dialog may be left open on the screen when the program is in use or it may be closed and reopened When this happens the previously entered text will be remembered The Header amp Footer are pres
179. m labelled Reference Standards If you open this up you will find a set of entries for the Open Short and Load standards plus the option to save and load standard data The program maintains a notion of the errors inherent in the calibration standards and corrects for them at the end of a calibration scan and when reloading calibration data from disk The parameters may be changed as you see fit within certain limits and it will remember the values when the program exits You do not need to explicitly save them when they are changed To change a parameter select it from the treeview and a dialog box will appear inviting you to change its value Limits apply to each and these will be indicated in the dialog box The program assumes that an open suffers from fringing capacitance a short from a series resistance and impedance and a load a resistance and inductance in series with a capacitance in parallel with them 18 1 Loading amp Saving Calibration Standards Data You may want to be able to switch between different calibration standards however and for this reason the complete data set may be changed by saving to file or loading from a file This file is a text file and may be edited as you wish as long as the format is maintained It is important that you understand when the correction factors are applied When you perform a scan the correction factors for the OSL standards will be applied automatically at the end of the calibration sc
180. mH ae Cm 0 017578 pF JS Label Markers in Printouts E P Smith Polar view Q 134934 62 Edit Trace Labels CO 4 586463 pF gt Calibration gt Reference Standards D Load amp Store Data E VNA Hardware Choose Trace Colours E Transverters J Network Settings lt Zero phase 8 00039809 MHz Fs 45 degrees 8 00042769 MHz Fs 45 degrees 8 00036840 MHz Parallel Resonance 8 01572942 MHz 4 487 secs CDS mode And in transmission mode i Transmission mode myVNA File Edit View Help C i Start Scan Single scan Calibrate Autoscale Markers Centre 14 328494 MHz Span 0 030000 MHz gt Centre Span Steps 20 Instrument Mode A Display Sets Select Device Type gt Display Left Crystal Parameters as Display Right RQ Trace Calculation Select Model gt Display Options 45 Degree Phase be JS Graticule JS Scan Progress Bar Select Data Source A Autoscale on Display Change Current Scan Data z J Snap to 125 on Autoscale JS Snap to 125 RI of test jig S Audio Cues ms E JS Force display For Log axes 12 56 Report view L Equivalent Circuits Log Results Log File Auto Refine Eq Cct Invert RL display Refine Result JS Display Info Tips Vertical Divisions 8 Horizontal Divisions 10 JS Label Freq Gridlines Label vert Gridlines Print Pen Width 5 Zero phase 14 31860318 MHz Fs 45 d
181. mething J then you will get an error Similarly sin somethingelse j will give an error In the first case use 1j or J1 and in the second 1j 28 4 Values The following built in values are available The current frequency for this calculation wo reg 28 pi freq 2 pi Finally be aware that error checking by the compiler is limited myVNA v0 93 Page 113 of 181 Network Simulation Values 29 Network Simulation Like the equation editor the network simulation function allows simple networks scan and stored data to be computed and displayed One example of how it may be used to simulate filter matching is shown in this chapter Under the Trace Calculation heading on the left are two options that control network simulation titled Network Simulation Setup and Show Simulation Data The first of these opens up a dialog box that configures the simulation and the second is a toggle that displays or hides the simulation data The setup screen produces a dialog box as shown below This dialog may remain open whilst using the main myVNA application window it does not need to be closed during use If reopened it will display the current settings and closing it does not affect the display of simulation data The dialog provides a configurable simulation of five networks as listed on the right hand side In simulation these are considered to be connected in series from 1 to 5 top to bottom
182. mple In a log scan just as when you select a different number of scan points or change the start or stop frequencies it will generate calibration data for the scan as needed Finally if you select scan from zero the program will do its best but log 0 is not a useful value here so it will set an arbitrary point at 1 Hz myVNA v0 93 Page 72 of 181 S Parameters Crystal Motional Parameters 13 S Parameters As well as basic transmission and reflection parameters the program may be configured to work in and display Scattering S Parameters This is the subject of this chapter The S parameter model is based on the 12 term error correction model as defined by HP and by following the logic in Paul s code Refer to Paul s and Tom s excellent papers for details In that model the corrections applied give more accurate results than basic Response Calibration There are five different correction models available in myVNA Response Calibration is the simplest The 5 and 6 term models assume that forward and reverse connections are identical This is probably only going to be the case where a single bridge is used and the DUT is manually reversed In all other cases the reverse direction is going to be significantly different due to bridge and switching differences Hence 10 and 12 term options are offered The difference between 5 and 6 term is the same as between 10 and 12 term in 5 or 10 term these is no isolation measurement o
183. myVNA User manual rie myVNA S Parameters mode myVNA i Ea File Edit View Help co lel BP J woSdDUA FM IIH lt gt EL PPA tdr L H Start Scan Single Scan Calibrate Autoscale Markers Centre 30 500000 MHz Span 59 000000 mHz Centre Span Steps i000 Avg fi 4 Instrument Mode A Reflection Transmission Dual Detector Trans Refl JS S Parameters Signal Generator Test Hardware O Vector Voltmeter 0 00 i Mkr 1 0 038 60 000000 MHz 11 dB Always do dual scan Perform reverse scan 5 00 Use RF IV mode dB Use Reference Mode i Div Logarithmic Scan Reflection data port 1 Trace Averages 1 Export configuration 5 Import configuration TDR mode only Apply RF DDS scan freq off J Display Sets OJ Display Left J Display Left Calc Time J Display Right Display Right Calc Time Trace Calculation 20 00 Display Options F gt Print Options 2 Calibration 40 00 1 000000 Reference Standards ve Software Version 0 93 User Manual version 1 05 5 July 2015 Copyright Dave Roberts GSKBB 2015 1 Introduction This document explains how to use myVNA It gives step by step instructions in the form of a short tutorial from initial installation showing how to use each of the main features of the program For an overview of how to install the program please refer to Section 3 Start Here on
184. n 2 rU ad Y myVNA v0 93 Start Scan Single Scan Calibrate Instrument Mode Display Sets Rs Xs RL T Check Display Left Display Left Calc Time Display Right J Display Right Calc Time Trace Calculation Display Options Print Options Calibration Reference Standards Load amp Store Data VNA Hardware Choose Trace Colours Transverters Network Settings Switch and Attenuators Debug Controls Autoscale Markers Frequency 10 675000 10 675050 10 675100 10 675150 10 675200 10 675250 10 675300 10 675350 10 675400 10 675450 10 675500 10 675550 10 675600 10 675650 10 675700 10 675750 10 675800 10 675850 10 675900 10 675950 10 676000 10 676050 10 676100 10 676150 10 676200 10 676250 10 676300 10 676350 10 676400 10 676450 10 676500 10 676550 10 676600 10 676650 10 676700 10 676750 10 676800 Centre 10 700000 MHz Span 0 0501 Rhoj lt Rho Copy All Columns to Clipboard Copy Freq Column to Clipboard Copy Rho Column to Clipboard Copy lt Rho Column to Clipboard Page 151 of 181 Common Configurations Annex A Common Configurations Can t get a trace on the screen Check the settings Here are a simple set to get you going Instrument mode Reflection or transmission mode is suggested initially Untick Perform Reverse Scan Untick Use RF IV mode Untick Use Reference Mode Untick Always Do Dual Scan Untic
185. n Section 33 on page 38 For the parallel port the address is the one used for I O the port name is used simply to reserve the port and try to stop other programs from accessing it Note that if you want an address different to that in the drop down list just type in your desired address The program enforces basic limits on the address but does not otherwise check its correctness If however you select a non standard address it will ask you to confirm it If you enter a silly value and confirm it the program will try to use it If that happens to be some other I O device then you are liable to crash your computer Take care You have a choice of parallel drivers to choose from Start with InpOut32 This is the slower option Use it initially and once you are certain all works correctly try WinIO It should be faster Remember that under Vista you must have local admin rights if WinlO is used The Custom interface uses a defined API from a custom DLL and by this provides a means to access other hardware VNA designs provided that a suitable interface DLL is created Now change the other parameters as needed Change VNA Parameter Please enter the value For the delay before each ADC conversion in Usec Current setting is 2000 Minimum 0 Maximum 200000 cancel myVNA v0 93 Page 15 of 181 Tutorial Choose CDS Harmonic mode When you click on a control with a value associated with it such as the ADC step delay
186. n reverse scan but remember this needs setting correctly if you use an S parameter test set Tick Power down DDS when idle Choose Trace Colours Choose suitable colours not white Transverters myVNA v0 93 Page 153 of 181 Common Configurations e Tick none Network Settings e Nothing to set in this version Switches and Attenuators e Select the configuration dialog and ensure all switches are enabled you may have to temporarily select the USB interface from Hardware to see switch e Ensure that for reverse scans neither switch is ticked in the treeview e Ensure that the Set Attenuator Automatically option is not ticked From the View menu select Options and set the following e DDS Clock Frequency Limits Min 10 max 10000 e Base VNA frequency limits to O min and 10000 max e Transverter Frequency Limits 1 min and 10000 max e Calibration standard limits 500 Rld and 10 the rest e Untick all the Change LeftView Controls boxes apart from Hide Debug Controls which should be ticked If any changes were made here exit the program and restart it to display the missing controls Tick the option Use Curve fitting for Calibration Data Interpolation Untick the option Use Log f if curve fitting log calibration data Tick the option Set DDS to scan start freq when waiting for calibration Tick Permit frequency drag rescale whilst scanning Set Displ
187. n scan so for example with the above data set and without rescanning switching to reflection mode and autoscaling gives this myVNA v0 93 Page 68 of 181 Dual Detector Scan Crystal Motional Parameters A Untitled myVNA File Edit View Help amp a Start Scan Single Scan Calibrate Autoscale Markers Centre 14 319000 mH Span 0 005000 mHz v Centre span v Steps 2000 R Instrument Mode N Display Sets Rs amp s Rp Xp Zs lt Zs Mkr 1 557 109 14 319392 MHz Zp lt Zp Mkr 2 357 677 14 319473 MHz YSWR Mkr 3 50 275 14 319093 MHz RL Mkr 4 76 184 14 319392 MHz Rho lt Rho Mkr 1 3 506 833 0 000300 MHz Q Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp IY lt Smith Chart Display Left Display Right C Display Options O Calibration O Reference Standards O Load amp Store Data Le YNA Hardware Choose Trace Colours Transverters Network Settings 54 93 412 64 14 316500 14 319000 MHz 14 321500 For Help press F1 4 882 secs CDS mode NUM And changing to VSWR gives this i Untitled myVNA File Edit View Help z aS Start Scan Single Scan Calibrate Autoscale Markers Centre 14 319000 MHz Span 0 005000 mHz v Centre Span Steps 2000 R Instrument Mode Rs amp s Rp Xp Zs lt Zs Mkr 1 190 938 14 321498 MHz Zp lt Zp Mkr 3 50 061 14 320043 MHz L YSWR Mkr 4 6 27 7e 066 14 321498 MHz RL Mikr 1 3 140 8
188. nd end of the scan will give rubbish results Now look again at the Marker Measurements dialog box Underneath the controls for each of the markers are two other options One causes the marker measurements to be shown overlaid on the main trace display the other causes the marker measurements to be included on the printout For these functions to work you must keep the marker measurements window open but it can be minimised to the taskbar a myVNA S Parameters mode a A p e I ES Close Configure Copy MaMi2istLiatisticlivtis Lis J Show on trace display J Show on printout File Edit View Help Dae s Se S 2 7 mS L RI FM I X X EL Pa RI Be Start Scan Single Scan Gae Autoscale Markers Start 1 000000 maz v Stop 60 000000 mHz Start Stop v steps 1000 Ava Q Instrument Mode a J Display Sets F Mkr 1 8 840 30 500000 MHz 7 Display Left Mkr 2 30 334 34 335000 MHz W Display Right 0 00 Trace Calculation C gt Display Options 11 dB C Print Options Calibration 5 00 D Reference Standards dB O Load amp Store Data Div C VNA Hardware g Choose Trace Colours 34 335000 Rs 728826 195 393517 S11 dB 8 840127 0 277134 G dB 1 406416 30 334209 b 21 dB 20 00 dB i Div Frequency MHz 30 500000 34 335000 Rs 26 728826 195 393517 11 dB 8 840127 0 277134 G dB 1 406416 30 334209 Graticule Trace1 Trace 2 Trac
189. nge the registry key Custom VNA DLL name located in the Setup key under myVNA using the registry editor By all means replace the code with your own but do not change anything in Custom VNAinterface h other than the class CustomVNAhw which is used internally by the DLL and is not visible to the main program The current version is as shown below myVNA will call CustomVNAhwInit before calling any other function and will call CustomVNAhwFree before closing down For all called functions other than init myVNA will pass to the called function the pointer returned by the init function This provides a simple way for the custom VNA handler to manage its own internal class For the definition of each function see the sample code itself CustomVNAinterftaceDLL h this file includes definitions for the custom VNA interface DLL it must match the one used by myVNA so don t change definitions pragma once do not change these definitions they relate to the interpretation of return values by myVNA error flags used in USB and TCPIP comms ADC Read flags define define define define define define also explicitly returned from CheckVNAReady and RescanForVNA VNAHW NONETCONNECT 1 lt lt 10 ADC SAME 1 lt lt 9 ADC _OVERRANGE 1 lt lt 8 ADC READ TIMEOUT 1 lt lt 7 VNA NO POWER 1 lt lt 6 ADC START FLAG 1 lt lt 4 define ADC NOT RESPONDING 1 lt lt 3 define ADC DATA READY
190. nic mode to continue with 5 or 10 term Under Hardware is an option Swap detectors in reverse scan This should be ticked if the function of the detectors reverses for reverse scans Only tick it if this is the case Get it wrong and the results will be weird A T check is a good idea when commissioning a system Perform a calibration 5 6 10 or 12 term it does not matter then connect a 50 ohm load to a T piece in series with a through connection The result should be an S11 and S21 measurement that are flat to within about 0 1dB across the frequency range So far there is one limitation not addressed The reflection data display things like Rs jXs only worked for Port 1 There is an option under Instrument Mode that allows the port that is used for the reflection data display to be changed from port 1 to port 2 myVNA v0 93 Page 76 of 181 Harmonic modes and CDS Crystal Motional Parameters 14 Harmonic modes and CDS Paul Kiciak and Wayne Torrey have developed a method for managing harmonics in the N2PK This may be used in two ways 1 To suppress harmonics that cause strange effects at high frequencies 2 To extract a harmonic 2 3 4 or 5 to extend the frequency range This version includes an experimental implementation of the algorithm courtesy of Paul This chapter presents details on its operation Use it with care and ONLY if you understand how to use it For this refer to Paul s notes on the
191. notes from the Print Notes dialog will be added to the image copied to the clipboard This function does not apply to the equivalent circuits display yet If the type is Equivalent Circuit the controls shown on the screen are omitted from both the printed or clipboard images and the schematic is displayed in their place If however the current display is the report view then the data is placed on the clipboard in both CSV and Text formats This means that you may paste directly into for example excel If you do this as a simple paste though it will be pasted as text with each row of comma separated data appearing as text in a single cell not very useful Excel though has two paste functions Paste and Paste Special If you use paste special either from the Excel Edit menu or by right clicking in the display and selecting Paste Special you will also be presented with an option to paste CSV data Do this and it will be pasted correctly Within myVNA in Report view when you click the copy button two different types of copy may occur If no rows of the display are selected all current data is placed on the clipboard If however one or more rows are selected for example by clicking on one or more of the rows in the frequency column then only those selected rows are copied to the clipboard You may select a block of data by clicking on the first row holding Shift down and selected another row or you may select individua
192. ns at this point myVNA v0 93 Page 20 of 181 Tutorial Performing your first scan F Reflection mode myVNA File Edit view Help al amp R Start Scan Single Scan Calibrate Autoscale Markers Start 1 000000 mHz Stop 60 o00000 MHz Start Stop Steps 1000 Instrument Mode Display Sets J Display Left J Display Right Oo Display Options gt Load Calibration Data gt Reload Current Calibration Data Save Calibration Data 45 00 LJ Calibration Data Summary Degrees Clear calibration Data Div Relax harmonic mode checking J Use Separate Isolation Avg Isolation Average 5 Unguided Calibration Log Calibration Scan JS Response and OSL Calibration 5 Term Calibration 6 Term Calibration 10 Term Calibration 12 Term Calibration gt Reference Standards gt Load amp Store Data e YNA Hardware Choose Trace Colours oO Transverters Network Settings Switch and Attenuators 0 00 180 00 1 000000 30 500000 60 000000 1 643 secs CDS mode The form in which calibration data is stored is in its raw format without calibration standard offsets applied This is to allow steps in the calibration process to be repeated When it is used it is corrected This also applies to when it is loaded from disk Therefore if you change the calibration data standard settings then reload calibration data it will be corrected for those new settings Finally on calibr
193. nthesize Network Network Type High Pass L match series L Nudge 10 7 MHz Sensitivity Frequency Q High Input Match Output Match 50 En 900 aif R Tf Ohms R Tal Ohms Series Reactance Series Reactance Reactance Reactance None C None Inductive Inductive Update x Capacitive e Capacitive C x ohms C x ohms Select the Network type and enter the matching circuit input output impedances Click OK You are free to choose whichever type of matching network you prefer By way of an example the first network used here is a simple high pass L match Select the location of the ITT Filter DUT s2p S parameter data it can be either scanned or stored data For this example the ITT Filter s2p S parameters are in Store 1 If you don t have an s2p S parameter filter file load the example 10 7MHz Sample Filter s2p file into Store 1 This file may be found in the installation directory of myVNA Depending on the program configuration when you load the myVNA v0 93 Page 121 of 181 Network Simulation Filter matching example file the scan parameters may be automatically set to match that of the data loaded if not set the centre frequency to 10 7 MHz and the span to 30 kHz Select Network Simulation for the output matching circuit for port 2 of the Filter DUT Note the matching circuit component values will only be shown after the next step Synthesize Network Click the Synthes
194. o 50 00 Set Lld to 0 15 Set Rsh to 0 00 Set Lsh to 0 00 Set Q LLC to 3000 Set Q Freq MHz to 1 00 Set C LLC pF to 300 Tick Fixed Q Tick Save stds data in cal files Tick Load stds data with Cal files 1f present Load amp Store Data Tick Set scan to file data on load VNA Hardware Under hardware type select the hardware N2PK VNA or MSA Under Configure the hardware for N2PK o If using single detector VNA set both ADCs to 1 otherwise the usual configuration is ADC1 for Reflection and ADC2 for transmission o If using dual detector set the ADCs according to you configuration o Set clock to 148 343 initially set it for your hardware later o Set Minimum frequency to 0 06 MHz o Set Maximum frequency to 60 MHz Under Configure the hardware for MSA there is no simple default you need to work it out Sorry Set ADC step delay to 1000 Set Sweep Start Delay to 5000 Set Phase change Delay to 100 Set ADC Speed to 10 for an N2PK VNA with 2440 ADCs or 1 fora VNA with 2410s Set System reference to 50 00 From hardware interface choose either USB or Parallel choose InpOut32 initially and check if using parallel that the port name and base address are correct Set the parallel port ADC timeout to 500 msec From Choose CDS Harmonic mode set Harmonic Suppression Mode and Fundamental and 4 samples Tick Load DDS during ADC Untick Swap detectors o
195. o do a complete scan and sort the display out If this is not to your liking there is an option to disable dragging of the frequency scale whilst scanning see the section Program Limits and other options a few pages on from here 4 7 4 Markers and Marker Arithmetic Make a display with some peaks and dips on it such as the one shown A Untitled myVNA File Edit View Help S Start Scan Single Scan Calibrate Autoscale Markers Centre 14 319000 mHz Span o oosoo0 mHz centre span Steps 2000 Instrument Mode Display Sets S Rs Xs Rp Xp Zs lt Zs 2p lt Zp VSWR RL Rho lt Rho Q Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp IY lt Smith Chart J Display Left Display Right gt Display Options Calibration Transver ters Network Settings 56 25 416 32 14 316500 14 319000 MHz 14 321500 For Help press F1 4 882 secs CDS mode NUM Now click the Markers button You get a display like this myVNA v0 93 Page 26 of 181 Tutorial Performing your first scan Parameter Value j Freq Time Defaut oo f 6778520 Deft 0 000000 Markeri 62774385622041 Deft 0 000000 Markeri 62774385622041 Maximum Deft 0 000000 markeri 62774385622041 Tracking Maximum Default gt 0 000000 Marker 1 6277438562041 Deft 0 000000 marker 1 627438562204
196. oard is supported If one or more rows are highlighted click on the frequency then only the rows selected will be copied to the clipboard If none are selected the whole data set is available in text form on the clipboard Via a right click popup menu it is possible also to specify a single column or selection from a column If time is displayed in report view the time data will be displayed as requested but not the time axis This is because the program would need to display separate axes for each of the available data source time windows making the data confusing If you use a report view TDR display the axis for each value will be the time window for the corresponding data source not the display window One limitation it will get confused if you have a store and a scan displayed in the report view at the same time with different limits frequencies points log lin myVNA v0 93 Page 60 of 181 Report View Zooming myVNA v0 93 Page 61 of 181 Equivalent Circuits Zooming 10 Equivalent Circuits Data may be displayed in four formats e Rectangular plots all traces so far in this manual e Smith and Polar charts e Report Listing view e Equivalent circuit view This chapter covers the Equivalent Circuit view There is an Equivalent Circuits function on the Display Options screen It works in a similar manner to the tabular view you may switch between it and the other views Select it and the display changes
197. oduct key comprises letters A Z and numbers 2 9 The numbers 0 and 1 and the letters L and O are not used The program will indicate simple typographical errors if they are detected but the key will not be cryptographically validated until you set the key and exit from the dialog When an apparently valid key is entered the Set Change Product Key button will be enabled Click it then click on Exit The next time you open the dialog box it will indicate the status of the product key where it says The product has been successfully activated already in the above example Depending on the product key it may also be necessary to Activate the program If so then the number of days until it must be activated will be shown in the dialog as above At the moment automatic activation 1s not available it must be done by email so don t leave it until the last minute 3 3 Product Activation If needed you will normally have up to 30 days to activate the product 60 days for commercial licenses Automatic online activation is not currently available so manual activation must be used myVNA v0 93 Page 8 of 181 Start Here Product Activation From the Help menu there are options to enter or change the product key or activate the product The Activate option opens a dialog as follows Offline Product Activation Activaton Data AZUNPDAEN 2 73JWKQ SEIU E FYN 7XFUGOKM Online activation is not yet available
198. of a rectangular display In all polar modes the Display Left and Display Right lists are empty the display options are shown under Display Sets for all polar modes When the selected mode is a reflection S11 or S22 parameter a Smith chart is displayed In transmission modes a polar display is shown The polar display may be either a log or a linear radial scale Clockwise around the display is the angle in degrees Limited rescaling is available and only in the polar modes P Untitled myVNA File Edit view Help al amp R Start Scan Single Scan Calibrate Autoscale Markers Centre 14 319000 mHz Span o oosoo0 MHz Centre span Steps 2000 Instrument Mode EN Display Sets Rs Xs Rp Xp Zs lt Zs Zp lt Zp VSWR RL Rho lt Rho Q Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp v lt JS Smith Chart A Display Left Display Right Q Display Options Transverters Network Settings Markers also function in Smith Chart mode When switched to Smith Chart left trace refers to modulus of the signal and right refers to phase Functions such as seeking for a crossing point max or min will function but note that the values used are IRhol and lt Rho not normalised impedances Compared to the rectangular plots of the other options dragging in polar mode is different Position the mouse near the manual cursor don t forget right cli
199. ogram will not stop you subtracting say degrees from ohms It is up to you as to whether the units make sense Also note that if the value of a marker is computed as being over 1e9 the marker will not display Note that all the images shown in this manual apart from the next one are on a 1660x1050 pixel widescreen display Here is an example of a display on a 1024x768 monitor myVNA v0 93 Page 28 of 181 Tutorial Performing your first scan i Untitled myVNA SEE File Edit View Help Dw amp 2 R Start Scan f Calbrate Autoscale Markers Centre 14 318000 mHz Span 20 000 kHz Centre span Steps 200 R Instrument Mode Display Types HC Display Options Calibration O Reference Standards Mkr 1 392 85 14 319400 MHz i gt Load amp Store Data Mkr 2 306 76 14 319500 MHz NO VNA Hardware Mkr 3 1 03 14 317100 MHz Transmission uses ADC 1 Mkr 4 52 68 14 315700 MHz Reflection uses ADC 1 Ohms Mkr 1 3 391 82 0 002300 MHz ADC Step Delay us 1000 Sweep Start Delay us 10000 ADC Speed 10 Clock Hz 148343724 00 Hardware Interface Choose Trace Colours 39 64 352 24 14 308000 14 318000 MHz 14 328000 For Help press F1 NUM Now go back to the markers dialog and change one of the markers to Manual Set its frequency to be somewhere in your scan note the frequency may be selected to be in Hz KHz or MHz Close the dialog That marker is no longer a track
200. omain to tune variable coupling BPFs There is a tick box at the bottom left of the dialog box labelled Show Round Trip Times Program builds prior to version 90 displayed the time as double the actual time of propagation along a transmission time This is misleading and it has been changed in build 90 For backwards compatibility 1f this is needed tick this box to display data in the previous form however expect distance measurements to be double and incorrect in this case Below is a worked example of filter tuning using time domain mode kindly furnished by Roderick Wall VK3YC 23 1 Using Time Domain to tune variable coupling BPFs A Template is required to tune variable coupling filters The Template can be generated from a Gold Standard Engineering filter or simulated in software This example uses Jim Tonne s Elsie Filter design software to design a BPF and to generate an s2p Touchstone s parameter file The s parameter file is loaded into a store in myVNA to be used as a Template to tune the filter The example 40 metre variable coupling BPF circuit is shown below Trim capacitors were used for the coupling capacitors Adjustable inductors were used for the inductors 1 2 3 4 5 1uH 1uH ji 122 037pF 34 4129pF 122 037 pF 347 562pF 347 562pF 8 537M 8 537M Use Elsie to design the filter Set Inductor Capacitor Q values to suitable values Set the centre frequency to 7 15MHz frequency span to 2MHz and sweep steps to 500 The
201. onics is 4 or 5 sample settings 4 and 8 are not available example to select harmonic mode 3 with 16 samples data 0 should be set to 0x00100301 it is acceptable to issue the command with just one integer and change the CDS mode without updating the rest data 1 flags bit 0 if set load DDS during ADC setting bit 1 if set swap detectors on reverse scan bit 2 if set power down DDS when idle it is permitted to set the CDS mode and flags without changing system reference by passing just 2 integers data 2 system reference milli ohms must be gt 0 define GETSETHARDWAREOPTIONS 6 case 7 set or get marker configuration note there are other functions to get the marker value frequency and marker arithmetic and other settings nIindex set to the marker number 0 NUM MARKERS 1 function will use data 0 to determine which marker and will fill in results in array data 0 source information myVNA v0 93 Page 165 of 181 Automation interface example contents data l mode information data 2 target data 3 link data 4 display flag the meaning of the above is as follows ei Source is as follows results if set to invalid settings are undefined for example do not set more than 1 of bits 1 3 do not set bits 8 11 out of range do not set bits 16 23 to invalid value 0 66 are valid at moment bit 0 O gt left 1 gt right jf bit Ls
202. ons per second Note that when in continuous scan mode there is on a typical PC a 4 5 ms delay between each sweep as the PS updates the display and starts a new scan Parallel Port The parallel port is slower than USB primarily because inpout32 dll imposes a speed limit WinIO may provide higher performance Both sets of figures are given Here is a zero delay single ADC conversion using InpOut32 zooming in on a complete ADC cycle indicating that the delay for ADC result reading is just over 300 usec giving an ADC cycle rate of just over 1600 points per second With WinIO the ADC reading drops to 110 usec giving over 2000 points per second The following trace is InpOut32 which is an Athlon 64 X2 3800 running 32 bit XP home edition for all the values given in this section of the manual myVNA v0 93 Page 173 of 181 How fast will it scan mmm Finally if you select not to overlap ADC conversion and DDS update the scan slows down some more adding another 260 usec delay giving an ADC rate of 1100 conversions per second with InpOut32 With WinIO the overall rate is 500 us or about 2000 points per second on a typical PC Ml Lo Tn myVNA v0 93 Page 174 of 181 Configuring the USB hardware Annex G Configuring the USB hardware This in an updated extract of the document configuring USB adapter and installing drivers v2 0 the full version of which may be found in the USB folder of the program installation dir
203. oo cluttered otherwise If however more than 8 are shown at once the colour will wrap around and the 9 trace will use the same pen colour as the 1 35 3 11 Transverters Treeview Node The entries in this node vary according to the transverters defined The first entry opens a dialog box to configure transverters Each once may be given a name and each named configured transverter is then shown in the list Only one may be selected at a time the default is none 35 3 12 Network Settings Treeview Node There is a simple interface provided that permits a VNA connected to one PC to be used from another PC There are two entries in this node e Configure remote access e Accept remote access The first is used on a client PC to tell it how to communicate with another PC that is also running myVNA in server mode The second entry tells an instance that it is a server and may accept incoming connections To configure remote access the only entry currently needed is the port number The IP address is specified using the TCP IP hardware interface option 35 3 13 Switches and Attenuators Treeview Node This node it used to configure the switches and attenuators The first entry opens a configuration dialog box that provides the following e It permits selection of a specific attenuator setting to be used for forward and separately for reverse scans e Jt permits attenuator selection nodes to be labelled or hidden These labels then a
204. oose Trace Colours iO Transverters EJ Network Settings Switch and Attenuators 70 00 160 00 10 685262 10 700000 10 714738 2 142 secs CDS mode NUM The display above shows the raw store data and the simulation results The store display may be turned off it is still used in the simulation and the display then shows just the simulation i S Parameters mode myVNA File Edit View Help fe amp amp Start Scan Single Scan Calibrate Autoscale Markers Centre 10 700000 mHz v Span 0 029476 MHz Centre 5pan Steps 1000 Instrument Mode Display Sets Display Left gt Display Right 10 00 hig Trace Calculation Calibration 11 dB 21 dB Reference Standards LW Save Scan to Store 1 Save Scan to Store 2 LW Save Scan to Store 3 Ll Save Scan to Store 4 Ll Save Scan to File Ll Save Simulation to Store 1 Ll Save Simulation to Store 2 Ll Save Simulation to Store 3 LH Save Simulation to Store 4 LW Save Simulation to File gt Load file to Store 1 gt Load file to Store 2 gt Load file to Store 3 gt Load file to Store 4 Display Store 1 A Display Store 2 Display Store 3 Display Store 4 P Set extended filesave types 3 Set Touchstone File Options E YNA Hardware Choose Trace Colours Network Settings Switch and Attenuators 70 00 160 00 10 685262 10 700000 10 714738 2 142 secs C
205. or but this means a fast method of switching is needed and the process will take twice as long Both options are supported by the software Under Hardware is an option to configure the RF IV mode of operation Selecting it will open the following dialog RFIV Mode Configuration Determine 40 C Configuration f Adel is used For Wandi C Ade ADC 2 is used to measure Through Switch setting whilst reading w Switch Line Goes lo High Note The switch setting shown above bypasses the switch inversion logic of the switch setting dialog Cancel The setup screen permits choice of which ADC s are used for V and I This also determines which ADC 1s used for the through measurement The software functions almost identically to Reference Mode the difference being that the through signal is not divided by R To enable the RFIV mode select Use RF IV mode under Instrument Mode When this is selected the scan mode changes to Reflection and the calibration mode to Response Calibration You will need to perform a specific calibration process with the RF IV hardware and this may be saved as a calibration data file The program will store along with the calibration data a flag indicating whether the calibration data is RFIV or not and will not allow you to mix them When the program Starts and it loads its last set of calibration data 1f it finds that that data is RFIV mode data it will automaticall
206. ore an ADC reading is started The second is the corresponding delay when the DDSs are set back to the sweep start frequency for a new sweep The final delay is the one introduced when the LO DDS phase is changed before a reading is made Whilst software latency can introduce extra delays it should never be faster than the delay entered and for USB interfaces will be fairly accurate as he delay is managed automatically by the USB interface controller itself ADC Speed is the DDS conversion time speed control It refers to the ADC mode of the LTC2440 ADC chip but it is easier to think of this as speed control with 1 the slowest and 10 the fastest ADC noise is lower for the slower speeds The next two entries concern the system reference impedance Usually 50 ohms it may be set as desired and when calibration is performed it is stored with the calibration data The second node when ticked causes ZO to be set from the value read in from the calibration data The hardware interface follows clicking on this node opens the hardware interface dialog Details may be found in Section 4 3 Next comes Choose CDS Harmonic mode This is a digital filter created by Kiciak and Torrey that may be used to implement a range of filtering options The simplest is Correlated Digital Sampling CDS but higher order filters may also be used and it may also be used to select a harmonic of the DDS frequency extending an N2PK from 60 MHz to 300MHz It
207. ormer appears more compatible the latter faster If WinIO works use it otherwise try inpout32 WinIO will only work under Windows Vista if you have local admin rights to the PC For the N2PK both USB and parallel are supported for the MSA only USB is available The program also supports a Custom VNA interface This allows an interface to be written to other VNA hardware so that it can be controlled by myVNA This is described in Annex E myVNA v0 93 Page 7 of 181 Start Here Product Keys 3 2 Product Keys The first time you run the program it will ask for a product key If you use the program for personal Amateur Radio purposes and not for commercial purposes then product keys are available free from myvna btinternet com and for commercial use the product key will have come with the product information Product Key amp Registration management Please enter here a valid product key This will have been provided with the product documentation Without a valid product key the program will not function To change the key curently in use enter the new key and dick Change Product Key ee eee ee eee Product key valid but needs activation in 25 days To paste in a product key which will look something like this IZY 9G HUBIB 4RU Y6 9REMN 34IHP NE3PY B9BNQ use the Paste button having previously copied the product key into the clipboard Alternatively the key may be entered manually The pr
208. ot need them e Display Sets e Transverters e Network Options e Switch and Attenuator controls Finally the options shown under left right and display sets normally changes dynamically to reflect the scan mode there is little point usually in displaying transmission gain options if a reflection scan is performed however there are myVNA v0 93 Page 137 of 181 Command Reference Treeview controls occasions when it is very useful There is also the option to display all types regardless of the mode 35 3 1 Instrument Mode Treeview Node The Instrument Mode treeview node controls the main characteristics of a scan The Instrument mode treeview control takes one of two forms depending on whether the hardware type is set to MSA or N2PK The MSA set is a reduced set but includes spectrum analyser as a mode Below are shown both options the N2PK on the left the descriptions refer to the N2PK case w Instrument Mode cof Reflection 2 vote Transmission sit Dual Detector Trans Refl sy 5 Parameters ss Signal Generator sie Test Hardware O se Vector Voltmeter a Always do dual scan hen Perform reverse scan PM Instrument Mode 2 Use RF IV mode J Reflection fee Use Reference Mode bt Transmission ve Logarithmic Scan Spectrum Analyser Z Reflection data port 1 va Signal Generator ve Trace Averages 1 z Vector Voltmeter fe Export configuration Logarithmic Scan E Import configuration
209. p RY Start Scan single scan Calibrate Autoscale Markers Centre 8 000402 mHz v Span 0 000537 MHz Centre Span v Steps 20 Instrument Mode A g A Display Sets Select Device Type Display Left Crystal Parameters X Display Right Trace Calculation Select Model Display Options 45 Degree Phase JS Graticule JS Scan Progress Bar Select Data Source vA Autoscale on Display Change Current Scan Data J Snap to 125 on Autoscale S Snap to 125 JS dudio Cues fiz w Force display for Log axes Report View JS Equivalent Circuits Auto Refine Eq Cct WA Invert RL display v Display Info Tips Vertical Divisions 8 Horizontal Divisions 10 JS Label Freq Gridlines Label vert Gridlines Zero phase 8 00040059 MHz Fs 45 degrees 8 00043041 MHz Print Pen Width 5 Fs 45 degrees 8 00037045 MHz Disp i Rm 8 477479 ohms splay Pen Width 2 i Print Notes Dialog Lm 22 502229 mH J amp dd Print Notes to Clipboard Cm 0 017587 pF JS Label Markers in Printouts Q 133429 06 Smith Polar view Edit Trace Labels Calibration Reference Standards Load amp Store Data For Help press F1 4 487 secs CDS mode The program operates in both transmission and reflection modes note that as explained in Jack s memo you need to be aware of the jig s capacitance Results in reflection mode seem more accurate for reasons not immediately apparent To log results
210. page 7 myVNA is a Windows GUI for the N2PK VNA myVNA offers the following Reflection Transmission or Dual detector scans S Parameter measurements with 5 6 10 or 12 term correction Automated Crystal Equivalent Circuit measurement Full transverter support Ability to load amp store traces in multiple file formats Full set of display modes including Smith Charts and Polar displays Signal and sweep generator mode Integrated support for parallel and USB connection Runs under W98 ME W2000 XP Vista Windows 7 amp 8 Basic CDS Harmonic Suppression and 2 3 4 5 harmonic modes Manual and automatic tracking markers with marker arithmetic Scans of up to 50 000 points per scan Averaging of trace sequences or averaging up to 10 000 readings per point Print amp Windows clipboard copy support Switch and attenuator functions with manual or automated switching for S parameter test set Test mode for I O lines in parallel or USB mode RF IV amp Reference Modes Logarithmic or linear scans and displays Drag amp drop file import Network Client Server for remote operation Vector Voltmeter VVM On screen cursors may be displayed in rectangular displays Arbitrary equation editor allows user defined functions to be created Basic network simulation TDR mode An Automation OLE interface A custom hardware interface for control of other VNA hardware myVNA v0 93 Page 2 of 181 2 Acknowledgements There are many peopl
211. per division on the display e Start per step same as Centre per step but the first box 1s the start not the centre frequency e Start per division same as Centre per division but the first box is the start not the centre frequency 35 2 6 MSA Path toolbar m 0 000000 MHZ VEW Wide Fath Path 1 15 000kHz The final toolbar is only present in MSA hardware mode It controls the Path or filter settings frequency offsets for the filter and the video bandwidth setting 35 3 Treeview controls The treeview on the left provides quick access to detailed settings Many of the more common controls are also available on the controls toolbar or popup menus The treeview contains the following main settings Instrument Mode Al Display Sets Al Display Lett m Display Left Calc Time a Display Right Display Right Calc Time Trace Calculation Display Options Print Options gt Calibration Reference Standards gt Load amp Store Data Dt VNA Hardware p Choose Trace Colours P Transverters H Network Settings h Switch and Attenuators Debug Controls Whenever a treeview node is opened any previously open node is closed in order to keep the display manageable Not all of the controls may be visible The Debug controls are normally hidden they may be displayed by unticking the hide debug controls options setting In addition options dialog permits the following to be hidden if you do n
212. play Sets Display Left Display Right x Trac Calculation Mikr 1 16 771161 20 824000 MHz ed Display Options Mkr 3 27 262672 33 981000 MHz Calibration Reference Standards c Save Scan to Store 1 Save Scan to Store 2 Save Scan to Store 3 Save Scan to Store Save Simulation to Store LW Save Scan to File LW Save Simulation to File IL Save Store to File gt Load File to Store Y Display Store 1 Display Store 2 Display Store 3 Display Store 4 e Set extended filesave types F Set Touchstone File Options JS Set Scan to File data on load Set scan to stored trace VNA Hardware Choose Trace Colours Transverters Ed Network Settings Switch and Attenuators 160 00 6 900 12 800 18 700 24 600 30 500 36 400 42 300 48 200 54 100 60 000 5 900 MHz div Cursor Freq 39 674472 MHz Left 29 2857 dB Right 117 143 dB 6 691 secs CDS mode Note that the colours have changed as the stored data is written after the scan data and for now 1s identical You can choose different colours with the leftview controls Now once you have a set of data from a scan such as that shown above you can change the way that it displayed without rescanning using the display types control Try selecting something else and if needed autoscale You may save data into any combination of the 4 stores and display any combination of them at the same time myVNA v0 93 Page
213. ppear or not in the main Switches and Attenuators Treeview node e Jt permits the output attenuator control lines to be inverted Normally for example setting 1 has a binary output of 001 but when inverted this appears as 110 e Switches may be defined labelled and either displayed or hidden The hardware and interface selections made will determine which of these entries are visible or changeable Be careful in one regard if you configure settings on one interface USB then switch to parallel the other settings will still exist and be active but will be hidden myVNA v0 93 Page 148 of 181 Command Reference Treeview controls F Transverters Network Settings C Configure Settings se Va Attenuator 0 sen Attenuator 1 se Attenuator 2 see Attenuator 3 see Attenuator 4 see Attenuator 5 see Attenuator 6 se Attenuator 7 ssn Enable Switch 0 in reverse scan 2 a Enable Switch 1 in reverse scan Eh Set Attenuator automatically Invert Switch 0 during scan Invert Switch 1 during scan After the Configure Settings node the next set of entries are the attenuators that are configured to be displayed with their names Attenuator 0 1 2 3 4 5 6 7 are the default labels given by the program The final 5 entries shown above control automatic switch operation A switch may be set to change state during a reverse scan this 1s used to alter the settings of an S parameter test se
214. present Note also that a search on the Internet for DisableWarmPoll will solicit many similar postings this is not a unique problem However guidance seems to vary Some say to put the entry into ControlSet0001 some into a key Parameters within that location I have found that if you do this the entry will be erased on startup To re enable the warm polling set the value to 0 To do this automatically create a couple of text files called EnableWarmPoll reg and DisableWarmPoll reg with settings of 0 and 1 respectively The contents of the files would be as shown below Note that for myVNA files like this will be myVNA v0 93 Page 156 of 181 Glitches when using the parallel port automatically installed in the program installation directory under a sub directory called Parallel Port Configuration For DisableWarmPoll reg Windows Registry Editor Version 5 00 HKEY LOCAL MACHINE SYSTEM CurrentControlSet Services Parport parameters DisableWarmPoll dword 00000001 And for EnableWarmPoll reg Windows Registry Editor Version 5 00 HKEY LOCAL MACHINE SYSTEM CurrentControlSet Services Parport parameters DisableWarmPoll dword 00000000 Double click on the appropriate file Two confirmation dialogs will be displayed one to check you want to modify the registry and one to confirm the change If you find this does not work or that the key needs to be elsewhere to work on your system
215. r covers e Saving trace or simulation data to file Loading trace data from file Autosaving amp loading data when exiting ad restarting the program Exporting and importing the program configuration Printing Copying to the clipboard Dragging and dropping files from Windows Explorer 6 1 Saving Data to and loading data from Disk Data may be saved to disk using the Save to File options of Load amp Store Data The data that is saved may be the current scan data one of the data stores or the current simulation data There are four versions of file format supported for saving data and two for loading The default option saves data in raw measurement form suitable for reloading into myVNA The VNA4win file format is similar to that used by VNA4win and allows saved data to be imported into Zplots for further analysis The next format is an extended CSV format and the final one the industry standard touchstone file format The file format to be used when saving data is selected by the Save as Type drop down list Save in v4 cal data 7 5 c FA exh l2scanl csv Bh scan2 cs amp Gh 12scanl ext csv Escan extended csy My Recent Bh 12scan2 cs BL scan3 csv Documents EN 12scan2 ext csv BL scan4 extended cs 2 E paul t check 1 60 in myvna format csv BL scan4 cs BL paul t check 1 60 second scan in myvna format cs BL scan extended csv BL paul t check 1 60 third scan in myvna Format csy BL scan5 cs
216. rations are frequently used The file that is saved and loaded is a text file with human readable values but note that the program expects specific defined values and formats do not expect it to interpret any setting you may care to make in another format to the one expected TDR Mode Only is used when using TDR mode as a means to suppress the display of frequency domain traces leaving just time domain information Finally Apply RF DDS scan freq offset 1s an experimental mode that adds a fixed frequency offset to the RD DDS frequency setting The frequency offset is defined in the hardware settings 35 3 2 Display Treeview Nodes There are five treeview nodes that change the parameters displayed e Display Sets Display Left Display Left Calc Time Display Right Display Right Calc Time All work in the same fashion When opened each shows a list of parameters for example as shown here three are shown side by side the left and right options are identical myVNA v0 93 Page 139 of 181 Command Reference Instrument Mode 511 dB 521 dB 2 522 dB 12 dB z 11 dB lt 511 z 521 dB lt 21 522 dB lt S22 2 512 dB lt 12 511 511 2 521 lt 21 522 lt 522 bi 512 lt 12 sess 11 Real Imag 522 Real Imag 521 Real Imag z 12 Real Imag T Check n Display Left o Display Left Calc Time n Display Right Display Right Calc
217. rdware types such as for the N2PK and the MSA An alternative to multiple configurations is to export amp import the configuration using the options under Instrument Mode myVNA v0 93 Page 125 of 181 Multiple USB connected VNAs Simulation Limitations 31 Multiple USB connected VNAs Multiple USB connected VNAs may be controlled at the same time from one PC In general this is not in general recommended unless the scan is slow or the PC is fast as it will probably run slowly Under Hardware Interface is an option to select the USB instance Interface Configuration Selected Interface Parallel Port Configuration haan LPT 1 Port Name C Parallel Ox378 Base Address f Tce Se 500 000 ADC Timeout ms f Custom USB Configuration 0 Instance a TCP IP configuration Parallel driver o D0 0 T Sr PortNumber 49152 f Wino ZE Each time a USB device is recognized which is usually in the sequence they are connected but don t count on it it is allocated an instance ID Instance IDs are not saved amp reloaded when the program starts it makes no sense to do so Start an instance of myVNA for each hardware VNA but note that they will share the same configuration if you do not want this to happen make copies of myVNA exe and give each executable a different name For each instance select an instance from the USB Configuration control a
218. results and as a safeguard the number of entries in tht array OLE equivalents int GetDoubleArrayAutomation LONG nWhat LONG nIndex LONG nSize VARIANT a int SetDoubleArrayAutomation LONG nWhat LONG nIndex LONG nSize VARIANT a _ declspec dllexport int stdcall MyVNAGetDoubleArray int nWhat int nindex int nArraySize double pnResult __declspec dllexport int _stdcall MyVNASetDoubleArray int nWhat int nIndex int nArraySize double pnData a options for MyVNAGetDoubleArray and MyVNASetDoubleArray case 0 get not set frequency data nindex is not used set to 0 returns a set of doubles for scan related frequency data as follows data 0 actual scan frequency start data l actual scan frequency end data 2 scan start for options that use a start frequency data 3 scan end for options that use a start frequency data 4 scan centre for options that use a centre frequency data 5 scan span for options that use a span frequency data 6 scan freg step for options that use a freg step frequency data 7 scan freg division for options that use a freg division frequency data 8 current scan mode an integer as defined above returned as a double define GET SCAN FREQ DATA 0 myVNA v0 93 Page 167 of 181 Automation interface example contents case 1 get or set marker values passes an array of values as follows nindex mark
219. rise a Boolean flag to switch it on or off and a dialog to configure it as shown below Reflection Mode Reference Plane Offset Cable Loss U4 dE m Velocity Factor Cable Length 08 metres Cancel The cable loss does not take account of frequency so this will be approximate When active the reflection mode measurements not transmission or S parameter will be modified Specifically the complex reflection coefficient measured by the VNA is modified by multiplication with the value below sinh 7L cosh yL sinh yZ cosh 7L Where L is cable length in metres and y amp jp _ CableLoss dB m ane Yon topioe me Ae and p ctor A The corrections apply when enabled to stored data as well as to the results of the current scan All reflection measurements not just the reflection coefficient are modified Zs for example myVNA v0 93 Page 87 of 181 RF IV Method Loading saving settings in calibration data 21 RF IV Method The RF IV method uses a specific hardware interface to perform accurate impedance measurements Here measurements of voltage and current are made separately and their ratio used as a measure of impedance RFIV is not available on the parallel interface The implication of this is that measurements of V and I are both needed One way to do this is with a dual detector configuration where one detector is used for each Another and more accurate method is to use a single detect
220. rk Settings Pf ANDRE 0 0 500000 1 00000 H j i Switch and Attenuators By default the trace will be clipped to the edge of the chart If for some reason the trace extends beyond the outer edge it will appear during the scan as a black line but when redrawn at the end of the scan it will be clipped If you want to see the trace beyond the edge then you can untick the option clip polar traces to the chart area in the program options myVNA v0 93 Page 57 of 181 Smith and Polar Charts Zooming P S Parameters mode myVNA File Edit View Help amp Start Scan Single Scan Calibrate Autoscale markers 1 000000 mz v Stop 60 000000 MHz Fromzero Steps 20 Instrument Mode EN Display Sets 511 Real Imag Mikr 1 0 966 34 040000 MHz 522 Real Imag Mikr 2 0 094 29 025000 MHz 521 dB Mkr 1 2 1 061 5 015000 MHz 512 dB 521 linear 512 linear J Display Left J Display Right e Display Options Calibration Reference Standards gt Load amp Store Data Na Hardware Choose Trace Colours oO Transverters Network Settings Switch and Attenuators 4 019 secs CDS mode 8 1 Zooming There is the facility to zoom in to polar and smith charts There are two ways to zoom in and out Firstly from the pop up menu there are three options 1 Zoom in 2 Zoom out 3 Reset
221. rk Settings Ry Switch and Attenuators 60 00 60 00 70 00 70 00 80 00 80 00 6 1500 6 3500 6 5500 6 7500 6 9500 7 1500 7 3500 7 5500 7 7500 7 9500 8 1500 200 0000 kHz div 3 501 secs CDS mode a When TDR Functions is selected the TDR mode is enabled and the horizontal axis displays time as well as frequency Edit View Help DSH t eel mS L R F M I X X EL PR amp tdr 1 H Start Scan Single Scan Calibrate Autoscale Markers Start 6 150000 MHz Stops 150000 MHz Start Stop 7 Steps 2000 Avg 1 Q Instrument Mode 5 Display Sets J Display Left 5 Display Left Calc Time J Display Right Display Right Calc Time 11 dB Q FO 10 00 Fl dB le P i Div 21 dB 10 00 i T Check 20 00 ins x Network Simulation Setup i Show Simulation Data Show Marker Measurements wo TDR configuration wf TDR Functions l x Trace Average Control C Display Options C Print Options Calibration gt Reference Standards lt gt Load amp Store Data C VNA Hardware Choose Trace Colours C Transverters ia Network Settings A Switch and Attenuators 80 00 80 00 6 1500 6 3500 6 5500 6 7500 6 9500 7 1500 7 3500 7 5500 7 7500 7 9500 8 1500 0 5000 200 0000 kHz div 0 3500 us div 3 0000 42 771 secs What the program does is to take a trace either scan or store and
222. rm calibration but it just uses the 5 6 term calibration data Finally selecting the Load mode with cal data will cause the mode to be set automatically with whatever calibration data is loaded 35 3 7 Reference Standards Treeview Node This node provides access to the calibration data settings For information on reference standards please refer to Section 18 Trace Calculation C Display Options E Print Options Calibration LAF Load Reference Data AR Save Reference Data ae Cop pF 0 0400 se Rsh ohms 0 0000 5 Lsh nH 0 0000 5 Rid ohms 50 00 Lid nH 0 1500 S Cld pF 0 2300 LLC Q factor 10000 00 a LLC Q Freq MHz 1 0000 ae LLC Cap for info only pF 300 00 Zes F Save Stds data in Cal files 2 L Load Stds data with Cal Files if present J LLC Fixed Q n3 LLC Q model VacVarCap a LLC Q model ATC100B Ref plane Offset mm 0 Reference Standards data is a set of parameters used during calibration to correct for specific characteristics of reference devices Open Short Load LLC For further information see Section 18 The first two entries in the list permit the complete set of reference standards data to be saved or loaded The file is a text file so can with care be edited The next 6 entries define the errors in the Open Short and Load For the open reference there is just one parameter the capacitance incurrent by fringing For the myVNA v0 93 Page 144 of 181 Command Reference Tre
223. rom Disk e Print The current data that is displayed is sent to the printer via a standard print dialog same as the print icon on the windows toolbar or the keyboard shortcut control p For more information refer to Section 6 2 Printing e Print Preview The current data that is displayed is formatted and displayed as it would be printed given current printer settings For more information refer to Section 6 2 Printing e Print Setup Opens a standard printer setup dialog e Exit As it says exit the program e All other functions on this menu currently have no function myVNA v0 93 Page 132 of 181 Command Reference Main Menu 35 1 2 Main Menu Edit File View Help Undo Cti f L Cut Ctri X i Copy Ctrl C Paste Ctrl V r The only function available from this menu is Copy which copies the current display to the clipboard same as the copy icon from the windows toolbar or the keyboard shortcut control c For more information see Section 6 3 Copy to Clipboard 35 1 3 Main menu View i File Edit Help Toolbar Status Bar Options Secondary Toolbar Display Type Toolbar Full Screen The View menu has three separate functions e Determine which toolbars are displayed e Set the program options e Switch to full screen display mode The toolbar status bar secondary toolbar and display type toolbar may be switched on or off The scan control and span toolbars and the main menu b
224. running for 422 265 measurements without an error What it is doing is to make sure that when the DDSes are reset they faithfully come up in the correct phase synchronisation myVNA v0 93 Page 106 of 181 Vector Voltmeter DDS Reset Test Now a word of warning if the voltage before you tick the DDS Phase Init Test box is NOT above say 300mV or the voltage when ticked is not below about 10mV then STOP there is something wrong Try again and if you still don t get the right values there is probably a serious fault somewhere The second simpler test omits the reset of the DDSes between each test so merely checks to see that the ADC readings are stable Give it a good run You should get to a million without errors It is also a good test of the combination of PC operating system interface and VNA myVNA v0 93 Page 107 of 181 User Defined Display Functions DDS Reset Test 28 User Defined Display Functions User defined functions represent a powerful tool for calculations Scan stored or simulation data may be combined in user defined equations that may then be displayed This chapter describes how it is used There is a Treeview entry on the left called Trace Calculation Open it up and 4 entries are shown labelled initially F1 F2 F3 and T Check Clicking on one of these entries opens up a dialog box as shown below Edit Trace Equation Name For this trace FO Check Eqn Help Equation Re
225. rward and of reverse data are needed If you do not perform a reverse scan but only give it forward data it will still function but the return parameters in the calculations will be set to zero The results are not as accurate as full correction with 10 12 term When a set of S parameter data has been obtained you may switch to the other instrument modes basic dual detector reflection or transmission When the program is scanning it will turn the colour of the progress bar red whenever it is doing a reverse scan as shown below P Untitled myVNA File Edit view Help amp Start Scan Markers 0 060000 mHz gt 60 000000 mH v Full Scan _y Steps 600 Instrument Mode J Display Sets J Display Left J Display Right 5 00 i 20 00 Display Options Mkr 1 13 591 30 030000 MHz Calibration Mkr 2 0 852 30 030000 MHz c Reference Standards 11 RL dB 21 dB Load amp Store Data i YNA Hardware Choose Trace Colours O Transverters EJ Network Settings Switch and Attenuators oO 5 Parameter Config JS Enable Switch 0 in reverse scan Enable Switch 1 in reverse scan Perform reverse scan Clear Reverse Scan Data 5 Term Calibration JS 6 Term Calibration 10 Term Calibration 12 Term Calibration 35 00 140 00 0 060000 30 030000 MHz 60 000000 14 666 secs TE COS mode NUM myVNA v0 93 Page 75 of 181 S Parameters Crystal Motional Parameters Untitled myVNA File Edit
226. s Start 1 000000 mHz Stop 60 000000 mHz v start stop v Steps 40 Instrument Mode Display Sets Display Left J Display Right 2 58 10 35 gt Display Options Mkr 1 0 218036 13 685000 MHz L Graticule Mkr 2 1 189381 31 975000 MHz v Scan Progress Bar S11 dB Mkr 3 0 217298 42 300000 MHz 21 dB WA Autoscale on Display Change J Snap to 125 on Autoscale i 15 55 Snap to 125 dB Audio Cues i Div Force display for Log axes Report view Equivalent Circuits Auto Refine Eq Cct Invert RL display a Display Info Tips Vertical Divisions 8 Horizontal Divisions 10 Print Pen Width 5 Display Pen Width 2 Print Notes Dialog WA Add Print Notes to Clipboard Cop JS Label Markers in Printouts Smith Polar view Edit Trace Labels O Calibration O Reference Standards D Load amp Store Data E vA Hardware Choose Trace Colours Transverters Hd Network Settings Switch and Attenuators 31 02 114 05 1 000000 30 500000 60 000000 2 710 secs CDS mode As the screen updates or for example the display is rescaled or dragged the cursors stay at their positions relative to the scales so in the next display the cursors have not been moved but the display has been rescaled by dragging with the mouse myVNA v0 93 Page 39 of 181 Managing the display iP S Parameters mode myVNA File Edit View Help amp R Start Scan Single Scan Calibrate Auto
227. s for each valid equation real and myVNA v0 93 Page 108 of 181 User Defined Display Functions Data Sources imaginary or modulus and angle and one new entry will be present in each display set This may be selected and will then display the results in graphical or report views The equation may comprise data sources functions values and constants When you exit from the function with OK the program checks the syntax of the equation and compiles it If it finds an error it will not exit but will display an error message You may also check the syntax without exiting by using the check button Checking is limited the best way to view it is GIGO give it a garbage equation and you will get garbage results The dialog also maintains a list of the last 10 functions used at any time you may select one from the drop down list and it will replace the current function with the one selected 28 1 Data Sources The data sources are the current scan data or any of the four saved data traces These are accessed using the functions scan and store In each case the function takes one parameter chosen from the following choices and in the case of the store function it also takes the store number Examples therefore might be scan s11 or store 1 rho The first example retrieves the current scan s11 complex data The second retrieves the complex reflection coefficient data from store The first parameter for the store
228. s in the registry it does NOT use ini files Everything will default and specifically it will not find any calibration data If this is the first time you have run the program or have run it but never performed a calibration scan it will silently proceed to the main screen otherwise it will tell you this If this is shown just click OK and proceed to the main menu as shown below H iih myVNA Transmission mode myVNA T gt A aa X File Edit View Help z lel amp R m gt S gt DD U AA M I lt gt EL Pn RI tdr X 1 S H H _Startscan Single scan Calibrate Autoscale Markers Start 2 150000 MHz Stop 5 150000 MHz Start Stop Steps 2000 Avg 1 Instrument Mode a J Display Sets If Display Left MJ Display Left Calc Time 1 00 180 00 J Display Right J Display Right Calc Time a 0 88 1 enn YF isplay Options 0 13 45 00 Print Options BY Caltraton 1 Div iow Load Calibration Data 0 75 90 00 gt Reload Current Calibration Save Calibration Data _ Calibration Data Summary Clear calibration Data 0 63 45 00 Relax harmonic mode chec JS Use Separate Isolation Avg Isolation Average 10 0 50 0 00 Trace Averages 2 JS Unguided Calibration Log Calibration Scan Do LLC calibration 0 30 45 00 Response and OSL Calibrati EE E a ee ee JS 5 Term Calibration 6 Term Calibration 0 25 90 00 10 Term Calibration 12 Term Calibration Calibrate VV
229. s shown above myVNA v0 93 Page 126 of 181 OLE Automation Simulation Limitations 32 OLE Automation You can control myVNA and through it the VNA via Microsoft Object Linking and Execution OLE This chapter shows how to do it The program exports an automation interface for remote control The intention of this is to permit an external program to control program operation Not all functions are available the intention is to permit control of the GUI and export data not to try to expose all methods there is little point for example in providing external control of the ability to drag a cursor on the screen However if I missed something you need by all means drop me an email The interface is described by the file myVNA tbl which is to be found in the installation directory of the program As an introduction in Appendix D 1s the odl input file of the current version of the interface that produced the tbl file The details of the parameters needed are shown in the AccessMyVNADILh file see the next paragraph and are also shown in Appendix D The best way to use the automation interface is to access the OLE interface directly as defined in the tbl file however as an alternative a companion DLL has been produced that provides a basic interface The use of this is illustrated in a companion project AccessMyVNA that comprises the DLL and a dialog box project that is linked to it To show the use of the automation interface run Ac
230. s to tick the upper box and not the lower one but feedback on their effect would be appreciated When a frequency scan is in progress dragging the scale left or right or altering the scale can be confusing on anything but a fast PC Therefore you may enable or disable this feature by ticking the Permit frequency rescale drag whilst scanning box The option to automatically retry on an JO failure changes the behaviour of the program when a scan completes When a scan completes a check is made as to whether it has been as a result of an error such as an ADC timeout Normally a dialog myVNA v0 93 Page 54 of 181 Program Limits and other options Drag amp Drop box will be displayed indicating the reason if one exists When this option is selected this will not happen Instead the program will try to restart the scan If the error is a persistent one such as VNA power failure the result will be an error but if it was a transient such as an ADC timeout or overrange the scan restarts or tries to myVNA v0 93 Page 55 of 181 Smith and Polar Charts Drag amp Drop 8 Smith and Polar Charts Data may be displayed in four formats e Rectangular plots all traces so far in this manual e Smith and Polar charts e Report Listing view e Equivalent circuit view This chapter covers Smith and Polar views Under Display Options is the option Smith Polar view When selected a polar or Smith chart is displayed instead
231. scale Instrument Mode Display Sets J Display Left J Display Right O Display Options JS Graticule J Scan Progress Bar S Autoscale on Display Change Snap to 125 on Autoscale Snap to 125 Audio Cues Force display for Log axes Report View Equivalent Circuits Auto Refine Eq Cct 8 42 11 dB Invert RL display v Display Info Tips vertical Divisions 8 Horizontal Divisions 10 Print Pen Width 5 Display Pen Width 2 Print Notes Dialog A Add Print Notes to Clipboard Cop JS Label Markers in Printouts Smith Polar View Edit Trace Labels Calibration Reference Standards Load amp Store Data Network Settings Switch and Attenuators 30 22 Markers Mikr 1 0 216538 13 685000 MHz Mkr 3 0 221654 42 152500 MHz On Screen Cursors Start 1 000000 MHz Stop 60 000000 MHz X Start Stop x Steps 400 1 46 i T FPN 21 dB 6 244715 122 93 19 069221 31 893726 2 710 secs CDS mode NUM Referring again to the popup menu another option is to edit the cursors This produces the following dialog box Cursors Axis Style Horizontal Cursors Left hd Left hd Vertical Cursors Solid Solid x Solid Display 11 78186649 Colour lv 21 45233998 Colour 26 67580741 Colour 16933117 195 Colour 24513568 683 Colour 0 Colour Weight Yalue Colour This provides more control over the cur
232. scale Also when selected it will switch the display to a Logarithmic scale The display though need not be the same as the scan you may Select a log scan with a linear or a log display and vice versa The mode of the display will change with changes to the log scan but you may change it at any time by right clicking on the display to pop up the menu and selecting or clearing Log Frequency Scale The program now checks when it loads saved scan data whether its frequency scale follows a linear or logarithmic sequence with a certain amount of tolerance If it finds that the data fits neither 1t will not load the data iP Untitled myVNA File Edit view Help amp R Start 1 000000 mHz v Stop eo ooooo0 mHz Start Stop Steps 2000 Mkr 1 110 714 53 064822 MHz Mkr 3 3 113 31 163559 MHz Test Hardware I O JS Logarithmic Scan Display Sets Display Left Display Right Network Settings Switch and Attenuators 140 00 1 000000 10 000000 60 000000 For Help press F1 39 283 secs CDS mode NUM myVNA v0 93 Page 71 of 181 Logarithmic amp Linear Scans Crystal Motional Parameters All functions markers tabular display file save amp load work equally with log or linear scan data The only exception is equivalent circuits which wants a linear scan When calibrating the program will also perform a linear step scan this 1s purely to keep the code si
233. sen Trace Averages 1 TOR mode only fel Export configuration is Apply RF DDS scan freq offset E Import configuration 29 66 The reflection transmission Dual Detector trans refl and S parameters work as a set only one may be ticked at a time The setting controls what type of a scan is performed as well as the display options that are presented Unless Always do dual scan is ticked then when a reflection or transmission scan is performed only one ADC is used and the scan data will contain only transmission or reflection data In all other cases the scan includes data from both ADCs and in this case once data is available you may switch freely between the modes to change the display without updating the scan data If the calibration mode is unsuitable for the selected mode the program will issue a dialog box informing you of the mismatch and will not perform a scan The two controls Vector Voltmeter and Signal Generator open dialog boxes for the vector voltmeter and signal generator Test Hardware IO is a diagnostic mode used to check for hardware connectivity faults For more information refer to Annex G Perform reverse scan is used to instruct the VNA that when reverse scans in S parameter mode are being performed manually that subsequent scans are reverse mode There are two specific modes of operation that may be selected in addition to the main scan modes and these
234. sors Remember above it was noted that cursors stay at their locations relative to the scales This means that a horizontal cursor needs to know if it sticks to the left or right axis The type of each may be set solid dash dot or dash dot line type and the weight thickness may be set Note however that because of the way that the windows functions work the lines will always be solid for thicker lines The value that each cursor is sticking to may be manually set and the colours changed for the lines Here is the same with line colours changed for the horizontal cursors and line types changed for the vertical ones note weight was set to 1 for this see above myVNA v0 93 Page 40 of 181 Managing the display On Screen Cursors iP S Parameters mode myVNA File Edit View Help gt hd P amp R Start Scan Single Scan Calibrate Markers Start 1 000000 MHz Stop 60 000000 MHz X Start Stop Steps 400 Instrument Mode J Display Sets AJ Display Left A Display Right 2 58 di Display Options Mkr 1 0 216538 13 685000 MHz l A Graticule Mkr 3 0 221654 42 152500 MHz g S Scan Progress Bar S11 dB 21 dB S Autoscale on Display Change t s Snap to 125 on Autoscale 4 20 l 16 05 Snap to 125 dB dB Audio Cues i Div i Div Force display for Log axes H Report View Equivalent Circuits Auto Refine Eq Cct Invert RL display v Display Info Tips vertical Divisions 8 Horizontal Divisions 10 Print Pen
235. stal Motional Parameters See Equivalent Circuits Cursors Dragoia eco tess seote ne beeota sh acnnsnednnaestaustaie 39 EHEM DU eaae ctnmne net dunes cacy 40 Honzo a eer ce stiunbetetdeccss esas 39 Fopup Me niiocsse e ees ese 38 Venea anna onsen aesoacuies 39 Custom VNA Interface ccccseeeeeeees 169 Display Opuons inaa 17 PRUILOSCANGC ena 22 25 Equivalent Circuits osia 62 Gracula 17 Labelin AXES erei 19 Print Notes Dialog jsvcssaieiietciciaen in 50 Progress Barcinie aa 17 Report View oare OA 60 Siith Polar V le Weserin 56 SMA OU aaa 26 Statis Bar occa aaa inated 17 Display Sets sinatra 18 Display Le fiurne E 18 Display R ISe 18 Display SUS sionn ainan erni 18 Equivalent Circi tS sioria omsat 62 Crystal Transmission Jig 000eeeeeeeeneeee 63 E E N E A T O 62 KS ZOD soeone SOE 63 Logging Results 2 2 35 sssceteissesccersincosessesses 65 Refining Results scc ssassvecsanniataseatsconseatsniass 65 RefleCHON oernaisa 63 Transmission ensanse 63 Full Screen Display sicsccasdoccssashetadearseasssemsetogs 46 Group Delay asai saei 79 myVNA v0 93 Hardware Seu ioairicnsoraseni eno 1 ADC Modera Moers cteuss 17 Clock calibration cccccccceeccceecceecceeseeees 12 DDS Power Down ccccccc cece ceeceecceeseeees 130 Interface Selection ccceccceesceeseeees 14 Interface Type sciesscsienessitaiauiagatats 15 MSA Hardware Setup ccccceceeeeeees 13 Multiple USB VNAS ccccceeeeeeeee
236. ste fondest ana cnmaveatenats 101 SPU AMO 3 yids naconvasetvacewsen eta toadevtendeenaerncee 114 Ciy ASen A N 123 Example a O 118 Impi diN e ea 120 Limo S eaaa N 124 LOITA SIO T TO 120 Matching Networks cssseeeeeeees 116 ReCalCulatiOn anaren 116 Se UU rar saere ee E E T 114 Step by Step Example ccccseeeeeeeees 120 Synthesize Network ccccccssssseeeeeees 115 Smith and Polar Charts 2 0 cece eeeee ees 56 IWIALKGLS sorua oe aersaieg anes 56 ReSscaline sn sitar a te elten 57 Sorc d TANCES exit ae S 30 POR MOR penra A S 90 GC OVI UMNa tina sch a e 91 bandpass Modestino n ase 92 CONMSULATION oina aes 91 lowpass MOdescnonireoniro irina 92 MiRe EEN 91 IMO WISE AC TIONS EE ETE EEE 91 Using Time Domain to tune variable coupling BPRS osre 93 Testna VOLNE S n cen tewaeew ieee 178 ADC TICS oan a E 178 Foole RIC rn a 178 Tace A verat No a eietiines ivan uaeaes 100 Trace Calculation See User Defined Display Functions Network Simulation See Simulation Show Marker Measurements 97 PETALS VELLELS issar ironin or nia nisa 80 TUON Ali oeoo na ae r E OEE 10 ADC mode yicascsciodacdisvosavelbeosadetsacsovenseederes 17 AOS CALE osc saccsunodaccvesodanekseosadetdestovensuetoden 23 CAI DE ALIONS saccasonsssseusiansearlecsetiasatoaseestans 19 Clock calibration sssini eserini 12 Data STOTE S oina Ar En Ai 30 Display OpuOns sacscsseoscessascestiseedesasanssdacsenk 17 Dragging
237. store 1 to 4 Save simulation to store the current simulation results are placed in a store Save xxx to file the current scan simulation or contents of a store are saved to disk The save may be in the program internal format VNA4win extended csv or Touchstone snp format Load file to store a csv or snp file is loaded into one of the stores display store x toggle on or off the display of a store set extended filesave types controls which data are written to an extended csv file Set touchstone file options determines the snp file options Set scan to file on load if selected then whenever a file is loaded to store the scan frequency amp number of points is set to match the loaded file Set scan to stored trace permits the scan to be set to match that of a current store 6 1 3 Export amp Import Program Configuration Two options under Instrument Mode permit the export to a text file and import from a text file of the current program configuration This is separate to the main system configuration load amp save to the registry that still takes place on program start exit Whilst the file is structured in the style of an int file it is not recommended that you edit this file manually You may do so the program will not try to stop you but the results may not be as intended myVNA v0 93 Page 49 of 181 Save print and copy Saving Data to and loading data fro
238. t These affect the file when saving The other option changes the behaviour when the file is loaded There is a fundamental problem with snp files They do not cater for saving simple transmission data The way round this is that the program may be directed to check on loading whether a parameter x11 X12 x21 or x22 where x is S Y or Z comprises just zeros If the tick box shown above is selected then when the program detects that a data set has parameters of all Zeros it will interpret that as being missing data as opposed to data that is genuinely set to zero In most cases the setting to use is to have this box ticked One final caveat the program ignores the R parameter on file import Incidentally if the Options line is missing it follows the Touchstone 1 1 convention of defaults GHz S and MA 6 1 1 Autosave There is an option under Load amp Store Data titled Auto Load Save trace data When selected the program will save to disk the contents of any of the 4 data stores that are showing data when the program exits and if selected will reload those data stores when the program restarts The data are stored to the current user specific Roaming Appdata directory under the subdirectory myVNA 6 1 2 Load and Store options and configuration The options provided under the Load and Store Data treeview control for load amp store are as follows Save Scan to store x the current scan data is copies into a
239. t automatically The next one causes the attenuator to be set during forward or reverse scans automatically as determined by the settings configured The final to cause a switch to be inverted when the hardware is actually scanning It then reverts back at the end or during the delay to the next scan This may be used as an external trigger for when a sweep is being made 35 3 14 Debug Treeview Node This node is normally hidden by default it may be displayed by unticking the hide debug controls option It is not intended for general use Each entry in the list provides the facility to save in csv format the e Raw scan data e Raw calibration data OSLT and LLC e Computed calibration data for the scan e QOSLT scan calibration data No further details are given here ke Network Settings Switch and Attenuators Dump Raw Scan Data Dump Raw Thru Cal Data Dump Raw Open Cal Data 2 Dump Raw Short Cal Data 2 Dump Raw Load Cal Data a Dump Raw LLC Cal Data 2 Dump Computed Thru Cal Data Dump Computed Open Cal Data Dump Computed Short Cal Data 2 Dump Computed Load Cal Data Dump Scan Thru Cal Data 2 Dump Scan Open Cal Data Dump Scan Short Cal Data Dump Scan Load Cal Data myVNA v0 93 Page 149 of 181 Command Reference 35 4 Popup There are separate popup menus that appear when right clicking on the diplay area Each setting is self evident and they duplicate settings on toolbars or in the treeview
240. t for a data store to load a trace into then open a file open dialog to permit a csv or snp file to be loaded e Copy to clipboard same as the menu command Edit Copy to clipboard or the keyboard shortcut control c the current display trace together with associated data is copied to the clipboard e Print the current image same as the menu command File Print or the keyboard shortcut control p e Open the help file same as the menu command Help Help Topics or the keyboard shortcut function key F1 35 2 2 Controls Toolbar J w2s3D DI LI Al Fl M 3 EL Po Al amp tdr F myVNA v0 93 Page 134 of 181 Command Reference Toolbars From left to right or top to bottom if the toolbar is docked on the side of the display the toolbar provides quick access to the following functions Unless noted otherwise the same functions are also available from the popup menu J Set vertical axis opens a dialog box that permits the left and right display axes to be configured if in rectangular display mode or sets the radial axis if in polar display mode The same functions are also available from the display popup menu under the names Set vertical axis and Set Radial Axis respectively rm Set frequency axis opens a dialog box that permits the frequency axis to be configured if in rectangular display mode or opens a dialog box to set the frequencies and time settings if in polar display mode 23 Set scan to c
241. ta being stored in Store 1 and the Current Count being set to 1 Each time the Store 1 button under Accumulate is clicked the current scan data is added to a running average in Store 1 and the count incremented It is also possible to automatically average each trace Checking one of the Auto Accumulate buttons then performing a scan causes the scan to be added to the average at the end of the scan There is one point to be careful of The Reset and Accumulate buttons may be clicked at any time for example during a scan This is useful to reset the running average during a scan but it takes a snapshot of the current trace data so if it is not valid you get an invalid average myVNA v0 93 Page 100 of 181 Signal Generator Using Time Domain to tune variable coupling BPFs 26 Signal Generator The signal generator provides a fixed or sweepable signal generator All functions work for USB but there is no sweep option for the parallel interface This chapter describes its operation Start by setting the mode top right of the dialog box sweep or single frequency On the right of that you may select to lock the LO to the RF frequency When you do that the controls to set LO frequency are greyed out This is a general principle as you change the mode boxes will be greyed out or made visible according to their relevance Having locked the LO and RF you may then set the phase there is a drop down list with all possi
242. ted but will be suppressed if the instrument mode is not set to S parameters After the file save amp load nodes the next four are used to display or hide data store trace data Normally when data is saved to a store or loaded from file to a store that store is then automatically displayed but it may be hidden or redisplayed using one of these options The next option is used to configure what parameters are saved when a file is saved in extended csv format It permits a variety of parameters to be saved for each data point The next option sets the Touchstone file configuration Data may be saved in S Y or Z parameter format and as Magnitude and angle Magnitude dB and angle or real and imaginary There then follow two nodes that control behaviour when a file is loaded to a store The scan can either be automatically set to match the stored data or the user may be prompted as to whether it should be set Note that this sets the scan not the display unless the display is locked to the scan In a similar manner to setting the scan to match a trace when loading to a store the next option permits the scan to be set to match a current data store The final option if ticked will save the contents of any data stores to temporary files when the program is closed and will reload any such traces when the program is reopened 35 3 9 VNA Hardware Treeview Node Reference Standards Load amp Store Data e 3 VNA Hardware
243. they are configured and used On the left is a new treeview item labelled Switch and Attenuators Open it up and a number of items are displayed the top one of which is Configure settings This opens up a dialog box that allows the functionality of the control lines to be set Configure Switch and Attenuator Outputs Attenuators Switches Forward Display shel Reverse Label Invert Display Logic co Attenuator 0 fo r who cig Attenuator 1 fig Attenuator 2 Attenuator 3 Attenuator 5 The switch settings here do not apply to RFIV or m Reference Mode These modes have their own Attenuator 7 TE 7 setup screens and will override what is set here Invert Attenuator Output Logic On the left is the attenuator control You may select which of the 8 possible settings are displayed in the treeview and the names associated with them You may also ask the code to invert the logic of the output lines to suit your hardware On the right will appear one or more switch controls The second is only available with the USB interface Again for each the display name may be set it can be excluded from the treeview and its logic may be inverted Having configured the settings clicking on an item in the treeview will select that option and place a tick next to it On the left and right of the main block of attenuator controls are two columns with radio buttons labelled Forward and Reverse When the program is con
244. things on the screen 23 FER UDe eaa 10 FoS ea e en ncesandeasaavend nse Ged beveceuesetes 17 Hardware Settings cccccssssssseesseseeeeeeees 1 Harmonic Mode ccc cece esccceecceesceeseeees 16 Interface selection c cece ceeccceecceesceeseeees 14 Markee Sea E AEE 26 SHAD ODD eran a aastedercecnasctietadis 26 MOOD At Sich se ostireste cee a a ackatee caren ies 10 A ECOV Le W bin ccecai rita a uate ete es 10 User Defined Display Functions 108 Data SOUCO S iea 109 Eg ationm FOOF ais a A 108 PUNCHONS enna 112 NOMDETS iraran i 113 Parameters ooeec anas 109 DP CHECK aora a E 108 WANES naaa E A AN 113 Page 180 of 181 Index Vector Voltmeter ccccsscsscscescescess 103 DDS Phase and Reset Test 106 Cali Dial OMiic2e czcpedea ct taaceb ai 104 End of Document myVNA v0 93 Page 181 of 181
245. tion void id 18 helpstring method Save current trace data to a file int SaveTraceDataAutomation LPCTSTR fileName id 20 helpstring method Refine Equivalent Circuit int RefineAutomation in LONG Message in LONG hWnd in LONG Command in LONG lParam id 21 helpstring method Select Equivalent Circuit log file int SetEqCctLogFileAutomation LPCTSTR fileName id 22 helpstring method Add Equivalent Circuit results to log file int EgCctLogFileAutomation LPCTSTR description i1d 23 helpstring method Set a string parameter int SetStringAutomation LONG nWhat LONG niIndex LPCTSTR description id 24 helpstring method Get a string parameter BSTR GetStringAutomation LONG nWhat LONG nIndex AFX ODL METHOD be Class information for CmyVNADoc uuid 4D9364D3 3187 4cea A28D 5DC06E343344 coclass CmyVNADoc default dispinterface IID IA myVNA by AFX APPEND ODL myVNA v0 93 Page 159 of 181 Automation interface example contents The following is an extract from AccessMyVNA h The functions referenced are the simple ones in AccessMyVNA cpp but there is a 1 1 correspondence to the OLE interface The corresponding OLE calls are indicated for each i E E E a a a a a a a a PETE IE PI ITP Pee Pee Tie MyVNAInit call this function befoe trying to do anything else It attempts to execute myVNA and establish it as an automation server OLE equivalent
246. to 0 Note this function is only supported when equivalent circuit display mode is selected and unless default options are desired MUST be sent each time the display mode is set to eq cct mode data 0 equivalent circuit device type Set to 0 for crystal motional parameters data 1 model set as follows ii 0 45 degree phase Ti 1 3dB if 2 6 term Catal set data source fi 0 current scan data yy 1 number of stores stored trace data define GETSETEQCCTCONFIG 9 case 10 get or set simulation configuration nindex not used set to 0 sets overall configuration by determining the type of each block data0 is simulation block 1 datali is block i ete myVNA v0 93 Page 166 of 181 Automation interface example contents each one takes values thus unused 1 simulation 2 scan data 7 3 store 1 jj 4 atore 2 etc define GETSETSIMULATIONCONFIG 10 case 11 trace calculation options nindex not used set to 0 sets options related to trace calculation controls data 0 are various flags bit 0 if set show network simulation dialog bit 1 if set set show simulation data if bit 2 if set show marker measurements dialog Zi bit 3 if set set TDR fu nctions when read bits 0 and 2 will always read 0 define GETSETTRACECALCULATIONOPTIONS 11 case 12 switch and attenuator configuration nIndex not used set to 0
247. tore 2 Ll Save Simulation to Store 3 Ll Save Simulation to Store Ll Save Simulation to File gt Load file to Store 1 gt Load file to Store 2 gt Load file to Store 3 gt Load file to Store 4 WA Display Store 1 Display Store 2 Display Store 3 Display Store 4 P Set extended filesave types 3 Set Touchstone File Options Network Settings Switch and Attenuators 35 00 160 00 10 685262 10 700000 10 714738 Cursor Freq 10 710105 MHz Left 9 83193 dB Right 59 3277 dB 2 142 secs CDS mode NUM The trace was obtained by dragging and dropping the s2p file onto the application main window or it could have been loaded via the Load Store Data controls as shown above Returning to the Trace Calculation option and ticking the Show Simulation Data then displays the results of the simulation myVNA v0 93 Page 118 of 181 Network Simulation Values f S Parameters mode myVNA File Edit View Help il amp RY Start Scan Single Scan Calibrate Autoscale Markers Centre 10 700000 MHz Span 0 029476 MHz Centre Span Steps 1000 Instrument Mode J Display Sets Mkr 1 2 836061 10 675000 MHz Display Left Mkr 2 104 859583 10 675000 MHz Display Right 0 00 Trace Calculation 21 dB Network Simulation Setup J Show Simulation Data Oo Display Options Calibration Reference Standards Load amp Store Data VNA Hardware Ch
248. torial Performing your first scan choices will match the needs of the instrument setting you may find that you want all choices available at the same time To switch the program into this mode open up the options dialog from the View menu at the top of the screen and tick or untick the option as necessary OK select Rs Xs again from the Display Sets option On the span toolbar change the mode to full scan from the drop down list if Reflection mode myVNA File Edit View Help gt ed amp Full Scan Steps 1000 Avg f1 Start Scan Single Scan Calibrate Autoscale Markers m gt S gt DDI LI RIF Solel aad gt lt EL Pn RI fe D Instrument Mode Full Scan Display Sets From Zero S Rs Xs Centre Per Step Centre Per Div Rp xp Start Per Step Zs lt Zs Start Per Div VSWR RL Rho lt Rho Rs Cs Rs Ls Rp Cp Rp Lp Gp Bp lt FO Fi T Check J Display Left J Display Right Trace Calculation Display Options O Calibration O Reference Standards O Load amp Store Data VNA Hardware Choose Trace Colours Transverters EJ Network Settings Switch and Attenuators 0 00 6 045 12 040 18 035 24 030 30 025 36 020 42 015 48 010 54 005 60 000 5 995 MHz div For Help press F1 6 491 secs CDS mode The two frequency controls will be greyed out as it will now do a full scan if requested Also present under Display
249. trace refers to the argument Also in Smith Chart view the values that the markers display may be changed to another parameter for example Rs Xs Underlying this though the program is still dealing in rho so the values used in tracking markers will still be rho Here is the Marker dialog again Now look at a couple of other features Configure Markers Markers Source Mode Target Parameter Value Link Freq Time Display 1 Left Scan Manual v Maximum Default v 0 134285 v Trackin 2 iensen Manual fois Left Scan Linked aximum Default Linked f 3 Left Scan X Linked f Maximum v Default v 0 000000 i 4 Left Scan v Tracking v Maximum v Default v 0 000000 E 5 Left Scan Tracking v Maximum x Default z E 6 Left Scan v Tracking v Maximum z Default E 7 Left Scan v Tracking v Maximum Default z E l 8 Left Scan z Tracking v Maximum z Default 9 Left Scan T Tracking v Maximum v Default v E i Marker Marker Display Show Q IV Curve fit linked f markers MHz v Minu Y lv ka Value 1 z Minus 2 3 z T Linear fit linked f markers i 1 z Minus 1 x E E l6 v Frequency ox oe k EG Sa O myVNA v0 93 Page 44 of 181 Managing the display Markers and Marker Arithmetic There are two extra options to the mode Linked with a frequency offset positive or negative Selecting one of them enables the value
250. u is used to manage the calibration data If the mouse was over a specific row in the table it allows a calibration to be performed for that row or the data in that row to be edited or the row deleted New rows may also be added and the complete set of data may be exported to file or imported from file To calibrate proceed as follows NM a review the table and add or delete rows as needed apply a known signal at one of the frequencies in the table at the level shown under actual to one of the ADCs select the ADC to which the signal is being applied 4 Double click on the row or right click and select calibrate myVNA v0 93 Page 105 of 181 Vector Voltmeter DDS Reset Test 5 Check that the correct row under the ADC s selected now shows a reading It should be similar to that applied or else there is a fault somewhere 6 Repeat for all points and both ADCs The calibration data does not need to be explicitly saved and loaded but it is useful to do so Current calibration data is saved in the registry on exit and automatically reloaded on startup Click cancel to exit discarding all changes made to the current calibration data Or click ok to exit and keep it 27 1 DDS Reset Test The Vector Voltmeter also serves as a placeholder for a diagnostic tool bottom left there is a greyed out box and a tickbox labelled DDS Phase Init Test This is used to check on the phase stability of hardware follo
251. ual marker will stay put on its frequency but you can also drag it If you put the mouse pointer close to it technically within 10 pixels and depress the left mouse button you can drag it left and right The marker will stay glued to its trace but can now be moved left amp right The status bar indicates the current marker position and values as you drag the manual markers This only lasts whilst the marker is being dragged When you move the mouse across the screen at other times the current mouse pointer position will be displayed as frequency amp values for left amp right axes Markers are by default positioned top left of the display Sometimes this is not very convenient it obscures parts of the trace So you may move it around on the screen by dragging it where you want it to be Anywhere on the marker display text click the left mouse button and drag the markers where you want them to be The position you select will be preserved on startup and there are two positions one for polar smith charts and one for rectangular Finally there are a few quirks the position may be off the page on printed copies and dragged off the bottom they may reappear on the top as they strive to stay visible In Polar and Smith Chart views the markers work slightly differently At their core they always use the modulus and argument of the measurement Therefore when setting a marker the left trace refers to the modulus and the right
252. up Synthesize Network Network Type Low Pass L match series C ed Nudge 10 7 MHz Sensitivity Frequency Q Hoh Input Match Output Match R 50 Ohms R 50 H ohms Series Reactance Series Reactance Reactance Reactance None None C Inductive C Inductive a Update x C Capacitive Capacitive C x ohms x ohms Low Cancel This allows selection of the network type see below and the setting of its design parameters In each case a frequency and settings for input and output are needed and depending on network type a Q value may be needed For each port a target matching impedance is given as a resistive component and a reactive component The reactive part may be specified in terms of either inductance in uH capacitance pF or simply as ohms Also the program may be told that the resistive and reactive values given should be interpreted as in series or in parallel with the resistive part When OK or Update are clicked the program attempts to synthesize a network of the given type In the case of Ok if it can do so then the dialog box closes and the graphic on the network simulation dialog is updated to show the network If it cannot for example no match is possible for the values given then an error message is shown and the dialog remains open The program is quite happy to generate negative component values if you force it to but will complain if no match is possible at all
253. urrent display This sets the scan start and stop frequencies to match those of the current display The display may for example have been dragged to zoom in on a feature this button sets the next scan to match the desired display 2DSet the display to match the current scan This sets the display to match the current scan start and stop frequencies The display may for example have been dragged to zoom in on a feature this button sets the display back to match the current scan DI Display Lock When toggled on locks the current frequency axis to the scan settings so that dragging the display left or right will not change the settings but any change to the scan start stop will also update the frequency axis LI Left Lock When toggled on locks the current left axis so that dragging the left side of the display up or down will not change the settings RI Right Lock When toggled on locks the current right axis so that dragging the right side of the display up or down will not change the settings FL Frequency Lock ti Bring manual markers onscreen and position them at the centre frequency of the scan Hide Unhide the markers If there are any displayable markers on the current trace this control toggles their display on and off ill Toggles on or off a logarithmic frequency display Toggles on or off a logarithmic vertical display S When pressed this button clears any reverse scan data gt
254. us Idle awaiting connection Current Process Idle Simulation Limitations The Status message will change when a remote client connects otherwise it indicates Idle The Current Process will not show any information in this version of the code To configure a client open up the Hardware Interface under VNA Hardware and set the IP address to that of the client set the port number to match and select the TCP IP option Interface Configuration Selected InterFace t USB t Parallel Parallel driver f Inpouksz ie Winlo Parallel Port Configuration LPT1 Fort Mame 0x378 Base Address 500 000 ADS Timeout ims TCRIIP configuration 192 Port Number 49152 s d amp 1 68 That s all there is to it There are a number of new error dialogs etc Only IP V4 is supported and firewalls may stop connectivity myVNA v0 93 Page 129 of 181 DDS Power Down Simulation Limitations 34 DDS Power Down The DDS chips may be powered down when not in use or left powered up Under VNA Hardware is an option that controls this When selected the DDS chips will be automatically powered down when not in use reducing current consumption from 0 25 to 0 3A to 0 15A at 12V Here is a trace without power down The trigger point is the start of the sweep DDS reset occurs switching off the RF outputs for about 0 5 ms before the signal reappears the yellow upper trace In this example
255. used for transmission and which for reflection so use the Hardware Options to tell it Select Always do Dual Scan and the program will always do a dual detector scan even if just reflection or transmission is selected Having done that a dual scan trace looks something like this P Untitled myVNA File Edit View Help amp R Start Scan Single Scan Calibrate Autoscale Markers Centre 14 319000 mHz Span o coso00 MHz Centre Span Steps 2000 Instrument Mode Display Sets Display Left Mkr 1 4 080 14 318718 MHz Mkr 2 0 714 14 316510 MHz Mkr 4 46 405 14 318718 MHz T Display Options Calibration gt Reference Standards gt Load amp Store Data YNA Hardware Choose Trace Colours 60 49 54 93 Q Transverters 14 316500 14 319000 MHz 14 321500 Network Settings For Help press F1 4 882 secs CDS mode NUM Note that either axis may be set to display any transmission or reflection measurement in this case this was a scan of a narrow band crystal filter with gain in dB shown on the left and in red and the Rs measurement on the right in green You may switch either axis to display other readings However remember that the program once it has captured a set of data can display it in other ways so if you switch at this point to transmission or reflection modes you may display the data as if you had captured it in a transmission or reflectio
256. w Equivalent Circuits or Smith Polar View When none of these are selected rectangular display mode is shown The Auto Refine Eq Cet setting will cause the refine function to be executed every time a scan is performed in equivalent circuit mode The Invert RL display option inverts return loss display personal preference if you wish 35 3 5 Print Options Treeview Node Instrument Mode J Display Sets J Display Left J Display Left Calc Time J Display Right J Display Right Calc Time Trace Calculation C gt Display Options Print Pen Width 5 Print Notes Dialog Add Print Notes to Clipboard Copy J Label Markers in Printouts Choose Print Main Font Choose Print Trace Font Marker size 5 The print options are display options that apply only to the print or clipboard copy functions Again all are self explanatory Print notes provides the facility to add header footer and notes to a printout and this may optionally be include in the clipboard copy Printing is addressed in Section 6 2 myVNA v0 93 Page 142 of 181 Command Reference Treeview controls There is also the facility to change the font used as well as the size of the markers and the pen width 35 3 6 Calibration Treeview Node This node controls all the main settings associated with calibration On the left is show the N2PK case the MSA case is a reduced set and is shown on the right The descriptions refer to the N2PK
257. wa acktbet eases 16 A SPUNA CAD MOIE sasin a car tae Gcetiue itacntauee carta 17 4o Sene the Display Opuons coari a deelen ewe Dadeenats 17 A Perrone your Trst Seaca a E E 17 Ak CAME AGO D ee a E A eee acne es 19 ET a N aa aaa te ated eet aa teat a ot ted econ ted 22 4 7 3 Dragging the display around x scscasiest inet ieee esta oneness 23 4 7 4 Markers and Marker Arithmetic cccccccssssssseeeccccceneesseseeeceeeenaes 26 AO DA SOE A E T O A 30 S Manacme hedis pli yeesse tane tained ieee cermin eines 31 5S L Popup Men s amp TOO ars siete inns urieh e a ELR 31 DZ Displ yi ns M ltiple VAC CS nerean a see 34 5 3 Scan setting options amp the Scan Toolbar ssessssooeenssssssssseerrsssssssseeresssss 35 34A Lapele ESTE a a E A A 35 5 3 Draggins Items on the Scieci ercran a ocedsieeieanics 37 5 6 Locking the Scan and the Display ce eeccccccccccssssseeeeeceeeeeeeeeeeneeeeeeeeeenaas 38 Dads On Screen CUES OLS sasiecdss ach detei dann sec a E 38 5 0 Markers and Marker Arithmetic sc cratic eictiiniae dd eee 42 5 8 1 Global Show Hide Markers ssicvatesdidetacesyatueiaieraiy aleadide teeta aiediaae 46 59 UID SCLC SI DIS OIA yeee E E 46 5 10 Keyboard SOM CUS iar nated etescancreee a valet react a 46 Os AVS POULIN E COD esas a ete seetree aac ec a E i 47 6 1 Saving Data to and loading data from Disk ee ccecccccecceenseeeeeeeeeeeeenaes 47 OLI ATOSI e aoea a ea ah ech eee aoe 49 6 1
258. window using windows Drag and Drop the program will attempt to load it It will use the file extension to try to determine what the file is If it is a ref it will try to load it as new reference standard offset data If itis a cal file it will attempt to load it as new calibration data If it is ref csv slp or s2p it will attempt to load the data into a saved trace store If one file is dragged it will be loaded into store 1 If a set of files are dragged in one operation they will be loaded into stores sequentially until all stores have been loaded any remaining files will be ignored myVNA v0 93 Page 52 of 181 Program Limits and other options Drag amp Drop 7 Program Limits and other options This chapter defines some of the program limits and options and how these may be changed The number of scan points can be changed with the steps setting of the frequency bar The default number of points is 200 but it can be set anywhere from 20 to 50 000 Note that if you go over 2000 points the program will increase buffer sizes and consume more memory The number of scan points is remembered when exiting but if it exceeds 2000 then a value of 2000 will be used next time the program starts Averaging allows up to 10 000 averages per reading Delays between steps can be set up to 200 000 usec A fairly simple bit of maths will show that if you set the program to 50 000 steps with 0 2 seconds between every DDS change and avera
259. wing a DDS reset amp load To use it connect a short cable from RF output to RF detector input You should get a good high voltage of about 360mV rms Now tick the DDS Phase Init Test box The display will change to something like the following The voltage shown will or should drop significantly as the VVM display will now show not the modulus of the signal but the amplitude of the quadrature component This if the relative signal delays between RF and LO are about the same be close to zero but expect some deviation Before using this however select a frequency of 1 MHz with the 1700 Hz ADC bandwidth Also note that the rate will depend on the phase and step delays The VVM will remember the first reading and then compare all subsequent readings to it If it finds one that differs by more than the amount in the Limit box it will flag that as an error Vector Voltmeter 4DC1 reading ADC2 reading 0 845 l Enable ADC 1 3 v Decimals js 3 v Decimals Vector Reading 4DC1 4DC2 displaying Modulus in units as below followed by Phase in degrees count 422265 error count 0 last error at 0 last error value 0 000 current 0 189 3 Decimals Modulus 3 Decimals Phase Display Units ADC BW Hz Update rate DDS Frequency Millivolts RMS 1700 0 5 l E 000000 mHz vr Average 0 005 Limit 4 100 v zero Phase V Apply Cal Data No resets V ADC clocks are in antiphase In the above example the test has been
260. would for frequency myVNA v0 93 Page 37 of 181 Managing the display Locking the Scan and the Display In polar view the markers and screen labels may be dragged around the screen 5 6 Locking the Scan and the Display So far the display and scan have been linked This means that if you change the scan start end centre span etc the display changes accordingly Equally if you change the display it changes the scan You can also unlink them in rectangular view Right click on the display and there is an entry in the popup menu labelled Lock Scan to Display that should be ticked at the moment If this is unticked the display start amp end frequencies may be set independently of the scan frequencies When linked the limits applied to the display frequency are those of the scan limits When unlinked they are controlled by a minimum and maximum in the Options under the View menu The defaults are 0 and 200 MHz In this mode the dialog box that pops up when you change the display frequency is replaced by a different one that just sets the display In the example below the scan is set to 5 60 MHz the display is unlinked and the display set to 0 to 100 MHz i S Parameters mode myVNA File Edit View Help lal STR Start Scan Single Scan Calibrate utoscale Markers Start 5 000000 mHz v Stop eo oooooo mHz Start Stop Steps 1000 Instrument Mode Display Sets JS S11 dB 521 dB 522 dB 512 dB v
261. y is set to 2000 us the frequency step delay to 500 us and the phase step delay to 0 ADC is fastest mode 10 and DDS update is set to overlap ADC operation On the left can be seen the reset of the DDS followed by a 2 division 200 us delay before the first ADC conversion ADC conversions are then grouped in sets of 4 as this is a CDS scan with the programmed 500 us delay between them Zooming in on a single ADC cycle yields the following trace The ADC CS signal pulses and the clock goes low to start the ADC conversion 20 us later the DDS update occurs for the next point and the CPU then waits for the ADC conversion to finish As soon as it detects this it pulses FQ_UD to change the DDS output and reads the ADCs This is a dual detector scan the timing is the same for single or dual detector Immediately it has finished it starts the next ADC conversion myVNA v0 93 Page 172 of 181 How fast will it scan Note that the DDS is being updated whilst an ADC conversion is taking place ADC CS is low DO and DDS clock D4 is active This maximises speed It is possible however that in low noise floor CDS scans at low ADC rates this may cause digital noise in the conversion so there is a setting under VNA hardware labelled Load DDS during ADC which if unticked updates the DDS at the end of an ADC conversion as shown below This slows the scan speed down adding 320 us to an ADC conversion giving a maximum rate of 1560 ADC conversi
262. y switch to RF IV mode RF IV mode like Reference Mode supports transmission mode but it will not give the right results It has been left available for experimental purposes but you should not use it for other than reflection mode measurements myVNA v0 93 Page 88 of 181 Reference Mode Loading saving settings in calibration data 22 Reference Mode In a similar manner to RF IV mode reference mode uses an external accessory for higher precision measurements This chapter describes it Reference mode is supported by means of a configuration screen and an option under instrument mode Currently Reference Mode is not available on the parallel interface The configuration mode setup dialog looks like this Reference Mode Configuration Determine ADC Configuration e Adel is Used For A and A C Adc ADC Z is used to measure B Switch setting whilst reading A Switch Line Goes Note The switch setting shown above bypasses the switch inversion logic of the switch setting dialog Cancel The hardware settings must match that of the hardware If you use one of Paul s modifications to Ivan s RFIV head then one ADC will be used for A and R the other for B where A is the reflection signal B is the transmission and R the reference So the obvious configuration is to use ADC1 for A and R as shown above The switch line to use depends again on hardware with USB you have two lines to choose from Whichever
263. you must first select a log file with the Log file button Having done that each time you click on Log Results you may choose to log the current readings A label may be given to each or you may choose to just use sequential numbering automatically provided Label Log Entry Enter a label for this log entry or tick autonumber to use sequential numbering iV Autonumber Reset Log Number to 1 co In most modes there is the ability to refine a reading The way it works is this It may either be switched to automatic mode by clicking on the Auto Refine Eq Cet feature on the left view under Equivalent circuits or explicitly performed by clicking on the Refine button myVNA v0 93 Page 65 of 181 Equivalent Circuits Crystal Motional Parameters Searching for Optimised Solution The program is now repeating the scan process at critical points looking for a better solution Please wait this dialog box will clear itself automatically on completion Status Check W Frequency 1 i Frequency 3 W Freguency2 Frequency 4 When this happens the program will attempt to locate the best readings for the critical parameters For each reading that is used in the calculation it will search for the optimum setting by recursively scanning The way this works is as follows For each critical point it will sweep across a range of frequencies from two steps before the point to two steps after it
264. you use the sense must match the hardware Again with Paul s modification to Ivan s board connecting one of the USB switch lines direct to the switch control line of the Reference mode head means that to measure the A signal the switch line must be low myVNA v0 93 Page 89 of 181 TDR mode Loading saving settings in calibration data 23 TDR mode Data captured in the frequency domain may be converted to time domain in software to give a Time Domain trace This chapter describes it Look under Trace calculation There are two TDR options There is also a new toolbar button for access to the configuration option g diy MVNA S Parameters moe mN S O S S O OS e Em File Edit View Help OSH tmel RR mS L AF M I XX EL Pn RI M tdr _Startscan Single Scan Calibrate Autoscale markers Start 6 150000 mHz v Stop 8 150000 Hz Start Stop v Steps 500 Ava f1 Qy Instrument Mode A Display Sets J Display Left J Display Right A Trace Calculation 11 dB 21 dB A 10 00 10 00 F2 10 00 10 00 T Check dB dB Q Network Simulation Setup i Div i Div Show Simulation Data 20 00 20 00 Show Marker Measurements TDR configuration TDR Functions 30 00 Q Display Options C Print Options Calibration 40 00 40 00 O Reference Standards Load amp Store Data C gt VNA Hardware p Choose Trace Colours 50 00 50 00 30 00 C Transverters 4 Netwo

Download Pdf Manuals

image

Related Search

Related Contents

User Manual PH 9280 / 90  磨き上げられた高音質、先進の機能性をより使いやすく、 スリム  社会の持続的発展に向けたCSR戦略に関する調査  Sirius Satellite Radio SCV1 User's Manual  Descarga - Walther  

Copyright © All rights reserved.
Failed to retrieve file