diff options
Diffstat (limited to 'Examples/Diode_characteristics')
12 files changed, 813 insertions, 0 deletions
diff --git a/Examples/Diode_characteristics/D.lib b/Examples/Diode_characteristics/D.lib new file mode 100755 index 00000000..8a7fb4da --- /dev/null +++ b/Examples/Diode_characteristics/D.lib @@ -0,0 +1,2 @@ +.model 1n4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04) + diff --git a/Examples/Diode_characteristics/Diode_characteristics-cache.lib b/Examples/Diode_characteristics/Diode_characteristics-cache.lib new file mode 100644 index 00000000..4b9d5479 --- /dev/null +++ b/Examples/Diode_characteristics/Diode_characteristics-cache.lib @@ -0,0 +1,88 @@ +EESchema-LIBRARY Version 2.3 +#encoding utf-8 +# +# D +# +DEF D D 0 40 N N 1 F N +F0 "D" 0 100 50 H V C CNN +F1 "D" 0 -100 50 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +$FPLIST + Diode_* + D-Pak_TO252AA + *SingleDiode + *_Diode_* + *SingleDiode* +$ENDFPLIST +DRAW +P 2 0 1 6 50 50 50 -50 N +P 3 0 1 0 -50 50 50 0 -50 -50 F +X A 1 -150 0 100 R 40 40 1 1 P +X K 2 150 0 100 L 40 40 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 V C CNN +F3 "" 0 0 50 H V 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 +# +# R +# +DEF R R 0 0 N Y 1 F N +F0 "R" 50 130 50 H V C CNN +F1 "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 +# +# 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 +# +#End Library diff --git a/Examples/Diode_characteristics/Diode_characteristics.bak b/Examples/Diode_characteristics/Diode_characteristics.bak new file mode 100644 index 00000000..96591d7f --- /dev/null +++ b/Examples/Diode_characteristics/Diode_characteristics.bak @@ -0,0 +1,142 @@ +EESchema Schematic File Version 2 +LIBS:eSim_Analog +LIBS:eSim_Devices +LIBS:eSim_Digital +LIBS:eSim_Hybrid +LIBS:eSim_Miscellaneous +LIBS:eSim_Sources +LIBS:eSim_Subckt +LIBS:eSim_User +LIBS:power +LIBS:device +LIBS:transistors +LIBS:conn +LIBS:linear +LIBS:regul +LIBS:74xx +LIBS:cmos4000 +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:valves +LIBS:Diode_characteristics-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 DC v1 +U 1 1 562485DC +P 4350 3150 +F 0 "v1" H 4150 3250 60 0000 C CNN +F 1 "DC" H 4150 3100 60 0000 C CNN +F 2 "R1" H 4050 3150 60 0000 C CNN +F 3 "" H 4350 3150 60 0000 C CNN + 1 4350 3150 + 1 0 0 -1 +$EndComp +$Comp +L D D1 +U 1 1 5624867D +P 5150 2500 +F 0 "D1" H 5150 2600 50 0000 C CNN +F 1 "D" H 5150 2400 50 0000 C CNN +F 2 "" H 5150 2500 60 0000 C CNN +F 3 "" H 5150 2500 60 0000 C CNN + 1 5150 2500 + 1 0 0 -1 +$EndComp +$Comp +L R R1 +U 1 1 562486CA +P 6900 2950 +F 0 "R1" H 6950 3080 50 0000 C CNN +F 1 "1k" H 6950 3000 50 0000 C CNN +F 2 "" H 6950 2930 30 0000 C CNN +F 3 "" V 6950 3000 30 0000 C CNN + 1 6900 2950 + 0 1 1 0 +$EndComp +$Comp +L GND #PWR01 +U 1 1 562486FF +P 5300 3700 +F 0 "#PWR01" H 5300 3450 50 0001 C CNN +F 1 "GND" H 5300 3550 50 0000 C CNN +F 2 "" H 5300 3700 60 0000 C CNN +F 3 "" H 5300 3700 60 0000 C CNN + 1 5300 3700 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4350 2700 4350 2500 +Wire Wire Line + 4350 2500 5000 2500 +Wire Wire Line + 5300 2500 5950 2500 +Wire Wire Line + 4350 3600 4350 3650 +Wire Wire Line + 4350 3650 6950 3650 +Wire Wire Line + 5300 3700 5300 3650 +Connection ~ 5300 3650 +Text GLabel 5850 2400 2 60 Input ~ 0 +out +Text GLabel 4400 2350 0 60 Input ~ 0 +in +Wire Wire Line + 4400 2350 4550 2350 +Wire Wire Line + 4550 2350 4550 2500 +Connection ~ 4550 2500 +Wire Wire Line + 5850 2400 5700 2400 +Wire Wire Line + 5700 2400 5700 2500 +Connection ~ 5700 2500 +$Comp +L DC v_id1 +U 1 1 562489ED +P 6400 2500 +F 0 "v_id1" H 6200 2600 60 0000 C CNN +F 1 "0" H 6200 2450 60 0000 C CNN +F 2 "R1" H 6100 2500 60 0000 C CNN +F 3 "" H 6400 2500 60 0000 C CNN + 1 6400 2500 + 0 -1 1 0 +$EndComp +Wire Wire Line + 6850 2500 6950 2500 +Wire Wire Line + 6950 2500 6950 2850 +Wire Wire Line + 6950 3650 6950 3150 +$EndSCHEMATC diff --git a/Examples/Diode_characteristics/Diode_characteristics.cir b/Examples/Diode_characteristics/Diode_characteristics.cir new file mode 100644 index 00000000..671db6a3 --- /dev/null +++ b/Examples/Diode_characteristics/Diode_characteristics.cir @@ -0,0 +1,14 @@ +* /home/fossee/eSim-Workspace/Diode_characteristics/Diode_characteristics.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: Tue Feb 23 16:11:16 2016 + +* 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: / +v1 in GND DC +D1 in out D +R1 Net-_R1-Pad1_ GND 1k +U1 out Net-_R1-Pad1_ plot_i2 + +.end diff --git a/Examples/Diode_characteristics/Diode_characteristics.cir.out b/Examples/Diode_characteristics/Diode_characteristics.cir.out new file mode 100644 index 00000000..a8f2141d --- /dev/null +++ b/Examples/Diode_characteristics/Diode_characteristics.cir.out @@ -0,0 +1,20 @@ +* /home/fossee/esim-workspace/diode_characteristics/diode_characteristics.cir + +.include D.lib +v1 in gnd dc 1 +d1 in out 1N4148 +r1 net-_r1-pad1_ gnd 1k +* u1 out net-_r1-pad1_ plot_i2 +v_u1 out net-_r1-pad1_ 0 +* Schematic Name: zener, NgSpice Name: zener +.model u1 zener(n_forward=1.0 v_breakdown=5.6 i_sat=1.0e-12 limit_switch=FALSE i_breakdown=2.0e-2 ) +.dc v1 0e-00 1e-00 0.01e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +plot i(v_u1) +.endc +.end diff --git a/Examples/Diode_characteristics/Diode_characteristics.pro b/Examples/Diode_characteristics/Diode_characteristics.pro new file mode 100644 index 00000000..b8a19718 --- /dev/null +++ b/Examples/Diode_characteristics/Diode_characteristics.pro @@ -0,0 +1,72 @@ +update=Tue Feb 23 16:10:44 2016 +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= +[eeschema/libraries] +LibName1=eSim_Analog +LibName2=eSim_Devices +LibName3=eSim_Digital +LibName4=eSim_Hybrid +LibName5=eSim_Miscellaneous +LibName6=eSim_Plot +LibName7=eSim_Power +LibName8=eSim_Sources +LibName9=eSim_Subckt +LibName10=eSim_User +LibName11=power +LibName12=device +LibName13=transistors +LibName14=conn +LibName15=linear +LibName16=regul +LibName17=74xx +LibName18=cmos4000 +LibName19=adc-dac +LibName20=memory +LibName21=xilinx +LibName22=microcontrollers +LibName23=dsp +LibName24=microchip +LibName25=analog_switches +LibName26=motorola +LibName27=texas +LibName28=intel +LibName29=audio +LibName30=interface +LibName31=digital-audio +LibName32=philips +LibName33=display +LibName34=cypress +LibName35=siliconi +LibName36=opto +LibName37=atmel +LibName38=contrib +LibName39=valves diff --git a/Examples/Diode_characteristics/Diode_characteristics.proj b/Examples/Diode_characteristics/Diode_characteristics.proj new file mode 100644 index 00000000..cd2a9fda --- /dev/null +++ b/Examples/Diode_characteristics/Diode_characteristics.proj @@ -0,0 +1 @@ +schematicFile Diode_characteristics.sch diff --git a/Examples/Diode_characteristics/Diode_characteristics.sch b/Examples/Diode_characteristics/Diode_characteristics.sch new file mode 100644 index 00000000..0d2d3a76 --- /dev/null +++ b/Examples/Diode_characteristics/Diode_characteristics.sch @@ -0,0 +1,144 @@ +EESchema Schematic File Version 2 +LIBS:eSim_Analog +LIBS:eSim_Devices +LIBS:eSim_Digital +LIBS:eSim_Hybrid +LIBS:eSim_Miscellaneous +LIBS:eSim_Plot +LIBS:eSim_Power +LIBS:eSim_Sources +LIBS:eSim_Subckt +LIBS:eSim_User +LIBS:power +LIBS:device +LIBS:transistors +LIBS:conn +LIBS:linear +LIBS:regul +LIBS:74xx +LIBS:cmos4000 +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:valves +LIBS:Diode_characteristics-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 DC v1 +U 1 1 562485DC +P 4350 3150 +F 0 "v1" H 4150 3250 60 0000 C CNN +F 1 "DC" H 4150 3100 60 0000 C CNN +F 2 "R1" H 4050 3150 60 0000 C CNN +F 3 "" H 4350 3150 60 0000 C CNN + 1 4350 3150 + 1 0 0 -1 +$EndComp +$Comp +L D D1 +U 1 1 5624867D +P 5150 2500 +F 0 "D1" H 5150 2600 50 0000 C CNN +F 1 "D" H 5150 2400 50 0000 C CNN +F 2 "" H 5150 2500 60 0000 C CNN +F 3 "" H 5150 2500 60 0000 C CNN + 1 5150 2500 + 1 0 0 -1 +$EndComp +$Comp +L R R1 +U 1 1 562486CA +P 6900 2950 +F 0 "R1" H 6950 3080 50 0000 C CNN +F 1 "1k" H 6950 3000 50 0000 C CNN +F 2 "" H 6950 2930 30 0000 C CNN +F 3 "" V 6950 3000 30 0000 C CNN + 1 6900 2950 + 0 1 1 0 +$EndComp +$Comp +L GND #PWR01 +U 1 1 562486FF +P 5300 3700 +F 0 "#PWR01" H 5300 3450 50 0001 C CNN +F 1 "GND" H 5300 3550 50 0000 C CNN +F 2 "" H 5300 3700 60 0000 C CNN +F 3 "" H 5300 3700 60 0000 C CNN + 1 5300 3700 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4350 2700 4350 2500 +Wire Wire Line + 4350 2500 5000 2500 +Wire Wire Line + 5300 2500 6250 2500 +Wire Wire Line + 4350 3600 4350 3650 +Wire Wire Line + 4350 3650 6950 3650 +Wire Wire Line + 5300 3700 5300 3650 +Connection ~ 5300 3650 +Text GLabel 5850 2400 2 60 Input ~ 0 +out +Text GLabel 4400 2350 0 60 Input ~ 0 +in +Wire Wire Line + 4400 2350 4550 2350 +Wire Wire Line + 4550 2350 4550 2500 +Connection ~ 4550 2500 +Wire Wire Line + 5850 2400 5700 2400 +Wire Wire Line + 5700 2400 5700 2500 +Connection ~ 5700 2500 +Wire Wire Line + 6850 2500 6950 2500 +Wire Wire Line + 6950 2500 6950 2850 +Wire Wire Line + 6950 3650 6950 3150 +$Comp +L plot_i2 U1 +U 1 1 56CC373C +P 6550 2750 +F 0 "U1" H 6550 3150 60 0000 C CNN +F 1 "plot_i2" H 6550 2850 60 0000 C CNN +F 2 "" H 6550 2750 60 0000 C CNN +F 3 "" H 6550 2750 60 0000 C CNN + 1 6550 2750 + 1 0 0 -1 +$EndComp +$EndSCHEMATC diff --git a/Examples/Diode_characteristics/Diode_characteristics_Previous_Values.xml b/Examples/Diode_characteristics/Diode_characteristics_Previous_Values.xml new file mode 100644 index 00000000..351aa18f --- /dev/null +++ b/Examples/Diode_characteristics/Diode_characteristics_Previous_Values.xml @@ -0,0 +1 @@ +<KicadtoNgspice><source><v1 name="Source type">dc<field1 name="Value">1</field1></v1><v_iout1 name="Source type">0</v_iout1><v_id1 name="Source type">0</v_id1><v_u1 name="Source type">0</v_u1></source><model /><devicemodel><d1><field>/home/fossee/eSim_Master/eSim/src/deviceModelLibrary/Diode/D.lib</field></d1></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">v1</field1><field2 name="Start">0</field2><field3 name="Increment">0.01</field3><field4 name="Stop">1</field4><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">1</field2><field3 name="Stop Time">10</field3><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/Examples/Diode_characteristics/analysis b/Examples/Diode_characteristics/analysis new file mode 100644 index 00000000..b97018f7 --- /dev/null +++ b/Examples/Diode_characteristics/analysis @@ -0,0 +1 @@ +.dc v1 0e-00 1e-00 0.01e-00
\ No newline at end of file diff --git a/Examples/Diode_characteristics/plot_data_i.txt b/Examples/Diode_characteristics/plot_data_i.txt new file mode 100644 index 00000000..091a2ae0 --- /dev/null +++ b/Examples/Diode_characteristics/plot_data_i.txt @@ -0,0 +1,109 @@ + * /home/fossee/esim-workspace/diode_characteristics/diode_characteristics.cir + DC transfer characteristic Thu Mar 3 20:54:14 2016 +-------------------------------------------------------------------------------- +Index v-sweep v1#branch v_u1#branch +-------------------------------------------------------------------------------- +0 0.000000e+00 1.414363e-25 -1.41436e-25 +1 1.000000e-02 -6.46040e-10 6.460401e-10 +2 2.000000e-02 -1.45934e-09 1.459341e-09 +3 3.000000e-02 -2.48320e-09 2.483200e-09 +4 4.000000e-02 -3.77211e-09 3.772114e-09 +5 5.000000e-02 -5.39468e-09 5.394680e-09 +6 6.000000e-02 -7.43723e-09 7.437231e-09 +7 7.000000e-02 -1.00084e-08 1.000842e-08 +8 8.000000e-02 -1.32450e-08 1.324499e-08 +9 9.000000e-02 -1.73190e-08 1.731896e-08 +10 1.000000e-01 -2.24468e-08 2.244680e-08 +11 1.100000e-01 -2.89008e-08 2.890076e-08 +12 1.200000e-01 -3.70232e-08 3.702324e-08 +13 1.300000e-01 -4.72447e-08 4.724470e-08 +14 1.400000e-01 -6.01061e-08 6.010615e-08 +15 1.500000e-01 -7.62872e-08 7.628723e-08 +16 1.600000e-01 -9.66413e-08 9.664125e-08 +17 1.700000e-01 -1.22239e-07 1.222388e-07 +18 1.800000e-01 -1.54422e-07 1.544221e-07 +19 1.900000e-01 -1.94871e-07 1.948715e-07 +20 2.000000e-01 -2.45688e-07 2.456885e-07 +21 2.100000e-01 -3.09496e-07 3.094962e-07 +22 2.200000e-01 -3.89562e-07 3.895620e-07 +23 2.300000e-01 -4.89944e-07 4.899444e-07 +24 2.400000e-01 -6.15668e-07 6.156678e-07 +25 2.500000e-01 -7.72926e-07 7.729256e-07 +26 2.600000e-01 -9.69313e-07 9.693126e-07 +27 2.700000e-01 -1.21408e-06 1.214081e-06 +28 2.800000e-01 -1.51841e-06 1.518410e-06 +29 2.900000e-01 -1.89567e-06 1.895675e-06 +30 3.000000e-01 -2.36168e-06 2.361683e-06 +31 3.100000e-01 -2.93484e-06 2.934837e-06 +32 3.200000e-01 -3.63618e-06 3.636178e-06 +33 3.300000e-01 -4.48925e-06 4.489248e-06 +34 3.400000e-01 -5.51970e-06 5.519699e-06 +35 3.500000e-01 -6.75463e-06 6.754635e-06 +36 3.600000e-01 -8.22165e-06 8.221647e-06 +37 3.700000e-01 -9.94761e-06 9.947614e-06 +38 3.800000e-01 -1.19574e-05 1.195735e-05 +39 3.900000e-01 -1.42723e-05 1.427230e-05 +40 4.000000e-01 -1.69094e-05 1.690937e-05 +41 4.100000e-01 -1.98802e-05 1.988015e-05 +42 4.200000e-01 -2.31906e-05 2.319060e-05 +43 4.300000e-01 -2.68411e-05 2.684113e-05 +44 4.400000e-01 -3.08271e-05 3.082710e-05 +45 4.500000e-01 -3.51396e-05 3.513959e-05 +46 4.600000e-01 -3.97664e-05 3.976636e-05 +47 4.700000e-01 -4.46927e-05 4.469273e-05 +48 4.800000e-01 -4.99025e-05 4.990247e-05 +49 4.900000e-01 -5.53786e-05 5.537858e-05 +50 5.000000e-01 -6.11038e-05 6.110383e-05 +51 5.100000e-01 -6.70612e-05 6.706125e-05 +52 5.200000e-01 -7.32345e-05 7.323446e-05 +53 5.300000e-01 -7.96079e-05 7.960786e-05 +54 5.400000e-01 -8.61668e-05 8.616679e-05 + +Index v-sweep v1#branch v_u1#branch +-------------------------------------------------------------------------------- +55 5.500000e-01 -9.28976e-05 9.289756e-05 +56 5.600000e-01 -9.97875e-05 9.978749e-05 +57 5.700000e-01 -1.06825e-04 1.068249e-04 +58 5.800000e-01 -1.13999e-04 1.139989e-04 +59 5.900000e-01 -1.21300e-04 1.212998e-04 +60 6.000000e-01 -1.28719e-04 1.287185e-04 +61 6.100000e-01 -1.36247e-04 1.362467e-04 +62 6.200000e-01 -1.43877e-04 1.438768e-04 +63 6.300000e-01 -1.51602e-04 1.516020e-04 +64 6.400000e-01 -1.59416e-04 1.594158e-04 +65 6.500000e-01 -1.67313e-04 1.673126e-04 +66 6.600000e-01 -1.75287e-04 1.752869e-04 +67 6.700000e-01 -1.83334e-04 1.833339e-04 +68 6.800000e-01 -1.91449e-04 1.914492e-04 +69 6.900000e-01 -1.99629e-04 1.996286e-04 +70 7.000000e-01 -2.07868e-04 2.078683e-04 +71 7.100000e-01 -2.16165e-04 2.161648e-04 +72 7.200000e-01 -2.24515e-04 2.245149e-04 +73 7.300000e-01 -2.32916e-04 2.329157e-04 +74 7.400000e-01 -2.41364e-04 2.413644e-04 +75 7.500000e-01 -2.49858e-04 2.498584e-04 +76 7.600000e-01 -2.58395e-04 2.583954e-04 +77 7.700000e-01 -2.66973e-04 2.669732e-04 +78 7.800000e-01 -2.75590e-04 2.755897e-04 +79 7.900000e-01 -2.84243e-04 2.842430e-04 +80 8.000000e-01 -2.92931e-04 2.929314e-04 +81 8.100000e-01 -3.01653e-04 3.016532e-04 +82 8.200000e-01 -3.10407e-04 3.104068e-04 +83 8.300000e-01 -3.19191e-04 3.191908e-04 +84 8.400000e-01 -3.28004e-04 3.280039e-04 +85 8.500000e-01 -3.36845e-04 3.368447e-04 +86 8.600000e-01 -3.45712e-04 3.457121e-04 +87 8.700000e-01 -3.54605e-04 3.546049e-04 +88 8.800000e-01 -3.63522e-04 3.635222e-04 +89 8.900000e-01 -3.72463e-04 3.724628e-04 +90 9.000000e-01 -3.81426e-04 3.814259e-04 +91 9.100000e-01 -3.90411e-04 3.904106e-04 +92 9.200000e-01 -3.99416e-04 3.994160e-04 +93 9.300000e-01 -4.08441e-04 4.084414e-04 +94 9.400000e-01 -4.17486e-04 4.174859e-04 +95 9.500000e-01 -4.26549e-04 4.265490e-04 +96 9.600000e-01 -4.35630e-04 4.356299e-04 +97 9.700000e-01 -4.44728e-04 4.447280e-04 +98 9.800000e-01 -4.53843e-04 4.538426e-04 +99 9.900000e-01 -4.62973e-04 4.629733e-04 +100 1.000000e+00 -4.72119e-04 4.721194e-04 diff --git a/Examples/Diode_characteristics/plot_data_v.txt b/Examples/Diode_characteristics/plot_data_v.txt new file mode 100644 index 00000000..4d6bbbcf --- /dev/null +++ b/Examples/Diode_characteristics/plot_data_v.txt @@ -0,0 +1,219 @@ + * /home/fossee/esim-workspace/diode_characteristics/diode_characteristics.cir + DC transfer characteristic Thu Mar 3 20:54:14 2016 +-------------------------------------------------------------------------------- +Index v-sweep in net-_r1-pad1_ out +-------------------------------------------------------------------------------- +0 0.000000e+00 0.000000e+00 -1.41436e-22 -1.41436e-22 +1 1.000000e-02 1.000000e-02 6.460401e-07 6.460401e-07 +2 2.000000e-02 2.000000e-02 1.459341e-06 1.459341e-06 +3 3.000000e-02 3.000000e-02 2.483200e-06 2.483200e-06 +4 4.000000e-02 4.000000e-02 3.772114e-06 3.772114e-06 +5 5.000000e-02 5.000000e-02 5.394680e-06 5.394680e-06 +6 6.000000e-02 6.000000e-02 7.437231e-06 7.437231e-06 +7 7.000000e-02 7.000000e-02 1.000842e-05 1.000842e-05 +8 8.000000e-02 8.000000e-02 1.324499e-05 1.324499e-05 +9 9.000000e-02 9.000000e-02 1.731896e-05 1.731896e-05 +10 1.000000e-01 1.000000e-01 2.244680e-05 2.244680e-05 +11 1.100000e-01 1.100000e-01 2.890076e-05 2.890076e-05 +12 1.200000e-01 1.200000e-01 3.702324e-05 3.702324e-05 +13 1.300000e-01 1.300000e-01 4.724470e-05 4.724470e-05 +14 1.400000e-01 1.400000e-01 6.010615e-05 6.010615e-05 +15 1.500000e-01 1.500000e-01 7.628723e-05 7.628723e-05 +16 1.600000e-01 1.600000e-01 9.664125e-05 9.664125e-05 +17 1.700000e-01 1.700000e-01 1.222388e-04 1.222388e-04 +18 1.800000e-01 1.800000e-01 1.544221e-04 1.544221e-04 +19 1.900000e-01 1.900000e-01 1.948715e-04 1.948715e-04 +20 2.000000e-01 2.000000e-01 2.456885e-04 2.456885e-04 +21 2.100000e-01 2.100000e-01 3.094962e-04 3.094962e-04 +22 2.200000e-01 2.200000e-01 3.895620e-04 3.895620e-04 +23 2.300000e-01 2.300000e-01 4.899444e-04 4.899444e-04 +24 2.400000e-01 2.400000e-01 6.156678e-04 6.156678e-04 +25 2.500000e-01 2.500000e-01 7.729256e-04 7.729256e-04 +26 2.600000e-01 2.600000e-01 9.693126e-04 9.693126e-04 +27 2.700000e-01 2.700000e-01 1.214081e-03 1.214081e-03 +28 2.800000e-01 2.800000e-01 1.518410e-03 1.518410e-03 +29 2.900000e-01 2.900000e-01 1.895675e-03 1.895675e-03 +30 3.000000e-01 3.000000e-01 2.361683e-03 2.361683e-03 +31 3.100000e-01 3.100000e-01 2.934837e-03 2.934837e-03 +32 3.200000e-01 3.200000e-01 3.636178e-03 3.636178e-03 +33 3.300000e-01 3.300000e-01 4.489248e-03 4.489248e-03 +34 3.400000e-01 3.400000e-01 5.519699e-03 5.519699e-03 +35 3.500000e-01 3.500000e-01 6.754635e-03 6.754635e-03 +36 3.600000e-01 3.600000e-01 8.221647e-03 8.221647e-03 +37 3.700000e-01 3.700000e-01 9.947614e-03 9.947614e-03 +38 3.800000e-01 3.800000e-01 1.195735e-02 1.195735e-02 +39 3.900000e-01 3.900000e-01 1.427230e-02 1.427230e-02 +40 4.000000e-01 4.000000e-01 1.690937e-02 1.690937e-02 +41 4.100000e-01 4.100000e-01 1.988015e-02 1.988015e-02 +42 4.200000e-01 4.200000e-01 2.319060e-02 2.319060e-02 +43 4.300000e-01 4.300000e-01 2.684113e-02 2.684113e-02 +44 4.400000e-01 4.400000e-01 3.082710e-02 3.082710e-02 +45 4.500000e-01 4.500000e-01 3.513959e-02 3.513959e-02 +46 4.600000e-01 4.600000e-01 3.976636e-02 3.976636e-02 +47 4.700000e-01 4.700000e-01 4.469273e-02 4.469273e-02 +48 4.800000e-01 4.800000e-01 4.990247e-02 4.990247e-02 +49 4.900000e-01 4.900000e-01 5.537858e-02 5.537858e-02 +50 5.000000e-01 5.000000e-01 6.110383e-02 6.110383e-02 +51 5.100000e-01 5.100000e-01 6.706125e-02 6.706125e-02 +52 5.200000e-01 5.200000e-01 7.323446e-02 7.323446e-02 +53 5.300000e-01 5.300000e-01 7.960786e-02 7.960786e-02 +54 5.400000e-01 5.400000e-01 8.616679e-02 8.616679e-02 + +Index v-sweep in net-_r1-pad1_ out +-------------------------------------------------------------------------------- +55 5.500000e-01 5.500000e-01 9.289756e-02 9.289756e-02 +56 5.600000e-01 5.600000e-01 9.978749e-02 9.978749e-02 +57 5.700000e-01 5.700000e-01 1.068249e-01 1.068249e-01 +58 5.800000e-01 5.800000e-01 1.139989e-01 1.139989e-01 +59 5.900000e-01 5.900000e-01 1.212998e-01 1.212998e-01 +60 6.000000e-01 6.000000e-01 1.287185e-01 1.287185e-01 +61 6.100000e-01 6.100000e-01 1.362467e-01 1.362467e-01 +62 6.200000e-01 6.200000e-01 1.438768e-01 1.438768e-01 +63 6.300000e-01 6.300000e-01 1.516020e-01 1.516020e-01 +64 6.400000e-01 6.400000e-01 1.594158e-01 1.594158e-01 +65 6.500000e-01 6.500000e-01 1.673126e-01 1.673126e-01 +66 6.600000e-01 6.600000e-01 1.752869e-01 1.752869e-01 +67 6.700000e-01 6.700000e-01 1.833339e-01 1.833339e-01 +68 6.800000e-01 6.800000e-01 1.914492e-01 1.914492e-01 +69 6.900000e-01 6.900000e-01 1.996286e-01 1.996286e-01 +70 7.000000e-01 7.000000e-01 2.078683e-01 2.078683e-01 +71 7.100000e-01 7.100000e-01 2.161648e-01 2.161648e-01 +72 7.200000e-01 7.200000e-01 2.245149e-01 2.245149e-01 +73 7.300000e-01 7.300000e-01 2.329157e-01 2.329157e-01 +74 7.400000e-01 7.400000e-01 2.413644e-01 2.413644e-01 +75 7.500000e-01 7.500000e-01 2.498584e-01 2.498584e-01 +76 7.600000e-01 7.600000e-01 2.583954e-01 2.583954e-01 +77 7.700000e-01 7.700000e-01 2.669732e-01 2.669732e-01 +78 7.800000e-01 7.800000e-01 2.755897e-01 2.755897e-01 +79 7.900000e-01 7.900000e-01 2.842430e-01 2.842430e-01 +80 8.000000e-01 8.000000e-01 2.929314e-01 2.929314e-01 +81 8.100000e-01 8.100000e-01 3.016532e-01 3.016532e-01 +82 8.200000e-01 8.200000e-01 3.104068e-01 3.104068e-01 +83 8.300000e-01 8.300000e-01 3.191908e-01 3.191908e-01 +84 8.400000e-01 8.400000e-01 3.280039e-01 3.280039e-01 +85 8.500000e-01 8.500000e-01 3.368447e-01 3.368447e-01 +86 8.600000e-01 8.600000e-01 3.457121e-01 3.457121e-01 +87 8.700000e-01 8.700000e-01 3.546049e-01 3.546049e-01 +88 8.800000e-01 8.800000e-01 3.635222e-01 3.635222e-01 +89 8.900000e-01 8.900000e-01 3.724628e-01 3.724628e-01 +90 9.000000e-01 9.000000e-01 3.814259e-01 3.814259e-01 +91 9.100000e-01 9.100000e-01 3.904106e-01 3.904106e-01 +92 9.200000e-01 9.200000e-01 3.994160e-01 3.994160e-01 +93 9.300000e-01 9.300000e-01 4.084414e-01 4.084414e-01 +94 9.400000e-01 9.400000e-01 4.174859e-01 4.174859e-01 +95 9.500000e-01 9.500000e-01 4.265490e-01 4.265490e-01 +96 9.600000e-01 9.600000e-01 4.356299e-01 4.356299e-01 +97 9.700000e-01 9.700000e-01 4.447280e-01 4.447280e-01 +98 9.800000e-01 9.800000e-01 4.538426e-01 4.538426e-01 +99 9.900000e-01 9.900000e-01 4.629733e-01 4.629733e-01 +100 1.000000e+00 1.000000e+00 4.721194e-01 4.721194e-01 + + * /home/fossee/esim-workspace/diode_characteristics/diode_characteristics.cir + DC transfer characteristic Thu Mar 3 20:54:14 2016 +-------------------------------------------------------------------------------- +Index v-sweep +-------------------------------------------------------------------------------- +0 0.000000e+00 +1 1.000000e-02 +2 2.000000e-02 +3 3.000000e-02 +4 4.000000e-02 +5 5.000000e-02 +6 6.000000e-02 +7 7.000000e-02 +8 8.000000e-02 +9 9.000000e-02 +10 1.000000e-01 +11 1.100000e-01 +12 1.200000e-01 +13 1.300000e-01 +14 1.400000e-01 +15 1.500000e-01 +16 1.600000e-01 +17 1.700000e-01 +18 1.800000e-01 +19 1.900000e-01 +20 2.000000e-01 +21 2.100000e-01 +22 2.200000e-01 +23 2.300000e-01 +24 2.400000e-01 +25 2.500000e-01 +26 2.600000e-01 +27 2.700000e-01 +28 2.800000e-01 +29 2.900000e-01 +30 3.000000e-01 +31 3.100000e-01 +32 3.200000e-01 +33 3.300000e-01 +34 3.400000e-01 +35 3.500000e-01 +36 3.600000e-01 +37 3.700000e-01 +38 3.800000e-01 +39 3.900000e-01 +40 4.000000e-01 +41 4.100000e-01 +42 4.200000e-01 +43 4.300000e-01 +44 4.400000e-01 +45 4.500000e-01 +46 4.600000e-01 +47 4.700000e-01 +48 4.800000e-01 +49 4.900000e-01 +50 5.000000e-01 +51 5.100000e-01 +52 5.200000e-01 +53 5.300000e-01 +54 5.400000e-01 + +Index v-sweep +-------------------------------------------------------------------------------- +55 5.500000e-01 +56 5.600000e-01 +57 5.700000e-01 +58 5.800000e-01 +59 5.900000e-01 +60 6.000000e-01 +61 6.100000e-01 +62 6.200000e-01 +63 6.300000e-01 +64 6.400000e-01 +65 6.500000e-01 +66 6.600000e-01 +67 6.700000e-01 +68 6.800000e-01 +69 6.900000e-01 +70 7.000000e-01 +71 7.100000e-01 +72 7.200000e-01 +73 7.300000e-01 +74 7.400000e-01 +75 7.500000e-01 +76 7.600000e-01 +77 7.700000e-01 +78 7.800000e-01 +79 7.900000e-01 +80 8.000000e-01 +81 8.100000e-01 +82 8.200000e-01 +83 8.300000e-01 +84 8.400000e-01 +85 8.500000e-01 +86 8.600000e-01 +87 8.700000e-01 +88 8.800000e-01 +89 8.900000e-01 +90 9.000000e-01 +91 9.100000e-01 +92 9.200000e-01 +93 9.300000e-01 +94 9.400000e-01 +95 9.500000e-01 +96 9.600000e-01 +97 9.700000e-01 +98 9.800000e-01 +99 9.900000e-01 +100 1.000000e+00 |