[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: Problem with 2N3906 model in gnucap



I downloaded the model from fairchild's website.  I'm simulating this very simple circuit in gnucap and am getting the following error:

---------------------------------------------------------------------------------------
[rob@localhost project-micSwitch]$ gnucap tempCir.ckt
Gnucap 0.35
The Gnu Circuit Analysis Package
Never trust any version less than 1.0
Copyright 1982-2006, Albert Davis
Gnucap comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome
to redistribute it under certain conditions
according to the GNU General Public License.
See the file "COPYING" for details.
DUAL AMP CIRCUIT
... f                Ne=1.536 Ikf=.3287 Nk=.9957 Xtb=1.5 Var
                                        ^ ? what's this?
print ac v(2) v(computerMic)
                ^ ? no match
gnucap>
---------------------------------------------------------------------------------------


Here is the netlist:

---------------------------------------------------------------------------------------
DUAL AMP CIRCUIT
* gnetlist -v -g spice-sdb -o tempCir.ckt tempCir.sch
*********************************************************
* Spice file generated by gnetlist                      *
* spice-sdb version 4.28.2007 by SDB --                 *
* provides advanced spice netlisting capability.        *
* Documentation at http://www.brorson.com/gEDA/SPICE/   *
*********************************************************
*vvvvvvvv  Included SPICE model from 2N3904.model vvvvvvvv
.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
+               Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
+               Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
+               Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
*               Fairchild        pid=23          case=TO92
*               88-09-08 bam    creation

*^^^^^^^^  End of included SPICE model from 2N3904.model ^^^^^^^^
*
*vvvvvvvv  Included SPICE model from 2N3906.model vvvvvvvv
* 2n3906 model created using Parts version 6.0 on 11/19/01 at 16:43
* Parts is a MicroSim product.
*
.model 2N3906  PNP(Is=455.9E-18 Xti=3 Eg=1.11 Vaf=33.6 Bf=204.7 Ise=7.558f
+               Ne=1.536 Ikf=.3287 Nk=.9957 Xtb=1.5 Var=100 Br=3.72
+               Isc=529.3E-18 Nc=15.51 Ikr=11.1 Rc=.8508 Cjc=10.13p Mjc=.6993
+               Vjc=1.006 Fc=.5 Cje=10.39p Mje=.6931 Vje=.9937 Tr=10n Tf=181.2p
+               Itf=4.881m Xtf=.7939 Vtf=10 Rb=10)
*
*               Fairchild  pid=66   case=TO92
*               11/19/2001 calccb update
*$
*^^^^^^^^  End of included SPICE model from 2N3906.model ^^^^^^^^
*
*==============  Begin SPICE netlist of main design ============
Q3 9 9 Vcc 2N3906
R5 -Vcc 6 1Meg 
V2 V2 0 SIN(5 1 5000 1NS 1E10)
Q2 8 1 4 2N3904
V1 V1 0 sin(5 1 1000 0 0)
R4 0 2 10k 
Q1 8 9 Vcc 2N3906
R3 -Vcc 4 1Meg 
R2 V2 3 10k 
R1 V1 1 10k 
Q8 10 7 6 2N3904
C2 Vcc 0 .1u 
Q7 10 10 Vcc 2N3906
C1 0 -Vcc .1u 
Q6 11 3 6 2N3904
R8 0 5 10k 
Q5 11 10 Vcc 2N3906
R7 0 7 10k 
Q4 9 2 4 2N3904
R6 5 7 10k 

.print ac v(2) v(computerMic)
.ac lin 300 300 3300 >tempCir.dat
.end
---------------------------------------------------------------------------------------


Why is the model causing the fault?

_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user