diff options
author | Sumanto Kar | 2024-11-21 21:32:08 +0530 |
---|---|---|
committer | Sumanto Kar | 2024-11-21 21:32:08 +0530 |
commit | b679f7c2f604e6ab0092b62165595843c1d122f0 (patch) | |
tree | be212c73b2697fe6d20f5f880b3750ccdd247699 | |
parent | 4f8c35c912492caa83f286ca291b463df965efeb (diff) | |
download | eSim-b679f7c2f604e6ab0092b62165595843c1d122f0.tar.gz eSim-b679f7c2f604e6ab0092b62165595843c1d122f0.tar.bz2 eSim-b679f7c2f604e6ab0092b62165595843c1d122f0.zip |
LM342 is a voltage regulator
-rw-r--r-- | library/SubcircuitLibrary/LM342/LM342-cache.lib | 171 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/LM342.cir | 49 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/LM342.cir.out | 65 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/LM342.pro | 73 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/LM342.proj | 1 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/LM342.sch | 712 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/LM342.sub | 59 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/LM342_Previous_Values.xml | 1 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/NJF.lib | 4 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/NPN.lib | 4 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/PNP.lib | 4 | ||||
-rw-r--r-- | library/SubcircuitLibrary/LM342/analysis | 1 |
12 files changed, 1144 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/LM342/LM342-cache.lib b/library/SubcircuitLibrary/LM342/LM342-cache.lib new file mode 100644 index 00000000..dd93a8cb --- /dev/null +++ b/library/SubcircuitLibrary/LM342/LM342-cache.lib @@ -0,0 +1,171 @@ +EESchema-LIBRARY Version 2.3 +#encoding utf-8 +# +# GND +# +DEF GND #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -250 50 H I C CNN +F1 "GND" 0 -150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N +X GND 1 0 0 0 D 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# 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/LM342/LM342.cir b/library/SubcircuitLibrary/LM342/LM342.cir new file mode 100644 index 00000000..d5ac4fe7 --- /dev/null +++ b/library/SubcircuitLibrary/LM342/LM342.cir @@ -0,0 +1,49 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM342\LM342.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 06/10/24 17:45:07 + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +J1 Net-_J1-Pad1_ GND Net-_J1-Pad3_ jfet_n +R1 Net-_J1-Pad1_ Net-_Q2-Pad3_ 418 +Q2 Net-_Q1-Pad3_ Net-_Q1-Pad1_ Net-_Q2-Pad3_ eSim_PNP +Q3 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP +Q8 Net-_Q12-Pad3_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP +Q1 Net-_Q1-Pad1_ Net-_J1-Pad3_ Net-_Q1-Pad3_ eSim_NPN +Q4 Net-_Q1-Pad1_ Net-_Q1-Pad3_ Net-_Q4-Pad3_ eSim_NPN +R2 Net-_Q4-Pad3_ Net-_Q7-Pad2_ 576 +R3 Net-_Q7-Pad2_ Net-_R3-Pad2_ 3.41k +Q7 Net-_Q7-Pad1_ Net-_Q7-Pad2_ Net-_Q4-Pad3_ eSim_PNP +U1 GND Net-_J1-Pad3_ zener +U2 GND Net-_Q1-Pad3_ zener +R4 Net-_R3-Pad2_ Net-_Q11-Pad2_ 3.89k +R5 Net-_Q7-Pad1_ GND 7.8k +Q9 Net-_Q12-Pad3_ Net-_Q7-Pad1_ GND eSim_NPN +R6 Net-_Q10-Pad2_ Net-_R3-Pad2_ 13k +Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN +Q5 Net-_Q11-Pad2_ Net-_Q11-Pad2_ Net-_Q5-Pad3_ eSim_NPN +Q6 Net-_Q5-Pad3_ Net-_Q5-Pad3_ GND eSim_NPN +Q11 Net-_Q10-Pad3_ Net-_Q11-Pad2_ Net-_Q11-Pad3_ eSim_NPN +R7 Net-_Q11-Pad3_ GND 2.84k +Q12 GND Net-_C1-Pad2_ Net-_Q12-Pad3_ eSim_PNP +Q13 Net-_C1-Pad2_ Net-_C1-Pad1_ Net-_Q10-Pad3_ eSim_NPN +R8 Net-_C1-Pad2_ Net-_Q12-Pad3_ 5.76k +Q14 Net-_Q12-Pad3_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN +R9 Net-_R13-Pad1_ Net-_Q14-Pad3_ 100 +Q15 Net-_J1-Pad1_ Net-_Q12-Pad3_ Net-_Q10-Pad1_ eSim_NPN +U4 Net-_Q14-Pad2_ Net-_R10-Pad1_ zener +R10 Net-_R10-Pad1_ Net-_R10-Pad2_ 5k +U3 Net-_R10-Pad2_ Net-_J1-Pad1_ zener +Q16 Net-_J1-Pad1_ Net-_Q10-Pad1_ Net-_Q16-Pad3_ eSim_NPN +R13 Net-_R13-Pad1_ Net-_Q10-Pad1_ 2.5k +R15 Net-_R13-Pad1_ Net-_Q16-Pad3_ 1.9 +R11 Net-_Q14-Pad2_ Net-_Q16-Pad3_ 100 +R16 Net-_R12-Pad2_ Net-_R13-Pad1_ 1.4K +R12 Net-_C1-Pad1_ Net-_R12-Pad2_ 15k +R14 Net-_R12-Pad2_ GND 2.23k +U5 Net-_J1-Pad1_ Net-_R13-Pad1_ GND PORT +C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 5pF + +.end diff --git a/library/SubcircuitLibrary/LM342/LM342.cir.out b/library/SubcircuitLibrary/LM342/LM342.cir.out new file mode 100644 index 00000000..5704bb53 --- /dev/null +++ b/library/SubcircuitLibrary/LM342/LM342.cir.out @@ -0,0 +1,65 @@ +* c:\fossee\esim\library\subcircuitlibrary\lm342\lm342.cir + +.include NPN.lib +.include PNP.lib +.include NJF.lib +j1 net-_j1-pad1_ gnd net-_j1-pad3_ J2N3819 +r1 net-_j1-pad1_ net-_q2-pad3_ 418 +q2 net-_q1-pad3_ net-_q1-pad1_ net-_q2-pad3_ Q2N2907A +q3 net-_q1-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A +q8 net-_q12-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A +q1 net-_q1-pad1_ net-_j1-pad3_ net-_q1-pad3_ Q2N2222 +q4 net-_q1-pad1_ net-_q1-pad3_ net-_q4-pad3_ Q2N2222 +r2 net-_q4-pad3_ net-_q7-pad2_ 576 +r3 net-_q7-pad2_ net-_r3-pad2_ 3.41k +q7 net-_q7-pad1_ net-_q7-pad2_ net-_q4-pad3_ Q2N2907A +* u1 gnd net-_j1-pad3_ zener +* u2 gnd net-_q1-pad3_ zener +r4 net-_r3-pad2_ net-_q11-pad2_ 3.89k +r5 net-_q7-pad1_ gnd 7.8k +q9 net-_q12-pad3_ net-_q7-pad1_ gnd Q2N2222 +r6 net-_q10-pad2_ net-_r3-pad2_ 13k +q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222 +q5 net-_q11-pad2_ net-_q11-pad2_ net-_q5-pad3_ Q2N2222 +q6 net-_q5-pad3_ net-_q5-pad3_ gnd Q2N2222 +q11 net-_q10-pad3_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222 +r7 net-_q11-pad3_ gnd 2.84k +q12 gnd net-_c1-pad2_ net-_q12-pad3_ Q2N2907A +q13 net-_c1-pad2_ net-_c1-pad1_ net-_q10-pad3_ Q2N2222 +r8 net-_c1-pad2_ net-_q12-pad3_ 5.76k +q14 net-_q12-pad3_ net-_q14-pad2_ net-_q14-pad3_ Q2N2222 +r9 net-_r13-pad1_ net-_q14-pad3_ 100 +q15 net-_j1-pad1_ net-_q12-pad3_ net-_q10-pad1_ Q2N2222 +* u4 net-_q14-pad2_ net-_r10-pad1_ zener +r10 net-_r10-pad1_ net-_r10-pad2_ 5k +* u3 net-_r10-pad2_ net-_j1-pad1_ zener +q16 net-_j1-pad1_ net-_q10-pad1_ net-_q16-pad3_ Q2N2222 +r13 net-_r13-pad1_ net-_q10-pad1_ 2.5k +r15 net-_r13-pad1_ net-_q16-pad3_ 1.9 +r11 net-_q14-pad2_ net-_q16-pad3_ 100 +r16 net-_r12-pad2_ net-_r13-pad1_ 1.4k +r12 net-_c1-pad1_ net-_r12-pad2_ 15k +r14 net-_r12-pad2_ gnd 2.23k +* u5 net-_j1-pad1_ net-_r13-pad1_ gnd port +c1 net-_c1-pad1_ net-_c1-pad2_ 5pf +a1 gnd net-_j1-pad3_ u1 +a2 gnd net-_q1-pad3_ u2 +a3 net-_q14-pad2_ net-_r10-pad1_ u4 +a4 net-_r10-pad2_ net-_j1-pad1_ u3 +* Schematic Name: zener, NgSpice Name: zener +.model u1 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 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/LM342/LM342.pro b/library/SubcircuitLibrary/LM342/LM342.pro new file mode 100644 index 00000000..e27a398b --- /dev/null +++ b/library/SubcircuitLibrary/LM342/LM342.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/LM342/LM342.proj b/library/SubcircuitLibrary/LM342/LM342.proj new file mode 100644 index 00000000..0b64de5c --- /dev/null +++ b/library/SubcircuitLibrary/LM342/LM342.proj @@ -0,0 +1 @@ +schematicFile IC.sch diff --git a/library/SubcircuitLibrary/LM342/LM342.sch b/library/SubcircuitLibrary/LM342/LM342.sch new file mode 100644 index 00000000..fe16e900 --- /dev/null +++ b/library/SubcircuitLibrary/LM342/LM342.sch @@ -0,0 +1,712 @@ +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:LM342-cache +EELAYER 25 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 1 1 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L jfet_n J1 +U 1 1 6654C123 +P 2900 2550 +F 0 "J1" H 2800 2600 50 0000 R CNN +F 1 "jfet_n" H 2850 2700 50 0000 R CNN +F 2 "" H 3100 2650 29 0000 C CNN +F 3 "" H 2900 2550 60 0000 C CNN + 1 2900 2550 + 1 0 0 -1 +$EndComp +$Comp +L resistor R1 +U 1 1 6654C17C +P 3650 1950 +F 0 "R1" H 3700 2080 50 0000 C CNN +F 1 "418" H 3700 1900 50 0000 C CNN +F 2 "" H 3700 1930 30 0000 C CNN +F 3 "" V 3700 2000 30 0000 C CNN + 1 3650 1950 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q2 +U 1 1 6654C272 +P 3800 2350 +F 0 "Q2" H 3700 2400 50 0000 R CNN +F 1 "eSim_PNP" H 3750 2500 50 0000 R CNN +F 2 "" H 4000 2450 29 0000 C CNN +F 3 "" H 3800 2350 60 0000 C CNN + 1 3800 2350 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q3 +U 1 1 6654C2A6 +P 4200 2350 +F 0 "Q3" H 4100 2400 50 0000 R CNN +F 1 "eSim_PNP" H 4150 2500 50 0000 R CNN +F 2 "" H 4400 2450 29 0000 C CNN +F 3 "" H 4200 2350 60 0000 C CNN + 1 4200 2350 + 1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q8 +U 1 1 6654C2E2 +P 4650 2350 +F 0 "Q8" H 4550 2400 50 0000 R CNN +F 1 "eSim_PNP" H 4600 2500 50 0000 R CNN +F 2 "" H 4850 2450 29 0000 C CNN +F 3 "" H 4650 2350 60 0000 C CNN + 1 4650 2350 + 1 0 0 1 +$EndComp +Wire Wire Line + 4450 2350 4450 2050 +Wire Wire Line + 4450 2050 4000 2050 +Wire Wire Line + 4000 2050 4000 2650 +Wire Wire Line + 4300 2150 4300 1950 +Wire Wire Line + 4300 1950 4750 1950 +Wire Wire Line + 4750 1950 4750 2150 +Wire Wire Line + 4500 1850 4500 1950 +Wire Wire Line + 3000 1850 8900 1850 +Connection ~ 4500 1950 +Wire Wire Line + 3000 2350 3000 1850 +Connection ~ 3700 1850 +Connection ~ 4000 2350 +$Comp +L eSim_NPN Q1 +U 1 1 6654C341 +P 3200 3000 +F 0 "Q1" H 3100 3050 50 0000 R CNN +F 1 "eSim_NPN" H 3150 3150 50 0000 R CNN +F 2 "" H 3400 3100 29 0000 C CNN +F 3 "" H 3200 3000 60 0000 C CNN + 1 3200 3000 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q4 +U 1 1 6654C386 +P 4200 3000 +F 0 "Q4" H 4100 3050 50 0000 R CNN +F 1 "eSim_NPN" H 4150 3150 50 0000 R CNN +F 2 "" H 4400 3100 29 0000 C CNN +F 3 "" H 4200 3000 60 0000 C CNN + 1 4200 3000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4300 2550 4300 2800 +Wire Wire Line + 4000 2650 4300 2650 +Connection ~ 4300 2650 +Wire Wire Line + 4300 2800 3300 2800 +Wire Wire Line + 3000 2750 3000 4000 +Wire Wire Line + 3300 3200 3300 3250 +Wire Wire Line + 3300 3250 4000 3250 +Wire Wire Line + 4000 3250 4000 3000 +$Comp +L resistor R2 +U 1 1 6654C4BA +P 4250 3450 +F 0 "R2" H 4300 3580 50 0000 C CNN +F 1 "576" H 4300 3400 50 0000 C CNN +F 2 "" H 4300 3430 30 0000 C CNN +F 3 "" V 4300 3500 30 0000 C CNN + 1 4250 3450 + 0 1 1 0 +$EndComp +$Comp +L resistor R3 +U 1 1 6654C52C +P 4250 3950 +F 0 "R3" H 4300 4080 50 0000 C CNN +F 1 "3.41k" H 4300 3900 50 0000 C CNN +F 2 "" H 4300 3930 30 0000 C CNN +F 3 "" V 4300 4000 30 0000 C CNN + 1 4250 3950 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q7 +U 1 1 6654C567 +P 4500 3750 +F 0 "Q7" H 4400 3800 50 0000 R CNN +F 1 "eSim_PNP" H 4450 3900 50 0000 R CNN +F 2 "" H 4700 3850 29 0000 C CNN +F 3 "" H 4500 3750 60 0000 C CNN + 1 4500 3750 + 1 0 0 1 +$EndComp +Wire Wire Line + 4300 3200 4300 3350 +Wire Wire Line + 4300 3650 4300 3850 +Connection ~ 4300 3750 +Wire Wire Line + 4600 3550 4600 3250 +Wire Wire Line + 4600 3250 4300 3250 +Connection ~ 4300 3250 +$Comp +L zener U1 +U 1 1 6654C7D3 +P 3000 4300 +F 0 "U1" H 2950 4200 60 0000 C CNN +F 1 "zener" H 3000 4400 60 0000 C CNN +F 2 "" H 3050 4300 60 0000 C CNN +F 3 "" H 3050 4300 60 0000 C CNN + 1 3000 4300 + 0 -1 -1 0 +$EndComp +$Comp +L zener U2 +U 1 1 6654C819 +P 3550 4300 +F 0 "U2" H 3500 4200 60 0000 C CNN +F 1 "zener" H 3550 4400 60 0000 C CNN +F 2 "" H 3600 4300 60 0000 C CNN +F 3 "" H 3600 4300 60 0000 C CNN + 1 3550 4300 + 0 1 -1 0 +$EndComp +Connection ~ 3000 3000 +$Comp +L resistor R4 +U 1 1 6654C8AF +P 4250 4750 +F 0 "R4" H 4300 4880 50 0000 C CNN +F 1 "3.89k" H 4300 4700 50 0000 C CNN +F 2 "" H 4300 4730 30 0000 C CNN +F 3 "" V 4300 4800 30 0000 C CNN + 1 4250 4750 + 0 1 1 0 +$EndComp +Wire Wire Line + 4300 4650 4300 4150 +$Comp +L resistor R5 +U 1 1 6654C938 +P 4550 4750 +F 0 "R5" H 4600 4880 50 0000 C CNN +F 1 "7.8k" H 4600 4700 50 0000 C CNN +F 2 "" H 4600 4730 30 0000 C CNN +F 3 "" V 4600 4800 30 0000 C CNN + 1 4550 4750 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q9 +U 1 1 6654C986 +P 4800 4400 +F 0 "Q9" H 4700 4450 50 0000 R CNN +F 1 "eSim_NPN" H 4750 4550 50 0000 R CNN +F 2 "" H 5000 4500 29 0000 C CNN +F 3 "" H 4800 4400 60 0000 C CNN + 1 4800 4400 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4750 2550 7550 2550 +Wire Wire Line + 4900 2550 4900 4200 +Wire Wire Line + 4600 3950 4600 4650 +Connection ~ 4600 4400 +$Comp +L resistor R6 +U 1 1 6654CBA7 +P 5400 4100 +F 0 "R6" H 5450 4230 50 0000 C CNN +F 1 "13k" H 5450 4050 50 0000 C CNN +F 2 "" H 5450 4080 30 0000 C CNN +F 3 "" V 5450 4150 30 0000 C CNN + 1 5400 4100 + -1 0 0 1 +$EndComp +Wire Wire Line + 4300 4150 5200 4150 +$Comp +L eSim_NPN Q10 +U 1 1 6654CC43 +P 5700 4150 +F 0 "Q10" H 5600 4200 50 0000 R CNN +F 1 "eSim_NPN" H 5650 4300 50 0000 R CNN +F 2 "" H 5900 4250 29 0000 C CNN +F 3 "" H 5700 4150 60 0000 C CNN + 1 5700 4150 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3550 2550 3550 4000 +Connection ~ 3550 3250 +Wire Wire Line + 3550 2550 3700 2550 +$Comp +L eSim_NPN Q5 +U 1 1 6654D001 +P 4200 5250 +F 0 "Q5" H 4100 5300 50 0000 R CNN +F 1 "eSim_NPN" H 4150 5400 50 0000 R CNN +F 2 "" H 4400 5350 29 0000 C CNN +F 3 "" H 4200 5250 60 0000 C CNN + 1 4200 5250 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q6 +U 1 1 6654D077 +P 4200 5750 +F 0 "Q6" H 4100 5800 50 0000 R CNN +F 1 "eSim_NPN" H 4150 5900 50 0000 R CNN +F 2 "" H 4400 5850 29 0000 C CNN +F 3 "" H 4200 5750 60 0000 C CNN + 1 4200 5750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4000 5750 4000 5500 +Wire Wire Line + 4000 5500 4300 5500 +Wire Wire Line + 4300 5450 4300 5550 +Connection ~ 4300 5500 +Wire Wire Line + 4000 5000 4300 5000 +Wire Wire Line + 4300 4950 4300 5050 +Connection ~ 4300 5000 +$Comp +L eSim_NPN Q11 +U 1 1 6654D1D8 +P 5700 5250 +F 0 "Q11" H 5600 5300 50 0000 R CNN +F 1 "eSim_NPN" H 5650 5400 50 0000 R CNN +F 2 "" H 5900 5350 29 0000 C CNN +F 3 "" H 5700 5250 60 0000 C CNN + 1 5700 5250 + 1 0 0 -1 +$EndComp +$Comp +L resistor R7 +U 1 1 6654D303 +P 5750 5700 +F 0 "R7" H 5800 5830 50 0000 C CNN +F 1 "2.84k" H 5800 5650 50 0000 C CNN +F 2 "" H 5800 5680 30 0000 C CNN +F 3 "" V 5800 5750 30 0000 C CNN + 1 5750 5700 + 0 1 1 0 +$EndComp +Wire Wire Line + 5800 5600 5800 5450 +Wire Wire Line + 4300 6100 4300 5950 +Wire Wire Line + 2600 6100 8850 6100 +Wire Wire Line + 3000 6100 3000 4500 +Wire Wire Line + 3550 4500 3550 6100 +Connection ~ 3550 6100 +Wire Wire Line + 4600 6100 4600 4950 +Connection ~ 4300 6100 +Wire Wire Line + 4900 6100 4900 4600 +Connection ~ 4600 6100 +Wire Wire Line + 5800 6100 5800 5900 +Connection ~ 4900 6100 +Wire Wire Line + 2600 6100 2600 2550 +Wire Wire Line + 2600 2550 2700 2550 +Connection ~ 3000 6100 +Wire Wire Line + 5800 4350 5800 5050 +$Comp +L eSim_PNP Q12 +U 1 1 6654DE46 +P 6200 3050 +F 0 "Q12" H 6100 3100 50 0000 R CNN +F 1 "eSim_PNP" H 6150 3200 50 0000 R CNN +F 2 "" H 6400 3150 29 0000 C CNN +F 3 "" H 6200 3050 60 0000 C CNN + 1 6200 3050 + -1 0 0 1 +$EndComp +Connection ~ 4900 2550 +Wire Wire Line + 6100 6100 6100 3250 +Connection ~ 5800 6100 +$Comp +L eSim_NPN Q13 +U 1 1 6654EC26 +P 6550 4150 +F 0 "Q13" H 6450 4200 50 0000 R CNN +F 1 "eSim_NPN" H 6500 4300 50 0000 R CNN +F 2 "" H 6750 4250 29 0000 C CNN +F 3 "" H 6550 4150 60 0000 C CNN + 1 6550 4150 + -1 0 0 -1 +$EndComp +Wire Wire Line + 6450 4350 5800 4350 +Connection ~ 5800 4350 +Wire Wire Line + 6450 2900 6450 3950 +Wire Wire Line + 6450 3850 6800 3850 +Wire Wire Line + 7250 3850 7250 4150 +Wire Wire Line + 6750 4150 7800 4150 +Connection ~ 6450 3850 +Wire Wire Line + 6400 3050 6450 3050 +$Comp +L resistor R8 +U 1 1 6654F024 +P 6500 2800 +F 0 "R8" H 6550 2930 50 0000 C CNN +F 1 "5.76k" H 6550 2750 50 0000 C CNN +F 2 "" H 6550 2780 30 0000 C CNN +F 3 "" V 6550 2850 30 0000 C CNN + 1 6500 2800 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 6100 2550 6100 2850 +Wire Wire Line + 6450 2550 6450 2600 +Connection ~ 6100 2550 +Connection ~ 6450 3050 +$Comp +L eSim_NPN Q14 +U 1 1 6654FDD3 +P 6950 2850 +F 0 "Q14" H 6850 2900 50 0000 R CNN +F 1 "eSim_NPN" H 6900 3000 50 0000 R CNN +F 2 "" H 7150 2950 29 0000 C CNN +F 3 "" H 6950 2850 60 0000 C CNN + 1 6950 2850 + -1 0 0 -1 +$EndComp +Wire Wire Line + 6850 2550 6850 2650 +Connection ~ 6450 2550 +$Comp +L resistor R9 +U 1 1 6654FECC +P 6900 3250 +F 0 "R9" H 6950 3380 50 0000 C CNN +F 1 "100" H 6950 3200 50 0000 C CNN +F 2 "" H 6950 3230 30 0000 C CNN +F 3 "" V 6950 3300 30 0000 C CNN + 1 6900 3250 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q15 +U 1 1 66550825 +P 7750 2550 +F 0 "Q15" H 7650 2600 50 0000 R CNN +F 1 "eSim_NPN" H 7700 2700 50 0000 R CNN +F 2 "" H 7950 2650 29 0000 C CNN +F 3 "" H 7750 2550 60 0000 C CNN + 1 7750 2550 + 1 0 0 -1 +$EndComp +$Comp +L zener U4 +U 1 1 665508B7 +P 7350 3100 +F 0 "U4" H 7300 3000 60 0000 C CNN +F 1 "zener" H 7350 3200 60 0000 C CNN +F 2 "" H 7400 3100 60 0000 C CNN +F 3 "" H 7400 3100 60 0000 C CNN + 1 7350 3100 + 0 1 -1 0 +$EndComp +$Comp +L resistor R10 +U 1 1 66550937 +P 7400 2700 +F 0 "R10" H 7450 2830 50 0000 C CNN +F 1 "5k" H 7450 2650 50 0000 C CNN +F 2 "" H 7450 2680 30 0000 C CNN +F 3 "" V 7450 2750 30 0000 C CNN + 1 7400 2700 + 0 -1 -1 0 +$EndComp +$Comp +L zener U3 +U 1 1 665509D5 +P 7350 2300 +F 0 "U3" H 7300 2200 60 0000 C CNN +F 1 "zener" H 7350 2400 60 0000 C CNN +F 2 "" H 7400 2300 60 0000 C CNN +F 3 "" H 7400 2300 60 0000 C CNN + 1 7350 2300 + 0 1 -1 0 +$EndComp +Wire Wire Line + 7150 2850 7150 3300 +Wire Wire Line + 7150 3300 7450 3300 +Connection ~ 6850 2550 +Wire Wire Line + 7350 1850 7350 2000 +Connection ~ 4500 1850 +Wire Wire Line + 7850 1850 7850 2350 +Connection ~ 7350 1850 +$Comp +L eSim_NPN Q16 +U 1 1 6655252E +P 8600 2750 +F 0 "Q16" H 8500 2800 50 0000 R CNN +F 1 "eSim_NPN" H 8550 2900 50 0000 R CNN +F 2 "" H 8800 2850 29 0000 C CNN +F 3 "" H 8600 2750 60 0000 C CNN + 1 8600 2750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8700 1850 8700 2550 +Connection ~ 7850 1850 +Wire Wire Line + 7850 2750 8400 2750 +Wire Wire Line + 8050 2750 8050 3700 +Wire Wire Line + 8050 3700 5800 3700 +Wire Wire Line + 5800 3700 5800 3950 +Connection ~ 8050 2750 +$Comp +L resistor R13 +U 1 1 66552759 +P 8350 3200 +F 0 "R13" H 8400 3330 50 0000 C CNN +F 1 "2.5k" H 8400 3150 50 0000 C CNN +F 2 "" H 8400 3180 30 0000 C CNN +F 3 "" V 8400 3250 30 0000 C CNN + 1 8350 3200 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 8300 3000 8300 2750 +Connection ~ 8300 2750 +Wire Wire Line + 8300 3300 8300 3500 +Wire Wire Line + 6850 3500 8900 3500 +Wire Wire Line + 6850 3500 6850 3350 +$Comp +L resistor R15 +U 1 1 66552912 +P 8750 3200 +F 0 "R15" H 8800 3330 50 0000 C CNN +F 1 "1.9" H 8800 3150 50 0000 C CNN +F 2 "" H 8800 3180 30 0000 C CNN +F 3 "" V 8800 3250 30 0000 C CNN + 1 8750 3200 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R11 +U 1 1 66552994 +P 7550 3350 +F 0 "R11" H 7600 3480 50 0000 C CNN +F 1 "100" H 7600 3300 50 0000 C CNN +F 2 "" H 7600 3330 30 0000 C CNN +F 3 "" V 7600 3400 30 0000 C CNN + 1 7550 3350 + 1 0 0 -1 +$EndComp +Connection ~ 7350 3300 +Wire Wire Line + 7750 3300 7750 3000 +Wire Wire Line + 7750 3000 8700 3000 +Wire Wire Line + 8700 3000 8700 2950 +Wire Wire Line + 8700 3300 8700 3650 +Connection ~ 8300 3500 +Connection ~ 8900 3500 +Connection ~ 8700 3500 +$Comp +L resistor R16 +U 1 1 665532F1 +P 8750 3850 +F 0 "R16" H 8800 3980 50 0000 C CNN +F 1 "1.4K" H 8800 3800 50 0000 C CNN +F 2 "" H 8800 3830 30 0000 C CNN +F 3 "" V 8800 3900 30 0000 C CNN + 1 8750 3850 + 0 -1 -1 0 +$EndComp +$Comp +L resistor R12 +U 1 1 66553383 +P 7900 4200 +F 0 "R12" H 7950 4330 50 0000 C CNN +F 1 "15k" H 7950 4150 50 0000 C CNN +F 2 "" H 7950 4180 30 0000 C CNN +F 3 "" V 7950 4250 30 0000 C CNN + 1 7900 4200 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8100 4150 8700 4150 +Wire Wire Line + 8700 3950 8700 4950 +$Comp +L resistor R14 +U 1 1 66553D5B +P 8650 5050 +F 0 "R14" H 8700 5180 50 0000 C CNN +F 1 "2.23k" H 8700 5000 50 0000 C CNN +F 2 "" H 8700 5030 30 0000 C CNN +F 3 "" V 8700 5100 30 0000 C CNN + 1 8650 5050 + 0 1 1 0 +$EndComp +Connection ~ 8700 4150 +Wire Wire Line + 8700 6100 8700 5250 +Connection ~ 6100 6100 +Connection ~ 8850 6100 +Connection ~ 8700 6100 +Connection ~ 8900 1850 +Connection ~ 8700 1850 +Connection ~ 7250 4150 +Wire Wire Line + 7100 3850 7250 3850 +$Comp +L PORT U5 +U 2 1 66558894 +P 9150 3500 +F 0 "U5" H 9200 3600 30 0000 C CNN +F 1 "PORT" H 9150 3500 30 0000 C CNN +F 2 "" H 9150 3500 60 0000 C CNN +F 3 "" H 9150 3500 60 0000 C CNN + 2 9150 3500 + -1 0 0 1 +$EndComp +$Comp +L PORT U5 +U 3 1 66558905 +P 9100 6100 +F 0 "U5" H 9150 6200 30 0000 C CNN +F 1 "PORT" H 9100 6100 30 0000 C CNN +F 2 "" H 9100 6100 60 0000 C CNN +F 3 "" H 9100 6100 60 0000 C CNN + 3 9100 6100 + -1 0 0 1 +$EndComp +$Comp +L PORT U5 +U 1 1 66558976 +P 9150 1850 +F 0 "U5" H 9200 1950 30 0000 C CNN +F 1 "PORT" H 9150 1850 30 0000 C CNN +F 2 "" H 9150 1850 60 0000 C CNN +F 3 "" H 9150 1850 60 0000 C CNN + 1 9150 1850 + -1 0 0 1 +$EndComp +$Comp +L GND #PWR1 +U 1 1 6666F3E4 +P 7950 6100 +F 0 "#PWR1" H 7950 5850 50 0001 C CNN +F 1 "GND" H 7950 5950 50 0000 C CNN +F 2 "" H 7950 6100 50 0001 C CNN +F 3 "" H 7950 6100 50 0001 C CNN + 1 7950 6100 + 1 0 0 -1 +$EndComp +Connection ~ 7950 6100 +Wire Wire Line + 4000 5000 4000 5250 +Wire Wire Line + 4000 5250 5500 5250 +$Comp +L capacitor C1 +U 1 1 666705BB +P 6950 3850 +F 0 "C1" H 6975 3950 50 0000 L CNN +F 1 "5pF" H 6975 3750 50 0000 L CNN +F 2 "" H 6988 3700 30 0000 C CNN +F 3 "" H 6950 3850 60 0000 C CNN + 1 6950 3850 + 0 1 1 0 +$EndComp +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/LM342/LM342.sub b/library/SubcircuitLibrary/LM342/LM342.sub new file mode 100644 index 00000000..470429b5 --- /dev/null +++ b/library/SubcircuitLibrary/LM342/LM342.sub @@ -0,0 +1,59 @@ +* Subcircuit LM342 +.subckt LM342 net-_j1-pad1_ net-_r13-pad1_ gnd +* c:\fossee\esim\library\subcircuitlibrary\lm342\lm342.cir +.include NPN.lib +.include PNP.lib +.include NJF.lib +j1 net-_j1-pad1_ gnd net-_j1-pad3_ J2N3819 +r1 net-_j1-pad1_ net-_q2-pad3_ 418 +q2 net-_q1-pad3_ net-_q1-pad1_ net-_q2-pad3_ Q2N2907A +q3 net-_q1-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A +q8 net-_q12-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A +q1 net-_q1-pad1_ net-_j1-pad3_ net-_q1-pad3_ Q2N2222 +q4 net-_q1-pad1_ net-_q1-pad3_ net-_q4-pad3_ Q2N2222 +r2 net-_q4-pad3_ net-_q7-pad2_ 576 +r3 net-_q7-pad2_ net-_r3-pad2_ 3.41k +q7 net-_q7-pad1_ net-_q7-pad2_ net-_q4-pad3_ Q2N2907A +* u1 gnd net-_j1-pad3_ zener +* u2 gnd net-_q1-pad3_ zener +r4 net-_r3-pad2_ net-_q11-pad2_ 3.89k +r5 net-_q7-pad1_ gnd 7.8k +q9 net-_q12-pad3_ net-_q7-pad1_ gnd Q2N2222 +r6 net-_q10-pad2_ net-_r3-pad2_ 13k +q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222 +q5 net-_q11-pad2_ net-_q11-pad2_ net-_q5-pad3_ Q2N2222 +q6 net-_q5-pad3_ net-_q5-pad3_ gnd Q2N2222 +q11 net-_q10-pad3_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222 +r7 net-_q11-pad3_ gnd 2.84k +q12 gnd net-_c1-pad2_ net-_q12-pad3_ Q2N2907A +q13 net-_c1-pad2_ net-_c1-pad1_ net-_q10-pad3_ Q2N2222 +r8 net-_c1-pad2_ net-_q12-pad3_ 5.76k +q14 net-_q12-pad3_ net-_q14-pad2_ net-_q14-pad3_ Q2N2222 +r9 net-_r13-pad1_ net-_q14-pad3_ 100 +q15 net-_j1-pad1_ net-_q12-pad3_ net-_q10-pad1_ Q2N2222 +* u4 net-_q14-pad2_ net-_r10-pad1_ zener +r10 net-_r10-pad1_ net-_r10-pad2_ 5k +* u3 net-_r10-pad2_ net-_j1-pad1_ zener +q16 net-_j1-pad1_ net-_q10-pad1_ net-_q16-pad3_ Q2N2222 +r13 net-_r13-pad1_ net-_q10-pad1_ 2.5k +r15 net-_r13-pad1_ net-_q16-pad3_ 1.9 +r11 net-_q14-pad2_ net-_q16-pad3_ 100 +r16 net-_r12-pad2_ net-_r13-pad1_ 1.4k +r12 net-_c1-pad1_ net-_r12-pad2_ 15k +r14 net-_r12-pad2_ gnd 2.23k +c1 net-_c1-pad1_ net-_c1-pad2_ 5pf +a1 gnd net-_j1-pad3_ u1 +a2 gnd net-_q1-pad3_ u2 +a3 net-_q14-pad2_ net-_r10-pad1_ u4 +a4 net-_r10-pad2_ net-_j1-pad1_ u3 +* Schematic Name: zener, NgSpice Name: zener +.model u1 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 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 LM342
\ No newline at end of file diff --git a/library/SubcircuitLibrary/LM342/LM342_Previous_Values.xml b/library/SubcircuitLibrary/LM342/LM342_Previous_Values.xml new file mode 100644 index 00000000..94df9ec5 --- /dev/null +++ b/library/SubcircuitLibrary/LM342/LM342_Previous_Values.xml @@ -0,0 +1 @@ +<KicadtoNgspice><source /><model><u1 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)" /></u1><u2 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)" /></u2><u4 name="type">zener<field11 name="Enter Breakdown Voltage (default=5.6)" /><field12 name="Enter Breakdown Current (default=2.0e-2)" /><field13 name="Enter Saturation Current (default=1.0e-12)" /><field14 name="Enter Forward Emission Coefficient (default=1.0)" /><field15 name="Enter Switch for Limiting (default=FALSE)" /></u4><u3 name="type">zener<field16 name="Enter Breakdown Voltage (default=5.6)" /><field17 name="Enter Breakdown Current (default=2.0e-2)" /><field18 name="Enter Saturation Current (default=1.0e-12)" /><field19 name="Enter Forward Emission Coefficient (default=1.0)" /><field20 name="Enter Switch for Limiting (default=FALSE)" /></u3></model><devicemodel><j1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q3><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">sec</field4><field5 name="Step Combo">sec</field5><field6 name="Stop Combo">sec</field6></tran></analysis></KicadtoNgspice>
\ No newline at end of file diff --git a/library/SubcircuitLibrary/LM342/NJF.lib b/library/SubcircuitLibrary/LM342/NJF.lib new file mode 100644 index 00000000..dbb2cbae --- /dev/null +++ b/library/SubcircuitLibrary/LM342/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/LM342/NPN.lib b/library/SubcircuitLibrary/LM342/NPN.lib new file mode 100644 index 00000000..be5f3073 --- /dev/null +++ b/library/SubcircuitLibrary/LM342/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/LM342/PNP.lib b/library/SubcircuitLibrary/LM342/PNP.lib new file mode 100644 index 00000000..7edda0ea --- /dev/null +++ b/library/SubcircuitLibrary/LM342/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/LM342/analysis b/library/SubcircuitLibrary/LM342/analysis new file mode 100644 index 00000000..ebd5c0a9 --- /dev/null +++ b/library/SubcircuitLibrary/LM342/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00
\ No newline at end of file |