Index: simulation/sim/18_opamp_ac/18_opamp_ac.rs =================================================================== --- simulation/sim/18_opamp_ac/18_opamp_ac.rs (nonexistent) +++ simulation/sim/18_opamp_ac/18_opamp_ac.rs (revision 8730) @@ -0,0 +1,1404 @@ +ha:cschem-sheet-v1 { + ha:obj_indirect.1 { + li:objects { + ha:group.1 { + uuid=Hif/m8o2mo/CrYnTszoAAAAV; + li:objects { + ha:group.1 { + uuid=Hif/m8o2mo/CrYnTszoAAAAW; loclib_name=lm358_so8; + li:objects { + } + ha:attrib { + footprint=so(8) + li:portmap { + {1/in- -> pcb/pinnum=2} + {1/in+ -> pcb/pinnum=3} + {1/out -> pcb/pinnum=1} + {1/V+ -> pcb/pinnum=8} + {1/V- -> pcb/pinnum=4} + {2/in- -> pcb/pinnum=6} + {2/in+ -> pcb/pinnum=5} + {2/out -> pcb/pinnum=7} + {2/V+ -> pcb/pinnum=8} + {2/V- -> pcb/pinnum=4} + } + } + } + } + ha:attrib { + ha:purpose = { value=devmap; prio=0; } + } + } + ha:group.2 { + uuid=mWD+aTBiBXTjVEOQC6IAAABQ; + li:objects { + ha:group.1 { + uuid=mWD+aTBiBXTjVEOQC6IAAABR; loclib_name=lm358; + li:objects { + } + ha:attrib { + spice/model_card={* lm358 - low power opamp model (single slot) +* +* (C) 2023 Tibor 'Igor2' Palinkas +* License: CC0 (no rights reserved): https://creativecommons.org/publicdomain/zero/1.0/ +* Source: from ST's datasheet: https://archive.org/details/st-ts321 +* (st321 is reasonably close to lm358 for simple simulation cases; see +* warnings on page 7) +* +* +** CONNECTIONS: +* 1 inverting input +* 2 non-inverting INPUT +* 3 output +* 4 positive power supply +* 5 negative power supply +.SUBCKT LM358 1 2 3 4 5 + +.MODEL MDTH D IS=1E-8 KF=3.104131E-15 CJO=10F + +* INPUT STAGE +CIP 2 5 1.000000E-12 +CIN 1 5 1.000000E-12 +EIP 10 5 2 5 1 +EIN 16 5 1 5 1 +RIP 10 11 2.600000E+01 +RIN 15 16 2.600000E+01 +RIS 11 15 2.003862E+02 +DIP 11 12 MDTH 400E-12 +DIN 15 14 MDTH 400E-12 +VOFP 12 13 DC 0 +VOFN 13 14 DC 0 +IPOL 13 5 1.000000E-05 +CPS 11 15 3.783376E-09 +DINN 17 13 MDTH 400E-12 +VIN 17 5 0.000000e+00 +DINR 15 18 MDTH 400E-12 +VIP 4 18 2.000000E+00 +FCP 4 5 VOFP 3.400000E+01 +FCN 5 4 VOFN 3.400000E+01 +FIBP 2 5 VOFN 2.000000E-03 +FIBN 5 1 VOFP 2.000000E-03 + +* AMPLIFYING STAGE +FIP 5 19 VOFP 3.600000E+02 +FIN 5 19 VOFN 3.600000E+02 +RG1 19 5 3.652997E+06 +RG2 19 4 3.652997E+06 +CC 19 5 6.000000E-09 +DOPM 19 22 MDTH 400E-12 +DONM 21 19 MDTH 400E-12 +HOPM 22 28 VOUT 7.500000E+03 +VIPM 28 4 1.500000E+02 +HONM 21 27 VOUT 7.500000E+03 +VINM 5 27 1.500000E+02 +EOUT 26 23 19 5 1 +VOUT 23 5 0 +ROUT 26 3 20 +COUT 3 5 1.000000E-12 +DOP 19 25 MDTH 400E-12 +VOP 4 25 2.242230E+00 +DON 24 19 MDTH 400E-12 +VON 24 5 7.922301E-01 +.ENDS +} + } + } + } + ha:attrib { + ha:purpose = { value=spicelib; prio=0; } + } + } + } + } + ha:obj_direct.2 { + uuid=Hif/m8o2mo/CrYnTszoAAAAC; + li:objects { + ha:pen.sheet-decor { shape=round; size=125; color=#777777; font_height=3000; font_family=sans; } + ha:pen.sheet-decor-fill { shape=round; size=125; color=#bbbbbb; font_height=3000; font_family=sans; } + ha:pen.titlebox-frame { shape=round; size=250; color=#777777; font_height=0; } + ha:pen.titlebox-fill { shape=round; size=250; color=#bbffbb; font_height=0; } + ha:pen.titlebox-big { shape=round; size=250; color=#777777; font_height=3000; font_family=sans; } + ha:pen.titlebox-small { shape=round; size=250; color=#777777; font_height=1500; font_family=sans; } + ha:pen.wire { shape=round; size=250; color=#2222bb; font_height=3000; font_family=sans; } + ha:pen.bus { shape=round; size=1500; color=#2222bb; font_height=3000; font_family=sans; } + ha:pen.hub { shape=round; size=3000; color=#6666ff; font_height=3000; font_family=sans; } + ha:pen.sym-decor { shape=round; size=125; color=#119911; font_height=3000; font_family=sans; } + ha:pen.sym-decor-fill { shape=round; size=125; color=#99ff99; font_height=3000; font_family=sans; } + ha:pen.sym-primary { shape=round; size=125; color=#119911; font_height=3000; font_family=sans; font_style=bold; } + ha:pen.sym-secondary { shape=round; size=125; color=#33bb33; font_height=3000; font_family=sans; } + ha:pen.term-decor { shape=round; size=250; color=#222222; font_height=3000; font_family=sans; } + ha:pen.term-primary { shape=round; size=250; color=#222222; font_height=3000; font_family=sans; font_style=bold; } + ha:pen.term-secondary { shape=round; size=250; color=#555555; font_height=3000; font_family=sans; } + ha:pen.busterm-decor { shape=round; size=1500; color=#222222; font_height=3000; font_family=sans; } + ha:pen.busterm-primary { shape=round; size=1500; color=#222222; font_height=3000; font_family=sans; font_style=bold; } + ha:pen.busterm-secondary { shape=round; size=1500; color=#555555; font_height=3000; font_family=sans; } + ha:pen.junction { shape=round; size=1000; color=#2222bb; font_height=3000; font_family=sans; } + ha:group.1 { + uuid=8/SYZ/pfBzxyqFA12WQAAAAC; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAg; + li:objects { + ha:polygon.11 { + li:outline { + ha:line { x1=0; y1=0; x2=80000; y2=0; } + ha:line { x1=80000; y1=0; x2=80000; y2=20000; } + ha:line { x1=80000; y1=20000; x2=0; y2=20000; } + ha:line { x1=0; y1=20000; x2=0; y2=0; } + } + stroke=titlebox-frame; + fill=titlebox-fill; + } + ha:line.12 { x1=0; y1=10000; x2=80000; y2=10000; stroke=titlebox-frame; } + ha:line.13 { x1=40000; y1=10000; x2=40000; y2=0; stroke=titlebox-frame; } + ha:text.20 { x1=1000; y1=16500; dyntext=0; stroke=titlebox-big; text=TITLE; } + ha:text.21 { x1=1000; y1=10500; x2=79000; y2=16000; dyntext=1; stroke=titlebox-big; text=%../../A.title%; } + ha:text.22 { x1=1000; y1=5500; dyntext=0; stroke=titlebox-small; text={PROJECT:}; } + ha:text.23 { x1=13000; y1=5500; x2=39000; y2=9500; dyntext=1; stroke=titlebox-big; text=%project.name%; } + ha:text.24 { x1=1000; y1=500; dyntext=0; stroke=titlebox-small; text={PAGE:}; } + ha:text.25 { x1=10000; y1=500; x2=39000; y2=4500; dyntext=1; stroke=titlebox-big; text=%../../A.page%; } + ha:text.26 { x1=41000; y1=5500; dyntext=0; stroke=titlebox-small; text={FILE:}; } + ha:text.27 { x1=48000; y1=5500; x2=79000; y2=9500; dyntext=1; stroke=titlebox-big; text=%filename%; } + ha:text.28 { x1=41000; y1=500; dyntext=0; stroke=titlebox-small; text={MAINTAINER:}; } + ha:text.29 { x1=55000; y1=500; x2=79000; y2=4500; dyntext=1; stroke=titlebox-big; text=%../../A.maintainer%; } + } + ha:attrib { + purpose=titlebox + } + } + ha:group.2 { + uuid=Hif/m8o2mo/CrYnTszoAAAAP; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAH; + x=116000; y=116000; + li:objects { + ha:group.1 { + uuid=Hif/m8o2mo/CrYnTszoAAAAQ; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAI; + x=-20000; y=4000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-4000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=in+ + role=terminal + ha:spice/pinnum = { value=2; prio=31050; } + } + } + ha:group.2 { + uuid=Hif/m8o2mo/CrYnTszoAAAAR; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAJ; + x=-20000; y=-4000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-4000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=in- + role=terminal + ha:spice/pinnum = { value=1; prio=31050; } + } + } + ha:group.3 { + uuid=Hif/m8o2mo/CrYnTszoAAAAS; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAK; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-4000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=out + role=terminal + ha:spice/pinnum = { value=3; prio=31050; } + } + } + ha:line.4 { x1=-20000; y1=-8000; x2=-20000; y2=8000; stroke=sym-decor; } + ha:line.5 { x1=-20000; y1=8000; x2=-4000; y2=0; stroke=sym-decor; } + ha:line.6 { x1=-4000; y1=0; x2=-20000; y2=-8000; stroke=sym-decor; } + ha:line.7 { x1=-18000; y1=5000; x2=-18000; y2=3000; stroke=sym-decor; } + ha:line.8 { x1=-19000; y1=4000; x2=-17000; y2=4000; stroke=sym-decor; } + ha:line.9 { x1=-19000; y1=-4000; x2=-17000; y2=-4000; stroke=sym-decor; } + ha:group.10 { + uuid=Hif/m8o2mo/CrYnTszoAAAAT; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAL; + x=-12000; y=-4000; rot=270.000000; mirx=1; miry=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=0; y1=-1000; rot=180.000000; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=V- + role=terminal + ha:spice/pinnum = { value=5; prio=31050; } + spice/shared=yes + } + } + ha:group.11 { + uuid=Hif/m8o2mo/CrYnTszoAAAAU; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAM; + x=-12000; y=8000; rot=90.000000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-4000; y1=-4000; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=V+ + role=terminal + ha:spice/pinnum = { value=4; prio=31050; } + spice/shared=yes + } + } + ha:text.12 { x1=-21000; y1=9000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:text.13 { x1=-17000; y1=9000; dyntext=1; stroke=sym-secondary; text=%../A.-slot%; floater=1; } + ha:text.14 { x1=-8000; y1=4000; dyntext=1; stroke=sym-secondary; text=%../A.devmap%; floater=1; } + } + ha:attrib { + -slot=1 + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + devmap=lm358_so8 + name=U1 + role=symbol + spice/model=lm358 + } + } + ha:group.3 { + uuid=Hif/m8o2mo/CrYnTszoAAAAd; src_uuid=iNOQfJpO6hT/HFDFGjoAAABC; + x=60000; y=120000; + li:objects { + ha:group.1 { + uuid=Hif/m8o2mo/CrYnTszoAAAAe; src_uuid=iNOQfJpO6hT/HFDFGjoAAABD; + x=20000; y=0; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=2 + role=terminal + } + } + ha:group.2 { + uuid=Hif/m8o2mo/CrYnTszoAAAAf; src_uuid=iNOQfJpO6hT/HFDFGjoAAABE; + mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=1 + role=terminal + } + } + ha:text.3 { x1=12000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../a.value%; floater=1; } + ha:text.4 { x1=8000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:polygon.5 { + li:outline { + ha:line { x1=4000; y1=2000; x2=4000; y2=-2000; } + ha:line { x1=4000; y1=-2000; x2=16000; y2=-2000; } + ha:line { x1=16000; y1=-2000; x2=16000; y2=2000; } + ha:line { x1=16000; y1=2000; x2=4000; y2=2000; } + } + stroke=sym-decor; + } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + footprint=1206 + name=R2 + role=symbol + value=1600 + } + } + ha:group.7 { + uuid=Hif/m8o2mo/CrYnTszoAAAAk; src_uuid=iNOQfJpO6hT/HFDFGjoAAABC; + x=48000; y=104000; rot=270.000000; + li:objects { + ha:group.1 { + uuid=Hif/m8o2mo/CrYnTszoAAAAl; src_uuid=iNOQfJpO6hT/HFDFGjoAAABD; + x=20000; y=0; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=2 + role=terminal + } + } + ha:group.2 { + uuid=Hif/m8o2mo/CrYnTszoAAAAm; src_uuid=iNOQfJpO6hT/HFDFGjoAAABE; + mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=1 + role=terminal + } + } + ha:text.3 { x1=12000; y1=-6000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../a.value%; floater=1; } + ha:text.4 { x1=8000; y1=-6000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:polygon.5 { + li:outline { + ha:line { x1=4000; y1=2000; x2=4000; y2=-2000; } + ha:line { x1=4000; y1=-2000; x2=16000; y2=-2000; } + ha:line { x1=16000; y1=-2000; x2=16000; y2=2000; } + ha:line { x1=16000; y1=2000; x2=4000; y2=2000; } + } + stroke=sym-decor; + } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + footprint=1206 + name=R3 + role=symbol + value=800 + } + } + ha:group.12 { + uuid=Hif/m8o2mo/CrYnTszoAAAAo; + x=-12000; y=0; + li:objects { + ha:text.2 { x1=20000; y1=120000; dyntext=1; stroke=wire; text=%../A.name%; floater=1; } + ha:line.5 { x1=24000; y1=108000; x2=36000; y2=108000; stroke=wire; } + ha:line.7 { x1=24000; y1=108000; x2=24000; y2=120000; stroke=wire; } + ha:line.8 { x1=20000; y1=120000; x2=36000; y2=120000; stroke=wire; } + ha:line.9 { x1=24000; y1=120000; x2=24000; y2=120000; stroke=junction; } + } + ha:attrib { + name=in + ha:role = { value=wire-net; prio=0; } + } + } + ha:group.18 { + uuid=Hif/m8o2mo/CrYnTszoAAAA8; src_uuid=iNOQfJpO6hT/HFDFGjoAAAB6; + x=104000; y=128000; + li:objects { + ha:group.1 { + uuid=Hif/m8o2mo/CrYnTszoAAAA9; src_uuid=iNOQfJpO6hT/HFDFGjoAAAB7; + rot=270.000000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + } + ha:attrib { + ha:name = { value=1; prio=220; } + role=terminal + } + } + ha:line.2 { x1=2500; y1=4000; x2=-2500; y2=4000; stroke=sym-decor; } + ha:text.3 { x1=-4000; y1=4000; x2=4000; y2=7000; halign=center; dyntext=0; stroke=sym-primary; text=Vcc; } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + li:connect { + {1:Vcc} + } + role=symbol + } + } + ha:group.19 { + uuid=Hif/m8o2mo/CrYnTszoAAAA+; + x=16000; y=0; + li:objects { + ha:line.1 { x1=88000; y1=124000; x2=88000; y2=128000; stroke=wire; } + } + ha:attrib { + ha:role = { value=wire-net; prio=0; } + } + } + ha:group.22 { + uuid=Hif/m8o2mo/CrYnTszoAAABH; src_uuid=iNOQfJpO6hT/HFDFGjoAAABv; + x=104000; y=104000; rot=180.000000; + li:objects { + ha:group.1 { + uuid=Hif/m8o2mo/CrYnTszoAAABI; src_uuid=iNOQfJpO6hT/HFDFGjoAAABw; + rot=270.000000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + } + ha:attrib { + ha:name = { value=1; prio=220; } + role=terminal + } + } + ha:line.2 { x1=2500; y1=4000; x2=-2500; y2=4000; stroke=sym-decor; } + ha:text.3 { x1=6000; y1=7000; x2=18000; y2=10000; rot=180.000000; halign=center; dyntext=1; stroke=sym-primary; text=%../A.rail%; floater=1; } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + li:forge { + delete,forge/tmp + scalar,forge/tmp + {sub,^,1:,forge/tmp} + suba,$,rail,forge/tmp + array,connect + append,connect,forge/tmp + } + rail=Vneg + role=symbol + } + } + ha:group.23 { + uuid=Hif/m8o2mo/CrYnTszoAAABJ; + x=16000; y=0; + li:objects { + ha:line.1 { x1=88000; y1=104000; x2=88000; y2=108000; stroke=wire; } + } + ha:attrib { + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.125 { + li:conn { + /2/3/1/1 + /2/197/2 + } + } + ha:group.132 { + uuid=GePylIY1T4cR3zcyR1kAAAA7; src_uuid=iNOQfJpO6hT/HFDFGjoAAABC; + x=24000; y=120000; + li:objects { + ha:group.1 { + uuid=GePylIY1T4cR3zcyR1kAAAA8; src_uuid=iNOQfJpO6hT/HFDFGjoAAABD; + x=20000; y=0; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=2 + role=terminal + } + } + ha:group.2 { + uuid=GePylIY1T4cR3zcyR1kAAAA9; src_uuid=iNOQfJpO6hT/HFDFGjoAAABE; + mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=1 + role=terminal + } + } + ha:text.3 { x1=12000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../a.value%; floater=1; } + ha:text.4 { x1=8000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:polygon.5 { + li:outline { + ha:line { x1=4000; y1=2000; x2=4000; y2=-2000; } + ha:line { x1=4000; y1=-2000; x2=16000; y2=-2000; } + ha:line { x1=16000; y1=-2000; x2=16000; y2=2000; } + ha:line { x1=16000; y1=2000; x2=4000; y2=2000; } + } + stroke=sym-decor; + } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + footprint=1206 + name=R1 + role=symbol + value=1600 + } + } + ha:group.142 { + uuid=GePylIY1T4cR3zcyR1kAAABQ; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAH; + x=92000; y=72000; mirx=1; + li:objects { + ha:group.1 { + uuid=GePylIY1T4cR3zcyR1kAAABR; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAI; + x=-20000; y=4000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-4000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=in+ + role=terminal + ha:spice/pinnum = { value=2; prio=31050; } + } + } + ha:group.2 { + uuid=GePylIY1T4cR3zcyR1kAAABS; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAJ; + x=-20000; y=-4000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-4000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=in- + role=terminal + ha:spice/pinnum = { value=1; prio=31050; } + } + } + ha:group.3 { + uuid=GePylIY1T4cR3zcyR1kAAABT; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAK; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-4000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=out + role=terminal + ha:spice/pinnum = { value=3; prio=31050; } + } + } + ha:line.4 { x1=-20000; y1=-8000; x2=-20000; y2=8000; stroke=sym-decor; } + ha:line.5 { x1=-20000; y1=8000; x2=-4000; y2=0; stroke=sym-decor; } + ha:line.6 { x1=-4000; y1=0; x2=-20000; y2=-8000; stroke=sym-decor; } + ha:line.7 { x1=-18000; y1=5000; x2=-18000; y2=3000; stroke=sym-decor; } + ha:line.8 { x1=-19000; y1=4000; x2=-17000; y2=4000; stroke=sym-decor; } + ha:line.9 { x1=-19000; y1=-4000; x2=-17000; y2=-4000; stroke=sym-decor; } + ha:group.10 { + uuid=GePylIY1T4cR3zcyR1kAAABU; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAL; + x=-12000; y=-4000; rot=270.000000; mirx=1; miry=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=0; y1=-1000; rot=180.000000; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=V- + role=terminal + ha:spice/pinnum = { value=5; prio=31050; } + spice/shared=yes + } + } + ha:group.11 { + uuid=GePylIY1T4cR3zcyR1kAAABV; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAM; + x=-12000; y=8000; rot=90.000000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-4000; y1=-4000; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=V+ + role=terminal + ha:spice/pinnum = { value=4; prio=31050; } + spice/shared=yes + } + } + ha:text.12 { x1=-21000; y1=9000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:text.13 { x1=-17000; y1=9000; dyntext=1; stroke=sym-secondary; text=%../A.-slot%; floater=1; } + ha:text.14 { x1=-10000; y1=6000; dyntext=1; stroke=sym-secondary; text=%../A.devmap%; floater=1; } + } + ha:attrib { + -slot=2 + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + devmap=lm358_so8 + name=U1 + role=symbol + spice/model=lm358 + } + } + ha:group.146 { + uuid=GePylIY1T4cR3zcyR1kAAABX; + x=4000; y=0; + li:objects { + ha:line.1 { x1=112000; y1=76000; x2=124000; y2=76000; stroke=wire; } + ha:line.2 { x1=124000; y1=84000; x2=124000; y2=72000; stroke=wire; } + ha:line.3 { x1=124000; y1=76000; x2=124000; y2=76000; stroke=junction; } + } + ha:attrib { + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.147 { + li:conn { + /2/146/1 + /2/142/1/1 + } + } + ha:group.148 { + uuid=GePylIY1T4cR3zcyR1kAAABb; src_uuid=iNOQfJpO6hT/HFDFGjoAAABC; + x=128000; y=104000; rot=270.000000; + li:objects { + ha:group.1 { + uuid=GePylIY1T4cR3zcyR1kAAABc; src_uuid=iNOQfJpO6hT/HFDFGjoAAABD; + x=20000; y=0; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=2 + role=terminal + } + } + ha:group.2 { + uuid=GePylIY1T4cR3zcyR1kAAABd; src_uuid=iNOQfJpO6hT/HFDFGjoAAABE; + mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=1 + role=terminal + } + } + ha:text.3 { x1=12000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../a.value%; floater=1; } + ha:text.4 { x1=8000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:polygon.5 { + li:outline { + ha:line { x1=4000; y1=2000; x2=4000; y2=-2000; } + ha:line { x1=4000; y1=-2000; x2=16000; y2=-2000; } + ha:line { x1=16000; y1=-2000; x2=16000; y2=2000; } + ha:line { x1=16000; y1=2000; x2=4000; y2=2000; } + } + stroke=sym-decor; + } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + footprint=1206 + name=R4 + role=symbol + value=250 + } + } + ha:group.149 { + uuid=GePylIY1T4cR3zcyR1kAAABh; src_uuid=iNOQfJpO6hT/HFDFGjoAAABC; + x=128000; y=72000; rot=270.000000; + li:objects { + ha:group.1 { + uuid=GePylIY1T4cR3zcyR1kAAABi; src_uuid=iNOQfJpO6hT/HFDFGjoAAABD; + x=20000; y=0; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=2 + role=terminal + } + } + ha:group.2 { + uuid=GePylIY1T4cR3zcyR1kAAABj; src_uuid=iNOQfJpO6hT/HFDFGjoAAABE; + mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=1 + role=terminal + } + } + ha:text.3 { x1=12000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../a.value%; floater=1; } + ha:text.4 { x1=8000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:polygon.5 { + li:outline { + ha:line { x1=4000; y1=2000; x2=4000; y2=-2000; } + ha:line { x1=4000; y1=-2000; x2=16000; y2=-2000; } + ha:line { x1=16000; y1=-2000; x2=16000; y2=2000; } + ha:line { x1=16000; y1=2000; x2=4000; y2=2000; } + } + stroke=sym-decor; + } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + footprint=1206 + name=R5 + role=symbol + value=10k + } + } + ha:group.157 { + uuid=GePylIY1T4cR3zcyR1kAAABm; src_uuid=iNOQfJpO6hT/HFDFGjoAAABm; + x=128000; y=52000; + li:objects { + ha:group.1 { + uuid=GePylIY1T4cR3zcyR1kAAABn; src_uuid=iNOQfJpO6hT/HFDFGjoAAABn; + rot=90.000000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + } + ha:attrib { + ha:name = { value=1; prio=220; } + role=terminal + } + } + ha:line.2 { x1=-1500; y1=-5000; x2=1500; y2=-5000; stroke=sym-decor; } + ha:line.3 { x1=-500; y1=-6000; x2=500; y2=-6000; stroke=sym-decor; } + ha:line.4 { x1=-2500; y1=-4000; x2=2500; y2=-4000; stroke=sym-decor; } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + li:connect { + {1:GND} + } + role=symbol + } + } + ha:group.161 { + uuid=GePylIY1T4cR3zcyR1kAAABu; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAh; + x=24000; y=108000; + li:objects { + ha:group.1 { + uuid=GePylIY1T4cR3zcyR1kAAABv; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAi; + x=20000; y=0; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=2 + role=terminal + } + } + ha:group.2 { + uuid=GePylIY1T4cR3zcyR1kAAABw; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAj; + mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=1 + role=terminal + } + } + ha:text.3 { x1=16000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../a.value%; floater=1; } + ha:text.4 { x1=8000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:line.5 { x1=9000; y1=5000; x2=9000; y2=-5000; stroke=sym-decor; } + ha:line.6 { x1=11000; y1=5000; x2=11000; y2=-5000; stroke=sym-decor; } + ha:line.7 { x1=4000; y1=0; x2=9000; y2=0; stroke=sym-decor; } + ha:line.8 { x1=11000; y1=0; x2=16000; y2=0; stroke=sym-decor; } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + footprint=1206 + name=C1 + role=symbol + value=100n + } + } + ha:connection.162 { + li:conn { + /2/12/5 + /2/161/2/1 + } + } + ha:connection.163 { + li:conn { + /2/132/2/1 + /2/12/8 + } + } + ha:group.164 { + uuid=GePylIY1T4cR3zcyR1kAAABx; + li:objects { + ha:line.1 { x1=44000; y1=108000; x2=60000; y2=108000; stroke=wire; } + ha:line.2 { x1=48000; y1=108000; x2=48000; y2=104000; stroke=wire; } + ha:line.3 { x1=48000; y1=108000; x2=48000; y2=108000; stroke=junction; } + } + ha:attrib { + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.165 { + li:conn { + /2/164/1 + /2/161/1/1 + } + } + ha:group.166 { + uuid=GePylIY1T4cR3zcyR1kAAAB1; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAh; + x=60000; y=108000; + li:objects { + ha:group.1 { + uuid=GePylIY1T4cR3zcyR1kAAAB2; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAi; + x=20000; y=0; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=2 + role=terminal + } + } + ha:group.2 { + uuid=GePylIY1T4cR3zcyR1kAAAB3; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAj; + mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=1 + role=terminal + } + } + ha:text.3 { x1=16000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../a.value%; floater=1; } + ha:text.4 { x1=8000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:line.5 { x1=9000; y1=5000; x2=9000; y2=-5000; stroke=sym-decor; } + ha:line.6 { x1=11000; y1=5000; x2=11000; y2=-5000; stroke=sym-decor; } + ha:line.7 { x1=4000; y1=0; x2=9000; y2=0; stroke=sym-decor; } + ha:line.8 { x1=11000; y1=0; x2=16000; y2=0; stroke=sym-decor; } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + footprint=1206 + name=C2 + role=symbol + value=100n + } + } + ha:group.168 { + uuid=GePylIY1T4cR3zcyR1kAAAB7; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAh; + x=56000; y=104000; rot=270.000000; + li:objects { + ha:group.1 { + uuid=GePylIY1T4cR3zcyR1kAAAB8; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAi; + x=20000; y=0; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=2 + role=terminal + } + } + ha:group.2 { + uuid=GePylIY1T4cR3zcyR1kAAAB9; src_uuid=iNOQfJpO6hT/HFDFGjoAAAAj; + mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; } + } + ha:attrib { + name=1 + role=terminal + } + } + ha:text.3 { x1=16000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../a.value%; floater=1; } + ha:text.4 { x1=8000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:line.5 { x1=9000; y1=5000; x2=9000; y2=-5000; stroke=sym-decor; } + ha:line.6 { x1=11000; y1=5000; x2=11000; y2=-5000; stroke=sym-decor; } + ha:line.7 { x1=4000; y1=0; x2=9000; y2=0; stroke=sym-decor; } + ha:line.8 { x1=11000; y1=0; x2=16000; y2=0; stroke=sym-decor; } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + footprint=1206 + name=C3 + role=symbol + value=200n + } + } + ha:connection.170 { + li:conn { + /2/2/1/1 + /2/197/2 + } + } + ha:connection.171 { + li:conn { + /2/19/1 + /2/2/11/1 + } + } + ha:connection.172 { + li:conn { + /2/19/1 + /2/18/1/1 + } + } + ha:connection.173 { + li:conn { + /2/23/1 + /2/2/10/1 + } + } + ha:connection.174 { + li:conn { + /2/23/1 + /2/22/1/1 + } + } + ha:connection.176 { + li:conn { + /2/142/3/1 + /2/189/6 + } + } + ha:connection.177 { + li:conn { + /2/148/1/1 + /2/146/2 + } + } + ha:connection.178 { + li:conn { + /2/149/2/1 + /2/146/2 + } + } + ha:connection.179 { + li:conn { + /2/157/1/1 + /2/149/1/1 + } + } + ha:connection.180 { + li:conn { + /2/164/1 + /2/166/2/1 + } + } + ha:group.181 { + uuid=GePylIY1T4cR3zcyR1kAAAB+; + li:objects { + ha:line.1 { x1=44000; y1=120000; x2=60000; y2=120000; stroke=wire; } + ha:line.2 { x1=56000; y1=104000; x2=56000; y2=120000; stroke=wire; } + ha:line.3 { x1=56000; y1=120000; x2=56000; y2=120000; stroke=junction; } + } + ha:attrib { + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.182 { + li:conn { + /2/181/1 + /2/132/1/1 + } + } + ha:connection.183 { + li:conn { + /2/181/1 + /2/3/2/1 + } + } + ha:connection.184 { + li:conn { + /2/181/2 + /2/168/2/1 + } + } + ha:connection.185 { + li:conn { + /2/164/2 + /2/7/2/1 + } + } + ha:connection.187 { + li:conn { + /2/7/1/1 + /2/189/5 + } + } + ha:connection.188 { + li:conn { + /2/168/1/1 + /2/189/7 + } + } + ha:group.189 { + uuid=GePylIY1T4cR3zcyR1kAAACA; + li:objects { + ha:line.1 { x1=120000; y1=68000; x2=116000; y2=68000; stroke=wire; } + ha:line.2 { x1=120000; y1=56000; x2=120000; y2=68000; stroke=wire; } + ha:line.4 { x1=88000; y1=56000; x2=120000; y2=56000; stroke=wire; } + ha:line.5 { x1=48000; y1=84000; x2=48000; y2=72000; stroke=wire; } + ha:line.6 { x1=48000; y1=72000; x2=92000; y2=72000; stroke=wire; } + ha:line.7 { x1=56000; y1=84000; x2=56000; y2=72000; stroke=wire; } + ha:line.8 { x1=56000; y1=72000; x2=56000; y2=72000; stroke=junction; } + ha:line.9 { x1=88000; y1=56000; x2=88000; y2=72000; stroke=wire; } + ha:line.10 { x1=88000; y1=72000; x2=88000; y2=72000; stroke=junction; } + } + ha:attrib { + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.190 { + li:conn { + /2/189/1 + /2/142/2/1 + } + } + ha:group.197 { + uuid=GePylIY1T4cR3zcyR1kAAACD; + li:objects { + ha:line.1 { x1=80000; y1=108000; x2=84000; y2=108000; stroke=wire; } + ha:line.2 { x1=80000; y1=120000; x2=92000; y2=120000; stroke=wire; } + ha:line.3 { x1=84000; y1=108000; x2=84000; y2=120000; stroke=wire; } + ha:line.4 { x1=84000; y1=120000; x2=84000; y2=120000; stroke=junction; } + } + ha:attrib { + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.198 { + li:conn { + /2/197/1 + /2/166/1/1 + } + } + ha:group.199 { + uuid=GePylIY1T4cR3zcyR1kAAACE; + li:objects { + ha:line.1 { x1=128000; y1=116000; x2=128000; y2=116000; stroke=junction; } + ha:line.2 { x1=92000; y1=92000; x2=120000; y2=92000; stroke=wire; } + ha:line.3 { x1=128000; y1=104000; x2=128000; y2=116000; stroke=wire; } + ha:line.4 { x1=116000; y1=116000; x2=136000; y2=116000; stroke=wire; } + ha:line.5 { x1=120000; y1=92000; x2=120000; y2=116000; stroke=wire; } + ha:line.6 { x1=120000; y1=116000; x2=120000; y2=116000; stroke=junction; } + ha:line.7 { x1=92000; y1=112000; x2=92000; y2=92000; stroke=wire; } + ha:text.8 { x1=131000; y1=116000; dyntext=1; stroke=wire; text=%../A.name%; floater=1; } + } + ha:attrib { + name=out + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.200 { + li:conn { + /2/199/3 + /2/148/2/1 + } + } + ha:connection.201 { + li:conn { + /2/199/4 + /2/2/3/1 + } + } + ha:connection.202 { + li:conn { + /2/199/7 + /2/2/2/1 + } + } + ha:group.203 { + uuid=NZH2CJ+qOBOuN1271HYAAAB4; src_uuid=iNOQfJpO6hT/HFDFGjoAAABm; + x=28000; y=40000; + li:objects { + ha:group.1 { + uuid=NZH2CJ+qOBOuN1271HYAAAB5; src_uuid=iNOQfJpO6hT/HFDFGjoAAABn; + rot=90.000000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + } + ha:attrib { + ha:name = { value=1; prio=220; } + role=terminal + } + } + ha:line.2 { x1=-1500; y1=-5000; x2=1500; y2=-5000; stroke=sym-decor; } + ha:line.3 { x1=-500; y1=-6000; x2=500; y2=-6000; stroke=sym-decor; } + ha:line.4 { x1=-2500; y1=-4000; x2=2500; y2=-4000; stroke=sym-decor; } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + li:connect { + {1:GND} + } + role=symbol + } + } + ha:group.204 { + uuid=NZH2CJ+qOBOuN1271HYAAAB6; src_uuid=Hif/m8o2mo/CrYnTszoAAAAo; + x=0; y=-56000; + li:objects { + ha:line.1 { x1=28000; y1=112000; x2=24000; y2=112000; stroke=wire; } + ha:text.2 { x1=29000; y1=111000; dyntext=1; stroke=wire; text=%../A.name%; floater=1; } + } + ha:attrib { + name=out + ha:role = { value=wire-net; prio=0; } + } + } + ha:group.205 { + uuid=NZH2CJ+qOBOuN1271HYAAAB7; src_uuid=iNOQfJpO6hT/HFDFGjoAAABv; + x=36000; y=40000; rot=180.000000; + li:objects { + ha:group.1 { + uuid=NZH2CJ+qOBOuN1271HYAAAB8; src_uuid=iNOQfJpO6hT/HFDFGjoAAABw; + rot=270.000000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + } + ha:attrib { + ha:name = { value=1; prio=220; } + role=terminal + } + } + ha:line.2 { x1=2500; y1=4000; x2=-2500; y2=4000; stroke=sym-decor; } + ha:text.3 { x1=6000; y1=7000; x2=18000; y2=10000; rot=180.000000; halign=center; dyntext=1; stroke=sym-primary; text=%../A.rail%; floater=1; } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + li:forge { + delete,forge/tmp + scalar,forge/tmp + {sub,^,1:,forge/tmp} + suba,$,rail,forge/tmp + array,connect + append,connect,forge/tmp + } + rail=Vneg + role=symbol + } + } + ha:group.206 { + uuid=NZH2CJ+qOBOuN1271HYAAAB9; src_uuid=u6bADXQQa0V4HJRNz+sAAAA9; + x=20000; y=44000; mirx=1; + li:objects { + ha:text.1 { x1=0; y1=-2000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:group.2 { + uuid=NZH2CJ+qOBOuN1271HYAAAB+; src_uuid=u6bADXQQa0V4HJRNz+sAAAA+; + mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=1000; y1=0; dyntext=1; stroke=term-primary; text=%../A.name%; } + } + ha:attrib { + name=1 + role=terminal + } + } + ha:group.3 { + uuid=NZH2CJ+qOBOuN1271HYAAAB/; src_uuid=u6bADXQQa0V4HJRNz+sAAAA/; + x=0; y=4000; mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=1000; y1=0; dyntext=1; stroke=term-primary; text=%../A.name%; } + } + ha:attrib { + name=2 + role=terminal + } + } + ha:group.4 { + uuid=NZH2CJ+qOBOuN1271HYAAACA; src_uuid=u6bADXQQa0V4HJRNz+sAAABA; + x=0; y=8000; mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=1000; y1=0; dyntext=1; stroke=term-primary; text=%../A.name%; } + } + ha:attrib { + name=3 + role=terminal + } + } + ha:group.5 { + uuid=NZH2CJ+qOBOuN1271HYAAACB; src_uuid=u6bADXQQa0V4HJRNz+sAAABB; + x=0; y=12000; mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=1000; y1=0; dyntext=1; stroke=term-primary; text=%../A.name%; } + } + ha:attrib { + name=4 + role=terminal + } + } + ha:group.6 { + uuid=NZH2CJ+qOBOuN1271HYAAACC; src_uuid=u6bADXQQa0V4HJRNz+sAAABC; + x=0; y=16000; mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=1000; y1=0; dyntext=1; stroke=term-primary; text=%../A.name%; } + } + ha:attrib { + name=5 + role=terminal + } + } + ha:polygon.7 { + li:outline { + ha:line { x1=0; y1=-2000; x2=0; y2=18000; } + ha:line { x1=0; y1=18000; x2=4000; y2=18000; } + ha:line { x1=4000; y1=18000; x2=4000; y2=-2000; } + ha:line { x1=4000; y1=-2000; x2=0; y2=-2000; } + } + stroke=sym-decor; + } + } + ha:attrib { + name=CN1 + role=symbol + spice/omit=yes + } + } + ha:connection.207 { + li:conn { + /2/206/5/1 + /2/204/1 + } + } + ha:group.208 { + uuid=NZH2CJ+qOBOuN1271HYAAACD; src_uuid=u6bADXQQa0V4HJRNz+sAAABU; + x=-4000; y=0; + li:objects { + ha:line.1 { x1=28000; y1=48000; x2=40000; y2=48000; stroke=wire; } + ha:line.2 { x1=40000; y1=48000; x2=40000; y2=40000; stroke=wire; } + } + ha:attrib { + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.209 { + li:conn { + /2/208/1 + /2/206/3/1 + } + } + ha:connection.210 { + li:conn { + /2/208/2 + /2/205/1/1 + } + } + ha:group.211 { + uuid=NZH2CJ+qOBOuN1271HYAAACE; src_uuid=u6bADXQQa0V4HJRNz+sAAABf; + x=-4000; y=0; + li:objects { + ha:line.1 { x1=28000; y1=60000; x2=32000; y2=60000; stroke=wire; } + ha:line.2 { x1=32000; y1=60000; x2=32000; y2=64000; stroke=wire; } + } + ha:attrib { + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.212 { + li:conn { + /2/211/1 + /2/206/6/1 + } + } + ha:group.213 { + uuid=NZH2CJ+qOBOuN1271HYAAACF; src_uuid=u6bADXQQa0V4HJRNz+sAAABN; + x=-24000; y=-16000; + li:objects { + ha:line.1 { x1=48000; y1=60000; x2=52000; y2=60000; stroke=wire; } + ha:line.2 { x1=52000; y1=60000; x2=52000; y2=56000; stroke=wire; } + } + ha:attrib { + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.214 { + li:conn { + /2/213/1 + /2/206/2/1 + } + } + ha:connection.215 { + li:conn { + /2/213/2 + /2/203/1/1 + } + } + ha:group.216 { + uuid=NZH2CJ+qOBOuN1271HYAAACG; src_uuid=Hif/m8o2mo/CrYnTszoAAAAo; + x=0; y=-60000; + li:objects { + ha:line.1 { x1=28000; y1=112000; x2=24000; y2=112000; stroke=wire; } + ha:text.2 { x1=29000; y1=111000; dyntext=1; stroke=wire; text=%../A.name%; floater=1; } + } + ha:attrib { + name=in + ha:role = { value=wire-net; prio=0; } + } + } + ha:connection.217 { + li:conn { + /2/216/1 + /2/206/4/1 + } + } + ha:group.218 { + uuid=NZH2CJ+qOBOuN1271HYAAACH; src_uuid=iNOQfJpO6hT/HFDFGjoAAAB6; + x=28000; y=64000; + li:objects { + ha:group.1 { + uuid=NZH2CJ+qOBOuN1271HYAAACI; src_uuid=iNOQfJpO6hT/HFDFGjoAAAB7; + rot=270.000000; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + } + ha:attrib { + ha:name = { value=1; prio=220; } + role=terminal + } + } + ha:line.2 { x1=2500; y1=4000; x2=-2500; y2=4000; stroke=sym-decor; } + ha:text.3 { x1=-4000; y1=4000; x2=4000; y2=7000; halign=center; dyntext=0; stroke=sym-primary; text=Vcc; } + } + ha:attrib { + -sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + -sym-license-dist=GPLv2+ + -sym-license-use=Public Domain + -sym-source=sch-rnd default symbol lib + li:connect { + {1:Vcc} + } + role=symbol + } + } + ha:connection.219 { + li:conn { + /2/218/1/1 + /2/211/2 + } + } + } + ha:attrib { + maintainer=Tibor 'Igor2' Palinkas + page=1 of 1 + print_page=A/4 + title={high level SIM: notch filter with opamps, ac} + } + } + li:sch-rnd-conf-v1 { + ha:overwrite { + ha:editor { + grids_idx = 2 + grid = 4.0960 mm + } + } + } +} Index: simulation/sim/18_opamp_ac/project.lht =================================================================== --- simulation/sim/18_opamp_ac/project.lht (nonexistent) +++ simulation/sim/18_opamp_ac/project.lht (revision 8730) @@ -0,0 +1,72 @@ +ha:coraleda-project-v1 { + li:sch-rnd-conf-v1 { + ha:overwrite { + ha:plugins { + ha:sim { + li:setups { + {ha:ac analysis} { + li:mods { + ha:add { + value = 5 + pos = Vcc + tdf = none + device = V + ha:tdf_params { + } + } + ha:add { + value = -5 + pos = Vneg + tdf = none + device = V + ha:tdf_params { + } + } + ha:add { + ac_value = 0.1 + value = 0 + pos = in + tdf = none + device = V + ha:tdf_params { + } + } + } + li:output { + {ha:outout decibel} { + ha:presentation { + axis_x = lin + axis_y = lin + type = plot + li:props { + vdb(out) + } + } + ha:analysis { + type = ac_dec + start = 1 + numpt = 10 + stop = 1000k + } + } + ha:phase { + ha:presentation { + axis_x = lin + axis_y = lin + type = plot + li:props { + cph(out) + } + } + ha:analysis { + type = previous + } + } + } + } + } + } + } + } + } +}