HOME

TheInfoList



OR:

LTspice is a
SPICE A spice is a seed, fruit, root, bark, or other plant substance primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of plants used for flavoring or as a garnish. Spices a ...
-based
analog Analog or analogue may refer to: Computing and electronics * Analog signal, in which information is encoded in a continuous variable ** Analog device, an apparatus that operates on analog signals *** Analog electronics, circuits which use analog ...
electronic circuit simulator computer software, produced by
semiconductor A semiconductor is a material which has an electrical resistivity and conductivity, electrical conductivity value falling between that of a electrical conductor, conductor, such as copper, and an insulator (electricity), insulator, such as glas ...
manufacturer
Analog Devices Analog Devices, Inc. (ADI), also known simply as Analog, is an American multinational semiconductor company specializing in data conversion, signal processing and power management technology, headquartered in Wilmington, Massachusetts. The co ...
(originally by
Linear Technology Linear Technology Corporation was an American semiconductor company that designed, manufactured and marketed high performance analog integrated circuits. Applications for the company's products included telecommunications, cellular telephones, ne ...
). It is the most widely distributed and used SPICE software in the industry. Though it is
freeware Freeware is software, most often proprietary, that is distributed at no monetary cost to the end user. There is no agreed-upon set of rights, license, or EULA that defines ''freeware'' unambiguously; every publisher defines its own rules for the f ...
,Mike Engelhardt: ''LTspice IV Help → F.A.Q. → License and Distribution.'' (Help of software version 4.19u of 4 September 2013)Mike Engelhardt: ''LTspice IV Help → Introduction → License Agreement/Disclaimer.'' (Help of software version 4.19u of 4 September 2013) LTspice is not artificially restricted to limit its capabilities (no feature limits, no node limits, no component limits, no subcircuit limits). It ships with a library of SPICE models from
Analog Devices Analog Devices, Inc. (ADI), also known simply as Analog, is an American multinational semiconductor company specializing in data conversion, signal processing and power management technology, headquartered in Wilmington, Massachusetts. The co ...
,
Linear Technology Linear Technology Corporation was an American semiconductor company that designed, manufactured and marketed high performance analog integrated circuits. Applications for the company's products included telecommunications, cellular telephones, ne ...
,
Maxim Integrated Maxim Integrated, a subsidiary of Analog Devices, designs, manufactures, and sells analog and mixed-signal integrated circuits for the automotive, industrial, communications, consumer, and computing markets. Maxim's product portfolio includes p ...
, and third-party sources.


Overview

LTspice provides
schematic capture Schematic capture or schematic entry is a step in the design cycle of electronic design automation (EDA) at which the electronic diagram, or electronic schematic of the designed electronic circuit is created by a designer. This is done interactiv ...
to enter an
electronic schematic A circuit diagram (wiring diagram, electrical diagram, elementary diagram, electronic schematic) is a graphical representation of an electrical circuit. A pictorial circuit diagram uses simple images of components, while a schematic diagram sh ...
for an
electronic circuit An electronic circuit is composed of individual electronic components, such as resistors, transistors, capacitors, inductors and diodes, connected by conductive wires or traces through which electric current can flow. It is a type of electrical ...
, an enhanced
SPICE A spice is a seed, fruit, root, bark, or other plant substance primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of plants used for flavoring or as a garnish. Spices a ...
type analog electronic circuit
simulator A simulation is the imitation of the operation of a real-world process or system over time. Simulations require the use of models; the model represents the key characteristics or behaviors of the selected system or process, whereas the s ...
, and a
waveform viewer A waveform viewer is a software tool for viewing the signal levels of either a digital or analog circuit design.Janick Bergeron, ''Writing Testbenches: Functional verification of HDL Models'', Kluwer Academic Publishers, 2000 Waveform viewers come ...
to show the results of the simulation. 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. Heat dissipation of components can be calculated and efficiency reports can also be generated. It has enhancements and specialized models to speed the simulation of
switched-mode power supplies A switched-mode power supply (switching-mode power supply, switch-mode power supply, switched power supply, SMPS, or switcher) is an electronic power supply that incorporates a switching regulator to convert electrical power efficiently. Lik ...
(SMPS) in
DC-to-DC converter A DC-to-DC converter is an electronic circuit or electromechanical device that converts a source of direct current (DC) from one voltage level to another. It is a type of electric power converter. Power levels range from very low (small batteries) ...
s. LTspice does not generate
printed circuit board A printed circuit board (PCB; also printed wiring board or PWB) is a medium used in Electrical engineering, electrical and electronic engineering to connect electronic components to one another in a controlled manner. It takes the form of a L ...
(PCB) layouts, but netlists can be exported to PCB layout software. 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 Radio frequency (RF) is the oscillation rate of an alternating electric current or voltage or of a magnetic, electric or electromagnetic field or mechanical system in the frequency range from around to around . This is roughly between the upp ...
electronics,
power electronics Power electronics is the application of electronics to the control and conversion of electric power. The first high-power electronic devices were made using mercury-arc valves. In modern systems, the conversion is performed with semiconducto ...
,
audio electronics Audio most commonly refers to sound, as it is transmitted in signal form. It may also refer to: Sound *Audio signal, an electrical representation of sound *Audio frequency, a frequency in the audio spectrum *Digital audio, representation of sound ...
,
digital electronics Digital electronics is a field of electronics involving the study of digital signals and the engineering of devices that use or produce them. This is in contrast to analog electronics and analog signals. Digital electronic circuits are usual ...
, and other disciplines.


LTspice/SwitcherCAD III

In 1999, LTspice III was released, the first public release. It is designed to run on
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
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
CDROM A CD-ROM (, compact disc read-only memory) is a type of read-only memory consisting of a pre-pressed optical compact disc that contains computer data storage, data. Computers can read—but not write or erase—CD-ROMs. Some CDs, called enhanced ...
media. In June 2001, it was released for public downloading from the Linear Technology website. Originally, LTspice/SwitcherCAD ran only on Microsoft Windows platforms, but since 2003 it is able to run under the
Wine Wine is an alcoholic drink typically made from fermented grapes. Yeast consumes the sugar in the grapes and converts it to ethanol and carbon dioxide, releasing heat in the process. Different varieties of grapes and strains of yeasts are m ...
Windows compatibility layer on
Linux Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, which ...
.


LTspice IV

In 2008, LTspice IV was released. 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 Pentium 4 is a series of single-core CPUs for desktops, laptops and entry-level servers manufactured by Intel. The processors were shipped from November 20, 2000 until August 8, 2008. The production of Netburst processors was active from 2000 ...
processor. 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. A native Apple
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lapt ...
10.7+ application was introduced in 2013.


LTspice XVII

In 2016, LTspice XVII was released, and is currently the latest version. It is designed to run on 32-bit or 64-bit editions of
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
7, 8, 8.1, 10, and
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lapt ...
10.9+. Summary of major changes from LTspice IV to LTspice XVII are: * Add 64-bit executables. * Add
Unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology Technical standard, standard for the consistent character encoding, encoding, representation, and handling of Character (computing), text expre ...
characters in
schematic A schematic, or schematic diagram, is a designed representation of the elements of a system using abstract, graphic symbols rather than realistic pictures. A schematic usually omits all details that are not relevant to the key information the sc ...
s,
netlist In electronic design, a netlist is a description of the connectivity of an electronic circuit. In its simplest form, a netlist consists of a list of the electronic components in a circuit and a list of the nodes they are connected to. A network ...
s,
plot Plot or Plotting may refer to: Art, media and entertainment * Plot (narrative), the story of a piece of fiction Music * ''The Plot'' (album), a 1976 album by jazz trumpeter Enrico Rava * The Plot (band), a band formed in 2003 Other * ''Plot' ...
. * Add device equations for
IGBT An insulated-gate bipolar transistor (IGBT) is a three-terminal power semiconductor device primarily used as an electronic switch, which, as it was developed, came to combine high efficiency and fast switching. It consists of four alternating lay ...
, diode soft recovery, arbitrary
state machine A finite-state machine (FSM) or finite-state automaton (FSA, plural: ''automata''), finite automaton, or simply a state machine, is a mathematical model of computation. It is an abstract machine that can be in exactly one of a finite number o ...
. * Add user-defined symbol and library directory search path settings to the LTspice control panel. * Add schematic
thumbnail Thumbnails are reduced-size versions of pictures or videos, used to help in recognizing and organizing them, serving the same role for images as a normal text index does for words. In the age of digital images, visual search engines and image ...
and preview support on Microsoft Windows. * Add editors for most
SPICE A spice is a seed, fruit, root, bark, or other plant substance primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of plants used for flavoring or as a garnish. Spices a ...
commands. * Add
multi-monitor Multi-monitor, also called multi-display and multi-head, is the use of multiple physical display devices, such as monitors, televisions, and projectors, in order to increase the area available for computer programs running on a single computer sy ...
support.


Updates

Every 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. In March 2017,
Linear Technology Linear Technology Corporation was an American semiconductor company that designed, manufactured and marketed high performance analog integrated circuits. Applications for the company's products included telecommunications, cellular telephones, ne ...
merged into
Analog Devices Analog Devices, Inc. (ADI), also known simply as Analog, is an American multinational semiconductor company specializing in data conversion, signal processing and power management technology, headquartered in Wilmington, Massachusetts. The co ...
. Over time, SPICE models for Analog Devices components have gradually been added to LTspice. In August 2021,
Maxim Integrated Maxim Integrated, a subsidiary of Analog Devices, designs, manufactures, and sells analog and mixed-signal integrated circuits for the automotive, industrial, communications, consumer, and computing markets. Maxim's product portfolio includes p ...
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 models

LTspice ships with thousands of third-party models (
capacitor A capacitor is a device that stores electrical energy in an electric field by virtue of accumulating electric charges on two close surfaces insulated from each other. It is a passive electronic component with two terminals. The effect of ...
s,
diode A diode is a two-terminal electronic component that conducts current primarily in one direction (asymmetric conductance); it has low (ideally zero) resistance in one direction, and high (ideally infinite) resistance in the other. A diode ...
s,
inductor An inductor, also called a coil, choke, or reactor, is a passive two-terminal electrical component that stores energy in a magnetic field when electric current flows through it. An inductor typically consists of an insulated wire wound into a c ...
s,
resistor A resistor is a passive two-terminal electrical component that implements electrical resistance as a circuit element. In electronic circuits, resistors are used to reduce current flow, adjust signal levels, to divide voltages, bias active el ...
s,
transistor upright=1.4, gate (G), body (B), source (S) and drain (D) terminals. The gate is separated from the body by an insulating layer (pink). A transistor is a semiconductor device used to Electronic amplifier, amplify or electronic switch, switch e ...
s,
ferrite bead A ferrite bead at the end of a Mini USB cable A ferrite bead (also known as a ferrite block, ferrite core, ferrite ring, EMI filter, or ferrite choke) is a type of choke that suppresses high-frequency electronic noise in electronic circuits. F ...
s,
opto-isolator An opto-isolator (also called an optocoupler, photocoupler, or optical isolator) is an electronic component that transfers electrical Signal, signals between two isolated circuits by using light. Opto-isolators prevent high voltages from affecti ...
s, 555 timer, and more), as well as macro models for
Analog Devices Analog Devices, Inc. (ADI), also known simply as Analog, is an American multinational semiconductor company specializing in data conversion, signal processing and power management technology, headquartered in Wilmington, Massachusetts. The co ...
and
Linear Technology Linear Technology Corporation was an American semiconductor company that designed, manufactured and marketed high performance analog integrated circuits. Applications for the company's products included telecommunications, cellular telephones, ne ...
parts ( ADCs, analog switches,
comparator In electronics, a comparator is a device that compares two voltages or currents and outputs a digital signal indicating which is larger. It has two analog input terminals V_+ and V_- and one binary digital output V_\text. The output is ideally : ...
s, DACs,
filter Filter, filtering or filters may refer to: Science and technology Computing * Filter (higher-order function), in functional programming * Filter (software), a computer program to process a data stream * Filter (video), a software component tha ...
s, opamps,
timer A timer is a specialized type of clock used for measuring specific time intervals. Timers can be categorized into two main types. The word "timer" is usually reserved for devices that counts down from a specified time interval, while devices th ...
s,
voltage reference A voltage reference is an electronic device that ideally produces a fixed (constant) voltage irrespective of the loading on the device, power supply variations, temperature changes, and the passage of time. Voltage references are used in power supp ...
s, voltage supervisors,
voltage regulator A voltage regulator is a system designed to automatically maintain a constant voltage. A voltage regulator may use a simple feed-forward design or may include negative feedback. It may use an electromechanical mechanism, or electronic components ...
s, 0.01% quad resistor networks, and more). In the device library, Analog Devices part numbers start with "AD", and Linear Technology parts start with "LT". 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. 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 -> Sym. & Lib. Search Paths. The text that describes intrinsic SPICE models can be placed directly on an LTspice schematic by using the spice directive .op button. The advantage of this method is the 3rd party model is self-contained as part of the schematic when you distribute the schematic file. The same .model can also be copied to an
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
text file on your computer too, but it won't "travel" with a schematic when you copy it to another computer. For example, the following diode part numbers aren't included in the current LTspice device library: : .model 1N4004_WIKI D(Is=500p Rs=0.12 N=1.6 Tt=4u Cjo=40p M=0.35 BV=400 Ibv=5.00u Mfg=BobCordellBook Type=Silicon) : .model 1N4007_WIKI D(Is=7.02767n Rs=0.0341512 N=1.80803 Tt=1e-07 Cjo=1e-11 Vj=0.7 M=0.5 Eg=1.05743 Xti=5 Fc=0.5 BV=1000 Ibv=5e-08 Mfg=OnSemiconductor Type=Silicon) : .model 1N5408_WIKI D(Is=63.0n Rs=14.1m N=1.70 Tt=4.32u Cjo=53.0p M=0.333 BV=1000 Ibv=10.0u Mfg=DiodesInc Type=Silicon)


Number conventions

In LTspice, numeric values can be expressed in four different ways:
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
(i.e. 1000),
real Real may refer to: Currencies * Brazilian real (R$) * Central American Republic real * Mexican real * Portuguese real * Spanish real * Spanish colonial real Music Albums * ''Real'' (L'Arc-en-Ciel album) (2000) * ''Real'' (Bright album) (2010) ...
(i.e. 1000.0), scientific e-notation (i.e. 1e3, 1.0e3), scale factor notation (i.e. 1K, 1K0). If the first character after a number is not the letter "e" for scientific e-notation or a scale factor suffix (left column of table), then trailing characters are ignored. For example, 5 is treated the same as 5V / 5Volt / 5
Volt The volt (symbol: V) is the unit of electric potential, electric potential difference (voltage), and electromotive force in the International System of Units (SI). It is named after the Italian physicist Alessandro Volta (1745–1827). Defi ...
s / 5 Hz / 5
Hertz The hertz (symbol: Hz) is the unit of frequency in the International System of Units (SI), equivalent to one event (or cycle) per second. The hertz is an SI derived unit whose expression in terms of SI base units is s−1, meaning that on ...
.


Scale factors

Integer and real numbers supports a scale factor (multiplier) suffix. These are based mostly on metric conventions. The suffix (left column) can be upper / lower / mixed
case Case or CASE may refer to: Containers * Case (goods), a package of related merchandise * Cartridge case or casing, a firearm cartridge component * Bookcase, a piece of furniture used to store books * Briefcase or attaché case, a narrow box to c ...
, known as case insensitive. For example, 1MEG / 1meg / 1Meg represents 1000000; 1k / 1K represents 1000. Any appended text after the suffix (left column) is ignored. For example, 2Meg Hz / 2Mega
Ohm Ohm (symbol Ω) is a unit of electrical resistance named after Georg Ohm. Ohm or OHM may also refer to: People * Georg Ohm (1789–1854), German physicist and namesake of the term ''ohm'' * Germán Ohm (born 1936), Mexican boxer * Jörg Ohm (b ...
represents 2000000; 3m V / 3mOhm represents 0.003; 4uF / 4u
Henry Henry may refer to: People *Henry (given name) *Henry (surname) * Henry Lau, Canadian singer and musician who performs under the mononym Henry Royalty * Portuguese royalty ** King-Cardinal Henry, King of Portugal ** Henry, Count of Portugal, ...
represents 0.000004. In LTspice, any suffix (left column) can replace the
decimal point A decimal separator is a symbol used to separate the integer part from the fractional part of a number written in decimal form (e.g., "." in 12.45). Different countries officially designate different symbols for use as the separator. The choi ...
of a
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
, a common format for printed schematics. For example, 4K7 represents 4700, 1u8 represents 0.0000018.


Compatibility

Although LTspice was originally based upon Berkeley
SPICE A spice is a seed, fruit, root, bark, or other plant substance primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of plants used for flavoring or as a garnish. Spices a ...
3f5 source code, 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: *
Unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology Technical standard, standard for the consistent character encoding, encoding, representation, and handling of Character (computing), text expre ...
characters in schematics, netlists, plot. This is a new feature in LTspice XVII, thus older versions of LTspice don't support Unicode. * Unicode (U+00B5) µ
micro Micro may refer to: Measurement * micro- (μ), a metric prefix denoting a factor of 10−6 Places * Micro, North Carolina, town in U.S. People * DJ Micro, (born Michael Marsicano) an American trance DJ and producer *Chii Tomiya (都宮 ちい ...
character as an alternate symbol for ASCII (hex 75) u letter, which used as the micro (10−6) scale factor. See option setting at LTspice -> Tools -> Control Panel -> Netlist Options -> Convert 'µ' to 'u'. * Unicode (U+2212) minus character as an alternate symbol for ASCII (hex 2D) minus/dash/hyphen character. * Suffix replacing decimal point. See option setting at LTspice -> Tools -> Control Panel -> SPICE -> Accept 3K4 as 3.4K. LTspice does not support the following features: * LTspice does not support scale factors of "atto" 10−18, "peta" 1015, or "exa" 1018. * HSPICE supports 'a' for "atto" 10−18, which must be replaced with 'e-18' to be compatible with LTspice and other SPICE software. * HSPICE supports 'X' as a synonym for "meg" 106, which must be replaced with 'e6' or 'MEG'to be compatible with LTspice and other SPICE software.


Node name conventions

In LTspice, a node/net (connection point) on the schematic can be labeled by using the Label Net tool button or F4 key. The "Label Net" wizard has three choices for a label, two predefined graphical symbols (GND, COM), or a user-defined node/net name. The two graphical symbols represent: * GND - The ground symbol assigns a node with a special global net name of "0". * COM - The COM symbol assigns a node with a net name of "COM", which doesn't have any special significance. Historically,
SPICE A spice is a seed, fruit, root, bark, or other plant substance primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of plants used for flavoring or as a garnish. Spices a ...
and older version of LTspice software only supported printable
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
characters for node/net names, then LTspice XVII added support for
Unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology Technical standard, standard for the consistent character encoding, encoding, representation, and handling of Character (computing), text expre ...
characters. A user-defined name supports two optional features that can be prepended to the text name: * _ - An
underscore An underscore, ; also called an underline, low line, or low dash; is a line drawn under a segment of text. In proofreading, underscoring is a convention that says "set this text in italic type", traditionally used on Manuscript (publishing), man ...
causes an
overbar An overline, overscore, or overbar, is a typographical feature of a horizontal line drawn immediately above the text. In old mathematical notation, an overline was called a '' vinculum'', a notation for grouping symbols which is expressed in m ...
to be placed above the entire name, which commonly means an active low signal. For example, "_RESET" is shown on the schematic as "". * $G_ - This means a node is global, no matter where the name occurs in the circuit hierarchy. For example, "$G_ENABLE" / "$G_ERROR". The ground symbol is treated in a similar way, but it does not have "$G_" prepended to it. 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. * None - Bare text. This is the default. * Global - "Rectangle" around the text. This is automatically shown for a global net name that starts with "$G_". * Input - "Rectangle with triangle end" around the text. This is chosen by the "Port Type" field in the "Label Net" wizard. * Output - "Rectangle with triangle on other end" around the text. This is chosen by the "Port Type" field in the "Label Net" wizard. * Bidirectional - "Rectangle with triangle on two ends" around the text. This is chosen by the "Port Type" field in the "Label Net" wizard.


File format

Many of the LTspice files are stored as an
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
text file A text file (sometimes spelled textfile; an old alternative name is flatfile) is a kind of computer file that is structured as a sequence of lines of electronic text. A text file exists stored as data within a computer file system. In operating ...
, which can be viewed or edited with any ASCII
text editor A text editor is a type of computer program that edits plain text. Such programs are sometimes known as "notepad" software (e.g. Windows Notepad). Text editors are provided with operating systems and software development packages, and can be us ...
programs. One of the side benefits of an ASCII file format is that a schematic can be listed in a printed document / book / magazine / datasheet / research paper / homework assignment, which allows the reader to recreate LTspice files without electronic file distribution. LTspice
filename extension A filename extension, file name extension or file extension is a suffix to the name of a computer file (e.g., .txt, .docx, .md). The extension indicates a characteristic of the file contents or its intended use. A filename extension is typically d ...
s:What are the different LTspice file types; LTwiki.
/ref> * .asc -
schematic A schematic, or schematic diagram, is a designed representation of the elements of a system using abstract, graphic symbols rather than realistic pictures. A schematic usually omits all details that are not relevant to the key information the sc ...
. It consists of a
netlist In electronic design, a netlist is a description of the connectivity of an electronic circuit. In its simplest form, a netlist consists of a list of the electronic components in a circuit and a list of the nodes they are connected to. A network ...
based on
SPICE A spice is a seed, fruit, root, bark, or other plant substance primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of plants used for flavoring or as a garnish. Spices a ...
text-based commands. * .asy -
electronic symbol An electronic symbol is a pictogram used to represent various electrical and electronic devices or functions, such as wires, batteries, resistors, and transistors, in a schematic diagram of an electrical or electronic circuit. These symbols are l ...
shown in a schematic. * .cir - external netlist input. * .fft -
FFT A fast Fourier transform (FFT) is an algorithm that computes the discrete Fourier transform (DFT) of a sequence, or its inverse (IDFT). Fourier analysis converts a signal from its original domain (often time or space) to a representation in the ...
binary output. * .lib - model library subcircuits. * .plt -
waveform In electronics, acoustics, and related fields, the waveform of a signal is the shape of its graph as a function of time, independent of its time and magnitude scales and of any displacement in time.David Crecraft, David Gorham, ''Electronic ...
viewer
plot Plot or Plotting may refer to: Art, media and entertainment * Plot (narrative), the story of a piece of fiction Music * ''The Plot'' (album), a 1976 album by jazz trumpeter Enrico Rava * The Plot (band), a band formed in 2003 Other * ''Plot' ...
settings. * .raw - binary output, optional ASCII output. * .sub - subcircuit.Subcircuit structure guide; Audio perfection.
/ref> * .lib / .sub / .mod / .model - device model. While any file extension is allowed, users tend to gravitate towards common ones.


Example

The 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 A text editor is a type of computer program that edits plain text. Such programs are sometimes known as "notepad" software (e.g. Windows Notepad). Text editors are provided with operating systems and software development packages, and can be us ...
, 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. * LTspice_RC.asc * LTspice_RC.plt


Schematic file

LTspice
schematic A schematic, or schematic diagram, is a designed representation of the elements of a system using abstract, graphic symbols rather than realistic pictures. A schematic usually omits all details that are not relevant to the key information the sc ...
s are stored as an ASCII text file with a filename extension of "asc". The following example shows the contents from a small LTspice schematic file for a simple
RC circuit A resistor–capacitor circuit (RC circuit), or RC filter or RC network, is an electric circuit composed of resistors and capacitors. It may be driven by a voltage or current source and these will produce different responses. A first order RC ci ...
with four schematic symbols: V1 is 10
volt The volt (symbol: V) is the unit of electric potential, electric potential difference (voltage), and electromotive force in the International System of Units (SI). It is named after the Italian physicist Alessandro Volta (1745–1827). Defi ...
DC voltage source, R1 is 1K
ohm Ohm (symbol Ω) is a unit of electrical resistance named after Georg Ohm. Ohm or OHM may also refer to: People * Georg Ohm (1789–1854), German physicist and namesake of the term ''ohm'' * Germán Ohm (born 1936), Mexican boxer * Jörg Ohm (b ...
resistor A resistor is a passive two-terminal electrical component that implements electrical resistance as a circuit element. In electronic circuits, resistors are used to reduce current flow, adjust signal levels, to divide voltages, bias active el ...
, C1 is 1 uF
capacitor A capacitor is a device that stores electrical energy in an electric field by virtue of accumulating electric charges on two close surfaces insulated from each other. It is a passive electronic component with two terminals. The effect of ...
,
ground Ground may refer to: Geology * Land, the surface of the Earth not covered by water * Soil, a mixture of clay, sand and organic matter present on the surface of the Earth Electricity * Ground (electricity), the reference point in an electrical c ...
. The bottom three TEXT lines are: 1) a transient simulation directive with a stop time parameter of 10 ms (.tran 10mS), 2) a
SPICE A spice is a seed, fruit, root, bark, or other plant substance primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of plants used for flavoring or as a garnish. Spices a ...
directive to set the initial condition of RC "out" net to zero volts (.ic v(OUT)=0V), and 3) a text comment (title). 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 file

LTspice
waveform In electronics, acoustics, and related fields, the waveform of a signal is the shape of its graph as a function of time, independent of its time and magnitude scales and of any displacement in time.David Crecraft, David Gorham, ''Electronic ...
viewer
plot Plot or Plotting may refer to: Art, media and entertainment * Plot (narrative), the story of a piece of fiction Music * ''The Plot'' (album), a 1976 album by jazz trumpeter Enrico Rava * The Plot (band), a band formed in 2003 Other * ''Plot' ...
settings are stored as an ASCII text file with a filename extension of "plt". If this optional plot file is present, then all plot planes will automatically be displayed after the "Run" button is pressed, otherwise the user will need to click on each net to see the waveform(s). To create a plot file on Windows, after a plot graph is displayed, right-click on it and choose "File", then choose "Save Plot Settings".Save Plot Configurations; LTwiki.
/ref> 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 Voltage, also known as electric pressure, electric tension, or (electric) potential difference, is the difference in electric potential between two points. In a static electric field, it corresponds to the work needed per unit of charge to m ...
at "out" net and
current Currents, Current or The Current may refer to: Science and technology * Current (fluid), the flow of a liquid or a gas ** Air current, a flow of air ** Ocean current, a current in the ocean *** Rip current, a kind of water current ** Current (stre ...
through resistor R1, which are labeled V(out) and I(R1) at the top of the plot graph. ransient Analysis


See also

*
Transistor model Transistors are simple devices with complicated behavior. In order to ensure the reliable operation of circuits employing transistors, it is necessary to scientifically model the physical phenomena observed in their operation using transistor mod ...
*
Diode modelling In electronics, diode modelling refers to the mathematical models used to approximate the actual behaviour of real diodes to enable calculations and circuit analysis. A diode's I- V curve is nonlinear. A very accurate, but complicated, physical ...
*
Compact Model Coalition The Compact Model Coalition (formerly the Compact Model Council) is a working group in the Electronic Design Automation industry formed to choose, maintain and promote the use of standard semiconductor device models. Commercial and industrial anal ...
*
Comparison of EDA software This page is a comparison of electronic design automation (EDA) software which is used today to design the near totality of electronic devices. Modern electronic devices are too complex to be designed without the help of a computer. Electronic dev ...
*
List of free electronics circuit simulators List of free analog and digital electronic circuit simulators, available for Windows, macOS, Linux, and comparing against UC Berkeley SPICE. Some of the following simulators don't include a graphical visual interface, so a separate program must be ...


References


Further reading


''SPICE Differentiation''
Mike Engelhardt; Linear Technology; LT Journal of Analog Innovation; 7 pages; January 2015. * ''The LTspice IV Simulator: Manual, Methods and Applications''; Gilles Brocard; Würth Elektronik; 744 pages; 2013; . (Table of Contents)
/small> * ''Semiconductor Device Modeling with SPICE''; 2nd Ed; Giuseppe Massobrio and Paolo Antognetti; McGraw Hill; 479 pages; 1993; . (Table of Contents)
/small> ;Books with LTspice chapters
''Designing Audio Power Amplifiers''
2nd Ed; Bob Cordell; McGraw Hill; 776 pages; 2019; . (Chapters 23 & 24
(LTspice models)
/small>

1st Ed; Sid Antoch; Zap Studio; 128 pages; 2016; .


External links

;Analog/Linear *
LTspice Keyboard ShortcutsMacOS Shortcuts


;Wiki & User Group
LTwiki

LTspice User Group
- migrated from Yahoo in 2019 ;Tutorials
LTspice IV Getting Started Guide
- Analog/Linear
Introduction to LTspice
- EEE202 - Arizona State University
More LTspice
- EEE202 - Arizona State University
Introduction to LTSpice XVII
- DigiKey

- Simon Bramble ;Other
Audio interview with Mike Engelhardt (author of LTspice)
- (1h32m) - The Amp Hour {{col-end Electronic design automation software Electronic circuit simulators Simulation software