My question relates to LTSpice:
I got an LM339 Spice model from https://github.com/evenator/LTSpice-Libraries/blob/master/sub/LM339.sub. Thanks to another post on this forum.
My question is that LM339_Test_01.asc in the attached has the LM339 connected as sort of a follower (if it were an op amp but it is a comparator.)
FWIW: I get the same result with C1 disconnected.
A real LM339 output should display some oscillation when connected as I have in this. (That circuit is NOT a good oscillator but it should be unstable.) The zip includes another circuit which is a relaxation oscillator. I can relax because that one does oscillate.
But I question the operation of the model in LM339_Test_01.asc. Am I missing something, or is the model missing something? Is there a more accurate model around? This is just sort of an academic question; I have no pressing need...
Thanks for any thoughts on this.
I got an LM339 Spice model from https://github.com/evenator/LTSpice-Libraries/blob/master/sub/LM339.sub. Thanks to another post on this forum.
My question is that LM339_Test_01.asc in the attached has the LM339 connected as sort of a follower (if it were an op amp but it is a comparator.)

FWIW: I get the same result with C1 disconnected.
A real LM339 output should display some oscillation when connected as I have in this. (That circuit is NOT a good oscillator but it should be unstable.) The zip includes another circuit which is a relaxation oscillator. I can relax because that one does oscillate.
But I question the operation of the model in LM339_Test_01.asc. Am I missing something, or is the model missing something? Is there a more accurate model around? This is just sort of an academic question; I have no pressing need...
Thanks for any thoughts on this.
Attachments
-
2.1 KB Views: 3
Last edited:



