summaryrefslogtreecommitdiff
path: root/src/SubcircuitLibrary/triac
diff options
context:
space:
mode:
Diffstat (limited to 'src/SubcircuitLibrary/triac')
-rw-r--r--src/SubcircuitLibrary/triac/.triac.s.swpbin4096 -> 0 bytes
-rw-r--r--src/SubcircuitLibrary/triac/.triac.sub.swpbin12288 -> 0 bytes
-rw-r--r--src/SubcircuitLibrary/triac/PowerDiode.lib21
-rw-r--r--src/SubcircuitLibrary/triac/triac.bak308
-rw-r--r--src/SubcircuitLibrary/triac/triac.cir.ckt26
-rw-r--r--src/SubcircuitLibrary/triac/triac.cir.out~41
-rw-r--r--src/SubcircuitLibrary/triac/triac.sub~35
7 files changed, 1 insertions, 430 deletions
diff --git a/src/SubcircuitLibrary/triac/.triac.s.swp b/src/SubcircuitLibrary/triac/.triac.s.swp
deleted file mode 100644
index 1a4c2d0e..00000000
--- a/src/SubcircuitLibrary/triac/.triac.s.swp
+++ /dev/null
Binary files differ
diff --git a/src/SubcircuitLibrary/triac/.triac.sub.swp b/src/SubcircuitLibrary/triac/.triac.sub.swp
deleted file mode 100644
index 521ce758..00000000
--- a/src/SubcircuitLibrary/triac/.triac.sub.swp
+++ /dev/null
Binary files differ
diff --git a/src/SubcircuitLibrary/triac/PowerDiode.lib b/src/SubcircuitLibrary/triac/PowerDiode.lib
index a2f61dce..d6fb6469 100644
--- a/src/SubcircuitLibrary/triac/PowerDiode.lib
+++ b/src/SubcircuitLibrary/triac/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/src/SubcircuitLibrary/triac/triac.bak b/src/SubcircuitLibrary/triac/triac.bak
deleted file mode 100644
index f30533a0..00000000
--- a/src/SubcircuitLibrary/triac/triac.bak
+++ /dev/null
@@ -1,308 +0,0 @@
-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:triac-cache
-EELAYER 25 0
-EELAYER END
-$Descr A4 11693 8268
-encoding utf-8
-Sheet 1 1
-Title ""
-Date "22 sep 2014"
-Rev ""
-Comp ""
-Comment1 ""
-Comment2 ""
-Comment3 ""
-Comment4 ""
-$EndDescr
-$Comp
-L PORT U3
-U 3 1 541D1606
-P 1250 1750
-F 0 "U3" H 1250 1700 30 0000 C CNN
-F 1 "PORT" H 1250 1750 30 0000 C CNN
-F 2 "" H 1250 1750 60 0001 C CNN
-F 3 "" H 1250 1750 60 0001 C CNN
- 3 1250 1750
- 1 0 0 -1
-$EndComp
-$Comp
-L PORT U3
-U 2 1 541D1601
-P 1300 900
-F 0 "U3" H 1300 850 30 0000 C CNN
-F 1 "PORT" H 1300 900 30 0000 C CNN
-F 2 "" H 1300 900 60 0001 C CNN
-F 3 "" H 1300 900 60 0001 C CNN
- 2 1300 900
- 1 0 0 -1
-$EndComp
-$Comp
-L PORT U3
-U 1 1 541D15F6
-P 1150 4050
-F 0 "U3" H 1150 4000 30 0000 C CNN
-F 1 "PORT" H 1150 4050 30 0000 C CNN
-F 2 "" H 1150 4050 60 0001 C CNN
-F 3 "" H 1150 4050 60 0001 C CNN
- 1 1150 4050
- 1 0 0 -1
-$EndComp
-$Comp
-L CCCS F3
-U 1 1 541D1417
-P 6250 3100
-F 0 "F3" H 6050 3200 50 0000 C CNN
-F 1 "10" H 6050 3050 50 0000 C CNN
-F 2 "" H 6250 3100 60 0001 C CNN
-F 3 "" H 6250 3100 60 0001 C CNN
- 1 6250 3100
- 0 1 1 0
-$EndComp
-$Comp
-L DC v3
-U 1 1 541D13FB
-P 6050 1950
-F 0 "v3" H 5850 2050 60 0000 C CNN
-F 1 "DC" H 5850 1900 60 0000 C CNN
-F 2 "R1" H 5750 1950 60 0000 C CNN
-F 3 "" H 6050 1950 60 0001 C CNN
- 1 6050 1950
- -1 0 0 1
-$EndComp
-$Comp
-L CCCS F2
-U 1 1 541D13A3
-P 3900 2550
-F 0 "F2" H 3700 2650 50 0000 C CNN
-F 1 "10" H 3700 2500 50 0000 C CNN
-F 2 "" H 3900 2550 60 0001 C CNN
-F 3 "" H 3900 2550 60 0001 C CNN
- 1 3900 2550
- 0 1 1 0
-$EndComp
-$Comp
-L DC v2
-U 1 1 541D1398
-P 3700 1850
-F 0 "v2" H 3500 1950 60 0000 C CNN
-F 1 "DC" H 3500 1800 60 0000 C CNN
-F 2 "R1" H 3400 1850 60 0000 C CNN
-F 3 "" H 3700 1850 60 0001 C CNN
- 1 3700 1850
- 1 0 0 -1
-$EndComp
-$Comp
-L C C1
-U 1 1 541D137C
-P 3300 4350
-F 0 "C1" H 3350 4450 50 0000 L CNN
-F 1 "10u" H 3350 4250 50 0000 L CNN
-F 2 "" H 3300 4350 60 0001 C CNN
-F 3 "" H 3300 4350 60 0001 C CNN
- 1 3300 4350
- 1 0 0 -1
-$EndComp
-$Comp
-L CCCS F1
-U 1 1 541D1363
-P 2100 3600
-F 0 "F1" H 1900 3700 50 0000 C CNN
-F 1 "100" H 1900 3550 50 0000 C CNN
-F 2 "" H 2100 3600 60 0001 C CNN
-F 3 "" H 2100 3600 60 0001 C CNN
- 1 2100 3600
- 0 1 1 0
-$EndComp
-$Comp
-L DC v1
-U 1 1 541D1357
-P 1900 2900
-F 0 "v1" H 1700 3000 60 0000 C CNN
-F 1 "DC" H 1700 2850 60 0000 C CNN
-F 2 "R1" H 1600 2900 60 0000 C CNN
-F 3 "" H 1900 2900 60 0001 C CNN
- 1 1900 2900
- 1 0 0 -1
-$EndComp
-$Comp
-L aswitch U1
-U 1 1 56669B8A
-P 4600 1100
-F 0 "U1" H 5050 1400 60 0000 C CNN
-F 1 "aswitch" H 5050 1300 60 0000 C CNN
-F 2 "" H 5050 1200 60 0000 C CNN
-F 3 "" H 5050 1200 60 0000 C CNN
- 1 4600 1100
- -1 0 0 1
-$EndComp
-$Comp
-L aswitch U2
-U 1 1 56669DB5
-P 6400 1350
-F 0 "U2" H 6850 1650 60 0000 C CNN
-F 1 "aswitch" H 6850 1550 60 0000 C CNN
-F 2 "" H 6850 1450 60 0000 C CNN
-F 3 "" H 6850 1450 60 0000 C CNN
- 1 6400 1350
- 1 0 0 -1
-$EndComp
-Connection ~ 4600 900
-Wire Wire Line
- 4600 1250 4600 900
-Wire Wire Line
- 1900 1750 1500 1750
-Connection ~ 6300 4900
-Wire Wire Line
- 6300 3400 6300 4900
-Connection ~ 3950 4900
-Wire Wire Line
- 3950 2850 3950 4900
-Connection ~ 2700 4050
-Wire Wire Line
- 2700 3300 2700 4050
-Wire Wire Line
- 2150 3300 2700 3300
-Connection ~ 3300 4900
-Wire Wire Line
- 7450 4900 7450 700
-Connection ~ 3700 4050
-Wire Wire Line
- 6050 4050 6050 3150
-Wire Wire Line
- 6050 2400 6050 2500
-Wire Wire Line
- 3700 1250 3750 1250
-Wire Wire Line
- 3700 1400 3700 1250
-Wire Wire Line
- 3700 2850 3700 2600
-Connection ~ 2750 4050
-Wire Wire Line
- 2750 4050 2750 4150
-Wire Wire Line
- 1900 3350 1900 3550
-Wire Wire Line
- 1900 2450 1900 1750
-Wire Wire Line
- 1900 4050 1900 3650
-Wire Wire Line
- 3300 4050 3300 4200
-Wire Wire Line
- 3700 3150 3700 4050
-Connection ~ 3300 4050
-Wire Wire Line
- 3700 2500 3700 2300
-Wire Wire Line
- 6050 1200 6050 1500
-Wire Wire Line
- 6400 1200 6050 1200
-Wire Wire Line
- 6050 2800 6050 3050
-Wire Wire Line
- 2750 4450 2750 4900
-Wire Wire Line
- 3300 4500 3300 4900
-Connection ~ 7450 1400
-Wire Wire Line
- 2150 4900 2150 3900
-Wire Wire Line
- 2150 4900 7450 4900
-Connection ~ 2750 4900
-Wire Wire Line
- 4450 2250 3950 2250
-Wire Wire Line
- 4450 4050 4450 2250
-Connection ~ 4450 4050
-Wire Wire Line
- 6650 2800 6300 2800
-Wire Wire Line
- 6650 4050 6650 2800
-Connection ~ 6050 4050
-Wire Wire Line
- 1550 900 7250 900
-Wire Wire Line
- 1400 4050 6650 4050
-Connection ~ 1900 4050
-Wire Wire Line
- 7450 700 4150 700
-Wire Wire Line
- 4150 700 4150 1000
-Wire Wire Line
- 6850 1450 7350 1450
-Wire Wire Line
- 7350 1450 7350 1400
-Wire Wire Line
- 7350 1400 7450 1400
-Wire Wire Line
- 7250 900 7250 1200
-$Comp
-L R R1
-U 1 1 5666A886
-P 2700 4250
-F 0 "R1" H 2750 4380 50 0000 C CNN
-F 1 "1" H 2750 4300 50 0000 C CNN
-F 2 "" H 2750 4230 30 0000 C CNN
-F 3 "" V 2750 4300 30 0000 C CNN
- 1 2700 4250
- 0 1 1 0
-$EndComp
-$Comp
-L D D1
-U 1 1 5666A9A7
-P 3700 3000
-F 0 "D1" H 3700 3100 50 0000 C CNN
-F 1 "D" H 3700 2900 50 0000 C CNN
-F 2 "" H 3700 3000 60 0000 C CNN
-F 3 "" H 3700 3000 60 0000 C CNN
- 1 3700 3000
- 0 1 1 0
-$EndComp
-$Comp
-L D D2
-U 1 1 5666A9E4
-P 6050 2650
-F 0 "D2" H 6050 2750 50 0000 C CNN
-F 1 "D" H 6050 2550 50 0000 C CNN
-F 2 "" H 6050 2650 60 0000 C CNN
-F 3 "" H 6050 2650 60 0000 C CNN
- 1 6050 2650
- 0 -1 -1 0
-$EndComp
-$EndSCHEMATC
diff --git a/src/SubcircuitLibrary/triac/triac.cir.ckt b/src/SubcircuitLibrary/triac/triac.cir.ckt
deleted file mode 100644
index 821b417b..00000000
--- a/src/SubcircuitLibrary/triac/triac.cir.ckt
+++ /dev/null
@@ -1,26 +0,0 @@
-* eeschema netlist version 1.1 (spice format) creation date: 09/20/14 11:23:24
-.include diode.lib
-
-u3 7 4 5 port
-* f3
-d2 3 2 diode
-v3 2 1 dc 0
-* Analog Switch analogswitch
-d1 11 7 diode
-* f2
-v2 8 10 dc 0
-* Analog Switch analogswitch
-c1 7 9 10u
-r1 7 9 1
-* f1
-v1 5 6 dc 0
-Vf3 3 7 0
-f3 7 9 Vf3 10
-Vf2 10 11 0
-f2 7 9 Vf2 10
-Vf1 6 7 0
-f1 7 9 Vf1 100
-a1 9 (1 4) u2
-.model u2 aswitch(cntl_on=-1 cntl_off=-0.1 r_on=0.0125 r_off=1000000)
-a2 9 (4 8) u1
-.model u1 aswitch(cntl_on=1 cntl_off=0.1 r_on=0.0125 r_off=1000000)
diff --git a/src/SubcircuitLibrary/triac/triac.cir.out~ b/src/SubcircuitLibrary/triac/triac.cir.out~
deleted file mode 100644
index 7bd15a7b..00000000
--- a/src/SubcircuitLibrary/triac/triac.cir.out~
+++ /dev/null
@@ -1,41 +0,0 @@
-* /opt/esim/src/subcircuitlibrary/triac/triac.cir
-
-.include PowerDiode.lib
-* u3 8 11 10 port
-* f3
-v3 7 2 dc 0
-* f2
-v2 6 3 dc 0
-c1 8 9 10u
-* f1
-v1 10 4 dc 0
-* u1 9 11 6 aswitch
-* u2 9 2 11 aswitch
-r1 8 9 1
-d1 5 8 PowerDiode
-d2 1 7 PowerDiode
-Vf3 1 8 0
-f3 8 9 Vf3 10
-Vf2 3 5 0
-f2 8 9 Vf2 10
-Vf1 4 8 0
-f1 8 9 Vf1 100
-a1 9 [11 6 ] u1
-a2 9 [2 11 ] u2
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u1 aswitch(log=TRUE cntl_off=0.1 cntl_on=1 r_on=0.0125 r_off=1000000 )
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u2 aswitch(log=TRUE cntl_off=-0.1 cntl_on=-1 r_on=0.0125 r_off=1000000 )
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u1 aswitch(log=TRUE cntl_off=0.1 cntl_on=1 r_on=0.0125 r_off=1000000 )
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u2 aswitch(log=TRUE cntl_off=-0.1 cntl_on=-1 r_on=0.0125 r_off=1000000 )
-.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/triac/triac.sub~ b/src/SubcircuitLibrary/triac/triac.sub~
deleted file mode 100644
index ebbed05e..00000000
--- a/src/SubcircuitLibrary/triac/triac.sub~
+++ /dev/null
@@ -1,35 +0,0 @@
-* Subcircuit triac
-.subckt triac 8 11 10
-* /opt/esim/src/subcircuitlibrary/triac/triac.cir
-.include PowerDiode.lib
-* f3
-v3 7 2 dc 0
-* f2
-v2 6 3 dc 0
-c1 8 9 10u
-* f1
-v1 10 4 dc 0
-* u1 9 11 6 aswitch
-* u2 9 2 11 aswitch
-r1 8 9 1
-d1 5 8 PowerDiode
-d2 1 7 PowerDiode
-Vf3 1 8 0
-f3 8 9 Vf3 10
-Vf2 3 5 0
-f2 8 9 Vf2 10
-Vf1 4 8 0
-f1 8 9 Vf1 100
-a1 9 [11 6 ] u1
-a2 9 [2 11 ] u2
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u1 aswitch(log=TRUE cntl_off=0.1 cntl_on=1 r_on=0.0125 r_off=1000000 )
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u2 aswitch(log=TRUE cntl_off=-0.1 cntl_on=-1 r_on=0.0125 r_off=1000000 )
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u1 aswitch(log=TRUE cntl_off=0.1 cntl_on=1 r_on=0.0125 r_off=1000000 )
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u2 aswitch(log=TRUE cntl_off=-0.1 cntl_on=-1 r_on=0.0125 r_off=1000000 )
-* Control Statements
-
-.ends triac \ No newline at end of file