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
Search
NanoVNA firmvare, compiled by DiSlord
#firmware
Made new topic for more easy search.
On this weekend can upload my sources an work under it Update firmware to 0.8.4.3 Remove frequency from properties data (rebuild it on load) Optimize config and properties struct (made data align, and made more compact size) New battery icon Fix calibration interpolate function near harmonic frequency change (you can see 10 Segment measure from 290MHz to 305MHz on screenshots before and after), interpolate now not need src frequency table for build. For freq in middle point calibration data from different harmonic now made extrapolate from 2 points before or 2 points after, on all other cases made interpolate. For H4 version remove frequency from properties data allow reduce calibration slot size for 201 point from 12kB to 8kB (and allow save 7 slots) For H version slot size still > 4kB (4152 byte, need reduce size on 56 bytes to 4096 for more compact save slot size 4kB) WARNING, all config and calibration will be reset to default after update Default sweep_points = 101 for both Default bandwidth = 1k Default threshold = 300MHz (on some chips possibly unstable work, in some cases need reduce it, for example my H version need 299.8MHz, H4 version can stable at 301MHz, you can see it on scan range from 295 to 305MHz if set 10 segments as bad data recive in freq near 300MHz) You can change it and save |
On Tue, Apr 21, 2020 at 01:15 PM, DiSlord wrote:
WARNING, all config and calibration will be reset to default after update Default sweep_points = 101 for both Default bandwidth = 1k Default threshold = 300MHz (on some chips possibly unstable work, in some cases need reduce it, for example my H version need 299.8MHz, H4 version can stable at 301MHz, you can see it on scan range from 295 to 305MHz if set 10 segments as bad data recive in freq near 300MHz) ============================================== DiSlord, I loaded beta 0.8.4.3 into my NanoVNA-H4. All calibrations and all 7 configurations were still preserved. I checked band 290-320 MHz and my NanoVNA-H4 display was completely unstable. I changed the threshold setting to 301 MHz and the display became stable again. NanoVNA-Saver shows a small discontinuity at 301 MHz (see attachment), but I think this is a normal cross over discontinuity for the harmonic mode. Thanks for the updated beta. I'll keep an eye out for any issues. - Herb |
Hi DiSlord,
toggle quoted message
Show quoted text
Thanks vy much for the new firmware, I flashed it into my NanoVNA-H4. I still have a small bump at 300MHz as you can see in the? attached picture, so not so good as your picture, sorry.? I used the same settings? in NanoVNA Saver (non Calibrated). I recalibrated the VNA-H4 standalone at 10k to 2.7G before. The picture is taken mat 300MHz threshold, I tried a few different settings, but no improvement. Cheers, Jos Op 21-4-2020 om 22:15 schreef DiSlord:picture Made new topic for more easy search. |
On Wed, Apr 22, 2020 at 05:46 AM, Jos Stevens wrote:
You get not bad result. Intepolate never get perfect result on different harmonic mode. Bigger freq distance at calibration point give more error (at this range use calibration point at 283.5MHz + 297MHz for freq < 300MHz and 310.5MHz 324MHz for >= 300MHz if you select 201 point, for 101 point result more bad). You can compare result vs prev firmware version. If you wont get correct result you should calibrate fore every measure distance. PS my result on this range PSS yes possible add additional calibration points near harmonic change, this allow more better interpolate, but it need more space, and more difficult in realisation |
Made calibration in NanoVNA Saver on range 290-310MHz vs 10 segments.
Got this result 1 image - NanoVNA Saver calibration on 1010 points at 290-310MHz 2 image - NanoVNA interpolate from calibration range 1-1500MHz (internal calibration) As see in both image exist step when changing harmonics And on every harmonic change this step more big (possibly measured signal lost dynamic range or non linear amplifer in audio codec) Anyway this interpolation algoritm give good result |
The SWR it displays 10.9 and it is 1.09 in reality how I modify the decimal
toggle quoted message
Show quoted text
-----Message d'origine-----
De?: [email protected] [mailto:[email protected]] De la part de DiSlord Envoyé?: 22 avril 2020 15:18 ??: [email protected] Objet?: Re: [nanovna-users] NanoVNA firmvare, compiled by DiSlord #firmware Made calibration in NanoVNA Saver on range 290-310MHz vs 10 segments. Got this result 1 image - NanoVNA Saver calibration on 1010 points at 290-310MHz 2 image - NanoVNA interpolate from calibration range 1-1500MHz (internal calibration) As see in both image exist step when changing harmonics And on every harmonic change this step more big (possibly measured signal lost dynamic range or non linear amplifer in audio codec) Anyway this interpolation algoritm give good result |
A stepwise transition when changing harmonics could be caused by non linearity in the SA612 producing internally a different level of harmonics that disturbs the real signal. As it is nonlinear it can not be calibrated out.
A way to test is a measurement that depends on a linear scale. An example is measuring a SMA tee with two 50 ohm loads connected so you get a 25 ohm load with some delay. On a calibrated nanoVNA this should look like a arc starting at pure 25ohm and circling upwards with 50ohm as centerpoint. Any non linearity will be clearly visible as the arc moves away from 25ohm circle around pure 50 ohm. -- NanoVNA Wiki: /g/nanovna-users/wiki/home NanoVNA Files: /g/nanovna-users/files Erik, PD0EK |
Aurelien Voyer
I would like to tinker duplexers with my device or I can find the other one
toggle quoted message
Show quoted text
-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de DiSlord Envoyé : 22 avril 2020 11:35 ? : [email protected] Objet : Re: [nanovna-users] NanoVNA firmvare, compiled by DiSlord #firmware On Wed, Apr 22, 2020 at 05:46 AM, Jos Stevens wrote: You get not bad result. Intepolate never get perfect result on different harmonic mode. Bigger freq distance at calibration point give more error (at this range use calibration point at 283.5MHz + 297MHz for freq < 300MHz and 310.5MHz 324MHz for >= 300MHz if you select 201 point, for 101 point result more bad). You can compare result vs prev firmware version. If you wont get correct result you should calibrate fore every measure distance. PS my result on this range PSS yes possible add additional calibration points near harmonic change, this allow more better interpolate, but it need more space, and more difficult in realisation |
On Wed, Apr 22, 2020 at 12:53 PM, <erik@...> wrote:
On screenshot i measure my test 2.0 SWR calibration load (i test it up to 4GHz on Anritsu S820d and it show ~2 in all range) I try compensate this by add L0 coefficient for Short calibrate standart in NanoVNA Saver. But need different values for every harmonic (and on smith pure SHORT calibrate standart look like arc). I not have good knowelege in this, and don`t wont change this part of code while not understand it. |
On Wed, Apr 22, 2020 at 09:53 PM, Aurelien Voyer wrote:
Hi Aurelien Voyer Please note that you did not comment on the topic, so you will not receive an answer. The forum is structured. If you are not talking about the topic you will not get an answer. If you have a new topic, first check if the search engine has already had that name and write there. If the search engine does not find a topic similar to your problem, you can open a topic with a new name. Thank you for your kind attention. I wish you a successful use of nanoVNA. 73, Gyula HA3HZ -- *** you can read more information on my website by choosing a language ( ) *** |
There is no need to change the code as it is impossible to compensate for non-linearities in a good way in the code.
You could experiment to see if reducing the drive level of the SI5351 (actually the SA612) makes a difference in the step when switching harmonics. Reducing the drive level may create other problems so it will be a careful balance anyway. -- NanoVNA Wiki: /g/nanovna-users/wiki/home NanoVNA Files: /g/nanovna-users/files Erik, PD0EK |
Hi DiSlord,
toggle quoted message
Show quoted text
I did some more testing on my NanoVNA-H4 with your? 0.8.4.3 firmware using NanoVNA-Saver and found a small square in the S11 Returnloss display at 300 MHz..... After setting the threshold from 300 to 300.9MHz it was completely gone (see my pictures attached ) ............After calibration in NanoVNA-Saver I took these pictures . The 25 Ohms pictures were taken with SMA Tee + a Female - Female adaptor (not taken into the calibration). All measurements were done with NanoVNA-Saver set to 10 Segs and the -H4 bandwidth set to 1kHz. My 50 Ohms standard measures (4 point) 49.85 Ohms at 10kHz , so I used this value for "load calibration, the parallel R measures 50.69 Ohms (4points 10kHz). My ten cents. Regards Jos ? Op 22-4-2020 om 22:34 schreef DiSlord: On Wed, Apr 22, 2020 at 12:53 PM, <erik@...> wrote:A stepwise transition when changing harmonics could be caused by non linearityOn screenshot i measure my test 2.0 SWR calibration load (i test it up to 4GHz on Anritsu S820d and it show ~2 in all range) ![]()
S11 VSWR calibration standard after calibration NanovnWA-Saver.png
![]()
S11 VSWR calibration standard parallel by 50E by Tee+f-f after calibration NanovnWA-Saver.png
![]()
R+jX calibrationstandard after calibration NanoVNA-Saver.png
![]()
R+jX calibrationstandard patalelled with 50 E via Tee+f-f Adapter after calibration NanoVNA-Saver.png
|
Hi DiSlord,
toggle quoted message
Show quoted text
Additionaly I calibrated in NanoVNA-Saver using the 50 Ohms standard including the SMA TEE + Female to female adaptor and then added the parallel 50 ohms, attached you will? find the measuring resuls. Best regards Jos Op 23-4-2020 om 15:40 schreef Jos Stevens: Hi DiSlord, ![]()
S11 R+jX measuring 25 Ohms after calibration with 50 Ohms+SMA TEE + Female to female adaptor.png
![]()
S11 VSWR measuring 25 Ohms after calibration with 50 Ohms+SMA TEE + Female to female adaptor.png
|
As i see this step not interpolation problem (add extrapolate near harmonic change - give very good result. Before used last or first point for current harmonic and only for 300MHz.)
Also i think need set default 'threshold' to 301MHz for H4 (on my H4 i don`t see any problems in any threshold range from 250 to 304MHz) it give better result for si5351 PLL change (all my test then i align band freq range, i made on this value) PS i wont rewrite button UI and try add microSD card for screenshots and data save. Also need upload fixes to my repo, but it need a lot of my time :(. |
On Thu, Apr 23, 2020 at 11:38 AM, DiSlord wrote:
... Also i think need set default 'threshold' to 301MHz for H4 (on my H4 i don`t see any problems in any threshold range from 250 to 304MHz) it give better result for si5351 PLL change (all my test then i align band freq range, i made on this value) ... =================================== Dislord, I also needed to set the default "threshold" to 301 MHz for my H4. With a default threshold of 300 MHz my display looked like the attached when sweeping from 290 - 320 MHz. After changing the threshold setting to 301 MHz, the display became stable again with a slight discontinuity at 301 MHz. An inexperienced user would not understand what was happening if their display looked like the attached while sweeping a narrow band centered at 300 MHz. They also might not be computer literate enough to use the "threshold" command from a computer terminal to fix it. Would it be possible to add a CONFIG-THRESHOLD menu to allow changing the threshold frequency with using a computer terminal? Exciting to hear you are considering supporting the microSD card option on the H4 for screenshot and waveform storage. - Herb |
Hello DiSlord,
Thank you very much for your good improvement of the nanoVNA firmware (0.8.4.3) I have tried the "threshold" setting, was Herb found out. With "threshold" 300 MHz is not so caotic as I have seen on Herbs screen shot, but a "threshold of 301 MHz works also better in my case. See the attached screen shots: nanoVNA_DiSlord-0.8.4.3_Threshols-300.png nanoVNA_DiSlord-0.8.4.3_Threshols-301.png 73, Rudi DL5FA |
Hi Herb,
toggle quoted message
Show quoted text
My display @ 300 MHz threshold was not as bad as yours,? @ 300.8 MHz slightly better than @ 300 MHz (I can say ideal after calibration and then re-measuring the calibration standard). Jos Op 23-4-2020 om 22:47 schreef hwalker: On Thu, Apr 23, 2020 at 11:38 AM, DiSlord wrote: |
I have had no luck with 0.8.4.3 on my H4. The displayed charts are seemingly random and varying on each sweep. When I first connected NanoVNASaver I got an error, see first attached file. Second file is the S11 charts on NanoVNASaver default sweep (50KHz - 900MHz). This was after clearing all configs and calibrations which had no effect. Finally in the third attachment is the S11 charts after revert to edy555 0.5.0 (Feb 21) and without any config or recalibration yet. With new firmware I cannot calibrate.
Peter |
On Fri, Apr 24, 2020 at 12:46 PM, Peter Finch wrote:
.... I have had no luck with 0.8.4.3 on my H4. The displayed charts are seemingly random and varying on each sweep. ..... ============================================ Peter, Is it only from NanoVNA-Saver that you are having issues with the 0.8.4.3 beta or are you experiencing the same issues in the stand-alone (non-PC attached) mode? Which version of NanoVNA-Saver are you running? Also edy555 has not released a firmware version for the -H4. I believe you meant you reverted to the hugen NanoVNA-H4_20200221 release. - Herb |
On Fri, Apr 24, 2020 at 12:46 PM, Peter Finch wrote:
Strange, it possible from high i2c bus speed? I try slowdown it Also set default threshold to 301MHz Try this firmware variant (also after update try 'clearconfig 1234') |
to navigate to use esc to dismiss