You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: