Cheap, Cross-Platform Electronic Circuit Simulation Software?
dv82 writes "I teach circuits and electronics at the undergraduate level, and have been using the free student demo version of OrCad for schematic capture and simulation because (a) it comes with the textbook and (b) it's powerful enough for the job. Unfortunately OrCad runs only under Windows, and students increasingly are switching to Mac (and some Linux netbooks). Wine and its variants will not run OrCad, and I don't wish to require students to purchase Windows and run with a VM. The only production-quality cross-platform CAD tool I have found so far is McCad, but its demo version is so limited in total allowed nets that it can't even run a basic opamp circuit with a realistic 741 opamp model. gEDA is friendly to everything BUT Windows, and is nowhere near as refined as OrCad. I would like students to be able to run the software on their laptops without a network connection, which eliminates more options. Any suggestions?"
If booting off a live DVD is OK then you may want to look at https://fedoraproject.org/wiki/ElectronicLab_Spin .
For simulation, you can get Spice versions for all platforms.
For the CAD part, there is the EAGLE Light Edition from CadSoft http://www.cadsoftusa.com/freeware.htm It runs on Linux, Windows and Mac.
We had finance apps that students had to use in their coursework. Trying to get them to work on a Win/Linux/Mac system would have been painful and time consuming.
So we created a terminal server environment that let anybody RDP in to use the course apps. That way nobody had to pay for a real version, we paid for the terminal license.
That might work well for you rather than finding an app to support in 3 environments.
Good luck!
My mom says I'm cool.
The law is never plain and simple.
Electronics CAD != Circuit Simulation.
Whether running Linux or Windows - aren't you going to run into some serious horsepower issues if you try to accommodate students who own netbooks?
I don't see why. Most student level electronics simulation just shouldn't be all that CPU intensive. When I was an EE student 10 years ago, people did just fine with 150MHz machines running SPICE.
"Prefiero morir de pie que vivir siempre arrodillado!"
LTSpice is free as in beer and works nicely even with more complicated problems. There is only a windows version available, but Linux support with wine should not be a problem. http://www.linear.com/designtools/software/
For simple circuits SolveElec runs on windows and mac, has a very nice user interface and is a good tool for teaching. http://www.physicsbox.com/indexsolveelec2en.html
I've had to use a handful of circuit simulators, and I've always found SPICE brittle. Perfectly reasonable circuits just refuse to simulate, even when good initial conditions are set. Now it's possible I've been doing something wrong. But on the whole I find SPICE deeply frustrating.
The most robust simulator I've used so far has been a demo version of SiMetrix. HSPICE also does a bang-up job... when it doesn't segfault. Unfortunately, HSPICE is very un-free (and buggy-as-hell), and although SiMetrix does have a demo, it's artificially limited in the size of circuits it can simulate.
Thoughts?
I don't know if it's been mentioned already or not, but Multisim from National Instruments is a very good software. It's been used by the professors at the school where I work for as long as I can remember.
The game.
Qucs is very capable.
I've used Oregano on Ubuntu with not very many problems. My original reason for trying it out was that the academic demo for OrCAD wouldn't simulate circuits large enough for my projects at school. I've found that it duplicates most of the features we used in courses on OrCAD. Oregano
He's not exactly wrong, he's just deliberately misinterpreting the law to further his own agenda.
In this case, he's deliberately ignoring the part that says that such circumvention is legitimate for classroom purposes iff it's no longer readily available to acquire through legitimate channels, or only a small exerpt is actually required. In other words, you can photocopy a page from a textbook to use as a handout as an alternative to students forking over $150 for just that one page, or you can provide photocopies of books that are no longer in print, but you cannot hand out copies of software that people are still selling.
If you believe everything you read, you'd better not read. - Japanese proverb
I would say that it these students are in an engineering or science program, they must know how to use these tools, just like someone in a science/math program must know how to use Mathematica. That said, if the course in question is just a survey course, the specific tools may be less important than the exposure. For this there may be alternatives. For instance, an only breadboard simulator is available. Google circuit simulators and there may be more available. I am not sure what is available for CAD.
Here is another issue. If the class teaches the design techniques and not the application, the maybe students can use whatever they want. What distresses me is that we are no longer teaching the high level concepts, but the mouse based menu selection. Instead of teaching the concept of cut and paste, we are teaching the menu commands. The problem is when the menu changes, the students are SOL. For career training, this is fine, but I think we should be teaching at a higher level for college. For instance, in my college, we were just told to write a program to solve the problem or create a simulation. How we did it using the available tools were up to us.
"She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
LTSpice is quite good if you want to design power supplies with Linear Technology components. The component library has just about everything Linear makes, and not much else. So you need some additional libraries for other purposes. You'll probably have to put together a model library for your students, from various downloaded models.
I've had fun with LTSpice. As an exercise, I've been designing hardware to run a Model 15 Teletype (1930s technology) from a USB port. The usual power supply for the 60mA current loop required is a 120VDC supply through a 2K 10W resistor, to get enough punch to energize the 4H 55 ohm selector magnet of the Teletype fast enough. Most of the energy is wasted heating up the big resistor. But I've designed something that up-converts 4.5VDC to 120VDC using an IC intended for photoflash applications, charges up a capacitor when the input is low, and when the input transitions to high (MARK), dumps the energy into the magnet. The 120VDC is only needed for the first 1ms or so of each bit time, to push current through the big inductance. A 3.3V linear regulator then provides the sustain current to keep the magnet pulled in after the cap dumps. The whole thing needs 250mA at 4.5V, which can be taken from a USB port. Separately, a small CPU is needed to do the serial port stuff for the signal.