Voltage Controlled Switch - Perfect

In this topic:

Netlist Entry

Uxxxx nout1 nout2 vc+ vc- modelname
nout1 Switch node 1
nout2 Switch node 2
vc+ Positive control node
vc- Negative control node
modelname Name of model. Must begin with a letter but can contain any character except whitespace and period '.'.

Perfect Voltage Controlled Switch Model Syntax

.model modelname perfect_switch ( parameters )

Perfect Voltage Controlled Switch Model Parameters

Name Description Units Default
RMID Switch resistance when control voltage is (VON+VOFF)/2 ???MATH???\Omega???MATH??? 1.0
VON Voltage at which switch is fully on ( ???MATH???R_{switch}=0.0???MATH??? ) V 1.0
VOFF Voltage at which switch is fully off ( ???MATH???R_{switch}=\infty???MATH??? ) V 0.0

Perfect Voltage Controlled Switch Notes

The perfect voltage controlled switch model has zero on resistance and infinite off resistance.

The resistance of the switch is defined as follows: \[ V_{ramp} = \frac{V_{c}-VOFF}{VON-VOFF} \] \[ V_{ramp}>=1.0: R_{switch}=0.0 \] \[ V_{ramp}<=0.0: R_{switch}=\infty \] \[ 0.0 < V_{ramp} < 1.0: R_{switch} = \frac{1.0-V_{ramp}}{V_{ramp} \cdot RMID} \]

Where:
  • ???MATH???V_{c}???MATH??? is the voltage between terminals vc+ and vc-
  • ???MATH???R_{switch}???MATH??? is the resistance connecting nout1 and nout2
  • ???MATH???VOFF???MATH???, ???MATH???VON???MATH??? and ???MATH???RMID???MATH??? are model parameters as defined above

Note that the perfect voltage controlled switch model is noise-free