Author Topic: Circuit simulation software  (Read 1272 times)

0 Members and 1 Guest are viewing this topic.

Offline HobGoblynTopic starter

  • Supporter
  • ****
  • Posts: 573
  • Country: gb
Circuit simulation software
« on: March 28, 2020, 06:36:47 pm »
As a total beginner, I'm happy making breadboard circuits at the moment.

Over the course of me scouring the internet for advice,  I  see mentions of things like LT Spice or circuit labs.

Are these of any use to someone learning, or should I leave well alone for now?  (I'm thinking along the lines of trying things that are obviously going to blow up, things I wouldn't try in real life as I don't want to ruin my components) 

If they might be of use, the how long is a piece of string questions, which do you recommend?  Don't mind paying if it's reasonable  (a reasonable one off charge that never expires, I don't do subscriptions for software) .

Many thanks

 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11725
  • Country: us
    • Personal site
Re: Circuit simulation software
« Reply #1 on: March 28, 2020, 06:44:12 pm »
Simulators like this are usually not a good way to simulate extreme conditions. Things like LTSpice require a knowledge of how to interpret the results. Depending on simulation settings your results may be different, and you need to know how to distinguish things like oscillation of the circuit vs oscillations due to incorrect simulation parameters. And this is much harder if you don't have intuitive feel for how the circuit should perform in real life.

There is no way to simulate "blowing up", of course. You may get some extreme values of voltages and currents, but that's no super exciting.
« Last Edit: March 28, 2020, 07:12:42 pm by ataradov »
Alex
 
The following users thanked this post: HobGoblyn

Offline magic

  • Super Contributor
  • ***
  • Posts: 7184
  • Country: pl
Re: Circuit simulation software
« Reply #2 on: March 28, 2020, 07:11:01 pm »
It's hard to tell without knowing what are the things you would like to try, but there is little harm in trying unless you actually build something based on successful simulation and it blows up.

It's a substitute for manual calculations but not for understanding. If you get some result, you should review it and ask if it makes sense and try to understand why things behave the way they do instead of blindly trusting a single number or waveform spat out by the simulator. A great advantage of simulation is the ability to inspect every part of the circuit at any moment in time and get a very comprehensive picture of what happens (or what the simulator thinks would happen, anyway). Spice has quite sophisticated plotting capabilities.

Something to watch out for, besides aforementioned numeric artifacts, is parasitics. Things like resistance of cables, stray capacitance between components - if they aren't included on your schematic, they will not be simulated.

LTspice is free download. LT gave it away loaded with models of their products to encourage the use of those products.
« Last Edit: March 28, 2020, 07:14:14 pm by magic »
 
The following users thanked this post: HobGoblyn

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9933
  • Country: us
Re: Circuit simulation software
« Reply #3 on: March 28, 2020, 09:48:12 pm »
LTspice is pretty much the standard in free software and may very well be the most popular simulation software around - at any price.
TI's TINA software is also free but I don't have any experience with it.

You should definitely grow with LTspice while you are growing with breadboarding.  Even if you are just playing with series and parallel resistor combinations, it is worth the time to simulate.  Not to check your answers but just to get used to the simulator.  There's a bit of a learning curve.
 
The following users thanked this post: HobGoblyn

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19918
  • Country: gb
  • 0999
Re: Circuit simulation software
« Reply #4 on: March 30, 2020, 08:15:26 pm »
For visualising circuits, real-time simulators can be useful, although they're not as accurate as LTSpice. Here's an online simulator app which is fairly easy to use:
https://www.falstad.com/circuit/
 
The following users thanked this post: petert, HobGoblyn

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: Circuit simulation software
« Reply #5 on: March 30, 2020, 08:22:51 pm »
For visualising circuits, real-time simulators can be useful, although they're not as accurate as LTSpice. Here's an online simulator app which is fairly easy to use:
https://www.falstad.com/circuit/
It has its limits but it's much more intuitive than LTSpice. I'd love to see a simulator of LTSpice quality but Falstad convenience and real time capabilities.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19918
  • Country: gb
  • 0999
Re: Circuit simulation software
« Reply #6 on: March 30, 2020, 09:14:34 pm »
For visualising circuits, real-time simulators can be useful, although they're not as accurate as LTSpice. Here's an online simulator app which is fairly easy to use:
https://www.falstad.com/circuit/
It has its limits but it's much more intuitive than LTSpice. I'd love to see a simulator of LTSpice quality but Falstad convenience and real time capabilities.
Yes that's true. There is a trade off between accuracy and the speed required by real-time simulators. It's not possible to get both.
 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: Circuit simulation software
« Reply #7 on: March 30, 2020, 09:44:03 pm »
Yes that's true. There is a trade off between accuracy and the speed required by real-time simulators. It's not possible to get both.
Neither simulator makes use of the capabilities of modern multi core CPUs or GPUs. It seems that a properly written application that does could do a lot better. We really have unbelievable amounts of power available to us. A modern GPU has 5 times the TFLOPS of the number 1 supercomputer in 1999, the year LTSpice was initially released. While a 1 to 1 comparison is hard to make it illustrates a lot should be possible with fairly mundane hardware.
 

Offline HobGoblynTopic starter

  • Supporter
  • ****
  • Posts: 573
  • Country: gb
Re: Circuit simulation software
« Reply #8 on: March 30, 2020, 09:57:34 pm »
I’ve downloaded LTSpice and followed a couple of tutorials. Seems simple enough to use  for the basic stuff I’m currently doing, although I dare say I’m only scratching at the surface of the software.

I think I will stick with this as I grow my knowledge, but the falstad.com looks interesting and I will probably try some using that too.

Many thanks
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf