3 posts / 0 new
Last post
#1 Oct 10, 2019
pspice_user
Offline
Last seen: 5 days 8 hours ago
Joined: 2019-10-10 15:24

Variable Resistors based on Internal circuit voltages

I need to set the resistor value based on the voltage or current in the circuit.  I would like to use an IF statement for multiple values.

 

IF(Vin<1, 1, 2).

Eventually I need to go to nested IF statements but I'm trying to get this one example to work.

The Vin is the net name of a voltage in the circuit.

What is the correct way to do this?

 

Mon, 2019-10-14 06:03
janayya
Offline
Last seen: 8 hours 24 min ago
Joined: 2017-07-26 03:05

Hi, Please make use of this URL: http://www.ecircuitcenter.com/Circuits/vc_resistor1/vc_resistor1.htm

Best Regards,

Janayya

Mon, 2019-10-14 15:08 (Reply to #2)
pspice_user
Offline
Last seen: 5 days 8 hours ago
Joined: 2019-10-10 15:24

Thanks Janayya!

Download PSpice Lite and try it for free! Get PSpice Lite
Cadence