Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.01 KB

File metadata and controls

39 lines (29 loc) · 1.01 KB

W — Current Switch

A current-controlled switch changes between high and low resistance states based on the current through a controlling voltage source.

Syntax

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

Example

W1 OUT 0 Vsense ISMOD
Vsense CTRL_A CTRL_B 0
.MODEL ISMOD ISWITCH(IT=1m IH=0.1m RON=1 ROFF=1MEG)

Model Parameters

Parameter Description
IT Threshold current
IH Hysteresis current
RON On-state resistance
ROFF Off-state resistance

Notes

  • 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.