¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: TDR setup for NanoVNA #tdr, add electrical delay

 

Thank you, John. That makes sense to me, and if this is all correct it also explains the strange 39 vs 100 issue - I think you are saying that the display is only showing the first 39ns of the 100ns range, and that the electrical offset allows me to pan through that. (And of course this extends to corresponding values at other settings of the StopFreq.)


Re: TDR setup for NanoVNA #tdr, add electrical delay

 

On Wed, Sep 23, 2020 at 09:43 PM, Jerry Gaffke wrote:


My nanovna-H4 with 0.5.0 firmware does have a way of entering a velocity
factor
in the Transform menu, but I'm not sure what that does.
The horizontal axis is calibrated in nanoseconds, and that does not get
affected
by the velocity factor.
Jerry, when you turn the 'transform' on, the marker value display at the top right of the screen (the one in white, labeled "1:"), reads in both nsec and mm or meters, so you can read the adjusted/measured length directly there, which already accounts for the round-trip time. The length value is adjusted based on the VelocityFactor you set. It is a little weird to set, you have to type the velocity factor as a percentage (e.g. 66 or 84) and press the x1.


Re: TDR setup for NanoVNA #tdr, add electrical delay

 

Stan,
Your tmax is the maximum delay shown on one screen of the display, but the maximum delay that can be unambiguously displayed (with added Electrical Delay) is longer. At 1000MHz, 101 points, tmax is 39ns round-trip delay, but the unambiguous range is 100ns round-trip delay.
If I measure my 17.75ns delay line cable, it shows an unambiguous 35.5ns round-trip delay when measured with 2000MHz, 101 points. Electrical delay must be added to see the edge. When I measure the cable with 3000MHz, it shows a round trip of about 2.4ns (!) because of the "wrap" caused by the 33.3ns ambiguity. The ambiguity is 1/(freq step), or 33.3ns for the 30MHz step size in the 3000MHz, 101 point sweep.
(This was done on my -V2 running the ojisankoubou firmware.)
--John Gord

On Wed, Sep 23, 2020 at 07:52 PM, Stan Dye wrote:


Sorry I didn't reply again - I was on lunch break and had to go back in to
work (thankfully I can still go to work!)
As John noted, you can set the Velocity Factor: it is at the end of the
transform menu.
Another important note for TDR use, which builds on what John was saying: when
doing very high frequency measurements, there is ambiguity introduced if the
reflection delay is longer than the frequency allows.
So to do TDR on short lengths of cable, with high resolution, use a high stop
frequency.
But to do TDR on long lengths of cable, you need to use a lower stop
frequency.
For TDR, you should always leave the start frequency at 50KHz (the lowest,
which is essentially 0 compared to the stop frequency) - this makes the FFT
math work right. And you should set it to "Low Pass Impulse" for length
measurements, and "Low Pass Step" for reading impedance changes along the
cable (also shows length, but less distinctly).
Tables don't work too well here, but see if this makes sense, all at a
velocity factor of 1.0 (100 on the H4 display):

StopFreq:1500MHz gives tmax=26ns --> maxlen=3.9m or 12.8ft
StopFreq:1000MHz gives tmax=39ns --> maxlen=5.85m or 19ft
StopFreq:500MHz gives tmax=78ns --> maxlen=11.7m or 38.4ft
StopFreq:200MHz gives tmax=195ns --> maxlen=29.2m or 95.8ft
StopFreq:100MHz gives tmax=390ns --> maxlen=58.5m or 192ft

Those figures are a bit misleading, because with a lower velocity factor, the
lengths are shorter by that factor.
So when you want to measure a cable that is ~100ft long, you need to use a
StopFreq of about 100MHz to get a true reading without the ambiguity factors -
otherwise the 'pulse' doesn't have time to make it down the cable and back to
be measured.

This also means that the measurement accuracy is smaller for longer lengths
(since each measurement point is larger in time/length, corresponding to the
frequency bin being smaller). I haven't yet tried to figure out the accuracy
numbers, but I know it is within a millimeter at 1500MHz/26ns, and I suspect
it is only within several inches at 100MHz/390ns. And as for John's idea of
using the Electrical Delay: I don't know what happens if it is set longer than
the max lengths above: it will shift the window, but if used beyond the range
of the 'tmax' value, it still can't do away with the ambiguity that results
from multiple waves reflecting (when set to have a tmax shorter than the cable
length requires).

I hope some of that makes sense; don't know how well I described it.
Stan


Re: TDR setup for NanoVNA #tdr, add electrical delay

 

Stan,

Thanks for all that, it mostly makes sense.

StopFreq:100MHz gives tmax=390ns --> maxlen=58.5m or 192ft
With a stop freq of 100mhz, I do see a display that maxes out at 390 ns.
This agrees with Neil's 39/fmax formula.

390e-9 * 3e8 * 39.37/12 / 2 = 192 feet. (3e8 meters/second, 39.37 inches/meter / 12 inches/foot)
That final divide by 2 is needed because it the signal must make
a round trip to the far end of the cable and back.
That also agrees with what I'm seeing.

My nanovna-H4 with 0.5.0 firmware does have a way of entering a velocity factor
in the Transform menu, but I'm not sure what that does.
The horizontal axis is calibrated in nanoseconds, and that does not get affected
by the velocity factor.

Jerry


On Wed, Sep 23, 2020 at 07:52 PM, Stan Dye wrote:

Sorry I didn't reply again - I was on lunch break and had to go back in to
work (thankfully I can still go to work!)
As John noted, you can set the Velocity Factor: it is at the end of the
transform menu.
Another important note for TDR use, which builds on what John was saying: when
doing very high frequency measurements, there is ambiguity introduced if the
reflection delay is longer than the frequency allows.
So to do TDR on short lengths of cable, with high resolution, use a high stop
frequency.
But to do TDR on long lengths of cable, you need to use a lower stop
frequency.
For TDR, you should always leave the start frequency at 50KHz (the lowest,
which is essentially 0 compared to the stop frequency) - this makes the FFT
math work right. And you should set it to "Low Pass Impulse" for length
measurements, and "Low Pass Step" for reading impedance changes along the
cable (also shows length, but less distinctly).
Tables don't work too well here, but see if this makes sense, all at a
velocity factor of 1.0 (100 on the H4 display):

StopFreq:1500MHz gives tmax=26ns --> maxlen=3.9m or 12.8ft
StopFreq:1000MHz gives tmax=39ns --> maxlen=5.85m or 19ft
StopFreq:500MHz gives tmax=78ns --> maxlen=11.7m or 38.4ft
StopFreq:200MHz gives tmax=195ns --> maxlen=29.2m or 95.8ft
StopFreq:100MHz gives tmax=390ns --> maxlen=58.5m or 192ft

Those figures are a bit misleading, because with a lower velocity factor, the
lengths are shorter by that factor.
So when you want to measure a cable that is ~100ft long, you need to use a
StopFreq of about 100MHz to get a true reading without the ambiguity factors -
otherwise the 'pulse' doesn't have time to make it down the cable and back to
be measured.

This also means that the measurement accuracy is smaller for longer lengths
(since each measurement point is larger in time/length, corresponding to the
frequency bin being smaller). I haven't yet tried to figure out the accuracy
numbers, but I know it is within a millimeter at 1500MHz/26ns, and I suspect
it is only within several inches at 100MHz/390ns. And as for John's idea of
using the Electrical Delay: I don't know what happens if it is set longer than
the max lengths above: it will shift the window, but if used beyond the range
of the 'tmax' value, it still can't do away with the ambiguity that results
from multiple waves reflecting (when set to have a tmax shorter than the cable
length requires).

I hope some of that makes sense; don't know how well I described it.
Stan


Re: TDR setup for NanoVNA #tdr, add electrical delay

 

Sorry I didn't reply again - I was on lunch break and had to go back in to work (thankfully I can still go to work!)
As John noted, you can set the Velocity Factor: it is at the end of the transform menu.
Another important note for TDR use, which builds on what John was saying: when doing very high frequency measurements, there is ambiguity introduced if the reflection delay is longer than the frequency allows.
So to do TDR on short lengths of cable, with high resolution, use a high stop frequency.
But to do TDR on long lengths of cable, you need to use a lower stop frequency.
For TDR, you should always leave the start frequency at 50KHz (the lowest, which is essentially 0 compared to the stop frequency) - this makes the FFT math work right. And you should set it to "Low Pass Impulse" for length measurements, and "Low Pass Step" for reading impedance changes along the cable (also shows length, but less distinctly).
Tables don't work too well here, but see if this makes sense, all at a velocity factor of 1.0 (100 on the H4 display):

StopFreq:1500MHz gives tmax=26ns --> maxlen=3.9m or 12.8ft
StopFreq:1000MHz gives tmax=39ns --> maxlen=5.85m or 19ft
StopFreq:500MHz gives tmax=78ns --> maxlen=11.7m or 38.4ft
StopFreq:200MHz gives tmax=195ns --> maxlen=29.2m or 95.8ft
StopFreq:100MHz gives tmax=390ns --> maxlen=58.5m or 192ft

Those figures are a bit misleading, because with a lower velocity factor, the lengths are shorter by that factor.
So when you want to measure a cable that is ~100ft long, you need to use a StopFreq of about 100MHz to get a true reading without the ambiguity factors - otherwise the 'pulse' doesn't have time to make it down the cable and back to be measured.

This also means that the measurement accuracy is smaller for longer lengths (since each measurement point is larger in time/length, corresponding to the frequency bin being smaller). I haven't yet tried to figure out the accuracy numbers, but I know it is within a millimeter at 1500MHz/26ns, and I suspect it is only within several inches at 100MHz/390ns. And as for John's idea of using the Electrical Delay: I don't know what happens if it is set longer than the max lengths above: it will shift the window, but if used beyond the range of the 'tmax' value, it still can't do away with the ambiguity that results from multiple waves reflecting (when set to have a tmax shorter than the cable length requires).

I hope some of that makes sense; don't know how well I described it.
Stan


Re: New User - Where to find VSWR, Z, R, X and L for an Antenna?

 

On Wed, Sep 23, 2020 at 02:53 PM, Jerry Gaffke wrote:


I'll have to look over the W2AEW videos.
Though I generally prefer something printed rather
than listen to some long winded guy for 30 minutes only to realize
he was never going to talk about what I wanted to learn.
I came across the W2AEW videos long before the NanoVNA came out. They are well scripted, succint and full of good information on a wide range of interesting electronics topics. The author is a Tektronix application engineer who knows his stuff and he spends hours shooting and editing them. Like you I have watched a lot of videos that were a waste of time but this has not been the case with any I have watched.

Roger


Re: TDR setup for NanoVNA #tdr, add electrical delay

 

Thanks, I'll look for it!
Jerry

On Wed, Sep 23, 2020 at 04:49 PM, Ted Chesley wrote:


Hi Jerry, Velocity Factor is set (in ver 0.5.0) in the transform page
at the bottom


Re: New User - Where to find VSWR, Z, R, X and L for an Antenna?

 

Phil,

I'm quite happy with the stock firmware on my nanovna-H4 thus far.
If you find all the different firmware versions available to be confusing, just ignore it.
That's what I do.

If you don't have a spare computer to run nanovna-saver on,
then ignore that as well. I mostly use my nanovna standalone,
and find it to be a very useful instrument.

Once you gain experience with the nanovna and find a need to use
those other resources (newer firmware, nanovna-saver),
perhaps you will be ready to take that leap.

Jerry, KE7ER

On Wed, Sep 23, 2020 at 04:05 PM, <cracknell.pc@...> wrote:


Well thank you all for you replies and observations. Forgive me not mentioning
everyone by name.

Larry I do download stuff where I can check it for malware on pc or to some
extent linux but that is somwhat different to firmware downloads for a device
for which the av software is not native or probably able to check.

I think it was Jerry who said I could vet the source code. well :) that would
entail a deal more familiarity with the language and GitHub environment. I
have programmed and still do but I did assembly language which means C or Java
and the like leave me stone cold. So setting up an environment to recompile
the code or whatever doesn't float my boat.

With what sound like 3 different versions of firmware from the programmers
that seems more confusing as to which to use. I suppose it can be seen as a
plus in that users have choices but as a user that is NOT familiar with core
hardware design and its limitations I won't know if the firmware is trying to
do things it shouldn't. For example Extending frequency range is not just down
to a software setting.

I'll re-look at Smith Chart displays to check again what figures are displayed
but I didn't recall spotting the parameters I was seeking.

Again, I think it was Jerry talking about writing a manual vs viewing
youtubes... I agree, I prefer to be able to read and flip back and forth
through text not listen to what is often a monotone drone that then doesn't
cover what I was hoping for. Writing a manual that covers the basics and terms
used in context to what analyser does and the results it provides is some
task. I wish you well with that as I think there are many radio amateurs that
are just blackbox users that simply don't understand the tech. I include
myself in a number of areas where that would apply .... Smith Charts and VNA
being such an area.

Thanks again.
Phil


Re: New User - Where to find VSWR, Z, R, X and L for an Antenna?

 

Phil,
I have installed just about every release of firmware there is for both my H and H4 Nanovna hardware and there were no issues.?
As was mentioned, you can't brick the device as it's bootloader cannot be altered easily.? ?The DeFuSe utility used to flash the device is open-source and you can get it from GitHub or from the ST Semiconductor website.?
There are over 5000 members on this forum and most have updated to some of the most recent FW releases.?
Note that edy555's release is very stable as is hugen's (hugen79).? DiSlord's releases push the boundaries of the hardware and I an one of a number of beta testers of his FW.? To that end, I have installed an SD card slot and RTC xtal in both my units as have others.?
The best way to learn all about your new device is to play with it and by that, I mean flash newer FW into it and if you don't like it, you can go back to the original FW.? Read up on how forum members have built various types of test fixtures and have discussed testing techniques and pitfalls.?
There is a LOT of information in the 16000+ forum messages. Read up on how to use the group's.io search function (1st entry in the Wiki).?
There are several user guides mentioned in the Wiki as well as many external website links or forum members who have created their very own reference pages for the Nano.?
Enjoy
Larry


On Wed, 23 Sep 2020 at 7:05 PM, cracknell.pc@...<cracknell.pc@...> wrote: Well thank you all for you replies and observations.? Forgive me not mentioning everyone by name.

Larry I do download stuff where I can check it for malware on pc or to some extent linux but that is somwhat different to firmware downloads for a device for which the av software is not native or probably able to check.

I think it was Jerry who said I could vet the source code. well :) that would entail a deal more familiarity with the language and GitHub environment.? I have programmed and still do but I did assembly language which means C or Java and the like leave me stone cold.? So setting up an environment to recompile the code or whatever doesn't float my boat.

With what sound like 3 different versions of firmware from the programmers that seems more confusing as to which to use.? I suppose it can be seen as a plus in that users have choices but as a user that is NOT familiar with core hardware design and its limitations I won't know if the firmware is trying to do things it shouldn't.? For example Extending frequency range is not just down to a software setting.

I'll re-look at Smith Chart displays to check again what figures are displayed but I didn't recall spotting the parameters I was seeking.

Again, I think it was Jerry talking about writing a manual vs viewing youtubes... I agree, I prefer to be able to read and flip back and forth through text not listen to what is often a monotone drone that then doesn't cover what I was hoping for.? Writing a manual that covers the basics and terms used in context to what analyser does and the results it provides is some task.? I wish you well with that as I think there are many radio amateurs that are just blackbox users that simply don't understand the tech.? I include myself in a number of areas where that would apply .... Smith Charts and VNA being such an area.

Thanks again.
Phil


Re: TDR setup for NanoVNA #tdr, add electrical delay

 

Hi Jerry, Velocity Factor is set (in ver 0.5.0) in the transform page
at the bottom

-----------------------------------------From: "Jerry Gaffke via
groups.io"
To: [email protected]
Cc:
Sent: Wednesday September 23 2020 4:45:07PM
Subject: Re: [nanovna-users] TDR setup for NanoVNA #tdr, add
electrical delay

John,

I've got a nanovna-H4, Version 0.5.0, Build Feb 21, 2020
Was using the standalone Transform feature as you described in an
earlier email.

Looking over the menu structure map, I don't believe there is
any way to set the velocity factor.

Does all I want in a TDR.
Very cool.
Thanks!

Jerry, KE7ER

On Wed, Sep 23, 2020 at 03:59 PM, John Gord wrote:

>
> Jerry,
> I didn't mean to imply that one should not set the velocity factor.
I'm
> usually content with just the delay, but that is partly because I
am usually
> looking for things like cable impedance rather than fault location
on a
> particular type of cable.
> --John Gord
>

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#17662):

Links:
------
[1] /mt/76544745/4866111
/mt/76544745/4866111
/> -=-=-
Learn about the NanoVNA in the following forum areas:
Documentation Update Files: </br<></a><a href=
[2] /g/nanovna-users/wiki
/g/nanovna-users/wiki
/> -=-=-
Group Owner: [email protected]
Unsubscribe: </br<></a><a href=


Re: TDR setup for NanoVNA #tdr, add electrical delay

 

John,

I've got a nanovna-H4, Version 0.5.0, Build Feb 21, 2020
Was using the standalone Transform feature as you described in an earlier email.

Looking over the menu structure map, I don't believe there is
any way to set the velocity factor.

Does all I want in a TDR.
Very cool.
Thanks!

Jerry, KE7ER

On Wed, Sep 23, 2020 at 03:59 PM, John Gord wrote:


Jerry,
I didn't mean to imply that one should not set the velocity factor. I'm
usually content with just the delay, but that is partly because I am usually
looking for things like cable impedance rather than fault location on a
particular type of cable.
--John Gord


nanovna saver on saa-2N

 

Re-calibrating my H4 and my SAA-2N with Nano-saver and VNA-QT (VNA-QT
on the SAA-2N only), , I find an issue with using the nanoVNA-saver
with the SAA-2N that is dogging me. The saver works fine with the H4,
but when connecting to the SAA-2N, on initial connection via USB the
frequency range loads as 200-300MHz. I change it to the instrument
width (10kh to 3000Mhz, it will not sweep, returns: " ERROR during
sweep...stopped....argument out of range". Experimenting with
frequencies, I find that I can sweep and calibrate in a range of 10mhz
to 1000mhz, everything works fine, but if I either lower or raise the
frequency outside that range, I get the same out of range error.
Any suggestions would be greatly appreciated.


Re: New User - Where to find VSWR, Z, R, X and L for an Antenna?

 

Well thank you all for you replies and observations. Forgive me not mentioning everyone by name.

Larry I do download stuff where I can check it for malware on pc or to some extent linux but that is somwhat different to firmware downloads for a device for which the av software is not native or probably able to check.

I think it was Jerry who said I could vet the source code. well :) that would entail a deal more familiarity with the language and GitHub environment. I have programmed and still do but I did assembly language which means C or Java and the like leave me stone cold. So setting up an environment to recompile the code or whatever doesn't float my boat.

With what sound like 3 different versions of firmware from the programmers that seems more confusing as to which to use. I suppose it can be seen as a plus in that users have choices but as a user that is NOT familiar with core hardware design and its limitations I won't know if the firmware is trying to do things it shouldn't. For example Extending frequency range is not just down to a software setting.

I'll re-look at Smith Chart displays to check again what figures are displayed but I didn't recall spotting the parameters I was seeking.

Again, I think it was Jerry talking about writing a manual vs viewing youtubes... I agree, I prefer to be able to read and flip back and forth through text not listen to what is often a monotone drone that then doesn't cover what I was hoping for. Writing a manual that covers the basics and terms used in context to what analyser does and the results it provides is some task. I wish you well with that as I think there are many radio amateurs that are just blackbox users that simply don't understand the tech. I include myself in a number of areas where that would apply .... Smith Charts and VNA being such an area.

Thanks again.
Phil


Re: TDR setup for NanoVNA #tdr, add electrical delay

 

Jerry,
I didn't mean to imply that one should not set the velocity factor. I'm usually content with just the delay, but that is partly because I am usually looking for things like cable impedance rather than fault location on a particular type of cable.
--John Gord

On Wed, Sep 23, 2020 at 02:56 PM, Jerry Gaffke wrote:


Stan,

I was following John Gord's instructions as included in my previous email
This procedure uses the stock transform mode of the nanovna firmware,
it does not rely on any kind of special purpose TDR firmware.
There is no provision for setting a velocity factor.

Jerry, KE7ER



On Wed, Sep 23, 2020 at 02:42 PM, Stan Dye wrote:


Jerry, something is wrong here. The displayed values should show the
one-way delay, and directly read the cable length if you set the velocity
factor via the menu. How did you calibrate for this measurement, and what
frequency start/stop are you using?


Re: Should the builtin TDR mode compensate for FFT window / zero-padding losses? #tdr

 

I'd think issues like this that don't affect many users may best be addressed
in a program like nanovna-saver. There's not enough room in
the ARM flash on the nanovna for everything.

Nanovna-saver is open source, anyone really needing this $50 VNA
to perform some particular function in the same manner as their $20k Keysight
could just go ahead and hack at it.
That will likely prove easier and quicker than convincing somebody else to do it.

I would not advise pissing off coders currently working on nanovna-saver.
They do this because they enjoy doing it, and will stop when they don't.
A gentle suggestion might be ok.

Jerry, KE7ER

On Wed, Sep 23, 2020 at 03:18 PM, Larry Rothman wrote:


I might add that you need to remember, the Nanovna is an inexpensive hobby
device and although it is quite accurate in many ways, it is not a lab grade
device like R&S, Keysight, etc.
There was only so much memory space to work with at the time and the dev that
added the fft routines did a great job.
You may want to contact edy555 or DiSlord via issues in their Nanovna githubs
if you think there is something that needs attention in the firmware.

On Wed, 23 Sep 2020 at 5:46 PM, John Gord via
groups.io<johngord@...> wrote: Christian,
In the firmware (not necessarily the PC software), the "Low Pass Step" mode
appears to give correct step reflection amplitudes when the selected format is
"Real".? I tend to treat the impulse modes as "indication only".
--John Gord


Re: Should the builtin TDR mode compensate for FFT window / zero-padding losses? #tdr

 

I might add that you need to remember, the Nanovna is an inexpensive hobby device and although it is quite accurate in many ways, it is not a lab grade device like R&S, Keysight, etc.??
There was only so much memory space to work with at the time and the dev that added the fft routines did a great job.??
You may want to contact edy555 or DiSlord via issues in their Nanovna githubs if you think there is something that needs attention in the firmware.?


On Wed, 23 Sep 2020 at 5:46 PM, John Gord via groups.io<johngord@...> wrote: Christian,
In the firmware (not necessarily the PC software), the "Low Pass Step" mode appears to give correct step reflection amplitudes when the selected format is "Real".? I tend to treat the impulse modes as "indication only".
--John Gord

On Wed, Sep 23, 2020 at 12:52 PM, Christian Zietz wrote:


Hello,

please excuse if this has been discussed before ? perhaps I searched the
list archive using the wrong keywords.

Do you think that the time domain mode built into NanoVNA firmware (in my
case: hugen79's version 0.4.5) should correct the displayed amplitude for
losses in the IFFT due to windowing and zero-padding? Other VNAs do so: see
the attached files, where the same DUT ? an open-ended coax cable ? was
measured with a Rohde & Schwarz ZVA and with NanoVNA in time domain mode.

Neglecting the (very small) cable losses, the DUT presents a total reflection
and is shown as such (¡Ö 0 dB) by the R&S ZVA. In contrast, on the NanoVNA,
the peak depends on the selected mode (bandpass, lowpass impulse or lowpass
step) and on the selected window. This can be explained by looking at the
signal processing performed by the NanoVNA firmware. For example, in bandpass
mode with normal window, it applies a 101 point Kaiser window (shape factor 6)
[1] and zero-pads to do a 256 point IFFT. Therefore, the loss is
20*log10(256/sum(kaiser(101,6))) ¡Ö 14.2 dB. Actually, the peak in the
NanoVNA result (blue curve) reads as ca. -14.6 dB, which matches very well.

Imho, the firmware should correct these systematic losses that happen purely
by signal processing in order to give a result consistent to expensive VNAs.
(Keysight does the same as R&S here. [2]) But maybe this topic was already
discussed and a there was a good reason _not_ to correct the losses in
NanoVNA?

Regards
Christian

[1]

[2] Keysight's time domain app-note even states "There is also some scaling
and renormalization that takes place to ensure the value of the time domain
transform retains its physical meaning. For example, the frequency response of
the S11 of an ideal open circuit, with no delay, has a value of 1 for all
frequencies; its inverse transform is a delta function. However, when the data
is sampled and windowed, the time domain transform of the response of an open
circuit will be spread by the windowing function and does not return an
impulse of unity height. Therefore, it is necessary to renormalize to ensure
that the time domain response of the open circuit has a value of unity."


Re: TDR setup for NanoVNA #tdr, add electrical delay

 

Stan,

I was following John Gord's instructions as included in my previous email
This procedure uses the stock transform mode of the nanovna firmware,
it does not rely on any kind of special purpose TDR firmware.
There is no provision for setting a velocity factor.

Jerry, KE7ER

On Wed, Sep 23, 2020 at 02:42 PM, Stan Dye wrote:


Jerry, something is wrong here. The displayed values should show the
one-way delay, and directly read the cable length if you set the velocity
factor via the menu. How did you calibrate for this measurement, and what
frequency start/stop are you using?


Re: Transistor S parameter measurements

 

An LED wired to a JFET op amp based instrumentation amplifier with a diode detector should make a very satisfactory parasitic warning indicator.

This first batch will be thoroughly tested before connection to a VNA to ensure complete stability. But for the eventual socketed fixtures the parasitic detector makes a lot of sense. A damaged device might well become unstable during repair work.


Reg


Re: New User - Where to find VSWR, Z, R, X and L for an Antenna?

 

I'll have to look over the W2AEW videos.
Though I generally prefer something printed rather
than listen to some long winded guy for 30 minutes only to realize
he was never going to talk about what I wanted to learn.
With a pdf I can skip around, search for a keyword, copy and paste
a key passage into my notes.

Pointing somebody to the wiki is not necessarily doing them a favor.
/g/nanovna-users/message/16445

HexAndFlex is what finally got me going when I first got a nanovna:



From post /g/nanovna-users/message/16457
#####################
I'm trying to write a short concise description of a VNA that introduces
the concept of phase, impedance, and complex numbers. It isn't easy.
Which explains why most tutorials assume this stuff is already understood.
Once I get something down I'll poke around further and see if
it has been done better. Probably has, but it is a good exercise for me.
Minor details pop up when trying to explain something like this,
demonstrating that I don't quite understand it as well as I thought.
#####################


I did write something up that I think introduces s parameters and smith charts
with a minimum of pain to somebody who is not yet comfortable with complex impedances.
I certainly did learn a few things in the process, so it was worth it to me at least.
Whether it should be stuffed into an already bulging wiki, I'm not the one to ask.
But I think it is the tutorial I would have liked to find some 50 years ago.
Will post it soon, and get some feedback from the group.

Writing up my own tutorial was a lot more fun than reading all the other tutorials.
Perhaps unfortunately.

Jerry, KE7ER

On Wed, Sep 23, 2020 at 01:12 PM, Roger Need wrote:


Phil,

When you are just starting out things can seem a bit overwhelming at first.
There is no manual shipped with the product so you have to start hunting
around. The Wiki for this group has a lot of useful information. If you want
good starter videos I suggest W2AEW videos on YouTube Start with #312 >>
. Your time will be well
spent watching these.

To get you going try reading some of the info below.

User Guides >> /g/nanovna-users/wiki/12475

Test Board Tutorial >>

As you experiment with the NanoVNA you will see that the menu allows you to
change the number of traces on the display. You can also change what the
traces display like SWR, Return Loss, Resistance, Reactance etc. When you want
to measure an antenna set the frequency range that you are interested in using
the Stimulus menu option and then calibrate and save the calibration in one of
the spare slots (1-4). Then attach your antenna to CH0 and get the results. By
default you will get Return Loss in dB and a Smith Chart. You can change the
yellow trace to SWR if you want. By using the rocker switch you move the
marker along to read out the measurements at different frequencies. The Smith
Chart (green trace) will give you resistance and inductance/capacitance. All
measurements are where you made the calibration.

Roger


Re: Should the builtin TDR mode compensate for FFT window / zero-padding losses? #tdr

 

Christian,
In the firmware (not necessarily the PC software), the "Low Pass Step" mode appears to give correct step reflection amplitudes when the selected format is "Real". I tend to treat the impulse modes as "indication only".
--John Gord

On Wed, Sep 23, 2020 at 12:52 PM, Christian Zietz wrote:


Hello,

please excuse if this has been discussed before ? perhaps I searched the
list archive using the wrong keywords.

Do you think that the time domain mode built into NanoVNA firmware (in my
case: hugen79's version 0.4.5) should correct the displayed amplitude for
losses in the IFFT due to windowing and zero-padding? Other VNAs do so: see
the attached files, where the same DUT ? an open-ended coax cable ? was
measured with a Rohde & Schwarz ZVA and with NanoVNA in time domain mode.

Neglecting the (very small) cable losses, the DUT presents a total reflection
and is shown as such (¡Ö 0 dB) by the R&S ZVA. In contrast, on the NanoVNA,
the peak depends on the selected mode (bandpass, lowpass impulse or lowpass
step) and on the selected window. This can be explained by looking at the
signal processing performed by the NanoVNA firmware. For example, in bandpass
mode with normal window, it applies a 101 point Kaiser window (shape factor 6)
[1] and zero-pads to do a 256 point IFFT. Therefore, the loss is
20*log10(256/sum(kaiser(101,6))) ¡Ö 14.2 dB. Actually, the peak in the
NanoVNA result (blue curve) reads as ca. -14.6 dB, which matches very well.

Imho, the firmware should correct these systematic losses that happen purely
by signal processing in order to give a result consistent to expensive VNAs.
(Keysight does the same as R&S here. [2]) But maybe this topic was already
discussed and a there was a good reason _not_ to correct the losses in
NanoVNA?

Regards
Christian

[1]

[2] Keysight's time domain app-note even states "There is also some scaling
and renormalization that takes place to ensure the value of the time domain
transform retains its physical meaning. For example, the frequency response of
the S11 of an ideal open circuit, with no delay, has a value of 1 for all
frequencies; its inverse transform is a delta function. However, when the data
is sampled and windowed, the time domain transform of the response of an open
circuit will be spread by the windowing function and does not return an
impulse of unity height. Therefore, it is necessary to renormalize to ensure
that the time domain response of the open circuit has a value of unity."