Page 1 of 1

LTSpice tutorials for stompboxes?

Posted: 24 Apr 2009, 15:24
by Mr. G.
Are there any tutorials around for using LTSpice for stompboxes? I'd like to make use of this software to help me understand circuits better, but I can't quite figure it out.

Re: LTSpice tutorials for stompboxes?

Posted: 24 Apr 2009, 17:15
by Mr. G.
I found the gaussmarkov ltspice tutorials, which were helpful, but I still can't figure out how to use opamps. I'm mainly wanting to play around with some tone stacks and such that use opamps, but it's too over my head at the moment. :?

Re: LTSpice tutorials for stompboxes?

Posted: 28 Apr 2009, 22:07
by JiM
LTSpice is inteded to encorage you to use the chips from Linear Technology, that's why all their range of opamps are available in the library ...
But you can use anything else with little effort. (OK, i've figured that out only a few weeks ago :? )

First of all, you can use a generic, ideal opamp out-of-the box, by choosing "opamp" at the end of the list and placing it on the schematic. As the comment says, you have to add a SPICE directive to load the corresponding library. To do that, click on the top-right ".op" icon, type

Code: Select all

.lib opamp.sub
and place the line on the schematic also.
No need for power supplies, as it's perfect and won't distort nor clip.

For more accurate simulations, you can get other .sub files from the website of the manufacturer of the chip. They might have different filename extension, but all are text files full of SPICE models. You can copy the files in the LTspiceIV/lib/sub/ directory, and use the same kind of .lib directive to load the ones you need. Then right-click on the relevant symbol on your schematic, and type in the "value" field the exact name of the model you want to use, as stated after ".SUBCKT" in the model.
That's it !

Re: LTSpice tutorials for stompboxes?

Posted: 28 Apr 2009, 22:22
by Mr. G.
Thanks for the reply JiM! I'll give that a shot.