It comes with a broad selection of Linear Technology components as well as a selection of other common components.
Annoyingly it doesn't include some common op amps from other manufacturers (such as a 741 or a LM324 etc). If you want to use cheap components like these it makes simulating harder.
I figured out you can do it however.
I downloaded a SPICE simulation of the LM324 from the Texas Instruments web site. The process for adding a component is
- Copy the component into the same directory as your circuit files (in my case this was a file called LM32.lib)
- Hit the .op button to add a spice directive and say
.include LM324.lib - Choose a generic component from the library - in my case this was opamp2
- Right click the component, modify the 'value' parameter to have the same name as the name of the model in the file you included. In my case this was LM324. Make sure the prefix is X (not sure why this matters).
Now when you simulate your circuit it will use the model you included.
There is another way to do this where you can add your component to the library but I found that then you have to draw your own circuit symbol. It seems easier to me if you just use a generic component and specify the model.
No comments:
Post a Comment