R
RA
Guest
Hello to everyone,
I have been trying to get Protel99SE to calculate the input
impedance of a simple circuit. Literally a 2n2222 with
a 10k from +5V to the collector, a 2k from the emitter
to ground and a current source from ground to the base DC 1A.
Assuming a beta of 200 the input impedance looking into
the base would be Zin = (beta + 1)*Remitter = 201*2k = 402k.
When I run the simulation I get:
Protel99SE 128.94k
LTspice 425.54k
None of them are ok, but I would pick LTspice if would have
to pick one. I'm posting here the netlist for both of them,
maybe someone can point out where I'm screwing up the whole
thing.
Thanks for taking your time and reading this.
Best regards
Reinaldo Alvares
PROTEL99SE NETLIST
*SPICE Netlist generated by Advanced Sim server on 6/2/2004 9:41:33 AM
*for: Impedance.nsx
*Schematic Netlist:
I1 0 2 1u AC 1
Q1 NetR1_2 2 NetR2_1 2N2222
R1 NetV1_1 NetR1_2 10k
R2 NetR2_1 0 2k
V1 NetV1_1 0 +5V AC 0 0
..SAVE 0 2 NetR1_2 NetR2_1 NetV1_1 I1[v] V1#branch @V1[z] @Q1[ib] @Q1[ic]
@Q1[ie]
..SAVE @R1 @R2 @I1[p] @Q1[p] @R1[p] @R2[p] @V1[p]
*PLOT AC -1 1 A=2
*PLOT OP -1 1 A=2
*Selected Circuit Analyses:
..AC LIN 100000 10 1E8
..OP
*Models and Subcircuit:
..MODEL 2N2222 NPN (IS=81.2F NF=1 BF=195 VAF=98.6 IKF=0.48 ISE=53.7P NE=2
BR=4
+ NR=1 VAR=20 IKR=0.72 RE=64.4M RB=0.258 RC=25.8M XTB=1.5 CJE=89.5P VJE=1.1
+ MJE=0.5 CJC=28.9P VJC=0.3 MJC=0.3 TF=530P TR=368N)
..END
******************** LTSpice NETLIST **************************
* C:\Program Files\LTC\SwCADIII\Draft6.asc
R1 N003 N001 10k
R2 N002 0 2k
I1 0 2 1ľ AC 1
Q1 N001 2 N002 0 2N2222
V1 N003 0 5
..model NPN NPN
..model PNP PNP
..lib C:\Program Files\LTC\SwCADIII\lib\cmp\standard.bjt
..ac lin 100000 10 100Meg
..backanno
..end
******** 2N2222 Model *******
..model 2N2222 NPN(IS=1E-14 VAF=100 BF=200 IKF=0.3 XTB=1.5 BR=3 CJC=8E-12
CJE=25E-12 TR=100E-9 TF=400E-12 ITF=1 VTF=2 XTF=3 RB=10 RC=3 RE=1 Vceo=30
Icrating=800m mfg=Philips)
I have been trying to get Protel99SE to calculate the input
impedance of a simple circuit. Literally a 2n2222 with
a 10k from +5V to the collector, a 2k from the emitter
to ground and a current source from ground to the base DC 1A.
Assuming a beta of 200 the input impedance looking into
the base would be Zin = (beta + 1)*Remitter = 201*2k = 402k.
When I run the simulation I get:
Protel99SE 128.94k
LTspice 425.54k
None of them are ok, but I would pick LTspice if would have
to pick one. I'm posting here the netlist for both of them,
maybe someone can point out where I'm screwing up the whole
thing.
Thanks for taking your time and reading this.
Best regards
Reinaldo Alvares
PROTEL99SE NETLIST
*SPICE Netlist generated by Advanced Sim server on 6/2/2004 9:41:33 AM
*for: Impedance.nsx
*Schematic Netlist:
I1 0 2 1u AC 1
Q1 NetR1_2 2 NetR2_1 2N2222
R1 NetV1_1 NetR1_2 10k
R2 NetR2_1 0 2k
V1 NetV1_1 0 +5V AC 0 0
..SAVE 0 2 NetR1_2 NetR2_1 NetV1_1 I1[v] V1#branch @V1[z] @Q1[ib] @Q1[ic]
@Q1[ie]
..SAVE @R1 @R2 @I1[p] @Q1[p] @R1[p] @R2[p] @V1[p]
*PLOT AC -1 1 A=2
*PLOT OP -1 1 A=2
*Selected Circuit Analyses:
..AC LIN 100000 10 1E8
..OP
*Models and Subcircuit:
..MODEL 2N2222 NPN (IS=81.2F NF=1 BF=195 VAF=98.6 IKF=0.48 ISE=53.7P NE=2
BR=4
+ NR=1 VAR=20 IKR=0.72 RE=64.4M RB=0.258 RC=25.8M XTB=1.5 CJE=89.5P VJE=1.1
+ MJE=0.5 CJC=28.9P VJC=0.3 MJC=0.3 TF=530P TR=368N)
..END
******************** LTSpice NETLIST **************************
* C:\Program Files\LTC\SwCADIII\Draft6.asc
R1 N003 N001 10k
R2 N002 0 2k
I1 0 2 1ľ AC 1
Q1 N001 2 N002 0 2N2222
V1 N003 0 5
..model NPN NPN
..model PNP PNP
..lib C:\Program Files\LTC\SwCADIII\lib\cmp\standard.bjt
..ac lin 100000 10 100Meg
..backanno
..end
******** 2N2222 Model *******
..model 2N2222 NPN(IS=1E-14 VAF=100 BF=200 IKF=0.3 XTB=1.5 BR=3 CJC=8E-12
CJE=25E-12 TR=100E-9 TF=400E-12 ITF=1 VTF=2 XTF=3 RB=10 RC=3 RE=1 Vceo=30
Icrating=800m mfg=Philips)