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.

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)

Should you trust your VSWR meter – linearisation

Should you trust your VSWR meter? asked an interesting question, and Should you trust your VSWR meter – detector linearity discussed a problem apparent in may VSWR meters.

This article illustrates one method of linearisation of the detector response of a practical VSWR meter.

Radio-kits SWR meter

This article contains an analysis of the analogue circuitry of the Radio-kits SWR meter.

The directional coupler at top left contains half wave peak detectors for forward and reflected waves. They are wired to the two compensated op amps at lower right (the connections are not shown on the circuit as the coupler may be remote, follow the terminal designations). Continue reading Should you trust your VSWR meter – linearisation

Should you trust your VSWR meter – detector linearity

Should you trust your VSWR meter? asked an interesting question, and based on experience, including a relevant example, concluded:

The answer is no, like any measurement instrument, prove that it is trustworthy in the intended application.

It went on to ask:

If the VSWR meter is designed to fail, why does it fail?

This article contains an analysis of the analogue circuitry of the IC-7300 directional coupler to explain the likely cause of its poor behaviour.

IC-7300 directional coupler schematic


Above is an extract of the IC-7300 circuit in the area of the directional power coupler used for VSWR measurement. The circuit is a quite conventional Bruene coupler, and its response is similar to several types of directional couplers that produce a DC output voltage from a half wave detector. Continue reading Should you trust your VSWR meter – detector linearity

Should you trust your VSWR meter?

One often sees newbies ask about their VSWR meter readings, and a common observation is that the measured VSWR is better at low power and as power is increased, VSWR increases.

With the evolution of the ‘shack in a box’, and knowledge and experience to match, the problem is often reported observed with the transceiver’s internal VSWR meter.

Some of these ‘shack in a box’ have some pretty nifty features, for example the very popular Icom IC-7300 not only has an internal VSWR meter for the HF bands, but it can perform an assisted sweep and display the results graphically.

Isn’t that a great idea, so convenient, all good!

Or is it? Continue reading Should you trust your VSWR meter?

Co-phased collinear for 2m – discussion of phasing devices

An exploration of a cophased collinear array with coax phasing stubs explored various structures for encouraging co-phase operation of a 3/4λ vertical over perfectly conducting earth (PCE).

This article expands that set with NEC-4.2 models of some variations on the traditional Franklin form of the antenna.

Let’s start with review of the traditional Franklin form

Franklin form

The graphic above shows the topology of the Franklin form. It comprises a half wave vertical element over a quarter wave element, with a quarter wave horizontal s/c stub as the device to encourage co-phased operation of the elements. The current magnitude and phase distribution is shown in green. Continue reading Co-phased collinear for 2m – discussion of phasing devices

Motorola TAD1000B Folded Coaxial Antenna – discussion

This article is a discussion about the Motorola TAD1000B Folded Coaxial Antenna series.

Above is an image from Moto’s documentation, it shows what appears to be a simple coaxial or sleeve dipole, bit with the top quarter wave element folded like half of a folded dipole. Continue reading Motorola TAD1000B Folded Coaxial Antenna – discussion

An explanation of W5DXP’s ‘line extender device’

A correspondent wrote seeking explanation of W5DXP’s no-tuner tuner which purports to obtain a near match by adjusting the length of the transmission line using relays or switches of some kind.

The particular device that is of interest is one using a single double pole knife switch as a three position On-Off-On switch.

The accompanying explanations states that this “is a way to use a single DPDT knife switch to obtain one, two, or three feet of ladder-line depending on the position of the switch”. Continue reading An explanation of W5DXP’s ‘line extender device’