Digital display for half wave detector with cubic spline interpolation – part 4

Digital display for half wave detector with cubic spline interpolation – part 1 and following articles laid out the design concepts of a power meter display.

Digital display for half wave detector with cubic spline interpolation – part 2 described a simple cubic spline interpolation model.

This article examines the problem a little deeper to arrive at an improved solution.

The chart above compares the response of an ideal peak detector (cyan) with an LTSPICE simulation of a BAT46 with 57kΩ load (orange x). Whilst the simulation approaches the ideal at peak RF voltage Vp greater than 3V, it departs greatly at very low Vp. Continue reading Digital display for half wave detector with cubic spline interpolation – part 4

Becen 25W type N dummy load

 

I purchased an inexpensive 50Ω dummy load rated at 25W from Becen on Aliexpress (~$20 inc shipping), the intended application is HF.

Above, the dummy load.

Above, the centre pin passes a gauge test, doesn’t satisfy the Precision N criteria, but well within tolerance of non-precision N connectors. Continue reading Becen 25W type N dummy load

Digital display for half wave detector with cubic spline interpolation – part 3

Digital display for half wave detector with cubic spline interpolation – part 1  and following articles laid out the design concepts of a power meter display.

Whilst the preferred target was an Arduino Zero (SAMD21G) for its 32bit architecture, speed, and 12bit ADC, the code was developed to run on a Zero or a Arduino Nano (ATmega328P).

This article explores a trial of an external ADC module using an ADS1115 chip, 4 channels 16bit +/- ADC.

Above is the prototype, Arduino Nano on the left,  the ADS1115 module is to the right of the display. Continue reading Digital display for half wave detector with cubic spline interpolation – part 3

Digital display for half wave detector with cubic spline interpolation – part 2

Digital display for half wave detector with cubic spline interpolation – part 1 laid out the design concepts of a power meter display.

Whilst the preferred target was an Arduino Zero (SAMD21G) for its 32bit architecture, speed, and 12bit ADC, the code was developed to run on a Zero or a Arduino Nano (ATmega328P). Initially, my preferred approach of storing device calibration parameters in EEPROM was shelved because the SAMD21G does not have EEPROM, and it’s NVM alternative is not nearly as convenient.

Notwithstanding that, EEPROM support has been plumbed in and tested. For devices supporting Arduino EEPROM library, calibration coefficients can be supplied in EEPROM, or inline in source code.

The interpolation table is calculated separately in Excel (using a custom VBA function library), but could be done in any suitable tool.

Above is a screen shot  extract of the spreadsheet, the column on the right is C array initialisation code for pasting into the project source code. The same values are loaded into the EEPROM data structure if used. Continue reading Digital display for half wave detector with cubic spline interpolation – part 2

Digital display for half wave detector with cubic spline interpolation – part 1

Digital display for QRP labs 20W dummy load – part 1 and the following articles discussed an approach to compensating the non-linear response of the half wave detector by finding a polynomial curve fit over a desired range. Unfortunately, the range for a good fit can be smaller than one desires.

This article discussed an alternative using cubic spline interpolation and might be applicable to extend the range or for responses that aren’t well approximated by a simple curve fit.

Introduction

Essentially, this technique applies a piecewise polynomial to fit the data points, and a relatively small number of data points may provide a very good approximation.

The graph above shows: Continue reading Digital display for half wave detector with cubic spline interpolation – part 1

Digital display for QRP labs 20W dummy load – part 2

Digital display for QRP labs 20W dummy load – part 1 laid out a initial study into the feasibility of an approach to the project.

A prototype has been built based on an Ardunio Nano (ATmega328P 5V 16MHz). The ‘328P is loaded with a custom build of Optiboot 8 supporting reading and writing EEPROM.

Above, another prototype using a 0.96″ 128×64 OLED display, an end to end test of a BAT46 prototype for function testing using an Arduino Nano and OLED display. This prototype is well within 5% accurate based solely on the LTSPICE model, assuming no error in the voltage divider, tracking well from 1W to 20W. When calibrated for the voltage divider and ADC Vref error, power displayed was within 2% of a proven power meter at several spots from 0.8W to 25W, on a spot check it is within 10% (0.4dB) at 1mW. Continue reading Digital display for QRP labs 20W dummy load – part 2

Digital display for QRP labs 20W dummy load – part 1

The QRP labs 50-ohm 20W QRP HF Dummy Load is an inexpensive kit for a low power dummy load.

The load comprises 20 x 1W resistors, time will tell what its continuous power rating is actually.

This article explores a possible design for a digital display of power using the provided pads for a half wave detector.

Dimensional

Above, the supplied connector fails a gauge test (the female part sticks out 0.4mm+ (0.015+”) too much… I should have gauged it before assembling the thing.

RF performance

Above is a ReturnLoss plot from 1-100MHz, ReturnLoss is good below 60MHz, very good below 30MHz. Continue reading Digital display for QRP labs 20W dummy load – part 1

Sontheimer coupler – transformer issues – an alternative design – FT37-43

Sontheimer coupler – transformer issues discussed problems with the Sontheimer coupler in a recently published QRP transceiver ((tr)uSDX / trusdx), suggesting that the core loss in transformer T2 was excessive.

This article presents an alternative design for the transformer for a coupler for a 5W transmitter.

The above circuit is from (Grebenkemper 1987) and is an embodiment of (Sontheimer 1966). In their various forms, this family of couplers have one or sometimes two transformers with their primary in shunt with the through line. Let’s focus on transformer T2. It samples the though line RF voltage, and its magnetising impedance and transformed load appear in shunt with the through line. T2’s load is usually insignificant, but its magnetising impedance is significant and is often a cause of: Continue reading Sontheimer coupler – transformer issues – an alternative design – FT37-43

Sontheimer coupler – transformer issues – an alternative design – FT23-43

Sontheimer coupler – transformer issues discussed problems with the Sontheimer coupler in a recently published QRP transceiver ((tr)uSDX / trusdx), suggesting that the core loss in transformer T2 was excessive.

This article presents an alternative design for the transformer for a coupler for a 5W transmitter.

The above circuit is from (Grebenkemper 1987) and is an embodiment of (Sontheimer 1966). In their various forms, this family of couplers have one or sometimes two transformers with their primary in shunt with the through line. Let’s focus on transformer T2. It samples the though line RF voltage, and its magnetising impedance and transformed load appear in shunt with the through line. T2’s load is usually insignificant, but its magnetising impedance is significant and is often a cause of: Continue reading Sontheimer coupler – transformer issues – an alternative design – FT23-43

Measuring modulation index of an amplitude modulated wave with an oscilloscope

A oscilloscope can be used to measure the modulation index of an amplitude modulated wave. Modulation index is a value from 0 to `1, but is often expressed as a percentage.

The discussion here assumes symmetric modulation, it does not apply to super modulation schemes or any other schemes that are asymmetric.

Envelope method

If an oscilloscope is used to display the modulation envelope (as it is known), modulation index can be calculated from measured values of the peak voltage at the crest and valley of the envelope waveform.

Modulation index can be calculated as \(m=\frac{b-a}{b+a}\). Continue reading Measuring modulation index of an amplitude modulated wave with an oscilloscope