Electronic Circuits and Projects Forum



Simulation (grumble grumble)

« First 1234 Last »
  1. #11
    crutschow crutschow is offline
    Quote Originally Posted by duffy View Post
    Even the best simulators start giving you nonsense after more than a handful of analog circuitry.
    Only if the analog circuitry is nonsense.
    0
    Zapper
    Curmudgeon Elektroniker

    --Inside every little problem is a big problem trying to get out.--

  2. #12
    Sceadwian Sceadwian is offline
    There is only one limitation to a simulator, the amount of effort spent inputting the boundaries of the simulation as they occur in the real world. It's all about the parasitic components that the user does not input.

    Real world CMOS level simulations are quiet accurate, they have to be to test out new designs, and any other parasitic issues previously unknown are worked out by empirical measurement from first silicon.
    0

  3. #13
    Winterstone Winterstone is offline
    Quote Originally Posted by Sceadwian View Post
    There is only one limitation to a simulator, the amount of effort spent inputting the boundaries of the simulation as they occur in the real world. It's all about the parasitic components that the user does not input.
    Yes, I agree - and I have a good example:
    Take the model for an opamp (ideal VCVS or real model) with positive resistive feedback.
    The operatiing point as well as an ac magnitude analysis will indicate stability with gain as expected.
    Only the phase response vs. frequency exhibits an unexpected behaviour. A TRAN analysis will reveal the error (dc instability).

    Question: Is this a simulation error? Who is guilty? I think, the simulation engine was correct. Without any environmental disturbing influence, without noise and without any power switch-on effect there would be a stable operating point with gain.
    This can even be verified by hand calculation.
    Fazit: In most (if not in all) cases the user has made an error if some unexpexted (or even false) results appear.
    0

  4. #14
    duffy duffy is offline
    Quote Originally Posted by crutschow View Post
    Only if the analog circuitry is nonsense.
    No, very straightforward designs start showing significant differences with empirical results after you add more than a couple of dozen analog components. Changing the update speed and adding digits to the precision settings doesn't improve it beyond a certain point - and that point is in the dozens, not hundreds, of analog components. If you had any experience with it, you would be painfully familiar with the problem.
    0
    Please respond to items in forum, not in private messages.

  5. #15
    Sceadwian Sceadwian is offline
    Again duffy, this isn't a fault of the simulator but of the person that creates the simulation, in order to get true to life simulation you'd have to add every parasitic that exists in a real world circuit, and there are a massive number of them and possible sources, everything from atomic events to a failure to simulate shotnoise/johnson noise etc.. etc..
    0

  6. #16
    duffy duffy is offline
    Quote Originally Posted by Sceadwian View Post
    There is only one limitation to a simulator, the amount of effort spent inputting the boundaries of the simulation as they occur in the real world. It's all about the parasitic components that the user does not input.
    Quote Originally Posted by Sceadwian
    Again duffy, this isn't a fault of the simulator but of the person that creates the simulation, in order to get true to life simulation you'd have to add every parasitic that exists in a real world circuit
    No, there's also "simulation speed" and "precision settings" (among others) that have a greater effect. Anyone who actually works with them on a regular basis, using more than a handful of components, becomes very familiar with the inherent weaknesses of simulators.
    0
    Last edited by duffy; 4th May 2012 at 09:05 PM.
    Please respond to items in forum, not in private messages.

  7. #17
    Roff Roff is offline
    Quote Originally Posted by duffy View Post
    No, there's also "simulation speed" and "precision settings" (among others) that have a greater effect. Anyone who actually works with them on a regular basis, using more than a handful of components, becomes very familiar with the inherent weaknesses of simulators.
    Can you post a .ASC file that illustrates your point?
    0
    Ron


  8. #18
    crutschow crutschow is offline
    Quote Originally Posted by duffy View Post
    No, very straightforward designs start showing significant differences with empirical results after you add more than a couple of dozen analog components. Changing the update speed and adding digits to the precision settings doesn't improve it beyond a certain point - and that point is in the dozens, not hundreds, of analog components. If you had any experience with it, you would be painfully familiar with the problem.
    I've had considerable experience with Spice simulators and have used one to simulate a full buck switching regulator, including the loop response, with good success, for example. What are these "significant differences" and "inherent weaknesses" you are referring to that you are so painfully familiar with?
    0
    Zapper
    Curmudgeon Elektroniker

    --Inside every little problem is a big problem trying to get out.--

  9. #19
    ericgibbs ericgibbs is online now
    Super Moderator
    hi duffy,

    If you are aware of any short comings in LTSpice, it would be helpful if you could post examples.

    E.
    0
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    "Nigels Asm tutorials:" www.winpicprog.co.uk/
    "Ian Rogers 'C' conversion of Nigels Asm tutorials:" http://www.electro-tech-online.com/c...torials-c.html

  10. #20
    duffy duffy is offline
    I can dig something up, but you would have to actually build a circuit with - like I said - more than a couple dozen analog components and compare signals between the two. After a certain level of complexity the simulator waveforms just don't match what's on the scope.

    crutschow - The analog part of your "buck regulator" reduces to what - a coil, a diode, a drive transistor, couple of caps and a voltage comparator? I've had no problem simulating coil drivers very much like that, and from an analog standpoint, also very simple.
    0
    Last edited by duffy; 9th May 2012 at 06:17 PM.
    Please respond to items in forum, not in private messages.

« First 1234 Last »
Tags
Similar Threads
Thread Starter Forum Replies Last Post
LM311 SIMULATION MODEL jfitzen Datasheets, Manuals or Parts 2 20th November 2003, 03:09 PM
PIC simulation demestav Microcontrollers 10 4th October 2003, 09:47 PM
breadboard simulation software xjackal General Electronics Chat 10 21st July 2003, 09:20 AM
Help --- Pspice Germainium Diode Simulation ((help)) BABYBASS210 General Electronics Chat 2 26th May 2003, 04:27 PM
Mixed Signal Circuit Simulation Software Nonx General Electronics Chat 4 13th March 2003, 01:05 AM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.11345 seconds      Memory: 7,763 KB      Queries: 16      Templates: 0