Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

On simulators and why they are considered dangerous

  • Author grieblm
  • Create date
  • Updated
  • Blog entry read time 2 min read
I've been noticing a disturbing trend on site and perhaps this is due to so many junior members but it seems that there are a lot of problems with simulators. Either the simulators work properly and give good results which can't be duplicated in the real world or they give problems which prevent proper operation of relatively simple devices that could be easily tested in a real circuit.

I don't know if the fault is that universities focus a lot on simulators or whether this is because people are afraid of using the real hardware. Here are a few guidelines of when not to use simulators:

  1. You have the hardware readily available and it is fairly simple (i.e., a push-button, a 2-line LCD or a I2C memory). These cases actually occurred in several forums.
  2. Your application is mainly software and you have a debugger available. It is better to test software on real hardware as opposed to simulators unless you're cycle counting to optimise an algorithm. Be wary of simulators because they may not model the processor cycles properly until you have verified with real hardware the simulator predictions.
  3. If you have a lot of of interrupts or real-world I/O. Simulators usually are very poor in handling these elements.

Analog simulators (e.g., Spice) are thoroughly tested and have been proven over a lot of time. So simulating analog circuits with Spice is generally safe as long as the device model can be trusted. As always, ensure you verify the simulator device model if it gives strange results that defy common sense.

Comments

With computers it was inevitable there would be electronics simulators.

Some of us remember when there was no such thing. Nevetheless years ago I imagined how terrific it would be to make a computer do the mathematical calculations and then display circuit behavior graphically instead of as text.

Because as we can see, the electronics field, fascinating as it is, is really quite hard to figure out. In our dumbed-down society (societies) we see fewer and fewer electronics hobbyists.

So now we have simulators to assist understanding on the part of both novices and oldtimers. Of course there are pitfalls. As you point out, while a simulator can make it easier for us to understand electronics, it can also mislead.

Nevertheless you must recognize that simulators advance knowledge more than they squelch knowledge. If it does this then it's a good thing, not a dangerous thing.
 

Part and Inventory Search

Blog entry information

Author
grieblm
Read time
2 min read
Views
714
Comments
1
Last update

More entries in Uncategorized

Share this entry

Back
Top