I want a specified DC input voltage or above input voltage of a solid state relay to activate it.
I want 3V or above DC input to turn on the relay's output switch.
Here is the simple diagram:
Is there a way to implement it in LTSpice?
I want a specified DC input voltage or above input voltage of a solid state relay to activate it.
I want 3V or above DC input to turn on the relay's output switch.
Here is the simple diagram:
Is there a way to implement it in LTSpice?
PlasmaHH is right. The component you look for is simply the "SW", or voltage controlled switch.
However, in addition to the switch component itself, you need a directive on your schematic to define its characteristics, like that: .model MySwitch SW(Ron=1 Roff=100Meg Vt=3)
(Vt is the threshold).
Finally, right-click on the SW component and set its value to "MySwitch".
An AC/DC solid state relay formed by two mosfets (quite a common type of SSR) and a photo-voltaic isolator looks like this circuit-wise: -
If you "properly" wanted to simulate one of these then the kit of parts is: -
This should be pretty good at giving most of the nuances found in this type of SSR such as relatively poor rise and fall times. Using the MOSFETs also contributes to rise time, fall time, on resistance, off impedance etc.. You might also feel the need to put a diode across the input to the VCVS and apply a gain factor in the VCVS to give 15V to the gates of the MOSFETs.
(Padding.....) This'll do it:
Version 4
SHEET 1 880 884
WIRE 512 416 320 416
WIRE 320 448 320 416
WIRE 352 448 320 448
WIRE 320 480 320 448
WIRE 272 496 -16 496
WIRE 272 544 80 544
WIRE 512 544 512 416
WIRE 320 592 320 560
WIRE 352 592 320 592
WIRE -16 624 -16 496
WIRE 320 624 320 592
WIRE -16 752 -16 704
WIRE 80 752 80 544
WIRE 80 752 -16 752
WIRE 320 752 320 704
WIRE 320 752 80 752
WIRE 400 752 320 752
WIRE 512 752 512 624
WIRE 512 752 400 752
WIRE -16 864 -16 752
FLAG -16 864 0
FLAG 352 592 230
FLAG 400 752 NEUT
FLAG 352 448 230_SW
SYMBOL voltage -16 608 R0
WINDOW 3 24 96 Invisible 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 .02 1m 1m 58m 200m)
SYMBOL voltage 320 608 R0
WINDOW 3 24 96 Invisible 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value SINE(0 325 50)
SYMBOL sw 320 576 M180
SYMATTR InstName S1
SYMBOL res 496 528 R0
SYMATTR InstName R1
SYMATTR Value 100
TEXT -8 792 Left 2 !.model SW SW(Ron=.01 Roff=1G Vt=3 Vh=0)
TEXT -8 824 Left 2 !.tran .5