Electronics-Related.com
Forums

Still waiting for a Ltspice expert answer.

Started by Jamie January 17, 2012
Simon S Aysdie wrote:

> On Jan 17, 7:32 pm, Jamie > <jamie_ka1lpa_not_valid_after_ka1l...@charter.net> wrote: > >> Does the wires assume real life situations to some >>degree or do we need to add stray inductance, Resistors >>and caps to act like a board? > > > No. > > >> I would of thought it would assume an average lay out of one >>persons worse nightmare... > > > One persons' nightmare is not "average." WTH? > > No, what you suggest -- "average" is whackadoodle. There is no > "average" layout. > > >> It just seems that I don't see many of the small defects the >>sim may show, when it is on a real board assembled using common >>practices. > > > There may be standards and usual practice for a variety of tasks -- > the more simple the more likely it can be handled by standards. > "Simple" is limited. The harder the job, the more diverse opinion > you'll get regarding what is a proper approach. > > >> Which leads me to my question, does the sim assume a worse case >>scenario or maybe the sim just over exaggerates now and then? > > > "Worst case" and "one persons' nightmare" doesn't mean "average" or > "common." If your wrong views were more coherent, then they would be > easier to pick apart! > > You have 1 pF of pad capacitance, and you think it may matter? then > put it in > You care about 0.7 nH of via inductance? then put it in > You care about the inductance of a long trace? then put it in > > The models are just *models* -- not the real thing. How good are > they? After all, that is all spice has to work with. Models are > never perfect -- what should spice assume as "average" about them? > Caveat emptor: you need to have some idea of what you're doing in the > first place. > > I think your question is really: Can I get SPICE to think for me? No, > you can't.
Well no problem, I'll just continue with how I've been doing it all these years. Calculator,years of foot notes, engin books, equipment use, CAD steps and then boards. I guess spice is good for concept circuit experimenting. Saves on paper. I am experimenting with a little tool app I am writing that monitors the clipboard of a BMP image arriving into it. This tool has FTP code where I can then hit the default button and send it some where with some local index to manage them. So far it looks ok. I was thinking to use it as an uplink tool to send schematics to your web site for the general public audience instead of dumping spice in the chat areas. Was thinking of supporting the WMF format too, it would save on network traffic. Jamie
Jim Thompson wrote:

> On Wed, 18 Jan 2012 10:57:36 -0800, qrk <SpamTrap@spam.net> wrote: > > >>On Tue, 17 Jan 2012 23:43:42 -0500, Jamie >><jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> wrote: >> >> >>>Jim Thompson wrote: >>> >>> >>>>On Tue, 17 Jan 2012 22:32:53 -0500, Jamie >>>><jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> wrote: >>>> >>>> >>>> >>>>>Does the wires assume real life situations to some >>>>>degree or do we need to add stray inductance, Resistors >>>>>and caps to act like a board? >>>>> >>>>> I would of thought it would assume an average lay out of one >>>>>persons worse nightmare and the actual real live circuit would >>>>>just work better, seeing that this designer would engineer proper >>>>>protocols on the board. >>>>> >>>>> It just seems that I don't see many of the small defects the >>>>>sim may show, when it is on a real board assembled using common >>>>>practices. >>>>> >>>>> Which leads me to my question, does the sim assume a worse case >>>>>scenario or maybe the sim just over exaggerates now and then? >>>>> >>>>>This would be LTspice I am referring to. I was thinking of looking at >>>>>Pspice to see how that goes. >>>>> >>>>>Jamie >>>>> >>>> >>>> >>>>Do the math... by hand... then use the sim to VERIFY! >>>> >>>> ...Jim Thompson >>> >>>Well that just sounds counter productive. >>> >>> Why waste my time using a sim if I am going to do it by hand in the >>>first place? >>> >>> You can haggle all you want Jim, It does not work on me.. >>> >>> I am not one of your goal post. You have JL for that :) >>> >>> Jamie >>> >> >>If you don't understand your circuit maths, how do you know if the >>simulation is close to reality???? Many times, you can do this in your >>head, but sometimes you need to write down a bunch of maths to >>understand issues you may run in to. As an excercise, try to >>temperature stabilize a simple one transistor amplifier without >>understanding the basic transistor equations. >> >>Do you blindly trust your models??? If you do, beware, they are often >>wrong. With experience, you will learn a healthy distrust in your >>simulator and test equipment. > > > I don't think Jamie is even a technician, but he _is_ successfully > becoming a reductive emulation of John Larkin ;-) > > ...Jim Thompson
Yeah, you are correct as usually Jim. I mean, are you ever wrong? Yes, I am just a back woods inbreed hill billy. Most of the time I run around with no clothes on, and when I do have them on, they are hand me downs, full of holes and have not seen what would represent laundry detergent or anything close to that. Yes, we can't even afford making our own soaps out of lard from road kill. etc.. I use a chinese abacus because I have found that I can actually exceed the math skills that requires more than 10 fingers. Yes, I still have all my fingers. I have not yet lost any of them while fighting with my sisters, in the sack. Nothing like having a hole down, especially when its your lady or boyfriend, what ever your party maybe. Jamie
qrk wrote:

> On Tue, 17 Jan 2012 23:43:42 -0500, Jamie > <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> wrote: > > >>Jim Thompson wrote: >> >> >>>On Tue, 17 Jan 2012 22:32:53 -0500, Jamie >>><jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> wrote: >>> >>> >>> >>>>Does the wires assume real life situations to some >>>>degree or do we need to add stray inductance, Resistors >>>>and caps to act like a board? >>>> >>>> I would of thought it would assume an average lay out of one >>>>persons worse nightmare and the actual real live circuit would >>>>just work better, seeing that this designer would engineer proper >>>>protocols on the board. >>>> >>>> It just seems that I don't see many of the small defects the >>>>sim may show, when it is on a real board assembled using common >>>>practices. >>>> >>>> Which leads me to my question, does the sim assume a worse case >>>>scenario or maybe the sim just over exaggerates now and then? >>>> >>>>This would be LTspice I am referring to. I was thinking of looking at >>>>Pspice to see how that goes. >>>> >>>>Jamie >>>> >>> >>> >>>Do the math... by hand... then use the sim to VERIFY! >>> >>> ...Jim Thompson >> >>Well that just sounds counter productive. >> >> Why waste my time using a sim if I am going to do it by hand in the >>first place? >> >> You can haggle all you want Jim, It does not work on me.. >> >> I am not one of your goal post. You have JL for that :) >> >> Jamie >> > > If you don't understand your circuit maths, how do you know if the > simulation is close to reality???? Many times, you can do this in your > head, but sometimes you need to write down a bunch of maths to > understand issues you may run in to. As an excercise, try to > temperature stabilize a simple one transistor amplifier without > understanding the basic transistor equations. > > Do you blindly trust your models??? If you do, beware, they are often > wrong. With experience, you will learn a healthy distrust in your > simulator and test equipment.
Fucking beginners What a gas! Jamie
On Wed, 18 Jan 2012 19:30:04 -0500, Jamie
<jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> wrote:

>Simon S Aysdie wrote: >
[snip]
>> >> The models are just *models* -- not the real thing. How good are >> they? After all, that is all spice has to work with. Models are >> never perfect -- what should spice assume as "average" about them? >> Caveat emptor: you need to have some idea of what you're doing in the >> first place. >> >> I think your question is really: Can I get SPICE to think for me? No, >> you can't. > > Well no problem, I'll just continue with how I've been doing it all >these years. Calculator,years of foot notes, engin books, equipment use, >CAD steps and then boards. > > I guess spice is good for concept circuit experimenting. Saves on >paper. >
[snip] Spice is an absolute necessity for chip design... (1) You can't breadboard much, if anything. (2) The expense of building a chip requires checks to make sure you don't make a dud. Of course, in the chip-making world, the models are extremely accurate. In the PCB-level world, unfortunately, whole-chip models are often not that wonderful... mostly because the chip manufacturers are so paranoid of copying that they devise behavioral models that are mostly created by cretins. Likewise, in discrete devices, particularly MOSFET's, they don't spend enough effort to create more than school-boy-level models. You're lucky if you get a Level=3 representation. In my chip-design world we're at BSIM3v3 or higher (Level=49+). ...Jim Thompson -- | James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
On 1/18/2012 6:48 PM, Jamie wrote:
> Jim Thompson wrote: > >> On Wed, 18 Jan 2012 10:57:36 -0800, qrk <SpamTrap@spam.net> wrote: >> >> >>> On Tue, 17 Jan 2012 23:43:42 -0500, Jamie >>> <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> wrote: >>> >>> >>>> Jim Thompson wrote: >>>> >>>> >>>>> On Tue, 17 Jan 2012 22:32:53 -0500, Jamie >>>>> <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> wrote: >>>>> >>>>> >>>>> >>>>>> Does the wires assume real life situations to some >>>>>> degree or do we need to add stray inductance, Resistors >>>>>> and caps to act like a board? >>>>>> >>>>>> I would of thought it would assume an average lay out of one >>>>>> persons worse nightmare and the actual real live circuit would >>>>>> just work better, seeing that this designer would engineer proper >>>>>> protocols on the board. >>>>>> >>>>>> It just seems that I don't see many of the small defects the >>>>>> sim may show, when it is on a real board assembled using common >>>>>> practices. >>>>>> >>>>>> Which leads me to my question, does the sim assume a worse case >>>>>> scenario or maybe the sim just over exaggerates now and then? >>>>>> >>>>>> This would be LTspice I am referring to. I was thinking of looking at >>>>>> Pspice to see how that goes. >>>>>> >>>>>> Jamie >>>>>> >>>>> >>>>> >>>>> Do the math... by hand... then use the sim to VERIFY! >>>>> >>>>> ...Jim Thompson >>>> >>>> Well that just sounds counter productive. >>>> >>>> Why waste my time using a sim if I am going to do it by hand in the >>>> first place? >>>> >>>> You can haggle all you want Jim, It does not work on me.. >>>> >>>> I am not one of your goal post. You have JL for that :) >>>> >>>> Jamie >>>> >>> >>> If you don't understand your circuit maths, how do you know if the >>> simulation is close to reality???? Many times, you can do this in your >>> head, but sometimes you need to write down a bunch of maths to >>> understand issues you may run in to. As an excercise, try to >>> temperature stabilize a simple one transistor amplifier without >>> understanding the basic transistor equations. >>> Do you blindly trust your models??? If you do, beware, they are often >>> wrong. With experience, you will learn a healthy distrust in your >>> simulator and test equipment. >> >> >> I don't think Jamie is even a technician, but he _is_ successfully >> becoming a reductive emulation of John Larkin ;-) >> >> ...Jim Thompson > > Yeah, you are correct as usually Jim. I mean, are you ever wrong? > > Yes, I am just a back woods inbreed hill billy. Most of the time I > run around with no clothes on, and when I do have them on, they are > hand me downs, full of holes and have not seen what would represent > laundry detergent or anything close to that. Yes, we can't even afford > making our own soaps out of lard from road kill. etc.. > > I use a chinese abacus because I have found that I can actually exceed > the math skills that requires more than 10 fingers. Yes, I still > have all my fingers. I have not yet lost any of them while fighting with > my sisters, in the sack. > > Nothing like having a hole down, especially when its your lady or > boyfriend, what ever your party maybe. > > Jamie
So your ladies and boyfriends have their holes down? I guess that would promote the inbreeding. Try to resist.
Robert Macy wrote:

> On Jan 17, 8:32 pm, Jamie > <jamie_ka1lpa_not_valid_after_ka1l...@charter.net> wrote: > >> Does the wires assume real life situations to some >>degree or do we need to add stray inductance, Resistors >>and caps to act like a board? >> >> I would of thought it would assume an average lay out of one >>persons worse nightmare and the actual real live circuit would >>just work better, seeing that this designer would engineer proper >>protocols on the board. >> >> It just seems that I don't see many of the small defects the >>sim may show, when it is on a real board assembled using common >>practices. >> >> Which leads me to my question, does the sim assume a worse case >>scenario or maybe the sim just over exaggerates now and then? >> >> This would be LTspice I am referring to. I was thinking of looking at >>Pspice to see how that goes. >> >> Jamie > > > Don't forget to add, "delay" All these simulators keep forgetting > about that pesky quirk of reality, "It takes time for a signal to go > from here to there." And, oh, yes, don't forget to add that even > peskier term, "radiation loss" That way when you simulate charging a > cap from another cap, you can reconcile the apparent loss of energy.
Yes, the sim is good for concept sketching but not very good for the refinements. I find the bench model+Test gear tells the story. Like I've said before, I never used a Sim until the last few months and only here basically for general chatter. Jamie
On 1/17/2012 9:32 PM, Jamie wrote:
> Does the wires assume real life situations to some > degree or do we need to add stray inductance, Resistors > and caps to act like a board? > > I would of thought it would assume an average lay out of one > persons worse nightmare and the actual real live circuit would > just work better, seeing that this designer would engineer proper > protocols on the board. > > It just seems that I don't see many of the small defects the > sim may show, when it is on a real board assembled using common > practices. > > Which leads me to my question, does the sim assume a worse case > scenario or maybe the sim just over exaggerates now and then? > > This would be LTspice I am referring to. I was thinking of looking at > Pspice to see how that goes. > > Jamie
I believe that this is one of the stupidest questions I've ever seen on this group. Got any more?
On Tue, 17 Jan 2012 23:23:30 -0600, Tim Wescott <tim@seemywebsite.com> wrote:

>On Tue, 17 Jan 2012 22:32:53 -0500, Jamie wrote: > >> Does the wires assume real life situations to some degree or do we need >> to add stray inductance, Resistors and caps to act like a board? >> >> I would of thought it would assume an average lay out of one >> persons worse nightmare and the actual real live circuit would just work >> better, seeing that this designer would engineer proper protocols on the >> board. >> >> It just seems that I don't see many of the small defects the >> sim may show, when it is on a real board assembled using common >> practices. >> >> Which leads me to my question, does the sim assume a worse case >> scenario or maybe the sim just over exaggerates now and then? >> >> This would be LTspice I am referring to. I was thinking of looking at >> Pspice to see how that goes. > >Wires in LTSpice (and PSpice, as far as I know), are made of Magic >Stuff. A node is a node is a node (in Spice-land) and has no voltage >variations across it.
That's true (with LTSpice) but all connections on a wire are not equal. You can measure the current in a wire at any place along the wire. LTSpice looks left and right from that point to get the current at that point. The topology matters.
>Jim's right, although I would state it differently: the simulation is >help for those who already know what's up; try something that the >simulation isn't prepared to give a correct answer for, and you'll get a >wrong answer.
Like transmission line speed > C. ;-)
>It _is_ handy for complex, nonlinear circuits (like switchers), but you >still have to pose questions that it can answer sensibly.
It's also handy for statistical or worst-case analysis on complex designs.
On 19 Jan., 02:09, Jamie
<jamie_ka1lpa_not_valid_after_ka1l...@charter.net> wrote:
> Robert Macy wrote: > > On Jan 17, 8:32 pm, Jamie > > <jamie_ka1lpa_not_valid_after_ka1l...@charter.net> wrote: > > >> =A0Does the wires assume real life situations to some > >>degree or do we need to add =A0stray inductance, Resistors > >>and caps to act like a board? > > >> =A0 I would of thought it would assume an average lay out of one > >>persons worse nightmare and the actual real live circuit would > >>just work better, seeing that this designer would engineer proper > >>protocols on the board. > > >> =A0 It just seems that I don't see many of the small defects the > >>sim may show, when it is on a real board assembled using common > >>practices. > > >> =A0 Which leads me to my question, does the sim assume a worse case > >>scenario or maybe the sim just over exaggerates now and then? > > >> =A0This would be LTspice I am referring to. I was thinking of looking =
at
> >>Pspice to see how that goes. > > >> =A0Jamie > > > Don't forget to add, "delay" All these simulators keep forgetting > > about that pesky quirk of reality, "It takes time for a signal to go > > from here to there." And, oh, yes, don't forget to add that even > > peskier term, "radiation loss" =A0That way when you simulate charging a > > cap from another cap, you can reconcile the apparent loss of energy. > > =A0 =A0Yes, the sim is good for concept sketching but not very good for t=
he
> refinements. I find the bench model+Test gear tells the story. >
It tells the story of the parts you have on your bench, sims can help you gain some confidence, if you have the right models, that it will also meet specs if the parts are at the limits of their specifications
> =A0 =A0 Like I've said before, I never used a Sim until the last few mont=
hs
> and only here basically for general chatter. > > =A0 Jamie
-Lasse
On Wed, 18 Jan 2012 19:48:50 -0500, Jamie
<jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> wrote:

>Jim Thompson wrote: > >> On Wed, 18 Jan 2012 10:57:36 -0800, qrk <SpamTrap@spam.net> wrote: >> >> >>>On Tue, 17 Jan 2012 23:43:42 -0500, Jamie >>><jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> wrote: >>> >>> >>>>Jim Thompson wrote: >>>> >>>> >>>>>On Tue, 17 Jan 2012 22:32:53 -0500, Jamie >>>>><jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> wrote: >>>>> >>>>> >>>>> >>>>>>Does the wires assume real life situations to some >>>>>>degree or do we need to add stray inductance, Resistors >>>>>>and caps to act like a board? >>>>>> >>>>>> I would of thought it would assume an average lay out of one >>>>>>persons worse nightmare and the actual real live circuit would >>>>>>just work better, seeing that this designer would engineer proper >>>>>>protocols on the board. >>>>>> >>>>>> It just seems that I don't see many of the small defects the >>>>>>sim may show, when it is on a real board assembled using common >>>>>>practices. >>>>>> >>>>>> Which leads me to my question, does the sim assume a worse case >>>>>>scenario or maybe the sim just over exaggerates now and then? >>>>>> >>>>>>This would be LTspice I am referring to. I was thinking of looking at >>>>>>Pspice to see how that goes. >>>>>> >>>>>>Jamie >>>>>> >>>>> >>>>> >>>>>Do the math... by hand... then use the sim to VERIFY! >>>>> >>>>> ...Jim Thompson >>>> >>>>Well that just sounds counter productive. >>>> >>>> Why waste my time using a sim if I am going to do it by hand in the >>>>first place? >>>> >>>> You can haggle all you want Jim, It does not work on me.. >>>> >>>> I am not one of your goal post. You have JL for that :) >>>> >>>> Jamie >>>> >>> >>>If you don't understand your circuit maths, how do you know if the >>>simulation is close to reality???? Many times, you can do this in your >>>head, but sometimes you need to write down a bunch of maths to >>>understand issues you may run in to. As an excercise, try to >>>temperature stabilize a simple one transistor amplifier without >>>understanding the basic transistor equations. >>> >>>Do you blindly trust your models??? If you do, beware, they are often >>>wrong. With experience, you will learn a healthy distrust in your >>>simulator and test equipment. >> >> >> I don't think Jamie is even a technician, but he _is_ successfully >> becoming a reductive emulation of John Larkin ;-) >> >> ...Jim Thompson > >Yeah, you are correct as usually Jim. I mean, are you ever wrong?
Often, and I say so... check my posts. I've tossed far more designs than I've kept... I have no problem deciding a design is going the wrong direction, or has too many patches... ask my clients... sometimes they get a little irritated when I restart a design, but they end up happy. (Ask qrk, a poster in this thread :-)
> > Yes, I am just a back woods inbreed hill billy.
You're no hillbilly. _I'm_ a real hillbilly, raised in WV ;-)
>Most of the time I >run around with no clothes on, and when I do have them on, they are >hand me downs, full of holes and have not seen what would represent >laundry detergent or anything close to that. Yes, we can't even afford >making our own soaps out of lard from road kill. etc..
I have used homemade soap, slopped the hogs and brought in the cows every evening for milking (with the aid of some very smart dogs :-), and helped my grandfather choose chickens for dinner by grabbing them by the head, spinning them a few turns then letting them run loose to bleed out. (It always fascinated my engineering mind trying to figure out how they managed to stay upright as they ran, with their head dangling to the side :-)
> > I use a chinese abacus because I have found that I can actually >exceed the math skills that requires more than 10 fingers. Yes, I still >have all my fingers. I have not yet lost any of them while fighting with >my sisters, in the sack. > > Nothing like having a hole down, especially when its your lady or >boyfriend, what ever your party maybe. > >Jamie >
"Hole" down? What's that? But, indeed, you have an attitude problem. Just because one of your amplifier abortions survived, doesn't make the architecture a good idea. I do wish you'd run the math rather than your mouth. ...Jim Thompson -- | James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.