From 996ac28184a7e99d318ec622c80753d562ae1262 Mon Sep 17 00:00:00 2001 From: Vanshika Tanwar Date: Wed, 23 Nov 2022 18:52:02 +0530 Subject: [PATCH 01/11] eSim_Subckt.lib file --- eSim_Subckt.lib | 760 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 760 insertions(+) create mode 100644 eSim_Subckt.lib diff --git a/eSim_Subckt.lib b/eSim_Subckt.lib new file mode 100644 index 000000000..f5adf1915 --- /dev/null +++ b/eSim_Subckt.lib @@ -0,0 +1,760 @@ +EESchema-LIBRARY Version 2.3 +#encoding utf-8 +# +# 10bitDAC +# +DEF 10bitDAC X 0 40 Y Y 1 F N +F0 "X" 0 50 60 H V C CNN +F1 "10bitDAC" -50 -50 60 H V C CNN +F2 "" 0 50 60 H I C CNN +F3 "" 0 50 60 H I C CNN +DRAW +S -500 500 400 -600 0 1 0 N +X D0 1 -700 -500 200 R 50 50 1 1 I +X D1 2 -700 -400 200 R 50 50 1 1 I +X D2 3 -700 -300 200 R 50 50 1 1 I +X D3 4 -700 -200 200 R 50 50 1 1 I +X D4 5 -700 -100 200 R 50 50 1 1 I +X D5 6 -700 0 200 R 50 50 1 1 I +X D6 7 -700 100 200 R 50 50 1 1 I +X D7 8 -700 200 200 R 50 50 1 1 I +X D8 9 -700 300 200 R 50 50 1 1 I +X D9 10 -700 400 200 R 50 50 1 1 I +X AnalogOut 11 600 350 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# Clock_pulse_generator +# +DEF Clock_pulse_generator X 0 40 Y Y 1 F N +F0 "X" 0 0 60 H V C CNN +F1 "Clock_pulse_generator" 0 -100 60 H V C CNN +F2 "" 0 0 60 H I C CNN +F3 "" 0 0 60 H I C CNN +DRAW +S -550 200 600 -300 0 1 0 N +X Vdd 1 -750 100 200 R 50 50 1 1 I +X R 2 -750 -50 200 R 50 50 1 1 I +X C 3 -750 -200 200 R 50 50 1 1 I +X Clkout 4 800 0 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# 2BITMUL +# +DEF 2BITMUL X 0 40 Y Y 1 F N +F0 "X" 0 0 60 H V C CNN +F1 "2BITMUL" 0 0 60 H V C CNN +F2 "" 0 0 60 H I C CNN +F3 "" 0 0 60 H I C CNN +DRAW +S -300 400 300 -400 0 1 0 N +X A0 1 -500 300 200 R 50 50 1 1 I +X A1 2 -500 150 200 R 50 50 1 1 I +X B0 3 -500 -50 200 R 50 50 1 1 I +X B1 4 -500 -250 200 R 50 50 1 1 I +X M0 5 500 250 200 L 50 50 1 1 O +X M1 6 500 100 200 L 50 50 1 1 O +X M2 7 500 -50 200 L 50 50 1 1 O +X M3 8 500 -250 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# 3_and +# +DEF 3_and X 0 40 Y Y 1 F N +F0 "X" 100 -50 60 H V C CNN +F1 "3_and" 150 150 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +A 150 50 158 716 -716 0 1 0 N 200 200 200 -100 +P 2 0 1 0 -150 200 200 200 N +P 3 0 1 0 -150 200 -150 -100 200 -100 N +X in1 1 -350 150 200 R 50 50 1 1 I +X in2 2 -350 50 200 R 50 50 1 1 I +X in3 3 -350 -50 200 R 50 50 1 1 I +X out 4 500 50 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# 4_OR +# +DEF 4_OR X 0 40 Y Y 1 F N +F0 "X" 150 -100 60 H V C CNN +F1 "4_OR" 150 100 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +A -800 0 650 226 -226 0 1 0 N -200 250 -200 -250 +A -73 134 444 -599 -176 0 1 0 N 150 -250 350 0 +A -30 -99 393 627 146 0 1 0 N 150 250 350 0 +P 2 0 1 0 -200 -250 150 -250 N +P 2 0 1 0 -200 250 150 250 N +X in1 1 -350 150 200 R 50 50 1 1 I +X in2 2 -350 50 200 R 50 50 1 1 I +X in3 3 -350 -50 200 R 50 50 1 1 I +X in4 4 -350 -150 200 R 50 50 1 1 I +X out 5 550 0 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# 4_and +# +DEF 4_and X 0 40 Y Y 1 F N +F0 "X" 50 -50 60 H V C CNN +F1 "4_and" 100 100 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +A 100 0 206 760 -760 0 1 0 N 150 200 150 -200 +P 2 0 1 0 -200 200 150 200 N +P 4 0 1 0 -200 200 -200 -200 50 -200 150 -200 N +X in1 1 -400 150 200 R 50 50 1 1 I +X in2 2 -400 50 200 R 50 50 1 1 I +X in3 3 -400 -50 200 R 50 50 1 1 I +X in4 4 -400 -150 200 R 50 50 1 1 I +X out 5 500 0 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# 556 +# +DEF 556 X 0 40 Y Y 1 F N +F0 "X" 0 0 60 H V C CNN +F1 "556" 0 0 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +S -300 400 250 -550 0 1 0 N +X dis1 1 -500 150 200 R 50 50 1 1 I +X thr1 2 -500 -150 200 R 50 50 1 1 I +X cv1 3 -150 -750 200 U 50 50 1 1 I +X rst1 4 -200 600 200 D 50 50 1 1 I +X out1 5 -500 0 200 R 50 50 1 1 O +X trig1 6 -500 -300 200 R 50 50 1 1 I +X gnd 7 0 -750 200 U 50 50 1 1 I +X trig2 8 450 -300 200 L 50 50 1 1 I +X out2 9 450 0 200 L 50 50 1 1 O +X rst2 10 100 600 200 D 50 50 1 1 I +X cv2 11 150 -750 200 U 50 50 1 1 I +X thr2 12 450 -150 200 L 50 50 1 1 I +X dis2 13 450 150 200 L 50 50 1 1 I +X vcc 14 -50 600 200 D 50 50 1 1 I +ENDDRAW +ENDDEF +# +# 5_and +# +DEF 5_and X 0 40 Y Y 1 F N +F0 "X" 50 -100 60 H V C CNN +F1 "5_and" 100 150 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +A 100 0 255 787 -787 0 1 0 N 150 250 150 -250 +P 2 0 1 0 -250 250 150 250 N +P 3 0 1 0 -250 250 -250 -250 150 -250 N +X in1 1 -450 200 200 R 50 50 1 1 I +X in2 2 -450 100 200 R 50 50 1 1 I +X in3 3 -450 0 200 R 50 50 1 1 I +X in4 4 -450 -100 200 R 50 50 1 1 I +X in5 5 -450 -200 200 R 50 50 1 1 I +X out 6 550 0 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# IC_4002 +# +DEF IC_4002 X 0 40 Y Y 1 F N +F0 "X" 0 150 60 H V C CNN +F1 "IC_4002" 0 0 60 H V C CNN +F2 "" 50 -150 60 H V C CNN +F3 "" 50 -150 60 H V C CNN +DRAW +S -250 350 250 -400 0 1 0 N +X 1Y 1 -450 250 200 R 50 50 1 1 O +X 1A 2 -450 150 200 R 50 50 1 1 I +X 1B 3 -450 50 200 R 50 50 1 1 I +X 1C 4 -450 -50 200 R 50 50 1 1 I +X 1D 5 -450 -150 200 R 50 50 1 1 I +X NC 6 -450 -250 200 R 50 50 1 1 I +X GND 7 -450 -350 200 R 50 50 1 1 I +X NC 8 450 -350 200 L 50 50 1 1 I +X 2A 9 450 -250 200 L 50 50 1 1 I +X 2B 10 450 -150 200 L 50 50 1 1 I +X 2C 11 450 -50 200 L 50 50 1 1 I +X 2D 12 450 50 200 L 50 50 1 1 I +X 2Y 13 450 150 200 L 50 50 1 1 O +X VCC 14 450 250 200 L 50 50 1 1 I +ENDDRAW +ENDDEF +# +# CMOS_NAND +# +DEF CMOS_NAND X 0 40 Y Y 1 F N +F0 "X" -100 -150 60 H V C CNN +F1 "CMOS_NAND" 0 -50 60 H V C CNN +F2 "" 0 0 60 H I C CNN +F3 "" 0 0 60 H I C CNN +DRAW +A 150 -50 381 668 -668 0 1 0 N 300 300 300 -400 +C 550 0 50 0 1 0 N +P 2 0 1 0 -350 300 300 300 N +P 3 0 1 0 -350 300 -350 -400 300 -400 N +X in1 1 -550 250 200 R 50 50 1 1 I +X in2 2 -550 -300 200 R 50 50 1 1 I +X out 3 800 0 279 L 79 79 1 1 I +ENDDRAW +ENDDEF +# +# IC_4012 +# +DEF IC_4012 X 0 40 Y Y 1 F N +F0 "X" 0 0 60 H V C CNN +F1 "IC_4012" 0 200 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +S -300 400 350 -400 0 1 0 N +X Q1 1 -500 300 200 R 50 50 1 1 O +X A1 2 -500 200 200 R 50 50 1 1 I +X B1 3 -500 100 200 R 50 50 1 1 I +X C1 4 -500 0 200 R 50 50 1 1 I +X D1 5 -500 -100 200 R 50 50 1 1 I +X NC 6 -500 -200 200 R 50 50 1 1 N +X VSS 7 -500 -300 200 R 50 50 1 1 I +X NC 8 550 -300 200 L 50 50 1 1 N +X A2 9 550 -200 200 L 50 50 1 1 I +X B2 10 550 -100 200 L 50 50 1 1 I +X C2 11 550 0 200 L 50 50 1 1 I +X D2 12 550 100 200 L 50 50 1 1 I +X Q2 13 550 200 200 L 50 50 1 1 O +X VDD 14 550 300 200 L 50 50 1 1 I +ENDDRAW +ENDDEF +# +# IC_4017 +# +DEF IC_4017 X 0 40 Y Y 1 F N +F0 "X" 0 0 60 H V C CNN +F1 "IC_4017" 0 0 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +S -350 850 400 -850 0 1 0 N +X 1 1 600 650 200 L 50 50 1 1 O +X 2 2 600 500 200 L 50 50 1 1 O +X 3 3 600 350 200 L 50 50 1 1 O +X 4 4 600 200 200 L 50 50 1 1 O +X 5 5 600 50 200 L 50 50 1 1 O +X 6 6 600 -100 200 L 50 50 1 1 O +X 7 7 600 -250 200 L 50 50 1 1 O +X 8 8 600 -400 200 L 50 50 1 1 O +X 9 9 600 -600 200 L 50 50 1 1 O +X 10 10 600 -750 200 L 50 50 1 1 O +X RST 11 -550 -400 200 R 50 50 1 1 I +X CLK 12 -550 350 200 R 50 50 1 1 I +ENDDRAW +ENDDEF +# +# eSim_74LS04 +# +DEF eSim_74LS04 X 0 40 Y Y 1 F N +F0 "X" 0 100 60 H V C CNN +F1 "eSim_74LS04" 0 0 60 H V C CNN +F2 "" 0 0 60 H I C CNN +F3 "" 0 0 60 H I C CNN +DRAW +S 350 500 -350 -500 0 1 0 N +X ~ 1 -550 450 200 R 50 50 1 1 P +X ~ 2 -550 300 200 R 50 50 1 1 P I +X ~ 3 -550 150 200 R 50 50 1 1 P +X ~ 4 -550 0 200 R 50 50 1 1 P I +X ~ 5 -550 -150 200 R 50 50 1 1 P +X ~ 6 -550 -300 200 R 50 50 1 1 P I +X GND 7 -550 -450 200 R 50 50 1 1 P +X ~ 8 550 -450 200 L 50 50 1 1 P I +X ~ 9 550 -300 200 L 50 50 1 1 P +X ~ 10 550 -150 200 L 50 50 1 1 P I +X ~ 11 550 0 200 L 50 50 1 1 P +X ~ 12 550 150 200 L 50 50 1 1 P I +X ~ 13 550 300 200 L 50 50 1 1 P +X VCC 14 550 450 200 L 50 50 1 1 P +ENDDRAW +ENDDEF +# +# IC_4023 +# +DEF IC_4023 X 0 40 Y Y 1 F N +F0 "X" 0 -100 60 H V C CNN +F1 "IC_4023" 0 100 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +S -300 450 300 -450 0 1 0 N +X A1 1 -500 300 200 R 50 50 1 1 I +X B1 2 -500 200 200 R 50 50 1 1 I +X A2 3 -500 100 200 R 50 50 1 1 I +X B2 4 -500 0 200 R 50 50 1 1 I +X C2 5 -500 -100 200 R 50 50 1 1 I +X Q2 6 -500 -200 200 R 50 50 1 1 O +X Vss 7 -500 -300 200 R 50 50 1 1 I +X C1 8 500 -300 200 L 50 50 1 1 I +X Q1 9 500 -200 200 L 50 50 1 1 O +X Q3 10 500 -100 200 L 50 50 1 1 O +X C3 11 500 0 200 L 50 50 1 1 I +X B3 12 500 100 200 L 50 50 1 1 I +X A3 13 500 200 200 L 50 50 1 1 I +X Vdd 14 500 300 200 L 50 50 1 1 I +ENDDRAW +ENDDEF +# +# IC_4028 +# +DEF IC_4028 X 0 40 Y Y 1 F N +F0 "X" 0 -100 60 H V C CNN +F1 "IC_4028" 0 50 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +S -300 450 300 -450 0 1 0 N +X Q4 1 -500 350 200 R 50 50 1 1 O +X Q2 2 -500 250 200 R 50 50 1 1 O +X Q0 3 -500 150 200 R 50 50 1 1 O +X Q7 4 -500 50 200 R 50 50 1 1 O +X Q9 5 -500 -50 200 R 50 50 1 1 O +X Q5 6 -500 -150 200 R 50 50 1 1 O +X Q6 7 -500 -250 200 R 50 50 1 1 O +X Vss 8 -500 -350 200 R 50 50 1 1 I +X Q8 9 500 -350 200 L 50 50 1 1 O +X A0 10 500 -250 200 L 50 50 1 1 I +X A3 11 500 -150 200 L 50 50 1 1 I +X A2 12 500 -50 200 L 50 50 1 1 I +X A1 13 500 50 200 L 50 50 1 1 I +X Q1 14 500 150 200 L 50 50 1 1 O +X Q3 15 500 250 200 L 50 50 1 1 O +X Vdd 16 500 350 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# IC_4073 +# +DEF IC_4073 X 0 40 Y Y 1 F N +F0 "X" 0 -100 60 H V C CNN +F1 "IC_4073" 0 50 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +S -300 400 300 -400 0 1 0 N +X A1 1 -500 300 200 R 50 50 1 1 I +X B1 2 -500 200 200 R 50 50 1 1 I +X A2 3 -500 100 200 R 50 50 1 1 I +X B2 4 -500 0 200 R 50 50 1 1 I +X C2 5 -500 -100 200 R 50 50 1 1 I +X Q2 6 -500 -200 200 R 50 50 1 1 O +X Vss 7 -500 -300 200 R 50 50 1 1 I +X C1 8 500 -300 200 L 50 50 1 1 I +X Q1 9 500 -200 200 L 50 50 1 1 O +X Q3 10 500 -100 200 L 50 50 1 1 O +X A3 11 500 0 200 L 50 50 1 1 I +X B3 12 500 100 200 L 50 50 1 1 I +X C3 13 500 200 200 L 50 50 1 1 I +X Vdd 14 500 300 200 L 50 50 1 1 I +ENDDRAW +ENDDEF +# +# IC_74153 +# +DEF IC_74153 X 0 40 Y Y 1 F N +F0 "X" 100 50 60 H V C CNN +F1 "IC_74153" 100 150 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +T 0 100 -200 60 0 0 0 4:1 Normal 0 C C +T 0 100 -100 60 0 0 0 DUAL Normal 0 C C +T 0 100 -300 60 0 0 0 MUX Normal 0 C C +S -200 500 350 -550 0 1 0 N +X a0 1 -400 350 200 R 50 50 1 1 I +X a1 2 -400 250 200 R 50 50 1 1 I +X a2 3 -400 150 200 R 50 50 1 1 I +X a3 4 -400 50 200 R 50 50 1 1 I +X EA 5 0 700 200 D 50 50 1 1 I I +X b0 6 -400 -150 200 R 50 50 1 1 I +X b1 7 -400 -250 200 R 50 50 1 1 I +X b2 8 -400 -350 200 R 50 50 1 1 I +X b3 9 -400 -450 200 R 50 50 1 1 I +X EB 10 200 700 200 D 50 50 1 1 I I +X s1 11 50 -750 200 U 50 50 1 1 I +X s0 12 150 -750 200 U 50 50 1 1 I +X ya 13 550 250 200 L 50 50 1 1 O +X yb 14 550 -300 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# IC_74154 +# +DEF IC_74154 X 0 40 Y Y 1 F N +F0 "X" 0 -200 60 H V C CNN +F1 "IC_74154" 50 -50 60 H V C CNN +F2 "" 0 50 60 H V C CNN +F3 "" 0 50 60 H V C CNN +DRAW +T 0 0 400 60 0 0 0 4:16~ Normal 0 C C +T 0 0 250 60 0 0 0 decoder Normal 0 C C +S -350 700 400 -700 0 0 0 N +X ~Y0 1 -550 550 200 R 50 50 1 1 O I +X ~Y1 2 -550 450 200 R 50 50 1 1 O I +X ~Y2 3 -550 350 200 R 50 50 1 1 O I +X ~Y3 4 -550 250 200 R 50 50 1 1 O I +X ~Y4 5 -550 150 200 R 50 50 1 1 O I +X ~Y5 6 -550 50 200 R 50 50 1 1 O I +X ~Y6 7 -550 -50 200 R 50 50 1 1 O I +X ~Y7 8 -550 -150 200 R 50 50 1 1 O I +X ~Y8 9 -550 -250 200 R 50 50 1 1 O I +X ~Y9 10 -550 -350 200 R 50 50 1 1 O I +X A3 20 600 150 200 L 50 50 1 1 I +X ~Y10 11 -550 -450 200 R 50 50 1 1 O I +X A2 21 600 250 200 L 50 50 1 1 I +X GND 12 -550 -550 200 R 50 50 1 1 I +X A1 22 600 350 200 L 50 50 1 1 I +X ~Y11 13 600 -550 200 L 50 50 1 1 O I +X A0 23 600 450 200 L 50 50 1 1 I +X ~Y12 14 600 -450 200 L 50 50 1 1 O I +X Vcc 24 600 550 200 L 50 50 1 1 I +X ~Y13 15 600 -350 200 L 50 50 1 1 O I +X ~Y14 16 600 -250 200 L 50 50 1 1 O I +X ~Y15 17 600 -150 200 L 50 50 1 1 O I +X ~E0 18 600 -50 200 L 50 50 1 1 I I +X ~E1 19 600 50 200 L 50 50 1 1 I I +ENDDRAW +ENDDEF +# +# IC_74157 +# +DEF IC_74157 X 0 40 Y Y 1 F N +F0 "X" 50 -50 60 H V C CNN +F1 "IC_74157" 50 100 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +T 0 50 -300 60 0 0 0 2:1 Normal 0 C C +T 0 50 -400 60 0 0 0 MUX Normal 0 C C +T 0 50 -200 60 0 0 0 QUAD Normal 0 C C +S -350 550 400 -650 0 1 0 N +X a0 1 -550 450 200 R 50 50 1 1 I +X a1 2 -550 300 200 R 50 50 1 1 I +X b0 3 -550 200 200 R 50 50 1 1 I +X b1 4 -550 100 200 R 50 50 1 1 I +X c0 5 -550 0 200 R 50 50 1 1 I +X c1 6 -550 -100 200 R 50 50 1 1 I +X d0 7 -550 -200 200 R 50 50 1 1 I +X d1 8 -550 -300 200 R 50 50 1 1 I +X EN 9 -550 -550 200 R 50 50 1 1 I I +X S 10 -550 -450 200 R 50 50 1 1 I +X Yd 11 600 0 200 L 50 50 1 1 O +X Ya 12 600 300 200 L 50 50 1 1 O +X Yb 13 600 200 200 L 50 50 1 1 O +X Yc 14 600 100 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# IC_7485 +# +DEF IC_7485 X 0 40 Y Y 1 F N +F0 "X" -50 -100 60 H V C CNN +F1 "IC_7485" -50 50 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +T 0 0 550 60 0 0 0 4~BIT~comparator Normal 0 C C +S -350 450 400 -400 0 1 0 N +X AB(in) 3 600 -300 200 L 50 50 1 1 I +X A3 4 -550 100 200 R 50 50 1 1 I +X B3 5 -550 -350 200 R 50 50 1 1 I +X A2 6 -550 200 200 R 50 50 1 1 I +X B2 7 -550 -250 200 R 50 50 1 1 I +X A1 8 -550 300 200 R 50 50 1 1 I +X B1 9 -550 -150 200 R 50 50 1 1 I +X A0 10 -550 400 200 R 50 50 1 1 I +X B0 11 -550 -50 200 R 50 50 1 1 I +X A>B(out) 12 600 350 200 L 50 50 1 1 O +X A=B(out) 13 600 250 200 L 50 50 1 1 O +X A Date: Wed, 23 Nov 2022 22:00:57 +0530 Subject: [PATCH 02/11] INA106 Differential Amplifier IC --- .../Diffamp_INA106/Diffamp_INA106-cache.lib | 83 +++ .../Diffamp_INA106/Diffamp_INA106.cir | 16 + .../Diffamp_INA106/Diffamp_INA106.cir.out | 18 + .../Diffamp_INA106/Diffamp_INA106.pro | 71 ++ .../Diffamp_INA106/Diffamp_INA106.sch | 247 +++++++ .../Diffamp_INA106/Diffamp_INA106.sub | 12 + .../Diffamp_INA106_Previous_Values.xml | 1 + .../SubcircuitLibrary/Diffamp_INA106/NPN.lib | 4 + .../SubcircuitLibrary/Diffamp_INA106/PNP.lib | 4 + .../Diffamp_INA106/README.md | 36 + .../SubcircuitLibrary/Diffamp_INA106/analysis | 1 + .../Diffamp_INA106/lm_741-cache.lib | 119 +++ .../Diffamp_INA106/lm_741.cir | 43 ++ .../Diffamp_INA106/lm_741.cir.out | 46 ++ .../Diffamp_INA106/lm_741.pro | 44 ++ .../Diffamp_INA106/lm_741.sch | 697 ++++++++++++++++++ .../Diffamp_INA106/lm_741.sub | 40 + .../Diffamp_INA106/lm_741_Previous_Values.xml | 1 + .../Diffamp_INA106/npn_1.lib | 29 + .../Diffamp_INA106/pnp_1.lib | 29 + 20 files changed, 1541 insertions(+) create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106-cache.lib create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.cir create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.cir.out create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.pro create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.sch create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.sub create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106_Previous_Values.xml create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/NPN.lib create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/PNP.lib create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/README.md create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/analysis create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/lm_741-cache.lib create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/lm_741.cir create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/lm_741.cir.out create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/lm_741.pro create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/lm_741.sch create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/lm_741.sub create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/lm_741_Previous_Values.xml create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/npn_1.lib create mode 100644 library/SubcircuitLibrary/Diffamp_INA106/pnp_1.lib diff --git a/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106-cache.lib b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106-cache.lib new file mode 100644 index 000000000..d1bbdfdd0 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106-cache.lib @@ -0,0 +1,83 @@ +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_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 +# +# lm_741 +# +DEF lm_741 X 0 40 Y Y 1 F N +F0 "X" -200 0 60 H V C CNN +F1 "lm_741" -100 -250 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N +X off_null 1 -50 400 200 D 50 38 1 1 I +X inv 2 -550 150 200 R 50 38 1 1 I +X non_inv 3 -550 -100 200 R 50 38 1 1 I +X v_neg 4 -150 -450 200 U 50 38 1 1 I +X off_null 5 50 350 200 D 50 38 1 1 I +X out 6 550 0 200 L 50 38 1 1 O +X v_pos 7 -150 450 200 D 50 38 1 1 I +X NC 8 150 -300 200 U 50 38 1 1 N +ENDDRAW +ENDDEF +# +#End Library diff --git a/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.cir b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.cir new file mode 100644 index 000000000..ca9bf9590 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.cir @@ -0,0 +1,16 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\Diffamp_INA106\Diffamp_INA106.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 7/20/2022 1:33:22 PM + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +X1 ? Net-_R1-Pad2_ Net-_R2-Pad2_ /V- ? /Output /V+ ? lm_741 +R1 /-IN Net-_R1-Pad2_ 100k +R2 /+IN Net-_R2-Pad2_ 100k +R4 Net-_R1-Pad2_ /Sense 10k +R3 Net-_R2-Pad2_ /REF 10k +U1 /REF /-IN /+IN /V- /Sense /Output /V+ ? PORT + +.end diff --git a/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.cir.out b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.cir.out new file mode 100644 index 000000000..464817c3b --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.cir.out @@ -0,0 +1,18 @@ +* c:\fossee\esim\library\subcircuitlibrary\diffamp_ina106\diffamp_ina106.cir + +.include lm_741.sub +x1 ? net-_r1-pad2_ net-_r2-pad2_ /v- ? /output /v+ ? lm_741 +r1 /-in net-_r1-pad2_ 100k +r2 /+in net-_r2-pad2_ 100k +r4 net-_r1-pad2_ /sense 10k +r3 net-_r2-pad2_ /ref 10k +* u1 /ref /-in /+in /v- /sense /output /v+ ? port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.pro b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.pro new file mode 100644 index 000000000..d7f78c3b4 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.pro @@ -0,0 +1,71 @@ +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 diff --git a/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.sch b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.sch new file mode 100644 index 000000000..19e9c3bb2 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.sch @@ -0,0 +1,247 @@ +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:Diffamp_INA106-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 lm_741 X1 +U 1 1 62D11E03 +P 5050 3650 +F 0 "X1" H 4850 3650 60 0000 C CNN +F 1 "lm_741" H 4950 3400 60 0000 C CNN +F 2 "" H 5050 3650 60 0000 C CNN +F 3 "" H 5050 3650 60 0000 C CNN + 1 5050 3650 + 1 0 0 -1 +$EndComp +$Comp +L resistor R1 +U 1 1 62D11E04 +P 3450 3550 +F 0 "R1" H 3500 3680 50 0000 C CIB +F 1 "100k" H 3500 3500 50 0000 C CNN +F 2 "" H 3500 3530 30 0000 C CNN +F 3 "" V 3500 3600 30 0000 C CNN + 1 3450 3550 + 1 0 0 -1 +$EndComp +$Comp +L resistor R2 +U 1 1 62D11E05 +P 3450 3800 +F 0 "R2" H 3500 3930 50 0000 C CIB +F 1 "100k" H 3500 3750 50 0000 C CNN +F 2 "" H 3500 3780 30 0000 C CNN +F 3 "" V 3500 3850 30 0000 C CNN + 1 3450 3800 + 1 0 0 -1 +$EndComp +$Comp +L resistor R4 +U 1 1 62D11E06 +P 5300 3050 +F 0 "R4" H 5350 3180 50 0000 C CIB +F 1 "10k" H 5350 3000 50 0000 C CNN +F 2 "" H 5350 3030 30 0000 C CNN +F 3 "" V 5350 3100 30 0000 C CNN + 1 5300 3050 + 1 0 0 -1 +$EndComp +$Comp +L resistor R3 +U 1 1 62D11E07 +P 4200 4400 +F 0 "R3" H 4250 4530 50 0000 C CIB +F 1 "10k" H 4250 4350 50 0000 C CNN +F 2 "" H 4250 4380 30 0000 C CNN +F 3 "" V 4250 4450 30 0000 C CNN + 1 4200 4400 + 0 1 1 0 +$EndComp +Wire Wire Line + 5500 3000 6650 3000 +Wire Wire Line + 3650 3750 4500 3750 +Wire Wire Line + 3650 3500 4500 3500 +Wire Wire Line + 4900 4100 4900 4350 +Wire Wire Line + 4250 3000 5200 3000 +Wire Wire Line + 4250 3000 4250 3500 +Connection ~ 4250 3500 +Wire Wire Line + 4250 4300 4250 3750 +Connection ~ 4250 3750 +Wire Wire Line + 4800 3150 4900 3150 +Wire Wire Line + 4900 3150 4900 3200 +Wire Wire Line + 2700 3500 3350 3500 +Wire Wire Line + 2700 3750 3350 3750 +Wire Wire Line + 3750 4650 4250 4650 +Wire Wire Line + 4250 4650 4250 4600 +Text Label 2900 3500 0 60 Italic 0 +-IN +Text Label 2900 3750 0 60 Italic 0 ++IN +Text Label 4850 3150 0 60 ~ 12 +V+ +Text Label 4900 4200 0 60 ~ 12 +V- +Text Label 6350 3000 0 60 ~ 0 +Sense +Text Label 3900 4650 0 60 ~ 0 +REF +Text Label 6350 3650 0 49 Italic 0 +Output +NoConn ~ 5000 3250 +NoConn ~ 5100 3300 +Wire Wire Line + 4900 4350 4850 4350 +$Comp +L PORT U1 +U 3 1 62D11F12 +P 2450 3750 +F 0 "U1" H 2500 3850 30 0000 C CNN +F 1 "PORT" H 2450 3750 30 0000 C CNN +F 2 "" H 2450 3750 60 0000 C CNN +F 3 "" H 2450 3750 60 0000 C CNN + 3 2450 3750 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 1 1 62D11F93 +P 3500 4650 +F 0 "U1" H 3550 4750 30 0000 C CNN +F 1 "PORT" H 3500 4650 30 0000 C CNN +F 2 "" H 3500 4650 60 0000 C CNN +F 3 "" H 3500 4650 60 0000 C CNN + 1 3500 4650 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 62D1202E +P 2450 3500 +F 0 "U1" H 2500 3600 30 0000 C CNN +F 1 "PORT" H 2450 3500 30 0000 C CNN +F 2 "" H 2450 3500 60 0000 C CNN +F 3 "" H 2450 3500 60 0000 C CNN + 2 2450 3500 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 5 1 62D12099 +P 6900 3000 +F 0 "U1" H 6950 3100 30 0000 C CNN +F 1 "PORT" H 6900 3000 30 0000 C CNN +F 2 "" H 6900 3000 60 0000 C CNN +F 3 "" H 6900 3000 60 0000 C CNN + 5 6900 3000 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 7 1 62D12114 +P 4550 3150 +F 0 "U1" H 4600 3250 30 0000 C CNN +F 1 "PORT" H 4550 3150 30 0000 C CNN +F 2 "" H 4550 3150 60 0000 C CNN +F 3 "" H 4550 3150 60 0000 C CNN + 7 4550 3150 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 8 1 62D121A7 +P 6200 4250 +F 0 "U1" H 6250 4350 30 0000 C CNN +F 1 "PORT" H 6200 4250 30 0000 C CNN +F 2 "" H 6200 4250 60 0000 C CNN +F 3 "" H 6200 4250 60 0000 C CNN + 8 6200 4250 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 4 1 62D121EE +P 4600 4350 +F 0 "U1" H 4650 4450 30 0000 C CNN +F 1 "PORT" H 4600 4350 30 0000 C CNN +F 2 "" H 4600 4350 60 0000 C CNN +F 3 "" H 4600 4350 60 0000 C CNN + 4 4600 4350 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 6 1 62D1221F +P 6900 3650 +F 0 "U1" H 6950 3750 30 0000 C CNN +F 1 "PORT" H 6900 3650 30 0000 C CNN +F 2 "" H 6900 3650 60 0000 C CNN +F 3 "" H 6900 3650 60 0000 C CNN + 6 6900 3650 + -1 0 0 1 +$EndComp +NoConn ~ 5950 4250 +Wire Wire Line + 5600 3650 6650 3650 +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.sub b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.sub new file mode 100644 index 000000000..18c305cfa --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106.sub @@ -0,0 +1,12 @@ +* Subcircuit Diffamp_INA106 +.subckt Diffamp_INA106 /ref /-in /+in /v- /sense /output /v+ ? +* c:\fossee\esim\library\subcircuitlibrary\diffamp_ina106\diffamp_ina106.cir +.include lm_741.sub +x1 ? net-_r1-pad2_ net-_r2-pad2_ /v- ? /output /v+ ? lm_741 +r1 /-in net-_r1-pad2_ 100k +r2 /+in net-_r2-pad2_ 100k +r4 net-_r1-pad2_ /sense 10k +r3 net-_r2-pad2_ /ref 10k +* Control Statements + +.ends Diffamp_INA106 \ No newline at end of file diff --git a/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106_Previous_Values.xml b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106_Previous_Values.xml new file mode 100644 index 000000000..a7f22b8a8 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/Diffamp_INA106_Previous_Values.xml @@ -0,0 +1 @@ +C:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/library/SubcircuitLibrary/Diffamp_INA106/NPN.lib b/library/SubcircuitLibrary/Diffamp_INA106/NPN.lib new file mode 100644 index 000000000..6509fe7ab --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/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=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p ++ Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p ++ Itf=.6 Vtf=1.7 Xtf=3 Rb=10) diff --git a/library/SubcircuitLibrary/Diffamp_INA106/PNP.lib b/library/SubcircuitLibrary/Diffamp_INA106/PNP.lib new file mode 100644 index 000000000..7edda0eab --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/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/Diffamp_INA106/README.md b/library/SubcircuitLibrary/Diffamp_INA106/README.md new file mode 100644 index 000000000..e95e5fc5b --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/README.md @@ -0,0 +1,36 @@ + +## Differential Amplifier IC + +Differential Amplifier is a type of amplifier circuit which is used to amplify the difference of input and give the output respectively. It is used to remove noise which is present in input signal. + +## Usage/Examples + +It is used in Amplitude Modulation. + +It is used in Audio Amplifier for exact and noiseless volume control. + +It is used in Digital and Analog data transmission system for noise cancellation. + +It is used for audio and video processing. + +It is used as an automatic gain control circuit. + +It is used as an electronic switch. + +It is used for motor control. + + +## Documentation + +To know the details of INA106 Differential Amplifier IC please refer to this link [INA106_Differential_Amplifier_datasheet.](https://www.ti.com/lit/ds/symlink/ina106.pdf?ts=1659516896123&ref_url=https%253A%252F%252Fwww.google.co.in%252F) + +## Comments/Notes + +Please note this is a complete analog IC. It works fine at the time of simulation. + +## Contributor + +Name: Vanshika Tanwar +Email: vanshikatanwar30@gmail.com +Year: 2022 +Position: FOSSEE Summer Fellowship Intern 2022 diff --git a/library/SubcircuitLibrary/Diffamp_INA106/analysis b/library/SubcircuitLibrary/Diffamp_INA106/analysis new file mode 100644 index 000000000..ebd5c0a94 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00 \ No newline at end of file diff --git a/library/SubcircuitLibrary/Diffamp_INA106/lm_741-cache.lib b/library/SubcircuitLibrary/Diffamp_INA106/lm_741-cache.lib new file mode 100644 index 000000000..04e3fecd3 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/lm_741-cache.lib @@ -0,0 +1,119 @@ +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 +$FPLIST + C_* +$ENDFPLIST +DRAW +P 2 0 1 20 -80 -30 80 -30 N +P 2 0 1 20 -80 30 80 30 N +X ~ 1 0 150 110 D 40 40 1 1 P +X ~ 2 0 -150 110 U 40 40 1 1 P +ENDDRAW +ENDDEF +# +# eSim_NPN +# +DEF eSim_NPN Q 0 0 Y N 1 F N +F0 "Q" -100 50 50 H V R CNN +F1 "eSim_NPN" -50 150 50 H V R CNN +F2 "" 200 100 29 H V C CNN +F3 "" 0 0 60 H V C CNN +ALIAS BC547 Q2N2222 +DRAW +C 50 0 111 0 1 10 N +P 2 0 1 0 25 25 100 100 N +P 3 0 1 0 25 -25 100 -100 100 -100 N +P 3 0 1 20 25 75 25 -75 25 -75 N +P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F +X C 1 100 200 100 D 50 50 1 1 C +X B 2 -200 0 225 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 E +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 C +X B 2 -200 0 225 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 E +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 +$FPLIST + R_* + Resistor_* +$ENDFPLIST +DRAW +S 150 10 -50 90 0 1 10 N +X ~ 1 -100 50 50 R 60 60 1 1 P +X ~ 2 200 50 50 L 60 60 1 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/library/SubcircuitLibrary/Diffamp_INA106/lm_741.cir b/library/SubcircuitLibrary/Diffamp_INA106/lm_741.cir new file mode 100644 index 000000000..4a5917ea6 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/lm_741.cir @@ -0,0 +1,43 @@ +* C:\Users\malli\eSim\src\SubcircuitLibrary\lm_741\lm_741.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 05/25/19 19:37:28 + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN +Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN +Q6 Net-_Q3-Pad2_ Net-_Q13-Pad1_ Net-_Q1-Pad3_ eSim_PNP +Q5 Net-_C1-Pad2_ Net-_Q13-Pad1_ Net-_Q2-Pad3_ eSim_PNP +Q3 Net-_Q10-Pad3_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN +Q4 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q9 Net-_Q13-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q8 Net-_C1-Pad2_ Net-_Q3-Pad3_ Net-_Q8-Pad3_ eSim_NPN +Q7 Net-_Q3-Pad2_ Net-_Q3-Pad3_ Net-_Q7-Pad3_ eSim_NPN +R1 Net-_Q7-Pad3_ Net-_Q12-Pad3_ 1k +R2 Net-_Q3-Pad3_ Net-_Q12-Pad3_ 50k +R3 Net-_Q8-Pad3_ Net-_Q12-Pad3_ 1k +Q12 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_NPN +Q13 Net-_Q13-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad3_ eSim_NPN +R4 Net-_Q13-Pad3_ Net-_Q12-Pad3_ 5k +R11 Net-_Q10-Pad1_ Net-_Q12-Pad1_ 39k +Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q11 Net-_C1-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q14 Net-_C1-Pad1_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN +R8 Net-_C1-Pad1_ Net-_Q14-Pad2_ 4.5k +R7 Net-_Q14-Pad3_ Net-_Q14-Pad2_ 7.5k +C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p +Q16 Net-_Q14-Pad3_ Net-_C1-Pad2_ Net-_Q15-Pad2_ eSim_NPN +Q15 Net-_Q14-Pad3_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN +R5 Net-_Q15-Pad2_ Net-_Q12-Pad3_ 50k +R6 Net-_Q15-Pad3_ Net-_Q12-Pad3_ 50 +Q17 Net-_C1-Pad2_ Net-_Q15-Pad3_ Net-_Q12-Pad3_ eSim_NPN +Q18 Net-_Q10-Pad3_ Net-_C1-Pad1_ Net-_Q18-Pad3_ eSim_NPN +Q20 Net-_C1-Pad1_ Net-_Q18-Pad3_ Net-_Q20-Pad3_ eSim_NPN +R9 Net-_Q18-Pad3_ Net-_Q20-Pad3_ 25 +R10 Net-_Q20-Pad3_ Net-_Q19-Pad3_ 50 +Q19 Net-_Q12-Pad3_ Net-_Q14-Pad3_ Net-_Q19-Pad3_ eSim_PNP +U1 Net-_Q7-Pad3_ Net-_Q2-Pad2_ Net-_Q1-Pad2_ Net-_Q12-Pad3_ Net-_Q8-Pad3_ Net-_Q20-Pad3_ Net-_Q10-Pad3_ ? PORT + +.end diff --git a/library/SubcircuitLibrary/Diffamp_INA106/lm_741.cir.out b/library/SubcircuitLibrary/Diffamp_INA106/lm_741.cir.out new file mode 100644 index 000000000..a00bd86af --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/lm_741.cir.out @@ -0,0 +1,46 @@ +* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir + +.include npn_1.lib +.include pnp_1.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 +q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 +q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 +q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 +q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 +q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 +q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 +r1 net-_q7-pad3_ net-_q12-pad3_ 1k +r2 net-_q3-pad3_ net-_q12-pad3_ 50k +r3 net-_q8-pad3_ net-_q12-pad3_ 1k +q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 +q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 +r4 net-_q13-pad3_ net-_q12-pad3_ 5k +r11 net-_q10-pad1_ net-_q12-pad1_ 39k +q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 +r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k +r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k +c1 net-_c1-pad1_ net-_c1-pad2_ 30p +q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 +q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 +r5 net-_q15-pad2_ net-_q12-pad3_ 50k +r6 net-_q15-pad3_ net-_q12-pad3_ 50 +q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 +q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 +q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 +r9 net-_q18-pad3_ net-_q20-pad3_ 25 +r10 net-_q20-pad3_ net-_q19-pad3_ 50 +q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 +* u1 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/library/SubcircuitLibrary/Diffamp_INA106/lm_741.pro b/library/SubcircuitLibrary/Diffamp_INA106/lm_741.pro new file mode 100644 index 000000000..b56de1b0f --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/lm_741.pro @@ -0,0 +1,44 @@ +update=Fri Jun 7 21:53:51 2019 +version=1 +last_client=eeschema +[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=power +LibName2=eSim_Analog +LibName3=eSim_Devices +LibName4=eSim_Digital +LibName5=eSim_Hybrid +LibName6=eSim_Miscellaneous +LibName7=eSim_Plot +LibName8=eSim_Power +LibName9=eSim_User +LibName10=eSim_Sources +LibName11=eSim_Subckt diff --git a/library/SubcircuitLibrary/Diffamp_INA106/lm_741.sch b/library/SubcircuitLibrary/Diffamp_INA106/lm_741.sch new file mode 100644 index 000000000..b017fd2b8 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/lm_741.sch @@ -0,0 +1,697 @@ +EESchema Schematic File Version 2 +LIBS:power +LIBS:eSim_Analog +LIBS:eSim_Devices +LIBS:eSim_Digital +LIBS:eSim_Hybrid +LIBS:eSim_Miscellaneous +LIBS:eSim_Plot +LIBS:eSim_Power +LIBS:eSim_PSpice +LIBS:eSim_Sources +LIBS:eSim_Subckt +LIBS:eSim_User +LIBS:lm_741-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_NPN Q1 +U 1 1 5CE90A7B +P 2650 2700 +F 0 "Q1" H 2550 2750 50 0000 R CNN +F 1 "eSim_NPN" H 2600 2850 50 0000 R CNN +F 2 "" H 2850 2800 29 0000 C CNN +F 3 "" H 2650 2700 60 0000 C CNN + 1 2650 2700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q2 +U 1 1 5CE90A7C +P 4300 2700 +F 0 "Q2" H 4200 2750 50 0000 R CNN +F 1 "eSim_NPN" H 4250 2850 50 0000 R CNN +F 2 "" H 4500 2800 29 0000 C CNN +F 3 "" H 4300 2700 60 0000 C CNN + 1 4300 2700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q6 +U 1 1 5CE90A7D +P 3000 3200 +F 0 "Q6" H 2900 3250 50 0000 R CNN +F 1 "eSim_PNP" H 2950 3350 50 0000 R CNN +F 2 "" H 3200 3300 29 0000 C CNN +F 3 "" H 3000 3200 60 0000 C CNN + 1 3000 3200 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q5 +U 1 1 5CE90A7E +P 3950 3200 +F 0 "Q5" H 3850 3250 50 0000 R CNN +F 1 "eSim_PNP" H 3900 3350 50 0000 R CNN +F 2 "" H 4150 3300 29 0000 C CNN +F 3 "" H 3950 3200 60 0000 C CNN + 1 3950 3200 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q3 +U 1 1 5CE90A7F +P 3300 4000 +F 0 "Q3" H 3200 4050 50 0000 R CNN +F 1 "eSim_NPN" H 3250 4150 50 0000 R CNN +F 2 "" H 3500 4100 29 0000 C CNN +F 3 "" H 3300 4000 60 0000 C CNN + 1 3300 4000 + 1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q4 +U 1 1 5CE90A80 +P 3850 2000 +F 0 "Q4" H 3750 2050 50 0000 R CNN +F 1 "eSim_PNP" H 3800 2150 50 0000 R CNN +F 2 "" H 4050 2100 29 0000 C CNN +F 3 "" H 3850 2000 60 0000 C CNN + 1 3850 2000 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q9 +U 1 1 5CE90A81 +P 5200 2000 +F 0 "Q9" H 5100 2050 50 0000 R CNN +F 1 "eSim_PNP" H 5150 2150 50 0000 R CNN +F 2 "" H 5400 2100 29 0000 C CNN +F 3 "" H 5200 2000 60 0000 C CNN + 1 5200 2000 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q8 +U 1 1 5CE90A82 +P 3950 4600 +F 0 "Q8" H 3850 4650 50 0000 R CNN +F 1 "eSim_NPN" H 3900 4750 50 0000 R CNN +F 2 "" H 4150 4700 29 0000 C CNN +F 3 "" H 3950 4600 60 0000 C CNN + 1 3950 4600 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q7 +U 1 1 5CE90A83 +P 3000 4600 +F 0 "Q7" H 2900 4650 50 0000 R CNN +F 1 "eSim_NPN" H 2950 4750 50 0000 R CNN +F 2 "" H 3200 4700 29 0000 C CNN +F 3 "" H 3000 4600 60 0000 C CNN + 1 3000 4600 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R1 +U 1 1 5CE90A84 +P 2850 5200 +F 0 "R1" H 2900 5330 50 0000 C CNN +F 1 "1k" H 2900 5250 50 0000 C CNN +F 2 "" H 2900 5180 30 0000 C CNN +F 3 "" V 2900 5250 30 0000 C CNN + 1 2850 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R2 +U 1 1 5CE90A85 +P 3550 5200 +F 0 "R2" H 3600 5330 50 0000 C CNN +F 1 "50k" H 3600 5250 50 0000 C CNN +F 2 "" H 3600 5180 30 0000 C CNN +F 3 "" V 3600 5250 30 0000 C CNN + 1 3550 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R3 +U 1 1 5CE90A86 +P 4000 5200 +F 0 "R3" H 4050 5330 50 0000 C CNN +F 1 "1k" H 4050 5250 50 0000 C CNN +F 2 "" H 4050 5180 30 0000 C CNN +F 3 "" V 4050 5250 30 0000 C CNN + 1 4000 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q12 +U 1 1 5CE90A87 +P 6300 4700 +F 0 "Q12" H 6200 4750 50 0000 R CNN +F 1 "eSim_NPN" H 6250 4850 50 0000 R CNN +F 2 "" H 6500 4800 29 0000 C CNN +F 3 "" H 6300 4700 60 0000 C CNN + 1 6300 4700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q13 +U 1 1 5CE90A88 +P 5400 4700 +F 0 "Q13" H 5300 4750 50 0000 R CNN +F 1 "eSim_NPN" H 5350 4850 50 0000 R CNN +F 2 "" H 5600 4800 29 0000 C CNN +F 3 "" H 5400 4700 60 0000 C CNN + 1 5400 4700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R4 +U 1 1 5CE90A89 +P 5250 5200 +F 0 "R4" H 5300 5330 50 0000 C CNN +F 1 "5k" H 5300 5250 50 0000 C CNN +F 2 "" H 5300 5180 30 0000 C CNN +F 3 "" V 5300 5250 30 0000 C CNN + 1 5250 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R11 +U 1 1 5CE90A8A +P 6350 2750 +F 0 "R11" H 6400 2880 50 0000 C CNN +F 1 "39k" H 6400 2800 50 0000 C CNN +F 2 "" H 6400 2730 30 0000 C CNN +F 3 "" V 6400 2800 30 0000 C CNN + 1 6350 2750 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q10 +U 1 1 5CE90A8B +P 6500 1950 +F 0 "Q10" H 6400 2000 50 0000 R CNN +F 1 "eSim_PNP" H 6450 2100 50 0000 R CNN +F 2 "" H 6700 2050 29 0000 C CNN +F 3 "" H 6500 1950 60 0000 C CNN + 1 6500 1950 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q11 +U 1 1 5CE90A8C +P 7500 1950 +F 0 "Q11" H 7400 2000 50 0000 R CNN +F 1 "eSim_PNP" H 7450 2100 50 0000 R CNN +F 2 "" H 7700 2050 29 0000 C CNN +F 3 "" H 7500 1950 60 0000 C CNN + 1 7500 1950 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q14 +U 1 1 5CE90A8D +P 7500 3050 +F 0 "Q14" H 7400 3100 50 0000 R CNN +F 1 "eSim_NPN" H 7450 3200 50 0000 R CNN +F 2 "" H 7700 3150 29 0000 C CNN +F 3 "" H 7500 3050 60 0000 C CNN + 1 7500 3050 + 1 0 0 -1 +$EndComp +$Comp +L eSim_R R8 +U 1 1 5CE90A8E +P 7300 2600 +F 0 "R8" H 7350 2730 50 0000 C CNN +F 1 "4.5k" H 7350 2650 50 0000 C CNN +F 2 "" H 7350 2580 30 0000 C CNN +F 3 "" V 7350 2650 30 0000 C CNN + 1 7300 2600 + -1 0 0 1 +$EndComp +$Comp +L eSim_R R7 +U 1 1 5CE90A8F +P 7300 3400 +F 0 "R7" H 7350 3530 50 0000 C CNN +F 1 "7.5k" H 7350 3450 50 0000 C CNN +F 2 "" H 7350 3380 30 0000 C CNN +F 3 "" V 7350 3450 30 0000 C CNN + 1 7300 3400 + -1 0 0 1 +$EndComp +$Comp +L eSim_C C1 +U 1 1 5CE90A90 +P 6600 3200 +F 0 "C1" H 6625 3300 50 0000 L CNN +F 1 "30p" H 6625 3100 50 0000 L CNN +F 2 "" H 6638 3050 30 0000 C CNN +F 3 "" H 6600 3200 60 0000 C CNN + 1 6600 3200 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q16 +U 1 1 5CE90A91 +P 7050 3950 +F 0 "Q16" H 6950 4000 50 0000 R CNN +F 1 "eSim_NPN" H 7000 4100 50 0000 R CNN +F 2 "" H 7250 4050 29 0000 C CNN +F 3 "" H 7050 3950 60 0000 C CNN + 1 7050 3950 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q15 +U 1 1 5CE90A92 +P 7500 4300 +F 0 "Q15" H 7400 4350 50 0000 R CNN +F 1 "eSim_NPN" H 7450 4450 50 0000 R CNN +F 2 "" H 7700 4400 29 0000 C CNN +F 3 "" H 7500 4300 60 0000 C CNN + 1 7500 4300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_R R5 +U 1 1 5CE90A93 +P 7100 5050 +F 0 "R5" H 7150 5180 50 0000 C CNN +F 1 "50k" H 7150 5100 50 0000 C CNN +F 2 "" H 7150 5030 30 0000 C CNN +F 3 "" V 7150 5100 30 0000 C CNN + 1 7100 5050 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R6 +U 1 1 5CE90A94 +P 7550 5050 +F 0 "R6" H 7600 5180 50 0000 C CNN +F 1 "50" H 7600 5100 50 0000 C CNN +F 2 "" H 7600 5030 30 0000 C CNN +F 3 "" V 7600 5100 30 0000 C CNN + 1 7550 5050 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q17 +U 1 1 5CE90A95 +P 6800 4700 +F 0 "Q17" H 6700 4750 50 0000 R CNN +F 1 "eSim_NPN" H 6750 4850 50 0000 R CNN +F 2 "" H 7000 4800 29 0000 C CNN +F 3 "" H 6800 4700 60 0000 C CNN + 1 6800 4700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q18 +U 1 1 5CE90A96 +P 8800 2300 +F 0 "Q18" H 8700 2350 50 0000 R CNN +F 1 "eSim_NPN" H 8750 2450 50 0000 R CNN +F 2 "" H 9000 2400 29 0000 C CNN +F 3 "" H 8800 2300 60 0000 C CNN + 1 8800 2300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q20 +U 1 1 5CE90A97 +P 8400 2750 +F 0 "Q20" H 8300 2800 50 0000 R CNN +F 1 "eSim_NPN" H 8350 2900 50 0000 R CNN +F 2 "" H 8600 2850 29 0000 C CNN +F 3 "" H 8400 2750 60 0000 C CNN + 1 8400 2750 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R9 +U 1 1 5CE90A98 +P 8850 3000 +F 0 "R9" H 8900 3130 50 0000 C CNN +F 1 "25" H 8900 3050 50 0000 C CNN +F 2 "" H 8900 2980 30 0000 C CNN +F 3 "" V 8900 3050 30 0000 C CNN + 1 8850 3000 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R10 +U 1 1 5CE90A99 +P 8850 3750 +F 0 "R10" H 8900 3880 50 0000 C CNN +F 1 "50" H 8900 3800 50 0000 C CNN +F 2 "" H 8900 3730 30 0000 C CNN +F 3 "" V 8900 3800 30 0000 C CNN + 1 8850 3750 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q19 +U 1 1 5CE90A9A +P 8800 4600 +F 0 "Q19" H 8700 4650 50 0000 R CNN +F 1 "eSim_PNP" H 8750 4750 50 0000 R CNN +F 2 "" H 9000 4700 29 0000 C CNN +F 3 "" H 8800 4600 60 0000 C CNN + 1 8800 4600 + 1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 5CE90A9B +P 1900 1200 +F 0 "U1" H 1950 1300 30 0000 C CNN +F 1 "PORT" H 1900 1200 30 0000 C CNN +F 2 "" H 1900 1200 60 0000 C CNN +F 3 "" H 1900 1200 60 0000 C CNN + 3 1900 1200 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 5CE90A9C +P 4500 1050 +F 0 "U1" H 4550 1150 30 0000 C CNN +F 1 "PORT" H 4500 1050 30 0000 C CNN +F 2 "" H 4500 1050 60 0000 C CNN +F 3 "" H 4500 1050 60 0000 C CNN + 2 4500 1050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 7 1 5CE90A9D +P 9750 1650 +F 0 "U1" H 9800 1750 30 0000 C CNN +F 1 "PORT" H 9750 1650 30 0000 C CNN +F 2 "" H 9750 1650 60 0000 C CNN +F 3 "" H 9750 1650 60 0000 C CNN + 7 9750 1650 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 6 1 5CE90A9E +P 9750 3500 +F 0 "U1" H 9800 3600 30 0000 C CNN +F 1 "PORT" H 9750 3500 30 0000 C CNN +F 2 "" H 9750 3500 60 0000 C CNN +F 3 "" H 9750 3500 60 0000 C CNN + 6 9750 3500 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 4 1 5CE90A9F +P 9700 5550 +F 0 "U1" H 9750 5650 30 0000 C CNN +F 1 "PORT" H 9700 5550 30 0000 C CNN +F 2 "" H 9700 5550 60 0000 C CNN +F 3 "" H 9700 5550 60 0000 C CNN + 4 9700 5550 + -1 0 0 1 +$EndComp +Wire Wire Line + 3200 3200 3750 3200 +Wire Wire Line + 2750 2900 2750 2950 +Wire Wire Line + 2750 2950 2900 2950 +Wire Wire Line + 2900 2950 2900 3000 +Wire Wire Line + 4200 2900 4200 2950 +Wire Wire Line + 4200 2950 4050 2950 +Wire Wire Line + 4050 2950 4050 3000 +Wire Wire Line + 2900 3400 2900 4400 +Wire Wire Line + 2900 4000 3100 4000 +Wire Wire Line + 4200 2000 4200 2500 +Wire Wire Line + 4200 2350 2750 2350 +Wire Wire Line + 2750 2350 2750 2500 +Wire Wire Line + 5000 2000 4050 2000 +Connection ~ 4200 2350 +Connection ~ 4200 2000 +Wire Wire Line + 3750 2200 3750 2350 +Connection ~ 3750 2350 +Wire Wire Line + 3750 1800 3750 1650 +Wire Wire Line + 3400 1650 7600 1650 +Wire Wire Line + 3400 1650 3400 3800 +Wire Wire Line + 5300 1650 5300 1800 +Connection ~ 3750 1650 +Wire Wire Line + 5300 2200 5300 4500 +Wire Wire Line + 5300 3500 3650 3500 +Wire Wire Line + 3650 3500 3650 3200 +Connection ~ 3650 3200 +Connection ~ 2900 4000 +Wire Wire Line + 4050 4400 4050 3400 +Wire Wire Line + 3400 4200 3400 4600 +Wire Wire Line + 3200 4600 3750 4600 +Connection ~ 3400 4600 +Wire Wire Line + 4050 5100 4050 4800 +Wire Wire Line + 3600 5100 3600 4600 +Connection ~ 3600 4600 +Wire Wire Line + 2900 5100 2900 4800 +Wire Wire Line + 2900 5400 2900 5550 +Wire Wire Line + 2900 5550 9450 5550 +Wire Wire Line + 4050 5550 4050 5400 +Wire Wire Line + 3600 5400 3600 5550 +Connection ~ 3600 5550 +Wire Wire Line + 6100 4700 5600 4700 +Wire Wire Line + 6400 2950 6400 4500 +Wire Wire Line + 6400 4250 5900 4250 +Wire Wire Line + 5900 4250 5900 4700 +Connection ~ 5900 4700 +Wire Wire Line + 5300 5100 5300 4900 +Wire Wire Line + 5300 5550 5300 5400 +Connection ~ 4050 5550 +Wire Wire Line + 6400 5550 6400 4900 +Connection ~ 5300 5550 +Connection ~ 5300 3500 +Wire Wire Line + 6400 1650 6400 1750 +Connection ~ 5300 1650 +Wire Wire Line + 6400 2150 6400 2650 +Connection ~ 6400 4250 +Wire Wire Line + 6700 1950 7300 1950 +Wire Wire Line + 7000 1950 7000 2250 +Wire Wire Line + 7000 2250 6400 2250 +Connection ~ 6400 2250 +Wire Wire Line + 7600 1650 7600 1750 +Connection ~ 6400 1650 +Connection ~ 7000 1950 +Wire Wire Line + 7600 3250 7600 4100 +Wire Wire Line + 7600 3450 7400 3450 +Wire Wire Line + 6900 3450 7100 3450 +Wire Wire Line + 6900 2650 6900 3450 +Wire Wire Line + 6900 3050 7300 3050 +Wire Wire Line + 7600 2150 7600 2850 +Wire Wire Line + 7600 2650 7400 2650 +Wire Wire Line + 7100 2650 6900 2650 +Connection ~ 6900 3050 +Connection ~ 7600 2650 +Wire Wire Line + 7300 4300 7150 4300 +Wire Wire Line + 7150 4150 7150 4950 +Connection ~ 7600 3450 +Wire Wire Line + 7600 3700 7150 3700 +Wire Wire Line + 7150 3700 7150 3750 +Connection ~ 7600 3700 +Wire Wire Line + 6600 3050 6600 2450 +Wire Wire Line + 6600 2450 7600 2450 +Connection ~ 7600 2450 +Wire Wire Line + 6600 3350 6600 3950 +Wire Wire Line + 4050 3950 6850 3950 +Wire Wire Line + 6700 3950 6700 4500 +Connection ~ 6700 3950 +Wire Wire Line + 6700 4900 6700 5550 +Connection ~ 6400 5550 +Connection ~ 7150 4300 +Wire Wire Line + 7600 4950 7600 4500 +Wire Wire Line + 7000 4700 7600 4700 +Connection ~ 7600 4700 +Wire Wire Line + 7600 5550 7600 5250 +Connection ~ 6700 5550 +Wire Wire Line + 7150 5250 7150 5550 +Connection ~ 7150 5550 +Wire Wire Line + 7600 2300 8600 2300 +Wire Wire Line + 8300 2300 8300 2550 +Connection ~ 8300 2300 +Connection ~ 7600 2300 +Wire Wire Line + 8900 2100 8900 1650 +Wire Wire Line + 7550 1650 9500 1650 +Connection ~ 7550 1650 +Connection ~ 8900 1650 +Wire Wire Line + 8900 2500 8900 2900 +Wire Wire Line + 8900 2750 8600 2750 +Connection ~ 8900 2750 +Wire Wire Line + 8300 2950 8300 3350 +Wire Wire Line + 8300 3350 8900 3350 +Wire Wire Line + 8900 3200 8900 3650 +Wire Wire Line + 8900 4400 8900 3950 +Connection ~ 8900 3350 +Wire Wire Line + 8900 3500 9500 3500 +Connection ~ 8900 3500 +Wire Wire Line + 8900 5550 8900 4800 +Connection ~ 7600 5550 +Connection ~ 8900 5550 +Wire Wire Line + 8600 4600 8100 4600 +Wire Wire Line + 8100 4600 8100 3850 +Wire Wire Line + 8100 3850 7600 3850 +Connection ~ 7600 3850 +Connection ~ 4050 3950 +Connection ~ 6600 3950 +Wire Wire Line + 4500 2700 4750 2700 +Wire Wire Line + 4750 2700 4750 1050 +Wire Wire Line + 2450 2700 2150 2700 +Wire Wire Line + 2150 2700 2150 1200 +$Comp +L PORT U1 +U 5 1 5CE90AA0 +P 1850 4850 +F 0 "U1" H 1900 4950 30 0000 C CNN +F 1 "PORT" H 1850 4850 30 0000 C CNN +F 2 "" H 1850 4850 60 0000 C CNN +F 3 "" H 1850 4850 60 0000 C CNN + 5 1850 4850 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 1 1 5CE90AA1 +P 1850 5100 +F 0 "U1" H 1900 5200 30 0000 C CNN +F 1 "PORT" H 1850 5100 30 0000 C CNN +F 2 "" H 1850 5100 60 0000 C CNN +F 3 "" H 1850 5100 60 0000 C CNN + 1 1850 5100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2100 5100 2700 5100 +Wire Wire Line + 2700 5100 2700 5050 +Wire Wire Line + 2700 5050 2900 5050 +Connection ~ 2900 5050 +Wire Wire Line + 2100 4850 2550 4850 +Wire Wire Line + 2550 4850 2550 4900 +Wire Wire Line + 2550 4900 4050 4900 +Connection ~ 4050 4900 +$Comp +L PORT U1 +U 8 1 5CE9368F +P 9600 6050 +F 0 "U1" H 9650 6150 30 0000 C CNN +F 1 "PORT" H 9600 6050 30 0000 C CNN +F 2 "" H 9600 6050 60 0000 C CNN +F 3 "" H 9600 6050 60 0000 C CNN + 8 9600 6050 + -1 0 0 1 +$EndComp +Wire Wire Line + 9350 6050 9100 6050 +NoConn ~ 9100 6050 +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/Diffamp_INA106/lm_741.sub b/library/SubcircuitLibrary/Diffamp_INA106/lm_741.sub new file mode 100644 index 000000000..fa8d27b16 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/lm_741.sub @@ -0,0 +1,40 @@ +* Subcircuit lm_741 +.subckt lm_741 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? +* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir +.include npn_1.lib +.include pnp_1.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 +q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 +q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 +q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 +q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 +q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 +q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 +r1 net-_q7-pad3_ net-_q12-pad3_ 1k +r2 net-_q3-pad3_ net-_q12-pad3_ 50k +r3 net-_q8-pad3_ net-_q12-pad3_ 1k +q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 +q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 +r4 net-_q13-pad3_ net-_q12-pad3_ 5k +r11 net-_q10-pad1_ net-_q12-pad1_ 39k +q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 +r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k +r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k +c1 net-_c1-pad1_ net-_c1-pad2_ 30p +q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 +q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 +r5 net-_q15-pad2_ net-_q12-pad3_ 50k +r6 net-_q15-pad3_ net-_q12-pad3_ 50 +q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 +q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 +q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 +r9 net-_q18-pad3_ net-_q20-pad3_ 25 +r10 net-_q20-pad3_ net-_q19-pad3_ 50 +q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 +* Control Statements + +.ends lm_741 \ No newline at end of file diff --git a/library/SubcircuitLibrary/Diffamp_INA106/lm_741_Previous_Values.xml b/library/SubcircuitLibrary/Diffamp_INA106/lm_741_Previous_Values.xml new file mode 100644 index 000000000..b61322bb5 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/lm_741_Previous_Values.xml @@ -0,0 +1 @@ +C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/library/SubcircuitLibrary/Diffamp_INA106/npn_1.lib b/library/SubcircuitLibrary/Diffamp_INA106/npn_1.lib new file mode 100644 index 000000000..a1818ed83 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/npn_1.lib @@ -0,0 +1,29 @@ +.model npn_1 NPN( ++ Vtf=1.7 ++ Cjc=0.5p ++ Nc=2 ++ Tr=46.91n ++ Ne=1.307 ++ Cje=0.5p ++ Isc=0 ++ Xtb=1.5 ++ Rb=500 ++ Rc=1 ++ Tf=411.1p ++ Xti=3 ++ Ikr=0 ++ Bf=125 ++ Fc=.5 ++ Ise=14.34f ++ Br=6.092 ++ Ikf=.2847 ++ Mje=.377 ++ Mjc=.3416 ++ Vaf=74.03 ++ Vjc=.75 ++ Vje=.75 ++ Xtf=3 ++ Itf=.6 ++ Is=14.34f ++ Eg=1.11 +) \ No newline at end of file diff --git a/library/SubcircuitLibrary/Diffamp_INA106/pnp_1.lib b/library/SubcircuitLibrary/Diffamp_INA106/pnp_1.lib new file mode 100644 index 000000000..a4ee06da6 --- /dev/null +++ b/library/SubcircuitLibrary/Diffamp_INA106/pnp_1.lib @@ -0,0 +1,29 @@ +.model pnp_1 PNP( ++ Vtf=1.7 ++ Cjc=1.5p ++ Nc=2 ++ Tr=46.91n ++ Ne=1.307 ++ Cje=0.3p ++ Isc=0 ++ Xtb=1.5 ++ Rb=250 ++ Rc=1 ++ Tf=411.1p ++ Xti=3 ++ Ikr=0 ++ Bf=25 ++ Fc=.5 ++ Ise=14.34f ++ Br=6.092 ++ Ikf=.2847 ++ Mje=.377 ++ Mjc=.3416 ++ Vaf=74.03 ++ Vjc=.75 ++ Vje=.75 ++ Xtf=3 ++ Itf=.6 ++ Is=14.34f ++ Eg=1.11 +) \ No newline at end of file From d896724e0d54dd42ad9f7e0f26b884623a9d1cb2 Mon Sep 17 00:00:00 2001 From: Vanshika Tanwar Date: Wed, 23 Nov 2022 22:03:17 +0530 Subject: [PATCH 03/11] 74LVC1G19 1:2 Demux IC --- .../SubcircuitLibrary/demux/NMOS-180nm.lib | 13 + .../SubcircuitLibrary/demux/PMOS-180nm.lib | 11 + library/SubcircuitLibrary/demux/README.md | 28 + library/SubcircuitLibrary/demux/analysis | 1 + .../SubcircuitLibrary/demux/demux-cache.lib | 100 +++ library/SubcircuitLibrary/demux/demux.cir | 25 + library/SubcircuitLibrary/demux/demux.cir.out | 28 + library/SubcircuitLibrary/demux/demux.pro | 71 +++ library/SubcircuitLibrary/demux/demux.sch | 569 ++++++++++++++++++ library/SubcircuitLibrary/demux/demux.sub | 22 + .../demux/demux_Previous_Values.xml | 1 + 11 files changed, 869 insertions(+) create mode 100644 library/SubcircuitLibrary/demux/NMOS-180nm.lib create mode 100644 library/SubcircuitLibrary/demux/PMOS-180nm.lib create mode 100644 library/SubcircuitLibrary/demux/README.md create mode 100644 library/SubcircuitLibrary/demux/analysis create mode 100644 library/SubcircuitLibrary/demux/demux-cache.lib create mode 100644 library/SubcircuitLibrary/demux/demux.cir create mode 100644 library/SubcircuitLibrary/demux/demux.cir.out create mode 100644 library/SubcircuitLibrary/demux/demux.pro create mode 100644 library/SubcircuitLibrary/demux/demux.sch create mode 100644 library/SubcircuitLibrary/demux/demux.sub create mode 100644 library/SubcircuitLibrary/demux/demux_Previous_Values.xml diff --git a/library/SubcircuitLibrary/demux/NMOS-180nm.lib b/library/SubcircuitLibrary/demux/NMOS-180nm.lib new file mode 100644 index 000000000..51e9b1196 --- /dev/null +++ b/library/SubcircuitLibrary/demux/NMOS-180nm.lib @@ -0,0 +1,13 @@ +.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697 ++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0 ++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18 ++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4 ++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0 ++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0 ++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3 ++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1 ++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 ++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12 ++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286 ++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078 ++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3) diff --git a/library/SubcircuitLibrary/demux/PMOS-180nm.lib b/library/SubcircuitLibrary/demux/PMOS-180nm.lib new file mode 100644 index 000000000..032b5b95e --- /dev/null +++ b/library/SubcircuitLibrary/demux/PMOS-180nm.lib @@ -0,0 +1,11 @@ +.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015 ++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363 ++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478 ++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677 ++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9 ++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148 ++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10 ++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 ++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 ++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3 ++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3) diff --git a/library/SubcircuitLibrary/demux/README.md b/library/SubcircuitLibrary/demux/README.md new file mode 100644 index 000000000..b2bb3cb4c --- /dev/null +++ b/library/SubcircuitLibrary/demux/README.md @@ -0,0 +1,28 @@ + +# Demux IC + +Demux is the de-multiplexer circuit that takes one input line and gives multiple output lines. Basically, it’s a combinational circuit and It always takes one input +line and gives 2n output line, where n is the number of select lines. It is also, known as a serial to parallel converter or data distributor circuit. The 1:2 Demux consist of 1 input line, 1 select line, and produces 2 output line. as, according to the formula no. of the output line is depends on no. of select line, here, in 1:2 demux, no. of output line = 2^n = 2^1 = 2. + + +## Usage/Examples + +It is used in communication systems. + +It is used in serial to parallel converter. + + +## Documentation + +To know the details of 74LVC1G19 IC please refer to this link [74LVC1G19_IC_datasheet.](https://assets.nexperia.com/documents/data-sheet/74LVC1G19.pdf) + +## Comments/Notes + +Please note this is a complete Digital IC. It works fine at the time of simulation. + +## Contributor + +Name: Vanshika Tanwar +Email: vanshikatanwar30@gmail.com +Year: 2022 +Position: FOSSEE Summer Fellowship Intern 2022 diff --git a/library/SubcircuitLibrary/demux/analysis b/library/SubcircuitLibrary/demux/analysis new file mode 100644 index 000000000..ebd5c0a94 --- /dev/null +++ b/library/SubcircuitLibrary/demux/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00 \ No newline at end of file diff --git a/library/SubcircuitLibrary/demux/demux-cache.lib b/library/SubcircuitLibrary/demux/demux-cache.lib new file mode 100644 index 000000000..6c512720e --- /dev/null +++ b/library/SubcircuitLibrary/demux/demux-cache.lib @@ -0,0 +1,100 @@ +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_MOS_N +# +DEF eSim_MOS_N M 0 0 Y N 1 F N +F0 "M" 0 -150 50 H V R CNN +F1 "eSim_MOS_N" 100 -50 50 H V R CNN +F2 "" 300 -300 29 H V C CNN +F3 "" 100 -200 60 H V C CNN +ALIAS mosfet_n +DRAW +C 150 -200 111 0 1 10 N +P 2 0 1 10 130 -290 130 -250 N +P 2 0 1 0 130 -270 200 -270 N +P 2 0 1 10 130 -220 130 -180 N +P 2 0 1 0 130 -200 200 -200 N +P 2 0 1 10 130 -150 130 -110 N +P 2 0 1 0 130 -130 200 -130 N +P 2 0 1 0 200 -300 200 -270 N +P 2 0 1 0 200 -130 200 -100 N +P 3 0 1 10 110 -275 110 -125 110 -125 N +P 3 0 1 0 200 -200 300 -200 300 -250 N +P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F +X D 1 200 0 100 D 50 50 1 1 P +X G 2 -100 -200 210 R 50 50 1 1 P +X S 3 200 -400 100 U 50 50 1 1 P +X B 4 300 -350 98 U 47 47 1 1 P +ENDDRAW +ENDDEF +# +# eSim_MOS_P +# +DEF eSim_MOS_P M 0 0 Y N 1 F N +F0 "M" -50 50 50 H V R CNN +F1 "eSim_MOS_P" 50 150 50 H V R CNN +F2 "" 250 100 29 H V C CNN +F3 "" 50 0 60 H V C CNN +ALIAS mosfet_p +DRAW +C 100 0 111 0 1 10 N +P 2 0 1 0 80 -70 150 -70 N +P 2 0 1 10 80 -50 80 -90 N +P 2 0 1 0 80 0 150 0 N +P 2 0 1 10 80 20 80 -20 N +P 2 0 1 0 80 70 150 70 N +P 2 0 1 10 80 90 80 50 N +P 2 0 1 0 150 -70 150 -100 N +P 2 0 1 0 150 100 150 70 N +P 3 0 1 10 60 75 60 -75 60 -75 N +P 3 0 1 0 150 0 250 0 250 -50 N +P 4 0 1 0 140 0 100 -15 100 15 140 0 F +X D 1 150 200 100 D 50 50 1 1 P +X G 2 -150 0 210 R 50 50 1 1 P +X S 3 150 -200 100 U 50 50 1 1 P +X B 4 250 -150 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/library/SubcircuitLibrary/demux/demux.cir b/library/SubcircuitLibrary/demux/demux.cir new file mode 100644 index 000000000..720a8dff1 --- /dev/null +++ b/library/SubcircuitLibrary/demux/demux.cir @@ -0,0 +1,25 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\demux\demux.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 8/18/2022 2:01:37 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: / +M2 /Vcc /Ebar Net-_M1-Pad1_ /Vcc mosfet_p +M1 Net-_M1-Pad1_ /Ebar /GND /GND mosfet_n +M3 /Vcc Net-_M1-Pad1_ Net-_M11-Pad2_ /Vcc mosfet_p +M9 /Vcc /A Net-_M11-Pad2_ /Vcc mosfet_p +M4 /Vcc /Ebar Net-_M10-Pad3_ /Vcc mosfet_p +M10 /Vcc /A Net-_M10-Pad3_ /Vcc mosfet_p +M5 Net-_M11-Pad2_ Net-_M1-Pad1_ Net-_M5-Pad3_ /GND mosfet_n +M6 Net-_M5-Pad3_ /A /GND /GND mosfet_n +M7 Net-_M10-Pad3_ /Ebar Net-_M7-Pad3_ /GND mosfet_n +M8 Net-_M7-Pad3_ /A /GND /GND mosfet_n +M13 /Vcc Net-_M11-Pad2_ /Y1 /Vcc mosfet_p +M11 /Y1 Net-_M11-Pad2_ /GND /GND mosfet_n +M14 /Vcc Net-_M10-Pad3_ /Y2 /Vcc mosfet_p +M12 /Y2 Net-_M10-Pad3_ /GND /GND mosfet_n +U1 /A /GND /Ebar /Y2 /Vcc /Y1 PORT + +.end diff --git a/library/SubcircuitLibrary/demux/demux.cir.out b/library/SubcircuitLibrary/demux/demux.cir.out new file mode 100644 index 000000000..d5837005a --- /dev/null +++ b/library/SubcircuitLibrary/demux/demux.cir.out @@ -0,0 +1,28 @@ +* c:\fossee\esim\library\subcircuitlibrary\demux\demux.cir + +.include NMOS-180nm.lib +.include PMOS-180nm.lib +m2 /vcc /ebar net-_m1-pad1_ /vcc CMOSP W=100u L=100u M=1 +m1 net-_m1-pad1_ /ebar /gnd /gnd CMOSN W=100u L=100u M=1 +m3 /vcc net-_m1-pad1_ net-_m11-pad2_ /vcc CMOSP W=100u L=100u M=1 +m9 /vcc /a net-_m11-pad2_ /vcc CMOSP W=100u L=100u M=1 +m4 /vcc /ebar net-_m10-pad3_ /vcc CMOSP W=100u L=100u M=1 +m10 /vcc /a net-_m10-pad3_ /vcc CMOSP W=100u L=100u M=1 +m5 net-_m11-pad2_ net-_m1-pad1_ net-_m5-pad3_ /gnd CMOSN W=100u L=100u M=1 +m6 net-_m5-pad3_ /a /gnd /gnd CMOSN W=100u L=100u M=1 +m7 net-_m10-pad3_ /ebar net-_m7-pad3_ /gnd CMOSN W=100u L=100u M=1 +m8 net-_m7-pad3_ /a /gnd /gnd CMOSN W=100u L=100u M=1 +m13 /vcc net-_m11-pad2_ /y1 /vcc CMOSP W=100u L=100u M=1 +m11 /y1 net-_m11-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1 +m14 /vcc net-_m10-pad3_ /y2 /vcc CMOSP W=100u L=100u M=1 +m12 /y2 net-_m10-pad3_ /gnd /gnd CMOSN W=100u L=100u M=1 +* u1 /a /gnd /ebar /y2 /vcc /y1 port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/library/SubcircuitLibrary/demux/demux.pro b/library/SubcircuitLibrary/demux/demux.pro new file mode 100644 index 000000000..d7f78c3b4 --- /dev/null +++ b/library/SubcircuitLibrary/demux/demux.pro @@ -0,0 +1,71 @@ +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 diff --git a/library/SubcircuitLibrary/demux/demux.sch b/library/SubcircuitLibrary/demux/demux.sch new file mode 100644 index 000000000..90d6f38df --- /dev/null +++ b/library/SubcircuitLibrary/demux/demux.sch @@ -0,0 +1,569 @@ +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:demux-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 mosfet_p M2 +U 1 1 62F8023F +P 3000 2500 +F 0 "M2" H 2950 2550 50 0000 R CNN +F 1 "mosfet_p" H 3050 2650 50 0000 R CNN +F 2 "" H 3250 2600 29 0000 C CNN +F 3 "" H 3050 2500 60 0000 C CNN + 1 3000 2500 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_n M1 +U 1 1 62F80240 +P 2950 3000 +F 0 "M1" H 2950 2850 50 0000 R CNN +F 1 "mosfet_n" H 3050 2950 50 0000 R CNN +F 2 "" H 3250 2700 29 0000 C CNN +F 3 "" H 3050 2800 60 0000 C CNN + 1 2950 3000 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_p M3 +U 1 1 62F80242 +P 4850 1900 +F 0 "M3" H 4800 1950 50 0000 R CNN +F 1 "mosfet_p" H 4900 2050 50 0000 R CNN +F 2 "" H 5100 2000 29 0000 C CNN +F 3 "" H 4900 1900 60 0000 C CNN + 1 4850 1900 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_p M9 +U 1 1 62F80243 +P 5850 1900 +F 0 "M9" H 5800 1950 50 0000 R CNN +F 1 "mosfet_p" H 5900 2050 50 0000 R CNN +F 2 "" H 6100 2000 29 0000 C CNN +F 3 "" H 5900 1900 60 0000 C CNN + 1 5850 1900 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_p M4 +U 1 1 62F80244 +P 4950 5100 +F 0 "M4" H 4900 5150 50 0000 R CNN +F 1 "mosfet_p" H 5000 5250 50 0000 R CNN +F 2 "" H 5200 5200 29 0000 C CNN +F 3 "" H 5000 5100 60 0000 C CNN + 1 4950 5100 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_p M10 +U 1 1 62F80245 +P 5950 5100 +F 0 "M10" H 5900 5150 50 0000 R CNN +F 1 "mosfet_p" H 6000 5250 50 0000 R CNN +F 2 "" H 6200 5200 29 0000 C CNN +F 3 "" H 6000 5100 60 0000 C CNN + 1 5950 5100 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_n M5 +U 1 1 62F80246 +P 5300 2750 +F 0 "M5" H 5300 2600 50 0000 R CNN +F 1 "mosfet_n" H 5400 2700 50 0000 R CNN +F 2 "" H 5600 2450 29 0000 C CNN +F 3 "" H 5400 2550 60 0000 C CNN + 1 5300 2750 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_n M6 +U 1 1 62F80247 +P 5300 3550 +F 0 "M6" H 5300 3400 50 0000 R CNN +F 1 "mosfet_n" H 5400 3500 50 0000 R CNN +F 2 "" H 5600 3250 29 0000 C CNN +F 3 "" H 5400 3350 60 0000 C CNN + 1 5300 3550 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_n M7 +U 1 1 62F80249 +P 5450 5800 +F 0 "M7" H 5450 5650 50 0000 R CNN +F 1 "mosfet_n" H 5550 5750 50 0000 R CNN +F 2 "" H 5750 5500 29 0000 C CNN +F 3 "" H 5550 5600 60 0000 C CNN + 1 5450 5800 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_n M8 +U 1 1 62F8024A +P 5450 6500 +F 0 "M8" H 5450 6350 50 0000 R CNN +F 1 "mosfet_n" H 5550 6450 50 0000 R CNN +F 2 "" H 5750 6200 29 0000 C CNN +F 3 "" H 5550 6300 60 0000 C CNN + 1 5450 6500 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_p M13 +U 1 1 62F80250 +P 8000 2150 +F 0 "M13" H 7950 2200 50 0000 R CNN +F 1 "mosfet_p" H 8050 2300 50 0000 R CNN +F 2 "" H 8250 2250 29 0000 C CNN +F 3 "" H 8050 2150 60 0000 C CNN + 1 8000 2150 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_n M11 +U 1 1 62F80251 +P 7950 2800 +F 0 "M11" H 7950 2650 50 0000 R CNN +F 1 "mosfet_n" H 8050 2750 50 0000 R CNN +F 2 "" H 8250 2500 29 0000 C CNN +F 3 "" H 8050 2600 60 0000 C CNN + 1 7950 2800 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_p M14 +U 1 1 62F80252 +P 8000 5150 +F 0 "M14" H 7950 5200 50 0000 R CNN +F 1 "mosfet_p" H 8050 5300 50 0000 R CNN +F 2 "" H 8250 5250 29 0000 C CNN +F 3 "" H 8050 5150 60 0000 C CNN + 1 8000 5150 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_n M12 +U 1 1 62F80253 +P 7950 5750 +F 0 "M12" H 7950 5600 50 0000 R CNN +F 1 "mosfet_n" H 8050 5700 50 0000 R CNN +F 2 "" H 8250 5450 29 0000 C CNN +F 3 "" H 8050 5550 60 0000 C CNN + 1 7950 5750 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 62F8236C +P 5950 7600 +F 0 "U1" H 6000 7700 30 0000 C CNN +F 1 "PORT" H 5950 7600 30 0000 C CNN +F 2 "" H 5950 7600 60 0000 C CNN +F 3 "" H 5950 7600 60 0000 C CNN + 2 5950 7600 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 4 1 62F82472 +P 9200 5600 +F 0 "U1" H 9250 5700 30 0000 C CNN +F 1 "PORT" H 9200 5600 30 0000 C CNN +F 2 "" H 9200 5600 60 0000 C CNN +F 3 "" H 9200 5600 60 0000 C CNN + 4 9200 5600 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 1 1 62F824AB +P 1850 5300 +F 0 "U1" H 1900 5400 30 0000 C CNN +F 1 "PORT" H 1850 5300 30 0000 C CNN +F 2 "" H 1850 5300 60 0000 C CNN +F 3 "" H 1850 5300 60 0000 C CNN + 1 1850 5300 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 5 1 62F824F0 +P 5700 950 +F 0 "U1" H 5750 1050 30 0000 C CNN +F 1 "PORT" H 5700 950 30 0000 C CNN +F 2 "" H 5700 950 60 0000 C CNN +F 3 "" H 5700 950 60 0000 C CNN + 5 5700 950 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 62F825BB +P 1550 2700 +F 0 "U1" H 1600 2800 30 0000 C CNN +F 1 "PORT" H 1550 2700 30 0000 C CNN +F 2 "" H 1550 2700 60 0000 C CNN +F 3 "" H 1550 2700 60 0000 C CNN + 3 1550 2700 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 6 1 62F8264A +P 9400 2450 +F 0 "U1" H 9450 2550 30 0000 C CNN +F 1 "PORT" H 9400 2450 30 0000 C CNN +F 2 "" H 9400 2450 60 0000 C CNN +F 3 "" H 9400 2450 60 0000 C CNN + 6 9400 2450 + -1 0 0 1 +$EndComp +Wire Wire Line + 3150 2700 3150 3000 +Wire Wire Line + 3150 3400 3150 7400 +Wire Wire Line + 2850 2500 2550 2500 +Wire Wire Line + 2550 2500 2550 3200 +Wire Wire Line + 2550 3200 2850 3200 +Wire Wire Line + 5000 1700 5000 1550 +Wire Wire Line + 5000 1550 6000 1550 +Wire Wire Line + 6000 1550 6000 1700 +Wire Wire Line + 5000 2100 5000 2300 +Wire Wire Line + 5000 2300 6000 2300 +Wire Wire Line + 6000 2300 6000 2100 +Wire Wire Line + 5500 2300 5500 2750 +Connection ~ 5500 2300 +Wire Wire Line + 5500 3550 5500 3150 +Wire Wire Line + 5500 3950 5500 4150 +Wire Wire Line + 5100 4900 5100 4700 +Wire Wire Line + 5100 4700 6100 4700 +Wire Wire Line + 6100 4700 6100 4900 +Wire Wire Line + 5100 5300 5100 5550 +Wire Wire Line + 5100 5550 6100 5550 +Wire Wire Line + 6100 5550 6100 5300 +Wire Wire Line + 5650 6500 5650 6200 +Wire Wire Line + 5650 5550 5650 5800 +Connection ~ 5650 5550 +Wire Wire Line + 5650 6900 5650 7600 +Wire Wire Line + 5200 5250 5300 5250 +Wire Wire Line + 5300 5250 5300 4700 +Connection ~ 5300 4700 +Wire Wire Line + 6200 5250 6300 5250 +Wire Wire Line + 6300 5250 6300 4750 +Wire Wire Line + 6300 4750 6100 4750 +Connection ~ 6100 4750 +Wire Wire Line + 5750 6150 5900 6150 +Wire Wire Line + 5900 6150 5900 6850 +Wire Wire Line + 5900 6850 5750 6850 +Wire Wire Line + 5850 6850 5850 6950 +Wire Wire Line + 5850 6950 5650 6950 +Connection ~ 5650 6950 +Connection ~ 5850 6850 +Wire Wire Line + 5600 3900 5850 3900 +Wire Wire Line + 5850 3900 5850 3100 +Wire Wire Line + 5850 3100 5600 3100 +Wire Wire Line + 5500 4050 5750 4050 +Wire Wire Line + 5750 4050 5750 3900 +Connection ~ 5750 3900 +Connection ~ 5500 4050 +Wire Wire Line + 5100 2050 5200 2050 +Wire Wire Line + 5200 2050 5200 1550 +Connection ~ 5200 1550 +Wire Wire Line + 6100 2050 6200 2050 +Wire Wire Line + 6200 2050 6200 1650 +Wire Wire Line + 6200 1650 6000 1650 +Connection ~ 6000 1650 +Wire Wire Line + 3250 3350 3300 3350 +Wire Wire Line + 3300 3350 3300 3500 +Wire Wire Line + 3300 3500 3150 3500 +Connection ~ 3150 3500 +Wire Wire Line + 4700 1900 4500 1900 +Wire Wire Line + 4500 1900 4500 2850 +Wire Wire Line + 4500 2850 3150 2850 +Connection ~ 3150 2850 +Wire Wire Line + 5200 2950 5050 2950 +Wire Wire Line + 5050 2950 5050 2700 +Wire Wire Line + 5050 2700 4500 2700 +Connection ~ 4500 2700 +Wire Wire Line + 3150 1350 3150 2300 +Wire Wire Line + 3150 1350 5450 1350 +Connection ~ 5450 1550 +Wire Wire Line + 4200 1350 4200 4550 +Wire Wire Line + 4200 4550 5500 4550 +Wire Wire Line + 5500 4550 5500 4700 +Connection ~ 5500 4700 +Connection ~ 4200 1350 +Connection ~ 5450 1350 +Wire Wire Line + 1800 2700 2550 2700 +Connection ~ 2550 2700 +Wire Wire Line + 5350 6700 3800 6700 +Wire Wire Line + 5800 5300 5800 5100 +Wire Wire Line + 2100 5300 5800 5300 +Wire Wire Line + 3800 6700 3800 5300 +Connection ~ 3800 5300 +Wire Wire Line + 3650 3750 5200 3750 +Wire Wire Line + 3650 3750 3650 5300 +Connection ~ 3650 5300 +Wire Wire Line + 2250 5100 4800 5100 +Wire Wire Line + 2250 5100 2250 2700 +Connection ~ 2250 2700 +Wire Wire Line + 5350 6000 4300 6000 +Wire Wire Line + 4300 6000 4300 5100 +Connection ~ 4300 5100 +Wire Wire Line + 5700 1900 5700 2200 +Wire Wire Line + 5700 2200 4700 2200 +Wire Wire Line + 4700 2200 4700 3750 +Connection ~ 4700 3750 +Wire Wire Line + 3250 2650 3400 2650 +Wire Wire Line + 3400 2650 3400 2100 +Wire Wire Line + 3400 2100 3150 2100 +Connection ~ 3150 2100 +Wire Wire Line + 8150 2350 8150 2800 +Wire Wire Line + 7850 5150 7500 5150 +Wire Wire Line + 7500 5150 7500 5950 +Wire Wire Line + 7500 3000 7850 3000 +Wire Wire Line + 7500 2150 7500 3000 +Wire Wire Line + 7500 2150 7850 2150 +Wire Wire Line + 7500 2550 5500 2550 +Connection ~ 5500 2550 +Connection ~ 7500 2550 +Wire Wire Line + 5650 5700 7500 5700 +Connection ~ 7500 5700 +Connection ~ 5650 5700 +Wire Wire Line + 8150 3200 8150 4200 +Wire Wire Line + 8150 5350 8150 5750 +Wire Wire Line + 7500 5950 7850 5950 +Wire Wire Line + 8150 1450 8150 1950 +Wire Wire Line + 5450 1450 8150 1450 +Connection ~ 5450 1450 +Wire Wire Line + 8150 4650 8150 4950 +Wire Wire Line + 8150 4650 7000 4650 +Wire Wire Line + 7000 4650 7000 1450 +Connection ~ 7000 1450 +Wire Wire Line + 8150 6150 8150 6450 +Wire Wire Line + 8250 3150 8250 3300 +Wire Wire Line + 8250 3300 8150 3300 +Connection ~ 8150 3300 +Wire Wire Line + 8250 6100 8250 6200 +Wire Wire Line + 8250 6200 8150 6200 +Connection ~ 8150 6200 +Wire Wire Line + 8250 2300 8450 2300 +Wire Wire Line + 8450 2300 8450 1750 +Wire Wire Line + 8450 1750 8150 1750 +Connection ~ 8150 1750 +Wire Wire Line + 8250 5300 8250 5400 +Wire Wire Line + 8250 5400 8350 5400 +Wire Wire Line + 8350 5400 8350 4800 +Wire Wire Line + 8350 4800 8150 4800 +Connection ~ 8150 4800 +Connection ~ 8150 2550 +Wire Wire Line + 8150 5600 8950 5600 +Connection ~ 8150 5600 +Wire Wire Line + 8150 2550 9150 2550 +Wire Wire Line + 9150 2550 9150 2450 +Wire Wire Line + 5450 1550 5450 950 +Wire Wire Line + 8150 6450 6500 6450 +Wire Wire Line + 6500 6450 6500 7400 +Wire Wire Line + 6500 7400 5800 7400 +Wire Wire Line + 8150 4200 6400 4200 +Wire Wire Line + 6400 4200 6400 7350 +Wire Wire Line + 6400 7350 5700 7350 +Wire Wire Line + 5700 7350 5700 7550 +Wire Wire Line + 3150 7400 5650 7400 +Wire Wire Line + 2350 4150 2350 7450 +Wire Wire Line + 2350 7450 5650 7450 +Wire Wire Line + 5650 7600 5700 7600 +Connection ~ 5650 7450 +Wire Wire Line + 5700 7550 5650 7550 +Connection ~ 5650 7550 +Wire Wire Line + 5800 7400 5800 7500 +Wire Wire Line + 5800 7500 5650 7500 +Connection ~ 5650 7500 +Connection ~ 5650 7400 +Text Label 2200 5300 0 60 ~ 12 +A +Text Label 5700 7600 0 60 ~ 12 +GND +Text Label 1900 2700 0 60 ~ 12 +Ebar +Text Label 8800 5600 0 60 ~ 12 +Y2 +Text Label 5450 1100 0 60 ~ 12 +Vcc +Text Label 9050 2550 0 60 ~ 12 +Y1 +Wire Wire Line + 5500 4150 2350 4150 +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/demux/demux.sub b/library/SubcircuitLibrary/demux/demux.sub new file mode 100644 index 000000000..d96316bae --- /dev/null +++ b/library/SubcircuitLibrary/demux/demux.sub @@ -0,0 +1,22 @@ +* Subcircuit demux +.subckt demux /a /gnd /ebar /y2 /vcc /y1 +* c:\fossee\esim\library\subcircuitlibrary\demux\demux.cir +.include NMOS-180nm.lib +.include PMOS-180nm.lib +m2 /vcc /ebar net-_m1-pad1_ /vcc CMOSP W=100u L=100u M=1 +m1 net-_m1-pad1_ /ebar /gnd /gnd CMOSN W=100u L=100u M=1 +m3 /vcc net-_m1-pad1_ net-_m11-pad2_ /vcc CMOSP W=100u L=100u M=1 +m9 /vcc /a net-_m11-pad2_ /vcc CMOSP W=100u L=100u M=1 +m4 /vcc /ebar net-_m10-pad3_ /vcc CMOSP W=100u L=100u M=1 +m10 /vcc /a net-_m10-pad3_ /vcc CMOSP W=100u L=100u M=1 +m5 net-_m11-pad2_ net-_m1-pad1_ net-_m5-pad3_ /gnd CMOSN W=100u L=100u M=1 +m6 net-_m5-pad3_ /a /gnd /gnd CMOSN W=100u L=100u M=1 +m7 net-_m10-pad3_ /ebar net-_m7-pad3_ /gnd CMOSN W=100u L=100u M=1 +m8 net-_m7-pad3_ /a /gnd /gnd CMOSN W=100u L=100u M=1 +m13 /vcc net-_m11-pad2_ /y1 /vcc CMOSP W=100u L=100u M=1 +m11 /y1 net-_m11-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1 +m14 /vcc net-_m10-pad3_ /y2 /vcc CMOSP W=100u L=100u M=1 +m12 /y2 net-_m10-pad3_ /gnd /gnd CMOSN W=100u L=100u M=1 +* Control Statements + +.ends demux \ No newline at end of file diff --git a/library/SubcircuitLibrary/demux/demux_Previous_Values.xml b/library/SubcircuitLibrary/demux/demux_Previous_Values.xml new file mode 100644 index 000000000..5e4bb29cb --- /dev/null +++ b/library/SubcircuitLibrary/demux/demux_Previous_Values.xml @@ -0,0 +1 @@ +C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file From da49c7dd71103fe6b8524e21b34e5b7fd4084f99 Mon Sep 17 00:00:00 2001 From: Vanshika Tanwar Date: Wed, 23 Nov 2022 22:06:53 +0530 Subject: [PATCH 04/11] 74V1G14 Schmitt Trigger IC --- .../74V1G14/74V1G14-cache.lib | 100 +++++++ library/SubcircuitLibrary/74V1G14/74V1G14.cir | 17 ++ .../SubcircuitLibrary/74V1G14/74V1G14.cir.out | 20 ++ library/SubcircuitLibrary/74V1G14/74V1G14.pro | 71 +++++ library/SubcircuitLibrary/74V1G14/74V1G14.sch | 278 ++++++++++++++++++ library/SubcircuitLibrary/74V1G14/74V1G14.sub | 14 + .../74V1G14/74V1G14_Previous_Values.xml | 1 + .../SubcircuitLibrary/74V1G14/NMOS-180nm.lib | 13 + .../SubcircuitLibrary/74V1G14/PMOS-180nm.lib | 11 + library/SubcircuitLibrary/74V1G14/README.md | 24 ++ library/SubcircuitLibrary/74V1G14/analysis | 1 + 11 files changed, 550 insertions(+) create mode 100644 library/SubcircuitLibrary/74V1G14/74V1G14-cache.lib create mode 100644 library/SubcircuitLibrary/74V1G14/74V1G14.cir create mode 100644 library/SubcircuitLibrary/74V1G14/74V1G14.cir.out create mode 100644 library/SubcircuitLibrary/74V1G14/74V1G14.pro create mode 100644 library/SubcircuitLibrary/74V1G14/74V1G14.sch create mode 100644 library/SubcircuitLibrary/74V1G14/74V1G14.sub create mode 100644 library/SubcircuitLibrary/74V1G14/74V1G14_Previous_Values.xml create mode 100644 library/SubcircuitLibrary/74V1G14/NMOS-180nm.lib create mode 100644 library/SubcircuitLibrary/74V1G14/PMOS-180nm.lib create mode 100644 library/SubcircuitLibrary/74V1G14/README.md create mode 100644 library/SubcircuitLibrary/74V1G14/analysis diff --git a/library/SubcircuitLibrary/74V1G14/74V1G14-cache.lib b/library/SubcircuitLibrary/74V1G14/74V1G14-cache.lib new file mode 100644 index 000000000..6c512720e --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/74V1G14-cache.lib @@ -0,0 +1,100 @@ +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_MOS_N +# +DEF eSim_MOS_N M 0 0 Y N 1 F N +F0 "M" 0 -150 50 H V R CNN +F1 "eSim_MOS_N" 100 -50 50 H V R CNN +F2 "" 300 -300 29 H V C CNN +F3 "" 100 -200 60 H V C CNN +ALIAS mosfet_n +DRAW +C 150 -200 111 0 1 10 N +P 2 0 1 10 130 -290 130 -250 N +P 2 0 1 0 130 -270 200 -270 N +P 2 0 1 10 130 -220 130 -180 N +P 2 0 1 0 130 -200 200 -200 N +P 2 0 1 10 130 -150 130 -110 N +P 2 0 1 0 130 -130 200 -130 N +P 2 0 1 0 200 -300 200 -270 N +P 2 0 1 0 200 -130 200 -100 N +P 3 0 1 10 110 -275 110 -125 110 -125 N +P 3 0 1 0 200 -200 300 -200 300 -250 N +P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F +X D 1 200 0 100 D 50 50 1 1 P +X G 2 -100 -200 210 R 50 50 1 1 P +X S 3 200 -400 100 U 50 50 1 1 P +X B 4 300 -350 98 U 47 47 1 1 P +ENDDRAW +ENDDEF +# +# eSim_MOS_P +# +DEF eSim_MOS_P M 0 0 Y N 1 F N +F0 "M" -50 50 50 H V R CNN +F1 "eSim_MOS_P" 50 150 50 H V R CNN +F2 "" 250 100 29 H V C CNN +F3 "" 50 0 60 H V C CNN +ALIAS mosfet_p +DRAW +C 100 0 111 0 1 10 N +P 2 0 1 0 80 -70 150 -70 N +P 2 0 1 10 80 -50 80 -90 N +P 2 0 1 0 80 0 150 0 N +P 2 0 1 10 80 20 80 -20 N +P 2 0 1 0 80 70 150 70 N +P 2 0 1 10 80 90 80 50 N +P 2 0 1 0 150 -70 150 -100 N +P 2 0 1 0 150 100 150 70 N +P 3 0 1 10 60 75 60 -75 60 -75 N +P 3 0 1 0 150 0 250 0 250 -50 N +P 4 0 1 0 140 0 100 -15 100 15 140 0 F +X D 1 150 200 100 D 50 50 1 1 P +X G 2 -150 0 210 R 50 50 1 1 P +X S 3 150 -200 100 U 50 50 1 1 P +X B 4 250 -150 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/library/SubcircuitLibrary/74V1G14/74V1G14.cir b/library/SubcircuitLibrary/74V1G14/74V1G14.cir new file mode 100644 index 000000000..58637c1a7 --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/74V1G14.cir @@ -0,0 +1,17 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\74V1G14\74V1G14.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 8/3/2022 1:17:12 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: / +M1 /Vout /Inp Net-_M1-Pad3_ /GND mosfet_n +M2 Net-_M1-Pad3_ /Inp /GND /GND mosfet_n +M3 /Vcc /Inp Net-_M3-Pad3_ /Vcc mosfet_p +M4 Net-_M3-Pad3_ /Inp /Vout /Vcc mosfet_p +M5 /GND /Vout Net-_M3-Pad3_ /Vcc mosfet_p +M6 /Vcc /Vout Net-_M1-Pad3_ /GND mosfet_n +U1 ? /Inp /GND /Vout /Vcc PORT + +.end diff --git a/library/SubcircuitLibrary/74V1G14/74V1G14.cir.out b/library/SubcircuitLibrary/74V1G14/74V1G14.cir.out new file mode 100644 index 000000000..43a6987d6 --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/74V1G14.cir.out @@ -0,0 +1,20 @@ +* c:\fossee\esim\library\subcircuitlibrary\74v1g14\74v1g14.cir + +.include NMOS-180nm.lib +.include PMOS-180nm.lib +m1 /vout /inp net-_m1-pad3_ /gnd CMOSN W=25u L=0.25u M=1 +m2 net-_m1-pad3_ /inp /gnd /gnd CMOSN W=25u L=0.25u M=1 +m3 /vcc /inp net-_m3-pad3_ /vcc CMOSP W=25u L=0.25u M=1 +m4 net-_m3-pad3_ /inp /vout /vcc CMOSP W=25u L=0.25u M=1 +m5 /gnd /vout net-_m3-pad3_ /vcc CMOSP W=25u L=0.25u M=1 +m6 /vcc /vout net-_m1-pad3_ /gnd CMOSN W=25u L=0.25u M=1 +* u1 ? /inp /gnd /vout /vcc port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/library/SubcircuitLibrary/74V1G14/74V1G14.pro b/library/SubcircuitLibrary/74V1G14/74V1G14.pro new file mode 100644 index 000000000..d7f78c3b4 --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/74V1G14.pro @@ -0,0 +1,71 @@ +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 diff --git a/library/SubcircuitLibrary/74V1G14/74V1G14.sch b/library/SubcircuitLibrary/74V1G14/74V1G14.sch new file mode 100644 index 000000000..3cab975ea --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/74V1G14.sch @@ -0,0 +1,278 @@ +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:74V1G14-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 mosfet_n M1 +U 1 1 62E8D877 +P 3550 3950 +F 0 "M1" H 3550 3800 50 0000 R CNN +F 1 "mosfet_n" H 3650 3900 50 0000 R CNN +F 2 "" H 3850 3650 29 0000 C CNN +F 3 "" H 3650 3750 60 0000 C CNN + 1 3550 3950 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_n M2 +U 1 1 62E8D878 +P 3550 5300 +F 0 "M2" H 3550 5150 50 0000 R CNN +F 1 "mosfet_n" H 3650 5250 50 0000 R CNN +F 2 "" H 3850 5000 29 0000 C CNN +F 3 "" H 3650 5100 60 0000 C CNN + 1 3550 5300 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_p M3 +U 1 1 62E8D879 +P 3650 1600 +F 0 "M3" H 3600 1650 50 0000 R CNN +F 1 "mosfet_p" H 3700 1750 50 0000 R CNN +F 2 "" H 3900 1700 29 0000 C CNN +F 3 "" H 3700 1600 60 0000 C CNN + 1 3650 1600 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_p M4 +U 1 1 62E8D87A +P 3650 2650 +F 0 "M4" H 3600 2700 50 0000 R CNN +F 1 "mosfet_p" H 3700 2800 50 0000 R CNN +F 2 "" H 3900 2750 29 0000 C CNN +F 3 "" H 3700 2650 60 0000 C CNN + 1 3650 2650 + 1 0 0 -1 +$EndComp +$Comp +L mosfet_p M5 +U 1 1 62E8D87B +P 7250 2100 +F 0 "M5" H 7200 2150 50 0000 R CNN +F 1 "mosfet_p" H 7300 2250 50 0000 R CNN +F 2 "" H 7500 2200 29 0000 C CNN +F 3 "" H 7300 2100 60 0000 C CNN + 1 7250 2100 + 0 1 -1 0 +$EndComp +$Comp +L mosfet_n M6 +U 1 1 62E8D87C +P 7450 4850 +F 0 "M6" H 7450 4700 50 0000 R CNN +F 1 "mosfet_n" H 7550 4800 50 0000 R CNN +F 2 "" H 7750 4550 29 0000 C CNN +F 3 "" H 7550 4650 60 0000 C CNN + 1 7450 4850 + 0 1 1 0 +$EndComp +Wire Wire Line + 3800 1800 3800 2450 +Wire Wire Line + 3800 2850 3800 3950 +Wire Wire Line + 3800 3950 3750 3950 +Wire Wire Line + 3750 4350 3750 5300 +Wire Wire Line + 7050 1950 3800 1950 +Connection ~ 3800 1950 +Wire Wire Line + 7100 1750 7100 1850 +Wire Wire Line + 3800 850 3800 1400 +Wire Wire Line + 3800 1300 4550 1300 +Wire Wire Line + 4550 1300 4550 2900 +Wire Wire Line + 4550 2900 3900 2900 +Wire Wire Line + 3900 2900 3900 2800 +Connection ~ 3800 1300 +Wire Wire Line + 3900 1750 7100 1750 +Connection ~ 4550 1750 +Wire Wire Line + 3750 5700 3750 6200 +Wire Wire Line + 3850 5650 3850 5850 +Wire Wire Line + 3850 5850 3750 5850 +Connection ~ 3750 5850 +Wire Wire Line + 3850 5700 4150 5700 +Wire Wire Line + 4150 5700 4150 4300 +Wire Wire Line + 4150 4300 3850 4300 +Connection ~ 3850 5700 +Wire Wire Line + 4150 5250 7100 5250 +Wire Wire Line + 7100 5250 7100 5150 +Connection ~ 4150 5250 +Wire Wire Line + 7050 5050 3750 5050 +Connection ~ 3750 5050 +Wire Wire Line + 7450 5050 9450 5050 +Wire Wire Line + 3800 3350 9200 3350 +Connection ~ 3800 3350 +Wire Wire Line + 2750 1600 2750 5500 +Wire Wire Line + 2750 5500 3450 5500 +Wire Wire Line + 3500 2650 3500 2550 +Wire Wire Line + 3500 2550 2750 2550 +Connection ~ 2750 2550 +Connection ~ 2750 4150 +Wire Wire Line + 2100 3300 2750 3300 +Connection ~ 2750 3300 +Wire Wire Line + 7450 1950 9700 1950 +Wire Wire Line + 9700 1950 9700 6050 +Wire Wire Line + 9700 6050 3750 6050 +Connection ~ 3750 6050 +Wire Wire Line + 3500 1600 2750 1600 +Wire Wire Line + 3450 4150 2750 4150 +Wire Wire Line + 3600 850 9450 850 +Wire Wire Line + 9450 850 9450 5050 +Connection ~ 3800 850 +Text Label 3600 850 0 60 ~ 0 +Vcc +Text Label 9100 3350 0 60 ~ 0 +Vout +Text Label 3750 6150 0 60 ~ 0 +GND +Text Label 2300 3300 0 60 ~ 0 +Inp +Text Label 2300 4100 0 60 ~ 0 +NC +NoConn ~ 2300 4100 +$Comp +L PORT U1 +U 2 1 62E8E2E7 +P 1850 3300 +F 0 "U1" H 1900 3400 30 0000 C CNN +F 1 "PORT" H 1850 3300 30 0000 C CNN +F 2 "" H 1850 3300 60 0000 C CNN +F 3 "" H 1850 3300 60 0000 C CNN + 2 1850 3300 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 1 1 62E8E33C +P 2050 4100 +F 0 "U1" H 2100 4200 30 0000 C CNN +F 1 "PORT" H 2050 4100 30 0000 C CNN +F 2 "" H 2050 4100 60 0000 C CNN +F 3 "" H 2050 4100 60 0000 C CNN + 1 2050 4100 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 4 1 62E8E47F +P 9450 3350 +F 0 "U1" H 9500 3450 30 0000 C CNN +F 1 "PORT" H 9450 3350 30 0000 C CNN +F 2 "" H 9450 3350 60 0000 C CNN +F 3 "" H 9450 3350 60 0000 C CNN + 4 9450 3350 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 5 1 62E8E9EE +P 3350 850 +F 0 "U1" H 3400 950 30 0000 C CNN +F 1 "PORT" H 3350 850 30 0000 C CNN +F 2 "" H 3350 850 60 0000 C CNN +F 3 "" H 3350 850 60 0000 C CNN + 5 3350 850 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 3 1 62E8ECBB +P 3500 6200 +F 0 "U1" H 3550 6300 30 0000 C CNN +F 1 "PORT" H 3500 6200 30 0000 C CNN +F 2 "" H 3500 6200 60 0000 C CNN +F 3 "" H 3500 6200 60 0000 C CNN + 3 3500 6200 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7250 2250 6900 2250 +Wire Wire Line + 6900 2250 6900 3350 +Connection ~ 6900 3350 +Wire Wire Line + 7250 4750 7250 3350 +Connection ~ 7250 3350 +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/74V1G14/74V1G14.sub b/library/SubcircuitLibrary/74V1G14/74V1G14.sub new file mode 100644 index 000000000..37c8151db --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/74V1G14.sub @@ -0,0 +1,14 @@ +* Subcircuit 74V1G14 +.subckt 74V1G14 ? /inp /gnd /vout /vcc +* c:\fossee\esim\library\subcircuitlibrary\74v1g14\74v1g14.cir +.include NMOS-180nm.lib +.include PMOS-180nm.lib +m1 /vout /inp net-_m1-pad3_ /gnd CMOSN W=25u L=0.25u M=1 +m2 net-_m1-pad3_ /inp /gnd /gnd CMOSN W=25u L=0.25u M=1 +m3 /vcc /inp net-_m3-pad3_ /vcc CMOSP W=25u L=0.25u M=1 +m4 net-_m3-pad3_ /inp /vout /vcc CMOSP W=25u L=0.25u M=1 +m5 /gnd /vout net-_m3-pad3_ /vcc CMOSP W=25u L=0.25u M=1 +m6 /vcc /vout net-_m1-pad3_ /gnd CMOSN W=25u L=0.25u M=1 +* Control Statements + +.ends 74V1G14 \ No newline at end of file diff --git a/library/SubcircuitLibrary/74V1G14/74V1G14_Previous_Values.xml b/library/SubcircuitLibrary/74V1G14/74V1G14_Previous_Values.xml new file mode 100644 index 000000000..b08ed607d --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/74V1G14_Previous_Values.xml @@ -0,0 +1 @@ +C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib25u0.25u1C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib25u0.25u1C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib75u0.25u1C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib75u0.25u1C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib75u0.25u1C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib25u0.25u1truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/library/SubcircuitLibrary/74V1G14/NMOS-180nm.lib b/library/SubcircuitLibrary/74V1G14/NMOS-180nm.lib new file mode 100644 index 000000000..51e9b1196 --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/NMOS-180nm.lib @@ -0,0 +1,13 @@ +.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697 ++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0 ++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18 ++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4 ++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0 ++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0 ++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3 ++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1 ++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 ++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12 ++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286 ++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078 ++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3) diff --git a/library/SubcircuitLibrary/74V1G14/PMOS-180nm.lib b/library/SubcircuitLibrary/74V1G14/PMOS-180nm.lib new file mode 100644 index 000000000..032b5b95e --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/PMOS-180nm.lib @@ -0,0 +1,11 @@ +.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015 ++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363 ++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478 ++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677 ++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9 ++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148 ++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10 ++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 ++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 ++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3 ++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3) diff --git a/library/SubcircuitLibrary/74V1G14/README.md b/library/SubcircuitLibrary/74V1G14/README.md new file mode 100644 index 000000000..6d0656e59 --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/README.md @@ -0,0 +1,24 @@ +# Sch_trig IC + +Schmitt trigger is a general purpose IC. It is the circuit that is used to convert any type of input signal into a square waveform + +## Usage/Examples + +It is used in simple oscillators. + +It is used in Switch Debouncing. + +## Documentation + +To know the details of 74V1G14 IC please refer to this link [74V1G14_datasheet.](https://www.st.com/resource/en/datasheet/74v1g14.pdf) + +## Comments/Notes + +Please note this is a complete analog IC. It works fine at the time of simulation. + +## Contributor + +Name: Vanshika Tanwar +Email: vanshikatanwar30@gmail.com +Year: 2022 +Position: FOSSEE Summer Fellowship Intern 2022 diff --git a/library/SubcircuitLibrary/74V1G14/analysis b/library/SubcircuitLibrary/74V1G14/analysis new file mode 100644 index 000000000..ebd5c0a94 --- /dev/null +++ b/library/SubcircuitLibrary/74V1G14/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00 \ No newline at end of file From 4c767ca8d6f93f4026b7f01ba635f14a3e713a1d Mon Sep 17 00:00:00 2001 From: Vanshika Tanwar Date: Wed, 23 Nov 2022 22:10:10 +0530 Subject: [PATCH 05/11] Precision Rectifier IC --- .../SubcircuitLibrary/TINA_TI_Rectifier/D.lib | 2 + .../TINA_TI_Rectifier/NPN.lib | 4 + .../TINA_TI_Rectifier/PNP.lib | 4 + .../Precision_Rectifier-cache.lib | 139 ++++ .../TINA_TI_Rectifier/Precision_Rectifier.sch | 412 +++++++++++ .../TINA_TI_Rectifier/README.md | 24 + .../TINA_TI_Rectifier-cache.lib | 139 ++++ .../TINA_TI_Rectifier/TINA_TI_Rectifier.cir | 24 + .../TINA_TI_Rectifier.cir.out | 27 + .../TINA_TI_Rectifier/TINA_TI_Rectifier.pro | 71 ++ .../TINA_TI_Rectifier/TINA_TI_Rectifier.sch | 412 +++++++++++ .../TINA_TI_Rectifier/TINA_TI_Rectifier.sub | 21 + .../TINA_TI_Rectifier_Previous_Values.xml | 1 + .../TINA_TI_Rectifier/analysis | 1 + .../TINA_TI_Rectifier/lm_741-cache.lib | 119 +++ .../TINA_TI_Rectifier/lm_741.cir | 43 ++ .../TINA_TI_Rectifier/lm_741.cir.out | 46 ++ .../TINA_TI_Rectifier/lm_741.pro | 44 ++ .../TINA_TI_Rectifier/lm_741.sch | 697 ++++++++++++++++++ .../TINA_TI_Rectifier/lm_741.sub | 40 + .../lm_741_Previous_Values.xml | 1 + .../TINA_TI_Rectifier/npn_1.lib | 29 + .../TINA_TI_Rectifier/pnp_1.lib | 29 + 23 files changed, 2329 insertions(+) create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/D.lib create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/NPN.lib create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/PNP.lib create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/Precision_Rectifier-cache.lib create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/Precision_Rectifier.sch create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/README.md create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier-cache.lib create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.cir create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.cir.out create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.pro create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sch create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier_Previous_Values.xml create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/analysis create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741-cache.lib create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.cir create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.cir.out create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.pro create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.sch create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.sub create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741_Previous_Values.xml create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/npn_1.lib create mode 100644 library/SubcircuitLibrary/TINA_TI_Rectifier/pnp_1.lib diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/D.lib b/library/SubcircuitLibrary/TINA_TI_Rectifier/D.lib new file mode 100644 index 000000000..f53bf3e03 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/D.lib @@ -0,0 +1,2 @@ +.model 1N4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04) + diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/NPN.lib b/library/SubcircuitLibrary/TINA_TI_Rectifier/NPN.lib new file mode 100644 index 000000000..6509fe7ab --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/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=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p ++ Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p ++ Itf=.6 Vtf=1.7 Xtf=3 Rb=10) diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/PNP.lib b/library/SubcircuitLibrary/TINA_TI_Rectifier/PNP.lib new file mode 100644 index 000000000..7edda0eab --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/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/TINA_TI_Rectifier/Precision_Rectifier-cache.lib b/library/SubcircuitLibrary/TINA_TI_Rectifier/Precision_Rectifier-cache.lib new file mode 100644 index 000000000..92e46ff33 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/Precision_Rectifier-cache.lib @@ -0,0 +1,139 @@ +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_Diode +# +DEF eSim_Diode D 0 40 N N 1 F N +F0 "D" 0 100 50 H V C CNN +F1 "eSim_Diode" 0 -100 50 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +$FPLIST + TO-???* + *SingleDiode + *_Diode_* + *SingleDiode* + D_* +$ENDFPLIST +DRAW +T 0 -100 50 60 0 0 0 A Normal 0 C C +T 0 100 50 60 0 0 0 K Normal 0 C C +P 2 0 1 6 50 50 50 -50 N +P 3 0 1 0 -50 50 50 0 -50 -50 F +X A 1 -150 0 100 R 40 40 1 1 P +X K 2 150 0 100 L 40 40 1 1 P +ENDDRAW +ENDDEF +# +# eSim_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 +# +# lm_741 +# +DEF lm_741 X 0 40 Y Y 1 F N +F0 "X" -200 0 60 H V C CNN +F1 "lm_741" -100 -250 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N +X off_null 1 -50 400 200 D 50 38 1 1 I +X inv 2 -550 150 200 R 50 38 1 1 I +X non_inv 3 -550 -100 200 R 50 38 1 1 I +X v_neg 4 -150 -450 200 U 50 38 1 1 I +X off_null 5 50 350 200 D 50 38 1 1 I +X out 6 550 0 200 L 50 38 1 1 O +X v_pos 7 -150 450 200 D 50 38 1 1 I +X NC 8 150 -300 200 U 50 38 1 1 N +ENDDRAW +ENDDEF +# +#End Library diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/Precision_Rectifier.sch b/library/SubcircuitLibrary/TINA_TI_Rectifier/Precision_Rectifier.sch new file mode 100644 index 000000000..ac46ef659 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/Precision_Rectifier.sch @@ -0,0 +1,412 @@ +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:TINA_TI_Rectifier-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 lm_741 X1 +U 1 1 630DEBC8 +P 4000 3500 +F 0 "X1" H 3800 3500 60 0000 C CNN +F 1 "lm_741" H 3900 3250 60 0000 C CNN +F 2 "" H 4000 3500 60 0000 C CNN +F 3 "" H 4000 3500 60 0000 C CNN + 1 4000 3500 + 1 0 0 -1 +$EndComp +$Comp +L lm_741 X2 +U 1 1 630DEC2E +P 6700 3400 +F 0 "X2" H 6500 3400 60 0000 C CNN +F 1 "lm_741" H 6600 3150 60 0000 C CNN +F 2 "" H 6700 3400 60 0000 C CNN +F 3 "" H 6700 3400 60 0000 C CNN + 1 6700 3400 + 1 0 0 -1 +$EndComp +$Comp +L resistor R1 +U 1 1 630DED64 +P 3250 4100 +F 0 "R1" H 3300 4230 50 0000 C CNN +F 1 "49.9" H 3300 4050 50 0000 C CNN +F 2 "" H 3300 4080 30 0000 C CNN +F 3 "" V 3300 4150 30 0000 C CNN + 1 3250 4100 + 0 1 1 0 +$EndComp +$Comp +L resistor R3 +U 1 1 630DEE0E +P 5900 4100 +F 0 "R3" H 5950 4230 50 0000 C CNN +F 1 "1k" H 5950 4050 50 0000 C CNN +F 2 "" H 5950 4080 30 0000 C CNN +F 3 "" V 5950 4150 30 0000 C CNN + 1 5900 4100 + 0 1 1 0 +$EndComp +$Comp +L eSim_Diode D2 +U 1 1 630DEEA8 +P 5400 3500 +F 0 "D2" H 5400 3600 50 0000 C CNN +F 1 "eSim_Diode" H 5400 3400 50 0000 C CNN +F 2 "" H 5400 3500 60 0000 C CNN +F 3 "" H 5400 3500 60 0000 C CNN + 1 5400 3500 + 1 0 0 -1 +$EndComp +$Comp +L eSim_Diode D1 +U 1 1 630DEF23 +P 5000 2600 +F 0 "D1" H 5000 2700 50 0000 C CNN +F 1 "eSim_Diode" H 5000 2500 50 0000 C CNN +F 2 "" H 5000 2600 60 0000 C CNN +F 3 "" H 5000 2600 60 0000 C CNN + 1 5000 2600 + 0 1 1 0 +$EndComp +$Comp +L capacitor C1 +U 1 1 630DEF6B +P 4600 2600 +F 0 "C1" H 4625 2700 50 0000 L CNN +F 1 "47p" H 4625 2500 50 0000 L CNN +F 2 "" H 4638 2450 30 0000 C CNN +F 3 "" H 4600 2600 60 0000 C CNN + 1 4600 2600 + 1 0 0 -1 +$EndComp +$Comp +L resistor R2 +U 1 1 630DF05D +P 5550 2050 +F 0 "R2" H 5600 2180 50 0000 C CNN +F 1 "1k" H 5600 2000 50 0000 C CNN +F 2 "" H 5600 2030 30 0000 C CNN +F 3 "" V 5600 2100 30 0000 C CNN + 1 5550 2050 + -1 0 0 1 +$EndComp +$Comp +L resistor R4 +U 1 1 630DF101 +P 6500 2050 +F 0 "R4" H 6550 2180 50 0000 C CNN +F 1 "1k" H 6550 2000 50 0000 C CNN +F 2 "" H 6550 2030 30 0000 C CNN +F 3 "" V 6550 2100 30 0000 C CNN + 1 6500 2050 + -1 0 0 1 +$EndComp +$Comp +L capacitor C3 +U 1 1 630DF148 +P 7100 2700 +F 0 "C3" H 7125 2800 50 0000 L CNN +F 1 "100p" H 7125 2600 50 0000 L CNN +F 2 "" H 7138 2550 30 0000 C CNN +F 3 "" H 7100 2700 60 0000 C CNN + 1 7100 2700 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C5 +U 1 1 630DF1F2 +P 7500 2700 +F 0 "C5" H 7525 2800 50 0000 L CNN +F 1 "100n" H 7525 2600 50 0000 L CNN +F 2 "" H 7538 2550 30 0000 C CNN +F 3 "" H 7500 2700 60 0000 C CNN + 1 7500 2700 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C2 +U 1 1 630DF244 +P 6800 4550 +F 0 "C2" H 6825 4650 50 0000 L CNN +F 1 "100p" H 6825 4450 50 0000 L CNN +F 2 "" H 6838 4400 30 0000 C CNN +F 3 "" H 6800 4550 60 0000 C CNN + 1 6800 4550 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C4 +U 1 1 630DF2AA +P 7250 4550 +F 0 "C4" H 7275 4650 50 0000 L CNN +F 1 "100n" H 7275 4450 50 0000 L CNN +F 2 "" H 7288 4400 30 0000 C CNN +F 3 "" H 7250 4550 60 0000 C CNN + 1 7250 4550 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR01 +U 1 1 630DF502 +P 3350 5050 +F 0 "#PWR01" H 3350 4800 50 0001 C CNN +F 1 "GND" H 3350 4900 50 0000 C CNN +F 2 "" H 3350 5050 50 0001 C CNN +F 3 "" H 3350 5050 50 0001 C CNN + 1 3350 5050 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR02 +U 1 1 630DFA95 +P 5950 4800 +F 0 "#PWR02" H 5950 4550 50 0001 C CNN +F 1 "GND" H 5950 4650 50 0000 C CNN +F 2 "" H 5950 4800 50 0001 C CNN +F 3 "" H 5950 4800 50 0001 C CNN + 1 5950 4800 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR03 +U 1 1 630DFAD1 +P 6800 4900 +F 0 "#PWR03" H 6800 4650 50 0001 C CNN +F 1 "GND" H 6800 4750 50 0000 C CNN +F 2 "" H 6800 4900 50 0001 C CNN +F 3 "" H 6800 4900 50 0001 C CNN + 1 6800 4900 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR04 +U 1 1 630DFB06 +P 7250 4900 +F 0 "#PWR04" H 7250 4650 50 0001 C CNN +F 1 "GND" H 7250 4750 50 0000 C CNN +F 2 "" H 7250 4900 50 0001 C CNN +F 3 "" H 7250 4900 50 0001 C CNN + 1 7250 4900 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR05 +U 1 1 630DFB3B +P 7100 3050 +F 0 "#PWR05" H 7100 2800 50 0001 C CNN +F 1 "GND" H 7100 2900 50 0000 C CNN +F 2 "" H 7100 3050 50 0001 C CNN +F 3 "" H 7100 3050 50 0001 C CNN + 1 7100 3050 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR06 +U 1 1 630DFB70 +P 7500 3050 +F 0 "#PWR06" H 7500 2800 50 0001 C CNN +F 1 "GND" H 7500 2900 50 0000 C CNN +F 2 "" H 7500 3050 50 0001 C CNN +F 3 "" H 7500 3050 50 0001 C CNN + 1 7500 3050 + 1 0 0 -1 +$EndComp +Text Label 8350 2350 0 60 Italic 12 +Vpos +Text Label 7950 4150 0 60 Italic 12 +Vneg +$Comp +L PORT U1 +U 1 1 631276E6 +P 2550 4000 +F 0 "U1" H 2600 4100 30 0000 C CNN +F 1 "PORT" H 2550 4000 30 0000 C CNN +F 2 "" H 2550 4000 60 0000 C CNN +F 3 "" H 2550 4000 60 0000 C CNN + 1 2550 4000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4550 3500 5250 3500 +Wire Wire Line + 5550 3500 6150 3500 +Wire Wire Line + 5950 4000 5950 3500 +Connection ~ 5950 3500 +Wire Wire Line + 5950 4300 5950 4800 +Wire Wire Line + 6550 3850 6550 4150 +Wire Wire Line + 6450 4150 8150 4150 +Wire Wire Line + 6800 4400 6800 4150 +Connection ~ 6800 4150 +Wire Wire Line + 7250 4400 7250 4150 +Connection ~ 7250 4150 +Wire Wire Line + 6800 4700 6800 4900 +Wire Wire Line + 7250 4900 7250 4700 +Wire Wire Line + 6550 2350 6550 2950 +Wire Wire Line + 6550 2450 7950 2450 +Wire Wire Line + 7950 2450 7950 2350 +Wire Wire Line + 7100 2550 7100 2450 +Connection ~ 7100 2450 +Wire Wire Line + 7500 2550 7500 2450 +Connection ~ 7500 2450 +Wire Wire Line + 7100 2850 7100 3050 +Wire Wire Line + 7500 2850 7500 3050 +Wire Wire Line + 7250 3400 8450 3400 +Wire Wire Line + 6600 2100 8250 2100 +Wire Wire Line + 8250 2100 8250 3400 +Connection ~ 8250 3400 +Wire Wire Line + 6300 2100 5650 2100 +Wire Wire Line + 5350 2100 3250 2100 +Wire Wire Line + 3250 2100 3250 3350 +Wire Wire Line + 3250 3350 3450 3350 +Wire Wire Line + 5000 2450 5000 2100 +Connection ~ 5000 2100 +Wire Wire Line + 5000 2750 5000 3500 +Connection ~ 5000 3500 +Wire Wire Line + 4600 2750 4600 3500 +Connection ~ 4600 3500 +Wire Wire Line + 4600 2450 4600 2100 +Connection ~ 4600 2100 +Wire Wire Line + 3450 3600 2800 3600 +Wire Wire Line + 2800 3600 2800 4000 +Wire Wire Line + 3300 4300 3300 5050 +Wire Wire Line + 3300 5050 3350 5050 +Wire Wire Line + 3300 4000 3300 3600 +Connection ~ 3300 3600 +Wire Wire Line + 6150 3250 5850 3250 +Wire Wire Line + 5850 3250 5850 2100 +Wire Wire Line + 5850 2100 5900 2100 +Connection ~ 5900 2100 +Text Label 2800 3950 0 60 Italic 12 +Vin +Text Label 8300 3400 0 60 Italic 12 +Vout +$Comp +L PORT U1 +U 2 1 63128122 +P 8400 4150 +F 0 "U1" H 8450 4250 30 0000 C CNN +F 1 "PORT" H 8400 4150 30 0000 C CNN +F 2 "" H 8400 4150 60 0000 C CNN +F 3 "" H 8400 4150 60 0000 C CNN + 2 8400 4150 + -1 0 0 1 +$EndComp +Wire Wire Line + 3850 3050 3850 2350 +Wire Wire Line + 3850 2350 6550 2350 +Connection ~ 6550 2450 +Wire Wire Line + 3850 3950 6450 3950 +Wire Wire Line + 6450 3950 6450 4150 +Connection ~ 6550 4150 +$Comp +L PORT U1 +U 4 1 631984C4 +P 8800 2350 +F 0 "U1" H 8850 2450 30 0000 C CNN +F 1 "PORT" H 8800 2350 30 0000 C CNN +F 2 "" H 8800 2350 60 0000 C CNN +F 3 "" H 8800 2350 60 0000 C CNN + 4 8800 2350 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 63198559 +P 8700 3400 +F 0 "U1" H 8750 3500 30 0000 C CNN +F 1 "PORT" H 8700 3400 30 0000 C CNN +F 2 "" H 8700 3400 60 0000 C CNN +F 3 "" H 8700 3400 60 0000 C CNN + 3 8700 3400 + -1 0 0 1 +$EndComp +Wire Wire Line + 7950 2350 8550 2350 +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/README.md b/library/SubcircuitLibrary/TINA_TI_Rectifier/README.md new file mode 100644 index 000000000..d61b9e7dd --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/README.md @@ -0,0 +1,24 @@ + +# Precision_Rectifier IC + +Precision Rectifier is a general purpose IC. The major drawback of the normal diode is that it can not be able to rectify the voltages below (0.6 v) which is the cut-in voltage. So, a special type of diode is used which is a precision diode that is capable of rectifying the input voltage signals in the order of milli volt. So, a circuit that uses this special type of diode(precision diode) is called a precision rectifie + +## Usage/Examples + +It is used in high-precision signal processing with few modification it can be used as Peak Detector. + + +## Documentation + +To know the details of Precision Rectifier IC please refer to this link [Precision_Rectifier_datasheet.](https://www.ti.com/lit/ug/tidu030/tidu030.pdf?ts=1661742834491&ref_url=https%253A%252F%252Fwww.google.com%252F) + +## Comments/Notes + +Please note this is a complete analog IC. It works fine at the time of simulation. + +## Contributor + +Name: Vanshika Tanwar +Email: vanshikatanwar30@gmail.com +Year: 2022 +Position: FOSSEE Summer Fellowship Intern 2022 diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier-cache.lib b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier-cache.lib new file mode 100644 index 000000000..92e46ff33 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier-cache.lib @@ -0,0 +1,139 @@ +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_Diode +# +DEF eSim_Diode D 0 40 N N 1 F N +F0 "D" 0 100 50 H V C CNN +F1 "eSim_Diode" 0 -100 50 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +$FPLIST + TO-???* + *SingleDiode + *_Diode_* + *SingleDiode* + D_* +$ENDFPLIST +DRAW +T 0 -100 50 60 0 0 0 A Normal 0 C C +T 0 100 50 60 0 0 0 K Normal 0 C C +P 2 0 1 6 50 50 50 -50 N +P 3 0 1 0 -50 50 50 0 -50 -50 F +X A 1 -150 0 100 R 40 40 1 1 P +X K 2 150 0 100 L 40 40 1 1 P +ENDDRAW +ENDDEF +# +# eSim_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 +# +# lm_741 +# +DEF lm_741 X 0 40 Y Y 1 F N +F0 "X" -200 0 60 H V C CNN +F1 "lm_741" -100 -250 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N +X off_null 1 -50 400 200 D 50 38 1 1 I +X inv 2 -550 150 200 R 50 38 1 1 I +X non_inv 3 -550 -100 200 R 50 38 1 1 I +X v_neg 4 -150 -450 200 U 50 38 1 1 I +X off_null 5 50 350 200 D 50 38 1 1 I +X out 6 550 0 200 L 50 38 1 1 O +X v_pos 7 -150 450 200 D 50 38 1 1 I +X NC 8 150 -300 200 U 50 38 1 1 N +ENDDRAW +ENDDEF +# +#End Library diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.cir b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.cir new file mode 100644 index 000000000..f945869fe --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.cir @@ -0,0 +1,24 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\TINA_TI_Rectifier\TINA_TI_Rectifier.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 9/8/2022 12:13:00 PM + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +X1 ? Net-_C1-Pad1_ /Vin /Vneg ? Net-_C1-Pad2_ /Vpos ? lm_741 +X2 ? Net-_R2-Pad1_ Net-_D2-Pad2_ /Vneg ? /Vout /Vpos ? lm_741 +R1 /Vin GND 49.9 +R3 Net-_D2-Pad2_ GND 1k +D2 Net-_C1-Pad2_ Net-_D2-Pad2_ eSim_Diode +D1 Net-_C1-Pad1_ Net-_C1-Pad2_ eSim_Diode +C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 47p +R2 Net-_R2-Pad1_ Net-_C1-Pad1_ 1k +R4 /Vout Net-_R2-Pad1_ 1k +C3 /Vpos GND 100p +C5 /Vpos GND 100n +C2 /Vneg GND 100p +C4 /Vneg GND 100n +U1 /Vin /Vneg /Vout /Vpos PORT + +.end diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.cir.out b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.cir.out new file mode 100644 index 000000000..433a1bddb --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.cir.out @@ -0,0 +1,27 @@ +* c:\fossee\esim\library\subcircuitlibrary\tina_ti_rectifier\tina_ti_rectifier.cir + +.include lm_741.sub +.include D.lib +x1 ? net-_c1-pad1_ /vin /vneg ? net-_c1-pad2_ /vpos ? lm_741 +x2 ? net-_r2-pad1_ net-_d2-pad2_ /vneg ? /vout /vpos ? lm_741 +r1 /vin gnd 49.9 +r3 net-_d2-pad2_ gnd 1k +d2 net-_c1-pad2_ net-_d2-pad2_ 1N4148 +d1 net-_c1-pad1_ net-_c1-pad2_ 1N4148 +c1 net-_c1-pad1_ net-_c1-pad2_ 47p +r2 net-_r2-pad1_ net-_c1-pad1_ 1k +r4 /vout net-_r2-pad1_ 1k +c3 /vpos gnd 100p +c5 /vpos gnd 100n +c2 /vneg gnd 100p +c4 /vneg gnd 100n +* u1 /vin /vneg /vout /vpos port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.pro b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.pro new file mode 100644 index 000000000..d7f78c3b4 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.pro @@ -0,0 +1,71 @@ +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 diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sch b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sch new file mode 100644 index 000000000..ac46ef659 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sch @@ -0,0 +1,412 @@ +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:TINA_TI_Rectifier-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 lm_741 X1 +U 1 1 630DEBC8 +P 4000 3500 +F 0 "X1" H 3800 3500 60 0000 C CNN +F 1 "lm_741" H 3900 3250 60 0000 C CNN +F 2 "" H 4000 3500 60 0000 C CNN +F 3 "" H 4000 3500 60 0000 C CNN + 1 4000 3500 + 1 0 0 -1 +$EndComp +$Comp +L lm_741 X2 +U 1 1 630DEC2E +P 6700 3400 +F 0 "X2" H 6500 3400 60 0000 C CNN +F 1 "lm_741" H 6600 3150 60 0000 C CNN +F 2 "" H 6700 3400 60 0000 C CNN +F 3 "" H 6700 3400 60 0000 C CNN + 1 6700 3400 + 1 0 0 -1 +$EndComp +$Comp +L resistor R1 +U 1 1 630DED64 +P 3250 4100 +F 0 "R1" H 3300 4230 50 0000 C CNN +F 1 "49.9" H 3300 4050 50 0000 C CNN +F 2 "" H 3300 4080 30 0000 C CNN +F 3 "" V 3300 4150 30 0000 C CNN + 1 3250 4100 + 0 1 1 0 +$EndComp +$Comp +L resistor R3 +U 1 1 630DEE0E +P 5900 4100 +F 0 "R3" H 5950 4230 50 0000 C CNN +F 1 "1k" H 5950 4050 50 0000 C CNN +F 2 "" H 5950 4080 30 0000 C CNN +F 3 "" V 5950 4150 30 0000 C CNN + 1 5900 4100 + 0 1 1 0 +$EndComp +$Comp +L eSim_Diode D2 +U 1 1 630DEEA8 +P 5400 3500 +F 0 "D2" H 5400 3600 50 0000 C CNN +F 1 "eSim_Diode" H 5400 3400 50 0000 C CNN +F 2 "" H 5400 3500 60 0000 C CNN +F 3 "" H 5400 3500 60 0000 C CNN + 1 5400 3500 + 1 0 0 -1 +$EndComp +$Comp +L eSim_Diode D1 +U 1 1 630DEF23 +P 5000 2600 +F 0 "D1" H 5000 2700 50 0000 C CNN +F 1 "eSim_Diode" H 5000 2500 50 0000 C CNN +F 2 "" H 5000 2600 60 0000 C CNN +F 3 "" H 5000 2600 60 0000 C CNN + 1 5000 2600 + 0 1 1 0 +$EndComp +$Comp +L capacitor C1 +U 1 1 630DEF6B +P 4600 2600 +F 0 "C1" H 4625 2700 50 0000 L CNN +F 1 "47p" H 4625 2500 50 0000 L CNN +F 2 "" H 4638 2450 30 0000 C CNN +F 3 "" H 4600 2600 60 0000 C CNN + 1 4600 2600 + 1 0 0 -1 +$EndComp +$Comp +L resistor R2 +U 1 1 630DF05D +P 5550 2050 +F 0 "R2" H 5600 2180 50 0000 C CNN +F 1 "1k" H 5600 2000 50 0000 C CNN +F 2 "" H 5600 2030 30 0000 C CNN +F 3 "" V 5600 2100 30 0000 C CNN + 1 5550 2050 + -1 0 0 1 +$EndComp +$Comp +L resistor R4 +U 1 1 630DF101 +P 6500 2050 +F 0 "R4" H 6550 2180 50 0000 C CNN +F 1 "1k" H 6550 2000 50 0000 C CNN +F 2 "" H 6550 2030 30 0000 C CNN +F 3 "" V 6550 2100 30 0000 C CNN + 1 6500 2050 + -1 0 0 1 +$EndComp +$Comp +L capacitor C3 +U 1 1 630DF148 +P 7100 2700 +F 0 "C3" H 7125 2800 50 0000 L CNN +F 1 "100p" H 7125 2600 50 0000 L CNN +F 2 "" H 7138 2550 30 0000 C CNN +F 3 "" H 7100 2700 60 0000 C CNN + 1 7100 2700 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C5 +U 1 1 630DF1F2 +P 7500 2700 +F 0 "C5" H 7525 2800 50 0000 L CNN +F 1 "100n" H 7525 2600 50 0000 L CNN +F 2 "" H 7538 2550 30 0000 C CNN +F 3 "" H 7500 2700 60 0000 C CNN + 1 7500 2700 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C2 +U 1 1 630DF244 +P 6800 4550 +F 0 "C2" H 6825 4650 50 0000 L CNN +F 1 "100p" H 6825 4450 50 0000 L CNN +F 2 "" H 6838 4400 30 0000 C CNN +F 3 "" H 6800 4550 60 0000 C CNN + 1 6800 4550 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C4 +U 1 1 630DF2AA +P 7250 4550 +F 0 "C4" H 7275 4650 50 0000 L CNN +F 1 "100n" H 7275 4450 50 0000 L CNN +F 2 "" H 7288 4400 30 0000 C CNN +F 3 "" H 7250 4550 60 0000 C CNN + 1 7250 4550 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR01 +U 1 1 630DF502 +P 3350 5050 +F 0 "#PWR01" H 3350 4800 50 0001 C CNN +F 1 "GND" H 3350 4900 50 0000 C CNN +F 2 "" H 3350 5050 50 0001 C CNN +F 3 "" H 3350 5050 50 0001 C CNN + 1 3350 5050 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR02 +U 1 1 630DFA95 +P 5950 4800 +F 0 "#PWR02" H 5950 4550 50 0001 C CNN +F 1 "GND" H 5950 4650 50 0000 C CNN +F 2 "" H 5950 4800 50 0001 C CNN +F 3 "" H 5950 4800 50 0001 C CNN + 1 5950 4800 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR03 +U 1 1 630DFAD1 +P 6800 4900 +F 0 "#PWR03" H 6800 4650 50 0001 C CNN +F 1 "GND" H 6800 4750 50 0000 C CNN +F 2 "" H 6800 4900 50 0001 C CNN +F 3 "" H 6800 4900 50 0001 C CNN + 1 6800 4900 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR04 +U 1 1 630DFB06 +P 7250 4900 +F 0 "#PWR04" H 7250 4650 50 0001 C CNN +F 1 "GND" H 7250 4750 50 0000 C CNN +F 2 "" H 7250 4900 50 0001 C CNN +F 3 "" H 7250 4900 50 0001 C CNN + 1 7250 4900 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR05 +U 1 1 630DFB3B +P 7100 3050 +F 0 "#PWR05" H 7100 2800 50 0001 C CNN +F 1 "GND" H 7100 2900 50 0000 C CNN +F 2 "" H 7100 3050 50 0001 C CNN +F 3 "" H 7100 3050 50 0001 C CNN + 1 7100 3050 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR06 +U 1 1 630DFB70 +P 7500 3050 +F 0 "#PWR06" H 7500 2800 50 0001 C CNN +F 1 "GND" H 7500 2900 50 0000 C CNN +F 2 "" H 7500 3050 50 0001 C CNN +F 3 "" H 7500 3050 50 0001 C CNN + 1 7500 3050 + 1 0 0 -1 +$EndComp +Text Label 8350 2350 0 60 Italic 12 +Vpos +Text Label 7950 4150 0 60 Italic 12 +Vneg +$Comp +L PORT U1 +U 1 1 631276E6 +P 2550 4000 +F 0 "U1" H 2600 4100 30 0000 C CNN +F 1 "PORT" H 2550 4000 30 0000 C CNN +F 2 "" H 2550 4000 60 0000 C CNN +F 3 "" H 2550 4000 60 0000 C CNN + 1 2550 4000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4550 3500 5250 3500 +Wire Wire Line + 5550 3500 6150 3500 +Wire Wire Line + 5950 4000 5950 3500 +Connection ~ 5950 3500 +Wire Wire Line + 5950 4300 5950 4800 +Wire Wire Line + 6550 3850 6550 4150 +Wire Wire Line + 6450 4150 8150 4150 +Wire Wire Line + 6800 4400 6800 4150 +Connection ~ 6800 4150 +Wire Wire Line + 7250 4400 7250 4150 +Connection ~ 7250 4150 +Wire Wire Line + 6800 4700 6800 4900 +Wire Wire Line + 7250 4900 7250 4700 +Wire Wire Line + 6550 2350 6550 2950 +Wire Wire Line + 6550 2450 7950 2450 +Wire Wire Line + 7950 2450 7950 2350 +Wire Wire Line + 7100 2550 7100 2450 +Connection ~ 7100 2450 +Wire Wire Line + 7500 2550 7500 2450 +Connection ~ 7500 2450 +Wire Wire Line + 7100 2850 7100 3050 +Wire Wire Line + 7500 2850 7500 3050 +Wire Wire Line + 7250 3400 8450 3400 +Wire Wire Line + 6600 2100 8250 2100 +Wire Wire Line + 8250 2100 8250 3400 +Connection ~ 8250 3400 +Wire Wire Line + 6300 2100 5650 2100 +Wire Wire Line + 5350 2100 3250 2100 +Wire Wire Line + 3250 2100 3250 3350 +Wire Wire Line + 3250 3350 3450 3350 +Wire Wire Line + 5000 2450 5000 2100 +Connection ~ 5000 2100 +Wire Wire Line + 5000 2750 5000 3500 +Connection ~ 5000 3500 +Wire Wire Line + 4600 2750 4600 3500 +Connection ~ 4600 3500 +Wire Wire Line + 4600 2450 4600 2100 +Connection ~ 4600 2100 +Wire Wire Line + 3450 3600 2800 3600 +Wire Wire Line + 2800 3600 2800 4000 +Wire Wire Line + 3300 4300 3300 5050 +Wire Wire Line + 3300 5050 3350 5050 +Wire Wire Line + 3300 4000 3300 3600 +Connection ~ 3300 3600 +Wire Wire Line + 6150 3250 5850 3250 +Wire Wire Line + 5850 3250 5850 2100 +Wire Wire Line + 5850 2100 5900 2100 +Connection ~ 5900 2100 +Text Label 2800 3950 0 60 Italic 12 +Vin +Text Label 8300 3400 0 60 Italic 12 +Vout +$Comp +L PORT U1 +U 2 1 63128122 +P 8400 4150 +F 0 "U1" H 8450 4250 30 0000 C CNN +F 1 "PORT" H 8400 4150 30 0000 C CNN +F 2 "" H 8400 4150 60 0000 C CNN +F 3 "" H 8400 4150 60 0000 C CNN + 2 8400 4150 + -1 0 0 1 +$EndComp +Wire Wire Line + 3850 3050 3850 2350 +Wire Wire Line + 3850 2350 6550 2350 +Connection ~ 6550 2450 +Wire Wire Line + 3850 3950 6450 3950 +Wire Wire Line + 6450 3950 6450 4150 +Connection ~ 6550 4150 +$Comp +L PORT U1 +U 4 1 631984C4 +P 8800 2350 +F 0 "U1" H 8850 2450 30 0000 C CNN +F 1 "PORT" H 8800 2350 30 0000 C CNN +F 2 "" H 8800 2350 60 0000 C CNN +F 3 "" H 8800 2350 60 0000 C CNN + 4 8800 2350 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 63198559 +P 8700 3400 +F 0 "U1" H 8750 3500 30 0000 C CNN +F 1 "PORT" H 8700 3400 30 0000 C CNN +F 2 "" H 8700 3400 60 0000 C CNN +F 3 "" H 8700 3400 60 0000 C CNN + 3 8700 3400 + -1 0 0 1 +$EndComp +Wire Wire Line + 7950 2350 8550 2350 +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub new file mode 100644 index 000000000..dc6cb4807 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier.sub @@ -0,0 +1,21 @@ +* Subcircuit TINA_TI_Rectifier +.subckt TINA_TI_Rectifier /vin /vneg /vout /vpos +* c:\fossee\esim\library\subcircuitlibrary\tina_ti_rectifier\tina_ti_rectifier.cir +.include lm_741.sub +.include D.lib +x1 ? net-_c1-pad1_ /vin /vneg ? net-_c1-pad2_ /vpos ? lm_741 +x2 ? net-_r2-pad1_ net-_d2-pad2_ /vneg ? /vout /vpos ? lm_741 +r1 /vin gnd 49.9 +r3 net-_d2-pad2_ gnd 1k +d2 net-_c1-pad2_ net-_d2-pad2_ 1N4148 +d1 net-_c1-pad1_ net-_c1-pad2_ 1N4148 +c1 net-_c1-pad1_ net-_c1-pad2_ 47p +r2 net-_r2-pad1_ net-_c1-pad1_ 1k +r4 /vout net-_r2-pad1_ 1k +c3 /vpos gnd 100p +c5 /vpos gnd 100n +c2 /vneg gnd 100p +c4 /vneg gnd 100n +* Control Statements + +.ends TINA_TI_Rectifier \ No newline at end of file diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier_Previous_Values.xml b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier_Previous_Values.xml new file mode 100644 index 000000000..b1ddedd63 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/TINA_TI_Rectifier_Previous_Values.xml @@ -0,0 +1 @@ +sine1515C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741C:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/analysis b/library/SubcircuitLibrary/TINA_TI_Rectifier/analysis new file mode 100644 index 000000000..ebd5c0a94 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00 \ No newline at end of file diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741-cache.lib b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741-cache.lib new file mode 100644 index 000000000..04e3fecd3 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741-cache.lib @@ -0,0 +1,119 @@ +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 +$FPLIST + C_* +$ENDFPLIST +DRAW +P 2 0 1 20 -80 -30 80 -30 N +P 2 0 1 20 -80 30 80 30 N +X ~ 1 0 150 110 D 40 40 1 1 P +X ~ 2 0 -150 110 U 40 40 1 1 P +ENDDRAW +ENDDEF +# +# eSim_NPN +# +DEF eSim_NPN Q 0 0 Y N 1 F N +F0 "Q" -100 50 50 H V R CNN +F1 "eSim_NPN" -50 150 50 H V R CNN +F2 "" 200 100 29 H V C CNN +F3 "" 0 0 60 H V C CNN +ALIAS BC547 Q2N2222 +DRAW +C 50 0 111 0 1 10 N +P 2 0 1 0 25 25 100 100 N +P 3 0 1 0 25 -25 100 -100 100 -100 N +P 3 0 1 20 25 75 25 -75 25 -75 N +P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F +X C 1 100 200 100 D 50 50 1 1 C +X B 2 -200 0 225 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 E +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 C +X B 2 -200 0 225 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 E +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 +$FPLIST + R_* + Resistor_* +$ENDFPLIST +DRAW +S 150 10 -50 90 0 1 10 N +X ~ 1 -100 50 50 R 60 60 1 1 P +X ~ 2 200 50 50 L 60 60 1 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.cir b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.cir new file mode 100644 index 000000000..4a5917ea6 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.cir @@ -0,0 +1,43 @@ +* C:\Users\malli\eSim\src\SubcircuitLibrary\lm_741\lm_741.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 05/25/19 19:37:28 + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN +Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN +Q6 Net-_Q3-Pad2_ Net-_Q13-Pad1_ Net-_Q1-Pad3_ eSim_PNP +Q5 Net-_C1-Pad2_ Net-_Q13-Pad1_ Net-_Q2-Pad3_ eSim_PNP +Q3 Net-_Q10-Pad3_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN +Q4 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q9 Net-_Q13-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q8 Net-_C1-Pad2_ Net-_Q3-Pad3_ Net-_Q8-Pad3_ eSim_NPN +Q7 Net-_Q3-Pad2_ Net-_Q3-Pad3_ Net-_Q7-Pad3_ eSim_NPN +R1 Net-_Q7-Pad3_ Net-_Q12-Pad3_ 1k +R2 Net-_Q3-Pad3_ Net-_Q12-Pad3_ 50k +R3 Net-_Q8-Pad3_ Net-_Q12-Pad3_ 1k +Q12 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_NPN +Q13 Net-_Q13-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad3_ eSim_NPN +R4 Net-_Q13-Pad3_ Net-_Q12-Pad3_ 5k +R11 Net-_Q10-Pad1_ Net-_Q12-Pad1_ 39k +Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q11 Net-_C1-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q14 Net-_C1-Pad1_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN +R8 Net-_C1-Pad1_ Net-_Q14-Pad2_ 4.5k +R7 Net-_Q14-Pad3_ Net-_Q14-Pad2_ 7.5k +C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p +Q16 Net-_Q14-Pad3_ Net-_C1-Pad2_ Net-_Q15-Pad2_ eSim_NPN +Q15 Net-_Q14-Pad3_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN +R5 Net-_Q15-Pad2_ Net-_Q12-Pad3_ 50k +R6 Net-_Q15-Pad3_ Net-_Q12-Pad3_ 50 +Q17 Net-_C1-Pad2_ Net-_Q15-Pad3_ Net-_Q12-Pad3_ eSim_NPN +Q18 Net-_Q10-Pad3_ Net-_C1-Pad1_ Net-_Q18-Pad3_ eSim_NPN +Q20 Net-_C1-Pad1_ Net-_Q18-Pad3_ Net-_Q20-Pad3_ eSim_NPN +R9 Net-_Q18-Pad3_ Net-_Q20-Pad3_ 25 +R10 Net-_Q20-Pad3_ Net-_Q19-Pad3_ 50 +Q19 Net-_Q12-Pad3_ Net-_Q14-Pad3_ Net-_Q19-Pad3_ eSim_PNP +U1 Net-_Q7-Pad3_ Net-_Q2-Pad2_ Net-_Q1-Pad2_ Net-_Q12-Pad3_ Net-_Q8-Pad3_ Net-_Q20-Pad3_ Net-_Q10-Pad3_ ? PORT + +.end diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.cir.out b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.cir.out new file mode 100644 index 000000000..a00bd86af --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.cir.out @@ -0,0 +1,46 @@ +* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir + +.include npn_1.lib +.include pnp_1.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 +q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 +q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 +q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 +q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 +q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 +q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 +r1 net-_q7-pad3_ net-_q12-pad3_ 1k +r2 net-_q3-pad3_ net-_q12-pad3_ 50k +r3 net-_q8-pad3_ net-_q12-pad3_ 1k +q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 +q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 +r4 net-_q13-pad3_ net-_q12-pad3_ 5k +r11 net-_q10-pad1_ net-_q12-pad1_ 39k +q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 +r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k +r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k +c1 net-_c1-pad1_ net-_c1-pad2_ 30p +q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 +q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 +r5 net-_q15-pad2_ net-_q12-pad3_ 50k +r6 net-_q15-pad3_ net-_q12-pad3_ 50 +q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 +q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 +q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 +r9 net-_q18-pad3_ net-_q20-pad3_ 25 +r10 net-_q20-pad3_ net-_q19-pad3_ 50 +q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 +* u1 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.pro b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.pro new file mode 100644 index 000000000..b56de1b0f --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.pro @@ -0,0 +1,44 @@ +update=Fri Jun 7 21:53:51 2019 +version=1 +last_client=eeschema +[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=power +LibName2=eSim_Analog +LibName3=eSim_Devices +LibName4=eSim_Digital +LibName5=eSim_Hybrid +LibName6=eSim_Miscellaneous +LibName7=eSim_Plot +LibName8=eSim_Power +LibName9=eSim_User +LibName10=eSim_Sources +LibName11=eSim_Subckt diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.sch b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.sch new file mode 100644 index 000000000..b017fd2b8 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.sch @@ -0,0 +1,697 @@ +EESchema Schematic File Version 2 +LIBS:power +LIBS:eSim_Analog +LIBS:eSim_Devices +LIBS:eSim_Digital +LIBS:eSim_Hybrid +LIBS:eSim_Miscellaneous +LIBS:eSim_Plot +LIBS:eSim_Power +LIBS:eSim_PSpice +LIBS:eSim_Sources +LIBS:eSim_Subckt +LIBS:eSim_User +LIBS:lm_741-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_NPN Q1 +U 1 1 5CE90A7B +P 2650 2700 +F 0 "Q1" H 2550 2750 50 0000 R CNN +F 1 "eSim_NPN" H 2600 2850 50 0000 R CNN +F 2 "" H 2850 2800 29 0000 C CNN +F 3 "" H 2650 2700 60 0000 C CNN + 1 2650 2700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q2 +U 1 1 5CE90A7C +P 4300 2700 +F 0 "Q2" H 4200 2750 50 0000 R CNN +F 1 "eSim_NPN" H 4250 2850 50 0000 R CNN +F 2 "" H 4500 2800 29 0000 C CNN +F 3 "" H 4300 2700 60 0000 C CNN + 1 4300 2700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q6 +U 1 1 5CE90A7D +P 3000 3200 +F 0 "Q6" H 2900 3250 50 0000 R CNN +F 1 "eSim_PNP" H 2950 3350 50 0000 R CNN +F 2 "" H 3200 3300 29 0000 C CNN +F 3 "" H 3000 3200 60 0000 C CNN + 1 3000 3200 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q5 +U 1 1 5CE90A7E +P 3950 3200 +F 0 "Q5" H 3850 3250 50 0000 R CNN +F 1 "eSim_PNP" H 3900 3350 50 0000 R CNN +F 2 "" H 4150 3300 29 0000 C CNN +F 3 "" H 3950 3200 60 0000 C CNN + 1 3950 3200 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q3 +U 1 1 5CE90A7F +P 3300 4000 +F 0 "Q3" H 3200 4050 50 0000 R CNN +F 1 "eSim_NPN" H 3250 4150 50 0000 R CNN +F 2 "" H 3500 4100 29 0000 C CNN +F 3 "" H 3300 4000 60 0000 C CNN + 1 3300 4000 + 1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q4 +U 1 1 5CE90A80 +P 3850 2000 +F 0 "Q4" H 3750 2050 50 0000 R CNN +F 1 "eSim_PNP" H 3800 2150 50 0000 R CNN +F 2 "" H 4050 2100 29 0000 C CNN +F 3 "" H 3850 2000 60 0000 C CNN + 1 3850 2000 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q9 +U 1 1 5CE90A81 +P 5200 2000 +F 0 "Q9" H 5100 2050 50 0000 R CNN +F 1 "eSim_PNP" H 5150 2150 50 0000 R CNN +F 2 "" H 5400 2100 29 0000 C CNN +F 3 "" H 5200 2000 60 0000 C CNN + 1 5200 2000 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q8 +U 1 1 5CE90A82 +P 3950 4600 +F 0 "Q8" H 3850 4650 50 0000 R CNN +F 1 "eSim_NPN" H 3900 4750 50 0000 R CNN +F 2 "" H 4150 4700 29 0000 C CNN +F 3 "" H 3950 4600 60 0000 C CNN + 1 3950 4600 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q7 +U 1 1 5CE90A83 +P 3000 4600 +F 0 "Q7" H 2900 4650 50 0000 R CNN +F 1 "eSim_NPN" H 2950 4750 50 0000 R CNN +F 2 "" H 3200 4700 29 0000 C CNN +F 3 "" H 3000 4600 60 0000 C CNN + 1 3000 4600 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R1 +U 1 1 5CE90A84 +P 2850 5200 +F 0 "R1" H 2900 5330 50 0000 C CNN +F 1 "1k" H 2900 5250 50 0000 C CNN +F 2 "" H 2900 5180 30 0000 C CNN +F 3 "" V 2900 5250 30 0000 C CNN + 1 2850 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R2 +U 1 1 5CE90A85 +P 3550 5200 +F 0 "R2" H 3600 5330 50 0000 C CNN +F 1 "50k" H 3600 5250 50 0000 C CNN +F 2 "" H 3600 5180 30 0000 C CNN +F 3 "" V 3600 5250 30 0000 C CNN + 1 3550 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R3 +U 1 1 5CE90A86 +P 4000 5200 +F 0 "R3" H 4050 5330 50 0000 C CNN +F 1 "1k" H 4050 5250 50 0000 C CNN +F 2 "" H 4050 5180 30 0000 C CNN +F 3 "" V 4050 5250 30 0000 C CNN + 1 4000 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q12 +U 1 1 5CE90A87 +P 6300 4700 +F 0 "Q12" H 6200 4750 50 0000 R CNN +F 1 "eSim_NPN" H 6250 4850 50 0000 R CNN +F 2 "" H 6500 4800 29 0000 C CNN +F 3 "" H 6300 4700 60 0000 C CNN + 1 6300 4700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q13 +U 1 1 5CE90A88 +P 5400 4700 +F 0 "Q13" H 5300 4750 50 0000 R CNN +F 1 "eSim_NPN" H 5350 4850 50 0000 R CNN +F 2 "" H 5600 4800 29 0000 C CNN +F 3 "" H 5400 4700 60 0000 C CNN + 1 5400 4700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R4 +U 1 1 5CE90A89 +P 5250 5200 +F 0 "R4" H 5300 5330 50 0000 C CNN +F 1 "5k" H 5300 5250 50 0000 C CNN +F 2 "" H 5300 5180 30 0000 C CNN +F 3 "" V 5300 5250 30 0000 C CNN + 1 5250 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R11 +U 1 1 5CE90A8A +P 6350 2750 +F 0 "R11" H 6400 2880 50 0000 C CNN +F 1 "39k" H 6400 2800 50 0000 C CNN +F 2 "" H 6400 2730 30 0000 C CNN +F 3 "" V 6400 2800 30 0000 C CNN + 1 6350 2750 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q10 +U 1 1 5CE90A8B +P 6500 1950 +F 0 "Q10" H 6400 2000 50 0000 R CNN +F 1 "eSim_PNP" H 6450 2100 50 0000 R CNN +F 2 "" H 6700 2050 29 0000 C CNN +F 3 "" H 6500 1950 60 0000 C CNN + 1 6500 1950 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q11 +U 1 1 5CE90A8C +P 7500 1950 +F 0 "Q11" H 7400 2000 50 0000 R CNN +F 1 "eSim_PNP" H 7450 2100 50 0000 R CNN +F 2 "" H 7700 2050 29 0000 C CNN +F 3 "" H 7500 1950 60 0000 C CNN + 1 7500 1950 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q14 +U 1 1 5CE90A8D +P 7500 3050 +F 0 "Q14" H 7400 3100 50 0000 R CNN +F 1 "eSim_NPN" H 7450 3200 50 0000 R CNN +F 2 "" H 7700 3150 29 0000 C CNN +F 3 "" H 7500 3050 60 0000 C CNN + 1 7500 3050 + 1 0 0 -1 +$EndComp +$Comp +L eSim_R R8 +U 1 1 5CE90A8E +P 7300 2600 +F 0 "R8" H 7350 2730 50 0000 C CNN +F 1 "4.5k" H 7350 2650 50 0000 C CNN +F 2 "" H 7350 2580 30 0000 C CNN +F 3 "" V 7350 2650 30 0000 C CNN + 1 7300 2600 + -1 0 0 1 +$EndComp +$Comp +L eSim_R R7 +U 1 1 5CE90A8F +P 7300 3400 +F 0 "R7" H 7350 3530 50 0000 C CNN +F 1 "7.5k" H 7350 3450 50 0000 C CNN +F 2 "" H 7350 3380 30 0000 C CNN +F 3 "" V 7350 3450 30 0000 C CNN + 1 7300 3400 + -1 0 0 1 +$EndComp +$Comp +L eSim_C C1 +U 1 1 5CE90A90 +P 6600 3200 +F 0 "C1" H 6625 3300 50 0000 L CNN +F 1 "30p" H 6625 3100 50 0000 L CNN +F 2 "" H 6638 3050 30 0000 C CNN +F 3 "" H 6600 3200 60 0000 C CNN + 1 6600 3200 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q16 +U 1 1 5CE90A91 +P 7050 3950 +F 0 "Q16" H 6950 4000 50 0000 R CNN +F 1 "eSim_NPN" H 7000 4100 50 0000 R CNN +F 2 "" H 7250 4050 29 0000 C CNN +F 3 "" H 7050 3950 60 0000 C CNN + 1 7050 3950 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q15 +U 1 1 5CE90A92 +P 7500 4300 +F 0 "Q15" H 7400 4350 50 0000 R CNN +F 1 "eSim_NPN" H 7450 4450 50 0000 R CNN +F 2 "" H 7700 4400 29 0000 C CNN +F 3 "" H 7500 4300 60 0000 C CNN + 1 7500 4300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_R R5 +U 1 1 5CE90A93 +P 7100 5050 +F 0 "R5" H 7150 5180 50 0000 C CNN +F 1 "50k" H 7150 5100 50 0000 C CNN +F 2 "" H 7150 5030 30 0000 C CNN +F 3 "" V 7150 5100 30 0000 C CNN + 1 7100 5050 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R6 +U 1 1 5CE90A94 +P 7550 5050 +F 0 "R6" H 7600 5180 50 0000 C CNN +F 1 "50" H 7600 5100 50 0000 C CNN +F 2 "" H 7600 5030 30 0000 C CNN +F 3 "" V 7600 5100 30 0000 C CNN + 1 7550 5050 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q17 +U 1 1 5CE90A95 +P 6800 4700 +F 0 "Q17" H 6700 4750 50 0000 R CNN +F 1 "eSim_NPN" H 6750 4850 50 0000 R CNN +F 2 "" H 7000 4800 29 0000 C CNN +F 3 "" H 6800 4700 60 0000 C CNN + 1 6800 4700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q18 +U 1 1 5CE90A96 +P 8800 2300 +F 0 "Q18" H 8700 2350 50 0000 R CNN +F 1 "eSim_NPN" H 8750 2450 50 0000 R CNN +F 2 "" H 9000 2400 29 0000 C CNN +F 3 "" H 8800 2300 60 0000 C CNN + 1 8800 2300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q20 +U 1 1 5CE90A97 +P 8400 2750 +F 0 "Q20" H 8300 2800 50 0000 R CNN +F 1 "eSim_NPN" H 8350 2900 50 0000 R CNN +F 2 "" H 8600 2850 29 0000 C CNN +F 3 "" H 8400 2750 60 0000 C CNN + 1 8400 2750 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R9 +U 1 1 5CE90A98 +P 8850 3000 +F 0 "R9" H 8900 3130 50 0000 C CNN +F 1 "25" H 8900 3050 50 0000 C CNN +F 2 "" H 8900 2980 30 0000 C CNN +F 3 "" V 8900 3050 30 0000 C CNN + 1 8850 3000 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R10 +U 1 1 5CE90A99 +P 8850 3750 +F 0 "R10" H 8900 3880 50 0000 C CNN +F 1 "50" H 8900 3800 50 0000 C CNN +F 2 "" H 8900 3730 30 0000 C CNN +F 3 "" V 8900 3800 30 0000 C CNN + 1 8850 3750 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q19 +U 1 1 5CE90A9A +P 8800 4600 +F 0 "Q19" H 8700 4650 50 0000 R CNN +F 1 "eSim_PNP" H 8750 4750 50 0000 R CNN +F 2 "" H 9000 4700 29 0000 C CNN +F 3 "" H 8800 4600 60 0000 C CNN + 1 8800 4600 + 1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 5CE90A9B +P 1900 1200 +F 0 "U1" H 1950 1300 30 0000 C CNN +F 1 "PORT" H 1900 1200 30 0000 C CNN +F 2 "" H 1900 1200 60 0000 C CNN +F 3 "" H 1900 1200 60 0000 C CNN + 3 1900 1200 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 5CE90A9C +P 4500 1050 +F 0 "U1" H 4550 1150 30 0000 C CNN +F 1 "PORT" H 4500 1050 30 0000 C CNN +F 2 "" H 4500 1050 60 0000 C CNN +F 3 "" H 4500 1050 60 0000 C CNN + 2 4500 1050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 7 1 5CE90A9D +P 9750 1650 +F 0 "U1" H 9800 1750 30 0000 C CNN +F 1 "PORT" H 9750 1650 30 0000 C CNN +F 2 "" H 9750 1650 60 0000 C CNN +F 3 "" H 9750 1650 60 0000 C CNN + 7 9750 1650 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 6 1 5CE90A9E +P 9750 3500 +F 0 "U1" H 9800 3600 30 0000 C CNN +F 1 "PORT" H 9750 3500 30 0000 C CNN +F 2 "" H 9750 3500 60 0000 C CNN +F 3 "" H 9750 3500 60 0000 C CNN + 6 9750 3500 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 4 1 5CE90A9F +P 9700 5550 +F 0 "U1" H 9750 5650 30 0000 C CNN +F 1 "PORT" H 9700 5550 30 0000 C CNN +F 2 "" H 9700 5550 60 0000 C CNN +F 3 "" H 9700 5550 60 0000 C CNN + 4 9700 5550 + -1 0 0 1 +$EndComp +Wire Wire Line + 3200 3200 3750 3200 +Wire Wire Line + 2750 2900 2750 2950 +Wire Wire Line + 2750 2950 2900 2950 +Wire Wire Line + 2900 2950 2900 3000 +Wire Wire Line + 4200 2900 4200 2950 +Wire Wire Line + 4200 2950 4050 2950 +Wire Wire Line + 4050 2950 4050 3000 +Wire Wire Line + 2900 3400 2900 4400 +Wire Wire Line + 2900 4000 3100 4000 +Wire Wire Line + 4200 2000 4200 2500 +Wire Wire Line + 4200 2350 2750 2350 +Wire Wire Line + 2750 2350 2750 2500 +Wire Wire Line + 5000 2000 4050 2000 +Connection ~ 4200 2350 +Connection ~ 4200 2000 +Wire Wire Line + 3750 2200 3750 2350 +Connection ~ 3750 2350 +Wire Wire Line + 3750 1800 3750 1650 +Wire Wire Line + 3400 1650 7600 1650 +Wire Wire Line + 3400 1650 3400 3800 +Wire Wire Line + 5300 1650 5300 1800 +Connection ~ 3750 1650 +Wire Wire Line + 5300 2200 5300 4500 +Wire Wire Line + 5300 3500 3650 3500 +Wire Wire Line + 3650 3500 3650 3200 +Connection ~ 3650 3200 +Connection ~ 2900 4000 +Wire Wire Line + 4050 4400 4050 3400 +Wire Wire Line + 3400 4200 3400 4600 +Wire Wire Line + 3200 4600 3750 4600 +Connection ~ 3400 4600 +Wire Wire Line + 4050 5100 4050 4800 +Wire Wire Line + 3600 5100 3600 4600 +Connection ~ 3600 4600 +Wire Wire Line + 2900 5100 2900 4800 +Wire Wire Line + 2900 5400 2900 5550 +Wire Wire Line + 2900 5550 9450 5550 +Wire Wire Line + 4050 5550 4050 5400 +Wire Wire Line + 3600 5400 3600 5550 +Connection ~ 3600 5550 +Wire Wire Line + 6100 4700 5600 4700 +Wire Wire Line + 6400 2950 6400 4500 +Wire Wire Line + 6400 4250 5900 4250 +Wire Wire Line + 5900 4250 5900 4700 +Connection ~ 5900 4700 +Wire Wire Line + 5300 5100 5300 4900 +Wire Wire Line + 5300 5550 5300 5400 +Connection ~ 4050 5550 +Wire Wire Line + 6400 5550 6400 4900 +Connection ~ 5300 5550 +Connection ~ 5300 3500 +Wire Wire Line + 6400 1650 6400 1750 +Connection ~ 5300 1650 +Wire Wire Line + 6400 2150 6400 2650 +Connection ~ 6400 4250 +Wire Wire Line + 6700 1950 7300 1950 +Wire Wire Line + 7000 1950 7000 2250 +Wire Wire Line + 7000 2250 6400 2250 +Connection ~ 6400 2250 +Wire Wire Line + 7600 1650 7600 1750 +Connection ~ 6400 1650 +Connection ~ 7000 1950 +Wire Wire Line + 7600 3250 7600 4100 +Wire Wire Line + 7600 3450 7400 3450 +Wire Wire Line + 6900 3450 7100 3450 +Wire Wire Line + 6900 2650 6900 3450 +Wire Wire Line + 6900 3050 7300 3050 +Wire Wire Line + 7600 2150 7600 2850 +Wire Wire Line + 7600 2650 7400 2650 +Wire Wire Line + 7100 2650 6900 2650 +Connection ~ 6900 3050 +Connection ~ 7600 2650 +Wire Wire Line + 7300 4300 7150 4300 +Wire Wire Line + 7150 4150 7150 4950 +Connection ~ 7600 3450 +Wire Wire Line + 7600 3700 7150 3700 +Wire Wire Line + 7150 3700 7150 3750 +Connection ~ 7600 3700 +Wire Wire Line + 6600 3050 6600 2450 +Wire Wire Line + 6600 2450 7600 2450 +Connection ~ 7600 2450 +Wire Wire Line + 6600 3350 6600 3950 +Wire Wire Line + 4050 3950 6850 3950 +Wire Wire Line + 6700 3950 6700 4500 +Connection ~ 6700 3950 +Wire Wire Line + 6700 4900 6700 5550 +Connection ~ 6400 5550 +Connection ~ 7150 4300 +Wire Wire Line + 7600 4950 7600 4500 +Wire Wire Line + 7000 4700 7600 4700 +Connection ~ 7600 4700 +Wire Wire Line + 7600 5550 7600 5250 +Connection ~ 6700 5550 +Wire Wire Line + 7150 5250 7150 5550 +Connection ~ 7150 5550 +Wire Wire Line + 7600 2300 8600 2300 +Wire Wire Line + 8300 2300 8300 2550 +Connection ~ 8300 2300 +Connection ~ 7600 2300 +Wire Wire Line + 8900 2100 8900 1650 +Wire Wire Line + 7550 1650 9500 1650 +Connection ~ 7550 1650 +Connection ~ 8900 1650 +Wire Wire Line + 8900 2500 8900 2900 +Wire Wire Line + 8900 2750 8600 2750 +Connection ~ 8900 2750 +Wire Wire Line + 8300 2950 8300 3350 +Wire Wire Line + 8300 3350 8900 3350 +Wire Wire Line + 8900 3200 8900 3650 +Wire Wire Line + 8900 4400 8900 3950 +Connection ~ 8900 3350 +Wire Wire Line + 8900 3500 9500 3500 +Connection ~ 8900 3500 +Wire Wire Line + 8900 5550 8900 4800 +Connection ~ 7600 5550 +Connection ~ 8900 5550 +Wire Wire Line + 8600 4600 8100 4600 +Wire Wire Line + 8100 4600 8100 3850 +Wire Wire Line + 8100 3850 7600 3850 +Connection ~ 7600 3850 +Connection ~ 4050 3950 +Connection ~ 6600 3950 +Wire Wire Line + 4500 2700 4750 2700 +Wire Wire Line + 4750 2700 4750 1050 +Wire Wire Line + 2450 2700 2150 2700 +Wire Wire Line + 2150 2700 2150 1200 +$Comp +L PORT U1 +U 5 1 5CE90AA0 +P 1850 4850 +F 0 "U1" H 1900 4950 30 0000 C CNN +F 1 "PORT" H 1850 4850 30 0000 C CNN +F 2 "" H 1850 4850 60 0000 C CNN +F 3 "" H 1850 4850 60 0000 C CNN + 5 1850 4850 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 1 1 5CE90AA1 +P 1850 5100 +F 0 "U1" H 1900 5200 30 0000 C CNN +F 1 "PORT" H 1850 5100 30 0000 C CNN +F 2 "" H 1850 5100 60 0000 C CNN +F 3 "" H 1850 5100 60 0000 C CNN + 1 1850 5100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2100 5100 2700 5100 +Wire Wire Line + 2700 5100 2700 5050 +Wire Wire Line + 2700 5050 2900 5050 +Connection ~ 2900 5050 +Wire Wire Line + 2100 4850 2550 4850 +Wire Wire Line + 2550 4850 2550 4900 +Wire Wire Line + 2550 4900 4050 4900 +Connection ~ 4050 4900 +$Comp +L PORT U1 +U 8 1 5CE9368F +P 9600 6050 +F 0 "U1" H 9650 6150 30 0000 C CNN +F 1 "PORT" H 9600 6050 30 0000 C CNN +F 2 "" H 9600 6050 60 0000 C CNN +F 3 "" H 9600 6050 60 0000 C CNN + 8 9600 6050 + -1 0 0 1 +$EndComp +Wire Wire Line + 9350 6050 9100 6050 +NoConn ~ 9100 6050 +$EndSCHEMATC diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.sub b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.sub new file mode 100644 index 000000000..fa8d27b16 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741.sub @@ -0,0 +1,40 @@ +* Subcircuit lm_741 +.subckt lm_741 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? +* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir +.include npn_1.lib +.include pnp_1.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 +q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 +q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 +q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 +q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 +q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 +q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 +r1 net-_q7-pad3_ net-_q12-pad3_ 1k +r2 net-_q3-pad3_ net-_q12-pad3_ 50k +r3 net-_q8-pad3_ net-_q12-pad3_ 1k +q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 +q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 +r4 net-_q13-pad3_ net-_q12-pad3_ 5k +r11 net-_q10-pad1_ net-_q12-pad1_ 39k +q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 +r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k +r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k +c1 net-_c1-pad1_ net-_c1-pad2_ 30p +q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 +q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 +r5 net-_q15-pad2_ net-_q12-pad3_ 50k +r6 net-_q15-pad3_ net-_q12-pad3_ 50 +q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 +q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 +q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 +r9 net-_q18-pad3_ net-_q20-pad3_ 25 +r10 net-_q20-pad3_ net-_q19-pad3_ 50 +q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 +* Control Statements + +.ends lm_741 \ No newline at end of file diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741_Previous_Values.xml b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741_Previous_Values.xml new file mode 100644 index 000000000..b61322bb5 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/lm_741_Previous_Values.xml @@ -0,0 +1 @@ +C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/npn_1.lib b/library/SubcircuitLibrary/TINA_TI_Rectifier/npn_1.lib new file mode 100644 index 000000000..a1818ed83 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/npn_1.lib @@ -0,0 +1,29 @@ +.model npn_1 NPN( ++ Vtf=1.7 ++ Cjc=0.5p ++ Nc=2 ++ Tr=46.91n ++ Ne=1.307 ++ Cje=0.5p ++ Isc=0 ++ Xtb=1.5 ++ Rb=500 ++ Rc=1 ++ Tf=411.1p ++ Xti=3 ++ Ikr=0 ++ Bf=125 ++ Fc=.5 ++ Ise=14.34f ++ Br=6.092 ++ Ikf=.2847 ++ Mje=.377 ++ Mjc=.3416 ++ Vaf=74.03 ++ Vjc=.75 ++ Vje=.75 ++ Xtf=3 ++ Itf=.6 ++ Is=14.34f ++ Eg=1.11 +) \ No newline at end of file diff --git a/library/SubcircuitLibrary/TINA_TI_Rectifier/pnp_1.lib b/library/SubcircuitLibrary/TINA_TI_Rectifier/pnp_1.lib new file mode 100644 index 000000000..a4ee06da6 --- /dev/null +++ b/library/SubcircuitLibrary/TINA_TI_Rectifier/pnp_1.lib @@ -0,0 +1,29 @@ +.model pnp_1 PNP( ++ Vtf=1.7 ++ Cjc=1.5p ++ Nc=2 ++ Tr=46.91n ++ Ne=1.307 ++ Cje=0.3p ++ Isc=0 ++ Xtb=1.5 ++ Rb=250 ++ Rc=1 ++ Tf=411.1p ++ Xti=3 ++ Ikr=0 ++ Bf=25 ++ Fc=.5 ++ Ise=14.34f ++ Br=6.092 ++ Ikf=.2847 ++ Mje=.377 ++ Mjc=.3416 ++ Vaf=74.03 ++ Vjc=.75 ++ Vje=.75 ++ Xtf=3 ++ Itf=.6 ++ Is=14.34f ++ Eg=1.11 +) \ No newline at end of file From b28dd80353d10c911983de6b4ede75f74f5bbf8a Mon Sep 17 00:00:00 2001 From: Vanshika Tanwar Date: Sun, 27 Nov 2022 20:05:04 +0530 Subject: [PATCH 06/11] Log Amplifier IC --- .../LOG_Amplifier/LOG_Amplifier-cache.lib | 135 ++++ .../LOG_Amplifier/LOG_Amplifier.cir | 18 + .../LOG_Amplifier/LOG_Amplifier.cir.out | 21 + .../LOG_Amplifier/LOG_Amplifier.pro | 71 ++ .../LOG_Amplifier/LOG_Amplifier.sch | 338 +++++++++ .../LOG_Amplifier/LOG_Amplifier.sub | 15 + .../LOG_Amplifier_Previous_Values.xml | 1 + Failed_Subcircuits/LOG_Amplifier/NPN.lib | 4 + Failed_Subcircuits/LOG_Amplifier/PNP.lib | 4 + Failed_Subcircuits/LOG_Amplifier/README.md | 35 + Failed_Subcircuits/LOG_Amplifier/analysis | 1 + .../LOG_Amplifier/lm_741-cache.lib | 119 +++ Failed_Subcircuits/LOG_Amplifier/lm_741.cir | 43 ++ .../LOG_Amplifier/lm_741.cir.out | 46 ++ Failed_Subcircuits/LOG_Amplifier/lm_741.pro | 44 ++ Failed_Subcircuits/LOG_Amplifier/lm_741.sch | 697 ++++++++++++++++++ Failed_Subcircuits/LOG_Amplifier/lm_741.sub | 40 + .../LOG_Amplifier/lm_741_Previous_Values.xml | 1 + Failed_Subcircuits/LOG_Amplifier/npn_1.lib | 29 + Failed_Subcircuits/LOG_Amplifier/pnp_1.lib | 29 + 20 files changed, 1691 insertions(+) create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml create mode 100644 Failed_Subcircuits/LOG_Amplifier/NPN.lib create mode 100644 Failed_Subcircuits/LOG_Amplifier/PNP.lib create mode 100644 Failed_Subcircuits/LOG_Amplifier/README.md create mode 100644 Failed_Subcircuits/LOG_Amplifier/analysis create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.cir create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.pro create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.sch create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.sub create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml create mode 100644 Failed_Subcircuits/LOG_Amplifier/npn_1.lib create mode 100644 Failed_Subcircuits/LOG_Amplifier/pnp_1.lib diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib new file mode 100644 index 000000000..893d14f93 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib @@ -0,0 +1,135 @@ +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_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_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 +# +# lm_741 +# +DEF lm_741 X 0 40 Y Y 1 F N +F0 "X" -200 0 60 H V C CNN +F1 "lm_741" -100 -250 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N +X off_null 1 -50 400 200 D 50 38 1 1 I +X inv 2 -550 150 200 R 50 38 1 1 I +X non_inv 3 -550 -100 200 R 50 38 1 1 I +X v_neg 4 -150 -450 200 U 50 38 1 1 I +X off_null 5 50 350 200 D 50 38 1 1 I +X out 6 550 0 200 L 50 38 1 1 O +X v_pos 7 -150 450 200 D 50 38 1 1 I +X NC 8 150 -300 200 U 50 38 1 1 N +ENDDRAW +ENDDEF +# +#End Library diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir new file mode 100644 index 000000000..219871a98 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir @@ -0,0 +1,18 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\LOG_Amplifier\LOG_Amplifier.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 9/11/2022 7:52:59 PM + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +X1 ? /Inp1 GND /Vneg ? Net-_Q1-Pad3_ /Vpos ? lm_741 +X2 ? /Inp2 GND /Vneg ? /Vout /Vpos ? lm_741 +Q1 /Inp1 Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN +Q2 /Inp2 GND Net-_Q1-Pad3_ eSim_NPN +R1 /Vout Net-_Q1-Pad2_ 3.2k +R2 Net-_Q1-Pad2_ GND 5k +C1 /Vout /Inp2 3.4u +U1 /Inp1 /NC /Vout /Vpos /Vneg GND /NC /Inp2 PORT + +.end diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out new file mode 100644 index 000000000..3f79ec5ff --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out @@ -0,0 +1,21 @@ +* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir + +.include lm_741.sub +.include NPN.lib +x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741 +x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741 +q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222 +q2 /inp2 gnd net-_q1-pad3_ Q2N2222 +r1 /vout net-_q1-pad2_ 3.2k +r2 net-_q1-pad2_ gnd 5k +c1 /vout /inp2 3.4u +* u1 /inp1 /nc /vout /vpos /vneg gnd /nc /inp2 port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro new file mode 100644 index 000000000..d7f78c3b4 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro @@ -0,0 +1,71 @@ +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 diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch new file mode 100644 index 000000000..b1af81c1a --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch @@ -0,0 +1,338 @@ +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:LOG_Amplifier-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 lm_741 X1 +U 1 1 631DA9B4 +P 4100 3400 +F 0 "X1" H 3900 3400 60 0000 C CNN +F 1 "lm_741" H 4000 3150 60 0000 C CNN +F 2 "" H 4100 3400 60 0000 C CNN +F 3 "" H 4100 3400 60 0000 C CNN + 1 4100 3400 + 1 0 0 -1 +$EndComp +$Comp +L lm_741 X2 +U 1 1 631DACD9 +P 6800 3400 +F 0 "X2" H 6600 3400 60 0000 C CNN +F 1 "lm_741" H 6700 3150 60 0000 C CNN +F 2 "" H 6800 3400 60 0000 C CNN +F 3 "" H 6800 3400 60 0000 C CNN + 1 6800 3400 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q1 +U 1 1 631DAD47 +P 4950 2900 +F 0 "Q1" H 4850 2950 50 0000 R CNN +F 1 "eSim_NPN" H 4900 3050 50 0000 R CNN +F 2 "" H 5150 3000 29 0000 C CNN +F 3 "" H 4950 2900 60 0000 C CNN + 1 4950 2900 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q2 +U 1 1 631DAD9B +P 5600 2900 +F 0 "Q2" H 5500 2950 50 0000 R CNN +F 1 "eSim_NPN" H 5550 3050 50 0000 R CNN +F 2 "" H 5800 3000 29 0000 C CNN +F 3 "" H 5600 2900 60 0000 C CNN + 1 5600 2900 + 0 1 -1 0 +$EndComp +$Comp +L resistor R1 +U 1 1 631DB085 +P 7450 3700 +F 0 "R1" H 7500 3830 50 0000 C CNN +F 1 "3.2k" H 7500 3650 50 0000 C CNN +F 2 "" H 7500 3680 30 0000 C CNN +F 3 "" V 7500 3750 30 0000 C CNN + 1 7450 3700 + 0 1 1 0 +$EndComp +$Comp +L resistor R2 +U 1 1 631DB0C5 +P 7450 4200 +F 0 "R2" H 7500 4330 50 0000 C CNN +F 1 "5k" H 7500 4150 50 0000 C CNN +F 2 "" H 7500 4180 30 0000 C CNN +F 3 "" V 7500 4250 30 0000 C CNN + 1 7450 4200 + 0 1 1 0 +$EndComp +$Comp +L GND #PWR01 +U 1 1 631DB394 +P 6250 3700 +F 0 "#PWR01" H 6250 3450 50 0001 C CNN +F 1 "GND" H 6250 3550 50 0000 C CNN +F 2 "" H 6250 3700 50 0001 C CNN +F 3 "" H 6250 3700 50 0001 C CNN + 1 6250 3700 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR02 +U 1 1 631DB3B1 +P 3350 3700 +F 0 "#PWR02" H 3350 3450 50 0001 C CNN +F 1 "GND" H 3350 3550 50 0000 C CNN +F 2 "" H 3350 3700 50 0001 C CNN +F 3 "" H 3350 3700 50 0001 C CNN + 1 3350 3700 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR03 +U 1 1 631DB3CE +P 5600 3300 +F 0 "#PWR03" H 5600 3050 50 0001 C CNN +F 1 "GND" H 5600 3150 50 0000 C CNN +F 2 "" H 5600 3300 50 0001 C CNN +F 3 "" H 5600 3300 50 0001 C CNN + 1 5600 3300 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C1 +U 1 1 631DB439 +P 7050 2400 +F 0 "C1" H 7075 2500 50 0000 L CNN +F 1 "3.4u" H 7075 2300 50 0000 L CNN +F 2 "" H 7088 2250 30 0000 C CNN +F 3 "" H 7050 2400 60 0000 C CNN + 1 7050 2400 + 0 1 1 0 +$EndComp +Wire Wire Line + 5150 2800 5400 2800 +Wire Wire Line + 6100 3250 6250 3250 +Wire Wire Line + 6100 2050 6100 3250 +Wire Wire Line + 5800 2800 6100 2800 +Connection ~ 6100 2800 +Wire Wire Line + 7350 3400 8100 3400 +Wire Wire Line + 7500 3600 7500 3400 +Connection ~ 7500 3400 +Wire Wire Line + 7500 4100 7500 3900 +Wire Wire Line + 4650 3400 5300 3400 +Wire Wire Line + 5300 3400 5300 2800 +Connection ~ 5300 2800 +Wire Wire Line + 4750 2800 3400 2800 +Wire Wire Line + 3550 3250 3550 2800 +Connection ~ 3550 2800 +Wire Wire Line + 4950 3100 4950 4000 +Wire Wire Line + 4950 4000 7500 4000 +Connection ~ 7500 4000 +Wire Wire Line + 5600 3100 5600 3300 +Wire Wire Line + 3550 3500 3350 3500 +Wire Wire Line + 3350 3500 3350 3700 +Wire Wire Line + 7500 4400 7500 4550 +Wire Wire Line + 6100 2400 6900 2400 +Wire Wire Line + 7200 2400 7950 2400 +Wire Wire Line + 7950 2400 7950 3400 +Connection ~ 7950 3400 +Connection ~ 6100 2400 +Wire Wire Line + 6650 1500 6650 2950 +Wire Wire Line + 3950 2950 3950 1500 +Wire Wire Line + 3950 1500 7250 1500 +Connection ~ 6650 1500 +Wire Wire Line + 3950 3850 3950 5050 +Wire Wire Line + 3950 5050 7150 5050 +Wire Wire Line + 6650 3850 6650 5050 +Connection ~ 6650 5050 +$Comp +L PORT U1 +U 1 1 631DBAA4 +P 3150 2800 +F 0 "U1" H 3200 2900 30 0000 C CNN +F 1 "PORT" H 3150 2800 30 0000 C CNN +F 2 "" H 3150 2800 60 0000 C CNN +F 3 "" H 3150 2800 60 0000 C CNN + 1 3150 2800 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 7 1 631DBB47 +P 8300 1500 +F 0 "U1" H 8350 1600 30 0000 C CNN +F 1 "PORT" H 8300 1500 30 0000 C CNN +F 2 "" H 8300 1500 60 0000 C CNN +F 3 "" H 8300 1500 60 0000 C CNN + 7 8300 1500 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 5 1 631DBB7E +P 7400 5050 +F 0 "U1" H 7450 5150 30 0000 C CNN +F 1 "PORT" H 7400 5050 30 0000 C CNN +F 2 "" H 7400 5050 60 0000 C CNN +F 3 "" H 7400 5050 60 0000 C CNN + 5 7400 5050 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 4 1 631DBC23 +P 7500 1500 +F 0 "U1" H 7550 1600 30 0000 C CNN +F 1 "PORT" H 7500 1500 30 0000 C CNN +F 2 "" H 7500 1500 60 0000 C CNN +F 3 "" H 7500 1500 60 0000 C CNN + 4 7500 1500 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 631DBCC0 +P 8350 3400 +F 0 "U1" H 8400 3500 30 0000 C CNN +F 1 "PORT" H 8350 3400 30 0000 C CNN +F 2 "" H 8350 3400 60 0000 C CNN +F 3 "" H 8350 3400 60 0000 C CNN + 3 8350 3400 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 6 1 631DBD7A +P 8400 4550 +F 0 "U1" H 8450 4650 30 0000 C CNN +F 1 "PORT" H 8400 4550 30 0000 C CNN +F 2 "" H 8400 4550 60 0000 C CNN +F 3 "" H 8400 4550 60 0000 C CNN + 6 8400 4550 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 8 1 631DBDEB +P 3400 2050 +F 0 "U1" H 3450 2150 30 0000 C CNN +F 1 "PORT" H 3400 2050 30 0000 C CNN +F 2 "" H 3400 2050 60 0000 C CNN +F 3 "" H 3400 2050 60 0000 C CNN + 8 3400 2050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 631DBE44 +P 8300 1250 +F 0 "U1" H 8350 1350 30 0000 C CNN +F 1 "PORT" H 8300 1250 30 0000 C CNN +F 2 "" H 8300 1250 60 0000 C CNN +F 3 "" H 8300 1250 60 0000 C CNN + 2 8300 1250 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3650 2050 6100 2050 +Wire Wire Line + 7500 4550 8150 4550 +Wire Wire Line + 6250 3500 6250 3700 +NoConn ~ 8550 1250 +NoConn ~ 8550 1500 +Text Label 8550 1250 0 60 ~ 0 +NC +Text Label 8550 1500 0 60 ~ 0 +NC +Text Label 7000 5050 0 60 ~ 0 +Vneg +Text Label 7050 1500 0 60 ~ 0 +Vpos +Text Label 8000 3400 0 60 ~ 0 +Vout +Text Label 8000 4550 0 60 ~ 0 +Gnd +Text Label 3400 2800 0 60 ~ 0 +Inp1 +Text Label 3650 2050 0 60 ~ 0 +Inp2 +$EndSCHEMATC diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub new file mode 100644 index 000000000..4fc6b46ce --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub @@ -0,0 +1,15 @@ +* Subcircuit LOG_Amplifier +.subckt LOG_Amplifier /inp1 /nc /vout /vpos /vneg gnd /nc /inp2 +* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir +.include lm_741.sub +.include NPN.lib +x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741 +x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741 +q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222 +q2 /inp2 gnd net-_q1-pad3_ Q2N2222 +r1 /vout net-_q1-pad2_ 3.2k +r2 net-_q1-pad2_ gnd 5k +c1 /vout /inp2 3.4u +* Control Statements + +.ends LOG_Amplifier \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml new file mode 100644 index 000000000..db2cbdf01 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml @@ -0,0 +1 @@ +C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741C:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/NPN.lib b/Failed_Subcircuits/LOG_Amplifier/NPN.lib new file mode 100644 index 000000000..6509fe7ab --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/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=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p ++ Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p ++ Itf=.6 Vtf=1.7 Xtf=3 Rb=10) diff --git a/Failed_Subcircuits/LOG_Amplifier/PNP.lib b/Failed_Subcircuits/LOG_Amplifier/PNP.lib new file mode 100644 index 000000000..7edda0eab --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/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/Failed_Subcircuits/LOG_Amplifier/README.md b/Failed_Subcircuits/LOG_Amplifier/README.md new file mode 100644 index 000000000..f204e8a65 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/README.md @@ -0,0 +1,35 @@ +# LOG104 Log Amplifier IC + +Log Amplifier is a general purpose 8-Pin IC. It's basically a precision logarithmic and log ratio amplifier . It is the circuit that is used to calculate Logarithm or log ratio of the input current values with respect to the reference current. + +## Usage/Examples + +It is used to perform mathematical operations like exponentiation,multiplication and division. + +It is used as a True RMS Converter. + +It is used in the communications, analytical and medical industries. + +It is also used for absorbance and optical density measurement. + +It is used as a photodiode signal compression ampplifier + +It is used also for analog signal compression in front of analog-to-digital (A/D) converters. +## Documentation + +To know the details of LOG104 IC please refer to this link [LOG104_datasheet.](https://www.ti.com/lit/ds/symlink/log104.pdf?ts=1669552722002&ref_url=https%253A%252F%252Fwww.google.com%252F) + +## Error Observed + +The output waveform is not coming correct at the time of simulation according to the mathematical calculations. + +## Possible Solution + +The designer is suggested to perform the analysis as well as testing of each different block seperately first of the circuit or if in case it is needed, a block level of the IC should have to be redesigned in order to obtain the desired results. + +## Contributor + +Name: Vanshika Tanwar +Email: vanshikatanwar30@gmail.com +Year: 2022 +Position: FOSSEE Summer Fellowship Intern 2022 diff --git a/Failed_Subcircuits/LOG_Amplifier/analysis b/Failed_Subcircuits/LOG_Amplifier/analysis new file mode 100644 index 000000000..ebd5c0a94 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00 \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib b/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib new file mode 100644 index 000000000..04e3fecd3 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib @@ -0,0 +1,119 @@ +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 +$FPLIST + C_* +$ENDFPLIST +DRAW +P 2 0 1 20 -80 -30 80 -30 N +P 2 0 1 20 -80 30 80 30 N +X ~ 1 0 150 110 D 40 40 1 1 P +X ~ 2 0 -150 110 U 40 40 1 1 P +ENDDRAW +ENDDEF +# +# eSim_NPN +# +DEF eSim_NPN Q 0 0 Y N 1 F N +F0 "Q" -100 50 50 H V R CNN +F1 "eSim_NPN" -50 150 50 H V R CNN +F2 "" 200 100 29 H V C CNN +F3 "" 0 0 60 H V C CNN +ALIAS BC547 Q2N2222 +DRAW +C 50 0 111 0 1 10 N +P 2 0 1 0 25 25 100 100 N +P 3 0 1 0 25 -25 100 -100 100 -100 N +P 3 0 1 20 25 75 25 -75 25 -75 N +P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F +X C 1 100 200 100 D 50 50 1 1 C +X B 2 -200 0 225 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 E +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 C +X B 2 -200 0 225 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 E +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 +$FPLIST + R_* + Resistor_* +$ENDFPLIST +DRAW +S 150 10 -50 90 0 1 10 N +X ~ 1 -100 50 50 R 60 60 1 1 P +X ~ 2 200 50 50 L 60 60 1 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir new file mode 100644 index 000000000..4a5917ea6 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir @@ -0,0 +1,43 @@ +* C:\Users\malli\eSim\src\SubcircuitLibrary\lm_741\lm_741.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 05/25/19 19:37:28 + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN +Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN +Q6 Net-_Q3-Pad2_ Net-_Q13-Pad1_ Net-_Q1-Pad3_ eSim_PNP +Q5 Net-_C1-Pad2_ Net-_Q13-Pad1_ Net-_Q2-Pad3_ eSim_PNP +Q3 Net-_Q10-Pad3_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN +Q4 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q9 Net-_Q13-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q8 Net-_C1-Pad2_ Net-_Q3-Pad3_ Net-_Q8-Pad3_ eSim_NPN +Q7 Net-_Q3-Pad2_ Net-_Q3-Pad3_ Net-_Q7-Pad3_ eSim_NPN +R1 Net-_Q7-Pad3_ Net-_Q12-Pad3_ 1k +R2 Net-_Q3-Pad3_ Net-_Q12-Pad3_ 50k +R3 Net-_Q8-Pad3_ Net-_Q12-Pad3_ 1k +Q12 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_NPN +Q13 Net-_Q13-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad3_ eSim_NPN +R4 Net-_Q13-Pad3_ Net-_Q12-Pad3_ 5k +R11 Net-_Q10-Pad1_ Net-_Q12-Pad1_ 39k +Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q11 Net-_C1-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q14 Net-_C1-Pad1_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN +R8 Net-_C1-Pad1_ Net-_Q14-Pad2_ 4.5k +R7 Net-_Q14-Pad3_ Net-_Q14-Pad2_ 7.5k +C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p +Q16 Net-_Q14-Pad3_ Net-_C1-Pad2_ Net-_Q15-Pad2_ eSim_NPN +Q15 Net-_Q14-Pad3_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN +R5 Net-_Q15-Pad2_ Net-_Q12-Pad3_ 50k +R6 Net-_Q15-Pad3_ Net-_Q12-Pad3_ 50 +Q17 Net-_C1-Pad2_ Net-_Q15-Pad3_ Net-_Q12-Pad3_ eSim_NPN +Q18 Net-_Q10-Pad3_ Net-_C1-Pad1_ Net-_Q18-Pad3_ eSim_NPN +Q20 Net-_C1-Pad1_ Net-_Q18-Pad3_ Net-_Q20-Pad3_ eSim_NPN +R9 Net-_Q18-Pad3_ Net-_Q20-Pad3_ 25 +R10 Net-_Q20-Pad3_ Net-_Q19-Pad3_ 50 +Q19 Net-_Q12-Pad3_ Net-_Q14-Pad3_ Net-_Q19-Pad3_ eSim_PNP +U1 Net-_Q7-Pad3_ Net-_Q2-Pad2_ Net-_Q1-Pad2_ Net-_Q12-Pad3_ Net-_Q8-Pad3_ Net-_Q20-Pad3_ Net-_Q10-Pad3_ ? PORT + +.end diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out new file mode 100644 index 000000000..a00bd86af --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out @@ -0,0 +1,46 @@ +* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir + +.include npn_1.lib +.include pnp_1.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 +q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 +q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 +q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 +q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 +q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 +q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 +r1 net-_q7-pad3_ net-_q12-pad3_ 1k +r2 net-_q3-pad3_ net-_q12-pad3_ 50k +r3 net-_q8-pad3_ net-_q12-pad3_ 1k +q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 +q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 +r4 net-_q13-pad3_ net-_q12-pad3_ 5k +r11 net-_q10-pad1_ net-_q12-pad1_ 39k +q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 +r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k +r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k +c1 net-_c1-pad1_ net-_c1-pad2_ 30p +q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 +q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 +r5 net-_q15-pad2_ net-_q12-pad3_ 50k +r6 net-_q15-pad3_ net-_q12-pad3_ 50 +q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 +q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 +q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 +r9 net-_q18-pad3_ net-_q20-pad3_ 25 +r10 net-_q20-pad3_ net-_q19-pad3_ 50 +q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 +* u1 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.pro b/Failed_Subcircuits/LOG_Amplifier/lm_741.pro new file mode 100644 index 000000000..b56de1b0f --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741.pro @@ -0,0 +1,44 @@ +update=Fri Jun 7 21:53:51 2019 +version=1 +last_client=eeschema +[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=power +LibName2=eSim_Analog +LibName3=eSim_Devices +LibName4=eSim_Digital +LibName5=eSim_Hybrid +LibName6=eSim_Miscellaneous +LibName7=eSim_Plot +LibName8=eSim_Power +LibName9=eSim_User +LibName10=eSim_Sources +LibName11=eSim_Subckt diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.sch b/Failed_Subcircuits/LOG_Amplifier/lm_741.sch new file mode 100644 index 000000000..b017fd2b8 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741.sch @@ -0,0 +1,697 @@ +EESchema Schematic File Version 2 +LIBS:power +LIBS:eSim_Analog +LIBS:eSim_Devices +LIBS:eSim_Digital +LIBS:eSim_Hybrid +LIBS:eSim_Miscellaneous +LIBS:eSim_Plot +LIBS:eSim_Power +LIBS:eSim_PSpice +LIBS:eSim_Sources +LIBS:eSim_Subckt +LIBS:eSim_User +LIBS:lm_741-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_NPN Q1 +U 1 1 5CE90A7B +P 2650 2700 +F 0 "Q1" H 2550 2750 50 0000 R CNN +F 1 "eSim_NPN" H 2600 2850 50 0000 R CNN +F 2 "" H 2850 2800 29 0000 C CNN +F 3 "" H 2650 2700 60 0000 C CNN + 1 2650 2700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q2 +U 1 1 5CE90A7C +P 4300 2700 +F 0 "Q2" H 4200 2750 50 0000 R CNN +F 1 "eSim_NPN" H 4250 2850 50 0000 R CNN +F 2 "" H 4500 2800 29 0000 C CNN +F 3 "" H 4300 2700 60 0000 C CNN + 1 4300 2700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q6 +U 1 1 5CE90A7D +P 3000 3200 +F 0 "Q6" H 2900 3250 50 0000 R CNN +F 1 "eSim_PNP" H 2950 3350 50 0000 R CNN +F 2 "" H 3200 3300 29 0000 C CNN +F 3 "" H 3000 3200 60 0000 C CNN + 1 3000 3200 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q5 +U 1 1 5CE90A7E +P 3950 3200 +F 0 "Q5" H 3850 3250 50 0000 R CNN +F 1 "eSim_PNP" H 3900 3350 50 0000 R CNN +F 2 "" H 4150 3300 29 0000 C CNN +F 3 "" H 3950 3200 60 0000 C CNN + 1 3950 3200 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q3 +U 1 1 5CE90A7F +P 3300 4000 +F 0 "Q3" H 3200 4050 50 0000 R CNN +F 1 "eSim_NPN" H 3250 4150 50 0000 R CNN +F 2 "" H 3500 4100 29 0000 C CNN +F 3 "" H 3300 4000 60 0000 C CNN + 1 3300 4000 + 1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q4 +U 1 1 5CE90A80 +P 3850 2000 +F 0 "Q4" H 3750 2050 50 0000 R CNN +F 1 "eSim_PNP" H 3800 2150 50 0000 R CNN +F 2 "" H 4050 2100 29 0000 C CNN +F 3 "" H 3850 2000 60 0000 C CNN + 1 3850 2000 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q9 +U 1 1 5CE90A81 +P 5200 2000 +F 0 "Q9" H 5100 2050 50 0000 R CNN +F 1 "eSim_PNP" H 5150 2150 50 0000 R CNN +F 2 "" H 5400 2100 29 0000 C CNN +F 3 "" H 5200 2000 60 0000 C CNN + 1 5200 2000 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q8 +U 1 1 5CE90A82 +P 3950 4600 +F 0 "Q8" H 3850 4650 50 0000 R CNN +F 1 "eSim_NPN" H 3900 4750 50 0000 R CNN +F 2 "" H 4150 4700 29 0000 C CNN +F 3 "" H 3950 4600 60 0000 C CNN + 1 3950 4600 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q7 +U 1 1 5CE90A83 +P 3000 4600 +F 0 "Q7" H 2900 4650 50 0000 R CNN +F 1 "eSim_NPN" H 2950 4750 50 0000 R CNN +F 2 "" H 3200 4700 29 0000 C CNN +F 3 "" H 3000 4600 60 0000 C CNN + 1 3000 4600 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R1 +U 1 1 5CE90A84 +P 2850 5200 +F 0 "R1" H 2900 5330 50 0000 C CNN +F 1 "1k" H 2900 5250 50 0000 C CNN +F 2 "" H 2900 5180 30 0000 C CNN +F 3 "" V 2900 5250 30 0000 C CNN + 1 2850 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R2 +U 1 1 5CE90A85 +P 3550 5200 +F 0 "R2" H 3600 5330 50 0000 C CNN +F 1 "50k" H 3600 5250 50 0000 C CNN +F 2 "" H 3600 5180 30 0000 C CNN +F 3 "" V 3600 5250 30 0000 C CNN + 1 3550 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R3 +U 1 1 5CE90A86 +P 4000 5200 +F 0 "R3" H 4050 5330 50 0000 C CNN +F 1 "1k" H 4050 5250 50 0000 C CNN +F 2 "" H 4050 5180 30 0000 C CNN +F 3 "" V 4050 5250 30 0000 C CNN + 1 4000 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q12 +U 1 1 5CE90A87 +P 6300 4700 +F 0 "Q12" H 6200 4750 50 0000 R CNN +F 1 "eSim_NPN" H 6250 4850 50 0000 R CNN +F 2 "" H 6500 4800 29 0000 C CNN +F 3 "" H 6300 4700 60 0000 C CNN + 1 6300 4700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q13 +U 1 1 5CE90A88 +P 5400 4700 +F 0 "Q13" H 5300 4750 50 0000 R CNN +F 1 "eSim_NPN" H 5350 4850 50 0000 R CNN +F 2 "" H 5600 4800 29 0000 C CNN +F 3 "" H 5400 4700 60 0000 C CNN + 1 5400 4700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R4 +U 1 1 5CE90A89 +P 5250 5200 +F 0 "R4" H 5300 5330 50 0000 C CNN +F 1 "5k" H 5300 5250 50 0000 C CNN +F 2 "" H 5300 5180 30 0000 C CNN +F 3 "" V 5300 5250 30 0000 C CNN + 1 5250 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R11 +U 1 1 5CE90A8A +P 6350 2750 +F 0 "R11" H 6400 2880 50 0000 C CNN +F 1 "39k" H 6400 2800 50 0000 C CNN +F 2 "" H 6400 2730 30 0000 C CNN +F 3 "" V 6400 2800 30 0000 C CNN + 1 6350 2750 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q10 +U 1 1 5CE90A8B +P 6500 1950 +F 0 "Q10" H 6400 2000 50 0000 R CNN +F 1 "eSim_PNP" H 6450 2100 50 0000 R CNN +F 2 "" H 6700 2050 29 0000 C CNN +F 3 "" H 6500 1950 60 0000 C CNN + 1 6500 1950 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q11 +U 1 1 5CE90A8C +P 7500 1950 +F 0 "Q11" H 7400 2000 50 0000 R CNN +F 1 "eSim_PNP" H 7450 2100 50 0000 R CNN +F 2 "" H 7700 2050 29 0000 C CNN +F 3 "" H 7500 1950 60 0000 C CNN + 1 7500 1950 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q14 +U 1 1 5CE90A8D +P 7500 3050 +F 0 "Q14" H 7400 3100 50 0000 R CNN +F 1 "eSim_NPN" H 7450 3200 50 0000 R CNN +F 2 "" H 7700 3150 29 0000 C CNN +F 3 "" H 7500 3050 60 0000 C CNN + 1 7500 3050 + 1 0 0 -1 +$EndComp +$Comp +L eSim_R R8 +U 1 1 5CE90A8E +P 7300 2600 +F 0 "R8" H 7350 2730 50 0000 C CNN +F 1 "4.5k" H 7350 2650 50 0000 C CNN +F 2 "" H 7350 2580 30 0000 C CNN +F 3 "" V 7350 2650 30 0000 C CNN + 1 7300 2600 + -1 0 0 1 +$EndComp +$Comp +L eSim_R R7 +U 1 1 5CE90A8F +P 7300 3400 +F 0 "R7" H 7350 3530 50 0000 C CNN +F 1 "7.5k" H 7350 3450 50 0000 C CNN +F 2 "" H 7350 3380 30 0000 C CNN +F 3 "" V 7350 3450 30 0000 C CNN + 1 7300 3400 + -1 0 0 1 +$EndComp +$Comp +L eSim_C C1 +U 1 1 5CE90A90 +P 6600 3200 +F 0 "C1" H 6625 3300 50 0000 L CNN +F 1 "30p" H 6625 3100 50 0000 L CNN +F 2 "" H 6638 3050 30 0000 C CNN +F 3 "" H 6600 3200 60 0000 C CNN + 1 6600 3200 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q16 +U 1 1 5CE90A91 +P 7050 3950 +F 0 "Q16" H 6950 4000 50 0000 R CNN +F 1 "eSim_NPN" H 7000 4100 50 0000 R CNN +F 2 "" H 7250 4050 29 0000 C CNN +F 3 "" H 7050 3950 60 0000 C CNN + 1 7050 3950 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q15 +U 1 1 5CE90A92 +P 7500 4300 +F 0 "Q15" H 7400 4350 50 0000 R CNN +F 1 "eSim_NPN" H 7450 4450 50 0000 R CNN +F 2 "" H 7700 4400 29 0000 C CNN +F 3 "" H 7500 4300 60 0000 C CNN + 1 7500 4300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_R R5 +U 1 1 5CE90A93 +P 7100 5050 +F 0 "R5" H 7150 5180 50 0000 C CNN +F 1 "50k" H 7150 5100 50 0000 C CNN +F 2 "" H 7150 5030 30 0000 C CNN +F 3 "" V 7150 5100 30 0000 C CNN + 1 7100 5050 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R6 +U 1 1 5CE90A94 +P 7550 5050 +F 0 "R6" H 7600 5180 50 0000 C CNN +F 1 "50" H 7600 5100 50 0000 C CNN +F 2 "" H 7600 5030 30 0000 C CNN +F 3 "" V 7600 5100 30 0000 C CNN + 1 7550 5050 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q17 +U 1 1 5CE90A95 +P 6800 4700 +F 0 "Q17" H 6700 4750 50 0000 R CNN +F 1 "eSim_NPN" H 6750 4850 50 0000 R CNN +F 2 "" H 7000 4800 29 0000 C CNN +F 3 "" H 6800 4700 60 0000 C CNN + 1 6800 4700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q18 +U 1 1 5CE90A96 +P 8800 2300 +F 0 "Q18" H 8700 2350 50 0000 R CNN +F 1 "eSim_NPN" H 8750 2450 50 0000 R CNN +F 2 "" H 9000 2400 29 0000 C CNN +F 3 "" H 8800 2300 60 0000 C CNN + 1 8800 2300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q20 +U 1 1 5CE90A97 +P 8400 2750 +F 0 "Q20" H 8300 2800 50 0000 R CNN +F 1 "eSim_NPN" H 8350 2900 50 0000 R CNN +F 2 "" H 8600 2850 29 0000 C CNN +F 3 "" H 8400 2750 60 0000 C CNN + 1 8400 2750 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R9 +U 1 1 5CE90A98 +P 8850 3000 +F 0 "R9" H 8900 3130 50 0000 C CNN +F 1 "25" H 8900 3050 50 0000 C CNN +F 2 "" H 8900 2980 30 0000 C CNN +F 3 "" V 8900 3050 30 0000 C CNN + 1 8850 3000 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R10 +U 1 1 5CE90A99 +P 8850 3750 +F 0 "R10" H 8900 3880 50 0000 C CNN +F 1 "50" H 8900 3800 50 0000 C CNN +F 2 "" H 8900 3730 30 0000 C CNN +F 3 "" V 8900 3800 30 0000 C CNN + 1 8850 3750 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q19 +U 1 1 5CE90A9A +P 8800 4600 +F 0 "Q19" H 8700 4650 50 0000 R CNN +F 1 "eSim_PNP" H 8750 4750 50 0000 R CNN +F 2 "" H 9000 4700 29 0000 C CNN +F 3 "" H 8800 4600 60 0000 C CNN + 1 8800 4600 + 1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 5CE90A9B +P 1900 1200 +F 0 "U1" H 1950 1300 30 0000 C CNN +F 1 "PORT" H 1900 1200 30 0000 C CNN +F 2 "" H 1900 1200 60 0000 C CNN +F 3 "" H 1900 1200 60 0000 C CNN + 3 1900 1200 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 5CE90A9C +P 4500 1050 +F 0 "U1" H 4550 1150 30 0000 C CNN +F 1 "PORT" H 4500 1050 30 0000 C CNN +F 2 "" H 4500 1050 60 0000 C CNN +F 3 "" H 4500 1050 60 0000 C CNN + 2 4500 1050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 7 1 5CE90A9D +P 9750 1650 +F 0 "U1" H 9800 1750 30 0000 C CNN +F 1 "PORT" H 9750 1650 30 0000 C CNN +F 2 "" H 9750 1650 60 0000 C CNN +F 3 "" H 9750 1650 60 0000 C CNN + 7 9750 1650 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 6 1 5CE90A9E +P 9750 3500 +F 0 "U1" H 9800 3600 30 0000 C CNN +F 1 "PORT" H 9750 3500 30 0000 C CNN +F 2 "" H 9750 3500 60 0000 C CNN +F 3 "" H 9750 3500 60 0000 C CNN + 6 9750 3500 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 4 1 5CE90A9F +P 9700 5550 +F 0 "U1" H 9750 5650 30 0000 C CNN +F 1 "PORT" H 9700 5550 30 0000 C CNN +F 2 "" H 9700 5550 60 0000 C CNN +F 3 "" H 9700 5550 60 0000 C CNN + 4 9700 5550 + -1 0 0 1 +$EndComp +Wire Wire Line + 3200 3200 3750 3200 +Wire Wire Line + 2750 2900 2750 2950 +Wire Wire Line + 2750 2950 2900 2950 +Wire Wire Line + 2900 2950 2900 3000 +Wire Wire Line + 4200 2900 4200 2950 +Wire Wire Line + 4200 2950 4050 2950 +Wire Wire Line + 4050 2950 4050 3000 +Wire Wire Line + 2900 3400 2900 4400 +Wire Wire Line + 2900 4000 3100 4000 +Wire Wire Line + 4200 2000 4200 2500 +Wire Wire Line + 4200 2350 2750 2350 +Wire Wire Line + 2750 2350 2750 2500 +Wire Wire Line + 5000 2000 4050 2000 +Connection ~ 4200 2350 +Connection ~ 4200 2000 +Wire Wire Line + 3750 2200 3750 2350 +Connection ~ 3750 2350 +Wire Wire Line + 3750 1800 3750 1650 +Wire Wire Line + 3400 1650 7600 1650 +Wire Wire Line + 3400 1650 3400 3800 +Wire Wire Line + 5300 1650 5300 1800 +Connection ~ 3750 1650 +Wire Wire Line + 5300 2200 5300 4500 +Wire Wire Line + 5300 3500 3650 3500 +Wire Wire Line + 3650 3500 3650 3200 +Connection ~ 3650 3200 +Connection ~ 2900 4000 +Wire Wire Line + 4050 4400 4050 3400 +Wire Wire Line + 3400 4200 3400 4600 +Wire Wire Line + 3200 4600 3750 4600 +Connection ~ 3400 4600 +Wire Wire Line + 4050 5100 4050 4800 +Wire Wire Line + 3600 5100 3600 4600 +Connection ~ 3600 4600 +Wire Wire Line + 2900 5100 2900 4800 +Wire Wire Line + 2900 5400 2900 5550 +Wire Wire Line + 2900 5550 9450 5550 +Wire Wire Line + 4050 5550 4050 5400 +Wire Wire Line + 3600 5400 3600 5550 +Connection ~ 3600 5550 +Wire Wire Line + 6100 4700 5600 4700 +Wire Wire Line + 6400 2950 6400 4500 +Wire Wire Line + 6400 4250 5900 4250 +Wire Wire Line + 5900 4250 5900 4700 +Connection ~ 5900 4700 +Wire Wire Line + 5300 5100 5300 4900 +Wire Wire Line + 5300 5550 5300 5400 +Connection ~ 4050 5550 +Wire Wire Line + 6400 5550 6400 4900 +Connection ~ 5300 5550 +Connection ~ 5300 3500 +Wire Wire Line + 6400 1650 6400 1750 +Connection ~ 5300 1650 +Wire Wire Line + 6400 2150 6400 2650 +Connection ~ 6400 4250 +Wire Wire Line + 6700 1950 7300 1950 +Wire Wire Line + 7000 1950 7000 2250 +Wire Wire Line + 7000 2250 6400 2250 +Connection ~ 6400 2250 +Wire Wire Line + 7600 1650 7600 1750 +Connection ~ 6400 1650 +Connection ~ 7000 1950 +Wire Wire Line + 7600 3250 7600 4100 +Wire Wire Line + 7600 3450 7400 3450 +Wire Wire Line + 6900 3450 7100 3450 +Wire Wire Line + 6900 2650 6900 3450 +Wire Wire Line + 6900 3050 7300 3050 +Wire Wire Line + 7600 2150 7600 2850 +Wire Wire Line + 7600 2650 7400 2650 +Wire Wire Line + 7100 2650 6900 2650 +Connection ~ 6900 3050 +Connection ~ 7600 2650 +Wire Wire Line + 7300 4300 7150 4300 +Wire Wire Line + 7150 4150 7150 4950 +Connection ~ 7600 3450 +Wire Wire Line + 7600 3700 7150 3700 +Wire Wire Line + 7150 3700 7150 3750 +Connection ~ 7600 3700 +Wire Wire Line + 6600 3050 6600 2450 +Wire Wire Line + 6600 2450 7600 2450 +Connection ~ 7600 2450 +Wire Wire Line + 6600 3350 6600 3950 +Wire Wire Line + 4050 3950 6850 3950 +Wire Wire Line + 6700 3950 6700 4500 +Connection ~ 6700 3950 +Wire Wire Line + 6700 4900 6700 5550 +Connection ~ 6400 5550 +Connection ~ 7150 4300 +Wire Wire Line + 7600 4950 7600 4500 +Wire Wire Line + 7000 4700 7600 4700 +Connection ~ 7600 4700 +Wire Wire Line + 7600 5550 7600 5250 +Connection ~ 6700 5550 +Wire Wire Line + 7150 5250 7150 5550 +Connection ~ 7150 5550 +Wire Wire Line + 7600 2300 8600 2300 +Wire Wire Line + 8300 2300 8300 2550 +Connection ~ 8300 2300 +Connection ~ 7600 2300 +Wire Wire Line + 8900 2100 8900 1650 +Wire Wire Line + 7550 1650 9500 1650 +Connection ~ 7550 1650 +Connection ~ 8900 1650 +Wire Wire Line + 8900 2500 8900 2900 +Wire Wire Line + 8900 2750 8600 2750 +Connection ~ 8900 2750 +Wire Wire Line + 8300 2950 8300 3350 +Wire Wire Line + 8300 3350 8900 3350 +Wire Wire Line + 8900 3200 8900 3650 +Wire Wire Line + 8900 4400 8900 3950 +Connection ~ 8900 3350 +Wire Wire Line + 8900 3500 9500 3500 +Connection ~ 8900 3500 +Wire Wire Line + 8900 5550 8900 4800 +Connection ~ 7600 5550 +Connection ~ 8900 5550 +Wire Wire Line + 8600 4600 8100 4600 +Wire Wire Line + 8100 4600 8100 3850 +Wire Wire Line + 8100 3850 7600 3850 +Connection ~ 7600 3850 +Connection ~ 4050 3950 +Connection ~ 6600 3950 +Wire Wire Line + 4500 2700 4750 2700 +Wire Wire Line + 4750 2700 4750 1050 +Wire Wire Line + 2450 2700 2150 2700 +Wire Wire Line + 2150 2700 2150 1200 +$Comp +L PORT U1 +U 5 1 5CE90AA0 +P 1850 4850 +F 0 "U1" H 1900 4950 30 0000 C CNN +F 1 "PORT" H 1850 4850 30 0000 C CNN +F 2 "" H 1850 4850 60 0000 C CNN +F 3 "" H 1850 4850 60 0000 C CNN + 5 1850 4850 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 1 1 5CE90AA1 +P 1850 5100 +F 0 "U1" H 1900 5200 30 0000 C CNN +F 1 "PORT" H 1850 5100 30 0000 C CNN +F 2 "" H 1850 5100 60 0000 C CNN +F 3 "" H 1850 5100 60 0000 C CNN + 1 1850 5100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2100 5100 2700 5100 +Wire Wire Line + 2700 5100 2700 5050 +Wire Wire Line + 2700 5050 2900 5050 +Connection ~ 2900 5050 +Wire Wire Line + 2100 4850 2550 4850 +Wire Wire Line + 2550 4850 2550 4900 +Wire Wire Line + 2550 4900 4050 4900 +Connection ~ 4050 4900 +$Comp +L PORT U1 +U 8 1 5CE9368F +P 9600 6050 +F 0 "U1" H 9650 6150 30 0000 C CNN +F 1 "PORT" H 9600 6050 30 0000 C CNN +F 2 "" H 9600 6050 60 0000 C CNN +F 3 "" H 9600 6050 60 0000 C CNN + 8 9600 6050 + -1 0 0 1 +$EndComp +Wire Wire Line + 9350 6050 9100 6050 +NoConn ~ 9100 6050 +$EndSCHEMATC diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.sub b/Failed_Subcircuits/LOG_Amplifier/lm_741.sub new file mode 100644 index 000000000..fa8d27b16 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741.sub @@ -0,0 +1,40 @@ +* Subcircuit lm_741 +.subckt lm_741 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? +* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir +.include npn_1.lib +.include pnp_1.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 +q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 +q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 +q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 +q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 +q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 +q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 +r1 net-_q7-pad3_ net-_q12-pad3_ 1k +r2 net-_q3-pad3_ net-_q12-pad3_ 50k +r3 net-_q8-pad3_ net-_q12-pad3_ 1k +q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 +q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 +r4 net-_q13-pad3_ net-_q12-pad3_ 5k +r11 net-_q10-pad1_ net-_q12-pad1_ 39k +q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 +r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k +r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k +c1 net-_c1-pad1_ net-_c1-pad2_ 30p +q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 +q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 +r5 net-_q15-pad2_ net-_q12-pad3_ 50k +r6 net-_q15-pad3_ net-_q12-pad3_ 50 +q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 +q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 +q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 +r9 net-_q18-pad3_ net-_q20-pad3_ 25 +r10 net-_q20-pad3_ net-_q19-pad3_ 50 +q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 +* Control Statements + +.ends lm_741 \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml b/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml new file mode 100644 index 000000000..b61322bb5 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml @@ -0,0 +1 @@ +C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/npn_1.lib b/Failed_Subcircuits/LOG_Amplifier/npn_1.lib new file mode 100644 index 000000000..a1818ed83 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/npn_1.lib @@ -0,0 +1,29 @@ +.model npn_1 NPN( ++ Vtf=1.7 ++ Cjc=0.5p ++ Nc=2 ++ Tr=46.91n ++ Ne=1.307 ++ Cje=0.5p ++ Isc=0 ++ Xtb=1.5 ++ Rb=500 ++ Rc=1 ++ Tf=411.1p ++ Xti=3 ++ Ikr=0 ++ Bf=125 ++ Fc=.5 ++ Ise=14.34f ++ Br=6.092 ++ Ikf=.2847 ++ Mje=.377 ++ Mjc=.3416 ++ Vaf=74.03 ++ Vjc=.75 ++ Vje=.75 ++ Xtf=3 ++ Itf=.6 ++ Is=14.34f ++ Eg=1.11 +) \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib b/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib new file mode 100644 index 000000000..a4ee06da6 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib @@ -0,0 +1,29 @@ +.model pnp_1 PNP( ++ Vtf=1.7 ++ Cjc=1.5p ++ Nc=2 ++ Tr=46.91n ++ Ne=1.307 ++ Cje=0.3p ++ Isc=0 ++ Xtb=1.5 ++ Rb=250 ++ Rc=1 ++ Tf=411.1p ++ Xti=3 ++ Ikr=0 ++ Bf=25 ++ Fc=.5 ++ Ise=14.34f ++ Br=6.092 ++ Ikf=.2847 ++ Mje=.377 ++ Mjc=.3416 ++ Vaf=74.03 ++ Vjc=.75 ++ Vje=.75 ++ Xtf=3 ++ Itf=.6 ++ Is=14.34f ++ Eg=1.11 +) \ No newline at end of file From d43f04db687a13eb8887fb6f5b2d2c193188945c Mon Sep 17 00:00:00 2001 From: Vanshika Tanwar Date: Sun, 27 Nov 2022 20:10:16 +0530 Subject: [PATCH 07/11] Failed Circuit deleted from master branch --- .../LOG_Amplifier/LOG_Amplifier-cache.lib | 135 ---- .../LOG_Amplifier/LOG_Amplifier.cir | 18 - .../LOG_Amplifier/LOG_Amplifier.cir.out | 21 - .../LOG_Amplifier/LOG_Amplifier.pro | 71 -- .../LOG_Amplifier/LOG_Amplifier.sch | 338 --------- .../LOG_Amplifier/LOG_Amplifier.sub | 15 - .../LOG_Amplifier_Previous_Values.xml | 1 - Failed_Subcircuits/LOG_Amplifier/NPN.lib | 4 - Failed_Subcircuits/LOG_Amplifier/PNP.lib | 4 - Failed_Subcircuits/LOG_Amplifier/README.md | 35 - Failed_Subcircuits/LOG_Amplifier/analysis | 1 - .../LOG_Amplifier/lm_741-cache.lib | 119 --- Failed_Subcircuits/LOG_Amplifier/lm_741.cir | 43 -- .../LOG_Amplifier/lm_741.cir.out | 46 -- Failed_Subcircuits/LOG_Amplifier/lm_741.pro | 44 -- Failed_Subcircuits/LOG_Amplifier/lm_741.sch | 697 ------------------ Failed_Subcircuits/LOG_Amplifier/lm_741.sub | 40 - .../LOG_Amplifier/lm_741_Previous_Values.xml | 1 - Failed_Subcircuits/LOG_Amplifier/npn_1.lib | 29 - Failed_Subcircuits/LOG_Amplifier/pnp_1.lib | 29 - 20 files changed, 1691 deletions(-) delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml delete mode 100644 Failed_Subcircuits/LOG_Amplifier/NPN.lib delete mode 100644 Failed_Subcircuits/LOG_Amplifier/PNP.lib delete mode 100644 Failed_Subcircuits/LOG_Amplifier/README.md delete mode 100644 Failed_Subcircuits/LOG_Amplifier/analysis delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.cir delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.pro delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.sch delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.sub delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml delete mode 100644 Failed_Subcircuits/LOG_Amplifier/npn_1.lib delete mode 100644 Failed_Subcircuits/LOG_Amplifier/pnp_1.lib diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib deleted file mode 100644 index 893d14f93..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib +++ /dev/null @@ -1,135 +0,0 @@ -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_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_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 -# -# lm_741 -# -DEF lm_741 X 0 40 Y Y 1 F N -F0 "X" -200 0 60 H V C CNN -F1 "lm_741" -100 -250 60 H V C CNN -F2 "" 0 0 60 H V C CNN -F3 "" 0 0 60 H V C CNN -DRAW -P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N -X off_null 1 -50 400 200 D 50 38 1 1 I -X inv 2 -550 150 200 R 50 38 1 1 I -X non_inv 3 -550 -100 200 R 50 38 1 1 I -X v_neg 4 -150 -450 200 U 50 38 1 1 I -X off_null 5 50 350 200 D 50 38 1 1 I -X out 6 550 0 200 L 50 38 1 1 O -X v_pos 7 -150 450 200 D 50 38 1 1 I -X NC 8 150 -300 200 U 50 38 1 1 N -ENDDRAW -ENDDEF -# -#End Library diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir deleted file mode 100644 index 219871a98..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir +++ /dev/null @@ -1,18 +0,0 @@ -* C:\FOSSEE\eSim\library\SubcircuitLibrary\LOG_Amplifier\LOG_Amplifier.cir - -* EESchema Netlist Version 1.1 (Spice format) creation date: 9/11/2022 7:52:59 PM - -* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N -* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 - -* Sheet Name: / -X1 ? /Inp1 GND /Vneg ? Net-_Q1-Pad3_ /Vpos ? lm_741 -X2 ? /Inp2 GND /Vneg ? /Vout /Vpos ? lm_741 -Q1 /Inp1 Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN -Q2 /Inp2 GND Net-_Q1-Pad3_ eSim_NPN -R1 /Vout Net-_Q1-Pad2_ 3.2k -R2 Net-_Q1-Pad2_ GND 5k -C1 /Vout /Inp2 3.4u -U1 /Inp1 /NC /Vout /Vpos /Vneg GND /NC /Inp2 PORT - -.end diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out deleted file mode 100644 index 3f79ec5ff..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out +++ /dev/null @@ -1,21 +0,0 @@ -* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir - -.include lm_741.sub -.include NPN.lib -x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741 -x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741 -q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222 -q2 /inp2 gnd net-_q1-pad3_ Q2N2222 -r1 /vout net-_q1-pad2_ 3.2k -r2 net-_q1-pad2_ gnd 5k -c1 /vout /inp2 3.4u -* u1 /inp1 /nc /vout /vpos /vneg gnd /nc /inp2 port -.tran 0e-00 0e-00 0e-00 - -* Control Statements -.control -run -print allv > plot_data_v.txt -print alli > plot_data_i.txt -.endc -.end diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro deleted file mode 100644 index d7f78c3b4..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro +++ /dev/null @@ -1,71 +0,0 @@ -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 diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch deleted file mode 100644 index b1af81c1a..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch +++ /dev/null @@ -1,338 +0,0 @@ -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:LOG_Amplifier-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 lm_741 X1 -U 1 1 631DA9B4 -P 4100 3400 -F 0 "X1" H 3900 3400 60 0000 C CNN -F 1 "lm_741" H 4000 3150 60 0000 C CNN -F 2 "" H 4100 3400 60 0000 C CNN -F 3 "" H 4100 3400 60 0000 C CNN - 1 4100 3400 - 1 0 0 -1 -$EndComp -$Comp -L lm_741 X2 -U 1 1 631DACD9 -P 6800 3400 -F 0 "X2" H 6600 3400 60 0000 C CNN -F 1 "lm_741" H 6700 3150 60 0000 C CNN -F 2 "" H 6800 3400 60 0000 C CNN -F 3 "" H 6800 3400 60 0000 C CNN - 1 6800 3400 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q1 -U 1 1 631DAD47 -P 4950 2900 -F 0 "Q1" H 4850 2950 50 0000 R CNN -F 1 "eSim_NPN" H 4900 3050 50 0000 R CNN -F 2 "" H 5150 3000 29 0000 C CNN -F 3 "" H 4950 2900 60 0000 C CNN - 1 4950 2900 - 0 -1 -1 0 -$EndComp -$Comp -L eSim_NPN Q2 -U 1 1 631DAD9B -P 5600 2900 -F 0 "Q2" H 5500 2950 50 0000 R CNN -F 1 "eSim_NPN" H 5550 3050 50 0000 R CNN -F 2 "" H 5800 3000 29 0000 C CNN -F 3 "" H 5600 2900 60 0000 C CNN - 1 5600 2900 - 0 1 -1 0 -$EndComp -$Comp -L resistor R1 -U 1 1 631DB085 -P 7450 3700 -F 0 "R1" H 7500 3830 50 0000 C CNN -F 1 "3.2k" H 7500 3650 50 0000 C CNN -F 2 "" H 7500 3680 30 0000 C CNN -F 3 "" V 7500 3750 30 0000 C CNN - 1 7450 3700 - 0 1 1 0 -$EndComp -$Comp -L resistor R2 -U 1 1 631DB0C5 -P 7450 4200 -F 0 "R2" H 7500 4330 50 0000 C CNN -F 1 "5k" H 7500 4150 50 0000 C CNN -F 2 "" H 7500 4180 30 0000 C CNN -F 3 "" V 7500 4250 30 0000 C CNN - 1 7450 4200 - 0 1 1 0 -$EndComp -$Comp -L GND #PWR01 -U 1 1 631DB394 -P 6250 3700 -F 0 "#PWR01" H 6250 3450 50 0001 C CNN -F 1 "GND" H 6250 3550 50 0000 C CNN -F 2 "" H 6250 3700 50 0001 C CNN -F 3 "" H 6250 3700 50 0001 C CNN - 1 6250 3700 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR02 -U 1 1 631DB3B1 -P 3350 3700 -F 0 "#PWR02" H 3350 3450 50 0001 C CNN -F 1 "GND" H 3350 3550 50 0000 C CNN -F 2 "" H 3350 3700 50 0001 C CNN -F 3 "" H 3350 3700 50 0001 C CNN - 1 3350 3700 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR03 -U 1 1 631DB3CE -P 5600 3300 -F 0 "#PWR03" H 5600 3050 50 0001 C CNN -F 1 "GND" H 5600 3150 50 0000 C CNN -F 2 "" H 5600 3300 50 0001 C CNN -F 3 "" H 5600 3300 50 0001 C CNN - 1 5600 3300 - 1 0 0 -1 -$EndComp -$Comp -L capacitor C1 -U 1 1 631DB439 -P 7050 2400 -F 0 "C1" H 7075 2500 50 0000 L CNN -F 1 "3.4u" H 7075 2300 50 0000 L CNN -F 2 "" H 7088 2250 30 0000 C CNN -F 3 "" H 7050 2400 60 0000 C CNN - 1 7050 2400 - 0 1 1 0 -$EndComp -Wire Wire Line - 5150 2800 5400 2800 -Wire Wire Line - 6100 3250 6250 3250 -Wire Wire Line - 6100 2050 6100 3250 -Wire Wire Line - 5800 2800 6100 2800 -Connection ~ 6100 2800 -Wire Wire Line - 7350 3400 8100 3400 -Wire Wire Line - 7500 3600 7500 3400 -Connection ~ 7500 3400 -Wire Wire Line - 7500 4100 7500 3900 -Wire Wire Line - 4650 3400 5300 3400 -Wire Wire Line - 5300 3400 5300 2800 -Connection ~ 5300 2800 -Wire Wire Line - 4750 2800 3400 2800 -Wire Wire Line - 3550 3250 3550 2800 -Connection ~ 3550 2800 -Wire Wire Line - 4950 3100 4950 4000 -Wire Wire Line - 4950 4000 7500 4000 -Connection ~ 7500 4000 -Wire Wire Line - 5600 3100 5600 3300 -Wire Wire Line - 3550 3500 3350 3500 -Wire Wire Line - 3350 3500 3350 3700 -Wire Wire Line - 7500 4400 7500 4550 -Wire Wire Line - 6100 2400 6900 2400 -Wire Wire Line - 7200 2400 7950 2400 -Wire Wire Line - 7950 2400 7950 3400 -Connection ~ 7950 3400 -Connection ~ 6100 2400 -Wire Wire Line - 6650 1500 6650 2950 -Wire Wire Line - 3950 2950 3950 1500 -Wire Wire Line - 3950 1500 7250 1500 -Connection ~ 6650 1500 -Wire Wire Line - 3950 3850 3950 5050 -Wire Wire Line - 3950 5050 7150 5050 -Wire Wire Line - 6650 3850 6650 5050 -Connection ~ 6650 5050 -$Comp -L PORT U1 -U 1 1 631DBAA4 -P 3150 2800 -F 0 "U1" H 3200 2900 30 0000 C CNN -F 1 "PORT" H 3150 2800 30 0000 C CNN -F 2 "" H 3150 2800 60 0000 C CNN -F 3 "" H 3150 2800 60 0000 C CNN - 1 3150 2800 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 7 1 631DBB47 -P 8300 1500 -F 0 "U1" H 8350 1600 30 0000 C CNN -F 1 "PORT" H 8300 1500 30 0000 C CNN -F 2 "" H 8300 1500 60 0000 C CNN -F 3 "" H 8300 1500 60 0000 C CNN - 7 8300 1500 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 5 1 631DBB7E -P 7400 5050 -F 0 "U1" H 7450 5150 30 0000 C CNN -F 1 "PORT" H 7400 5050 30 0000 C CNN -F 2 "" H 7400 5050 60 0000 C CNN -F 3 "" H 7400 5050 60 0000 C CNN - 5 7400 5050 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 4 1 631DBC23 -P 7500 1500 -F 0 "U1" H 7550 1600 30 0000 C CNN -F 1 "PORT" H 7500 1500 30 0000 C CNN -F 2 "" H 7500 1500 60 0000 C CNN -F 3 "" H 7500 1500 60 0000 C CNN - 4 7500 1500 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 3 1 631DBCC0 -P 8350 3400 -F 0 "U1" H 8400 3500 30 0000 C CNN -F 1 "PORT" H 8350 3400 30 0000 C CNN -F 2 "" H 8350 3400 60 0000 C CNN -F 3 "" H 8350 3400 60 0000 C CNN - 3 8350 3400 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 6 1 631DBD7A -P 8400 4550 -F 0 "U1" H 8450 4650 30 0000 C CNN -F 1 "PORT" H 8400 4550 30 0000 C CNN -F 2 "" H 8400 4550 60 0000 C CNN -F 3 "" H 8400 4550 60 0000 C CNN - 6 8400 4550 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 8 1 631DBDEB -P 3400 2050 -F 0 "U1" H 3450 2150 30 0000 C CNN -F 1 "PORT" H 3400 2050 30 0000 C CNN -F 2 "" H 3400 2050 60 0000 C CNN -F 3 "" H 3400 2050 60 0000 C CNN - 8 3400 2050 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 2 1 631DBE44 -P 8300 1250 -F 0 "U1" H 8350 1350 30 0000 C CNN -F 1 "PORT" H 8300 1250 30 0000 C CNN -F 2 "" H 8300 1250 60 0000 C CNN -F 3 "" H 8300 1250 60 0000 C CNN - 2 8300 1250 - 1 0 0 -1 -$EndComp -Wire Wire Line - 3650 2050 6100 2050 -Wire Wire Line - 7500 4550 8150 4550 -Wire Wire Line - 6250 3500 6250 3700 -NoConn ~ 8550 1250 -NoConn ~ 8550 1500 -Text Label 8550 1250 0 60 ~ 0 -NC -Text Label 8550 1500 0 60 ~ 0 -NC -Text Label 7000 5050 0 60 ~ 0 -Vneg -Text Label 7050 1500 0 60 ~ 0 -Vpos -Text Label 8000 3400 0 60 ~ 0 -Vout -Text Label 8000 4550 0 60 ~ 0 -Gnd -Text Label 3400 2800 0 60 ~ 0 -Inp1 -Text Label 3650 2050 0 60 ~ 0 -Inp2 -$EndSCHEMATC diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub deleted file mode 100644 index 4fc6b46ce..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub +++ /dev/null @@ -1,15 +0,0 @@ -* Subcircuit LOG_Amplifier -.subckt LOG_Amplifier /inp1 /nc /vout /vpos /vneg gnd /nc /inp2 -* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir -.include lm_741.sub -.include NPN.lib -x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741 -x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741 -q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222 -q2 /inp2 gnd net-_q1-pad3_ Q2N2222 -r1 /vout net-_q1-pad2_ 3.2k -r2 net-_q1-pad2_ gnd 5k -c1 /vout /inp2 3.4u -* Control Statements - -.ends LOG_Amplifier \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml deleted file mode 100644 index db2cbdf01..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml +++ /dev/null @@ -1 +0,0 @@ -C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741C:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/NPN.lib b/Failed_Subcircuits/LOG_Amplifier/NPN.lib deleted file mode 100644 index 6509fe7ab..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/NPN.lib +++ /dev/null @@ -1,4 +0,0 @@ -.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307 -+ Ise=14.34f Ikf=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p -+ Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p -+ Itf=.6 Vtf=1.7 Xtf=3 Rb=10) diff --git a/Failed_Subcircuits/LOG_Amplifier/PNP.lib b/Failed_Subcircuits/LOG_Amplifier/PNP.lib deleted file mode 100644 index 7edda0eab..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/PNP.lib +++ /dev/null @@ -1,4 +0,0 @@ -.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/Failed_Subcircuits/LOG_Amplifier/README.md b/Failed_Subcircuits/LOG_Amplifier/README.md deleted file mode 100644 index f204e8a65..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# LOG104 Log Amplifier IC - -Log Amplifier is a general purpose 8-Pin IC. It's basically a precision logarithmic and log ratio amplifier . It is the circuit that is used to calculate Logarithm or log ratio of the input current values with respect to the reference current. - -## Usage/Examples - -It is used to perform mathematical operations like exponentiation,multiplication and division. - -It is used as a True RMS Converter. - -It is used in the communications, analytical and medical industries. - -It is also used for absorbance and optical density measurement. - -It is used as a photodiode signal compression ampplifier - -It is used also for analog signal compression in front of analog-to-digital (A/D) converters. -## Documentation - -To know the details of LOG104 IC please refer to this link [LOG104_datasheet.](https://www.ti.com/lit/ds/symlink/log104.pdf?ts=1669552722002&ref_url=https%253A%252F%252Fwww.google.com%252F) - -## Error Observed - -The output waveform is not coming correct at the time of simulation according to the mathematical calculations. - -## Possible Solution - -The designer is suggested to perform the analysis as well as testing of each different block seperately first of the circuit or if in case it is needed, a block level of the IC should have to be redesigned in order to obtain the desired results. - -## Contributor - -Name: Vanshika Tanwar -Email: vanshikatanwar30@gmail.com -Year: 2022 -Position: FOSSEE Summer Fellowship Intern 2022 diff --git a/Failed_Subcircuits/LOG_Amplifier/analysis b/Failed_Subcircuits/LOG_Amplifier/analysis deleted file mode 100644 index ebd5c0a94..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/analysis +++ /dev/null @@ -1 +0,0 @@ -.tran 0e-00 0e-00 0e-00 \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib b/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib deleted file mode 100644 index 04e3fecd3..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib +++ /dev/null @@ -1,119 +0,0 @@ -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 -$FPLIST - C_* -$ENDFPLIST -DRAW -P 2 0 1 20 -80 -30 80 -30 N -P 2 0 1 20 -80 30 80 30 N -X ~ 1 0 150 110 D 40 40 1 1 P -X ~ 2 0 -150 110 U 40 40 1 1 P -ENDDRAW -ENDDEF -# -# eSim_NPN -# -DEF eSim_NPN Q 0 0 Y N 1 F N -F0 "Q" -100 50 50 H V R CNN -F1 "eSim_NPN" -50 150 50 H V R CNN -F2 "" 200 100 29 H V C CNN -F3 "" 0 0 60 H V C CNN -ALIAS BC547 Q2N2222 -DRAW -C 50 0 111 0 1 10 N -P 2 0 1 0 25 25 100 100 N -P 3 0 1 0 25 -25 100 -100 100 -100 N -P 3 0 1 20 25 75 25 -75 25 -75 N -P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F -X C 1 100 200 100 D 50 50 1 1 C -X B 2 -200 0 225 R 50 50 1 1 I -X E 3 100 -200 100 U 50 50 1 1 E -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 C -X B 2 -200 0 225 R 50 50 1 1 I -X E 3 100 -200 100 U 50 50 1 1 E -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 -$FPLIST - R_* - Resistor_* -$ENDFPLIST -DRAW -S 150 10 -50 90 0 1 10 N -X ~ 1 -100 50 50 R 60 60 1 1 P -X ~ 2 200 50 50 L 60 60 1 1 P -ENDDRAW -ENDDEF -# -#End Library diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir deleted file mode 100644 index 4a5917ea6..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir +++ /dev/null @@ -1,43 +0,0 @@ -* C:\Users\malli\eSim\src\SubcircuitLibrary\lm_741\lm_741.cir - -* EESchema Netlist Version 1.1 (Spice format) creation date: 05/25/19 19:37:28 - -* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N -* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 - -* Sheet Name: / -Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN -Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN -Q6 Net-_Q3-Pad2_ Net-_Q13-Pad1_ Net-_Q1-Pad3_ eSim_PNP -Q5 Net-_C1-Pad2_ Net-_Q13-Pad1_ Net-_Q2-Pad3_ eSim_PNP -Q3 Net-_Q10-Pad3_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN -Q4 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP -Q9 Net-_Q13-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP -Q8 Net-_C1-Pad2_ Net-_Q3-Pad3_ Net-_Q8-Pad3_ eSim_NPN -Q7 Net-_Q3-Pad2_ Net-_Q3-Pad3_ Net-_Q7-Pad3_ eSim_NPN -R1 Net-_Q7-Pad3_ Net-_Q12-Pad3_ 1k -R2 Net-_Q3-Pad3_ Net-_Q12-Pad3_ 50k -R3 Net-_Q8-Pad3_ Net-_Q12-Pad3_ 1k -Q12 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_NPN -Q13 Net-_Q13-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad3_ eSim_NPN -R4 Net-_Q13-Pad3_ Net-_Q12-Pad3_ 5k -R11 Net-_Q10-Pad1_ Net-_Q12-Pad1_ 39k -Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP -Q11 Net-_C1-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP -Q14 Net-_C1-Pad1_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN -R8 Net-_C1-Pad1_ Net-_Q14-Pad2_ 4.5k -R7 Net-_Q14-Pad3_ Net-_Q14-Pad2_ 7.5k -C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p -Q16 Net-_Q14-Pad3_ Net-_C1-Pad2_ Net-_Q15-Pad2_ eSim_NPN -Q15 Net-_Q14-Pad3_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN -R5 Net-_Q15-Pad2_ Net-_Q12-Pad3_ 50k -R6 Net-_Q15-Pad3_ Net-_Q12-Pad3_ 50 -Q17 Net-_C1-Pad2_ Net-_Q15-Pad3_ Net-_Q12-Pad3_ eSim_NPN -Q18 Net-_Q10-Pad3_ Net-_C1-Pad1_ Net-_Q18-Pad3_ eSim_NPN -Q20 Net-_C1-Pad1_ Net-_Q18-Pad3_ Net-_Q20-Pad3_ eSim_NPN -R9 Net-_Q18-Pad3_ Net-_Q20-Pad3_ 25 -R10 Net-_Q20-Pad3_ Net-_Q19-Pad3_ 50 -Q19 Net-_Q12-Pad3_ Net-_Q14-Pad3_ Net-_Q19-Pad3_ eSim_PNP -U1 Net-_Q7-Pad3_ Net-_Q2-Pad2_ Net-_Q1-Pad2_ Net-_Q12-Pad3_ Net-_Q8-Pad3_ Net-_Q20-Pad3_ Net-_Q10-Pad3_ ? PORT - -.end diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out deleted file mode 100644 index a00bd86af..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out +++ /dev/null @@ -1,46 +0,0 @@ -* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir - -.include npn_1.lib -.include pnp_1.lib -q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 -q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 -q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 -q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 -q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 -q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 -q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 -q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 -q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 -r1 net-_q7-pad3_ net-_q12-pad3_ 1k -r2 net-_q3-pad3_ net-_q12-pad3_ 50k -r3 net-_q8-pad3_ net-_q12-pad3_ 1k -q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 -q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 -r4 net-_q13-pad3_ net-_q12-pad3_ 5k -r11 net-_q10-pad1_ net-_q12-pad1_ 39k -q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 -q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 -q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 -r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k -r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k -c1 net-_c1-pad1_ net-_c1-pad2_ 30p -q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 -q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 -r5 net-_q15-pad2_ net-_q12-pad3_ 50k -r6 net-_q15-pad3_ net-_q12-pad3_ 50 -q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 -q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 -q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 -r9 net-_q18-pad3_ net-_q20-pad3_ 25 -r10 net-_q20-pad3_ net-_q19-pad3_ 50 -q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 -* u1 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? port -.tran 0e-00 0e-00 0e-00 - -* Control Statements -.control -run -print allv > plot_data_v.txt -print alli > plot_data_i.txt -.endc -.end diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.pro b/Failed_Subcircuits/LOG_Amplifier/lm_741.pro deleted file mode 100644 index b56de1b0f..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741.pro +++ /dev/null @@ -1,44 +0,0 @@ -update=Fri Jun 7 21:53:51 2019 -version=1 -last_client=eeschema -[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=power -LibName2=eSim_Analog -LibName3=eSim_Devices -LibName4=eSim_Digital -LibName5=eSim_Hybrid -LibName6=eSim_Miscellaneous -LibName7=eSim_Plot -LibName8=eSim_Power -LibName9=eSim_User -LibName10=eSim_Sources -LibName11=eSim_Subckt diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.sch b/Failed_Subcircuits/LOG_Amplifier/lm_741.sch deleted file mode 100644 index b017fd2b8..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741.sch +++ /dev/null @@ -1,697 +0,0 @@ -EESchema Schematic File Version 2 -LIBS:power -LIBS:eSim_Analog -LIBS:eSim_Devices -LIBS:eSim_Digital -LIBS:eSim_Hybrid -LIBS:eSim_Miscellaneous -LIBS:eSim_Plot -LIBS:eSim_Power -LIBS:eSim_PSpice -LIBS:eSim_Sources -LIBS:eSim_Subckt -LIBS:eSim_User -LIBS:lm_741-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_NPN Q1 -U 1 1 5CE90A7B -P 2650 2700 -F 0 "Q1" H 2550 2750 50 0000 R CNN -F 1 "eSim_NPN" H 2600 2850 50 0000 R CNN -F 2 "" H 2850 2800 29 0000 C CNN -F 3 "" H 2650 2700 60 0000 C CNN - 1 2650 2700 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q2 -U 1 1 5CE90A7C -P 4300 2700 -F 0 "Q2" H 4200 2750 50 0000 R CNN -F 1 "eSim_NPN" H 4250 2850 50 0000 R CNN -F 2 "" H 4500 2800 29 0000 C CNN -F 3 "" H 4300 2700 60 0000 C CNN - 1 4300 2700 - -1 0 0 -1 -$EndComp -$Comp -L eSim_PNP Q6 -U 1 1 5CE90A7D -P 3000 3200 -F 0 "Q6" H 2900 3250 50 0000 R CNN -F 1 "eSim_PNP" H 2950 3350 50 0000 R CNN -F 2 "" H 3200 3300 29 0000 C CNN -F 3 "" H 3000 3200 60 0000 C CNN - 1 3000 3200 - -1 0 0 1 -$EndComp -$Comp -L eSim_PNP Q5 -U 1 1 5CE90A7E -P 3950 3200 -F 0 "Q5" H 3850 3250 50 0000 R CNN -F 1 "eSim_PNP" H 3900 3350 50 0000 R CNN -F 2 "" H 4150 3300 29 0000 C CNN -F 3 "" H 3950 3200 60 0000 C CNN - 1 3950 3200 - 1 0 0 1 -$EndComp -$Comp -L eSim_NPN Q3 -U 1 1 5CE90A7F -P 3300 4000 -F 0 "Q3" H 3200 4050 50 0000 R CNN -F 1 "eSim_NPN" H 3250 4150 50 0000 R CNN -F 2 "" H 3500 4100 29 0000 C CNN -F 3 "" H 3300 4000 60 0000 C CNN - 1 3300 4000 - 1 0 0 -1 -$EndComp -$Comp -L eSim_PNP Q4 -U 1 1 5CE90A80 -P 3850 2000 -F 0 "Q4" H 3750 2050 50 0000 R CNN -F 1 "eSim_PNP" H 3800 2150 50 0000 R CNN -F 2 "" H 4050 2100 29 0000 C CNN -F 3 "" H 3850 2000 60 0000 C CNN - 1 3850 2000 - -1 0 0 1 -$EndComp -$Comp -L eSim_PNP Q9 -U 1 1 5CE90A81 -P 5200 2000 -F 0 "Q9" H 5100 2050 50 0000 R CNN -F 1 "eSim_PNP" H 5150 2150 50 0000 R CNN -F 2 "" H 5400 2100 29 0000 C CNN -F 3 "" H 5200 2000 60 0000 C CNN - 1 5200 2000 - 1 0 0 1 -$EndComp -$Comp -L eSim_NPN Q8 -U 1 1 5CE90A82 -P 3950 4600 -F 0 "Q8" H 3850 4650 50 0000 R CNN -F 1 "eSim_NPN" H 3900 4750 50 0000 R CNN -F 2 "" H 4150 4700 29 0000 C CNN -F 3 "" H 3950 4600 60 0000 C CNN - 1 3950 4600 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q7 -U 1 1 5CE90A83 -P 3000 4600 -F 0 "Q7" H 2900 4650 50 0000 R CNN -F 1 "eSim_NPN" H 2950 4750 50 0000 R CNN -F 2 "" H 3200 4700 29 0000 C CNN -F 3 "" H 3000 4600 60 0000 C CNN - 1 3000 4600 - -1 0 0 -1 -$EndComp -$Comp -L eSim_R R1 -U 1 1 5CE90A84 -P 2850 5200 -F 0 "R1" H 2900 5330 50 0000 C CNN -F 1 "1k" H 2900 5250 50 0000 C CNN -F 2 "" H 2900 5180 30 0000 C CNN -F 3 "" V 2900 5250 30 0000 C CNN - 1 2850 5200 - 0 1 1 0 -$EndComp -$Comp -L eSim_R R2 -U 1 1 5CE90A85 -P 3550 5200 -F 0 "R2" H 3600 5330 50 0000 C CNN -F 1 "50k" H 3600 5250 50 0000 C CNN -F 2 "" H 3600 5180 30 0000 C CNN -F 3 "" V 3600 5250 30 0000 C CNN - 1 3550 5200 - 0 1 1 0 -$EndComp -$Comp -L eSim_R R3 -U 1 1 5CE90A86 -P 4000 5200 -F 0 "R3" H 4050 5330 50 0000 C CNN -F 1 "1k" H 4050 5250 50 0000 C CNN -F 2 "" H 4050 5180 30 0000 C CNN -F 3 "" V 4050 5250 30 0000 C CNN - 1 4000 5200 - 0 1 1 0 -$EndComp -$Comp -L eSim_NPN Q12 -U 1 1 5CE90A87 -P 6300 4700 -F 0 "Q12" H 6200 4750 50 0000 R CNN -F 1 "eSim_NPN" H 6250 4850 50 0000 R CNN -F 2 "" H 6500 4800 29 0000 C CNN -F 3 "" H 6300 4700 60 0000 C CNN - 1 6300 4700 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q13 -U 1 1 5CE90A88 -P 5400 4700 -F 0 "Q13" H 5300 4750 50 0000 R CNN -F 1 "eSim_NPN" H 5350 4850 50 0000 R CNN -F 2 "" H 5600 4800 29 0000 C CNN -F 3 "" H 5400 4700 60 0000 C CNN - 1 5400 4700 - -1 0 0 -1 -$EndComp -$Comp -L eSim_R R4 -U 1 1 5CE90A89 -P 5250 5200 -F 0 "R4" H 5300 5330 50 0000 C CNN -F 1 "5k" H 5300 5250 50 0000 C CNN -F 2 "" H 5300 5180 30 0000 C CNN -F 3 "" V 5300 5250 30 0000 C CNN - 1 5250 5200 - 0 1 1 0 -$EndComp -$Comp -L eSim_R R11 -U 1 1 5CE90A8A -P 6350 2750 -F 0 "R11" H 6400 2880 50 0000 C CNN -F 1 "39k" H 6400 2800 50 0000 C CNN -F 2 "" H 6400 2730 30 0000 C CNN -F 3 "" V 6400 2800 30 0000 C CNN - 1 6350 2750 - 0 1 1 0 -$EndComp -$Comp -L eSim_PNP Q10 -U 1 1 5CE90A8B -P 6500 1950 -F 0 "Q10" H 6400 2000 50 0000 R CNN -F 1 "eSim_PNP" H 6450 2100 50 0000 R CNN -F 2 "" H 6700 2050 29 0000 C CNN -F 3 "" H 6500 1950 60 0000 C CNN - 1 6500 1950 - -1 0 0 1 -$EndComp -$Comp -L eSim_PNP Q11 -U 1 1 5CE90A8C -P 7500 1950 -F 0 "Q11" H 7400 2000 50 0000 R CNN -F 1 "eSim_PNP" H 7450 2100 50 0000 R CNN -F 2 "" H 7700 2050 29 0000 C CNN -F 3 "" H 7500 1950 60 0000 C CNN - 1 7500 1950 - 1 0 0 1 -$EndComp -$Comp -L eSim_NPN Q14 -U 1 1 5CE90A8D -P 7500 3050 -F 0 "Q14" H 7400 3100 50 0000 R CNN -F 1 "eSim_NPN" H 7450 3200 50 0000 R CNN -F 2 "" H 7700 3150 29 0000 C CNN -F 3 "" H 7500 3050 60 0000 C CNN - 1 7500 3050 - 1 0 0 -1 -$EndComp -$Comp -L eSim_R R8 -U 1 1 5CE90A8E -P 7300 2600 -F 0 "R8" H 7350 2730 50 0000 C CNN -F 1 "4.5k" H 7350 2650 50 0000 C CNN -F 2 "" H 7350 2580 30 0000 C CNN -F 3 "" V 7350 2650 30 0000 C CNN - 1 7300 2600 - -1 0 0 1 -$EndComp -$Comp -L eSim_R R7 -U 1 1 5CE90A8F -P 7300 3400 -F 0 "R7" H 7350 3530 50 0000 C CNN -F 1 "7.5k" H 7350 3450 50 0000 C CNN -F 2 "" H 7350 3380 30 0000 C CNN -F 3 "" V 7350 3450 30 0000 C CNN - 1 7300 3400 - -1 0 0 1 -$EndComp -$Comp -L eSim_C C1 -U 1 1 5CE90A90 -P 6600 3200 -F 0 "C1" H 6625 3300 50 0000 L CNN -F 1 "30p" H 6625 3100 50 0000 L CNN -F 2 "" H 6638 3050 30 0000 C CNN -F 3 "" H 6600 3200 60 0000 C CNN - 1 6600 3200 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q16 -U 1 1 5CE90A91 -P 7050 3950 -F 0 "Q16" H 6950 4000 50 0000 R CNN -F 1 "eSim_NPN" H 7000 4100 50 0000 R CNN -F 2 "" H 7250 4050 29 0000 C CNN -F 3 "" H 7050 3950 60 0000 C CNN - 1 7050 3950 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q15 -U 1 1 5CE90A92 -P 7500 4300 -F 0 "Q15" H 7400 4350 50 0000 R CNN -F 1 "eSim_NPN" H 7450 4450 50 0000 R CNN -F 2 "" H 7700 4400 29 0000 C CNN -F 3 "" H 7500 4300 60 0000 C CNN - 1 7500 4300 - 1 0 0 -1 -$EndComp -$Comp -L eSim_R R5 -U 1 1 5CE90A93 -P 7100 5050 -F 0 "R5" H 7150 5180 50 0000 C CNN -F 1 "50k" H 7150 5100 50 0000 C CNN -F 2 "" H 7150 5030 30 0000 C CNN -F 3 "" V 7150 5100 30 0000 C CNN - 1 7100 5050 - 0 1 1 0 -$EndComp -$Comp -L eSim_R R6 -U 1 1 5CE90A94 -P 7550 5050 -F 0 "R6" H 7600 5180 50 0000 C CNN -F 1 "50" H 7600 5100 50 0000 C CNN -F 2 "" H 7600 5030 30 0000 C CNN -F 3 "" V 7600 5100 30 0000 C CNN - 1 7550 5050 - 0 1 1 0 -$EndComp -$Comp -L eSim_NPN Q17 -U 1 1 5CE90A95 -P 6800 4700 -F 0 "Q17" H 6700 4750 50 0000 R CNN -F 1 "eSim_NPN" H 6750 4850 50 0000 R CNN -F 2 "" H 7000 4800 29 0000 C CNN -F 3 "" H 6800 4700 60 0000 C CNN - 1 6800 4700 - -1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q18 -U 1 1 5CE90A96 -P 8800 2300 -F 0 "Q18" H 8700 2350 50 0000 R CNN -F 1 "eSim_NPN" H 8750 2450 50 0000 R CNN -F 2 "" H 9000 2400 29 0000 C CNN -F 3 "" H 8800 2300 60 0000 C CNN - 1 8800 2300 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q20 -U 1 1 5CE90A97 -P 8400 2750 -F 0 "Q20" H 8300 2800 50 0000 R CNN -F 1 "eSim_NPN" H 8350 2900 50 0000 R CNN -F 2 "" H 8600 2850 29 0000 C CNN -F 3 "" H 8400 2750 60 0000 C CNN - 1 8400 2750 - -1 0 0 -1 -$EndComp -$Comp -L eSim_R R9 -U 1 1 5CE90A98 -P 8850 3000 -F 0 "R9" H 8900 3130 50 0000 C CNN -F 1 "25" H 8900 3050 50 0000 C CNN -F 2 "" H 8900 2980 30 0000 C CNN -F 3 "" V 8900 3050 30 0000 C CNN - 1 8850 3000 - 0 1 1 0 -$EndComp -$Comp -L eSim_R R10 -U 1 1 5CE90A99 -P 8850 3750 -F 0 "R10" H 8900 3880 50 0000 C CNN -F 1 "50" H 8900 3800 50 0000 C CNN -F 2 "" H 8900 3730 30 0000 C CNN -F 3 "" V 8900 3800 30 0000 C CNN - 1 8850 3750 - 0 1 1 0 -$EndComp -$Comp -L eSim_PNP Q19 -U 1 1 5CE90A9A -P 8800 4600 -F 0 "Q19" H 8700 4650 50 0000 R CNN -F 1 "eSim_PNP" H 8750 4750 50 0000 R CNN -F 2 "" H 9000 4700 29 0000 C CNN -F 3 "" H 8800 4600 60 0000 C CNN - 1 8800 4600 - 1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 3 1 5CE90A9B -P 1900 1200 -F 0 "U1" H 1950 1300 30 0000 C CNN -F 1 "PORT" H 1900 1200 30 0000 C CNN -F 2 "" H 1900 1200 60 0000 C CNN -F 3 "" H 1900 1200 60 0000 C CNN - 3 1900 1200 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 2 1 5CE90A9C -P 4500 1050 -F 0 "U1" H 4550 1150 30 0000 C CNN -F 1 "PORT" H 4500 1050 30 0000 C CNN -F 2 "" H 4500 1050 60 0000 C CNN -F 3 "" H 4500 1050 60 0000 C CNN - 2 4500 1050 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 7 1 5CE90A9D -P 9750 1650 -F 0 "U1" H 9800 1750 30 0000 C CNN -F 1 "PORT" H 9750 1650 30 0000 C CNN -F 2 "" H 9750 1650 60 0000 C CNN -F 3 "" H 9750 1650 60 0000 C CNN - 7 9750 1650 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 6 1 5CE90A9E -P 9750 3500 -F 0 "U1" H 9800 3600 30 0000 C CNN -F 1 "PORT" H 9750 3500 30 0000 C CNN -F 2 "" H 9750 3500 60 0000 C CNN -F 3 "" H 9750 3500 60 0000 C CNN - 6 9750 3500 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 4 1 5CE90A9F -P 9700 5550 -F 0 "U1" H 9750 5650 30 0000 C CNN -F 1 "PORT" H 9700 5550 30 0000 C CNN -F 2 "" H 9700 5550 60 0000 C CNN -F 3 "" H 9700 5550 60 0000 C CNN - 4 9700 5550 - -1 0 0 1 -$EndComp -Wire Wire Line - 3200 3200 3750 3200 -Wire Wire Line - 2750 2900 2750 2950 -Wire Wire Line - 2750 2950 2900 2950 -Wire Wire Line - 2900 2950 2900 3000 -Wire Wire Line - 4200 2900 4200 2950 -Wire Wire Line - 4200 2950 4050 2950 -Wire Wire Line - 4050 2950 4050 3000 -Wire Wire Line - 2900 3400 2900 4400 -Wire Wire Line - 2900 4000 3100 4000 -Wire Wire Line - 4200 2000 4200 2500 -Wire Wire Line - 4200 2350 2750 2350 -Wire Wire Line - 2750 2350 2750 2500 -Wire Wire Line - 5000 2000 4050 2000 -Connection ~ 4200 2350 -Connection ~ 4200 2000 -Wire Wire Line - 3750 2200 3750 2350 -Connection ~ 3750 2350 -Wire Wire Line - 3750 1800 3750 1650 -Wire Wire Line - 3400 1650 7600 1650 -Wire Wire Line - 3400 1650 3400 3800 -Wire Wire Line - 5300 1650 5300 1800 -Connection ~ 3750 1650 -Wire Wire Line - 5300 2200 5300 4500 -Wire Wire Line - 5300 3500 3650 3500 -Wire Wire Line - 3650 3500 3650 3200 -Connection ~ 3650 3200 -Connection ~ 2900 4000 -Wire Wire Line - 4050 4400 4050 3400 -Wire Wire Line - 3400 4200 3400 4600 -Wire Wire Line - 3200 4600 3750 4600 -Connection ~ 3400 4600 -Wire Wire Line - 4050 5100 4050 4800 -Wire Wire Line - 3600 5100 3600 4600 -Connection ~ 3600 4600 -Wire Wire Line - 2900 5100 2900 4800 -Wire Wire Line - 2900 5400 2900 5550 -Wire Wire Line - 2900 5550 9450 5550 -Wire Wire Line - 4050 5550 4050 5400 -Wire Wire Line - 3600 5400 3600 5550 -Connection ~ 3600 5550 -Wire Wire Line - 6100 4700 5600 4700 -Wire Wire Line - 6400 2950 6400 4500 -Wire Wire Line - 6400 4250 5900 4250 -Wire Wire Line - 5900 4250 5900 4700 -Connection ~ 5900 4700 -Wire Wire Line - 5300 5100 5300 4900 -Wire Wire Line - 5300 5550 5300 5400 -Connection ~ 4050 5550 -Wire Wire Line - 6400 5550 6400 4900 -Connection ~ 5300 5550 -Connection ~ 5300 3500 -Wire Wire Line - 6400 1650 6400 1750 -Connection ~ 5300 1650 -Wire Wire Line - 6400 2150 6400 2650 -Connection ~ 6400 4250 -Wire Wire Line - 6700 1950 7300 1950 -Wire Wire Line - 7000 1950 7000 2250 -Wire Wire Line - 7000 2250 6400 2250 -Connection ~ 6400 2250 -Wire Wire Line - 7600 1650 7600 1750 -Connection ~ 6400 1650 -Connection ~ 7000 1950 -Wire Wire Line - 7600 3250 7600 4100 -Wire Wire Line - 7600 3450 7400 3450 -Wire Wire Line - 6900 3450 7100 3450 -Wire Wire Line - 6900 2650 6900 3450 -Wire Wire Line - 6900 3050 7300 3050 -Wire Wire Line - 7600 2150 7600 2850 -Wire Wire Line - 7600 2650 7400 2650 -Wire Wire Line - 7100 2650 6900 2650 -Connection ~ 6900 3050 -Connection ~ 7600 2650 -Wire Wire Line - 7300 4300 7150 4300 -Wire Wire Line - 7150 4150 7150 4950 -Connection ~ 7600 3450 -Wire Wire Line - 7600 3700 7150 3700 -Wire Wire Line - 7150 3700 7150 3750 -Connection ~ 7600 3700 -Wire Wire Line - 6600 3050 6600 2450 -Wire Wire Line - 6600 2450 7600 2450 -Connection ~ 7600 2450 -Wire Wire Line - 6600 3350 6600 3950 -Wire Wire Line - 4050 3950 6850 3950 -Wire Wire Line - 6700 3950 6700 4500 -Connection ~ 6700 3950 -Wire Wire Line - 6700 4900 6700 5550 -Connection ~ 6400 5550 -Connection ~ 7150 4300 -Wire Wire Line - 7600 4950 7600 4500 -Wire Wire Line - 7000 4700 7600 4700 -Connection ~ 7600 4700 -Wire Wire Line - 7600 5550 7600 5250 -Connection ~ 6700 5550 -Wire Wire Line - 7150 5250 7150 5550 -Connection ~ 7150 5550 -Wire Wire Line - 7600 2300 8600 2300 -Wire Wire Line - 8300 2300 8300 2550 -Connection ~ 8300 2300 -Connection ~ 7600 2300 -Wire Wire Line - 8900 2100 8900 1650 -Wire Wire Line - 7550 1650 9500 1650 -Connection ~ 7550 1650 -Connection ~ 8900 1650 -Wire Wire Line - 8900 2500 8900 2900 -Wire Wire Line - 8900 2750 8600 2750 -Connection ~ 8900 2750 -Wire Wire Line - 8300 2950 8300 3350 -Wire Wire Line - 8300 3350 8900 3350 -Wire Wire Line - 8900 3200 8900 3650 -Wire Wire Line - 8900 4400 8900 3950 -Connection ~ 8900 3350 -Wire Wire Line - 8900 3500 9500 3500 -Connection ~ 8900 3500 -Wire Wire Line - 8900 5550 8900 4800 -Connection ~ 7600 5550 -Connection ~ 8900 5550 -Wire Wire Line - 8600 4600 8100 4600 -Wire Wire Line - 8100 4600 8100 3850 -Wire Wire Line - 8100 3850 7600 3850 -Connection ~ 7600 3850 -Connection ~ 4050 3950 -Connection ~ 6600 3950 -Wire Wire Line - 4500 2700 4750 2700 -Wire Wire Line - 4750 2700 4750 1050 -Wire Wire Line - 2450 2700 2150 2700 -Wire Wire Line - 2150 2700 2150 1200 -$Comp -L PORT U1 -U 5 1 5CE90AA0 -P 1850 4850 -F 0 "U1" H 1900 4950 30 0000 C CNN -F 1 "PORT" H 1850 4850 30 0000 C CNN -F 2 "" H 1850 4850 60 0000 C CNN -F 3 "" H 1850 4850 60 0000 C CNN - 5 1850 4850 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 1 1 5CE90AA1 -P 1850 5100 -F 0 "U1" H 1900 5200 30 0000 C CNN -F 1 "PORT" H 1850 5100 30 0000 C CNN -F 2 "" H 1850 5100 60 0000 C CNN -F 3 "" H 1850 5100 60 0000 C CNN - 1 1850 5100 - 1 0 0 -1 -$EndComp -Wire Wire Line - 2100 5100 2700 5100 -Wire Wire Line - 2700 5100 2700 5050 -Wire Wire Line - 2700 5050 2900 5050 -Connection ~ 2900 5050 -Wire Wire Line - 2100 4850 2550 4850 -Wire Wire Line - 2550 4850 2550 4900 -Wire Wire Line - 2550 4900 4050 4900 -Connection ~ 4050 4900 -$Comp -L PORT U1 -U 8 1 5CE9368F -P 9600 6050 -F 0 "U1" H 9650 6150 30 0000 C CNN -F 1 "PORT" H 9600 6050 30 0000 C CNN -F 2 "" H 9600 6050 60 0000 C CNN -F 3 "" H 9600 6050 60 0000 C CNN - 8 9600 6050 - -1 0 0 1 -$EndComp -Wire Wire Line - 9350 6050 9100 6050 -NoConn ~ 9100 6050 -$EndSCHEMATC diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.sub b/Failed_Subcircuits/LOG_Amplifier/lm_741.sub deleted file mode 100644 index fa8d27b16..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741.sub +++ /dev/null @@ -1,40 +0,0 @@ -* Subcircuit lm_741 -.subckt lm_741 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? -* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir -.include npn_1.lib -.include pnp_1.lib -q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 -q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 -q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 -q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 -q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 -q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 -q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 -q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 -q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 -r1 net-_q7-pad3_ net-_q12-pad3_ 1k -r2 net-_q3-pad3_ net-_q12-pad3_ 50k -r3 net-_q8-pad3_ net-_q12-pad3_ 1k -q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 -q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 -r4 net-_q13-pad3_ net-_q12-pad3_ 5k -r11 net-_q10-pad1_ net-_q12-pad1_ 39k -q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 -q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 -q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 -r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k -r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k -c1 net-_c1-pad1_ net-_c1-pad2_ 30p -q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 -q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 -r5 net-_q15-pad2_ net-_q12-pad3_ 50k -r6 net-_q15-pad3_ net-_q12-pad3_ 50 -q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 -q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 -q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 -r9 net-_q18-pad3_ net-_q20-pad3_ 25 -r10 net-_q20-pad3_ net-_q19-pad3_ 50 -q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 -* Control Statements - -.ends lm_741 \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml b/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml deleted file mode 100644 index b61322bb5..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml +++ /dev/null @@ -1 +0,0 @@ -C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/npn_1.lib b/Failed_Subcircuits/LOG_Amplifier/npn_1.lib deleted file mode 100644 index a1818ed83..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/npn_1.lib +++ /dev/null @@ -1,29 +0,0 @@ -.model npn_1 NPN( -+ Vtf=1.7 -+ Cjc=0.5p -+ Nc=2 -+ Tr=46.91n -+ Ne=1.307 -+ Cje=0.5p -+ Isc=0 -+ Xtb=1.5 -+ Rb=500 -+ Rc=1 -+ Tf=411.1p -+ Xti=3 -+ Ikr=0 -+ Bf=125 -+ Fc=.5 -+ Ise=14.34f -+ Br=6.092 -+ Ikf=.2847 -+ Mje=.377 -+ Mjc=.3416 -+ Vaf=74.03 -+ Vjc=.75 -+ Vje=.75 -+ Xtf=3 -+ Itf=.6 -+ Is=14.34f -+ Eg=1.11 -) \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib b/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib deleted file mode 100644 index a4ee06da6..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib +++ /dev/null @@ -1,29 +0,0 @@ -.model pnp_1 PNP( -+ Vtf=1.7 -+ Cjc=1.5p -+ Nc=2 -+ Tr=46.91n -+ Ne=1.307 -+ Cje=0.3p -+ Isc=0 -+ Xtb=1.5 -+ Rb=250 -+ Rc=1 -+ Tf=411.1p -+ Xti=3 -+ Ikr=0 -+ Bf=25 -+ Fc=.5 -+ Ise=14.34f -+ Br=6.092 -+ Ikf=.2847 -+ Mje=.377 -+ Mjc=.3416 -+ Vaf=74.03 -+ Vjc=.75 -+ Vje=.75 -+ Xtf=3 -+ Itf=.6 -+ Is=14.34f -+ Eg=1.11 -) \ No newline at end of file From 09881a3f9b65c11c7d41ed6e17b3ef68d8e8d302 Mon Sep 17 00:00:00 2001 From: Vanshika Tanwar Date: Mon, 28 Nov 2022 12:18:40 +0530 Subject: [PATCH 08/11] Log104 Log Amplifier IC --- .../LOG_Amplifier/LOG_Amplifier-cache.lib | 135 ++++ .../LOG_Amplifier/LOG_Amplifier.cir | 18 + .../LOG_Amplifier/LOG_Amplifier.cir.out | 21 + .../LOG_Amplifier/LOG_Amplifier.pro | 71 ++ .../LOG_Amplifier/LOG_Amplifier.sch | 338 +++++++++ .../LOG_Amplifier/LOG_Amplifier.sub | 15 + .../LOG_Amplifier_Previous_Values.xml | 1 + Failed_Subcircuits/LOG_Amplifier/NPN.lib | 4 + Failed_Subcircuits/LOG_Amplifier/PNP.lib | 4 + Failed_Subcircuits/LOG_Amplifier/README.md | 35 + Failed_Subcircuits/LOG_Amplifier/analysis | 1 + .../LOG_Amplifier/lm_741-cache.lib | 119 +++ Failed_Subcircuits/LOG_Amplifier/lm_741.cir | 43 ++ .../LOG_Amplifier/lm_741.cir.out | 46 ++ Failed_Subcircuits/LOG_Amplifier/lm_741.pro | 44 ++ Failed_Subcircuits/LOG_Amplifier/lm_741.sch | 697 ++++++++++++++++++ Failed_Subcircuits/LOG_Amplifier/lm_741.sub | 40 + .../LOG_Amplifier/lm_741_Previous_Values.xml | 1 + Failed_Subcircuits/LOG_Amplifier/npn_1.lib | 29 + Failed_Subcircuits/LOG_Amplifier/pnp_1.lib | 29 + 20 files changed, 1691 insertions(+) create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub create mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml create mode 100644 Failed_Subcircuits/LOG_Amplifier/NPN.lib create mode 100644 Failed_Subcircuits/LOG_Amplifier/PNP.lib create mode 100644 Failed_Subcircuits/LOG_Amplifier/README.md create mode 100644 Failed_Subcircuits/LOG_Amplifier/analysis create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.cir create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.pro create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.sch create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.sub create mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml create mode 100644 Failed_Subcircuits/LOG_Amplifier/npn_1.lib create mode 100644 Failed_Subcircuits/LOG_Amplifier/pnp_1.lib diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib new file mode 100644 index 000000000..893d14f93 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib @@ -0,0 +1,135 @@ +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_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_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 +# +# lm_741 +# +DEF lm_741 X 0 40 Y Y 1 F N +F0 "X" -200 0 60 H V C CNN +F1 "lm_741" -100 -250 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N +X off_null 1 -50 400 200 D 50 38 1 1 I +X inv 2 -550 150 200 R 50 38 1 1 I +X non_inv 3 -550 -100 200 R 50 38 1 1 I +X v_neg 4 -150 -450 200 U 50 38 1 1 I +X off_null 5 50 350 200 D 50 38 1 1 I +X out 6 550 0 200 L 50 38 1 1 O +X v_pos 7 -150 450 200 D 50 38 1 1 I +X NC 8 150 -300 200 U 50 38 1 1 N +ENDDRAW +ENDDEF +# +#End Library diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir new file mode 100644 index 000000000..219871a98 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir @@ -0,0 +1,18 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\LOG_Amplifier\LOG_Amplifier.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 9/11/2022 7:52:59 PM + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +X1 ? /Inp1 GND /Vneg ? Net-_Q1-Pad3_ /Vpos ? lm_741 +X2 ? /Inp2 GND /Vneg ? /Vout /Vpos ? lm_741 +Q1 /Inp1 Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN +Q2 /Inp2 GND Net-_Q1-Pad3_ eSim_NPN +R1 /Vout Net-_Q1-Pad2_ 3.2k +R2 Net-_Q1-Pad2_ GND 5k +C1 /Vout /Inp2 3.4u +U1 /Inp1 /NC /Vout /Vpos /Vneg GND /NC /Inp2 PORT + +.end diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out new file mode 100644 index 000000000..3f79ec5ff --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out @@ -0,0 +1,21 @@ +* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir + +.include lm_741.sub +.include NPN.lib +x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741 +x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741 +q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222 +q2 /inp2 gnd net-_q1-pad3_ Q2N2222 +r1 /vout net-_q1-pad2_ 3.2k +r2 net-_q1-pad2_ gnd 5k +c1 /vout /inp2 3.4u +* u1 /inp1 /nc /vout /vpos /vneg gnd /nc /inp2 port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro new file mode 100644 index 000000000..d7f78c3b4 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro @@ -0,0 +1,71 @@ +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 diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch new file mode 100644 index 000000000..b1af81c1a --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch @@ -0,0 +1,338 @@ +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:LOG_Amplifier-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 lm_741 X1 +U 1 1 631DA9B4 +P 4100 3400 +F 0 "X1" H 3900 3400 60 0000 C CNN +F 1 "lm_741" H 4000 3150 60 0000 C CNN +F 2 "" H 4100 3400 60 0000 C CNN +F 3 "" H 4100 3400 60 0000 C CNN + 1 4100 3400 + 1 0 0 -1 +$EndComp +$Comp +L lm_741 X2 +U 1 1 631DACD9 +P 6800 3400 +F 0 "X2" H 6600 3400 60 0000 C CNN +F 1 "lm_741" H 6700 3150 60 0000 C CNN +F 2 "" H 6800 3400 60 0000 C CNN +F 3 "" H 6800 3400 60 0000 C CNN + 1 6800 3400 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q1 +U 1 1 631DAD47 +P 4950 2900 +F 0 "Q1" H 4850 2950 50 0000 R CNN +F 1 "eSim_NPN" H 4900 3050 50 0000 R CNN +F 2 "" H 5150 3000 29 0000 C CNN +F 3 "" H 4950 2900 60 0000 C CNN + 1 4950 2900 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q2 +U 1 1 631DAD9B +P 5600 2900 +F 0 "Q2" H 5500 2950 50 0000 R CNN +F 1 "eSim_NPN" H 5550 3050 50 0000 R CNN +F 2 "" H 5800 3000 29 0000 C CNN +F 3 "" H 5600 2900 60 0000 C CNN + 1 5600 2900 + 0 1 -1 0 +$EndComp +$Comp +L resistor R1 +U 1 1 631DB085 +P 7450 3700 +F 0 "R1" H 7500 3830 50 0000 C CNN +F 1 "3.2k" H 7500 3650 50 0000 C CNN +F 2 "" H 7500 3680 30 0000 C CNN +F 3 "" V 7500 3750 30 0000 C CNN + 1 7450 3700 + 0 1 1 0 +$EndComp +$Comp +L resistor R2 +U 1 1 631DB0C5 +P 7450 4200 +F 0 "R2" H 7500 4330 50 0000 C CNN +F 1 "5k" H 7500 4150 50 0000 C CNN +F 2 "" H 7500 4180 30 0000 C CNN +F 3 "" V 7500 4250 30 0000 C CNN + 1 7450 4200 + 0 1 1 0 +$EndComp +$Comp +L GND #PWR01 +U 1 1 631DB394 +P 6250 3700 +F 0 "#PWR01" H 6250 3450 50 0001 C CNN +F 1 "GND" H 6250 3550 50 0000 C CNN +F 2 "" H 6250 3700 50 0001 C CNN +F 3 "" H 6250 3700 50 0001 C CNN + 1 6250 3700 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR02 +U 1 1 631DB3B1 +P 3350 3700 +F 0 "#PWR02" H 3350 3450 50 0001 C CNN +F 1 "GND" H 3350 3550 50 0000 C CNN +F 2 "" H 3350 3700 50 0001 C CNN +F 3 "" H 3350 3700 50 0001 C CNN + 1 3350 3700 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR03 +U 1 1 631DB3CE +P 5600 3300 +F 0 "#PWR03" H 5600 3050 50 0001 C CNN +F 1 "GND" H 5600 3150 50 0000 C CNN +F 2 "" H 5600 3300 50 0001 C CNN +F 3 "" H 5600 3300 50 0001 C CNN + 1 5600 3300 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C1 +U 1 1 631DB439 +P 7050 2400 +F 0 "C1" H 7075 2500 50 0000 L CNN +F 1 "3.4u" H 7075 2300 50 0000 L CNN +F 2 "" H 7088 2250 30 0000 C CNN +F 3 "" H 7050 2400 60 0000 C CNN + 1 7050 2400 + 0 1 1 0 +$EndComp +Wire Wire Line + 5150 2800 5400 2800 +Wire Wire Line + 6100 3250 6250 3250 +Wire Wire Line + 6100 2050 6100 3250 +Wire Wire Line + 5800 2800 6100 2800 +Connection ~ 6100 2800 +Wire Wire Line + 7350 3400 8100 3400 +Wire Wire Line + 7500 3600 7500 3400 +Connection ~ 7500 3400 +Wire Wire Line + 7500 4100 7500 3900 +Wire Wire Line + 4650 3400 5300 3400 +Wire Wire Line + 5300 3400 5300 2800 +Connection ~ 5300 2800 +Wire Wire Line + 4750 2800 3400 2800 +Wire Wire Line + 3550 3250 3550 2800 +Connection ~ 3550 2800 +Wire Wire Line + 4950 3100 4950 4000 +Wire Wire Line + 4950 4000 7500 4000 +Connection ~ 7500 4000 +Wire Wire Line + 5600 3100 5600 3300 +Wire Wire Line + 3550 3500 3350 3500 +Wire Wire Line + 3350 3500 3350 3700 +Wire Wire Line + 7500 4400 7500 4550 +Wire Wire Line + 6100 2400 6900 2400 +Wire Wire Line + 7200 2400 7950 2400 +Wire Wire Line + 7950 2400 7950 3400 +Connection ~ 7950 3400 +Connection ~ 6100 2400 +Wire Wire Line + 6650 1500 6650 2950 +Wire Wire Line + 3950 2950 3950 1500 +Wire Wire Line + 3950 1500 7250 1500 +Connection ~ 6650 1500 +Wire Wire Line + 3950 3850 3950 5050 +Wire Wire Line + 3950 5050 7150 5050 +Wire Wire Line + 6650 3850 6650 5050 +Connection ~ 6650 5050 +$Comp +L PORT U1 +U 1 1 631DBAA4 +P 3150 2800 +F 0 "U1" H 3200 2900 30 0000 C CNN +F 1 "PORT" H 3150 2800 30 0000 C CNN +F 2 "" H 3150 2800 60 0000 C CNN +F 3 "" H 3150 2800 60 0000 C CNN + 1 3150 2800 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 7 1 631DBB47 +P 8300 1500 +F 0 "U1" H 8350 1600 30 0000 C CNN +F 1 "PORT" H 8300 1500 30 0000 C CNN +F 2 "" H 8300 1500 60 0000 C CNN +F 3 "" H 8300 1500 60 0000 C CNN + 7 8300 1500 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 5 1 631DBB7E +P 7400 5050 +F 0 "U1" H 7450 5150 30 0000 C CNN +F 1 "PORT" H 7400 5050 30 0000 C CNN +F 2 "" H 7400 5050 60 0000 C CNN +F 3 "" H 7400 5050 60 0000 C CNN + 5 7400 5050 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 4 1 631DBC23 +P 7500 1500 +F 0 "U1" H 7550 1600 30 0000 C CNN +F 1 "PORT" H 7500 1500 30 0000 C CNN +F 2 "" H 7500 1500 60 0000 C CNN +F 3 "" H 7500 1500 60 0000 C CNN + 4 7500 1500 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 631DBCC0 +P 8350 3400 +F 0 "U1" H 8400 3500 30 0000 C CNN +F 1 "PORT" H 8350 3400 30 0000 C CNN +F 2 "" H 8350 3400 60 0000 C CNN +F 3 "" H 8350 3400 60 0000 C CNN + 3 8350 3400 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 6 1 631DBD7A +P 8400 4550 +F 0 "U1" H 8450 4650 30 0000 C CNN +F 1 "PORT" H 8400 4550 30 0000 C CNN +F 2 "" H 8400 4550 60 0000 C CNN +F 3 "" H 8400 4550 60 0000 C CNN + 6 8400 4550 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 8 1 631DBDEB +P 3400 2050 +F 0 "U1" H 3450 2150 30 0000 C CNN +F 1 "PORT" H 3400 2050 30 0000 C CNN +F 2 "" H 3400 2050 60 0000 C CNN +F 3 "" H 3400 2050 60 0000 C CNN + 8 3400 2050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 631DBE44 +P 8300 1250 +F 0 "U1" H 8350 1350 30 0000 C CNN +F 1 "PORT" H 8300 1250 30 0000 C CNN +F 2 "" H 8300 1250 60 0000 C CNN +F 3 "" H 8300 1250 60 0000 C CNN + 2 8300 1250 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3650 2050 6100 2050 +Wire Wire Line + 7500 4550 8150 4550 +Wire Wire Line + 6250 3500 6250 3700 +NoConn ~ 8550 1250 +NoConn ~ 8550 1500 +Text Label 8550 1250 0 60 ~ 0 +NC +Text Label 8550 1500 0 60 ~ 0 +NC +Text Label 7000 5050 0 60 ~ 0 +Vneg +Text Label 7050 1500 0 60 ~ 0 +Vpos +Text Label 8000 3400 0 60 ~ 0 +Vout +Text Label 8000 4550 0 60 ~ 0 +Gnd +Text Label 3400 2800 0 60 ~ 0 +Inp1 +Text Label 3650 2050 0 60 ~ 0 +Inp2 +$EndSCHEMATC diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub new file mode 100644 index 000000000..4fc6b46ce --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub @@ -0,0 +1,15 @@ +* Subcircuit LOG_Amplifier +.subckt LOG_Amplifier /inp1 /nc /vout /vpos /vneg gnd /nc /inp2 +* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir +.include lm_741.sub +.include NPN.lib +x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741 +x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741 +q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222 +q2 /inp2 gnd net-_q1-pad3_ Q2N2222 +r1 /vout net-_q1-pad2_ 3.2k +r2 net-_q1-pad2_ gnd 5k +c1 /vout /inp2 3.4u +* Control Statements + +.ends LOG_Amplifier \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml new file mode 100644 index 000000000..db2cbdf01 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml @@ -0,0 +1 @@ +C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741C:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/NPN.lib b/Failed_Subcircuits/LOG_Amplifier/NPN.lib new file mode 100644 index 000000000..6509fe7ab --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/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=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p ++ Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p ++ Itf=.6 Vtf=1.7 Xtf=3 Rb=10) diff --git a/Failed_Subcircuits/LOG_Amplifier/PNP.lib b/Failed_Subcircuits/LOG_Amplifier/PNP.lib new file mode 100644 index 000000000..7edda0eab --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/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/Failed_Subcircuits/LOG_Amplifier/README.md b/Failed_Subcircuits/LOG_Amplifier/README.md new file mode 100644 index 000000000..f204e8a65 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/README.md @@ -0,0 +1,35 @@ +# LOG104 Log Amplifier IC + +Log Amplifier is a general purpose 8-Pin IC. It's basically a precision logarithmic and log ratio amplifier . It is the circuit that is used to calculate Logarithm or log ratio of the input current values with respect to the reference current. + +## Usage/Examples + +It is used to perform mathematical operations like exponentiation,multiplication and division. + +It is used as a True RMS Converter. + +It is used in the communications, analytical and medical industries. + +It is also used for absorbance and optical density measurement. + +It is used as a photodiode signal compression ampplifier + +It is used also for analog signal compression in front of analog-to-digital (A/D) converters. +## Documentation + +To know the details of LOG104 IC please refer to this link [LOG104_datasheet.](https://www.ti.com/lit/ds/symlink/log104.pdf?ts=1669552722002&ref_url=https%253A%252F%252Fwww.google.com%252F) + +## Error Observed + +The output waveform is not coming correct at the time of simulation according to the mathematical calculations. + +## Possible Solution + +The designer is suggested to perform the analysis as well as testing of each different block seperately first of the circuit or if in case it is needed, a block level of the IC should have to be redesigned in order to obtain the desired results. + +## Contributor + +Name: Vanshika Tanwar +Email: vanshikatanwar30@gmail.com +Year: 2022 +Position: FOSSEE Summer Fellowship Intern 2022 diff --git a/Failed_Subcircuits/LOG_Amplifier/analysis b/Failed_Subcircuits/LOG_Amplifier/analysis new file mode 100644 index 000000000..ebd5c0a94 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00 \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib b/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib new file mode 100644 index 000000000..04e3fecd3 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib @@ -0,0 +1,119 @@ +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 +$FPLIST + C_* +$ENDFPLIST +DRAW +P 2 0 1 20 -80 -30 80 -30 N +P 2 0 1 20 -80 30 80 30 N +X ~ 1 0 150 110 D 40 40 1 1 P +X ~ 2 0 -150 110 U 40 40 1 1 P +ENDDRAW +ENDDEF +# +# eSim_NPN +# +DEF eSim_NPN Q 0 0 Y N 1 F N +F0 "Q" -100 50 50 H V R CNN +F1 "eSim_NPN" -50 150 50 H V R CNN +F2 "" 200 100 29 H V C CNN +F3 "" 0 0 60 H V C CNN +ALIAS BC547 Q2N2222 +DRAW +C 50 0 111 0 1 10 N +P 2 0 1 0 25 25 100 100 N +P 3 0 1 0 25 -25 100 -100 100 -100 N +P 3 0 1 20 25 75 25 -75 25 -75 N +P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F +X C 1 100 200 100 D 50 50 1 1 C +X B 2 -200 0 225 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 E +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 C +X B 2 -200 0 225 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 E +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 +$FPLIST + R_* + Resistor_* +$ENDFPLIST +DRAW +S 150 10 -50 90 0 1 10 N +X ~ 1 -100 50 50 R 60 60 1 1 P +X ~ 2 200 50 50 L 60 60 1 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir new file mode 100644 index 000000000..4a5917ea6 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir @@ -0,0 +1,43 @@ +* C:\Users\malli\eSim\src\SubcircuitLibrary\lm_741\lm_741.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 05/25/19 19:37:28 + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN +Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN +Q6 Net-_Q3-Pad2_ Net-_Q13-Pad1_ Net-_Q1-Pad3_ eSim_PNP +Q5 Net-_C1-Pad2_ Net-_Q13-Pad1_ Net-_Q2-Pad3_ eSim_PNP +Q3 Net-_Q10-Pad3_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN +Q4 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q9 Net-_Q13-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q8 Net-_C1-Pad2_ Net-_Q3-Pad3_ Net-_Q8-Pad3_ eSim_NPN +Q7 Net-_Q3-Pad2_ Net-_Q3-Pad3_ Net-_Q7-Pad3_ eSim_NPN +R1 Net-_Q7-Pad3_ Net-_Q12-Pad3_ 1k +R2 Net-_Q3-Pad3_ Net-_Q12-Pad3_ 50k +R3 Net-_Q8-Pad3_ Net-_Q12-Pad3_ 1k +Q12 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_NPN +Q13 Net-_Q13-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad3_ eSim_NPN +R4 Net-_Q13-Pad3_ Net-_Q12-Pad3_ 5k +R11 Net-_Q10-Pad1_ Net-_Q12-Pad1_ 39k +Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q11 Net-_C1-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q14 Net-_C1-Pad1_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN +R8 Net-_C1-Pad1_ Net-_Q14-Pad2_ 4.5k +R7 Net-_Q14-Pad3_ Net-_Q14-Pad2_ 7.5k +C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p +Q16 Net-_Q14-Pad3_ Net-_C1-Pad2_ Net-_Q15-Pad2_ eSim_NPN +Q15 Net-_Q14-Pad3_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN +R5 Net-_Q15-Pad2_ Net-_Q12-Pad3_ 50k +R6 Net-_Q15-Pad3_ Net-_Q12-Pad3_ 50 +Q17 Net-_C1-Pad2_ Net-_Q15-Pad3_ Net-_Q12-Pad3_ eSim_NPN +Q18 Net-_Q10-Pad3_ Net-_C1-Pad1_ Net-_Q18-Pad3_ eSim_NPN +Q20 Net-_C1-Pad1_ Net-_Q18-Pad3_ Net-_Q20-Pad3_ eSim_NPN +R9 Net-_Q18-Pad3_ Net-_Q20-Pad3_ 25 +R10 Net-_Q20-Pad3_ Net-_Q19-Pad3_ 50 +Q19 Net-_Q12-Pad3_ Net-_Q14-Pad3_ Net-_Q19-Pad3_ eSim_PNP +U1 Net-_Q7-Pad3_ Net-_Q2-Pad2_ Net-_Q1-Pad2_ Net-_Q12-Pad3_ Net-_Q8-Pad3_ Net-_Q20-Pad3_ Net-_Q10-Pad3_ ? PORT + +.end diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out new file mode 100644 index 000000000..a00bd86af --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out @@ -0,0 +1,46 @@ +* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir + +.include npn_1.lib +.include pnp_1.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 +q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 +q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 +q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 +q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 +q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 +q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 +r1 net-_q7-pad3_ net-_q12-pad3_ 1k +r2 net-_q3-pad3_ net-_q12-pad3_ 50k +r3 net-_q8-pad3_ net-_q12-pad3_ 1k +q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 +q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 +r4 net-_q13-pad3_ net-_q12-pad3_ 5k +r11 net-_q10-pad1_ net-_q12-pad1_ 39k +q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 +r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k +r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k +c1 net-_c1-pad1_ net-_c1-pad2_ 30p +q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 +q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 +r5 net-_q15-pad2_ net-_q12-pad3_ 50k +r6 net-_q15-pad3_ net-_q12-pad3_ 50 +q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 +q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 +q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 +r9 net-_q18-pad3_ net-_q20-pad3_ 25 +r10 net-_q20-pad3_ net-_q19-pad3_ 50 +q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 +* u1 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.pro b/Failed_Subcircuits/LOG_Amplifier/lm_741.pro new file mode 100644 index 000000000..b56de1b0f --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741.pro @@ -0,0 +1,44 @@ +update=Fri Jun 7 21:53:51 2019 +version=1 +last_client=eeschema +[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=power +LibName2=eSim_Analog +LibName3=eSim_Devices +LibName4=eSim_Digital +LibName5=eSim_Hybrid +LibName6=eSim_Miscellaneous +LibName7=eSim_Plot +LibName8=eSim_Power +LibName9=eSim_User +LibName10=eSim_Sources +LibName11=eSim_Subckt diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.sch b/Failed_Subcircuits/LOG_Amplifier/lm_741.sch new file mode 100644 index 000000000..b017fd2b8 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741.sch @@ -0,0 +1,697 @@ +EESchema Schematic File Version 2 +LIBS:power +LIBS:eSim_Analog +LIBS:eSim_Devices +LIBS:eSim_Digital +LIBS:eSim_Hybrid +LIBS:eSim_Miscellaneous +LIBS:eSim_Plot +LIBS:eSim_Power +LIBS:eSim_PSpice +LIBS:eSim_Sources +LIBS:eSim_Subckt +LIBS:eSim_User +LIBS:lm_741-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_NPN Q1 +U 1 1 5CE90A7B +P 2650 2700 +F 0 "Q1" H 2550 2750 50 0000 R CNN +F 1 "eSim_NPN" H 2600 2850 50 0000 R CNN +F 2 "" H 2850 2800 29 0000 C CNN +F 3 "" H 2650 2700 60 0000 C CNN + 1 2650 2700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q2 +U 1 1 5CE90A7C +P 4300 2700 +F 0 "Q2" H 4200 2750 50 0000 R CNN +F 1 "eSim_NPN" H 4250 2850 50 0000 R CNN +F 2 "" H 4500 2800 29 0000 C CNN +F 3 "" H 4300 2700 60 0000 C CNN + 1 4300 2700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q6 +U 1 1 5CE90A7D +P 3000 3200 +F 0 "Q6" H 2900 3250 50 0000 R CNN +F 1 "eSim_PNP" H 2950 3350 50 0000 R CNN +F 2 "" H 3200 3300 29 0000 C CNN +F 3 "" H 3000 3200 60 0000 C CNN + 1 3000 3200 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q5 +U 1 1 5CE90A7E +P 3950 3200 +F 0 "Q5" H 3850 3250 50 0000 R CNN +F 1 "eSim_PNP" H 3900 3350 50 0000 R CNN +F 2 "" H 4150 3300 29 0000 C CNN +F 3 "" H 3950 3200 60 0000 C CNN + 1 3950 3200 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q3 +U 1 1 5CE90A7F +P 3300 4000 +F 0 "Q3" H 3200 4050 50 0000 R CNN +F 1 "eSim_NPN" H 3250 4150 50 0000 R CNN +F 2 "" H 3500 4100 29 0000 C CNN +F 3 "" H 3300 4000 60 0000 C CNN + 1 3300 4000 + 1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q4 +U 1 1 5CE90A80 +P 3850 2000 +F 0 "Q4" H 3750 2050 50 0000 R CNN +F 1 "eSim_PNP" H 3800 2150 50 0000 R CNN +F 2 "" H 4050 2100 29 0000 C CNN +F 3 "" H 3850 2000 60 0000 C CNN + 1 3850 2000 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q9 +U 1 1 5CE90A81 +P 5200 2000 +F 0 "Q9" H 5100 2050 50 0000 R CNN +F 1 "eSim_PNP" H 5150 2150 50 0000 R CNN +F 2 "" H 5400 2100 29 0000 C CNN +F 3 "" H 5200 2000 60 0000 C CNN + 1 5200 2000 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q8 +U 1 1 5CE90A82 +P 3950 4600 +F 0 "Q8" H 3850 4650 50 0000 R CNN +F 1 "eSim_NPN" H 3900 4750 50 0000 R CNN +F 2 "" H 4150 4700 29 0000 C CNN +F 3 "" H 3950 4600 60 0000 C CNN + 1 3950 4600 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q7 +U 1 1 5CE90A83 +P 3000 4600 +F 0 "Q7" H 2900 4650 50 0000 R CNN +F 1 "eSim_NPN" H 2950 4750 50 0000 R CNN +F 2 "" H 3200 4700 29 0000 C CNN +F 3 "" H 3000 4600 60 0000 C CNN + 1 3000 4600 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R1 +U 1 1 5CE90A84 +P 2850 5200 +F 0 "R1" H 2900 5330 50 0000 C CNN +F 1 "1k" H 2900 5250 50 0000 C CNN +F 2 "" H 2900 5180 30 0000 C CNN +F 3 "" V 2900 5250 30 0000 C CNN + 1 2850 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R2 +U 1 1 5CE90A85 +P 3550 5200 +F 0 "R2" H 3600 5330 50 0000 C CNN +F 1 "50k" H 3600 5250 50 0000 C CNN +F 2 "" H 3600 5180 30 0000 C CNN +F 3 "" V 3600 5250 30 0000 C CNN + 1 3550 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R3 +U 1 1 5CE90A86 +P 4000 5200 +F 0 "R3" H 4050 5330 50 0000 C CNN +F 1 "1k" H 4050 5250 50 0000 C CNN +F 2 "" H 4050 5180 30 0000 C CNN +F 3 "" V 4050 5250 30 0000 C CNN + 1 4000 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q12 +U 1 1 5CE90A87 +P 6300 4700 +F 0 "Q12" H 6200 4750 50 0000 R CNN +F 1 "eSim_NPN" H 6250 4850 50 0000 R CNN +F 2 "" H 6500 4800 29 0000 C CNN +F 3 "" H 6300 4700 60 0000 C CNN + 1 6300 4700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q13 +U 1 1 5CE90A88 +P 5400 4700 +F 0 "Q13" H 5300 4750 50 0000 R CNN +F 1 "eSim_NPN" H 5350 4850 50 0000 R CNN +F 2 "" H 5600 4800 29 0000 C CNN +F 3 "" H 5400 4700 60 0000 C CNN + 1 5400 4700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R4 +U 1 1 5CE90A89 +P 5250 5200 +F 0 "R4" H 5300 5330 50 0000 C CNN +F 1 "5k" H 5300 5250 50 0000 C CNN +F 2 "" H 5300 5180 30 0000 C CNN +F 3 "" V 5300 5250 30 0000 C CNN + 1 5250 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R11 +U 1 1 5CE90A8A +P 6350 2750 +F 0 "R11" H 6400 2880 50 0000 C CNN +F 1 "39k" H 6400 2800 50 0000 C CNN +F 2 "" H 6400 2730 30 0000 C CNN +F 3 "" V 6400 2800 30 0000 C CNN + 1 6350 2750 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q10 +U 1 1 5CE90A8B +P 6500 1950 +F 0 "Q10" H 6400 2000 50 0000 R CNN +F 1 "eSim_PNP" H 6450 2100 50 0000 R CNN +F 2 "" H 6700 2050 29 0000 C CNN +F 3 "" H 6500 1950 60 0000 C CNN + 1 6500 1950 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q11 +U 1 1 5CE90A8C +P 7500 1950 +F 0 "Q11" H 7400 2000 50 0000 R CNN +F 1 "eSim_PNP" H 7450 2100 50 0000 R CNN +F 2 "" H 7700 2050 29 0000 C CNN +F 3 "" H 7500 1950 60 0000 C CNN + 1 7500 1950 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q14 +U 1 1 5CE90A8D +P 7500 3050 +F 0 "Q14" H 7400 3100 50 0000 R CNN +F 1 "eSim_NPN" H 7450 3200 50 0000 R CNN +F 2 "" H 7700 3150 29 0000 C CNN +F 3 "" H 7500 3050 60 0000 C CNN + 1 7500 3050 + 1 0 0 -1 +$EndComp +$Comp +L eSim_R R8 +U 1 1 5CE90A8E +P 7300 2600 +F 0 "R8" H 7350 2730 50 0000 C CNN +F 1 "4.5k" H 7350 2650 50 0000 C CNN +F 2 "" H 7350 2580 30 0000 C CNN +F 3 "" V 7350 2650 30 0000 C CNN + 1 7300 2600 + -1 0 0 1 +$EndComp +$Comp +L eSim_R R7 +U 1 1 5CE90A8F +P 7300 3400 +F 0 "R7" H 7350 3530 50 0000 C CNN +F 1 "7.5k" H 7350 3450 50 0000 C CNN +F 2 "" H 7350 3380 30 0000 C CNN +F 3 "" V 7350 3450 30 0000 C CNN + 1 7300 3400 + -1 0 0 1 +$EndComp +$Comp +L eSim_C C1 +U 1 1 5CE90A90 +P 6600 3200 +F 0 "C1" H 6625 3300 50 0000 L CNN +F 1 "30p" H 6625 3100 50 0000 L CNN +F 2 "" H 6638 3050 30 0000 C CNN +F 3 "" H 6600 3200 60 0000 C CNN + 1 6600 3200 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q16 +U 1 1 5CE90A91 +P 7050 3950 +F 0 "Q16" H 6950 4000 50 0000 R CNN +F 1 "eSim_NPN" H 7000 4100 50 0000 R CNN +F 2 "" H 7250 4050 29 0000 C CNN +F 3 "" H 7050 3950 60 0000 C CNN + 1 7050 3950 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q15 +U 1 1 5CE90A92 +P 7500 4300 +F 0 "Q15" H 7400 4350 50 0000 R CNN +F 1 "eSim_NPN" H 7450 4450 50 0000 R CNN +F 2 "" H 7700 4400 29 0000 C CNN +F 3 "" H 7500 4300 60 0000 C CNN + 1 7500 4300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_R R5 +U 1 1 5CE90A93 +P 7100 5050 +F 0 "R5" H 7150 5180 50 0000 C CNN +F 1 "50k" H 7150 5100 50 0000 C CNN +F 2 "" H 7150 5030 30 0000 C CNN +F 3 "" V 7150 5100 30 0000 C CNN + 1 7100 5050 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R6 +U 1 1 5CE90A94 +P 7550 5050 +F 0 "R6" H 7600 5180 50 0000 C CNN +F 1 "50" H 7600 5100 50 0000 C CNN +F 2 "" H 7600 5030 30 0000 C CNN +F 3 "" V 7600 5100 30 0000 C CNN + 1 7550 5050 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q17 +U 1 1 5CE90A95 +P 6800 4700 +F 0 "Q17" H 6700 4750 50 0000 R CNN +F 1 "eSim_NPN" H 6750 4850 50 0000 R CNN +F 2 "" H 7000 4800 29 0000 C CNN +F 3 "" H 6800 4700 60 0000 C CNN + 1 6800 4700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q18 +U 1 1 5CE90A96 +P 8800 2300 +F 0 "Q18" H 8700 2350 50 0000 R CNN +F 1 "eSim_NPN" H 8750 2450 50 0000 R CNN +F 2 "" H 9000 2400 29 0000 C CNN +F 3 "" H 8800 2300 60 0000 C CNN + 1 8800 2300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q20 +U 1 1 5CE90A97 +P 8400 2750 +F 0 "Q20" H 8300 2800 50 0000 R CNN +F 1 "eSim_NPN" H 8350 2900 50 0000 R CNN +F 2 "" H 8600 2850 29 0000 C CNN +F 3 "" H 8400 2750 60 0000 C CNN + 1 8400 2750 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R9 +U 1 1 5CE90A98 +P 8850 3000 +F 0 "R9" H 8900 3130 50 0000 C CNN +F 1 "25" H 8900 3050 50 0000 C CNN +F 2 "" H 8900 2980 30 0000 C CNN +F 3 "" V 8900 3050 30 0000 C CNN + 1 8850 3000 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R10 +U 1 1 5CE90A99 +P 8850 3750 +F 0 "R10" H 8900 3880 50 0000 C CNN +F 1 "50" H 8900 3800 50 0000 C CNN +F 2 "" H 8900 3730 30 0000 C CNN +F 3 "" V 8900 3800 30 0000 C CNN + 1 8850 3750 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q19 +U 1 1 5CE90A9A +P 8800 4600 +F 0 "Q19" H 8700 4650 50 0000 R CNN +F 1 "eSim_PNP" H 8750 4750 50 0000 R CNN +F 2 "" H 9000 4700 29 0000 C CNN +F 3 "" H 8800 4600 60 0000 C CNN + 1 8800 4600 + 1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 5CE90A9B +P 1900 1200 +F 0 "U1" H 1950 1300 30 0000 C CNN +F 1 "PORT" H 1900 1200 30 0000 C CNN +F 2 "" H 1900 1200 60 0000 C CNN +F 3 "" H 1900 1200 60 0000 C CNN + 3 1900 1200 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 5CE90A9C +P 4500 1050 +F 0 "U1" H 4550 1150 30 0000 C CNN +F 1 "PORT" H 4500 1050 30 0000 C CNN +F 2 "" H 4500 1050 60 0000 C CNN +F 3 "" H 4500 1050 60 0000 C CNN + 2 4500 1050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 7 1 5CE90A9D +P 9750 1650 +F 0 "U1" H 9800 1750 30 0000 C CNN +F 1 "PORT" H 9750 1650 30 0000 C CNN +F 2 "" H 9750 1650 60 0000 C CNN +F 3 "" H 9750 1650 60 0000 C CNN + 7 9750 1650 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 6 1 5CE90A9E +P 9750 3500 +F 0 "U1" H 9800 3600 30 0000 C CNN +F 1 "PORT" H 9750 3500 30 0000 C CNN +F 2 "" H 9750 3500 60 0000 C CNN +F 3 "" H 9750 3500 60 0000 C CNN + 6 9750 3500 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 4 1 5CE90A9F +P 9700 5550 +F 0 "U1" H 9750 5650 30 0000 C CNN +F 1 "PORT" H 9700 5550 30 0000 C CNN +F 2 "" H 9700 5550 60 0000 C CNN +F 3 "" H 9700 5550 60 0000 C CNN + 4 9700 5550 + -1 0 0 1 +$EndComp +Wire Wire Line + 3200 3200 3750 3200 +Wire Wire Line + 2750 2900 2750 2950 +Wire Wire Line + 2750 2950 2900 2950 +Wire Wire Line + 2900 2950 2900 3000 +Wire Wire Line + 4200 2900 4200 2950 +Wire Wire Line + 4200 2950 4050 2950 +Wire Wire Line + 4050 2950 4050 3000 +Wire Wire Line + 2900 3400 2900 4400 +Wire Wire Line + 2900 4000 3100 4000 +Wire Wire Line + 4200 2000 4200 2500 +Wire Wire Line + 4200 2350 2750 2350 +Wire Wire Line + 2750 2350 2750 2500 +Wire Wire Line + 5000 2000 4050 2000 +Connection ~ 4200 2350 +Connection ~ 4200 2000 +Wire Wire Line + 3750 2200 3750 2350 +Connection ~ 3750 2350 +Wire Wire Line + 3750 1800 3750 1650 +Wire Wire Line + 3400 1650 7600 1650 +Wire Wire Line + 3400 1650 3400 3800 +Wire Wire Line + 5300 1650 5300 1800 +Connection ~ 3750 1650 +Wire Wire Line + 5300 2200 5300 4500 +Wire Wire Line + 5300 3500 3650 3500 +Wire Wire Line + 3650 3500 3650 3200 +Connection ~ 3650 3200 +Connection ~ 2900 4000 +Wire Wire Line + 4050 4400 4050 3400 +Wire Wire Line + 3400 4200 3400 4600 +Wire Wire Line + 3200 4600 3750 4600 +Connection ~ 3400 4600 +Wire Wire Line + 4050 5100 4050 4800 +Wire Wire Line + 3600 5100 3600 4600 +Connection ~ 3600 4600 +Wire Wire Line + 2900 5100 2900 4800 +Wire Wire Line + 2900 5400 2900 5550 +Wire Wire Line + 2900 5550 9450 5550 +Wire Wire Line + 4050 5550 4050 5400 +Wire Wire Line + 3600 5400 3600 5550 +Connection ~ 3600 5550 +Wire Wire Line + 6100 4700 5600 4700 +Wire Wire Line + 6400 2950 6400 4500 +Wire Wire Line + 6400 4250 5900 4250 +Wire Wire Line + 5900 4250 5900 4700 +Connection ~ 5900 4700 +Wire Wire Line + 5300 5100 5300 4900 +Wire Wire Line + 5300 5550 5300 5400 +Connection ~ 4050 5550 +Wire Wire Line + 6400 5550 6400 4900 +Connection ~ 5300 5550 +Connection ~ 5300 3500 +Wire Wire Line + 6400 1650 6400 1750 +Connection ~ 5300 1650 +Wire Wire Line + 6400 2150 6400 2650 +Connection ~ 6400 4250 +Wire Wire Line + 6700 1950 7300 1950 +Wire Wire Line + 7000 1950 7000 2250 +Wire Wire Line + 7000 2250 6400 2250 +Connection ~ 6400 2250 +Wire Wire Line + 7600 1650 7600 1750 +Connection ~ 6400 1650 +Connection ~ 7000 1950 +Wire Wire Line + 7600 3250 7600 4100 +Wire Wire Line + 7600 3450 7400 3450 +Wire Wire Line + 6900 3450 7100 3450 +Wire Wire Line + 6900 2650 6900 3450 +Wire Wire Line + 6900 3050 7300 3050 +Wire Wire Line + 7600 2150 7600 2850 +Wire Wire Line + 7600 2650 7400 2650 +Wire Wire Line + 7100 2650 6900 2650 +Connection ~ 6900 3050 +Connection ~ 7600 2650 +Wire Wire Line + 7300 4300 7150 4300 +Wire Wire Line + 7150 4150 7150 4950 +Connection ~ 7600 3450 +Wire Wire Line + 7600 3700 7150 3700 +Wire Wire Line + 7150 3700 7150 3750 +Connection ~ 7600 3700 +Wire Wire Line + 6600 3050 6600 2450 +Wire Wire Line + 6600 2450 7600 2450 +Connection ~ 7600 2450 +Wire Wire Line + 6600 3350 6600 3950 +Wire Wire Line + 4050 3950 6850 3950 +Wire Wire Line + 6700 3950 6700 4500 +Connection ~ 6700 3950 +Wire Wire Line + 6700 4900 6700 5550 +Connection ~ 6400 5550 +Connection ~ 7150 4300 +Wire Wire Line + 7600 4950 7600 4500 +Wire Wire Line + 7000 4700 7600 4700 +Connection ~ 7600 4700 +Wire Wire Line + 7600 5550 7600 5250 +Connection ~ 6700 5550 +Wire Wire Line + 7150 5250 7150 5550 +Connection ~ 7150 5550 +Wire Wire Line + 7600 2300 8600 2300 +Wire Wire Line + 8300 2300 8300 2550 +Connection ~ 8300 2300 +Connection ~ 7600 2300 +Wire Wire Line + 8900 2100 8900 1650 +Wire Wire Line + 7550 1650 9500 1650 +Connection ~ 7550 1650 +Connection ~ 8900 1650 +Wire Wire Line + 8900 2500 8900 2900 +Wire Wire Line + 8900 2750 8600 2750 +Connection ~ 8900 2750 +Wire Wire Line + 8300 2950 8300 3350 +Wire Wire Line + 8300 3350 8900 3350 +Wire Wire Line + 8900 3200 8900 3650 +Wire Wire Line + 8900 4400 8900 3950 +Connection ~ 8900 3350 +Wire Wire Line + 8900 3500 9500 3500 +Connection ~ 8900 3500 +Wire Wire Line + 8900 5550 8900 4800 +Connection ~ 7600 5550 +Connection ~ 8900 5550 +Wire Wire Line + 8600 4600 8100 4600 +Wire Wire Line + 8100 4600 8100 3850 +Wire Wire Line + 8100 3850 7600 3850 +Connection ~ 7600 3850 +Connection ~ 4050 3950 +Connection ~ 6600 3950 +Wire Wire Line + 4500 2700 4750 2700 +Wire Wire Line + 4750 2700 4750 1050 +Wire Wire Line + 2450 2700 2150 2700 +Wire Wire Line + 2150 2700 2150 1200 +$Comp +L PORT U1 +U 5 1 5CE90AA0 +P 1850 4850 +F 0 "U1" H 1900 4950 30 0000 C CNN +F 1 "PORT" H 1850 4850 30 0000 C CNN +F 2 "" H 1850 4850 60 0000 C CNN +F 3 "" H 1850 4850 60 0000 C CNN + 5 1850 4850 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 1 1 5CE90AA1 +P 1850 5100 +F 0 "U1" H 1900 5200 30 0000 C CNN +F 1 "PORT" H 1850 5100 30 0000 C CNN +F 2 "" H 1850 5100 60 0000 C CNN +F 3 "" H 1850 5100 60 0000 C CNN + 1 1850 5100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2100 5100 2700 5100 +Wire Wire Line + 2700 5100 2700 5050 +Wire Wire Line + 2700 5050 2900 5050 +Connection ~ 2900 5050 +Wire Wire Line + 2100 4850 2550 4850 +Wire Wire Line + 2550 4850 2550 4900 +Wire Wire Line + 2550 4900 4050 4900 +Connection ~ 4050 4900 +$Comp +L PORT U1 +U 8 1 5CE9368F +P 9600 6050 +F 0 "U1" H 9650 6150 30 0000 C CNN +F 1 "PORT" H 9600 6050 30 0000 C CNN +F 2 "" H 9600 6050 60 0000 C CNN +F 3 "" H 9600 6050 60 0000 C CNN + 8 9600 6050 + -1 0 0 1 +$EndComp +Wire Wire Line + 9350 6050 9100 6050 +NoConn ~ 9100 6050 +$EndSCHEMATC diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.sub b/Failed_Subcircuits/LOG_Amplifier/lm_741.sub new file mode 100644 index 000000000..fa8d27b16 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741.sub @@ -0,0 +1,40 @@ +* Subcircuit lm_741 +.subckt lm_741 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? +* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir +.include npn_1.lib +.include pnp_1.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 +q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 +q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 +q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 +q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 +q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 +q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 +r1 net-_q7-pad3_ net-_q12-pad3_ 1k +r2 net-_q3-pad3_ net-_q12-pad3_ 50k +r3 net-_q8-pad3_ net-_q12-pad3_ 1k +q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 +q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 +r4 net-_q13-pad3_ net-_q12-pad3_ 5k +r11 net-_q10-pad1_ net-_q12-pad1_ 39k +q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 +r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k +r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k +c1 net-_c1-pad1_ net-_c1-pad2_ 30p +q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 +q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 +r5 net-_q15-pad2_ net-_q12-pad3_ 50k +r6 net-_q15-pad3_ net-_q12-pad3_ 50 +q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 +q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 +q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 +r9 net-_q18-pad3_ net-_q20-pad3_ 25 +r10 net-_q20-pad3_ net-_q19-pad3_ 50 +q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 +* Control Statements + +.ends lm_741 \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml b/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml new file mode 100644 index 000000000..b61322bb5 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml @@ -0,0 +1 @@ +C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/npn_1.lib b/Failed_Subcircuits/LOG_Amplifier/npn_1.lib new file mode 100644 index 000000000..a1818ed83 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/npn_1.lib @@ -0,0 +1,29 @@ +.model npn_1 NPN( ++ Vtf=1.7 ++ Cjc=0.5p ++ Nc=2 ++ Tr=46.91n ++ Ne=1.307 ++ Cje=0.5p ++ Isc=0 ++ Xtb=1.5 ++ Rb=500 ++ Rc=1 ++ Tf=411.1p ++ Xti=3 ++ Ikr=0 ++ Bf=125 ++ Fc=.5 ++ Ise=14.34f ++ Br=6.092 ++ Ikf=.2847 ++ Mje=.377 ++ Mjc=.3416 ++ Vaf=74.03 ++ Vjc=.75 ++ Vje=.75 ++ Xtf=3 ++ Itf=.6 ++ Is=14.34f ++ Eg=1.11 +) \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib b/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib new file mode 100644 index 000000000..a4ee06da6 --- /dev/null +++ b/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib @@ -0,0 +1,29 @@ +.model pnp_1 PNP( ++ Vtf=1.7 ++ Cjc=1.5p ++ Nc=2 ++ Tr=46.91n ++ Ne=1.307 ++ Cje=0.3p ++ Isc=0 ++ Xtb=1.5 ++ Rb=250 ++ Rc=1 ++ Tf=411.1p ++ Xti=3 ++ Ikr=0 ++ Bf=25 ++ Fc=.5 ++ Ise=14.34f ++ Br=6.092 ++ Ikf=.2847 ++ Mje=.377 ++ Mjc=.3416 ++ Vaf=74.03 ++ Vjc=.75 ++ Vje=.75 ++ Xtf=3 ++ Itf=.6 ++ Is=14.34f ++ Eg=1.11 +) \ No newline at end of file From 5980bc0b4d5a51325aa6afc1d170ced06ec933dd Mon Sep 17 00:00:00 2001 From: Vanshika Tanwar Date: Wed, 30 Nov 2022 14:10:42 +0530 Subject: [PATCH 09/11] LOG104 Log Amplifier IC --- .../Log Amplifier/LOG_Amplifier-cache.lib | 135 ++++ .../Log Amplifier/LOG_Amplifier.cir | 18 + .../Log Amplifier/LOG_Amplifier.cir.out | 21 + .../Log Amplifier/LOG_Amplifier.pro | 71 ++ .../Log Amplifier/LOG_Amplifier.sch | 338 +++++++++ .../Log Amplifier/LOG_Amplifier.sub | 15 + .../LOG_Amplifier_Previous_Values.xml | 1 + Failed Subcircuits/Log Amplifier/NPN.lib | 4 + Failed Subcircuits/Log Amplifier/PNP.lib | 4 + Failed Subcircuits/Log Amplifier/README.md | 35 + Failed Subcircuits/Log Amplifier/analysis | 1 + .../Log Amplifier/lm_741-cache.lib | 119 +++ Failed Subcircuits/Log Amplifier/lm_741.cir | 43 ++ .../Log Amplifier/lm_741.cir.out | 46 ++ Failed Subcircuits/Log Amplifier/lm_741.pro | 44 ++ Failed Subcircuits/Log Amplifier/lm_741.sch | 697 ++++++++++++++++++ Failed Subcircuits/Log Amplifier/lm_741.sub | 40 + .../Log Amplifier/lm_741_Previous_Values.xml | 1 + Failed Subcircuits/Log Amplifier/npn_1.lib | 29 + Failed Subcircuits/Log Amplifier/pnp_1.lib | 29 + 20 files changed, 1691 insertions(+) create mode 100644 Failed Subcircuits/Log Amplifier/LOG_Amplifier-cache.lib create mode 100644 Failed Subcircuits/Log Amplifier/LOG_Amplifier.cir create mode 100644 Failed Subcircuits/Log Amplifier/LOG_Amplifier.cir.out create mode 100644 Failed Subcircuits/Log Amplifier/LOG_Amplifier.pro create mode 100644 Failed Subcircuits/Log Amplifier/LOG_Amplifier.sch create mode 100644 Failed Subcircuits/Log Amplifier/LOG_Amplifier.sub create mode 100644 Failed Subcircuits/Log Amplifier/LOG_Amplifier_Previous_Values.xml create mode 100644 Failed Subcircuits/Log Amplifier/NPN.lib create mode 100644 Failed Subcircuits/Log Amplifier/PNP.lib create mode 100644 Failed Subcircuits/Log Amplifier/README.md create mode 100644 Failed Subcircuits/Log Amplifier/analysis create mode 100644 Failed Subcircuits/Log Amplifier/lm_741-cache.lib create mode 100644 Failed Subcircuits/Log Amplifier/lm_741.cir create mode 100644 Failed Subcircuits/Log Amplifier/lm_741.cir.out create mode 100644 Failed Subcircuits/Log Amplifier/lm_741.pro create mode 100644 Failed Subcircuits/Log Amplifier/lm_741.sch create mode 100644 Failed Subcircuits/Log Amplifier/lm_741.sub create mode 100644 Failed Subcircuits/Log Amplifier/lm_741_Previous_Values.xml create mode 100644 Failed Subcircuits/Log Amplifier/npn_1.lib create mode 100644 Failed Subcircuits/Log Amplifier/pnp_1.lib diff --git a/Failed Subcircuits/Log Amplifier/LOG_Amplifier-cache.lib b/Failed Subcircuits/Log Amplifier/LOG_Amplifier-cache.lib new file mode 100644 index 000000000..893d14f93 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/LOG_Amplifier-cache.lib @@ -0,0 +1,135 @@ +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_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_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 +# +# lm_741 +# +DEF lm_741 X 0 40 Y Y 1 F N +F0 "X" -200 0 60 H V C CNN +F1 "lm_741" -100 -250 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N +X off_null 1 -50 400 200 D 50 38 1 1 I +X inv 2 -550 150 200 R 50 38 1 1 I +X non_inv 3 -550 -100 200 R 50 38 1 1 I +X v_neg 4 -150 -450 200 U 50 38 1 1 I +X off_null 5 50 350 200 D 50 38 1 1 I +X out 6 550 0 200 L 50 38 1 1 O +X v_pos 7 -150 450 200 D 50 38 1 1 I +X NC 8 150 -300 200 U 50 38 1 1 N +ENDDRAW +ENDDEF +# +#End Library diff --git a/Failed Subcircuits/Log Amplifier/LOG_Amplifier.cir b/Failed Subcircuits/Log Amplifier/LOG_Amplifier.cir new file mode 100644 index 000000000..219871a98 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/LOG_Amplifier.cir @@ -0,0 +1,18 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\LOG_Amplifier\LOG_Amplifier.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 9/11/2022 7:52:59 PM + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +X1 ? /Inp1 GND /Vneg ? Net-_Q1-Pad3_ /Vpos ? lm_741 +X2 ? /Inp2 GND /Vneg ? /Vout /Vpos ? lm_741 +Q1 /Inp1 Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN +Q2 /Inp2 GND Net-_Q1-Pad3_ eSim_NPN +R1 /Vout Net-_Q1-Pad2_ 3.2k +R2 Net-_Q1-Pad2_ GND 5k +C1 /Vout /Inp2 3.4u +U1 /Inp1 /NC /Vout /Vpos /Vneg GND /NC /Inp2 PORT + +.end diff --git a/Failed Subcircuits/Log Amplifier/LOG_Amplifier.cir.out b/Failed Subcircuits/Log Amplifier/LOG_Amplifier.cir.out new file mode 100644 index 000000000..3f79ec5ff --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/LOG_Amplifier.cir.out @@ -0,0 +1,21 @@ +* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir + +.include lm_741.sub +.include NPN.lib +x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741 +x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741 +q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222 +q2 /inp2 gnd net-_q1-pad3_ Q2N2222 +r1 /vout net-_q1-pad2_ 3.2k +r2 net-_q1-pad2_ gnd 5k +c1 /vout /inp2 3.4u +* u1 /inp1 /nc /vout /vpos /vneg gnd /nc /inp2 port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/Failed Subcircuits/Log Amplifier/LOG_Amplifier.pro b/Failed Subcircuits/Log Amplifier/LOG_Amplifier.pro new file mode 100644 index 000000000..d7f78c3b4 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/LOG_Amplifier.pro @@ -0,0 +1,71 @@ +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 diff --git a/Failed Subcircuits/Log Amplifier/LOG_Amplifier.sch b/Failed Subcircuits/Log Amplifier/LOG_Amplifier.sch new file mode 100644 index 000000000..b1af81c1a --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/LOG_Amplifier.sch @@ -0,0 +1,338 @@ +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:LOG_Amplifier-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 lm_741 X1 +U 1 1 631DA9B4 +P 4100 3400 +F 0 "X1" H 3900 3400 60 0000 C CNN +F 1 "lm_741" H 4000 3150 60 0000 C CNN +F 2 "" H 4100 3400 60 0000 C CNN +F 3 "" H 4100 3400 60 0000 C CNN + 1 4100 3400 + 1 0 0 -1 +$EndComp +$Comp +L lm_741 X2 +U 1 1 631DACD9 +P 6800 3400 +F 0 "X2" H 6600 3400 60 0000 C CNN +F 1 "lm_741" H 6700 3150 60 0000 C CNN +F 2 "" H 6800 3400 60 0000 C CNN +F 3 "" H 6800 3400 60 0000 C CNN + 1 6800 3400 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q1 +U 1 1 631DAD47 +P 4950 2900 +F 0 "Q1" H 4850 2950 50 0000 R CNN +F 1 "eSim_NPN" H 4900 3050 50 0000 R CNN +F 2 "" H 5150 3000 29 0000 C CNN +F 3 "" H 4950 2900 60 0000 C CNN + 1 4950 2900 + 0 -1 -1 0 +$EndComp +$Comp +L eSim_NPN Q2 +U 1 1 631DAD9B +P 5600 2900 +F 0 "Q2" H 5500 2950 50 0000 R CNN +F 1 "eSim_NPN" H 5550 3050 50 0000 R CNN +F 2 "" H 5800 3000 29 0000 C CNN +F 3 "" H 5600 2900 60 0000 C CNN + 1 5600 2900 + 0 1 -1 0 +$EndComp +$Comp +L resistor R1 +U 1 1 631DB085 +P 7450 3700 +F 0 "R1" H 7500 3830 50 0000 C CNN +F 1 "3.2k" H 7500 3650 50 0000 C CNN +F 2 "" H 7500 3680 30 0000 C CNN +F 3 "" V 7500 3750 30 0000 C CNN + 1 7450 3700 + 0 1 1 0 +$EndComp +$Comp +L resistor R2 +U 1 1 631DB0C5 +P 7450 4200 +F 0 "R2" H 7500 4330 50 0000 C CNN +F 1 "5k" H 7500 4150 50 0000 C CNN +F 2 "" H 7500 4180 30 0000 C CNN +F 3 "" V 7500 4250 30 0000 C CNN + 1 7450 4200 + 0 1 1 0 +$EndComp +$Comp +L GND #PWR01 +U 1 1 631DB394 +P 6250 3700 +F 0 "#PWR01" H 6250 3450 50 0001 C CNN +F 1 "GND" H 6250 3550 50 0000 C CNN +F 2 "" H 6250 3700 50 0001 C CNN +F 3 "" H 6250 3700 50 0001 C CNN + 1 6250 3700 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR02 +U 1 1 631DB3B1 +P 3350 3700 +F 0 "#PWR02" H 3350 3450 50 0001 C CNN +F 1 "GND" H 3350 3550 50 0000 C CNN +F 2 "" H 3350 3700 50 0001 C CNN +F 3 "" H 3350 3700 50 0001 C CNN + 1 3350 3700 + 1 0 0 -1 +$EndComp +$Comp +L GND #PWR03 +U 1 1 631DB3CE +P 5600 3300 +F 0 "#PWR03" H 5600 3050 50 0001 C CNN +F 1 "GND" H 5600 3150 50 0000 C CNN +F 2 "" H 5600 3300 50 0001 C CNN +F 3 "" H 5600 3300 50 0001 C CNN + 1 5600 3300 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C1 +U 1 1 631DB439 +P 7050 2400 +F 0 "C1" H 7075 2500 50 0000 L CNN +F 1 "3.4u" H 7075 2300 50 0000 L CNN +F 2 "" H 7088 2250 30 0000 C CNN +F 3 "" H 7050 2400 60 0000 C CNN + 1 7050 2400 + 0 1 1 0 +$EndComp +Wire Wire Line + 5150 2800 5400 2800 +Wire Wire Line + 6100 3250 6250 3250 +Wire Wire Line + 6100 2050 6100 3250 +Wire Wire Line + 5800 2800 6100 2800 +Connection ~ 6100 2800 +Wire Wire Line + 7350 3400 8100 3400 +Wire Wire Line + 7500 3600 7500 3400 +Connection ~ 7500 3400 +Wire Wire Line + 7500 4100 7500 3900 +Wire Wire Line + 4650 3400 5300 3400 +Wire Wire Line + 5300 3400 5300 2800 +Connection ~ 5300 2800 +Wire Wire Line + 4750 2800 3400 2800 +Wire Wire Line + 3550 3250 3550 2800 +Connection ~ 3550 2800 +Wire Wire Line + 4950 3100 4950 4000 +Wire Wire Line + 4950 4000 7500 4000 +Connection ~ 7500 4000 +Wire Wire Line + 5600 3100 5600 3300 +Wire Wire Line + 3550 3500 3350 3500 +Wire Wire Line + 3350 3500 3350 3700 +Wire Wire Line + 7500 4400 7500 4550 +Wire Wire Line + 6100 2400 6900 2400 +Wire Wire Line + 7200 2400 7950 2400 +Wire Wire Line + 7950 2400 7950 3400 +Connection ~ 7950 3400 +Connection ~ 6100 2400 +Wire Wire Line + 6650 1500 6650 2950 +Wire Wire Line + 3950 2950 3950 1500 +Wire Wire Line + 3950 1500 7250 1500 +Connection ~ 6650 1500 +Wire Wire Line + 3950 3850 3950 5050 +Wire Wire Line + 3950 5050 7150 5050 +Wire Wire Line + 6650 3850 6650 5050 +Connection ~ 6650 5050 +$Comp +L PORT U1 +U 1 1 631DBAA4 +P 3150 2800 +F 0 "U1" H 3200 2900 30 0000 C CNN +F 1 "PORT" H 3150 2800 30 0000 C CNN +F 2 "" H 3150 2800 60 0000 C CNN +F 3 "" H 3150 2800 60 0000 C CNN + 1 3150 2800 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 7 1 631DBB47 +P 8300 1500 +F 0 "U1" H 8350 1600 30 0000 C CNN +F 1 "PORT" H 8300 1500 30 0000 C CNN +F 2 "" H 8300 1500 60 0000 C CNN +F 3 "" H 8300 1500 60 0000 C CNN + 7 8300 1500 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 5 1 631DBB7E +P 7400 5050 +F 0 "U1" H 7450 5150 30 0000 C CNN +F 1 "PORT" H 7400 5050 30 0000 C CNN +F 2 "" H 7400 5050 60 0000 C CNN +F 3 "" H 7400 5050 60 0000 C CNN + 5 7400 5050 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 4 1 631DBC23 +P 7500 1500 +F 0 "U1" H 7550 1600 30 0000 C CNN +F 1 "PORT" H 7500 1500 30 0000 C CNN +F 2 "" H 7500 1500 60 0000 C CNN +F 3 "" H 7500 1500 60 0000 C CNN + 4 7500 1500 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 631DBCC0 +P 8350 3400 +F 0 "U1" H 8400 3500 30 0000 C CNN +F 1 "PORT" H 8350 3400 30 0000 C CNN +F 2 "" H 8350 3400 60 0000 C CNN +F 3 "" H 8350 3400 60 0000 C CNN + 3 8350 3400 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 6 1 631DBD7A +P 8400 4550 +F 0 "U1" H 8450 4650 30 0000 C CNN +F 1 "PORT" H 8400 4550 30 0000 C CNN +F 2 "" H 8400 4550 60 0000 C CNN +F 3 "" H 8400 4550 60 0000 C CNN + 6 8400 4550 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 8 1 631DBDEB +P 3400 2050 +F 0 "U1" H 3450 2150 30 0000 C CNN +F 1 "PORT" H 3400 2050 30 0000 C CNN +F 2 "" H 3400 2050 60 0000 C CNN +F 3 "" H 3400 2050 60 0000 C CNN + 8 3400 2050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 631DBE44 +P 8300 1250 +F 0 "U1" H 8350 1350 30 0000 C CNN +F 1 "PORT" H 8300 1250 30 0000 C CNN +F 2 "" H 8300 1250 60 0000 C CNN +F 3 "" H 8300 1250 60 0000 C CNN + 2 8300 1250 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3650 2050 6100 2050 +Wire Wire Line + 7500 4550 8150 4550 +Wire Wire Line + 6250 3500 6250 3700 +NoConn ~ 8550 1250 +NoConn ~ 8550 1500 +Text Label 8550 1250 0 60 ~ 0 +NC +Text Label 8550 1500 0 60 ~ 0 +NC +Text Label 7000 5050 0 60 ~ 0 +Vneg +Text Label 7050 1500 0 60 ~ 0 +Vpos +Text Label 8000 3400 0 60 ~ 0 +Vout +Text Label 8000 4550 0 60 ~ 0 +Gnd +Text Label 3400 2800 0 60 ~ 0 +Inp1 +Text Label 3650 2050 0 60 ~ 0 +Inp2 +$EndSCHEMATC diff --git a/Failed Subcircuits/Log Amplifier/LOG_Amplifier.sub b/Failed Subcircuits/Log Amplifier/LOG_Amplifier.sub new file mode 100644 index 000000000..4fc6b46ce --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/LOG_Amplifier.sub @@ -0,0 +1,15 @@ +* Subcircuit LOG_Amplifier +.subckt LOG_Amplifier /inp1 /nc /vout /vpos /vneg gnd /nc /inp2 +* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir +.include lm_741.sub +.include NPN.lib +x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741 +x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741 +q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222 +q2 /inp2 gnd net-_q1-pad3_ Q2N2222 +r1 /vout net-_q1-pad2_ 3.2k +r2 net-_q1-pad2_ gnd 5k +c1 /vout /inp2 3.4u +* Control Statements + +.ends LOG_Amplifier \ No newline at end of file diff --git a/Failed Subcircuits/Log Amplifier/LOG_Amplifier_Previous_Values.xml b/Failed Subcircuits/Log Amplifier/LOG_Amplifier_Previous_Values.xml new file mode 100644 index 000000000..db2cbdf01 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/LOG_Amplifier_Previous_Values.xml @@ -0,0 +1 @@ +C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741C:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/Failed Subcircuits/Log Amplifier/NPN.lib b/Failed Subcircuits/Log Amplifier/NPN.lib new file mode 100644 index 000000000..6509fe7ab --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/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=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p ++ Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p ++ Itf=.6 Vtf=1.7 Xtf=3 Rb=10) diff --git a/Failed Subcircuits/Log Amplifier/PNP.lib b/Failed Subcircuits/Log Amplifier/PNP.lib new file mode 100644 index 000000000..7edda0eab --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/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/Failed Subcircuits/Log Amplifier/README.md b/Failed Subcircuits/Log Amplifier/README.md new file mode 100644 index 000000000..f204e8a65 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/README.md @@ -0,0 +1,35 @@ +# LOG104 Log Amplifier IC + +Log Amplifier is a general purpose 8-Pin IC. It's basically a precision logarithmic and log ratio amplifier . It is the circuit that is used to calculate Logarithm or log ratio of the input current values with respect to the reference current. + +## Usage/Examples + +It is used to perform mathematical operations like exponentiation,multiplication and division. + +It is used as a True RMS Converter. + +It is used in the communications, analytical and medical industries. + +It is also used for absorbance and optical density measurement. + +It is used as a photodiode signal compression ampplifier + +It is used also for analog signal compression in front of analog-to-digital (A/D) converters. +## Documentation + +To know the details of LOG104 IC please refer to this link [LOG104_datasheet.](https://www.ti.com/lit/ds/symlink/log104.pdf?ts=1669552722002&ref_url=https%253A%252F%252Fwww.google.com%252F) + +## Error Observed + +The output waveform is not coming correct at the time of simulation according to the mathematical calculations. + +## Possible Solution + +The designer is suggested to perform the analysis as well as testing of each different block seperately first of the circuit or if in case it is needed, a block level of the IC should have to be redesigned in order to obtain the desired results. + +## Contributor + +Name: Vanshika Tanwar +Email: vanshikatanwar30@gmail.com +Year: 2022 +Position: FOSSEE Summer Fellowship Intern 2022 diff --git a/Failed Subcircuits/Log Amplifier/analysis b/Failed Subcircuits/Log Amplifier/analysis new file mode 100644 index 000000000..ebd5c0a94 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/analysis @@ -0,0 +1 @@ +.tran 0e-00 0e-00 0e-00 \ No newline at end of file diff --git a/Failed Subcircuits/Log Amplifier/lm_741-cache.lib b/Failed Subcircuits/Log Amplifier/lm_741-cache.lib new file mode 100644 index 000000000..04e3fecd3 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/lm_741-cache.lib @@ -0,0 +1,119 @@ +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 +$FPLIST + C_* +$ENDFPLIST +DRAW +P 2 0 1 20 -80 -30 80 -30 N +P 2 0 1 20 -80 30 80 30 N +X ~ 1 0 150 110 D 40 40 1 1 P +X ~ 2 0 -150 110 U 40 40 1 1 P +ENDDRAW +ENDDEF +# +# eSim_NPN +# +DEF eSim_NPN Q 0 0 Y N 1 F N +F0 "Q" -100 50 50 H V R CNN +F1 "eSim_NPN" -50 150 50 H V R CNN +F2 "" 200 100 29 H V C CNN +F3 "" 0 0 60 H V C CNN +ALIAS BC547 Q2N2222 +DRAW +C 50 0 111 0 1 10 N +P 2 0 1 0 25 25 100 100 N +P 3 0 1 0 25 -25 100 -100 100 -100 N +P 3 0 1 20 25 75 25 -75 25 -75 N +P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F +X C 1 100 200 100 D 50 50 1 1 C +X B 2 -200 0 225 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 E +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 C +X B 2 -200 0 225 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 E +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 +$FPLIST + R_* + Resistor_* +$ENDFPLIST +DRAW +S 150 10 -50 90 0 1 10 N +X ~ 1 -100 50 50 R 60 60 1 1 P +X ~ 2 200 50 50 L 60 60 1 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/Failed Subcircuits/Log Amplifier/lm_741.cir b/Failed Subcircuits/Log Amplifier/lm_741.cir new file mode 100644 index 000000000..4a5917ea6 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/lm_741.cir @@ -0,0 +1,43 @@ +* C:\Users\malli\eSim\src\SubcircuitLibrary\lm_741\lm_741.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 05/25/19 19:37:28 + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN +Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN +Q6 Net-_Q3-Pad2_ Net-_Q13-Pad1_ Net-_Q1-Pad3_ eSim_PNP +Q5 Net-_C1-Pad2_ Net-_Q13-Pad1_ Net-_Q2-Pad3_ eSim_PNP +Q3 Net-_Q10-Pad3_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN +Q4 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q9 Net-_Q13-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q8 Net-_C1-Pad2_ Net-_Q3-Pad3_ Net-_Q8-Pad3_ eSim_NPN +Q7 Net-_Q3-Pad2_ Net-_Q3-Pad3_ Net-_Q7-Pad3_ eSim_NPN +R1 Net-_Q7-Pad3_ Net-_Q12-Pad3_ 1k +R2 Net-_Q3-Pad3_ Net-_Q12-Pad3_ 50k +R3 Net-_Q8-Pad3_ Net-_Q12-Pad3_ 1k +Q12 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_NPN +Q13 Net-_Q13-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad3_ eSim_NPN +R4 Net-_Q13-Pad3_ Net-_Q12-Pad3_ 5k +R11 Net-_Q10-Pad1_ Net-_Q12-Pad1_ 39k +Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q11 Net-_C1-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP +Q14 Net-_C1-Pad1_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN +R8 Net-_C1-Pad1_ Net-_Q14-Pad2_ 4.5k +R7 Net-_Q14-Pad3_ Net-_Q14-Pad2_ 7.5k +C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p +Q16 Net-_Q14-Pad3_ Net-_C1-Pad2_ Net-_Q15-Pad2_ eSim_NPN +Q15 Net-_Q14-Pad3_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN +R5 Net-_Q15-Pad2_ Net-_Q12-Pad3_ 50k +R6 Net-_Q15-Pad3_ Net-_Q12-Pad3_ 50 +Q17 Net-_C1-Pad2_ Net-_Q15-Pad3_ Net-_Q12-Pad3_ eSim_NPN +Q18 Net-_Q10-Pad3_ Net-_C1-Pad1_ Net-_Q18-Pad3_ eSim_NPN +Q20 Net-_C1-Pad1_ Net-_Q18-Pad3_ Net-_Q20-Pad3_ eSim_NPN +R9 Net-_Q18-Pad3_ Net-_Q20-Pad3_ 25 +R10 Net-_Q20-Pad3_ Net-_Q19-Pad3_ 50 +Q19 Net-_Q12-Pad3_ Net-_Q14-Pad3_ Net-_Q19-Pad3_ eSim_PNP +U1 Net-_Q7-Pad3_ Net-_Q2-Pad2_ Net-_Q1-Pad2_ Net-_Q12-Pad3_ Net-_Q8-Pad3_ Net-_Q20-Pad3_ Net-_Q10-Pad3_ ? PORT + +.end diff --git a/Failed Subcircuits/Log Amplifier/lm_741.cir.out b/Failed Subcircuits/Log Amplifier/lm_741.cir.out new file mode 100644 index 000000000..a00bd86af --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/lm_741.cir.out @@ -0,0 +1,46 @@ +* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir + +.include npn_1.lib +.include pnp_1.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 +q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 +q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 +q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 +q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 +q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 +q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 +r1 net-_q7-pad3_ net-_q12-pad3_ 1k +r2 net-_q3-pad3_ net-_q12-pad3_ 50k +r3 net-_q8-pad3_ net-_q12-pad3_ 1k +q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 +q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 +r4 net-_q13-pad3_ net-_q12-pad3_ 5k +r11 net-_q10-pad1_ net-_q12-pad1_ 39k +q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 +r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k +r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k +c1 net-_c1-pad1_ net-_c1-pad2_ 30p +q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 +q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 +r5 net-_q15-pad2_ net-_q12-pad3_ 50k +r6 net-_q15-pad3_ net-_q12-pad3_ 50 +q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 +q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 +q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 +r9 net-_q18-pad3_ net-_q20-pad3_ 25 +r10 net-_q20-pad3_ net-_q19-pad3_ 50 +q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 +* u1 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? port +.tran 0e-00 0e-00 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end diff --git a/Failed Subcircuits/Log Amplifier/lm_741.pro b/Failed Subcircuits/Log Amplifier/lm_741.pro new file mode 100644 index 000000000..b56de1b0f --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/lm_741.pro @@ -0,0 +1,44 @@ +update=Fri Jun 7 21:53:51 2019 +version=1 +last_client=eeschema +[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=power +LibName2=eSim_Analog +LibName3=eSim_Devices +LibName4=eSim_Digital +LibName5=eSim_Hybrid +LibName6=eSim_Miscellaneous +LibName7=eSim_Plot +LibName8=eSim_Power +LibName9=eSim_User +LibName10=eSim_Sources +LibName11=eSim_Subckt diff --git a/Failed Subcircuits/Log Amplifier/lm_741.sch b/Failed Subcircuits/Log Amplifier/lm_741.sch new file mode 100644 index 000000000..b017fd2b8 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/lm_741.sch @@ -0,0 +1,697 @@ +EESchema Schematic File Version 2 +LIBS:power +LIBS:eSim_Analog +LIBS:eSim_Devices +LIBS:eSim_Digital +LIBS:eSim_Hybrid +LIBS:eSim_Miscellaneous +LIBS:eSim_Plot +LIBS:eSim_Power +LIBS:eSim_PSpice +LIBS:eSim_Sources +LIBS:eSim_Subckt +LIBS:eSim_User +LIBS:lm_741-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_NPN Q1 +U 1 1 5CE90A7B +P 2650 2700 +F 0 "Q1" H 2550 2750 50 0000 R CNN +F 1 "eSim_NPN" H 2600 2850 50 0000 R CNN +F 2 "" H 2850 2800 29 0000 C CNN +F 3 "" H 2650 2700 60 0000 C CNN + 1 2650 2700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q2 +U 1 1 5CE90A7C +P 4300 2700 +F 0 "Q2" H 4200 2750 50 0000 R CNN +F 1 "eSim_NPN" H 4250 2850 50 0000 R CNN +F 2 "" H 4500 2800 29 0000 C CNN +F 3 "" H 4300 2700 60 0000 C CNN + 1 4300 2700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q6 +U 1 1 5CE90A7D +P 3000 3200 +F 0 "Q6" H 2900 3250 50 0000 R CNN +F 1 "eSim_PNP" H 2950 3350 50 0000 R CNN +F 2 "" H 3200 3300 29 0000 C CNN +F 3 "" H 3000 3200 60 0000 C CNN + 1 3000 3200 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q5 +U 1 1 5CE90A7E +P 3950 3200 +F 0 "Q5" H 3850 3250 50 0000 R CNN +F 1 "eSim_PNP" H 3900 3350 50 0000 R CNN +F 2 "" H 4150 3300 29 0000 C CNN +F 3 "" H 3950 3200 60 0000 C CNN + 1 3950 3200 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q3 +U 1 1 5CE90A7F +P 3300 4000 +F 0 "Q3" H 3200 4050 50 0000 R CNN +F 1 "eSim_NPN" H 3250 4150 50 0000 R CNN +F 2 "" H 3500 4100 29 0000 C CNN +F 3 "" H 3300 4000 60 0000 C CNN + 1 3300 4000 + 1 0 0 -1 +$EndComp +$Comp +L eSim_PNP Q4 +U 1 1 5CE90A80 +P 3850 2000 +F 0 "Q4" H 3750 2050 50 0000 R CNN +F 1 "eSim_PNP" H 3800 2150 50 0000 R CNN +F 2 "" H 4050 2100 29 0000 C CNN +F 3 "" H 3850 2000 60 0000 C CNN + 1 3850 2000 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q9 +U 1 1 5CE90A81 +P 5200 2000 +F 0 "Q9" H 5100 2050 50 0000 R CNN +F 1 "eSim_PNP" H 5150 2150 50 0000 R CNN +F 2 "" H 5400 2100 29 0000 C CNN +F 3 "" H 5200 2000 60 0000 C CNN + 1 5200 2000 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q8 +U 1 1 5CE90A82 +P 3950 4600 +F 0 "Q8" H 3850 4650 50 0000 R CNN +F 1 "eSim_NPN" H 3900 4750 50 0000 R CNN +F 2 "" H 4150 4700 29 0000 C CNN +F 3 "" H 3950 4600 60 0000 C CNN + 1 3950 4600 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q7 +U 1 1 5CE90A83 +P 3000 4600 +F 0 "Q7" H 2900 4650 50 0000 R CNN +F 1 "eSim_NPN" H 2950 4750 50 0000 R CNN +F 2 "" H 3200 4700 29 0000 C CNN +F 3 "" H 3000 4600 60 0000 C CNN + 1 3000 4600 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R1 +U 1 1 5CE90A84 +P 2850 5200 +F 0 "R1" H 2900 5330 50 0000 C CNN +F 1 "1k" H 2900 5250 50 0000 C CNN +F 2 "" H 2900 5180 30 0000 C CNN +F 3 "" V 2900 5250 30 0000 C CNN + 1 2850 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R2 +U 1 1 5CE90A85 +P 3550 5200 +F 0 "R2" H 3600 5330 50 0000 C CNN +F 1 "50k" H 3600 5250 50 0000 C CNN +F 2 "" H 3600 5180 30 0000 C CNN +F 3 "" V 3600 5250 30 0000 C CNN + 1 3550 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R3 +U 1 1 5CE90A86 +P 4000 5200 +F 0 "R3" H 4050 5330 50 0000 C CNN +F 1 "1k" H 4050 5250 50 0000 C CNN +F 2 "" H 4050 5180 30 0000 C CNN +F 3 "" V 4050 5250 30 0000 C CNN + 1 4000 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q12 +U 1 1 5CE90A87 +P 6300 4700 +F 0 "Q12" H 6200 4750 50 0000 R CNN +F 1 "eSim_NPN" H 6250 4850 50 0000 R CNN +F 2 "" H 6500 4800 29 0000 C CNN +F 3 "" H 6300 4700 60 0000 C CNN + 1 6300 4700 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q13 +U 1 1 5CE90A88 +P 5400 4700 +F 0 "Q13" H 5300 4750 50 0000 R CNN +F 1 "eSim_NPN" H 5350 4850 50 0000 R CNN +F 2 "" H 5600 4800 29 0000 C CNN +F 3 "" H 5400 4700 60 0000 C CNN + 1 5400 4700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R4 +U 1 1 5CE90A89 +P 5250 5200 +F 0 "R4" H 5300 5330 50 0000 C CNN +F 1 "5k" H 5300 5250 50 0000 C CNN +F 2 "" H 5300 5180 30 0000 C CNN +F 3 "" V 5300 5250 30 0000 C CNN + 1 5250 5200 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R11 +U 1 1 5CE90A8A +P 6350 2750 +F 0 "R11" H 6400 2880 50 0000 C CNN +F 1 "39k" H 6400 2800 50 0000 C CNN +F 2 "" H 6400 2730 30 0000 C CNN +F 3 "" V 6400 2800 30 0000 C CNN + 1 6350 2750 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q10 +U 1 1 5CE90A8B +P 6500 1950 +F 0 "Q10" H 6400 2000 50 0000 R CNN +F 1 "eSim_PNP" H 6450 2100 50 0000 R CNN +F 2 "" H 6700 2050 29 0000 C CNN +F 3 "" H 6500 1950 60 0000 C CNN + 1 6500 1950 + -1 0 0 1 +$EndComp +$Comp +L eSim_PNP Q11 +U 1 1 5CE90A8C +P 7500 1950 +F 0 "Q11" H 7400 2000 50 0000 R CNN +F 1 "eSim_PNP" H 7450 2100 50 0000 R CNN +F 2 "" H 7700 2050 29 0000 C CNN +F 3 "" H 7500 1950 60 0000 C CNN + 1 7500 1950 + 1 0 0 1 +$EndComp +$Comp +L eSim_NPN Q14 +U 1 1 5CE90A8D +P 7500 3050 +F 0 "Q14" H 7400 3100 50 0000 R CNN +F 1 "eSim_NPN" H 7450 3200 50 0000 R CNN +F 2 "" H 7700 3150 29 0000 C CNN +F 3 "" H 7500 3050 60 0000 C CNN + 1 7500 3050 + 1 0 0 -1 +$EndComp +$Comp +L eSim_R R8 +U 1 1 5CE90A8E +P 7300 2600 +F 0 "R8" H 7350 2730 50 0000 C CNN +F 1 "4.5k" H 7350 2650 50 0000 C CNN +F 2 "" H 7350 2580 30 0000 C CNN +F 3 "" V 7350 2650 30 0000 C CNN + 1 7300 2600 + -1 0 0 1 +$EndComp +$Comp +L eSim_R R7 +U 1 1 5CE90A8F +P 7300 3400 +F 0 "R7" H 7350 3530 50 0000 C CNN +F 1 "7.5k" H 7350 3450 50 0000 C CNN +F 2 "" H 7350 3380 30 0000 C CNN +F 3 "" V 7350 3450 30 0000 C CNN + 1 7300 3400 + -1 0 0 1 +$EndComp +$Comp +L eSim_C C1 +U 1 1 5CE90A90 +P 6600 3200 +F 0 "C1" H 6625 3300 50 0000 L CNN +F 1 "30p" H 6625 3100 50 0000 L CNN +F 2 "" H 6638 3050 30 0000 C CNN +F 3 "" H 6600 3200 60 0000 C CNN + 1 6600 3200 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q16 +U 1 1 5CE90A91 +P 7050 3950 +F 0 "Q16" H 6950 4000 50 0000 R CNN +F 1 "eSim_NPN" H 7000 4100 50 0000 R CNN +F 2 "" H 7250 4050 29 0000 C CNN +F 3 "" H 7050 3950 60 0000 C CNN + 1 7050 3950 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q15 +U 1 1 5CE90A92 +P 7500 4300 +F 0 "Q15" H 7400 4350 50 0000 R CNN +F 1 "eSim_NPN" H 7450 4450 50 0000 R CNN +F 2 "" H 7700 4400 29 0000 C CNN +F 3 "" H 7500 4300 60 0000 C CNN + 1 7500 4300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_R R5 +U 1 1 5CE90A93 +P 7100 5050 +F 0 "R5" H 7150 5180 50 0000 C CNN +F 1 "50k" H 7150 5100 50 0000 C CNN +F 2 "" H 7150 5030 30 0000 C CNN +F 3 "" V 7150 5100 30 0000 C CNN + 1 7100 5050 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R6 +U 1 1 5CE90A94 +P 7550 5050 +F 0 "R6" H 7600 5180 50 0000 C CNN +F 1 "50" H 7600 5100 50 0000 C CNN +F 2 "" H 7600 5030 30 0000 C CNN +F 3 "" V 7600 5100 30 0000 C CNN + 1 7550 5050 + 0 1 1 0 +$EndComp +$Comp +L eSim_NPN Q17 +U 1 1 5CE90A95 +P 6800 4700 +F 0 "Q17" H 6700 4750 50 0000 R CNN +F 1 "eSim_NPN" H 6750 4850 50 0000 R CNN +F 2 "" H 7000 4800 29 0000 C CNN +F 3 "" H 6800 4700 60 0000 C CNN + 1 6800 4700 + -1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q18 +U 1 1 5CE90A96 +P 8800 2300 +F 0 "Q18" H 8700 2350 50 0000 R CNN +F 1 "eSim_NPN" H 8750 2450 50 0000 R CNN +F 2 "" H 9000 2400 29 0000 C CNN +F 3 "" H 8800 2300 60 0000 C CNN + 1 8800 2300 + 1 0 0 -1 +$EndComp +$Comp +L eSim_NPN Q20 +U 1 1 5CE90A97 +P 8400 2750 +F 0 "Q20" H 8300 2800 50 0000 R CNN +F 1 "eSim_NPN" H 8350 2900 50 0000 R CNN +F 2 "" H 8600 2850 29 0000 C CNN +F 3 "" H 8400 2750 60 0000 C CNN + 1 8400 2750 + -1 0 0 -1 +$EndComp +$Comp +L eSim_R R9 +U 1 1 5CE90A98 +P 8850 3000 +F 0 "R9" H 8900 3130 50 0000 C CNN +F 1 "25" H 8900 3050 50 0000 C CNN +F 2 "" H 8900 2980 30 0000 C CNN +F 3 "" V 8900 3050 30 0000 C CNN + 1 8850 3000 + 0 1 1 0 +$EndComp +$Comp +L eSim_R R10 +U 1 1 5CE90A99 +P 8850 3750 +F 0 "R10" H 8900 3880 50 0000 C CNN +F 1 "50" H 8900 3800 50 0000 C CNN +F 2 "" H 8900 3730 30 0000 C CNN +F 3 "" V 8900 3800 30 0000 C CNN + 1 8850 3750 + 0 1 1 0 +$EndComp +$Comp +L eSim_PNP Q19 +U 1 1 5CE90A9A +P 8800 4600 +F 0 "Q19" H 8700 4650 50 0000 R CNN +F 1 "eSim_PNP" H 8750 4750 50 0000 R CNN +F 2 "" H 9000 4700 29 0000 C CNN +F 3 "" H 8800 4600 60 0000 C CNN + 1 8800 4600 + 1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 3 1 5CE90A9B +P 1900 1200 +F 0 "U1" H 1950 1300 30 0000 C CNN +F 1 "PORT" H 1900 1200 30 0000 C CNN +F 2 "" H 1900 1200 60 0000 C CNN +F 3 "" H 1900 1200 60 0000 C CNN + 3 1900 1200 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 2 1 5CE90A9C +P 4500 1050 +F 0 "U1" H 4550 1150 30 0000 C CNN +F 1 "PORT" H 4500 1050 30 0000 C CNN +F 2 "" H 4500 1050 60 0000 C CNN +F 3 "" H 4500 1050 60 0000 C CNN + 2 4500 1050 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 7 1 5CE90A9D +P 9750 1650 +F 0 "U1" H 9800 1750 30 0000 C CNN +F 1 "PORT" H 9750 1650 30 0000 C CNN +F 2 "" H 9750 1650 60 0000 C CNN +F 3 "" H 9750 1650 60 0000 C CNN + 7 9750 1650 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 6 1 5CE90A9E +P 9750 3500 +F 0 "U1" H 9800 3600 30 0000 C CNN +F 1 "PORT" H 9750 3500 30 0000 C CNN +F 2 "" H 9750 3500 60 0000 C CNN +F 3 "" H 9750 3500 60 0000 C CNN + 6 9750 3500 + -1 0 0 1 +$EndComp +$Comp +L PORT U1 +U 4 1 5CE90A9F +P 9700 5550 +F 0 "U1" H 9750 5650 30 0000 C CNN +F 1 "PORT" H 9700 5550 30 0000 C CNN +F 2 "" H 9700 5550 60 0000 C CNN +F 3 "" H 9700 5550 60 0000 C CNN + 4 9700 5550 + -1 0 0 1 +$EndComp +Wire Wire Line + 3200 3200 3750 3200 +Wire Wire Line + 2750 2900 2750 2950 +Wire Wire Line + 2750 2950 2900 2950 +Wire Wire Line + 2900 2950 2900 3000 +Wire Wire Line + 4200 2900 4200 2950 +Wire Wire Line + 4200 2950 4050 2950 +Wire Wire Line + 4050 2950 4050 3000 +Wire Wire Line + 2900 3400 2900 4400 +Wire Wire Line + 2900 4000 3100 4000 +Wire Wire Line + 4200 2000 4200 2500 +Wire Wire Line + 4200 2350 2750 2350 +Wire Wire Line + 2750 2350 2750 2500 +Wire Wire Line + 5000 2000 4050 2000 +Connection ~ 4200 2350 +Connection ~ 4200 2000 +Wire Wire Line + 3750 2200 3750 2350 +Connection ~ 3750 2350 +Wire Wire Line + 3750 1800 3750 1650 +Wire Wire Line + 3400 1650 7600 1650 +Wire Wire Line + 3400 1650 3400 3800 +Wire Wire Line + 5300 1650 5300 1800 +Connection ~ 3750 1650 +Wire Wire Line + 5300 2200 5300 4500 +Wire Wire Line + 5300 3500 3650 3500 +Wire Wire Line + 3650 3500 3650 3200 +Connection ~ 3650 3200 +Connection ~ 2900 4000 +Wire Wire Line + 4050 4400 4050 3400 +Wire Wire Line + 3400 4200 3400 4600 +Wire Wire Line + 3200 4600 3750 4600 +Connection ~ 3400 4600 +Wire Wire Line + 4050 5100 4050 4800 +Wire Wire Line + 3600 5100 3600 4600 +Connection ~ 3600 4600 +Wire Wire Line + 2900 5100 2900 4800 +Wire Wire Line + 2900 5400 2900 5550 +Wire Wire Line + 2900 5550 9450 5550 +Wire Wire Line + 4050 5550 4050 5400 +Wire Wire Line + 3600 5400 3600 5550 +Connection ~ 3600 5550 +Wire Wire Line + 6100 4700 5600 4700 +Wire Wire Line + 6400 2950 6400 4500 +Wire Wire Line + 6400 4250 5900 4250 +Wire Wire Line + 5900 4250 5900 4700 +Connection ~ 5900 4700 +Wire Wire Line + 5300 5100 5300 4900 +Wire Wire Line + 5300 5550 5300 5400 +Connection ~ 4050 5550 +Wire Wire Line + 6400 5550 6400 4900 +Connection ~ 5300 5550 +Connection ~ 5300 3500 +Wire Wire Line + 6400 1650 6400 1750 +Connection ~ 5300 1650 +Wire Wire Line + 6400 2150 6400 2650 +Connection ~ 6400 4250 +Wire Wire Line + 6700 1950 7300 1950 +Wire Wire Line + 7000 1950 7000 2250 +Wire Wire Line + 7000 2250 6400 2250 +Connection ~ 6400 2250 +Wire Wire Line + 7600 1650 7600 1750 +Connection ~ 6400 1650 +Connection ~ 7000 1950 +Wire Wire Line + 7600 3250 7600 4100 +Wire Wire Line + 7600 3450 7400 3450 +Wire Wire Line + 6900 3450 7100 3450 +Wire Wire Line + 6900 2650 6900 3450 +Wire Wire Line + 6900 3050 7300 3050 +Wire Wire Line + 7600 2150 7600 2850 +Wire Wire Line + 7600 2650 7400 2650 +Wire Wire Line + 7100 2650 6900 2650 +Connection ~ 6900 3050 +Connection ~ 7600 2650 +Wire Wire Line + 7300 4300 7150 4300 +Wire Wire Line + 7150 4150 7150 4950 +Connection ~ 7600 3450 +Wire Wire Line + 7600 3700 7150 3700 +Wire Wire Line + 7150 3700 7150 3750 +Connection ~ 7600 3700 +Wire Wire Line + 6600 3050 6600 2450 +Wire Wire Line + 6600 2450 7600 2450 +Connection ~ 7600 2450 +Wire Wire Line + 6600 3350 6600 3950 +Wire Wire Line + 4050 3950 6850 3950 +Wire Wire Line + 6700 3950 6700 4500 +Connection ~ 6700 3950 +Wire Wire Line + 6700 4900 6700 5550 +Connection ~ 6400 5550 +Connection ~ 7150 4300 +Wire Wire Line + 7600 4950 7600 4500 +Wire Wire Line + 7000 4700 7600 4700 +Connection ~ 7600 4700 +Wire Wire Line + 7600 5550 7600 5250 +Connection ~ 6700 5550 +Wire Wire Line + 7150 5250 7150 5550 +Connection ~ 7150 5550 +Wire Wire Line + 7600 2300 8600 2300 +Wire Wire Line + 8300 2300 8300 2550 +Connection ~ 8300 2300 +Connection ~ 7600 2300 +Wire Wire Line + 8900 2100 8900 1650 +Wire Wire Line + 7550 1650 9500 1650 +Connection ~ 7550 1650 +Connection ~ 8900 1650 +Wire Wire Line + 8900 2500 8900 2900 +Wire Wire Line + 8900 2750 8600 2750 +Connection ~ 8900 2750 +Wire Wire Line + 8300 2950 8300 3350 +Wire Wire Line + 8300 3350 8900 3350 +Wire Wire Line + 8900 3200 8900 3650 +Wire Wire Line + 8900 4400 8900 3950 +Connection ~ 8900 3350 +Wire Wire Line + 8900 3500 9500 3500 +Connection ~ 8900 3500 +Wire Wire Line + 8900 5550 8900 4800 +Connection ~ 7600 5550 +Connection ~ 8900 5550 +Wire Wire Line + 8600 4600 8100 4600 +Wire Wire Line + 8100 4600 8100 3850 +Wire Wire Line + 8100 3850 7600 3850 +Connection ~ 7600 3850 +Connection ~ 4050 3950 +Connection ~ 6600 3950 +Wire Wire Line + 4500 2700 4750 2700 +Wire Wire Line + 4750 2700 4750 1050 +Wire Wire Line + 2450 2700 2150 2700 +Wire Wire Line + 2150 2700 2150 1200 +$Comp +L PORT U1 +U 5 1 5CE90AA0 +P 1850 4850 +F 0 "U1" H 1900 4950 30 0000 C CNN +F 1 "PORT" H 1850 4850 30 0000 C CNN +F 2 "" H 1850 4850 60 0000 C CNN +F 3 "" H 1850 4850 60 0000 C CNN + 5 1850 4850 + 1 0 0 -1 +$EndComp +$Comp +L PORT U1 +U 1 1 5CE90AA1 +P 1850 5100 +F 0 "U1" H 1900 5200 30 0000 C CNN +F 1 "PORT" H 1850 5100 30 0000 C CNN +F 2 "" H 1850 5100 60 0000 C CNN +F 3 "" H 1850 5100 60 0000 C CNN + 1 1850 5100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2100 5100 2700 5100 +Wire Wire Line + 2700 5100 2700 5050 +Wire Wire Line + 2700 5050 2900 5050 +Connection ~ 2900 5050 +Wire Wire Line + 2100 4850 2550 4850 +Wire Wire Line + 2550 4850 2550 4900 +Wire Wire Line + 2550 4900 4050 4900 +Connection ~ 4050 4900 +$Comp +L PORT U1 +U 8 1 5CE9368F +P 9600 6050 +F 0 "U1" H 9650 6150 30 0000 C CNN +F 1 "PORT" H 9600 6050 30 0000 C CNN +F 2 "" H 9600 6050 60 0000 C CNN +F 3 "" H 9600 6050 60 0000 C CNN + 8 9600 6050 + -1 0 0 1 +$EndComp +Wire Wire Line + 9350 6050 9100 6050 +NoConn ~ 9100 6050 +$EndSCHEMATC diff --git a/Failed Subcircuits/Log Amplifier/lm_741.sub b/Failed Subcircuits/Log Amplifier/lm_741.sub new file mode 100644 index 000000000..fa8d27b16 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/lm_741.sub @@ -0,0 +1,40 @@ +* Subcircuit lm_741 +.subckt lm_741 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? +* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir +.include npn_1.lib +.include pnp_1.lib +q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 +q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 +q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 +q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 +q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 +q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 +q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 +q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 +r1 net-_q7-pad3_ net-_q12-pad3_ 1k +r2 net-_q3-pad3_ net-_q12-pad3_ 50k +r3 net-_q8-pad3_ net-_q12-pad3_ 1k +q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 +q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 +r4 net-_q13-pad3_ net-_q12-pad3_ 5k +r11 net-_q10-pad1_ net-_q12-pad1_ 39k +q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 +q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 +r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k +r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k +c1 net-_c1-pad1_ net-_c1-pad2_ 30p +q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 +q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 +r5 net-_q15-pad2_ net-_q12-pad3_ 50k +r6 net-_q15-pad3_ net-_q12-pad3_ 50 +q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 +q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 +q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 +r9 net-_q18-pad3_ net-_q20-pad3_ 25 +r10 net-_q20-pad3_ net-_q19-pad3_ 50 +q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 +* Control Statements + +.ends lm_741 \ No newline at end of file diff --git a/Failed Subcircuits/Log Amplifier/lm_741_Previous_Values.xml b/Failed Subcircuits/Log Amplifier/lm_741_Previous_Values.xml new file mode 100644 index 000000000..b61322bb5 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/lm_741_Previous_Values.xml @@ -0,0 +1 @@ +C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/Failed Subcircuits/Log Amplifier/npn_1.lib b/Failed Subcircuits/Log Amplifier/npn_1.lib new file mode 100644 index 000000000..a1818ed83 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/npn_1.lib @@ -0,0 +1,29 @@ +.model npn_1 NPN( ++ Vtf=1.7 ++ Cjc=0.5p ++ Nc=2 ++ Tr=46.91n ++ Ne=1.307 ++ Cje=0.5p ++ Isc=0 ++ Xtb=1.5 ++ Rb=500 ++ Rc=1 ++ Tf=411.1p ++ Xti=3 ++ Ikr=0 ++ Bf=125 ++ Fc=.5 ++ Ise=14.34f ++ Br=6.092 ++ Ikf=.2847 ++ Mje=.377 ++ Mjc=.3416 ++ Vaf=74.03 ++ Vjc=.75 ++ Vje=.75 ++ Xtf=3 ++ Itf=.6 ++ Is=14.34f ++ Eg=1.11 +) \ No newline at end of file diff --git a/Failed Subcircuits/Log Amplifier/pnp_1.lib b/Failed Subcircuits/Log Amplifier/pnp_1.lib new file mode 100644 index 000000000..a4ee06da6 --- /dev/null +++ b/Failed Subcircuits/Log Amplifier/pnp_1.lib @@ -0,0 +1,29 @@ +.model pnp_1 PNP( ++ Vtf=1.7 ++ Cjc=1.5p ++ Nc=2 ++ Tr=46.91n ++ Ne=1.307 ++ Cje=0.3p ++ Isc=0 ++ Xtb=1.5 ++ Rb=250 ++ Rc=1 ++ Tf=411.1p ++ Xti=3 ++ Ikr=0 ++ Bf=25 ++ Fc=.5 ++ Ise=14.34f ++ Br=6.092 ++ Ikf=.2847 ++ Mje=.377 ++ Mjc=.3416 ++ Vaf=74.03 ++ Vjc=.75 ++ Vje=.75 ++ Xtf=3 ++ Itf=.6 ++ Is=14.34f ++ Eg=1.11 +) \ No newline at end of file From b401e987d1c0e9059ea2c2e41ba21a449faf19e3 Mon Sep 17 00:00:00 2001 From: VANSHIKA TANWAR <90523478+VanshikaTanwar@users.noreply.github.com> Date: Wed, 30 Nov 2022 23:38:17 +0530 Subject: [PATCH 10/11] Delete Failed_Subcircuits/LOG_Amplifier directory --- .../LOG_Amplifier/LOG_Amplifier-cache.lib | 135 ---- .../LOG_Amplifier/LOG_Amplifier.cir | 18 - .../LOG_Amplifier/LOG_Amplifier.cir.out | 21 - .../LOG_Amplifier/LOG_Amplifier.pro | 71 -- .../LOG_Amplifier/LOG_Amplifier.sch | 338 --------- .../LOG_Amplifier/LOG_Amplifier.sub | 15 - .../LOG_Amplifier_Previous_Values.xml | 1 - Failed_Subcircuits/LOG_Amplifier/NPN.lib | 4 - Failed_Subcircuits/LOG_Amplifier/PNP.lib | 4 - Failed_Subcircuits/LOG_Amplifier/README.md | 35 - Failed_Subcircuits/LOG_Amplifier/analysis | 1 - .../LOG_Amplifier/lm_741-cache.lib | 119 --- Failed_Subcircuits/LOG_Amplifier/lm_741.cir | 43 -- .../LOG_Amplifier/lm_741.cir.out | 46 -- Failed_Subcircuits/LOG_Amplifier/lm_741.pro | 44 -- Failed_Subcircuits/LOG_Amplifier/lm_741.sch | 697 ------------------ Failed_Subcircuits/LOG_Amplifier/lm_741.sub | 40 - .../LOG_Amplifier/lm_741_Previous_Values.xml | 1 - Failed_Subcircuits/LOG_Amplifier/npn_1.lib | 29 - Failed_Subcircuits/LOG_Amplifier/pnp_1.lib | 29 - 20 files changed, 1691 deletions(-) delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub delete mode 100644 Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml delete mode 100644 Failed_Subcircuits/LOG_Amplifier/NPN.lib delete mode 100644 Failed_Subcircuits/LOG_Amplifier/PNP.lib delete mode 100644 Failed_Subcircuits/LOG_Amplifier/README.md delete mode 100644 Failed_Subcircuits/LOG_Amplifier/analysis delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.cir delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.pro delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.sch delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741.sub delete mode 100644 Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml delete mode 100644 Failed_Subcircuits/LOG_Amplifier/npn_1.lib delete mode 100644 Failed_Subcircuits/LOG_Amplifier/pnp_1.lib diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib deleted file mode 100644 index 893d14f93..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier-cache.lib +++ /dev/null @@ -1,135 +0,0 @@ -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_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_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 -# -# lm_741 -# -DEF lm_741 X 0 40 Y Y 1 F N -F0 "X" -200 0 60 H V C CNN -F1 "lm_741" -100 -250 60 H V C CNN -F2 "" 0 0 60 H V C CNN -F3 "" 0 0 60 H V C CNN -DRAW -P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N -X off_null 1 -50 400 200 D 50 38 1 1 I -X inv 2 -550 150 200 R 50 38 1 1 I -X non_inv 3 -550 -100 200 R 50 38 1 1 I -X v_neg 4 -150 -450 200 U 50 38 1 1 I -X off_null 5 50 350 200 D 50 38 1 1 I -X out 6 550 0 200 L 50 38 1 1 O -X v_pos 7 -150 450 200 D 50 38 1 1 I -X NC 8 150 -300 200 U 50 38 1 1 N -ENDDRAW -ENDDEF -# -#End Library diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir deleted file mode 100644 index 219871a98..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir +++ /dev/null @@ -1,18 +0,0 @@ -* C:\FOSSEE\eSim\library\SubcircuitLibrary\LOG_Amplifier\LOG_Amplifier.cir - -* EESchema Netlist Version 1.1 (Spice format) creation date: 9/11/2022 7:52:59 PM - -* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N -* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 - -* Sheet Name: / -X1 ? /Inp1 GND /Vneg ? Net-_Q1-Pad3_ /Vpos ? lm_741 -X2 ? /Inp2 GND /Vneg ? /Vout /Vpos ? lm_741 -Q1 /Inp1 Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN -Q2 /Inp2 GND Net-_Q1-Pad3_ eSim_NPN -R1 /Vout Net-_Q1-Pad2_ 3.2k -R2 Net-_Q1-Pad2_ GND 5k -C1 /Vout /Inp2 3.4u -U1 /Inp1 /NC /Vout /Vpos /Vneg GND /NC /Inp2 PORT - -.end diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out deleted file mode 100644 index 3f79ec5ff..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.cir.out +++ /dev/null @@ -1,21 +0,0 @@ -* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir - -.include lm_741.sub -.include NPN.lib -x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741 -x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741 -q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222 -q2 /inp2 gnd net-_q1-pad3_ Q2N2222 -r1 /vout net-_q1-pad2_ 3.2k -r2 net-_q1-pad2_ gnd 5k -c1 /vout /inp2 3.4u -* u1 /inp1 /nc /vout /vpos /vneg gnd /nc /inp2 port -.tran 0e-00 0e-00 0e-00 - -* Control Statements -.control -run -print allv > plot_data_v.txt -print alli > plot_data_i.txt -.endc -.end diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro deleted file mode 100644 index d7f78c3b4..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.pro +++ /dev/null @@ -1,71 +0,0 @@ -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 diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch deleted file mode 100644 index b1af81c1a..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sch +++ /dev/null @@ -1,338 +0,0 @@ -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:LOG_Amplifier-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 lm_741 X1 -U 1 1 631DA9B4 -P 4100 3400 -F 0 "X1" H 3900 3400 60 0000 C CNN -F 1 "lm_741" H 4000 3150 60 0000 C CNN -F 2 "" H 4100 3400 60 0000 C CNN -F 3 "" H 4100 3400 60 0000 C CNN - 1 4100 3400 - 1 0 0 -1 -$EndComp -$Comp -L lm_741 X2 -U 1 1 631DACD9 -P 6800 3400 -F 0 "X2" H 6600 3400 60 0000 C CNN -F 1 "lm_741" H 6700 3150 60 0000 C CNN -F 2 "" H 6800 3400 60 0000 C CNN -F 3 "" H 6800 3400 60 0000 C CNN - 1 6800 3400 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q1 -U 1 1 631DAD47 -P 4950 2900 -F 0 "Q1" H 4850 2950 50 0000 R CNN -F 1 "eSim_NPN" H 4900 3050 50 0000 R CNN -F 2 "" H 5150 3000 29 0000 C CNN -F 3 "" H 4950 2900 60 0000 C CNN - 1 4950 2900 - 0 -1 -1 0 -$EndComp -$Comp -L eSim_NPN Q2 -U 1 1 631DAD9B -P 5600 2900 -F 0 "Q2" H 5500 2950 50 0000 R CNN -F 1 "eSim_NPN" H 5550 3050 50 0000 R CNN -F 2 "" H 5800 3000 29 0000 C CNN -F 3 "" H 5600 2900 60 0000 C CNN - 1 5600 2900 - 0 1 -1 0 -$EndComp -$Comp -L resistor R1 -U 1 1 631DB085 -P 7450 3700 -F 0 "R1" H 7500 3830 50 0000 C CNN -F 1 "3.2k" H 7500 3650 50 0000 C CNN -F 2 "" H 7500 3680 30 0000 C CNN -F 3 "" V 7500 3750 30 0000 C CNN - 1 7450 3700 - 0 1 1 0 -$EndComp -$Comp -L resistor R2 -U 1 1 631DB0C5 -P 7450 4200 -F 0 "R2" H 7500 4330 50 0000 C CNN -F 1 "5k" H 7500 4150 50 0000 C CNN -F 2 "" H 7500 4180 30 0000 C CNN -F 3 "" V 7500 4250 30 0000 C CNN - 1 7450 4200 - 0 1 1 0 -$EndComp -$Comp -L GND #PWR01 -U 1 1 631DB394 -P 6250 3700 -F 0 "#PWR01" H 6250 3450 50 0001 C CNN -F 1 "GND" H 6250 3550 50 0000 C CNN -F 2 "" H 6250 3700 50 0001 C CNN -F 3 "" H 6250 3700 50 0001 C CNN - 1 6250 3700 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR02 -U 1 1 631DB3B1 -P 3350 3700 -F 0 "#PWR02" H 3350 3450 50 0001 C CNN -F 1 "GND" H 3350 3550 50 0000 C CNN -F 2 "" H 3350 3700 50 0001 C CNN -F 3 "" H 3350 3700 50 0001 C CNN - 1 3350 3700 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR03 -U 1 1 631DB3CE -P 5600 3300 -F 0 "#PWR03" H 5600 3050 50 0001 C CNN -F 1 "GND" H 5600 3150 50 0000 C CNN -F 2 "" H 5600 3300 50 0001 C CNN -F 3 "" H 5600 3300 50 0001 C CNN - 1 5600 3300 - 1 0 0 -1 -$EndComp -$Comp -L capacitor C1 -U 1 1 631DB439 -P 7050 2400 -F 0 "C1" H 7075 2500 50 0000 L CNN -F 1 "3.4u" H 7075 2300 50 0000 L CNN -F 2 "" H 7088 2250 30 0000 C CNN -F 3 "" H 7050 2400 60 0000 C CNN - 1 7050 2400 - 0 1 1 0 -$EndComp -Wire Wire Line - 5150 2800 5400 2800 -Wire Wire Line - 6100 3250 6250 3250 -Wire Wire Line - 6100 2050 6100 3250 -Wire Wire Line - 5800 2800 6100 2800 -Connection ~ 6100 2800 -Wire Wire Line - 7350 3400 8100 3400 -Wire Wire Line - 7500 3600 7500 3400 -Connection ~ 7500 3400 -Wire Wire Line - 7500 4100 7500 3900 -Wire Wire Line - 4650 3400 5300 3400 -Wire Wire Line - 5300 3400 5300 2800 -Connection ~ 5300 2800 -Wire Wire Line - 4750 2800 3400 2800 -Wire Wire Line - 3550 3250 3550 2800 -Connection ~ 3550 2800 -Wire Wire Line - 4950 3100 4950 4000 -Wire Wire Line - 4950 4000 7500 4000 -Connection ~ 7500 4000 -Wire Wire Line - 5600 3100 5600 3300 -Wire Wire Line - 3550 3500 3350 3500 -Wire Wire Line - 3350 3500 3350 3700 -Wire Wire Line - 7500 4400 7500 4550 -Wire Wire Line - 6100 2400 6900 2400 -Wire Wire Line - 7200 2400 7950 2400 -Wire Wire Line - 7950 2400 7950 3400 -Connection ~ 7950 3400 -Connection ~ 6100 2400 -Wire Wire Line - 6650 1500 6650 2950 -Wire Wire Line - 3950 2950 3950 1500 -Wire Wire Line - 3950 1500 7250 1500 -Connection ~ 6650 1500 -Wire Wire Line - 3950 3850 3950 5050 -Wire Wire Line - 3950 5050 7150 5050 -Wire Wire Line - 6650 3850 6650 5050 -Connection ~ 6650 5050 -$Comp -L PORT U1 -U 1 1 631DBAA4 -P 3150 2800 -F 0 "U1" H 3200 2900 30 0000 C CNN -F 1 "PORT" H 3150 2800 30 0000 C CNN -F 2 "" H 3150 2800 60 0000 C CNN -F 3 "" H 3150 2800 60 0000 C CNN - 1 3150 2800 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 7 1 631DBB47 -P 8300 1500 -F 0 "U1" H 8350 1600 30 0000 C CNN -F 1 "PORT" H 8300 1500 30 0000 C CNN -F 2 "" H 8300 1500 60 0000 C CNN -F 3 "" H 8300 1500 60 0000 C CNN - 7 8300 1500 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 5 1 631DBB7E -P 7400 5050 -F 0 "U1" H 7450 5150 30 0000 C CNN -F 1 "PORT" H 7400 5050 30 0000 C CNN -F 2 "" H 7400 5050 60 0000 C CNN -F 3 "" H 7400 5050 60 0000 C CNN - 5 7400 5050 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 4 1 631DBC23 -P 7500 1500 -F 0 "U1" H 7550 1600 30 0000 C CNN -F 1 "PORT" H 7500 1500 30 0000 C CNN -F 2 "" H 7500 1500 60 0000 C CNN -F 3 "" H 7500 1500 60 0000 C CNN - 4 7500 1500 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 3 1 631DBCC0 -P 8350 3400 -F 0 "U1" H 8400 3500 30 0000 C CNN -F 1 "PORT" H 8350 3400 30 0000 C CNN -F 2 "" H 8350 3400 60 0000 C CNN -F 3 "" H 8350 3400 60 0000 C CNN - 3 8350 3400 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 6 1 631DBD7A -P 8400 4550 -F 0 "U1" H 8450 4650 30 0000 C CNN -F 1 "PORT" H 8400 4550 30 0000 C CNN -F 2 "" H 8400 4550 60 0000 C CNN -F 3 "" H 8400 4550 60 0000 C CNN - 6 8400 4550 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 8 1 631DBDEB -P 3400 2050 -F 0 "U1" H 3450 2150 30 0000 C CNN -F 1 "PORT" H 3400 2050 30 0000 C CNN -F 2 "" H 3400 2050 60 0000 C CNN -F 3 "" H 3400 2050 60 0000 C CNN - 8 3400 2050 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 2 1 631DBE44 -P 8300 1250 -F 0 "U1" H 8350 1350 30 0000 C CNN -F 1 "PORT" H 8300 1250 30 0000 C CNN -F 2 "" H 8300 1250 60 0000 C CNN -F 3 "" H 8300 1250 60 0000 C CNN - 2 8300 1250 - 1 0 0 -1 -$EndComp -Wire Wire Line - 3650 2050 6100 2050 -Wire Wire Line - 7500 4550 8150 4550 -Wire Wire Line - 6250 3500 6250 3700 -NoConn ~ 8550 1250 -NoConn ~ 8550 1500 -Text Label 8550 1250 0 60 ~ 0 -NC -Text Label 8550 1500 0 60 ~ 0 -NC -Text Label 7000 5050 0 60 ~ 0 -Vneg -Text Label 7050 1500 0 60 ~ 0 -Vpos -Text Label 8000 3400 0 60 ~ 0 -Vout -Text Label 8000 4550 0 60 ~ 0 -Gnd -Text Label 3400 2800 0 60 ~ 0 -Inp1 -Text Label 3650 2050 0 60 ~ 0 -Inp2 -$EndSCHEMATC diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub deleted file mode 100644 index 4fc6b46ce..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier.sub +++ /dev/null @@ -1,15 +0,0 @@ -* Subcircuit LOG_Amplifier -.subckt LOG_Amplifier /inp1 /nc /vout /vpos /vneg gnd /nc /inp2 -* c:\fossee\esim\library\subcircuitlibrary\log_amplifier\log_amplifier.cir -.include lm_741.sub -.include NPN.lib -x1 ? /inp1 gnd /vneg ? net-_q1-pad3_ /vpos ? lm_741 -x2 ? /inp2 gnd /vneg ? /vout /vpos ? lm_741 -q1 /inp1 net-_q1-pad2_ net-_q1-pad3_ Q2N2222 -q2 /inp2 gnd net-_q1-pad3_ Q2N2222 -r1 /vout net-_q1-pad2_ 3.2k -r2 net-_q1-pad2_ gnd 5k -c1 /vout /inp2 3.4u -* Control Statements - -.ends LOG_Amplifier \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml b/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml deleted file mode 100644 index db2cbdf01..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/LOG_Amplifier_Previous_Values.xml +++ /dev/null @@ -1 +0,0 @@ -C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741C:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/NPN.lib b/Failed_Subcircuits/LOG_Amplifier/NPN.lib deleted file mode 100644 index 6509fe7ab..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/NPN.lib +++ /dev/null @@ -1,4 +0,0 @@ -.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307 -+ Ise=14.34f Ikf=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p -+ Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p -+ Itf=.6 Vtf=1.7 Xtf=3 Rb=10) diff --git a/Failed_Subcircuits/LOG_Amplifier/PNP.lib b/Failed_Subcircuits/LOG_Amplifier/PNP.lib deleted file mode 100644 index 7edda0eab..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/PNP.lib +++ /dev/null @@ -1,4 +0,0 @@ -.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/Failed_Subcircuits/LOG_Amplifier/README.md b/Failed_Subcircuits/LOG_Amplifier/README.md deleted file mode 100644 index f204e8a65..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# LOG104 Log Amplifier IC - -Log Amplifier is a general purpose 8-Pin IC. It's basically a precision logarithmic and log ratio amplifier . It is the circuit that is used to calculate Logarithm or log ratio of the input current values with respect to the reference current. - -## Usage/Examples - -It is used to perform mathematical operations like exponentiation,multiplication and division. - -It is used as a True RMS Converter. - -It is used in the communications, analytical and medical industries. - -It is also used for absorbance and optical density measurement. - -It is used as a photodiode signal compression ampplifier - -It is used also for analog signal compression in front of analog-to-digital (A/D) converters. -## Documentation - -To know the details of LOG104 IC please refer to this link [LOG104_datasheet.](https://www.ti.com/lit/ds/symlink/log104.pdf?ts=1669552722002&ref_url=https%253A%252F%252Fwww.google.com%252F) - -## Error Observed - -The output waveform is not coming correct at the time of simulation according to the mathematical calculations. - -## Possible Solution - -The designer is suggested to perform the analysis as well as testing of each different block seperately first of the circuit or if in case it is needed, a block level of the IC should have to be redesigned in order to obtain the desired results. - -## Contributor - -Name: Vanshika Tanwar -Email: vanshikatanwar30@gmail.com -Year: 2022 -Position: FOSSEE Summer Fellowship Intern 2022 diff --git a/Failed_Subcircuits/LOG_Amplifier/analysis b/Failed_Subcircuits/LOG_Amplifier/analysis deleted file mode 100644 index ebd5c0a94..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/analysis +++ /dev/null @@ -1 +0,0 @@ -.tran 0e-00 0e-00 0e-00 \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib b/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib deleted file mode 100644 index 04e3fecd3..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741-cache.lib +++ /dev/null @@ -1,119 +0,0 @@ -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 -$FPLIST - C_* -$ENDFPLIST -DRAW -P 2 0 1 20 -80 -30 80 -30 N -P 2 0 1 20 -80 30 80 30 N -X ~ 1 0 150 110 D 40 40 1 1 P -X ~ 2 0 -150 110 U 40 40 1 1 P -ENDDRAW -ENDDEF -# -# eSim_NPN -# -DEF eSim_NPN Q 0 0 Y N 1 F N -F0 "Q" -100 50 50 H V R CNN -F1 "eSim_NPN" -50 150 50 H V R CNN -F2 "" 200 100 29 H V C CNN -F3 "" 0 0 60 H V C CNN -ALIAS BC547 Q2N2222 -DRAW -C 50 0 111 0 1 10 N -P 2 0 1 0 25 25 100 100 N -P 3 0 1 0 25 -25 100 -100 100 -100 N -P 3 0 1 20 25 75 25 -75 25 -75 N -P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F -X C 1 100 200 100 D 50 50 1 1 C -X B 2 -200 0 225 R 50 50 1 1 I -X E 3 100 -200 100 U 50 50 1 1 E -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 C -X B 2 -200 0 225 R 50 50 1 1 I -X E 3 100 -200 100 U 50 50 1 1 E -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 -$FPLIST - R_* - Resistor_* -$ENDFPLIST -DRAW -S 150 10 -50 90 0 1 10 N -X ~ 1 -100 50 50 R 60 60 1 1 P -X ~ 2 200 50 50 L 60 60 1 1 P -ENDDRAW -ENDDEF -# -#End Library diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir deleted file mode 100644 index 4a5917ea6..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir +++ /dev/null @@ -1,43 +0,0 @@ -* C:\Users\malli\eSim\src\SubcircuitLibrary\lm_741\lm_741.cir - -* EESchema Netlist Version 1.1 (Spice format) creation date: 05/25/19 19:37:28 - -* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N -* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 - -* Sheet Name: / -Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN -Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN -Q6 Net-_Q3-Pad2_ Net-_Q13-Pad1_ Net-_Q1-Pad3_ eSim_PNP -Q5 Net-_C1-Pad2_ Net-_Q13-Pad1_ Net-_Q2-Pad3_ eSim_PNP -Q3 Net-_Q10-Pad3_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN -Q4 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP -Q9 Net-_Q13-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP -Q8 Net-_C1-Pad2_ Net-_Q3-Pad3_ Net-_Q8-Pad3_ eSim_NPN -Q7 Net-_Q3-Pad2_ Net-_Q3-Pad3_ Net-_Q7-Pad3_ eSim_NPN -R1 Net-_Q7-Pad3_ Net-_Q12-Pad3_ 1k -R2 Net-_Q3-Pad3_ Net-_Q12-Pad3_ 50k -R3 Net-_Q8-Pad3_ Net-_Q12-Pad3_ 1k -Q12 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_NPN -Q13 Net-_Q13-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad3_ eSim_NPN -R4 Net-_Q13-Pad3_ Net-_Q12-Pad3_ 5k -R11 Net-_Q10-Pad1_ Net-_Q12-Pad1_ 39k -Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP -Q11 Net-_C1-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP -Q14 Net-_C1-Pad1_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN -R8 Net-_C1-Pad1_ Net-_Q14-Pad2_ 4.5k -R7 Net-_Q14-Pad3_ Net-_Q14-Pad2_ 7.5k -C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p -Q16 Net-_Q14-Pad3_ Net-_C1-Pad2_ Net-_Q15-Pad2_ eSim_NPN -Q15 Net-_Q14-Pad3_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN -R5 Net-_Q15-Pad2_ Net-_Q12-Pad3_ 50k -R6 Net-_Q15-Pad3_ Net-_Q12-Pad3_ 50 -Q17 Net-_C1-Pad2_ Net-_Q15-Pad3_ Net-_Q12-Pad3_ eSim_NPN -Q18 Net-_Q10-Pad3_ Net-_C1-Pad1_ Net-_Q18-Pad3_ eSim_NPN -Q20 Net-_C1-Pad1_ Net-_Q18-Pad3_ Net-_Q20-Pad3_ eSim_NPN -R9 Net-_Q18-Pad3_ Net-_Q20-Pad3_ 25 -R10 Net-_Q20-Pad3_ Net-_Q19-Pad3_ 50 -Q19 Net-_Q12-Pad3_ Net-_Q14-Pad3_ Net-_Q19-Pad3_ eSim_PNP -U1 Net-_Q7-Pad3_ Net-_Q2-Pad2_ Net-_Q1-Pad2_ Net-_Q12-Pad3_ Net-_Q8-Pad3_ Net-_Q20-Pad3_ Net-_Q10-Pad3_ ? PORT - -.end diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out b/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out deleted file mode 100644 index a00bd86af..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741.cir.out +++ /dev/null @@ -1,46 +0,0 @@ -* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir - -.include npn_1.lib -.include pnp_1.lib -q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 -q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 -q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 -q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 -q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 -q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 -q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 -q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 -q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 -r1 net-_q7-pad3_ net-_q12-pad3_ 1k -r2 net-_q3-pad3_ net-_q12-pad3_ 50k -r3 net-_q8-pad3_ net-_q12-pad3_ 1k -q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 -q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 -r4 net-_q13-pad3_ net-_q12-pad3_ 5k -r11 net-_q10-pad1_ net-_q12-pad1_ 39k -q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 -q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 -q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 -r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k -r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k -c1 net-_c1-pad1_ net-_c1-pad2_ 30p -q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 -q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 -r5 net-_q15-pad2_ net-_q12-pad3_ 50k -r6 net-_q15-pad3_ net-_q12-pad3_ 50 -q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 -q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 -q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 -r9 net-_q18-pad3_ net-_q20-pad3_ 25 -r10 net-_q20-pad3_ net-_q19-pad3_ 50 -q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 -* u1 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? port -.tran 0e-00 0e-00 0e-00 - -* Control Statements -.control -run -print allv > plot_data_v.txt -print alli > plot_data_i.txt -.endc -.end diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.pro b/Failed_Subcircuits/LOG_Amplifier/lm_741.pro deleted file mode 100644 index b56de1b0f..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741.pro +++ /dev/null @@ -1,44 +0,0 @@ -update=Fri Jun 7 21:53:51 2019 -version=1 -last_client=eeschema -[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=power -LibName2=eSim_Analog -LibName3=eSim_Devices -LibName4=eSim_Digital -LibName5=eSim_Hybrid -LibName6=eSim_Miscellaneous -LibName7=eSim_Plot -LibName8=eSim_Power -LibName9=eSim_User -LibName10=eSim_Sources -LibName11=eSim_Subckt diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.sch b/Failed_Subcircuits/LOG_Amplifier/lm_741.sch deleted file mode 100644 index b017fd2b8..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741.sch +++ /dev/null @@ -1,697 +0,0 @@ -EESchema Schematic File Version 2 -LIBS:power -LIBS:eSim_Analog -LIBS:eSim_Devices -LIBS:eSim_Digital -LIBS:eSim_Hybrid -LIBS:eSim_Miscellaneous -LIBS:eSim_Plot -LIBS:eSim_Power -LIBS:eSim_PSpice -LIBS:eSim_Sources -LIBS:eSim_Subckt -LIBS:eSim_User -LIBS:lm_741-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_NPN Q1 -U 1 1 5CE90A7B -P 2650 2700 -F 0 "Q1" H 2550 2750 50 0000 R CNN -F 1 "eSim_NPN" H 2600 2850 50 0000 R CNN -F 2 "" H 2850 2800 29 0000 C CNN -F 3 "" H 2650 2700 60 0000 C CNN - 1 2650 2700 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q2 -U 1 1 5CE90A7C -P 4300 2700 -F 0 "Q2" H 4200 2750 50 0000 R CNN -F 1 "eSim_NPN" H 4250 2850 50 0000 R CNN -F 2 "" H 4500 2800 29 0000 C CNN -F 3 "" H 4300 2700 60 0000 C CNN - 1 4300 2700 - -1 0 0 -1 -$EndComp -$Comp -L eSim_PNP Q6 -U 1 1 5CE90A7D -P 3000 3200 -F 0 "Q6" H 2900 3250 50 0000 R CNN -F 1 "eSim_PNP" H 2950 3350 50 0000 R CNN -F 2 "" H 3200 3300 29 0000 C CNN -F 3 "" H 3000 3200 60 0000 C CNN - 1 3000 3200 - -1 0 0 1 -$EndComp -$Comp -L eSim_PNP Q5 -U 1 1 5CE90A7E -P 3950 3200 -F 0 "Q5" H 3850 3250 50 0000 R CNN -F 1 "eSim_PNP" H 3900 3350 50 0000 R CNN -F 2 "" H 4150 3300 29 0000 C CNN -F 3 "" H 3950 3200 60 0000 C CNN - 1 3950 3200 - 1 0 0 1 -$EndComp -$Comp -L eSim_NPN Q3 -U 1 1 5CE90A7F -P 3300 4000 -F 0 "Q3" H 3200 4050 50 0000 R CNN -F 1 "eSim_NPN" H 3250 4150 50 0000 R CNN -F 2 "" H 3500 4100 29 0000 C CNN -F 3 "" H 3300 4000 60 0000 C CNN - 1 3300 4000 - 1 0 0 -1 -$EndComp -$Comp -L eSim_PNP Q4 -U 1 1 5CE90A80 -P 3850 2000 -F 0 "Q4" H 3750 2050 50 0000 R CNN -F 1 "eSim_PNP" H 3800 2150 50 0000 R CNN -F 2 "" H 4050 2100 29 0000 C CNN -F 3 "" H 3850 2000 60 0000 C CNN - 1 3850 2000 - -1 0 0 1 -$EndComp -$Comp -L eSim_PNP Q9 -U 1 1 5CE90A81 -P 5200 2000 -F 0 "Q9" H 5100 2050 50 0000 R CNN -F 1 "eSim_PNP" H 5150 2150 50 0000 R CNN -F 2 "" H 5400 2100 29 0000 C CNN -F 3 "" H 5200 2000 60 0000 C CNN - 1 5200 2000 - 1 0 0 1 -$EndComp -$Comp -L eSim_NPN Q8 -U 1 1 5CE90A82 -P 3950 4600 -F 0 "Q8" H 3850 4650 50 0000 R CNN -F 1 "eSim_NPN" H 3900 4750 50 0000 R CNN -F 2 "" H 4150 4700 29 0000 C CNN -F 3 "" H 3950 4600 60 0000 C CNN - 1 3950 4600 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q7 -U 1 1 5CE90A83 -P 3000 4600 -F 0 "Q7" H 2900 4650 50 0000 R CNN -F 1 "eSim_NPN" H 2950 4750 50 0000 R CNN -F 2 "" H 3200 4700 29 0000 C CNN -F 3 "" H 3000 4600 60 0000 C CNN - 1 3000 4600 - -1 0 0 -1 -$EndComp -$Comp -L eSim_R R1 -U 1 1 5CE90A84 -P 2850 5200 -F 0 "R1" H 2900 5330 50 0000 C CNN -F 1 "1k" H 2900 5250 50 0000 C CNN -F 2 "" H 2900 5180 30 0000 C CNN -F 3 "" V 2900 5250 30 0000 C CNN - 1 2850 5200 - 0 1 1 0 -$EndComp -$Comp -L eSim_R R2 -U 1 1 5CE90A85 -P 3550 5200 -F 0 "R2" H 3600 5330 50 0000 C CNN -F 1 "50k" H 3600 5250 50 0000 C CNN -F 2 "" H 3600 5180 30 0000 C CNN -F 3 "" V 3600 5250 30 0000 C CNN - 1 3550 5200 - 0 1 1 0 -$EndComp -$Comp -L eSim_R R3 -U 1 1 5CE90A86 -P 4000 5200 -F 0 "R3" H 4050 5330 50 0000 C CNN -F 1 "1k" H 4050 5250 50 0000 C CNN -F 2 "" H 4050 5180 30 0000 C CNN -F 3 "" V 4050 5250 30 0000 C CNN - 1 4000 5200 - 0 1 1 0 -$EndComp -$Comp -L eSim_NPN Q12 -U 1 1 5CE90A87 -P 6300 4700 -F 0 "Q12" H 6200 4750 50 0000 R CNN -F 1 "eSim_NPN" H 6250 4850 50 0000 R CNN -F 2 "" H 6500 4800 29 0000 C CNN -F 3 "" H 6300 4700 60 0000 C CNN - 1 6300 4700 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q13 -U 1 1 5CE90A88 -P 5400 4700 -F 0 "Q13" H 5300 4750 50 0000 R CNN -F 1 "eSim_NPN" H 5350 4850 50 0000 R CNN -F 2 "" H 5600 4800 29 0000 C CNN -F 3 "" H 5400 4700 60 0000 C CNN - 1 5400 4700 - -1 0 0 -1 -$EndComp -$Comp -L eSim_R R4 -U 1 1 5CE90A89 -P 5250 5200 -F 0 "R4" H 5300 5330 50 0000 C CNN -F 1 "5k" H 5300 5250 50 0000 C CNN -F 2 "" H 5300 5180 30 0000 C CNN -F 3 "" V 5300 5250 30 0000 C CNN - 1 5250 5200 - 0 1 1 0 -$EndComp -$Comp -L eSim_R R11 -U 1 1 5CE90A8A -P 6350 2750 -F 0 "R11" H 6400 2880 50 0000 C CNN -F 1 "39k" H 6400 2800 50 0000 C CNN -F 2 "" H 6400 2730 30 0000 C CNN -F 3 "" V 6400 2800 30 0000 C CNN - 1 6350 2750 - 0 1 1 0 -$EndComp -$Comp -L eSim_PNP Q10 -U 1 1 5CE90A8B -P 6500 1950 -F 0 "Q10" H 6400 2000 50 0000 R CNN -F 1 "eSim_PNP" H 6450 2100 50 0000 R CNN -F 2 "" H 6700 2050 29 0000 C CNN -F 3 "" H 6500 1950 60 0000 C CNN - 1 6500 1950 - -1 0 0 1 -$EndComp -$Comp -L eSim_PNP Q11 -U 1 1 5CE90A8C -P 7500 1950 -F 0 "Q11" H 7400 2000 50 0000 R CNN -F 1 "eSim_PNP" H 7450 2100 50 0000 R CNN -F 2 "" H 7700 2050 29 0000 C CNN -F 3 "" H 7500 1950 60 0000 C CNN - 1 7500 1950 - 1 0 0 1 -$EndComp -$Comp -L eSim_NPN Q14 -U 1 1 5CE90A8D -P 7500 3050 -F 0 "Q14" H 7400 3100 50 0000 R CNN -F 1 "eSim_NPN" H 7450 3200 50 0000 R CNN -F 2 "" H 7700 3150 29 0000 C CNN -F 3 "" H 7500 3050 60 0000 C CNN - 1 7500 3050 - 1 0 0 -1 -$EndComp -$Comp -L eSim_R R8 -U 1 1 5CE90A8E -P 7300 2600 -F 0 "R8" H 7350 2730 50 0000 C CNN -F 1 "4.5k" H 7350 2650 50 0000 C CNN -F 2 "" H 7350 2580 30 0000 C CNN -F 3 "" V 7350 2650 30 0000 C CNN - 1 7300 2600 - -1 0 0 1 -$EndComp -$Comp -L eSim_R R7 -U 1 1 5CE90A8F -P 7300 3400 -F 0 "R7" H 7350 3530 50 0000 C CNN -F 1 "7.5k" H 7350 3450 50 0000 C CNN -F 2 "" H 7350 3380 30 0000 C CNN -F 3 "" V 7350 3450 30 0000 C CNN - 1 7300 3400 - -1 0 0 1 -$EndComp -$Comp -L eSim_C C1 -U 1 1 5CE90A90 -P 6600 3200 -F 0 "C1" H 6625 3300 50 0000 L CNN -F 1 "30p" H 6625 3100 50 0000 L CNN -F 2 "" H 6638 3050 30 0000 C CNN -F 3 "" H 6600 3200 60 0000 C CNN - 1 6600 3200 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q16 -U 1 1 5CE90A91 -P 7050 3950 -F 0 "Q16" H 6950 4000 50 0000 R CNN -F 1 "eSim_NPN" H 7000 4100 50 0000 R CNN -F 2 "" H 7250 4050 29 0000 C CNN -F 3 "" H 7050 3950 60 0000 C CNN - 1 7050 3950 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q15 -U 1 1 5CE90A92 -P 7500 4300 -F 0 "Q15" H 7400 4350 50 0000 R CNN -F 1 "eSim_NPN" H 7450 4450 50 0000 R CNN -F 2 "" H 7700 4400 29 0000 C CNN -F 3 "" H 7500 4300 60 0000 C CNN - 1 7500 4300 - 1 0 0 -1 -$EndComp -$Comp -L eSim_R R5 -U 1 1 5CE90A93 -P 7100 5050 -F 0 "R5" H 7150 5180 50 0000 C CNN -F 1 "50k" H 7150 5100 50 0000 C CNN -F 2 "" H 7150 5030 30 0000 C CNN -F 3 "" V 7150 5100 30 0000 C CNN - 1 7100 5050 - 0 1 1 0 -$EndComp -$Comp -L eSim_R R6 -U 1 1 5CE90A94 -P 7550 5050 -F 0 "R6" H 7600 5180 50 0000 C CNN -F 1 "50" H 7600 5100 50 0000 C CNN -F 2 "" H 7600 5030 30 0000 C CNN -F 3 "" V 7600 5100 30 0000 C CNN - 1 7550 5050 - 0 1 1 0 -$EndComp -$Comp -L eSim_NPN Q17 -U 1 1 5CE90A95 -P 6800 4700 -F 0 "Q17" H 6700 4750 50 0000 R CNN -F 1 "eSim_NPN" H 6750 4850 50 0000 R CNN -F 2 "" H 7000 4800 29 0000 C CNN -F 3 "" H 6800 4700 60 0000 C CNN - 1 6800 4700 - -1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q18 -U 1 1 5CE90A96 -P 8800 2300 -F 0 "Q18" H 8700 2350 50 0000 R CNN -F 1 "eSim_NPN" H 8750 2450 50 0000 R CNN -F 2 "" H 9000 2400 29 0000 C CNN -F 3 "" H 8800 2300 60 0000 C CNN - 1 8800 2300 - 1 0 0 -1 -$EndComp -$Comp -L eSim_NPN Q20 -U 1 1 5CE90A97 -P 8400 2750 -F 0 "Q20" H 8300 2800 50 0000 R CNN -F 1 "eSim_NPN" H 8350 2900 50 0000 R CNN -F 2 "" H 8600 2850 29 0000 C CNN -F 3 "" H 8400 2750 60 0000 C CNN - 1 8400 2750 - -1 0 0 -1 -$EndComp -$Comp -L eSim_R R9 -U 1 1 5CE90A98 -P 8850 3000 -F 0 "R9" H 8900 3130 50 0000 C CNN -F 1 "25" H 8900 3050 50 0000 C CNN -F 2 "" H 8900 2980 30 0000 C CNN -F 3 "" V 8900 3050 30 0000 C CNN - 1 8850 3000 - 0 1 1 0 -$EndComp -$Comp -L eSim_R R10 -U 1 1 5CE90A99 -P 8850 3750 -F 0 "R10" H 8900 3880 50 0000 C CNN -F 1 "50" H 8900 3800 50 0000 C CNN -F 2 "" H 8900 3730 30 0000 C CNN -F 3 "" V 8900 3800 30 0000 C CNN - 1 8850 3750 - 0 1 1 0 -$EndComp -$Comp -L eSim_PNP Q19 -U 1 1 5CE90A9A -P 8800 4600 -F 0 "Q19" H 8700 4650 50 0000 R CNN -F 1 "eSim_PNP" H 8750 4750 50 0000 R CNN -F 2 "" H 9000 4700 29 0000 C CNN -F 3 "" H 8800 4600 60 0000 C CNN - 1 8800 4600 - 1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 3 1 5CE90A9B -P 1900 1200 -F 0 "U1" H 1950 1300 30 0000 C CNN -F 1 "PORT" H 1900 1200 30 0000 C CNN -F 2 "" H 1900 1200 60 0000 C CNN -F 3 "" H 1900 1200 60 0000 C CNN - 3 1900 1200 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 2 1 5CE90A9C -P 4500 1050 -F 0 "U1" H 4550 1150 30 0000 C CNN -F 1 "PORT" H 4500 1050 30 0000 C CNN -F 2 "" H 4500 1050 60 0000 C CNN -F 3 "" H 4500 1050 60 0000 C CNN - 2 4500 1050 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 7 1 5CE90A9D -P 9750 1650 -F 0 "U1" H 9800 1750 30 0000 C CNN -F 1 "PORT" H 9750 1650 30 0000 C CNN -F 2 "" H 9750 1650 60 0000 C CNN -F 3 "" H 9750 1650 60 0000 C CNN - 7 9750 1650 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 6 1 5CE90A9E -P 9750 3500 -F 0 "U1" H 9800 3600 30 0000 C CNN -F 1 "PORT" H 9750 3500 30 0000 C CNN -F 2 "" H 9750 3500 60 0000 C CNN -F 3 "" H 9750 3500 60 0000 C CNN - 6 9750 3500 - -1 0 0 1 -$EndComp -$Comp -L PORT U1 -U 4 1 5CE90A9F -P 9700 5550 -F 0 "U1" H 9750 5650 30 0000 C CNN -F 1 "PORT" H 9700 5550 30 0000 C CNN -F 2 "" H 9700 5550 60 0000 C CNN -F 3 "" H 9700 5550 60 0000 C CNN - 4 9700 5550 - -1 0 0 1 -$EndComp -Wire Wire Line - 3200 3200 3750 3200 -Wire Wire Line - 2750 2900 2750 2950 -Wire Wire Line - 2750 2950 2900 2950 -Wire Wire Line - 2900 2950 2900 3000 -Wire Wire Line - 4200 2900 4200 2950 -Wire Wire Line - 4200 2950 4050 2950 -Wire Wire Line - 4050 2950 4050 3000 -Wire Wire Line - 2900 3400 2900 4400 -Wire Wire Line - 2900 4000 3100 4000 -Wire Wire Line - 4200 2000 4200 2500 -Wire Wire Line - 4200 2350 2750 2350 -Wire Wire Line - 2750 2350 2750 2500 -Wire Wire Line - 5000 2000 4050 2000 -Connection ~ 4200 2350 -Connection ~ 4200 2000 -Wire Wire Line - 3750 2200 3750 2350 -Connection ~ 3750 2350 -Wire Wire Line - 3750 1800 3750 1650 -Wire Wire Line - 3400 1650 7600 1650 -Wire Wire Line - 3400 1650 3400 3800 -Wire Wire Line - 5300 1650 5300 1800 -Connection ~ 3750 1650 -Wire Wire Line - 5300 2200 5300 4500 -Wire Wire Line - 5300 3500 3650 3500 -Wire Wire Line - 3650 3500 3650 3200 -Connection ~ 3650 3200 -Connection ~ 2900 4000 -Wire Wire Line - 4050 4400 4050 3400 -Wire Wire Line - 3400 4200 3400 4600 -Wire Wire Line - 3200 4600 3750 4600 -Connection ~ 3400 4600 -Wire Wire Line - 4050 5100 4050 4800 -Wire Wire Line - 3600 5100 3600 4600 -Connection ~ 3600 4600 -Wire Wire Line - 2900 5100 2900 4800 -Wire Wire Line - 2900 5400 2900 5550 -Wire Wire Line - 2900 5550 9450 5550 -Wire Wire Line - 4050 5550 4050 5400 -Wire Wire Line - 3600 5400 3600 5550 -Connection ~ 3600 5550 -Wire Wire Line - 6100 4700 5600 4700 -Wire Wire Line - 6400 2950 6400 4500 -Wire Wire Line - 6400 4250 5900 4250 -Wire Wire Line - 5900 4250 5900 4700 -Connection ~ 5900 4700 -Wire Wire Line - 5300 5100 5300 4900 -Wire Wire Line - 5300 5550 5300 5400 -Connection ~ 4050 5550 -Wire Wire Line - 6400 5550 6400 4900 -Connection ~ 5300 5550 -Connection ~ 5300 3500 -Wire Wire Line - 6400 1650 6400 1750 -Connection ~ 5300 1650 -Wire Wire Line - 6400 2150 6400 2650 -Connection ~ 6400 4250 -Wire Wire Line - 6700 1950 7300 1950 -Wire Wire Line - 7000 1950 7000 2250 -Wire Wire Line - 7000 2250 6400 2250 -Connection ~ 6400 2250 -Wire Wire Line - 7600 1650 7600 1750 -Connection ~ 6400 1650 -Connection ~ 7000 1950 -Wire Wire Line - 7600 3250 7600 4100 -Wire Wire Line - 7600 3450 7400 3450 -Wire Wire Line - 6900 3450 7100 3450 -Wire Wire Line - 6900 2650 6900 3450 -Wire Wire Line - 6900 3050 7300 3050 -Wire Wire Line - 7600 2150 7600 2850 -Wire Wire Line - 7600 2650 7400 2650 -Wire Wire Line - 7100 2650 6900 2650 -Connection ~ 6900 3050 -Connection ~ 7600 2650 -Wire Wire Line - 7300 4300 7150 4300 -Wire Wire Line - 7150 4150 7150 4950 -Connection ~ 7600 3450 -Wire Wire Line - 7600 3700 7150 3700 -Wire Wire Line - 7150 3700 7150 3750 -Connection ~ 7600 3700 -Wire Wire Line - 6600 3050 6600 2450 -Wire Wire Line - 6600 2450 7600 2450 -Connection ~ 7600 2450 -Wire Wire Line - 6600 3350 6600 3950 -Wire Wire Line - 4050 3950 6850 3950 -Wire Wire Line - 6700 3950 6700 4500 -Connection ~ 6700 3950 -Wire Wire Line - 6700 4900 6700 5550 -Connection ~ 6400 5550 -Connection ~ 7150 4300 -Wire Wire Line - 7600 4950 7600 4500 -Wire Wire Line - 7000 4700 7600 4700 -Connection ~ 7600 4700 -Wire Wire Line - 7600 5550 7600 5250 -Connection ~ 6700 5550 -Wire Wire Line - 7150 5250 7150 5550 -Connection ~ 7150 5550 -Wire Wire Line - 7600 2300 8600 2300 -Wire Wire Line - 8300 2300 8300 2550 -Connection ~ 8300 2300 -Connection ~ 7600 2300 -Wire Wire Line - 8900 2100 8900 1650 -Wire Wire Line - 7550 1650 9500 1650 -Connection ~ 7550 1650 -Connection ~ 8900 1650 -Wire Wire Line - 8900 2500 8900 2900 -Wire Wire Line - 8900 2750 8600 2750 -Connection ~ 8900 2750 -Wire Wire Line - 8300 2950 8300 3350 -Wire Wire Line - 8300 3350 8900 3350 -Wire Wire Line - 8900 3200 8900 3650 -Wire Wire Line - 8900 4400 8900 3950 -Connection ~ 8900 3350 -Wire Wire Line - 8900 3500 9500 3500 -Connection ~ 8900 3500 -Wire Wire Line - 8900 5550 8900 4800 -Connection ~ 7600 5550 -Connection ~ 8900 5550 -Wire Wire Line - 8600 4600 8100 4600 -Wire Wire Line - 8100 4600 8100 3850 -Wire Wire Line - 8100 3850 7600 3850 -Connection ~ 7600 3850 -Connection ~ 4050 3950 -Connection ~ 6600 3950 -Wire Wire Line - 4500 2700 4750 2700 -Wire Wire Line - 4750 2700 4750 1050 -Wire Wire Line - 2450 2700 2150 2700 -Wire Wire Line - 2150 2700 2150 1200 -$Comp -L PORT U1 -U 5 1 5CE90AA0 -P 1850 4850 -F 0 "U1" H 1900 4950 30 0000 C CNN -F 1 "PORT" H 1850 4850 30 0000 C CNN -F 2 "" H 1850 4850 60 0000 C CNN -F 3 "" H 1850 4850 60 0000 C CNN - 5 1850 4850 - 1 0 0 -1 -$EndComp -$Comp -L PORT U1 -U 1 1 5CE90AA1 -P 1850 5100 -F 0 "U1" H 1900 5200 30 0000 C CNN -F 1 "PORT" H 1850 5100 30 0000 C CNN -F 2 "" H 1850 5100 60 0000 C CNN -F 3 "" H 1850 5100 60 0000 C CNN - 1 1850 5100 - 1 0 0 -1 -$EndComp -Wire Wire Line - 2100 5100 2700 5100 -Wire Wire Line - 2700 5100 2700 5050 -Wire Wire Line - 2700 5050 2900 5050 -Connection ~ 2900 5050 -Wire Wire Line - 2100 4850 2550 4850 -Wire Wire Line - 2550 4850 2550 4900 -Wire Wire Line - 2550 4900 4050 4900 -Connection ~ 4050 4900 -$Comp -L PORT U1 -U 8 1 5CE9368F -P 9600 6050 -F 0 "U1" H 9650 6150 30 0000 C CNN -F 1 "PORT" H 9600 6050 30 0000 C CNN -F 2 "" H 9600 6050 60 0000 C CNN -F 3 "" H 9600 6050 60 0000 C CNN - 8 9600 6050 - -1 0 0 1 -$EndComp -Wire Wire Line - 9350 6050 9100 6050 -NoConn ~ 9100 6050 -$EndSCHEMATC diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741.sub b/Failed_Subcircuits/LOG_Amplifier/lm_741.sub deleted file mode 100644 index fa8d27b16..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741.sub +++ /dev/null @@ -1,40 +0,0 @@ -* Subcircuit lm_741 -.subckt lm_741 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? -* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir -.include npn_1.lib -.include pnp_1.lib -q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1 -q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1 -q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1 -q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1 -q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1 -q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 -q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1 -q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1 -q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1 -r1 net-_q7-pad3_ net-_q12-pad3_ 1k -r2 net-_q3-pad3_ net-_q12-pad3_ 50k -r3 net-_q8-pad3_ net-_q12-pad3_ 1k -q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1 -q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1 -r4 net-_q13-pad3_ net-_q12-pad3_ 5k -r11 net-_q10-pad1_ net-_q12-pad1_ 39k -q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 -q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1 -q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1 -r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k -r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k -c1 net-_c1-pad1_ net-_c1-pad2_ 30p -q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1 -q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1 -r5 net-_q15-pad2_ net-_q12-pad3_ 50k -r6 net-_q15-pad3_ net-_q12-pad3_ 50 -q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1 -q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1 -q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1 -r9 net-_q18-pad3_ net-_q20-pad3_ 25 -r10 net-_q20-pad3_ net-_q19-pad3_ 50 -q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1 -* Control Statements - -.ends lm_741 \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml b/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml deleted file mode 100644 index b61322bb5..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/lm_741_Previous_Values.xml +++ /dev/null @@ -1 +0,0 @@ -C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.libC:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/npn_1.lib b/Failed_Subcircuits/LOG_Amplifier/npn_1.lib deleted file mode 100644 index a1818ed83..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/npn_1.lib +++ /dev/null @@ -1,29 +0,0 @@ -.model npn_1 NPN( -+ Vtf=1.7 -+ Cjc=0.5p -+ Nc=2 -+ Tr=46.91n -+ Ne=1.307 -+ Cje=0.5p -+ Isc=0 -+ Xtb=1.5 -+ Rb=500 -+ Rc=1 -+ Tf=411.1p -+ Xti=3 -+ Ikr=0 -+ Bf=125 -+ Fc=.5 -+ Ise=14.34f -+ Br=6.092 -+ Ikf=.2847 -+ Mje=.377 -+ Mjc=.3416 -+ Vaf=74.03 -+ Vjc=.75 -+ Vje=.75 -+ Xtf=3 -+ Itf=.6 -+ Is=14.34f -+ Eg=1.11 -) \ No newline at end of file diff --git a/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib b/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib deleted file mode 100644 index a4ee06da6..000000000 --- a/Failed_Subcircuits/LOG_Amplifier/pnp_1.lib +++ /dev/null @@ -1,29 +0,0 @@ -.model pnp_1 PNP( -+ Vtf=1.7 -+ Cjc=1.5p -+ Nc=2 -+ Tr=46.91n -+ Ne=1.307 -+ Cje=0.3p -+ Isc=0 -+ Xtb=1.5 -+ Rb=250 -+ Rc=1 -+ Tf=411.1p -+ Xti=3 -+ Ikr=0 -+ Bf=25 -+ Fc=.5 -+ Ise=14.34f -+ Br=6.092 -+ Ikf=.2847 -+ Mje=.377 -+ Mjc=.3416 -+ Vaf=74.03 -+ Vjc=.75 -+ Vje=.75 -+ Xtf=3 -+ Itf=.6 -+ Is=14.34f -+ Eg=1.11 -) \ No newline at end of file From 2d109f78aab20f3598d690938b834896dbcf59e5 Mon Sep 17 00:00:00 2001 From: Vanshika Tanwar Date: Thu, 1 Dec 2022 21:08:57 +0530 Subject: [PATCH 11/11] UAF42 Universal Active Filter IC --- Failed Subcircuits/UAF42/README.md | 34 ++ Failed Subcircuits/UAF42/UAF42-cache.lib | 102 ++++++ Failed Subcircuits/UAF42/UAF42.cir | 15 + Failed Subcircuits/UAF42/UAF42.pro | 71 ++++ Failed Subcircuits/UAF42/UAF42.sch | 420 +++++++++++++++++++++++ 5 files changed, 642 insertions(+) create mode 100644 Failed Subcircuits/UAF42/README.md create mode 100644 Failed Subcircuits/UAF42/UAF42-cache.lib create mode 100644 Failed Subcircuits/UAF42/UAF42.cir create mode 100644 Failed Subcircuits/UAF42/UAF42.pro create mode 100644 Failed Subcircuits/UAF42/UAF42.sch diff --git a/Failed Subcircuits/UAF42/README.md b/Failed Subcircuits/UAF42/README.md new file mode 100644 index 000000000..751b56888 --- /dev/null +++ b/Failed Subcircuits/UAF42/README.md @@ -0,0 +1,34 @@ +# UAF42 Universal Active Filter IC + +Universal Active Filter is a general purpose 14-Pin IC. It's basically a universal active filter which can be used as a to high pass filter, low-Pass Filter and Band-Pass Filter. + +## Usage/Examples + +It is used as Bi-Quad Filters in Sound Systems. + +It is also used as High-Pass Filter. + +It is also used as Low-Pass Filter. + +It is also used as Band-Pass Filter. + + +## Documentation + +To know the details of UAF42 Universal Active Filter IC please refer to this link [UAF42_datasheet.](https://www.ti.com/lit/ds/symlink/uaf42.pdf?ts=1669904794544&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FUAF42) + + +## Error Observed + +The circuit is not completely maked because as when it's IC was successfully completed then, the circuit is not able to work as high-Pass Filter as it's one of the application so, The circuit was breaked into chunks and starts implementing Again . So, that it should successfully give the desirable waveform. + +## Possible Solution + +The designer is suggested to perform the analysis as well as testing of each different block seperately first of the circuit or if in case it is needed, a block level of the IC should have to be redesigned in order to obtain the desired results. + +## Contributor + +Name: Vanshika Tanwar +Email: vanshikatanwar30@gmail.com +Year: 2022 +Position: FOSSEE Summer Fellowship Intern 2022 diff --git a/Failed Subcircuits/UAF42/UAF42-cache.lib b/Failed Subcircuits/UAF42/UAF42-cache.lib new file mode 100644 index 000000000..768ff8fc9 --- /dev/null +++ b/Failed Subcircuits/UAF42/UAF42-cache.lib @@ -0,0 +1,102 @@ +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_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 +# +# lm_741 +# +DEF lm_741 X 0 40 Y Y 1 F N +F0 "X" -200 0 60 H V C CNN +F1 "lm_741" -100 -250 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N +X off_null 1 -50 400 200 D 50 38 1 1 I +X inv 2 -550 150 200 R 50 38 1 1 I +X non_inv 3 -550 -100 200 R 50 38 1 1 I +X v_neg 4 -150 -450 200 U 50 38 1 1 I +X off_null 5 50 350 200 D 50 38 1 1 I +X out 6 550 0 200 L 50 38 1 1 O +X v_pos 7 -150 450 200 D 50 38 1 1 I +X NC 8 150 -300 200 U 50 38 1 1 N +ENDDRAW +ENDDEF +# +#End Library diff --git a/Failed Subcircuits/UAF42/UAF42.cir b/Failed Subcircuits/UAF42/UAF42.cir new file mode 100644 index 000000000..7c2d40898 --- /dev/null +++ b/Failed Subcircuits/UAF42/UAF42.cir @@ -0,0 +1,15 @@ +* C:\FOSSEE\eSim\library\SubcircuitLibrary\UAF42\UAF42.cir + +* EESchema Netlist Version 1.1 (Spice format) creation date: 8/9/2022 8:56:37 PM + +* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N +* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0 + +* Sheet Name: / +X1 ? ? ? ? ? ? ? ? lm_741 +X2 ? ? ? ? ? ? ? ? lm_741 +X3 ? ? ? ? ? ? ? ? lm_741 +R2 ? ? resistor +R1 ? ? resistor + +.end diff --git a/Failed Subcircuits/UAF42/UAF42.pro b/Failed Subcircuits/UAF42/UAF42.pro new file mode 100644 index 000000000..d7f78c3b4 --- /dev/null +++ b/Failed Subcircuits/UAF42/UAF42.pro @@ -0,0 +1,71 @@ +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 diff --git a/Failed Subcircuits/UAF42/UAF42.sch b/Failed Subcircuits/UAF42/UAF42.sch new file mode 100644 index 000000000..f0bcd3b85 --- /dev/null +++ b/Failed Subcircuits/UAF42/UAF42.sch @@ -0,0 +1,420 @@ +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:UAF42-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 lm_741 X1 +U 1 1 62F27C2B +P 3300 3350 +F 0 "X1" H 3100 3350 60 0000 C CNN +F 1 "lm_741" H 3200 3100 60 0000 C CNN +F 2 "" H 3300 3350 60 0000 C CNN +F 3 "" H 3300 3350 60 0000 C CNN + 1 3300 3350 + 1 0 0 -1 +$EndComp +$Comp +L lm_741 X2 +U 1 1 62F27C71 +P 5250 3350 +F 0 "X2" H 5050 3350 60 0000 C CNN +F 1 "lm_741" H 5150 3100 60 0000 C CNN +F 2 "" H 5250 3350 60 0000 C CNN +F 3 "" H 5250 3350 60 0000 C CNN + 1 5250 3350 + 1 0 0 -1 +$EndComp +$Comp +L lm_741 X3 +U 1 1 62F27CD5 +P 7450 3350 +F 0 "X3" H 7250 3350 60 0000 C CNN +F 1 "lm_741" H 7350 3100 60 0000 C CNN +F 2 "" H 7450 3350 60 0000 C CNN +F 3 "" H 7450 3350 60 0000 C CNN + 1 7450 3350 + 1 0 0 -1 +$EndComp +$Comp +L resistor R2 +U 1 1 62F27D13 +P 3100 2550 +F 0 "R2" H 3150 2680 50 0000 C CNN +F 1 "resistor" H 3150 2500 50 0000 C CNN +F 2 "" H 3150 2530 30 0000 C CNN +F 3 "" V 3150 2600 30 0000 C CNN + 1 3100 2550 + 1 0 0 -1 +$EndComp +$Comp +L resistor R1 +U 1 1 62F27D8C +P 3100 2100 +F 0 "R1" H 3150 2230 50 0000 C CNN +F 1 "resistor" H 3150 2050 50 0000 C CNN +F 2 "" H 3150 2080 30 0000 C CNN +F 3 "" V 3150 2150 30 0000 C CNN + 1 3100 2100 + 1 0 0 -1 +$EndComp +$Comp +L capacitor C? +U 1 1 62F8C324 +P 5200 2400 +F 0 "C?" H 5225 2500 50 0000 L CNN +F 1 "capacitor" H 5225 2300 50 0000 L CNN +F 2 "" H 5238 2250 30 0000 C CNN +F 3 "" H 5200 2400 60 0000 C CNN + 1 5200 2400 + 0 1 1 0 +$EndComp +$Comp +L capacitor C? +U 1 1 62F8C588 +P 7300 2400 +F 0 "C?" H 7325 2500 50 0000 L CNN +F 1 "capacitor" H 7325 2300 50 0000 L CNN +F 2 "" H 7338 2250 30 0000 C CNN +F 3 "" H 7300 2400 60 0000 C CNN + 1 7300 2400 + 0 1 1 0 +$EndComp +$Comp +L resistor R? +U 1 1 62F8C90C +P 2400 4050 +F 0 "R?" H 2450 4180 50 0000 C CNN +F 1 "resistor" H 2450 4000 50 0000 C CNN +F 2 "" H 2450 4030 30 0000 C CNN +F 3 "" V 2450 4100 30 0000 C CNN + 1 2400 4050 + 1 0 0 -1 +$EndComp +$Comp +L resistor R? +U 1 1 62F8C96A +P 4250 4050 +F 0 "R?" H 4300 4180 50 0000 C CNN +F 1 "resistor" H 4300 4000 50 0000 C CNN +F 2 "" H 4300 4030 30 0000 C CNN +F 3 "" V 4300 4100 30 0000 C CNN + 1 4250 4050 + 1 0 0 -1 +$EndComp +$Comp +L lm_741 X? +U 1 1 62F8D36F +P 9300 3350 +F 0 "X?" H 9100 3350 60 0000 C CNN +F 1 "lm_741" H 9200 3100 60 0000 C CNN +F 2 "" H 9300 3350 60 0000 C CNN +F 3 "" H 9300 3350 60 0000 C CNN + 1 9300 3350 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 1 1 62F8E064 +P 950 2500 +F 0 "U?" H 1000 2600 30 0000 C CNN +F 1 "PORT" H 950 2500 30 0000 C CNN +F 2 "" H 950 2500 60 0000 C CNN +F 3 "" H 950 2500 60 0000 C CNN + 1 950 2500 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 2 1 62F8E0DD +P 1000 3450 +F 0 "U?" H 1050 3550 30 0000 C CNN +F 1 "PORT" H 1000 3450 30 0000 C CNN +F 2 "" H 1000 3450 60 0000 C CNN +F 3 "" H 1000 3450 60 0000 C CNN + 2 1000 3450 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 3 1 62F8E156 +P 1050 4000 +F 0 "U?" H 1100 4100 30 0000 C CNN +F 1 "PORT" H 1050 4000 30 0000 C CNN +F 2 "" H 1050 4000 60 0000 C CNN +F 3 "" H 1050 4000 60 0000 C CNN + 3 1050 4000 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 4 1 62F8E1CD +P 3750 1450 +F 0 "U?" H 3800 1550 30 0000 C CNN +F 1 "PORT" H 3750 1450 30 0000 C CNN +F 2 "" H 3750 1450 60 0000 C CNN +F 3 "" H 3750 1450 60 0000 C CNN + 4 3750 1450 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 5 1 62F8E264 +P 4250 1450 +F 0 "U?" H 4300 1550 30 0000 C CNN +F 1 "PORT" H 4250 1450 30 0000 C CNN +F 2 "" H 4250 1450 60 0000 C CNN +F 3 "" H 4250 1450 60 0000 C CNN + 5 4250 1450 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 6 1 62F8ED3B +P 5650 1450 +F 0 "U?" H 5700 1550 30 0000 C CNN +F 1 "PORT" H 5650 1450 30 0000 C CNN +F 2 "" H 5650 1450 60 0000 C CNN +F 3 "" H 5650 1450 60 0000 C CNN + 6 5650 1450 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 7 1 62F8ED7C +P 6300 1400 +F 0 "U?" H 6350 1500 30 0000 C CNN +F 1 "PORT" H 6300 1400 30 0000 C CNN +F 2 "" H 6300 1400 60 0000 C CNN +F 3 "" H 6300 1400 60 0000 C CNN + 7 6300 1400 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 8 1 62F8EDB7 +P 7900 1350 +F 0 "U?" H 7950 1450 30 0000 C CNN +F 1 "PORT" H 7900 1350 30 0000 C CNN +F 2 "" H 7900 1350 60 0000 C CNN +F 3 "" H 7900 1350 60 0000 C CNN + 8 7900 1350 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 9 1 62F8EDF4 +P 8150 1150 +F 0 "U?" H 8200 1250 30 0000 C CNN +F 1 "PORT" H 8150 1150 30 0000 C CNN +F 2 "" H 8150 1150 60 0000 C CNN +F 3 "" H 8150 1150 60 0000 C CNN + 9 8150 1150 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 10 1 62F8F2E1 +P 6300 4600 +F 0 "U?" H 6350 4700 30 0000 C CNN +F 1 "PORT" H 6300 4600 30 0000 C CNN +F 2 "" H 6300 4600 60 0000 C CNN +F 3 "" H 6300 4600 60 0000 C CNN + 10 6300 4600 + 1 0 0 -1 +$EndComp +$Comp +L PORT U? +U 11 1 62F8F3AE +P 10350 2300 +F 0 "U?" H 10400 2400 30 0000 C CNN +F 1 "PORT" H 10350 2300 30 0000 C CNN +F 2 "" H 10350 2300 60 0000 C CNN +F 3 "" H 10350 2300 60 0000 C CNN + 11 10350 2300 + -1 0 0 1 +$EndComp +$Comp +L PORT U? +U 12 1 62F8F425 +P 10450 4450 +F 0 "U?" H 10500 4550 30 0000 C CNN +F 1 "PORT" H 10450 4450 30 0000 C CNN +F 2 "" H 10450 4450 60 0000 C CNN +F 3 "" H 10450 4450 60 0000 C CNN + 12 10450 4450 + -1 0 0 1 +$EndComp +Wire Wire Line + 1200 2500 3000 2500 +Wire Wire Line + 2600 2050 2600 3200 +Wire Wire Line + 2600 3200 2750 3200 +Wire Wire Line + 3300 2500 4000 2500 +Wire Wire Line + 4000 3350 3850 3350 +Wire Wire Line + 5050 2400 4500 2400 +Wire Wire Line + 4500 1450 4500 3200 +Wire Wire Line + 4500 3200 4700 3200 +Wire Wire Line + 5350 2400 5900 2400 +Wire Wire Line + 5900 1450 5900 4000 +Wire Wire Line + 5900 3350 5800 3350 +Wire Wire Line + 6550 2400 7150 2400 +Wire Wire Line + 6550 1400 6550 3200 +Wire Wire Line + 6550 3200 6900 3200 +Wire Wire Line + 7450 2400 8200 2400 +Wire Wire Line + 8200 1350 8200 3350 +Wire Wire Line + 8200 3350 8000 3350 +Wire Wire Line + 3000 2050 2600 2050 +Connection ~ 2600 2500 +Wire Wire Line + 3300 2050 8200 2050 +Connection ~ 4000 2500 +Connection ~ 8200 2400 +Connection ~ 8200 2050 +Wire Wire Line + 2600 4000 4150 4000 +Wire Wire Line + 5900 4000 4450 4000 +Connection ~ 5900 3350 +Wire Wire Line + 1250 3450 2750 3450 +Wire Wire Line + 2700 3450 2700 4000 +Connection ~ 2700 4000 +Wire Wire Line + 4000 3350 4000 1450 +Connection ~ 4500 2400 +Connection ~ 5900 2400 +Connection ~ 6550 2400 +Wire Wire Line + 8200 1350 8150 1350 +Connection ~ 2700 3450 +Wire Wire Line + 6900 3450 6550 3450 +Wire Wire Line + 6550 3450 6550 4600 +Wire Wire Line + 4700 3450 4500 3450 +Wire Wire Line + 4500 3450 4500 3900 +Wire Wire Line + 4500 3900 6550 3900 +Connection ~ 6550 3900 +Wire Wire Line + 1300 4000 2300 4000 +Wire Wire Line + 8750 3450 8450 3450 +Wire Wire Line + 8450 3450 8450 4600 +Wire Wire Line + 8750 3200 8400 3200 +Wire Wire Line + 8400 3200 8400 1300 +Wire Wire Line + 9850 3350 10600 3350 +Wire Wire Line + 10200 4450 9150 4450 +Wire Wire Line + 9150 4450 9150 3800 +Wire Wire Line + 10100 2300 9150 2300 +Wire Wire Line + 9150 2300 9150 2900 +Wire Wire Line + 7300 2900 7300 2550 +Wire Wire Line + 7300 2550 9150 2550 +Connection ~ 9150 2550 +Wire Wire Line + 5100 2900 5100 2750 +Wire Wire Line + 3150 2750 7300 2750 +Connection ~ 7300 2750 +Wire Wire Line + 3150 2900 3150 2750 +Connection ~ 5100 2750 +Wire Wire Line + 7300 3800 7300 4000 +Wire Wire Line + 7300 4000 9150 4000 +Connection ~ 9150 4000 +Wire Wire Line + 5100 3800 5100 4150 +Wire Wire Line + 3150 4150 9150 4150 +Connection ~ 9150 4150 +Wire Wire Line + 3150 3800 3150 4150 +Connection ~ 5100 4150 +Text Label 1350 2500 0 60 Italic 12 +In1 +Text Label 1400 3450 0 60 Italic 12 +In2 +Text Label 1450 4000 0 60 Italic 12 +In3 +$EndSCHEMATC