CSwitch
Current controlled ideal switch
Library
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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
sp_control | Name of controlling source | Name of the voltage controlling source | String | |
sp_HSCSWITCH | HSCSWITCH | String | ||
sp_it | Threshold current | Threshold value | Scalar | |
sp_ih | Hysterisis current | Hysteresis value | Scalar | |
sp_ron | Closed resistance | Resistance when the switch is closed | Scalar | |
sp_roff | Open resistance | Resistance when the switch is open | Scalar | |
sp_Spice | Additional Spice Parameters | For more details, see Additional Spice Parameters. | String |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
W+ | implicit | Switch positive pin | 1 | |
W- | implicit | Switch negative pin | 2 |