Back to timeline
school Oct 2024

Doubling a frequency, analog

First attempt at an analog frequency doubler. Take x₁(t) = cos(2πft) in, get a clean x₂(t) = k·cos(2π·2f·t + φ) out, using only the kind of passives a student has lying around. Built around a diode for the non-linearity plus two cascaded band-pass filters with an op-amp buffer in between.

The idea

Block-level schematic: diode, band-pass filter, op-amp buffer, band-pass filter.
Topology. Diode for the non-linearity, two cascaded LC band-pass stages, op-amp follower between them.

The numbers

Full circuit schematic with component values: 70 mH inductors, 10 nF capacitors, 1 kΩ / 0.7 kΩ / 1.5 kΩ resistors.
Final values. 70 mH inductors paired with 10 nF caps; resistors tuned, then frozen.
Breadboard with the analog frequency doubler wired up. Two hand-wound inductors on a custom 3D-printed mount; potentiometers for resistor tuning.
Build photo. Hand-wound 70 mH inductors mounted on a 3D-printed jig, potentiometers for tuning.

Outcome

A clear, identifiable 2f sinusoid. Visibly imperfect at the half-cycle level, but unmistakably doubled. Closing the gap to 25 dB SDR would require trimming the per-half-cycle amplitude error below ~7%, which probably needs better matched components and a more symmetric non-linearity than a single diode. Improving on that is what Freq doubler v2 was about.

Oscilloscope trace: orange input sinusoid at 2.5 kHz, blue output sinusoid at twice the frequency.
Scope trace. Orange: 2.5 kHz input. Blue: doubled output at 5 kHz, smaller in amplitude as expected.
Zoomed-in scope view: every second half-cycle is visibly shorter, the asymmetry that limits SDR.
The flaw. Every second half-cycle comes out 12–13% short. Single-diode rectification is the culprit.
Spectrum analyser: dominant peak at 5 kHz, residual peak at the input fundamental, smaller harmonics.
Output spectrum. Clean 2f peak with a residual fundamental and odd harmonics. SDR ≈ 21.4 dB.

Writeup

Back to timeline