summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEyantra698Sumanto2023-07-24 14:07:03 +0530
committerEyantra698Sumanto2023-07-24 14:07:03 +0530
commit23726b6549b555dc4e526b2b7c1df2eb5cfcebe4 (patch)
treeea094f2950dc0ba882188e2dce8adf3c458a0ccc
parentf3276cef09f0ecb981e380adc268747b0ff2ac73 (diff)
downloadeSim-23726b6549b555dc4e526b2b7c1df2eb5cfcebe4.tar.gz
eSim-23726b6549b555dc4e526b2b7c1df2eb5cfcebe4.tar.bz2
eSim-23726b6549b555dc4e526b2b7c1df2eb5cfcebe4.zip
LM386 is An Audio Power Amplifier IC
-rw-r--r--library/SubcircuitLibrary/IC_LM386/D.lib2
-rw-r--r--library/SubcircuitLibrary/IC_LM386/IC_LM386-cache.lib126
-rw-r--r--library/SubcircuitLibrary/IC_LM386/IC_LM386.cir30
-rw-r--r--library/SubcircuitLibrary/IC_LM386/IC_LM386.cir.out34
-rw-r--r--library/SubcircuitLibrary/IC_LM386/IC_LM386.pro71
-rw-r--r--library/SubcircuitLibrary/IC_LM386/IC_LM386.sch463
-rw-r--r--library/SubcircuitLibrary/IC_LM386/IC_LM386.sub28
-rw-r--r--library/SubcircuitLibrary/IC_LM386/IC_LM386_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/IC_LM386/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/IC_LM386/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/IC_LM386/README.md16
-rw-r--r--library/SubcircuitLibrary/IC_LM386/analysis1
12 files changed, 780 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/IC_LM386/D.lib b/library/SubcircuitLibrary/IC_LM386/D.lib
new file mode 100644
index 00000000..513550fa
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/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_LM386/IC_LM386-cache.lib b/library/SubcircuitLibrary/IC_LM386/IC_LM386-cache.lib
new file mode 100644
index 00000000..6184ddb3
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/IC_LM386-cache.lib
@@ -0,0 +1,126 @@
+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_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_LM386/IC_LM386.cir b/library/SubcircuitLibrary/IC_LM386/IC_LM386.cir
new file mode 100644
index 00000000..762a03ee
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/IC_LM386.cir
@@ -0,0 +1,30 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\IC_LM386\IC_LM386.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 03/29/23 12:44:35
+
+* 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: /
+R1 Net-_Q9-Pad1_ Net-_R1-Pad2_ 15k
+R2 Net-_R1-Pad2_ Net-_Q2-Pad3_ 15k
+R3 Net-_Q2-Pad3_ Net-_R3-Pad2_ 150
+R4 Net-_R3-Pad2_ Net-_Q5-Pad3_ 1.35k
+R5 Net-_Q5-Pad3_ Net-_D1-Pad2_ 15k
+Q2 Net-_Q2-Pad1_ Net-_Q1-Pad3_ Net-_Q2-Pad3_ eSim_PNP
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q5 Net-_Q4-Pad1_ Net-_Q5-Pad2_ Net-_Q5-Pad3_ eSim_PNP
+Q6 Net-_Q1-Pad1_ Net-_Q6-Pad2_ Net-_Q5-Pad2_ eSim_PNP
+Q3 Net-_Q2-Pad1_ Net-_Q2-Pad1_ Net-_Q1-Pad1_ eSim_NPN
+Q4 Net-_Q4-Pad1_ Net-_Q2-Pad1_ Net-_Q1-Pad1_ eSim_NPN
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+D2 Net-_D1-Pad2_ Net-_D2-Pad2_ eSim_Diode
+Q7 Net-_D2-Pad2_ Net-_Q4-Pad1_ Net-_Q1-Pad1_ eSim_NPN
+Q8 Net-_Q10-Pad2_ Net-_D2-Pad2_ Net-_D1-Pad2_ eSim_PNP
+Q9 Net-_Q9-Pad1_ Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_NPN
+Q10 Net-_D1-Pad2_ Net-_Q10-Pad2_ Net-_Q1-Pad1_ eSim_NPN
+R6 Net-_Q6-Pad2_ Net-_Q1-Pad1_ 50k
+R7 Net-_Q9-Pad1_ Net-_D1-Pad1_ 5k
+U1 Net-_Q1-Pad2_ Net-_R1-Pad2_ Net-_R3-Pad2_ Net-_Q5-Pad3_ Net-_Q6-Pad2_ Net-_Q9-Pad1_ Net-_D1-Pad2_ Net-_Q1-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/IC_LM386/IC_LM386.cir.out b/library/SubcircuitLibrary/IC_LM386/IC_LM386.cir.out
new file mode 100644
index 00000000..8272882b
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/IC_LM386.cir.out
@@ -0,0 +1,34 @@
+* c:\fossee\esim\library\subcircuitlibrary\ic_lm386\ic_lm386.cir
+
+.include PNP.lib
+.include NPN.lib
+.include D.lib
+r1 net-_q9-pad1_ net-_r1-pad2_ 15k
+r2 net-_r1-pad2_ net-_q2-pad3_ 15k
+r3 net-_q2-pad3_ net-_r3-pad2_ 150
+r4 net-_r3-pad2_ net-_q5-pad3_ 1.35k
+r5 net-_q5-pad3_ net-_d1-pad2_ 15k
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_q2-pad3_ Q2N2907A
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_q4-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2907A
+q6 net-_q1-pad1_ net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+q4 net-_q4-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+q7 net-_d2-pad2_ net-_q4-pad1_ net-_q1-pad1_ Q2N2222
+q8 net-_q10-pad2_ net-_d2-pad2_ net-_d1-pad2_ Q2N2907A
+q9 net-_q9-pad1_ net-_d1-pad1_ net-_d1-pad2_ Q2N2222
+q10 net-_d1-pad2_ net-_q10-pad2_ net-_q1-pad1_ Q2N2222
+r6 net-_q6-pad2_ net-_q1-pad1_ 50k
+r7 net-_q9-pad1_ net-_d1-pad1_ 5k
+* u1 net-_q1-pad2_ net-_r1-pad2_ net-_r3-pad2_ net-_q5-pad3_ net-_q6-pad2_ net-_q9-pad1_ net-_d1-pad2_ net-_q1-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_LM386/IC_LM386.pro b/library/SubcircuitLibrary/IC_LM386/IC_LM386.pro
new file mode 100644
index 00000000..22f2d439
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/IC_LM386.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_LM386/IC_LM386.sch b/library/SubcircuitLibrary/IC_LM386/IC_LM386.sch
new file mode 100644
index 00000000..664462a4
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/IC_LM386.sch
@@ -0,0 +1,463 @@
+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_LM386-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 resistor R1
+U 1 1 641FE287
+P 4300 3050
+F 0 "R1" H 4350 3180 50 0000 C CNN
+F 1 "15k" H 4350 3000 50 0000 C CNN
+F 2 "" H 4350 3030 30 0000 C CNN
+F 3 "" V 4350 3100 30 0000 C CNN
+ 1 4300 3050
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 641FE2A0
+P 4300 3550
+F 0 "R2" H 4350 3680 50 0000 C CNN
+F 1 "15k" H 4350 3500 50 0000 C CNN
+F 2 "" H 4350 3530 30 0000 C CNN
+F 3 "" V 4350 3600 30 0000 C CNN
+ 1 4300 3550
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 641FE2C1
+P 4600 4050
+F 0 "R3" H 4650 4180 50 0000 C CNN
+F 1 "150" H 4650 4000 50 0000 C CNN
+F 2 "" H 4650 4030 30 0000 C CNN
+F 3 "" V 4650 4100 30 0000 C CNN
+ 1 4600 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 641FE2E0
+P 5150 4050
+F 0 "R4" H 5200 4180 50 0000 C CNN
+F 1 "1.35k" H 5200 4000 50 0000 C CNN
+F 2 "" H 5200 4030 30 0000 C CNN
+F 3 "" V 5200 4100 30 0000 C CNN
+ 1 5150 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 641FE3C5
+P 6250 4050
+F 0 "R5" H 6300 4180 50 0000 C CNN
+F 1 "15k" H 6300 4000 50 0000 C CNN
+F 2 "" H 6300 4030 30 0000 C CNN
+F 3 "" V 6300 4100 30 0000 C CNN
+ 1 6250 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 641FE3EC
+P 4250 4450
+F 0 "Q2" H 4150 4500 50 0000 R CNN
+F 1 "eSim_PNP" H 4200 4600 50 0000 R CNN
+F 2 "" H 4450 4550 29 0000 C CNN
+F 3 "" H 4250 4450 60 0000 C CNN
+ 1 4250 4450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 641FE423
+P 3700 4850
+F 0 "Q1" H 3600 4900 50 0000 R CNN
+F 1 "eSim_PNP" H 3650 5000 50 0000 R CNN
+F 2 "" H 3900 4950 29 0000 C CNN
+F 3 "" H 3700 4850 60 0000 C CNN
+ 1 3700 4850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 641FE44A
+P 5650 4450
+F 0 "Q5" H 5550 4500 50 0000 R CNN
+F 1 "eSim_PNP" H 5600 4600 50 0000 R CNN
+F 2 "" H 5850 4550 29 0000 C CNN
+F 3 "" H 5650 4450 60 0000 C CNN
+ 1 5650 4450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 641FE47B
+P 6150 4850
+F 0 "Q6" H 6050 4900 50 0000 R CNN
+F 1 "eSim_PNP" H 6100 5000 50 0000 R CNN
+F 2 "" H 6350 4950 29 0000 C CNN
+F 3 "" H 6150 4850 60 0000 C CNN
+ 1 6150 4850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 641FE52E
+P 4450 5600
+F 0 "Q3" H 4350 5650 50 0000 R CNN
+F 1 "eSim_NPN" H 4400 5750 50 0000 R CNN
+F 2 "" H 4650 5700 29 0000 C CNN
+F 3 "" H 4450 5600 60 0000 C CNN
+ 1 4450 5600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 641FE561
+P 5450 5600
+F 0 "Q4" H 5350 5650 50 0000 R CNN
+F 1 "eSim_NPN" H 5400 5750 50 0000 R CNN
+F 2 "" H 5650 5700 29 0000 C CNN
+F 3 "" H 5450 5600 60 0000 C CNN
+ 1 5450 5600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 641FE592
+P 7050 3650
+F 0 "D1" H 7050 3750 50 0000 C CNN
+F 1 "eSim_Diode" H 7050 3550 50 0000 C CNN
+F 2 "" H 7050 3650 60 0000 C CNN
+F 3 "" H 7050 3650 60 0000 C CNN
+ 1 7050 3650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 641FE5C3
+P 7050 4400
+F 0 "D2" H 7050 4500 50 0000 C CNN
+F 1 "eSim_Diode" H 7050 4300 50 0000 C CNN
+F 2 "" H 7050 4400 60 0000 C CNN
+F 3 "" H 7050 4400 60 0000 C CNN
+ 1 7050 4400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 6420528C
+P 6950 5600
+F 0 "Q7" H 6850 5650 50 0000 R CNN
+F 1 "eSim_NPN" H 6900 5750 50 0000 R CNN
+F 2 "" H 7150 5700 29 0000 C CNN
+F 3 "" H 6950 5600 60 0000 C CNN
+ 1 6950 5600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q8
+U 1 1 642052CF
+P 7400 4800
+F 0 "Q8" H 7300 4850 50 0000 R CNN
+F 1 "eSim_PNP" H 7350 4950 50 0000 R CNN
+F 2 "" H 7600 4900 29 0000 C CNN
+F 3 "" H 7400 4800 60 0000 C CNN
+ 1 7400 4800
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 64205306
+P 7750 3500
+F 0 "Q9" H 7650 3550 50 0000 R CNN
+F 1 "eSim_NPN" H 7700 3650 50 0000 R CNN
+F 2 "" H 7950 3600 29 0000 C CNN
+F 3 "" H 7750 3500 60 0000 C CNN
+ 1 7750 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 64205357
+P 7750 5350
+F 0 "Q10" H 7650 5400 50 0000 R CNN
+F 1 "eSim_NPN" H 7700 5500 50 0000 R CNN
+F 2 "" H 7950 5450 29 0000 C CNN
+F 3 "" H 7750 5350 60 0000 C CNN
+ 1 7750 5350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4350 3750 4350 4250
+Wire Wire Line
+ 4350 4000 4500 4000
+Wire Wire Line
+ 4800 4000 5050 4000
+Wire Wire Line
+ 5350 4000 6150 4000
+Wire Wire Line
+ 6450 4000 8100 4000
+Wire Wire Line
+ 7050 3800 7050 4250
+Connection ~ 7050 4000
+Connection ~ 4350 4000
+Wire Wire Line
+ 5550 3850 5550 4250
+Connection ~ 5550 4000
+Wire Wire Line
+ 3800 4650 3800 4450
+Wire Wire Line
+ 3800 4450 4050 4450
+Wire Wire Line
+ 5850 4450 6050 4450
+Wire Wire Line
+ 6050 4450 6050 4650
+Wire Wire Line
+ 4350 5400 4350 4650
+Wire Wire Line
+ 5550 5400 5550 4650
+Wire Wire Line
+ 4650 5600 5250 5600
+Wire Wire Line
+ 4350 5150 4750 5150
+Wire Wire Line
+ 4750 5150 4750 5600
+Connection ~ 4750 5600
+Connection ~ 4350 5150
+Wire Wire Line
+ 3800 5050 3800 6050
+Wire Wire Line
+ 3800 6050 8100 6050
+Wire Wire Line
+ 4350 6050 4350 5800
+Wire Wire Line
+ 7850 3700 7850 5150
+Wire Wire Line
+ 7500 4600 7500 4500
+Wire Wire Line
+ 7500 4500 7850 4500
+Connection ~ 7850 4500
+Wire Wire Line
+ 7050 4550 7050 5400
+Wire Wire Line
+ 7200 4800 7050 4800
+Connection ~ 7050 4800
+Wire Wire Line
+ 7500 5000 7500 5350
+Wire Wire Line
+ 7500 5350 7550 5350
+Wire Wire Line
+ 7850 6050 7850 5550
+Connection ~ 4350 6050
+Wire Wire Line
+ 5550 5800 5550 6050
+Connection ~ 5550 6050
+Wire Wire Line
+ 6050 5050 6050 6050
+Connection ~ 6050 6050
+$Comp
+L resistor R6
+U 1 1 64205A0B
+P 6300 5350
+F 0 "R6" H 6350 5480 50 0000 C CNN
+F 1 "50k" H 6350 5300 50 0000 C CNN
+F 2 "" H 6350 5330 30 0000 C CNN
+F 3 "" V 6350 5400 30 0000 C CNN
+ 1 6300 5350
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 6350 4850 6350 5250
+Wire Wire Line
+ 6750 5600 5750 5600
+Wire Wire Line
+ 5750 5600 5750 5200
+Wire Wire Line
+ 5750 5200 5550 5200
+Connection ~ 5550 5200
+Wire Wire Line
+ 6350 5550 6350 6050
+Connection ~ 6350 6050
+$Comp
+L resistor R7
+U 1 1 64205F94
+P 7000 3050
+F 0 "R7" H 7050 3180 50 0000 C CNN
+F 1 "5k" H 7050 3000 50 0000 C CNN
+F 2 "" H 7050 3030 30 0000 C CNN
+F 3 "" V 7050 3100 30 0000 C CNN
+ 1 7000 3050
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4350 2950 4350 2700
+Wire Wire Line
+ 4350 2700 8100 2700
+Wire Wire Line
+ 7850 2700 7850 3300
+Wire Wire Line
+ 7050 2950 7050 2700
+Connection ~ 7050 2700
+Wire Wire Line
+ 4350 3250 4350 3450
+Wire Wire Line
+ 7050 3250 7050 3500
+Wire Wire Line
+ 7050 3500 7550 3500
+Connection ~ 7850 4000
+Wire Wire Line
+ 7050 5800 7050 6050
+Connection ~ 7050 6050
+$Comp
+L PORT U1
+U 2 1 64207110
+P 3850 3350
+F 0 "U1" H 3900 3450 30 0000 C CNN
+F 1 "PORT" H 3850 3350 30 0000 C CNN
+F 2 "" H 3850 3350 60 0000 C CNN
+F 3 "" H 3850 3350 60 0000 C CNN
+ 2 3850 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 6420714F
+P 3050 4850
+F 0 "U1" H 3100 4950 30 0000 C CNN
+F 1 "PORT" H 3050 4850 30 0000 C CNN
+F 2 "" H 3050 4850 60 0000 C CNN
+F 3 "" H 3050 4850 60 0000 C CNN
+ 1 3050 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 642071DE
+P 8350 2700
+F 0 "U1" H 8400 2800 30 0000 C CNN
+F 1 "PORT" H 8350 2700 30 0000 C CNN
+F 2 "" H 8350 2700 60 0000 C CNN
+F 3 "" H 8350 2700 60 0000 C CNN
+ 6 8350 2700
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 64207223
+P 8350 4000
+F 0 "U1" H 8400 4100 30 0000 C CNN
+F 1 "PORT" H 8350 4000 30 0000 C CNN
+F 2 "" H 8350 4000 60 0000 C CNN
+F 3 "" H 8350 4000 60 0000 C CNN
+ 7 8350 4000
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 6420728A
+P 8350 6050
+F 0 "U1" H 8400 6150 30 0000 C CNN
+F 1 "PORT" H 8350 6050 30 0000 C CNN
+F 2 "" H 8350 6050 60 0000 C CNN
+F 3 "" H 8350 6050 60 0000 C CNN
+ 8 8350 6050
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6420731D
+P 4950 3600
+F 0 "U1" H 5000 3700 30 0000 C CNN
+F 1 "PORT" H 4950 3600 30 0000 C CNN
+F 2 "" H 4950 3600 60 0000 C CNN
+F 3 "" H 4950 3600 60 0000 C CNN
+ 3 4950 3600
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6420736E
+P 5550 3600
+F 0 "U1" H 5600 3700 30 0000 C CNN
+F 1 "PORT" H 5550 3600 30 0000 C CNN
+F 2 "" H 5550 3600 60 0000 C CNN
+F 3 "" H 5550 3600 60 0000 C CNN
+ 4 5550 3600
+ 0 1 1 0
+$EndComp
+Connection ~ 7850 6050
+Wire Wire Line
+ 4950 3850 4950 4000
+Connection ~ 4950 4000
+Wire Wire Line
+ 3300 4850 3500 4850
+Wire Wire Line
+ 4100 3350 4350 3350
+Connection ~ 4350 3350
+Connection ~ 7850 2700
+$Comp
+L PORT U1
+U 5 1 6420A0F6
+P 6750 4850
+F 0 "U1" H 6800 4950 30 0000 C CNN
+F 1 "PORT" H 6750 4850 30 0000 C CNN
+F 2 "" H 6750 4850 60 0000 C CNN
+F 3 "" H 6750 4850 60 0000 C CNN
+ 5 6750 4850
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 6500 4850 6350 4850
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/IC_LM386/IC_LM386.sub b/library/SubcircuitLibrary/IC_LM386/IC_LM386.sub
new file mode 100644
index 00000000..9de14c5f
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/IC_LM386.sub
@@ -0,0 +1,28 @@
+* Subcircuit IC_LM386
+.subckt IC_LM386 net-_q1-pad2_ net-_r1-pad2_ net-_r3-pad2_ net-_q5-pad3_ net-_q6-pad2_ net-_q9-pad1_ net-_d1-pad2_ net-_q1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\ic_lm386\ic_lm386.cir
+.include PNP.lib
+.include NPN.lib
+.include D.lib
+r1 net-_q9-pad1_ net-_r1-pad2_ 15k
+r2 net-_r1-pad2_ net-_q2-pad3_ 15k
+r3 net-_q2-pad3_ net-_r3-pad2_ 150
+r4 net-_r3-pad2_ net-_q5-pad3_ 1.35k
+r5 net-_q5-pad3_ net-_d1-pad2_ 15k
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_q2-pad3_ Q2N2907A
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_q4-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2907A
+q6 net-_q1-pad1_ net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+q4 net-_q4-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+q7 net-_d2-pad2_ net-_q4-pad1_ net-_q1-pad1_ Q2N2222
+q8 net-_q10-pad2_ net-_d2-pad2_ net-_d1-pad2_ Q2N2907A
+q9 net-_q9-pad1_ net-_d1-pad1_ net-_d1-pad2_ Q2N2222
+q10 net-_d1-pad2_ net-_q10-pad2_ net-_q1-pad1_ Q2N2222
+r6 net-_q6-pad2_ net-_q1-pad1_ 50k
+r7 net-_q9-pad1_ net-_d1-pad1_ 5k
+* Control Statements
+
+.ends IC_LM386 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/IC_LM386/IC_LM386_Previous_Values.xml b/library/SubcircuitLibrary/IC_LM386/IC_LM386_Previous_Values.xml
new file mode 100644
index 00000000..5a0ae808
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/IC_LM386_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q5><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q6><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10></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_LM386/NPN.lib b/library/SubcircuitLibrary/IC_LM386/NPN.lib
new file mode 100644
index 00000000..9c378ed8
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/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_LM386/PNP.lib b/library/SubcircuitLibrary/IC_LM386/PNP.lib
new file mode 100644
index 00000000..0eaa3e25
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/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_LM386/README.md b/library/SubcircuitLibrary/IC_LM386/README.md
new file mode 100644
index 00000000..88482e8e
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/README.md
@@ -0,0 +1,16 @@
+
+# IC_LM386 IC
+
+LM386 is a audio power amplifier IC.
+
+
+## Documentation
+
+To know the details of LM386 IC please go through with the documentation : [LM386_datasheet](https://www.ti.com/lit/ds/symlink/lm386.pdf?ts=1690187127880&ref_url=https%253A%252F%252Fwww.google.co.in%252F)
+
+
+## Contributer
+
+Name: Hrittika Ghosh
+Year: 2023
+Position: FOSSEE Winter Intern 2023
diff --git a/library/SubcircuitLibrary/IC_LM386/analysis b/library/SubcircuitLibrary/IC_LM386/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/IC_LM386/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file