LTspice: Using an Intrinsic Symbol for a Third-Party Model

LTspice IV can automatically create a symbol for a third-party model, or you can associate a third-party subcircuit with an LTspice intrinsic symbol, as long as the third-party .SUBCKT model and the intrinsic symbol share an identical pin/port netlist order. For example, to add an N-channel MOSFET transistor symbol to a schematic and define it with an IRF_7401 .SUBCKT statement:

  1. Add an instance of the N-channel MOSFET transistor symbol to your schematic.
  2. Move the cursor over the body of the MOSFET symbol and Ctrl + Right-Click. A dialog box appears.
  3. Change Prefix: “MN” to “X”. The symbol now netlists as a subcircuit instead of an intrinsic NMOS transistor.
  4. Change “NMOS” to be “IRF_7401”, corresponding to the name on the .SUBCKT line.
  5. Click OK.
  6. Either add the .SUBCKT IRF_7401 lines to your schematic or reference the library containing it (.INCLUDE third_party.lib) as a SPICE directive.

Again, this assumes the third-party model you’re adding follows popular pin order conventions. When in doubt, use the automatic symbol generation feature because it takes care of any discrepancies with regard to pin and port netlist order. For more about automatic symbol generation, see Help > Schematic Capture > Creating New Symbols > Automatic Symbol Generation.



Gabino Alonso