From eacf5ca52184c22dfb8f9e01789acda4ab96dcf3 Mon Sep 17 00:00:00 2001 From: Sumanto Kar Date: Thu, 21 Nov 2024 20:48:18 +0530 Subject: LM380 is a 2.5W audio power amplifier --- library/SubcircuitLibrary/LM380_sub/D.lib | 2 + .../LM380_sub/LM380_sub-cache.lib | 145 +++++ library/SubcircuitLibrary/LM380_sub/LM380_sub.cir | 34 ++ .../SubcircuitLibrary/LM380_sub/LM380_sub.cir.out | 38 ++ library/SubcircuitLibrary/LM380_sub/LM380_sub.pro | 73 +++ library/SubcircuitLibrary/LM380_sub/LM380_sub.sch | 622 +++++++++++++++++++++ library/SubcircuitLibrary/LM380_sub/LM380_sub.sub | 32 ++ .../LM380_sub/LM380_sub_Previous_Values.xml | 1 + library/SubcircuitLibrary/LM380_sub/NPN.lib | 4 + library/SubcircuitLibrary/LM380_sub/PNP.lib | 4 + library/SubcircuitLibrary/LM380_sub/analysis | 1 + 11 files changed, 956 insertions(+) create mode 100644 library/SubcircuitLibrary/LM380_sub/D.lib create mode 100644 library/SubcircuitLibrary/LM380_sub/LM380_sub-cache.lib create mode 100644 library/SubcircuitLibrary/LM380_sub/LM380_sub.cir create mode 100644 library/SubcircuitLibrary/LM380_sub/LM380_sub.cir.out create mode 100644 library/SubcircuitLibrary/LM380_sub/LM380_sub.pro create mode 100644 library/SubcircuitLibrary/LM380_sub/LM380_sub.sch create mode 100644 library/SubcircuitLibrary/LM380_sub/LM380_sub.sub create mode 100644 library/SubcircuitLibrary/LM380_sub/LM380_sub_Previous_Values.xml create mode 100644 library/SubcircuitLibrary/LM380_sub/NPN.lib create mode 100644 library/SubcircuitLibrary/LM380_sub/PNP.lib create mode 100644 library/SubcircuitLibrary/LM380_sub/analysis diff --git a/library/SubcircuitLibrary/LM380_sub/D.lib b/library/SubcircuitLibrary/LM380_sub/D.lib new file mode 100644 index 00000000..f53bf3e0 --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/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/LM380_sub/LM380_sub-cache.lib b/library/SubcircuitLibrary/LM380_sub/LM380_sub-cache.lib new file mode 100644 index 00000000..d80602ef --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/LM380_sub-cache.lib @@ -0,0 +1,145 @@ +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_C +# +DEF eSim_C C 0 10 N Y 1 F N +F0 "C" 25 100 50 H V L CNN +F1 "eSim_C" 25 -100 50 H V L CNN +F2 "" 38 -150 30 H V C CNN +F3 "" 0 0 60 H V C CNN +ALIAS capacitor +$FPLIST + C_* +$ENDFPLIST +DRAW +P 2 0 1 20 -80 -30 80 -30 N +P 2 0 1 20 -80 30 80 30 N +X ~ 1 0 150 110 D 40 40 1 1 P +X ~ 2 0 -150 110 U 40 40 1 1 P +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/LM380_sub/LM380_sub.cir b/library/SubcircuitLibrary/LM380_sub/LM380_sub.cir new file mode 100644 index 00000000..7010d935 --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/LM380_sub.cir @@ -0,0 +1,34 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM380_sub\LM380_sub.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 17/06/2024 11:51:25 PM + +* 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: / +Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP +Q2 Net-_Q2-Pad1_ Net-_Q1-Pad3_ Net-_Q2-Pad3_ eSim_PNP +Q5 Net-_C1-Pad1_ Net-_Q5-Pad2_ Net-_Q5-Pad3_ eSim_PNP +Q4 Net-_Q4-Pad1_ Net-_Q4-Pad1_ Net-_Q11-Pad1_ eSim_PNP +Q7 Net-_Q1-Pad1_ Net-_Q7-Pad2_ Net-_Q5-Pad2_ eSim_PNP +Q3 Net-_Q2-Pad1_ Net-_Q2-Pad1_ Net-_Q1-Pad1_ eSim_NPN +Q6 Net-_C1-Pad1_ Net-_Q2-Pad1_ Net-_Q1-Pad1_ eSim_NPN +Q11 Net-_Q11-Pad1_ Net-_D1-Pad1_ Net-_Q11-Pad3_ eSim_NPN +Q12 Net-_Q10-Pad3_ Net-_Q10-Pad1_ Net-_Q1-Pad1_ eSim_NPN +Q9 Net-_C1-Pad2_ Net-_C1-Pad1_ Net-_Q1-Pad1_ eSim_NPN +Q8 Net-_D1-Pad1_ Net-_Q4-Pad1_ Net-_Q11-Pad1_ eSim_PNP +Q10 Net-_Q10-Pad1_ Net-_C1-Pad2_ Net-_Q10-Pad3_ eSim_PNP +R1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ 150k +R4 Net-_Q2-Pad3_ Net-_Q5-Pad3_ 125K +R3 Net-_Q2-Pad3_ Net-_R2-Pad1_ 17.5K +R2 Net-_R2-Pad1_ Net-_Q4-Pad1_ 17.5k +R5 Net-_Q5-Pad3_ Net-_R5-Pad2_ 22.5K +R6 Net-_Q1-Pad1_ Net-_Q7-Pad2_ 150K +R7 Net-_R5-Pad2_ Net-_Q11-Pad3_ 0.5 +R8 Net-_Q10-Pad3_ Net-_R5-Pad2_ 0.5 +C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 10pF +D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode +D2 Net-_D1-Pad2_ Net-_C1-Pad2_ eSim_Diode +U1 Net-_R2-Pad1_ Net-_Q7-Pad2_ Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad1_ Net-_R5-Pad2_ Net-_Q11-Pad1_ Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q11-Pad1_ Net-_Q11-Pad1_ PORT + +.end diff --git a/library/SubcircuitLibrary/LM380_sub/LM380_sub.cir.out b/library/SubcircuitLibrary/LM380_sub/LM380_sub.cir.out new file mode 100644 index 00000000..e37bfaa3 --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/LM380_sub.cir.out @@ -0,0 +1,38 @@ +* c:\fossee\esim\library\subcircuitlibrary\lm380_sub\lm380_sub.cir + +.include NPN.lib +.include D.lib +.include PNP.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A +q2 net-_q2-pad1_ net-_q1-pad3_ net-_q2-pad3_ Q2N2907A +q5 net-_c1-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2907A +q4 net-_q4-pad1_ net-_q4-pad1_ net-_q11-pad1_ Q2N2907A +q7 net-_q1-pad1_ net-_q7-pad2_ net-_q5-pad2_ Q2N2907A +q3 net-_q2-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222 +q6 net-_c1-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222 +q11 net-_q11-pad1_ net-_d1-pad1_ net-_q11-pad3_ Q2N2222 +q12 net-_q10-pad3_ net-_q10-pad1_ net-_q1-pad1_ Q2N2222 +q9 net-_c1-pad2_ net-_c1-pad1_ net-_q1-pad1_ Q2N2222 +q8 net-_d1-pad1_ net-_q4-pad1_ net-_q11-pad1_ Q2N2907A +q10 net-_q10-pad1_ net-_c1-pad2_ net-_q10-pad3_ Q2N2907A +r1 net-_q1-pad1_ net-_q1-pad2_ 150k +r4 net-_q2-pad3_ net-_q5-pad3_ 125k +r3 net-_q2-pad3_ net-_r2-pad1_ 17.5k +r2 net-_r2-pad1_ net-_q4-pad1_ 17.5k +r5 net-_q5-pad3_ net-_r5-pad2_ 22.5k +r6 net-_q1-pad1_ net-_q7-pad2_ 150k +r7 net-_r5-pad2_ net-_q11-pad3_ 0.5 +r8 net-_q10-pad3_ net-_r5-pad2_ 0.5 +c1 net-_c1-pad1_ net-_c1-pad2_ 10pf +d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148 +d2 net-_d1-pad2_ net-_c1-pad2_ 1N4148 +* u1 net-_r2-pad1_ net-_q7-pad2_ net-_q1-pad1_ net-_q1-pad1_ net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad1_ net-_r5-pad2_ net-_q11-pad1_ net-_q1-pad1_ net-_q1-pad1_ net-_q1-pad1_ net-_q11-pad1_ net-_q11-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/LM380_sub/LM380_sub.pro b/library/SubcircuitLibrary/LM380_sub/LM380_sub.pro new file mode 100644 index 00000000..e27a398b --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/LM380_sub.pro @@ -0,0 +1,73 @@ +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 +LibName39=eSim_SKY130 +LibName40=eSim_SKY130_Subckts diff --git a/library/SubcircuitLibrary/LM380_sub/LM380_sub.sch b/library/SubcircuitLibrary/LM380_sub/LM380_sub.sch new file mode 100644 index 00000000..1bcd36e5 --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/LM380_sub.sch @@ -0,0 +1,622 @@ +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:eSim_SKY130 +LIBS:eSim_SKY130_Subckts +LIBS:LM380-cache +LIBS:lm384_sub-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 eSim_PNP Q1 +U 1 1 6670CFB1 +P 3150 5000 +F 0 "Q1" H 3050 5050 50 0000 R CNN +F 1 "eSim_PNP" H 3100 5150 50 0000 R CNN +F 2 "" H 3350 5100 29 0000 C CNN +F 3 "" H 3150 5000 60 0000 C CNN + 1 3150 5000 + 1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q2 +U 1 1 6670CFB2 +P 3850 4700 +F 0 "Q2" H 3750 4750 50 0000 R CNN +F 1 "eSim_PNP" H 3800 4850 50 0000 R CNN +F 2 "" H 4050 4800 29 0000 C CNN +F 3 "" H 3850 4700 60 0000 C CNN + 1 3850 4700 + 1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q5 +U 1 1 6670CFB3 +P 4850 4700 +F 0 "Q5" H 4750 4750 50 0000 R CNN +F 1 "eSim_PNP" H 4800 4850 50 0000 R CNN +F 2 "" H 5050 4800 29 0000 C CNN +F 3 "" H 4850 4700 60 0000 C CNN + 1 4850 4700 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q4 +U 1 1 6670CFB4 +P 4050 1950 +F 0 "Q4" H 3950 2000 50 0000 R CNN +F 1 "eSim_PNP" H 4000 2100 50 0000 R CNN +F 2 "" H 4250 2050 29 0000 C CNN +F 3 "" H 4050 1950 60 0000 C CNN + 1 4050 1950 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q7 +U 1 1 6670CFB5 +P 5550 5000 +F 0 "Q7" H 5450 5050 50 0000 R CNN +F 1 "eSim_PNP" H 5500 5150 50 0000 R CNN +F 2 "" H 5750 5100 29 0000 C CNN +F 3 "" H 5550 5000 60 0000 C CNN + 1 5550 5000 + -1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q3 +U 1 1 6670CFB6 +P 3850 5400 +F 0 "Q3" H 3750 5450 50 0000 R CNN +F 1 "eSim_NPN" H 3800 5550 50 0000 R CNN +F 2 "" H 4050 5500 29 0000 C CNN +F 3 "" H 3850 5400 60 0000 C CNN + 1 3850 5400 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q6 +U 1 1 6670CFB7 +P 4850 5400 +F 0 "Q6" H 4750 5450 50 0000 R CNN +F 1 "eSim_NPN" H 4800 5550 50 0000 R CNN +F 2 "" H 5050 5500 29 0000 C CNN +F 3 "" H 4850 5400 60 0000 C CNN + 1 4850 5400 + -1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q11 +U 1 1 6670CFB8 +P 8000 2350 +F 0 "Q11" H 7900 2400 50 0000 R CNN +F 1 "eSim_NPN" H 7950 2500 50 0000 R CNN +F 2 "" H 8200 2450 29 0000 C CNN +F 3 "" H 8000 2350 60 0000 C CNN + 1 8000 2350 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q12 +U 1 1 6670CFB9 +P 8000 5350 +F 0 "Q12" H 7900 5400 50 0000 R CNN +F 1 "eSim_NPN" H 7950 5500 50 0000 R CNN +F 2 "" H 8200 5450 29 0000 C CNN +F 3 "" H 8000 5350 60 0000 C CNN + 1 8000 5350 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q9 +U 1 1 6670CFBA +P 7100 5350 +F 0 "Q9" H 7000 5400 50 0000 R CNN +F 1 "eSim_NPN" H 7050 5500 50 0000 R CNN +F 2 "" H 7300 5450 29 0000 C CNN +F 3 "" H 7100 5350 60 0000 C CNN + 1 7100 5350 + 1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q8 +U 1 1 6670CFBB +P 7100 1950 +F 0 "Q8" H 7000 2000 50 0000 R CNN +F 1 "eSim_PNP" H 7050 2100 50 0000 R CNN +F 2 "" H 7300 2050 29 0000 C CNN +F 3 "" H 7100 1950 60 0000 C CNN + 1 7100 1950 + 1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q10 +U 1 1 6670CFBC +P 7700 4100 +F 0 "Q10" H 7600 4150 50 0000 R CNN +F 1 "eSim_PNP" H 7650 4250 50 0000 R CNN +F 2 "" H 7900 4200 29 0000 C CNN +F 3 "" H 7700 4100 60 0000 C CNN + 1 7700 4100 + 1 0 0 1 +$EndComp +$Comp +L resistor R1 +U 1 1 6670CFBD +P 2750 5400 +F 0 "R1" H 2800 5530 50 0000 C CNN +F 1 "150k" H 2800 5350 50 0000 C CNN +F 2 "" H 2800 5380 30 0000 C CNN +F 3 "" V 2800 5450 30 0000 C CNN + 1 2750 5400 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R4 +U 1 1 6670CFBE +P 4300 4250 +F 0 "R4" H 4350 4380 50 0000 C CNN +F 1 "125K" H 4350 4200 50 0000 C CNN +F 2 "" H 4350 4230 30 0000 C CNN +F 3 "" V 4350 4300 30 0000 C CNN + 1 4300 4250 + 1 0 0 -1 +$EndComp +$Comp +L resistor R3 +U 1 1 6670CFBF +P 4000 3700 +F 0 "R3" H 4050 3830 50 0000 C CNN +F 1 "17.5K" H 4050 3650 50 0000 C CNN +F 2 "" H 4050 3680 30 0000 C CNN +F 3 "" V 4050 3750 30 0000 C CNN + 1 4000 3700 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R2 +U 1 1 6670CFC0 +P 4000 2900 +F 0 "R2" H 4050 3030 50 0000 C CNN +F 1 "17.5k" H 4050 2850 50 0000 C CNN +F 2 "" H 4050 2880 30 0000 C CNN +F 3 "" V 4050 2950 30 0000 C CNN + 1 4000 2900 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R5 +U 1 1 6670CFC1 +P 5950 3250 +F 0 "R5" H 6000 3380 50 0000 C CNN +F 1 "22.5K" H 6000 3200 50 0000 C CNN +F 2 "" H 6000 3230 30 0000 C CNN +F 3 "" V 6000 3300 30 0000 C CNN + 1 5950 3250 + 1 0 0 -1 +$EndComp +$Comp +L resistor R6 +U 1 1 6670CFC2 +P 6050 5400 +F 0 "R6" H 6100 5530 50 0000 C CNN +F 1 "150K" H 6100 5350 50 0000 C CNN +F 2 "" H 6100 5380 30 0000 C CNN +F 3 "" V 6100 5450 30 0000 C CNN + 1 6050 5400 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R7 +U 1 1 6670CFC3 +P 8150 2900 +F 0 "R7" H 8200 3030 50 0000 C CNN +F 1 "0.5" H 8200 2850 50 0000 C CNN +F 2 "" H 8200 2880 30 0000 C CNN +F 3 "" V 8200 2950 30 0000 C CNN + 1 8150 2900 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R8 +U 1 1 6670CFC4 +P 8150 3500 +F 0 "R8" H 8200 3630 50 0000 C CNN +F 1 "0.5" H 8200 3450 50 0000 C CNN +F 2 "" H 8200 3480 30 0000 C CNN +F 3 "" V 8200 3550 30 0000 C CNN + 1 8150 3500 + 0 -1 -1 0 +$EndComp +$Comp +L capacitor C1 +U 1 1 6670CFC5 +P 6700 4200 +F 0 "C1" H 6725 4300 50 0000 L CNN +F 1 "10pF" H 6725 4100 50 0000 L CNN +F 2 "" H 6738 4050 30 0000 C CNN +F 3 "" H 6700 4200 60 0000 C CNN + 1 6700 4200 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_Diode D1 +U 1 1 6670CFC6 +P 7200 3450 +F 0 "D1" H 7200 3550 50 0000 C CNN +F 1 "eSim_Diode" H 7200 3350 50 0000 C CNN +F 2 "" H 7200 3450 60 0000 C CNN +F 3 "" H 7200 3450 60 0000 C CNN + 1 7200 3450 + 0 1 1 0 +$EndComp +$Comp +L eSim_Diode D2 +U 1 1 6670CFC7 +P 7200 3850 +F 0 "D2" H 7200 3950 50 0000 C CNN +F 1 "eSim_Diode" H 7200 3750 50 0000 C CNN +F 2 "" H 7200 3850 60 0000 C CNN +F 3 "" H 7200 3850 60 0000 C CNN + 1 7200 3850 + 0 1 1 0 +$EndComp +Wire Wire Line + 3250 4800 3250 4700 +Wire Wire Line + 3250 4700 3650 4700 +Wire Wire Line + 3950 5200 3950 4900 +Wire Wire Line + 4750 4900 4750 5200 +Wire Wire Line + 5050 4700 5450 4700 +Wire Wire Line + 5450 4700 5450 4800 +Wire Wire Line + 3950 3800 3950 4500 +Wire Wire Line + 3950 3500 3950 3000 +Wire Wire Line + 4750 4500 4750 3200 +Wire Wire Line + 4750 3200 5850 3200 +Wire Wire Line + 4500 4200 4750 4200 +Connection ~ 4750 4200 +Wire Wire Line + 4200 4200 3950 4200 +Connection ~ 3950 4200 +Wire Wire Line + 3250 5200 3250 5700 +Connection ~ 3250 5700 +Wire Wire Line + 3950 5700 3950 5600 +Connection ~ 3950 5700 +Wire Wire Line + 4750 5700 4750 5600 +Connection ~ 4750 5700 +Wire Wire Line + 6000 5500 6000 6050 +Wire Wire Line + 5450 5700 5450 5200 +Connection ~ 5450 5700 +Wire Wire Line + 5050 5400 3650 5400 +Wire Wire Line + 3650 5400 3650 5100 +Wire Wire Line + 3650 5100 3950 5100 +Connection ~ 3950 5100 +Wire Wire Line + 3950 2150 3950 2700 +Wire Wire Line + 4250 1950 6900 1950 +Wire Wire Line + 4600 1950 4600 2300 +Wire Wire Line + 4600 2300 3950 2300 +Connection ~ 3950 2300 +Connection ~ 4600 1950 +Wire Wire Line + 3950 1450 3950 1750 +Wire Wire Line + 7200 1450 7200 1750 +Wire Wire Line + 7200 2150 7200 3300 +Wire Wire Line + 7800 2350 7200 2350 +Connection ~ 7200 2350 +Wire Wire Line + 8100 2550 8100 2700 +Wire Wire Line + 8100 3000 8100 3300 +Wire Wire Line + 8100 5150 8100 3600 +Connection ~ 8100 3900 +Wire Wire Line + 7800 4300 7800 5350 +Wire Wire Line + 7200 3600 7200 3700 +Wire Wire Line + 7200 4000 7200 5150 +Wire Wire Line + 7500 4100 7200 4100 +Connection ~ 7200 4100 +Wire Wire Line + 6850 4200 7200 4200 +Connection ~ 7200 4200 +Wire Wire Line + 6550 4200 5050 4200 +Wire Wire Line + 5050 4200 5050 5050 +Wire Wire Line + 5050 5050 4750 5050 +Connection ~ 4750 5050 +Wire Wire Line + 6900 5350 6550 5350 +Wire Wire Line + 6550 5350 6550 4200 +Wire Wire Line + 7200 5700 7200 5550 +Connection ~ 6000 5700 +Connection ~ 6000 5000 +Connection ~ 7200 1700 +Connection ~ 3950 3250 +Connection ~ 8100 3200 +Wire Wire Line + 7800 3900 8100 3900 +Wire Wire Line + 2700 5200 2700 5000 +Connection ~ 2700 5000 +Wire Wire Line + 6000 5000 6000 5200 +Connection ~ 7200 1450 +Wire Wire Line + 8100 1450 8100 2150 +Connection ~ 8100 1450 +Wire Wire Line + 2700 5500 2700 5700 +Connection ~ 2700 5700 +Connection ~ 8100 5650 +Wire Wire Line + 8100 5700 8100 5550 +Connection ~ 7200 5700 +Wire Wire Line + 2700 5700 8100 5700 +Wire Wire Line + 2400 5000 2950 5000 +Wire Wire Line + 3950 1450 8350 1450 +Wire Wire Line + 6150 3200 8500 3200 +Wire Wire Line + 7400 6050 7400 5700 +Connection ~ 7400 5700 +Wire Wire Line + 6950 6050 6950 5700 +Connection ~ 6950 5700 +Wire Wire Line + 6500 6050 6500 5700 +Connection ~ 6500 5700 +Wire Wire Line + 5500 6050 5500 5700 +Connection ~ 5500 5700 +Wire Wire Line + 5050 6050 5050 5700 +Connection ~ 5050 5700 +Wire Wire Line + 4500 6050 4500 5700 +Connection ~ 4500 5700 +Wire Wire Line + 5750 5000 6100 5000 +Wire Wire Line + 3100 3250 3950 3250 +Wire Wire Line + 5150 1300 5150 1450 +Connection ~ 5150 1450 +Wire Wire Line + 5650 1300 5650 1450 +Connection ~ 5650 1450 +$Comp +L PORT U1 +U 2 1 667101CD +P 6350 5000 +F 0 "U1" H 6400 5100 30 0000 C CNN +F 1 "PORT" H 6350 5000 30 0000 C CNN +F 2 "" H 6350 5000 60 0000 C CNN +F 3 "" H 6350 5000 60 0000 C CNN + 2 6350 5000 + -1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 3 1 66710226 +P 4250 6050 +F 0 "U1" H 4300 6150 30 0000 C CNN +F 1 "PORT" H 4250 6050 30 0000 C CNN +F 2 "" H 4250 6050 60 0000 C CNN +F 3 "" H 4250 6050 60 0000 C CNN + 3 4250 6050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 13 1 667102A1 +P 5400 1300 +F 0 "U1" H 5450 1400 30 0000 C CNN +F 1 "PORT" H 5400 1300 30 0000 C CNN +F 2 "" H 5400 1300 60 0000 C CNN +F 3 "" H 5400 1300 60 0000 C CNN + 13 5400 1300 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 4 1 66710310 +P 4800 6050 +F 0 "U1" H 4850 6150 30 0000 C CNN +F 1 "PORT" H 4800 6050 30 0000 C CNN +F 2 "" H 4800 6050 60 0000 C CNN +F 3 "" H 4800 6050 60 0000 C CNN + 4 4800 6050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 5 1 66710387 +P 5250 6050 +F 0 "U1" H 5300 6150 30 0000 C CNN +F 1 "PORT" H 5250 6050 30 0000 C CNN +F 2 "" H 5250 6050 60 0000 C CNN +F 3 "" H 5250 6050 60 0000 C CNN + 5 5250 6050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 6 1 667103F6 +P 2150 5000 +F 0 "U1" H 2200 5100 30 0000 C CNN +F 1 "PORT" H 2150 5000 30 0000 C CNN +F 2 "" H 2150 5000 60 0000 C CNN +F 3 "" H 2150 5000 60 0000 C CNN + 6 2150 5000 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 7 1 6671047D +P 5750 6050 +F 0 "U1" H 5800 6150 30 0000 C CNN +F 1 "PORT" H 5750 6050 30 0000 C CNN +F 2 "" H 5750 6050 60 0000 C CNN +F 3 "" H 5750 6050 60 0000 C CNN + 7 5750 6050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 8 1 66710510 +P 8750 3200 +F 0 "U1" H 8800 3300 30 0000 C CNN +F 1 "PORT" H 8750 3200 30 0000 C CNN +F 2 "" H 8750 3200 60 0000 C CNN +F 3 "" H 8750 3200 60 0000 C CNN + 8 8750 3200 + -1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 9 1 667105BD +P 4900 1300 +F 0 "U1" H 4950 1400 30 0000 C CNN +F 1 "PORT" H 4900 1300 30 0000 C CNN +F 2 "" H 4900 1300 60 0000 C CNN +F 3 "" H 4900 1300 60 0000 C CNN + 9 4900 1300 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 10 1 66710646 +P 6250 6050 +F 0 "U1" H 6300 6150 30 0000 C CNN +F 1 "PORT" H 6250 6050 30 0000 C CNN +F 2 "" H 6250 6050 60 0000 C CNN +F 3 "" H 6250 6050 60 0000 C CNN + 10 6250 6050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 11 1 667106B1 +P 6700 6050 +F 0 "U1" H 6750 6150 30 0000 C CNN +F 1 "PORT" H 6700 6050 30 0000 C CNN +F 2 "" H 6700 6050 60 0000 C CNN +F 3 "" H 6700 6050 60 0000 C CNN + 11 6700 6050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 12 1 6671075C +P 7150 6050 +F 0 "U1" H 7200 6150 30 0000 C CNN +F 1 "PORT" H 7150 6050 30 0000 C CNN +F 2 "" H 7150 6050 60 0000 C CNN +F 3 "" H 7150 6050 60 0000 C CNN + 12 7150 6050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 14 1 667107D3 +P 8600 1450 +F 0 "U1" H 8650 1550 30 0000 C CNN +F 1 "PORT" H 8600 1450 30 0000 C CNN +F 2 "" H 8600 1450 60 0000 C CNN +F 3 "" H 8600 1450 60 0000 C CNN + 14 8600 1450 + -1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 1 1 66710872 +P 2850 3250 +F 0 "U1" H 2900 3350 30 0000 C CNN +F 1 "PORT" H 2850 3250 30 0000 C CNN +F 2 "" H 2850 3250 60 0000 C CNN +F 3 "" H 2850 3250 60 0000 C CNN + 1 2850 3250 + 1 0 0 -1 +$EndComp +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/LM380_sub/LM380_sub.sub b/library/SubcircuitLibrary/LM380_sub/LM380_sub.sub new file mode 100644 index 00000000..fb7b3227 --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/LM380_sub.sub @@ -0,0 +1,32 @@ +* Subcircuit LM380_sub +.subckt LM380_sub net-_r2-pad1_ net-_q7-pad2_ net-_q1-pad1_ net-_q1-pad1_ net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad1_ net-_r5-pad2_ net-_q11-pad1_ net-_q1-pad1_ net-_q1-pad1_ net-_q1-pad1_ net-_q11-pad1_ net-_q11-pad1_ +* c:\fossee\esim\library\subcircuitlibrary\lm380_sub\lm380_sub.cir +.include NPN.lib +.include D.lib +.include PNP.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A +q2 net-_q2-pad1_ net-_q1-pad3_ net-_q2-pad3_ Q2N2907A +q5 net-_c1-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2907A +q4 net-_q4-pad1_ net-_q4-pad1_ net-_q11-pad1_ Q2N2907A +q7 net-_q1-pad1_ net-_q7-pad2_ net-_q5-pad2_ Q2N2907A +q3 net-_q2-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222 +q6 net-_c1-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222 +q11 net-_q11-pad1_ net-_d1-pad1_ net-_q11-pad3_ Q2N2222 +q12 net-_q10-pad3_ net-_q10-pad1_ net-_q1-pad1_ Q2N2222 +q9 net-_c1-pad2_ net-_c1-pad1_ net-_q1-pad1_ Q2N2222 +q8 net-_d1-pad1_ net-_q4-pad1_ net-_q11-pad1_ Q2N2907A +q10 net-_q10-pad1_ net-_c1-pad2_ net-_q10-pad3_ Q2N2907A +r1 net-_q1-pad1_ net-_q1-pad2_ 150k +r4 net-_q2-pad3_ net-_q5-pad3_ 125k +r3 net-_q2-pad3_ net-_r2-pad1_ 17.5k +r2 net-_r2-pad1_ net-_q4-pad1_ 17.5k +r5 net-_q5-pad3_ net-_r5-pad2_ 22.5k +r6 net-_q1-pad1_ net-_q7-pad2_ 150k +r7 net-_r5-pad2_ net-_q11-pad3_ 0.5 +r8 net-_q10-pad3_ net-_r5-pad2_ 0.5 +c1 net-_c1-pad1_ net-_c1-pad2_ 10pf +d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148 +d2 net-_d1-pad2_ net-_c1-pad2_ 1N4148 +* Control Statements + +.ends LM380_sub \ No newline at end of file diff --git a/library/SubcircuitLibrary/LM380_sub/LM380_sub_Previous_Values.xml b/library/SubcircuitLibrary/LM380_sub/LM380_sub_Previous_Values.xml new file mode 100644 index 00000000..d1a61d87 --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/LM380_sub_Previous_Values.xml @@ -0,0 +1 @@ +C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec \ No newline at end of file diff --git a/library/SubcircuitLibrary/LM380_sub/NPN.lib b/library/SubcircuitLibrary/LM380_sub/NPN.lib new file mode 100644 index 00000000..be5f3073 --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/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/LM380_sub/PNP.lib b/library/SubcircuitLibrary/LM380_sub/PNP.lib new file mode 100644 index 00000000..7edda0ea --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/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/LM380_sub/analysis b/library/SubcircuitLibrary/LM380_sub/analysis new file mode 100644 index 00000000..ebd5c0a9 --- /dev/null +++ b/library/SubcircuitLibrary/LM380_sub/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00 \ No newline at end of file -- cgit