Hi there, i am trying to use a VCVS like an ideal ...
# xschem
r
Hi there, i am trying to use a VCVS like an ideal opamp. How can I define the minimum and maximum output voltage? Any example? value=50 is the value of the gain. but in the manual nothing appear about this option.
s
The best option is to use a 'B' source with an ATAN function. this gives controlled gain, voltage saturation and continous derivative so no convergence problems. Testbench attached. The ideal opamp takes as parameters the total output amplitude (vmax = vmin), the gain, the output offset (centered to 0V or positive) and also the output RC so you can set a dominant pole.
ideal_opamp.png
😃 1