http://ltwiki.org/api.php?action=feedcontributions&user=Lewispaul2&feedformat=atomLTwiki-Wiki for LTspice - User contributions [en]2024-03-29T02:11:25ZUser contributionsMediaWiki 1.31.7http://ltwiki.org/index.php?title=Tutorials_relevant_to_Design_and_Modelling&diff=390Tutorials relevant to Design and Modelling2009-10-19T19:18:36Z<p>Lewispaul2: /* Pulse Width Modulation Filtering */</p>
<hr />
<div>== Pulse Width Modulation Filtering ==<br />
[[File:PWM_Filters.pdf]] Jim Wagner's white paper on PWM filtering<br /></div>Lewispaul2http://ltwiki.org/index.php?title=File:PWM_Filters.pdf&diff=389File:PWM Filters.pdf2009-10-19T19:15:25Z<p>Lewispaul2: Jim Wagner's white paper on PWM filtering</p>
<hr />
<div>Jim Wagner's white paper on PWM filtering</div>Lewispaul2http://ltwiki.org/index.php?title=File:TIP127.asy&diff=385File:TIP127.asy2009-09-26T01:40:53Z<p>Lewispaul2: uploaded a new version of "File:TIP127.asy":&#32;updated symbol to make it non-editable.</p>
<hr />
<div>TIP127 PNP Darlington symbol</div>Lewispaul2http://ltwiki.org/index.php?title=File:TIP127-test.asc&diff=384File:TIP127-test.asc2009-09-26T01:39:40Z<p>Lewispaul2: uploaded a new version of "File:TIP127-test.asc":&#32;updated test schematic</p>
<hr />
<div>Test circuit using the native TIP127</div>Lewispaul2http://ltwiki.org/index.php?title=File:TIP127-test.asc&diff=383File:TIP127-test.asc2009-09-26T01:18:19Z<p>Lewispaul2: Test circuit using the native TIP127</p>
<hr />
<div>Test circuit using the native TIP127</div>Lewispaul2http://ltwiki.org/index.php?title=File:TIP127.asy&diff=382File:TIP127.asy2009-09-26T01:17:45Z<p>Lewispaul2: TIP127 PNP Darlington symbol</p>
<hr />
<div>TIP127 PNP Darlington symbol</div>Lewispaul2http://ltwiki.org/index.php?title=File:TIP127.sub&diff=381File:TIP127.sub2009-09-26T01:17:08Z<p>Lewispaul2: Subcircuit for TIP127 PNP Darlington</p>
<hr />
<div>Subcircuit for TIP127 PNP Darlington</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=380Components Library and Circuits2009-09-26T01:11:41Z<p>Lewispaul2: </p>
<hr />
<div>''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.''<br />
<br />
== Compilation ==<br />
<br />
[http://alternateenergies.com/LTwiki/files/LtSpicePlus_10_08.exe LTspicePlus_10_08.exe]<br><br />
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
If you don't speak Spanish, try those instructions:<br />
<br />
* say "Aceptar" (Accept).<br />
* 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'...).<br />
* 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).<br />
* 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.<br />
<br />
Roberto has Spanish documentation and tutorials using LTspice at [https://sites.google.com/site/precisionaudiotv/Home Precisión, guía para desarrollos con Ltspice.]<br />
<br />
Someone wants to build an updated version of this? Contact Roberto: precisionorte -at- gmail.com and he can help get you started.<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
'''IRFB4110pbf'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irfb4110pbf.spi IRFB4110 subcircuit] Place in \lib\sub <br><br />
[[File:IRFB4110pbf.asy]] IRFB4110 component. Place in \lib\sym\nmos <br><br />
[[File:Irfb4110 test.asc]] Test circuit using the native IRFB4110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irfb4110pbf.pdf Datasheet]<br />
<br />
'''IRLR3110'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irlr_u3110zpbf.spi IRLR3110 subcircuit] Place in \lib\sub <br><br />
[[File:IRLR3110.asy]] IRLR3110 component. Place in \lib\sym\nmos <br><br />
[[File:Irlr3110 test.asc]] Test circuit using the native IRLR3110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irlr3110zpbf.pdf Datasheet]<br />
<br />
== NPN Darlington ==<br />
<br />
'''TIP142'''<br />
<br />
[[File:TIP142.sub]] TIP142 subcircuit. Place in \lib\sub <br><br />
[[File:TIP142.asy]] TIP142 symbol. Place in \lib\sym\Darlington <br><br />
[[File:TIP142-test.asc]] Test circuit using the native TIP142<br><br />
[http://www.fairchildsemi.com/ds/TI/TIP142.pdf Datasheet]&nbsp;&nbsp; [http://tech.groups.yahoo.com/group/LTspice/files/%20Attached%20files%20sorted%20by%20message%20number/msg_28586/ Adapted from Yahoo LTspice Group Message 28586]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''LM6132A - National Semiconductor'''<br />
<br />
[[File:LM6132A.MOD]] LM6132A subcircuit. Place in \lib\sub <br><br />
[[File:LM6132A-national.asy]] LM6132A/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM6132A test.asc]] Test circuit using the native LM6132A. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM6132.pdf Datasheet]<br />
<br />
'''LMH6642 - National Semiconductor'''<br />
<br />
[[File:LMH6642.MOD]] LMH6642 subcircuit. Place in \lib\sub <br><br />
[[File:LMH6642.asy]] LMH6642 symbol. Place in \lib\sym\Opamps <br><br />
[[File:LMH6642 test native.asc]] Test circuit using the native LMH6642. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LMH6642.pdf Datasheet]<br />
<br />
'''THS4131'''<br />
<br />
[http://www.ti.com/litv/zip/sloj149 THS4131 subcircuit] Extract ths4131.txt & place in \lib\sub <br><br />
[[File:THS4131.asy]] THS4131 component. Place in \lib\sym\Opamps <br><br />
[[File:THS4131 test1.asc]] THS4131 test circuit, using native THS4131<br><br />
[http://www.ti.com/lit/gpn/ths4131 Datasheet] Original files created by Helmut Sennewald at [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
== PNP Darlington ==<br />
<br />
'''TIP127'''<br />
<br />
[[File:TIP127.sub]] TIP127 subcircuit. Place in \lib\sub <br><br />
[[File:TIP127.asy]] TIP127 symbol. Place in \lib\sym\Darlington <br><br />
[[File:TIP127-test.asc]] Test circuit using the native TIP127<br><br />
[http://www.fairchildsemi.com/ds/TI/TIP127.pdf Datasheet]<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=Most_frequently_asked_questions_for_beginners&diff=349Most frequently asked questions for beginners2009-09-13T03:55:27Z<p>Lewispaul2: /* How can I add subcircuits to LTspice? */</p>
<hr />
<div>==== <br /><br />What are the different LTspice file types? ====<br />
<br />
Schematic: name.asc the drawing with your circuit (a text file)<br />
Symbol: name.asy symbols for the schematic (a text file)<br />
Netlist: name.net unprocessed netlist (text file viewable from within LTspice <br />
& usable by other SPICE engines) <br />
Logfile: name.log info and results from .four, .measure, .op (text file viewable <br />
from within LTspice); may also contain the fully processed<br />
and expanded netlist (a [[Control Panel]] setting)<br />
Result: name.raw binary output data file (text format may be optionally specified)<br />
Result: name.fft binary result of an FFT<br />
Plot settings: name.plt text file used to save and restore Waveform Viewer plot settings<br />
Model file: abc.xyz text file containing model(s) - may be any valid file name<br />
Circuit file: name.cir frequently used extension for an external netlist input file (text)<br />
<br />
==== How do you copy and paste between schematics? ====<br />
<br />
Click the '''Copy Icon''' in the tool bar or select '''Copy''' from the '''Edit''' drop down menu (or type '''ctrl-C''').&nbsp; Select (with the mouse) what you want to copy.&nbsp; Make the target schematic active (click on it or its tab or type '''ctrl-Tab''') and then click the '''Paste Icon''' in the tool bar or select '''Paste''' from the '''Edit''' drop down menu (or type '''ctrl-V''').<br />
<br />
==== How do I copy and paste between symbols in the symbol editor? ====<br />
<br />
It is not possible to use copy and paste in the symbol editor.&nbsp; Symbol files are ascii text.&nbsp; Merge the text as described in [http://tech.groups.yahoo.com/group/LTspice/message/7201?threaded=1&l=1 message 7201] in the LTspice Yahoo Group.<br />
<br />
==== How can I add intrinsic device models (BJTs, FETs, etc.) to LTspice? ====<br />
<br />
Please take a look to the many examples in the files section of the LTspice Yahoo Group ([http://tech.groups.yahoo.com/group/LTspice/files/%20Lib/ Files => Lib]).<br />
<br />
==== How can I add subcircuits to LTspice? ====<br />
<br />
You will find many answers when you search the LTspice Yahoo Group messages for words like "library", "symbol" or "FAQ".<br />
<br />
Please read first the programs help:<br />
Help -> Schematic Capture -> Editing Components -> Creating New Symbols<br />
Help -> Help Topics ->FAQs -> Third party models<br />
Help -> Help Topics ->FAQs -> Mosfet<br />
<br />
You will find also help in the linked documents from our LTspice Yahoo Group.<br />
<br />
Links<br />
Links -> Spice Courseware And Tutorials<br />
<br />
There is another document about symbols and models in our Files section.<br />
<br />
Files -> Tut -> Symbol Types For Subcircuits<br />
<br />
'''Example: Using the SPICE model LMH6642 from National Semiconductor and the opamp2 symbol'''<br />
<br />
This example will aid the new user in familiarization with the .asy (symbol) and its use in using a subcircuit. The issue that prevents easy utilization of the SPICE model from National Semiconductor is that the pin order list of the SPICE model does not match the pin order list expected by the opamp2 symbol. <br />
<br />
You can open the opamp2.asy either in LTspice or in a text editor (such as Notepad) to determine the assumed pin order of opamp2. Right clicking each pin (the blue square) in LTspice provides information about each pin including the label and netlist order. As a summary you can select 'View', 'Pin Table'. Opamp2.asy has a netlist order of In+, In-, V+, V- and OUT. Looking at the opamp2.asy in Notepad you see the following:<pre><br />
PIN -32 80 NONE 0<br />
PINATTR PinName In+<br />
PINATTR SpiceOrder 1<br />
PIN -32 48 NONE 0<br />
PINATTR PinName In-<br />
PINATTR SpiceOrder 2<br />
PIN 0 32 NONE 0<br />
PINATTR PinName V+<br />
PINATTR SpiceOrder 3<br />
PIN 0 96 NONE 0<br />
PINATTR PinName V-<br />
PINATTR SpiceOrder 4<br />
PIN 32 64 NONE 0<br />
PINATTR PinName OUT<br />
PINATTR SpiceOrder 5<br />
</pre><br />
This section of the asy file gives the location and the same information as opening the .asy file in LTspice. So it's your preference which approach you take. <br />
<br />
An excerpt from the subcircuit we want to use is listed below in its original form: [http://www.national.com/models/spice/LM/LMH6642.MOD Source of the SPICE model from National Semiconductor]<br />
<pre><br />
* PINOUT ORDER -IN +IN VCC VEE OUT<br />
* PINOUT ORDER 2 3 7 4 6<br />
.SUBCKT LMH6642 2 3 7 4 6<br />
</pre><br />
So, we either have to modify the symbol or the subcircuit. Given the provisions of the model, that it cannot be modified (see Copyright) AND there would be other subcircuits that have the same netlist order, i.e. IN+ and IN- reversed, the choice is to make a new symbol and save it under 'Opamps', the same folder as opamp2.<br />
<br />
Saving the opamp2.asy file in LTspice as Opamp2(In+ In- reversed).asy, right-clicking the pins as indicated above, then reversing the pin orders on the input produces this file [[File:Opamp2(In+ In- reversed).asy]] Note: You have to close and reopen LTspice so that this symbol is available.<br />
<br><br />
Finally, we can add our new opamp2 to a test circuit and try it. We have to save the model [http://www.national.com/models/spice/LM/LMH6642.MOD Source of the SPICE model] to the same directory as our test file. Next, we can place the component in our circuit, the new Opamp2(In+ In- reversed). Right clicking on the modified opamp2 component, we put LMH6642 as the Value. This name must ''exactly'' match the subcircuit name in LMH6642.MOD. Then we add an include statement on the test file, .include LMH6642.mod.<br />
The test circuit is here: [[File:LMH6642 test opamp2(+-).asc]]<br />
<br />
You can also make this op-amp a permanent addition to your component selections. See [[Components_Library#Opamps]]<br />
<br />
==== I have a pulse source in my schematic with zero transition times.&nbsp; LTspice only shows slow transition times of 2ns.&nbsp; What's going on here? ====<br />
PULSE(0 5 0 0 0 20n 100n)<br />
<br />
LTspice automatically will use a default value for <trise> and <tfall> if these parameters are set to zero.&nbsp; Default value: 10% of Ton or 10% of Tperiod-Ton whatever is smaller.&nbsp; You must specify Trise and Tfall if you want a certain value. <br />
PULSE(0 5 0 100p 100p 20n 100n)<br />
Don't use steeper transitions than required by your application.<br />
<br />
==== I have used a pure sine source in my schematic, but the output signal of my circuit looks slightly different from cycle to cycle. ====<br />
<br />
LTspice has waveform compression enabled as the default setting.&nbsp; This compression reduces the amount of saved data during the simulation.&nbsp; It's a lossy compression and thus it can distort the saved signals.&nbsp; You can switch it off with the following command line in your schematic.<br />
.options plotwinsize=0<br />
It could be switched off in the "Control Panel -> Compression" pane as well, but this setting will be lost upon closing the current session of LTspice.<br />
<br />
==== How does one set the threshold and high/low voltages for LTspice's digital devices? ====<br />
<br />
The default threshold is always (Vhigh+Vlow)/2 .<br />
Flipflops require either a Td or a Trise for correct operation under every condition.<br />
<br />
Right-mouse-click on the device (instance) in the schematic.<br />
*SpiceLine: Vhigh=3V Ref=1.5<br />
*SpiceLine2: Td=5n Trise=3n<br />
<br />
Schmitt devices have the threshold and hysteresis parameters Vt and Vh instead of Ref. Vup=Vt+Vh Vdn=Vt-Vh.</div>Lewispaul2http://ltwiki.org/index.php?title=Most_frequently_asked_questions_for_beginners&diff=339Most frequently asked questions for beginners2009-09-12T02:28:11Z<p>Lewispaul2: /* How can I add subcircuits to LTspice? */</p>
<hr />
<div>==== <br /><br />What are the different LTspice file types? ====<br />
<br />
Schematic: name.asc the drawing with your circuit (a text file)<br />
Symbol: name.asy symbols for the schematic (a text file)<br />
Netlist: name.net unprocessed netlist (text file viewable from within LTspice <br />
& usable by other SPICE engines) <br />
Logfile: name.log info and results from .four, .measure, .op (text file viewable <br />
from within LTspice); may also contain the fully processed<br />
and expanded netlist (a [[Control Panel]] setting)<br />
Result: name.raw binary output data file (text format may be optionally specified)<br />
Result: name.fft binary result of an FFT<br />
Plot settings: name.plt text file used to save and restore Waveform Viewer plot settings<br />
Model file: abc.xyz text file containing model(s) - may be any valid file name<br />
Circuit file: name.cir frequently used extension for an external netlist input file (text)<br />
<br />
==== How do you copy and paste between schematics? ====<br />
<br />
Click the '''Copy Icon''' in the tool bar or select '''Copy''' from the '''Edit''' drop down menu (or type '''ctrl-C''').&nbsp; Select (with the mouse) what you want to copy.&nbsp; Make the target schematic active (click on it or its tab or type '''ctrl-Tab''') and then click the '''Paste Icon''' in the tool bar or select '''Paste''' from the '''Edit''' drop down menu (or type '''ctrl-V''').<br />
<br />
==== How do I copy and paste between symbols in the symbol editor? ====<br />
<br />
It is not possible to use copy and paste in the symbol editor.&nbsp; Symbol files are ascii text.&nbsp; Merge the text as described in [http://tech.groups.yahoo.com/group/LTspice/message/7201?threaded=1&l=1 message 7201] in the LTspice Yahoo Group.<br />
<br />
==== How can I add intrinsic device models (BJTs, FETs, etc.) to LTspice? ====<br />
<br />
Please take a look to the many examples in the files section of the LTspice Yahoo Group ([http://tech.groups.yahoo.com/group/LTspice/files/%20Lib/ Files => Lib]).<br />
<br />
==== How can I add subcircuits to LTspice? ====<br />
<br />
You will find many answers when you search the LTspice Yahoo Group messages for words like "library", "symbol" or "FAQ".<br />
<br />
Please read first the programs help:<br />
Help -> Schematic Capture -> Editing Components -> Creating New Symbols<br />
Help -> Help Topics ->FAQs -> Third party models<br />
Help -> Help Topics ->FAQs -> Mosfet<br />
<br />
You will find also help in the linked documents from our LTspice Yahoo Group.<br />
<br />
Links<br />
Links -> Spice Courseware And Tutorials<br />
<br />
There is another document about symbols and models in our Files section.<br />
<br />
Files -> Tut -> Symbol Types For Subcircuits<br />
<br />
'''Example: Using the SPICE model LMH6642 from National Semiconductor and the opamp2 symbol'''<br />
<br />
This example will aid the new user in familiarization with the .asy (symbol) and its use in using a subcircuit. The issue that prevents easy utilization of the SPICE model from National Semiconductor is that the pin order list of the SPICE model does not match the pin order list expected by the opamp2 symbol. <br />
<br />
You can open the opamp2.asy either in LTspice or in a text editor (such as Notepad) to determine the assumed pin order of opamp2. Right clicking each pin (the blue square) in LTspice provides information about each pin including the label and netlist order. As a summary you can select 'View', 'Pin Table'. Opamp2.asy has a netlist order of In+, In-, V+, V- and OUT. Looking at the opamp2.asy in Notepad you see the following:<pre><br />
PIN -32 80 NONE 0<br />
PINATTR PinName In+<br />
PINATTR SpiceOrder 1<br />
PIN -32 48 NONE 0<br />
PINATTR PinName In-<br />
PINATTR SpiceOrder 2<br />
PIN 0 32 NONE 0<br />
PINATTR PinName V+<br />
PINATTR SpiceOrder 3<br />
PIN 0 96 NONE 0<br />
PINATTR PinName V-<br />
PINATTR SpiceOrder 4<br />
PIN 32 64 NONE 0<br />
PINATTR PinName OUT<br />
PINATTR SpiceOrder 5<br />
</pre><br />
This section of the asy file gives the location and the same information as opening the .asy file in LTspice. So it's your preference which approach you take. <br />
<br />
An excerpt from the subcircuit we want to use is listed below in its original form: [http://www.national.com/models/spice/LM/LMH6642.MOD Source of the SPICE model from National Semiconductor]<br />
<pre><br />
* PINOUT ORDER -IN +IN VCC VEE OUT<br />
* PINOUT ORDER 2 3 7 4 6<br />
.SUBCKT LMH6642 2 3 7 4 6<br />
</pre><br />
So, we either have to modify the symbol or the subcircuit. Given the provisions of the model, that it cannot be modified AND there would be other subcircuits that have the same netlist order, i.e. IN+ and IN- reversed, the choice is to make a new symbol and save it under 'Opamps' as is opamp2.<br />
<br />
Saving the file in LTspice as Opamp2(In+ In- reversed).asy, then right-clicking the pins as indicated above, then reversing the pin orders on the input produces this file [[File:Opamp2(In+ In- reversed).asy]] Note: You have to close and reopen LTspice so that this symbol is available.<br />
<br><br />
Finally, we can add our new opamp2 to a test circuit and try it. We have to save the model [http://www.national.com/models/spice/LM/LMH6642.MOD Source of the SPICE model] to the same directory as our test file. Then we add an include statement on the test file, .include LMH6642.mod.<br />
The test circuit is here: [[File:LMH6642 test opamp2(+-).asc]]<br />
<br />
You can also make this op-amp a permanent addition to your component selections. See [[Components_Library#Opamps]]<br />
<br />
==== I have a pulse source in my schematic with zero transition times.&nbsp; LTspice only shows slow transition times of 2ns.&nbsp; What's going on here? ====<br />
PULSE(0 5 0 0 0 20n 100n)<br />
<br />
LTspice automatically will use a default value for <trise> and <tfall> if these parameters are set to zero.&nbsp; Default value: 10% of Ton or 10% of Tperiod-Ton whatever is smaller.&nbsp; You must specify Trise and Tfall if you want a certain value. <br />
PULSE(0 5 0 100p 100p 20n 100n)<br />
Don't use steeper transitions than required by your application.<br />
<br />
==== I have used a pure sine source in my schematic, but the output signal of my circuit looks slightly different from cycle to cycle. ====<br />
<br />
LTspice has waveform compression enabled as the default setting.&nbsp; This compression reduces the amount of saved data during the simulation.&nbsp; It's a lossy compression and thus it can distort the saved signals.&nbsp; You can switch it off with the following command line in your schematic.<br />
.options plotwinsize=0<br />
It could be switched off in the "Control Panel -> Compression" pane as well, but this setting will be lost upon closing the current session of LTspice.<br />
<br />
==== How does one set the threshold and high/low voltages for LTspice's digital devices? ====<br />
<br />
The default threshold is always (Vhigh+Vlow)/2 .<br />
Flipflops require either a Td or a Trise for correct operation under every condition.<br />
<br />
Right-mouse-click on the device (instance) in the schematic.<br />
*SpiceLine: Vhigh=3V Ref=1.5<br />
*SpiceLine2: Td=5n Trise=3n<br />
<br />
Schmitt devices have the threshold and hysteresis parameters Vt and Vh instead of Ref. Vup=Vt+Vh Vdn=Vt-Vh.</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=338Components Library and Circuits2009-09-12T02:21:41Z<p>Lewispaul2: /* Opamps */ Added LMH6642</p>
<hr />
<div>''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.''<br />
<br />
== Compilation ==<br />
<br />
[http://alternateenergies.com/LTwiki/files/LtSpicePlus_10_08.exe LTspicePlus_10_08.exe]<br><br />
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
If you don't speak Spanish, try those instructions:<br />
<br />
* say "Aceptar" (Accept).<br />
* 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'...).<br />
* 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).<br />
* 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.<br />
<br />
Roberto has Spanish documentation and tutorials using LTspice at [https://sites.google.com/site/precisionaudiotv/Home Precisión, guía para desarrollos con Ltspice.]<br />
<br />
Someone wants to build an updated version of this? Contact Roberto: precisionorte -at- gmail.com and he can help get you started.<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
'''IRFB4110pbf'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irfb4110pbf.spi IRFB4110 subcircuit] Place in \lib\sub <br><br />
[[File:IRFB4110pbf.asy]] IRFB4110 component. Place in \lib\sym\nmos <br><br />
[[File:Irfb4110 test.asc]] Test circuit using the native IRFB4110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irfb4110pbf.pdf Datasheet]<br />
<br />
'''IRLR3110'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irlr_u3110zpbf.spi IRLR3110 subcircuit] Place in \lib\sub <br><br />
[[File:IRLR3110.asy]] IRLR3110 component. Place in \lib\sym\nmos <br><br />
[[File:Irlr3110 test.asc]] Test circuit using the native IRLR3110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irlr3110zpbf.pdf Datasheet]<br />
<br />
== NPN Darlington ==<br />
<br />
'''TIP142'''<br />
<br />
[[File:TIP142.sub]] TIP142 subcircuit. Place in \lib\sub <br><br />
[[File:TIP142.asy]] TIP142 symbol. Place in \lib\sym\Darlington <br><br />
[[File:TIP142-test.asc]] Test circuit using the native TIP142<br><br />
[http://www.fairchildsemi.com/ds/TI/TIP142.pdf Datasheet]&nbsp;&nbsp; [http://tech.groups.yahoo.com/group/LTspice/files/%20Attached%20files%20sorted%20by%20message%20number/msg_28586/ Adapted from Yahoo LTspice Group Message 28586]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''LM6132A - National Semiconductor'''<br />
<br />
[[File:LM6132A.MOD]] LM6132A subcircuit. Place in \lib\sub <br><br />
[[File:LM6132A-national.asy]] LM6132A/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM6132A test.asc]] Test circuit using the native LM6132A. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM6132.pdf Datasheet]<br />
<br />
'''LMH6642 - National Semiconductor'''<br />
<br />
[[File:LMH6642.MOD]] LMH6642 subcircuit. Place in \lib\sub <br><br />
[[File:LMH6642.asy]] LMH6642 symbol. Place in \lib\sym\Opamps <br><br />
[[File:LMH6642 test native.asc]] Test circuit using the native LMH6642. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LMH6642.pdf Datasheet]<br />
<br />
'''THS4131'''<br />
<br />
[http://www.ti.com/litv/zip/sloj149 THS4131 subcircuit] Extract ths4131.txt & place in \lib\sub <br><br />
[[File:THS4131.asy]] THS4131 component. Place in \lib\sym\Opamps <br><br />
[[File:THS4131 test1.asc]] THS4131 test circuit, using native THS4131<br><br />
[http://www.ti.com/lit/gpn/ths4131 Datasheet] Original files created by Helmut Sennewald at [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=File:LMH6642_test_native.asc&diff=337File:LMH6642 test native.asc2009-09-12T02:17:39Z<p>Lewispaul2: LMH6642 test circuit using the native LMH6642 part. Save in Examples.</p>
<hr />
<div>LMH6642 test circuit using the native LMH6642 part. Save in Examples.</div>Lewispaul2http://ltwiki.org/index.php?title=File:LMH6642.asy&diff=336File:LMH6642.asy2009-09-12T02:15:37Z<p>Lewispaul2: LMH6642 symbol. Place in \lib\sym\Opamps</p>
<hr />
<div>LMH6642 symbol. Place in \lib\sym\Opamps</div>Lewispaul2http://ltwiki.org/index.php?title=File:LMH6642.MOD&diff=335File:LMH6642.MOD2009-09-12T02:14:40Z<p>Lewispaul2: LMH6642 subcircuit from National Instruments. Place in \lib\sub as a permanent component subcircuit, or in your local folder to include in your one schematic only.</p>
<hr />
<div>LMH6642 subcircuit from National Instruments. Place in \lib\sub as a permanent component subcircuit, or in your local folder to include in your one schematic only.</div>Lewispaul2http://ltwiki.org/index.php?title=Most_frequently_asked_questions_for_beginners&diff=334Most frequently asked questions for beginners2009-09-11T21:08:33Z<p>Lewispaul2: /* How can I add subcircuits to LTspice? */</p>
<hr />
<div>==== <br /><br />What are the different LTspice file types? ====<br />
<br />
Schematic: name.asc the drawing with your circuit (a text file)<br />
Symbol: name.asy symbols for the schematic (a text file)<br />
Netlist: name.net unprocessed netlist (text file viewable from within LTspice <br />
& usable by other SPICE engines) <br />
Logfile: name.log info and results from .four, .measure, .op (text file viewable <br />
from within LTspice); may also contain the fully processed<br />
and expanded netlist (a [[Control Panel]] setting)<br />
Result: name.raw binary output data file (text format may be optionally specified)<br />
Result: name.fft binary result of an FFT<br />
Plot settings: name.plt text file used to save and restore Waveform Viewer plot settings<br />
Model file: abc.xyz text file containing model(s) - may be any valid file name<br />
Circuit file: name.cir frequently used extension for an external netlist input file (text)<br />
<br />
==== How do you copy and paste between schematics? ====<br />
<br />
Click the '''Copy Icon''' in the tool bar or select '''Copy''' from the '''Edit''' drop down menu (or type '''ctrl-C''').&nbsp; Select (with the mouse) what you want to copy.&nbsp; Make the target schematic active (click on it or its tab or type '''ctrl-Tab''') and then click the '''Paste Icon''' in the tool bar or select '''Paste''' from the '''Edit''' drop down menu (or type '''ctrl-V''').<br />
<br />
==== How do I copy and paste between symbols in the symbol editor? ====<br />
<br />
It is not possible to use copy and paste in the symbol editor.&nbsp; Symbol files are ascii text.&nbsp; Merge the text as described in [http://tech.groups.yahoo.com/group/LTspice/message/7201?threaded=1&l=1 message 7201] in the LTspice Yahoo Group.<br />
<br />
==== How can I add intrinsic device models (BJTs, FETs, etc.) to LTspice? ====<br />
<br />
Please take a look to the many examples in the files section of the LTspice Yahoo Group ([http://tech.groups.yahoo.com/group/LTspice/files/%20Lib/ Files => Lib]).<br />
<br />
==== How can I add subcircuits to LTspice? ====<br />
<br />
You will find many answers when you search the LTspice Yahoo Group messages for words like "library", "symbol" or "FAQ".<br />
<br />
Please read first the programs help:<br />
Help -> Schematic Capture -> Editing Components -> Creating New Symbols<br />
Help -> Help Topics ->FAQs -> Third party models<br />
Help -> Help Topics ->FAQs -> Mosfet<br />
<br />
You will find also help in the linked documents from our LTspice Yahoo Group.<br />
<br />
Links<br />
Links -> Spice Courseware And Tutorials<br />
<br />
There is another document about symbols and models in our Files section.<br />
<br />
Files -> Tut -> Symbol Types For Subcircuits<br />
<br />
'''Example: Using the SPICE model LMH6642 from National Semiconductor and the opamp2 symbol'''<br />
<br />
This example will aid the new user in familiarization with the .asy (symbol) and its use in using a subcircuit. The issue that prevents easy utilization of the SPICE model from National Semiconductor is that the pin order list of the SPICE model does not match the pin order list expected by the opamp2 symbol. <br />
<br />
You can open the opamp2.asy either in LTspice or in a text editor (such as Notepad) to determine the assumed pin order of opamp2. Right clicking each pin (the blue square) in LTspice provides information about each pin including the label and netlist order. As a summary you can select 'View', 'Pin Table'. Opamp2.asy has a netlist order of In+, In-, V+, V- and OUT. Looking at the opamp2.asy in Notepad you see the following:<pre><br />
PIN -32 80 NONE 0<br />
PINATTR PinName In+<br />
PINATTR SpiceOrder 1<br />
PIN -32 48 NONE 0<br />
PINATTR PinName In-<br />
PINATTR SpiceOrder 2<br />
PIN 0 32 NONE 0<br />
PINATTR PinName V+<br />
PINATTR SpiceOrder 3<br />
PIN 0 96 NONE 0<br />
PINATTR PinName V-<br />
PINATTR SpiceOrder 4<br />
PIN 32 64 NONE 0<br />
PINATTR PinName OUT<br />
PINATTR SpiceOrder 5<br />
</pre><br />
This section of the asy file gives the location and the same information as opening the .asy file in LTspice. So it's your preference which approach you take. <br />
<br />
An excerpt from the subcircuit we want to use is listed below in its original form: [http://www.national.com/models/spice/LM/LMH6642.MOD Source of the SPICE model from National Semiconductor]<br />
<pre><br />
* PINOUT ORDER -IN +IN VCC VEE OUT<br />
* PINOUT ORDER 2 3 7 4 6<br />
.SUBCKT LMH6642 2 3 7 4 6<br />
</pre><br />
So, we either have to modify the symbol or the subcircuit. Given the provisions of the model, that it cannot be modified AND there would be other subcircuits that have the same netlist order, i.e. IN+ and IN- reversed, the choice is to make a new symbol and save it under 'Opamps' as is opamp2.<br />
<br />
Saving the file in LTspice as Opamp2(In+ In- reversed).asy, then right-clicking the pins as indicated above, then reversing the pin orders on the input produces this file [[File:Opamp2(In+ In- reversed).asy]] Note: You have to close and reopen LTspice so that this symbol is available.<br />
<br><br />
Finally, we can add our new opamp2 to a test circuit and try it. We have to save the model [http://www.national.com/models/spice/LM/LMH6642.MOD Source of the SPICE model] to the same directory as our test file. Then we add an include statement on the test file, .include LMH6642.mod.<br />
The test circuit is here: [[File:LMH6642 test opamp2(+-).asc]]<br />
<br />
==== I have a pulse source in my schematic with zero transition times.&nbsp; LTspice only shows slow transition times of 2ns.&nbsp; What's going on here? ====<br />
PULSE(0 5 0 0 0 20n 100n)<br />
<br />
LTspice automatically will use a default value for <trise> and <tfall> if these parameters are set to zero.&nbsp; Default value: 10% of Ton or 10% of Tperiod-Ton whatever is smaller.&nbsp; You must specify Trise and Tfall if you want a certain value. <br />
PULSE(0 5 0 100p 100p 20n 100n)<br />
Don't use steeper transitions than required by your application.<br />
<br />
==== I have used a pure sine source in my schematic, but the output signal of my circuit looks slightly different from cycle to cycle. ====<br />
<br />
LTspice has waveform compression enabled as the default setting.&nbsp; This compression reduces the amount of saved data during the simulation.&nbsp; It's a lossy compression and thus it can distort the saved signals.&nbsp; You can switch it off with the following command line in your schematic.<br />
.options plotwinsize=0<br />
It could be switched off in the "Control Panel -> Compression" pane as well, but this setting will be lost upon closing the current session of LTspice.<br />
<br />
==== How does one set the threshold and high/low voltages for LTspice's digital devices? ====<br />
<br />
The default threshold is always (Vhigh+Vlow)/2 .<br />
Flipflops require either a Td or a Trise for correct operation under every condition.<br />
<br />
Right-mouse-click on the device (instance) in the schematic.<br />
*SpiceLine: Vhigh=3V Ref=1.5<br />
*SpiceLine2: Td=5n Trise=3n<br />
<br />
Schmitt devices have the threshold and hysteresis parameters Vt and Vh instead of Ref. Vup=Vt+Vh Vdn=Vt-Vh.</div>Lewispaul2http://ltwiki.org/index.php?title=File:LMH6642_test_opamp2(%2B-).asc&diff=333File:LMH6642 test opamp2(+-).asc2009-09-11T21:04:30Z<p>Lewispaul2: Test circuit for LMH6642 using the opamp2(+- reversed) symbol.</p>
<hr />
<div>Test circuit for LMH6642 using the opamp2(+- reversed) symbol.</div>Lewispaul2http://ltwiki.org/index.php?title=Most_frequently_asked_questions_for_beginners&diff=332Most frequently asked questions for beginners2009-09-11T21:03:01Z<p>Lewispaul2: /* How can I add subcircuits to LTspice? */</p>
<hr />
<div>==== <br /><br />What are the different LTspice file types? ====<br />
<br />
Schematic: name.asc the drawing with your circuit (a text file)<br />
Symbol: name.asy symbols for the schematic (a text file)<br />
Netlist: name.net unprocessed netlist (text file viewable from within LTspice <br />
& usable by other SPICE engines) <br />
Logfile: name.log info and results from .four, .measure, .op (text file viewable <br />
from within LTspice); may also contain the fully processed<br />
and expanded netlist (a [[Control Panel]] setting)<br />
Result: name.raw binary output data file (text format may be optionally specified)<br />
Result: name.fft binary result of an FFT<br />
Plot settings: name.plt text file used to save and restore Waveform Viewer plot settings<br />
Model file: abc.xyz text file containing model(s) - may be any valid file name<br />
Circuit file: name.cir frequently used extension for an external netlist input file (text)<br />
<br />
==== How do you copy and paste between schematics? ====<br />
<br />
Click the '''Copy Icon''' in the tool bar or select '''Copy''' from the '''Edit''' drop down menu (or type '''ctrl-C''').&nbsp; Select (with the mouse) what you want to copy.&nbsp; Make the target schematic active (click on it or its tab or type '''ctrl-Tab''') and then click the '''Paste Icon''' in the tool bar or select '''Paste''' from the '''Edit''' drop down menu (or type '''ctrl-V''').<br />
<br />
==== How do I copy and paste between symbols in the symbol editor? ====<br />
<br />
It is not possible to use copy and paste in the symbol editor.&nbsp; Symbol files are ascii text.&nbsp; Merge the text as described in [http://tech.groups.yahoo.com/group/LTspice/message/7201?threaded=1&l=1 message 7201] in the LTspice Yahoo Group.<br />
<br />
==== How can I add intrinsic device models (BJTs, FETs, etc.) to LTspice? ====<br />
<br />
Please take a look to the many examples in the files section of the LTspice Yahoo Group ([http://tech.groups.yahoo.com/group/LTspice/files/%20Lib/ Files => Lib]).<br />
<br />
==== How can I add subcircuits to LTspice? ====<br />
<br />
You will find many answers when you search the LTspice Yahoo Group messages for words like "library", "symbol" or "FAQ".<br />
<br />
Please read first the programs help:<br />
Help -> Schematic Capture -> Editing Components -> Creating New Symbols<br />
Help -> Help Topics ->FAQs -> Third party models<br />
Help -> Help Topics ->FAQs -> Mosfet<br />
<br />
You will find also help in the linked documents from our LTspice Yahoo Group.<br />
<br />
Links<br />
Links -> Spice Courseware And Tutorials<br />
<br />
There is another document about symbols and models in our Files section.<br />
<br />
Files -> Tut -> Symbol Types For Subcircuits<br />
<br />
'''Example: Using the SPICE model LMH6642 from National Semiconductor and the opamp2 symbol'''<br />
<br />
This example will aid the new user in familiarization with the .asy (symbol) and its use in using a subcircuit. The issue that prevents easy utilization of the SPICE model from National Semiconductor is that the pin order list of the SPICE model does not match the pin order list expected by the opamp2 symbol. <br />
<br />
You can open the opamp2.asy either in LTspice or in a text editor (such as Notepad) to determine the assumed pin order of opamp2. Right clicking each pin (the blue square) in LTspice provides information about each pin including the label and netlist order. As a summary you can select 'View', 'Pin Table'. Opamp2.asy has a netlist order of In+, In-, V+, V- and OUT. Looking at the opamp2.asy in Notepad you see the following:<pre><br />
PIN -32 80 NONE 0<br />
PINATTR PinName In+<br />
PINATTR SpiceOrder 1<br />
PIN -32 48 NONE 0<br />
PINATTR PinName In-<br />
PINATTR SpiceOrder 2<br />
PIN 0 32 NONE 0<br />
PINATTR PinName V+<br />
PINATTR SpiceOrder 3<br />
PIN 0 96 NONE 0<br />
PINATTR PinName V-<br />
PINATTR SpiceOrder 4<br />
PIN 32 64 NONE 0<br />
PINATTR PinName OUT<br />
PINATTR SpiceOrder 5<br />
</pre><br />
This section of the asy file gives the location and the same information as opening the .asy file in LTspice. So it's your preference which approach you take. <br />
<br />
An excerpt from the subcircuit we want to use is listed below in its original form: [http://www.national.com/models/spice/LM/LMH6642.MOD Source of the SPICE model from National Semiconductor]<br />
<pre><br />
* PINOUT ORDER -IN +IN VCC VEE OUT<br />
* PINOUT ORDER 2 3 7 4 6<br />
.SUBCKT LMH6642 2 3 7 4 6<br />
</pre><br />
So, we either have to modify the symbol or the subcircuit. Given the provisions of the model, that it cannot be modified AND there would be other subcircuits that have the same netlist order, i.e. IN+ and IN- reversed, the choice is to make a new symbol and save it under 'Opamps' as is opamp2.<br />
<br> <br />
Saving the file in LTspice as Opamp2(In+ In- reversed).asy, then right-clicking the pins as indicated above, then reversing the pin orders on the input produces this file [[File:Opamp2(In+ In- reversed).asy]] Note: You have to close and reopen LTspice so that this symbol is available.<br />
<br><br />
Finally, we can add our new opamp2 to a test circuit and try it. We have to save the model [http://www.national.com/models/spice/LM/LMH6642.MOD Source of the SPICE model] to the same directory as our test file. Then we add an include statement on the test file, .include LMH6642.mod.<br />
<br />
==== I have a pulse source in my schematic with zero transition times.&nbsp; LTspice only shows slow transition times of 2ns.&nbsp; What's going on here? ====<br />
PULSE(0 5 0 0 0 20n 100n)<br />
<br />
LTspice automatically will use a default value for <trise> and <tfall> if these parameters are set to zero.&nbsp; Default value: 10% of Ton or 10% of Tperiod-Ton whatever is smaller.&nbsp; You must specify Trise and Tfall if you want a certain value. <br />
PULSE(0 5 0 100p 100p 20n 100n)<br />
Don't use steeper transitions than required by your application.<br />
<br />
==== I have used a pure sine source in my schematic, but the output signal of my circuit looks slightly different from cycle to cycle. ====<br />
<br />
LTspice has waveform compression enabled as the default setting.&nbsp; This compression reduces the amount of saved data during the simulation.&nbsp; It's a lossy compression and thus it can distort the saved signals.&nbsp; You can switch it off with the following command line in your schematic.<br />
.options plotwinsize=0<br />
It could be switched off in the "Control Panel -> Compression" pane as well, but this setting will be lost upon closing the current session of LTspice.<br />
<br />
==== How does one set the threshold and high/low voltages for LTspice's digital devices? ====<br />
<br />
The default threshold is always (Vhigh+Vlow)/2 .<br />
Flipflops require either a Td or a Trise for correct operation under every condition.<br />
<br />
Right-mouse-click on the device (instance) in the schematic.<br />
*SpiceLine: Vhigh=3V Ref=1.5<br />
*SpiceLine2: Td=5n Trise=3n<br />
<br />
Schmitt devices have the threshold and hysteresis parameters Vt and Vh instead of Ref. Vup=Vt+Vh Vdn=Vt-Vh.</div>Lewispaul2http://ltwiki.org/index.php?title=Most_frequently_asked_questions_for_beginners&diff=331Most frequently asked questions for beginners2009-09-11T20:52:24Z<p>Lewispaul2: /* How can I add subcircuits to LTspice? */</p>
<hr />
<div>==== <br /><br />What are the different LTspice file types? ====<br />
<br />
Schematic: name.asc the drawing with your circuit (a text file)<br />
Symbol: name.asy symbols for the schematic (a text file)<br />
Netlist: name.net unprocessed netlist (text file viewable from within LTspice <br />
& usable by other SPICE engines) <br />
Logfile: name.log info and results from .four, .measure, .op (text file viewable <br />
from within LTspice); may also contain the fully processed<br />
and expanded netlist (a [[Control Panel]] setting)<br />
Result: name.raw binary output data file (text format may be optionally specified)<br />
Result: name.fft binary result of an FFT<br />
Plot settings: name.plt text file used to save and restore Waveform Viewer plot settings<br />
Model file: abc.xyz text file containing model(s) - may be any valid file name<br />
Circuit file: name.cir frequently used extension for an external netlist input file (text)<br />
<br />
==== How do you copy and paste between schematics? ====<br />
<br />
Click the '''Copy Icon''' in the tool bar or select '''Copy''' from the '''Edit''' drop down menu (or type '''ctrl-C''').&nbsp; Select (with the mouse) what you want to copy.&nbsp; Make the target schematic active (click on it or its tab or type '''ctrl-Tab''') and then click the '''Paste Icon''' in the tool bar or select '''Paste''' from the '''Edit''' drop down menu (or type '''ctrl-V''').<br />
<br />
==== How do I copy and paste between symbols in the symbol editor? ====<br />
<br />
It is not possible to use copy and paste in the symbol editor.&nbsp; Symbol files are ascii text.&nbsp; Merge the text as described in [http://tech.groups.yahoo.com/group/LTspice/message/7201?threaded=1&l=1 message 7201] in the LTspice Yahoo Group.<br />
<br />
==== How can I add intrinsic device models (BJTs, FETs, etc.) to LTspice? ====<br />
<br />
Please take a look to the many examples in the files section of the LTspice Yahoo Group ([http://tech.groups.yahoo.com/group/LTspice/files/%20Lib/ Files => Lib]).<br />
<br />
==== How can I add subcircuits to LTspice? ====<br />
<br />
You will find many answers when you search the LTspice Yahoo Group messages for words like "library", "symbol" or "FAQ".<br />
<br />
Please read first the programs help:<br />
Help -> Schematic Capture -> Editing Components -> Creating New Symbols<br />
Help -> Help Topics ->FAQs -> Third party models<br />
Help -> Help Topics ->FAQs -> Mosfet<br />
<br />
You will find also help in the linked documents from our LTspice Yahoo Group.<br />
<br />
Links<br />
Links -> Spice Courseware And Tutorials<br />
<br />
There is another document about symbols and models in our Files section.<br />
<br />
Files -> Tut -> Symbol Types For Subcircuits<br />
<br />
'''Example: Using the SPICE model LMH6642 from National Semiconductor and the opamp2 symbol'''<br />
<br />
This example will aid the new user in familiarization with the .asy (symbol) and its use in using a subcircuit. The issue that prevents easy utilization of the SPICE model from National Semiconductor is that the pin order list of the SPICE model does not match the pin order list expected by the opamp2 symbol. <br />
<br />
You can open the opamp2.asy either in LTspice or in a text editor (such as Notepad) to determine the assumed pin order of opamp2. Right clicking each pin (the blue square) in LTspice provides information about each pin including the label and netlist order. As a summary you can select 'View', 'Pin Table'. Opamp2.asy has a netlist order of In+, In-, V+, V- and OUT. Looking at the opamp2.asy in Notepad you see the following:<pre><br />
PIN -32 80 NONE 0<br />
PINATTR PinName In+<br />
PINATTR SpiceOrder 1<br />
PIN -32 48 NONE 0<br />
PINATTR PinName In-<br />
PINATTR SpiceOrder 2<br />
PIN 0 32 NONE 0<br />
PINATTR PinName V+<br />
PINATTR SpiceOrder 3<br />
PIN 0 96 NONE 0<br />
PINATTR PinName V-<br />
PINATTR SpiceOrder 4<br />
PIN 32 64 NONE 0<br />
PINATTR PinName OUT<br />
PINATTR SpiceOrder 5<br />
</pre><br />
This section of the asy file gives the location and the same information as opening the .asy file in LTspice. So it's your preference which approach you take. <br />
<br />
An excerpt from the subcircuit we want to use is listed below in its original form: [http://www.national.com/models/spice/LM/LMH6642.MOD Source of the SPICE model from National Semiconductor]<br />
<pre><br />
* PINOUT ORDER -IN +IN VCC VEE OUT<br />
* PINOUT ORDER 2 3 7 4 6<br />
.SUBCKT LMH6642 2 3 7 4 6<br />
</pre><br />
So, we either have to modify the symbol or the subcircuit. Given the provisions of the model, that it cannot be modified AND there would be other subcircuits that have the same netlist order, i.e. IN+ and IN- reversed, the choice is to make a new symbol and save it under 'Opamps' as is opamp2. <br> Saving the file in LTspice as Opamp2(In+ In- reversed).asy, then right-clicking the pins as indicated above, then reversing the pin orders on the input produces this file [[File:Opamp2(In+ In- reversed).asy]] Note: You have to close and reopen LTspice so that this symbol is available.<br />
<br />
==== I have a pulse source in my schematic with zero transition times.&nbsp; LTspice only shows slow transition times of 2ns.&nbsp; What's going on here? ====<br />
PULSE(0 5 0 0 0 20n 100n)<br />
<br />
LTspice automatically will use a default value for <trise> and <tfall> if these parameters are set to zero.&nbsp; Default value: 10% of Ton or 10% of Tperiod-Ton whatever is smaller.&nbsp; You must specify Trise and Tfall if you want a certain value. <br />
PULSE(0 5 0 100p 100p 20n 100n)<br />
Don't use steeper transitions than required by your application.<br />
<br />
==== I have used a pure sine source in my schematic, but the output signal of my circuit looks slightly different from cycle to cycle. ====<br />
<br />
LTspice has waveform compression enabled as the default setting.&nbsp; This compression reduces the amount of saved data during the simulation.&nbsp; It's a lossy compression and thus it can distort the saved signals.&nbsp; You can switch it off with the following command line in your schematic.<br />
.options plotwinsize=0<br />
It could be switched off in the "Control Panel -> Compression" pane as well, but this setting will be lost upon closing the current session of LTspice.<br />
<br />
==== How does one set the threshold and high/low voltages for LTspice's digital devices? ====<br />
<br />
The default threshold is always (Vhigh+Vlow)/2 .<br />
Flipflops require either a Td or a Trise for correct operation under every condition.<br />
<br />
Right-mouse-click on the device (instance) in the schematic.<br />
*SpiceLine: Vhigh=3V Ref=1.5<br />
*SpiceLine2: Td=5n Trise=3n<br />
<br />
Schmitt devices have the threshold and hysteresis parameters Vt and Vh instead of Ref. Vup=Vt+Vh Vdn=Vt-Vh.</div>Lewispaul2http://ltwiki.org/index.php?title=File:Opamp2(In%2B_In-_reversed).asy&diff=330File:Opamp2(In+ In- reversed).asy2009-09-11T20:47:50Z<p>Lewispaul2: opamp2 standard symbol - except the IN+ and IN- are reversed in the netlist. This symbol can now be used for subcircuits that have PINOUT ORDER -IN +IN VCC VEE OUT</p>
<hr />
<div>opamp2 standard symbol - except the IN+ and IN- are reversed in the netlist. This symbol can now be used for subcircuits that have PINOUT ORDER -IN +IN VCC VEE OUT</div>Lewispaul2http://ltwiki.org/index.php?title=Most_frequently_asked_questions_for_beginners&diff=329Most frequently asked questions for beginners2009-09-11T20:45:28Z<p>Lewispaul2: /* How can I add subcircuits to LTspice? */</p>
<hr />
<div>==== <br /><br />What are the different LTspice file types? ====<br />
<br />
Schematic: name.asc the drawing with your circuit (a text file)<br />
Symbol: name.asy symbols for the schematic (a text file)<br />
Netlist: name.net unprocessed netlist (text file viewable from within LTspice <br />
& usable by other SPICE engines) <br />
Logfile: name.log info and results from .four, .measure, .op (text file viewable <br />
from within LTspice); may also contain the fully processed<br />
and expanded netlist (a [[Control Panel]] setting)<br />
Result: name.raw binary output data file (text format may be optionally specified)<br />
Result: name.fft binary result of an FFT<br />
Plot settings: name.plt text file used to save and restore Waveform Viewer plot settings<br />
Model file: abc.xyz text file containing model(s) - may be any valid file name<br />
Circuit file: name.cir frequently used extension for an external netlist input file (text)<br />
<br />
==== How do you copy and paste between schematics? ====<br />
<br />
Click the '''Copy Icon''' in the tool bar or select '''Copy''' from the '''Edit''' drop down menu (or type '''ctrl-C''').&nbsp; Select (with the mouse) what you want to copy.&nbsp; Make the target schematic active (click on it or its tab or type '''ctrl-Tab''') and then click the '''Paste Icon''' in the tool bar or select '''Paste''' from the '''Edit''' drop down menu (or type '''ctrl-V''').<br />
<br />
==== How do I copy and paste between symbols in the symbol editor? ====<br />
<br />
It is not possible to use copy and paste in the symbol editor.&nbsp; Symbol files are ascii text.&nbsp; Merge the text as described in [http://tech.groups.yahoo.com/group/LTspice/message/7201?threaded=1&l=1 message 7201] in the LTspice Yahoo Group.<br />
<br />
==== How can I add intrinsic device models (BJTs, FETs, etc.) to LTspice? ====<br />
<br />
Please take a look to the many examples in the files section of the LTspice Yahoo Group ([http://tech.groups.yahoo.com/group/LTspice/files/%20Lib/ Files => Lib]).<br />
<br />
==== How can I add subcircuits to LTspice? ====<br />
<br />
You will find many answers when you search the LTspice Yahoo Group messages for words like "library", "symbol" or "FAQ".<br />
<br />
Please read first the programs help:<br />
Help -> Schematic Capture -> Editing Components -> Creating New Symbols<br />
Help -> Help Topics ->FAQs -> Third party models<br />
Help -> Help Topics ->FAQs -> Mosfet<br />
<br />
You will find also help in the linked documents from our LTspice Yahoo Group.<br />
<br />
Links<br />
Links -> Spice Courseware And Tutorials<br />
<br />
There is another document about symbols and models in our Files section.<br />
<br />
Files -> Tut -> Symbol Types For Subcircuits<br />
<br />
'''Example: Using the SPICE model LMH6642 from National Semiconductor and the opamp2 symbol'''<br />
<br />
This example will aid the new user in familiarization with the .asy (symbol) and its use in using a subcircuit. The issue that prevents easy utilization of the SPICE model from National Semiconductor is that the pin order list of the SPICE model does not match the pin order list expected by the opamp2 symbol. <br />
<br />
You can open the opamp2.asy either in LTspice or in a text editor (such as Notepad) to determine the assumed pin order of opamp2. Right clicking each pin (the blue square) in LTspice provides information about each pin including the label and netlist order. As a summary you can select 'View', 'Pin Table'. Opamp2.asy has a netlist order of In+, In-, V+, V- and OUT. Looking at the opamp2.asy in Notepad you see the following:<pre><br />
PIN -32 80 NONE 0<br />
PINATTR PinName In+<br />
PINATTR SpiceOrder 1<br />
PIN -32 48 NONE 0<br />
PINATTR PinName In-<br />
PINATTR SpiceOrder 2<br />
PIN 0 32 NONE 0<br />
PINATTR PinName V+<br />
PINATTR SpiceOrder 3<br />
PIN 0 96 NONE 0<br />
PINATTR PinName V-<br />
PINATTR SpiceOrder 4<br />
PIN 32 64 NONE 0<br />
PINATTR PinName OUT<br />
PINATTR SpiceOrder 5<br />
</pre><br />
This section of the asy file gives the location and the same information as opening the .asy file in LTspice. So it's your preference which approach you take. <br />
<br />
An excerpt from the subcircuit we want to use is listed below in its original form: [http://www.national.com/models/spice/LM/LMH6642.MOD Source of the SPICE model from National Semiconductor]<br />
<pre><br />
* PINOUT ORDER -IN +IN VCC VEE OUT<br />
* PINOUT ORDER 2 3 7 4 6<br />
.SUBCKT LMH6642 2 3 7 4 6<br />
</pre><br />
So, we either have to modify the symbol or the subcircuit. Given the provisions of the model, that it cannot be modified AND there would be other subcircuits that have the same netlist order, i.e. IN+ and IN- reversed, the choice is to make a new symbol and save it under 'Opamps' as is opamp2. <br><br />
<br />
==== I have a pulse source in my schematic with zero transition times.&nbsp; LTspice only shows slow transition times of 2ns.&nbsp; What's going on here? ====<br />
PULSE(0 5 0 0 0 20n 100n)<br />
<br />
LTspice automatically will use a default value for <trise> and <tfall> if these parameters are set to zero.&nbsp; Default value: 10% of Ton or 10% of Tperiod-Ton whatever is smaller.&nbsp; You must specify Trise and Tfall if you want a certain value. <br />
PULSE(0 5 0 100p 100p 20n 100n)<br />
Don't use steeper transitions than required by your application.<br />
<br />
==== I have used a pure sine source in my schematic, but the output signal of my circuit looks slightly different from cycle to cycle. ====<br />
<br />
LTspice has waveform compression enabled as the default setting.&nbsp; This compression reduces the amount of saved data during the simulation.&nbsp; It's a lossy compression and thus it can distort the saved signals.&nbsp; You can switch it off with the following command line in your schematic.<br />
.options plotwinsize=0<br />
It could be switched off in the "Control Panel -> Compression" pane as well, but this setting will be lost upon closing the current session of LTspice.<br />
<br />
==== How does one set the threshold and high/low voltages for LTspice's digital devices? ====<br />
<br />
The default threshold is always (Vhigh+Vlow)/2 .<br />
Flipflops require either a Td or a Trise for correct operation under every condition.<br />
<br />
Right-mouse-click on the device (instance) in the schematic.<br />
*SpiceLine: Vhigh=3V Ref=1.5<br />
*SpiceLine2: Td=5n Trise=3n<br />
<br />
Schmitt devices have the threshold and hysteresis parameters Vt and Vh instead of Ref. Vup=Vt+Vh Vdn=Vt-Vh.</div>Lewispaul2http://ltwiki.org/index.php?title=Most_frequently_asked_questions_for_beginners&diff=328Most frequently asked questions for beginners2009-09-11T20:16:11Z<p>Lewispaul2: /* How can I add subcircuits to LTspice? */</p>
<hr />
<div>==== <br /><br />What are the different LTspice file types? ====<br />
<br />
Schematic: name.asc the drawing with your circuit (a text file)<br />
Symbol: name.asy symbols for the schematic (a text file)<br />
Netlist: name.net unprocessed netlist (text file viewable from within LTspice <br />
& usable by other SPICE engines) <br />
Logfile: name.log info and results from .four, .measure, .op (text file viewable <br />
from within LTspice); may also contain the fully processed<br />
and expanded netlist (a [[Control Panel]] setting)<br />
Result: name.raw binary output data file (text format may be optionally specified)<br />
Result: name.fft binary result of an FFT<br />
Plot settings: name.plt text file used to save and restore Waveform Viewer plot settings<br />
Model file: abc.xyz text file containing model(s) - may be any valid file name<br />
Circuit file: name.cir frequently used extension for an external netlist input file (text)<br />
<br />
==== How do you copy and paste between schematics? ====<br />
<br />
Click the '''Copy Icon''' in the tool bar or select '''Copy''' from the '''Edit''' drop down menu (or type '''ctrl-C''').&nbsp; Select (with the mouse) what you want to copy.&nbsp; Make the target schematic active (click on it or its tab or type '''ctrl-Tab''') and then click the '''Paste Icon''' in the tool bar or select '''Paste''' from the '''Edit''' drop down menu (or type '''ctrl-V''').<br />
<br />
==== How do I copy and paste between symbols in the symbol editor? ====<br />
<br />
It is not possible to use copy and paste in the symbol editor.&nbsp; Symbol files are ascii text.&nbsp; Merge the text as described in [http://tech.groups.yahoo.com/group/LTspice/message/7201?threaded=1&l=1 message 7201] in the LTspice Yahoo Group.<br />
<br />
==== How can I add intrinsic device models (BJTs, FETs, etc.) to LTspice? ====<br />
<br />
Please take a look to the many examples in the files section of the LTspice Yahoo Group ([http://tech.groups.yahoo.com/group/LTspice/files/%20Lib/ Files => Lib]).<br />
<br />
==== How can I add subcircuits to LTspice? ====<br />
<br />
You will find many answers when you search the LTspice Yahoo Group messages for words like "library", "symbol" or "FAQ".<br />
<br />
Please read first the programs help:<br />
Help -> Schematic Capture -> Editing Components -> Creating New Symbols<br />
Help -> Help Topics ->FAQs -> Third party models<br />
Help -> Help Topics ->FAQs -> Mosfet<br />
<br />
You will find also help in the linked documents from our LTspice Yahoo Group.<br />
<br />
Links<br />
Links -> Spice Courseware And Tutorials<br />
<br />
There is another document about symbols and models in our Files section.<br />
<br />
Files -> Tut -> Symbol Types For Subcircuits<br />
<br />
'''Example: Using the SPICE model LMH6642 from National Semiconductor and the opamp2 symbol'''<br />
<br />
This example will aid the new user in familiarization with the .asy (symbol) and its use in using a subcircuit. The issue that prevents easy utilization of the SPICE model from National Semiconductor is that the pin order list of the SPICE model does not match the pin order list expected by the opamp2 symbol. <br />
<br />
You can open the opamp2.asy either in LTspice or in a text editor (such as Notepad) to determine the assumed pin order of opamp2. Right clicking each pin (the blue square) in LTspice provides information about each pin including the label and netlist order. As a summary you can select 'View', 'Pin Table'. Opamp2.asy has a netlist order of In+, In-, V+, V- and OUT. Looking at the opamp2.asy in Notepad you see the following:<pre><br />
PIN -32 80 NONE 0<br />
PINATTR PinName In+<br />
PINATTR SpiceOrder 1<br />
PIN -32 48 NONE 0<br />
PINATTR PinName In-<br />
PINATTR SpiceOrder 2<br />
PIN 0 32 NONE 0<br />
PINATTR PinName V+<br />
PINATTR SpiceOrder 3<br />
PIN 0 96 NONE 0<br />
PINATTR PinName V-<br />
PINATTR SpiceOrder 4<br />
PIN 32 64 NONE 0<br />
PINATTR PinName OUT<br />
PINATTR SpiceOrder 5<br />
</pre><br />
This section of the asy file gives the location and the same information as opening the .asy file in LTspice. So it's your preference which approach you take. The subcircuit we want to use is listed below in its original form:<br />
<pre><br />
</pre><br />
<br />
==== I have a pulse source in my schematic with zero transition times.&nbsp; LTspice only shows slow transition times of 2ns.&nbsp; What's going on here? ====<br />
PULSE(0 5 0 0 0 20n 100n)<br />
<br />
LTspice automatically will use a default value for <trise> and <tfall> if these parameters are set to zero.&nbsp; Default value: 10% of Ton or 10% of Tperiod-Ton whatever is smaller.&nbsp; You must specify Trise and Tfall if you want a certain value. <br />
PULSE(0 5 0 100p 100p 20n 100n)<br />
Don't use steeper transitions than required by your application.<br />
<br />
==== I have used a pure sine source in my schematic, but the output signal of my circuit looks slightly different from cycle to cycle. ====<br />
<br />
LTspice has waveform compression enabled as the default setting.&nbsp; This compression reduces the amount of saved data during the simulation.&nbsp; It's a lossy compression and thus it can distort the saved signals.&nbsp; You can switch it off with the following command line in your schematic.<br />
.options plotwinsize=0<br />
It could be switched off in the "Control Panel -> Compression" pane as well, but this setting will be lost upon closing the current session of LTspice.<br />
<br />
==== How does one set the threshold and high/low voltages for LTspice's digital devices? ====<br />
<br />
The default threshold is always (Vhigh+Vlow)/2 .<br />
Flipflops require either a Td or a Trise for correct operation under every condition.<br />
<br />
Right-mouse-click on the device (instance) in the schematic.<br />
*SpiceLine: Vhigh=3V Ref=1.5<br />
*SpiceLine2: Td=5n Trise=3n<br />
<br />
Schmitt devices have the threshold and hysteresis parameters Vt and Vh instead of Ref. Vup=Vt+Vh Vdn=Vt-Vh.</div>Lewispaul2http://ltwiki.org/index.php?title=Most_frequently_asked_questions_for_beginners&diff=327Most frequently asked questions for beginners2009-09-11T20:13:12Z<p>Lewispaul2: /* How can I add subcircuits to LTspice? */ Step by step instructions for adding an opamp</p>
<hr />
<div>==== <br /><br />What are the different LTspice file types? ====<br />
<br />
Schematic: name.asc the drawing with your circuit (a text file)<br />
Symbol: name.asy symbols for the schematic (a text file)<br />
Netlist: name.net unprocessed netlist (text file viewable from within LTspice <br />
& usable by other SPICE engines) <br />
Logfile: name.log info and results from .four, .measure, .op (text file viewable <br />
from within LTspice); may also contain the fully processed<br />
and expanded netlist (a [[Control Panel]] setting)<br />
Result: name.raw binary output data file (text format may be optionally specified)<br />
Result: name.fft binary result of an FFT<br />
Plot settings: name.plt text file used to save and restore Waveform Viewer plot settings<br />
Model file: abc.xyz text file containing model(s) - may be any valid file name<br />
Circuit file: name.cir frequently used extension for an external netlist input file (text)<br />
<br />
==== How do you copy and paste between schematics? ====<br />
<br />
Click the '''Copy Icon''' in the tool bar or select '''Copy''' from the '''Edit''' drop down menu (or type '''ctrl-C''').&nbsp; Select (with the mouse) what you want to copy.&nbsp; Make the target schematic active (click on it or its tab or type '''ctrl-Tab''') and then click the '''Paste Icon''' in the tool bar or select '''Paste''' from the '''Edit''' drop down menu (or type '''ctrl-V''').<br />
<br />
==== How do I copy and paste between symbols in the symbol editor? ====<br />
<br />
It is not possible to use copy and paste in the symbol editor.&nbsp; Symbol files are ascii text.&nbsp; Merge the text as described in [http://tech.groups.yahoo.com/group/LTspice/message/7201?threaded=1&l=1 message 7201] in the LTspice Yahoo Group.<br />
<br />
==== How can I add intrinsic device models (BJTs, FETs, etc.) to LTspice? ====<br />
<br />
Please take a look to the many examples in the files section of the LTspice Yahoo Group ([http://tech.groups.yahoo.com/group/LTspice/files/%20Lib/ Files => Lib]).<br />
<br />
==== How can I add subcircuits to LTspice? ====<br />
<br />
You will find many answers when you search the LTspice Yahoo Group messages for words like "library", "symbol" or "FAQ".<br />
<br />
Please read first the programs help:<br />
Help -> Schematic Capture -> Editing Components -> Creating New Symbols<br />
Help -> Help Topics ->FAQs -> Third party models<br />
Help -> Help Topics ->FAQs -> Mosfet<br />
<br />
You will find also help in the linked documents from our LTspice Yahoo Group.<br />
<br />
Links<br />
Links -> Spice Courseware And Tutorials<br />
<br />
There is another document about symbols and models in our Files section.<br />
<br />
Files -> Tut -> Symbol Types For Subcircuits<br />
<br />
'''Example: Using the SPICE model LMH6642 from National Semiconductor and the opamp2 symbol'''<br />
<br />
This example will aid the new user in familiarization with the .asy (symbol) and its use in using a subcircuit. The issue that prevents easy utilization of the SPICE model from National Semiconductor is that the pin order list of the SPICE model does not match the pin order list expected by the opamp2 symbol. <br />
<br />
You can open the opamp2.asy either in LTspice or in a text editor (such as Notepad) to determine the assumed pin order of opamp2. Right clicking each pin (the blue square) in LTspice provides information about each pin including the label and netlist order. As a summary you can select 'View', 'Pin Table'. Opamp2.asy has a netlist order of In+, In-, V+, V- and OUT. Looking at the opamp2.asy in Notepad you see the following:<pre><br />
PIN -32 80 NONE 0<br />
PINATTR PinName In+<br />
PINATTR SpiceOrder 1<br />
PIN -32 48 NONE 0<br />
PINATTR PinName In-<br />
PINATTR SpiceOrder 2<br />
PIN 0 32 NONE 0<br />
PINATTR PinName V+<br />
PINATTR SpiceOrder 3<br />
PIN 0 96 NONE 0<br />
PINATTR PinName V-<br />
PINATTR SpiceOrder 4<br />
PIN 32 64 NONE 0<br />
PINATTR PinName OUT<br />
PINATTR SpiceOrder 5<br />
</pre><br />
This section of the asy file gives the location and the same information as opening the .asy file in LTspice. So it's your preference which approach you take. The subcircuit we want to use is listed below in its original form:<br />
<pre><br />
<br />
==== I have a pulse source in my schematic with zero transition times.&nbsp; LTspice only shows slow transition times of 2ns.&nbsp; What's going on here? ====<br />
PULSE(0 5 0 0 0 20n 100n)<br />
<br />
LTspice automatically will use a default value for <trise> and <tfall> if these parameters are set to zero.&nbsp; Default value: 10% of Ton or 10% of Tperiod-Ton whatever is smaller.&nbsp; You must specify Trise and Tfall if you want a certain value. <br />
PULSE(0 5 0 100p 100p 20n 100n)<br />
Don't use steeper transitions than required by your application.<br />
<br />
==== I have used a pure sine source in my schematic, but the output signal of my circuit looks slightly different from cycle to cycle. ====<br />
<br />
LTspice has waveform compression enabled as the default setting.&nbsp; This compression reduces the amount of saved data during the simulation.&nbsp; It's a lossy compression and thus it can distort the saved signals.&nbsp; You can switch it off with the following command line in your schematic.<br />
.options plotwinsize=0<br />
It could be switched off in the "Control Panel -> Compression" pane as well, but this setting will be lost upon closing the current session of LTspice.<br />
<br />
==== How does one set the threshold and high/low voltages for LTspice's digital devices? ====<br />
<br />
The default threshold is always (Vhigh+Vlow)/2 .<br />
Flipflops require either a Td or a Trise for correct operation under every condition.<br />
<br />
Right-mouse-click on the device (instance) in the schematic.<br />
*SpiceLine: Vhigh=3V Ref=1.5<br />
*SpiceLine2: Td=5n Trise=3n<br />
<br />
Schmitt devices have the threshold and hysteresis parameters Vt and Vh instead of Ref. Vup=Vt+Vh Vdn=Vt-Vh.</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=303Components Library and Circuits2009-08-27T02:47:17Z<p>Lewispaul2: /* NPN Darlington */</p>
<hr />
<div>''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.''<br />
<br />
== Compilation ==<br />
<br />
[http://alternateenergies.com/LTwiki/files/LtSpicePlus_10_08.exe LTspicePlus_10_08.exe]<br><br />
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
If you don't speak Spanish, try those instructions:<br />
<br />
* say "Aceptar" (Accept).<br />
* 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'...).<br />
* 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).<br />
* 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.<br />
<br />
Roberto has Spanish documentation and tutorials using LTspice at [https://sites.google.com/site/precisionaudiotv/Home Precisión, guía para desarrollos con Ltspice.]<br />
<br />
Someone wants to build an updated version of this? Contact Roberto: precisionorte -at- gmail.com and he can help get you started.<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
'''IRFB4110pbf'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irfb4110pbf.spi IRFB4110 subcircuit] Place in \lib\sub <br><br />
[[File:IRFB4110pbf.asy]] IRFB4110 component. Place in \lib\sym\nmos <br><br />
[[File:Irfb4110 test.asc]] Test circuit using the native IRFB4110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irfb4110pbf.pdf Datasheet]<br />
<br />
'''IRLR3110'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irlr_u3110zpbf.spi IRLR3110 subcircuit] Place in \lib\sub <br><br />
[[File:IRLR3110.asy]] IRLR3110 component. Place in \lib\sym\nmos <br><br />
[[File:Irlr3110 test.asc]] Test circuit using the native IRLR3110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irlr3110zpbf.pdf Datasheet]<br />
<br />
== NPN Darlington ==<br />
<br />
'''TIP142'''<br />
<br />
[[File:TIP142.sub]] TIP142 subcircuit. Place in \lib\sub <br><br />
[[File:TIP142.asy]] TIP142 symbol. Place in \lib\sym\Darlington <br><br />
[[File:TIP142-test.asc]] Test circuit using the native TIP142<br><br />
[http://www.fairchildsemi.com/ds/TI/TIP142.pdf Datasheet]&nbsp;&nbsp; [http://tech.groups.yahoo.com/group/LTspice/files/%20Attached%20files%20sorted%20by%20message%20number/msg_28586/ Adapted from Yahoo LTspice Group Message 28586]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''LM6132A - National Semiconductor'''<br />
<br />
[[File:LM6132A.MOD]] LM6132A subcircuit. Place in \lib\sub <br><br />
[[File:LM6132A-national.asy]] LM6132A/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM6132A test.asc]] Test circuit using the native LM6132A. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM6132.pdf Datasheet]<br />
<br />
'''THS4131'''<br />
<br />
[http://www.ti.com/litv/zip/sloj149 THS4131 subcircuit] Extract ths4131.txt & place in \lib\sub <br><br />
[[File:THS4131.asy]] THS4131 component. Place in \lib\sym\Opamps <br><br />
[[File:THS4131 test1.asc]] THS4131 test circuit, using native THS4131<br><br />
[http://www.ti.com/lit/gpn/ths4131 Datasheet] Original files created by Helmut Sennewald at [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=302Components Library and Circuits2009-08-27T02:46:40Z<p>Lewispaul2: /* NPN Darlington */</p>
<hr />
<div>''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.''<br />
<br />
== Compilation ==<br />
<br />
[http://alternateenergies.com/LTwiki/files/LtSpicePlus_10_08.exe LTspicePlus_10_08.exe]<br><br />
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
If you don't speak Spanish, try those instructions:<br />
<br />
* say "Aceptar" (Accept).<br />
* 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'...).<br />
* 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).<br />
* 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.<br />
<br />
Roberto has Spanish documentation and tutorials using LTspice at [https://sites.google.com/site/precisionaudiotv/Home Precisión, guía para desarrollos con Ltspice.]<br />
<br />
Someone wants to build an updated version of this? Contact Roberto: precisionorte -at- gmail.com and he can help get you started.<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
'''IRFB4110pbf'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irfb4110pbf.spi IRFB4110 subcircuit] Place in \lib\sub <br><br />
[[File:IRFB4110pbf.asy]] IRFB4110 component. Place in \lib\sym\nmos <br><br />
[[File:Irfb4110 test.asc]] Test circuit using the native IRFB4110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irfb4110pbf.pdf Datasheet]<br />
<br />
'''IRLR3110'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irlr_u3110zpbf.spi IRLR3110 subcircuit] Place in \lib\sub <br><br />
[[File:IRLR3110.asy]] IRLR3110 component. Place in \lib\sym\nmos <br><br />
[[File:Irlr3110 test.asc]] Test circuit using the native IRLR3110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irlr3110zpbf.pdf Datasheet]<br />
<br />
== NPN Darlington ==<br />
<br />
'''TIP142'''<br />
<br />
[[File:TIP142.sub]] TIP142 subcircuit. Place in \lib\sub <br><br />
[[File:TIP142.asy]] 2N7002 symbol. Place in \lib\sym\Darlington <br><br />
[[File:TIP142-test.asc]] Test circuit using the native TIP142<br><br />
[http://www.fairchildsemi.com/ds/TI/TIP142.pdf Datasheet]&nbsp;&nbsp; [http://tech.groups.yahoo.com/group/LTspice/files/%20Attached%20files%20sorted%20by%20message%20number/msg_28586/ Adapted from Yahoo LTspice Group Message 28586]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''LM6132A - National Semiconductor'''<br />
<br />
[[File:LM6132A.MOD]] LM6132A subcircuit. Place in \lib\sub <br><br />
[[File:LM6132A-national.asy]] LM6132A/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM6132A test.asc]] Test circuit using the native LM6132A. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM6132.pdf Datasheet]<br />
<br />
'''THS4131'''<br />
<br />
[http://www.ti.com/litv/zip/sloj149 THS4131 subcircuit] Extract ths4131.txt & place in \lib\sub <br><br />
[[File:THS4131.asy]] THS4131 component. Place in \lib\sym\Opamps <br><br />
[[File:THS4131 test1.asc]] THS4131 test circuit, using native THS4131<br><br />
[http://www.ti.com/lit/gpn/ths4131 Datasheet] Original files created by Helmut Sennewald at [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=301Components Library and Circuits2009-08-27T02:43:47Z<p>Lewispaul2: </p>
<hr />
<div>''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.''<br />
<br />
== Compilation ==<br />
<br />
[http://alternateenergies.com/LTwiki/files/LtSpicePlus_10_08.exe LTspicePlus_10_08.exe]<br><br />
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
If you don't speak Spanish, try those instructions:<br />
<br />
* say "Aceptar" (Accept).<br />
* 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'...).<br />
* 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).<br />
* 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.<br />
<br />
Roberto has Spanish documentation and tutorials using LTspice at [https://sites.google.com/site/precisionaudiotv/Home Precisión, guía para desarrollos con Ltspice.]<br />
<br />
Someone wants to build an updated version of this? Contact Roberto: precisionorte -at- gmail.com and he can help get you started.<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
'''IRFB4110pbf'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irfb4110pbf.spi IRFB4110 subcircuit] Place in \lib\sub <br><br />
[[File:IRFB4110pbf.asy]] IRFB4110 component. Place in \lib\sym\nmos <br><br />
[[File:Irfb4110 test.asc]] Test circuit using the native IRFB4110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irfb4110pbf.pdf Datasheet]<br />
<br />
'''IRLR3110'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irlr_u3110zpbf.spi IRLR3110 subcircuit] Place in \lib\sub <br><br />
[[File:IRLR3110.asy]] IRLR3110 component. Place in \lib\sym\nmos <br><br />
[[File:Irlr3110 test.asc]] Test circuit using the native IRLR3110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irlr3110zpbf.pdf Datasheet]<br />
<br />
== NPN Darlington ==<br />
<br />
'''TIP142'''<br />
<br />
[[File:TIP142.sub]] TIP142 subcircuit. Place in \lib\sub <br><br />
[[File:TIP142.asy]] 2N7002 symbol. Place in \lib\sym\Darlington <br><br />
[[File:TIP142-test.asc]] Test circuit using the native TIP142<br><br />
[http://www.fairchildsemi.com/ds/TI/TIP142.pdf Datasheet]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''LM6132A - National Semiconductor'''<br />
<br />
[[File:LM6132A.MOD]] LM6132A subcircuit. Place in \lib\sub <br><br />
[[File:LM6132A-national.asy]] LM6132A/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM6132A test.asc]] Test circuit using the native LM6132A. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM6132.pdf Datasheet]<br />
<br />
'''THS4131'''<br />
<br />
[http://www.ti.com/litv/zip/sloj149 THS4131 subcircuit] Extract ths4131.txt & place in \lib\sub <br><br />
[[File:THS4131.asy]] THS4131 component. Place in \lib\sym\Opamps <br><br />
[[File:THS4131 test1.asc]] THS4131 test circuit, using native THS4131<br><br />
[http://www.ti.com/lit/gpn/ths4131 Datasheet] Original files created by Helmut Sennewald at [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=File:TIP142.sub&diff=300File:TIP142.sub2009-08-27T02:40:04Z<p>Lewispaul2: TIP142 subcircuit. Place in \lib\sub</p>
<hr />
<div>TIP142 subcircuit. Place in \lib\sub</div>Lewispaul2http://ltwiki.org/index.php?title=File:TIP142.asy&diff=299File:TIP142.asy2009-08-27T02:39:12Z<p>Lewispaul2: TIP142 symbol. Place in \lib\sym\Darlington</p>
<hr />
<div>TIP142 symbol. Place in \lib\sym\Darlington</div>Lewispaul2http://ltwiki.org/index.php?title=File:TIP142-test.asc&diff=298File:TIP142-test.asc2009-08-27T02:37:48Z<p>Lewispaul2: Test circuit using the native TIP142</p>
<hr />
<div>Test circuit using the native TIP142</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=244Components Library and Circuits2009-08-18T01:34:47Z<p>Lewispaul2: /* Opamps */</p>
<hr />
<div>''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.''<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
'''IRFB4110pbf'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irfb4110pbf.spi IRFB4110 subcircuit] Place in \lib\sub <br><br />
[[File:IRFB4110pbf.asy]] IRFB4110 component. Place in \lib\sym\nmos <br><br />
[[File:Irfb4110 test.asc]] Test circuit using the native IRFB4110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irfb4110pbf.pdf Datasheet]<br />
<br />
'''IRLR3110'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irlr_u3110zpbf.spi IRLR3110 subcircuit] Place in \lib\sub <br><br />
[[File:IRLR3110.asy]] IRLR3110 component. Place in \lib\sym\nmos <br><br />
[[File:Irlr3110 test.asc]] Test circuit using the native IRLR3110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irlr3110zpbf.pdf Datasheet]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''LM6132A - National Semiconductor'''<br />
<br />
[[File:LM6132A.MOD]] LM6132A subcircuit. Place in \lib\sub <br><br />
[[File:LM6132A-national.asy]] LM6132A/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM6132A test.asc]] Test circuit using the native LM6132A. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM6132.pdf Datasheet]<br />
<br />
'''THS4131'''<br />
<br />
[http://www.ti.com/litv/zip/sloj149 THS4131 subcircuit] Extract ths4131.txt & place in \lib\sub <br><br />
[[File:THS4131.asy]] THS4131 component. Place in \lib\sym\Opamps <br><br />
[[File:THS4131 test1.asc]] THS4131 test circuit, using native THS4131<br><br />
[http://www.ti.com/lit/gpn/ths4131 Datasheet] Original files created by Helmut Sennewald at [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=File:LM6132A_test.asc&diff=242File:LM6132A test.asc2009-08-18T01:29:38Z<p>Lewispaul2: Test circuit using the native LM6132A. You may want to use the alternate solver.</p>
<hr />
<div>Test circuit using the native LM6132A. You may want to use the alternate solver.</div>Lewispaul2http://ltwiki.org/index.php?title=File:LM6132A-national.asy&diff=241File:LM6132A-national.asy2009-08-18T01:28:43Z<p>Lewispaul2: LM6132A/NS component. Place in \lib\sym\Opamps</p>
<hr />
<div>LM6132A/NS component. Place in \lib\sym\Opamps</div>Lewispaul2http://ltwiki.org/index.php?title=File:LM6132A.MOD&diff=240File:LM6132A.MOD2009-08-18T01:27:55Z<p>Lewispaul2: LM6132A subcircuit. Place in \lib\sub</p>
<hr />
<div>LM6132A subcircuit. Place in \lib\sub</div>Lewispaul2http://ltwiki.org/index.php?title=File:THS4131.asy&diff=220File:THS4131.asy2009-08-17T19:31:34Z<p>Lewispaul2: uploaded a new version of "File:THS4131.asy":&#32;updated file to display THS4131 in schematic</p>
<hr />
<div>THS4131 component. Place in \lib\sym\Opamps. Created by Helmut Sennewald.</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=216Components Library and Circuits2009-08-17T07:07:46Z<p>Lewispaul2: /* Opamps */</p>
<hr />
<div>''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.''<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
'''IRFB4110pbf'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irfb4110pbf.spi IRFB4110 subcircuit] Place in \lib\sub <br><br />
[[File:IRFB4110pbf.asy]] IRFB4110 component. Place in \lib\sym\nmos <br><br />
[[File:Irfb4110 test.asc]] Test circuit using the native IRFB4110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irfb4110pbf.pdf Datasheet]<br />
<br />
'''IRLR3110'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irlr_u3110zpbf.spi IRLR3110 subcircuit] Place in \lib\sub <br><br />
[[File:IRLR3110.asy]] IRLR3110 component. Place in \lib\sym\nmos <br><br />
[[File:Irlr3110 test.asc]] Test circuit using the native IRLR3110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irlr3110zpbf.pdf Datasheet]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''THS4131'''<br />
<br />
[http://www.ti.com/litv/zip/sloj149 THS4131 subcircuit] Extract ths4131.txt & place in \lib\sub <br><br />
[[File:THS4131.asy]] THS4131 component. Place in \lib\sym\Opamps <br><br />
[[File:THS4131 test1.asc]] THS4131 test circuit, using native THS4131<br><br />
[http://www.ti.com/lit/gpn/ths4131 Datasheet] Original files created by Helmut Sennewald at [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=File:THS4131.asy&diff=215File:THS4131.asy2009-08-17T06:57:23Z<p>Lewispaul2: THS4131 component. Place in \lib\sym\Opamps. Created by Helmut Sennewald.</p>
<hr />
<div>THS4131 component. Place in \lib\sym\Opamps. Created by Helmut Sennewald.</div>Lewispaul2http://ltwiki.org/index.php?title=File:THS4131_test1.asc&diff=214File:THS4131 test1.asc2009-08-17T06:55:23Z<p>Lewispaul2: Test circuit using the native THS4131. You may want to use the alternate solver.
Created by Helmut Sennewald.</p>
<hr />
<div>Test circuit using the native THS4131. You may want to use the alternate solver.<br />
Created by Helmut Sennewald.</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=177Components Library and Circuits2009-08-15T21:29:18Z<p>Lewispaul2: /* NMOS */</p>
<hr />
<div>''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.''<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
'''IRFB4110pbf'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irfb4110pbf.spi IRFB4110 subcircuit] Place in \lib\sub <br><br />
[[File:IRFB4110pbf.asy]] IRFB4110 component. Place in \lib\sym\nmos <br><br />
[[File:Irfb4110 test.asc]] Test circuit using the native IRFB4110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irfb4110pbf.pdf Datasheet]<br />
<br />
'''IRLR3110'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irlr_u3110zpbf.spi IRLR3110 subcircuit] Place in \lib\sub <br><br />
[[File:IRLR3110.asy]] IRLR3110 component. Place in \lib\sym\nmos <br><br />
[[File:Irlr3110 test.asc]] Test circuit using the native IRLR3110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irlr3110zpbf.pdf Datasheet]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=File:Irfb4110_test.asc&diff=176File:Irfb4110 test.asc2009-08-15T21:24:55Z<p>Lewispaul2: Test circuit using the native IRFB4110. You may want to use the alternate solver.</p>
<hr />
<div>Test circuit using the native IRFB4110. You may want to use the alternate solver.</div>Lewispaul2http://ltwiki.org/index.php?title=File:IRFB4110pbf.asy&diff=175File:IRFB4110pbf.asy2009-08-15T21:24:01Z<p>Lewispaul2: IRFB4110pbf component. Place in \lib\sym\nmos</p>
<hr />
<div>IRFB4110pbf component. Place in \lib\sym\nmos</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=163Components Library and Circuits2009-08-14T03:39:13Z<p>Lewispaul2: /* NMOS */</p>
<hr />
<div>''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.''<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
'''IRLR3110'''<br />
<br />
[http://www.irf.com/product-info/models/spice/irlr_u3110zpbf.spi IRLR3110 subcircuit] Place in \lib\sub <br><br />
[[File:IRLR3110.asy]] IRLR3110 component. Place in \lib\sym\nmos <br><br />
[[File:Irlr3110 test.asc]] Test circuit using the native IRLR3110. You may want to use the alternate solver.<br><br />
[http://www.irf.com/product-info/datasheets/data/irlr3110zpbf.pdf Datasheet]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=File:Irlr3110_test.asc&diff=162File:Irlr3110 test.asc2009-08-14T03:32:18Z<p>Lewispaul2: Test circuit using the native IRLR3110. You may want to use the alternate solver.</p>
<hr />
<div>Test circuit using the native IRLR3110. You may want to use the alternate solver.</div>Lewispaul2http://ltwiki.org/index.php?title=File:IRLR3110.asy&diff=161File:IRLR3110.asy2009-08-14T03:31:05Z<p>Lewispaul2: IRLR3110 component. Place in \lib\sym\nmos</p>
<hr />
<div>IRLR3110 component. Place in \lib\sym\nmos</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=160Components Library and Circuits2009-08-13T23:11:00Z<p>Lewispaul2: /* Opamps */</p>
<hr />
<div>''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.''<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver.<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/].<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=159Components Library and Circuits2009-08-13T23:09:50Z<p>Lewispaul2: </p>
<hr />
<div>''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.''<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver.<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/]<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=158Components Library and Circuits2009-08-13T23:08:30Z<p>Lewispaul2: </p>
<hr />
<div>''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.''<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
== Opamps ==<br />
<br />
'''LM324 - National Semiconductor'''<br />
<br />
[http://www.national.com/models/spice/LM/LM324.MOD LM324 subcircuit] Place in \lib\sub <br><br />
[[File:LM324-national.asy]] LM324/NS component. Place in \lib\sym\Opamps <br><br />
[[File:LM324-national_test.asc]] Test circuit using the native LM324. You may want to use the alternate solver<br><br />
[http://www.national.com/ds/LM/LM124.pdf Datasheet]<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/]<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=File:LM324-national_test.asc&diff=157File:LM324-national test.asc2009-08-13T23:03:05Z<p>Lewispaul2: Test circuit using the native LM324. You may want to use the alternate solver</p>
<hr />
<div>Test circuit using the native LM324. You may want to use the alternate solver</div>Lewispaul2http://ltwiki.org/index.php?title=File:LM324-national.asy&diff=156File:LM324-national.asy2009-08-13T23:02:10Z<p>Lewispaul2: LM324/NS component. Place in \lib\sym\Opamps</p>
<hr />
<div>LM324/NS component. Place in \lib\sym\Opamps</div>Lewispaul2http://ltwiki.org/index.php?title=SPICE_Model_Links&diff=154SPICE Model Links2009-08-13T05:07:14Z<p>Lewispaul2: </p>
<hr />
<div>[http://www.elektronikschule.de/~krausg/Spice_Model_CD/ Large list from elektronikschule.de]<br><br />
[http://www.coilcraft.com/modelsswcad.cfm Coilcraft Inductors]<br><br />
[http://www.emwonder.com/spicemodels/ Links to many companies' SPICE models from emwonder.com]</div>Lewispaul2http://ltwiki.org/index.php?title=Components_Library_and_Circuits&diff=153Components Library and Circuits2009-08-13T05:04:13Z<p>Lewispaul2: </p>
<hr />
<div>''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.''<br />
<br />
== Comparators ==<br />
<br />
'''LM339'''<br />
<br />
[[File:LM339.sub]] LM339 subcircuit. Place in \lib\sub <br><br />
[[File:LM339.asy]] LM339 component. Place in \lib\sym\Comparators <br><br />
[[File:LM339 test.asc]] Test circuit using the native LM339. You may want to use the alternate solver<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/3/LM339.shtml Datasheet]<br />
<br />
== NMOS ==<br />
<br />
'''2N7002'''<br />
<br />
[[File:2N7002.sub]] 2N7002 subcircuit. Place in \lib\sub <br><br />
[[File:2N7002.asy]] 2N7002 component. Place in \lib\sym\nmos <br><br />
[[File:2N7002_test.asc]] Test circuit using the native 2N7002 You may want to use the alternate solver<br><br />
[http://www.fairchildsemi.com/ds/2N/2N7000.pdf Datasheet]<br />
<br />
== Opamps ==<br />
<br />
'''TL072'''<br />
<br />
[[File:TL072.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL072.asy]] TL072 component. Place in \lib\sym\Opamps <br><br />
[[File:Pweoverdrivepreamp2.asc]] Overdrive Preamp circuit, using native TL072<br><br />
[http://www.datasheetcatalog.com/datasheets_pdf/T/L/0/7/TL072.shtml Datasheet] Original files adapted from [http://tech.groups.yahoo.com/group/LTspice/]<br />
<br />
== Voltage Regulators ==<br />
<br />
'''TL431'''<br />
<br />
[[File:TL431.sub]] TL072 subcircuit. Place in \lib\sub <br><br />
[[File:TL431.asy]] TL072 component. Place in \lib\sym\Voltage Regulators <br><br />
[[File:TL431_test.asc]] Test circuit using the native TL431<br><br />
[http://www.fairchildsemi.com/ds/TL%2FTL431.pdf Datasheet]</div>Lewispaul2http://ltwiki.org/index.php?title=File:TL431_test.asc&diff=152File:TL431 test.asc2009-08-13T05:00:46Z<p>Lewispaul2: test circuit for native TL431</p>
<hr />
<div>test circuit for native TL431</div>Lewispaul2