LTSpice ( how to import a component )

Thread Starter

electronicsenjoyer089

Joined Feb 24, 2025
182
Hello all, can someone give me a hand importing a bjt transistor pnp?

I downloaded the file which is in .txt ( see the file )

At this point i dragged it into ltspice and what appears is this:

also when i right click on the name, the ''create symbol'' doesnt really appear, what can i do?
1744725861082.png
 

Attachments

crutschow

Joined Mar 14, 2008
38,314
You can copy and past the model info in that file to the standard.bjt file in LTspice\lib\cmp folder.
It will then show up when you access the PNP models.
You don't need to add a symbol.
 

Papabravo

Joined Feb 24, 2006
22,058
Create Symbol is used for .subckt (sub-circuits). The .model construct is designed to be in the schematic or in a standard file like
standard.bjt
 

ericgibbs

Joined Jan 29, 2010
21,390
hi 089,
Just added OK to my .bjt OK


NOTE: Did you Save the *.bjt after adding that PNP text.?????

* Copyright (c) 2000-2025 Analog Devices, Inc. All rights reserved.
*
.MODEL ZXTP25140BFH PNP IS=1.6E-13 NF=1 BF=210 VAF=175 ISE=3E-14 IKF=4.2
+ NE=1.4 BR=12 VAR=5.15 ISC=1E-13 NC=1.08 IKR=0.7 RC=0.013 RB=0.2 RE=0.016
+ QUASIMOD=1 RCO=4 GAMMA=1.4E-8 CJC=42E-12 MJC=0.32 VJC=0.44 CJE=237E-12
+ MJE=0.44 VJE=0.85 TF=0.95E-9 TR=22E-8 TRC1=.005 TRB1=.005 TRE1=.005 XTB=1.4

.model 1NT251 NPN(Is=51.37f Xti=3 Eg=1.11 Vaf=87 Bf=108.4 Ne=1.353 Ise=185.4f Ikf=2.926 Xtb=1.5 Var=40 Br=.2127 Nc=2 Isc=185f Ikr=.196 Rb=29.6 Rc=1.85 Cjc=17.01p Mjc=.261 Vjc=.75 Fc=.5 Cje=35.97p Mje=.43 Vje=.75 Tr=537n Tf=287.7p Itf=2 Vtf=40 Xtf=1.5 mfg=USSR)
.model 13003 npn Is=0f3 Bf=16 Nf=0.98 Vaf=300 Ikf=3.45 Nk=0.84 Br=0.63 Var=493 Ikr=2.45 Bvbe=7 Ise=0f54 Ne=1.24 Isc=5f7 Nc=2.54 Rb=1.54 Irb=0.2 Rbm=88m Re=8m Rc=217m Cjc=5p6 Vjc=0.90 Mjc=0.28 Cje=35p Vje=0.68 Mje=0.33 Fc=0.56 Tf=17n Itf=0m192 Vtf=13.7 Xtf=5.46 Tr=0u1 Gamma=19p Qco=4n5 Rco=1.5 Vo=15
.model 2T325B NPN (Is=49.6f Xti=3 Eg=1.11 Vaf=70 Bf=313.5 Ne=1.358 Ise=49.56f Ikf=.135 Xtb=1.5 Br=4 Nc=2 Isc=100p Ikr=20m Rc=20 Cjc=2.5p Vjc=.72 Mjc=.333 Fc=.5 Cje=2.5p Vje=.75 Mje=.333 Tr=250p Tf=516.5p Itf=0 Vtf=0 Vceo=15 Icrating=0.06 mfg=USSR)

EG57_ 2814.gif
 

Thread Starter

electronicsenjoyer089

Joined Feb 24, 2025
182
hi 089,
Just added OK to my .bjt OK


NOTE: Did you Save the *.bjt after adding that PNP text.?????

* Copyright (c) 2000-2025 Analog Devices, Inc. All rights reserved.
*
.MODEL ZXTP25140BFH PNP IS=1.6E-13 NF=1 BF=210 VAF=175 ISE=3E-14 IKF=4.2
+ NE=1.4 BR=12 VAR=5.15 ISC=1E-13 NC=1.08 IKR=0.7 RC=0.013 RB=0.2 RE=0.016
+ QUASIMOD=1 RCO=4 GAMMA=1.4E-8 CJC=42E-12 MJC=0.32 VJC=0.44 CJE=237E-12
+ MJE=0.44 VJE=0.85 TF=0.95E-9 TR=22E-8 TRC1=.005 TRB1=.005 TRE1=.005 XTB=1.4

.model 1NT251 NPN(Is=51.37f Xti=3 Eg=1.11 Vaf=87 Bf=108.4 Ne=1.353 Ise=185.4f Ikf=2.926 Xtb=1.5 Var=40 Br=.2127 Nc=2 Isc=185f Ikr=.196 Rb=29.6 Rc=1.85 Cjc=17.01p Mjc=.261 Vjc=.75 Fc=.5 Cje=35.97p Mje=.43 Vje=.75 Tr=537n Tf=287.7p Itf=2 Vtf=40 Xtf=1.5 mfg=USSR)
.model 13003 npn Is=0f3 Bf=16 Nf=0.98 Vaf=300 Ikf=3.45 Nk=0.84 Br=0.63 Var=493 Ikr=2.45 Bvbe=7 Ise=0f54 Ne=1.24 Isc=5f7 Nc=2.54 Rb=1.54 Irb=0.2 Rbm=88m Re=8m Rc=217m Cjc=5p6 Vjc=0.90 Mjc=0.28 Cje=35p Vje=0.68 Mje=0.33 Fc=0.56 Tf=17n Itf=0m192 Vtf=13.7 Xtf=5.46 Tr=0u1 Gamma=19p Qco=4n5 Rco=1.5 Vo=15
.model 2T325B NPN (Is=49.6f Xti=3 Eg=1.11 Vaf=70 Bf=313.5 Ne=1.358 Ise=49.56f Ikf=.135 Xtb=1.5 Br=4 Nc=2 Isc=100p Ikr=20m Rc=20 Cjc=2.5p Vjc=.72 Mjc=.333 Fc=.5 Cje=2.5p Vje=.75 Mje=.333 Tr=250p Tf=516.5p Itf=0 Vtf=0 Vceo=15 Icrating=0.06 mfg=USSR)

View attachment 347087
no i didnt do that, what's that i didnt get it
 

ericgibbs

Joined Jan 29, 2010
21,390
hi 089,
Post your standard.bjt file.
To enable an upload of the file, rename as standard.txt

Let's see what you are doing wrong. ;)
E
 

Thread Starter

electronicsenjoyer089

Joined Feb 24, 2025
182
hi 089,
Just added OK to my .bjt OK


NOTE: Did you Save the *.bjt after adding that PNP text.?????

* Copyright (c) 2000-2025 Analog Devices, Inc. All rights reserved.
*
.MODEL ZXTP25140BFH PNP IS=1.6E-13 NF=1 BF=210 VAF=175 ISE=3E-14 IKF=4.2
+ NE=1.4 BR=12 VAR=5.15 ISC=1E-13 NC=1.08 IKR=0.7 RC=0.013 RB=0.2 RE=0.016
+ QUASIMOD=1 RCO=4 GAMMA=1.4E-8 CJC=42E-12 MJC=0.32 VJC=0.44 CJE=237E-12
+ MJE=0.44 VJE=0.85 TF=0.95E-9 TR=22E-8 TRC1=.005 TRB1=.005 TRE1=.005 XTB=1.4

.model 1NT251 NPN(Is=51.37f Xti=3 Eg=1.11 Vaf=87 Bf=108.4 Ne=1.353 Ise=185.4f Ikf=2.926 Xtb=1.5 Var=40 Br=.2127 Nc=2 Isc=185f Ikr=.196 Rb=29.6 Rc=1.85 Cjc=17.01p Mjc=.261 Vjc=.75 Fc=.5 Cje=35.97p Mje=.43 Vje=.75 Tr=537n Tf=287.7p Itf=2 Vtf=40 Xtf=1.5 mfg=USSR)
.model 13003 npn Is=0f3 Bf=16 Nf=0.98 Vaf=300 Ikf=3.45 Nk=0.84 Br=0.63 Var=493 Ikr=2.45 Bvbe=7 Ise=0f54 Ne=1.24 Isc=5f7 Nc=2.54 Rb=1.54 Irb=0.2 Rbm=88m Re=8m Rc=217m Cjc=5p6 Vjc=0.90 Mjc=0.28 Cje=35p Vje=0.68 Mje=0.33 Fc=0.56 Tf=17n Itf=0m192 Vtf=13.7 Xtf=5.46 Tr=0u1 Gamma=19p Qco=4n5 Rco=1.5 Vo=15
.model 2T325B NPN (Is=49.6f Xti=3 Eg=1.11 Vaf=70 Bf=313.5 Ne=1.358 Ise=49.56f Ikf=.135 Xtb=1.5 Br=4 Nc=2 Isc=100p Ikr=20m Rc=20 Cjc=2.5p Vjc=.72 Mjc=.333 Fc=.5 Cje=2.5p Vje=.75 Mje=.333 Tr=250p Tf=516.5p Itf=0 Vtf=0 Vceo=15 Icrating=0.06 mfg=USSR)

View attachment 347087
I attached the file, thanks
 

Attachments

ericgibbs

Joined Jan 29, 2010
21,390
Hi 089,
You had only one line of the PNP model text, but it was pasted in three times!!!!

Rename your existing standard.bjt to standard.bjt.old

Paste this list.txt into the cmp file and rename as standard.bjt
 

Attachments

Last edited:

ericgibbs

Joined Jan 29, 2010
21,390
hi,
How do you explain the list.txt file you posted to me is 102kB
and the image of your cmp standard.bjt file shows a much smaller file 22kB ???

E
EG57_ 2815.gifEG57_ 2814.gif
 
Top