help-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnucap] Oscillator Simulation


From: Richard Gipps
Subject: [Help-gnucap] Oscillator Simulation
Date: Tue, 13 Sep 2016 22:03:51 +1000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

Hi,
I am trying to simulate an oscillator circuit. When I run the simulation I get the following response:

gnucap -b oscillator.cir
Gnucap 2009.12.07 RCS 26.136
...
oscillator.cir
#
 27.
#Time
zero time step
newtime=1.000000e-12  rejectedtime=1.000000e-12 oldtime=0.000000e+00
non-recoverable user requested
newtime=1.000000e-12 rejectedtime=2.000000e-12 oldtime=1.000000e-12 using=2.000000e-12
tried everything, still doesn't work, giving up

I have tried the circuit with ngspice and it works fine. The file is shown below:

oscillator.cir
* 100MHz Oscillator
* This oscillator takes about 100us to reach steady state.
* The charge displacement through each capacitor is 170pC p-p
* 0.01radians = 0.16% = 16ps @ 100MHz

.param start_print = 100.01u
.param stop_time = 100.15u

.MODEL q2SC3357_v13_M NPN
+(IS=684.2e-18 BF=161.1 NF=1.0 VAF=51
+ IKF=574.6e-3 BR=10.71 NR=1.0 VAR=2.1
+ IKR=28.05e-3 ISE=1.0e-18 NE=1.193 ISC=6.211e-18
+ NC=1.1 RB=3.0 IRB=75.9e-5 RBM=1.0
+ RE=2.67 RC=3.5 CJE=1.847e-12 VJE=1.014
+ MJE=464.8e-3 CJC=1.086e-12 VJC=617.4e-3 MJC=353.8e-3
+ XCJC=0.1 CJS=0 VJS=0.75 MJS=0
+ FC=0.50 TF=23e-12 XTF=0.39 VTF=0.668
+ ITF=0.06 TR=0 PTF=20 EG=1.11
+ XTI=3.0 XTB=0)

VCC 10 0 PULSE(0 8)
Vb 2 0 DC 4.78
Q1 1 2 3  q2SC3357_v13_M
IC 3 0 DC 10m

L1 10 1 120n
C1 1 3 21.14p
C2 3 0 15.48n

.OP

.TRAN 1p {stop_time} {start_print} 1p

.PRINT TRAN V(1)

.END

Any ideas?

Richard.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]