-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Noise improvements. #14
Comments
regarding to LED 2, NanoVNA-Q disable it during sweep cycle to avoid noise: https://github.com/qrp73/NanoVNA-Q/releases so, there is no need to desolder something. You can just change firmware. |
Not really so. BTW, even if I seen that in the latest versions the LED 2 is apparently off during the scan, using a DSO on the limiting resistor pad, I always see some voltage spikes of few ms in duration there. For these reasons I removed that resistor and the noise above 900MHz dropped a lot, despite I already downloaded the latest version of NanoVNA-Q. My current mods consist on:
Doing the above, after a correct calibration, I get a Smith chart plot with just a little noisy plot of 2/3mm above 1.3GHz, making the instrument well usable in the HAM radio 23 cm band for antennas and filters checkings. Have a great day. Massimo |
No, it performs PLL reset at the beginning of sweep. So, any voltage fluctuations outside sweep time doesn't matter. NanoVNA-Q has 10 ms stabilization delay after LED off, before it starts sweep. And NanoVNA-Q don't blink with LED at all until end of sweep. |
At this point I don't really know why I seen that sensible improvement after having removed R3. Anyways, I'm sure that I also seen some glitches during the sweep. Let me return to home because now I'm in office and I can't check it one more time until I'll be back to home. |
You're seen it, because used firmware which uses LED blinking during sweep. NanoVNA-Q firmware disables LED during sweep and don't blink until the end of sweep. |
No, I'm not sure that I seen it with V0.4.3 indeed, but I'm sure that I seen it with your V 0.4.2, and (if I'm not wrong) that function should have been already done. One doubt: |
Hi qrp73. Thank you for sharing your work about this nice device. |
Noise problems introduced by USB connection I will use the new power chip in NanoVNA-H V3.4 to improve this problem. I will try to increase the capacitance of the si5351 to reduce noise. The problem of LED flicker noise can be improved by software. If you prefer, you can send your address to my email at hugen@outlook.com and I will send you the modified PCB. Thank you! |
hi hugen79, Since I had 6 nanoVNA on the table (only one was mine, the others were owned by friends of my local radio-club, I'm not a collector :-) of course), I believe I missed to update one and probably I did the check on that one, because I well remember how the noise dropped down after having removed R3. Anyways your nanoVNA-H 3.4 PCB is surely well accepted, I 'm curious to know how it is handled the new power chip. By the way, do you know from where it cames the R40, C45 and C46 network configuration? I'll send you a direct e-mail for the 3.4 PCB. Have a great day. Massimo |
The specifications of r40, c45, and c46 are from the data sheet of Ip5303. The series r40 and c45 are used to ensure the loop stability of ip5303. However, when an external USB power supply is connected, the MOSFET inside the ip5303 turns on and uses an external USB power supply, causing external interference to enter the power supply. For the new PCB, I will use the FM9688, a power chip widely used in Bluetooth headset chargers in China. The chip charging circuit and DC-DC circuit work independently, and the external circuit is simple and easy to install on the nanoVNA PCB. on. |
Hi hugen79,
I'm not sure the noise come from the USB line, I suppose is something due to the pulsed current into the battery during the charging process, because if you remove the battery and leave the USB power alone the noise is no longer there. For this reason I thought to put a MOSFET based switch between the battery and the Ip5303. |
According to my tests, this is not external interference. You can apply very clean external power (with no noise), but anyway it will be noisy. Also it is not related with cable, because there is no noise when usb cable is connected, but external voltage is not supplied. I think the root of cause may be the following:
|
The difference in voltage will cause the gain of the sa612 to differ, resulting in errors. Maybe a separate charge pump can further reduce the noise, and I will do some tests. |
I perfectly agree with qrp73 when he wrote:
In my opinion the problem is in the charging current pulses coming from the USB supply that produces inevitable little voltage spikes on the battery, since the voltage of the battery influences the calibration, in my opinion it's clear that those spikes are the cause of the performance deterioration. I don't know if FM9688 will fix the issue, for doing that it should have two different switching mode PSU inside: one step-up for driving the load and one step-down for charging the battery; they should have very different PWM frequency to allow the step-up to be more reactive to the battery voltage changing caused by the lower frequency step-down charger. Have a great day. Massimo |
I tried to replace the XC6206 with an ultra-low noise LDO RT9193, and I found that the noise has dropped. I will make a PCB test. |
Nice one. If it's confirmed the "thorn in the side" of the instrument is the clock generator, since the mixers are not powered from the 3.3V regulator. |
Sorry, I made a mistake. Due to my wrong connection to the RT9193 pin, the actual output voltage of the LDO rises to 3.6V, and the performance improvement is due to the voltage rise. But this gave me a new idea to improve performance, I am making new attempts. |
qrp73/NanoVNA-Q#13 (comment) |
Thanks for your feedback, I will modify the schematic in v3.4. |
Hi hugen79,
Don't worry: :-) I would have here the mosfets and tell you if the patch works for the USB powering. For the 7.5/6.5Mhz peak issue: |
Hi coralenka In the meantime, I just received the MOSFETs and checked the USB switcher and it works good, but above 1.3GHz as per the battery powered mode the noise is still there. The mod consists of place on a small piece of proto-board (3 by 2 pads) an AO3401 P-channel MOSFET as follows: |
HiI made no mod to my device yet
Trimis din Yahoo Mail pe Android
Pe joi, nov. 14, 2019 la 0:45, Pmax65<notifications@github.com> a scris:
Hi coralenka
Fantastic plots, how do you get them so noise-free up to 1.5GHz?
In the meantime, I just received the MOSFETs and checked the USB switcher and it works good, but above 1.3GHz as per the battery powered mode the noise is still there.
The mod consists of place on a small piece of proto-board (3 by 2 pads) an AO3401 P-channel MOSFET as follows:
DRAIN connected to the positive wire of the battery
SOURCE connected to the PCB positive battery pad
GATE connected to the ANODE of one 1N4148W diode and a 10kohm resistor (both on the little piece of proto-board).
The diode CATHODE is connected through a short wire to U3pin3, while the other pad of the 10kohm resistor is connected through a short wire to U2pin1.
Doing that circuitry, the battery charges only when the nanoVNA is not powered but the USB plug is connected to a current source.
When the nanoVNA is powered on, the battery is disconnected and the noise is as in the plots attached below.
Have a great day.
Massimo
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi coralenka, |
Yes the battery is attached and at the same time the device is connected to the computer...I use the hardware version 0.4.0-273 de YO4AUL
Trimis din Yahoo Mail pe Android
Pe joi, nov. 14, 2019 la 15:14, Pmax65<notifications@github.com> a scris:
I made no mod to my device yet
Hi coralenka,
interesting.
Has your nanoVNA the battery installed?
I ask because when attached to the USB port, I experienced a great increase in noise bove 900MHz in all the 3 hardware versions I checked.
Your seems incredibly quiet even when attached to the PC.
Have a great day.
Massimo
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi coralenka,, |
This is my device
Trimis din Yahoo Mail pe Android
Pe joi, nov. 14, 2019 la 20:12, Pmax65<notifications@github.com> a scris:
Hi coralenka,,
it's gorgeous.
Could you publish a photo of the nanoVNA?
Have a great day.
Massimo
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
HI coralenka, |
This is my device
Trimis din Yahoo Mail pe Android
Pe vin., nov. 15, 2019 la 1:02, Pmax65<notifications@github.com> a scris:
HI coralenka,
I'm not sure, did you send anything about how it looks your nanoVNA?
I can't see anything.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
It seems there is something wrong in the file handling because I can't see anything. |
Hello Massimo, thank you for your suggestion. hugen |
Hi Hugen, By the way, since the space in the board is not that narrow, couldn't you use 0603 components? Have a great day. Massimo |
Hello Massimo, after canceling R13, the output power of CH0 is increased by 10dB. If the input attenuation of CH1 is not increased, the signal input to CH1 will exceed the effective dynamic of U8. hugen |
Hi Hugen,
yes, I didn't look at that (I had just looked at the CH1 background noise) and you are right.
As said, I was joking of course :-D Have a great day. Massimo |
Hi qrp73, Instead using R13 = 0ohm the changes on the bridge input (R10/R11 joint, which change from 924mV to 1.24V) are well reflected at the reference mixer input (66.4mV to 49.4mV). Have a great day. Massimo |
Hi Hugen. About V3.4.2 CH1 Zin, as expected, it improves even if only a little: Have a great day. Massimo |
Hi Hugen, Have a great day. Massimo |
You are right, I will update, thank you! hugen |
Hello Pmax65, I have already made a PCB for V3.4, and send your shipping address to my email: hugen@outlook.com, and I will send you a new version of NanoVNA-H. hugen |
Hello Qrp73, I have already made a PCB for V3.4, and send your shipping address to my email: hugen@outlook.com, and I will send you a new version of NanoVNA-H. hugen |
Hi Hugen,
I just realized that you sent the message below to me instead of sending it to
Qrp73.
Check if you already sent it to him too
…---
New Outlook Express and Windows Live Mail replacement - get it here:
https://www.oeclassic.com/
.
Have a great day.
Massimo
----- Original Message -----
From: hugen79 <notifications@github.com>
Reply-To: hugen79/NanoVNA-H
<reply@reply.github.com>
To: hugen79/NanoVNA-H <NanoVNA-H@noreply.github.com>
Cc: Pmax65 <mporzio@teletu.it>, Author <author@noreply.github.com>
Sent: 26/12/2019 09:36:21
Subject: Re: [hugen79/NanoVNA-H] Noise improvements. (#14)
the root of cause for spikes at 300, 600, ... MHz in the latest firmware is
incorrect behavior of si5351 control code. This error is not hardware. It is
completely software due to mistake. The driver for si5351 needs to be rewritten
in order to fix that.
But it's not so critical, because this issue happens when frequency point is 5 kHz away or more close to frequency boundary (300 / 600 / 900 / 1200 / 1500 MHz)
Hello Qrp73, I have already made a PCB for V3.4, and send your shipping address to my email: hugen@outlook.com, and I will send you a new version of NanoVNA-H.
hugen
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Virus-free. www.avg.com
|
Hi Hugen,
I discovered a new issue that probably could be solved (or at least reduced)
via firmware modification.
Attached to this message you can see an image of the analysis of the VHF port
of one of my VHF/UHF duplexer.
The black plots are from my HP8711A VNA, while the red plot is the nanoVNA S21
and the blue plot is the nanoVNa S11.
While the S11 mismatching
isn't a real issue because my HP8711A was calibrated using a N connectors calibration kit, and that easily justify the discrepancy at the lower frequency.
The S21 has a clear problem at the 300MHz band-switch crossover point.
Analyzing the spectrum of the nanoVNA CH0 output set to a CW frequency at 310, 312 and 315MHz, I discovered a series of sub-carriers around the 3rd harmonic fundamentals at respectively 103.333MHz, 104MHz and 105MHz which could justify that noise excess between 300 and 600MHz because those sub-carriers have themselves sub-carriers shifted exactly 5kHz from their carrier which fit the nanoVNA IF.
Since those sub-carrier are shifted from the fundamental of a frequency that it is equal to the difference of the 5th harmonics fundamental and a multiple of 8MHz which is the MCU clock, I tried to smooth the 8MHz output with a capacitor, but despite it changed from a square-wave to a triangle one, the issue doesn't
improve. It improved, matching the HP8711A between 300MHz and 384MHz, when I
inserted a 10dB attenuator on the CH1 input (probably because the +3dBm CH0
output is still a little too high for the CH1 3rd IP), but there still was a
Gaussian shaped noise between 384MHz and 528MHz that peaked at 450MHz.
I suspect that this is a cross-talk of the outputs buffers inside the Si5351.
Since the Si5351 allow the spread spectrum on any single output, I would like
to know if you could compile a special version of your firmware with the spread
spectrum activated on output 2 set to the maximum spread (+/-1.5% in center
spread mode).
It's just a check, so it shouldn't be a new release of the firmware for the
moment.
Have a great day.
Massimo
…---
New Outlook Express and Windows Live Mail replacement - get it here:
https://www.oeclassic.com/
|
Hoops!
Sorry I missed to attache the image to my previous message.
…---
New Outlook Express and Windows Live Mail replacement - get it here:
https://www.oeclassic.com/
|
I missed one more point (sorry).
In case you can supply me a version of the FW with the spread spectrum enabled
on output 2, and the ouput current wasn't already set to the minimum, it would be better if the 8MHz output 2 was set to the minimum current (2mA) of course.
…---
New Outlook Express and Windows Live Mail replacement - get it here:
https://www.oeclassic.com/
Massimo
|
Sorry, I still don't see the picture, you can use the "power 0" command to set the output power of the si5351 to 2mA. hugen |
Hi Hugen,
I sent the picture again attached to this message in pdf format.
Your wrote "you can use the "power
0" command to set the output power of the si5351 to 2mA."
I need to reduce the current only from from Si5351 output 2, which is the 8MHz
MCU clock, is that command available for output 2 too?
Anyways I gone ahead and I reduced that noise down to -40dB from the carrier
just installing the 150 ohms resistor (ex R13) in place of C12, and in place of
R13 I had put a 10uF X7R capacitor, doing that the cross-talk reduced a lot.
It seems to be a know issue for the Si5351 I found some people arguing about
that into an Arduino SDR blog. It seems that it is all due to the maximum
current allowed to the chip, in case it exceed 5.6mA per output a cross-talk
happens in the form of jitter on the output signal.
Have a great day.
Massimo
…---
New Outlook Express and Windows Live Mail replacement - get it here:
https://www.oeclassic.com/
----- Original Message -----
From: hugen79 <notifications@github.com>
Reply-To: hugen79/NanoVNA-H
<reply@reply.github.com>
To: hugen79/NanoVNA-H <NanoVNA-H@noreply.github.com>
Cc: Pmax65 <mporzio@teletu.it>, Author <author@noreply.github.com>
Sent: 30/12/2019 12:42:03
Subject: Re: [hugen79/NanoVNA-H] Noise improvements. (#14)
I missed one more point (sorry). In case you can supply me a version of the FW
with the spread spectrum enabled on output 2, and the ouput current
wasn't already set to the minimum, it would be better if the 8MHz output 2 was set to the minimum current (2mA) of course.
…
--- New Outlook Express and Windows Live Mail replacement - get it here: https://www.oeclassic.com/ Massimo
Sorry, I still don't
see the picture, you can use the "power 0" command to set the output power of
the si5351 to 2mA.
hugen
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Virus-free. www.avg.com
|
Hi Hugen, I would like to see if enabling the spread spectrum on the Si5351 output 2 the situation improves or not. Happy New Year again, Massimo |
Hello Massimo, Only Si5351's PLLA allows the use of spread spectrum, so I have no way to enable the spread spectrum of CLK2. But my new NanoVNA-H4 is equipped with a separate 8M crystal resonator, so I can turn off the CLK2 of Si5351 on my new NanoVNA-H4, but the measurement results have not improved. hugen |
Hi Hugen. In the past month I already did some tests matching the mixers input Z for the best power transfer, but unexpectedly I got less dynamic from the CH1 port. In fact I had a lot of non-thermal noisy background along the whole 10kHz/1.5GHz spectrum. Probably the mixers went more sensitive receiving the various clock harmonics of the MCU and DSP whic probably are "unlistened" with the mixer input Z mismatched. Honestly the nanoVNA is a great instrument anyway as it is. All my HAM-radio friend already get back their modified one and had experienced positive results using it for antenna tuning, which was the main reason they asked me to get it working at the 23cm band, where it was very noisy before. Massimo Massimo |
Hi Hugen, For this reason I suggest you to change those components in the next production batch, Returning instead to the low pass filter in baseband with stop band in the harmonics bands issue: I see that in nanoVNA-H4 you placed R49 and R50 to select the crystal or the Si5351, but I have a doubt about your previous check. Have a great day. Massimo |
Hello Massimo, if you restore R13 to 150 ohms, CH0 cannot measure to 1.5GHz. I have carried out some new tests on the impedance of CH1, and I will also perform new tests as you suggest. You can refer to this link to install the IDE, pay attention to using GCC 8. Comment out line 30 of nanovna.h of the F303 branch to turn off the clk2 output of NanoVNA-H4. hugen |
Hi Hugen,
Really? I was talking with R13 placed between C12 and R14 as per the 3.4 schematic of course. Anyway, I don't suggest to modify those resistors until the next production batch, because the current advantage is of few dB in the range between 300 and 380MHz. Have a great day. Massimo |
Hi Hugen, please tell me where you can see the last version of the circuit - REV: 3.4? I apologize if I am not accurate in words, I live in Russia and unfortunately do not know English, so I have to use a translator. Dmitry |
Hi Dmitry, Attached to this message you can find my docs to apply the modifications. Revision 1.0 is for make versions before 3.4 more or less similar to 3.4 (the pcb and the change of the dc-dc converter in version 3.4 make it different, but the performance are very little better). NanoVNA Rev. 3.0 Mods.1.0.pdf Have a great day. Massimo IK1IZA |
Hi Massimo, thanks for helping me, I am happy to follow your experiments to improve the analyzer. Dmitriy |
I improved the noise adding few caps to the Silicon Labs clock generator chip and now the standalone instrument is fully working up to 1.5GHz with only a very little residual noise above 1.4GHz that it is appreciable in the Smith chart only.
I still have some issue with the PC communication because of the battery charger that disturbs the clock. I already thought a solution for this too, but I'm waiting for the sot23 P-MOSfet, to check if it works as thought. Once I fixed it I'll publish the "how to" of the whole hardware fixing.
In the meantime I have a couple of desiderata to your code.
Have a great day.
Massimo
The text was updated successfully, but these errors were encountered: