hero image
Our Products
Analog Devices, Inc.

New LTspice②: How to Use SPICE Models

Analog Devices, Inc.
Analog Devices, Inc.
  • Analog Devices, Inc.
  • NEXT Mobility

What is LTspice?

LTspice is a SPICE simulator provided free of charge by Analog Devices.
The library includes macro models for many Analog Devices products and passive components.
Demo circuits are also available.

How to Obtain LTspice Demo Circuits

From the toolbar, select Component -> Search for the device -> Select the device -> Open Example Circuit

To get the LTspice demo circuit, go to "Component" on the toolbar, search for the device, select the device, and then click "Open Example Circuit."

They can also be obtained from the Analog Devices website.

Screenshot of the LTspice demo circuit available from the Analog Devices website

SPICE Model

LTspice can also use SPICE models not registered in the library.

Device Models

Element models, including transistors, FETs, and diodes, are described with .MODEL
There are several ways to use them, but here is a simple method.

  • 1.  Obtain the SPICE model from the manufacturer's website, etc.
  • 2. Open the SPICE model you obtained in a text editor and copy everything after ".Model ~".
Open the SPICE model you obtained in a text editor and copy the text after ".Model ~".
  • 3.  Open "SPICE Directive(.)" -> Edit Text on the Schematic from the LTspice toolbar and paste the text after .Model.
Open "SPICE Directive(.)" on the LTspice toolbar → Edit Text on the Schematic and paste the part after .Model.
  • 4. Ctrl+right-click the element of the SPICE model to be used to open the Component Attribute Editor.

Enter the model name to be used in the Value field.Now the device model can be used.

Open "SPICE Directive(.)" on the LTspice toolbar → Edit Text on the Schematic and paste the part after .Model.

Subcircuit Models

Circuit models with a hierarchical structure described with .SUBCKT
Using subcircuit models requires symbol creation, but LTspice has a function to automatically generate symbols from models.

  • 1.  Obtain the SPICE model from the manufacturer's website, etc.
  • 2.Drag and drop the obtained SPICE model into LTspice to open it.
  • 3. Right-click on the blue text ".SUBCKT..." and select "Create Symbol."
Subcircuit model, image of ".SUBCKT..." in blue
  • 4.Save the automatically generated symbol to your desired directory.
Screen image of when automatically generated symbols are saved in a directory of your choice
  • 5. Select the automatically generated model from the Component option in the toolbar.

The subcircuit model can now be used.

A screen for selecting an automatically generated model from "Component" on the toolbar

Related Product Information 

Link to Related Technical Columns