Back to Forums
2 posts / 0 new
Last post
#1 Nov 6, 2017
Sbrettsc
Offline
Last seen: 3 years 9 months ago
Joined: 2017-08-17 21:19

Current controlled resistor

I'm trying to draw out the schematic for a current controlled resistor that behaves as follows:  If the current through the resistor is less than 300mA then the resistance should be close to 0.  If the current is greater than 300mA the resistance should be 2Ohm.

I'm struggling to make this work.  I thought I could just make the value of the resistor an expression like {IF(I(R1)<0.3,1m,2)}.  Pspice returned an error with that syntax

Tue, 2017-11-07 10:25
aashish
Offline
Last seen: 2 years 2 months ago
Joined: 2016-06-22 23:39

Hi,

 

Try using a ABM (Analog behavioral Modelling) part like Gvalue or Evalue. There you can give expressions to control the output. you can read pspcref.pdf and pspug.pdf to understnad teh detiasl on abm parts.

Download PSpice and try it for free! Download Free Trial
Cadence