VU3SQM directional wattmeter build – #2

VU3SQM directional wattmeter build – #1 laid out the first steps in design review and build of a directional wattmeter.

This article canvasses the issues of the display.

Intention is a digital based display (though not to exclude an analogue meter or bar graph type displays).

So, the output of the AD8307 needs to be digitised.

Let’s first consider the nature of the AD8307.

It is a log detector, so it provides a ‘DC’ voltage proportional to the log of the input signal, but the ‘DC’ voltage can vary very quickly.

The chart above from the AD8307 datasheet shows that the unfiltered response to a burst of RF has a rise time of well under 1µs. Continue reading VU3SQM directional wattmeter build – #2

KA0KA’s Youtube test of ATU balance

K0KA made a quite polished presentation published as a Youtube video explaining how to measure balance performance of an antenna system and an ATU.

He did not define what he means by balance… but it will become apparent.

Midway through his video, he measures the ‘balance’ of a Palstar AT5K (though possibly modified) by connecting a symmetric load consisting of two 470Ω 2% resistors in series and connecting the junction to the ground terminal on the ATU.

Above, from KA0KA’s video, his test load. The oscilloscope probes can be seen.

The oscilloscope channel gains are carefully adjusted to be equal.

KA0KA shows two oscilloscope measurements.
Continue reading KA0KA’s Youtube test of ATU balance

VU3SQM directional wattmeter build – #1

VU3SQM offers an interesting directional coupler based on a Sontheimer coupler, and using AD8307 power sensing for a nominally HF coupler. I must say that I am not a fan of Sontheimer couplers… but that is what the board uses.

This article lays out a preliminary design review to assist in selection of appropriate toroids, and ordering of the needed parts.

PCB

Above, the top side of a PCB. Continue reading VU3SQM directional wattmeter build – #1

Elecraft CP-1 directional coupler – magnetics review

Elecraft produces a directional coupler that may interest QRP aficionados. It comes with instructions for 20dB and 30dB coupling factors rated at 25 and 250W respectively from 1 to 30MHz.

This article reviews the magnetics design of the -20dB / 25W coupler.

The coupler uses a type of Sontheimer coupler (Sontheimer 1966) and these are commonly poorly designed. The first question is whether the magnetising impedance of T2 which appears in shunt with the load is sufficiently high to not give rise to poor insertion VSWR. Continue reading Elecraft CP-1 directional coupler – magnetics review

On Thevenin’s theorem – #2

On Thevenin’s theorem looked at a simple source network to demonstrate some key characteristics and limitations of Thevenin’s equivalent circuit.

The example network used was linear in V,I for all V,I combinations possible. Let’s now look at a network that is not linear for all V,I, but is sufficiently linear over a sub range to be usefully modelled using Thevenin’s equivalent circuit.

Black Box for discussion

For the purpose of discussion, we have a Black Box with just two terminals and is a source of DC voltage and current, and the internal implementation is hidden from us.

A series of measurements is made with different load resistors attached and the voltage and current at the terminals is recorded and plotted uniformly stepped currents.

The V,I characteristic is clearly non-linear, but on closer examination there are two fairly linear regions, from 0.008 to 0.060A and 0.08A to 0.1A. It is a device that is usually used in the region below the knee, and for our application, let us concentrate on 0.008 to 0.030A. Continue reading On Thevenin’s theorem – #2

RFPM2 – calibration files

The RF Power Meter 2 (RFPM2) stores calibration constants in a file located in the (SPIFFS) file system in the microcontroller flash.

The file opened by default when RFPM2 starts is /default.cfg, the following is an example.

{
"name":"dBm",
"hostname":"rfpm201",
"vref":3.3,
"avg":3,
"slope":0.12991,
"intercept":-91.406,
"unit":"dBm",
"lcdfsd":16
}

The parameters above capture the most basic operation of RFPM2 as a power meter directly displaying dBm with bar graph in fixed 2dB increments to 16dBm FSD. These values serve as a basis for some other applications as they capture the basic intercept and slope of the AD8307 module in this instance.

Current probe calibration

Alternative config files can be loaded on the fly from the webserver interface, for example http://192.168.0.86/config?filename=/dBA.cfg will load the dBA config file for a certain current probe. Continue reading RFPM2 – calibration files

RFPM2 – calibration

The RF Power Meter 2 (RFPM2) stores calibration constants in a file located in the (SPIFFS) file system in the microcontroller flash.

The WiFi credentials are stored separately at the default location in the flash.

Calibration constants

The AD8307 outputs a voltage from zero to about 3V for inputs from around -90 to +15dBm. The nominal output has a slope of 25mV/dB and intercept of -84dBm.

A starting point for RFPM2 calibration constants is intercept=-84 and slope=0.129.

Modules such as that used here may have pots to adjust the gain and offset of the output. Adjust the gain so that the maximum output voltage is a little lower than 3.3V (the maximum ADC input), say 2.7V.

Clip 194

The response of the AD8397 has some ripple in the transition between log amp stages. The log cell ranges are 14.3dB, so min error repeats every 14.3dB. My own practice is to calibrate at -62 and -5dBm input as they fall approximately on the mid line of the ripple trend (4 cycles of the error curve). Continue reading RFPM2 – calibration

RFPM2 – current probe

This article describes a current probe for use with a power meter calibrated in dBm (eg RFPM1 and RFPM2).

For use with RFPM1 and RFPM2, both of which read to 16dBm max, it is convenient that the scaling factor for the probe is 0dBA/dBm, ie that those meters read dBA directly, implying a current range of -75-16dBA or 0.186mA-6.3A. In fact for low measurement noise, the effective range would be more like -65-16dBA or 0.56mA-6.3A.

The probe comprises a ferrite cored transformer that is clamped or placed over the conductor(s) of interest, and uses a 10t secondary which has a low value resistive load, across which the power meter connects.

Above is a screen shot of a spreadsheet calculation of relevant design values. Continue reading RFPM2 – current probe

RF Power Meter 2 (RFPM2)

The RF Power Meter 2 is a development based on the utility of  RFPM1, but it shares nothing with the RFPM1, save using an AD8307 as the sense module.

Design criteria

The design criteria are:

  • small, portable, battery powered;
  • direct reading dB scale;
  • flexibility for a range of adapters to measure power, current etc;
  • local display including bar graph, time, and dB value;
  • log measurements to a serial port of some kind;
  • offer remote access for recent measurement log.

Design outline

The RFPM2 uses an AD8307 log power detector to obtain a analogue ‘DC’ voltage proportional to the log of the input power. The input port is 50Ω SMA, and accommodates from about -75dBm (the noise floor) to +15dBm.

The analogue output of the AD8307 is digitised on a microcontroller board, a NodeMCU which uses an ESP8266 processor with integral WiFi. The board also contains a CP210x USB to serial adapter for programming, power, and serial logging.

The display is deliberately generic, the units are dBm at the SMA input, but they could be dBA with a suitable current probe, or +xx dBV/m with a field strength sense antenna. Continue reading RF Power Meter 2 (RFPM2)