* p-p emitter follower vsp vcc 0 dc 15 vsn vee 0 dc -15 * drive: use isigi with iopp or isigr with ropp isigi vb2 vee dc 10m ac 1 sin 10m 1.03696m 1k *isigr vb2 vee dc 10m ac 1 sin 10m 5.87112m 1k iopp vcc vb1 dc 10m *ropp vcc vb1 1.43k * limit d1 vb1 vcc 1n914 d2 vee vb2 1n914 * diode multiplier bias rb2ab vb1 vbiasb 1.3k rb1 vbiasb vb2 1k qbias vb1 vbiasb vb2 2n3904 cbias vb1 vb2 200u * output q1 vcc vb1 ve1 2n3904 q2 vee vb2 ve2 2n3906 re1 ve1 vout 27 re2 ve2 vout 27 * load rl vout 0 100 .MODEL 2N3906 PNP( IS=1.77F RE=732M RC=1 RB=10 VAF=23.3 + VAR=11.7 ISE=73.2F ISC=73.2F NE=1.62 NC=1.62 + BF=100 BR=5 IKF=29.2M IKR=29.2M CJC=6.95P + CJE=6.86P VJC=374M VJE=100M MJC=340M MJE=199M + TF=637P TR=82.8N ) .MODEL 2N3904 NPN( IS=9.99F RE=2.51 RC=1 RB=10 VAF=40 + VAR=20 ISE=4.03P ISC=4.03P NE=1.78 NC=1.78 + BF=100 BR=5 IKF=13.8M IKR=13.8M CJC=3.6P + CJE=3.99P VJC=878M VJE=16.1 MJC=307M MJE=2.01 + TF=531P TR=69N ) .MODEL 1N914 D( IS=1N N=1.7 BV=100 IBV=100U RS=2M + CJO=4P VJ=750M M=330M TT=25.9N ) .end .control set fourgridsize=1024 set polydegree=3 set nfreqs=16 op print ve1-ve2 tran 1u 10m 0 1u fourier 1k vout .endc