summaryrefslogtreecommitdiff
path: root/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS')
-rw-r--r--Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS-cache.lib152
-rw-r--r--Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.cir20
-rw-r--r--Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.cir.out29
-rw-r--r--Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.pro74
-rw-r--r--Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.proj1
-rw-r--r--Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.sch242
-rw-r--r--Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS_Previous_Values.xml1
-rw-r--r--Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/analysis1
8 files changed, 520 insertions, 0 deletions
diff --git a/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS-cache.lib b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS-cache.lib
new file mode 100644
index 00000000..b889798e
--- /dev/null
+++ b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS-cache.lib
@@ -0,0 +1,152 @@
+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
+#
+# DC
+#
+DEF DC v 0 40 Y Y 1 F N
+F0 "v" -200 100 60 H V C CNN
+F1 "DC" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+C 0 0 150 0 1 0 N
+X + 1 0 450 300 D 50 50 1 1 P
+X - 2 0 -450 300 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# GND
+#
+DEF GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# PWR_FLAG
+#
+DEF PWR_FLAG #FLG 0 0 N N 1 F P
+F0 "#FLG" 0 75 50 H I C CNN
+F1 "PWR_FLAG" 0 150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+X pwr 1 0 0 0 U 50 50 0 0 w
+P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N
+ENDDRAW
+ENDDEF
+#
+# R
+#
+DEF R R 0 0 N Y 1 F N
+F0 "R" 80 0 50 V V C CNN
+F1 "R" 0 0 50 V V C CNN
+F2 "" -70 0 50 V I C CNN
+F3 "" 0 0 50 H I C CNN
+$FPLIST
+ R_*
+ R_*
+$ENDFPLIST
+DRAW
+S -40 -100 40 100 0 1 10 N
+X ~ 1 0 150 50 D 50 50 1 1 P
+X ~ 2 0 -150 50 U 50 50 1 1 P
+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
+#
+# plot_i2
+#
+DEF plot_i2 U 0 40 Y Y 1 F N
+F0 "U" 0 400 60 H V C CNN
+F1 "plot_i2" 0 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 0 250 100 0 1 0 N
+X + 1 -300 250 200 R 50 50 1 1 I
+X - 2 300 250 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# plot_v1
+#
+DEF plot_v1 U 0 40 Y Y 1 F N
+F0 "U" 0 500 60 H V C CNN
+F1 "plot_v1" 200 350 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 0 500 100 0 1 0 N
+X ~ ~ 0 200 200 U 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# pulse
+#
+DEF pulse v 0 40 Y Y 1 F N
+F0 "v" -200 100 60 H V C CNN
+F1 "pulse" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+A -25 -450 501 928 871 0 1 0 N -50 50 0 50
+A 25 400 451 -931 -868 0 1 0 N 0 -50 50 -50
+A 75 600 551 -926 -873 0 1 0 N 50 50 100 50
+A 350 0 403 -1728 1728 0 1 0 N -50 -50 -50 50
+A 450 0 453 1736 -1736 0 1 0 N 0 50 0 -50
+A 600 0 552 -1748 1748 0 1 0 N 50 -50 50 50
+C 0 0 150 0 1 0 N
+X + 1 0 450 300 D 50 50 1 1 P
+X - 2 0 -450 300 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.cir b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.cir
new file mode 100644
index 00000000..0514f2e9
--- /dev/null
+++ b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.cir
@@ -0,0 +1,20 @@
+* /home/bhargav/eSim-Workspace/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: Tue Jul 2 13:12:53 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-_F1-Pad3_ in 1000
+F1 Net-_C1-Pad1_ out Net-_F1-Pad3_ GND 3
+v1 Net-_U1-Pad1_ GND pulse
+C1 Net-_C1-Pad1_ out 14n
+R2 GND Net-_R2-Pad2_ 100
+v2 Net-_C1-Pad1_ GND 10
+U2 in plot_v1
+U4 out plot_v1
+U1 Net-_U1-Pad1_ in plot_i2
+U3 out Net-_R2-Pad2_ plot_i2
+
+.end
diff --git a/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.cir.out b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.cir.out
new file mode 100644
index 00000000..d062433e
--- /dev/null
+++ b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.cir.out
@@ -0,0 +1,29 @@
+* /home/bhargav/esim-workspace/opto/opto.cir
+
+r1 net-_f1-pad3_ in 1000
+* f1
+v1 net-_u3-pad1_ gnd pulse(0 1 0 5n 5n 5m 10m)
+c1 net-_c1-pad1_ out 14n
+r2 gnd net-_r2-pad2_ 100
+v2 net-_c1-pad1_ gnd 10
+* u1 in plot_v1
+* u2 out plot_v1
+* u3 net-_u3-pad1_ in plot_i2
+* u4 out net-_r2-pad2_ plot_i2
+Vf1 net-_f1-pad3_ gnd 0
+f1 net-_c1-pad1_ out Vf1 3
+v_u3 net-_u3-pad1_ in 0
+v_u4 out net-_r2-pad2_ 0
+.tran 5e-03 100e-03 0e-03
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+plot v(in)
+plot v(out)
+plot i(v_u3)
+plot i(v_u4)
+.endc
+.end
diff --git a/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.pro b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.pro
new file mode 100644
index 00000000..1ee26da0
--- /dev/null
+++ b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.pro
@@ -0,0 +1,74 @@
+update=Tue Jul 2 13:06:43 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=../../Downloads/eSim-1.1.2/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_Subckt
+
diff --git a/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.proj b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.proj
new file mode 100644
index 00000000..f6c6a5ab
--- /dev/null
+++ b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.proj
@@ -0,0 +1 @@
+schematicFile OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.sch
diff --git a/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.sch b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.sch
new file mode 100644
index 00000000..1737481a
--- /dev/null
+++ b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS.sch
@@ -0,0 +1,242 @@
+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_CHARACTERISTICS-cache
+LIBS:opto-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 R R1
+U 1 1 5D1B0B3E
+P 5400 2750
+F 0 "R1" V 5480 2750 50 0000 C CNN
+F 1 "1000" V 5400 2750 50 0000 C CNN
+F 2 "" V 5330 2750 50 0001 C CNN
+F 3 "" H 5400 2750 50 0001 C CNN
+ 1 5400 2750
+ 0 1 1 0
+$EndComp
+$Comp
+L CCCS F1
+U 1 1 5D1B0B3F
+P 6250 2800
+F 0 "F1" H 6250 2950 50 0000 C CNN
+F 1 "3" H 6050 2750 50 0000 C CNN
+F 2 "" H 6250 2800 60 0000 C CNN
+F 3 "" H 6250 2800 60 0000 C CNN
+ 1 6250 2800
+ 0 1 1 0
+$EndComp
+$Comp
+L pulse v1
+U 1 1 5D1B0B40
+P 3450 3550
+F 0 "v1" H 3250 3650 60 0000 C CNN
+F 1 "pulse" H 3250 3500 60 0000 C CNN
+F 2 "R1" H 3150 3550 60 0000 C CNN
+F 3 "" H 3450 3550 60 0000 C CNN
+ 1 3450 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_C C1
+U 1 1 5D1B0B41
+P 6650 2700
+F 0 "C1" H 6675 2800 50 0000 L CNN
+F 1 "14n" H 6675 2600 50 0000 L CNN
+F 2 "" H 6688 2550 30 0000 C CNN
+F 3 "" H 6650 2700 60 0000 C CNN
+ 1 6650 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R2
+U 1 1 5D1B0B42
+P 6500 5050
+F 0 "R2" V 6580 5050 50 0000 C CNN
+F 1 "100" V 6500 5050 50 0000 C CNN
+F 2 "" V 6430 5050 50 0001 C CNN
+F 3 "" H 6500 5050 50 0001 C CNN
+ 1 6500 5050
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 4250 2750 5250 2750
+Wire Wire Line
+ 5550 2750 6050 2750
+Wire Wire Line
+ 6050 2850 6050 5650
+Wire Wire Line
+ 6650 3150 6650 2850
+Wire Wire Line
+ 6300 3150 6650 3150
+Wire Wire Line
+ 6300 3150 6300 3100
+Wire Wire Line
+ 6650 2550 6650 2400
+Wire Wire Line
+ 6300 2400 7200 2400
+Wire Wire Line
+ 6300 2400 6300 2500
+Wire Wire Line
+ 6500 3150 6500 3950
+Connection ~ 6500 3150
+$Comp
+L DC v2
+U 1 1 5D1B0B43
+P 7200 3100
+F 0 "v2" H 7000 3200 60 0000 C CNN
+F 1 "10" H 7000 3050 60 0000 C CNN
+F 2 "R1" H 6900 3100 60 0000 C CNN
+F 3 "" H 7200 3100 60 0000 C CNN
+ 1 7200 3100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7200 2400 7200 2650
+Connection ~ 6650 2400
+$Comp
+L plot_v1 U2
+U 1 1 5D1B0B44
+P 4950 2850
+F 0 "U2" H 4950 3350 60 0000 C CNN
+F 1 "plot_v1" H 5150 3200 60 0000 C CNN
+F 2 "" H 4950 2850 60 0000 C CNN
+F 3 "" H 4950 2850 60 0000 C CNN
+ 1 4950 2850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4950 2650 4950 2750
+Connection ~ 4950 2750
+$Comp
+L plot_v1 U4
+U 1 1 5D1B0B45
+P 6700 3750
+F 0 "U4" H 6700 4250 60 0000 C CNN
+F 1 "plot_v1" H 6900 4100 60 0000 C CNN
+F 2 "" H 6700 3750 60 0000 C CNN
+F 3 "" H 6700 3750 60 0000 C CNN
+ 1 6700 3750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6700 3550 6500 3550
+Connection ~ 6500 3550
+Text GLabel 4500 2750 1 60 Input ~ 0
+in
+Text GLabel 6500 3400 0 60 Input ~ 0
+out
+$Comp
+L GND #PWR01
+U 1 1 5D1B0B46
+P 5250 5800
+F 0 "#PWR01" H 5250 5550 50 0001 C CNN
+F 1 "GND" H 5250 5650 50 0000 C CNN
+F 2 "" H 5250 5800 50 0001 C CNN
+F 3 "" H 5250 5800 50 0001 C CNN
+ 1 5250 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PWR_FLAG #FLG02
+U 1 1 5D1B0B47
+P 5250 5500
+F 0 "#FLG02" H 5250 5575 50 0001 C CNN
+F 1 "PWR_FLAG" H 5250 5650 50 0000 C CNN
+F 2 "" H 5250 5500 50 0001 C CNN
+F 3 "" H 5250 5500 50 0001 C CNN
+ 1 5250 5500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5250 5500 5250 5800
+$Comp
+L plot_i2 U1
+U 1 1 5D1B0B48
+P 3950 3000
+F 0 "U1" H 3950 3400 60 0000 C CNN
+F 1 "plot_i2" H 3950 3100 60 0000 C CNN
+F 2 "" H 3950 3000 60 0000 C CNN
+F 3 "" H 3950 3000 60 0000 C CNN
+ 1 3950 3000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3450 3100 3450 2750
+Wire Wire Line
+ 3450 2750 3650 2750
+Wire Wire Line
+ 3450 4000 3450 5650
+$Comp
+L plot_i2 U3
+U 1 1 5D1B0B49
+P 6250 4250
+F 0 "U3" H 6250 4650 60 0000 C CNN
+F 1 "plot_i2" H 6250 4350 60 0000 C CNN
+F 2 "" H 6250 4250 60 0000 C CNN
+F 3 "" H 6250 4250 60 0000 C CNN
+ 1 6250 4250
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 6500 4900 6500 4550
+Wire Wire Line
+ 3450 5650 7200 5650
+Wire Wire Line
+ 7200 5650 7200 3550
+Wire Wire Line
+ 6500 5200 6500 5650
+Connection ~ 6500 5650
+Connection ~ 6050 5650
+Connection ~ 5250 5650
+$EndSCHEMATC
diff --git a/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS_Previous_Values.xml b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS_Previous_Values.xml
new file mode 100644
index 00000000..173acc34
--- /dev/null
+++ b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source><v1 name="Source type">pulse<field1 name="Initial Value">0</field1><field2 name="Pulse Value">1</field2><field3 name="Delay Time">0</field3><field4 name="Rise Time">5n</field4><field5 name="Fall Time">5n</field5><field5 name="Pulse width">5m</field5><field5 name="Period">10m</field5></v1><v2 name="Source type">10</v2><v_u1 name="Source type">0</v_u1><v_u3 name="Source type">0</v_u3><v_u4 name="Source type">0</v_u4></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">0</field1><field2 name="Step Time">5</field2><field3 name="Stop Time">100</field3><field4 name="Start Combo">ms</field4><field5 name="Step Combo">ms</field5><field6 name="Stop Combo">ms</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/analysis b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/analysis
new file mode 100644
index 00000000..ffc57a6b
--- /dev/null
+++ b/Examples/OPTO_ISOLATOR_SWITCH_CHARACTERISTICS/analysis
@@ -0,0 +1 @@
+.tran 5e-03 100e-03 0e-03 \ No newline at end of file