Electrical

Computer aided circuit Analysis: SPICE

The computer-aided tools can free the engineer from tedious calculations, thereby freeing more time for doing the kind of creative work a computer cannot do. A circuit analysis program is known as SPICE, an acronym for a simulation program with the emphasis on integrated circuits. Several commercial products based on SPICE have been developed for personal computers and workstation platforms.

the input processor is called Schematics, the simulation processor is a version of SPICE called PSpice, and the output processor is called PROBE. These three programs, working together, create a graphical environment in which the circuit diagram and the analysis objectives are entered using Schematics, the circuit is analyzed using PSpice, and the resulting circuit responses are viewed using PROBE.

The first step for describing the circuit is to number the circuit nodes. The reference node (or ground node) is labeled as zero (0), and in PSpice syntax the other node names can be numbers or letters. In order to describe the circuit, statements are written with a separate statement for each circuit element. The name of an element must begin with a particular letter identifying the kind of circuit element.

R Resistor
V Independent voltage source
I Independent current source
G Voltage-controlled current source
E Voltage-controlled voltage source
F Current-controlled current source
H Current-controlled voltage source

SPICE uses the following scale factor designations:

T = 1E12         G = 1E9               MEG = 1E6
K = 1E3          M = 1E −3           U = IE − 6
N = 1E −9      P = 1E − 12         F = 1E − 15

Sometimes, for clarity, additional letters following a numerical value may be used; but these are ignored by SPICE. For example, 4.4 KOHMS is recognized as the value 4400, and “ohms” is ignored by the program. Comment statements are identified by an asterisk (*) in the first column, and these are helpful for making the program meaningful to users. PSpice also allows inserting comments on any line by starting the comment with a semicolon.

shows the four types of controlled sources:

 

Their SPICE statement: (a) Voltage-controlled voltage source. (b) Voltage-controlled current source. (c) Current controlled voltage source. (d) Current-controlled current source.

 

Sivaranjith

Instrumentation Engineer

Related Articles

Leave a Reply

Back to top button