start routing

This commit is contained in:
Edith Boles 2025-05-13 20:21:18 -07:00
parent e1abdd58a8
commit d57a1c7790
16 changed files with 20407 additions and 3335 deletions

1
#auto_saved_files# Normal file
View File

@ -0,0 +1 @@
/home/edith/Documents/ece223-project/_autosave-ece223_project.kicad_sch

259
Custom.kicad_sym Normal file
View File

@ -0,0 +1,259 @@
(kicad_symbol_lib
(version 20241209)
(generator "kicad_symbol_editor")
(generator_version "9.0")
(symbol "ADA4692-2"
(pin_names
(offset 0.127)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "U"
(at 2.54 6.35 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Value" "ADA4692-2"
(at 2.54 3.81 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Footprint" "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm"
(at -3.302 -6.35 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/ADA4691-2_4691-4_4692-2_4692-4.pdf"
(at 5.588 10.16 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Dual Low Noise, Precision, Rail-to-Rail Output, JFET Op Amp, SOIC-8"
(at 0.508 -9.144 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_locked" ""
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "ki_keywords" "dual opamp"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_fp_filters" "SOIC*3.9x4.9mm*P1.27mm*"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(symbol "ADA4692-2_1_1"
(polyline
(pts
(xy 5.08 0) (xy -5.08 5.08) (xy -5.08 -5.08) (xy 5.08 0)
)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
(pin input line
(at -7.62 2.54 0)
(length 2.54)
(name "+"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "3"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin input line
(at -7.62 -2.54 0)
(length 2.54)
(name "-"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin output line
(at 7.62 0 180)
(length 2.54)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(symbol "ADA4692-2_2_1"
(polyline
(pts
(xy 5.08 0) (xy -5.08 5.08) (xy -5.08 -5.08) (xy 5.08 0)
)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
(pin input line
(at -7.62 2.54 0)
(length 2.54)
(name "+"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "5"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin input line
(at -7.62 -2.54 0)
(length 2.54)
(name "-"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "6"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin output line
(at 7.62 0 180)
(length 2.54)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "7"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(symbol "ADA4692-2_3_1"
(pin power_in line
(at 0 7.62 270)
(length 3.81)
(name "V+"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "8"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 0 -7.62 90)
(length 3.81)
(name "V-"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "4"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
)

49
TL072.sub Normal file
View File

@ -0,0 +1,49 @@
* TL072 OPERATIONAL AMPLIFIER "MACROMODEL" SUBCIRCUIT
* CREATED USING PARTS RELEASE 4.01 ON 06/16/89 AT 13:08
* (REV N/A) SUPPLY VOLTAGE: +/-15V
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OUTPUT
* | | | | |
.SUBCKT TL072 1 2 3 4 5
*
C1 11 12 3.498E-12
C2 6 7 15.00E-12
DC 5 53 DX
DE 54 5 DX
DLP 90 91 DX
DLN 92 90 DX
DP 4 3 DX
EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
FB 7 99 POLY(5) VB VC VE VLP VLN 0 4.715E6 -5E6 5E6 5E6 -5E6
GA 6 0 11 12 282.8E-6
GCM 0 6 10 99 8.942E-9
ISS 3 10 DC 195.0E-6
HLIM 90 0 VLIM 1K
J1 11 2 10 JX
J2 12 1 10 JX
R2 6 9 100.0E3
RD1 4 11 3.536E3
RD2 4 12 3.536E3
RO1 8 5 150
RO2 7 99 150
RP 3 4 2.143E3
RSS 10 99 1.026E6
VB 9 0 DC 0
VC 3 53 DC 2.200
VE 54 4 DC 2.200
VLIM 7 8 DC 0
VLP 91 0 DC 25
VLN 0 92 DC 25
.MODEL DX D(IS=800.0E-18)
.MODEL JX PJF(IS=15.00E-12 BETA=270.1E-6 VTO=-1)
.ENDS
.SUBCKT TL072I 1OUT 1IN- 1IN+ VCC- 2IN+ 2IN- 2OUT VCC+
X1 1IN+ 1IN- VCC+ VCC- 1OUT TL072
X2 2IN+ 2IN- VCC+ VCC- 2OUT TL072
.ENDS TL072I

125
ada4692.sub Normal file
View File

@ -0,0 +1,125 @@
* ADA4692 SPICE Macro-model
* Description: Amplifier
* Generic Desc: 2.7/5V, CMOS, OP, Low Noise, SD, 4X
* Developed by: HH / ADSJ
* Revision History: 08/10/2012 - Updated to new header style
* 1.0 (07/2009)
* Copyright 2009, 2012 by Analog Devices
*
* Refer to http://www.analog.com/Analog_Root/static/techSupport/designTools/spiceModels/license/spice_general.html for License Statement. Use of this model
* indicates your acceptance of the terms and provisions in the License Statement.
*
* BEGIN Notes:
* Not Modeled:
*
* Parameters modeled include:
* VSY=5V, T=25°C
*
* END Notes
*
* Node Assignments
* noninverting input
* | inverting input
* | | positive supply
* | | | negative supply
* | | | | output
* | | | | |
* | | | | |
.SUBCKT ADA4692 1 2 99 50 45
*
* INPUT STAGE
*
M1 4 7 8 99 PIX L=1E-6 W=2.807E-04
M2 6 2 8 99 PIX L=1E-6 W=2.807E-04
RD1 4 50 1.333E+04
RD2 6 50 1.333E+04
C1 4 6 5.900E-13
I1 99 8 3.000E-05
V1 99 9 1.098E-00
D1 8 9 DX
EOS 7 1 POLY(4) (73,98) (22,98) (81,98) (83,98) 5.00E-04 1 1 1 1
IOS 1 2 5.00E-13
*
* INTERNAL VOLTAGE REFERENCE
*
EREF 98 0 POLY(2) (99,0) (50,0) 0 0.5 0.5
EVP 97 98 (99,50) 0.5
EVN 51 98 (50,99) 0.5
*
* GAIN STAGE
*
G1 98 30 POLY(1) (4,6) 0 4.599E-04
R1 30 98 1.000E+06
RZ 45 31 3.429E+02
CF 30 31 1.115E-10
V3 32 30 0.2225E+00
V4 30 33 0.4087E+00
D3 32 97 DX
D4 51 33 DX
*
*CMRR
*
E1 72 98 POLY(2) (1,98) (2,98) 0 2.667E-05 2.667E-05
R10 72 73 1.592E+00
R20 73 98 5.305E-03
C10 72 73 1.000E-06
*
* PSRR
*
EPSY 21 98 POLY(1) (99,50) -1.913E-00 3.826E-01
RPS1 21 22 6.631E+02
RPS2 22 98 2.449E-02
CPS1 21 22 1.000E-06
*
* VOLTAGE NOISE REFERENCE OF 13nV/rt(Hz)
*
VN1 80 98 0
RN1 80 98 22.5E-03
HN 81 98 VN1 1.33E+01
RN2 81 98 1
*
* FLICKER NOISE CORNER = 1000 Hz
*
DFN 82 98 DNOISE
VFN 82 98 DC 0.6551
HFN 83 98 POLY(1) VFN 1.00E-03 1.00E+00
RFN 83 98 1
*
* OUTPUT STAGE
*
M5 45 46 99 99 POX L=1.00E-6 W=1.231E-03
M6 45 47 50 50 NOX L=1.00E-6 W=3.792E-04
EG1 99 46 POLY(1) (98,30) 7.964E-01 1
EG2 47 50 POLY(1) (30,98) 6.869E-01 1
*
GSY 99 50 POLY(1) (99,50) 63.95E-06 5.937E-06
*
* MODELS
*
.MODEL POX PMOS (LEVEL=2,KP=1.00E-05,VTO=-0.7,LAMBDA=0.05, RB=1E+00)
.MODEL NOX NMOS (LEVEL=2,KP=4.00E-05,VTO=+0.6,LAMBDA=0.035, RB=1E+00)
.MODEL PIX PMOS (LEVEL=2,KP=4.00E-05,VTO=-0.5,LAMBDA=0.03,RB=1E-02)
*.MODEL NIX NMOS (LEVEL=2,KP=4.00E-05,VTO=0.5, LAMBDA=0.03,RB=1E+00)
.MODEL DX D(IS=1E-14,RS=0.1)
.MODEL DNOISE D(IS=1E-14,RS=0,KF=3.6E-11)
*
.ENDS ADA4692
*
*$
* noninverting input
* | inverting input
* | | positive supply
* | | | negative supply
* | | | | output
* | | | | |
* | | | | |
*SUBCKT ADA4692 1 2 99 50 45
.SUBCKT ADA4692-2 AOUT AIN- AIN+ V- BIN+ BIN- BOUT V+
X1 AIN+ AIN- V+ V- AOUT ADA4692
X2 BIN+ BIN- V+ V- BOUT ADA4692
.ends

View File

@ -11,7 +11,7 @@
(company "Boles & Walker")
)
(lib_symbols
(symbol "Amplifier_Operational:MCP6004"
(symbol "Custom:ADA4692-2"
(pin_names
(offset 0.127)
)
@ -19,7 +19,7 @@
(in_bom yes)
(on_board yes)
(property "Reference" "U"
(at 0 5.08 0)
(at 2.54 6.35 0)
(effects
(font
(size 1.27 1.27)
@ -27,8 +27,8 @@
(justify left)
)
)
(property "Value" "MCP6004"
(at 0 -5.08 0)
(property "Value" "ADA4692-2"
(at 2.54 3.81 0)
(effects
(font
(size 1.27 1.27)
@ -36,8 +36,8 @@
(justify left)
)
)
(property "Footprint" ""
(at -1.27 2.54 0)
(property "Footprint" "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm"
(at -3.302 -6.35 0)
(effects
(font
(size 1.27 1.27)
@ -45,8 +45,8 @@
(hide yes)
)
)
(property "Datasheet" "http://ww1.microchip.com/downloads/en/DeviceDoc/21733j.pdf"
(at 1.27 5.08 0)
(property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/ADA4691-2_4691-4_4692-2_4692-4.pdf"
(at 5.588 10.16 0)
(effects
(font
(size 1.27 1.27)
@ -54,8 +54,8 @@
(hide yes)
)
)
(property "Description" "1MHz, Low-Power Op Amp, DIP-14/SOIC-14/TSSOP-14"
(at 0 0 0)
(property "Description" "Dual Low Noise, Precision, Rail-to-Rail Output, JFET Op Amp, SOIC-8"
(at 0.508 -9.144 0)
(effects
(font
(size 1.27 1.27)
@ -71,7 +71,7 @@
)
)
)
(property "ki_keywords" "quad opamp"
(property "ki_keywords" "dual opamp"
(at 0 0 0)
(effects
(font
@ -80,7 +80,7 @@
(hide yes)
)
)
(property "ki_fp_filters" "SOIC*3.9x8.7mm*P1.27mm* DIP*W7.62mm* TSSOP*4.4x5mm*P0.65mm* SSOP*5.3x6.2mm*P0.65mm* MSOP*3x3mm*P0.5mm*"
(property "ki_fp_filters" "SOIC*3.9x4.9mm*P1.27mm*"
(at 0 0 0)
(effects
(font
@ -89,10 +89,10 @@
(hide yes)
)
)
(symbol "MCP6004_1_1"
(symbol "ADA4692-2_1_1"
(polyline
(pts
(xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
(xy 5.08 0) (xy -5.08 5.08) (xy -5.08 -5.08) (xy 5.08 0)
)
(stroke
(width 0.254)
@ -157,10 +157,10 @@
)
)
)
(symbol "MCP6004_2_1"
(symbol "ADA4692-2_2_1"
(polyline
(pts
(xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
(xy 5.08 0) (xy -5.08 5.08) (xy -5.08 -5.08) (xy 5.08 0)
)
(stroke
(width 0.254)
@ -225,59 +225,11 @@
)
)
)
(symbol "MCP6004_3_1"
(polyline
(pts
(xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
(pin input line
(at -7.62 2.54 0)
(length 2.54)
(name "+"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "10"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin input line
(at -7.62 -2.54 0)
(length 2.54)
(name "-"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "9"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin output line
(at 7.62 0 180)
(length 2.54)
(name "~"
(symbol "ADA4692-2_3_1"
(pin power_in line
(at 0 7.62 270)
(length 3.81)
(name "V+"
(effects
(font
(size 1.27 1.27)
@ -292,96 +244,8 @@
)
)
)
)
(symbol "MCP6004_4_1"
(polyline
(pts
(xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
(pin input line
(at -7.62 2.54 0)
(length 2.54)
(name "+"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "12"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin input line
(at -7.62 -2.54 0)
(length 2.54)
(name "-"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "13"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin output line
(at 7.62 0 180)
(length 2.54)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "14"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(symbol "MCP6004_5_1"
(pin power_in line
(at -2.54 7.62 270)
(length 3.81)
(name "V+"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "4"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at -2.54 -7.62 90)
(at 0 -7.62 90)
(length 3.81)
(name "V-"
(effects
@ -390,7 +254,7 @@
)
)
)
(number "11"
(number "4"
(effects
(font
(size 1.27 1.27)
@ -991,16 +855,16 @@
(uuid "ec7290fd-8b11-41b3-b8cb-cba5066f869c")
)
(symbol
(lib_id "Amplifier_Operational:MCP6004")
(lib_id "Custom:ADA4692-2")
(at 55.88 34.29 0)
(unit 1)
(unit 2)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "72d1c87a-4d87-47cf-b830-4ffdbd4d5fa4")
(property "Reference" "U4"
(uuid "59108bf8-6413-479a-90ba-385cd30e3342")
(property "Reference" "U2"
(at 55.88 24.13 0)
(effects
(font
@ -1008,7 +872,7 @@
)
)
)
(property "Value" "MCP6004"
(property "Value" "ADA4692"
(at 55.88 26.67 0)
(effects
(font
@ -1016,8 +880,8 @@
)
)
)
(property "Footprint" ""
(at 54.61 31.75 0)
(property "Footprint" "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm"
(at 52.578 40.64 0)
(effects
(font
(size 1.27 1.27)
@ -1025,8 +889,8 @@
(hide yes)
)
)
(property "Datasheet" "http://ww1.microchip.com/downloads/en/DeviceDoc/21733j.pdf"
(at 57.15 29.21 0)
(property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/ADA4691-2_4691-4_4692-2_4692-4.pdf"
(at 61.468 24.13 0)
(effects
(font
(size 1.27 1.27)
@ -1034,7 +898,16 @@
(hide yes)
)
)
(property "Description" "1MHz, Low-Power Op Amp, DIP-14/SOIC-14/TSSOP-14"
(property "Description" "Dual Low Noise, Precision, Rail-to-Rail Output, JFET Op Amp, SOIC-8"
(at 56.388 43.434 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Library" "ada4692.sub"
(at 55.88 34.29 0)
(effects
(font
@ -1043,16 +916,7 @@
(hide yes)
)
)
(property "Sim.Library" "MCP6001.lib"
(at 55.88 34.29 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Name" "MCP6004"
(property "Sim.Name" "ADA4692-2"
(at 55.88 34.29 0)
(effects
(font
@ -1070,7 +934,7 @@
(hide yes)
)
)
(property "Sim.Pins" "1=OUTA 2=A- 3=A+ 4=VDD 5=B+ 6=B- 7=OUTB 8=OUTC 9=C- 10=C+ 11=VSS 12=D+ 13=D- 14=OUTD"
(property "Sim.Pins" "1=AOUT 2=AIN- 3=AIN+ 4=V- 5=BIN+ 6=BIN- 7=BOUT 8=V+"
(at 55.88 34.29 0)
(effects
(font
@ -1079,53 +943,35 @@
(hide yes)
)
)
(pin "13"
(uuid "487b4368-bdc2-4cce-b8da-e6622bc68900")
)
(pin "8"
(uuid "30f5683a-d75d-472c-ae7c-ae7e62ac6e69")
)
(pin "10"
(uuid "2acf4fa4-7993-4464-b7ca-577fd6301819")
)
(pin "2"
(uuid "198220aa-585b-47c9-aa90-04bdee71f59a")
)
(pin "3"
(uuid "92257fd3-d5ba-4b08-9997-dd833f089e4a")
)
(pin "14"
(uuid "a3d56c34-edac-45ac-8510-a9575ec17def")
(uuid "22b8fae4-4cb1-475c-9f39-9b48ef7641d6")
)
(pin "4"
(uuid "eb281645-8f36-4040-979f-3aaa2dc6413c")
)
(pin "7"
(uuid "280c5749-90d5-4212-9c8d-2e8cd0cd3c01")
)
(pin "9"
(uuid "270b9ac1-f4ad-4341-af54-699650b53537")
)
(pin "6"
(uuid "481802bf-8574-4fd0-a3b4-633e10b6c282")
)
(pin "1"
(uuid "d938bc20-94b3-4b57-bae8-dfd38ef0d125")
(uuid "55c50349-5036-4cd2-9dd3-1130c47ac190")
)
(pin "5"
(uuid "658addb7-8557-4d3d-b9de-1cda143928f2")
(uuid "774e2dc1-a4ef-4a73-aed6-415511917893")
)
(pin "11"
(uuid "bbb76668-a696-4f17-a42c-96f1401a31f2")
(pin "3"
(uuid "9d36396e-fd95-4542-bb3e-c47c141b2080")
)
(pin "12"
(uuid "e4bd8918-c041-4c5f-89ef-636b5c9af459")
(pin "1"
(uuid "01b42cf3-cf6b-4714-961b-5eb616e8aea9")
)
(pin "6"
(uuid "ece5e20c-f5fa-4680-a393-b7f4c6093cc5")
)
(pin "7"
(uuid "5376b1ff-54ce-4480-8a59-24e9dc5745e5")
)
(pin "8"
(uuid "7095b578-3b86-4a9c-ab9d-c355a4252925")
)
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/1f3891d7-9ed5-413e-b758-2e8f45955b50"
(reference "U4")
(unit 1)
(reference "U2")
(unit 2)
)
)
)
@ -1140,7 +986,7 @@
(dnp no)
(fields_autoplaced yes)
(uuid "78db22f2-47ae-4d7e-a67e-26665d34e16a")
(property "Reference" "RV1"
(property "Reference" "RV6"
(at 29.21 30.4799 0)
(effects
(font
@ -1149,7 +995,7 @@
(justify right)
)
)
(property "Value" "5k"
(property "Value" "10k"
(at 29.21 33.0199 0)
(effects
(font
@ -1158,7 +1004,7 @@
(justify right)
)
)
(property "Footprint" ""
(property "Footprint" "Potentiometer_THT:Potentiometer_Bourns_PTV09A-1_Single_Vertical"
(at 31.75 31.75 0)
(effects
(font
@ -1167,7 +1013,7 @@
(hide yes)
)
)
(property "Datasheet" "~"
(property "Datasheet" "https://www.mouser.com/datasheet/2/54/ptv09-777818.pdf"
(at 31.75 31.75 0)
(effects
(font
@ -1212,7 +1058,7 @@
(hide yes)
)
)
(property "Sim.Params" "pos=0.5"
(property "Sim.Params" "pos=0.75"
(at 31.75 31.75 0)
(effects
(font
@ -1233,7 +1079,7 @@
(instances
(project ""
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/1f3891d7-9ed5-413e-b758-2e8f45955b50"
(reference "RV1")
(reference "RV6")
(unit 1)
)
)
@ -1249,7 +1095,7 @@
(dnp no)
(fields_autoplaced yes)
(uuid "a87c4466-b97b-49f6-972e-0a8733c8b65c")
(property "Reference" "R10"
(property "Reference" "R23"
(at 39.37 44.45 90)
(effects
(font
@ -1265,7 +1111,7 @@
)
)
)
(property "Footprint" ""
(property "Footprint" "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder"
(at 39.624 49.784 90)
(effects
(font
@ -1301,7 +1147,7 @@
(instances
(project ""
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/1f3891d7-9ed5-413e-b758-2e8f45955b50"
(reference "R10")
(reference "R23")
(unit 1)
)
)
@ -1317,7 +1163,7 @@
(dnp no)
(fields_autoplaced yes)
(uuid "b34cccc6-0850-4ae0-9681-a854e214d449")
(property "Reference" "R11"
(property "Reference" "R24"
(at 57.15 44.45 90)
(effects
(font
@ -1333,7 +1179,7 @@
)
)
)
(property "Footprint" ""
(property "Footprint" "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder"
(at 57.404 49.784 90)
(effects
(font
@ -1369,7 +1215,7 @@
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/1f3891d7-9ed5-413e-b758-2e8f45955b50"
(reference "R11")
(reference "R24")
(unit 1)
)
)

File diff suppressed because it is too large Load Diff

View File

@ -51,7 +51,13 @@
"min_clearance": 0.5
}
},
"diff_pair_dimensions": [],
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [],
"meta": {
"version": 2
@ -116,21 +122,21 @@
},
"rules": {
"max_error": 0.005,
"min_clearance": 0.0,
"min_clearance": 0.1524,
"min_connection": 0.0,
"min_copper_edge_clearance": 0.5,
"min_groove_width": 0.0,
"min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.2,
"min_microvia_diameter": 0.254,
"min_microvia_drill": 0.1,
"min_resolved_spokes": 2,
"min_silk_clearance": 0.0,
"min_text_height": 0.8,
"min_text_thickness": 0.08,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.0,
"min_via_annular_width": 0.1,
"min_track_width": 0.1524,
"min_via_annular_width": 0.127,
"min_via_diameter": 0.5,
"solder_mask_to_copper_clearance": 0.0,
"use_height_for_length_calcs": true
@ -179,7 +185,9 @@
"td_width_to_size_filter_ratio": 0.9
}
],
"track_widths": [],
"track_widths": [
0.0
],
"tuning_pattern_settings": {
"diff_pair_defaults": {
"corner_radius_percentage": 80,
@ -206,7 +214,12 @@
"spacing": 0.6
}
},
"via_dimensions": [],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
}
],
"zones_allow_external_fillets": false
},
"ipc2581": {
@ -456,7 +469,7 @@
"classes": [
{
"bus_width": 12,
"clearance": 0.2,
"clearance": 0.165,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
@ -467,10 +480,24 @@
"pcb_color": "rgba(0, 0, 0, 0.000)",
"priority": 2147483647,
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.2,
"via_diameter": 0.6,
"track_width": 0.165,
"via_diameter": 0.5,
"via_drill": 0.3,
"wire_width": 6
},
{
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_width": 0.2,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Rail",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"priority": 0,
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.2,
"via_diameter": 0.6,
"via_drill": 0.3
}
],
"meta": {
@ -478,7 +505,20 @@
},
"net_colors": null,
"netclass_assignments": null,
"netclass_patterns": []
"netclass_patterns": [
{
"netclass": "Rail",
"pattern": "VCC"
},
{
"netclass": "Rail",
"pattern": "GND"
},
{
"netclass": "Rail",
"pattern": "*VIN*"
}
]
},
"pcbnew": {
"last_paths": {
@ -558,12 +598,60 @@
"label": "Datasheet",
"name": "Datasheet",
"show": true
},
{
"group_by": false,
"label": "Sim.Library",
"name": "Sim.Library",
"show": false
},
{
"group_by": false,
"label": "Sim.Name",
"name": "Sim.Name",
"show": false
},
{
"group_by": false,
"label": "Sim.Params",
"name": "Sim.Params",
"show": false
},
{
"group_by": false,
"label": "Sim.Pins",
"name": "Sim.Pins",
"show": false
},
{
"group_by": false,
"label": "Sim.Type",
"name": "Sim.Type",
"show": false
},
{
"group_by": false,
"label": "Sim.Device",
"name": "Sim.Device",
"show": false
},
{
"group_by": false,
"label": "Description",
"name": "Description",
"show": false
},
{
"group_by": false,
"label": "#",
"name": "${ITEM_NUMBER}",
"show": false
}
],
"filter_string": "",
"group_symbols": true,
"include_excluded_from_bom": true,
"name": "Default Editing",
"name": "",
"sort_asc": true,
"sort_field": "Reference"
},

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@
"margins": {
"bottom": 45,
"left": 70,
"right": 70,
"right": 140,
"top": 30
},
"measurements": [
@ -33,23 +33,27 @@
{
"expr": "MAX V(/FILTERS/OLP)",
"format": "3~V"
},
{
"expr": "AVG V(/FILTERS/IBP1)",
"format": "3~V"
}
],
"showGrid": true,
"traces": [
{
"color": "rgb(229, 196, 148)",
"signal": "V(/FILTERS/OBP1)",
"color": "rgb(255, 255, 51)",
"signal": "V(/FILTERS/IBP1)",
"trace_type": 257
},
{
"color": "rgb(55, 126, 184)",
"signal": "V(IN)",
"trace_type": 257
},
{
"color": "rgb(247, 129, 191)",
"signal": "V(/LED_GAIN/BREF)",
"trace_type": 257
},
{
"color": "rgb(77, 175, 74)",
"signal": "V(/LED_GAIN/OUTB)",
"signal": "V(OUT)",
"trace_type": 257
},
{

File diff suppressed because it is too large Load Diff

View File

@ -9,9 +9,10 @@
(date "2025-05-08")
(rev "1")
(company "Boles & Walker")
(comment 1 "Input Gain")
)
(lib_symbols
(symbol "Amplifier_Operational:MCP6004"
(symbol "Custom:ADA4692-2"
(pin_names
(offset 0.127)
)
@ -19,7 +20,7 @@
(in_bom yes)
(on_board yes)
(property "Reference" "U"
(at 0 5.08 0)
(at 2.54 6.35 0)
(effects
(font
(size 1.27 1.27)
@ -27,8 +28,8 @@
(justify left)
)
)
(property "Value" "MCP6004"
(at 0 -5.08 0)
(property "Value" "ADA4692-2"
(at 2.54 3.81 0)
(effects
(font
(size 1.27 1.27)
@ -36,8 +37,8 @@
(justify left)
)
)
(property "Footprint" ""
(at -1.27 2.54 0)
(property "Footprint" "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm"
(at -3.302 -6.35 0)
(effects
(font
(size 1.27 1.27)
@ -45,8 +46,8 @@
(hide yes)
)
)
(property "Datasheet" "http://ww1.microchip.com/downloads/en/DeviceDoc/21733j.pdf"
(at 1.27 5.08 0)
(property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/ADA4691-2_4691-4_4692-2_4692-4.pdf"
(at 5.588 10.16 0)
(effects
(font
(size 1.27 1.27)
@ -54,8 +55,8 @@
(hide yes)
)
)
(property "Description" "1MHz, Low-Power Op Amp, DIP-14/SOIC-14/TSSOP-14"
(at 0 0 0)
(property "Description" "Dual Low Noise, Precision, Rail-to-Rail Output, JFET Op Amp, SOIC-8"
(at 0.508 -9.144 0)
(effects
(font
(size 1.27 1.27)
@ -71,7 +72,7 @@
)
)
)
(property "ki_keywords" "quad opamp"
(property "ki_keywords" "dual opamp"
(at 0 0 0)
(effects
(font
@ -80,7 +81,7 @@
(hide yes)
)
)
(property "ki_fp_filters" "SOIC*3.9x8.7mm*P1.27mm* DIP*W7.62mm* TSSOP*4.4x5mm*P0.65mm* SSOP*5.3x6.2mm*P0.65mm* MSOP*3x3mm*P0.5mm*"
(property "ki_fp_filters" "SOIC*3.9x4.9mm*P1.27mm*"
(at 0 0 0)
(effects
(font
@ -89,10 +90,10 @@
(hide yes)
)
)
(symbol "MCP6004_1_1"
(symbol "ADA4692-2_1_1"
(polyline
(pts
(xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
(xy 5.08 0) (xy -5.08 5.08) (xy -5.08 -5.08) (xy 5.08 0)
)
(stroke
(width 0.254)
@ -157,10 +158,10 @@
)
)
)
(symbol "MCP6004_2_1"
(symbol "ADA4692-2_2_1"
(polyline
(pts
(xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
(xy 5.08 0) (xy -5.08 5.08) (xy -5.08 -5.08) (xy 5.08 0)
)
(stroke
(width 0.254)
@ -225,59 +226,11 @@
)
)
)
(symbol "MCP6004_3_1"
(polyline
(pts
(xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
(pin input line
(at -7.62 2.54 0)
(length 2.54)
(name "+"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "10"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin input line
(at -7.62 -2.54 0)
(length 2.54)
(name "-"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "9"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin output line
(at 7.62 0 180)
(length 2.54)
(name "~"
(symbol "ADA4692-2_3_1"
(pin power_in line
(at 0 7.62 270)
(length 3.81)
(name "V+"
(effects
(font
(size 1.27 1.27)
@ -292,96 +245,8 @@
)
)
)
)
(symbol "MCP6004_4_1"
(polyline
(pts
(xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
(pin input line
(at -7.62 2.54 0)
(length 2.54)
(name "+"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "12"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin input line
(at -7.62 -2.54 0)
(length 2.54)
(name "-"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "13"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin output line
(at 7.62 0 180)
(length 2.54)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "14"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(symbol "MCP6004_5_1"
(pin power_in line
(at -2.54 7.62 270)
(length 3.81)
(name "V+"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "4"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at -2.54 -7.62 90)
(at 0 -7.62 90)
(length 3.81)
(name "V-"
(effects
@ -390,7 +255,7 @@
)
)
)
(number "11"
(number "4"
(effects
(font
(size 1.27 1.27)
@ -1000,7 +865,7 @@
(dnp no)
(fields_autoplaced yes)
(uuid "08974f48-4704-443a-adc8-d52d119c62e0")
(property "Reference" "R12"
(property "Reference" "R10"
(at 41.91 46.99 90)
(effects
(font
@ -1016,7 +881,7 @@
)
)
)
(property "Footprint" ""
(property "Footprint" "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder"
(at 42.164 52.324 90)
(effects
(font
@ -1052,7 +917,7 @@
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/92a045e3-bee5-40f5-b5ce-8fe433234af4"
(reference "R12")
(reference "R10")
(unit 1)
)
)
@ -1068,7 +933,7 @@
(dnp no)
(fields_autoplaced yes)
(uuid "5d474325-9e9e-49da-a39f-23f903f781ea")
(property "Reference" "RV2"
(property "Reference" "RV1"
(at 31.75 33.0199 0)
(effects
(font
@ -1077,7 +942,7 @@
(justify right)
)
)
(property "Value" "5k"
(property "Value" "10k"
(at 31.75 35.5599 0)
(effects
(font
@ -1086,7 +951,7 @@
(justify right)
)
)
(property "Footprint" ""
(property "Footprint" "Potentiometer_THT:Potentiometer_Bourns_PTV09A-1_Single_Vertical"
(at 34.29 34.29 0)
(effects
(font
@ -1095,7 +960,7 @@
(hide yes)
)
)
(property "Datasheet" "~"
(property "Datasheet" "https://www.mouser.com/datasheet/2/54/ptv09-777818.pdf"
(at 34.29 34.29 0)
(effects
(font
@ -1140,7 +1005,7 @@
(hide yes)
)
)
(property "Sim.Params" "pos=0.5"
(property "Sim.Params" "pos=0.75"
(at 34.29 34.29 0)
(effects
(font
@ -1161,23 +1026,23 @@
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/92a045e3-bee5-40f5-b5ce-8fe433234af4"
(reference "RV2")
(reference "RV1")
(unit 1)
)
)
)
)
(symbol
(lib_id "Amplifier_Operational:MCP6004")
(lib_id "Custom:ADA4692-2")
(at 58.42 36.83 0)
(unit 4)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "dbe0dc96-be31-4eee-ad77-d44e9888052c")
(property "Reference" "U1"
(uuid "94c6291b-c758-4126-a314-6652f844a6e0")
(property "Reference" "U2"
(at 58.42 26.67 0)
(effects
(font
@ -1185,7 +1050,7 @@
)
)
)
(property "Value" "MCP6004"
(property "Value" "ADA4692"
(at 58.42 29.21 0)
(effects
(font
@ -1193,8 +1058,8 @@
)
)
)
(property "Footprint" ""
(at 57.15 34.29 0)
(property "Footprint" "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm"
(at 55.118 43.18 0)
(effects
(font
(size 1.27 1.27)
@ -1202,8 +1067,8 @@
(hide yes)
)
)
(property "Datasheet" "http://ww1.microchip.com/downloads/en/DeviceDoc/21733j.pdf"
(at 59.69 31.75 0)
(property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/ADA4691-2_4691-4_4692-2_4692-4.pdf"
(at 64.008 26.67 0)
(effects
(font
(size 1.27 1.27)
@ -1211,7 +1076,16 @@
(hide yes)
)
)
(property "Description" "1MHz, Low-Power Op Amp, DIP-14/SOIC-14/TSSOP-14"
(property "Description" "Dual Low Noise, Precision, Rail-to-Rail Output, JFET Op Amp, SOIC-8"
(at 58.928 45.974 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Library" "ada4692.sub"
(at 58.42 36.83 0)
(effects
(font
@ -1220,16 +1094,7 @@
(hide yes)
)
)
(property "Sim.Library" "MCP6001.lib"
(at 58.42 36.83 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Name" "MCP6004"
(property "Sim.Name" "ADA4692-2"
(at 58.42 36.83 0)
(effects
(font
@ -1247,7 +1112,7 @@
(hide yes)
)
)
(property "Sim.Pins" "1=OUTA 2=A- 3=A+ 4=VDD 5=B+ 6=B- 7=OUTB 8=OUTC 9=C- 10=C+ 11=VSS 12=D+ 13=D- 14=OUTD"
(property "Sim.Pins" "1=AOUT 2=AIN- 3=AIN+ 4=V- 5=BIN+ 6=BIN- 7=BOUT 8=V+"
(at 58.42 36.83 0)
(effects
(font
@ -1256,53 +1121,35 @@
(hide yes)
)
)
(pin "13"
(uuid "5a4f58a0-03b8-4455-8ed5-7a4702776a14")
)
(pin "8"
(uuid "30f5683a-d75d-472c-ae7c-ae7e62ac6e69")
)
(pin "10"
(uuid "2acf4fa4-7993-4464-b7ca-577fd6301819")
)
(pin "2"
(uuid "198220aa-585b-47c9-aa90-04bdee71f59a")
)
(pin "3"
(uuid "92257fd3-d5ba-4b08-9997-dd833f089e4a")
)
(pin "14"
(uuid "964b2b3c-64b6-43c5-9e82-b28a8efae154")
(uuid "22b8fae4-4cb1-475c-9f39-9b48ef7641d6")
)
(pin "4"
(uuid "eb281645-8f36-4040-979f-3aaa2dc6413c")
)
(pin "7"
(uuid "280c5749-90d5-4212-9c8d-2e8cd0cd3c01")
)
(pin "9"
(uuid "270b9ac1-f4ad-4341-af54-699650b53537")
)
(pin "6"
(uuid "481802bf-8574-4fd0-a3b4-633e10b6c282")
)
(pin "1"
(uuid "d938bc20-94b3-4b57-bae8-dfd38ef0d125")
(uuid "55c50349-5036-4cd2-9dd3-1130c47ac190")
)
(pin "5"
(uuid "658addb7-8557-4d3d-b9de-1cda143928f2")
(uuid "5fb507ad-fa16-4855-9ab8-c96829efab1f")
)
(pin "11"
(uuid "bbb76668-a696-4f17-a42c-96f1401a31f2")
(pin "3"
(uuid "9d36396e-fd95-4542-bb3e-c47c141b2080")
)
(pin "12"
(uuid "c4f2bf66-10bb-43ff-ad9b-b1c3c302eeae")
(pin "1"
(uuid "01b42cf3-cf6b-4714-961b-5eb616e8aea9")
)
(pin "6"
(uuid "854e5dd5-d3e1-4776-b484-ad693e61c0be")
)
(pin "7"
(uuid "33c9882a-934b-41f6-b91c-b4b72b670022")
)
(pin "8"
(uuid "7095b578-3b86-4a9c-ab9d-c355a4252925")
)
(instances
(project "ece223_project"
(project ""
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/92a045e3-bee5-40f5-b5ce-8fe433234af4"
(reference "U1")
(unit 4)
(reference "U2")
(unit 1)
)
)
)
@ -1317,7 +1164,7 @@
(dnp no)
(fields_autoplaced yes)
(uuid "dfcb5527-2e40-475b-a24f-7337b29c79f9")
(property "Reference" "R13"
(property "Reference" "R11"
(at 59.69 46.99 90)
(effects
(font
@ -1333,7 +1180,7 @@
)
)
)
(property "Footprint" ""
(property "Footprint" "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder"
(at 59.944 52.324 90)
(effects
(font
@ -1369,7 +1216,7 @@
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/92a045e3-bee5-40f5-b5ce-8fe433234af4"
(reference "R13")
(reference "R11")
(unit 1)
)
)

File diff suppressed because it is too large Load Diff

229
lm2901.lib Normal file
View File

@ -0,0 +1,229 @@
*source LM2901
* PSpice Model Editor - Version 17.4.0
*$
*LM2901
*****************************************************************************
* (C) Copyright 2022 Texas Instruments Incorporated. All rights reserved.
*****************************************************************************
** This model is designed as an aid for customers of Texas Instruments.
** TI and its licensors and suppliers make no warranties, either expressed
** or implied, with respect to this model, including the warranties of
** merchantability or fitness for a particular purpose. The model is
** provided solely on an "as is" basis. The entire risk as to its quality
** and performance is with the customer.
*****************************************************************************
*
* This model is subject to change without notice. Texas Instruments
* Incorporated is not responsible for updating this model
*
*****************************************************************************
*
** Released by: Texas Instruments Inc.
* Part: LM2901
* Date: 1/31/2023
* Model Type: All In One
* Simulator: PSPICE
* Simulator Version: 17.4.0.p001
* EVM Order Number: N/A
* EVM Users Guide: N/A
* Datasheet: SLCS006V
* Model Version: 1.0
*
*****************************************************************************
*
* Updates:
*
* Version 1.0 : Release to Web
*
*****************************************************************************
* Model Notes:
* Modeled parameters:
* Supply Voltage Ranges
* Input Voltage Range
* Supply Current
* Input Bias Currents
* Typical Offset Voltage
* Propagation Delay
* Error Conditions:
* If the input goes beyond the recommended input voltage range, the output will float to mid supply
* If the supplies goes beyond the recommended supply voltage ranges, the output will float to mid supply
* The real device will NOT do this.
*
******************************************************************************
* source LM2901
.SUBCKT LM2901 IN+ IN- Vcc GND OUT
R_RIS N859943 VCC 1u TC=0,0
I_IBN IN- GND DC -3.5n
X_U5 N859997 GND N860457 0 V+_BUFFER V-_BUFFER VCC N860405 OUT Output_Stage
X_U4 N860391 N860397 Prop_Delay
X_U2 IN-BUFF IN+BUFF N860457 V+_BUFFER V-_BUFFER INPUTRANGE
C_CINNL GND IN- 0.5p TC=0,0
X_U6 GND V+_BUFFER V-_BUFFER VCC Supply_Buffer
X_U1 IN+ IN+BUFF IN- IN-BUFF Input_Buffer
I_IBP IN+ GND DC -3.5n
C_CINPH IN+ VCC 0.5p TC=0,0
X_U7 N859997 0 V+_BUFFER V-_BUFFER Supply_Enable
E_E1 N860405 V-_BUFFER N860397 V-_BUFFER 2
I_IS N859943 GND DC 275u
C_CINPL GND IN+ 0.5p TC=0,0
C_CINNH IN- VCC 0.5p TC=0,0
X_U3 N860177 IN-BUFF N860391 V+_BUFFER V-_BUFFER N860477 HPA_COMPHYS
V_VOS N860177 IN+BUFF 0.37m
V_VHYST N860477 0 0
X_DESD3 GND IN+ DESD PARAMS: AREA=1.0
X_DESD5 GND IN- DESD PARAMS: AREA=1.0
.ENDS
.SUBCKT Supply_Enable EN POR V+_BUFFER V-_BUFFER
V_VS_MIN_SET N780252 0 1.99
X_U13 V+_BUFFER V-_BUFFER N780066 1V 0 Difference
X_U16 N780086 POR EN 1V 0 ORGATE
V_VS_MAX_SET N779976 0 36.01
V_VLOGIC 1V 0 1
X_U15 N780252 N780066 POR 1V 0 VCC_Range
X_U5 N780066 N779976 N780086 1V 0 VCC_Range
.ENDS
.SUBCKT Input_Buffer IN+ IN+_BUFF IN- IN-_BUFF
X_U1 IN+ IN- IN+_BUFF IN-_BUFF SUPPLY_BUFFER1
.ENDS
.SUBCKT Supply_Buffer GND V+_BUFFER V-_BUFFER Vcc
X_U1 VCC GND V+_BUFFER V-_BUFFER SUPPLY_BUFFER1
.ENDS
.SUBCKT INPUTRANGE INN INP INRANGE V+_BUFFER V-_BUFFER
V_VCMNN N20539 V-_BUFFER -110m
X_U1 N20155 INP N20826 V+_BUFFER V-_BUFFER VINRANGE_393
X_U21 N202710 INN N20833 V+_BUFFER V-_BUFFER VINRANGE_393
X_U22 INP N20415 N20840 V+_BUFFER V-_BUFFER VINRANGE_393
X_U23 INN N20539 N20531 V+_BUFFER V-_BUFFER VINRANGE_393
V_VCMPN N202710 V+_BUFFER -2
V_VCMNP N20415 V-_BUFFER -110m
V_VCMPP N20155 V+_BUFFER -2
X_U24 N20826 N20833 N20840 N20531 INRANGE V+_BUFFER V-_BUFFER 4ORGATE
.ENDS
.SUBCKT Prop_Delay VIN VOUT
R_RS N03175 VIN 50 TC=0,0
T_TPD N03175 0 VOUT 0 Z0=50 TD=1u
R_RT 0 VOUT 50 TC=0,0
.ENDS
.SUBCKT Output_Stage EN GND IN_RANGE POR V+_BUFFER V-_BUFFER Vcc VIN VOUT
X_SVOL N774212 N774290 GND N850209 Output_Stage_SVOL
X_U7 MID V+_BUFFER V-_BUFFER MID_SUPPLY
C_COUTL GND VOUT 0.5p TC=0,0
X_SMID CONTROL_MID 0 N778484 MID Output_Stage_SMID
X_U9 CONTROL_HIZ N789513 1V 0 INVERTER
X_U3 VIN N774212 V+_BUFFER V-_BUFFER VCC N774290 DIGLEVSHIFT
C_COUTH VOUT VCC 0.5p TC=0,0
X_SHIZ CONTROL_HIZ 0 N778484 N778496 Output_Stage_SHIZ
V_VLOGIC 1V 0 1
V_V1 VCC N774290 1
X_U10 N789513 POR CONTROL_MID 1V 0 ORGATE
R_ROUTL N850209 N778496 60 TC=0,0
X_U8 POR IN_RANGE EN EN CONTROL_HIZ 1V 0 4ORGATE
L_L1 N778484 VOUT 1n
.ENDS
.subckt Output_Stage_SVOL 1 2 3 4
S_SVOL 3 4 1 2 _SVOL
RS_SVOL 1 2 1G
.MODEL _SVOL VSWITCH Roff=1e12 Ron=1.0 Voff=1 Von=0
.ends Output_Stage_SVOL
.subckt Output_Stage_SMID 1 2 3 4
S_SMID 3 4 1 2 _SMID
RS_SMID 1 2 1G
.MODEL _SMID VSWITCH Roff=1e12 Ron=1.0 Voff=1 Von=0
.ends Output_Stage_SMID
.subckt Output_Stage_SHIZ 1 2 3 4
S_SHIZ 3 4 1 2 _SHIZ
RS_SHIZ 1 2 1G
.MODEL _SHIZ VSWITCH Roff=1e12 Ron=1.0 Voff=1 Von=0
.ends Output_Stage_SHIZ
.SUBCKT HPA_COMPHYS INP INN OUT_OUT VDD VSS VHYS
EVMID VMID 0 VALUE = { ( V(VDD) + V(VSS) )/2 }
EVH VH 0 VALUE = { ( V(VHYS)/2) }
EINNNEW INNNEW 0 VALUE = { IF( ( V(OUT_OUT) < V(VMID) ),(V(INN) + (V(VH))),( V(INN) - V(VH) ) ) }
EOUT OUT 0 VALUE = { IF( ( V(INP) > V(INNNEW) ), V(VDD), V(VSS) ) }
R1 OUT OUT_OUT 1
C1 OUT_OUT 0 1e-12
.ENDS
*$
.SUBCKT DIGLEVSHIFT 1 2 VDD_OLD VSS_OLD VDD_NEW VSS_NEW
*E1 3 0 VALUE = { IF( V(1) < (V(VDD_OLD)+V(VSS_OLD))/2, V(VSS_NEW), V(VDD_NEW) ) }
E1 3 0 VALUE = { IF( V(1) < 1, V(VSS_NEW), V(VDD_NEW) ) }
R1 3 2 1
*C1 2 0 1e-12
.ENDS
*$
.SUBCKT INVERTER 1 2 VDD VSS
E2 2 0 VALUE = { IF( V(1)> (V(VDD)+V(VSS))/2, V(VSS), V(VDD) ) }
C1 1 0 1e-12
.ENDS
*$
.SUBCKT MID_SUPPLY OUT VDD VSS
EVMID VMID 0 VALUE = { ( V(VDD) + V(VSS) )/2 }
EOUT OUT 0 VALUE = {V(VMID)}
.ENDS
*$
.SUBCKT ORGATE 1 2 3 VDD VSS
E1 4 0 VALUE = { IF( ((V(1)< (V(VDD)+V(VSS))/2 ) & (V(2)< (V(VDD)+V(VSS))/2 )), V(VSS), V(VDD) ) }
R1 4 3 1
C1 3 0 1e-12
.ENDS
*$
.SUBCKT Difference 1 2 OUT VDD VSS
EOUT OUT1 0 VALUE = { V(1)- V(2)}
R1 OUT1 OUT 1
*C1 OUT 0 1e-12
.ENDS
*$
.SUBCKT SUPPLY_BUFFER1 1 2 VDD_NEW VSS_NEW
EVDD_NEW VDD_NEW 0 VALUE = {V(1)}
EVSS_NEW VSS_NEW 0 VALUE = {V(2)}
.ENDS
*$
.SUBCKT VCC_Range 1 2 OUT VDD VSS
EOUT OUT2 0 VALUE = { IF( ( V(1) >= V(2) ), V(VDD), V(VSS) ) }
R1 OUT OUT2 1
C1 OUT 0 1e-12
.ENDS
*$
.SUBCKT VINRANGE_393 1 2 OUT VDD VSS
EOUT OUT2 0 VALUE = { IF( ( V(1) >= V(2) ), V(VSS), V(VDD) ) }
R1 OUT2 OUT 1
C1 OUT 0 1e-12
.ENDS
*$
.SUBCKT 4ORGATE 1 2 3 4 5 VDD VSS
E1 6 0 VALUE = { IF( ((V(1)> (V(VDD)+V(VSS))/2 ) | (V(2)> (V(VDD)+V(VSS))/2 ) | (V(3)> (V(VDD)+V(VSS))/2 ) | (V(4)> (V(VDD)+V(VSS))/2 )), V(VDD), V(VSS) ) }
R1 5 6 1
.ENDS
*$
.subckt DESD AN CAT
+ params:
+ AREA=1.0
+ IS=10f
+ RS=5
+ BV=100
D_DESD AN CAT model22 {area}
.model model22 d
+ is={IS}
+ rs={RS}
+ bv={BV}
.ends DESD
.SUBCKT LM339 1OUT 2OUT VCC 2IN- 2IN+ 1IN- 1IN+ 3IN- 3IN+ 4IN- 4IN+ GND 4OUT 3OUT
X1 1IN+ 1IN- VCC GND 1OUT LM2901
X2 2IN+ 2IN- VCC GND 2OUT LM2901
X3 3IN+ 3IN- VCC GND 3OUT LM2901
X4 4IN+ 4IN- VCC GND 4OUT LM2901
.ENDS LM339

View File

@ -1398,10 +1398,10 @@
(uuid "37fea5c5-b0f6-4b60-8710-d6add7d3159b")
)
(junction
(at 109.22 66.04)
(at 49.53 35.56)
(diameter 0)
(color 0 0 0 0)
(uuid "45d1c238-d302-4b0f-9e7d-c641c0f21fe0")
(uuid "6654a4c4-df71-423a-9fde-44d99a971855")
)
(junction
(at 142.24 52.07)
@ -1445,6 +1445,16 @@
(color 0 0 0 0)
(uuid "fc05e9e9-7998-42c2-9fb9-2291cb5d1637")
)
(wire
(pts
(xy 49.53 36.83) (xy 49.53 35.56)
)
(stroke
(width 0)
(type default)
)
(uuid "01de296e-57d6-45b4-8946-1974ef0aee96")
)
(wire
(pts
(xy 139.7 52.07) (xy 142.24 52.07)
@ -1495,16 +1505,6 @@
)
(uuid "318bd420-1714-4563-813f-f416e74adf48")
)
(wire
(pts
(xy 109.22 66.04) (xy 162.56 66.04)
)
(stroke
(width 0)
(type default)
)
(uuid "32bddcfe-19cf-49d5-9f3e-1d6a80622aa3")
)
(wire
(pts
(xy 97.79 35.56) (xy 109.22 35.56)
@ -1587,7 +1587,7 @@
)
(wire
(pts
(xy 48.26 35.56) (xy 52.07 35.56)
(xy 48.26 35.56) (xy 49.53 35.56)
)
(stroke
(width 0)
@ -1645,6 +1645,26 @@
)
(uuid "80d33ea8-15f8-4994-8eb9-20ab659eb33b")
)
(wire
(pts
(xy 48.26 38.1) (xy 48.26 36.83)
)
(stroke
(width 0)
(type default)
)
(uuid "87c78626-40c7-419a-b649-7ca1df095998")
)
(wire
(pts
(xy 49.53 35.56) (xy 52.07 35.56)
)
(stroke
(width 0)
(type default)
)
(uuid "8836dcfd-4c32-4983-9f7b-691b3fe22d98")
)
(wire
(pts
(xy 97.79 66.04) (xy 109.22 66.04)
@ -1735,6 +1755,16 @@
)
(uuid "d0b7dd1d-35d4-4323-b43b-2c60a4120648")
)
(wire
(pts
(xy 48.26 36.83) (xy 49.53 36.83)
)
(stroke
(width 0)
(type default)
)
(uuid "d0cd484e-3f92-4721-9b4d-d5e16cad8dbf")
)
(wire
(pts
(xy 62.23 45.72) (xy 62.23 66.04)
@ -1839,83 +1869,6 @@
)
(uuid "723fd243-2034-4f20-953c-ab5b358be2d7")
)
(hierarchical_label "GND"
(shape output)
(at 162.56 66.04 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
(uuid "be867226-c7a4-4f69-b8c9-427df6085e3e")
)
(symbol
(lib_id "power:PWR_FLAG")
(at 86.36 35.56 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "124fa24c-509e-4da6-acf9-03cfae52bc08")
(property "Reference" "#FLG02"
(at 86.36 33.655 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "PWR_FLAG"
(at 86.36 30.48 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 86.36 35.56 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 86.36 35.56 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Special symbol for telling ERC where power comes from"
(at 86.36 35.56 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "390d58c0-8548-4c7f-8a10-3a5b0ad4e2cb")
)
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/7683adc3-3937-403f-8f34-7becfe72007f"
(reference "#FLG02")
(unit 1)
)
)
)
)
(symbol
(lib_id "Amplifier_Operational:MCP6004")
(at 132.08 52.07 0)
@ -1942,7 +1895,7 @@
)
)
)
(property "Footprint" ""
(property "Footprint" "Package_SO:SOIC-14_3.9x8.7mm_P1.27mm"
(at 130.81 49.53 0)
(effects
(font
@ -2056,6 +2009,71 @@
)
)
)
(symbol
(lib_id "power:PWR_FLAG")
(at 48.26 38.1 180)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "18154109-0b01-4cef-a18b-f10db31c0a1d")
(property "Reference" "#FLG02"
(at 48.26 40.005 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "PWR_FLAG"
(at 48.26 42.164 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 48.26 38.1 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 48.26 38.1 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Special symbol for telling ERC where power comes from"
(at 48.26 38.1 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "0f05af29-2290-4b3e-843d-3e50b63570c6")
)
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/7683adc3-3937-403f-8f34-7becfe72007f"
(reference "#FLG02")
(unit 1)
)
)
)
)
(symbol
(lib_id "Device:R_US")
(at 109.22 57.15 0)
@ -2066,7 +2084,7 @@
(dnp no)
(fields_autoplaced yes)
(uuid "286aef49-e170-49ff-8865-f2d495f63f48")
(property "Reference" "R8"
(property "Reference" "R9"
(at 111.76 55.8799 0)
(effects
(font
@ -2084,7 +2102,7 @@
(justify left)
)
)
(property "Footprint" ""
(property "Footprint" "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder"
(at 110.236 57.404 90)
(effects
(font
@ -2120,7 +2138,7 @@
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/7683adc3-3937-403f-8f34-7becfe72007f"
(reference "R8")
(reference "R9")
(unit 1)
)
)
@ -2152,7 +2170,7 @@
)
)
)
(property "Footprint" ""
(property "Footprint" "Inductor_SMD:L_0805_2012Metric"
(at 44.45 35.56 0)
(effects
(font
@ -2239,7 +2257,7 @@
(on_board yes)
(dnp no)
(uuid "5e2a5637-39ef-4524-bede-04c17c074763")
(property "Reference" "C8"
(property "Reference" "C3"
(at 101.6 48.2599 0)
(effects
(font
@ -2257,7 +2275,7 @@
(justify left)
)
)
(property "Footprint" ""
(property "Footprint" "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder"
(at 98.7552 53.34 0)
(effects
(font
@ -2329,7 +2347,7 @@
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/7683adc3-3937-403f-8f34-7becfe72007f"
(reference "C8")
(reference "C3")
(unit 1)
)
)
@ -2344,7 +2362,7 @@
(on_board yes)
(dnp no)
(uuid "84b7e844-cc6c-4c64-bc0d-ac0bb0e0176f")
(property "Reference" "C7"
(property "Reference" "C2"
(at 90.17 48.2599 0)
(effects
(font
@ -2362,7 +2380,7 @@
(justify left)
)
)
(property "Footprint" ""
(property "Footprint" "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder"
(at 87.3252 53.34 0)
(effects
(font
@ -2434,7 +2452,72 @@
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/7683adc3-3937-403f-8f34-7becfe72007f"
(reference "C7")
(reference "C2")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:PWR_FLAG")
(at 36.83 66.04 180)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "8cc97e9b-181f-45f4-8a70-c1b4ca356ce9")
(property "Reference" "#FLG01"
(at 36.83 67.945 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "PWR_FLAG"
(at 36.83 70.104 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 36.83 66.04 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 36.83 66.04 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Special symbol for telling ERC where power comes from"
(at 36.83 66.04 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "fe013944-24d7-46ea-a8bb-1949a04e5ee2")
)
(instances
(project "ece223_project"
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/7683adc3-3937-403f-8f34-7becfe72007f"
(reference "#FLG01")
(unit 1)
)
)
@ -2450,7 +2533,7 @@
(dnp no)
(fields_autoplaced yes)
(uuid "aab09ee3-4c7e-40c5-8921-8f4556e4cced")
(property "Reference" "C6"
(property "Reference" "C1"
(at 40.64 49.5299 0)
(effects
(font
@ -2468,7 +2551,7 @@
(justify left)
)
)
(property "Footprint" ""
(property "Footprint" "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder"
(at 37.7952 54.61 0)
(effects
(font
@ -2504,7 +2587,7 @@
(instances
(project ""
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/7683adc3-3937-403f-8f34-7becfe72007f"
(reference "C6")
(reference "C1")
(unit 1)
)
)
@ -2518,9 +2601,8 @@
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "c1fe2a8e-bc15-4e37-83b8-644d55f60335")
(property "Reference" "R7"
(property "Reference" "R8"
(at 111.76 41.9099 0)
(effects
(font
@ -2529,7 +2611,7 @@
(justify left)
)
)
(property "Value" "560k"
(property "Value" "240k"
(at 111.76 44.4499 0)
(effects
(font
@ -2538,7 +2620,7 @@
(justify left)
)
)
(property "Footprint" ""
(property "Footprint" "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder"
(at 110.236 43.434 90)
(effects
(font
@ -2574,7 +2656,7 @@
(instances
(project ""
(path "/3a60b8c4-9b6a-45e3-8d5f-2fa80fee2396/7683adc3-3937-403f-8f34-7becfe72007f"
(reference "R7")
(reference "R8")
(unit 1)
)
)
@ -2606,7 +2688,7 @@
)
)
)
(property "Footprint" "Package_TO_SOT_SMD:SOT-23-5"
(property "Footprint" "Package_TO_SOT_SMD:SOT-23-5_HandSoldering"
(at 62.23 58.42 0)
(effects
(font
@ -2698,8 +2780,8 @@
(at 74.93 49.53 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(in_bom no)
(on_board no)
(dnp no)
(fields_autoplaced yes)
(uuid "dc38a449-dc24-4d00-ac79-c5b32f889c29")

4
sym-lib-table Normal file
View File

@ -0,0 +1,4 @@
(sym_lib_table
(version 7)
(lib (name "Custom")(type "KiCad")(uri "${KIPRJMOD}/Custom.kicad_sym")(options "")(descr ""))
)

View File

@ -0,0 +1 @@
{"hostname":"edith-wide","username":"edith"}