From: ian Date: Wed, 24 Mar 2004 23:54:52 +0000 (+0000) Subject: wip X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=4fbe764bc5118c5b22068bf74550ac703d17f700;p=trains.git wip --- diff --git a/spice/lf356.mod b/spice/lf356.mod index ad0cee1..208b11a 100644 --- a/spice/lf356.mod +++ b/spice/lf356.mod @@ -61,7 +61,8 @@ C4 5 6 1.9894E-13 * I2 99 50 4.65MA *^Quiescent supply current -EOS 7 1 POLY(1) 16 49 3E-3 1 +*EOS 7 1 POLY(1) 16 49 3E-3 1 +BEOS 7 1 V=3E-3+V(16,49) *Input offset voltage.^ R8 99 49 50K R9 49 50 50K @@ -75,7 +76,9 @@ V3 10 50 2.63 **************SECOND STAGE************** * EH 99 98 99 49 1 -F1 9 98 POLY(1) VA3 0 0 0 1.5944E7 +*F1 9 98 POLY(1) VA3 0 0 0 1.5944E7 +BF1 9 98 I=1.5944e7*I(va3)^3 +*1.5944e7*(I(VA3) G1 98 9 5 6 2E-3 R5 98 9 100MEG VA3 9 11 0 diff --git a/spice/opmodel1.cir b/spice/opmodel1.cir index 8e6d5b7..2df013f 100644 --- a/spice/opmodel1.cir +++ b/spice/opmodel1.cir @@ -1,19 +1,20 @@ -OPMODEL1.CIR -OPAMP MODEL SINGLE-POLE +OPMODEL1.CIR -OPAMP MODEL SINGLE-POLE * .include opmodmac.cir +*.include lf356.mod vpp 10 0 10 vmm 0 90 10 VS 1 0 ac 1 * dc 1 AC 1 else sin(0voff 1vpeak 2khz) -*XOP 1 0 3 90 10 -XOP 1 0 3 90 10 opamp1 +XOP 1 0 3 90 10 opamp1 +#XOP 1 0 3 90 10 lf356/ns RL 3 0 1K * * * VIEW RESULTS -.PRINT AC VM(3) +.PRINT AC VM(3) vp(3) .PRINT tran v(90) v(1) V(3) v(10) * ANALYSIS .PROBE