gEDA-user: TwoStageAmp example

Patrick Doyle wpdster at gmail.com
Mon Apr 2 09:11:28 EDT 2007


On 4/2/07, Stuart Brorson <sdb at cloud9.net> wrote:
> > I've tried
> >
> > tran 100us 100ms
> > plot vout 10*vin
> >
> > and I see a couple of pretty sinewaves. That's enough to get me
> > started.  So, I guess I'll say I get sensible results.
>
> Sounds good.
>
> You can also try
>
> ac dec 10 1Hz 1MegHz
> plot vout vin
>
> to get a freq response curve.
>
OK, I did that, although the frequency response of "vin" is kinda boring :-)

If you were to assume that my entire exposure to spice based
simulation in the past consisted of playing with SwitcherCAD for an
afternoon or two, where would you recommend I go next in order to
learn more?  The SPICE3 syntax and commands listed at
http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/ are fine,
but reading that "ac" command performs ac small-signal analysis did
not prepare me for the leap of faith that plotting vout would give me
a voltage-vs-frequency curve, whereas seeing the example of the
transient analysis and plotting a voltage-vs-time curve did make
intuitive sense to me.  Where can I go to tune up my intuition?

> > BTW, would you mind if I added a reference to the Cambridge University
> > to your csygas page in the wiki?
>
> Please go ahead and do it!  The more documentation the better!
>
I'll go get my login for the wiki and add it.  (I know that the spirit
of a wiki allows me to freely edit what you've written without
obtaining your permission first, but, since that page reflects a
paper/article you've probably published elsewhere, I felt it was
polite to ask before I went int and mucked it up.)

As long as I'm thinking about this and playing with it... does anybody
know if ngspice can be compiled with readline support?  The one I have
(installed on my FC6 box via yum) doesn't support it and I miss the
command line history and editing features.  I'll go look into it
shortly, but I figured I would ask anyway.

--wpd


More information about the geda-user mailing list