From 6378381100c391a8d554e5dd6ed04f590ae402f0 Mon Sep 17 00:00:00 2001 From: Sumanto Kar Date: Thu, 21 Nov 2024 20:48:22 +0530 Subject: LM123 is a low dropout voltage regulator --- library/SubcircuitLibrary/lm123_sub/NJF.lib | 4 + library/SubcircuitLibrary/lm123_sub/NPN.lib | 4 + library/SubcircuitLibrary/lm123_sub/PNP.lib | 4 + library/SubcircuitLibrary/lm123_sub/analysis | 1 + .../lm123_sub/lm123_sub-cache.lib | 158 ++++ library/SubcircuitLibrary/lm123_sub/lm123_sub.cir | 64 ++ .../SubcircuitLibrary/lm123_sub/lm123_sub.cir.out | 77 ++ library/SubcircuitLibrary/lm123_sub/lm123_sub.pro | 73 ++ library/SubcircuitLibrary/lm123_sub/lm123_sub.sch | 976 +++++++++++++++++++++ library/SubcircuitLibrary/lm123_sub/lm123_sub.sub | 71 ++ .../lm123_sub/lm123_sub_Previous_Values.xml | 1 + 11 files changed, 1433 insertions(+) create mode 100644 library/SubcircuitLibrary/lm123_sub/NJF.lib create mode 100644 library/SubcircuitLibrary/lm123_sub/NPN.lib create mode 100644 library/SubcircuitLibrary/lm123_sub/PNP.lib create mode 100644 library/SubcircuitLibrary/lm123_sub/analysis create mode 100644 library/SubcircuitLibrary/lm123_sub/lm123_sub-cache.lib create mode 100644 library/SubcircuitLibrary/lm123_sub/lm123_sub.cir create mode 100644 library/SubcircuitLibrary/lm123_sub/lm123_sub.cir.out create mode 100644 library/SubcircuitLibrary/lm123_sub/lm123_sub.pro create mode 100644 library/SubcircuitLibrary/lm123_sub/lm123_sub.sch create mode 100644 library/SubcircuitLibrary/lm123_sub/lm123_sub.sub create mode 100644 library/SubcircuitLibrary/lm123_sub/lm123_sub_Previous_Values.xml diff --git a/library/SubcircuitLibrary/lm123_sub/NJF.lib b/library/SubcircuitLibrary/lm123_sub/NJF.lib new file mode 100644 index 00000000..dbb2cbae --- /dev/null +++ b/library/SubcircuitLibrary/lm123_sub/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/lm123_sub/NPN.lib b/library/SubcircuitLibrary/lm123_sub/NPN.lib new file mode 100644 index 00000000..be5f3073 --- /dev/null +++ b/library/SubcircuitLibrary/lm123_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/lm123_sub/PNP.lib b/library/SubcircuitLibrary/lm123_sub/PNP.lib new file mode 100644 index 00000000..7edda0ea --- /dev/null +++ b/library/SubcircuitLibrary/lm123_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/lm123_sub/analysis b/library/SubcircuitLibrary/lm123_sub/analysis new file mode 100644 index 00000000..ebd5c0a9 --- /dev/null +++ b/library/SubcircuitLibrary/lm123_sub/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00 \ No newline at end of file diff --git a/library/SubcircuitLibrary/lm123_sub/lm123_sub-cache.lib b/library/SubcircuitLibrary/lm123_sub/lm123_sub-cache.lib new file mode 100644 index 00000000..c28cbe9d --- /dev/null +++ b/library/SubcircuitLibrary/lm123_sub/lm123_sub-cache.lib @@ -0,0 +1,158 @@ +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_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 +# +# 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/lm123_sub/lm123_sub.cir b/library/SubcircuitLibrary/lm123_sub/lm123_sub.cir new file mode 100644 index 00000000..c1a66832 --- /dev/null +++ b/library/SubcircuitLibrary/lm123_sub/lm123_sub.cir @@ -0,0 +1,64 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\lm123_sub\lm123_sub.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 03/06/2024 11:06:50 AM + +* 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: / +Q2 Net-_J1-Pad1_ Net-_J1-Pad1_ Net-_Q2-Pad3_ eSim_PNP +Q3 Net-_Q1-Pad2_ Net-_J1-Pad1_ Net-_Q2-Pad3_ eSim_PNP +Q5 Net-_Q10-Pad1_ Net-_J1-Pad1_ Net-_Q2-Pad3_ eSim_PNP +J1 Net-_J1-Pad1_ Net-_J1-Pad2_ Net-_J1-Pad3_ jfet_n +R1 Net-_Q4-Pad2_ Net-_J1-Pad3_ 4k +R2 Net-_J1-Pad2_ Net-_Q4-Pad2_ 250 +U2 Net-_J1-Pad2_ Net-_Q1-Pad2_ zener +Q1 Net-_J1-Pad1_ Net-_Q1-Pad2_ Net-_J1-Pad3_ eSim_NPN +Q4 Net-_Q10-Pad1_ Net-_Q4-Pad2_ Net-_J1-Pad2_ eSim_NPN +R3 Net-_J1-Pad2_ Net-_Q6-Pad3_ 1k +Q6 Net-_Q6-Pad1_ Net-_Q6-Pad2_ Net-_Q6-Pad3_ eSim_NPN +R4 Net-_Q6-Pad1_ Net-_Q9-Pad3_ 2k +R5 Net-_Q6-Pad2_ Net-_Q9-Pad3_ 1.32k +R6 Net-_Q10-Pad2_ Net-_Q6-Pad2_ 100 +Q7 Net-_Q10-Pad2_ Net-_Q6-Pad3_ Net-_Q7-Pad3_ eSim_NPN +R7 Net-_J1-Pad2_ Net-_Q7-Pad3_ 100 +Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN +R8 Net-_J1-Pad2_ Net-_Q10-Pad3_ 12k +R10 Net-_J1-Pad2_ Net-_Q11-Pad3_ 1k +Q11 Net-_C1-Pad1_ Net-_Q10-Pad3_ Net-_Q11-Pad3_ eSim_NPN +Q14 Net-_Q13-Pad3_ Net-_Q13-Pad3_ Net-_Q14-Pad3_ eSim_NPN +R11 Net-_J1-Pad2_ Net-_Q14-Pad3_ 4k +Q13 Net-_C1-Pad2_ Net-_C1-Pad1_ Net-_Q13-Pad3_ eSim_NPN +Q16 Net-_C1-Pad2_ Net-_Q13-Pad3_ Net-_J1-Pad2_ eSim_NPN +R9 Net-_C1-Pad1_ Net-_Q12-Pad3_ 20k +C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30pF +Q12 Net-_Q12-Pad1_ Net-_Q12-Pad2_ Net-_Q12-Pad3_ eSim_NPN +Q9 Net-_Q6-Pad1_ Net-_Q6-Pad1_ Net-_Q9-Pad3_ eSim_NPN +Q8 Net-_J1-Pad1_ Net-_Q12-Pad1_ Net-_Q6-Pad1_ eSim_NPN +R14 Net-_Q12-Pad2_ Net-_Q12-Pad1_ 50k +R15 Net-_Q20-Pad3_ Net-_Q12-Pad2_ 500 +Q20 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q20-Pad3_ eSim_NPN +R16 Net-_J1-Pad2_ Net-_Q20-Pad3_ 20k +R19 Net-_J1-Pad2_ Net-_Q12-Pad1_ 4k +U4 Net-_J1-Pad2_ Net-_Q12-Pad1_ zener +Q19 Net-_C2-Pad1_ Net-_C2-Pad2_ Net-_Q12-Pad1_ eSim_NPN +Q17 Net-_J1-Pad2_ Net-_C1-Pad2_ Net-_Q10-Pad1_ eSim_PNP +R12 Net-_C1-Pad2_ Net-_Q15-Pad3_ 1k +Q15 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q15-Pad3_ eSim_NPN +Q18 Net-_J1-Pad2_ Net-_C2-Pad1_ Net-_Q10-Pad1_ eSim_PNP +R13 Net-_C2-Pad1_ Net-_Q10-Pad1_ 2k +C2 Net-_C2-Pad1_ Net-_C2-Pad2_ 10pF +R17 Net-_C2-Pad2_ Net-_Q21-Pad1_ 2k +R18 Net-_Q21-Pad1_ Net-_Q21-Pad2_ 200 +Q21 Net-_Q21-Pad1_ Net-_Q21-Pad2_ Net-_Q21-Pad3_ eSim_NPN +R20 Net-_Q21-Pad2_ Net-_Q10-Pad1_ 6k +R22 Net-_Q21-Pad3_ Net-_Q23-Pad3_ 50 +R21 Net-_Q21-Pad3_ Net-_R21-Pad2_ 50k +R24 Net-_Q12-Pad1_ Net-_Q23-Pad3_ 0.03 +R23 Net-_Q23-Pad3_ Net-_Q22-Pad3_ 1k +Q22 Net-_Q2-Pad3_ Net-_Q10-Pad1_ Net-_Q22-Pad3_ eSim_NPN +Q23 Net-_Q2-Pad3_ Net-_Q22-Pad3_ Net-_Q23-Pad3_ eSim_NPN +U3 Net-_R21-Pad2_ Net-_Q2-Pad3_ zener +U1 Net-_Q2-Pad3_ Net-_Q12-Pad1_ Net-_J1-Pad2_ PORT + +.end diff --git a/library/SubcircuitLibrary/lm123_sub/lm123_sub.cir.out b/library/SubcircuitLibrary/lm123_sub/lm123_sub.cir.out new file mode 100644 index 00000000..b71432eb --- /dev/null +++ b/library/SubcircuitLibrary/lm123_sub/lm123_sub.cir.out @@ -0,0 +1,77 @@ +* c:\fossee\esim\library\subcircuitlibrary\lm123_sub\lm123_sub.cir + +.include PNP.lib +.include NJF.lib +.include NPN.lib +q2 net-_j1-pad1_ net-_j1-pad1_ net-_q2-pad3_ Q2N2907A +q3 net-_q1-pad2_ net-_j1-pad1_ net-_q2-pad3_ Q2N2907A +q5 net-_q10-pad1_ net-_j1-pad1_ net-_q2-pad3_ Q2N2907A +j1 net-_j1-pad1_ net-_j1-pad2_ net-_j1-pad3_ J2N3819 +r1 net-_q4-pad2_ net-_j1-pad3_ 4k +r2 net-_j1-pad2_ net-_q4-pad2_ 250 +* u2 net-_j1-pad2_ net-_q1-pad2_ zener +q1 net-_j1-pad1_ net-_q1-pad2_ net-_j1-pad3_ Q2N2222 +q4 net-_q10-pad1_ net-_q4-pad2_ net-_j1-pad2_ Q2N2222 +r3 net-_j1-pad2_ net-_q6-pad3_ 1k +q6 net-_q6-pad1_ net-_q6-pad2_ net-_q6-pad3_ Q2N2222 +r4 net-_q6-pad1_ net-_q9-pad3_ 2k +r5 net-_q6-pad2_ net-_q9-pad3_ 1.32k +r6 net-_q10-pad2_ net-_q6-pad2_ 100 +q7 net-_q10-pad2_ net-_q6-pad3_ net-_q7-pad3_ Q2N2222 +r7 net-_j1-pad2_ net-_q7-pad3_ 100 +q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222 +r8 net-_j1-pad2_ net-_q10-pad3_ 12k +r10 net-_j1-pad2_ net-_q11-pad3_ 1k +q11 net-_c1-pad1_ net-_q10-pad3_ net-_q11-pad3_ Q2N2222 +q14 net-_q13-pad3_ net-_q13-pad3_ net-_q14-pad3_ Q2N2222 +r11 net-_j1-pad2_ net-_q14-pad3_ 4k +q13 net-_c1-pad2_ net-_c1-pad1_ net-_q13-pad3_ Q2N2222 +q16 net-_c1-pad2_ net-_q13-pad3_ net-_j1-pad2_ Q2N2222 +r9 net-_c1-pad1_ net-_q12-pad3_ 20k +c1 net-_c1-pad1_ net-_c1-pad2_ 30pf +q12 net-_q12-pad1_ net-_q12-pad2_ net-_q12-pad3_ Q2N2222 +q9 net-_q6-pad1_ net-_q6-pad1_ net-_q9-pad3_ Q2N2222 +q8 net-_j1-pad1_ net-_q12-pad1_ net-_q6-pad1_ Q2N2222 +r14 net-_q12-pad2_ net-_q12-pad1_ 50k +r15 net-_q20-pad3_ net-_q12-pad2_ 500 +q20 net-_q12-pad1_ net-_q12-pad1_ net-_q20-pad3_ Q2N2222 +r16 net-_j1-pad2_ net-_q20-pad3_ 20k +r19 net-_j1-pad2_ net-_q12-pad1_ 4k +* u4 net-_j1-pad2_ net-_q12-pad1_ zener +q19 net-_c2-pad1_ net-_c2-pad2_ net-_q12-pad1_ Q2N2222 +q17 net-_j1-pad2_ net-_c1-pad2_ net-_q10-pad1_ Q2N2907A +r12 net-_c1-pad2_ net-_q15-pad3_ 1k +q15 net-_q10-pad1_ net-_q10-pad1_ net-_q15-pad3_ Q2N2222 +q18 net-_j1-pad2_ net-_c2-pad1_ net-_q10-pad1_ Q2N2907A +r13 net-_c2-pad1_ net-_q10-pad1_ 2k +c2 net-_c2-pad1_ net-_c2-pad2_ 10pf +r17 net-_c2-pad2_ net-_q21-pad1_ 2k +r18 net-_q21-pad1_ net-_q21-pad2_ 200 +q21 net-_q21-pad1_ net-_q21-pad2_ net-_q21-pad3_ Q2N2222 +r20 net-_q21-pad2_ net-_q10-pad1_ 6k +r22 net-_q21-pad3_ net-_q23-pad3_ 50 +r21 net-_q21-pad3_ net-_r21-pad2_ 50k +r24 net-_q12-pad1_ net-_q23-pad3_ 0.03 +r23 net-_q23-pad3_ net-_q22-pad3_ 1k +q22 net-_q2-pad3_ net-_q10-pad1_ net-_q22-pad3_ Q2N2222 +q23 net-_q2-pad3_ net-_q22-pad3_ net-_q23-pad3_ Q2N2222 +* u3 net-_r21-pad2_ net-_q2-pad3_ zener +* u1 net-_q2-pad3_ net-_q12-pad1_ net-_j1-pad2_ port +a1 net-_j1-pad2_ net-_q1-pad2_ u2 +a2 net-_j1-pad2_ net-_q12-pad1_ u4 +a3 net-_r21-pad2_ net-_q2-pad3_ 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 u4 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 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/lm123_sub/lm123_sub.pro b/library/SubcircuitLibrary/lm123_sub/lm123_sub.pro new file mode 100644 index 00000000..e27a398b --- /dev/null +++ b/library/SubcircuitLibrary/lm123_sub/lm123_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/lm123_sub/lm123_sub.sch b/library/SubcircuitLibrary/lm123_sub/lm123_sub.sch new file mode 100644 index 00000000..45edcf59 --- /dev/null +++ b/library/SubcircuitLibrary/lm123_sub/lm123_sub.sch @@ -0,0 +1,976 @@ +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:lm123_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 Q2 +U 1 1 665CB16A +P 1850 1000 +F 0 "Q2" H 1750 1050 50 0000 R CNN +F 1 "eSim_PNP" H 1800 1150 50 0000 R CNN +F 2 "" H 2050 1100 29 0000 C CNN +F 3 "" H 1850 1000 60 0000 C CNN + 1 1850 1000 + 1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q3 +U 1 1 665CB16B +P 2350 1000 +F 0 "Q3" H 2250 1050 50 0000 R CNN +F 1 "eSim_PNP" H 2300 1150 50 0000 R CNN +F 2 "" H 2550 1100 29 0000 C CNN +F 3 "" H 2350 1000 60 0000 C CNN + 1 2350 1000 + 1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q5 +U 1 1 665CB16C +P 2900 1000 +F 0 "Q5" H 2800 1050 50 0000 R CNN +F 1 "eSim_PNP" H 2850 1150 50 0000 R CNN +F 2 "" H 3100 1100 29 0000 C CNN +F 3 "" H 2900 1000 60 0000 C CNN + 1 2900 1000 + 1 0 0 1 +$EndComp +$Comp +L jfet_n J1 +U 1 1 665CB16D +P 1200 5100 +F 0 "J1" H 1100 5150 50 0000 R CNN +F 1 "jfet_n" H 1150 5250 50 0000 R CNN +F 2 "" H 1400 5200 29 0000 C CNN +F 3 "" H 1200 5100 60 0000 C CNN + 1 1200 5100 + 1 0 0 -1 +$EndComp +$Comp +L resistor R1 +U 1 1 665CB16E +P 1700 5600 +F 0 "R1" H 1750 5730 50 0000 C CNN +F 1 "4k" H 1750 5550 50 0000 C CNN +F 2 "" H 1750 5580 30 0000 C CNN +F 3 "" V 1750 5650 30 0000 C CNN + 1 1700 5600 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R2 +U 1 1 665CB16F +P 1700 6050 +F 0 "R2" H 1750 6180 50 0000 C CNN +F 1 "250" H 1750 6000 50 0000 C CNN +F 2 "" H 1750 6030 30 0000 C CNN +F 3 "" V 1750 6100 30 0000 C CNN + 1 1700 6050 + 0 -1 -1 0 +$EndComp +$Comp +L zener U2 +U 1 1 665CB170 +P 2200 5500 +F 0 "U2" H 2150 5400 60 0000 C CNN +F 1 "zener" H 2200 5600 60 0000 C CNN +F 2 "" H 2250 5500 60 0000 C CNN +F 3 "" H 2250 5500 60 0000 C CNN + 1 2200 5500 + 0 1 -1 0 +$EndComp +$Comp +L eSim_NPN Q1 +U 1 1 665CB171 +P 1750 5100 +F 0 "Q1" H 1650 5150 50 0000 R CNN +F 1 "eSim_NPN" H 1700 5250 50 0000 R CNN +F 2 "" H 1950 5200 29 0000 C CNN +F 3 "" H 1750 5100 60 0000 C CNN + 1 1750 5100 + -1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q4 +U 1 1 665CB172 +P 2600 5800 +F 0 "Q4" H 2500 5850 50 0000 R CNN +F 1 "eSim_NPN" H 2550 5950 50 0000 R CNN +F 2 "" H 2800 5900 29 0000 C CNN +F 3 "" H 2600 5800 60 0000 C CNN + 1 2600 5800 + 1 0 0 -1 +$EndComp +$Comp +L resistor R3 +U 1 1 665CB173 +P 3100 6050 +F 0 "R3" H 3150 6180 50 0000 C CNN +F 1 "1k" H 3150 6000 50 0000 C CNN +F 2 "" H 3150 6030 30 0000 C CNN +F 3 "" V 3150 6100 30 0000 C CNN + 1 3100 6050 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q6 +U 1 1 665CB174 +P 3150 4600 +F 0 "Q6" H 3050 4650 50 0000 R CNN +F 1 "eSim_NPN" H 3100 4750 50 0000 R CNN +F 2 "" H 3350 4700 29 0000 C CNN +F 3 "" H 3150 4600 60 0000 C CNN + 1 3150 4600 + -1 0 0 -1 +$EndComp +$Comp +L resistor R4 +U 1 1 665CB175 +P 3250 4050 +F 0 "R4" H 3300 4180 50 0000 C CNN +F 1 "2k" H 3300 4000 50 0000 C CNN +F 2 "" H 3300 4030 30 0000 C CNN +F 3 "" V 3300 4100 30 0000 C CNN + 1 3250 4050 + 1 0 0 -1 +$EndComp +$Comp +L resistor R5 +U 1 1 665CB176 +P 3650 4300 +F 0 "R5" H 3700 4430 50 0000 C CNN +F 1 "1.32k" H 3700 4250 50 0000 C CNN +F 2 "" H 3700 4280 30 0000 C CNN +F 3 "" V 3700 4350 30 0000 C CNN + 1 3650 4300 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R6 +U 1 1 665CB177 +P 3650 4950 +F 0 "R6" H 3700 5080 50 0000 C CNN +F 1 "100" H 3700 4900 50 0000 C CNN +F 2 "" H 3700 4930 30 0000 C CNN +F 3 "" V 3700 5000 30 0000 C CNN + 1 3650 4950 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q7 +U 1 1 665CB178 +P 3500 5450 +F 0 "Q7" H 3400 5500 50 0000 R CNN +F 1 "eSim_NPN" H 3450 5600 50 0000 R CNN +F 2 "" H 3700 5550 29 0000 C CNN +F 3 "" H 3500 5450 60 0000 C CNN + 1 3500 5450 + 1 0 0 -1 +$EndComp +$Comp +L resistor R7 +U 1 1 665CB179 +P 3650 6050 +F 0 "R7" H 3700 6180 50 0000 C CNN +F 1 "100" H 3700 6000 50 0000 C CNN +F 2 "" H 3700 6030 30 0000 C CNN +F 3 "" V 3700 6100 30 0000 C CNN + 1 3650 6050 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q10 +U 1 1 665CB17A +P 4200 5150 +F 0 "Q10" H 4100 5200 50 0000 R CNN +F 1 "eSim_NPN" H 4150 5300 50 0000 R CNN +F 2 "" H 4400 5250 29 0000 C CNN +F 3 "" H 4200 5150 60 0000 C CNN + 1 4200 5150 + 1 0 0 -1 +$EndComp +$Comp +L resistor R8 +U 1 1 665CB17B +P 4700 6050 +F 0 "R8" H 4750 6180 50 0000 C CNN +F 1 "12k" H 4750 6000 50 0000 C CNN +F 2 "" H 4750 6030 30 0000 C CNN +F 3 "" V 4750 6100 30 0000 C CNN + 1 4700 6050 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R10 +U 1 1 665CB17C +P 5150 6050 +F 0 "R10" H 5200 6180 50 0000 C CNN +F 1 "1k" H 5200 6000 50 0000 C CNN +F 2 "" H 5200 6030 30 0000 C CNN +F 3 "" V 5200 6100 30 0000 C CNN + 1 5150 6050 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q11 +U 1 1 665CB17D +P 5000 5500 +F 0 "Q11" H 4900 5550 50 0000 R CNN +F 1 "eSim_NPN" H 4950 5650 50 0000 R CNN +F 2 "" H 5200 5600 29 0000 C CNN +F 3 "" H 5000 5500 60 0000 C CNN + 1 5000 5500 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q14 +U 1 1 665CB17E +P 5700 5500 +F 0 "Q14" H 5600 5550 50 0000 R CNN +F 1 "eSim_NPN" H 5650 5650 50 0000 R CNN +F 2 "" H 5900 5600 29 0000 C CNN +F 3 "" H 5700 5500 60 0000 C CNN + 1 5700 5500 + -1 0 0 -1 +$EndComp +$Comp +L resistor R11 +U 1 1 665CB17F +P 5650 6050 +F 0 "R11" H 5700 6180 50 0000 C CNN +F 1 "4k" H 5700 6000 50 0000 C CNN +F 2 "" H 5700 6030 30 0000 C CNN +F 3 "" V 5700 6100 30 0000 C CNN + 1 5650 6050 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q13 +U 1 1 665CB180 +P 5700 4800 +F 0 "Q13" H 5600 4850 50 0000 R CNN +F 1 "eSim_NPN" H 5650 4950 50 0000 R CNN +F 2 "" H 5900 4900 29 0000 C CNN +F 3 "" H 5700 4800 60 0000 C CNN + 1 5700 4800 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q16 +U 1 1 665CB181 +P 6300 5100 +F 0 "Q16" H 6200 5150 50 0000 R CNN +F 1 "eSim_NPN" H 6250 5250 50 0000 R CNN +F 2 "" H 6500 5200 29 0000 C CNN +F 3 "" H 6300 5100 60 0000 C CNN + 1 6300 5100 + 1 0 0 -1 +$EndComp +$Comp +L resistor R9 +U 1 1 665CB182 +P 5150 4350 +F 0 "R9" H 5200 4480 50 0000 C CNN +F 1 "20k" H 5200 4300 50 0000 C CNN +F 2 "" H 5200 4330 30 0000 C CNN +F 3 "" V 5200 4400 30 0000 C CNN + 1 5150 4350 + 0 -1 -1 0 +$EndComp +$Comp +L capacitor C1 +U 1 1 665CB183 +P 5600 4200 +F 0 "C1" H 5625 4300 50 0000 L CNN +F 1 "30pF" H 5625 4100 50 0000 L CNN +F 2 "" H 5638 4050 30 0000 C CNN +F 3 "" H 5600 4200 60 0000 C CNN + 1 5600 4200 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q12 +U 1 1 665CB184 +P 5200 3700 +F 0 "Q12" H 5100 3750 50 0000 R CNN +F 1 "eSim_NPN" H 5150 3850 50 0000 R CNN +F 2 "" H 5400 3800 29 0000 C CNN +F 3 "" H 5200 3700 60 0000 C CNN + 1 5200 3700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q9 +U 1 1 665CB185 +P 3700 3700 +F 0 "Q9" H 3600 3750 50 0000 R CNN +F 1 "eSim_NPN" H 3650 3850 50 0000 R CNN +F 2 "" H 3900 3800 29 0000 C CNN +F 3 "" H 3700 3700 60 0000 C CNN + 1 3700 3700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q8 +U 1 1 665CB186 +P 3700 3150 +F 0 "Q8" H 3600 3200 50 0000 R CNN +F 1 "eSim_NPN" H 3650 3300 50 0000 R CNN +F 2 "" H 3900 3250 29 0000 C CNN +F 3 "" H 3700 3150 60 0000 C CNN + 1 3700 3150 + -1 0 0 -1 +$EndComp +$Comp +L resistor R14 +U 1 1 665CB187 +P 7450 3400 +F 0 "R14" H 7500 3530 50 0000 C CNN +F 1 "50k" H 7500 3350 50 0000 C CNN +F 2 "" H 7500 3380 30 0000 C CNN +F 3 "" V 7500 3450 30 0000 C CNN + 1 7450 3400 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R15 +U 1 1 665CB188 +P 7450 4050 +F 0 "R15" H 7500 4180 50 0000 C CNN +F 1 "500" H 7500 4000 50 0000 C CNN +F 2 "" H 7500 4030 30 0000 C CNN +F 3 "" V 7500 4100 30 0000 C CNN + 1 7450 4050 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q20 +U 1 1 665CB189 +P 7850 3700 +F 0 "Q20" H 7750 3750 50 0000 R CNN +F 1 "eSim_NPN" H 7800 3850 50 0000 R CNN +F 2 "" H 8050 3800 29 0000 C CNN +F 3 "" H 7850 3700 60 0000 C CNN + 1 7850 3700 + -1 0 0 -1 +$EndComp +$Comp +L resistor R16 +U 1 1 665CB18A +P 7800 6050 +F 0 "R16" H 7850 6180 50 0000 C CNN +F 1 "20k" H 7850 6000 50 0000 C CNN +F 2 "" H 7850 6030 30 0000 C CNN +F 3 "" V 7850 6100 30 0000 C CNN + 1 7800 6050 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R19 +U 1 1 665CB18B +P 8850 6050 +F 0 "R19" H 8900 6180 50 0000 C CNN +F 1 "4k" H 8900 6000 50 0000 C CNN +F 2 "" H 8900 6030 30 0000 C CNN +F 3 "" V 8900 6100 30 0000 C CNN + 1 8850 6050 + 0 -1 -1 0 +$EndComp +$Comp +L zener U4 +U 1 1 665CB18C +P 9650 4900 +F 0 "U4" H 9600 4800 60 0000 C CNN +F 1 "zener" H 9650 5000 60 0000 C CNN +F 2 "" H 9700 4900 60 0000 C CNN +F 3 "" H 9700 4900 60 0000 C CNN + 1 9650 4900 + 0 1 -1 0 +$EndComp +$Comp +L eSim_NPN Q19 +U 1 1 665CB18D +P 7500 2450 +F 0 "Q19" H 7400 2500 50 0000 R CNN +F 1 "eSim_NPN" H 7450 2600 50 0000 R CNN +F 2 "" H 7700 2550 29 0000 C CNN +F 3 "" H 7500 2450 60 0000 C CNN + 1 7500 2450 + -1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q17 +U 1 1 665CB18E +P 6750 2600 +F 0 "Q17" H 6650 2650 50 0000 R CNN +F 1 "eSim_PNP" H 6700 2750 50 0000 R CNN +F 2 "" H 6950 2700 29 0000 C CNN +F 3 "" H 6750 2600 60 0000 C CNN + 1 6750 2600 + 1 0 0 1 +$EndComp +$Comp +L resistor R12 +U 1 1 665CB18F +P 6450 2300 +F 0 "R12" H 6500 2430 50 0000 C CNN +F 1 "1k" H 6500 2250 50 0000 C CNN +F 2 "" H 6500 2280 30 0000 C CNN +F 3 "" V 6500 2350 30 0000 C CNN + 1 6450 2300 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q15 +U 1 1 665CB190 +P 6300 1700 +F 0 "Q15" H 6200 1750 50 0000 R CNN +F 1 "eSim_NPN" H 6250 1850 50 0000 R CNN +F 2 "" H 6500 1800 29 0000 C CNN +F 3 "" H 6300 1700 60 0000 C CNN + 1 6300 1700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q18 +U 1 1 665CB191 +P 7100 1650 +F 0 "Q18" H 7000 1700 50 0000 R CNN +F 1 "eSim_PNP" H 7050 1800 50 0000 R CNN +F 2 "" H 7300 1750 29 0000 C CNN +F 3 "" H 7100 1650 60 0000 C CNN + 1 7100 1650 + -1 0 0 1 +$EndComp +$Comp +L resistor R13 +U 1 1 665CB192 +P 7450 1450 +F 0 "R13" H 7500 1580 50 0000 C CNN +F 1 "2k" H 7500 1400 50 0000 C CNN +F 2 "" H 7500 1430 30 0000 C CNN +F 3 "" V 7500 1500 30 0000 C CNN + 1 7450 1450 + 0 -1 -1 0 +$EndComp +$Comp +L capacitor C2 +U 1 1 665CB193 +P 7900 1900 +F 0 "C2" H 7925 2000 50 0000 L CNN +F 1 "10pF" H 7925 1800 50 0000 L CNN +F 2 "" H 7938 1750 30 0000 C CNN +F 3 "" H 7900 1900 60 0000 C CNN + 1 7900 1900 + 1 0 0 -1 +$EndComp +$Comp +L resistor R17 +U 1 1 665CB194 +P 8250 2500 +F 0 "R17" H 8300 2630 50 0000 C CNN +F 1 "2k" H 8300 2450 50 0000 C CNN +F 2 "" H 8300 2480 30 0000 C CNN +F 3 "" V 8300 2550 30 0000 C CNN + 1 8250 2500 + 1 0 0 -1 +$EndComp +$Comp +L resistor R18 +U 1 1 665CB195 +P 8600 2050 +F 0 "R18" H 8650 2180 50 0000 C CNN +F 1 "200" H 8650 2000 50 0000 C CNN +F 2 "" H 8650 2030 30 0000 C CNN +F 3 "" V 8650 2100 30 0000 C CNN + 1 8600 2050 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q21 +U 1 1 665CB196 +P 8900 2350 +F 0 "Q21" H 8800 2400 50 0000 R CNN +F 1 "eSim_NPN" H 8850 2500 50 0000 R CNN +F 2 "" H 9100 2450 29 0000 C CNN +F 3 "" H 8900 2350 60 0000 C CNN + 1 8900 2350 + 0 -1 1 0 +$EndComp +$Comp +L resistor R20 +U 1 1 665CB197 +P 8950 1500 +F 0 "R20" H 9000 1630 50 0000 C CNN +F 1 "6k" H 9000 1450 50 0000 C CNN +F 2 "" H 9000 1480 30 0000 C CNN +F 3 "" V 9000 1550 30 0000 C CNN + 1 8950 1500 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R22 +U 1 1 665CB198 +P 9550 2500 +F 0 "R22" H 9600 2630 50 0000 C CNN +F 1 "50" H 9600 2450 50 0000 C CNN +F 2 "" H 9600 2480 30 0000 C CNN +F 3 "" V 9600 2550 30 0000 C CNN + 1 9550 2500 + 1 0 0 -1 +$EndComp +$Comp +L resistor R21 +U 1 1 665CB199 +P 9400 1500 +F 0 "R21" H 9450 1630 50 0000 C CNN +F 1 "50k" H 9450 1450 50 0000 C CNN +F 2 "" H 9450 1480 30 0000 C CNN +F 3 "" V 9450 1550 30 0000 C CNN + 1 9400 1500 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R24 +U 1 1 665CB19A +P 10450 3000 +F 0 "R24" H 10500 3130 50 0000 C CNN +F 1 "0.03" H 10500 2950 50 0000 C CNN +F 2 "" H 10500 2980 30 0000 C CNN +F 3 "" V 10500 3050 30 0000 C CNN + 1 10450 3000 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R23 +U 1 1 665CB19B +P 10050 2000 +F 0 "R23" H 10100 2130 50 0000 C CNN +F 1 "1k" H 10100 1950 50 0000 C CNN +F 2 "" H 10100 1980 30 0000 C CNN +F 3 "" V 10100 2050 30 0000 C CNN + 1 10050 2000 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q22 +U 1 1 665CB19C +P 9650 1200 +F 0 "Q22" H 9550 1250 50 0000 R CNN +F 1 "eSim_NPN" H 9600 1350 50 0000 R CNN +F 2 "" H 9850 1300 29 0000 C CNN +F 3 "" H 9650 1200 60 0000 C CNN + 1 9650 1200 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q23 +U 1 1 665CB19D +P 10300 1500 +F 0 "Q23" H 10200 1550 50 0000 R CNN +F 1 "eSim_NPN" H 10250 1650 50 0000 R CNN +F 2 "" H 10500 1600 29 0000 C CNN +F 3 "" H 10300 1500 60 0000 C CNN + 1 10300 1500 + 1 0 0 -1 +$EndComp +$Comp +L zener U3 +U 1 1 665CB19E +P 9350 950 +F 0 "U3" H 9300 850 60 0000 C CNN +F 1 "zener" H 9350 1050 60 0000 C CNN +F 2 "" H 9400 950 60 0000 C CNN +F 3 "" H 9400 950 60 0000 C CNN + 1 9350 950 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 1650 1000 1650 4900 +Wire Wire Line + 2200 1200 2200 5200 +Wire Wire Line + 2200 1200 2450 1200 +Wire Wire Line + 1950 800 3000 800 +Wire Wire Line + 2450 550 2450 800 +Connection ~ 2450 800 +Wire Wire Line + 9350 650 9350 550 +Wire Wire Line + 1500 550 10400 550 +Wire Wire Line + 10400 550 10400 1300 +Connection ~ 9350 550 +Wire Wire Line + 1300 4900 1300 4650 +Wire Wire Line + 1300 4650 1650 4650 +Connection ~ 1650 4650 +Wire Wire Line + 1650 5300 1650 5400 +Wire Wire Line + 1300 5300 1300 5350 +Wire Wire Line + 1300 5350 1650 5350 +Connection ~ 1650 5350 +Wire Wire Line + 1650 5700 1650 5850 +Wire Wire Line + 2400 5800 1650 5800 +Connection ~ 1650 5800 +Wire Wire Line + 1000 5100 1000 6300 +Wire Wire Line + 1000 6300 10500 6300 +Wire Wire Line + 8800 6150 8800 6300 +Connection ~ 8800 6300 +Wire Wire Line + 9650 6300 9650 5100 +Connection ~ 9650 6300 +Wire Wire Line + 1650 6150 1650 6300 +Connection ~ 1650 6300 +Wire Wire Line + 2200 5700 2200 6300 +Connection ~ 2200 6300 +Wire Wire Line + 2700 6000 2700 6300 +Connection ~ 2700 6300 +Wire Wire Line + 3050 6150 3050 6300 +Connection ~ 3050 6300 +Wire Wire Line + 3600 6150 3600 6300 +Connection ~ 3600 6300 +Wire Wire Line + 1950 5100 2200 5100 +Connection ~ 2200 5100 +Wire Wire Line + 2700 5600 2700 1550 +Wire Wire Line + 2700 1550 3600 1550 +Wire Wire Line + 3600 1550 3600 1200 +Wire Wire Line + 3000 1200 9450 1200 +Connection ~ 3600 1200 +Wire Wire Line + 1950 1200 1950 1400 +Wire Wire Line + 1950 1400 1650 1400 +Connection ~ 1650 1400 +Wire Wire Line + 1650 1000 2700 1000 +Connection ~ 2150 1000 +Connection ~ 2450 550 +Wire Wire Line + 3050 4800 3050 5850 +Wire Wire Line + 3300 5450 3050 5450 +Connection ~ 3050 5450 +Wire Wire Line + 3600 5850 3600 5650 +Wire Wire Line + 3600 5050 3600 5250 +Wire Wire Line + 3600 4400 3600 4750 +Wire Wire Line + 3350 4600 3600 4600 +Connection ~ 3600 4600 +Wire Wire Line + 3050 3450 3050 4400 +Wire Wire Line + 3050 4000 3150 4000 +Wire Wire Line + 3450 4000 3600 4000 +Wire Wire Line + 3600 3900 3600 4100 +Connection ~ 3600 4000 +Wire Wire Line + 3600 3350 3600 3500 +Wire Wire Line + 3900 3450 3900 3700 +Wire Wire Line + 3050 3450 3900 3450 +Connection ~ 3600 3450 +Connection ~ 3050 4000 +Wire Wire Line + 3600 2950 1650 2950 +Connection ~ 1650 2950 +Wire Wire Line + 4000 5150 3600 5150 +Connection ~ 3600 5150 +Wire Wire Line + 4300 5350 4300 5500 +Wire Wire Line + 4300 5500 4800 5500 +Wire Wire Line + 4650 5850 4650 5500 +Connection ~ 4650 5500 +Wire Wire Line + 4650 6150 4650 6300 +Connection ~ 4650 6300 +Wire Wire Line + 5100 6150 5100 6300 +Connection ~ 5100 6300 +Wire Wire Line + 5100 5850 5100 5700 +Wire Wire Line + 5600 5700 5600 5850 +Wire Wire Line + 5600 6150 5600 6300 +Connection ~ 5600 6300 +Wire Wire Line + 4300 4950 4300 1200 +Connection ~ 4300 1200 +Wire Wire Line + 6000 5500 5900 5500 +Wire Wire Line + 6000 5100 6000 5500 +Wire Wire Line + 5800 5100 6100 5100 +Wire Wire Line + 5600 5300 5600 5200 +Wire Wire Line + 5600 5200 6000 5200 +Connection ~ 6000 5200 +Wire Wire Line + 5800 5000 5800 5100 +Connection ~ 6000 5100 +Wire Wire Line + 6400 5300 6400 6300 +Connection ~ 6400 6300 +Wire Wire Line + 5100 4450 5100 5300 +Wire Wire Line + 5100 4800 5500 4800 +Connection ~ 5100 4800 +Wire Wire Line + 5450 4200 5300 4200 +Wire Wire Line + 5300 4200 5300 4800 +Connection ~ 5300 4800 +Wire Wire Line + 6400 4200 5750 4200 +Wire Wire Line + 5100 4150 5100 3900 +Wire Wire Line + 3900 3150 10650 3150 +Wire Wire Line + 5100 3500 5100 3150 +Connection ~ 5100 3150 +Wire Wire Line + 7400 3500 7400 3850 +Wire Wire Line + 7400 2650 7400 3200 +Connection ~ 7400 3150 +Wire Wire Line + 5400 3700 7400 3700 +Connection ~ 7400 3700 +Wire Wire Line + 7750 3900 7750 5850 +Wire Wire Line + 7750 6150 7750 6300 +Connection ~ 7750 6300 +Wire Wire Line + 8800 5850 8800 3150 +Connection ~ 8800 3150 +Wire Wire Line + 8050 3700 8300 3700 +Wire Wire Line + 8300 3700 8300 3150 +Connection ~ 8300 3150 +Wire Wire Line + 7750 3500 7750 3150 +Connection ~ 7750 3150 +Wire Wire Line + 7400 4150 7400 4300 +Wire Wire Line + 7400 4300 7750 4300 +Connection ~ 7750 4300 +Wire Wire Line + 6400 2400 6400 4900 +Wire Wire Line + 5800 4600 6400 4600 +Connection ~ 6400 4600 +Connection ~ 6400 4200 +Wire Wire Line + 6850 2800 6850 6300 +Connection ~ 6850 6300 +Wire Wire Line + 6400 2100 6400 1900 +Wire Wire Line + 6400 1500 6400 1200 +Connection ~ 6400 1200 +Wire Wire Line + 6100 1700 5900 1700 +Wire Wire Line + 5900 1700 5900 1200 +Connection ~ 5900 1200 +Wire Wire Line + 7000 1450 7000 1200 +Connection ~ 7000 1200 +Wire Wire Line + 6550 2600 6400 2600 +Connection ~ 6400 2600 +Wire Wire Line + 6850 2400 6850 1200 +Connection ~ 6850 1200 +Wire Wire Line + 7000 1850 7000 2900 +Wire Wire Line + 7000 2900 6850 2900 +Connection ~ 6850 2900 +Wire Wire Line + 7400 1550 7400 2250 +Wire Wire Line + 7300 1650 7900 1650 +Connection ~ 7400 1650 +Wire Wire Line + 7900 1650 7900 1750 +Wire Wire Line + 7900 2050 7900 2450 +Wire Wire Line + 7700 2450 8150 2450 +Connection ~ 7900 2450 +Wire Wire Line + 8450 2450 8700 2450 +Wire Wire Line + 8550 2150 8550 2450 +Connection ~ 8550 2450 +Wire Wire Line + 9100 2450 9450 2450 +Wire Wire Line + 8900 1600 8900 2150 +Wire Wire Line + 8550 1850 8550 1750 +Wire Wire Line + 8550 1750 8900 1750 +Connection ~ 8900 1750 +Wire Wire Line + 8900 1300 8900 1200 +Connection ~ 8900 1200 +Wire Wire Line + 9350 1150 9350 1300 +Wire Wire Line + 9350 1600 9350 2450 +Connection ~ 9350 2450 +Wire Wire Line + 9750 1000 9750 850 +Wire Wire Line + 9750 850 10400 850 +Connection ~ 10400 850 +Wire Wire Line + 9750 1400 9750 1500 +Wire Wire Line + 9750 1500 10100 1500 +Wire Wire Line + 10000 1800 10000 1500 +Connection ~ 10000 1500 +Wire Wire Line + 10000 2100 10000 2450 +Wire Wire Line + 9750 2450 10400 2450 +Wire Wire Line + 10400 1700 10400 2800 +Connection ~ 10000 2450 +Connection ~ 10400 2450 +Wire Wire Line + 10400 3150 10400 3100 +Connection ~ 10400 3150 +Wire Wire Line + 9650 4600 9650 3150 +Connection ~ 9650 3150 +Connection ~ 1000 6300 +Wire Wire Line + 7400 1250 7400 1200 +Connection ~ 7400 1200 +$Comp +L PORT U1 +U 1 1 665D1194 +P 1250 550 +F 0 "U1" H 1300 650 30 0000 C CNN +F 1 "PORT" H 1250 550 30 0000 C CNN +F 2 "" H 1250 550 60 0000 C CNN +F 3 "" H 1250 550 60 0000 C CNN + 1 1250 550 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 3 1 665D1335 +P 10750 6300 +F 0 "U1" H 10800 6400 30 0000 C CNN +F 1 "PORT" H 10750 6300 30 0000 C CNN +F 2 "" H 10750 6300 60 0000 C CNN +F 3 "" H 10750 6300 60 0000 C CNN + 3 10750 6300 + -1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 665D1462 +P 10900 3150 +F 0 "U1" H 10950 3250 30 0000 C CNN +F 1 "PORT" H 10900 3150 30 0000 C CNN +F 2 "" H 10900 3150 60 0000 C CNN +F 3 "" H 10900 3150 60 0000 C CNN + 2 10900 3150 + -1 0 0 -1 +$EndComp +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/lm123_sub/lm123_sub.sub b/library/SubcircuitLibrary/lm123_sub/lm123_sub.sub new file mode 100644 index 00000000..3c5d491e --- /dev/null +++ b/library/SubcircuitLibrary/lm123_sub/lm123_sub.sub @@ -0,0 +1,71 @@ +* Subcircuit lm123_sub +.subckt lm123_sub net-_q2-pad3_ net-_q12-pad1_ net-_j1-pad2_ +* c:\fossee\esim\library\subcircuitlibrary\lm123_sub\lm123_sub.cir +.include PNP.lib +.include NJF.lib +.include NPN.lib +q2 net-_j1-pad1_ net-_j1-pad1_ net-_q2-pad3_ Q2N2907A +q3 net-_q1-pad2_ net-_j1-pad1_ net-_q2-pad3_ Q2N2907A +q5 net-_q10-pad1_ net-_j1-pad1_ net-_q2-pad3_ Q2N2907A +j1 net-_j1-pad1_ net-_j1-pad2_ net-_j1-pad3_ J2N3819 +r1 net-_q4-pad2_ net-_j1-pad3_ 4k +r2 net-_j1-pad2_ net-_q4-pad2_ 250 +* u2 net-_j1-pad2_ net-_q1-pad2_ zener +q1 net-_j1-pad1_ net-_q1-pad2_ net-_j1-pad3_ Q2N2222 +q4 net-_q10-pad1_ net-_q4-pad2_ net-_j1-pad2_ Q2N2222 +r3 net-_j1-pad2_ net-_q6-pad3_ 1k +q6 net-_q6-pad1_ net-_q6-pad2_ net-_q6-pad3_ Q2N2222 +r4 net-_q6-pad1_ net-_q9-pad3_ 2k +r5 net-_q6-pad2_ net-_q9-pad3_ 1.32k +r6 net-_q10-pad2_ net-_q6-pad2_ 100 +q7 net-_q10-pad2_ net-_q6-pad3_ net-_q7-pad3_ Q2N2222 +r7 net-_j1-pad2_ net-_q7-pad3_ 100 +q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222 +r8 net-_j1-pad2_ net-_q10-pad3_ 12k +r10 net-_j1-pad2_ net-_q11-pad3_ 1k +q11 net-_c1-pad1_ net-_q10-pad3_ net-_q11-pad3_ Q2N2222 +q14 net-_q13-pad3_ net-_q13-pad3_ net-_q14-pad3_ Q2N2222 +r11 net-_j1-pad2_ net-_q14-pad3_ 4k +q13 net-_c1-pad2_ net-_c1-pad1_ net-_q13-pad3_ Q2N2222 +q16 net-_c1-pad2_ net-_q13-pad3_ net-_j1-pad2_ Q2N2222 +r9 net-_c1-pad1_ net-_q12-pad3_ 20k +c1 net-_c1-pad1_ net-_c1-pad2_ 30pf +q12 net-_q12-pad1_ net-_q12-pad2_ net-_q12-pad3_ Q2N2222 +q9 net-_q6-pad1_ net-_q6-pad1_ net-_q9-pad3_ Q2N2222 +q8 net-_j1-pad1_ net-_q12-pad1_ net-_q6-pad1_ Q2N2222 +r14 net-_q12-pad2_ net-_q12-pad1_ 50k +r15 net-_q20-pad3_ net-_q12-pad2_ 500 +q20 net-_q12-pad1_ net-_q12-pad1_ net-_q20-pad3_ Q2N2222 +r16 net-_j1-pad2_ net-_q20-pad3_ 20k +r19 net-_j1-pad2_ net-_q12-pad1_ 4k +* u4 net-_j1-pad2_ net-_q12-pad1_ zener +q19 net-_c2-pad1_ net-_c2-pad2_ net-_q12-pad1_ Q2N2222 +q17 net-_j1-pad2_ net-_c1-pad2_ net-_q10-pad1_ Q2N2907A +r12 net-_c1-pad2_ net-_q15-pad3_ 1k +q15 net-_q10-pad1_ net-_q10-pad1_ net-_q15-pad3_ Q2N2222 +q18 net-_j1-pad2_ net-_c2-pad1_ net-_q10-pad1_ Q2N2907A +r13 net-_c2-pad1_ net-_q10-pad1_ 2k +c2 net-_c2-pad1_ net-_c2-pad2_ 10pf +r17 net-_c2-pad2_ net-_q21-pad1_ 2k +r18 net-_q21-pad1_ net-_q21-pad2_ 200 +q21 net-_q21-pad1_ net-_q21-pad2_ net-_q21-pad3_ Q2N2222 +r20 net-_q21-pad2_ net-_q10-pad1_ 6k +r22 net-_q21-pad3_ net-_q23-pad3_ 50 +r21 net-_q21-pad3_ net-_r21-pad2_ 50k +r24 net-_q12-pad1_ net-_q23-pad3_ 0.03 +r23 net-_q23-pad3_ net-_q22-pad3_ 1k +q22 net-_q2-pad3_ net-_q10-pad1_ net-_q22-pad3_ Q2N2222 +q23 net-_q2-pad3_ net-_q22-pad3_ net-_q23-pad3_ Q2N2222 +* u3 net-_r21-pad2_ net-_q2-pad3_ zener +a1 net-_j1-pad2_ net-_q1-pad2_ u2 +a2 net-_j1-pad2_ net-_q12-pad1_ u4 +a3 net-_r21-pad2_ net-_q2-pad3_ 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 u4 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 lm123_sub \ No newline at end of file diff --git a/library/SubcircuitLibrary/lm123_sub/lm123_sub_Previous_Values.xml b/library/SubcircuitLibrary/lm123_sub/lm123_sub_Previous_Values.xml new file mode 100644 index 00000000..176e25f3 --- /dev/null +++ b/library/SubcircuitLibrary/lm123_sub/lm123_sub_Previous_Values.xml @@ -0,0 +1 @@ +zener5.62.0e-21.0e-121.0FALSEzener5.62.0e-21.0e-121.0FALSEzener5.62.0e-21.0e-121.0FALSEC:\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\JFET\NJF.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\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\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\NPN.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.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec \ No newline at end of file -- cgit