Author Topic: Failure in implementing LM7805 and LM7905 in LTSpice!  (Read 8018 times)

0 Members and 1 Guest are viewing this topic.

Offline ruiseixasTopic starter

  • Contributor
  • Posts: 24
  • Country: pt
Failure in implementing LM7805 and LM7905 in LTSpice!
« on: May 10, 2017, 10:52:09 am »
Hi,

After seeing dome youtube videos and reading LTSpice libraries, I try to implement the vulgar LM7805 voltage regulator without success.

The library file I'm using for LM78xx and LM79xx is this one here: http://ltwiki.org/files/LTspiceIV/lib/sub/regulators.lib

For the LM7805 the library states this:
Code: [Select]
* LM7805 model.
* No need to use .inc - I've set the .asy symbol to remove the need for .inc.
* (I used the symbol of LT1084, just replaced the LT1084 by LMxxxx and LTC.LIB by regulators.lib)

However after I followed the instructions to adapt the LT1084 symbol I got this error when try it the simulation:
Unknown subcircuit called in:
xu1 nc_01 n001 regulators.lib lm7805?


Here is the obtained LM7805.asy file after replacement and edition:
Code: [Select]
Version 4
SymbolType CELL
RECTANGLE Normal -128 -64 128 96
TEXT 0 0 Center 2 LT
WINDOW 0 0 -63 Bottom 2
WINDOW 3 16 112 Left 2
SYMATTR Value LM7805
SYMATTR Prefix X
SYMATTR SpiceModel regulators.lib
SYMATTR Description LM7805 Voltage Regulator
PIN 0 96 BOTTOM 8
PINATTR PinName ADJ
PINATTR SpiceOrder 1
PIN 128 0 RIGHT 8
PINATTR PinName OUT
PINATTR SpiceOrder 2
PIN -128 0 LEFT 8
PINATTR PinName IN
PINATTR SpiceOrder 3

Any ideas how to do this properly?
« Last Edit: May 10, 2017, 11:01:30 am by ruiseixas »
 

Offline ruiseixasTopic starter

  • Contributor
  • Posts: 24
  • Country: pt
Re: Failure in implementing LM7805 and LM7905 in LTSpice!
« Reply #1 on: May 10, 2017, 12:52:55 pm »
Problem solved with these libraries instead from the Yahoo! group LTSpice:

Just place all .asy files in "LTspiceXVII\lib\sym\PowerProducts" folder and all .lib files in "LTspiceXVII\lib\sub" folder!

 :-+
« Last Edit: May 10, 2017, 12:57:12 pm by ruiseixas »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf