Creating a Voltage Controlled Switch opening and closing at different voltages

Thread Starter


Joined Feb 8, 2019
I am currently trying to figure out how to create a voltage controlled switch on LTSpice where it will open at 0.5V and it will close back at -0.2V. I cannot seem to figure out how to do this. I have tried using multiple switches in different configurations but still cannot get it to work.

I have attached the circuit I am currently working on. When V_anode - V_cathode is 0.5V I want the low resistance to kick in which is why I have a switch there. However, I want the circuit to switch back into high resistance, or the switch to open back up, when V_anode - V_cathode is -0.2V.

Any help would be appreciated!