diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index f7652894..f027b51c 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -14,6 +14,7 @@ MOSFETs.lib NMOSFETs.lib OpAmps.lib Optocoupler.lib +PhotovoltaicRelay.lib PMOSFETs.lib Regulators.lib Substrates.lib diff --git a/library/PhotovoltaicRelay.lib b/library/PhotovoltaicRelay.lib new file mode 100644 index 00000000..ccdba99a --- /dev/null +++ b/library/PhotovoltaicRelay.lib @@ -0,0 +1,213 @@ + + + + +CPC1018 phtovoltaic relay. + + +.Def:PhotovoltaicRelay_CPC1018 _net0 _net1 _net2 _net3 +Sub:X1 _net0 _net1 _net2 _net3 gnd Type="CPC1018N_sub_cir" +.Def:End + + + * Qucs 2.0.0 PhotovoltaicRelay_CPC1018.sch + +* IXYS-Clare CPC1018N Photovoltaic AC/DC Relay +* Helmut Sennewald 2008 +.subckt CPC1018N A K D1 D2 +*.param IFON=1m RON=0.65 TOFF=250u COUT=25p CIO=1p +.PARAM IFON=1m +.PARAM RON=0.65 +.PARAM TOFF=250u +.PARAM COUT=25p +.PARAM CIO=1p +D1 A N003 LED +C1 A K 10p +V1 N003 K 0 +R2 gs 0 1k +C2 gs 0 {2*TOFF/1000} +B1 0 gs I=7m*atan(abs(0.8*I(V1)/IFON)) +C4 A D2 {CIO/2} +C5 K D1 {CIO/2} +C7 D2 D1 {COUT} +M1 D2 N001 N004 N004 NMOS1 +M2 D1 N005 N004 N004 NMOS1 +G1 N004 N001 gs 0 1m +R1 N001 N004 1k +G2 N004 N005 gs 0 1m +R3 N005 N004 1k +V2 N002 0 6 +D2 gs N002 DD +.model LED D(Is=1e-16 Rs=3 N=1.5 Eg=1.8 CJO=18p TT=100n) +.model NMOS1 NMOS(Vto=3.5 Kp={0.65/RON}) +.model DD D(Is=1e-14 N=1) +.ends + + +.SUBCKT PhotovoltaicRelay_CPC1018 gnd _net0 _net1 _net2 _net3 +X1 _net0 _net1 _net2 _net3 CPC1018N +.ENDS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <.PortSym -60 -40 1 0> + <.PortSym -60 20 2 0> + <.ID -30 -116 SUB> + <.PortSym 80 -60 3 180> + <.PortSym 80 40 4 180> + + + + + + + + + + + + + + + + + + + + + + + + + +Vishay VO14642 photovoltaic relay + + +.Def:PhotovoltaicRelay_VOR14642 _net0 _net1 _net2 _net3 _net4 +Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="VO14642_sub_cir" +.Def:End + + + * Qucs 2.0.0 PhotovoltaicRelay_VOR14642.sch + +* Vishay VO14642 SSR SPICE MODEL +* +* LED ANODE +* | LED Cathode +* | | Pin 4 SSR contact +* | | | Pin 5 CT +* | | | | Pin 6 SSR contact +* | | | | | +.SUBCKT VO14642 A C S1 DC S2 +W1 DC S2 Vsensor SSR_switch +R2 DC C1 100Meg +W2 S1 DC Vsensor SSR_switch +F1 C C1 V1 1 +V1 A C 0 +Vsensor C1 DC 0 +.model SSR_Switch CSW(Ron=0.125 Roff=500Meg It=2mA Ih=0.5ms) +.ENDS + +.SUBCKT PhotovoltaicRelay_VOR14642 gnd _net0 _net1 _net2 _net3 _net4 +X1 _net0 _net1 _net2 _net3 _net4 VO14642 +.ENDS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <.PortSym -60 -40 1 0> + <.PortSym -60 20 2 0> + <.ID -30 -116 SUB> + <.PortSym 80 -60 3 180> + + + + + + + + + + + + + + + + + + + + <.PortSym 80 -10 4 180> + <.PortSym 80 40 5 180> + + + +