Components Library and Circuits
For all of these components, place the subcircuit and the component in their respective folders, then restart LTspice. The component will then show up as a menu selection.
Contents
- 1 An LTspice Standard Library Replacement
- 2 A Large LTspice Folder from Bordodynov
- 3 A note on portability of these "permanent" LTspice Components:
- 4 CFL Circuit
- 5 Comparators
- 6 Diodes
- 7 MOSFET Drivers
- 8 NMOS
- 9 NPN Darlington
- 10 Opamps
- 11 PMOS
- 12 PNP Darlington
- 13 Power Factor Corrector
- 14 Solar Panel Subcircuit
- 15 Voltage Regulators
- 16 Compilation
An LTspice Standard Library Replacement
The whole library replacement / addition as one zip file Place in \lib\cmp as a replacement, or carefully extract what you need (Suggested)
Browse or Search on what is in this zip file, and extract what you need
standard.bjt
standard.dio
standard.jft
standard.mos
A Large LTspice Folder from Bordodynov
Bordodynov has kindly shared his entire LTspice folder with tons of parts and examples.
The whole library replacement with additions plus tons of examples as one zip file - about 33 MEG.
See Screen Shot of files removed from the collection containing AEI SPICE Models
These AEI models were removed because of possible copyright violations. However, search on the internet for these models. They are available.
For example AD8331 models are Available HERE AD8332 here AD8099 here MC34063 here
This entire zip file has been expanded so you can view the contents, and it will be available to search engines.
You start by opening folders here:
LTspiceIV-library (Directory Style - Drill Down)
LTspiceIV-examples (Directory Style - Drill Down)
Vendor_List (Directory Style - Drill Down)
Mixed_Part_List (Directory Style - Drill Down)
A note on portability of these "permanent" LTspice Components:
Many comments are made about the lack of portability of creating these permanent parts in LTspice. The approach preferred by most is to include the symbols and SPICE models directly in the folder of the schematic you are testing. PLEASE NOTE that using this method to create permanent LTspice models does not prevent this portability! Create your permanent part, or add the parts from the list below. When you share this schematic with others, or use it on a computer that does not have this component, just copy the 'asy' file and its associated SPICE reference to the 'asc' file you are providing to the foreign computer.
In this way, you can have the best of both worlds: You can build up a permanent library of useful parts, immediately accessible when you create a circuit AND you have portability!
CFL Circuit
13 Watt 120 VAC Compact Fluorescent
Entire Zip file unzip to its own folder(hierarchical example).
Files Below - Click to view as text, Right Click and Save As to download individually.
CFL.asy
CFL.lib
GE13W120V_CFL.asc
winding.asy
Xfrmr.lib
A good study of the CFL, and excellent use of good layout technique and use of LTspice. Thanks a.s.
Some explanation:
Before the arc strikes the series resonant circuit is nearly unloaded and, if the arc did not start, would gradually climb in voltage to whatever the open circuit Q of the resonant tank is times the input voltage. This could take quite a few cycles at the resonant frequency. Q will be limited by the loss in the end electrode heater windings and the resonant inductor. This sort of start does not immediately jump to a high voltage.
The conductivity of the CFL depends on the level of ionization of the gas in the tube, which in turn depends on the power per unit length of arc. As the current increases, heating and ionization builds, leading to a thicker, lower resistance arc. This is why the arc exhibits a negative incremental resistance -- increased current leads to a larger diameter arc.
However, at some point, the narrow cross section of the CFL tube limits further conductivity modulation, leading to saturation and to the arc voltage increasing rather than decreasing with increasing current (positive resistance). I would guess that this effect occurs only at damaging levels of current, but that is only a guess.
End effects, cathode fall (larger) and anode fall (smaller) tend to be quasi-fixed voltages that don't depend too much on current in the normal operating range.
Arc conductivity depends on ionization, which depends on average power input. The simplest model for this is to low pass a behavioral source set up with its output proportional to arc power. Note that this thermal averaging effect is what is responsible the arc appearing as a positive resistance at high frequency (the ions stay hot and conductive for a while even if the current goes to zero).
Comparators
LM339
File:LM339.sub LM339 subcircuit. Place in \lib\sub
File:LM339.asy LM339 component. Place in \lib\sym\Comparators
File:LM339 test.asc Test circuit using the native LM339. You may want to use the alternate solver.
Datasheet
Diodes
Leaky Schottky Diode BAR43
Leaky Diode Model for LTspice Right Click and Save As to download
Datasheet for BAR43
The model in the zip file is for the BAR43 Schottky Diode, but also shows the use of temperature dependence of reverse leakage, and fairly well follows the datasheet.
Soft Recovery Diode
Soft Diode Model for LTspice Right Click and Save As to download
This model responds both to direct recombination as well as to reverse voltage sweeping out of carriers. I have optimized the model for LTspice,
but think it could be even further optimized. However, it is very interesting and useful as is.
The ideal soft recovery diode model add on should really only be an extension to the existing built in intrinsic SPICE diode.
This model uses eight nodes, which seems to me about three nodes too many.
Please see: "A New SPICE Model of Power P-I-N Diode Based on Asymptotic Waveform Evaluation" by Antonio G. M. Strollo.
MOSFET Drivers
VOM1271
File:VOM1271.sub VOM1271 Photovoltaic MOSFET Driver model subcircuit. Place in \lib\sub or in your subdirectory
NMOS
2N7002
File:2N7002.sub 2N7002 subcircuit. Place in \lib\sub
File:2N7002.asy 2N7002 component. Place in \lib\sym\nmos
File:2N7002 test.asc Test circuit using the native 2N7002 You may want to use the alternate solver
Datasheet
BS170
IRFB4110pbf
IRFB4110 subcircuit Place in \lib\sub
File:IRFB4110pbf.asy IRFB4110 component. Place in \lib\sym\nmos
File:Irfb4110 test.asc Test circuit using the native IRFB4110. You may want to use the alternate solver.
Datasheet
IRLR3110
IRLR3110 subcircuit Place in \lib\sub
File:IRLR3110.asy IRLR3110 component. Place in \lib\sym\nmos
File:Irlr3110 test.asc Test circuit using the native IRLR3110. You may want to use the alternate solver.
Datasheet
MGSF2N02ELT1
MGSF2N02ELT1 subcircuit Place in \lib\sub
File:MGSF2N02ELT1.asy MGSF2N02ELT1 component. Place in \lib\sym\NMOS
File:MGSF2N02ELT1 test.asc Test circuit using the native MGSF2N02ELT1. You may want to use the alternate solver.
Datasheet
NPN Darlington
TIP142
File:TIP142.sub TIP142 subcircuit. Place in \lib\sub
File:TIP142.asy TIP142 symbol. Place in \lib\sym\Darlington
File:TIP142-test.asc Test circuit using the native TIP142
Datasheet Adapted from Yahoo LTspice Group Message 28586
Opamps
LM2902 - National Semiconductor
LM2902 NS model plus a great model by Bordodynov - complete with demo circuits
LM324 - National Semiconductor
LM324 subcircuit Place in \lib\sub
File:LM324-national.asy LM324/NS component. Place in \lib\sym\Opamps
File:LM324-national test.asc Test circuit using the native LM324. You may want to use the alternate solver.
Datasheet
LM6132A - National Semiconductor
File:LM6132A.MOD LM6132A subcircuit. Place in \lib\sub
File:LM6132A-national.asy LM6132A/NS component. Place in \lib\sym\Opamps
File:LM6132A test.asc Test circuit using the native LM6132A. You may want to use the alternate solver.
Datasheet
LMH6642 - National Semiconductor
File:LMH6642.MOD LMH6642 subcircuit. Place in \lib\sub
File:LMH6642.asy LMH6642 symbol. Place in \lib\sym\Opamps
File:LMH6642 test native.asc Test circuit using the native LMH6642. You may want to use the alternate solver.
Datasheet
THS4131
THS4131 subcircuit Extract ths4131.txt & place in \lib\sub
File:THS4131.asy THS4131 component. Place in \lib\sym\Opamps
File:THS4131 test1.asc THS4131 test circuit, using native THS4131
Datasheet Original files created by Helmut Sennewald at [1].
TL072
File:TL072.sub TL072 subcircuit. Place in \lib\sub
File:TL072.asy TL072 component. Place in \lib\sym\Opamps
File:Pweoverdrivepreamp2.asc Overdrive Preamp circuit, using native TL072
Datasheet Original files adapted from [2].
PMOS
BS250
Si7489DP
File:Si7489dp.sub Si7489DP subcircuit. Place in \lib\sub
File:Si7489.asy Si7489DP symbol. Place in \lib\sym\PMOS
File:Test-Si7489.asc Test circuit using the native Si7489DP. You may want to use the alternate solver
Datasheet
SiA431DJ
File:SiA431DJ.sub SiA431DJ subcircuit. Place in \lib\sub
File:SiA431DJ.asy SiA431DJ symbol. Place in \lib\sym\PMOS
File:Test-Sia413dj.asc Test circuit using the native SiA431DJ. You may want to use the alternate solver
Datasheet
PNP Darlington
TIP127
File:TIP127.sub TIP127 subcircuit. Place in \lib\sub
File:TIP127.asy TIP127 symbol. Place in \lib\sym\Darlington
File:TIP127-test.asc Test circuit using the native TIP127
Datasheet
Power Factor Corrector
UC3853
UC3853 subcircuit Place in folder of circuit file (hierarchical example).
File:UC3853.asy UC3853 symbol Place in folder of circuit file.
File:UC3853.asc UC3853 hierarchical subcircuit Place in folder of circuit file.
File:UC3853 Test.asc UC3853 test circuit.
Above files in one download
Datasheet
Great example creating a model from spec sheets (courtesy of analogspiceman)
Solar Panel Subcircuit
2 cell solar panel complete with test circuit
* PV.cir: simple yet effective PV Array model .subckt PV A K params: Rp=1 Rs=3m Isc=10 n=50 m=1 * Rp sets voltage slope of curve * Rs sets curretn slope of curve * Isc= short circuit current * n= number of series cells * m= number of parallel strings I1 A K {-Isc*m} D1 A K cell n={n} m={m} Rp A K {Rp*n/m} .model cell d Rs={Rs} + Is=315n n=1.262 Cjo=50u + Tnom=25 Trs1=10m Trs2=0m1 .ends PV * PVS.cir: PV Array model with a solar input node (1V=1 sun) .subckt PV3 A K S params: Rp=1 Rs=3m Isc=10 n=50 m=1 * Rp sets voltage slope of curve * Rs sets curretn slope of curve * Isc= short circuit current * n= number of series cells * m= number of parallel strings G1 A K 0 S {Isc*m} D1 A K cell n={n} m={m} Rp A K {Rp*n/m} .model cell d Rs={Rs} + Is=315n n=1.262 Cjo=50u + Tnom=25 Trs1=10m Trs2=0m1 .ends PVS
Voltage Regulators
TL431
File:TL431.sub TL431 subcircuit. Place in \lib\sub
File:TL431.asy TL431 component. Place in \lib\sym\Voltage Regulators
File:TL431 test.asc Test circuit using the native TL431
Datasheet
An excellent TL431 model, with comparisons to other models
TL431.zip - an improved model for TL431
See a useful discussion here, "Realistic SPICE model for TL431".
Compilation
NEW UPDATED VERSION
LtSpiceIV_Plus_12_2009.exe
LTspicePlus_10_08.exe
Roberto Hugo Rodríguez Zubieta in 2005 created this executable, that provides a large number of extra components. First, backup your existing /lib/cmp directory at a minimum, and you may find it easy to just zip your entire /lib directory down. This executable will overwrite /Lib/Cmp with many more components that is based a dated version of the LTspice originals. The existing files are put into a folder /Lib/Cmp/Original. The dated version is not a problem. From LTspice, under 'Tools', selecting 'Sync Release' will restore all of the new models in the latest libs from LTspice. (At least every one I could see, using a Diff program.) Plus now you have many more.
The rest includes more than 90 files in the format *. sub, to denote that they contain subcircuits of devices or *. lib, for the files that contain families of components. This information is added to the folder /sub and it doesn't overwrite any original data. To the folder /sym is added several subfolders with files corresponding to more than 400 symbols.
In the folder \examples\LtSpicePlus, there are more of 600 clever examples to be run, these are mainly in format *. asc, although there are also some few ones in format *. cir; plus in this collection there are also near 100 symbols in format *. asy.
The install is in Spanish! The product result is in English. If you come across some 'Replace' options, etc, be prepared to Google some Spanish words to make sure you know what you are selecting. It's a 3.5MEG download.
If you don't speak Spanish, try those instructions:
- say "Aceptar" (Accept).
- Point the "Carpeta de Destino" (Destiny Folder) parameter at your LTSpice install-folder, normally it is C:\Program Files\LTC\LTSpice IV, but it will vary (e.g. in a Portuguese version of Windows it will be 'C:\Arquivos de Programas'...).
- If it complains about "Los siguinentes ficheros ya existen" (The following files already exist), choose what you consider to be most adequate: Sí/No (Yes/No), "Sí a todo/No a todo" (Yes to replace all/Replace nothing at all) or "Renombrar" (Rename). It's your choice, I'd say "yes" after checking if filesizes are similar (i.e. a library you already have).
- The extraction will run, it takes a while (lots of files). If finishes correctly and doesn't give any error, probably all went well, try some examples just to be sure.
Roberto has Spanish documentation and tutorials using LTspice at Precisión, guía para desarrollos con Ltspice.
Someone wants to build an updated version of this? Contact Roberto: precisionorte -at- gmail.com and he can help get you started.