eCircuit Center |
About SPICE |
About SPICE |
SPICE Basics | Running SPICE
| CIRCUIT COLLECTION |
SPICE Commands | SPICE Demos and Downloads |
What is SPICE?
|
WHAT IS SPICE?
SPICE is program that simulates electronic circuits on your PC. You can view any voltage or current waveform in your circuit. SPICE calculates these voltages and currents versus time (Transient Analysis) or versus frequency (AC Analysis). Most SPICE programs also perform other analysis like DC, Sensitivity, Noise and Distortion. SPICE stands for Simulation Program with Integrated Circuit Emphasis. Researchers at the University of California, Berkeley developed this computer program during the mid-70s. What drove this development? The arrival of the integrated circuit demanded a method to test and tweak circuit designs before the expensive fabrication process. Today, SPICE is available from many vendors who have added schematic drawing tools to the front end and graphics post processors to plot the results. SPICE simulators and applications have expanded to analog and digital circuits, microwave devices, and electromechanical systems. top
SPICE is a great tool for learning electronics. You can increase your understanding of circuits as you play and tinker with them. Experiment! Modify the circuit and see what happens! How long does it take? Change a resistor value and see the effect on a circuit in seconds. Ideally, we would actually build and test actual circuits to understand all of its behaviors. However, you would need breadboards, components and time to wire the circuit. Actual circuits also require expensive equipment like power supplies, signal generators and oscilloscopes. It may be difficult to physically breadboard every circuit you encounter. You can
spend hours building an actual circuit and only get a simple concept from
it, whereas, SPICE provides the insight in minutes. SPICE
can be your “virtual” breadboard. Even if you have a
short time to spare,
you can
cover several circuit principles and applications.
Basically, SPICE operates like this:
The question arose, should the SPICE circuits for this site be created using a text editor (netlist) or a graphic drawing tool (schematic page). The text editor was chosen. Why? Although, the schematic capture has its advantages, each SPICE vendor has a different drawing interface and file format. This would cause great confusion if you used a version of SPICE different from the one used at this site. Also, the learning curve for the schematic capture can be steep. Many component characteristics are not visible from the schematic. (Ultimately, the schematic capture program creates a netlist before running a simulation.) The netlist
description of a circuit is simple and fairly consistent for each SPICE vendor
with some variations. The entire circuit and component properties are
visible. Learning the netlist is easy and making changes is fast. You can
create a netlist by drawing the circuit on paper and applying a few simple
rules. (Several books written on SPICE strongly recommend learning the
netlist, even if you decide later to use a schematic capture program.)
SIMULATING YOUR OWN CIRCUITS.Simulating and testing your own circuits can be easy.
You can take
advantage of the SPICE Circuit Collection by first looking for a circuit
similar to your own circuit. Copy this SPICE file to a new file. Give it a name
related to your application. (Be sure your new file name has the .CIR
extension.) Then, modify the new file to represent your circuit and run a
simulation. The circuit library provides a ready reference for
you to springboard into simulating your own circuits.
About SPICE |
SPICE Basics | Running SPICE
| CIRCUIT COLLECTION |
SPICE Commands © 2002 eCircuit Center |