Circuit Simulation


Using a computer to simulate the behaviour of electrical or electronic circuits has both advantages and disadvantages over conventional methods. A computer can perform hundreds of millions of operations per second and is therefore much faster and more accurate than calculations by hand and results are available in minutes. Also, measurements which would be difficult or impossible to do on a real circuit can be made. Many simulator programs allow schematic input some even allow the drafting of a pcb layout. The disadvantage to using any program is that you still have to design the circuit yourself, and results will only be as good as your initial circuit input.

Most Simulation programs are based on the original 1970's Berkley SPICE (Simulation Program with Integrated Circuit Emphasis)program and some have additional facilities. The original Spice2 program was wrote in fortran and contained models for transistors, FET's, diodes resistors and capacitors and could perform AC and DC analysis, transient and time domain analysis. The later Spice3 addition included models for MOSFET and added noise, distortion and pole-zero analysis.

Today many companies sell commercial simulator programs based on the original SPICE3 but with added flexibility and features. For instance, multiple analysis may be run at different temperatures (invaluablefor investigating thermal properties of a circuit), component tolerances may be swept (monte-carlo analysis), fourier analysis for investigating distortion and more.

Simulator Programs
There are many simulation programs available today, but on Circuit Exchange I have used "Circuit Maker" from Microcode, and "TINA" (Toolkit for Interactive Network Analysis) from designsoft. Both feature schematic input and numerous analysis.

LTspice IV
LT Spice IV is a free spice 3 based simulator from Linear Technology. Originally called Switchercad this simulator was used in analysing switched mode power supplies, but has the ability to work with transistors, FET's and IC's and has become an invaluble tool for circuit simulation and schematic drafting.

To grab yourself a copy, visit this page on Linear Technologies web site. The program can be run under both windows and linux. For linux just make sure you have "Wine" installed, most modern linux distributions include wine on their software repositories.

LTspice User Group
LTspice has proved so popular that a yahoo user group has been started. To become a member first create a free yahoo email address the click the link below:
LTspice Yahoo Group
The yahoo group is a great place to go for help. In addition to the forums, the files section contains new models and downloadable circuits.

        

The following sections are based on LTspice, Tina, Circuit Maker and other circuit simulators. You may find some useful information about these programs on my site.
Circuit Maker

LTspice

Tina

SPICE