Index: trunk/doc/tutorial/simulation/raw/18_opamp_ac.html =================================================================== --- trunk/doc/tutorial/simulation/raw/18_opamp_ac.html (revision 7929) +++ trunk/doc/tutorial/simulation/raw/18_opamp_ac.html (revision 7930) @@ -4,8 +4,8 @@

Scope

-Notch filter built with two opamps: this filter passes a signals between DC -and 100 kHz but filters out 1 kHz signals. Demonstrates using slotted +A notch filter built with two opamps: this filter passes signals between DC +and 100 kHz but filters out 1 kHz signals. Demonstrated using a slotted opamp with simulation.

The schematics

@@ -18,13 +18,13 @@

Preparing for simulation

-lm358 is two opamps in a single physical package. For the PCB workflow this -is going to be a single footpirnt with 8 pins. For spice simulation, -two separate components are exported, one per slot. The problem is: +The lm358 contains two opamps in a single physical package. For the PCB +workflow this is going to be a single footprint with 8 pins. For spice +simulation, two separate components are exported, one per slot. The problem is: only slot 1's power terminals are connected! This is no problem for the -PCB workflow, where this is a physical connection within the package. For -simulation, the trick is to set spice/shared on the power terminals on both -slots (4 terminals total). This tells sch-rnd to share connection between +PCB workflow, where a physical connection between slots exists within the package. +For simulation, the trick is to set spice/shared on the power terminals on both +slots (4 terminals total). This tells sch-rnd to share the connection between the same numbered terminals of different slots of the same symbol.

Other than this, everything else is pretty much the same as in @@ -54,12 +54,12 @@ ac dec 10 1 1000k > plot.txt

-After the export, write a single word spice in the first line of the -file (e.g. using a text editor), else gnucap won't know the file is in spice +After the export, write the single word spice in the first line of the +file (e.g. using a text editor), otherwise gnucap won't know the file is in spice syntax. Then run gnucap 16_omapm_dc.cir and it will dump a text -table to plot.txt that can be plotted using e.g. gnuplot. +table to plot.txt that can be plotted using a suitable utility, e.g. gnuplot.

-The gnucap-modified schematics is also available. +The gnucap-modified schematic is also available.

xyce