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
Single author papers against my advisor's will?
University's motivation for having tenure-track positions
Word for: a synonym with a positive connotation?
Is there a writing software that you can sort scenes like slides in PowerPoint?
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
One-dimensional Japanese puzzle
Do warforged have souls?
First use of “packing” as in carrying a gun
Visa regaring travelling European country
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
How did passengers keep warm on sail ships?
US Healthcare consultation for visitors
Why can't wing-mounted spoilers be used to steepen approaches?
Can I visit the Trinity College (Cambridge) library and see some of their rare books
How do spell lists change if the party levels up without taking a long rest?
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
Can each chord in a progression create its own key?
Button changing its text & action. Good or terrible?
Is 'stolen' appropriate word?
Loose spokes after only a few rides
How to handle characters who are more educated than the author?
Identify 80s or 90s comics with ripped creatures (not dwarves)
ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
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;
$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.
design simulation
$endgroup$
add a comment |
$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.
design simulation
$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
add a comment |
$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.
design simulation
$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
design simulation
asked Apr 9 at 6:36
BlargianBlargian
313211
313211
$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
add a comment |
$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
add a comment |
5 Answers
5
active
oldest
votes
$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).
$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
2 days ago
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
2 days ago
add a comment |
$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.
$endgroup$
add a comment |
$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.
$endgroup$
add a comment |
$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".
$endgroup$
add a comment |
$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.)
$endgroup$
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
$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).
$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
2 days ago
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
2 days ago
add a comment |
$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).
$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
2 days ago
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
2 days ago
add a comment |
$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).
$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).
answered Apr 9 at 12:24
Dan MillsDan Mills
12.1k11225
12.1k11225
$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
2 days ago
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
2 days ago
add a comment |
$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
2 days ago
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
2 days ago
$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
2 days ago
$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
2 days ago
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
2 days ago
$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
2 days ago
add a comment |
$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.
$endgroup$
add a comment |
$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.
$endgroup$
add a comment |
$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.
$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.
answered Apr 9 at 15:45
Peter SmithPeter Smith
14.9k11240
14.9k11240
add a comment |
add a comment |
$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.
$endgroup$
add a comment |
$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.
$endgroup$
add a comment |
$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.
$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.
edited Apr 9 at 7:35
answered Apr 9 at 7:25
Manu3l0usManu3l0us
1,249920
1,249920
add a comment |
add a comment |
$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".
$endgroup$
add a comment |
$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".
$endgroup$
add a comment |
$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".
$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".
answered Apr 9 at 14:40
jpajpa
1,666711
1,666711
add a comment |
add a comment |
$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.)
$endgroup$
add a comment |
$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.)
$endgroup$
add a comment |
$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.)
$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.)
answered yesterday
richard1941richard1941
33715
33715
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
$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