Community
EAGLE Forum
Welcome to Autodesk’s EAGLE Forums. Share your knowledge, ask questions, and explore popular EAGLE topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't Load Model for OpAmps

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Anonymous
1024 Views, 4 Replies

Can't Load Model for OpAmps

I'm trying to run a simulation on the LM158 dual OpAmp component. The component is available on Ultra Librarian from DigiKey. When loading in the component, I'm given the option of adding the Spice model (.MDL) file. When I select this option, I change the spice type to X: Subcircuit, and press Map. At this point, I can select Load Model, and am able to bring in the Model from Ultra Librarian. When I press "OK", however,  I receive an error "Part E1 cannot be simulated, check value and connections! 

 

As far as I know, I have not done anything to run a simulation yet; only load in the model. 

 

As an alternative, the LM358 is available from the list of parts included in Eagle. It does, however, separate into two Op Amps and two pins for a power supply, and the model for the 358 is the same as the 158. 

 

Is there a better way to go about this? Is there an error in my procedure for loading up the model? Should I go into the model file and troubleshoot it for an error that I can fix? 

 

All help and advice is appreciated. 

 
Labels (1)
4 REPLIES 4
Message 2 of 5
jorge_garcia
in reply to: Anonymous

Hi @Anonymous ,

 

I hope you're doing well. I would say to grab the LM358 for now, currently NGSPICE requires a vanilla SPICE model. Most of the models online are PSPICE or some other proprietary version of SPICE with some mods. We hope to shortly update our NGSPICE version so that this will no longer be an issue.

 

Let me know if there's anything else I can do for you.

 

Best Regards,



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
Message 3 of 5
Anonymous
in reply to: jorge_garcia

Thanks for the quick response Jorge. For the LM358 though, I still need to Map a Model, right? How do I do this for the LM358 model that's already available.

 

Thanks for your help.

Message 4 of 5
Anonymous
in reply to: jorge_garcia

Hi @jorge_garcia 

 

Currently, I can access an Opamp model from the EAGLE 9.6.2\examples\spice\examples folder. Is this what you mean by "vanilla spice model"? Would this mean that there is no way import the specific characteristics of components for ngspice as of right now?

 

Thanks,

 

Mathieu Gaydos

Message 5 of 5
jorge_garcia
in reply to: Anonymous

Hi @Anonymous ,

 

I hope you're doing well. That's not what I mean by "vanilla spice model", what I mean by that phrase is that the model file you download should only contain standard SPICE syntax, it can't have any of the proprietary additions that PSPICE, TINA, and others have added to the default SPICE language. This will become less of an issue soon but it's a problem now.

 

 

LM358.png



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report