Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Spice Sucks?

  1. Nov 7, 2006 #1
    I am using hspice right now and I have to say that it is not the most intuitive thing in the world. What other softwares like spice are out there? Which ones do you guys use for simulating a circuit that you made?
  2. jcsd
  3. Nov 7, 2006 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    With power comes complexity.

    If you're using Windows, I like Linear Technologies' LTSPICE (SwitcherCAD III). It's free, and is about the most intuitive simulator around, assuming you understand Spice syntax and analysis directives.

    - Warren
  4. Nov 7, 2006 #3
    Take the time to know HSPICE. It's very useful. With AvanWaves, it's a very nice program.
  5. Nov 8, 2006 #4
    What specifically do you not like about hspice?
  6. Nov 8, 2006 #5
    The fact that you can't drag and drop the circuit elements in some sort of a virtual breadboard. Also, the that you have to use hspice in combination with AWaves or Csope. It is just too much of a hassel. Why can't they just integrate everything into one?
  7. Nov 11, 2006 #6
    guys, what do you think about PSpice?
  8. Nov 11, 2006 #7


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    PSpice is not really used by anyone in industry, but it's a good for students. It's a little hard to use, though.

    - Warren
  9. Nov 11, 2006 #8
    Warren, thank you, I am using it in school and you are right it's not easy to use it.
  10. Nov 12, 2006 #9
    I concur. :)
  11. Nov 13, 2006 #10
    There's also Electronics Workbench if you'd like an alternative, albeit not as advanced (windows only I believe).
    Last edited: Nov 13, 2006
  12. Nov 13, 2006 #11
    hspice error messages are not too intuitive. Also, in some (entirely valid) analog circuits with feedback, it can have convergence problems, and even if the equations do converge, you can get weird things like signals rising _before_ its trigger comes along. :eek:

    (this is about cadence hspice - the recommendation by cadence is to use spectre, which isn't really helpful :/ )
  13. Nov 15, 2006 #12


    User Avatar

    Wow! What entirely valid analog circuit failed to converge for every timestep?

    I am really curious to know.

    It must not have been a linear circuit. I have been thinking and the only thing I can come up with is that the simulation started with an invalid initial condition (a la bias point problems), or some feedback loop that is so fast, or some component value that is so extreme, the precision of the native floating point type of the machine matters.

    I do occasionally have problems with letting the computer figure out dc bias points because things like leakeage into a cap confuse it, but just using an .ic statement fixes that.

    If the problem was some esoteric math issue with the model you were using couldn't you just map out that part to a thevinin or norton equivalent via a dependant source statement? Or to state the same thing another way, just substitute in the equations that you mentioned that do converge, and presumably give the desired accuracy, via a dependant source statement. Kinda cheating, sure, but it does fix the problem.

    Did you mock up the circuit on a bench? Are you sure there wasn't a positive feedback loop or resonance hiding in there?
    Last edited: Nov 15, 2006
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook