Dual Voltage sweep with Reversed Polarity

Hi all,

I am attempting to create a circuit with two voltage inputs. I want the inputs to be the same other than having reversed polarity. I can’t seem to find a way from ngspice commands to do this. Anyone know of a good method (other than adding in a small circuit just to reverse the polarity)?


Why not use a little ‘circuit’? There is no voltage source with dual complementary output available. So you may create one using the PSPICE Esource symbol. The Esource is a VCVS (voltage controlled voltage source). If used with gain -1, you get the voltage inversion.

esource.7z (3.7 KB)

1 Like

Ah that might be acceptable, I hadn’t seen that solution before. I’ll give it a try. Thanks for the help!