home *** CD-ROM | disk | FTP | other *** search
- This program is a scaled down version of spice that will
- simulate and find the frequency response
- of any circuit. It has no time domain simulation
- capabilities. sspice can accept passive and active
- circuits. Voltage controlled current sources and
- voltage controlled voltage sources are available.
-
- Node Names
-
- The input format of sspice is a "net list" containing
- all component connections and values. Most components
- are described as to be connected between two nodes.
- The node names can be a 10 or less ascii character
- string. The node names "Gnd" and "gnd" are reserved
- for the common node of ground. Each circuit is assumed
- to have this common node of ground.
-
- Control Commands
-
- FS <val> [modif] ; The starting frequency in Hz.
- FE <val> [modif] ; The ending frequency in Hz.
- FP <val> [modif] ; The number of partitions the
- frequency range is to divided
- into.
- LOG ; The output will be calculated in
- dB (attenuation). Only applies
- to magnitude response.
- RADS ; The starting, ending, and output
- printed frequencies are accepted
- and printed in radians instead of Hz.
- PHASE ; Phase response is calculated and
- printed in degrees.
- PRTCMP ; Print out a list of the components
- used and their node assignments.
- OUT <node> ; Identifies the output node.
- VS <node> ; Identifies the input node.
-
- Passive Component Entries
-
- Rxxxx <node> <node> <value> [modif] ; A resistor with label "xxxx" connected
- between the two nodes with resistance
- "value" ohms.
- Cxxxx <node> <node> <value> [modif] ; A capacitor with label "xxxx" connected
- between the two nodes with capacitance
- "value" farads.
- Lxxxx <node> <node> <value> [modif] ; An inductor with label "xxxx" connected
- between the two nodes with inductance
- "value" henries.
-
- Active component Entries
-
- VCV <node1> <node2> <node3> <value> [modif] ;
- A voltage controlled voltage source.
- A voltage of value*(Vnode1-Vnode2)
- is applied to node3. "value" is the
- voltage gain constant (for typical
- op-amps, make this 100,000).
- VCI <node1> <node2> <node3> <node4> <value> [modif] ;
- A voltage controlled current source.
- A current of value*(Vnode1-Vnode2)
- is injected between node3 and node4.
- "value" is considered to be the
- transconductance of the controlled
- source in units of Mhos.
-
- Note: At present, sources cannot be assigned unique names; however,
- each entry is considered a unique source.
-
- Modifiers
-
- All input data can be modified by a metric modifier or an exponential power.
- The modifiers are p,n,u,m,K,M,G, for ten to the -12,-9,-6,-3,+3,+6,+9
- powers, respectively.
-
- Output
-
- The output will be two columns of numbers: the first being the
- frequency in hertz, the second being the amplitude response
- in absolute units or attenuation in dB, phase response in
- degrees, or the step response. In addition to the x-y
- coordinates, further information is supplied to the
- output for use by the "plot" program.
-
-