Network Measurement with NanoVNA

I have had a lot of time recently to work on personal projects. To aid in this, I picked up a NanoVNAv2 from Tindie. One month after placing my name on the waitlist I was contacted that the hardware was back in stock. Less than a week later, it arrived to my lab bench.

I found a measurement candidate in a variable air capacitor I picked up at a ham swap. I had used it with brief success on a homebrew antenna, so I figured it may prove useful as a test load (device under test, or DUT) in a network measurement.

IMG_20200714_193558
Project enclosure housing variable air capacitor

Opening up the enclosure and looking over the connections within the project box I found a loose wire. After refastening, this capacitor was ready to measure. See the circuit below to illustrate the electrical connection within the project enclosure.

DUT_Schematic
Schematic of Enclosure: Series Capacitor, Shorted Grounds

Ok, great, I have a DUT… I want to measure its capacitance, but how? Looking over the specifications of the NanoVNA, I determined I could get the most accurate measurement by performing a shunt two-port measurement of the capacitor and deriving an impedance and ultimately a capacitance. A single port measurement can provide usable accuracy for impedance measurements near system impedance but the two port measurement will be more accurate in general as it is essentially a high frequency 4 wire measurement.

Now, for the logistics- I didn’t have the correct adapters, but I did have some coax and an assortment of connector ends, so I decided to make my own test fixture for this measurement. I made a two-port SMA-to-UHF connector so I can measure the (capacitive) load shunt to ground. I also floated solder into the end of a UHF connector until it created a short. The new parts and a schematic representation for the circuit for measurement:

TLine_Schemtaic
Measurement Schematic Representation

I left the connecting coax length a bit long, but a quick calculation assured me I should not expect to see the impact of this line length in the data at the measurement frequency (at max sweep frequency, the coax is one-quarter wavelength), so I reasoned the inclusion of the transmission line in the measured data would not prevent an accurate evaluation of the NanoVNA’s functionality. As the soldering iron cooled I performed a T/R calibration (this NanoVNA has a single transmit port) and began measurement.

IMG_20200714_202629
Photo of Measurement Setup

Following measurement I began plotting data. I have plotted the open circuit parameters (also known as Z parameters) to determine the amount of capacitance in the circuit:

ZmeasRaw

Now I can pick a frequency where the negative-going portion of the curve is approximately linear, say 10 MHz. At this frequency the impedance (magnitude) values yield an approximated capacitance of 79 pF, 52 pF, 25 pF, and 51 pF.

This is a good start. However, there is still the length of coax that is embedded in the measurement. An easy way to approximate the capacitive contribution of the coax is to use the capacitance per foot value from the cable datasheet (30 picoFarad/foot) and, realizing it is in parallel to our DUT, subtract the length-adjusted value from the measured capacitance to account for the extra capacitance of the line within the measurement setup (30pF/ft * 0.833 feet = 25pF). I’ve tablulated the data to summarize the measurements, including deembeded capacitor data using the method above to estimate the contribution of the fixture:

Knob Position Measured C Estimated DUT
0 79 pF 54 pF
90 51 pF 26 pF
180 25 pF 0 pF (not measurable)
270 52 pF 27 pF

Overall, I am satisfied with my new measurement tool and expect it will serve to improve my future homebrew designs. I’m similarly pleased to have a measured capacitor around the lab to open up antenna configuration possibilities. Although this post is intended to serve as a summary of my evaluation of the NanoVNA, the electrical model for the capacitor I have created from these results can be improved upon and verified. If you have any suggested changes to my measurement, drop it in the comment section- I am always open to improving my test methodology.

One feature I’d like to see implemented in a future NanoVNA software update is a logarithmic sweep option to make these power-type measurements easier. Another area for improvement in the current software is the uncorrected error introduced in the return loss data due to the non-characteristic termination at the port 2 reference plane. An additional measurement with ports 1 and 2 reversed at the DUT (plus some math) will include all error terms needed to remove the cable length terminating port 2.

Published by

WØASB

First licensed in 2014 under the call KK6JQV with my university club in San Luis Obispo (W6BHZ), I am currently living in Colorado and operating under the call WØASB. I am a mountain biker and climber working to activate Colorado's Summits on the Air (SOTA) peaks and dabbling in other hobby projects along the way.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.