diff options
Diffstat (limited to 'library')
10 files changed, 1242 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT-cache.lib b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT-cache.lib new file mode 100644 index 00000000..27408fec --- /dev/null +++ b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT-cache.lib @@ -0,0 +1,138 @@ +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_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 +# +# zener +# +DEF zener U 0 40 Y Y 1 F N +F0 "U" -50 -100 60 H V C CNN +F1 "zener" 0 100 60 H V C CNN +F2 "" 50 0 60 H V C CNN +F3 "" 50 0 60 H V C CNN +DRAW +P 2 0 1 0 100 -50 50 -100 N +P 2 0 1 0 100 50 100 -50 N +P 2 0 1 0 100 50 150 100 N +P 4 0 1 0 0 50 0 -50 100 0 0 50 N +X ~ IN -200 0 200 R 50 43 1 1 I +X ~ OUT 300 0 200 L 50 43 1 1 O +ENDDRAW +ENDDEF +# +#End Library diff --git a/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.cir b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.cir new file mode 100644 index 00000000..842ce01b --- /dev/null +++ b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.cir @@ -0,0 +1,55 @@ +* C:\FOSSEE2\eSim\library\SubcircuitLibrary\LM340_5V-PORT\LM340_5V-PORT.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 06/05/24 12:39:29 + +* 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-_Q1-Pad1_ Net-_Q1-Pad2_ 80k +U2 Net-_Q16-Pad3_ Net-_Q1-Pad2_ zener +Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN +R2 Net-_Q1-Pad3_ Net-_Q3-Pad2_ 7k +R3 Net-_Q3-Pad2_ Net-_Q2-Pad2_ 4.97k +R4 Net-_Q2-Pad2_ Net-_Q16-Pad3_ 830 +Q2 Net-_Q12-Pad1_ Net-_Q2-Pad2_ Net-_Q16-Pad3_ eSim_NPN +Q3 Net-_Q3-Pad1_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN +R5 Net-_Q3-Pad3_ Net-_Q7-Pad3_ 500 +Q5 Net-_Q3-Pad1_ Net-_Q1-Pad3_ Net-_Q5-Pad3_ eSim_NPN +Q7 Net-_Q5-Pad3_ Net-_Q13-Pad2_ Net-_Q7-Pad3_ eSim_NPN +Q8 Net-_Q7-Pad3_ Net-_Q8-Pad2_ Net-_C1-Pad2_ eSim_NPN +Q4 Net-_Q3-Pad1_ Net-_Q3-Pad1_ Net-_Q1-Pad1_ eSim_PNP +Q6 Net-_Q12-Pad1_ Net-_Q3-Pad1_ Net-_Q1-Pad1_ eSim_PNP +R6 Net-_C1-Pad2_ Net-_Q16-Pad3_ 1.2k +R7 Net-_Q7-Pad3_ Net-_Q8-Pad2_ 1.9k +R8 Net-_Q8-Pad2_ Net-_C1-Pad1_ 26 +Q9 Net-_C1-Pad1_ Net-_C1-Pad2_ Net-_Q16-Pad3_ eSim_NPN +C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 4p +Q10 Net-_Q10-Pad1_ Net-_C1-Pad1_ Net-_Q10-Pad3_ eSim_NPN +R9 Net-_Q10-Pad3_ Net-_Q16-Pad3_ 12.1k +Q11 Net-_C2-Pad2_ Net-_Q10-Pad3_ Net-_Q11-Pad3_ eSim_NPN +R12 Net-_Q11-Pad3_ Net-_Q16-Pad3_ 1k +R11 Net-_Q10-Pad1_ Net-_C2-Pad2_ 16.5k +Q13 Net-_Q13-Pad1_ Net-_Q13-Pad2_ Net-_Q10-Pad1_ eSim_NPN +R10 Net-_Q12-Pad3_ Net-_R10-Pad2_ 100 +Q12 Net-_Q12-Pad1_ Net-_Q12-Pad2_ Net-_Q12-Pad3_ eSim_NPN +R14 Net-_Q1-Pad1_ Net-_R14-Pad2_ 16k +U3 Net-_Q12-Pad2_ Net-_R14-Pad2_ zener +R15 Net-_Q12-Pad2_ Net-_Q19-Pad3_ 380 +Q17 Net-_Q1-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad1_ eSim_NPN +Q19 Net-_Q1-Pad1_ Net-_Q13-Pad1_ Net-_Q19-Pad3_ eSim_NPN +R18 Net-_Q13-Pad1_ Net-_Q12-Pad2_ 1.62k +R19 Net-_Q19-Pad3_ Net-_R10-Pad2_ 0.25 +R20 Net-_R10-Pad2_ Net-_Q13-Pad2_ 1.5k +Q14 Net-_C2-Pad1_ Net-_C2-Pad2_ Net-_Q14-Pad3_ eSim_NPN +Q15 Net-_Q14-Pad3_ Net-_Q14-Pad3_ Net-_Q15-Pad3_ eSim_NPN +R13 Net-_Q15-Pad3_ Net-_Q16-Pad3_ 4k +C2 Net-_C2-Pad1_ Net-_C2-Pad2_ 20p +Q16 Net-_C2-Pad1_ Net-_Q14-Pad3_ Net-_Q16-Pad3_ eSim_NPN +R17 Net-_Q18-Pad3_ Net-_C2-Pad1_ 4k +R16 Net-_Q12-Pad1_ Net-_Q18-Pad3_ 850 +Q18 Net-_Q16-Pad3_ Net-_C2-Pad1_ Net-_Q18-Pad3_ eSim_PNP +R21 Net-_Q13-Pad2_ Net-_Q16-Pad3_ 2.67k +U1 Net-_Q16-Pad3_ Net-_Q1-Pad1_ Net-_R10-Pad2_ PORT + +.end diff --git a/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.cir.out b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.cir.out new file mode 100644 index 00000000..f3d6bd83 --- /dev/null +++ b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.cir.out @@ -0,0 +1,64 @@ +* c:\fossee2\esim\library\subcircuitlibrary\lm340_5v-port\lm340_5v-port.cir + +.include PNP.lib +.include NPN.lib +r1 net-_q1-pad1_ net-_q1-pad2_ 80k +* u2 net-_q16-pad3_ net-_q1-pad2_ zener +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222 +r2 net-_q1-pad3_ net-_q3-pad2_ 7k +r3 net-_q3-pad2_ net-_q2-pad2_ 4.97k +r4 net-_q2-pad2_ net-_q16-pad3_ 830 +q2 net-_q12-pad1_ net-_q2-pad2_ net-_q16-pad3_ Q2N2222 +q3 net-_q3-pad1_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222 +r5 net-_q3-pad3_ net-_q7-pad3_ 500 +q5 net-_q3-pad1_ net-_q1-pad3_ net-_q5-pad3_ Q2N2222 +q7 net-_q5-pad3_ net-_q13-pad2_ net-_q7-pad3_ Q2N2222 +q8 net-_q7-pad3_ net-_q8-pad2_ net-_c1-pad2_ Q2N2222 +q4 net-_q3-pad1_ net-_q3-pad1_ net-_q1-pad1_ Q2N2907A +q6 net-_q12-pad1_ net-_q3-pad1_ net-_q1-pad1_ Q2N2907A +r6 net-_c1-pad2_ net-_q16-pad3_ 1.2k +r7 net-_q7-pad3_ net-_q8-pad2_ 1.9k +r8 net-_q8-pad2_ net-_c1-pad1_ 26 +q9 net-_c1-pad1_ net-_c1-pad2_ net-_q16-pad3_ Q2N2222 +c1 net-_c1-pad1_ net-_c1-pad2_ 4p +q10 net-_q10-pad1_ net-_c1-pad1_ net-_q10-pad3_ Q2N2222 +r9 net-_q10-pad3_ net-_q16-pad3_ 12.1k +q11 net-_c2-pad2_ net-_q10-pad3_ net-_q11-pad3_ Q2N2222 +r12 net-_q11-pad3_ net-_q16-pad3_ 1k +r11 net-_q10-pad1_ net-_c2-pad2_ 16.5k +q13 net-_q13-pad1_ net-_q13-pad2_ net-_q10-pad1_ Q2N2222 +r10 net-_q12-pad3_ net-_r10-pad2_ 100 +q12 net-_q12-pad1_ net-_q12-pad2_ net-_q12-pad3_ Q2N2222 +r14 net-_q1-pad1_ net-_r14-pad2_ 16k +* u3 net-_q12-pad2_ net-_r14-pad2_ zener +r15 net-_q12-pad2_ net-_q19-pad3_ 380 +q17 net-_q1-pad1_ net-_q12-pad1_ net-_q13-pad1_ Q2N2222 +q19 net-_q1-pad1_ net-_q13-pad1_ net-_q19-pad3_ Q2N2222 +r18 net-_q13-pad1_ net-_q12-pad2_ 1.62k +r19 net-_q19-pad3_ net-_r10-pad2_ 0.25 +r20 net-_r10-pad2_ net-_q13-pad2_ 1.5k +q14 net-_c2-pad1_ net-_c2-pad2_ net-_q14-pad3_ Q2N2222 +q15 net-_q14-pad3_ net-_q14-pad3_ net-_q15-pad3_ Q2N2222 +r13 net-_q15-pad3_ net-_q16-pad3_ 4k +c2 net-_c2-pad1_ net-_c2-pad2_ 20p +q16 net-_c2-pad1_ net-_q14-pad3_ net-_q16-pad3_ Q2N2222 +r17 net-_q18-pad3_ net-_c2-pad1_ 4k +r16 net-_q12-pad1_ net-_q18-pad3_ 850 +q18 net-_q16-pad3_ net-_c2-pad1_ net-_q18-pad3_ Q2N2907A +r21 net-_q13-pad2_ net-_q16-pad3_ 2.67k +* u1 net-_q16-pad3_ net-_q1-pad1_ net-_r10-pad2_ port +a1 net-_q16-pad3_ net-_q1-pad2_ u2 +a2 net-_q12-pad2_ net-_r14-pad2_ u3 +* Schematic Name: zener, NgSpice Name: zener +.model u2 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE ) +* Schematic Name: zener, NgSpice Name: zener +.model u3 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE ) +.tran 10e-03 100e-03 0e-03 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.pro b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.pro new file mode 100644 index 00000000..e27a398b --- /dev/null +++ b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.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/LM340_5V_SUB/LM340_5V-PORT.sch b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.sch new file mode 100644 index 00000000..5f1f4e15 --- /dev/null +++ b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.sch @@ -0,0 +1,844 @@ +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:LM340_5V-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 66600FDC +P 1350 1200 +F 0 "R1" H 1400 1330 50 0000 C CNN +F 1 "80k" H 1400 1150 50 0000 C CNN +F 2 "" H 1400 1180 30 0000 C CNN +F 3 "" V 1400 1250 30 0000 C CNN + 1 1350 1200 + 0 1 1 0 +$EndComp +$Comp +L zener U2 +U 1 1 66600FDD +P 1400 4700 +F 0 "U2" H 1350 4600 60 0000 C CNN +F 1 "zener" H 1400 4800 60 0000 C CNN +F 2 "" H 1450 4700 60 0000 C CNN +F 3 "" H 1450 4700 60 0000 C CNN + 1 1400 4700 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q1 +U 1 1 66600FDE +P 1750 1950 +F 0 "Q1" H 1650 2000 50 0000 R CNN +F 1 "eSim_NPN" H 1700 2100 50 0000 R CNN +F 2 "" H 1950 2050 29 0000 C CNN +F 3 "" H 1750 1950 60 0000 C CNN + 1 1750 1950 + 1 0 0 -1 +$EndComp +$Comp +L resistor R2 +U 1 1 66600FDF +P 1800 3500 +F 0 "R2" H 1850 3630 50 0000 C CNN +F 1 "7k" H 1850 3450 50 0000 C CNN +F 2 "" H 1850 3480 30 0000 C CNN +F 3 "" V 1850 3550 30 0000 C CNN + 1 1800 3500 + 0 1 1 0 +$EndComp +$Comp +L resistor R3 +U 1 1 66600FE0 +P 1800 5350 +F 0 "R3" H 1850 5480 50 0000 C CNN +F 1 "4.97k" H 1850 5300 50 0000 C CNN +F 2 "" H 1850 5330 30 0000 C CNN +F 3 "" V 1850 5400 30 0000 C CNN + 1 1800 5350 + 0 1 1 0 +$EndComp +$Comp +L resistor R4 +U 1 1 66600FE1 +P 1800 6150 +F 0 "R4" H 1850 6280 50 0000 C CNN +F 1 "830" H 1850 6100 50 0000 C CNN +F 2 "" H 1850 6130 30 0000 C CNN +F 3 "" V 1850 6200 30 0000 C CNN + 1 1800 6150 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q2 +U 1 1 66600FE2 +P 2200 5800 +F 0 "Q2" H 2100 5850 50 0000 R CNN +F 1 "eSim_NPN" H 2150 5950 50 0000 R CNN +F 2 "" H 2400 5900 29 0000 C CNN +F 3 "" H 2200 5800 60 0000 C CNN + 1 2200 5800 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q3 +U 1 1 66600FE3 +P 2650 3900 +F 0 "Q3" H 2550 3950 50 0000 R CNN +F 1 "eSim_NPN" H 2600 4050 50 0000 R CNN +F 2 "" H 2850 4000 29 0000 C CNN +F 3 "" H 2650 3900 60 0000 C CNN + 1 2650 3900 + 1 0 0 -1 +$EndComp +$Comp +L resistor R5 +U 1 1 66600FE4 +P 2700 4550 +F 0 "R5" H 2750 4680 50 0000 C CNN +F 1 "500" H 2750 4500 50 0000 C CNN +F 2 "" H 2750 4530 30 0000 C CNN +F 3 "" V 2750 4600 30 0000 C CNN + 1 2700 4550 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q5 +U 1 1 66600FE5 +P 3050 3300 +F 0 "Q5" H 2950 3350 50 0000 R CNN +F 1 "eSim_NPN" H 3000 3450 50 0000 R CNN +F 2 "" H 3250 3400 29 0000 C CNN +F 3 "" H 3050 3300 60 0000 C CNN + 1 3050 3300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q7 +U 1 1 66600FE6 +P 3450 3900 +F 0 "Q7" H 3350 3950 50 0000 R CNN +F 1 "eSim_NPN" H 3400 4050 50 0000 R CNN +F 2 "" H 3650 4000 29 0000 C CNN +F 3 "" H 3450 3900 60 0000 C CNN + 1 3450 3900 + -1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q8 +U 1 1 66600FE7 +P 3450 5350 +F 0 "Q8" H 3350 5400 50 0000 R CNN +F 1 "eSim_NPN" H 3400 5500 50 0000 R CNN +F 2 "" H 3650 5450 29 0000 C CNN +F 3 "" H 3450 5350 60 0000 C CNN + 1 3450 5350 + -1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q4 +U 1 1 66600FE8 +P 2700 1300 +F 0 "Q4" H 2600 1350 50 0000 R CNN +F 1 "eSim_PNP" H 2650 1450 50 0000 R CNN +F 2 "" H 2900 1400 29 0000 C CNN +F 3 "" H 2700 1300 60 0000 C CNN + 1 2700 1300 + 1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q6 +U 1 1 66600FE9 +P 3200 1300 +F 0 "Q6" H 3100 1350 50 0000 R CNN +F 1 "eSim_PNP" H 3150 1450 50 0000 R CNN +F 2 "" H 3400 1400 29 0000 C CNN +F 3 "" H 3200 1300 60 0000 C CNN + 1 3200 1300 + 1 0 0 1 +$EndComp +$Comp +L resistor R6 +U 1 1 66600FEA +P 3300 6450 +F 0 "R6" H 3350 6580 50 0000 C CNN +F 1 "1.2k" H 3350 6400 50 0000 C CNN +F 2 "" H 3350 6430 30 0000 C CNN +F 3 "" V 3350 6500 30 0000 C CNN + 1 3300 6450 + 0 1 1 0 +$EndComp +$Comp +L resistor R7 +U 1 1 66600FEB +P 3950 4800 +F 0 "R7" H 4000 4930 50 0000 C CNN +F 1 "1.9k" H 4000 4750 50 0000 C CNN +F 2 "" H 4000 4780 30 0000 C CNN +F 3 "" V 4000 4850 30 0000 C CNN + 1 3950 4800 + 0 1 1 0 +$EndComp +$Comp +L resistor R8 +U 1 1 66600FEC +P 3950 5700 +F 0 "R8" H 4000 5830 50 0000 C CNN +F 1 "26" H 4000 5650 50 0000 C CNN +F 2 "" H 4000 5680 30 0000 C CNN +F 3 "" V 4000 5750 30 0000 C CNN + 1 3950 5700 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q9 +U 1 1 66600FED +P 3900 6300 +F 0 "Q9" H 3800 6350 50 0000 R CNN +F 1 "eSim_NPN" H 3850 6450 50 0000 R CNN +F 2 "" H 4100 6400 29 0000 C CNN +F 3 "" H 3900 6300 60 0000 C CNN + 1 3900 6300 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C1 +U 1 1 66600FEE +P 3650 5950 +F 0 "C1" H 3675 6050 50 0000 L CNN +F 1 "4p" H 3675 5850 50 0000 L CNN +F 2 "" H 3688 5800 30 0000 C CNN +F 3 "" H 3650 5950 60 0000 C CNN + 1 3650 5950 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q10 +U 1 1 66600FEF +P 4600 5350 +F 0 "Q10" H 4500 5400 50 0000 R CNN +F 1 "eSim_NPN" H 4550 5500 50 0000 R CNN +F 2 "" H 4800 5450 29 0000 C CNN +F 3 "" H 4600 5350 60 0000 C CNN + 1 4600 5350 + 1 0 0 -1 +$EndComp +$Comp +L resistor R9 +U 1 1 66600FF0 +P 4650 5950 +F 0 "R9" H 4700 6080 50 0000 C CNN +F 1 "12.1k" H 4700 5900 50 0000 C CNN +F 2 "" H 4700 5930 30 0000 C CNN +F 3 "" V 4700 6000 30 0000 C CNN + 1 4650 5950 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q11 +U 1 1 66600FF1 +P 5200 5350 +F 0 "Q11" H 5100 5400 50 0000 R CNN +F 1 "eSim_NPN" H 5150 5500 50 0000 R CNN +F 2 "" H 5400 5450 29 0000 C CNN +F 3 "" H 5200 5350 60 0000 C CNN + 1 5200 5350 + 1 0 0 -1 +$EndComp +$Comp +L resistor R12 +U 1 1 66600FF2 +P 5250 5950 +F 0 "R12" H 5300 6080 50 0000 C CNN +F 1 "1k" H 5300 5900 50 0000 C CNN +F 2 "" H 5300 5930 30 0000 C CNN +F 3 "" V 5300 6000 30 0000 C CNN + 1 5250 5950 + 0 1 1 0 +$EndComp +$Comp +L resistor R11 +U 1 1 66600FF3 +P 5250 4300 +F 0 "R11" H 5300 4430 50 0000 C CNN +F 1 "16.5k" H 5300 4250 50 0000 C CNN +F 2 "" H 5300 4280 30 0000 C CNN +F 3 "" V 5300 4350 30 0000 C CNN + 1 5250 4300 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q13 +U 1 1 66600FF4 +P 5400 3550 +F 0 "Q13" H 5300 3600 50 0000 R CNN +F 1 "eSim_NPN" H 5350 3700 50 0000 R CNN +F 2 "" H 5600 3650 29 0000 C CNN +F 3 "" H 5400 3550 60 0000 C CNN + 1 5400 3550 + -1 0 0 -1 +$EndComp +$Comp +L resistor R10 +U 1 1 66600FF5 +P 5250 2900 +F 0 "R10" H 5300 3030 50 0000 C CNN +F 1 "100" H 5300 2850 50 0000 C CNN +F 2 "" H 5300 2880 30 0000 C CNN +F 3 "" V 5300 2950 30 0000 C CNN + 1 5250 2900 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q12 +U 1 1 66600FF6 +P 5400 2250 +F 0 "Q12" H 5300 2300 50 0000 R CNN +F 1 "eSim_NPN" H 5350 2400 50 0000 R CNN +F 2 "" H 5600 2350 29 0000 C CNN +F 3 "" H 5400 2250 60 0000 C CNN + 1 5400 2250 + -1 0 0 -1 +$EndComp +$Comp +L resistor R14 +U 1 1 66600FF7 +P 5900 1150 +F 0 "R14" H 5950 1280 50 0000 C CNN +F 1 "16k" H 5950 1100 50 0000 C CNN +F 2 "" H 5950 1130 30 0000 C CNN +F 3 "" V 5950 1200 30 0000 C CNN + 1 5900 1150 + 0 1 1 0 +$EndComp +$Comp +L zener U3 +U 1 1 66600FF8 +P 5950 1800 +F 0 "U3" H 5900 1700 60 0000 C CNN +F 1 "zener" H 5950 1900 60 0000 C CNN +F 2 "" H 6000 1800 60 0000 C CNN +F 3 "" H 6000 1800 60 0000 C CNN + 1 5950 1800 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R15 +U 1 1 66600FF9 +P 6250 2300 +F 0 "R15" H 6300 2430 50 0000 C CNN +F 1 "380" H 6300 2250 50 0000 C CNN +F 2 "" H 6300 2280 30 0000 C CNN +F 3 "" V 6300 2350 30 0000 C CNN + 1 6250 2300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q17 +U 1 1 66600FFA +P 6850 1100 +F 0 "Q17" H 6750 1150 50 0000 R CNN +F 1 "eSim_NPN" H 6800 1250 50 0000 R CNN +F 2 "" H 7050 1200 29 0000 C CNN +F 3 "" H 6850 1100 60 0000 C CNN + 1 6850 1100 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q19 +U 1 1 66600FFB +P 7550 1350 +F 0 "Q19" H 7450 1400 50 0000 R CNN +F 1 "eSim_NPN" H 7500 1500 50 0000 R CNN +F 2 "" H 7750 1450 29 0000 C CNN +F 3 "" H 7550 1350 60 0000 C CNN + 1 7550 1350 + 1 0 0 -1 +$EndComp +$Comp +L resistor R18 +U 1 1 66600FFC +P 7100 1650 +F 0 "R18" H 7150 1780 50 0000 C CNN +F 1 "1.62k" H 7150 1600 50 0000 C CNN +F 2 "" H 7150 1630 30 0000 C CNN +F 3 "" V 7150 1700 30 0000 C CNN + 1 7100 1650 + 0 1 1 0 +$EndComp +$Comp +L resistor R19 +U 1 1 66600FFD +P 7600 2000 +F 0 "R19" H 7650 2130 50 0000 C CNN +F 1 "0.25" H 7650 1950 50 0000 C CNN +F 2 "" H 7650 1980 30 0000 C CNN +F 3 "" V 7650 2050 30 0000 C CNN + 1 7600 2000 + 0 1 1 0 +$EndComp +$Comp +L resistor R20 +U 1 1 66600FFE +P 7600 2500 +F 0 "R20" H 7650 2630 50 0000 C CNN +F 1 "1.5k" H 7650 2450 50 0000 C CNN +F 2 "" H 7650 2480 30 0000 C CNN +F 3 "" V 7650 2550 30 0000 C CNN + 1 7600 2500 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q14 +U 1 1 66600FFF +P 5750 4750 +F 0 "Q14" H 5650 4800 50 0000 R CNN +F 1 "eSim_NPN" H 5700 4900 50 0000 R CNN +F 2 "" H 5950 4850 29 0000 C CNN +F 3 "" H 5750 4750 60 0000 C CNN + 1 5750 4750 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q15 +U 1 1 66601000 +P 5950 5300 +F 0 "Q15" H 5850 5350 50 0000 R CNN +F 1 "eSim_NPN" H 5900 5450 50 0000 R CNN +F 2 "" H 6150 5400 29 0000 C CNN +F 3 "" H 5950 5300 60 0000 C CNN + 1 5950 5300 + -1 0 0 -1 +$EndComp +$Comp +L resistor R13 +U 1 1 66601001 +P 5800 5950 +F 0 "R13" H 5850 6080 50 0000 C CNN +F 1 "4k" H 5850 5900 50 0000 C CNN +F 2 "" H 5850 5930 30 0000 C CNN +F 3 "" V 5850 6000 30 0000 C CNN + 1 5800 5950 + 0 1 1 0 +$EndComp +$Comp +L capacitor C2 +U 1 1 66601002 +P 5550 4550 +F 0 "C2" H 5575 4650 50 0000 L CNN +F 1 "20p" H 5575 4450 50 0000 L CNN +F 2 "" H 5588 4400 30 0000 C CNN +F 3 "" H 5550 4550 60 0000 C CNN + 1 5550 4550 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q16 +U 1 1 66601003 +P 6450 4950 +F 0 "Q16" H 6350 5000 50 0000 R CNN +F 1 "eSim_NPN" H 6400 5100 50 0000 R CNN +F 2 "" H 6650 5050 29 0000 C CNN +F 3 "" H 6450 4950 60 0000 C CNN + 1 6450 4950 + 1 0 0 -1 +$EndComp +$Comp +L resistor R17 +U 1 1 66601004 +P 6500 4400 +F 0 "R17" H 6550 4530 50 0000 C CNN +F 1 "4k" H 6550 4350 50 0000 C CNN +F 2 "" H 6550 4380 30 0000 C CNN +F 3 "" V 6550 4450 30 0000 C CNN + 1 6500 4400 + 0 1 1 0 +$EndComp +$Comp +L resistor R16 +U 1 1 66601005 +P 6500 3950 +F 0 "R16" H 6550 4080 50 0000 C CNN +F 1 "850" H 6550 3900 50 0000 C CNN +F 2 "" H 6550 3930 30 0000 C CNN +F 3 "" V 6550 4000 30 0000 C CNN + 1 6500 3950 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q18 +U 1 1 66601006 +P 7000 4300 +F 0 "Q18" H 6900 4350 50 0000 R CNN +F 1 "eSim_PNP" H 6950 4450 50 0000 R CNN +F 2 "" H 7200 4400 29 0000 C CNN +F 3 "" H 7000 4300 60 0000 C CNN + 1 7000 4300 + 1 0 0 1 +$EndComp +$Comp +L resistor R21 +U 1 1 66601007 +P 7600 4750 +F 0 "R21" H 7650 4880 50 0000 C CNN +F 1 "2.67k" H 7650 4700 50 0000 C CNN +F 2 "" H 7650 4730 30 0000 C CNN +F 3 "" V 7650 4800 30 0000 C CNN + 1 7600 4750 + 0 1 1 0 +$EndComp +Wire Wire Line + 1400 1400 1400 4400 +Wire Wire Line + 1400 1100 1400 650 +Wire Wire Line + 1400 650 7850 650 +Wire Wire Line + 1850 650 1850 1750 +Wire Wire Line + 1550 1950 1400 1950 +Connection ~ 1400 1950 +Wire Wire Line + 1850 2150 1850 3400 +Wire Wire Line + 1850 3700 1850 5250 +Wire Wire Line + 1850 5550 1850 6050 +Wire Wire Line + 1400 4900 1400 6800 +Wire Wire Line + 1400 6800 7850 6800 +Wire Wire Line + 1850 6800 1850 6350 +Wire Wire Line + 2300 6800 2300 6000 +Connection ~ 1850 6800 +Wire Wire Line + 2000 5800 1850 5800 +Connection ~ 1850 5800 +Wire Wire Line + 2800 650 2800 1100 +Wire Wire Line + 3300 650 3300 1100 +Connection ~ 2800 650 +Connection ~ 1850 650 +Wire Wire Line + 2800 1500 3150 1500 +Wire Wire Line + 3150 1500 3150 3100 +Wire Wire Line + 2150 1300 3000 1300 +Wire Wire Line + 2150 1300 2150 2000 +Wire Wire Line + 2150 2000 3150 2000 +Connection ~ 3150 2000 +Wire Wire Line + 2850 3300 1850 3300 +Connection ~ 1850 3300 +Wire Wire Line + 2750 3700 2750 2750 +Wire Wire Line + 2750 2750 3150 2750 +Connection ~ 3150 2750 +Wire Wire Line + 2450 3900 1850 3900 +Connection ~ 1850 3900 +Wire Wire Line + 2750 4100 2750 4450 +Wire Wire Line + 3150 3500 3150 3700 +Wire Wire Line + 3150 3700 3350 3700 +Wire Wire Line + 3350 4100 3350 5150 +Wire Wire Line + 3350 5550 3350 6350 +Connection ~ 2300 6800 +Wire Wire Line + 2750 4750 2750 5000 +Wire Wire Line + 2750 5000 3700 5000 +Connection ~ 3350 5000 +Wire Wire Line + 4000 5000 4000 5600 +Wire Wire Line + 3650 5350 4000 5350 +Connection ~ 4000 5350 +Wire Wire Line + 4000 4700 3700 4700 +Wire Wire Line + 3700 4700 3700 5000 +Wire Wire Line + 4000 5900 4000 6100 +Wire Wire Line + 3800 5950 4400 5950 +Connection ~ 4000 5950 +Wire Wire Line + 3500 5950 3350 5950 +Connection ~ 3350 5950 +Wire Wire Line + 3350 6800 3350 6650 +Wire Wire Line + 3700 6300 3350 6300 +Connection ~ 3350 6300 +Wire Wire Line + 4000 6800 4000 6500 +Connection ~ 3350 6800 +Connection ~ 2500 1300 +Wire Wire Line + 3300 1500 5300 1500 +Wire Wire Line + 5300 800 5300 2050 +Wire Wire Line + 5300 2450 5300 2800 +Wire Wire Line + 5300 4500 5300 5150 +Wire Wire Line + 5300 5550 5300 5850 +Wire Wire Line + 4700 5150 4700 3950 +Wire Wire Line + 4700 3950 5300 3950 +Connection ~ 5300 3950 +Wire Wire Line + 4700 5550 4700 5850 +Wire Wire Line + 4700 6800 4700 6150 +Connection ~ 4000 6800 +Wire Wire Line + 5300 6800 5300 6150 +Connection ~ 4700 6800 +Wire Wire Line + 4400 5950 4400 5350 +Wire Wire Line + 5000 5350 5000 5650 +Wire Wire Line + 5000 5650 4700 5650 +Connection ~ 4700 5650 +Wire Wire Line + 5950 650 5950 1050 +Connection ~ 3300 650 +Wire Wire Line + 6950 650 6950 900 +Connection ~ 5950 650 +Wire Wire Line + 7650 650 7650 1150 +Connection ~ 6950 650 +Wire Wire Line + 5950 1350 5950 1500 +Wire Wire Line + 5600 2250 6150 2250 +Wire Wire Line + 5950 2250 5950 2000 +Wire Wire Line + 6650 1100 6400 1100 +Wire Wire Line + 6400 1100 6400 800 +Wire Wire Line + 6400 800 5300 800 +Connection ~ 5300 1500 +Connection ~ 5950 2250 +Wire Wire Line + 7150 1550 7150 1300 +Wire Wire Line + 6950 1300 7350 1300 +Wire Wire Line + 7350 1300 7350 1350 +Connection ~ 7150 1300 +Wire Wire Line + 7650 1550 7650 1900 +Wire Wire Line + 7650 2200 7650 2400 +Wire Wire Line + 6450 2250 7350 2250 +Wire Wire Line + 7350 2250 7350 1750 +Wire Wire Line + 7350 1750 7650 1750 +Connection ~ 7650 1750 +Wire Wire Line + 7650 2700 7650 4650 +Wire Wire Line + 7150 1850 7150 2050 +Wire Wire Line + 7150 2050 5950 2050 +Connection ~ 5950 2050 +Wire Wire Line + 5300 3350 7250 3350 +Wire Wire Line + 7250 3350 7250 1300 +Connection ~ 7250 1300 +Wire Wire Line + 5300 3750 5300 4200 +Wire Wire Line + 5400 4550 5300 4550 +Connection ~ 5300 4550 +Wire Wire Line + 5550 4750 5300 4750 +Connection ~ 5300 4750 +Wire Wire Line + 5850 4950 5850 5100 +Wire Wire Line + 5850 5500 5850 5850 +Wire Wire Line + 5850 6800 5850 6150 +Connection ~ 5300 6800 +Wire Wire Line + 6150 5300 6150 5050 +Wire Wire Line + 6150 5050 5850 5050 +Connection ~ 5850 5050 +Wire Wire Line + 6250 4950 5950 4950 +Wire Wire Line + 5950 4950 5950 5000 +Wire Wire Line + 5950 5000 5850 5000 +Connection ~ 5850 5000 +Wire Wire Line + 5700 4550 6250 4550 +Wire Wire Line + 6550 4150 6550 4300 +Wire Wire Line + 6550 4600 6550 4750 +Connection ~ 6550 4650 +Wire Wire Line + 6250 4550 6250 4650 +Connection ~ 5850 4550 +Wire Wire Line + 7100 4100 6800 4100 +Wire Wire Line + 6800 4100 6800 4200 +Wire Wire Line + 6800 4200 6550 4200 +Connection ~ 6550 4200 +Wire Wire Line + 6800 4650 6800 4300 +Wire Wire Line + 6250 4650 6800 4650 +Wire Wire Line + 6550 6800 6550 5150 +Connection ~ 5850 6800 +Wire Wire Line + 7100 6800 7100 4500 +Connection ~ 6550 6800 +Wire Wire Line + 7650 6800 7650 4950 +Connection ~ 7100 6800 +Wire Wire Line + 7650 3550 5600 3550 +Wire Wire Line + 3650 3900 5750 3900 +Wire Wire Line + 5750 3900 5750 3550 +Connection ~ 5750 3550 +Connection ~ 7650 3550 +Wire Wire Line + 5300 3100 6400 3100 +Wire Wire Line + 6400 3100 6400 2350 +Wire Wire Line + 6400 2350 8350 2350 +Connection ~ 7650 2350 +Wire Wire Line + 6550 3850 6550 1100 +Connection ~ 6550 1100 +Wire Wire Line + 2300 5600 2300 2450 +Wire Wire Line + 2300 2450 4100 2450 +Wire Wire Line + 4100 2450 4100 1500 +Connection ~ 4100 1500 +Wire Wire Line + 7850 700 7850 650 +Connection ~ 7650 650 +Wire Wire Line + 7850 6700 7850 6800 +Connection ~ 7650 6800 +$Comp +L PORT U1 +U 1 1 66601141 +P 8100 6700 +F 0 "U1" H 8150 6800 30 0000 C CNN +F 1 "PORT" H 8100 6700 30 0000 C CNN +F 2 "" H 8100 6700 60 0000 C CNN +F 3 "" H 8100 6700 60 0000 C CNN + 1 8100 6700 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 2 1 6660127A +P 8100 700 +F 0 "U1" H 8150 800 30 0000 C CNN +F 1 "PORT" H 8100 700 30 0000 C CNN +F 2 "" H 8100 700 60 0000 C CNN +F 3 "" H 8100 700 60 0000 C CNN + 2 8100 700 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 666014FA +P 8600 2350 +F 0 "U1" H 8650 2450 30 0000 C CNN +F 1 "PORT" H 8600 2350 30 0000 C CNN +F 2 "" H 8600 2350 60 0000 C CNN +F 3 "" H 8600 2350 60 0000 C CNN + 3 8600 2350 + -1 0 0 1 +$EndComp +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.sub b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.sub new file mode 100644 index 00000000..30bef66c --- /dev/null +++ b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT.sub @@ -0,0 +1,58 @@ +* Subcircuit LM340_5V-PORT +.subckt LM340_5V-PORT net-_q16-pad3_ net-_q1-pad1_ net-_r10-pad2_ +* c:\fossee2\esim\library\subcircuitlibrary\lm340_5v-port\lm340_5v-port.cir +.include PNP.lib +.include NPN.lib +r1 net-_q1-pad1_ net-_q1-pad2_ 80k +* u2 net-_q16-pad3_ net-_q1-pad2_ zener +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222 +r2 net-_q1-pad3_ net-_q3-pad2_ 7k +r3 net-_q3-pad2_ net-_q2-pad2_ 4.97k +r4 net-_q2-pad2_ net-_q16-pad3_ 830 +q2 net-_q12-pad1_ net-_q2-pad2_ net-_q16-pad3_ Q2N2222 +q3 net-_q3-pad1_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222 +r5 net-_q3-pad3_ net-_q7-pad3_ 500 +q5 net-_q3-pad1_ net-_q1-pad3_ net-_q5-pad3_ Q2N2222 +q7 net-_q5-pad3_ net-_q13-pad2_ net-_q7-pad3_ Q2N2222 +q8 net-_q7-pad3_ net-_q8-pad2_ net-_c1-pad2_ Q2N2222 +q4 net-_q3-pad1_ net-_q3-pad1_ net-_q1-pad1_ Q2N2907A +q6 net-_q12-pad1_ net-_q3-pad1_ net-_q1-pad1_ Q2N2907A +r6 net-_c1-pad2_ net-_q16-pad3_ 1.2k +r7 net-_q7-pad3_ net-_q8-pad2_ 1.9k +r8 net-_q8-pad2_ net-_c1-pad1_ 26 +q9 net-_c1-pad1_ net-_c1-pad2_ net-_q16-pad3_ Q2N2222 +c1 net-_c1-pad1_ net-_c1-pad2_ 4p +q10 net-_q10-pad1_ net-_c1-pad1_ net-_q10-pad3_ Q2N2222 +r9 net-_q10-pad3_ net-_q16-pad3_ 12.1k +q11 net-_c2-pad2_ net-_q10-pad3_ net-_q11-pad3_ Q2N2222 +r12 net-_q11-pad3_ net-_q16-pad3_ 1k +r11 net-_q10-pad1_ net-_c2-pad2_ 16.5k +q13 net-_q13-pad1_ net-_q13-pad2_ net-_q10-pad1_ Q2N2222 +r10 net-_q12-pad3_ net-_r10-pad2_ 100 +q12 net-_q12-pad1_ net-_q12-pad2_ net-_q12-pad3_ Q2N2222 +r14 net-_q1-pad1_ net-_r14-pad2_ 16k +* u3 net-_q12-pad2_ net-_r14-pad2_ zener +r15 net-_q12-pad2_ net-_q19-pad3_ 380 +q17 net-_q1-pad1_ net-_q12-pad1_ net-_q13-pad1_ Q2N2222 +q19 net-_q1-pad1_ net-_q13-pad1_ net-_q19-pad3_ Q2N2222 +r18 net-_q13-pad1_ net-_q12-pad2_ 1.62k +r19 net-_q19-pad3_ net-_r10-pad2_ 0.25 +r20 net-_r10-pad2_ net-_q13-pad2_ 1.5k +q14 net-_c2-pad1_ net-_c2-pad2_ net-_q14-pad3_ Q2N2222 +q15 net-_q14-pad3_ net-_q14-pad3_ net-_q15-pad3_ Q2N2222 +r13 net-_q15-pad3_ net-_q16-pad3_ 4k +c2 net-_c2-pad1_ net-_c2-pad2_ 20p +q16 net-_c2-pad1_ net-_q14-pad3_ net-_q16-pad3_ Q2N2222 +r17 net-_q18-pad3_ net-_c2-pad1_ 4k +r16 net-_q12-pad1_ net-_q18-pad3_ 850 +q18 net-_q16-pad3_ net-_c2-pad1_ net-_q18-pad3_ Q2N2907A +r21 net-_q13-pad2_ net-_q16-pad3_ 2.67k +a1 net-_q16-pad3_ net-_q1-pad2_ u2 +a2 net-_q12-pad2_ net-_r14-pad2_ u3 +* Schematic Name: zener, NgSpice Name: zener +.model u2 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE ) +* Schematic Name: zener, NgSpice Name: zener +.model u3 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE ) +* Control Statements + +.ends LM340_5V-PORT
\ No newline at end of file diff --git a/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT_Previous_Values.xml b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT_Previous_Values.xml new file mode 100644 index 00000000..9041a397 --- /dev/null +++ b/library/SubcircuitLibrary/LM340_5V_SUB/LM340_5V-PORT_Previous_Values.xml @@ -0,0 +1 @@ +<KicadtoNgspice><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">0</field1><field2 name="Step Time">10</field2><field3 name="Stop Time">100</field3><field4 name="Start Combo">ms</field4><field5 name="Step Combo">ms</field5><field6 name="Stop Combo">ms</field6></tran></analysis><source /><model><u2 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)" /><field2 name="Enter Breakdown Current (default=2.0e-2)" /><field3 name="Enter Saturation Current (default=1.0e-12)" /><field4 name="Enter Forward Emission Coefficient (default=1.0)" /><field5 name="Enter Switch for Limiting (default=FALSE)" /></u2><u3 name="type">zener<field6 name="Enter Breakdown Voltage (default=5.6)" /><field7 name="Enter Breakdown Current (default=2.0e-2)" /><field8 name="Enter Saturation Current (default=1.0e-12)" /><field9 name="Enter Forward Emission Coefficient (default=1.0)" /><field10 name="Enter Switch for Limiting (default=FALSE)" /></u3></model><devicemodel><q1><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q2><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q3><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q5><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q7><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q8><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q4><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q4><q6><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q6><q9><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q10><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q11><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q13><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q12><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q17><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><q19><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><q14><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q15><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q18><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q18></devicemodel><subcircuit /></KicadtoNgspice>
\ No newline at end of file diff --git a/library/SubcircuitLibrary/LM340_5V_SUB/NPN.lib b/library/SubcircuitLibrary/LM340_5V_SUB/NPN.lib new file mode 100644 index 00000000..be5f3073 --- /dev/null +++ b/library/SubcircuitLibrary/LM340_5V_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/LM340_5V_SUB/PNP.lib b/library/SubcircuitLibrary/LM340_5V_SUB/PNP.lib new file mode 100644 index 00000000..7edda0ea --- /dev/null +++ b/library/SubcircuitLibrary/LM340_5V_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/LM340_5V_SUB/analysis b/library/SubcircuitLibrary/LM340_5V_SUB/analysis new file mode 100644 index 00000000..660a46cc --- /dev/null +++ b/library/SubcircuitLibrary/LM340_5V_SUB/analysis @@ -0,0 +1 @@ +.tran 10e-03 100e-03 0e-03
\ No newline at end of file |