Electronics-Related.com
Forums

LTspice is a difficult tool to make useful

Started by Ricketty C May 28, 2020
On Thu, 28 May 2020 23:04:48 +0200, Helmut Sennewald
<helmutsennewald@t-online.de> wrote:

>Am 28.05.2020 um 22:15 schrieb Ricketty C: > > Perhaps I am missing something. The part I am using is a comparator. > > Are you suggesting I should make my own comparator from the opamp >model? > >Hello Rick, > >I often use the comparator "diffschmitt" from [Digital]. >Right-mouse-click on it in the schematic and enter some parameters in >the attribute "SpiceLine". > >SpiceLine Vhigh=5 Vt=0 Vh=0.1m > >If you need an open collector output, then add a resistor between the >output of the diffschmitt and the base of a default NPN-Transistor or a >NMOS-transistor. If you use a NMOS-transistor, you have to add a model >line with a useful parameter Kp, because the value of KP of the >default-NMOS is too small in most cases. > >Best regards, >Helmut
I often use a behavioral voltage source with a tanh() as a comparator. -- John Larkin Highland Technology, Inc picosecond timing precision measurement jlarkin att highlandtechnology dott com http://www.highlandtechnology.com
On 29/5/20 2:24 am, jlarkin@highlandsniptechnology.com wrote:
> On Thu, 28 May 2020 18:09:06 +0200, olaf <olaf@criseis.ruhr.de> wrote: > >> Ricketty C <gnuarm.deletethisbit@gmail.com> wrote: >> >>> Bleech! Every time I try to use LTspice it's like Lucy snagging the >>> football away from Charlie Brown. And just like Charlie, I keep >>> coming back. >> >> Of course, that is true. But LT-Spice is a tool written by an enginer >> for other enginers and we all have a personality like Lucy. > > There's a video interview with Mike, the inventor of LT Spice, where > he says that the real value of a circuit simulator is to "cultivate > your intuition." > > https://www.youtube.com/watch?v=x6TrbD7-IwU > > I think he is a bit wrong about some other points, but the instinct > training thing is very real. > > I have got people started using LT Spice in literally 5 minutes. > >> >> If it was written by salesdruids it would look nice and cool without >> any good functionality. I this case you are the football on the ground. >> >> It is an interesting question how it will change now with >> Analog. Perhaps it is a good idea to save a working copy for future >> use.... > > I hope Analog doesn't wreck it.
The best and most effective thing they could do with LTSpice is to open-source it. So many crazy little quirks would get fixed very quickly. I'm surprised no-one had mentioned SuperSpice, which Kevin open-sourced last year or so. Make it read LTSpice files and you'd have something really nice. CH
On 5/28/2020 12:24 PM, jlarkin@highlandsniptechnology.com wrote:
> On Thu, 28 May 2020 18:09:06 +0200, olaf <olaf@criseis.ruhr.de> wrote: > >> Ricketty C <gnuarm.deletethisbit@gmail.com> wrote: >> >>> Bleech! Every time I try to use LTspice it's like Lucy snagging the >>> football away from Charlie Brown. And just like Charlie, I keep >>> coming back. >> >> Of course, that is true. But LT-Spice is a tool written by an enginer >> for other enginers and we all have a personality like Lucy. > > There's a video interview with Mike, the inventor of LT Spice, where > he says that the real value of a circuit simulator is to "cultivate > your intuition." > > https://www.youtube.com/watch?v=x6TrbD7-IwU > > I think he is a bit wrong about some other points, but the instinct > training thing is very real. > > I have got people started using LT Spice in literally 5 minutes. > >> >> If it was written by salesdruids it would look nice and cool without >> any good functionality. I this case you are the football on the ground. >> >> It is an interesting question how it will change now with >> Analog. Perhaps it is a good idea to save a working copy for future >> use.... > > I hope Analog doesn't wreck it. > > >
Aside from a few niggles LTSpice is pretty much fine the way it is. It offer a lot of flexibility and it's fast. Importing 3rd party models is a bit clunky but not egregiously so. If you have a PSpice model for anything you more or less have an LTSpice model. for a free product that's mostly aimed at Analog/LT's products that's pretty nice. They could have been dicks and locked out everything that's not a discrete or their own products thankfully they didn't do that. I'll try not to give them any ideas.
On Thursday, May 28, 2020 at 8:41:22 PM UTC-4, bitrex wrote:
> On 5/28/2020 12:24 PM, jlarkin@highlandsniptechnology.com wrote: > > On Thu, 28 May 2020 18:09:06 +0200, olaf <olaf@criseis.ruhr.de> wrote: > > > >> Ricketty C <gnuarm.deletethisbit@gmail.com> wrote: > >> > >>> Bleech! Every time I try to use LTspice it's like Lucy snagging the > >>> football away from Charlie Brown. And just like Charlie, I keep > >>> coming back. > >> > >> Of course, that is true. But LT-Spice is a tool written by an enginer > >> for other enginers and we all have a personality like Lucy. > > > > There's a video interview with Mike, the inventor of LT Spice, where > > he says that the real value of a circuit simulator is to "cultivate > > your intuition." > > > > https://www.youtube.com/watch?v=x6TrbD7-IwU > > > > I think he is a bit wrong about some other points, but the instinct > > training thing is very real. > > > > I have got people started using LT Spice in literally 5 minutes. > > > >> > >> If it was written by salesdruids it would look nice and cool without > >> any good functionality. I this case you are the football on the ground. > >> > >> It is an interesting question how it will change now with > >> Analog. Perhaps it is a good idea to save a working copy for future > >> use.... > > > > I hope Analog doesn't wreck it. > > > > > > > > Aside from a few niggles LTSpice is pretty much fine the way it is. It > offer a lot of flexibility and it's fast. > > Importing 3rd party models is a bit clunky but not egregiously so. If > you have a PSpice model for anything you more or less have an LTSpice > model. for a free product that's mostly aimed at Analog/LT's products > that's pretty nice. They could have been dicks and locked out everything > that's not a discrete or their own products thankfully they didn't do that. > > I'll try not to give them any ideas.
If they did that they would loose all popularity. Who cares about yet another proprietary simulation tool? I could see ADI saying they don't want to support it anymore.. no, not even that. The fact that you can count on their models working with their simulator is an incentive to use their parts. Even if it is a small incentive, it likely pays dividends since the cost of maintaining it is not large. They also need something for internal use. -- Rick C. +- Get 1,000 miles of free Supercharging +- Tesla referral code - https://ts.la/richard11209
On 5/28/2020 8:48 PM, Ricketty C wrote:
> On Thursday, May 28, 2020 at 8:41:22 PM UTC-4, bitrex wrote: >> On 5/28/2020 12:24 PM, jlarkin@highlandsniptechnology.com wrote: >>> On Thu, 28 May 2020 18:09:06 +0200, olaf <olaf@criseis.ruhr.de> wrote: >>> >>>> Ricketty C <gnuarm.deletethisbit@gmail.com> wrote: >>>> >>>>> Bleech! Every time I try to use LTspice it's like Lucy snagging the >>>>> football away from Charlie Brown. And just like Charlie, I keep >>>>> coming back. >>>> >>>> Of course, that is true. But LT-Spice is a tool written by an enginer >>>> for other enginers and we all have a personality like Lucy. >>> >>> There's a video interview with Mike, the inventor of LT Spice, where >>> he says that the real value of a circuit simulator is to "cultivate >>> your intuition." >>> >>> https://www.youtube.com/watch?v=x6TrbD7-IwU >>> >>> I think he is a bit wrong about some other points, but the instinct >>> training thing is very real. >>> >>> I have got people started using LT Spice in literally 5 minutes. >>> >>>> >>>> If it was written by salesdruids it would look nice and cool without >>>> any good functionality. I this case you are the football on the ground. >>>> >>>> It is an interesting question how it will change now with >>>> Analog. Perhaps it is a good idea to save a working copy for future >>>> use.... >>> >>> I hope Analog doesn't wreck it. >>> >>> >>> >> >> Aside from a few niggles LTSpice is pretty much fine the way it is. It >> offer a lot of flexibility and it's fast. >> >> Importing 3rd party models is a bit clunky but not egregiously so. If >> you have a PSpice model for anything you more or less have an LTSpice >> model. for a free product that's mostly aimed at Analog/LT's products >> that's pretty nice. They could have been dicks and locked out everything >> that's not a discrete or their own products thankfully they didn't do that. >> >> I'll try not to give them any ideas. > > If they did that they would loose all popularity. Who cares about yet another proprietary simulation tool? I could see ADI saying they don't want to support it anymore.. no, not even that. The fact that you can count on their models working with their simulator is an incentive to use their parts. Even if it is a small incentive, it likely pays dividends since the cost of maintaining it is not large. They also need something for internal use. >
Yeah you'd think that but my impression of ADI is they are a top-down stogy old-fashioned New England-type of technology company. They're like the IBM of chip-makers. They have their solids in the aerospace/defense/medical sector. If that's not you and you're not looking at quantities of a mil they aren't much interested. How much do they care if some simulation tool they inherited is "popular"
On Thursday, May 28, 2020 at 9:13:06 PM UTC-4, bitrex wrote:
> On 5/28/2020 8:48 PM, Ricketty C wrote: > > On Thursday, May 28, 2020 at 8:41:22 PM UTC-4, bitrex wrote: > >> On 5/28/2020 12:24 PM, jlarkin@highlandsniptechnology.com wrote: > >>> On Thu, 28 May 2020 18:09:06 +0200, olaf <olaf@criseis.ruhr.de> wrote: > >>> > >>>> Ricketty C <gnuarm.deletethisbit@gmail.com> wrote: > >>>> > >>>>> Bleech! Every time I try to use LTspice it's like Lucy snagging the > >>>>> football away from Charlie Brown. And just like Charlie, I keep > >>>>> coming back. > >>>> > >>>> Of course, that is true. But LT-Spice is a tool written by an enginer > >>>> for other enginers and we all have a personality like Lucy. > >>> > >>> There's a video interview with Mike, the inventor of LT Spice, where > >>> he says that the real value of a circuit simulator is to "cultivate > >>> your intuition." > >>> > >>> https://www.youtube.com/watch?v=x6TrbD7-IwU > >>> > >>> I think he is a bit wrong about some other points, but the instinct > >>> training thing is very real. > >>> > >>> I have got people started using LT Spice in literally 5 minutes. > >>> > >>>> > >>>> If it was written by salesdruids it would look nice and cool without > >>>> any good functionality. I this case you are the football on the ground. > >>>> > >>>> It is an interesting question how it will change now with > >>>> Analog. Perhaps it is a good idea to save a working copy for future > >>>> use.... > >>> > >>> I hope Analog doesn't wreck it. > >>> > >>> > >>> > >> > >> Aside from a few niggles LTSpice is pretty much fine the way it is. It > >> offer a lot of flexibility and it's fast. > >> > >> Importing 3rd party models is a bit clunky but not egregiously so. If > >> you have a PSpice model for anything you more or less have an LTSpice > >> model. for a free product that's mostly aimed at Analog/LT's products > >> that's pretty nice. They could have been dicks and locked out everything > >> that's not a discrete or their own products thankfully they didn't do that. > >> > >> I'll try not to give them any ideas. > > > > If they did that they would loose all popularity. Who cares about yet another proprietary simulation tool? I could see ADI saying they don't want to support it anymore.. no, not even that. The fact that you can count on their models working with their simulator is an incentive to use their parts. Even if it is a small incentive, it likely pays dividends since the cost of maintaining it is not large. They also need something for internal use. > > > > Yeah you'd think that but my impression of ADI is they are a top-down > stogy old-fashioned New England-type of technology company. They're like > the IBM of chip-makers. They have their solids in the > aerospace/defense/medical sector. If that's not you and you're not > looking at quantities of a mil they aren't much interested. How much do > they care if some simulation tool they inherited is "popular"
I thought I made it clear. It sells parts. -- Rick C. ++ Get 1,000 miles of free Supercharging ++ Tesla referral code - https://ts.la/richard11209
On 5/28/2020 9:13 PM, bitrex wrote:
> On 5/28/2020 8:48 PM, Ricketty C wrote: >> On Thursday, May 28, 2020 at 8:41:22 PM UTC-4, bitrex wrote: >>> On 5/28/2020 12:24 PM, jlarkin@highlandsniptechnology.com wrote: >>>> On Thu, 28 May 2020 18:09:06 +0200, olaf <olaf@criseis.ruhr.de> wrote: >>>> >>>>> Ricketty C <gnuarm.deletethisbit@gmail.com> wrote: >>>>> >>>>>> Bleech!&nbsp; Every time I try to use LTspice it's like Lucy snagging the >>>>>> football away from Charlie Brown.&nbsp; And just like Charlie, I keep >>>>>> coming back. >>>>> >>>>> Of course, that is true. But LT-Spice is a tool written by an enginer >>>>> for other enginers and we all have a personality like Lucy. >>>> >>>> There's a video interview with Mike, the inventor of LT Spice, where >>>> he says that the real value of a circuit simulator is to "cultivate >>>> your intuition." >>>> >>>> https://www.youtube.com/watch?v=x6TrbD7-IwU >>>> >>>> I think he is a bit wrong about some other points, but the instinct >>>> training thing is very real. >>>> >>>> I have got people started using LT Spice in literally 5 minutes. >>>> >>>>> >>>>> If it was written by salesdruids it would look nice and cool without >>>>> any good functionality. I this case you are the football on the >>>>> ground. >>>>> >>>>> It is an interesting question how it will change now with >>>>> Analog. Perhaps it is a good idea to save a working copy for future >>>>> use.... >>>> >>>> I hope Analog doesn't wreck it. >>>> >>>> >>>> >>> >>> Aside from a few niggles LTSpice is pretty much fine the way it is. It >>> offer a lot of flexibility and it's fast. >>> >>> Importing 3rd party models is a bit clunky but not egregiously so. If >>> you have a PSpice model for anything you more or less have an LTSpice >>> model. for a free product that's mostly aimed at Analog/LT's products >>> that's pretty nice. They could have been dicks and locked out everything >>> that's not a discrete or their own products thankfully they didn't do >>> that. >>> >>> I'll try not to give them any ideas. >> >> If they did that they would loose all popularity.&nbsp; Who cares about yet >> another proprietary simulation tool?&nbsp; I could see ADI saying they >> don't want to support it anymore.. no, not even that.&nbsp; The fact that >> you can count on their models working with their simulator is an >> incentive to use their parts.&nbsp; Even if it is a small incentive, it >> likely pays dividends since the cost of maintaining it is not large. >> They also need something for internal use. >> > > Yeah you'd think that but my impression of ADI is they are a top-down > stogy old-fashioned New England-type of technology company. They're like > the IBM of chip-makers. They have their solids in the > aerospace/defense/medical sector. If that's not you and you're not > looking at quantities of a mil they aren't much interested. How much do > they care if some simulation tool they inherited is "popular"
Their world headquarters in Norwood, MA isn't much to write home about. Remarkably modest for a company with a 2018 revenue of $6.2 billion. I'd say it goes beyond just New England low-key and into "cheap" territory.
On 5/28/2020 9:15 PM, Ricketty C wrote:
> On Thursday, May 28, 2020 at 9:13:06 PM UTC-4, bitrex wrote: >> On 5/28/2020 8:48 PM, Ricketty C wrote: >>> On Thursday, May 28, 2020 at 8:41:22 PM UTC-4, bitrex wrote: >>>> On 5/28/2020 12:24 PM, jlarkin@highlandsniptechnology.com wrote: >>>>> On Thu, 28 May 2020 18:09:06 +0200, olaf <olaf@criseis.ruhr.de> wrote: >>>>> >>>>>> Ricketty C <gnuarm.deletethisbit@gmail.com> wrote: >>>>>> >>>>>>> Bleech! Every time I try to use LTspice it's like Lucy snagging the >>>>>>> football away from Charlie Brown. And just like Charlie, I keep >>>>>>> coming back. >>>>>> >>>>>> Of course, that is true. But LT-Spice is a tool written by an enginer >>>>>> for other enginers and we all have a personality like Lucy. >>>>> >>>>> There's a video interview with Mike, the inventor of LT Spice, where >>>>> he says that the real value of a circuit simulator is to "cultivate >>>>> your intuition." >>>>> >>>>> https://www.youtube.com/watch?v=x6TrbD7-IwU >>>>> >>>>> I think he is a bit wrong about some other points, but the instinct >>>>> training thing is very real. >>>>> >>>>> I have got people started using LT Spice in literally 5 minutes. >>>>> >>>>>> >>>>>> If it was written by salesdruids it would look nice and cool without >>>>>> any good functionality. I this case you are the football on the ground. >>>>>> >>>>>> It is an interesting question how it will change now with >>>>>> Analog. Perhaps it is a good idea to save a working copy for future >>>>>> use.... >>>>> >>>>> I hope Analog doesn't wreck it. >>>>> >>>>> >>>>> >>>> >>>> Aside from a few niggles LTSpice is pretty much fine the way it is. It >>>> offer a lot of flexibility and it's fast. >>>> >>>> Importing 3rd party models is a bit clunky but not egregiously so. If >>>> you have a PSpice model for anything you more or less have an LTSpice >>>> model. for a free product that's mostly aimed at Analog/LT's products >>>> that's pretty nice. They could have been dicks and locked out everything >>>> that's not a discrete or their own products thankfully they didn't do that. >>>> >>>> I'll try not to give them any ideas. >>> >>> If they did that they would loose all popularity. Who cares about yet another proprietary simulation tool? I could see ADI saying they don't want to support it anymore.. no, not even that. The fact that you can count on their models working with their simulator is an incentive to use their parts. Even if it is a small incentive, it likely pays dividends since the cost of maintaining it is not large. They also need something for internal use. >>> >> >> Yeah you'd think that but my impression of ADI is they are a top-down >> stogy old-fashioned New England-type of technology company. They're like >> the IBM of chip-makers. They have their solids in the >> aerospace/defense/medical sector. If that's not you and you're not >> looking at quantities of a mil they aren't much interested. How much do >> they care if some simulation tool they inherited is "popular" > > I thought I made it clear. It sells parts. >
Depends on if the amount of parts it moves overcomes the deep unease stogy tech companies have with respect to "people who aren't us are USING _OUR_ PROGRAM!!"
olaf wrote: 

> Ricketty C wrote: > > > Bleech! Every time I try to use LTspice it's like Lucy snagging > > the football away from Charlie Brown. And just like Charlie, I > > keep coming back. > > Of course, that is true. But LT-Spice is a tool written by an > enginer for other enginers and we all have a personality like > Lucy. > > If it was written by salesdruids it would look nice and cool > without any good functionality. I this case you are the football > on the ground.
Why didn't Charlie just kick Lucy? The next time... "I promise I won't kick you this time, Lucy..."
On 5/28/2020 7:35 PM, Clifford Heath wrote:
> On 29/5/20 2:24 am, jlarkin@highlandsniptechnology.com wrote: >> On Thu, 28 May 2020 18:09:06 +0200, olaf <olaf@criseis.ruhr.de> wrote: >> >>> Ricketty C <gnuarm.deletethisbit@gmail.com> wrote: >>> >>>> Bleech!&nbsp; Every time I try to use LTspice it's like Lucy snagging the >>>> football away from Charlie Brown.&nbsp; And just like Charlie, I keep >>>> coming back. >>> >>> Of course, that is true. But LT-Spice is a tool written by an enginer >>> for other enginers and we all have a personality like Lucy. >> >> There's a video interview with Mike, the inventor of LT Spice, where >> he says that the real value of a circuit simulator is to "cultivate >> your intuition." >> >> https://www.youtube.com/watch?v=x6TrbD7-IwU >> >> I think he is a bit wrong about some other points, but the instinct >> training thing is very real. >> >> I have got people started using LT Spice in literally 5 minutes. >> >>> >>> If it was written by salesdruids it would look nice and cool without >>> any good functionality. I this case you are the football on the ground. >>> >>> It is an interesting question how it will change now with >>> Analog. Perhaps it is a good idea to save a working copy for future >>> use.... >> >> I hope Analog doesn't wreck it. > > The best and most effective thing they could do with LTSpice is to > open-source it. So many crazy little quirks would get fixed very quickly. > > I'm surprised no-one had mentioned SuperSpice, which Kevin open-sourced > last year or so. Make it read LTSpice files and you'd have something > really nice. > > CH
Nah. When you think ADI I think they'd be more likely to take it in a Texas Instruments-direction. i.e. make it a "Web 2.0"-enabled suite of "design tools" like TI's suite of bloated dumb shitty mostly-useless "tools" they want you to create an account with your life story to use.