This type of block implements a current-controlled switch. Depending on the current flowing from port 3 to port 4, the switch contact between ports 1 and 2 is either closed or open.
The block is characterized by the properties listed below. To modify the values use the Block Properties – Parameters dialog box.
Initial Condition |
Since the switch may exhibit a hysteresis, the on/off state may not be unique at simulation start. This parameter sets the initial condition and thereby choses the branch of the hysteresis curve. |
On Resistance |
Resistance between ports 1 and 2 in "On" state. |
Off Resistance |
Resistance between ports 1 and 2 in "Off" state. |
On Controlling Current |
The current that switches the switch from "Off" to "On". |
Off Controlling Current |
The current that switches the switch from "On" to "Off". The switch exhibits a hysteresis if this current is different from the On Controlling Current. |
Parallel Capacitance |
The value of a capacitance connected in parallel to the switch contact. |
Transition Width |
Width of the transition region in hysteresis curve. A value of 0 corresponds to an idealized, abrupt hysteresis curve. |
Since an ideal switch is a highly nonlinear device, it may lead to instabilities in transient simulations. These can usually be fixed by setting the Parallel Capacitance parameter to a small nonzero value, and/or limiting the ratio of Off Resistance to On Resistance to a value less than 1012.
Note that the hysteresis curve of the current-controlled switch is approximated by a continuous curve which is shown qualitatively in the figure below. This might help avoid convergence problems during transient simulation, when the switch is neither in a clear ON state nor in a clear OFF state. The smoothness of the hysteresis curve is controlled by the parameter Transition Width.
See also