diff options
Diffstat (limited to 'library/SubcircuitLibrary/IC_LM397MFX')
13 files changed, 942 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/IC_LM397MFX/D.lib b/library/SubcircuitLibrary/IC_LM397MFX/D.lib new file mode 100644 index 00000000..513550fa --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/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/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX-cache.lib b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX-cache.lib new file mode 100644 index 00000000..0d415165 --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX-cache.lib @@ -0,0 +1,159 @@ +EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+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
+#
+# eSim_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_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
+#
+# eSim_NJF
+#
+DEF eSim_NJF J 0 0 Y N 1 F N
+F0 "J" -100 50 50 H V R CNN
+F1 "eSim_NJF" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS jfet_n
+DRAW
+C 50 0 111 0 1 10 N
+P 3 0 1 10 10 75 10 -75 10 -75 N
+P 3 0 1 0 100 -100 100 -50 10 -50 N
+P 3 0 1 0 100 100 100 55 10 55 N
+P 4 0 1 0 0 0 -40 15 -40 -15 0 0 F
+X D 1 100 200 100 D 50 50 1 1 P
+X G 2 -200 0 210 R 50 50 1 1 P
+X S 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$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/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.cir b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.cir new file mode 100644 index 00000000..91aa3286 --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.cir @@ -0,0 +1,36 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\IC_LM397MFX\IC_LM397MFX.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 03/20/23 21:50:19
+
+* 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: /
+J1 Net-_J1-Pad1_ GND Net-_J1-Pad3_ jfet_n
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_J1-Pad1_ eSim_PNP
+Q4 Net-_J1-Pad3_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q5 Net-_Q2-Pad3_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q8 Net-_D4-Pad1_ Net-_Q1-Pad1_ Net-_Q7-Pad3_ eSim_PNP
+Q7 Net-_D2-Pad1_ Net-_Q1-Pad1_ Net-_Q7-Pad3_ eSim_PNP
+Q10 Net-_Q10-Pad1_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+R2 Net-_Q1-Pad1_ Net-_Q1-Pad2_ 2k
+R3 Net-_J1-Pad1_ Net-_Q7-Pad3_ 2.1k
+Q2 Net-_Q1-Pad1_ Net-_J1-Pad3_ Net-_Q2-Pad3_ eSim_NPN
+Q3 Net-_J1-Pad3_ Net-_Q2-Pad3_ GND eSim_NPN
+D2 Net-_D2-Pad1_ Net-_D1-Pad2_ eSim_Diode
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+Q6 GND Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_PNP
+Q9 Net-_D3-Pad1_ Net-_D1-Pad2_ Net-_Q10-Pad1_ eSim_PNP
+Q12 Net-_Q11-Pad1_ Net-_D4-Pad2_ Net-_Q10-Pad1_ eSim_PNP
+Q13 GND Net-_D5-Pad1_ Net-_D4-Pad2_ eSim_PNP
+D4 Net-_D4-Pad1_ Net-_D4-Pad2_ eSim_Diode
+D5 Net-_D5-Pad1_ Net-_D4-Pad2_ eSim_Diode
+R1 Net-_Q2-Pad3_ GND 4.8k
+Q11 Net-_Q11-Pad1_ Net-_D3-Pad1_ GND eSim_NPN
+D3 Net-_D3-Pad1_ GND eSim_Diode
+Q14 Net-_Q14-Pad1_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q15 Net-_Q14-Pad1_ Net-_Q11-Pad1_ GND eSim_NPN
+Q16 Net-_Q16-Pad1_ Net-_Q14-Pad1_ GND eSim_NPN
+U1 Net-_J1-Pad1_ Net-_D1-Pad1_ Net-_D5-Pad1_ Net-_Q16-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.cir.out b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.cir.out new file mode 100644 index 00000000..9a6fe2e6 --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.cir.out @@ -0,0 +1,41 @@ +* c:\fossee\esim\library\subcircuitlibrary\ic_lm397mfx\ic_lm397mfx.cir
+
+.include NPN.lib
+.include D.lib
+.include PNP.lib
+.include NJF.lib
+j1 net-_j1-pad1_ gnd net-_j1-pad3_ J2N3819
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_j1-pad1_ Q2N2907A
+q4 net-_j1-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q5 net-_q2-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q8 net-_d4-pad1_ net-_q1-pad1_ net-_q7-pad3_ Q2N2907A
+q7 net-_d2-pad1_ net-_q1-pad1_ net-_q7-pad3_ Q2N2907A
+q10 net-_q10-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+r2 net-_q1-pad1_ net-_q1-pad2_ 2k
+r3 net-_j1-pad1_ net-_q7-pad3_ 2.1k
+q2 net-_q1-pad1_ net-_j1-pad3_ net-_q2-pad3_ Q2N2222
+q3 net-_j1-pad3_ net-_q2-pad3_ gnd Q2N2222
+d2 net-_d2-pad1_ net-_d1-pad2_ 1N4148
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q6 gnd net-_d1-pad1_ net-_d1-pad2_ Q2N2907A
+q9 net-_d3-pad1_ net-_d1-pad2_ net-_q10-pad1_ Q2N2907A
+q12 net-_q11-pad1_ net-_d4-pad2_ net-_q10-pad1_ Q2N2907A
+q13 gnd net-_d5-pad1_ net-_d4-pad2_ Q2N2907A
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+d5 net-_d5-pad1_ net-_d4-pad2_ 1N4148
+r1 net-_q2-pad3_ gnd 4.8k
+q11 net-_q11-pad1_ net-_d3-pad1_ gnd Q2N2222
+d3 net-_d3-pad1_ gnd 1N4148
+q14 net-_q14-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q15 net-_q14-pad1_ net-_q11-pad1_ gnd Q2N2222
+q16 net-_q16-pad1_ net-_q14-pad1_ gnd Q2N2222
+* u1 net-_j1-pad1_ net-_d1-pad1_ net-_d5-pad1_ net-_q16-pad1_ port
+.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/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.pro b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.pro new file mode 100644 index 00000000..22f2d439 --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.pro @@ -0,0 +1,71 @@ +update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[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=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=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+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_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.sch b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.sch new file mode 100644 index 00000000..b4e03c45 --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.sch @@ -0,0 +1,568 @@ +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:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+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_Nghdl
+LIBS:eSim_Ngveri
+LIBS:IC_LM397MFX-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 jfet_n J1
+U 1 1 6414AD39
+P 3400 3450
+F 0 "J1" H 3300 3500 50 0000 R CNN
+F 1 "jfet_n" H 3350 3600 50 0000 R CNN
+F 2 "" H 3600 3550 29 0000 C CNN
+F 3 "" H 3400 3450 60 0000 C CNN
+ 1 3400 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 6414AD5B
+P 3900 3100
+F 0 "Q1" H 3800 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 3850 3250 50 0000 R CNN
+F 2 "" H 4100 3200 29 0000 C CNN
+F 3 "" H 3900 3100 60 0000 C CNN
+ 1 3900 3100
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 6414AD78
+P 5050 3100
+F 0 "Q4" H 4950 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 5000 3250 50 0000 R CNN
+F 2 "" H 5250 3200 29 0000 C CNN
+F 3 "" H 5050 3100 60 0000 C CNN
+ 1 5050 3100
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 6414AD97
+P 5300 3500
+F 0 "Q5" H 5200 3550 50 0000 R CNN
+F 1 "eSim_PNP" H 5250 3650 50 0000 R CNN
+F 2 "" H 5500 3600 29 0000 C CNN
+F 3 "" H 5300 3500 60 0000 C CNN
+ 1 5300 3500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q8
+U 1 1 6414ADCC
+P 6550 3100
+F 0 "Q8" H 6450 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 6500 3250 50 0000 R CNN
+F 2 "" H 6750 3200 29 0000 C CNN
+F 3 "" H 6550 3100 60 0000 C CNN
+ 1 6550 3100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 6414ADFD
+P 6200 3500
+F 0 "Q7" H 6100 3550 50 0000 R CNN
+F 1 "eSim_PNP" H 6150 3650 50 0000 R CNN
+F 2 "" H 6400 3600 29 0000 C CNN
+F 3 "" H 6200 3500 60 0000 C CNN
+ 1 6200 3500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q10
+U 1 1 64188296
+P 7350 3100
+F 0 "Q10" H 7250 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 7300 3250 50 0000 R CNN
+F 2 "" H 7550 3200 29 0000 C CNN
+F 3 "" H 7350 3100 60 0000 C CNN
+ 1 7350 3100
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 641882BF
+P 4450 3050
+F 0 "R2" H 4500 3180 50 0000 C CNN
+F 1 "2k" H 4500 3000 50 0000 C CNN
+F 2 "" H 4500 3030 30 0000 C CNN
+F 3 "" V 4500 3100 30 0000 C CNN
+ 1 4450 3050
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 641882F4
+P 6600 2450
+F 0 "R3" H 6650 2580 50 0000 C CNN
+F 1 "2.1k" H 6650 2400 50 0000 C CNN
+F 2 "" H 6650 2430 30 0000 C CNN
+F 3 "" V 6650 2500 30 0000 C CNN
+ 1 6600 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 6418832D
+P 3900 4600
+F 0 "Q2" H 3800 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 3850 4750 50 0000 R CNN
+F 2 "" H 4100 4700 29 0000 C CNN
+F 3 "" H 3900 4600 60 0000 C CNN
+ 1 3900 4600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 6418846C
+P 4550 4950
+F 0 "Q3" H 4450 5000 50 0000 R CNN
+F 1 "eSim_NPN" H 4500 5100 50 0000 R CNN
+F 2 "" H 4750 5050 29 0000 C CNN
+F 3 "" H 4550 4950 60 0000 C CNN
+ 1 4550 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 64188527
+P 6300 4050
+F 0 "D2" H 6300 4150 50 0000 C CNN
+F 1 "eSim_Diode" H 6300 3950 50 0000 C CNN
+F 2 "" H 6300 4050 60 0000 C CNN
+F 3 "" H 6300 4050 60 0000 C CNN
+ 1 6300 4050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 6418855E
+P 5900 4300
+F 0 "D1" H 5900 4400 50 0000 C CNN
+F 1 "eSim_Diode" H 5900 4200 50 0000 C CNN
+F 2 "" H 5900 4300 60 0000 C CNN
+F 3 "" H 5900 4300 60 0000 C CNN
+ 1 5900 4300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 64188654
+P 5950 4750
+F 0 "Q6" H 5850 4800 50 0000 R CNN
+F 1 "eSim_PNP" H 5900 4900 50 0000 R CNN
+F 2 "" H 6150 4850 29 0000 C CNN
+F 3 "" H 5950 4750 60 0000 C CNN
+ 1 5950 4750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q9
+U 1 1 64188693
+P 6900 4400
+F 0 "Q9" H 6800 4450 50 0000 R CNN
+F 1 "eSim_PNP" H 6850 4550 50 0000 R CNN
+F 2 "" H 7100 4500 29 0000 C CNN
+F 3 "" H 6900 4400 60 0000 C CNN
+ 1 6900 4400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q12
+U 1 1 641886CE
+P 7550 4400
+F 0 "Q12" H 7450 4450 50 0000 R CNN
+F 1 "eSim_PNP" H 7500 4550 50 0000 R CNN
+F 2 "" H 7750 4500 29 0000 C CNN
+F 3 "" H 7550 4400 60 0000 C CNN
+ 1 7550 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q13
+U 1 1 64188747
+P 8100 4750
+F 0 "Q13" H 8000 4800 50 0000 R CNN
+F 1 "eSim_PNP" H 8050 4900 50 0000 R CNN
+F 2 "" H 8300 4850 29 0000 C CNN
+F 3 "" H 8100 4750 60 0000 C CNN
+ 1 8100 4750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 64188788
+P 7950 4050
+F 0 "D4" H 7950 4150 50 0000 C CNN
+F 1 "eSim_Diode" H 7950 3950 50 0000 C CNN
+F 2 "" H 7950 4050 60 0000 C CNN
+F 3 "" H 7950 4050 60 0000 C CNN
+ 1 7950 4050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D5
+U 1 1 641887CB
+P 8200 4300
+F 0 "D5" H 8200 4400 50 0000 C CNN
+F 1 "eSim_Diode" H 8200 4200 50 0000 C CNN
+F 2 "" H 8200 4300 60 0000 C CNN
+F 3 "" H 8200 4300 60 0000 C CNN
+ 1 8200 4300
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 641891A9
+P 3750 5300
+F 0 "R1" H 3800 5430 50 0000 C CNN
+F 1 "4.8k" H 3800 5250 50 0000 C CNN
+F 2 "" H 3800 5280 30 0000 C CNN
+F 3 "" V 3800 5350 30 0000 C CNN
+ 1 3750 5300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 6418974E
+P 7350 5300
+F 0 "Q11" H 7250 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 7300 5450 50 0000 R CNN
+F 2 "" H 7550 5400 29 0000 C CNN
+F 3 "" H 7350 5300 60 0000 C CNN
+ 1 7350 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 6418979F
+P 7000 5600
+F 0 "D3" H 7000 5700 50 0000 C CNN
+F 1 "eSim_Diode" H 7000 5500 50 0000 C CNN
+F 2 "" H 7000 5600 60 0000 C CNN
+F 3 "" H 7000 5600 60 0000 C CNN
+ 1 7000 5600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q14
+U 1 1 6418A83F
+P 8850 3100
+F 0 "Q14" H 8750 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 8800 3250 50 0000 R CNN
+F 2 "" H 9050 3200 29 0000 C CNN
+F 3 "" H 8850 3100 60 0000 C CNN
+ 1 8850 3100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 6418A890
+P 8900 5150
+F 0 "Q15" H 8800 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 8850 5300 50 0000 R CNN
+F 2 "" H 9100 5250 29 0000 C CNN
+F 3 "" H 8900 5150 60 0000 C CNN
+ 1 8900 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 6418A8D7
+P 9350 4600
+F 0 "Q16" H 9250 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 9300 4750 50 0000 R CNN
+F 2 "" H 9550 4700 29 0000 C CNN
+F 3 "" H 9350 4600 60 0000 C CNN
+ 1 9350 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6418FD2B
+P 8450 1900
+F 0 "U1" H 8500 2000 30 0000 C CNN
+F 1 "PORT" H 8450 1900 30 0000 C CNN
+F 2 "" H 8450 1900 60 0000 C CNN
+F 3 "" H 8450 1900 60 0000 C CNN
+ 3 8450 1900
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6418FD82
+P 9450 1900
+F 0 "U1" H 9500 2000 30 0000 C CNN
+F 1 "PORT" H 9450 1900 30 0000 C CNN
+F 2 "" H 9450 1900 60 0000 C CNN
+F 3 "" H 9450 1900 60 0000 C CNN
+ 4 9450 1900
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 2 1 6418FEFE
+P 5650 1850
+F 0 "U1" H 5700 1950 30 0000 C CNN
+F 1 "PORT" H 5650 1850 30 0000 C CNN
+F 2 "" H 5650 1850 60 0000 C CNN
+F 3 "" H 5650 1850 60 0000 C CNN
+ 2 5650 1850
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 5250 3100 6350 3100
+Wire Wire Line
+ 5500 3100 5500 3500
+Wire Wire Line
+ 6000 3100 6000 3500
+Wire Wire Line
+ 4950 2900 5200 2900
+Wire Wire Line
+ 5200 2900 5200 3300
+Wire Wire Line
+ 6650 2900 6300 2900
+Wire Wire Line
+ 6300 2900 6300 3300
+Wire Wire Line
+ 3800 4400 3800 3300
+Wire Wire Line
+ 7750 4400 8000 4400
+Wire Wire Line
+ 8000 4400 8000 4550
+Wire Wire Line
+ 7950 4200 7950 4400
+Connection ~ 7950 4400
+Wire Wire Line
+ 8050 4300 7950 4300
+Connection ~ 7950 4300
+Wire Wire Line
+ 7000 4200 7450 4200
+Wire Wire Line
+ 6300 3700 6300 3900
+Wire Wire Line
+ 6050 4300 6300 4300
+Wire Wire Line
+ 6300 4200 6300 4550
+Wire Wire Line
+ 5750 4300 5650 4300
+Wire Wire Line
+ 5650 2100 5650 4750
+Wire Wire Line
+ 5650 4750 5750 4750
+Wire Wire Line
+ 3800 5200 3800 4800
+Wire Wire Line
+ 5200 3700 5200 5050
+Wire Wire Line
+ 5200 5050 3800 5050
+Connection ~ 3800 5050
+Wire Wire Line
+ 4950 3300 4950 4650
+Wire Wire Line
+ 4950 4650 4650 4650
+Wire Wire Line
+ 4650 4600 4650 4750
+Wire Wire Line
+ 4350 4950 4250 4950
+Wire Wire Line
+ 4250 4950 4250 5050
+Connection ~ 4250 5050
+Wire Wire Line
+ 3500 4600 4650 4600
+Connection ~ 4650 4650
+Wire Wire Line
+ 3500 3650 3500 4600
+Connection ~ 4100 4600
+Wire Wire Line
+ 4250 3100 4100 3100
+Wire Wire Line
+ 4550 3100 5350 3100
+Wire Wire Line
+ 4650 3100 4650 3400
+Wire Wire Line
+ 4650 3400 3800 3400
+Connection ~ 3800 3400
+Wire Wire Line
+ 6650 3300 6650 3550
+Wire Wire Line
+ 6650 3550 7950 3550
+Wire Wire Line
+ 7950 3550 7950 3900
+Wire Wire Line
+ 7450 3300 7450 4000
+Wire Wire Line
+ 7450 4000 7200 4000
+Wire Wire Line
+ 7200 4000 7200 4200
+Connection ~ 7200 4200
+Connection ~ 6000 3100
+Connection ~ 5500 3100
+Connection ~ 4650 3100
+Connection ~ 5350 3100
+Wire Wire Line
+ 6650 2650 6650 2900
+Wire Wire Line
+ 7150 3100 6200 3100
+Connection ~ 6200 3100
+Wire Wire Line
+ 8650 3100 7100 3100
+Connection ~ 7100 3100
+Wire Wire Line
+ 3500 3250 3500 2250
+Wire Wire Line
+ 3500 2250 8950 2250
+Wire Wire Line
+ 8950 2250 8950 2900
+Wire Wire Line
+ 6650 2350 6650 2250
+Connection ~ 6650 2250
+Wire Wire Line
+ 4950 2900 4950 2250
+Connection ~ 4950 2250
+Wire Wire Line
+ 7450 2900 7450 2250
+Connection ~ 7450 2250
+Wire Wire Line
+ 3800 2100 3800 2900
+Connection ~ 3800 2250
+Wire Wire Line
+ 8950 3300 8950 4950
+Wire Wire Line
+ 8950 4950 9000 4950
+Wire Wire Line
+ 9150 4600 8950 4600
+Connection ~ 8950 4600
+Wire Wire Line
+ 7450 4600 7450 5100
+Wire Wire Line
+ 7000 4600 7000 5450
+Wire Wire Line
+ 7150 5300 7000 5300
+Connection ~ 7000 5300
+Wire Wire Line
+ 6300 4550 6050 4550
+Connection ~ 6300 4300
+Wire Wire Line
+ 6700 4400 6300 4400
+Connection ~ 6300 4400
+Wire Wire Line
+ 3200 3450 3200 5900
+Wire Wire Line
+ 3200 5900 9450 5900
+Wire Wire Line
+ 9450 5900 9450 4800
+Wire Wire Line
+ 3800 5500 3800 5900
+Connection ~ 3800 5900
+Wire Wire Line
+ 4650 5150 4650 5900
+Connection ~ 4650 5900
+Wire Wire Line
+ 7000 5750 7000 5900
+Connection ~ 7000 5900
+Wire Wire Line
+ 6050 4950 6050 5900
+Connection ~ 6050 5900
+Wire Wire Line
+ 7450 5500 7450 5900
+Connection ~ 7450 5900
+Wire Wire Line
+ 8000 4950 8000 5900
+Connection ~ 8000 5900
+Wire Wire Line
+ 8700 5150 7650 5150
+Wire Wire Line
+ 7650 5150 7650 5000
+Wire Wire Line
+ 7650 5000 7450 5000
+Connection ~ 7450 5000
+Wire Wire Line
+ 8350 4300 8450 4300
+Wire Wire Line
+ 8450 2150 8450 4750
+Wire Wire Line
+ 8450 4750 8300 4750
+Wire Wire Line
+ 9000 5350 9000 5900
+Connection ~ 9000 5900
+Wire Wire Line
+ 9450 2150 9450 4400
+Connection ~ 8450 4300
+$Comp
+L PORT U1
+U 1 1 641906E5
+P 3800 1850
+F 0 "U1" H 3850 1950 30 0000 C CNN
+F 1 "PORT" H 3800 1850 30 0000 C CNN
+F 2 "" H 3800 1850 60 0000 C CNN
+F 3 "" H 3800 1850 60 0000 C CNN
+ 1 3800 1850
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_GND #PWR01
+U 1 1 64191056
+P 6450 6100
+F 0 "#PWR01" H 6450 5850 50 0001 C CNN
+F 1 "eSim_GND" H 6450 5950 50 0000 C CNN
+F 2 "" H 6450 6100 50 0001 C CNN
+F 3 "" H 6450 6100 50 0001 C CNN
+ 1 6450 6100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6450 6100 6450 5900
+Connection ~ 6450 5900
+Connection ~ 5650 4300
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.sub b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.sub new file mode 100644 index 00000000..b5a6248f --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX.sub @@ -0,0 +1,35 @@ +* Subcircuit IC_LM397MFX
+.subckt IC_LM397MFX net-_j1-pad1_ net-_d1-pad1_ net-_d5-pad1_ net-_q16-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\ic_lm397mfx\ic_lm397mfx.cir
+.include NPN.lib
+.include D.lib
+.include PNP.lib
+.include NJF.lib
+j1 net-_j1-pad1_ gnd net-_j1-pad3_ J2N3819
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_j1-pad1_ Q2N2907A
+q4 net-_j1-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q5 net-_q2-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q8 net-_d4-pad1_ net-_q1-pad1_ net-_q7-pad3_ Q2N2907A
+q7 net-_d2-pad1_ net-_q1-pad1_ net-_q7-pad3_ Q2N2907A
+q10 net-_q10-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+r2 net-_q1-pad1_ net-_q1-pad2_ 2k
+r3 net-_j1-pad1_ net-_q7-pad3_ 2.1k
+q2 net-_q1-pad1_ net-_j1-pad3_ net-_q2-pad3_ Q2N2222
+q3 net-_j1-pad3_ net-_q2-pad3_ gnd Q2N2222
+d2 net-_d2-pad1_ net-_d1-pad2_ 1N4148
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q6 gnd net-_d1-pad1_ net-_d1-pad2_ Q2N2907A
+q9 net-_d3-pad1_ net-_d1-pad2_ net-_q10-pad1_ Q2N2907A
+q12 net-_q11-pad1_ net-_d4-pad2_ net-_q10-pad1_ Q2N2907A
+q13 gnd net-_d5-pad1_ net-_d4-pad2_ Q2N2907A
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+d5 net-_d5-pad1_ net-_d4-pad2_ 1N4148
+r1 net-_q2-pad3_ gnd 4.8k
+q11 net-_q11-pad1_ net-_d3-pad1_ gnd Q2N2222
+d3 net-_d3-pad1_ gnd 1N4148
+q14 net-_q14-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q15 net-_q14-pad1_ net-_q11-pad1_ gnd Q2N2222
+q16 net-_q16-pad1_ net-_q14-pad1_ gnd Q2N2222
+* Control Statements
+
+.ends IC_LM397MFX
\ No newline at end of file diff --git a/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX_Previous_Values.xml b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX_Previous_Values.xml new file mode 100644 index 00000000..4d0d8f2a --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/IC_LM397MFX_Previous_Values.xml @@ -0,0 +1 @@ +<KicadtoNgspice><source /><model /><devicemodel><j1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q4><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q5><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q10><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q6><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q9><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q13><d4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><d5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d5><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><d3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q14><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16></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" /><field2 name="Step Time" /><field3 name="Stop Time" /><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/library/SubcircuitLibrary/IC_LM397MFX/NJF.lib b/library/SubcircuitLibrary/IC_LM397MFX/NJF.lib new file mode 100644 index 00000000..c3af26e8 --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/NJF.lib @@ -0,0 +1,4 @@ +.model J2N3819 NJF(Beta=1.304m Betatce=-.5 Rd=1 Rs=1 Lambda=2.25m Vto=-3
++ Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7u
++ Vk=243.6 Cgd=1.6p M=.3622 Pb=1 Fc=.5 Cgs=2.414p Kf=9.882E-18
++ Af=1)
diff --git a/library/SubcircuitLibrary/IC_LM397MFX/NPN.lib b/library/SubcircuitLibrary/IC_LM397MFX/NPN.lib new file mode 100644 index 00000000..9c378ed8 --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/NPN.lib @@ -0,0 +1,4 @@ +.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/IC_LM397MFX/PNP.lib b/library/SubcircuitLibrary/IC_LM397MFX/PNP.lib new file mode 100644 index 00000000..0eaa3e25 --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/PNP.lib @@ -0,0 +1,4 @@ +.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/IC_LM397MFX/README.md b/library/SubcircuitLibrary/IC_LM397MFX/README.md new file mode 100644 index 00000000..b2107de0 --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/README.md @@ -0,0 +1,16 @@ + +# IC_LM397MFX IC + +LM397MFX is a Single General-Purpose Voltage Comparator IC. + + +## Documentation + +To know the details of LM397MFX IC please go through with the documentation : [LM397MFX_datasheet](https://www.ti.com/lit/ds/symlink/lm397.pdf?ts=1690183083144&ref_url=https%253A%252F%252Fwww.google.com%252F) + + +## Contributer + +Name: Hrittika Ghosh +Year: 2023 +Position: FOSSEE Winter Intern 2023 diff --git a/library/SubcircuitLibrary/IC_LM397MFX/analysis b/library/SubcircuitLibrary/IC_LM397MFX/analysis new file mode 100644 index 00000000..ebd5c0a9 --- /dev/null +++ b/library/SubcircuitLibrary/IC_LM397MFX/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00
\ No newline at end of file |