Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Nanovna-Users
- Messages
Search
Problem with NanoVNA Saver 0.2.2.1
Karl-Heinz Merscher
Hello,
I recently have problems to display Marker 1, Marker 2, Marker 3 and so on . The graphs are shown but I miss the Marker 1, Marker 2, Marker 3 . values (see yellow colour) Anybody out there who can help me . Thank you so much. Best 73s de DL6RDE, Charlie |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
This is a friendly group and I do not wish to get into some kind of argument with others. If I have posted something in this group which is wrong or confusing please quote what I said and tell me why it is incorrect and I will do my best to answer your question or if proven wrong admit my error. But please quote what I said NOT what someone else thought I said or meant about the subject at hand.
In a previous post on a graph I wrote "This is the S11 phase plot which is the angle of the reflection coefficient gamma. A common misconception by those new to S parameters is to confuse this with the impedance phase of the device under test (DUT)". Here is why I believe that to be true. If we have a complex impedance attached to our NanoVNA and wish to measure its characteristics we can do this with an S11 or S21 measurement. For the purposes of this discussion I will focus on the S11 measurement. Let us say our device under test (DUT) consists of a 50 ohm resistor in series with a 1.6 uH inductor. We perform the measurement at 5 MHz. The inductive reactance is X = 2*pi*freq*L which is equal to 50 ohms. So the complex impedance R+jX is 50+j50. At 20 MHz. the same DUT will have a complex impedance of 50+j200. It is well known that the "impedance phase angle" is equal to the arctangent of X/R and this will range between +90 degrees to -90 degrees depending on the values of X and R and whether X is inductive or capacitive. For the case of 50+j50 the phase angle is arctan 1 or 45 degrees and fro 50 + j200 is arctan 4 or 76 degrees. This is shown on the attached diagram. We could easily do a plot of impedance phase versus frequency for the DUT and get a graph. Now when we connect this example DUT to the CH0 port of a NanoVNA and do a measurement over the range of 5 to 20 MHz. we can set the traces to display a number of parameter plots. One that is very useful is to plot the "reflection coefficient" Gamma (¦£) . Gamma ¦£ = (Z - Zo) / (Z + Zo) with Z being a complex number and Zo typically set at 50 or 75. Note that Gamma will also be a complex number in the form a+jb or as magnitude @ an angle. The Magnitude is = sqrt(a^2+b^2) and the angle is the arctan (b/a). The angle is often referred to as the "S11 phase angle" and that can be displayed on the NanoVNA or in PC programs that work with the PC. There are calculators that calculate the reflection coefficient in both forms for a given R and X and the phase angle . Here is one that is easy to use. If R and X are plotted on a Smith chart the vector from the origin to that point will have a length equal to the magnitude of the refection coefficient and the angle will be the S11 phase angle. I have plotted the 50+j50 and 50+j200 on a Smith chart and attached them to this post. Here is a comparison of the "impedance phase angle" and "reflection coefficient phase angle" for the two cases above. One can clearly see that they are different which is what I originally stated. Yes reactance does have an effect on both and this is not in dispute. But they are different measurements! Impedance phase reflection coefficient phase 50+j50 45 63.4 50+j200 76 26.6 It would be nice if the "impedance phase angle" could be added to the graphing capability of the NanoVNA or one of the PC programs. Someone requested this on the NanoVNA saver GitHub page last month. Roger |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
On Sat, Feb 20, 2021 at 01:21 AM, Arie Kleingeld PA3A wrote:
Arie, Thank you for your comment. That is exactly the misunderstanding I was referring to in my previous post. I am also on Facebook and I have seen several posts there that stated that the "S11 phase angle" displayed on the NanoVNA and the "impedance phase angle" of the device under test were the same thing. Several YouTube videos have also made the same assertion which is wrong and confuses those new to this subject. That is why I stated the following in one of my drawings in the post above.... "This is the S11 phase plot which is the angle of the reflection coefficient gamma. A common misconception by those new to S parameters is to confuse this with the impedance phase of the device under test (DUT)" I do not see why some object to this statement which is all I said on this subject. I will write another post later today to clarify why this is true. Roger Roger |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Hi Manfred,
You note that you cannot use NanoVNA Saver under Windows XP. I inherited a laptop running Windows XP from my daughter. I just tried that if I copy the NanoVNA-App to the C: / root directory, it will log in without further ado. I remembered that the creator of the program mentioned this, but I never tried it. You may also want to update the firmware because the program and firmware were developed together. So one cannot be used without the other. -- *** If you are not part of the solution, then you are the problem. ( ) *** |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
I don't need to "prove" you wrong. Without phase, reactance just becomes a
toggle quoted message
Show quoted text
non-dissipative circuit element that doesn't do much outside of resistive losses. One can't have a reactive component without phase. Z = R ¡À jX Without phase information, there is no ¡À jX term and no reactive component. Dave - W?LEV On Sat, Feb 20, 2021 at 3:45 AM Gregg Messenger <techgreg@...> wrote:
Where Roger and I have differed in the past is with regards to the concept --
*Dave - W?LEV* *Just Let Darwin Work* |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
If you explore NanoVNA-App you will find lots of things. Right click on the graph window to find numerous options. Clicking on the text in the upper left corner of the graph window will allow you to select the graph type. The New Graph button at the far right of the top button row will do just that.
Do upgrade your firmware. You will benefit from new features and bug fixes. I am using Dislord 1.0.45 on my H. There is no "standard" firmware, only latest and obsolete. :) 73 -Jim NU0C On Sat, 20 Feb 2021 06:33:06 -0800 "Manfred Mornhinweg" <manfred@...> wrote: Roger,The NanoVNA MOD v3 software has some nice plotting features but I prefer theI didn't know about that software. I just downloaded it, but it doesn't seem to work with standard firmware, and I'm hesitant about changing to a different firmware, given that the stock one works well. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Roger,
The NanoVNA MOD v3 software has some nice plotting features but I prefer theI didn't know about that software. I just downloaded it, but it doesn't seem to work with standard firmware, and I'm hesitant about changing to a different firmware, given that the stock one works well. Also, I didn't find a way to change what the graph displays. Is it really limited to only displaying S11 and S21? Among all the options given by the NanoVNA, and by the PC software I'm using, I find RLC graphs most useful for component testing. The firmware does 401 points on the -H4 instead of 101, faster dataI only have the NanoVNA-H, and I wouldn't like to put special firmware on it. So it seems that the software you use is not for me! I can't use NanoVNA Saver either, because it doesn't run on Windows XP, and that's what I use. Good that there is a choice of programs. I would love to get more than 101 points, and I would also love an actual RLC display, rather than the RXZ display given when selecting RLC. A true RLC display would be great to directly observe the variations of component values against frequency. Maybe some day I end up writing my own program for this purpose. Is there a clear description of the NanoVNA's communication protocol? That clothespin idea is really interesting for testing SMD parts. I am goingI haven't built it yet. It's just an idea. So far I have only built that very simple component test jig using a small piece of PCB, using clothespins for calibration and for holding component leads and SMDs against the board. It serves me well enough for now. Ray, The use of a small piece of Teflon or other plastic between the contacts of the clothespin for doing the OPEN calibration may be a bit problematic.Well, there is no need to place the plastic "open" calibrator between the contacts! A clothespin jaws are much larger than an SMD. The jig could easily be made with small contact areas, something like 3mm diameter. The "open" calibrator can be placed in the clothespin several mm away from those contact areas. That should bring the "open" calibration error down to less than 0.1pF, which is probably good enough for most of us. The traces leading to the contact areas should of course run well away from each other, to reduce capacitance miscalibration if the clothespin flexes and distorts in use. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Maybe the misunderstanding is in the fact that the reflectioncoefficient has another phaseangle than the phaseangle between current and voltage on the load. These are two different things. The relation is in the already quoted formula.
73, Arie PA3A |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Gregg-
toggle quoted message
Show quoted text
I concur with your understanding 100%. Reflection phase with an open is zero degrees and is 180 degrees with a short. Reactive loads (inductive or capacitive) will have phase angles somewhere between 0 and 180 dependent on the reactance at a particular frequency which depends on reactance (Zl +jX or - jX). See the last 2 sentences in the book section on Purely reactive loads that was cited. Ray WB6TPU Senior Signal Integrity Staff Engineer (Retired) On Feb 19, 2021, at 7:52 PM, Gregg Messenger <techgreg@...> wrote: |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Where Roger and I have differed in the past is with regards to the concept of the S11 phase as measured by the nanoVNA.
While Roger has firmly stated in previous conversations that there is no relationship between the S11 phase and the phase change between voltage and current observed in reactive circuits, I still hold to my original thought that the voltage vs current phase of a reactive device is in fact related to S11 phase. It simply must be! As the reactive component causes a change in phase of the voltage and current, so to does it cause a change in the S11 phase as measured by the nanoVNA. Please see ¡°Purely Reactive Load¡± in this reference: (Ellingson)/03%3A_Transmission_Lines/3.12%3A_Voltage_Reflection_Coefficient (Sorry, the link is not fully recognized, so one will need to cut and paste the link manually into a browser. I have included a screen shot with this post.) The formula under the ¡°Purely Reactive Load¡± heading for the voltage reflection coefficient clearly includes reactance. Where a reactive component is present, there will also be a change in phase between voltage and current at any given frequency. Thus, I maintain that S11 phase is in fact related to voltage vs current phase. Please feel free to prove me wrong. -- VE6WGM |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Forgot to my Signature
-- Cheers, Ian Melbourne, Australia |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Hi Roger et al,
I am not about to admit to how many of those misconceptions I have fallen for .... publicly .... :) I have been 'safe' in the analogue, low frequency, ideal component electronic world for awhile, but kept bumping into non-ideal component problems. I purchased my nanoVNA primarily as a challenge to that environment. It, and this Group, have been great teachers. Thanks. Re: your Freq Phase S11 graph ... can you elaborate please? .... * The Commentary refers to a misconception around S Parameters and Impedance phase ... is the distinction here Reflection co-efficient Gamma phase => Incident and Reflected voltages .. versus .. Impedance phase => Voltage and Current .... ??? * Can you describe the 'drivers' of the 3 key points to this graph ie 0 deg, -145deg, and +/-180deg?? 360deg rotation at self resonance?? I am unsure as to how many more 'nanoTraps' I have yet to climb out of .... :) |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
The use of a small piece of Teflon or other plastic between the contacts of the clothespin for doing the OPEN calibration may be a bit problematic.
toggle quoted message
Show quoted text
It will increase the capacitance between the contacts which will probably lead to a less accurate calibration . I would suggest finding a way to hold the contacts open without the inclusion of the plastic. For doing cals up to about 1Ghz for a nanoVNA it probably isn¡¯t that big of a deal, but just thought I¡¯d mention it. (I¡¯m used to doing vna cals up to 30 or 40 GHz where it is a big deal) Ray WB6TPU On Feb 19, 2021, at 6:42 AM, Manfred Mornhinweg <manfred@...> wrote: |
Re: nanoVNA - Measuring Inductors and Capacitors (Vers. 3)
#measurement
#tutorials
#video
Was just over reading Roger¡¯s excellent thread on using a VNA to examine discrete components. I figured I should be clear with everyone that the method I presented below is not and was never intended to be used for higher frequency work. If you¡¯re trying to determine device behaviour at higher frequencies, perhaps for an RF project you might be working on, the method of measuring inductors and capacitors that I presented in the video linked below is not suitable. The intent is to give people a simple way to quickly measure inductor and capacitor values at lower frequencies so as to simply discover or verify the basic component values. Using alligator clips at higher frequencies is not going to give very good results, so if you¡¯re wanting to characterize a component at higher frequencies then you would be well advised to go take a peek at Roger¡¯s thread here: /g/nanovna-users/topic/pitfalls_of_measuring/80744049?p=
-- VE6WGM |
Re: #features #nanovna-saver
#features
#nanovna-saver
On Fri, Feb 19, 2021 at 12:44 AM, Adnan Yousaf wrote:
The NanoVNA app by One Of Eleven has this feature built in. It records .s2p files that contain the S11 data that you need. You go into continuous scan mode and then click the record button. It writes about 30 or 40 files per minute. To use it you need to update your firmware. You can find the app and the necessary firmware here. I use the latest DiSlord version 1.0.45 instead and it works great. It is .rar compressed format ( like zip ) so you need a program like 7 Zip (free) to decompress it. Roger |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Manfred,
Thank you for your detailed and informative post. Lots of good information and tips on how to measure components. I have not seen the same problem with cables up to 30 cm but I will keep what you posted in mind. I agree with you about alligator clips being a poor test jig. It is so easy to construct a test jig that I never use them. The NanoVNA MOD v3 software has some nice plotting features but I prefer the NanoVNA app by OneOfEleven that works with the 1.0.45 firmware by DiSlord. The firmware does 401 points on the -H4 instead of 101, faster data transmission and some nice new user features on the NanoVNA. The NanoVNA app is the best PC program I have used to date with nice scaling and plotting features, trace smoothing, calibration averaging and the ability to do firmware updates and much more. That clothespin idea is really interesting for testing SMD parts. I am going to build a jig using this method. If you have one already built could you please post some pictures.? You mentioned the serial and parallel impedance measurement of components. This is not familiar to some users and I will be doing a post later showing how this can be useful when measuring higher impedance parts. Thanks for joining the discussion and sharing your experience. Regards - Roger |
Re: #features #nanovna-saver
#features
#nanovna-saver
On 2/19/21 5:44 AM, Larry Rothman wrote:
Adnan,There is some python code in the NanoVNA repo that gives examples of how to access the NanoVNA, send commands, and retrieve data. It's somewhat simpler than NanoVNA_Saver, which is also Python. For your application, you don't need the fancy graphics in NanoVNA-Saver. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Roger,
I think you basically said it all with this list of pitfalls: - limitations of the NanoVNA hardware and softwareI can only add a little about my own experiences measuring components: When trying to measure through20cm long SMA cables and connectors, I often got strange results. It seems that the NanoVNA's measuring range gets restricted when it has to compensate for the effects of those cables. I get much more reliable and credible results when using the test jig I published here, several days ago, which has only a very short piece of coax cable and large contact surfaces. So I would suggest to make and use any sort of test jig that has as short a connection as possible to the NanoVNA, so there are less parasitics to calibrate out. About calibration: The best, of course, is having a perfect short and a perfect 50? load for calibration... But not having those, one can get closer to the truth about a component by adding the known (or estimated) imperfections of the test loads to the measured data. For example, for my basic simple test jig I use a shorting wire stuck to a clothespin, which is pretty good, having maybe 1 or 2 nH. But my 50? load is two leaded quarter-watt 100? resistors in parallel, and these obviously have some significant inductance. How much? Well... measuring any single resistor of the same size and type, with the same lead length, and of reasonable value, reports roughly 5nH of ESL. Now, it's logical that two resistors in parallel, reasonably separated, should have half as much inductance as a single one. So I conclude that a single quarter-watt resistor has around 10nH, and my 50? test load, having two of them in parallel, has 5nH. And that's why a single resistor measured in my jig reads 5nH. A poor calibration load, but entirely possible to compensate for! With this jig I have been playing around over the last days, measuring resistors, capacitors, inductors, transformers (main inductance and leakage inductance), and crystals. It works very well. I use the NanoVNA MOD v3 software, and find it most practical to use the series RLC display for most component testing. While named RLC, it actually gives RXZ curves, not RLC... But the L or C values are easily obtained by sliding the mouse over the graph. This allows easily seeing over what frequency range the capacitance or inductance stays pretty constant, and that's likely to be the range in which the nanoVNA is reading reasonably correct while at the same time the component value is still reasonably pure. With relatively high impedance parts I switch into the parallel RLC display, which then makes more sense because the parasitics in high impedance parts tend to be dominated by parallel capacitance. It's important to understand what one is measuring, of course. When I measure leaded parts, I include as much lead length in the measurement as I will need later when mounting the part on the board. Usually the shortest length possible. Since my test jig has wide connection areas, its own inductance is reasonably low, and the exact spot on the jig where each lead connects is rather uncritical. A while ago I was comparing the performance of quarter-watt carbon film and metal film resistors, at frequencies into several hundred MHz. It works nicely, and is very useful to dispell long-standing myths, to select the best parts for a project, and even to find out whether a given part is actually usable for the intended application. About alligators: They add quite a bit of inductance, which can be calibrated out to some extent, but limiting the NanoVNA's measuring range. What's worse is that the flying leads can end up in different positions between calibration and use. So indeed I would only use them in situations where 10 or 20nH uncertainty, and 1pF or so uncertainty, are acceptable. A fixed, solid test jig is always better. I have become a fan of clothespins. For measuring SMDs, an easy test jig could be made from a single clothespin, with two copper foil (or PCB pieces) glued to it, and a short piece of coax cable with an SMA plug soldered to them. The short circuit calibration would be done simply with nothing in the clothespin, just a direct contact. A small 50? SMD resistor would be used as 50? calibration load. And a small piece of plastic, such as teflon or polyethylene, the same thickness as the length of the SMD to be tested, as an open calibrator, or simply doing the open calibration while holding the clothespin slightly open. This jig should allow pretty accurate testing of SMDs. Just the tiny inductance of the 50? calibrator would need to be compensated for after the measurement. The obvious advantage of such a clothespin SMD testing jig, of course, is that the part can still be used after testing... I would prefer not using an SMD in a circuit after having soldered it to a test connector, and then desoldering it... And I hate wasting parts. |
Re: #features #nanovna-saver
#features
#nanovna-saver
Adnan,
toggle quoted message
Show quoted text
Do a search on the message forum for OCTAVE (similar to MATLAB) There is a lot of info on using it with the instrumentation library - that may be useful to you. ...Larry On Friday, February 19, 2021, 3:44:44 a.m. EST, Adnan Yousaf <adnan.yousaf@...> wrote:
Dear All, I want to use NanoVNASaver for continuously reading and storing S1.p data i.e. automating my experiments for long duration tests (few hours). Since there is no LabVIEW tool available for NanoVNA, I tried to use the Saver version v0.3.8 but with no success. Would be great if someone has already a tip or solution in this context. Best Regards Adnan |
#features #nanovna-saver
#features
#nanovna-saver
Adnan Yousaf
Dear All,
I want to use NanoVNASaver for continuously reading and storing S1.p data i.e. automating my experiments for long duration tests (few hours). Since there is no LabVIEW tool available for NanoVNA, I tried to use the Saver version v0.3.8 but with no success. Would be great if someone has already a tip or solution in this context. Best Regards Adnan |
to navigate to use esc to dismiss