Class-A amplifier P1dB by harmonic balance: 11.8 dBm out at 100 MHz, 23.1 dB gain
This class-A BJT stage gives 23.10 dB of small-signal gain at 100 MHz and compresses 1 dB at -10.30 dBm of available input, 11.80 dBm into its 200 ohm load. At -10 dBm in it already gives up 1.13 dB, puts out 11.97 dBm, and its second harmonic sits 22.4 dB under the fundamental, so a stage run near P1dB needs a harmonic filter after it.
Change this: lower V1 from 0.88 V to 0.85 V. Less collector current means less gain, and the output compresses at a lower power.
| Quantity | Value | Read at |
|---|---|---|
| Small-signal gain | 23.100 dB | 100 MHz, -30 dBm in |
| P1dB, input | -10.30 dBm | 100 MHz, available power |
| P1dB, output | 11.80 dBm | 100 MHz, into 200 ohm |
| Pout | 11.966 dBm | 100 MHz, -10 dBm in |
| Gain | 21.966 dB | 100 MHz, -10 dBm in |
| Second harmonic | -22.4 dBc | 200 MHz, -10 dBm in |
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. 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. ngspice ran six drives, so the gain, Pout and second harmonic at -10 dBm, one of them, are read directly. P1dB is solved where the compression reaches 1 dB, by extra harmonic balance solves between the two sweep points either side of it, so the sweep step does not move it. ngspice's own crossing was found the same way, over drives between those two points, and the tests hold the two within two hundredths of a dB.
The Gummel-Poon card is IndieRF's illustrative values, not a real part, and runs at 27 °C. The sweep stops at -8 dBm, the last step where 32 harmonics hold the waveform to 1e-3 of the fundamental. The 5 V supply and the 0.88 V bias are ideal sources, and the input and load ports carry DC because the reference circuit has no bias tee.
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
- FET frequency doubler by harmonic balance: 2.86 dBm at 2 GHz from 1 GHz, 0.8 dB conversion 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