summaryrefslogtreecommitdiff
path: root/Examples/FullwaveRectifier_SCR
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/FullwaveRectifier_SCR')
-rwxr-xr-xExamples/FullwaveRectifier_SCR/D.lib20
-rw-r--r--Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR-cache.lib156
-rw-r--r--Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR.bak280
-rw-r--r--Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out2
-rw-r--r--Examples/FullwaveRectifier_SCR/PowerDiode.lib21
-rw-r--r--Examples/FullwaveRectifier_SCR/scr.bak243
-rw-r--r--Examples/FullwaveRectifier_SCR/scr.cir.ckt19
-rw-r--r--Examples/FullwaveRectifier_SCR/scr.cir.out~29
-rw-r--r--Examples/FullwaveRectifier_SCR/scr.sub~23
-rw-r--r--Examples/FullwaveRectifier_SCR/scr_Previous_Values.xml1
-rw-r--r--Examples/FullwaveRectifier_SCR/userDiode.lib1
11 files changed, 3 insertions, 792 deletions
diff --git a/Examples/FullwaveRectifier_SCR/D.lib b/Examples/FullwaveRectifier_SCR/D.lib
deleted file mode 100755
index ef18bb50..00000000
--- a/Examples/FullwaveRectifier_SCR/D.lib
+++ /dev/null
@@ -1,20 +0,0 @@
-.MODEL D1N750 D(
-+ Vj=.75
-+ Nbvl=14.976
-+ Cjo=175p
-+ Rs=.25
-+ Isr=1.859n
-+ Eg=1.11
-+ M=.5516
-+ Nbv=1.6989
-+ N=1
-+ Tbv1=-21.277u
-+ Bv=8.1
-+ Fc=.5
-+ Ikf=0
-+ Nr=2
-+ Ibv=20.245m
-+ Is=880.5E-18
-+ Xti=3
-+ Ibvl=1.9556m
-) \ No newline at end of file
diff --git a/Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR-cache.lib b/Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR-cache.lib
deleted file mode 100644
index b4195e35..00000000
--- a/Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR-cache.lib
+++ /dev/null
@@ -1,156 +0,0 @@
-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
-#
-# 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
-#
-# PWR_FLAG
-#
-DEF PWR_FLAG #FLG 0 0 N N 1 F P
-F0 "#FLG" 0 95 50 H I C CNN
-F1 "PWR_FLAG" 0 180 50 H V C CNN
-F2 "" 0 0 50 H V C CNN
-F3 "" 0 0 50 H V C CNN
-DRAW
-X pwr 1 0 0 0 U 50 50 0 0 w
-P 6 0 1 0 0 0 0 50 -75 100 0 150 75 100 0 50 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
-#
-# SCR
-#
-DEF SCR X 0 10 Y N 1 F N
-F0 "X" 150 200 50 H V C CNN
-F1 "SCR" 150 -350 50 H V C CNN
-F2 "" 0 0 60 H V C CNN
-F3 "" 0 0 60 H V C CNN
-DRAW
-P 2 0 0 0 -200 -150 200 -150 N
-P 2 0 1 0 0 -150 -200 -400 N
-P 3 0 1 0 -150 100 150 100 0 -150 F
-X K 1 0 -550 400 U 60 70 1 1 I
-X G 2 -350 -400 150 R 60 60 1 1 I
-X A 3 0 400 300 D 60 60 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
-#
-# plot_v2
-#
-DEF plot_v2 U 0 40 Y Y 1 F N
-F0 "U" 0 400 60 H V C CNN
-F1 "plot_v2" 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
-#
-# 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
-#
-# sine
-#
-DEF sine v 0 40 Y Y 1 F N
-F0 "v" -200 100 60 H V C CNN
-F1 "sine" -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 -50 0 50 1 1799 0 1 0 N 0 0 -100 0
-A 50 0 50 -1799 -1 0 1 0 N 0 0 100 0
-C 0 0 150 0 1 0 N
-X + 1 0 450 300 D 50 0 1 1 I
-X - 2 0 -450 300 U 50 0 1 1 I
-ENDDRAW
-ENDDEF
-#
-#End Library
diff --git a/Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR.bak b/Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR.bak
deleted file mode 100644
index 997e75df..00000000
--- a/Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR.bak
+++ /dev/null
@@ -1,280 +0,0 @@
-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:fullwaverec-cache
-EELAYER 25 0
-EELAYER END
-$Descr A4 11693 8268
-encoding utf-8
-Sheet 1 1
-Title ""
-Date "21 aug 2014"
-Rev ""
-Comp ""
-Comment1 ""
-Comment2 ""
-Comment3 ""
-Comment4 ""
-$EndDescr
-Connection ~ 2150 4800
-Wire Wire Line
- 1700 4800 3300 4800
-Connection ~ 4700 3050
-Wire Wire Line
- 4700 2550 4700 3050
-Wire Wire Line
- 3000 3550 3000 4000
-Wire Wire Line
- 4400 5900 4400 5300
-Connection ~ 3000 3850
-Wire Wire Line
- 2150 3650 2150 4000
-Wire Wire Line
- 4600 4200 4400 4200
-Wire Wire Line
- 4400 4200 4400 4400
-Connection ~ 3700 4650
-Wire Wire Line
- 3700 5750 4950 5750
-Wire Wire Line
- 3700 4350 3700 5750
-Connection ~ 3700 3100
-Wire Wire Line
- 4150 3050 4150 3100
-Wire Wire Line
- 4150 3100 3000 3100
-Wire Wire Line
- 3000 4650 3700 4650
-Wire Wire Line
- 3000 4300 3000 4650
-Wire Wire Line
- 3700 3550 3700 4050
-Wire Wire Line
- 3000 3100 3000 3250
-Wire Wire Line
- 3700 3100 3700 3250
-Wire Wire Line
- 4550 3050 4950 3050
-Wire Wire Line
- 4950 3050 4950 3400
-Wire Wire Line
- 4950 5750 4950 4350
-Connection ~ 4400 5750
-Wire Wire Line
- 3300 4800 3300 3950
-Wire Wire Line
- 3300 3950 3700 3950
-Connection ~ 3700 3950
-Wire Wire Line
- 4100 2550 4100 3100
-Connection ~ 4100 3100
-Wire Wire Line
- 1700 3850 3000 3850
-Connection ~ 2150 3850
-$Comp
-L PWR_FLAG #FLG01
-U 1 1 53F57BC9
-P 4400 5900
-F 0 "#FLG01" H 4400 6170 30 0001 C CNN
-F 1 "PWR_FLAG" H 4400 6130 30 0000 C CNN
-F 2 "" H 4400 5900 60 0001 C CNN
-F 3 "" H 4400 5900 60 0001 C CNN
- 1 4400 5900
- 0 1 1 0
-$EndComp
-$Comp
-L GND #PWR02
-U 1 1 53F57B8F
-P 4400 5900
-F 0 "#PWR02" H 4400 5900 30 0001 C CNN
-F 1 "GND" H 4400 5830 30 0001 C CNN
-F 2 "" H 4400 5900 60 0001 C CNN
-F 3 "" H 4400 5900 60 0001 C CNN
- 1 4400 5900
- 1 0 0 -1
-$EndComp
-$Comp
-L SCR x1
-U 1 1 53F57A75
-P 4950 3800
-F 0 "x1" H 5100 4050 70 0000 C CNN
-F 1 "SCR" H 5100 3450 70 0000 C CNN
-F 2 "" H 4950 3800 60 0001 C CNN
-F 3 "" H 4950 3800 60 0001 C CNN
- 1 4950 3800
- 1 0 0 -1
-$EndComp
-$Comp
-L sine v1
-U 1 1 566163B6
-P 1700 4350
-F 0 "v1" H 1500 4450 60 0000 C CNN
-F 1 "sine" H 1500 4300 60 0000 C CNN
-F 2 "R1" H 1400 4350 60 0000 C CNN
-F 3 "" H 1700 4350 60 0000 C CNN
- 1 1700 4350
- 1 0 0 -1
-$EndComp
-$Comp
-L pulse v2
-U 1 1 5661641A
-P 4400 4850
-F 0 "v2" H 4200 4950 60 0000 C CNN
-F 1 "pulse" H 4200 4800 60 0000 C CNN
-F 2 "R1" H 4100 4850 60 0000 C CNN
-F 3 "" H 4400 4850 60 0000 C CNN
- 1 4400 4850
- 1 0 0 -1
-$EndComp
-$Comp
-L D D1
-U 1 1 566164AF
-P 3000 3400
-F 0 "D1" H 3000 3500 50 0000 C CNN
-F 1 "D" H 3000 3300 50 0000 C CNN
-F 2 "" H 3000 3400 60 0000 C CNN
-F 3 "" H 3000 3400 60 0000 C CNN
- 1 3000 3400
- 0 -1 -1 0
-$EndComp
-$Comp
-L D D3
-U 1 1 566164F1
-P 3700 3400
-F 0 "D3" H 3700 3500 50 0000 C CNN
-F 1 "D" H 3700 3300 50 0000 C CNN
-F 2 "" H 3700 3400 60 0000 C CNN
-F 3 "" H 3700 3400 60 0000 C CNN
- 1 3700 3400
- 0 -1 -1 0
-$EndComp
-$Comp
-L D D2
-U 1 1 56616559
-P 3000 4150
-F 0 "D2" H 3000 4250 50 0000 C CNN
-F 1 "D" H 3000 4050 50 0000 C CNN
-F 2 "" H 3000 4150 60 0000 C CNN
-F 3 "" H 3000 4150 60 0000 C CNN
- 1 3000 4150
- 0 -1 -1 0
-$EndComp
-$Comp
-L D D4
-U 1 1 566165C2
-P 3700 4200
-F 0 "D4" H 3700 4300 50 0000 C CNN
-F 1 "D" H 3700 4100 50 0000 C CNN
-F 2 "" H 3700 4200 60 0000 C CNN
-F 3 "" H 3700 4200 60 0000 C CNN
- 1 3700 4200
- 0 -1 -1 0
-$EndComp
-$Comp
-L R R1
-U 1 1 56616736
-P 4350 3100
-F 0 "R1" H 4400 3230 50 0000 C CNN
-F 1 "100" H 4400 3150 50 0000 C CNN
-F 2 "" H 4400 3080 30 0000 C CNN
-F 3 "" V 4400 3150 30 0000 C CNN
- 1 4350 3100
- 1 0 0 -1
-$EndComp
-Text GLabel 2150 3650 1 60 Input ~ 0
-in1
-Text GLabel 2150 5000 3 60 Input ~ 0
-in2
-Text GLabel 4100 2550 1 60 Input ~ 0
-out1
-Text GLabel 4700 2550 1 60 Input ~ 0
-out2
-Wire Wire Line
- 1700 3850 1700 3900
-Wire Wire Line
- 2150 4600 2150 5000
-Wire Wire Line
- 4250 3050 4150 3050
-Text GLabel 4350 4100 0 60 Input ~ 0
-pulse
-Wire Wire Line
- 4350 4100 4450 4100
-Wire Wire Line
- 4450 4100 4450 4200
-Connection ~ 4450 4200
-$Comp
-L plot_v2 U1
-U 1 1 56D85F3A
-P 1900 4300
-F 0 "U1" H 1900 4700 60 0000 C CNN
-F 1 "plot_v2" H 1900 4400 60 0000 C CNN
-F 2 "" H 1900 4300 60 0000 C CNN
-F 3 "" H 1900 4300 60 0000 C CNN
- 1 1900 4300
- 0 1 1 0
-$EndComp
-$Comp
-L plot_v1 U3
-U 1 1 56D860A5
-P 4400 4250
-F 0 "U3" H 4400 4750 60 0000 C CNN
-F 1 "plot_v1" H 4600 4600 60 0000 C CNN
-F 2 "" H 4400 4250 60 0000 C CNN
-F 3 "" H 4400 4250 60 0000 C CNN
- 1 4400 4250
- 1 0 0 -1
-$EndComp
-$Comp
-L plot_v2 U2
-U 1 1 56D860FE
-P 4400 2400
-F 0 "U2" H 4400 2800 60 0000 C CNN
-F 1 "plot_v2" H 4400 2500 60 0000 C CNN
-F 2 "" H 4400 2400 60 0000 C CNN
-F 3 "" H 4400 2400 60 0000 C CNN
- 1 4400 2400
- 1 0 0 1
-$EndComp
-Connection ~ 4100 2650
-Connection ~ 4700 2650
-Wire Wire Line
- 4400 4050 4400 4100
-Connection ~ 4400 4100
-$EndSCHEMATC
diff --git a/Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out b/Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out
index 2bc6d6d7..46179b0f 100644
--- a/Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out
+++ b/Examples/FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out
@@ -1,7 +1,7 @@
* /home/fossee/updatedexamples/fullwaverectifier_scr/fullwaverectifier_scr.cir
.include scr.sub
-.include D.lib
+.include userDiode.lib
x1 gnd pulse out2 scr
v1 in1 in2 sine(0 200 100 0 0)
v2 pulse gnd pulse(0 5 2m 0 0 1m 5m)
diff --git a/Examples/FullwaveRectifier_SCR/PowerDiode.lib b/Examples/FullwaveRectifier_SCR/PowerDiode.lib
index a2f61dce..d6fb6469 100644
--- a/Examples/FullwaveRectifier_SCR/PowerDiode.lib
+++ b/Examples/FullwaveRectifier_SCR/PowerDiode.lib
@@ -1,20 +1 @@
-.MODEL PowerDiode D(
-+ Vj=.75
-+ Nbvl=14.976
-+ Cjo=175p
-+ Rs=.25
-+ Isr=1.859n
-+ Eg=1.11
-+ M=.5516
-+ Nbv=1.6989
-+ N=1
-+ Tbv1=-21.277u
-+ bv=1800
-+ Fc=.5
-+ Ikf=0
-+ Nr=2
-+ Ibv=20.245m
-+ Is=2.2E-15
-+ Xti=3
-+ Ibvl=1.9556m
-) \ No newline at end of file
+.MODEL PowerDiode D( Vj=.75 Nbvl=14.976 Cjo=175p Rs=.25 Isr=1.859n Eg=1.11 M=.5516 Nbv=1.6989 N=1 Tbv1=-21.277u bv=1800 Fc=.5 Ikf=0 Nr=2 Ibv=20.245m Is=2.2E-15 Xti=3 Ibvl=1.9556m )
diff --git a/Examples/FullwaveRectifier_SCR/scr.bak b/Examples/FullwaveRectifier_SCR/scr.bak
deleted file mode 100644
index 58b985d9..00000000
--- a/Examples/FullwaveRectifier_SCR/scr.bak
+++ /dev/null
@@ -1,243 +0,0 @@
-EESchema Schematic File Version 2
-LIBS:analogSpice
-LIBS:analogXSpice
-LIBS:convergenceAidSpice
-LIBS:converterSpice
-LIBS:digitalSpice
-LIBS:digitalXSpice
-LIBS:measurementSpice
-LIBS:portSpice
-LIBS:sourcesSpice
-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:eSim_Analog
-LIBS:scr-cache
-EELAYER 25 0
-EELAYER END
-$Descr A4 11693 8268
-encoding utf-8
-Sheet 1 1
-Title ""
-Date "21 aug 2014"
-Rev ""
-Comp ""
-Comment1 ""
-Comment2 ""
-Comment3 ""
-Comment4 ""
-$EndDescr
-Wire Wire Line
- 3600 3250 3600 3150
-Connection ~ 5550 4950
-Wire Wire Line
- 5800 3900 5800 3850
-Wire Wire Line
- 5800 3850 6150 3850
-Wire Wire Line
- 6150 3850 6150 4950
-Wire Wire Line
- 6150 4950 3600 4950
-Connection ~ 4300 4950
-Wire Wire Line
- 4300 4950 4300 4050
-Wire Wire Line
- 4300 4050 3850 4050
-Wire Wire Line
- 4700 5950 4700 5450
-Wire Wire Line
- 4250 5950 4250 5500
-Connection ~ 4250 4950
-Wire Wire Line
- 4250 5000 4250 4950
-Wire Wire Line
- 5550 3600 5550 3450
-Wire Wire Line
- 5550 4950 5550 4250
-Wire Wire Line
- 3600 4950 3600 4400
-Wire Wire Line
- 3600 2650 3600 2300
-Wire Wire Line
- 3600 2300 3150 2300
-Wire Wire Line
- 3600 4150 3600 4300
-Wire Wire Line
- 5550 4150 5550 4000
-Wire Wire Line
- 5550 2550 5550 2250
-Wire Wire Line
- 4700 5050 4700 4950
-Connection ~ 4700 4950
-Wire Wire Line
- 6650 2000 6650 5950
-Connection ~ 4700 5950
-Wire Wire Line
- 3850 4650 3850 5950
-Wire Wire Line
- 3850 5950 6650 5950
-Connection ~ 4250 5950
-Wire Wire Line
- 5800 4500 5800 5950
-Connection ~ 5800 5950
-$Comp
-L PORT U2
-U 3 1 53F4C93D
-P 6650 2250
-F 0 "U2" H 6650 2200 30 0000 C CNN
-F 1 "PORT" H 6650 2250 30 0000 C CNN
-F 2 "" H 6650 2250 60 0001 C CNN
-F 3 "" H 6650 2250 60 0001 C CNN
- 3 6650 2250
- -1 0 0 1
-$EndComp
-$Comp
-L PORT U2
-U 2 1 53F4C934
-P 2900 2300
-F 0 "U2" H 2900 2250 30 0000 C CNN
-F 1 "PORT" H 2900 2300 30 0000 C CNN
-F 2 "" H 2900 2300 60 0001 C CNN
-F 3 "" H 2900 2300 60 0001 C CNN
- 2 2900 2300
- 1 0 0 -1
-$EndComp
-$Comp
-L PORT U2
-U 1 1 53F4C92A
-P 6400 4950
-F 0 "U2" H 6400 4900 30 0000 C CNN
-F 1 "PORT" H 6400 4950 30 0000 C CNN
-F 2 "" H 6400 4950 60 0001 C CNN
-F 3 "" H 6400 4950 60 0001 C CNN
- 1 6400 4950
- -1 0 0 1
-$EndComp
-$Comp
-L CCCS F2
-U 1 1 53F4C735
-P 5750 4200
-F 0 "F2" H 5550 4300 50 0000 C CNN
-F 1 "100" H 5550 4150 50 0000 C CNN
-F 2 "" H 5750 4200 60 0001 C CNN
-F 3 "" H 5750 4200 60 0001 C CNN
- 1 5750 4200
- 0 1 1 0
-$EndComp
-$Comp
-L DIODE D1
-U 1 1 53F4C6D9
-P 5550 3800
-F 0 "D1" H 5550 3900 40 0000 C CNN
-F 1 "D" H 5550 3700 40 0000 C CNN
-F 2 "" H 5550 3800 60 0001 C CNN
-F 3 "" H 5550 3800 60 0001 C CNN
- 1 5550 3800
- 0 1 1 0
-$EndComp
-$Comp
-L C C1
-U 1 1 53F4C6C2
-P 4700 5250
-F 0 "C1" H 4750 5350 50 0000 L CNN
-F 1 "10u" H 4750 5150 50 0000 L CNN
-F 2 "" H 4700 5250 60 0001 C CNN
-F 3 "" H 4700 5250 60 0001 C CNN
- 1 4700 5250
- 1 0 0 -1
-$EndComp
-$Comp
-L R R2
-U 1 1 53F4C6BB
-P 4250 5250
-F 0 "R2" V 4330 5250 50 0000 C CNN
-F 1 "1" V 4250 5250 50 0000 C CNN
-F 2 "" H 4250 5250 60 0001 C CNN
-F 3 "" H 4250 5250 60 0001 C CNN
- 1 4250 5250
- 1 0 0 -1
-$EndComp
-$Comp
-L CCCS F1
-U 1 1 53F4C67F
-P 3800 4350
-F 0 "F1" H 3600 4450 50 0000 C CNN
-F 1 "10" H 3600 4300 50 0000 C CNN
-F 2 "" H 3800 4350 60 0001 C CNN
-F 3 "" H 3800 4350 60 0001 C CNN
- 1 3800 4350
- 0 1 1 0
-$EndComp
-$Comp
-L R R1
-U 1 1 53F4C5C9
-P 3600 2900
-F 0 "R1" V 3680 2900 50 0000 C CNN
-F 1 "50" V 3600 2900 50 0000 C CNN
-F 2 "" H 3600 2900 60 0001 C CNN
-F 3 "" H 3600 2900 60 0001 C CNN
- 1 3600 2900
- 1 0 0 -1
-$EndComp
-$Comp
-L dc v1
-U 1 1 565DBF58
-P 3600 3700
-F 0 "v1" H 3400 3800 60 0000 C CNN
-F 1 "dc" H 3400 3650 60 0000 C CNN
-F 2 "R1" H 3300 3700 60 0000 C CNN
-F 3 "" H 3600 3700 60 0000 C CNN
- 1 3600 3700
- 1 0 0 -1
-$EndComp
-$Comp
-L dc v2
-U 1 1 565DC066
-P 5550 3000
-F 0 "v2" H 5350 3100 60 0000 C CNN
-F 1 "dc" H 5350 2950 60 0000 C CNN
-F 2 "R1" H 5250 3000 60 0000 C CNN
-F 3 "" H 5550 3000 60 0000 C CNN
- 1 5550 3000
- 1 0 0 -1
-$EndComp
-$Comp
-L aswitch U1
-U 1 1 565DC87E
-P 6400 2100
-F 0 "U1" H 6850 2400 60 0000 C CNN
-F 1 "aswitch" H 6850 2300 60 0000 C CNN
-F 2 "" H 6850 2200 60 0000 C CNN
-F 3 "" H 6850 2200 60 0000 C CNN
- 1 6400 2100
- -1 0 0 1
-$EndComp
-Wire Wire Line
- 5950 2000 6650 2000
-$EndSCHEMATC
diff --git a/Examples/FullwaveRectifier_SCR/scr.cir.ckt b/Examples/FullwaveRectifier_SCR/scr.cir.ckt
deleted file mode 100644
index b0e218fd..00000000
--- a/Examples/FullwaveRectifier_SCR/scr.cir.ckt
+++ /dev/null
@@ -1,19 +0,0 @@
-* eeschema netlist version 1.1 (spice format) creation date: 08/21/14 11:07:22
-.include diode.lib
-
-u2 5 8 1 port
-* f2
-* Analog Switch analogswitch
-d1 4 2 diode
-v2 3 4 dc 0
-c1 5 6 10u
-r2 5 6 1
-* f1
-v1 9 7 dc 0
-r1 8 9 50
-Vf2 2 5 0
-f2 5 6 Vf2 100
-Vf1 7 5 0
-f1 5 6 Vf1 10
-a1 6 (1 3) u1
-.model u1 aswitch(cntl_on=0.25 cntl_off=0.1 r_on=0.0125 r_off=1000000)
diff --git a/Examples/FullwaveRectifier_SCR/scr.cir.out~ b/Examples/FullwaveRectifier_SCR/scr.cir.out~
deleted file mode 100644
index d600f25d..00000000
--- a/Examples/FullwaveRectifier_SCR/scr.cir.out~
+++ /dev/null
@@ -1,29 +0,0 @@
-* /opt/esim/src/subcircuitlibrary/scr/scr.cir
-
-.include PowerDiode.lib
-* u2 3 7 1 port
-* f2
-d1 5 2 PowerDiode
-c1 3 9 10u
-* f1
-v1 8 4 dc 0
-v2 6 5 dc 0
-* u1 9 1 6 aswitch
-r1 7 8 50
-r2 3 9 1
-Vf2 2 3 0
-f2 3 9 Vf2 100
-Vf1 4 3 0
-f1 3 9 Vf1 10
-a1 9 (1 6) u1
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u1 aswitch(log=TRUE cntl_off=0.0 cntl_on=1.0 r_on=1.0 r_off=1.0e12 )
-.tran 0e-12 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/Examples/FullwaveRectifier_SCR/scr.sub~ b/Examples/FullwaveRectifier_SCR/scr.sub~
deleted file mode 100644
index 0fdddbf4..00000000
--- a/Examples/FullwaveRectifier_SCR/scr.sub~
+++ /dev/null
@@ -1,23 +0,0 @@
-* Subcircuit scr
-.subckt scr 3 7 1
-* /opt/esim/src/subcircuitlibrary/scr/scr.cir
-.include PowerDiode.lib
-* f2
-d1 5 2 PowerDiode
-c1 3 9 10u
-* f1
-v1 8 4 dc 0
-v2 6 5 dc 0
-* u1 9 1 6 aswitch
-r1 7 8 50
-r2 3 9 1
-Vf2 2 3 0
-f2 3 9 Vf2 100
-Vf1 4 3 0
-f1 3 9 Vf1 10
-a1 9 [1 6 ] u1
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u1 aswitch(log=TRUE cntl_off=0.0 cntl_on=1.0 r_on=1.0 r_off=1.0e12 )
-* Control Statements
-
-.ends scr \ No newline at end of file
diff --git a/Examples/FullwaveRectifier_SCR/scr_Previous_Values.xml b/Examples/FullwaveRectifier_SCR/scr_Previous_Values.xml
deleted file mode 100644
index 8ff6e8d3..00000000
--- a/Examples/FullwaveRectifier_SCR/scr_Previous_Values.xml
+++ /dev/null
@@ -1 +0,0 @@
-<KicadtoNgspice><source><v1 name="Source type">dc<field1 name="Value">0</field1></v1><v2 name="Source type">dc<field1 name="Value">0</field1></v2></source><model><u1 name="type">aswitch<field1 name="Enter Log (default=TRUE)" /><field2 name="Enter Control OFF value (default=0.0)" /><field3 name="Enter OFF Resistance (default=1.0e12)" /><field4 name="Enter ON Resistance (default=1.0)" /><field5 name="Enter Control ON value(default=1.0)" /></u1></model><devicemodel><d1><field>/opt/eSim/src/deviceModelLibrary/Diode/PowerDiode.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 Name" /><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></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">ps</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/Examples/FullwaveRectifier_SCR/userDiode.lib b/Examples/FullwaveRectifier_SCR/userDiode.lib
new file mode 100644
index 00000000..89b96f4a
--- /dev/null
+++ b/Examples/FullwaveRectifier_SCR/userDiode.lib
@@ -0,0 +1 @@
+.MODEL D1N750 D( Vj=.75 Nbvl=14.976 Cjo=175p Rs=.25 Isr=1.859n Eg=1.11 M=.5516 Nbv=1.6989 N=1 Tbv1=-21.277u Bv=8.1 Fc=.5 Ikf=0 Nr=2 Ibv=20.245m Is=880.5E-18 Xti=3 Ibvl=1.9556m )