J
John Larkin
Guest
On Fri, 18 Aug 2023 10:42:16 -0700 (PDT), Fred Bloggs
<bloggs.fredbloggs.fred@gmail.com> wrote:
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.
<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.
Its probably pretty linear, so you could solve the DE by hand. Then youd
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.