Symbolic circuit processor
Author: Filaretov V.V.
User's manual for CIRSYM program
CIRSYM.exe will allow you to obtain symbolic network function in the form of a ratio of two nested expressions for any lumped, linear, time-invariant circuit. All circuit parameters have been presented in a symbolic form. A computational complexity expressions is minimized to include optimal of operations and characters.
To use the program you will need a CIR file (PSpise, DesignLab file) of your circuit. CIR file examples have been enclosured: bpasside.cir, test1.cir, test2.cir, test3.cir, test4.cir, laksamp.cir, bridge.cir, uA741acf.cir, quartz.cir.
CIRCUIT DATA ENTRY
In first string of CIR file enter any text you want to be the title of your circuit.
Circuit nodes should be arbitrary numbered by integers. Currently only node number is less
than 190. Starting from string 2 (if is not comments - "*") enter the component
name, incident nodes and, optionally, its value. The first letter of the name indicates the component type. Component values are not used directly by CIRSYM, but these values will be written to a file "out" or "*.out" for CALCSYM program.
* The following components are accepted by CIRSYM-2000: * * Resistor (value in [Ohm]) * Rname n1 n2 value * * Capacitor (value in [F]) Cname n1 n2 value * * Inductor (value in [H]) Lname n1 n2 value * * Voltage-controlled current source (value in [1/Ohm]) * Gname n1 n2 n3 n4 value * * In controlled source data, (n1,n2) represent controlled * terminals (source) and (n3,n4) represent controlling terminals. * * Ideal operational amplifier (nullor) * Nname n1 n2 n3 n4 * * In the ideal op amp data, (n1,n2) represent output nodes, * (n3,n4) represent input nodes (noninverting, inverting). * Output of an ideal op amp is modelled by the norator, while * the input is modelled by the nullator * * * Specifying input and output ports * * In order to calculate network function, input and output ports * must be specified. This is done by placing the following lines at * the component list: * * * Input voltage source (1 V) * V n1 n2 1 * * Input current source (1 A) * I n1 n2 1 * * Output of voltage (voltmeter) I n1 n2 0 * * Output of current (ammeter) * V n1 n2 0 * * * Command of the circuit determinant calculation * .DET * * * Frequency specifying * * 1 point in 1000 Hz * .AC LIN 1 1000 * * * End of CIR file .END * * * The file "circuit_file_name.CIR" or symply "CIR" can be * created, viewed and modified with any text editor. *
To generate a network function, run cirsym.exe and enter
"circuit_file_name.CIR" or click on the "ENTER" (in "CIR"
In the first option can generate circuit_file_name.OUT file or in the last option (by default) can generate OUT file. These files can use for investigations and numeric calculations by means of CALCSYM program.
Back to main page