Circuit simulation is a useful tool for prototyping and testing circuit designs. The basic method to simulating a circuit goes:
- Draw a schematic of the circuit in a software package that supports simulations.
- Attach simulation models to the various components in the schematic. These models describe the electrical behaviour of the component. SPICE is a common language used to describe the models (see below).
- Attach voltage supplies, input/outputs, and probes to the various places in the schematic. These are usually specific symbols related to simulation only, therefore if you are using an integrated software package these are likely to have their own menu or library.
- Define test points/analysis locations on the circuit. These are the nets you want to investigate.
- Run a simulation. There are many different types of simulation, from DC analysis, AC analysis, transient analysis, frequency sweeps, noise analysis, and even monte carlo (which varies the values of components within their specified tolerances, so simulate a circuit made with real-world components).
There are a few circuit simulation languages, but SPICE (and it's variants), seems to be the most well-known and well used. Many manufacturers release free SPICE models of their components so you can quickly and easily use them in your simulation. If a specific simulation model for the component does not exist, you can either write you own (SPICE is a simple language that can easily be written in a text editor), or fall back to using a generic SPICE model for the particular type of component you are using. Note that although SPICE is powerful, it cannot do PCB circuit analysis, that is, it cannot simulate the effect of having the circuit routed onto a PCB (which brings into play noise issues, stray inductances/capacitances e.t.c). This requires very powerful software, and I have personally never done this before.
A Comparison of Popular Circuit Simulation Software
Website: www.altium.com Cost: $$ Platform: Windows Functionality: 8/10 Usability: 5/10
Expensive but powerful SPICE simulator, benefits for being a fully integrated pcb development program, so no external software needed. Supports SPICE3f5, XSpice and PSpice file formats.
Website: https://www.circuitlab.com Cost: $ Platform: Web Functionality: 5/10 Usability: 8/10
Unfortunately there is no one-off payment method for Hobbists, as the per-month pricing can be prohibitive when it is just for occasional personal use.
Tina Design Suite
Website: www.tina.com Cost: Functionality: Usability:
Primarily a SPICE simulator, but also features a PCB designer.
Website: http://www.linear.com/designtools/software/ Cost: FREE Platforms: Windows (primary platform), Mac OS (very limited functionality!) Functionality: Usability: 3/10
Linear Technologies spice simulator orientated towards testing their own components. This SPICE simulator is once of the best free options out there, with some people quoting that it's better than most paid for programs!
While it has great support for Windows, the macOS version is almost unusable (because of things such as the toolbar is missing).
- Altium Bugs And Things To Watch Out For
- Altium Rules
- Altium Simulation
- PCB Design Tools
- July 2017 Updates