LTspice
LTspice is a SPICE-based analog electronic circuit simulator computer software, produced by semiconductor manufacturer Analog Devices (originally by Linear Technology).[2] It is the most widely distributed and used SPICE software in the industry.[6] Though it is freeware,[4][5] it is not artificially restricted to limit its abilities (no limits on: features, nodes, components, subcircuits).[6][7] It ships with a library of SPICE models from Analog Devices, Linear Technology, Maxim Integrated, and third-party sources. OverviewLTspice provides schematic capture to enter an electronic schematic for an electronic circuit, an enhanced SPICE type analog electronic circuit simulator, and a waveform viewer to show the results of the simulation.[2] Circuit simulation analysis based on transient, noise, AC, DC, DC transfer function, DC operating point can be performed and plotted as well as fourier analysis.[8] Heat dissipation of components can be calculated and efficiency reports can also be generated.[citation needed] It has enhancements and specialized models to speed the simulation of switched-mode power supplies (SMPS) in DC-to-DC converters.[2][9] LTspice does not generate printed circuit board (PCB) layouts, but netlists can be exported to PCB layout software.[10] While LTspice does support simple logic gate simulation, it is not designed specifically for simulating logic circuits. It is used by many users in fields including radio frequency electronics, power electronics, audio electronics, digital electronics, and other disciplines. LTspice/SwitcherCAD IIIIn 1999, LTspice III was released, the first public release.[1] It is designed to run on Windows 95, 98, 98SE, ME, NT4.0, 2K, XP. This version is no longer available for download from Analog Devices. Initially, LTspice III was internally released to Linear Technology's Field Application Engineers (FAE) in October 1999, who then gave it away during customer visits via CD-ROM media.[1] In June 2001, it was released for public downloading from the Linear Technology website.[1][9] Originally, LTspice/SwitcherCAD ran only on Microsoft Windows platforms, but since 2003 it is able to run under the Wine Windows compatibility layer on Linux.[11] LTspice IVIn 2008, LTspice IV was released.[1][7][12] It is designed to run on Windows 2K, XP, Vista, 7 with a processor that contains a minimum instruction set similar to a Pentium 4 processor.[13] Though IV is still available for download, it is no longer maintained. LTspice was originally called SwitcherCAD, but that name was removed when IV was released.[1] A native Apple macOS 10.7+ application was introduced in 2013.[14] LTspice XVIIIn 2016, LTspice XVII was released, and is currently the latest version.[6] It is designed to run on 32-bit or 64-bit editions of Windows 7, 8, 8.1, 10, and macOS 10.9+.[2] Summary of major changes from LTspice IV to LTspice XVII are:
UpdatesEvery month, LTspice updates have been released with new SPICE models, fixed SPICE models, or software changes. At any time, a user can manually update LTspice by choosing "Sync Release" from the "Tools" pulldown menu. From the "Help" pulldown menu, "Show Change Log" displays a list of every SPICE model and software change since LTspice XVII was first released.[3] In March 2017, Linear Technology merged into Analog Devices. Over time, SPICE models for Analog Devices components have gradually been added to LTspice. In August 2021, Maxim Integrated merged with Analog Devices. Since then, SPICE models for Maxim components are being gradually added into LTspice. Updates are no longer provided for Windows XP and MacOS 10.9, as well as older versions of Windows and MacOS. Device modelsLTspice ships with thousands of third-party models (capacitors, diodes, inductors, resistors, transistors, ferrite beads, opto-isolators, 555 timer, and more), as well as macro models for Analog Devices and Linear Technology parts (ADCs, analog switches, comparators, DACs, filters, opamps, timers, voltage references, voltage supervisors, voltage regulators, 0.01% quad resistor networks, and more).[2][7] In the device library, Analog Devices part numbers start with "AD", and Linear Technology parts start with "LT".[15] LTspice allows a user to choose from device models that ship with LTspice, as well as allows the user to define their own device model, or use 3rd party models from numerous electronic component manufacturers, or use a model from a 3rd party device library.[16] Starting with LTspice XVII, control panel settings were added to allow the user to specify search directories for 3rd party device symbols and libraries. See option setting at LTspice -> Tools -> Control Panel -> The text that describes intrinsic SPICE models can be placed directly on an LTspice schematic by using the spice directive
Number conventionsIn LTspice, numeric values can be expressed in four different ways: integer (i.e., 1000), real (i.e., 1000.0), scientific e-notation (i.e., 1e3, 1.0e3), scale factor notation (i.e., 1K, 1K0).[26] If the first character after a number is not the letter " Scale factorsInteger and real numbers supports a scale factor (multiplier) suffix.[26] These are based mostly on metric conventions. The suffix (left column) can be upper, lower, or mixed case, known as case insensitive.[26] For example, 1MEG, 1meg, or 1Meg represents 1000000; 1k, or 1K represents 1000. Any appended text after the suffix (left column) is ignored.[26] For example, 2MegHz, or 2MegaOhm represents 2000000; 3mV, or 3mOhm represents 0.003; 4uF, or 4uHenry represents 0.000004. In LTspice, any suffix (left column) can replace the decimal point of a real number, a common format for printed schematics.[26][17] For example, 4K7 represents 4700, 1u8 represents 0.0000018.
CompatibilityAlthough LTspice was originally based upon Berkeley SPICE 3f5 source code,[1] it no longer is, thus some of its features may create non-portable files. Competitor SPICE programs have non-portable features too. LTspice features that may not be supported by some SPICE programs:
LTspice does not support the following features:
Node name conventionsIn LTspice, a node/net (connection point) on the schematic can be labeled by using the The two graphical symbols represent:
Historically, SPICE and older version of LTspice software only supported printable ASCII characters for node/net names, then LTspice XVII added support for Unicode characters.[6] A user-defined name supports two optional features that can be prepended to the text name:
When a node/net name is placed on a schematic, it will have one of five different visual representations. Two are automatically determined, while three others are chosen by the "Port Type" field in the "Label Net" wizard.[27]
File formatMany of the LTspice files are stored as an ASCII text file, which can be viewed or edited with any ASCII text editor program. One side benefit of an ASCII file format is that a schematic can be listed in any printed document, such as book, magazine, datasheet, research paper, or homework assignment, which allows recreating LTspice files without electronic file distribution. LTspice filename extensions:[30]
ExampleThe following example can be viewed by copying each into two different text files. For each, copy the text in the gray box from this article, paste into an ASCII text editor, saving as a text file. Both files must have the same "base name" and sit in the same directory. To see it, opening the "asc" file with LTspice then click the "Run" button inside LTspice software.
Schematic fileLTspice schematics are stored as an ASCII text file with a filename extension of " The following example shows the contents from a small LTspice schematic file for a simple RC circuit with four schematic symbols: V1 is 10 volt DC voltage source, R1 is 1K ohm resistor, C1 is 1 uF capacitor, ground. The bottom three TEXT lines are: 1) a transient simulation directive with a stop time parameter of 10 ms ( Version 4
SHEET 1 880 680
WIRE 224 96 128 96
WIRE 128 160 128 96
WIRE 224 192 224 176
WIRE 288 192 224 192
WIRE 224 208 224 192
WIRE 128 288 128 240
WIRE 224 288 224 272
WIRE 224 288 128 288
WIRE 224 304 224 288
FLAG 224 304 0
FLAG 288 192 OUT
IOPIN 288 192 Out
SYMBOL res 208 80 R0
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL cap 208 208 R0
SYMATTR InstName C1
SYMATTR Value 1uF
SYMATTR SpiceLine V=50
SYMBOL voltage 128 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 7 10 Left 2
WINDOW 3 -20 57 Left 2
SYMATTR InstName V1
SYMATTR Value 10V
TEXT 120 344 Left 2 !.tran 10mS
TEXT 120 376 Left 2 !.ic v(OUT)=0V
TEXT 8 72 Left 2; RC Circuit - LTspice - Wikipedia
Plot fileLTspice waveform viewer plot settings are stored as an ASCII text file with a filename extension of " The following example for the above schematic shows settings for a "transient analysis" simulation with two waveforms on one plot plane consisting of the RC voltage at "out" net and current through resistor R1, which are labeled V(out) and I(R1) at the top of the plot graph. [Transient Analysis]
{
Npanes: 1
{
traces: 2 {524290,0,"V(out)"} {34603011,1,"I(R1)"}
X: ('m',0,0,0.001,0.01)
Y[0]: (' ',0,0,1,10)
Y[1]: ('m',0,0,0.001,0.01)
Volts: (' ',0,0,0,0,1,10)
Amps: ('m',0,0,0,0,0.001,0.01)
Log: 0 0 0
GridStyle: 1
}
}
See also
References
Further reading
External links
|