A current-controlled switch changes between high and low resistance states based on the current through a controlling voltage source.
W<name> <node1> <node2> <Vcontrol> <model_name> [ON|OFF] [M=<m>]
| Parameter |
Description |
node1, node2 |
Switch terminal nodes |
Vcontrol |
Name of voltage source sensing the control current |
model_name |
Name of a .MODEL ISWITCH(...) definition |
ON / OFF |
Initial state |
M=m |
Multiplier |
W1 OUT 0 Vsense ISMOD
Vsense CTRL_A CTRL_B 0
.MODEL ISMOD ISWITCH(IT=1m IH=0.1m RON=1 ROFF=1MEG)
| Parameter |
Description |
IT |
Threshold current |
IH |
Hysteresis current |
RON |
On-state resistance |
ROFF |
Off-state resistance |
- A 0V voltage source is used as a current sensor in the control path.
- Behavior is analogous to the voltage switch (S), but controlled by current instead of voltage.