Voltage Controlled Switch

Description
Voltage Controlled Switch
The switch state is controlled by the voltage difference between control pins CP and CN.
Switching Behavior:
- Closes when V(CP-CN) ≥ Vt + Vh
- Opens when V(CP-CN) ≤ Vt - Vh
- When Vh = 0: Sharp threshold at Vt (no hysteresis)
- When Vh > 0: Hysteresis behavior prevents oscillations near threshold
Resistance Behavior:
- OnResistance (Ron): Resistance when closed. If Ron ≤ 0, acts as ideal short circuit (zero resistance)
- OffResistance (Roff): Resistance when open. If Roff ≤ 0, acts as ideal open circuit (infinite resistance)
Library
Electrical > Switches
Pins
| Name | Description |
|---|---|
| P | Positive Pin (●) |
| N | Negative Pin |
| CP | Control Positive Pin - Measures voltage difference V(CP-CN) for switch control |
| CN | Control Negative Pin - Reference for voltage measurement V(CP-CN) |
Parameters
| Name | Description |
|---|---|
| OnResistance | On-Resistance value, in Ohm. Resistance when switch is closed. |
| If Ron ≤ 0, the switch acts as an ideal short circuit (zero resistance) when closed. | |
| OffResistance | Off-Resistance value, in Ohm. Resistance when switch is open. |
| If Roff ≤ 0, the switch acts as an ideal open circuit (infinite resistance) when open. | |
| Vt | Threshold voltage, in V. The voltage level at which the switch changes state. |
| With hysteresis (Vh > 0): Switch closes at Vt+Vh and opens at Vt-Vh. | |
| Without hysteresis (Vh = 0): Sharp threshold at Vt. | |
| Vh | Hysteresis voltage, in V. Defines the hysteresis band around the threshold. |
| When Vh = 0: No hysteresis, sharp switching at Vt. | |
| When Vh > 0: Switch closes at Vt+Vh and opens at Vt-Vh, preventing rapid oscillations. |