How are circuits which use complex ICs normally simulated? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)A decent library of component simulation, schematic and PCB layout?How is abstraction used in Analogue circuit design?LTSpice Level 2 Simulation CMOS followerWhat software can I use to simulate I.B.I.S Models?SPICE Programs worth learning forHow to get a CMOS transistor SPICE model?How do I determine mosfet capacitances (Cgs, Cds, Cgd, …) in LTSPICE?How to interpret LTspice simulation outputs for improving dual channel boost converter design using LTC3788Mextram Spice Model for TransistorSignificance of timing simulation for FPGA

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

How do I add random spotting to the same face in cycles?

Hiding Certain Lines on Table

Can the DM override racial traits?

He got a vote 80% that of Emmanuel Macron’s

Simulation of a banking system with an Account class in C++

Is every episode of "Where are my Pants?" identical?

Didn't get enough time to take a Coding Test - what to do now?

Working through the single responsibility principle (SRP) in Python when calls are expensive

Why does this iterative way of solving of equation work?

Can smartphones with the same camera sensor have different image quality?

Segmentation fault output is suppressed when piping stdin into a function. Why?

How can I define good in a religion that claims no moral authority?

Why is the object placed in the middle of the sentence here?

Why did all the guest students take carriages to the Yule Ball?

Who or what is the being for whom Being is a question for Heidegger?

How does ice melt when immersed in water?

Difference between "generating set" and free product?

What is special about square numbers here?

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Take groceries in checked luggage

Derivation tree not rendering

Did the new image of black hole confirm the general theory of relativity?

Road tyres vs "Street" tyres for charity ride on MTB Tandem



How are circuits which use complex ICs normally simulated?



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)A decent library of component simulation, schematic and PCB layout?How is abstraction used in Analogue circuit design?LTSpice Level 2 Simulation CMOS followerWhat software can I use to simulate I.B.I.S Models?SPICE Programs worth learning forHow to get a CMOS transistor SPICE model?How do I determine mosfet capacitances (Cgs, Cds, Cgd, …) in LTSPICE?How to interpret LTspice simulation outputs for improving dual channel boost converter design using LTC3788Mextram Spice Model for TransistorSignificance of timing simulation for FPGA



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








22












$begingroup$


I understand that it is common practice in electronic design to simulate a circuit in some spice program before building it. Sometimes a project requires the use of complex ICs, for instance an IC which performs charge control for a Li-Po battery or an IC which acts as PWM controller. Manufacturers generally don't make spice models of these sorts of complex components available. I would like to find out from any electronics engineers/designers what they do in this situation. How do you simulate such a circuit? Or is it more a case of working with the manufacturer designs provided in the application section of the datasheet and trusting that the designs will work. Maybe you abstract these ICs and simulate other portions of your circuit with the kind of output signal they would provide?



I would appreciate any real world practical examples from your experience in electronic design to illustrate how you approach simulation of circuits which make use of off the shelf ICs which do not have spice models available.










share|improve this question









$endgroup$











  • $begingroup$
    Charge control -> PWM doesn't sound that bad IMHO. I would try to build up the IC with ideal function blocks and look-up-tables (things which are fast to simulate) and see if that would get me close enough. If not, there are ways to combine VHDL and analog in the same simulation. How accurate do you need it?
    $endgroup$
    – winny
    Apr 9 at 11:09










  • $begingroup$
    There are mixed-signal simulators.
    $endgroup$
    – analogsystemsrf
    Apr 9 at 11:31

















22












$begingroup$


I understand that it is common practice in electronic design to simulate a circuit in some spice program before building it. Sometimes a project requires the use of complex ICs, for instance an IC which performs charge control for a Li-Po battery or an IC which acts as PWM controller. Manufacturers generally don't make spice models of these sorts of complex components available. I would like to find out from any electronics engineers/designers what they do in this situation. How do you simulate such a circuit? Or is it more a case of working with the manufacturer designs provided in the application section of the datasheet and trusting that the designs will work. Maybe you abstract these ICs and simulate other portions of your circuit with the kind of output signal they would provide?



I would appreciate any real world practical examples from your experience in electronic design to illustrate how you approach simulation of circuits which make use of off the shelf ICs which do not have spice models available.










share|improve this question









$endgroup$











  • $begingroup$
    Charge control -> PWM doesn't sound that bad IMHO. I would try to build up the IC with ideal function blocks and look-up-tables (things which are fast to simulate) and see if that would get me close enough. If not, there are ways to combine VHDL and analog in the same simulation. How accurate do you need it?
    $endgroup$
    – winny
    Apr 9 at 11:09










  • $begingroup$
    There are mixed-signal simulators.
    $endgroup$
    – analogsystemsrf
    Apr 9 at 11:31













22












22








22


4



$begingroup$


I understand that it is common practice in electronic design to simulate a circuit in some spice program before building it. Sometimes a project requires the use of complex ICs, for instance an IC which performs charge control for a Li-Po battery or an IC which acts as PWM controller. Manufacturers generally don't make spice models of these sorts of complex components available. I would like to find out from any electronics engineers/designers what they do in this situation. How do you simulate such a circuit? Or is it more a case of working with the manufacturer designs provided in the application section of the datasheet and trusting that the designs will work. Maybe you abstract these ICs and simulate other portions of your circuit with the kind of output signal they would provide?



I would appreciate any real world practical examples from your experience in electronic design to illustrate how you approach simulation of circuits which make use of off the shelf ICs which do not have spice models available.










share|improve this question









$endgroup$




I understand that it is common practice in electronic design to simulate a circuit in some spice program before building it. Sometimes a project requires the use of complex ICs, for instance an IC which performs charge control for a Li-Po battery or an IC which acts as PWM controller. Manufacturers generally don't make spice models of these sorts of complex components available. I would like to find out from any electronics engineers/designers what they do in this situation. How do you simulate such a circuit? Or is it more a case of working with the manufacturer designs provided in the application section of the datasheet and trusting that the designs will work. Maybe you abstract these ICs and simulate other portions of your circuit with the kind of output signal they would provide?



I would appreciate any real world practical examples from your experience in electronic design to illustrate how you approach simulation of circuits which make use of off the shelf ICs which do not have spice models available.







design simulation






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 9 at 6:36









BlargianBlargian

317211




317211











  • $begingroup$
    Charge control -> PWM doesn't sound that bad IMHO. I would try to build up the IC with ideal function blocks and look-up-tables (things which are fast to simulate) and see if that would get me close enough. If not, there are ways to combine VHDL and analog in the same simulation. How accurate do you need it?
    $endgroup$
    – winny
    Apr 9 at 11:09










  • $begingroup$
    There are mixed-signal simulators.
    $endgroup$
    – analogsystemsrf
    Apr 9 at 11:31
















  • $begingroup$
    Charge control -> PWM doesn't sound that bad IMHO. I would try to build up the IC with ideal function blocks and look-up-tables (things which are fast to simulate) and see if that would get me close enough. If not, there are ways to combine VHDL and analog in the same simulation. How accurate do you need it?
    $endgroup$
    – winny
    Apr 9 at 11:09










  • $begingroup$
    There are mixed-signal simulators.
    $endgroup$
    – analogsystemsrf
    Apr 9 at 11:31















$begingroup$
Charge control -> PWM doesn't sound that bad IMHO. I would try to build up the IC with ideal function blocks and look-up-tables (things which are fast to simulate) and see if that would get me close enough. If not, there are ways to combine VHDL and analog in the same simulation. How accurate do you need it?
$endgroup$
– winny
Apr 9 at 11:09




$begingroup$
Charge control -> PWM doesn't sound that bad IMHO. I would try to build up the IC with ideal function blocks and look-up-tables (things which are fast to simulate) and see if that would get me close enough. If not, there are ways to combine VHDL and analog in the same simulation. How accurate do you need it?
$endgroup$
– winny
Apr 9 at 11:09












$begingroup$
There are mixed-signal simulators.
$endgroup$
– analogsystemsrf
Apr 9 at 11:31




$begingroup$
There are mixed-signal simulators.
$endgroup$
– analogsystemsrf
Apr 9 at 11:31










5 Answers
5






active

oldest

votes


















30












$begingroup$

In my experience the widespread use of simulation of entire boards is mostly a myth outside of physics simulations in RF.



Simulation rules for IC design of course, because the prototyping costs are so insane, and for anything involving HDL design, but for general electronics, not so much.



Where the sim really helps is for things like filters and control loops where you really want to make sure the breakpoints and phase shifts are what you expected, but these are typically a small blob of a half dozen or so parts that you can simulate in isolation.



Attempts to simulate an entire board of reasonable complexity tend to fail either on numerical stability or just simply on run time, which explodes once you start adding reasonable parasitics.



Generally you simulate the bits you are not sure about, which is usually less then 10% of a design (The rest is 'data sheet engineering' of power supplies and IO stuff).






share|improve this answer









$endgroup$












  • $begingroup$
    Most actual real-world electronics designers prototype physical circuits on breadboards instead of simulate. I do know of a few exceptions though: Apple uses Verilog to design boards so simulation is almost built-in
    $endgroup$
    – slebetman
    Apr 10 at 9:35






  • 1




    $begingroup$
    Well I don't do breadboards (Nasty, unreliable, capacitive things), but yea dead bugging something over a bit of scrap copper clad as a groundplane is fairly normal around here. I have pre cut 0.4mm thick pcb traces in various widths (impedances) that I can just glue down as needed.
    $endgroup$
    – Dan Mills
    Apr 10 at 10:24


















15












$begingroup$

Although a lot of tools exist, the two primary forms of simulation are analog (SPICE, LTSPICE or Simetrix for example) and signal integrity (with something like Hyperlynx if you have very deep pockets).



There are power analysis tools, but I have seen some very odd results that do not apparently equate with physical reality.



There are mixed signal tools, although the digital side tends to be behavioural.



The problems we run up against are:



1 No simulation model exists for the part. If you have a complete datasheet you can make a decent stab at rolling your own or use a part that does have a model.
Rolling your own model for anything non-trivial is a very time consuming exercise.



Note that anything beyond a primitive (diode, transistor or simple passive) is a behavioural model that reflects device operation in the continuous state. See this application note for what is actually in such a model. Note that things like ferrites and chokes are very complex; although they can be modeled as a circuit (to achieve the response in the datasheet) it can be very time consuming.



2 Run time. I simulated the entire power path for an ejection seat to include the EEDs and thermal batteries as part of an independent safety review of the sequencer electronics. As the cables to the control and firing circuits were quite long, they were modeled as loosely coupled transformer windings. The circuit contained perhaps 40 elements and took (on a multi-core high end machine) over 30 hours to do a single transient run.



3 Some parts of the circuitry are not really suitable for simulation or should not need it. If I have a simple optocoupled isolation stage to toggle a control switch, it should not need simulation if the data sheets have been used properly (of course, that is a completely different subject as I have seen many designs where that was not the case).



4 In Signal Integrity simulation, most simulators do not take into account that controlled impedances are +/-10% at best, and will vary layer to layer. Such simulations are useful to see gross issues, but you can still get bitten by such details. In addition, most simulators cannot model the return path (although post layout simulations are getting better).



5 Virtually all simulation models are compromises to reflect the most common use case; I have had to modify models significantly to see corner case behaviour.



A full board (or often multi-board) system would be prohibitive in terms of time to actually run, so only the parts we are interested in checking are simulated.



Another issue is that for macro-models, start-up behaviour is undefined in many cases and no simulator in the world will help if start-up behaviour is critical (as it can be in flight safety critical equipment) - you simply have to measure it.



Simulations can certainly help designers, but they are not anywhere close to perfect and should not be relied on for actual circuit operation; they are indicative of circuit operation.






share|improve this answer









$endgroup$




















    11












    $begingroup$

    When using such ICs, I find myself often following the "cookbook" of the manufacturer. This should lead to a working circuit in most cases and often you have a circuit you can more or less integrate into your design as is.



    But in some cases, I also build a SPICE model for a part of the circuit with its external components. E.g. feedback loop frequency response in a voltage regulator, comparator inputs with internally switched current sources. In this cases I use ideal elements from the Spice library and add the specified characteristics from the datasheet to it, e.g. input leakage, capacitance, ESD diodes. For digital highspeed devices, the manufacturer provides often so called IBIS models, which model the electrical behaviour of the inputs/outputs. This allows for signal integrity analyses (which may include the PCB as a component).



    While generally it may be true that you often won't find more complex SPICE models available, I would like to mention Linear Technology/LTspice as an exception, they provide models for ICs like PWM controllers. Other manufacturers offer you web- or spreadsheet based design tools which allow you e.g. efficiency calculations.






    share|improve this answer











    $endgroup$




















      10












      $begingroup$


      I understand that it is common practice in electronic design to simulate a circuit in some spice program before building it.




      I haven't seen whole-board simulation being used except for small, simple circuits. Instead, the whole board is analyzed in parts, and most appropriate methods are used for each part. For example, a typical microcontroller based system might be analyzed like this:



      • Switching mode power supply would be simulated in SPICE

      • Battery charger based on IC would be designed based on datasheet and manual calculations

      • Microcontroller would be connected according to datasheet or manufacturer example schematic

      • Radio antenna would be simulated in specialized RF simulator, or designed according to specifications a manufacturer has already verified

      And any constraints between the parts would be verified manually, such as "microcontroller needs at least 200 mA supply" and "SMPS must handle 500 mA load".






      share|improve this answer









      $endgroup$




















        1












        $begingroup$

        In my limited experience, I have found that I do not need to simulate an entire system. Generally, there is only one small portion of the circuit that is hard to understand. And for that, the demo version of spice is usually enough. Likewise, in finite element modeling, there is only one small portion of the antenna structure that is hard to understand, so the demo version of FEMAP is sufficient.



        As for your particular simulation problem, spice has provisions for you to construct your own model of whatever device you like. Alas, this requires a somewhat deeper understanding to get good results, but it can be done. (I don't remember if the demo version of spice supports this.)






        share|improve this answer









        $endgroup$













          Your Answer






          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("schematics", function ()
          StackExchange.schematics.init();
          );
          , "cicuitlab");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "135"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f431534%2fhow-are-circuits-which-use-complex-ics-normally-simulated%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          30












          $begingroup$

          In my experience the widespread use of simulation of entire boards is mostly a myth outside of physics simulations in RF.



          Simulation rules for IC design of course, because the prototyping costs are so insane, and for anything involving HDL design, but for general electronics, not so much.



          Where the sim really helps is for things like filters and control loops where you really want to make sure the breakpoints and phase shifts are what you expected, but these are typically a small blob of a half dozen or so parts that you can simulate in isolation.



          Attempts to simulate an entire board of reasonable complexity tend to fail either on numerical stability or just simply on run time, which explodes once you start adding reasonable parasitics.



          Generally you simulate the bits you are not sure about, which is usually less then 10% of a design (The rest is 'data sheet engineering' of power supplies and IO stuff).






          share|improve this answer









          $endgroup$












          • $begingroup$
            Most actual real-world electronics designers prototype physical circuits on breadboards instead of simulate. I do know of a few exceptions though: Apple uses Verilog to design boards so simulation is almost built-in
            $endgroup$
            – slebetman
            Apr 10 at 9:35






          • 1




            $begingroup$
            Well I don't do breadboards (Nasty, unreliable, capacitive things), but yea dead bugging something over a bit of scrap copper clad as a groundplane is fairly normal around here. I have pre cut 0.4mm thick pcb traces in various widths (impedances) that I can just glue down as needed.
            $endgroup$
            – Dan Mills
            Apr 10 at 10:24















          30












          $begingroup$

          In my experience the widespread use of simulation of entire boards is mostly a myth outside of physics simulations in RF.



          Simulation rules for IC design of course, because the prototyping costs are so insane, and for anything involving HDL design, but for general electronics, not so much.



          Where the sim really helps is for things like filters and control loops where you really want to make sure the breakpoints and phase shifts are what you expected, but these are typically a small blob of a half dozen or so parts that you can simulate in isolation.



          Attempts to simulate an entire board of reasonable complexity tend to fail either on numerical stability or just simply on run time, which explodes once you start adding reasonable parasitics.



          Generally you simulate the bits you are not sure about, which is usually less then 10% of a design (The rest is 'data sheet engineering' of power supplies and IO stuff).






          share|improve this answer









          $endgroup$












          • $begingroup$
            Most actual real-world electronics designers prototype physical circuits on breadboards instead of simulate. I do know of a few exceptions though: Apple uses Verilog to design boards so simulation is almost built-in
            $endgroup$
            – slebetman
            Apr 10 at 9:35






          • 1




            $begingroup$
            Well I don't do breadboards (Nasty, unreliable, capacitive things), but yea dead bugging something over a bit of scrap copper clad as a groundplane is fairly normal around here. I have pre cut 0.4mm thick pcb traces in various widths (impedances) that I can just glue down as needed.
            $endgroup$
            – Dan Mills
            Apr 10 at 10:24













          30












          30








          30





          $begingroup$

          In my experience the widespread use of simulation of entire boards is mostly a myth outside of physics simulations in RF.



          Simulation rules for IC design of course, because the prototyping costs are so insane, and for anything involving HDL design, but for general electronics, not so much.



          Where the sim really helps is for things like filters and control loops where you really want to make sure the breakpoints and phase shifts are what you expected, but these are typically a small blob of a half dozen or so parts that you can simulate in isolation.



          Attempts to simulate an entire board of reasonable complexity tend to fail either on numerical stability or just simply on run time, which explodes once you start adding reasonable parasitics.



          Generally you simulate the bits you are not sure about, which is usually less then 10% of a design (The rest is 'data sheet engineering' of power supplies and IO stuff).






          share|improve this answer









          $endgroup$



          In my experience the widespread use of simulation of entire boards is mostly a myth outside of physics simulations in RF.



          Simulation rules for IC design of course, because the prototyping costs are so insane, and for anything involving HDL design, but for general electronics, not so much.



          Where the sim really helps is for things like filters and control loops where you really want to make sure the breakpoints and phase shifts are what you expected, but these are typically a small blob of a half dozen or so parts that you can simulate in isolation.



          Attempts to simulate an entire board of reasonable complexity tend to fail either on numerical stability or just simply on run time, which explodes once you start adding reasonable parasitics.



          Generally you simulate the bits you are not sure about, which is usually less then 10% of a design (The rest is 'data sheet engineering' of power supplies and IO stuff).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 9 at 12:24









          Dan MillsDan Mills

          12.2k11225




          12.2k11225











          • $begingroup$
            Most actual real-world electronics designers prototype physical circuits on breadboards instead of simulate. I do know of a few exceptions though: Apple uses Verilog to design boards so simulation is almost built-in
            $endgroup$
            – slebetman
            Apr 10 at 9:35






          • 1




            $begingroup$
            Well I don't do breadboards (Nasty, unreliable, capacitive things), but yea dead bugging something over a bit of scrap copper clad as a groundplane is fairly normal around here. I have pre cut 0.4mm thick pcb traces in various widths (impedances) that I can just glue down as needed.
            $endgroup$
            – Dan Mills
            Apr 10 at 10:24
















          • $begingroup$
            Most actual real-world electronics designers prototype physical circuits on breadboards instead of simulate. I do know of a few exceptions though: Apple uses Verilog to design boards so simulation is almost built-in
            $endgroup$
            – slebetman
            Apr 10 at 9:35






          • 1




            $begingroup$
            Well I don't do breadboards (Nasty, unreliable, capacitive things), but yea dead bugging something over a bit of scrap copper clad as a groundplane is fairly normal around here. I have pre cut 0.4mm thick pcb traces in various widths (impedances) that I can just glue down as needed.
            $endgroup$
            – Dan Mills
            Apr 10 at 10:24















          $begingroup$
          Most actual real-world electronics designers prototype physical circuits on breadboards instead of simulate. I do know of a few exceptions though: Apple uses Verilog to design boards so simulation is almost built-in
          $endgroup$
          – slebetman
          Apr 10 at 9:35




          $begingroup$
          Most actual real-world electronics designers prototype physical circuits on breadboards instead of simulate. I do know of a few exceptions though: Apple uses Verilog to design boards so simulation is almost built-in
          $endgroup$
          – slebetman
          Apr 10 at 9:35




          1




          1




          $begingroup$
          Well I don't do breadboards (Nasty, unreliable, capacitive things), but yea dead bugging something over a bit of scrap copper clad as a groundplane is fairly normal around here. I have pre cut 0.4mm thick pcb traces in various widths (impedances) that I can just glue down as needed.
          $endgroup$
          – Dan Mills
          Apr 10 at 10:24




          $begingroup$
          Well I don't do breadboards (Nasty, unreliable, capacitive things), but yea dead bugging something over a bit of scrap copper clad as a groundplane is fairly normal around here. I have pre cut 0.4mm thick pcb traces in various widths (impedances) that I can just glue down as needed.
          $endgroup$
          – Dan Mills
          Apr 10 at 10:24













          15












          $begingroup$

          Although a lot of tools exist, the two primary forms of simulation are analog (SPICE, LTSPICE or Simetrix for example) and signal integrity (with something like Hyperlynx if you have very deep pockets).



          There are power analysis tools, but I have seen some very odd results that do not apparently equate with physical reality.



          There are mixed signal tools, although the digital side tends to be behavioural.



          The problems we run up against are:



          1 No simulation model exists for the part. If you have a complete datasheet you can make a decent stab at rolling your own or use a part that does have a model.
          Rolling your own model for anything non-trivial is a very time consuming exercise.



          Note that anything beyond a primitive (diode, transistor or simple passive) is a behavioural model that reflects device operation in the continuous state. See this application note for what is actually in such a model. Note that things like ferrites and chokes are very complex; although they can be modeled as a circuit (to achieve the response in the datasheet) it can be very time consuming.



          2 Run time. I simulated the entire power path for an ejection seat to include the EEDs and thermal batteries as part of an independent safety review of the sequencer electronics. As the cables to the control and firing circuits were quite long, they were modeled as loosely coupled transformer windings. The circuit contained perhaps 40 elements and took (on a multi-core high end machine) over 30 hours to do a single transient run.



          3 Some parts of the circuitry are not really suitable for simulation or should not need it. If I have a simple optocoupled isolation stage to toggle a control switch, it should not need simulation if the data sheets have been used properly (of course, that is a completely different subject as I have seen many designs where that was not the case).



          4 In Signal Integrity simulation, most simulators do not take into account that controlled impedances are +/-10% at best, and will vary layer to layer. Such simulations are useful to see gross issues, but you can still get bitten by such details. In addition, most simulators cannot model the return path (although post layout simulations are getting better).



          5 Virtually all simulation models are compromises to reflect the most common use case; I have had to modify models significantly to see corner case behaviour.



          A full board (or often multi-board) system would be prohibitive in terms of time to actually run, so only the parts we are interested in checking are simulated.



          Another issue is that for macro-models, start-up behaviour is undefined in many cases and no simulator in the world will help if start-up behaviour is critical (as it can be in flight safety critical equipment) - you simply have to measure it.



          Simulations can certainly help designers, but they are not anywhere close to perfect and should not be relied on for actual circuit operation; they are indicative of circuit operation.






          share|improve this answer









          $endgroup$

















            15












            $begingroup$

            Although a lot of tools exist, the two primary forms of simulation are analog (SPICE, LTSPICE or Simetrix for example) and signal integrity (with something like Hyperlynx if you have very deep pockets).



            There are power analysis tools, but I have seen some very odd results that do not apparently equate with physical reality.



            There are mixed signal tools, although the digital side tends to be behavioural.



            The problems we run up against are:



            1 No simulation model exists for the part. If you have a complete datasheet you can make a decent stab at rolling your own or use a part that does have a model.
            Rolling your own model for anything non-trivial is a very time consuming exercise.



            Note that anything beyond a primitive (diode, transistor or simple passive) is a behavioural model that reflects device operation in the continuous state. See this application note for what is actually in such a model. Note that things like ferrites and chokes are very complex; although they can be modeled as a circuit (to achieve the response in the datasheet) it can be very time consuming.



            2 Run time. I simulated the entire power path for an ejection seat to include the EEDs and thermal batteries as part of an independent safety review of the sequencer electronics. As the cables to the control and firing circuits were quite long, they were modeled as loosely coupled transformer windings. The circuit contained perhaps 40 elements and took (on a multi-core high end machine) over 30 hours to do a single transient run.



            3 Some parts of the circuitry are not really suitable for simulation or should not need it. If I have a simple optocoupled isolation stage to toggle a control switch, it should not need simulation if the data sheets have been used properly (of course, that is a completely different subject as I have seen many designs where that was not the case).



            4 In Signal Integrity simulation, most simulators do not take into account that controlled impedances are +/-10% at best, and will vary layer to layer. Such simulations are useful to see gross issues, but you can still get bitten by such details. In addition, most simulators cannot model the return path (although post layout simulations are getting better).



            5 Virtually all simulation models are compromises to reflect the most common use case; I have had to modify models significantly to see corner case behaviour.



            A full board (or often multi-board) system would be prohibitive in terms of time to actually run, so only the parts we are interested in checking are simulated.



            Another issue is that for macro-models, start-up behaviour is undefined in many cases and no simulator in the world will help if start-up behaviour is critical (as it can be in flight safety critical equipment) - you simply have to measure it.



            Simulations can certainly help designers, but they are not anywhere close to perfect and should not be relied on for actual circuit operation; they are indicative of circuit operation.






            share|improve this answer









            $endgroup$















              15












              15








              15





              $begingroup$

              Although a lot of tools exist, the two primary forms of simulation are analog (SPICE, LTSPICE or Simetrix for example) and signal integrity (with something like Hyperlynx if you have very deep pockets).



              There are power analysis tools, but I have seen some very odd results that do not apparently equate with physical reality.



              There are mixed signal tools, although the digital side tends to be behavioural.



              The problems we run up against are:



              1 No simulation model exists for the part. If you have a complete datasheet you can make a decent stab at rolling your own or use a part that does have a model.
              Rolling your own model for anything non-trivial is a very time consuming exercise.



              Note that anything beyond a primitive (diode, transistor or simple passive) is a behavioural model that reflects device operation in the continuous state. See this application note for what is actually in such a model. Note that things like ferrites and chokes are very complex; although they can be modeled as a circuit (to achieve the response in the datasheet) it can be very time consuming.



              2 Run time. I simulated the entire power path for an ejection seat to include the EEDs and thermal batteries as part of an independent safety review of the sequencer electronics. As the cables to the control and firing circuits were quite long, they were modeled as loosely coupled transformer windings. The circuit contained perhaps 40 elements and took (on a multi-core high end machine) over 30 hours to do a single transient run.



              3 Some parts of the circuitry are not really suitable for simulation or should not need it. If I have a simple optocoupled isolation stage to toggle a control switch, it should not need simulation if the data sheets have been used properly (of course, that is a completely different subject as I have seen many designs where that was not the case).



              4 In Signal Integrity simulation, most simulators do not take into account that controlled impedances are +/-10% at best, and will vary layer to layer. Such simulations are useful to see gross issues, but you can still get bitten by such details. In addition, most simulators cannot model the return path (although post layout simulations are getting better).



              5 Virtually all simulation models are compromises to reflect the most common use case; I have had to modify models significantly to see corner case behaviour.



              A full board (or often multi-board) system would be prohibitive in terms of time to actually run, so only the parts we are interested in checking are simulated.



              Another issue is that for macro-models, start-up behaviour is undefined in many cases and no simulator in the world will help if start-up behaviour is critical (as it can be in flight safety critical equipment) - you simply have to measure it.



              Simulations can certainly help designers, but they are not anywhere close to perfect and should not be relied on for actual circuit operation; they are indicative of circuit operation.






              share|improve this answer









              $endgroup$



              Although a lot of tools exist, the two primary forms of simulation are analog (SPICE, LTSPICE or Simetrix for example) and signal integrity (with something like Hyperlynx if you have very deep pockets).



              There are power analysis tools, but I have seen some very odd results that do not apparently equate with physical reality.



              There are mixed signal tools, although the digital side tends to be behavioural.



              The problems we run up against are:



              1 No simulation model exists for the part. If you have a complete datasheet you can make a decent stab at rolling your own or use a part that does have a model.
              Rolling your own model for anything non-trivial is a very time consuming exercise.



              Note that anything beyond a primitive (diode, transistor or simple passive) is a behavioural model that reflects device operation in the continuous state. See this application note for what is actually in such a model. Note that things like ferrites and chokes are very complex; although they can be modeled as a circuit (to achieve the response in the datasheet) it can be very time consuming.



              2 Run time. I simulated the entire power path for an ejection seat to include the EEDs and thermal batteries as part of an independent safety review of the sequencer electronics. As the cables to the control and firing circuits were quite long, they were modeled as loosely coupled transformer windings. The circuit contained perhaps 40 elements and took (on a multi-core high end machine) over 30 hours to do a single transient run.



              3 Some parts of the circuitry are not really suitable for simulation or should not need it. If I have a simple optocoupled isolation stage to toggle a control switch, it should not need simulation if the data sheets have been used properly (of course, that is a completely different subject as I have seen many designs where that was not the case).



              4 In Signal Integrity simulation, most simulators do not take into account that controlled impedances are +/-10% at best, and will vary layer to layer. Such simulations are useful to see gross issues, but you can still get bitten by such details. In addition, most simulators cannot model the return path (although post layout simulations are getting better).



              5 Virtually all simulation models are compromises to reflect the most common use case; I have had to modify models significantly to see corner case behaviour.



              A full board (or often multi-board) system would be prohibitive in terms of time to actually run, so only the parts we are interested in checking are simulated.



              Another issue is that for macro-models, start-up behaviour is undefined in many cases and no simulator in the world will help if start-up behaviour is critical (as it can be in flight safety critical equipment) - you simply have to measure it.



              Simulations can certainly help designers, but they are not anywhere close to perfect and should not be relied on for actual circuit operation; they are indicative of circuit operation.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Apr 9 at 15:45









              Peter SmithPeter Smith

              15k11240




              15k11240





















                  11












                  $begingroup$

                  When using such ICs, I find myself often following the "cookbook" of the manufacturer. This should lead to a working circuit in most cases and often you have a circuit you can more or less integrate into your design as is.



                  But in some cases, I also build a SPICE model for a part of the circuit with its external components. E.g. feedback loop frequency response in a voltage regulator, comparator inputs with internally switched current sources. In this cases I use ideal elements from the Spice library and add the specified characteristics from the datasheet to it, e.g. input leakage, capacitance, ESD diodes. For digital highspeed devices, the manufacturer provides often so called IBIS models, which model the electrical behaviour of the inputs/outputs. This allows for signal integrity analyses (which may include the PCB as a component).



                  While generally it may be true that you often won't find more complex SPICE models available, I would like to mention Linear Technology/LTspice as an exception, they provide models for ICs like PWM controllers. Other manufacturers offer you web- or spreadsheet based design tools which allow you e.g. efficiency calculations.






                  share|improve this answer











                  $endgroup$

















                    11












                    $begingroup$

                    When using such ICs, I find myself often following the "cookbook" of the manufacturer. This should lead to a working circuit in most cases and often you have a circuit you can more or less integrate into your design as is.



                    But in some cases, I also build a SPICE model for a part of the circuit with its external components. E.g. feedback loop frequency response in a voltage regulator, comparator inputs with internally switched current sources. In this cases I use ideal elements from the Spice library and add the specified characteristics from the datasheet to it, e.g. input leakage, capacitance, ESD diodes. For digital highspeed devices, the manufacturer provides often so called IBIS models, which model the electrical behaviour of the inputs/outputs. This allows for signal integrity analyses (which may include the PCB as a component).



                    While generally it may be true that you often won't find more complex SPICE models available, I would like to mention Linear Technology/LTspice as an exception, they provide models for ICs like PWM controllers. Other manufacturers offer you web- or spreadsheet based design tools which allow you e.g. efficiency calculations.






                    share|improve this answer











                    $endgroup$















                      11












                      11








                      11





                      $begingroup$

                      When using such ICs, I find myself often following the "cookbook" of the manufacturer. This should lead to a working circuit in most cases and often you have a circuit you can more or less integrate into your design as is.



                      But in some cases, I also build a SPICE model for a part of the circuit with its external components. E.g. feedback loop frequency response in a voltage regulator, comparator inputs with internally switched current sources. In this cases I use ideal elements from the Spice library and add the specified characteristics from the datasheet to it, e.g. input leakage, capacitance, ESD diodes. For digital highspeed devices, the manufacturer provides often so called IBIS models, which model the electrical behaviour of the inputs/outputs. This allows for signal integrity analyses (which may include the PCB as a component).



                      While generally it may be true that you often won't find more complex SPICE models available, I would like to mention Linear Technology/LTspice as an exception, they provide models for ICs like PWM controllers. Other manufacturers offer you web- or spreadsheet based design tools which allow you e.g. efficiency calculations.






                      share|improve this answer











                      $endgroup$



                      When using such ICs, I find myself often following the "cookbook" of the manufacturer. This should lead to a working circuit in most cases and often you have a circuit you can more or less integrate into your design as is.



                      But in some cases, I also build a SPICE model for a part of the circuit with its external components. E.g. feedback loop frequency response in a voltage regulator, comparator inputs with internally switched current sources. In this cases I use ideal elements from the Spice library and add the specified characteristics from the datasheet to it, e.g. input leakage, capacitance, ESD diodes. For digital highspeed devices, the manufacturer provides often so called IBIS models, which model the electrical behaviour of the inputs/outputs. This allows for signal integrity analyses (which may include the PCB as a component).



                      While generally it may be true that you often won't find more complex SPICE models available, I would like to mention Linear Technology/LTspice as an exception, they provide models for ICs like PWM controllers. Other manufacturers offer you web- or spreadsheet based design tools which allow you e.g. efficiency calculations.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Apr 9 at 7:35

























                      answered Apr 9 at 7:25









                      Manu3l0usManu3l0us

                      1,259920




                      1,259920





















                          10












                          $begingroup$


                          I understand that it is common practice in electronic design to simulate a circuit in some spice program before building it.




                          I haven't seen whole-board simulation being used except for small, simple circuits. Instead, the whole board is analyzed in parts, and most appropriate methods are used for each part. For example, a typical microcontroller based system might be analyzed like this:



                          • Switching mode power supply would be simulated in SPICE

                          • Battery charger based on IC would be designed based on datasheet and manual calculations

                          • Microcontroller would be connected according to datasheet or manufacturer example schematic

                          • Radio antenna would be simulated in specialized RF simulator, or designed according to specifications a manufacturer has already verified

                          And any constraints between the parts would be verified manually, such as "microcontroller needs at least 200 mA supply" and "SMPS must handle 500 mA load".






                          share|improve this answer









                          $endgroup$

















                            10












                            $begingroup$


                            I understand that it is common practice in electronic design to simulate a circuit in some spice program before building it.




                            I haven't seen whole-board simulation being used except for small, simple circuits. Instead, the whole board is analyzed in parts, and most appropriate methods are used for each part. For example, a typical microcontroller based system might be analyzed like this:



                            • Switching mode power supply would be simulated in SPICE

                            • Battery charger based on IC would be designed based on datasheet and manual calculations

                            • Microcontroller would be connected according to datasheet or manufacturer example schematic

                            • Radio antenna would be simulated in specialized RF simulator, or designed according to specifications a manufacturer has already verified

                            And any constraints between the parts would be verified manually, such as "microcontroller needs at least 200 mA supply" and "SMPS must handle 500 mA load".






                            share|improve this answer









                            $endgroup$















                              10












                              10








                              10





                              $begingroup$


                              I understand that it is common practice in electronic design to simulate a circuit in some spice program before building it.




                              I haven't seen whole-board simulation being used except for small, simple circuits. Instead, the whole board is analyzed in parts, and most appropriate methods are used for each part. For example, a typical microcontroller based system might be analyzed like this:



                              • Switching mode power supply would be simulated in SPICE

                              • Battery charger based on IC would be designed based on datasheet and manual calculations

                              • Microcontroller would be connected according to datasheet or manufacturer example schematic

                              • Radio antenna would be simulated in specialized RF simulator, or designed according to specifications a manufacturer has already verified

                              And any constraints between the parts would be verified manually, such as "microcontroller needs at least 200 mA supply" and "SMPS must handle 500 mA load".






                              share|improve this answer









                              $endgroup$




                              I understand that it is common practice in electronic design to simulate a circuit in some spice program before building it.




                              I haven't seen whole-board simulation being used except for small, simple circuits. Instead, the whole board is analyzed in parts, and most appropriate methods are used for each part. For example, a typical microcontroller based system might be analyzed like this:



                              • Switching mode power supply would be simulated in SPICE

                              • Battery charger based on IC would be designed based on datasheet and manual calculations

                              • Microcontroller would be connected according to datasheet or manufacturer example schematic

                              • Radio antenna would be simulated in specialized RF simulator, or designed according to specifications a manufacturer has already verified

                              And any constraints between the parts would be verified manually, such as "microcontroller needs at least 200 mA supply" and "SMPS must handle 500 mA load".







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Apr 9 at 14:40









                              jpajpa

                              1,676712




                              1,676712





















                                  1












                                  $begingroup$

                                  In my limited experience, I have found that I do not need to simulate an entire system. Generally, there is only one small portion of the circuit that is hard to understand. And for that, the demo version of spice is usually enough. Likewise, in finite element modeling, there is only one small portion of the antenna structure that is hard to understand, so the demo version of FEMAP is sufficient.



                                  As for your particular simulation problem, spice has provisions for you to construct your own model of whatever device you like. Alas, this requires a somewhat deeper understanding to get good results, but it can be done. (I don't remember if the demo version of spice supports this.)






                                  share|improve this answer









                                  $endgroup$

















                                    1












                                    $begingroup$

                                    In my limited experience, I have found that I do not need to simulate an entire system. Generally, there is only one small portion of the circuit that is hard to understand. And for that, the demo version of spice is usually enough. Likewise, in finite element modeling, there is only one small portion of the antenna structure that is hard to understand, so the demo version of FEMAP is sufficient.



                                    As for your particular simulation problem, spice has provisions for you to construct your own model of whatever device you like. Alas, this requires a somewhat deeper understanding to get good results, but it can be done. (I don't remember if the demo version of spice supports this.)






                                    share|improve this answer









                                    $endgroup$















                                      1












                                      1








                                      1





                                      $begingroup$

                                      In my limited experience, I have found that I do not need to simulate an entire system. Generally, there is only one small portion of the circuit that is hard to understand. And for that, the demo version of spice is usually enough. Likewise, in finite element modeling, there is only one small portion of the antenna structure that is hard to understand, so the demo version of FEMAP is sufficient.



                                      As for your particular simulation problem, spice has provisions for you to construct your own model of whatever device you like. Alas, this requires a somewhat deeper understanding to get good results, but it can be done. (I don't remember if the demo version of spice supports this.)






                                      share|improve this answer









                                      $endgroup$



                                      In my limited experience, I have found that I do not need to simulate an entire system. Generally, there is only one small portion of the circuit that is hard to understand. And for that, the demo version of spice is usually enough. Likewise, in finite element modeling, there is only one small portion of the antenna structure that is hard to understand, so the demo version of FEMAP is sufficient.



                                      As for your particular simulation problem, spice has provisions for you to construct your own model of whatever device you like. Alas, this requires a somewhat deeper understanding to get good results, but it can be done. (I don't remember if the demo version of spice supports this.)







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered yesterday









                                      richard1941richard1941

                                      34715




                                      34715



























                                          draft saved

                                          draft discarded
















































                                          Thanks for contributing an answer to Electrical Engineering Stack Exchange!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid


                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.

                                          Use MathJax to format equations. MathJax reference.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function ()
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f431534%2fhow-are-circuits-which-use-complex-ics-normally-simulated%23new-answer', 'question_page');

                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                                          Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                                          Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020