CSwitch

Current controlled ideal switch

    CSwitch

Library

Spice/Analog/Basic

Description

The switching behaviour of the ideal opening switch is controlled by the input signal control: off or on.

The switch has three distinct modes of current control,depending on the value of the threshold current value.

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

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

Parameters

CSwitch_0

NameLabelDescriptionData TypeValid Values

sp_control

Name of controlling source

Name of the voltage controlling source

String

sp_HSCSWITCH

HSCSWITCH

String

sp_it

Threshold current

Threshold value (amperes)

Scalar

sp_ih

Hysteresis current

Hysteresis value (amperes)

Scalar

sp_ron

Closed resistance

Resistance when the switch is closed (ohms)

Scalar

sp_roff

Open resistance

Resistance when the switch is open (ohms)

Scalar

sp_Spice

Additional Spice Parameters

For more details, see the section
Additional Spice Parameters.

Additional Spice Parameters.

String

Ports

NameTypeDescriptionIO TypeNumber

W+

implicit

Switch positive pin

input

1

W-

implicit

Switch negative pin

input

2