summaryrefslogtreecommitdiff
path: root/Examples/Fullwavebridgerectifier
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Fullwavebridgerectifier')
-rw-r--r--Examples/Fullwavebridgerectifier/D.lib3
-rw-r--r--Examples/Fullwavebridgerectifier/Fullwavebridgerectifier-cache.lib22
-rw-r--r--Examples/Fullwavebridgerectifier/Fullwavebridgerectifier-rescue.lib44
-rw-r--r--Examples/Fullwavebridgerectifier/Fullwavebridgerectifier.pro79
-rw-r--r--Examples/Fullwavebridgerectifier/Fullwavebridgerectifier.sch11
-rw-r--r--Examples/Fullwavebridgerectifier/Fullwavebridgerectifier_Previous_Values.xml1
-rw-r--r--Examples/Fullwavebridgerectifier/plot_data_i.txt75
-rw-r--r--Examples/Fullwavebridgerectifier/plot_data_v.txt75
8 files changed, 104 insertions, 206 deletions
diff --git a/Examples/Fullwavebridgerectifier/D.lib b/Examples/Fullwavebridgerectifier/D.lib
index 974dd402..8a7fb4da 100644
--- a/Examples/Fullwavebridgerectifier/D.lib
+++ b/Examples/Fullwavebridgerectifier/D.lib
@@ -1 +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 )
+.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/Fullwavebridgerectifier/Fullwavebridgerectifier-cache.lib b/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier-cache.lib
index 7f76da1a..e3a06e8a 100644
--- a/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier-cache.lib
+++ b/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier-cache.lib
@@ -1,11 +1,11 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
-# D
+# D-RESCUE-Fullwavebridgerectifier
#
-DEF D D 0 40 N N 1 F N
+DEF D-RESCUE-Fullwavebridgerectifier 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
+F1 "D-RESCUE-Fullwavebridgerectifier" 0 -100 50 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
$FPLIST
@@ -16,8 +16,8 @@ $FPLIST
*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
+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
@@ -28,19 +28,19 @@ ENDDEF
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
+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
+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
+# R-RESCUE-Fullwavebridgerectifier
#
-DEF R R 0 0 N Y 1 F N
+DEF R-RESCUE-Fullwavebridgerectifier 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
+F1 "R-RESCUE-Fullwavebridgerectifier" 50 50 50 H V C CNN
F2 "" 50 -20 30 H V C CNN
F3 "" 50 50 30 V V C CNN
$FPLIST
diff --git a/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier-rescue.lib b/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier-rescue.lib
new file mode 100644
index 00000000..ea903ce3
--- /dev/null
+++ b/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier-rescue.lib
@@ -0,0 +1,44 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# D-RESCUE-Fullwavebridgerectifier
+#
+DEF D-RESCUE-Fullwavebridgerectifier D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "D-RESCUE-Fullwavebridgerectifier" 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
+#
+# R-RESCUE-Fullwavebridgerectifier
+#
+DEF R-RESCUE-Fullwavebridgerectifier R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "R-RESCUE-Fullwavebridgerectifier" 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/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier.pro b/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier.pro
index d3c879a9..52ace132 100644
--- a/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier.pro
+++ b/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier.pro
@@ -1,4 +1,4 @@
-update=Thu Jan 28 14:33:48 2016
+update=Fri Jun 7 10:11:34 2019
version=1
last_client=eeschema
[general]
@@ -31,41 +31,42 @@ NetIExt=net
version=1
LibDir=
[eeschema/libraries]
-LibName1=eSim_Analog
-LibName2=eSim_Devices
-LibName3=eSim_Digital
-LibName4=eSim_Hybrid
-LibName5=eSim_Miscellaneous
-LibName6=eSim_Power
-LibName7=eSim_Sources
-LibName8=eSim_Subckt
-LibName9=eSim_User
-LibName10=adc-dac
-LibName11=memory
-LibName12=xilinx
-LibName13=microcontrollers
-LibName14=dsp
-LibName15=microchip
-LibName16=analog_switches
-LibName17=motorola
-LibName18=texas
-LibName19=intel
-LibName20=audio
-LibName21=interface
-LibName22=digital-audio
-LibName23=philips
-LibName24=display
-LibName25=cypress
-LibName26=siliconi
-LibName27=opto
-LibName28=atmel
-LibName29=contrib
-LibName30=power
-LibName31=device
-LibName32=transistors
-LibName33=conn
-LibName34=linear
-LibName35=regul
-LibName36=74xx
-LibName37=cmos4000
-LibName38=eSim_Plot
+LibName1=Fullwavebridgerectifier-rescue
+LibName2=eSim_Analog
+LibName3=eSim_Devices
+LibName4=eSim_Digital
+LibName5=eSim_Hybrid
+LibName6=eSim_Miscellaneous
+LibName7=eSim_Power
+LibName8=eSim_Sources
+LibName9=eSim_Subckt
+LibName10=eSim_User
+LibName11=adc-dac
+LibName12=memory
+LibName13=xilinx
+LibName14=microcontrollers
+LibName15=dsp
+LibName16=microchip
+LibName17=analog_switches
+LibName18=motorola
+LibName19=texas
+LibName20=intel
+LibName21=audio
+LibName22=interface
+LibName23=digital-audio
+LibName24=philips
+LibName25=display
+LibName26=cypress
+LibName27=siliconi
+LibName28=opto
+LibName29=atmel
+LibName30=contrib
+LibName31=power
+LibName32=device
+LibName33=transistors
+LibName34=conn
+LibName35=linear
+LibName36=regul
+LibName37=74xx
+LibName38=cmos4000
+LibName39=/home/fossee/library/eSim_Plot
diff --git a/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier.sch b/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier.sch
index d3840669..8a4be39c 100644
--- a/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier.sch
+++ b/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier.sch
@@ -1,4 +1,5 @@
EESchema Schematic File Version 2
+LIBS:Fullwavebridgerectifier-rescue
LIBS:eSim_Analog
LIBS:eSim_Devices
LIBS:eSim_Digital
@@ -64,7 +65,7 @@ F 3 "" H 3400 3600 60 0000 C CNN
1 0 0 -1
$EndComp
$Comp
-L D D1
+L D-RESCUE-Fullwavebridgerectifier D1
U 1 1 56A85EED
P 4200 2900
F 0 "D1" H 4200 3000 50 0000 C CNN
@@ -75,7 +76,7 @@ F 3 "" H 4200 2900 60 0000 C CNN
0 -1 -1 0
$EndComp
$Comp
-L D D3
+L D-RESCUE-Fullwavebridgerectifier D3
U 1 1 56A85F6E
P 5000 2900
F 0 "D3" H 5000 3000 50 0000 C CNN
@@ -86,7 +87,7 @@ F 3 "" H 5000 2900 60 0000 C CNN
0 -1 -1 0
$EndComp
$Comp
-L D D2
+L D-RESCUE-Fullwavebridgerectifier D2
U 1 1 56A85FBD
P 4200 4250
F 0 "D2" H 4200 4350 50 0000 C CNN
@@ -97,7 +98,7 @@ F 3 "" H 4200 4250 60 0000 C CNN
0 -1 -1 0
$EndComp
$Comp
-L D D4
+L D-RESCUE-Fullwavebridgerectifier D4
U 1 1 56A8602F
P 5000 4250
F 0 "D4" H 5000 4350 50 0000 C CNN
@@ -108,7 +109,7 @@ F 3 "" H 5000 4250 60 0000 C CNN
0 -1 -1 0
$EndComp
$Comp
-L R R1
+L R-RESCUE-Fullwavebridgerectifier R1
U 1 1 56A860D7
P 6050 3400
F 0 "R1" H 6100 3530 50 0000 C CNN
diff --git a/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier_Previous_Values.xml b/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier_Previous_Values.xml
new file mode 100644
index 00000000..3369ba77
--- /dev/null
+++ b/Examples/Fullwavebridgerectifier/Fullwavebridgerectifier_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source><v1 name="Source type">sine<field1 name="Offset Value">0</field1><field2 name="Amplitude">5</field2><field3 name="Frequency">50</field3><field4 name="Delay Time">0</field4><field5 name="Damping Factor">0</field5></v1></source><model /><devicemodel><d4><field>/home/fossee/esim-updated/eSim/src/deviceModelLibrary/Diode/D.lib</field></d4><d2><field>/home/fossee/esim-updated/eSim/src/deviceModelLibrary/Diode/D.lib</field></d2><d3><field>/home/fossee/esim-updated/eSim/src/deviceModelLibrary/Diode/D.lib</field></d3><d1><field>/home/fossee/esim-updated/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" /><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">10</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/Fullwavebridgerectifier/plot_data_i.txt b/Examples/Fullwavebridgerectifier/plot_data_i.txt
deleted file mode 100644
index e351e505..00000000
--- a/Examples/Fullwavebridgerectifier/plot_data_i.txt
+++ /dev/null
@@ -1,75 +0,0 @@
-* /home/fossee/updatedexamples/fullwavebridgerectifier/fullwavebridgerectifier.cir
-Transient Analysis Wed Aug 30 11:20:06 2017
---------------------------------------------------------------------------------
-Index time alli
---------------------------------------------------------------------------------
-0 0.000000e+00 -3.85186e-34
-1 1.000000e-05 -3.57806e-09
-2 2.000000e-05 -4.51526e-09
-3 4.000000e-05 -6.60386e-09
-4 8.000000e-05 -1.26852e-08
-5 1.600000e-04 -4.75219e-08
-6 3.200000e-04 -8.01226e-07
-7 6.400000e-04 -8.85271e-05
-8 1.026163e-03 -5.19805e-04
-9 1.655442e-03 -1.33749e-03
-10 2.298545e-03 -2.11673e-03
-11 3.584751e-03 -3.28650e-03
-12 5.584751e-03 -3.67800e-03
-13 7.584751e-03 -2.24626e-03
-14 9.584751e-03 -4.24121e-06
-15 1.109526e-02 6.082866e-04
-16 1.246929e-02 2.305998e-03
-17 1.410508e-02 3.568964e-03
-18 1.575154e-02 3.625220e-03
-19 1.775154e-02 2.059387e-03
-20 1.975154e-02 2.196050e-07
-21 2.099045e-02 -4.74545e-04
-22 2.218016e-02 -1.98045e-03
-23 2.350824e-02 -3.23506e-03
-24 2.499322e-02 -3.76069e-03
-25 2.699322e-02 -2.83716e-03
-26 2.899322e-02 -4.95271e-04
-27 3.067596e-02 1.184755e-04
-28 3.228544e-02 2.102320e-03
-29 3.393144e-02 3.488559e-03
-30 3.558694e-02 3.677814e-03
-31 3.758694e-02 2.244110e-03
-32 3.958694e-02 4.088871e-06
-33 4.065388e-02 -9.95947e-05
-34 4.167023e-02 -1.35614e-03
-35 4.280948e-02 -2.65330e-03
-36 4.407919e-02 -3.55777e-03
-37 4.607919e-02 -3.48280e-03
-38 4.807919e-02 -1.67071e-03
-39 5.007919e-02 1.505363e-08
-40 5.207919e-02 1.861636e-03
-41 5.407919e-02 3.558053e-03
-42 5.607919e-02 3.481944e-03
-43 5.807919e-02 1.670710e-03
-44 6.007919e-02 -1.40368e-08
-45 6.207919e-02 -1.86164e-03
-46 6.396337e-02 -3.50438e-03
-47 6.596337e-02 -3.53794e-03
-48 6.796337e-02 -1.81145e-03
-49 6.996337e-02 5.661852e-11
-50 7.161164e-02 1.281427e-03
-51 7.315451e-02 2.965167e-03
-52 7.515451e-02 3.755083e-03
-53 7.711563e-02 2.724870e-03
-54 7.911563e-02 3.433469e-04
-
-Index time alli
---------------------------------------------------------------------------------
-55 8.075818e-02 -1.99167e-04
-56 8.231040e-02 -2.13032e-03
-57 8.403093e-02 -3.53596e-03
-58 8.572571e-02 -3.63420e-03
-59 8.772571e-02 -2.08887e-03
-60 8.972571e-02 -3.52804e-07
-61 9.134324e-02 9.317609e-04
-62 9.283257e-02 2.676375e-03
-63 9.462685e-02 3.727290e-03
-64 9.644440e-02 3.267211e-03
-65 9.844440e-02 1.209237e-03
-66 1.000000e-01 -6.09035e-09
diff --git a/Examples/Fullwavebridgerectifier/plot_data_v.txt b/Examples/Fullwavebridgerectifier/plot_data_v.txt
deleted file mode 100644
index df7c6115..00000000
--- a/Examples/Fullwavebridgerectifier/plot_data_v.txt
+++ /dev/null
@@ -1,75 +0,0 @@
-* /home/fossee/updatedexamples/fullwavebridgerectifier/fullwavebridgerectifier.cir
-Transient Analysis Wed Aug 30 11:20:06 2017
---------------------------------------------------------------------------------
-Index time in1 in2 out
---------------------------------------------------------------------------------
-0 0.000000e+00 -1.02878e-18 -1.02878e-18 2.710884e-22
-1 1.000000e-05 7.854011e-03 -7.85393e-03 8.389384e-08
-2 2.000000e-05 1.570803e-02 -1.57077e-02 3.361913e-07
-3 4.000000e-05 3.141579e-02 -3.14144e-02 1.382156e-06
-4 8.000000e-05 6.282835e-02 -6.28221e-02 6.229084e-06
-5 1.600000e-04 1.256309e-01 -1.25591e-01 4.020326e-05
-6 3.200000e-04 2.513011e-01 -2.50507e-01 7.937111e-04
-7 6.400000e-04 5.435344e-01 -4.55016e-01 8.851888e-02
-8 1.026163e-03 1.051957e+00 -5.32161e-01 5.197952e-01
-9 1.655442e-03 1.911098e+00 -5.73617e-01 1.337482e+00
-10 2.298545e-03 2.710783e+00 -5.94062e-01 2.116720e+00
-11 3.584751e-03 3.900190e+00 -6.13695e-01 3.286495e+00
-12 5.584751e-03 4.296929e+00 -6.18939e-01 3.677991e+00
-13 7.584751e-03 2.843206e+00 -5.96950e-01 2.246256e+00
-14 9.584751e-03 3.273312e-01 -3.23091e-01 4.239839e-03
-15 1.109526e-02 -5.39198e-01 1.147479e+00 6.082813e-01
-16 1.246929e-02 -5.97639e-01 2.903625e+00 2.305986e+00
-17 1.410508e-02 -6.17364e-01 4.186325e+00 3.568962e+00
-18 1.575154e-02 -6.18036e-01 4.243248e+00 3.625212e+00
-19 1.775154e-02 -5.93004e-01 2.652393e+00 2.059389e+00
-20 1.975154e-02 -1.94832e-01 1.950470e-01 2.148331e-04
-21 2.099045e-02 1.002676e+00 -5.28139e-01 4.745379e-01
-22 2.218016e-02 2.571745e+00 -5.91301e-01 1.980444e+00
-23 2.350824e-02 3.847973e+00 -6.12922e-01 3.235052e+00
-24 2.499322e-02 4.380334e+00 -6.19655e-01 3.760679e+00
-25 2.699322e-02 3.444252e+00 -6.07088e-01 2.837164e+00
-26 2.899322e-02 1.025243e+00 -5.29974e-01 4.952690e-01
-27 3.067596e-02 -4.67681e-01 5.861527e-01 1.184713e-01
-28 3.228544e-02 -5.93533e-01 2.695840e+00 2.102307e+00
-29 3.393144e-02 -6.16172e-01 4.104730e+00 3.488558e+00
-30 3.558694e-02 -6.18717e-01 4.296522e+00 3.677805e+00
-31 3.758694e-02 -5.96775e-01 2.840888e+00 2.244113e+00
-32 3.958694e-02 -3.21466e-01 3.255492e-01 4.083027e-03
-33 4.065388e-02 5.597459e-01 -4.60158e-01 9.958758e-02
-34 4.167023e-02 1.930485e+00 -5.74358e-01 1.356126e+00
-35 4.280948e-02 3.257670e+00 -6.04371e-01 2.653299e+00
-36 4.407919e-02 4.175007e+00 -6.17241e-01 3.557766e+00
-37 4.607919e-02 4.099086e+00 -6.16287e-01 3.482799e+00
-38 4.807919e-02 2.254049e+00 -5.83338e-01 1.670711e+00
-39 5.007919e-02 -6.21896e-02 6.219594e-02 6.371741e-06
-40 5.207919e-02 -5.88509e-01 2.450138e+00 1.861629e+00
-41 5.407919e-02 -6.17101e-01 4.175147e+00 3.558045e+00
-42 5.607919e-02 -6.16716e-01 4.098657e+00 3.481941e+00
-43 5.807919e-02 -5.83340e-01 2.254047e+00 1.670707e+00
-44 6.007919e-02 6.219601e-02 -6.21895e-02 6.500126e-06
-45 6.207919e-02 2.450138e+00 -5.88509e-01 1.861629e+00
-46 6.396337e-02 4.120781e+00 -6.16404e-01 3.504378e+00
-47 6.596337e-02 4.155342e+00 -6.17408e-01 3.537935e+00
-48 6.796337e-02 2.398370e+00 -5.86917e-01 1.811453e+00
-49 6.996337e-02 2.877302e-02 -2.87718e-02 1.192263e-06
-50 7.161164e-02 -5.71682e-01 1.853100e+00 1.281418e+00
-51 7.315451e-02 -6.08881e-01 3.574041e+00 2.965160e+00
-52 7.515451e-02 -6.19516e-01 4.374595e+00 3.755079e+00
-53 7.711563e-02 -6.05406e-01 3.330273e+00 2.724867e+00
-54 7.911563e-02 -5.14007e-01 8.573536e-01 3.433465e-01
-
-Index time in1 in2 out
---------------------------------------------------------------------------------
-55 8.075818e-02 6.894395e-01 -4.90276e-01 1.991635e-01
-56 8.231040e-02 2.724549e+00 -5.94243e-01 2.130306e+00
-57 8.403093e-02 4.153015e+00 -6.17057e-01 3.535959e+00
-58 8.572571e-02 4.252401e+00 -6.18214e-01 3.634187e+00
-59 8.772571e-02 2.682517e+00 -5.93640e-01 2.088877e+00
-60 8.972571e-02 2.153329e-01 -2.14987e-01 3.462796e-04
-61 9.134324e-02 -5.58069e-01 1.489819e+00 9.317501e-01
-62 9.283257e-02 -6.04304e-01 3.280673e+00 2.676369e+00
-63 9.462685e-02 -6.19200e-01 4.346483e+00 3.727283e+00
-64 9.644440e-02 -6.13397e-01 3.880607e+00 3.267209e+00
-65 9.844440e-02 -5.69096e-01 1.778330e+00 1.209234e+00
-66 1.000000e-01 -5.75202e-07 -5.75202e-07 -1.15031e-06