Switch

Ideal voltage controlled switch

    Switch

Library

Analog/Basic

Description

The Ideal Voltage Switch is a voltage switch that is controlled by an input on/off signal control.

The switch is on or off based on the threshold of the input voltage. The controlling current flows through the specified voltage source.

The direction of positive controlling current flow is from the positive node (+), through the source, to the negative node (-).

Hysteresis effect can also be taken into account when setting the hysteresis voltage.

Parameters

Switch_0

NameLabelDescriptionData TypeValid Values

sp_HSVSWITCH

HSVSWITCH

String

sp_vt

Threshold voltage

Threshold value (volts)

Scalar

sp_vh

Hysteresis voltage

Hysteresis value (volts)

Scalar

sp_ron

Resistance when closed

Resistance when the switch is closed (ohms)

Scalar

sp_roff

Resistance when open

Resistance when the switch is open (ohms)

Scalar

sp_Spice

Additional Spice Parameters

For more details, see Additional Spice Parameters.

String

Ports

NameTypeDescriptionIO TypeNumber

S+

implicit

Switch positive node

1

S-

implicit

Switch negative node

2

SC+

implicit

Controlled positive node

3

SC-

implicit

Controlled negative node

4