Electronics > Proteus
Proteus gives negative voltage in a single supply operational circuit
pantagavo:
Hi, I am new using Proteus and after building my system the results were not good, so I decided to step back to a very simple circuit and I was really confused when I got what you can see in the figure attached. How can the output be negative if all the voltages are positive? I have to expect these things to be normal in proteus?
Gustavo
T3sl4co1l:
Don't suppose they provide multiple simulation models to choose from. Obviously, that particular model doesn't work well in saturation.
A simulation model is a bunch of equations thrown together. It is rarely representative, in some fundamental way, of the actual circuit or component. (For the same reason... any simulation at all is only a bunch of equations thrown together; its relevance is limited by the detail, skill and understanding of the modeler using it. YMMV.)
The worst offenders are the three terminal op-amp models, which assume infinite supply voltages...
Tim
digsys:
As a Proteus user myself, I agree with the previous comment. The more "features" a model has, the more than can go "wrong"
until you figure it out.
T3sl4co1l:
But that's kind of a backwards way of putting it, isn't it...? I mean, ideally a model would encompass every possible usage case: input characteristics, output characteristics, like....time dependency of the power supplies even...?! But, even if such models were created as a matter of course, they would be massive and run very slowly. There's just too much stuff to account for in real life that is difficult to implement in SPICE.
A too-simple model can only demonstrate what it's useful for; the textbook model of an op-amp being simply a block of very high gain (approaching infinity) won't even converge outside of DC in SPICE. A more accurate model would be an ideal integrator (which at least occasionally shows up in textbooks, at least once the start talking bandwidth and filters), but that fails for both DC offset and output swing. Such an oversimplified model still fails for the example circuit in question, since voltage will just rise to infinity over time. (Those three terminal models are basically this, plus finite DC gain, and maybe a higher pole to represent phase margin near cutoff. They probably don't cover slew rate limiting, and certainly don't cover output saturation (what voltage rails are they supposed to saturate to?) or supply current (no rails to draw current from!).)
The crap end of it is either case: an oversimplified model that doesn't cover your situation simply isn't going to work. But an overly complex model will run so slow as to be useless, or have convergence issues preventing you from using it in the first place! (Which requires one to dabble in those obscure SPICE environment variables, which...yep.)
The best model is always a model that's just developed and accurate enough for your particular case.
So of course, in the end, the only generalization that really sticks: that the user must be wise enough to decide if the models provided (up to and including the overall circuit) are lying or reasonable. No free lunch and all.
Tim
pantagavo:
Ok, I knew that Proteus is not full professional but I thought that it was better. My conclussion is:
Use it at your own risk and believe more in your knowledge of electronics. Thanks Tim and digsys for your replies.
Gustavo
Navigation
[0] Message Index
[#] Next page
Go to full version