![]() Note that the GND node must ALWAYS be node 0 or you will get errors like "Warning: singular matrix", "Warning: source stepping failed", "Warning: gmin stepping failed", "No convergence in DC analysis", and "failed to converge". Here's the circuit with the nodes labeled to make it easier to enter into a SPICE file. Let's start with a much simpler circuit we'll ditch both transistors and represent the motor as a simple resistor, tying it directly to 9V and GND. The description file lists each of the components, and what nodes the components are connected to. Then I have to convert that into a SPICE circuit description file. First I have to draw the old motor circuit. I found the following websites helpful, too: The MacSpice website has good documentation: I want to use modeling to analyze the existing circuit and to help me come up with a better design.īut first, let's talk about SPICE. Revisiting Pokey's Fan Motor Circuit: You may recall the crappy, last minute, motor driver circuit I threw together for Pokey, my firefighting robot. The tool remains text based, but with some menu wrappers for a few functions. You can model numerous devices and print and plot the results of the simulation. ![]() It can do transient analysis, steady-state, AC small signal analysis, DC transfer function analysis. SPICE, Simulation Program with Integrated-Circuit Emphasis, has been around for 30+ years and is still an industry standard for modeling circuits to see how they'll behave. The last couple days I've been learning how to use SPICE circuit simulation software and thought I'd share what I've learned.
0 Comments
Leave a Reply. |