FET frequency doubler by harmonic balance: 2.86 dBm at 2 GHz from 1 GHz, 0.8 dB conversion gain
Biased at -1 V, pinch-off, the FET conducts on half of each cycle and puts 2.86 dBm at 2 GHz into 50 ohm from 2.04 dBm at 1 GHz, a conversion gain of 0.82 dB. With no filter the 1 GHz feedthrough is 8.97 dBm, 6.1 dB above the wanted output, so a real doubler needs a 1 GHz trap or a band-pass at 2 GHz on the drain.
Change this: move V1 from -1 V to -0.5 V. The FET then conducts all cycle, so the 2 GHz output falls and the 1 GHz grows: it is an amplifier again.
| Quantity | Value | Read at |
|---|---|---|
| Output at 2 f0 | 2.858 dBm | 2 GHz, 2.04 dBm in |
| Conversion gain | 0.817 dB | 1 GHz in, 2 GHz out |
| Fundamental feedthrough, relative to 2 f0 | 6.11 dBc | 1 GHz |
| Third harmonic, relative to 2 f0 | -14.46 dBc | 3 GHz |
| Fundamental feedthrough | 8.966 dBm | 1 GHz |
Every number here is the simulator's own, computed when the site was built from the same circuit the button opens. How the engine is checked.
The circuit
How it is checked
This is one of the five reference circuits the harmonic balance engine was built against, at ngspice's own drive, 2.04 dBm: 0.8 V peak behind 50 ohm. ngspice 47 runs the same circuit as a transient for 20 periods, and an FFT of the last 4 reads the steady state at each harmonic. The rule is 1e-4 of the fundamental plus 1e-3 of the harmonic itself at every harmonic to the seventh, about a hundredth of a dB on Pout and gain, and the site's tests fail if a number on this page moves outside it.
The Statz card is IndieRF's illustrative values, not a real part, and the drain sees a plain 50 ohm from 3 V at every harmonic, with no output filter or matching. The sweep stops at 5 dBm, the last step where 32 harmonics hold the half-wave drain current to 1e-3 of the fundamental.
Other solved examples
- LC low-pass filter calculator, 1 GHz: 18.3 dB down at 2 GHz
- Chebyshev filter calculator: 3rd order, 0.5 dB ripple to 1 GHz, 19.2 dB down at 2 GHz
- Bias tee design calculator: 0.05 dB loss at 1.575 GHz, DC port 46.4 dB down
- ESD diode SPICE model on a 50 ohm line: 0.2 pF gives S11 -13.6 dB at 6 GHz
- BJT LNA design for 2.4 GHz: 13.2 dB gain and 1.89 dB NF from a SPICE model card
- Class-A amplifier P1dB by harmonic balance: 11.8 dBm out at 100 MHz, 23.1 dB gain
- Two-tone IM3 and OIP3 by harmonic balance: 24.1 dBm OIP3 on a class-A stage at 100 MHz
- LC balun calculator, 50 to 100 ohm at 2.45 GHz: 4.5935 nH and 0.91869 pF, common mode -24.0 dB at 2.3 GHz
- Load-pull simulation of a FET stage at 1 GHz: 15.23 dBm at the best load, 0.86 dB over 50 ohm