Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LM358 negative power consumption, need better model #28

Open
Github-Home-User opened this issue May 28, 2022 · 0 comments
Open

LM358 negative power consumption, need better model #28

Github-Home-User opened this issue May 28, 2022 · 0 comments

Comments

@Github-Home-User
Copy link

The LM358/NS subcircuit model in this repository (Models/Operational%20Amplifier/Lm358.mod) sometimes exhibits negative power consumption and may actually end up seemingly powering connected circuits as an artifact of this bug. IN particular, this happens when the power supply is 5V (+/- 2.5V) or less (as allowed by the data sheet).

This can be shown by putting the model in a basic opamp example circuit and running a simulation with low power supply (I happened to do my tests in the popular LTSpice freeware instead of whatever is installed with KiCad, but others should be able to check that this also happens with the KiCad bundled spice).

The alternative subcircuit model published by SGS Thompson (ST) has a very similar bug, generating even more fictional power.

The alternative model file published by NS/Ti as "snom268b" is even messier, not even being a single subcircuit .

It would be good if the repository maintainers would add a warning in the top comments of the LM358 model file, and leave this bug open as something that others can solve by uploading a better LM358 model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant