summaryrefslogtreecommitdiff
path: root/src/SubcircuitLibrary/opto_isolator_switch
diff options
context:
space:
mode:
authornilshah982019-07-02 16:42:20 +0530
committernilshah982019-07-02 16:46:12 +0530
commitb085a3df519debbc99acf4ded7e118a1690d6665 (patch)
tree0fc3e5389c2a77a97d1a065875fe87ddee2c23f4 /src/SubcircuitLibrary/opto_isolator_switch
parente7cd941bc4a48ff8684e4db6b9dff0efeb51fa6e (diff)
downloadeSim-b085a3df519debbc99acf4ded7e118a1690d6665.tar.gz
eSim-b085a3df519debbc99acf4ded7e118a1690d6665.tar.bz2
eSim-b085a3df519debbc99acf4ded7e118a1690d6665.zip
Subcircuit added by ECE fellows 2019
Diffstat (limited to 'src/SubcircuitLibrary/opto_isolator_switch')
-rw-r--r--src/SubcircuitLibrary/opto_isolator_switch/analysis1
-rw-r--r--src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch-cache.lib99
-rw-r--r--src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.cir15
-rw-r--r--src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.cir.out18
-rw-r--r--src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.pro83
-rw-r--r--src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.sch178
-rw-r--r--src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.sub12
-rw-r--r--src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch_Previous_Values.xml1
-rw-r--r--src/SubcircuitLibrary/opto_isolator_switch/plot_data_i.txt0
-rw-r--r--src/SubcircuitLibrary/opto_isolator_switch/plot_data_v.txt0
10 files changed, 407 insertions, 0 deletions
diff --git a/src/SubcircuitLibrary/opto_isolator_switch/analysis b/src/SubcircuitLibrary/opto_isolator_switch/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/src/SubcircuitLibrary/opto_isolator_switch/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch-cache.lib b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch-cache.lib
new file mode 100644
index 00000000..88d58478
--- /dev/null
+++ b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch-cache.lib
@@ -0,0 +1,99 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# CCCS
+#
+DEF CCCS F 0 40 Y Y 1 F N
+F0 "F" 0 150 50 H V C CNN
+F1 "CCCS" -200 -50 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+S -100 100 100 -100 0 1 0 N
+X + 1 -300 50 200 R 35 35 1 1 P
+X - 2 300 50 200 L 35 35 1 1 P
+X +c 3 -50 -200 100 U 35 35 1 1 P
+X -c 4 50 -200 100 U 35 35 1 1 P
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_C
+#
+DEF eSim_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.cir b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.cir
new file mode 100644
index 00000000..5fc9dd50
--- /dev/null
+++ b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.cir
@@ -0,0 +1,15 @@
+* /home/bhargav/Downloads/eSim-1.1.2/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: Thu Jun 20 15:52:58 2019
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+R1 Net-_R1-Pad1_ Net-_F1-Pad3_ 1000
+F1 Net-_C1-Pad1_ Net-_C1-Pad2_ Net-_F1-Pad3_ Net-_F1-Pad4_ 3
+R2 Net-_C1-Pad2_ Net-_F1-Pad4_ 1000
+U1 Net-_R1-Pad1_ Net-_F1-Pad4_ Net-_C1-Pad1_ Net-_C1-Pad2_ PORT
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 14n
+
+.end
diff --git a/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.cir.out b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.cir.out
new file mode 100644
index 00000000..afeeaa02
--- /dev/null
+++ b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.cir.out
@@ -0,0 +1,18 @@
+* /home/bhargav/downloads/esim-1.1.2/src/subcircuitlibrary/opto_isolator_switch/opto_isolator_switch.cir
+
+r1 net-_r1-pad1_ net-_f1-pad3_ 1000
+* f1
+r2 net-_c1-pad2_ net-_f1-pad4_ 1000
+* u1 net-_r1-pad1_ net-_f1-pad4_ net-_c1-pad1_ net-_c1-pad2_ port
+c1 net-_c1-pad1_ net-_c1-pad2_ 14n
+Vf1 net-_f1-pad3_ net-_f1-pad4_ 0
+f1 net-_c1-pad1_ net-_c1-pad2_ Vf1 3
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.pro b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.pro
new file mode 100644
index 00000000..47ae9917
--- /dev/null
+++ b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.pro
@@ -0,0 +1,83 @@
+update=Thu Jun 20 15:32:48 2019
+version=1
+last_client=eeschema
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=../../../kicadSchematicLibrary
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=device
+LibName23=transistors
+LibName24=conn
+LibName25=linear
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_User
+LibName38=eSim_Plot
+LibName39=eSim_PSpice
+LibName40=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Analog
+LibName41=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Devices
+LibName42=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Digital
+LibName43=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Hybrid
+LibName44=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Miscellaneous
+LibName45=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Plot
+LibName46=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Power
+LibName47=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Sources
+LibName48=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Subckt
+LibName49=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_User
+
diff --git a/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.sch b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.sch
new file mode 100644
index 00000000..3f1c7298
--- /dev/null
+++ b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.sch
@@ -0,0 +1,178 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:device
+LIBS:transistors
+LIBS:conn
+LIBS:linear
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_User
+LIBS:eSim_Plot
+LIBS:eSim_PSpice
+LIBS:opto_isolator_switch-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_R R1
+U 1 1 5D0B5974
+P 4350 3450
+F 0 "R1" H 4400 3580 50 0000 C CNN
+F 1 "1000" H 4400 3500 50 0000 C CNN
+F 2 "" H 4400 3430 30 0000 C CNN
+F 3 "" V 4400 3500 30 0000 C CNN
+ 1 4350 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L CCCS F1
+U 1 1 5D0B59A2
+P 5200 3450
+F 0 "F1" H 5200 3600 50 0000 C CNN
+F 1 "3" H 5000 3400 50 0000 C CNN
+F 2 "" H 5200 3450 60 0000 C CNN
+F 3 "" H 5200 3450 60 0000 C CNN
+ 1 5200 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R2
+U 1 1 5D0B59D5
+P 5200 4050
+F 0 "R2" H 5250 4180 50 0000 C CNN
+F 1 "1000" H 5250 4100 50 0000 C CNN
+F 2 "" H 5250 4030 30 0000 C CNN
+F 3 "" V 5250 4100 30 0000 C CNN
+ 1 5200 4050
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4550 3400 5000 3400
+Wire Wire Line
+ 5000 3500 4750 3500
+Wire Wire Line
+ 4750 3500 4750 3700
+Wire Wire Line
+ 5250 3950 5250 3750
+Wire Wire Line
+ 5250 3150 5250 3000
+Wire Wire Line
+ 5250 3000 5650 3000
+Wire Wire Line
+ 5650 3000 5650 3350
+Wire Wire Line
+ 5650 3350 5700 3350
+Wire Wire Line
+ 5250 4250 5250 4350
+Wire Wire Line
+ 4250 3400 4000 3400
+$Comp
+L PORT U1
+U 1 1 5D0B5AC7
+P 3750 3400
+F 0 "U1" H 3800 3500 30 0000 C CNN
+F 1 "PORT" H 3750 3400 30 0000 C CNN
+F 2 "" H 3750 3400 60 0000 C CNN
+F 3 "" H 3750 3400 60 0000 C CNN
+ 1 3750 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 5D0B5B16
+P 4750 3950
+F 0 "U1" H 4800 4050 30 0000 C CNN
+F 1 "PORT" H 4750 3950 30 0000 C CNN
+F 2 "" H 4750 3950 60 0000 C CNN
+F 3 "" H 4750 3950 60 0000 C CNN
+ 2 4750 3950
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 5D0B5B84
+P 6050 3800
+F 0 "U1" H 6100 3900 30 0000 C CNN
+F 1 "PORT" H 6050 3800 30 0000 C CNN
+F 2 "" H 6050 3800 60 0000 C CNN
+F 3 "" H 6050 3800 60 0000 C CNN
+ 4 6050 3800
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 5D0B5BF0
+P 5950 3350
+F 0 "U1" H 6000 3450 30 0000 C CNN
+F 1 "PORT" H 5950 3350 30 0000 C CNN
+F 2 "" H 5950 3350 60 0000 C CNN
+F 3 "" H 5950 3350 60 0000 C CNN
+ 3 5950 3350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_C C1
+U 1 1 5D0B5EB6
+P 5500 3350
+F 0 "C1" H 5525 3450 50 0000 L CNN
+F 1 "14n" H 5525 3250 50 0000 L CNN
+F 2 "" H 5538 3200 30 0000 C CNN
+F 3 "" H 5500 3350 60 0000 C CNN
+ 1 5500 3350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5500 3200 5500 3000
+Connection ~ 5500 3000
+Wire Wire Line
+ 5500 3500 5500 3800
+Wire Wire Line
+ 5250 3800 5800 3800
+Connection ~ 5250 3800
+Connection ~ 5500 3800
+Wire Wire Line
+ 5250 4350 4900 4350
+Wire Wire Line
+ 4900 4350 4900 3500
+Connection ~ 4900 3500
+$EndSCHEMATC
diff --git a/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.sub b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.sub
new file mode 100644
index 00000000..4f386a6f
--- /dev/null
+++ b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch.sub
@@ -0,0 +1,12 @@
+* Subcircuit opto_isolator_switch
+.subckt opto_isolator_switch net-_r1-pad1_ net-_f1-pad4_ net-_c1-pad1_ net-_c1-pad2_
+* /home/bhargav/downloads/esim-1.1.2/src/subcircuitlibrary/opto_isolator_switch/opto_isolator_switch.cir
+r1 net-_r1-pad1_ net-_f1-pad3_ 1000
+* f1
+r2 net-_c1-pad2_ net-_f1-pad4_ 1000
+c1 net-_c1-pad1_ net-_c1-pad2_ 14n
+Vf1 net-_f1-pad3_ net-_f1-pad4_ 0
+f1 net-_c1-pad1_ net-_c1-pad2_ Vf1 3
+* Control Statements
+
+.ends opto_isolator_switch \ No newline at end of file
diff --git a/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch_Previous_Values.xml b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch_Previous_Values.xml
new file mode 100644
index 00000000..2c2d65c1
--- /dev/null
+++ b/src/SubcircuitLibrary/opto_isolator_switch/opto_isolator_switch_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel /><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/src/SubcircuitLibrary/opto_isolator_switch/plot_data_i.txt b/src/SubcircuitLibrary/opto_isolator_switch/plot_data_i.txt
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/SubcircuitLibrary/opto_isolator_switch/plot_data_i.txt
diff --git a/src/SubcircuitLibrary/opto_isolator_switch/plot_data_v.txt b/src/SubcircuitLibrary/opto_isolator_switch/plot_data_v.txt
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/SubcircuitLibrary/opto_isolator_switch/plot_data_v.txt