summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumanto Kar2024-11-21 21:11:50 +0530
committerSumanto Kar2024-11-21 21:11:50 +0530
commit9f8003ffda69105b5669d32f5eed9ec91e2fff81 (patch)
treeb304d7094a6139684a6d89fd53b281801b025f67
parent42dfbda3101e61be2b5e1f04f9c5905ae3cc5257 (diff)
downloadeSim-9f8003ffda69105b5669d32f5eed9ec91e2fff81.tar.gz
eSim-9f8003ffda69105b5669d32f5eed9ec91e2fff81.tar.bz2
eSim-9f8003ffda69105b5669d32f5eed9ec91e2fff81.zip
LM140K is a 3-terminal positive voltage regulator
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB-cache.lib151
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir57
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir.out66
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.pro73
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sch879
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sub60
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/analysis1
10 files changed, 1296 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB-cache.lib b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB-cache.lib
new file mode 100644
index 00000000..64bbe7a8
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB-cache.lib
@@ -0,0 +1,151 @@
+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_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_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
+#
+# 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/LM140K_Sub/LM140k_SUB.cir b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir
new file mode 100644
index 00000000..8ea27a81
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir
@@ -0,0 +1,57 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM140k_SUB\LM140k_SUB.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 08/31/24 15:45:18
+
+* 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-_C3-Pad1_ Net-_Q1-Pad2_ 80K
+Q1 Net-_C3-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+R2 Net-_Q1-Pad3_ Net-_Q3-Pad2_ 7K
+U1 Net-_C4-Pad2_ Net-_Q1-Pad2_ zener
+R3 Net-_Q3-Pad2_ Net-_Q2-Pad2_ 4.97k
+R4 Net-_Q2-Pad2_ Net-_C4-Pad2_ 830
+Q4 Net-_Q3-Pad1_ Net-_Q3-Pad1_ Net-_C3-Pad1_ eSim_PNP
+Q8 Net-_Q12-Pad1_ Net-_Q3-Pad1_ Net-_C3-Pad1_ eSim_PNP
+Q5 Net-_Q3-Pad1_ Net-_Q1-Pad3_ Net-_Q5-Pad3_ eSim_NPN
+Q3 Net-_Q3-Pad1_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN
+Q6 Net-_Q5-Pad3_ Net-_Q13-Pad2_ Net-_Q6-Pad3_ eSim_NPN
+R5 Net-_Q3-Pad3_ Net-_Q6-Pad3_ 500
+R7 Net-_Q6-Pad3_ Net-_Q7-Pad2_ 1.9k
+Q7 Net-_Q6-Pad3_ Net-_Q7-Pad2_ Net-_C1-Pad2_ eSim_NPN
+R9 Net-_Q10-Pad3_ Net-_C4-Pad2_ 12.1k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 4pF
+R6 Net-_C1-Pad2_ Net-_C4-Pad2_ 1.2k
+Q2 Net-_Q12-Pad1_ Net-_Q2-Pad2_ Net-_C4-Pad2_ eSim_NPN
+R8 Net-_Q7-Pad2_ Net-_C1-Pad1_ 26
+Q9 Net-_C1-Pad1_ Net-_C1-Pad2_ Net-_C4-Pad2_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_C1-Pad1_ Net-_Q10-Pad3_ eSim_NPN
+U2 Net-_Q12-Pad2_ Net-_R13-Pad2_ zener
+R13 Net-_C3-Pad1_ Net-_R13-Pad2_ 16k
+Q13 Net-_Q13-Pad1_ Net-_Q13-Pad2_ Net-_Q10-Pad1_ eSim_NPN
+R12 Net-_Q11-Pad3_ Net-_C4-Pad2_ 1k
+Q11 Net-_C2-Pad2_ Net-_Q10-Pad3_ Net-_Q11-Pad3_ eSim_NPN
+R11 Net-_Q10-Pad1_ Net-_C2-Pad2_ 16.5k
+Q12 Net-_Q12-Pad1_ Net-_Q12-Pad2_ Net-_Q12-Pad3_ eSim_NPN
+R10 Net-_Q12-Pad3_ Net-_C4-Pad1_ 100
+R15 Net-_Q19-Pad3_ Net-_Q12-Pad2_ 380
+Q17 Net-_C3-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad1_ eSim_NPN
+Q19 Net-_C3-Pad1_ Net-_Q13-Pad1_ Net-_Q19-Pad3_ eSim_NPN
+R18 Net-_Q13-Pad1_ Net-_Q12-Pad2_ 1.62k
+R19 Net-_C4-Pad1_ Net-_Q19-Pad3_ 0.25
+R20 Net-_Q13-Pad2_ Net-_C4-Pad1_ 1.39k
+R16 Net-_Q12-Pad1_ Net-_Q18-Pad3_ 850
+R17 Net-_Q18-Pad3_ Net-_C2-Pad1_ 4k
+Q16 Net-_C2-Pad1_ Net-_Q14-Pad3_ Net-_C4-Pad2_ eSim_NPN
+C2 Net-_C2-Pad1_ Net-_C2-Pad2_ 20pF
+Q14 Net-_C2-Pad1_ Net-_C2-Pad2_ Net-_Q14-Pad3_ eSim_NPN
+R14 Net-_Q15-Pad3_ Net-_C4-Pad2_ 4k
+Q15 Net-_Q14-Pad3_ Net-_Q14-Pad3_ Net-_Q15-Pad3_ eSim_NPN
+Q18 Net-_C4-Pad2_ Net-_C2-Pad1_ Net-_Q18-Pad3_ eSim_PNP
+R21 Net-_C4-Pad2_ Net-_Q13-Pad2_ 2.67k
+C3 Net-_C3-Pad1_ GND 0.01uF
+C4 Net-_C4-Pad1_ Net-_C4-Pad2_ 0.01uF
+U3 Net-_C3-Pad1_ Net-_C4-Pad1_ Net-_C4-Pad2_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir.out b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir.out
new file mode 100644
index 00000000..2c66171e
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir.out
@@ -0,0 +1,66 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm140k_sub\lm140k_sub.cir
+
+.include PNP.lib
+.include NPN.lib
+r1 net-_c3-pad1_ net-_q1-pad2_ 80k
+q1 net-_c3-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+r2 net-_q1-pad3_ net-_q3-pad2_ 7k
+* u1 net-_c4-pad2_ net-_q1-pad2_ zener
+r3 net-_q3-pad2_ net-_q2-pad2_ 4.97k
+r4 net-_q2-pad2_ net-_c4-pad2_ 830
+q4 net-_q3-pad1_ net-_q3-pad1_ net-_c3-pad1_ Q2N2907A
+q8 net-_q12-pad1_ net-_q3-pad1_ net-_c3-pad1_ Q2N2907A
+q5 net-_q3-pad1_ net-_q1-pad3_ net-_q5-pad3_ Q2N2222
+q3 net-_q3-pad1_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222
+q6 net-_q5-pad3_ net-_q13-pad2_ net-_q6-pad3_ Q2N2222
+r5 net-_q3-pad3_ net-_q6-pad3_ 500
+r7 net-_q6-pad3_ net-_q7-pad2_ 1.9k
+q7 net-_q6-pad3_ net-_q7-pad2_ net-_c1-pad2_ Q2N2222
+r9 net-_q10-pad3_ net-_c4-pad2_ 12.1k
+c1 net-_c1-pad1_ net-_c1-pad2_ 4pf
+r6 net-_c1-pad2_ net-_c4-pad2_ 1.2k
+q2 net-_q12-pad1_ net-_q2-pad2_ net-_c4-pad2_ Q2N2222
+r8 net-_q7-pad2_ net-_c1-pad1_ 26
+q9 net-_c1-pad1_ net-_c1-pad2_ net-_c4-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_c1-pad1_ net-_q10-pad3_ Q2N2222
+* u2 net-_q12-pad2_ net-_r13-pad2_ zener
+r13 net-_c3-pad1_ net-_r13-pad2_ 16k
+q13 net-_q13-pad1_ net-_q13-pad2_ net-_q10-pad1_ Q2N2222
+r12 net-_q11-pad3_ net-_c4-pad2_ 1k
+q11 net-_c2-pad2_ net-_q10-pad3_ net-_q11-pad3_ Q2N2222
+r11 net-_q10-pad1_ net-_c2-pad2_ 16.5k
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_q12-pad3_ Q2N2222
+r10 net-_q12-pad3_ net-_c4-pad1_ 100
+r15 net-_q19-pad3_ net-_q12-pad2_ 380
+q17 net-_c3-pad1_ net-_q12-pad1_ net-_q13-pad1_ Q2N2222
+q19 net-_c3-pad1_ net-_q13-pad1_ net-_q19-pad3_ Q2N2222
+r18 net-_q13-pad1_ net-_q12-pad2_ 1.62k
+r19 net-_c4-pad1_ net-_q19-pad3_ 0.25
+r20 net-_q13-pad2_ net-_c4-pad1_ 1.39k
+r16 net-_q12-pad1_ net-_q18-pad3_ 850
+r17 net-_q18-pad3_ net-_c2-pad1_ 4k
+q16 net-_c2-pad1_ net-_q14-pad3_ net-_c4-pad2_ Q2N2222
+c2 net-_c2-pad1_ net-_c2-pad2_ 20pf
+q14 net-_c2-pad1_ net-_c2-pad2_ net-_q14-pad3_ Q2N2222
+r14 net-_q15-pad3_ net-_c4-pad2_ 4k
+q15 net-_q14-pad3_ net-_q14-pad3_ net-_q15-pad3_ Q2N2222
+q18 net-_c4-pad2_ net-_c2-pad1_ net-_q18-pad3_ Q2N2907A
+r21 net-_c4-pad2_ net-_q13-pad2_ 2.67k
+c3 net-_c3-pad1_ gnd 0.01uf
+c4 net-_c4-pad1_ net-_c4-pad2_ 0.01uf
+* u3 net-_c3-pad1_ net-_c4-pad1_ net-_c4-pad2_ port
+a1 net-_c4-pad2_ net-_q1-pad2_ u1
+a2 net-_q12-pad2_ net-_r13-pad2_ u2
+* 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 )
+.tran 0.01e-00 0.1e-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/LM140K_Sub/LM140k_SUB.pro b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_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/LM140K_Sub/LM140k_SUB.sch b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sch
new file mode 100644
index 00000000..9ab6657e
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sch
@@ -0,0 +1,879 @@
+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:LM140k_SUB-cache
+LIBS:LM140k-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17000 11827
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L resistor R1
+U 1 1 66D35F60
+P 3450 3750
+F 0 "R1" H 3500 3880 50 0000 C CNN
+F 1 "80K" H 3500 3700 50 0000 C CNN
+F 2 "" H 3500 3730 30 0000 C CNN
+F 3 "" V 3500 3800 30 0000 C CNN
+ 1 3450 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 66D35F61
+P 3800 4400
+F 0 "Q1" H 3700 4450 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 4550 50 0000 R CNN
+F 2 "" H 4000 4500 29 0000 C CNN
+F 3 "" H 3800 4400 60 0000 C CNN
+ 1 3800 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 66D35F62
+P 3750 5200
+F 0 "R2" H 3800 5330 50 0000 C CNN
+F 1 "7K" H 3800 5150 50 0000 C CNN
+F 2 "" H 3800 5180 30 0000 C CNN
+F 3 "" V 3800 5250 30 0000 C CNN
+ 1 3750 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U1
+U 1 1 66D35F63
+P 3500 6600
+F 0 "U1" H 3450 6500 60 0000 C CNN
+F 1 "zener" H 3500 6700 60 0000 C CNN
+F 2 "" H 3550 6600 60 0000 C CNN
+F 3 "" H 3550 6600 60 0000 C CNN
+ 1 3500 6600
+ 0 1 -1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 66D35F64
+P 3750 7100
+F 0 "R3" H 3800 7230 50 0000 C CNN
+F 1 "4.97k" H 3800 7050 50 0000 C CNN
+F 2 "" H 3800 7080 30 0000 C CNN
+F 3 "" V 3800 7150 30 0000 C CNN
+ 1 3750 7100
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 66D35F65
+P 3750 7800
+F 0 "R4" H 3800 7930 50 0000 C CNN
+F 1 "830" H 3800 7750 50 0000 C CNN
+F 2 "" H 3800 7780 30 0000 C CNN
+F 3 "" V 3800 7850 30 0000 C CNN
+ 1 3750 7800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 66D35F66
+P 5350 2850
+F 0 "Q4" H 5250 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 5300 3000 50 0000 R CNN
+F 2 "" H 5550 2950 29 0000 C CNN
+F 3 "" H 5350 2850 60 0000 C CNN
+ 1 5350 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q8
+U 1 1 66D35F67
+P 5950 2850
+F 0 "Q8" H 5850 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 5900 3000 50 0000 R CNN
+F 2 "" H 6150 2950 29 0000 C CNN
+F 3 "" H 5950 2850 60 0000 C CNN
+ 1 5950 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 66D35F68
+P 5350 4850
+F 0 "Q5" H 5250 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 5300 5000 50 0000 R CNN
+F 2 "" H 5550 4950 29 0000 C CNN
+F 3 "" H 5350 4850 60 0000 C CNN
+ 1 5350 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 66D35F69
+P 5000 5700
+F 0 "Q3" H 4900 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 4950 5850 50 0000 R CNN
+F 2 "" H 5200 5800 29 0000 C CNN
+F 3 "" H 5000 5700 60 0000 C CNN
+ 1 5000 5700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 66D35F6A
+P 5800 5700
+F 0 "Q6" H 5700 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 5750 5850 50 0000 R CNN
+F 2 "" H 6000 5800 29 0000 C CNN
+F 3 "" H 5800 5700 60 0000 C CNN
+ 1 5800 5700
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 66D35F6B
+P 5050 6250
+F 0 "R5" H 5100 6380 50 0000 C CNN
+F 1 "500" H 5100 6200 50 0000 C CNN
+F 2 "" H 5100 6230 30 0000 C CNN
+F 3 "" V 5100 6300 30 0000 C CNN
+ 1 5050 6250
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 66D35F6C
+P 6500 6600
+F 0 "R7" H 6550 6730 50 0000 C CNN
+F 1 "1.9k" H 6550 6550 50 0000 C CNN
+F 2 "" H 6550 6580 30 0000 C CNN
+F 3 "" V 6550 6650 30 0000 C CNN
+ 1 6500 6600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 66D35F6D
+P 5800 7000
+F 0 "Q7" H 5700 7050 50 0000 R CNN
+F 1 "eSim_NPN" H 5750 7150 50 0000 R CNN
+F 2 "" H 6000 7100 29 0000 C CNN
+F 3 "" H 5800 7000 60 0000 C CNN
+ 1 5800 7000
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 66D35F6E
+P 7350 8400
+F 0 "R9" H 7400 8530 50 0000 C CNN
+F 1 "12.1k" H 7400 8350 50 0000 C CNN
+F 2 "" H 7400 8380 30 0000 C CNN
+F 3 "" V 7400 8450 30 0000 C CNN
+ 1 7350 8400
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 66D35F6F
+P 6200 7550
+F 0 "C1" H 6225 7650 50 0000 L CNN
+F 1 "4pF" H 6225 7450 50 0000 L CNN
+F 2 "" H 6238 7400 30 0000 C CNN
+F 3 "" H 6200 7550 60 0000 C CNN
+ 1 6200 7550
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 66D35F70
+P 5650 8100
+F 0 "R6" H 5700 8230 50 0000 C CNN
+F 1 "1.2k" H 5700 8050 50 0000 C CNN
+F 2 "" H 5700 8080 30 0000 C CNN
+F 3 "" V 5700 8150 30 0000 C CNN
+ 1 5650 8100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 66D35F71
+P 4300 7600
+F 0 "Q2" H 4200 7650 50 0000 R CNN
+F 1 "eSim_NPN" H 4250 7750 50 0000 R CNN
+F 2 "" H 4500 7700 29 0000 C CNN
+F 3 "" H 4300 7600 60 0000 C CNN
+ 1 4300 7600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 66D35F72
+P 6500 7250
+F 0 "R8" H 6550 7380 50 0000 C CNN
+F 1 "26" H 6550 7200 50 0000 C CNN
+F 2 "" H 6550 7230 30 0000 C CNN
+F 3 "" V 6550 7300 30 0000 C CNN
+ 1 6500 7250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 66D35F73
+P 6450 7950
+F 0 "Q9" H 6350 8000 50 0000 R CNN
+F 1 "eSim_NPN" H 6400 8100 50 0000 R CNN
+F 2 "" H 6650 8050 29 0000 C CNN
+F 3 "" H 6450 7950 60 0000 C CNN
+ 1 6450 7950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 66D35F74
+P 7300 7550
+F 0 "Q10" H 7200 7600 50 0000 R CNN
+F 1 "eSim_NPN" H 7250 7700 50 0000 R CNN
+F 2 "" H 7500 7650 29 0000 C CNN
+F 3 "" H 7300 7550 60 0000 C CNN
+ 1 7300 7550
+ 1 0 0 -1
+$EndComp
+$Comp
+L zener U2
+U 1 1 66D35F75
+P 8800 4150
+F 0 "U2" H 8750 4050 60 0000 C CNN
+F 1 "zener" H 8800 4250 60 0000 C CNN
+F 2 "" H 8850 4150 60 0000 C CNN
+F 3 "" H 8850 4150 60 0000 C CNN
+ 1 8800 4150
+ 0 1 -1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 66D35F76
+P 8750 3500
+F 0 "R13" H 8800 3630 50 0000 C CNN
+F 1 "16k" H 8800 3450 50 0000 C CNN
+F 2 "" H 8800 3480 30 0000 C CNN
+F 3 "" V 8800 3550 30 0000 C CNN
+ 1 8750 3500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 66D35F77
+P 8150 5700
+F 0 "Q13" H 8050 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 8100 5850 50 0000 R CNN
+F 2 "" H 8350 5800 29 0000 C CNN
+F 3 "" H 8150 5700 60 0000 C CNN
+ 1 8150 5700
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 66D35F78
+P 8000 8450
+F 0 "R12" H 8050 8580 50 0000 C CNN
+F 1 "1k" H 8050 8400 50 0000 C CNN
+F 2 "" H 8050 8430 30 0000 C CNN
+F 3 "" V 8050 8500 30 0000 C CNN
+ 1 8000 8450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 66D35F79
+P 7950 7800
+F 0 "Q11" H 7850 7850 50 0000 R CNN
+F 1 "eSim_NPN" H 7900 7950 50 0000 R CNN
+F 2 "" H 8150 7900 29 0000 C CNN
+F 3 "" H 7950 7800 60 0000 C CNN
+ 1 7950 7800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R11
+U 1 1 66D35F7A
+P 8000 6300
+F 0 "R11" H 8050 6430 50 0000 C CNN
+F 1 "16.5k" H 8050 6250 50 0000 C CNN
+F 2 "" H 8050 6280 30 0000 C CNN
+F 3 "" V 8050 6350 30 0000 C CNN
+ 1 8000 6300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 66D35F7B
+P 8150 4600
+F 0 "Q12" H 8050 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 8100 4750 50 0000 R CNN
+F 2 "" H 8350 4700 29 0000 C CNN
+F 3 "" H 8150 4600 60 0000 C CNN
+ 1 8150 4600
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 66D35F7C
+P 8000 5050
+F 0 "R10" H 8050 5180 50 0000 C CNN
+F 1 "100" H 8050 5000 50 0000 C CNN
+F 2 "" H 8050 5030 30 0000 C CNN
+F 3 "" V 8050 5100 30 0000 C CNN
+ 1 8000 5050
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R15
+U 1 1 66D35F7D
+P 9200 4550
+F 0 "R15" H 9250 4680 50 0000 C CNN
+F 1 "380" H 9250 4500 50 0000 C CNN
+F 2 "" H 9250 4530 30 0000 C CNN
+F 3 "" V 9250 4600 30 0000 C CNN
+ 1 9200 4550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 66D35F7E
+P 9800 3100
+F 0 "Q17" H 9700 3150 50 0000 R CNN
+F 1 "eSim_NPN" H 9750 3250 50 0000 R CNN
+F 2 "" H 10000 3200 29 0000 C CNN
+F 3 "" H 9800 3100 60 0000 C CNN
+ 1 9800 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 66D35F7F
+P 10650 3400
+F 0 "Q19" H 10550 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 10600 3550 50 0000 R CNN
+F 2 "" H 10850 3500 29 0000 C CNN
+F 3 "" H 10650 3400 60 0000 C CNN
+ 1 10650 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 66D35F80
+P 10100 3900
+F 0 "R18" H 10150 4030 50 0000 C CNN
+F 1 "1.62k" H 10150 3850 50 0000 C CNN
+F 2 "" H 10150 3880 30 0000 C CNN
+F 3 "" V 10150 3950 30 0000 C CNN
+ 1 10100 3900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R19
+U 1 1 66D35F81
+P 10800 5000
+F 0 "R19" H 10850 5130 50 0000 C CNN
+F 1 "0.25" H 10850 4950 50 0000 C CNN
+F 2 "" H 10850 4980 30 0000 C CNN
+F 3 "" V 10850 5050 30 0000 C CNN
+ 1 10800 5000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R20
+U 1 1 66D35F82
+P 10800 5550
+F 0 "R20" H 10850 5680 50 0000 C CNN
+F 1 "1.39k" H 10850 5500 50 0000 C CNN
+F 2 "" H 10850 5530 30 0000 C CNN
+F 3 "" V 10850 5600 30 0000 C CNN
+ 1 10800 5550
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R16
+U 1 1 66D35F83
+P 9400 6150
+F 0 "R16" H 9450 6280 50 0000 C CNN
+F 1 "850" H 9450 6100 50 0000 C CNN
+F 2 "" H 9450 6130 30 0000 C CNN
+F 3 "" V 9450 6200 30 0000 C CNN
+ 1 9400 6150
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R17
+U 1 1 66D35F84
+P 9400 6650
+F 0 "R17" H 9450 6780 50 0000 C CNN
+F 1 "4k" H 9450 6600 50 0000 C CNN
+F 2 "" H 9450 6630 30 0000 C CNN
+F 3 "" V 9450 6700 30 0000 C CNN
+ 1 9400 6650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 66D35F85
+P 9350 7750
+F 0 "Q16" H 9250 7800 50 0000 R CNN
+F 1 "eSim_NPN" H 9300 7900 50 0000 R CNN
+F 2 "" H 9550 7850 29 0000 C CNN
+F 3 "" H 9350 7750 60 0000 C CNN
+ 1 9350 7750
+ 1 0 0 -1
+$EndComp
+$Comp
+L capacitor C2
+U 1 1 66D35F86
+P 8550 6950
+F 0 "C2" H 8575 7050 50 0000 L CNN
+F 1 "20pF" H 8575 6850 50 0000 L CNN
+F 2 "" H 8588 6800 30 0000 C CNN
+F 3 "" H 8550 6950 60 0000 C CNN
+ 1 8550 6950
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 66D35F87
+P 8750 7450
+F 0 "Q14" H 8650 7500 50 0000 R CNN
+F 1 "eSim_NPN" H 8700 7600 50 0000 R CNN
+F 2 "" H 8950 7550 29 0000 C CNN
+F 3 "" H 8750 7450 60 0000 C CNN
+ 1 8750 7450
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 66D35F88
+P 8800 8600
+F 0 "R14" H 8850 8730 50 0000 C CNN
+F 1 "4k" H 8850 8550 50 0000 C CNN
+F 2 "" H 8850 8580 30 0000 C CNN
+F 3 "" V 8850 8650 30 0000 C CNN
+ 1 8800 8600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 66D35F89
+P 8950 8150
+F 0 "Q15" H 8850 8200 50 0000 R CNN
+F 1 "eSim_NPN" H 8900 8300 50 0000 R CNN
+F 2 "" H 9150 8250 29 0000 C CNN
+F 3 "" H 8950 8150 60 0000 C CNN
+ 1 8950 8150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q18
+U 1 1 66D35F8A
+P 9950 6950
+F 0 "Q18" H 9850 7000 50 0000 R CNN
+F 1 "eSim_PNP" H 9900 7100 50 0000 R CNN
+F 2 "" H 10150 7050 29 0000 C CNN
+F 3 "" H 9950 6950 60 0000 C CNN
+ 1 9950 6950
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 66D35F8B
+P 10800 7300
+F 0 "R21" H 10850 7430 50 0000 C CNN
+F 1 "2.67k" H 10850 7250 50 0000 C CNN
+F 2 "" H 10850 7280 30 0000 C CNN
+F 3 "" V 10850 7350 30 0000 C CNN
+ 1 10800 7300
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 3500 2300 3500 3650
+Wire Wire Line
+ 5450 3050 5450 4650
+Wire Wire Line
+ 3800 5100 3800 4600
+Wire Wire Line
+ 3800 2300 3800 4200
+Wire Wire Line
+ 3500 3950 3500 6300
+Wire Wire Line
+ 3800 5400 3800 7000
+Wire Wire Line
+ 3800 7300 3800 7700
+Wire Wire Line
+ 3500 6800 3500 8950
+Wire Wire Line
+ 3800 8000 3800 8950
+Wire Wire Line
+ 4100 7600 3800 7600
+Connection ~ 3800 7600
+Wire Wire Line
+ 4400 4500 4400 7400
+Wire Wire Line
+ 5450 4600 5100 4600
+Wire Wire Line
+ 5100 4600 5100 5500
+Connection ~ 5450 4600
+Wire Wire Line
+ 5450 5050 5450 5300
+Wire Wire Line
+ 5450 5300 5700 5300
+Wire Wire Line
+ 5700 5300 5700 5500
+Wire Wire Line
+ 5700 5900 5700 6800
+Wire Wire Line
+ 5700 7200 5700 8000
+Wire Wire Line
+ 6000 7000 6550 7000
+Wire Wire Line
+ 5100 5900 5100 6150
+Wire Wire Line
+ 5100 6450 5100 6500
+Wire Wire Line
+ 5100 6500 6300 6500
+Wire Wire Line
+ 6300 6500 6300 6350
+Wire Wire Line
+ 6300 6350 6550 6350
+Wire Wire Line
+ 6550 6350 6550 6500
+Wire Wire Line
+ 6550 6800 6550 7150
+Connection ~ 6550 7000
+Wire Wire Line
+ 6550 7450 6550 7750
+Wire Wire Line
+ 6550 8150 6550 8950
+Wire Wire Line
+ 6350 7550 7100 7550
+Connection ~ 6550 7550
+Wire Wire Line
+ 6050 7550 5700 7550
+Connection ~ 5700 7550
+Wire Wire Line
+ 5700 8300 5700 8950
+Wire Wire Line
+ 6250 7950 5700 7950
+Connection ~ 5700 7950
+Wire Wire Line
+ 4800 5700 3800 5700
+Connection ~ 3800 5700
+Wire Wire Line
+ 7400 7750 7400 8300
+Wire Wire Line
+ 7400 8600 7400 8950
+Wire Wire Line
+ 8050 8650 8050 8950
+Wire Wire Line
+ 8050 8000 8050 8350
+Wire Wire Line
+ 7750 7800 7400 7800
+Connection ~ 7400 7800
+Wire Wire Line
+ 8050 5900 8050 6200
+Wire Wire Line
+ 8050 6500 8050 7600
+Wire Wire Line
+ 8050 5250 8050 5300
+Wire Wire Line
+ 8050 5300 11500 5300
+Wire Wire Line
+ 8050 5500 8050 5400
+Wire Wire Line
+ 8050 5400 10400 5400
+Wire Wire Line
+ 8050 3100 8050 4400
+Wire Wire Line
+ 8050 4950 8050 4800
+Wire Wire Line
+ 8800 4350 8800 4600
+Connection ~ 8800 4600
+Wire Wire Line
+ 8350 4600 9000 4600
+Wire Wire Line
+ 8800 3850 8800 3700
+Wire Wire Line
+ 8800 2300 8800 3400
+Connection ~ 8050 3100
+Wire Wire Line
+ 5000 2850 5000 3450
+Connection ~ 5450 3450
+Wire Wire Line
+ 4400 4500 6250 4500
+Wire Wire Line
+ 6050 3050 6050 3100
+Wire Wire Line
+ 6050 3100 9600 3100
+Wire Wire Line
+ 6250 4500 6250 3100
+Connection ~ 6250 3100
+Wire Wire Line
+ 3500 2300 11500 2300
+Wire Wire Line
+ 9900 2300 9900 2900
+Connection ~ 8800 2300
+Wire Wire Line
+ 9900 3300 9900 3400
+Wire Wire Line
+ 9900 3400 10450 3400
+Wire Wire Line
+ 8800 4450 10150 4450
+Wire Wire Line
+ 10150 4450 10150 4100
+Connection ~ 8800 4450
+Wire Wire Line
+ 10150 3800 10150 3400
+Connection ~ 10150 3400
+Wire Wire Line
+ 9300 4600 10750 4600
+Wire Wire Line
+ 10400 5400 10400 3400
+Connection ~ 10400 3400
+Wire Wire Line
+ 10750 2300 10750 3200
+Connection ~ 9900 2300
+Connection ~ 10750 4600
+Connection ~ 9450 3100
+Wire Wire Line
+ 10750 4800 10750 3600
+Wire Wire Line
+ 10750 5100 10750 5350
+Connection ~ 10750 5300
+Wire Wire Line
+ 10750 5650 10750 7100
+Connection ~ 10750 5700
+Wire Wire Line
+ 7400 7350 7400 6000
+Wire Wire Line
+ 7400 6000 8050 6000
+Connection ~ 8050 6000
+Wire Wire Line
+ 9450 6550 9450 6350
+Wire Wire Line
+ 9450 3100 9450 6050
+Wire Wire Line
+ 9450 6850 9450 7550
+Wire Wire Line
+ 8700 6950 9750 6950
+Connection ~ 9450 6950
+Wire Wire Line
+ 8400 6950 8050 6950
+Connection ~ 8050 6950
+Wire Wire Line
+ 8850 7250 8850 6950
+Connection ~ 8850 6950
+Wire Wire Line
+ 8550 7450 8050 7450
+Connection ~ 8050 7450
+Wire Wire Line
+ 8850 7650 8850 7950
+Wire Wire Line
+ 8850 8350 8850 8500
+Wire Wire Line
+ 3500 8950 10950 8950
+Connection ~ 6550 8950
+Connection ~ 7400 8950
+Connection ~ 8050 8950
+Wire Wire Line
+ 8850 7850 9250 7850
+Wire Wire Line
+ 9250 7850 9250 8150
+Wire Wire Line
+ 9250 8150 9150 8150
+Connection ~ 8850 7850
+Wire Wire Line
+ 9150 7750 8850 7750
+Connection ~ 8850 7750
+Wire Wire Line
+ 8850 8950 8850 8800
+Wire Wire Line
+ 9450 8950 9450 7950
+Connection ~ 8850 8950
+Wire Wire Line
+ 10050 6750 10050 6450
+Wire Wire Line
+ 10050 6450 9450 6450
+Connection ~ 9450 6450
+Wire Wire Line
+ 10050 8950 10050 7150
+Connection ~ 9450 8950
+Wire Wire Line
+ 10750 8950 10750 7400
+Connection ~ 10050 8950
+Connection ~ 5700 8950
+Connection ~ 3800 8950
+Wire Wire Line
+ 4400 7800 4400 8950
+Connection ~ 4400 8950
+Connection ~ 5750 2300
+Connection ~ 3800 2300
+Connection ~ 10750 8950
+Wire Wire Line
+ 11500 2300 11500 2450
+Connection ~ 10750 2300
+Wire Wire Line
+ 5150 4850 3800 4850
+Connection ~ 3800 4850
+Connection ~ 5700 6500
+Connection ~ 3500 4400
+Wire Wire Line
+ 6000 5700 10750 5700
+Wire Wire Line
+ 5150 2850 5000 2850
+Wire Wire Line
+ 5100 2850 5750 2850
+Wire Wire Line
+ 5450 2650 5450 2500
+Wire Wire Line
+ 5450 2500 6050 2500
+Wire Wire Line
+ 6050 2500 6050 2650
+Wire Wire Line
+ 5750 2500 5750 2300
+Connection ~ 5750 2500
+Connection ~ 8350 5700
+Connection ~ 5100 2850
+Wire Wire Line
+ 5000 3450 5450 3450
+Wire Wire Line
+ 3800 4200 3900 4200
+Wire Wire Line
+ 3800 4600 3900 4600
+Wire Wire Line
+ 3600 4400 3500 4400
+$Comp
+L capacitor C3
+U 1 1 66D35F90
+P 11050 2600
+F 0 "C3" H 11075 2700 50 0000 L CNN
+F 1 "0.01uF" H 11075 2500 50 0000 L CNN
+F 2 "" H 11088 2450 30 0000 C CNN
+F 3 "" H 11050 2600 60 0000 C CNN
+ 1 11050 2600
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 11050 2450 11050 2300
+Connection ~ 11050 2300
+$Comp
+L eSim_GND #PWR1
+U 1 1 66D35F91
+P 11050 3050
+F 0 "#PWR1" H 11050 2800 50 0001 C CNN
+F 1 "eSim_GND" H 11050 2900 50 0000 C CNN
+F 2 "" H 11050 3050 50 0001 C CNN
+F 3 "" H 11050 3050 50 0001 C CNN
+ 1 11050 3050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 11050 3050 11050 2750
+$Comp
+L capacitor C4
+U 1 1 66D35F92
+P 11200 6300
+F 0 "C4" H 11225 6400 50 0000 L CNN
+F 1 "0.01uF" H 11225 6200 50 0000 L CNN
+F 2 "" H 11238 6150 30 0000 C CNN
+F 3 "" H 11200 6300 60 0000 C CNN
+ 1 11200 6300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 11200 6150 11200 5300
+Connection ~ 11200 5300
+Wire Wire Line
+ 11200 6450 11200 8350
+Wire Wire Line
+ 11200 8350 10850 8350
+Wire Wire Line
+ 10850 8350 10850 8950
+Connection ~ 10850 8950
+$Comp
+L PORT U3
+U 2 1 66D3811B
+P 11750 5300
+F 0 "U3" H 11800 5400 30 0000 C CNN
+F 1 "PORT" H 11750 5300 30 0000 C CNN
+F 2 "" H 11750 5300 60 0000 C CNN
+F 3 "" H 11750 5300 60 0000 C CNN
+ 2 11750 5300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U3
+U 3 1 66D381E3
+P 11200 8950
+F 0 "U3" H 11250 9050 30 0000 C CNN
+F 1 "PORT" H 11200 8950 30 0000 C CNN
+F 2 "" H 11200 8950 60 0000 C CNN
+F 3 "" H 11200 8950 60 0000 C CNN
+ 3 11200 8950
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U3
+U 1 1 66D3831E
+P 11750 2450
+F 0 "U3" H 11800 2550 30 0000 C CNN
+F 1 "PORT" H 11750 2450 30 0000 C CNN
+F 2 "" H 11750 2450 60 0000 C CNN
+F 3 "" H 11750 2450 60 0000 C CNN
+ 1 11750 2450
+ -1 0 0 1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sub b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sub
new file mode 100644
index 00000000..e6bb6d76
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sub
@@ -0,0 +1,60 @@
+* Subcircuit LM140k_SUB
+.subckt LM140k_SUB net-_c3-pad1_ net-_c4-pad1_ net-_c4-pad2_
+* c:\fossee\esim\library\subcircuitlibrary\lm140k_sub\lm140k_sub.cir
+.include PNP.lib
+.include NPN.lib
+r1 net-_c3-pad1_ net-_q1-pad2_ 80k
+q1 net-_c3-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+r2 net-_q1-pad3_ net-_q3-pad2_ 7k
+* u1 net-_c4-pad2_ net-_q1-pad2_ zener
+r3 net-_q3-pad2_ net-_q2-pad2_ 4.97k
+r4 net-_q2-pad2_ net-_c4-pad2_ 830
+q4 net-_q3-pad1_ net-_q3-pad1_ net-_c3-pad1_ Q2N2907A
+q8 net-_q12-pad1_ net-_q3-pad1_ net-_c3-pad1_ Q2N2907A
+q5 net-_q3-pad1_ net-_q1-pad3_ net-_q5-pad3_ Q2N2222
+q3 net-_q3-pad1_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222
+q6 net-_q5-pad3_ net-_q13-pad2_ net-_q6-pad3_ Q2N2222
+r5 net-_q3-pad3_ net-_q6-pad3_ 500
+r7 net-_q6-pad3_ net-_q7-pad2_ 1.9k
+q7 net-_q6-pad3_ net-_q7-pad2_ net-_c1-pad2_ Q2N2222
+r9 net-_q10-pad3_ net-_c4-pad2_ 12.1k
+c1 net-_c1-pad1_ net-_c1-pad2_ 4pf
+r6 net-_c1-pad2_ net-_c4-pad2_ 1.2k
+q2 net-_q12-pad1_ net-_q2-pad2_ net-_c4-pad2_ Q2N2222
+r8 net-_q7-pad2_ net-_c1-pad1_ 26
+q9 net-_c1-pad1_ net-_c1-pad2_ net-_c4-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_c1-pad1_ net-_q10-pad3_ Q2N2222
+* u2 net-_q12-pad2_ net-_r13-pad2_ zener
+r13 net-_c3-pad1_ net-_r13-pad2_ 16k
+q13 net-_q13-pad1_ net-_q13-pad2_ net-_q10-pad1_ Q2N2222
+r12 net-_q11-pad3_ net-_c4-pad2_ 1k
+q11 net-_c2-pad2_ net-_q10-pad3_ net-_q11-pad3_ Q2N2222
+r11 net-_q10-pad1_ net-_c2-pad2_ 16.5k
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_q12-pad3_ Q2N2222
+r10 net-_q12-pad3_ net-_c4-pad1_ 100
+r15 net-_q19-pad3_ net-_q12-pad2_ 380
+q17 net-_c3-pad1_ net-_q12-pad1_ net-_q13-pad1_ Q2N2222
+q19 net-_c3-pad1_ net-_q13-pad1_ net-_q19-pad3_ Q2N2222
+r18 net-_q13-pad1_ net-_q12-pad2_ 1.62k
+r19 net-_c4-pad1_ net-_q19-pad3_ 0.25
+r20 net-_q13-pad2_ net-_c4-pad1_ 1.39k
+r16 net-_q12-pad1_ net-_q18-pad3_ 850
+r17 net-_q18-pad3_ net-_c2-pad1_ 4k
+q16 net-_c2-pad1_ net-_q14-pad3_ net-_c4-pad2_ Q2N2222
+c2 net-_c2-pad1_ net-_c2-pad2_ 20pf
+q14 net-_c2-pad1_ net-_c2-pad2_ net-_q14-pad3_ Q2N2222
+r14 net-_q15-pad3_ net-_c4-pad2_ 4k
+q15 net-_q14-pad3_ net-_q14-pad3_ net-_q15-pad3_ Q2N2222
+q18 net-_c4-pad2_ net-_c2-pad1_ net-_q18-pad3_ Q2N2907A
+r21 net-_c4-pad2_ net-_q13-pad2_ 2.67k
+c3 net-_c3-pad1_ gnd 0.01uf
+c4 net-_c4-pad1_ net-_c4-pad2_ 0.01uf
+a1 net-_c4-pad2_ net-_q1-pad2_ u1
+a2 net-_q12-pad2_ net-_r13-pad2_ u2
+* 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 )
+* Control Statements
+
+.ends LM140k_SUB \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB_Previous_Values.xml b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB_Previous_Values.xml
new file mode 100644
index 00000000..54f5c0f2
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u1 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)">5.6</field1><field2 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field2><field3 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field3><field4 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field4><field5 name="Enter Switch for Limiting (default=FALSE)">FALSE</field5></u1><u2 name="type">zener<field6 name="Enter Breakdown Voltage (default=5.6)">5.6</field6><field7 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field7><field8 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field8><field9 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field9><field10 name="Enter Switch for Limiting (default=FALSE)">FALSE</field10></u2></model><devicemodel><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q4><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q18></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">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><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/LM140K_Sub/NPN.lib b/library/SubcircuitLibrary/LM140K_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_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/LM140K_Sub/PNP.lib b/library/SubcircuitLibrary/LM140K_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_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/LM140K_Sub/analysis b/library/SubcircuitLibrary/LM140K_Sub/analysis
new file mode 100644
index 00000000..f709edd1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.01e-00 0.1e-00 0e-00 \ No newline at end of file