Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Computers are not intelligent. They only think they are.


tech / sci.electronics.design / 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
Spice is great!

<2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!69.80.99.22.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 16 Aug 2023 23:20:38 +0000
From: jlar...@highland_atwork_technology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Spice is great!
Date: Wed, 16 Aug 2023 16:20:38 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 11
X-Trace: sv3-r0Ob3+dYgI032D5Fp0i7ln2tqhh2HlFAa8JvRLoJf0mcicjSnEnSN/WIdx77TmTSqu+UmoqC/GbbGC3!qsylGwHD9wrMD0A9qXlLZJYDco15r+fXmOs/kJyCVxBVVyxi45XzXPzwU9/CWWBw/AF+S0dxIZ6u!D9MgbA==
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 - Wed, 16 Aug 2023 23:20 UTC

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.

Re: Spice is great!

<ubjoiv$3fupa$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pcdhSpam...@electrooptical.net (Phil Hobbs)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 00:11:11 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <ubjoiv$3fupa$1@dont-email.me>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Aug 2023 00:11:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e3f607e66f8b0a10d260a608c026fc24";
logging-data="3668778"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4XSkjcJr4/71Hx5JdUy9L"
User-Agent: NewsTap/5.5 (iPhone/iPod Touch)
Cancel-Lock: sha1:Kz+ESndRcA2AxpZUHBFFTnSozAk=
sha1:T0UuvH0iebXMxh171kqEzewJ4gU=
 by: Phil Hobbs - Thu, 17 Aug 2023 00:11 UTC

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.

But then your fencing would suffer. ;)

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics,
Electro-optics, Photonics, Analog Electronics

Re: Spice is great!

<gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com>

  copy mid

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

  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: Thu, 17 Aug 2023 10:46:53 +0000
From: jlar...@highlandSNIPMEtechnology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 03:46:48 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me>
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: 48
X-Trace: sv3-e0v8N1ixLuYQ60yaQHmflvpTyGlkdtlz4H76afV4BsqE6ius0BAGejejHcVWw6fCJLMpf/nGQttVq2S!+KMmOD+avJFcLIV8m8pZX3tvMkIVaRKLHszbW/yQ768Rj2sgeRb5KgIUyG+I2uI81GRCQZluJ4hS!wxGDjA==
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 - Thu, 17 Aug 2023 10:46 UTC

On Thu, 17 Aug 2023 00:11:11 -0000 (UTC), Phil Hobbs
<pcdhSpamMeSenseless@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.

The sim includes the FADEC power supply, which rectifies the 3-phase
alternator output and shorts it when the DC voltage gets too high.

What a mess: I have the simlated alternator frequency, some low KHz.
The PWM driver stage at 250 KHz. And the simulated FADEC which PWM
shorts my fake alternator at about 30 KHz, when it feels like.

This represents the load that I'm driving, what I imagine a FADEC
power supply might do. PM alternators don't mind being shorted.

https://www.dropbox.com/scl/fi/lk0p4dj4a9dtlw1b2kh6r/Fadec_Box.jpg?rlkey=1hsxoak5xc32ul3ymdb06oh12&raw=1

It's under 10% of the total sim schematic.

>
>But then your fencing would suffer. ;)

My brain would explode. Spice avoids a lot of hard thinking.

>
>Cheers
>
>Phil Hobbs

Re: Spice is great!

<6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:6214:a6d:b0:649:afa4:5cab with SMTP id ef13-20020a0562140a6d00b00649afa45cabmr27595qvb.6.1692278293078;
Thu, 17 Aug 2023 06:18:13 -0700 (PDT)
X-Received: by 2002:a17:903:2302:b0:1bf:794:9e8f with SMTP id
d2-20020a170903230200b001bf07949e8fmr1236537plh.7.1692278292356; Thu, 17 Aug
2023 06:18:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.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: Thu, 17 Aug 2023 06:18:11 -0700 (PDT)
In-Reply-To: <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:5cc:4701:5250:b844:ba15:7fc3:728f;
posting-account=iGtwSwoAAABNNwPORfvAs6OM4AR9GRHt
NNTP-Posting-Host: 2601:5cc:4701:5250:b844:ba15:7fc3:728f
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me>
<gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com>
Subject: Re: Spice is great!
From: bloggs.f...@gmail.com (Fred Bloggs)
Injection-Date: Thu, 17 Aug 2023 13:18:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Fred Bloggs - Thu, 17 Aug 2023 13:18 UTC

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.

>
> The sim includes the FADEC power supply, which rectifies the 3-phase
> alternator output and shorts it when the DC voltage gets too high.
>
> What a mess: I have the simlated alternator frequency, some low KHz.
> The PWM driver stage at 250 KHz. And the simulated FADEC which PWM
> shorts my fake alternator at about 30 KHz, when it feels like.
>
> This represents the load that I'm driving, what I imagine a FADEC
> power supply might do. PM alternators don't mind being shorted.
>
> https://www.dropbox.com/scl/fi/lk0p4dj4a9dtlw1b2kh6r/Fadec_Box.jpg?rlkey=1hsxoak5xc32ul3ymdb06oh12&raw=1
>
> It's under 10% of the total sim schematic.
> >
> >But then your fencing would suffer. ;)
> My brain would explode. Spice avoids a lot of hard thinking.
>
>
> >
> >Cheers
> >
> >Phil Hobbs

Re: Spice is great!

<ublbg7$74th$1@solani.org>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: ali...@comet.invalid (Jan Panteltje)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 14:40:07 GMT
Message-ID: <ublbg7$74th$1@solani.org>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com> <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Aug 2023 14:40:07 -0000 (UTC)
Injection-Info: solani.org;
logging-data="234417"; mail-complaints-to="abuse@news.solani.org"
User-Agent: NewsFleX-1.5.7.5 (Linux-5.15.32-v7l+)
Cancel-Lock: sha1:cgJQNcsWpKcqd1h64n8Jj5hzVgI=
X-User-ID: eJwFwQEBACAIA7BK6oFTR4H3j+DmiB1FCw9zuaCajZxD8KHOnWg8TC61iUMebLf17s1Ba6rJVSlFh836aNMWWA==
X-Newsreader-location: NewsFleX-1.5.7.5 (c) 'LIGHTSPEED' off line news reader for the Linux platform
NewsFleX homepage: http://www.panteltje.nl/panteltje/newsflex/ and ftp download ftp://sunsite.unc.edu/pub/linux/system/news/readers/
 by: Jan Panteltje - Thu, 17 Aug 2023 14:40 UTC

On a sunny day (Thu, 17 Aug 2023 06:18:11 -0700 (PDT)) it happened Fred Bloggs
<bloggs.fredbloggs.fred@gmail.com> wrote in
<6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com>:

>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 sh=
>ebang at once.

Spice has little differences from reality in its models.
The bigger the thing the more those errors will have an effect,
likely increasing exponential.
To the point of chaos theory where one butterfly wing flapping can create glowball worming.

I looked at the circuit diagram (from J.L.) and I think I can see what it is supposed to do.
But its incomplete so ...
It is gonna need a lot of real testing no matter what that spice says.
I am sure John L knows that.

Re: Spice is great!

<c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com>

  copy mid

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

  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: Thu, 17 Aug 2023 15:03:54 +0000
From: jlar...@highlandSNIPMEtechnology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 08:03:49 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com> <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@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: 42
X-Trace: sv3-FI2EBuSG2X/sQ6GVruDb77TnBTwoFTWt4bWK15/ofBl44qyzJPplLoUXoSDstqliOeaMkh7J3rNhK8g!25imcXYaTnq341XjKYIDuoT3fN45z1GogS1IPkrrcMA/KP2Eljxz0v/I9XyfeG3goQuALvco+Atq!jqtrVA==
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 - Thu, 17 Aug 2023 15:03 UTC

On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
<bloggs.fredbloggs.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.

Re: Spice is great!

<cndsdihi7g12bco3kl3o0gm6j1nmqc11fc@4ax.com>

  copy mid

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

  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!feeder.usenetexpress.com!tr3.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: Thu, 17 Aug 2023 15:12:16 +0000
From: jlar...@highlandSNIPMEtechnology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 08:12:11 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <cndsdihi7g12bco3kl3o0gm6j1nmqc11fc@4ax.com>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com> <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com> <ublbg7$74th$1@solani.org>
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: 58
X-Trace: sv3-PAhFE5P/rpmSdpYr0Cb6OAQpId040+5pA+8NGM5KIWrq+rIPfwOt+QhnKcael/3BrmHRLAPOsT/smf3!sW1X6A8N8cydkLU6sLXqXEtV861DtOUR5Hog8rlYqaaPIU8T398O2E7AlJNESFTa6/XPtm1NjIdD!2CcVbQ==
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 - Thu, 17 Aug 2023 15:12 UTC

On Thu, 17 Aug 2023 14:40:07 GMT, Jan Panteltje <alien@comet.invalid>
wrote:

>On a sunny day (Thu, 17 Aug 2023 06:18:11 -0700 (PDT)) it happened Fred Bloggs
><bloggs.fredbloggs.fred@gmail.com> wrote in
><6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com>:
>
>>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 sh=
>>ebang at once.
>
>Spice has little differences from reality in its models.
>The bigger the thing the more those errors will have an effect,
>likely increasing exponential.
>To the point of chaos theory where one butterfly wing flapping can create glowball worming.
>
>I looked at the circuit diagram (from J.L.) and I think I can see what it is supposed to do.
>But its incomplete so ...
>It is gonna need a lot of real testing no matter what that spice says.
>I am sure John L knows that.

We already sell an alternator simulator, a big rackmount thing with a
big isolation transformer per phase. The new one is much smaller, a
single board, and doesn't have room for transformers, so it's three
half-bridges riding on the floating three-phase N node. I trust the
sim as regards the big-picture theory. The older one worked as
simulated, except for some TI class-D amps blowing up, which we
couldn't have simulated.

We'll build the FADEC regulator as a proto board so we can test things
in real life.

Re: Spice is great!

<ubleq7$3qs7o$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pcdhSpam...@electrooptical.net (Phil Hobbs)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 15:36:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <ubleq7$3qs7o$1@dont-email.me>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com>
<ubjoiv$3fupa$1@dont-email.me>
<gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com>
<6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com>
<c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Aug 2023 15:36:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e3f607e66f8b0a10d260a608c026fc24";
logging-data="4026616"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VNnBxOgHQBqtFmxBo5tmw"
User-Agent: NewsTap/5.5 (iPhone/iPod Touch)
Cancel-Lock: sha1:Z1P50m/olGckmn+cQcqI7l7cGSA=
sha1:hzMDIaufLggkZ2E5o965FATxTsI=
 by: Phil Hobbs - Thu, 17 Aug 2023 15:36 UTC

John Larkin <jlarkin@highlandSNIPMEtechnology.com> wrote:
> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
> <bloggs.fredbloggs.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.
>
>

H(f) = exp(-j 2 pi f tau)

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC /
Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics

Re: Spice is great!

<5igsdil470i700j5tmrei4fus3es26lurv@4ax.com>

  copy mid

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

  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!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 17 Aug 2023 15:55:31 +0000
From: joegw...@comcast.net (Joe Gwinn)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 11:55:31 -0400
Message-ID: <5igsdil470i700j5tmrei4fus3es26lurv@4ax.com>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com> <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com> <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com> <ubleq7$3qs7o$1@dont-email.me>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 57
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-AcN4oOPsAQSiJJhGnMSi7sCTu/c3LVrB/+RIsfTI3FwZz9ptWyCJcYs9DEGCUeo4w5VY0tgjHqbvrvy!uz1vVG/s93ttsblhwpD9kcWzOHNOM89HYHBR2jnSxiDmjelf2T78mdPGCgH4kOTpTX2Wzao=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/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: Joe Gwinn - Thu, 17 Aug 2023 15:55 UTC

On Thu, 17 Aug 2023 15:36:39 -0000 (UTC), Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:

>John Larkin <jlarkin@highlandSNIPMEtechnology.com> wrote:
>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
>> <bloggs.fredbloggs.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.
>>
>>
>
>H(f) = exp(-j 2 pi f tau)
Yes, but I think he means the Telegrapher's Equations:

..<https://en.wikipedia.org/wiki/Telegrapher%27s_equations>

Joe Gwinn

Re: Spice is great!

<ublhu1$3rbg7$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pcdhSpam...@electrooptical.net (Phil Hobbs)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 16:29:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 75
Message-ID: <ublhu1$3rbg7$1@dont-email.me>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com>
<ubjoiv$3fupa$1@dont-email.me>
<gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com>
<6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com>
<c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com>
<ubleq7$3qs7o$1@dont-email.me>
<5igsdil470i700j5tmrei4fus3es26lurv@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Aug 2023 16:29:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e3f607e66f8b0a10d260a608c026fc24";
logging-data="4042247"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7YJjzXTiXqZ4S/lron63i"
User-Agent: NewsTap/5.5 (iPhone/iPod Touch)
Cancel-Lock: sha1:S8fugsBBBKBC6vVmLrWBM9XkI0E=
sha1:arBu3Xfr+hlFwX+sgGwbJ1sN+n0=
 by: Phil Hobbs - Thu, 17 Aug 2023 16:29 UTC

Joe Gwinn <joegwinn@comcast.net> wrote:
> On Thu, 17 Aug 2023 15:36:39 -0000 (UTC), Phil Hobbs
> <pcdhSpamMeSenseless@electrooptical.net> wrote:
>
>> John Larkin <jlarkin@highlandSNIPMEtechnology.com> wrote:
>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
>>> <bloggs.fredbloggs.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.
>>>
>>>
>>
>> H(f) = exp(-j 2 pi f tau)
>
> Yes, but I think he means the Telegrapher's Equations:
>
> .<https://en.wikipedia.org/wiki/Telegrapher%27s_equations>

Maybe. I use the one I gave much more often. It’s dead useful for modeling
temperature controllers—you model the plant as a delay followed by an
integrator.

You then do a bump test, i.e. dump a half-scale current step into the TE
cooler and measure the temperature response.

You can read the model parameters right off the scope trace, or use a micro
and auto tune.

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC /
Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics

Re: Spice is great!

<ubljvr$3rlo7$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jer...@nospam.please (jeroen)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 19:04:58 +0200
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <ubljvr$3rlo7$1@dont-email.me>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com> <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com> <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com> <ubleq7$3qs7o$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Aug 2023 17:04:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1b5dea0fc9cf5f4f19c4b467fda28646";
logging-data="4052743"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xbDGRZzBITiR4K4WERKhV"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
Cancel-Lock: sha1:EWPv3J2uDw3BZUNAgiIyeRtBpkA=
In-Reply-To: <ubleq7$3qs7o$1@dont-email.me>
 by: jeroen - Thu, 17 Aug 2023 17:04 UTC

On 2023-08-17 17:36, Phil Hobbs wrote:
> John Larkin <jlarkin@highlandSNIPMEtechnology.com> wrote:
>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
>> <bloggs.fredbloggs.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.
>>
>>
>
> H(f) = exp(-j 2 pi f tau)
>
> Cheers
>
> Phil Hobbs
>

Which says, in the frequency domain, that the phase of the output is
turned backwards in proportion to the delay and to the frequency.

Delays are a nuisance in closed-loop feedback systems.

Jeroen Belleman

Re: Spice is great!

<ehksdid41mjgkn1cveua68kgnrocs62t3m@4ax.com>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.23.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 17 Aug 2023 17:07:44 +0000
From: jlar...@highland_atwork_technology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 10:07:44 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <ehksdid41mjgkn1cveua68kgnrocs62t3m@4ax.com>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com> <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com> <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com> <ubleq7$3qs7o$1@dont-email.me> <5igsdil470i700j5tmrei4fus3es26lurv@4ax.com> <ublhu1$3rbg7$1@dont-email.me>
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: 83
X-Trace: sv3-ZFotkAM2EEekfV+Cqn9N6UCnbEXo3COlHq7axxLOV1oW55CVNsYPg4ZMZQ6qqfR3NR8aarlD1eof5iB!O5/lASLQ4jb3vzseE252jZbrRmoPQ8djxBNvl4LwxMoUNqpU/92efZgN4EwNtf3F06uHisZGPsxo!CrQvyw==
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
X-Received-Bytes: 4740
 by: John Larkin - Thu, 17 Aug 2023 17:07 UTC

On Thu, 17 Aug 2023 16:29:53 -0000 (UTC), Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:

>Joe Gwinn <joegwinn@comcast.net> wrote:
>> On Thu, 17 Aug 2023 15:36:39 -0000 (UTC), Phil Hobbs
>> <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>
>>> John Larkin <jlarkin@highlandSNIPMEtechnology.com> wrote:
>>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
>>>> <bloggs.fredbloggs.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.
>>>>
>>>>
>>>
>>> H(f) = exp(-j 2 pi f tau)
>>
>> Yes, but I think he means the Telegrapher's Equations:
>>
>> .<https://en.wikipedia.org/wiki/Telegrapher%27s_equations>
>
>Maybe. I use the one I gave much more often. It’s dead useful for modeling
>temperature controllers—you model the plant as a delay followed by an
>integrator.
>
>You then do a bump test, i.e. dump a half-scale current step into the TE
>cooler and measure the temperature response.
>
>You can read the model parameters right off the scope trace, or use a micro
>and auto tune.
>
>Cheers
>
>Phil Hobbs

What about startup slewing?

We use Spice to model fairly high-order tremperature controllers and
the small-signal loop response is only part of the concern. A recent
customer wanted an optical modulator to get stable to 0.05c in one
hour from cold start, and that's substantially nonlinear.

The hard part of simming that is modeling diffusion and estimating
heat losses to ambient from various surfaces of the oven box.

Re: Spice is great!

<34a194ac-fdc7-d22c-b9d9-a3ed83559a9f@electrooptical.net>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.23.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 17 Aug 2023 18:27:06 +0000
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> <ubleq7$3qs7o$1@dont-email.me> <5igsdil470i700j5tmrei4fus3es26lurv@4ax.com> <ublhu1$3rbg7$1@dont-email.me> <ehksdid41mjgkn1cveua68kgnrocs62t3m@4ax.com>
From: pcdhSpam...@electrooptical.net (Phil Hobbs)
Message-ID: <34a194ac-fdc7-d22c-b9d9-a3ed83559a9f@electrooptical.net>
Date: Thu, 17 Aug 2023 14:27:05 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.0
MIME-Version: 1.0
In-Reply-To: <ehksdid41mjgkn1cveua68kgnrocs62t3m@4ax.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 141
X-Trace: sv3-enoch4EK2kyl93zVMzx6Kg45ktpxrFPlfCHWIAvxzwlfoA9llc4NyBy9zmXiU3iOrzNreyKdtBrC4cX!eNOalgcL0L87AGjHBAheadYylCmBZ27ScZcu36e/WBLXN7UWE7v8mLeLv9ptc5bmfkl7RKB85Px/!IYANt9wT0Z/CciV1fh29sznE
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: Phil Hobbs - Thu, 17 Aug 2023 18:27 UTC

On 2023-08-17 13:07, John Larkin wrote:
> On Thu, 17 Aug 2023 16:29:53 -0000 (UTC), Phil Hobbs
> <pcdhSpamMeSenseless@electrooptical.net> wrote:
>
>> Joe Gwinn <joegwinn@comcast.net> wrote:
>>> On Thu, 17 Aug 2023 15:36:39 -0000 (UTC), Phil Hobbs
>>> <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>>
>>>> John Larkin <jlarkin@highlandSNIPMEtechnology.com> wrote:
>>>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
>>>>> <bloggs.fredbloggs.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.
>>>>>
>>>>>
>>>>
>>>> H(f) = exp(-j 2 pi f tau)
>>>
>>> Yes, but I think he means the Telegrapher's Equations:
>>>
>>> .<https://en.wikipedia.org/wiki/Telegrapher%27s_equations>
>>
>> Maybe. I use the one I gave much more often. It’s dead useful for
>> modeling temperature controllers—you model the plant as a delay
>> followed by an integrator.
>>
>> You then do a bump test, i.e. dump a half-scale current step into
>> the TE cooler and measure the temperature response.
>>
>> You can read the model parameters right off the scope trace, or use
>> a micro and auto tune.

>
> What about startup slewing?

That's actually the beauty of the bump test autotune approach.

Any time you've got a slow plant that you want to speed up by adding
gain, you have to worry about windup. That's not too hard though--you
just stop updating the integrator during slew.

With TE coolers, the main issue is actually plain ol' linear overshoot.
For a given cooler and heat sink, there's a drive current value where
d(Tcold)/ dI crosses zero. At that point, the sign of the loop gain
inverts, which leads to Bad Things.

If your controller is underdamped, it's easy for the overshoot to put
you in that territory, so you design the autotuning to give you 70
degrees or so of phase margin, which will prevent that from happening.
(Obviously you put in some belt'n'braces safeguards as well.)

To get good bandwidth with a TEC loop, I usually make the cold plate out
of FR4 with lots of via stitching, with a bare ENIG pour up against the
TEC. One or two 0603 thermistors solder to the pour, right beside the
edge of the TEC. That's good for control bandwidths up to a couple of
hertz with small coolers.

(TECs are quicker than you might think--the cooling happens right where
the PbTe bars solder to the alumina, whereas the I2R heating is
distributed fairly uniformly along their length.)
>
> We use Spice to model fairly high-order tremperature controllers and
> the small-signal loop response is only part of the concern. A recent
> customer wanted an optical modulator to get stable to 0.05c in one
> hour from cold start, and that's substantially nonlinear.

How hard that is depends almost entirely on its physical size. If it
gets too big, you wind up having to use multiple zones, which gets
complicated in a hurry.

> The hard part of simming that is modeling diffusion and estimating
> heat losses to ambient from various surfaces of the oven box.

Diffusion isn't that difficult in homogeneous materials. If you have a
squint at Section 20.3 in my thermal control chapter,

<https://electrooptical.net/static/media/uploads/hobbsbeos3echapter20.pdf>,
I go into a lot of that stuff in a semi-analytical way that has been
super useful. Dunno about your particular case, of course, but most of
mine have used a lot of chunks of homogeneous material. ;)

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510

http://electrooptical.net
http://hobbs-eo.com

Re: Spice is great!

<p6tsdi168g7pka15frrfkdu9moe492p9ot@4ax.com>

  copy mid

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

  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!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 17 Aug 2023 19:29:32 +0000
From: joegw...@comcast.net (Joe Gwinn)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 15:29:31 -0400
Message-ID: <p6tsdi168g7pka15frrfkdu9moe492p9ot@4ax.com>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com> <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com> <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com> <ubleq7$3qs7o$1@dont-email.me> <5igsdil470i700j5tmrei4fus3es26lurv@4ax.com> <ublhu1$3rbg7$1@dont-email.me>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 72
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-a1i2Vh+mKnUjZ4gbEtOnKEYqHJOODm9fx47TI+yDdaenrdt6Q/aNM+ouTNm8DcbvBWpo2iAG1l+GfdN!+TizWQaPfqVxfM2ESEWNmF8symeBpxEAisuPwVPazmdlBAHdYR2f3hJaCX793ICGqrD4MvI=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/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: Joe Gwinn - Thu, 17 Aug 2023 19:29 UTC

On Thu, 17 Aug 2023 16:29:53 -0000 (UTC), Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:

>Joe Gwinn <joegwinn@comcast.net> wrote:
>> On Thu, 17 Aug 2023 15:36:39 -0000 (UTC), Phil Hobbs
>> <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>
>>> John Larkin <jlarkin@highlandSNIPMEtechnology.com> wrote:
>>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
>>>> <bloggs.fredbloggs.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.
>>>>
>>>>
>>>
>>> H(f) = exp(-j 2 pi f tau)
>>
>> Yes, but I think he means the Telegrapher's Equations:
>>
>> .<https://en.wikipedia.org/wiki/Telegrapher%27s_equations>
>
>Maybe. I use the one I gave much more often. It’s dead useful for modeling
>temperature controllers—you model the plant as a delay followed by an
>integrator.
>
>You then do a bump test, i.e. dump a half-scale current step into the TE
>cooler and measure the temperature response.
>
>You can read the model parameters right off the scope trace, or use a micro
>and auto tune.

Yes. Is the PE test for Control Engineers that advanced?

Joe Gwinn

Re: Spice is great!

<a4dtdidmhjgk7g1q578241q65igmm1d4ce@4ax.com>

  copy mid

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

  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 00:14:20 +0000
From: jlar...@highlandSNIPMEtechnology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Thu, 17 Aug 2023 17:14:14 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <a4dtdidmhjgk7g1q578241q65igmm1d4ce@4ax.com>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com> <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com> <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com> <ubleq7$3qs7o$1@dont-email.me> <5igsdil470i700j5tmrei4fus3es26lurv@4ax.com> <ublhu1$3rbg7$1@dont-email.me> <ehksdid41mjgkn1cveua68kgnrocs62t3m@4ax.com> <34a194ac-fdc7-d22c-b9d9-a3ed83559a9f@electrooptical.net>
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: 160
X-Trace: sv3-fgnf0As9PKUIYv1anJSTkr65fMuosHKD3cVZOpE4wqGppeOrlCVjRXb1Gbtyjcfqi6bUdqhV+qEVsQm!zZQ36CgnuhkR95Oa1awcaS7DDvS/IGFQLtHMgrbLwIL6S7A0TLs3ivgsg3B0ZabF1/TeCs73xfzx!TYYWow==
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 00:14 UTC

On Thu, 17 Aug 2023 14:27:05 -0400, Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:

>
>On 2023-08-17 13:07, John Larkin wrote:
>> On Thu, 17 Aug 2023 16:29:53 -0000 (UTC), Phil Hobbs
>> <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>
>>> Joe Gwinn <joegwinn@comcast.net> wrote:
>>>> On Thu, 17 Aug 2023 15:36:39 -0000 (UTC), Phil Hobbs
>>>> <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>>>
>>>>> John Larkin <jlarkin@highlandSNIPMEtechnology.com> wrote:
>>>>>> On Thu, 17 Aug 2023 06:18:11 -0700 (PDT), Fred Bloggs
>>>>>> <bloggs.fredbloggs.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.
>>>>>>
>>>>>>
>>>>>
>>>>> H(f) = exp(-j 2 pi f tau)
>>>>
>>>> Yes, but I think he means the Telegrapher's Equations:
>>>>
>>>> .<https://en.wikipedia.org/wiki/Telegrapher%27s_equations>
>>>
>>> Maybe. I use the one I gave much more often. It’s dead useful for
>>> modeling temperature controllers—you model the plant as a delay
>>> followed by an integrator.
>>>
>>> You then do a bump test, i.e. dump a half-scale current step into
>>> the TE cooler and measure the temperature response.
>>>
>>> You can read the model parameters right off the scope trace, or use
>>> a micro and auto tune.
>
>>
>> What about startup slewing?
>
>That's actually the beauty of the bump test autotune approach.
>
>Any time you've got a slow plant that you want to speed up by adding
>gain, you have to worry about windup. That's not too hard though--you
>just stop updating the integrator during slew.
>
>With TE coolers, the main issue is actually plain ol' linear overshoot.
> For a given cooler and heat sink, there's a drive current value where
>d(Tcold)/ dI crosses zero. At that point, the sign of the loop gain
>inverts, which leads to Bad Things.
>
>If your controller is underdamped, it's easy for the overshoot to put
>you in that territory, so you design the autotuning to give you 70
>degrees or so of phase margin, which will prevent that from happening.
>(Obviously you put in some belt'n'braces safeguards as well.)
>
>To get good bandwidth with a TEC loop, I usually make the cold plate out
>of FR4 with lots of via stitching, with a bare ENIG pour up against the
>TEC. One or two 0603 thermistors solder to the pour, right beside the
>edge of the TEC. That's good for control bandwidths up to a couple of
>hertz with small coolers.
>
>(TECs are quicker than you might think--the cooling happens right where
>the PbTe bars solder to the alumina, whereas the I2R heating is
>distributed fairly uniformly along their length.)
>>
>> We use Spice to model fairly high-order tremperature controllers and
>> the small-signal loop response is only part of the concern. A recent
>> customer wanted an optical modulator to get stable to 0.05c in one
>> hour from cold start, and that's substantially nonlinear.
>
>How hard that is depends almost entirely on its physical size. If it
>gets too big, you wind up having to use multiple zones, which gets
>complicated in a hurry.
>
>> The hard part of simming that is modeling diffusion and estimating
>> heat losses to ambient from various surfaces of the oven box.
>
>Diffusion isn't that difficult in homogeneous materials. If you have a
>squint at Section 20.3 in my thermal control chapter,
>
><https://electrooptical.net/static/media/uploads/hobbsbeos3echapter20.pdf>,
>I go into a lot of that stuff in a semi-analytical way that has been
>super useful. Dunno about your particular case, of course, but most of
>mine have used a lot of chunks of homogeneous material. ;)
>
>Cheers
>
>Phil Hobbs

Here's the eo gadget oven, with the big top off.

https://www.dropbox.com/s/f6h8tfyq0xkqx1q/Oven_Cables_pub.jpg?dl=0

The eo modulator is inside the oven, on a secondary platform on some
not super thermally conductive spacers. The temp sensor, a
two-thermistor wheatstone bridge, is on the bottom of the platform
with a flex cable going down to the controller. The heaters are a lot
of mosfets on the bottom of the big box.

The platform adds a second lag to the loop, which lowpass filters temp
transients a bit but mostly prevents temp gradients from getting into
the eo modulator.

That's a dual-stage Mach-Zender modulator, which depends on
cancellation of a zillion light wavelengths against a zillion and some
plus 0.5 wavelengths, so it's pretty temperature sensitive and the
customer wants extreme extinction.

It was Spiced and came out about as expected.

The coax cables conduct heat too, which was measured and included in
the model.

Re: Spice is great!

<ubmtq8$7u5e$1@solani.org>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: ali...@comet.invalid (Jan Panteltje)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Fri, 18 Aug 2023 04:58:48 GMT
Message-ID: <ubmtq8$7u5e$1@solani.org>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me> <gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com> <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com> <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com> <ubleq7$3qs7o$1@dont-email.me> <5igsdil470i700j5tmrei4fus3es26lurv@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 18 Aug 2023 04:58:48 -0000 (UTC)
Injection-Info: solani.org;
logging-data="260270"; mail-complaints-to="abuse@news.solani.org"
User-Agent: NewsFleX-1.5.7.5 (Linux-5.15.32-v7l+)
Cancel-Lock: sha1:rAoue3IXJo54ZwdmfAnGI8LIFuU=
X-Newsreader-location: NewsFleX-1.5.7.5 (c) 'LIGHTSPEED' off line news reader for the Linux platform
NewsFleX homepage: http://www.panteltje.nl/panteltje/newsflex/ and ftp download ftp://sunsite.unc.edu/pub/linux/system/news/readers/
X-User-ID: eJwNy8cBgDAMA8CVYiK3cXDR/iPA/U+vibXD1KBUph8NPSMtWyGFQvhSlvn0iyuJxuT6DM+/MurGPBQmK7gfTAYV4g==
 by: Jan Panteltje - Fri, 18 Aug 2023 04:58 UTC

On a sunny day (Thu, 17 Aug 2023 11:55:31 -0400) it happened Joe Gwinn
<joegwinn@comcast.net> wrote in <5igsdil470i700j5tmrei4fus3es26lurv@4ax.com>:

>Yes, but I think he means the Telegrapher's Equations:
>
>.<https://en.wikipedia.org/wiki/Telegrapher%27s_equations>

Thank you, nice link.

Re: Spice is great!

<53451621-62ee-46a1-be97-6b2152da8bfcn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:622a:1aa1:b0:401:df93:4d8 with SMTP id s33-20020a05622a1aa100b00401df9304d8mr28290qtc.11.1692363579688;
Fri, 18 Aug 2023 05:59:39 -0700 (PDT)
X-Received: by 2002:a17:902:e74d:b0:1bc:7312:78e0 with SMTP id
p13-20020a170902e74d00b001bc731278e0mr817666plf.6.1692363579279; Fri, 18 Aug
2023 05:59:39 -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 05:59:38 -0700 (PDT)
In-Reply-To: <c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:5cc:4701:5250:d8d5:bd2e:a403:d5e6;
posting-account=iGtwSwoAAABNNwPORfvAs6OM4AR9GRHt
NNTP-Posting-Host: 2601:5cc:4701:5250:d8d5:bd2e:a403:d5e6
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <ubjoiv$3fupa$1@dont-email.me>
<gjtrdi55mf6l7fbqfatvhgrcu9jel87bu2@4ax.com> <6e59a97a-a0a5-4176-a4c8-199e60a5edc6n@googlegroups.com>
<c3dsditigko72clbeae80jkgu7vv73tlb6@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <53451621-62ee-46a1-be97-6b2152da8bfcn@googlegroups.com>
Subject: Re: Spice is great!
From: bloggs.f...@gmail.com (Fred Bloggs)
Injection-Date: Fri, 18 Aug 2023 12:59:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Fred Bloggs - Fri, 18 Aug 2023 12:59 UTC

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.

Re: Spice is great!

<qhvudi9kog8q9gl75a5cv85am064mqpdn1@4ax.com>

  copy mid

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

  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 14:25:40 +0000
From: jlar...@highlandSNIPMEtechnology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Fri, 18 Aug 2023 07:25:34 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <qhvudi9kog8q9gl75a5cv85am064mqpdn1@4ax.com>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <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>
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: 55
X-Trace: sv3-hFY7gQr9aBkcVEfdtX+CpCtbO1OXqp5FawjuCK1FuqELN65ARbeO58XEvnuwXyLr5QINfVS8+a5LPjV!/O0LtTNENPkbCOWsP8+TS8k7F7nesGldafsTg4oWf/aPcglGR4Zw7RHk1G3UDudn2w1s7i3y+OTD!uTQUww==
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 14:25 UTC

On Fri, 18 Aug 2023 05:59:38 -0700 (PDT), Fred Bloggs
<bloggs.fredbloggs.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.

Re: Spice is great!

<6a9c471d-62f7-4e30-a138-1e430ca49a73n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ad4:5a14:0:b0:64a:ef9d:cfba with SMTP id ei20-20020ad45a14000000b0064aef9dcfbamr36078qvb.7.1692380537542;
Fri, 18 Aug 2023 10:42:17 -0700 (PDT)
X-Received: by 2002:a17:90b:1295:b0:26b:5182:d042 with SMTP id
fw21-20020a17090b129500b0026b5182d042mr735196pjb.2.1692380536906; Fri, 18 Aug
2023 10:42:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.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 10:42:16 -0700 (PDT)
In-Reply-To: <qhvudi9kog8q9gl75a5cv85am064mqpdn1@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:5cc:4701:5250:3d82:fd83:7657:5e5d;
posting-account=iGtwSwoAAABNNwPORfvAs6OM4AR9GRHt
NNTP-Posting-Host: 2601:5cc:4701:5250:3d82:fd83:7657:5e5d
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6a9c471d-62f7-4e30-a138-1e430ca49a73n@googlegroups.com>
Subject: Re: Spice is great!
From: bloggs.f...@gmail.com (Fred Bloggs)
Injection-Date: Fri, 18 Aug 2023 17:42:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4620
 by: Fred Bloggs - Fri, 18 Aug 2023 17:42 UTC

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.

Re: Spice is great!

<gndvdihch9ao46k64uc206ag85ku411bdr@4ax.com>

  copy mid

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

  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 18:29:17 +0000
From: jlar...@highland_atwork_technology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Fri, 18 Aug 2023 11:29:17 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <gndvdihch9ao46k64uc206ag85ku411bdr@4ax.com>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <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>
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: 70
X-Trace: sv3-brzNa+vRcvHS3nzsNuute4OzSXbqSKQNB5rDU9C648hSU+czVh9aeuLY1y7FI+ky2AfB0LPTSDgDABS!VuSYZrwOIUq/pHucK2aEIHK+Cg4TwVX58pGldGC953Lvsiw6U0xYD3oVqU0+7Ap3/TlmPXUEuaUZ!WuukOw==
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 18:29 UTC

On Fri, 18 Aug 2023 10:42:16 -0700 (PDT), Fred Bloggs
<bloggs.fredbloggs.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 have used lossy delay lines to simulate thermal systems, where the
lag between the heater and the temp sensor is diffusive. Thermal
systems have the equivalent of R and C but no equivalent of L.

Re: Spice is great!

<mbfvdituketlqt9gh6a4v6t37h3p226tgc@4ax.com>

  copy mid

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

  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 18:52:22 +0000
From: jlar...@highland_atwork_technology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Fri, 18 Aug 2023 11:52:22 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <mbfvdituketlqt9gh6a4v6t37h3p226tgc@4ax.com>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <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>
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: 75
X-Trace: sv3-jDliSOLnllC/hKKQnRXPPSfvj/IPZU2mthqF8HUbKokyRwasuEuJs5TrS/3OD5B9WMHzruQ45CJUBsH!zIMCR4VRY6FKHEUsmXDic79YPIeODSl8TRBzXQRYUKlhoaLkO93Y1lGx0usV9IlLpm1o8P3loaIu!pz6/4Q==
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 18:52 UTC

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.fredbloggs.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.

Re: Spice is great!

<ac15f0cd-d7da-4675-a77e-dc6c30153570n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:6214:b03:b0:649:74d0:c0ba with SMTP id u3-20020a0562140b0300b0064974d0c0bamr1294qvj.2.1692385469351;
Fri, 18 Aug 2023 12:04:29 -0700 (PDT)
X-Received: by 2002:a63:9d08:0:b0:55a:12cf:3660 with SMTP id
i8-20020a639d08000000b0055a12cf3660mr18335pgd.1.1692385469037; Fri, 18 Aug
2023 12:04:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.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 12:04:28 -0700 (PDT)
In-Reply-To: <mbfvdituketlqt9gh6a4v6t37h3p226tgc@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: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ac15f0cd-d7da-4675-a77e-dc6c30153570n@googlegroups.com>
Subject: Re: Spice is great!
From: suna...@gmail.com (John May)
Injection-Date: Fri, 18 Aug 2023 19:04:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5911
 by: John May - Fri, 18 Aug 2023 19:04 UTC

On Friday, August 18, 2023 at 7:52:37 PM UTC+1, 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.

Give SIMPLIS a try, you'll speed simulations up by an order of magnitude.

Re: Spice is great!

<64jvdidv5a70ilcp348pfmvqjp0ig7pj4v@4ax.com>

  copy mid

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

  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 20:01:11 +0000
From: jlar...@highland_atwork_technology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Fri, 18 Aug 2023 13:01:11 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <64jvdidv5a70ilcp348pfmvqjp0ig7pj4v@4ax.com>
References: <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> <ac15f0cd-d7da-4675-a77e-dc6c30153570n@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: 92
X-Trace: sv3-7SgJysTIRcKt6/xNYC23fWGxHdSNo8ZIJ4zONMM3VypNb5URkmzetqM+aNcWfNcS7Dw+I1iYqXN42WI!raI2xhBT7AE/xjqgbGhc7ZuA7JnUJM009wi2DzWyG5dmPzF/zYNNn1zIaVFO9MDc1mdaBdeOOBuZ!+mPwAA==
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 20:01 UTC

On Fri, 18 Aug 2023 12:04:28 -0700 (PDT), John May <sunaeco@gmail.com>
wrote:

>On Friday, August 18, 2023 at 7:52:37?PM UTC+1, 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.
>
>Give SIMPLIS a try, you'll speed simulations up by an order of magnitude.

I'm really used to LT Spice, and it's great for most things. This one
case runs really slow.

One selling point for LT Spice is all the part models that are
available. How does SIMPLIS compare in that respect?

I really want 5000:1 speedup and sliders on parts so I can tweak and
see results instantly, like a breadboard with a trimpot and a scope.

Our big e/o modulator oven was slow in sim *and* in real time!
Realtime was worse. What a nuisance.

Re: Spice is great!

<uboios$cmiv$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jer...@nospam.please (jeroen)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Fri, 18 Aug 2023 22:02:36 +0200
Organization: A noiseless patient Spider
Lines: 81
Message-ID: <uboios$cmiv$1@dont-email.me>
References: <2vlqdihjndcch39dkiopv5sutvilarbq6d@4ax.com> <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>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 18 Aug 2023 20:02:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="40fc168f02376aa6ec7ae4043b40c653";
logging-data="416351"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ydk3CHbpvckTSM0Qe+MNY"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
Cancel-Lock: sha1:c+5LRDLPUMW+2L6WwHC7DoyeTXw=
In-Reply-To: <mbfvdituketlqt9gh6a4v6t37h3p226tgc@4ax.com>
 by: jeroen - Fri, 18 Aug 2023 20:02 UTC

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.fredbloggs.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.

Jeroen Belleman

Re: Spice is great!

<0fmvdi9s4aocvdrsgduoi38cll52jb4rvd@4ax.com>

  copy mid

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

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.26.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 20:56:41 +0000
From: jlar...@highland_atwork_technology.com (John Larkin)
Newsgroups: sci.electronics.design
Subject: Re: Spice is great!
Date: Fri, 18 Aug 2023 13:56:41 -0700
Organization: Highland Tech
Reply-To: xx@yy.com
Message-ID: <0fmvdi9s4aocvdrsgduoi38cll52jb4rvd@4ax.com>
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>
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: 94
X-Trace: sv3-vGAvb05GXxAc19ztMK9tT2hVHguj4wQ+q0jy+i+Qo/VChkO3eB/JU6QQghTHwQoVbIH7eP1cMi5A+AB!WWzfubZGMSN6S7shQk5fN9qsO9uD/BE5/jZ2H55WKCG+EdrgEiogCaHT9X0xwCb37y1NiZuAgvk1!A8smfQ==
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
X-Received-Bytes: 5954
 by: John Larkin - Fri, 18 Aug 2023 20:56 UTC

On Fri, 18 Aug 2023 22:02:36 +0200, jeroen <jeroen@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.fredbloggs.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.


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

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor