Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Simulations are like miniskirts, they show a lot and hide the essentials. -- Hubert Kirrman


tech / sci.electronics.design / Re: Spice is great!

SubjectAuthor
* Spice is great!John Larkin
`* Re: Spice is great!Phil Hobbs
 `* Re: Spice is great!John Larkin
  `* Re: Spice is great!Fred Bloggs
   +* Re: Spice is great!Jan Panteltje
   |`- Re: Spice is great!John Larkin
   `* Re: Spice is great!John Larkin
    +* Re: Spice is great!Phil Hobbs
    |+* Re: Spice is great!Joe Gwinn
    ||+* Re: Spice is great!Phil Hobbs
    |||+* Re: Spice is great!John Larkin
    ||||`* Re: Spice is great!Phil Hobbs
    |||| `- Re: Spice is great!John Larkin
    |||`- Re: Spice is great!Joe Gwinn
    ||`- Re: Spice is great!Jan Panteltje
    |`- Re: Spice is great!jeroen
    +* Re: Spice is great!Fred Bloggs
    |`* Re: Spice is great!John Larkin
    | `* Re: Spice is great!Fred Bloggs
    |  `* Re: Spice is great!John Larkin
    |   `* Re: Spice is great!John Larkin
    |    +* Re: Spice is great!John May
    |    |`- Re: Spice is great!John Larkin
    |    `* Re: Spice is great!jeroen
    |     `* Re: Spice is great!John Larkin
    |      +- Re: Spice is great!John May
    |      `* Re: Spice is great!Lasse Langwadt Christensen
    |       `* Re: Spice is great!John Larkin
    |        `* Re: Spice is great!Lasse Langwadt Christensen
    |         `* Re: Spice is great!John Larkin
    |          `- Re: Spice is great!Lasse Langwadt Christensen
    `- Re: Spice is great!bitrex

Pages:12
Re: Spice is great!

<cc7d6f9e-1ce1-4842-8a22-58e749d43b1cn@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=127160&group=sci.electronics.design#127160

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:622a:10:b0:401:e192:fc61 with SMTP id x16-20020a05622a001000b00401e192fc61mr3762qtw.7.1692395975065;
Fri, 18 Aug 2023 14:59:35 -0700 (PDT)
X-Received: by 2002:a17:902:ec84:b0:1b5:147f:d8d1 with SMTP id
x4-20020a170902ec8400b001b5147fd8d1mr202496plg.3.1692395974521; Fri, 18 Aug
2023 14:59:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Fri, 18 Aug 2023 14:59:34 -0700 (PDT)
In-Reply-To: <0fmvdi9s4aocvdrsgduoi38cll52jb4rvd@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=95.172.225.182; posting-account=uFsNWgoAAAA2iyM9I1zPPuvl5W-JBU1g
NNTP-Posting-Host: 95.172.225.182
References: <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com>
<6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com> <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com>
<53451621-62ee-46a1-be97-6b2152da8bfcn@googlegroups.com> <qhvudi9kog8q9gl75a5cv85am064mqpdn1@4ax.com>
<6a9c471d-62f7-4e30-a138-1e430ca49a73n@googlegroups.com> <gndvdihch9ao46k64uc206ag85ku411bdr@4ax.com>
<mbfvdituketlqt9gh6a4v6t37h3p226tgc@4ax.com> <uboios$cmiv$1@dont-email.me> <0fmvdi9s4aocvdrsgduoi38cll52jb4rvd@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cc7d6f9e-1ce1-4842-8a22-58e749d43b1cn@googlegroups.com>
Subject: Re: Spice is great!
From: suna...@gmail.com (John May)
Injection-Date: Fri, 18 Aug 2023 21:59:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: John May - Fri, 18 Aug 2023 21:59 UTC

On Friday, August 18, 2023 at 9:56:56 PM UTC+1, John Larkin wrote:
> On Fri, 18 Aug 2023 22:02:36 +0200, jeroen <jer...@nospam.please>
> wrote:
> >On 2023-08-18 20:52, John Larkin wrote:
> >> On Fri, 18 Aug 2023 11:29:17 -0700, John Larkin
> >> <jlarkin@highland_atwork_technology.com> wrote:
> >>
> >>> On Fri, 18 Aug 2023 10:42:16 -0700 (PDT), Fred Bloggs
> >>> <bloggs.fred...@gmail.com> wrote:
> >>>
> >>>> On Friday, August 18, 2023 at 10:25:58?AM UTC-4, John Larkin wrote:
> >>>>> On Fri, 18 Aug 2023 05:59:38 -0700 (PDT), Fred Bloggs
> >>>>> <bloggs.fred...@gmail.com> wrote:
> >>>>>> On Thursday, August 17, 2023 at 11:04:11?AM UTC-4, John Larkin wrote:
> >>>>>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
> >>>>>>> <bloggs.fred...@gmail.com> wrote:
> >>>>>>>> On Thursday, August 17, 2023 at 6:47:11?AM UTC-4, John Larkin wrote:
> >>>>>>>>> On Thu, 17 Aug 2023 00:11:11 -0000 (UTC), Phil Hobbs
> >>>>>>>>> <pcdhSpamM...@electrooptical.net> wrote:
> >>>>>>>>>
> >>>>>>>>>> John Larkin <jlarkin@highland_atwork_technology.com> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> While my sim is running, I can do all sorts of things. Grocery shop,
> >>>>>>>>>>> prowl the web, take a nap.
> >>>>>>>>>>>
> >>>>>>>>>>> https://xkcd.com/303/
> >>>>>>>>>>>
> >>>>>>>>>>> Same idea. My alternator simulator simulation (!) takes about 25
> >>>>>>>>>>> minutes to rev up, running 10 or so PPM of real time. It's nicely
> >>>>>>>>>>> settled in about an hour.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> It’s probably pretty linear, so you could solve the DE by hand. Then you’d
> >>>>>>>>>> have more info than a stack of sims.
> >>>>>>>>> It's a mess of PWM modulators, mosfet half-bridges, cycle-by-cycle
> >>>>>>>>> current limiters, 3-phase common-mode chokes, ferrite beads, about 50
> >>>>>>>>> bypass caps. I'm not smart enough to do that analytically.
> >>>>>>>>
> >>>>>>>> Unless all those subelements interact, it's insane to simulate the whole shebang at once.
> >>>>>>> Of course they interact!
> >>>>>>>
> >>>>>>> The 200 watt floating dc/dc conveter is reasonably independent so
> >>>>>>> that's a separate sim. Ditto my soft-start circuit that ramps up the
> >>>>>>> raw 48v bus in to the dc/dc.
> >>>>>>>
> >>>>>>> High school trig was some time ago, so I have a couple of sims to
> >>>>>>> verify the basic 3-phase math. Spice could eventually destroy all our
> >>>>>>> math skills; I use it for voltage dividers and RC timing circuits too.
> >>>>>>>
> >>>>>>> Is there an anlytical way to express delay lines? I think I saw the
> >>>>>>> delay case once, in a test for PE registration as a Controls Engineer.
> >>>>>>
> >>>>>> f(t) delayed by Td is f(t-Td). Now how that works in LTSpice is another question. They do have some kind of delay function for digital subcircuits. So maybe analog->digital-> delay-> analog is the way to squeeze that into a realistic simulation.
> >>>>> LT Spice has both ideal and lossy transmission lines. A lossy line is
> >>>>> a decent model for a diffusive thing, like a thermal delay or a really
> >>>>> terrible PCB trace.
> >>>>>
> >>>>> I think conductors inside digital ICs are essentially all diffusive, R
> >>>>> and C and not much L. That's terrible for rise time.
> >>>>
> >>>> By diffusive I take it to mean frequency dependent time delay. That's much more complicated than a simple time shift. No wonder your runtime is taking forever. Do you really need to model these diffusive delays for a relay driver board??? Seems overkill.
> >>>
> >>> My super slow sim now is the PM alternator simulator board, which
> >>> doesn't have any delay lines.
> >>>
> >>> https://www.dropbox.com/scl/fi/atrtd0s0euasg0jkq3p8p/P942_23.jpg?rlkey=sis6iqz3e8uiovk3qnmvjr3gd&raw=1
> >>>
> >>> That took a half hour or so to run. Even zooming on a slice of time
> >>> takes something like a minute. I guess I need to tell it to not save
> >>> so much stuff.
> >>>
> >>
> >> I tried .save of a few nodes and it didn't change the sim time much.
> >> I'm compute bound.
> >>
> >> Zooming should improve if I don't save gigabytes of data.
> >>
> >
> >The way you go about it, no amount of computing power is ever going
> >to be enough.
> The way *I* go about it? How would you sim a polyphase switching
> supply, simulating an alternator, driving a FADEC shorting regulator?
>
> My old Win7 computer and LT Spice is a bit leisurely. But good enough.
>
>
> >
> >Jeroen Belleman
>
> I want Spice to run on an Nvidia board.

Spice simulators that utilise GPUs have been available for the last 15 years or more. On circuits like this with only a few few nodes they will not offer any advantage. If you're designing ICs with thousands of transistors the simulators from Empyrean (ALPS-GT) and Synopsys (Primetime Continuum) have got the nod of approval from the design community (feedback to Cooley)..

At the LTSpice price point there'sa NGSpice based simulator (CUSpice) that can utilise a GPU for some spice models (IIRC caps, resistors, inductors, voltage and current sources and one or more of the Mosfet models).

Re: Spice is great!

<e5e63eca-c032-4976-bc41-170af887715an@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=127161&group=sci.electronics.design#127161

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:620a:4706:b0:76d:86b1:ece6 with SMTP id bs6-20020a05620a470600b0076d86b1ece6mr4226qkb.7.1692396317818;
Fri, 18 Aug 2023 15:05:17 -0700 (PDT)
X-Received: by 2002:a17:90b:950:b0:26b:43f1:e69f with SMTP id
dw16-20020a17090b095000b0026b43f1e69fmr118258pjb.1.1692396317345; Fri, 18 Aug
2023 15:05:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Fri, 18 Aug 2023 15:05:16 -0700 (PDT)
In-Reply-To: <0fmvdi9s4aocvdrsgduoi38cll52jb4rvd@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=94.145.228.129; posting-account=mW5JKwkAAAAMyuWOVeLp8yffyAkVx0g7
NNTP-Posting-Host: 94.145.228.129
References: <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com>
<6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com> <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com>
<53451621-62ee-46a1-be97-6b2152da8bfcn@googlegroups.com> <qhvudi9kog8q9gl75a5cv85am064mqpdn1@4ax.com>
<6a9c471d-62f7-4e30-a138-1e430ca49a73n@googlegroups.com> <gndvdihch9ao46k64uc206ag85ku411bdr@4ax.com>
<mbfvdituketlqt9gh6a4v6t37h3p226tgc@4ax.com> <uboios$cmiv$1@dont-email.me> <0fmvdi9s4aocvdrsgduoi38cll52jb4rvd@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e5e63eca-c032-4976-bc41-170af887715an@googlegroups.com>
Subject: Re: Spice is great!
From: langw...@fonz.dk (Lasse Langwadt Christensen)
Injection-Date: Fri, 18 Aug 2023 22:05:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 120
 by: Lasse Langwadt Chris - Fri, 18 Aug 2023 22:05 UTC

fredag den 18. august 2023 kl. 22.56.56 UTC+2 skrev John Larkin:
> On Fri, 18 Aug 2023 22:02:36 +0200, jeroen <jer...@nospam.please>
> wrote:
> >On 2023-08-18 20:52, John Larkin wrote:
> >> On Fri, 18 Aug 2023 11:29:17 -0700, John Larkin
> >> <jlarkin@highland_atwork_technology.com> wrote:
> >>
> >>> On Fri, 18 Aug 2023 10:42:16 -0700 (PDT), Fred Bloggs
> >>> <bloggs.fred...@gmail.com> wrote:
> >>>
> >>>> On Friday, August 18, 2023 at 10:25:58?AM UTC-4, John Larkin wrote:
> >>>>> On Fri, 18 Aug 2023 05:59:38 -0700 (PDT), Fred Bloggs
> >>>>> <bloggs.fred...@gmail.com> wrote:
> >>>>>> On Thursday, August 17, 2023 at 11:04:11?AM UTC-4, John Larkin wrote:
> >>>>>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
> >>>>>>> <bloggs.fred...@gmail.com> wrote:
> >>>>>>>> On Thursday, August 17, 2023 at 6:47:11?AM UTC-4, John Larkin wrote:
> >>>>>>>>> On Thu, 17 Aug 2023 00:11:11 -0000 (UTC), Phil Hobbs
> >>>>>>>>> <pcdhSpamM...@electrooptical.net> wrote:
> >>>>>>>>>
> >>>>>>>>>> John Larkin <jlarkin@highland_atwork_technology.com> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> While my sim is running, I can do all sorts of things. Grocery shop,
> >>>>>>>>>>> prowl the web, take a nap.
> >>>>>>>>>>>
> >>>>>>>>>>> https://xkcd.com/303/
> >>>>>>>>>>>
> >>>>>>>>>>> Same idea. My alternator simulator simulation (!) takes about 25
> >>>>>>>>>>> minutes to rev up, running 10 or so PPM of real time. It's nicely
> >>>>>>>>>>> settled in about an hour.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> It’s probably pretty linear, so you could solve the DE by hand. Then you’d
> >>>>>>>>>> have more info than a stack of sims.
> >>>>>>>>> It's a mess of PWM modulators, mosfet half-bridges, cycle-by-cycle
> >>>>>>>>> current limiters, 3-phase common-mode chokes, ferrite beads, about 50
> >>>>>>>>> bypass caps. I'm not smart enough to do that analytically.
> >>>>>>>>
> >>>>>>>> Unless all those subelements interact, it's insane to simulate the whole shebang at once.
> >>>>>>> Of course they interact!
> >>>>>>>
> >>>>>>> The 200 watt floating dc/dc conveter is reasonably independent so
> >>>>>>> that's a separate sim. Ditto my soft-start circuit that ramps up the
> >>>>>>> raw 48v bus in to the dc/dc.
> >>>>>>>
> >>>>>>> High school trig was some time ago, so I have a couple of sims to
> >>>>>>> verify the basic 3-phase math. Spice could eventually destroy all our
> >>>>>>> math skills; I use it for voltage dividers and RC timing circuits too.
> >>>>>>>
> >>>>>>> Is there an anlytical way to express delay lines? I think I saw the
> >>>>>>> delay case once, in a test for PE registration as a Controls Engineer.
> >>>>>>
> >>>>>> f(t) delayed by Td is f(t-Td). Now how that works in LTSpice is another question. They do have some kind of delay function for digital subcircuits. So maybe analog->digital-> delay-> analog is the way to squeeze that into a realistic simulation.
> >>>>> LT Spice has both ideal and lossy transmission lines. A lossy line is
> >>>>> a decent model for a diffusive thing, like a thermal delay or a really
> >>>>> terrible PCB trace.
> >>>>>
> >>>>> I think conductors inside digital ICs are essentially all diffusive, R
> >>>>> and C and not much L. That's terrible for rise time.
> >>>>
> >>>> By diffusive I take it to mean frequency dependent time delay. That's much more complicated than a simple time shift. No wonder your runtime is taking forever. Do you really need to model these diffusive delays for a relay driver board??? Seems overkill.
> >>>
> >>> My super slow sim now is the PM alternator simulator board, which
> >>> doesn't have any delay lines.
> >>>
> >>> https://www.dropbox.com/scl/fi/atrtd0s0euasg0jkq3p8p/P942_23.jpg?rlkey=sis6iqz3e8uiovk3qnmvjr3gd&raw=1
> >>>
> >>> That took a half hour or so to run. Even zooming on a slice of time
> >>> takes something like a minute. I guess I need to tell it to not save
> >>> so much stuff.
> >>>
> >>
> >> I tried .save of a few nodes and it didn't change the sim time much.
> >> I'm compute bound.
> >>
> >> Zooming should improve if I don't save gigabytes of data.
> >>
> >
> >The way you go about it, no amount of computing power is ever going
> >to be enough.
> The way *I* go about it? How would you sim a polyphase switching
> supply, simulating an alternator, driving a FADEC shorting regulator?
>
> My old Win7 computer and LT Spice is a bit leisurely. But good enough.

check how bad the cpu is

https://www.cpubenchmark.net/singleCompare.php

Re: Spice is great!

<a0rvdih4b5pv80m2b2g48oaej0b8t5nujh@4ax.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=127162&group=sci.electronics.design#127162

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 18 Aug 2023 22:17:41 +0000
From: jlar...@highland_atwork_technology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Fri, 18 Aug 2023 15:17:41 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <a0rvdih4b5pv80m2b2g48oaej0b8t5nujh@4ax.com>
References: <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com> <53451621-62ee-46a1-be97-6b2152da8bfcn@googlegroups.com> <qhvudi9kog8q9gl75a5cv85am064mqpdn1@4ax.com> <6a9c471d-62f7-4e30-a138-1e430ca49a73n@googlegroups.com> <gndvdihch9ao46k64uc206ag85ku411bdr@4ax.com> <mbfvdituketlqt9gh6a4v6t37h3p226tgc@4ax.com> <uboios$cmiv$1@dont-email.me> <0fmvdi9s4aocvdrsgduoi38cll52jb4rvd@4ax.com> <e5e63eca-c032-4976-bc41-170af887715an@googlegroups.com>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 103
X-Trace: sv3-IPJ7qY2wsSjy/YJMvrNiPRd2VbDSo22F3S1q1wAYciWXKmOM3tJJC9m59qztbvXHHlHd7zEpTiA6Ezq!l3tZF+5ap8+5iWJvP9iP8lE5uKMCUq0jKclmGLO92ovzrQqQU7CZvR976JcpjZro7L5RY6omgm+3!kuO45g==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: John Larkin - Fri, 18 Aug 2023 22:17 UTC

On Fri, 18 Aug 2023 15:05:16 -0700 (PDT), Lasse Langwadt Christensen
<langwadt@fonz.dk> wrote:

>fredag den 18. august 2023 kl. 22.56.56 UTC+2 skrev John Larkin:
>> On Fri, 18 Aug 2023 22:02:36 +0200, jeroen <jer...@nospam.please>
>> wrote:
>> >On 2023-08-18 20:52, John Larkin wrote:
>> >> On Fri, 18 Aug 2023 11:29:17 -0700, John Larkin
>> >> <jlarkin@highland_atwork_technology.com> wrote:
>> >>
>> >>> On Fri, 18 Aug 2023 10:42:16 -0700 (PDT), Fred Bloggs
>> >>> <bloggs.fred...@gmail.com> wrote:
>> >>>
>> >>>> On Friday, August 18, 2023 at 10:25:58?AM UTC-4, John Larkin wrote:
>> >>>>> On Fri, 18 Aug 2023 05:59:38 -0700 (PDT), Fred Bloggs
>> >>>>> <bloggs.fred...@gmail.com> wrote:
>> >>>>>> On Thursday, August 17, 2023 at 11:04:11?AM UTC-4, John Larkin wrote:
>> >>>>>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
>> >>>>>>> <bloggs.fred...@gmail.com> wrote:
>> >>>>>>>> On Thursday, August 17, 2023 at 6:47:11?AM UTC-4, John Larkin wrote:
>> >>>>>>>>> On Thu, 17 Aug 2023 00:11:11 -0000 (UTC), Phil Hobbs
>> >>>>>>>>> <pcdhSpamM...@electrooptical.net> wrote:
>> >>>>>>>>>
>> >>>>>>>>>> John Larkin <jlarkin@highland_atwork_technology.com> wrote:
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>> While my sim is running, I can do all sorts of things. Grocery shop,
>> >>>>>>>>>>> prowl the web, take a nap.
>> >>>>>>>>>>>
>> >>>>>>>>>>> https://xkcd.com/303/
>> >>>>>>>>>>>
>> >>>>>>>>>>> Same idea. My alternator simulator simulation (!) takes about 25
>> >>>>>>>>>>> minutes to rev up, running 10 or so PPM of real time. It's nicely
>> >>>>>>>>>>> settled in about an hour.
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> It’s probably pretty linear, so you could solve the DE by hand. Then you’d
>> >>>>>>>>>> have more info than a stack of sims.
>> >>>>>>>>> It's a mess of PWM modulators, mosfet half-bridges, cycle-by-cycle
>> >>>>>>>>> current limiters, 3-phase common-mode chokes, ferrite beads, about 50
>> >>>>>>>>> bypass caps. I'm not smart enough to do that analytically.
>> >>>>>>>>
>> >>>>>>>> Unless all those subelements interact, it's insane to simulate the whole shebang at once.
>> >>>>>>> Of course they interact!
>> >>>>>>>
>> >>>>>>> The 200 watt floating dc/dc conveter is reasonably independent so
>> >>>>>>> that's a separate sim. Ditto my soft-start circuit that ramps up the
>> >>>>>>> raw 48v bus in to the dc/dc.
>> >>>>>>>
>> >>>>>>> High school trig was some time ago, so I have a couple of sims to
>> >>>>>>> verify the basic 3-phase math. Spice could eventually destroy all our
>> >>>>>>> math skills; I use it for voltage dividers and RC timing circuits too.
>> >>>>>>>
>> >>>>>>> Is there an anlytical way to express delay lines? I think I saw the
>> >>>>>>> delay case once, in a test for PE registration as a Controls Engineer.
>> >>>>>>
>> >>>>>> f(t) delayed by Td is f(t-Td). Now how that works in LTSpice is another question. They do have some kind of delay function for digital subcircuits. So maybe analog->digital-> delay-> analog is the way to squeeze that into a realistic simulation.
>> >>>>> LT Spice has both ideal and lossy transmission lines. A lossy line is
>> >>>>> a decent model for a diffusive thing, like a thermal delay or a really
>> >>>>> terrible PCB trace.
>> >>>>>
>> >>>>> I think conductors inside digital ICs are essentially all diffusive, R
>> >>>>> and C and not much L. That's terrible for rise time.
>> >>>>
>> >>>> By diffusive I take it to mean frequency dependent time delay. That's much more complicated than a simple time shift. No wonder your runtime is taking forever. Do you really need to model these diffusive delays for a relay driver board??? Seems overkill.
>> >>>
>> >>> My super slow sim now is the PM alternator simulator board, which
>> >>> doesn't have any delay lines.
>> >>>
>> >>> https://www.dropbox.com/scl/fi/atrtd0s0euasg0jkq3p8p/P942_23.jpg?rlkey=sis6iqz3e8uiovk3qnmvjr3gd&raw=1
>> >>>
>> >>> That took a half hour or so to run. Even zooming on a slice of time
>> >>> takes something like a minute. I guess I need to tell it to not save
>> >>> so much stuff.
>> >>>
>> >>
>> >> I tried .save of a few nodes and it didn't change the sim time much.
>> >> I'm compute bound.
>> >>
>> >> Zooming should improve if I don't save gigabytes of data.
>> >>
>> >
>> >The way you go about it, no amount of computing power is ever going
>> >to be enough.
>> The way *I* go about it? How would you sim a polyphase switching
>> supply, simulating an alternator, driving a FADEC shorting regulator?
>>
>> My old Win7 computer and LT Spice is a bit leisurely. But good enough.
>
>check how bad the cpu is
>
>https://www.cpubenchmark.net/singleCompare.php

My computer at home died but luckily we had an identical oldish box at
work and the RAID drives moved and worked in the old box.

One of these years I'll need three new Win10 boxes, and maybe a spare,
with all the tools and junk installed. I'm not looking forward to
that. Win10 is terrible and 11 is probably worse.

More RAM and more compute power would be nice.

Re: Spice is great!

<92b2ce5a-b789-4db5-bf17-fdeda69e105en@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=127164&group=sci.electronics.design#127164

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ad4:4f26:0:b0:63f:be4f:160a with SMTP id fc6-20020ad44f26000000b0063fbe4f160amr4681qvb.3.1692398547723;
Fri, 18 Aug 2023 15:42:27 -0700 (PDT)
X-Received: by 2002:a17:90b:d95:b0:26b:4273:6a35 with SMTP id
bg21-20020a17090b0d9500b0026b42736a35mr145762pjb.0.1692398547160; Fri, 18 Aug
2023 15:42:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Fri, 18 Aug 2023 15:42:26 -0700 (PDT)
In-Reply-To: <a0rvdih4b5pv80m2b2g48oaej0b8t5nujh@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=94.145.228.129; posting-account=mW5JKwkAAAAMyuWOVeLp8yffyAkVx0g7
NNTP-Posting-Host: 94.145.228.129
References: <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com> <53451621-62ee-46a1-be97-6b2152da8bfcn@googlegroups.com>
<qhvudi9kog8q9gl75a5cv85am064mqpdn1@4ax.com> <6a9c471d-62f7-4e30-a138-1e430ca49a73n@googlegroups.com>
<gndvdihch9ao46k64uc206ag85ku411bdr@4ax.com> <mbfvdituketlqt9gh6a4v6t37h3p226tgc@4ax.com>
<uboios$cmiv$1@dont-email.me> <0fmvdi9s4aocvdrsgduoi38cll52jb4rvd@4ax.com>
<e5e63eca-c032-4976-bc41-170af887715an@googlegroups.com> <a0rvdih4b5pv80m2b2g48oaej0b8t5nujh@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <92b2ce5a-b789-4db5-bf17-fdeda69e105en@googlegroups.com>
Subject: Re: Spice is great!
From: langw...@fonz.dk (Lasse Langwadt Christensen)
Injection-Date: Fri, 18 Aug 2023 22:42:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7560
 by: Lasse Langwadt Chris - Fri, 18 Aug 2023 22:42 UTC

lørdag den 19. august 2023 kl. 00.17.55 UTC+2 skrev John Larkin:
> On Fri, 18 Aug 2023 15:05:16 -0700 (PDT), Lasse Langwadt Christensen
> <lang...@fonz.dk> wrote:
>
> >fredag den 18. august 2023 kl. 22.56.56 UTC+2 skrev John Larkin:
> >> On Fri, 18 Aug 2023 22:02:36 +0200, jeroen <jer...@nospam.please>
> >> wrote:
> >> >On 2023-08-18 20:52, John Larkin wrote:
> >> >> On Fri, 18 Aug 2023 11:29:17 -0700, John Larkin
> >> >> <jlarkin@highland_atwork_technology.com> wrote:
> >> >>
> >> >>> On Fri, 18 Aug 2023 10:42:16 -0700 (PDT), Fred Bloggs
> >> >>> <bloggs.fred...@gmail.com> wrote:
> >> >>>
> >> >>>> On Friday, August 18, 2023 at 10:25:58?AM UTC-4, John Larkin wrote:
> >> >>>>> On Fri, 18 Aug 2023 05:59:38 -0700 (PDT), Fred Bloggs
> >> >>>>> <bloggs.fred...@gmail.com> wrote:
> >> >>>>>> On Thursday, August 17, 2023 at 11:04:11?AM UTC-4, John Larkin wrote:
> >> >>>>>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
> >> >>>>>>> <bloggs.fred...@gmail.com> wrote:
> >> >>>>>>>> On Thursday, August 17, 2023 at 6:47:11?AM UTC-4, John Larkin wrote:
> >> >>>>>>>>> On Thu, 17 Aug 2023 00:11:11 -0000 (UTC), Phil Hobbs
> >> >>>>>>>>> <pcdhSpamM...@electrooptical.net> wrote:
> >> >>>>>>>>>
> >> >>>>>>>>>> John Larkin <jlarkin@highland_atwork_technology.com> wrote:
> >> >>>>>>>>>>>
> >> >>>>>>>>>>>
> >> >>>>>>>>>>> While my sim is running, I can do all sorts of things. Grocery shop,
> >> >>>>>>>>>>> prowl the web, take a nap.
> >> >>>>>>>>>>>
> >> >>>>>>>>>>> https://xkcd.com/303/
> >> >>>>>>>>>>>
> >> >>>>>>>>>>> Same idea. My alternator simulator simulation (!) takes about 25
> >> >>>>>>>>>>> minutes to rev up, running 10 or so PPM of real time. It's nicely
> >> >>>>>>>>>>> settled in about an hour.
> >> >>>>>>>>>>>
> >> >>>>>>>>>>>
> >> >>>>>>>>>>
> >> >>>>>>>>>> It’s probably pretty linear, so you could solve the DE by hand. Then you’d
> >> >>>>>>>>>> have more info than a stack of sims.
> >> >>>>>>>>> It's a mess of PWM modulators, mosfet half-bridges, cycle-by-cycle
> >> >>>>>>>>> current limiters, 3-phase common-mode chokes, ferrite beads, about 50
> >> >>>>>>>>> bypass caps. I'm not smart enough to do that analytically.
> >> >>>>>>>>
> >> >>>>>>>> Unless all those subelements interact, it's insane to simulate the whole shebang at once.
> >> >>>>>>> Of course they interact!
> >> >>>>>>>
> >> >>>>>>> The 200 watt floating dc/dc conveter is reasonably independent so
> >> >>>>>>> that's a separate sim. Ditto my soft-start circuit that ramps up the
> >> >>>>>>> raw 48v bus in to the dc/dc.
> >> >>>>>>>
> >> >>>>>>> High school trig was some time ago, so I have a couple of sims to
> >> >>>>>>> verify the basic 3-phase math. Spice could eventually destroy all our
> >> >>>>>>> math skills; I use it for voltage dividers and RC timing circuits too.
> >> >>>>>>>
> >> >>>>>>> Is there an anlytical way to express delay lines? I think I saw the
> >> >>>>>>> delay case once, in a test for PE registration as a Controls Engineer.
> >> >>>>>>
> >> >>>>>> f(t) delayed by Td is f(t-Td). Now how that works in LTSpice is another question. They do have some kind of delay function for digital subcircuits. So maybe analog->digital-> delay-> analog is the way to squeeze that into a realistic simulation.
> >> >>>>> LT Spice has both ideal and lossy transmission lines. A lossy line is
> >> >>>>> a decent model for a diffusive thing, like a thermal delay or a really
> >> >>>>> terrible PCB trace.
> >> >>>>>
> >> >>>>> I think conductors inside digital ICs are essentially all diffusive, R
> >> >>>>> and C and not much L. That's terrible for rise time.
> >> >>>>
> >> >>>> By diffusive I take it to mean frequency dependent time delay. That's much more complicated than a simple time shift. No wonder your runtime is taking forever. Do you really need to model these diffusive delays for a relay driver board??? Seems overkill.
> >> >>>
> >> >>> My super slow sim now is the PM alternator simulator board, which
> >> >>> doesn't have any delay lines.
> >> >>>
> >> >>> https://www.dropbox.com/scl/fi/atrtd0s0euasg0jkq3p8p/P942_23.jpg?rlkey=sis6iqz3e8uiovk3qnmvjr3gd&raw=1
> >> >>>
> >> >>> That took a half hour or so to run. Even zooming on a slice of time
> >> >>> takes something like a minute. I guess I need to tell it to not save
> >> >>> so much stuff.
> >> >>>
> >> >>
> >> >> I tried .save of a few nodes and it didn't change the sim time much..
> >> >> I'm compute bound.
> >> >>
> >> >> Zooming should improve if I don't save gigabytes of data.
> >> >>
> >> >
> >> >The way you go about it, no amount of computing power is ever going
> >> >to be enough.
> >> The way *I* go about it? How would you sim a polyphase switching
> >> supply, simulating an alternator, driving a FADEC shorting regulator?
> >>
> >> My old Win7 computer and LT Spice is a bit leisurely. But good enough.
> >
> >check how bad the cpu is
> >
> >https://www.cpubenchmark.net/singleCompare.php
> My computer at home died but luckily we had an identical oldish box at
> work and the RAID drives moved and worked in the old box.
>
> One of these years I'll need three new Win10 boxes, and maybe a spare,
> with all the tools and junk installed. I'm not looking forward to
> that. Win10 is terrible and 11 is probably worse.

win10/11 is fine, and they can run linux too much easier when deveping for e.g. rpi or Zyng
> More RAM and more compute power would be nice.

single core performance haven't improved much for years

Re: Spice is great!

<28vvdihnp2j92eqlp4f44cfntpfkk6lpa5@4ax.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=127165&group=sci.electronics.design#127165

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.27.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 18 Aug 2023 23:26:51 +0000
From: jlar...@highland_atwork_technology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Fri, 18 Aug 2023 16:26:51 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <28vvdihnp2j92eqlp4f44cfntpfkk6lpa5@4ax.com>
References: <qhvudi9kog8q9gl75a5cv85am064mqpdn1@4ax.com> <6a9c471d-62f7-4e30-a138-1e430ca49a73n@googlegroups.com> <gndvdihch9ao46k64uc206ag85ku411bdr@4ax.com> <mbfvdituketlqt9gh6a4v6t37h3p226tgc@4ax.com> <uboios$cmiv$1@dont-email.me> <0fmvdi9s4aocvdrsgduoi38cll52jb4rvd@4ax.com> <e5e63eca-c032-4976-bc41-170af887715an@googlegroups.com> <a0rvdih4b5pv80m2b2g48oaej0b8t5nujh@4ax.com> <92b2ce5a-b789-4db5-bf17-fdeda69e105en@googlegroups.com>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 117
X-Trace: sv3-b4IpuYiEXxPBaSzKX6OomBsLuLomE6REltDIhcwW5DNL89ocKTUA8eTiWX7yyoqhTXbFN9yLDGEF3fD!izB502fU3uzykiMT6QBXaSbyuyWWSE5r1tA8pZ9jvSFqPHL9in/FnNjOt5BEip04gFbdSccuusT6!h1Y4uQ==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: John Larkin - Fri, 18 Aug 2023 23:26 UTC

On Fri, 18 Aug 2023 15:42:26 -0700 (PDT), Lasse Langwadt Christensen
<langwadt@fonz.dk> wrote:

>lørdag den 19. august 2023 kl. 00.17.55 UTC+2 skrev John Larkin:
>> On Fri, 18 Aug 2023 15:05:16 -0700 (PDT), Lasse Langwadt Christensen
>> <lang...@fonz.dk> wrote:
>>
>> >fredag den 18. august 2023 kl. 22.56.56 UTC+2 skrev John Larkin:
>> >> On Fri, 18 Aug 2023 22:02:36 +0200, jeroen <jer...@nospam.please>
>> >> wrote:
>> >> >On 2023-08-18 20:52, John Larkin wrote:
>> >> >> On Fri, 18 Aug 2023 11:29:17 -0700, John Larkin
>> >> >> <jlarkin@highland_atwork_technology.com> wrote:
>> >> >>
>> >> >>> On Fri, 18 Aug 2023 10:42:16 -0700 (PDT), Fred Bloggs
>> >> >>> <bloggs.fred...@gmail.com> wrote:
>> >> >>>
>> >> >>>> On Friday, August 18, 2023 at 10:25:58?AM UTC-4, John Larkin wrote:
>> >> >>>>> On Fri, 18 Aug 2023 05:59:38 -0700 (PDT), Fred Bloggs
>> >> >>>>> <bloggs.fred...@gmail.com> wrote:
>> >> >>>>>> On Thursday, August 17, 2023 at 11:04:11?AM UTC-4, John Larkin wrote:
>> >> >>>>>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
>> >> >>>>>>> <bloggs.fred...@gmail.com> wrote:
>> >> >>>>>>>> On Thursday, August 17, 2023 at 6:47:11?AM UTC-4, John Larkin wrote:
>> >> >>>>>>>>> On Thu, 17 Aug 2023 00:11:11 -0000 (UTC), Phil Hobbs
>> >> >>>>>>>>> <pcdhSpamM...@electrooptical.net> wrote:
>> >> >>>>>>>>>
>> >> >>>>>>>>>> John Larkin <jlarkin@highland_atwork_technology.com> wrote:
>> >> >>>>>>>>>>>
>> >> >>>>>>>>>>>
>> >> >>>>>>>>>>> While my sim is running, I can do all sorts of things. Grocery shop,
>> >> >>>>>>>>>>> prowl the web, take a nap.
>> >> >>>>>>>>>>>
>> >> >>>>>>>>>>> https://xkcd.com/303/
>> >> >>>>>>>>>>>
>> >> >>>>>>>>>>> Same idea. My alternator simulator simulation (!) takes about 25
>> >> >>>>>>>>>>> minutes to rev up, running 10 or so PPM of real time. It's nicely
>> >> >>>>>>>>>>> settled in about an hour.
>> >> >>>>>>>>>>>
>> >> >>>>>>>>>>>
>> >> >>>>>>>>>>
>> >> >>>>>>>>>> It’s probably pretty linear, so you could solve the DE by hand. Then you’d
>> >> >>>>>>>>>> have more info than a stack of sims.
>> >> >>>>>>>>> It's a mess of PWM modulators, mosfet half-bridges, cycle-by-cycle
>> >> >>>>>>>>> current limiters, 3-phase common-mode chokes, ferrite beads, about 50
>> >> >>>>>>>>> bypass caps. I'm not smart enough to do that analytically.
>> >> >>>>>>>>
>> >> >>>>>>>> Unless all those subelements interact, it's insane to simulate the whole shebang at once.
>> >> >>>>>>> Of course they interact!
>> >> >>>>>>>
>> >> >>>>>>> The 200 watt floating dc/dc conveter is reasonably independent so
>> >> >>>>>>> that's a separate sim. Ditto my soft-start circuit that ramps up the
>> >> >>>>>>> raw 48v bus in to the dc/dc.
>> >> >>>>>>>
>> >> >>>>>>> High school trig was some time ago, so I have a couple of sims to
>> >> >>>>>>> verify the basic 3-phase math. Spice could eventually destroy all our
>> >> >>>>>>> math skills; I use it for voltage dividers and RC timing circuits too.
>> >> >>>>>>>
>> >> >>>>>>> Is there an anlytical way to express delay lines? I think I saw the
>> >> >>>>>>> delay case once, in a test for PE registration as a Controls Engineer.
>> >> >>>>>>
>> >> >>>>>> f(t) delayed by Td is f(t-Td). Now how that works in LTSpice is another question. They do have some kind of delay function for digital subcircuits. So maybe analog->digital-> delay-> analog is the way to squeeze that into a realistic simulation.
>> >> >>>>> LT Spice has both ideal and lossy transmission lines. A lossy line is
>> >> >>>>> a decent model for a diffusive thing, like a thermal delay or a really
>> >> >>>>> terrible PCB trace.
>> >> >>>>>
>> >> >>>>> I think conductors inside digital ICs are essentially all diffusive, R
>> >> >>>>> and C and not much L. That's terrible for rise time.
>> >> >>>>
>> >> >>>> By diffusive I take it to mean frequency dependent time delay. That's much more complicated than a simple time shift. No wonder your runtime is taking forever. Do you really need to model these diffusive delays for a relay driver board??? Seems overkill.
>> >> >>>
>> >> >>> My super slow sim now is the PM alternator simulator board, which
>> >> >>> doesn't have any delay lines.
>> >> >>>
>> >> >>> https://www.dropbox.com/scl/fi/atrtd0s0euasg0jkq3p8p/P942_23.jpg?rlkey=sis6iqz3e8uiovk3qnmvjr3gd&raw=1
>> >> >>>
>> >> >>> That took a half hour or so to run. Even zooming on a slice of time
>> >> >>> takes something like a minute. I guess I need to tell it to not save
>> >> >>> so much stuff.
>> >> >>>
>> >> >>
>> >> >> I tried .save of a few nodes and it didn't change the sim time much.
>> >> >> I'm compute bound.
>> >> >>
>> >> >> Zooming should improve if I don't save gigabytes of data.
>> >> >>
>> >> >
>> >> >The way you go about it, no amount of computing power is ever going
>> >> >to be enough.
>> >> The way *I* go about it? How would you sim a polyphase switching
>> >> supply, simulating an alternator, driving a FADEC shorting regulator?
>> >>
>> >> My old Win7 computer and LT Spice is a bit leisurely. But good enough.
>> >
>> >check how bad the cpu is
>> >
>> >https://www.cpubenchmark.net/singleCompare.php
>> My computer at home died but luckily we had an identical oldish box at
>> work and the RAID drives moved and worked in the old box.
>>
>> One of these years I'll need three new Win10 boxes, and maybe a spare,
>> with all the tools and junk installed. I'm not looking forward to
>> that. Win10 is terrible and 11 is probably worse.
>
>win10/11 is fine, and they can run linux too much easier when deveping for e.g. rpi or Zyng
>
>> More RAM and more compute power would be nice.
>
>single core performance haven't improved much for years

They are E5 1603 quad core 2.8 GHz. 8G ram isn't enough, considering
that Firefox alone can run maybe 20 processes.

Maybe the sim will run faster if I close Firefox.

I use to run the ECA circuit simulator on an 8088 at a couple of MHz!

Re: Spice is great!

<8911af83-e465-4410-8994-6c90d23b5cb1n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=127166&group=sci.electronics.design#127166

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:6214:925:b0:649:9ae9:290a with SMTP id dk5-20020a056214092500b006499ae9290amr5207qvb.4.1692402127137;
Fri, 18 Aug 2023 16:42:07 -0700 (PDT)
X-Received: by 2002:a17:90b:104:b0:26d:19eb:d861 with SMTP id
p4-20020a17090b010400b0026d19ebd861mr175932pjz.9.1692402126560; Fri, 18 Aug
2023 16:42:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Fri, 18 Aug 2023 16:42:05 -0700 (PDT)
In-Reply-To: <28vvdihnp2j92eqlp4f44cfntpfkk6lpa5@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=94.145.228.129; posting-account=mW5JKwkAAAAMyuWOVeLp8yffyAkVx0g7
NNTP-Posting-Host: 94.145.228.129
References: <qhvudi9kog8q9gl75a5cv85am064mqpdn1@4ax.com> <6a9c471d-62f7-4e30-a138-1e430ca49a73n@googlegroups.com>
<gndvdihch9ao46k64uc206ag85ku411bdr@4ax.com> <mbfvdituketlqt9gh6a4v6t37h3p226tgc@4ax.com>
<uboios$cmiv$1@dont-email.me> <0fmvdi9s4aocvdrsgduoi38cll52jb4rvd@4ax.com>
<e5e63eca-c032-4976-bc41-170af887715an@googlegroups.com> <a0rvdih4b5pv80m2b2g48oaej0b8t5nujh@4ax.com>
<92b2ce5a-b789-4db5-bf17-fdeda69e105en@googlegroups.com> <28vvdihnp2j92eqlp4f44cfntpfkk6lpa5@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8911af83-e465-4410-8994-6c90d23b5cb1n@googlegroups.com>
Subject: Re: Spice is great!
From: langw...@fonz.dk (Lasse Langwadt Christensen)
Injection-Date: Fri, 18 Aug 2023 23:42:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Lasse Langwadt Chris - Fri, 18 Aug 2023 23:42 UTC

lørdag den 19. august 2023 kl. 01.27.06 UTC+2 skrev John Larkin:
> On Fri, 18 Aug 2023 15:42:26 -0700 (PDT), Lasse Langwadt Christensen
> <lang...@fonz.dk> wrote:
>
> >lørdag den 19. august 2023 kl. 00.17.55 UTC+2 skrev John Larkin:
> >> On Fri, 18 Aug 2023 15:05:16 -0700 (PDT), Lasse Langwadt Christensen
> >> <lang...@fonz.dk> wrote:
> >>
> >> >fredag den 18. august 2023 kl. 22.56.56 UTC+2 skrev John Larkin:
> >> >> On Fri, 18 Aug 2023 22:02:36 +0200, jeroen <jer...@nospam.please>
> >> >> wrote:
> >> >> >On 2023-08-18 20:52, John Larkin wrote:
> >> >> >> On Fri, 18 Aug 2023 11:29:17 -0700, John Larkin
> >> >> >> <jlarkin@highland_atwork_technology.com> wrote:
> >> >> >>
> >> >> >>> On Fri, 18 Aug 2023 10:42:16 -0700 (PDT), Fred Bloggs
> >> >> >>> <bloggs.fred...@gmail.com> wrote:
> >> >> >>>
> >> >> >>>> On Friday, August 18, 2023 at 10:25:58?AM UTC-4, John Larkin wrote:
> >> >> >>>>> On Fri, 18 Aug 2023 05:59:38 -0700 (PDT), Fred Bloggs
> >> >> >>>>> <bloggs.fred...@gmail.com> wrote:
> >> >> >>>>>> On Thursday, August 17, 2023 at 11:04:11?AM UTC-4, John Larkin wrote:
> >> >> >>>>>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
> >> >> >>>>>>> <bloggs.fred...@gmail.com> wrote:
> >> >> >>>>>>>> On Thursday, August 17, 2023 at 6:47:11?AM UTC-4, John Larkin wrote:
> >> >> >>>>>>>>> On Thu, 17 Aug 2023 00:11:11 -0000 (UTC), Phil Hobbs
> >> >> >>>>>>>>> <pcdhSpamM...@electrooptical.net> wrote:
> >> >> >>>>>>>>>
> >> >> >>>>>>>>>> John Larkin <jlarkin@highland_atwork_technology.com> wrote:
> >> >> >>>>>>>>>>>
> >> >> >>>>>>>>>>>
> >> >> >>>>>>>>>>> While my sim is running, I can do all sorts of things. Grocery shop,
> >> >> >>>>>>>>>>> prowl the web, take a nap.
> >> >> >>>>>>>>>>>
> >> >> >>>>>>>>>>> https://xkcd.com/303/
> >> >> >>>>>>>>>>>
> >> >> >>>>>>>>>>> Same idea. My alternator simulator simulation (!) takes about 25
> >> >> >>>>>>>>>>> minutes to rev up, running 10 or so PPM of real time. It's nicely
> >> >> >>>>>>>>>>> settled in about an hour.
> >> >> >>>>>>>>>>>
> >> >> >>>>>>>>>>>
> >> >> >>>>>>>>>>
> >> >> >>>>>>>>>> It’s probably pretty linear, so you could solve the DE by hand. Then you’d
> >> >> >>>>>>>>>> have more info than a stack of sims.
> >> >> >>>>>>>>> It's a mess of PWM modulators, mosfet half-bridges, cycle-by-cycle
> >> >> >>>>>>>>> current limiters, 3-phase common-mode chokes, ferrite beads, about 50
> >> >> >>>>>>>>> bypass caps. I'm not smart enough to do that analytically..
> >> >> >>>>>>>>
> >> >> >>>>>>>> Unless all those subelements interact, it's insane to simulate the whole shebang at once.
> >> >> >>>>>>> Of course they interact!
> >> >> >>>>>>>
> >> >> >>>>>>> The 200 watt floating dc/dc conveter is reasonably independent so
> >> >> >>>>>>> that's a separate sim. Ditto my soft-start circuit that ramps up the
> >> >> >>>>>>> raw 48v bus in to the dc/dc.
> >> >> >>>>>>>
> >> >> >>>>>>> High school trig was some time ago, so I have a couple of sims to
> >> >> >>>>>>> verify the basic 3-phase math. Spice could eventually destroy all our
> >> >> >>>>>>> math skills; I use it for voltage dividers and RC timing circuits too.
> >> >> >>>>>>>
> >> >> >>>>>>> Is there an anlytical way to express delay lines? I think I saw the
> >> >> >>>>>>> delay case once, in a test for PE registration as a Controls Engineer.
> >> >> >>>>>>
> >> >> >>>>>> f(t) delayed by Td is f(t-Td). Now how that works in LTSpice is another question. They do have some kind of delay function for digital subcircuits. So maybe analog->digital-> delay-> analog is the way to squeeze that into a realistic simulation.
> >> >> >>>>> LT Spice has both ideal and lossy transmission lines. A lossy line is
> >> >> >>>>> a decent model for a diffusive thing, like a thermal delay or a really
> >> >> >>>>> terrible PCB trace.
> >> >> >>>>>
> >> >> >>>>> I think conductors inside digital ICs are essentially all diffusive, R
> >> >> >>>>> and C and not much L. That's terrible for rise time.
> >> >> >>>>
> >> >> >>>> By diffusive I take it to mean frequency dependent time delay. That's much more complicated than a simple time shift. No wonder your runtime is taking forever. Do you really need to model these diffusive delays for a relay driver board??? Seems overkill.
> >> >> >>>
> >> >> >>> My super slow sim now is the PM alternator simulator board, which
> >> >> >>> doesn't have any delay lines.
> >> >> >>>
> >> >> >>> https://www.dropbox.com/scl/fi/atrtd0s0euasg0jkq3p8p/P942_23.jpg?rlkey=sis6iqz3e8uiovk3qnmvjr3gd&raw=1
> >> >> >>>
> >> >> >>> That took a half hour or so to run. Even zooming on a slice of time
> >> >> >>> takes something like a minute. I guess I need to tell it to not save
> >> >> >>> so much stuff.
> >> >> >>>
> >> >> >>
> >> >> >> I tried .save of a few nodes and it didn't change the sim time much.
> >> >> >> I'm compute bound.
> >> >> >>
> >> >> >> Zooming should improve if I don't save gigabytes of data.
> >> >> >>
> >> >> >
> >> >> >The way you go about it, no amount of computing power is ever going
> >> >> >to be enough.
> >> >> The way *I* go about it? How would you sim a polyphase switching
> >> >> supply, simulating an alternator, driving a FADEC shorting regulator?
> >> >>
> >> >> My old Win7 computer and LT Spice is a bit leisurely. But good enough.
> >> >
> >> >check how bad the cpu is
> >> >
> >> >https://www.cpubenchmark.net/singleCompare.php
> >> My computer at home died but luckily we had an identical oldish box at
> >> work and the RAID drives moved and worked in the old box.
> >>
> >> One of these years I'll need three new Win10 boxes, and maybe a spare,
> >> with all the tools and junk installed. I'm not looking forward to
> >> that. Win10 is terrible and 11 is probably worse.
> >
> >win10/11 is fine, and they can run linux too much easier when deveping for e.g. rpi or Zyng
> >
> >> More RAM and more compute power would be nice.
> >
> >single core performance haven't improved much for years
> They are E5 1603 quad core 2.8 GHz. 8G ram isn't enough, considering
> that Firefox alone can run maybe 20 processes.
>
> Maybe the sim will run faster if I close Firefox.

something like an i9-13900K is more than 2x single , 12x multi performance

Re: Spice is great!

<PJTDM.560204$SuUf.185626@fx14.iad>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=127167&group=sci.electronics.design#127167

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Subject: Re: Spice is great!
Newsgroups: sci.electronics.design
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com>
<ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com>
<6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com>
<c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com>
Content-Language: en-US
From: use...@example.net (bitrex)
In-Reply-To: <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 18
Message-ID: <PJTDM.560204$SuUf.185626@fx14.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Sat, 19 Aug 2023 00:08:15 UTC
Organization: frugalusenet - www.frugalusenet.com
Date: Fri, 18 Aug 2023 20:08:15 -0400
X-Received-Bytes: 1668
 by: bitrex - Sat, 19 Aug 2023 00:08 UTC

On 8/17/2023 11:03 AM, John Larkin wrote:

> Of course they interact!
>
> The 200 watt floating dc/dc conveter is reasonably independent so
> that's a separate sim. Ditto my soft-start circuit that ramps up the
> raw 48v bus in to the dc/dc.
>
> High school trig was some time ago, so I have a couple of sims to
> verify the basic 3-phase math. Spice could eventually destroy all our
> math skills; I use it for voltage dividers and RC timing circuits too.
>
> Is there an anlytical way to express delay lines? I think I saw the
> delay case once, in a test for PE registration as a Controls Engineer.
>

High school trig was great, they manage to stretch sin^2(x) + cos^2(x) =
1 into a full semester of material.


tech / sci.electronics.design / Re: Spice is great!

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor