How to model a voltage controlled resistor in SPICE?

Status
Not open for further replies.

VSWR

Advanced Member level 3
Joined
Feb 7, 2002
Messages
746
Helped
103
Reputation
206
Reaction score
24
Trophy points
1,298
Activity points
5,423
voltage controlled resistor

I'd like to model a voltage controlled resistor in SPICE. How is this done using controlled/dependent sources? (I don't want to use a simple FET)
 

spice voltage controlled resistor

If your spice does not supply this device. With an equation defined spice source it does not work either. What you need is a current source defined by two voltages Va and Vb. Define a subcircuit

.SUBCKT RCTR RT1 RT2 RC1 RC2
ICTR RT1 RT2 V(RT1,RT2)*(R0+R1*V(RC1,RC2))
.ENDS RCTR

RT1/2 are the resistor terminals and RC1/2 are the control terminals
 

voltage controlled resistor spice

you can try also a switch, which is really a vc resistor
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…