In universalopamp2, what does the "rail" parameter do?
--
John Larkin Highland Technology, Inc
The cork popped merrily, and Lord Peter rose to his feet. "Bunter", he said, "I give you a toast. The triumph of Instinct over Reason"
In universalopamp2, what does the "rail" parameter do?
--
John Larkin Highland Technology, Inc
The cork popped merrily, and Lord Peter rose to his feet. "Bunter", he said, "I give you a toast. The triumph of Instinct over Reason"
Am 02.03.2020 um 18:02 schrieb snipped-for-privacy@highlandsniptechnology.com:
Hello John,
rail=0 (default) means the maximum and minimum output voltages will be the supply voltages. If you set rail=2, the maximum output voltage will be the positive supply voltage minus 2V and the minimum output voltage will be the negative supply voltage plus 2V.
Best regards, Helmut
OK, symmetric voltage limit. Thanks.
You could probably add a voltage source to its output, tap the feedback off after that, and that way arrive at the asymmetrical limits of a real opamp. With a defined Ri it might be even more realistic.
why not add/subtract the voltage from the supply
You could do that as well but then if you want to make it more realistic (with an Ri) that Ri could affect some innards of the opamp model. Unless the model is strictly behavioral where it might not matter.
Have something to add? Share your thoughts — no account required.
Ask the community — no account required