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
Re: Pitfalls of measuring components with the NanoVNA
#measurement
I did not, but it is designed to measure the Q of resonant circuits, where the Q is normally defined by the L. So trying to measure the capacitor's Q using this principle leads to get the Q of the L component. My Philips PM6303 RCL meter also measures Q, but according to the tests (and the manufacturer) it is limited to Q < 500.
toggle quoted message
Show quoted text
I just tried with a very high quality 2000 pF 0.5% silver-mica capacitor and both Q and D indicates out of range. It looks like measuring the Q of high quality capacitors could be very difficult, even at single frequencies. Ignacio, EB4APL El 23/03/2021 a las 14:46, n2msqrp escribi¨®:
Speaking of Q measurements has anyone tried this EDN design: > > <> > > Mike N2MS --
El software de antivirus Avast ha analizado este correo electr¨®nico en busca de virus. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Another fairly crude form of verification would be to place a large resistorYes, that should be a good test. Also, itThe question is whether the ESR in a cap stays constant over frequency. Surely not! So even if I could measure its Q at 200MHz, that says alittle about its Q at 7MHz, which is the frequency at which I would more like use 470pF capacitors. It's relatively easy to build an ESR meter that simply measures resistance at a frequency high enough to make the reactance small compared to resistance. It can be designed like a VNA optimized for very low impedances. But it's of little use, except for bypass and coupling capacitors. Also, try andThat won't happen... I'm living in the woods, locked up (and down) due to COVID, and anyway in my country there aren't a lot of places using advanced modern electronic instrumemtation! Obviously, I'd expect the lab VNA to have the edge over the nanoVNA here.Me too. Well, the point is finding out how to get the most from the NanoVNA. And having fun with it! |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Speaking of Q measurements has anyone tried this EDN design:
toggle quoted message
Show quoted text
<> Mike N2MS On 03/23/2021 9:08 AM Jim Lux <jim@...> wrote: |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
On 3/22/21 7:58 PM, Roger Need via groups.io wrote:
I spent the afternoon building a spreadsheet to calculate the reflection coefficient and phase angle required for different values of reactance and capacitance. It was quite interesting to test different scenarios. You should really be looking at the I/Q uncertainty (R and X) rather than mag and phase.? The VNA directly measures I and Q, which is then converted to reflection coefficient with sqrt and atan.? For "small" random uncertainties in I/Q on a vector, the uncertainty in magnitude and angle (in radians) are comparable. This is comparable to the "small angle approximation for sin(x) = x. Think of a vector with a "cloud" of measurement points around the tip of the vector - the noise on I and the noise on Q are comparable, and as long as noise is "small" compared to magnitude, that cloud is pretty symmetrical in shape. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
On 3/22/21 8:52 AM, Manfred Mornhinweg wrote:
Manfred's plots of the 2000pF 'Hi Q' capacitor (on the EFHW transformerEverything is possible. But I do think that the main cause of the Q inaccuracy is the limits of the NanoVNA. It's just very hard to measure a very small resistance when it's in series with a very much larger reactance. The typical way to look at this in terms of the math is to look at the I/Q precision (since that gets all the ugliness of the arctangent out of the way).? A Q of 1000 implies that the ratio between the I/Q components is 1000:1.?? The real chore, as you point out, is the precision of the I term. If your measurement uncertainty is, in absolute terms, say, 0.1 unit. And you measure 1000 units for Q and 1 unit for I, the 10% uncertainty in I dominates over the 0.01% uncertainty in Q.?? In this example, the Q measurement would have 10% error bars. So, while the NanoVNA can get, 70-80 dB SNR (1 part in 3000 to 1 part in 10,000), that's only true when measuring a big signal (that is, S is big, because N is constant) There's also the problem of getting from the raw measurement precision to the final result precision.? The calibration terms are derived from measurements with their own uncertainties. I don't see an easy way to solve this problem.? Sure, one could put a very carefully measured resistance in series, but that just rotates the I/Q, and you're still stuck with measuring small resistances.?? LCR meters solve this by using a much higher precision measurement tool (i.e. they use a lot more bits).? Yes, you could average a lot of NanoVNA measurements, but averaging only improves the uncertainty as sqrt(N) - 100 measurements gets you a factor of 10 improvement, and that's assuming that the system is stable over that time, and that there are no biases or other sources of randomness. It's like averaging the results from a counter. If the Allan deviation of the signal or reference is big enough, it doesn't help. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Here's a Q plot of an ancient Philips 470pF poly capacitor from about 1MHz to 20MHz. I measured it on a regular Agilent VNA and then on the little nanovna. Both VNAs use a basic SMA mechanical calibration kit.
This capacitor is fairly grim in terms of Q especially above 5MHz. However, I thought it would be interesting to measure. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
I spent the afternoon building a spreadsheet to calculate the reflection coefficient and phase angle required for different values of reactance and capacitance. It was quite interesting to test different scenarios.
The reactance of a 470 pF capacitor at 3.4 MHz. is 100 ohms. If the measured ESR at this frequency was 0.2 ohms the Q would be 500. If the ESR measured was 0.4 ohms the Q would be 250. The reflection coefficient and phase angle for the Q = 500 case would be .9984 and 53.12996 degrees. For Q=250 the reflection coefficient and phase angle are .99681 and 53.12952. The difference between the two is .00159 and .00044 degrees. A graph showing the calculated resistance with these reflection coefficients and angles is attached. One can see that even a slight error in measurement drastically affects the R calculated so it is not possible to measure high Q capacitors with a NanoVNA using the S11 method. However if we have a low resistance and vary the frequency the capacitive reactance can be calculated with reasonable accuracy because the reflection coefficient and phase angle change must faster than the case above. See the attached graph for an illustration. This is why earlier plots of calculated capacitance were quite close to what is expected for the DUT. Roger |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Another fairly crude form of verification would be to place a large resistor in parallel with the cap and see if the Q curve changes as expected. Also, it would be worthwhile extending the frequency range. Maybe test up to 50MHz to see how the VNA copes with a decent 470pF ceramic cap up at VHF. Also, try and find someone who will let you play with a decent (fairly modern) lab VNA to compare results. Obviously, I'd expect the lab VNA to have the edge over the nanoVNA here.
|
Re: Pitfalls of measuring components with the NanoVNA
#measurement
On Fri, Feb 19, 2021 at 09:42 AM, Manfred Mornhinweg wrote:
Hi, I can't find your jig. Could yo re-publish? Thank you, larry |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
The reflection coefficient phase angle should hardly change at all with the big change in Q of the 470pF cap from 300 to 3000 at 10MHz. It will change a tiny, tiny fraction of a degree. That's why I said it doesn't really change. Are you sure you are calculating for the the reflection coefficient? This is what the nanovna bridge measures.
One test to see how valid a measurement of Q was would be to measure the Q vs frequency of a single high Q capacitor and then measure the Q vs frequency of two identical caps in series. Obviously the connections need to be tight but I think the Q curves should be the same. If this happens then it adds confidence to the measurement. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
The point I'm trying to make is that the -112deg phase measurement doesn'tWell, it does change! I just did the maths. But I have to concede that the phase change seems to be less important than the amplitude change. The nanoVNA just has to beNo, it also needs the amplitude! When the amplitude changes while the phase stays constant, the part has a different capacitance and of course also a different resistance. We really always need to consider the vectorial value - that's why the thing is called a VECTOR network analyzer, after all! I was horrified a while ago when I looked for online reflection coefficient calculators, and found several that consider impedance to be a scalar value!!!! Fortunately there are also some that correctly take impedance as a vector, and allow to enter both dimensions of it. And then of course the NanoVNA needs the calibration values, to remove the line length effect and other minor things. After all, a bare bones pure capacitor causes a -90¡ã reflection, but the line length can turn this into anything, such as your -112¡ã. What the NAnoVNA does, for S11 based measurements, is placing the part under test plus some line length in a 50? resistance bridge, feeding a test signal into it, running two direct conversion receivers, one for the driving signal and one for the bridge imbalance signal, digitize the two audio outputs from the receivers, and then process that digital data. It can basically measure three things: Reference amplitude, imbalance amplitude, and the phase difference between the two signals. Everything has to be derived from this. I trust that the maths used in the software are correct, but the results are bound to the linearity, stability and noise of those circuits. When we connect a capacitor, the imbalance of the bridge is very large, so both the reference and the imbalance signals are large, and should be easy to measure. But the phase difference, which contains not just the noise of the mixers and ADC but also the phase noise of the oscillators, might be harder to measure accurately. That's what I meant in my post Whether or not I'm right, is of course a different matter... I cannot be the judge on that. Anyway, regardless of whether the phase or the amplitude is more critical in any given case, I think we agree on the fact that the NanoVNA's accuracy and/or resolution in measuring them is insufficient for directly measuring the Q of high quality capacitors. Which is a pity, but fully expected, and shared with many much more expensive instruments. When I bought the NanoVNA, I expected far less measuring range than it actually has, so I'm still happy with it, even if it cannot plot the Q of a good capacitor over frequency, with reasonable accuracy! Manfred |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Absolutely, you do have to be able to measure the angle of the reflection coefficient otherwise you wouldn't know it was a 470pF cap. But measuring this angle is very easy for the nanovna. The hard bit is measuring the magnitude of the reflection coefficient. From a mag / angle measurement of 0.999 / -112deg it is possible to compute the Q of the 470pF cap at 10MHz.
The point I'm trying to make is that the -112deg phase measurement doesn't really change if you could magically alter the Q of the 470pF cap across a Q of 300 to 3000 as it was being measured on the VNA. The nanoVNA just has to be able to measure something like -112deg at 10MHz to let you know that it is a 470pF capacitor at 10MHz. It's the 0.999 'mag' number that changes with the change in Q. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
I prefer to think in terms of amplitude and phase, R and X, rather than in reflection coefficient. Anyway, to measure the Q of a component it's necessary to measure both its reactance and resistance, or at least the ratio between the two. I don't see how a VNA could directly measure the ratio, since there is no tap between the R and X parts of a component! So the VNA needs to measure a two-dimensional value, like amplitude and phase.
Rather than delving deeper into VNA theory, which is not yet one of my strengths, I want to report about my next test: I tried to measure a capacitor in series with a crystal. Attached are the clean impedance plot of the crystal alone, and of the crsytal plus capacitor in series. The crystal is a common cheap 10MHz microprocessor clock crystal, while the capacitor is the same as before, the 470pF 1% dipped silver mica. Assuming that the small difference in impedance at the lowest point is the ESR of the capacitor at 10MHz, simple maths tell that the capacitor has a Q of 160 at 10MHz. Hardly credible. Is my logic wrong, or are all my mica capacitors bad? I tried several other 470pF capacitors in series with the crystal. Supposedly high Q ones like polystyrene, also NP0 ones. The result was interesting: In each case I got either the same Q value as for the mica capacitor, or an infinite Q! Which of the two values I got depended more on contact pressure than on capacitor type. Clearly it seems that the NanoVNA's resolution is insufficient for this kind of measurement, even using the crystal in series. And of course contact resistance is important. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
I do think it's more intuitive in this case to think in terms of the ability to measure the magnitude of the reflection coefficient rather than looking at resistance and reactance.
For example, at 100kHz a 485pF capacitor with ESR 0.58R, -3282R reactance might appear (to some) to be still within in the reaches of the nanovna as the Xc and ESR numbers don't look that scary at first glance. But if you look at the reflection coefficient it is about mag 0.9999946. It would be pointless to even think about trying to use the nanoVNA (or a regular lab VNA) to measure this reflection coefficient. As I mentioned earlier, a fairly good VNA will begin to struggle above a reflection coefficient of mag 0.998. Across the HF band a really good lab VNA can often measure to 0.9995 but the result will be getting quite jagged and noisy. See below for a plot of a 100k chip resistor taken with my nanoVNA. The VSWR will be 100,000/50 = 2000. The mag r will be (2000-1)/(2000+1) = 0.999 You can see that my nanoVNA is really struggling to measure the 100k resistor across LF to 20MHz as the trace is quite jagged. This measurement of mag r = 0.999 probably represents an indication of the upper limit for the magnitude reflection coefficient that my nanovna can measure. If you limit the VNA to this (very noisy) reflection coefficient of 0.999 at 10MHz I think you end up with a Q limit of just under 1000 for the nanoVNA for a 470pF cap at 10MHz. If a really high Q 470pF cap was tested this would produce a very jagged Q curve at 10MHz but I think it would show a Q trace somewhere in the region of 1000 at 10MHz if you visually averaged it. The above assumes the nanoVNA is in good condition and is running decent firmware and the calibration kit and test fixture are good. Obviously it would be better to use other means to measure the Q. I haven't used my nanoVNA for critical s11 measurements like this before because I would normally use other methods but I think the above example is representative of what it should be able to achieve in this case. If I have grossly overlooked something I'd be interested to know what it would be. |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
I think the nanoVNA measures the reflection coefficient of the network under test so I don't see how it can fail to measure the phase angle of the reflection coefficient with good results in this case. If it was getting this wrong it wouldn't even be able to indicate the capacitance of the 470pF capacitor across this range. I think the nanoVNA will probably max out at a reflection coefficient of about 0.999 / -112deg at 10MHz for a really high Q 470pF capacitor. This is a Q of nearly 1000 at 10MHz although the Q curve will look very jagged and noisy as this is right at the limit of the instrument. The phase angle of the reflection coefficient isn't critical in this case?
toggle quoted message
Show quoted text
On Mon, Mar 22, 2021 at 03:52 PM, Manfred Mornhinweg wrote:
The RX curves show clearly that the NanoVNA measures a higher resistance at Manfred |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Alan,
The vna measurement just can't quite make it. The approach that did work andUsing a cavity would be roughly equivalent to my idea of using a crystal in series with the capacitor to be tested. With the crystal being suitable at HF and low VHF, and the cavity at high VHF and through microwaves. But these methods just give the capacitor's Q at a single frequency. In some cases that's all one needs, of course, but in other cases it would be highly desirable and instructive to see a curve of Q over a wide frequency range. Manfred |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
Manfred's plots of the 2000pF 'Hi Q' capacitor (on the EFHW transformerEverything is possible. But I do think that the main cause of the Q inaccuracy is the limits of the NanoVNA. It's just very hard to measure a very small resistance when it's in series with a very much larger reactance. To rule out a faulty capacitor, and calibration problems, I just made a new measurement. The guinea pig this time is a 470pF, 1%, dipped silver mica capacitor made by Sangamo, new from the bag, never used. I let the NanoVNA warm up for one hour, then erased the old calibration, made a fresh calibration with averaging over 8 measurements, then connected my capacitor with very short leads and measured with long averaging. The resulting Q curve, and also the RX curves are attached. I measured from the low end to 30MHz, because much beyond that the reactance is so small that the job gets even harder for the NanoVNA. As you can see, the Q curve is far too low again. Leaving aside the huge inaccuracies at the low frequency end, where the reactance of such a small capacitor shoots through the roof (or rather the floor, this being negative reactance), it's just not possible that such a mica capacitor has a Q in the range of 60 to 270 over the HF range. It must be MUCH higher. The RX curves show clearly that the NanoVNA measures a higher resistance at lower frequencies, where the reactance gets high. This suggests that the NanoVNA cannot measure the phase angle of the reflection with enough precision. Which is no surprise, given how critical this phase measurement is: A phase of 90 degrees would be infinite Q, while a phase of 89.94 degrees is a Q of around 1000, and a phase of 89.42 is a Q of 100. To make a reasonably accurate measurement of capacitor Q, a VNA needs to be able to measure the phase of the reflection with an accuracy of at least one hundredth of a degree! I think that we cannot expect such performance from the NanoVNA, and not even from much more expensive VNAs. What I would love to learn is some trick to get around this limitation, so I can plot a valid Q curve over frequency for a capacitor. Manfred |
Re: Pitfalls of measuring components with the NanoVNA
#measurement
On 3/21/21 1:18 PM, jmr via groups.io wrote:
I think it's a bit optimistic to hope that a VNA could measure that component with a basic s11 measurement. I did a few quick sums and at 100kHz, a 485pF capacitor with ESR 0.58R, -3282R reactance, (Q of 5655) will have a reflection coefficient of something like mag 0.9999946. I did some tests on my nanoVNA a couple of days ago with a test load consisting of an ATC 100B 39pF porcelain cap in series with a 1R 1% 0805 SMD resistor.When the reflection coefficient magnitude is 0.998, that implies you need to be making the I/Q measurements with an accuracy better than 0.1%? - as you say, that gets challenging.? Considering it just as a SNR thing, it corresponds to an SNR of 60 dB - that is, voltage noise of 0.001 relative to 1. |
Re: Performance variations with different FW on NanoVNA-H v3.4
On Mon, Mar 22, 2021 at 10:01 AM, DiSlord wrote:
After reset calibration, select 8mA output (CALIBRATE->POWER->8mA) and afterI can't really see any difference on my device when leaving this set to auto or when setting it to 8mA as you describe. /Andreas - SA0ZAP |
to navigate to use esc to dismiss