Author Topic: NanoVNA Custom Software  (Read 504812 times)

0 Members and 5 Guests are viewing this topic.

Offline jspencerg

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: NanoVNA Custom Software
« Reply #1975 on: April 09, 2022, 06:41:32 pm »
Nice. Interesting progression and disappearance behavior of side peaks. How many points to that surface?   

Need to get back to practicing with mcp. I have too many study topics on my plate.  It's all interesting.

Really too bad you didn't get that ifbw functionality incorporated for the original nano. I read some discussions you'd had about similar controls for the V2. Locked out of the code :-(
 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1976 on: April 09, 2022, 07:17:34 pm »
100Hz IFBW = 60k/(15*Avg), Avg = 40.   I tried to collect three sweeps per setting. The Lite was set to 401 data points per sweep.  So the surface is made up of roughly  3*40*401 = 48k points.   

Eventually the side lobes exceed the span and appear to disappear.  Had I used a wider span we would see the images even with an IFBW set to 4kHz.

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1977 on: April 09, 2022, 10:25:12 pm »
Same 100Hz to 4kHz IFBW sweep but with a 3kHz span.   5 sweeps per IFBW step. 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1978 on: April 09, 2022, 10:44:48 pm »
Sweeping my original NanoVNA at 30Hz, 100Hz, 300Hz and 1kHz. 

Offline jspencerg

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: NanoVNA Custom Software
« Reply #1979 on: April 10, 2022, 03:14:04 pm »
Glad to see you think the original nano is still worth collecting data with (since I don't have the lite).  You should keep adding features to version that supports the original  :-)

Just noticed the Solver32.  Why 32?  Does going to 32-bit lose the speed of Solver64?

Looking at these 3-D surfaces brings memories of hand plotting free energy surfaces for phase changes.  3-D plots are trivial now...
 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1980 on: April 10, 2022, 05:47:58 pm »
Re:...keep adding features to version that supports the original  :-)
I have no plans to do anything more with devices requiring the old protocol or at least anything I will release to the public.   Of course, nothing prevents the firmware for any of these devices from being compatible with the newer protocol. 

Re: Why 32?
It's a hobby and I enjoy experimenting. 

Re:  3-D plots are trivial now...
Many things are now trivial compared with where we were even a few years ago.   Still, I wouldn't want to write a 3D plotting program in assembler. 

I thought about running a longer experiment with the Lite's IFBW where we run through more combos.  For example, if we set the bounds for the Averages to 1-40 but we also include bounds for E0 or 1-15.  This would give us 600 combinations.  Of these, we would have 276 unique IFBW settings.  This assumes Dislord's firmware works as they claim.   In other words, an IFBW of 400Hz could be achieved with Avg/E0 combinations of 10/15, 15/10, 25/6 and 30/5.  We would expect all of these would yield the exact same results based on Dislord's statements.   Of course, the lower the IFBW, the longer it will take to sweep. 

To speed things up we can limit the Average to 1-10.  This allows an IFBW between 400Hz and 60kHz, with 74 unique settings.  Shown with 2 sweeps per setting. 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1981 on: April 10, 2022, 06:01:36 pm »
Before anyone asks, the drift in the peak is real.  I don't have a calibrated beach towel over the jig and the air temperature will cause the crystal to to drift.

Wrong...

Changing the IFBW settings will change the peak's centroid.  Shown at 4kHz and 60kHz.
« Last Edit: April 10, 2022, 06:37:31 pm by joeqsmith »
 

Offline jspencerg

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: NanoVNA Custom Software
« Reply #1982 on: April 10, 2022, 08:08:13 pm »
Re: winding torroids
What was the little white jacketed coax you used when making common mode chokes,  etc?  I've seen twisted pair used in other references. I assume the coaxial has better rf behavior, yes?
 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1983 on: April 10, 2022, 08:37:19 pm »
Re: winding torroids
What was the little white jacketed coax you used when making common mode chokes,  etc?  I've seen twisted pair used in other references. I assume the coaxial has better rf behavior, yes?

Same coax from the last time you had asked.  Those transformers were characterized to 6GHz.  You can read about them in the manual or search this thread. 

https://www.eevblog.com/forum/rf-microwave/nanovna-custom-software/msg4063153/#msg4063153

Offline jspencerg

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: NanoVNA Custom Software
« Reply #1984 on: April 10, 2022, 09:24:43 pm »
Last time you referred to blue jacketed coax while the smaller stuff I saw was white. I'm thinking it was the rg188(from comparing spec's), but that does not seem right.  Because:  I have some rg316 with similar specified bend radius limit as the rg188. It seemed,  from watching video and comparing myself,  that the white coax you were wrapping was more flexible than rmin=.5".
So,  the rg188 is smallest you use?
Trivial stuff for you, but all new to me.
I am aquiring supplies to make transfer relay connections using rg400u
Thanks for the details.
 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1985 on: April 10, 2022, 10:07:34 pm »
Common sizes I use. 
 
The following users thanked this post: jspencerg

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1986 on: April 10, 2022, 10:13:57 pm »
900MHz center, 100kHz span, 2 sweeps per setting,  sweeping IFBF from 400Hz to 60kHz. 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1987 on: April 10, 2022, 10:43:07 pm »
Same setup but at 5MHz. 

Offline jspencerg

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: NanoVNA Custom Software
« Reply #1988 on: April 10, 2022, 11:58:56 pm »
Could you replace sweeps with center frequency?  Run from 5M to 900M. Still show delta f.
 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1989 on: April 11, 2022, 12:38:24 am »
Could you replace sweeps with center frequency?  Run from 5M to 900M. Still show delta f.
I think I understand.  You want to sweep the frequency with some fixed span and fixed frequency step size.  If so, yes I can do this.   However,  think about what you are suggesting.  You have not fully considered what you are asking or I am not understanding.   There's some missing details, or at least one major one...   

Offline jspencerg

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: NanoVNA Custom Software
« Reply #1990 on: April 11, 2022, 03:06:51 pm »
Just brainstorming: How would peak and lobe profile change as frequency changed?
 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1991 on: April 11, 2022, 07:53:35 pm »
Re: brainstorming: How would peak and lobe profile change as frequency changed?

Well, our ideas of brainstorming differ.  Think about it.  What causes the peaks and lobes?

Offline jspencerg

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: NanoVNA Custom Software
« Reply #1992 on: April 12, 2022, 02:53:47 pm »
Haha. Our capacities to constructively brainstorm differ by several orders of magnitude because of difference in referential knowledge.  Fancy way of referring to my ignorance.
I realized, after some thought, that even if one had a dut with adjustable frequency response, the resonance (or whatever) would likely not be the same at each frequency.  So,  that probably would not be a good experiment to investigate the measuring behavior of the VNA.
I discovered why your rg188 seemed so flexible.  The ptfe jacket makes it so.  That is some fancy wire.  I found some mil spec new old stock from 1981 for a good price.
Figuring out wire routing for the transfer relay.  Your images help.
 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1993 on: April 12, 2022, 05:02:00 pm »
Re: brainstorming

Bingo.  I already sweep the frequency with the span and I also sweep the IFBW.  Nothing there changes except we widen the span.  But to look at narrow band signals... 

We could look at the effects of IFBW on a wideband signal over some very wide freq sweep (basically look at the noise floor) but I don't think we would see anything of interest.   If I were for example to run the previous IFBW sweep using that interdigital GHz filter for example, the lobes are going to stay the same but the noise floor will change.   Even looking at the crystal filters I made is fine.  It's really just when looking at the crystals themselves or a very narrow source.

Your talking to the king of ignorance.   Mine knows no bounds and expands each day.   lol. 

If you are interested in working at these higher frequencies, cable choice is important.  RG174 while very flexible by comparison would make a poor choice.   Pasternak has most of these cables in stock and will sell it in shorter sections.  Digi-key may also carry something you could use. 

The jacket on my blue cables that I showed in many videos with the NanoVNA cracked after a few years of use.   Just too much flexing when running so many demos.

Offline jspencerg

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: NanoVNA Custom Software
« Reply #1994 on: April 12, 2022, 08:48:51 pm »
Re: cable choices.
I chose the rg400 for transfer relay connections as effort to make best setup knowing I will have minimal flex and  want great quality connection(best I can).
I'm wanting to investigate inductors, chose this high-end rg188 to minimize Impedence changes in wire with frequency.  The rg178 I have is stiff. I'll respect bend radius.
Re: Transfer relay
I read proof for using t-check to examine quality of two-port measurement(using transfer relay in my case).  More reading seems to say that most circuits are expected to be reciprocal for s12 and s21, which seems to relegate use of full 2-port measurements to checking when dut is well- behaved.  Two questions:
1. Are there any non-reciprocal dut's I could study?
2. Do you use full two-port measurements to judge quality of a dut that is supposed to be reciprocal w.re.to s12 and s21?
 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1995 on: April 12, 2022, 10:06:17 pm »
Re: questions
I had wondered why you were attempting to integrate a transfer relay.

Quote
1. Are there any non-reciprocal dut's I could study?
Yes, there are non-reciprocal DUTs.  Mixers, directional couplers, matching transformers to name a few.   You could study them from a text book and then attempt to gain a deeper understanding by experimenting with them.   You could even build your own devices.   Experimenting with a 4:1 transformer would be simple enough.   You would certainly see a difference.

Quote
2. Do you use full two-port measurements to judge quality of a dut that is supposed to be reciprocal w.re.to s12 and s21?
No.  I do use the reciprocal to judge the quality of my calibration. 

Quote
I'm wanting to investigate inductors
 
I made a video where I used the original NanoVNA to make several measurements including Ls, Cs & Rs all without a transfer relay.

Make sure you have a reason to use the transfer relay.  Adding one will only add to the error and may create problems. 
« Last Edit: April 13, 2022, 01:55:52 am by joeqsmith »
 

Offline jspencerg

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: NanoVNA Custom Software
« Reply #1996 on: April 13, 2022, 05:09:42 pm »
Thanks for suggestions. Perhaps I would not have undertaken the relay project if I'd realized limited applications.  I'm invested in getting it together and seeing how well I can do with it.

I've watched a lot of demonstrated activities using inductors. Inductors seem more interesting and varied than behaviors of capacitors. Lots of variables.

Yes, I'm trying to figure out, build and always use setups which will minimize errors.  This is a challenge I like to work on using my limited but growing electronics bench.
 

Offline joeqsmithTopic starter

  • Super Contributor
  • ***
  • Posts: 12034
  • Country: us
Re: NanoVNA Custom Software
« Reply #1997 on: April 14, 2022, 12:59:50 pm »
Re: realized limited applications

You may find your time is better spent reading than buying parts.  Trying to build something with little understanding of what you are doing or why makes little sense to me.   Then again, I rolled two custom xfer relays with zero success along with wrote some software to support them just for the fun of it. 

Most of the videos I have watched on VNAs were from CMT, Picotest, RS.  These are normally more generic.   The last one I watched prompted me to make that rebuttal video.  Recently this person commented  how their V2Plus4 uses sine wave.   It was only the bad clones using square waves.   I suggested they post here and show us some data but they pulled their comment. 

Most of the test loads I had looked at were standard purchased parts.  They come with data sheets.   I advice you to start out measuring parts that you know what their specs are before diving into the unknown.  For variables, I think it just depends how deep you want to dive in.   We had a little contest some time ago about constructing an oscillator on a breadboard for the fun of it.  I asked about when the person who started the thread considered a jumper wire an inductor, capacitor, delay line.   Some of the demos I made for the V2Plus4 were nothing more than some blank FR4 material and copper foil. 


Offline jspencerg

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: NanoVNA Custom Software
« Reply #1998 on: April 14, 2022, 04:18:02 pm »
Yes,  aquiring unnecessary stuff if a waste. I found a 30-year old oscilloscope that is way more than I need,  but it's capabilities are there when I learn and think of new ways to use it.
I thought your oscillator solution reflected your experience gained from wire wrapping work.  I'd think those constructions were often bumping against frequency limits (complications)  due to resonances,  etc.
Of course,  pursuing the simple questions can lead to elegant insights.  I'm not looking beyond getting some personal learning. 
Looking forward to your sharing more of your experiments.
 

Offline realfran

  • Regular Contributor
  • *
  • Posts: 65
  • Country: gb
Re: NanoVNA Custom Software
« Reply #1999 on: April 14, 2022, 04:26:22 pm »
Hello, for the transfer relay this datasheet help to choose the configuration of it.* Agilent-33311B-Datasheet.pdf (806.18 kB - downloaded 181 times.)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf