Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: Any Good Reason to Plumb Ground Out of Hier. Schem.
¿ªÔÆÌåÓýThe only things that you can plumb in English
are 'the depths'. On 2025-02-04 21:43, mstokowski via
groups.io wrote:
-- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying |
Re: Any Good Reason to Plumb Ground Out of Hier. Schem.
Oof, forgot the tongue in cheek. Mistakes were made. Apologies.
?
As noted by others, plumbing is used sometimes to explain basic DC electronics, not much beyond that.
?
That said, I liked the poetic (incorrect) use of plumb as a verb in this case, but agree it does not easily translate.
--
Michael Stokowski LTspice Team Analog Devices Inc. |
Re: In need of some zeners or maybe model them myself
On Tue, Feb 4, 2025 at 04:34 AM, John Woodgate wrote:
Yeah. I can't get anywhere with that site. They have their own simulators now but, nothing remotely hinting towards helping me find the type of old analog component that I need. I even searched through their community forum and some other related link but, nothing. Thanks anyway. |
Dual Power Supply
¿ªÔÆÌåÓýI just uploaded a new version of the LM317/LM337 power supply. ? Fully functional Dual Power Supply using LM3x7 regulators. Reference diodes replaced by single silicon diodes, This works but may not provide the full adjustment range intended, Values for Rpot chosen by successive approximation. ? Dave |
Re: Any Good Reason to Plumb Ground Out of Hier. Schem.
What Tony is saying is that you (eewiz) started this topic by replying to a message in another topic and changing the Subject line.? Please don't do that.
?
To those who do not use email programs like Thunderbird that properly thread replies, you probably can't tell the difference.? But to others, your message displays in the wrong place, as a reply to someone else's topic.? You hijacked their topic.
?
New topics must start by clicking "New Topic" (on the web) or "Start new message" or "Compose" or whatever in your email program.
?
This group's email address is simple enough to remember: LTspice (at) groups.io .? Add it to your Address Book.
?
Andy
? |
Re: THD 0.000000%?
Tony asked:
Why do you think more cycles would give you a better result? That's an interesting question.
?
Theoretically, one ought to see identical results from either 1 cycle or 1000 cycles.? But it is sampled data and it's imperfect.? There might be some logic to using many cycles for the? .FOUR calculation, since it should randomize the samples over a cycle better.? Looking at it another way, it averages the calculated amplitudes over many cycles if (a big IF) the calculation over one cycle could be slightly off.
?
I'm hesitant to mention the following because I don't think it has much impact on this, but maybe it does when you are trying to see components that are way down in the mud, so to speak.? The timesteps are not uniform over a simulation.? LTspice sets them quite small at the start, and lets them expand until they reach Maximum Timestep or another factor puts a cap on them.? It briefly throttles the timestep again at the "Time to start saving data", and again at the end of the simulation.? It needs to hit those points exactly, without having an unintentional "timestep too small" error, so it throttles the timestep briefly as it's approaching either point.
?
Now if you are concerned that unequal timesteps might impair your Fourier analysis - which is perhaps not unreasonable when talking about parts-per-billion or so - then you might try to avoid applying the .FOUR both right after "Time to start saving data", and right before the end of the simulation.? The former, you can control.? The latter, you can't.? .FOUR always takes the last samples in a simulation, which theoretically might be ever-so-slightly altered (I hesitate to say "corrupted") because of the throttled timestep.
?
Averaging Fourier over several cycles might mitigate this effect because most of those cycles have uniform timesteps.? At least on paper it would.
?
Again, I emphasize that we're talking about down-in-the-mud concerns here, which might or might not change the results.
?
I haven't seen your full schematic, but did you remember to use .options plotwinsize=0 and set the maximum timestep to a good fraction of a cycle? I normally set Tmax to 1/period/2^n, with n normally between 8 and 16, depending on the expected level of THD with a suitable trade-off in analysis time. Normally Fourier stuff like things in binary multiples, but I understand LTspice's algorithms are much less fussy. He did all that.? I think he used 2**16 for period-to-maximum-timestep ratio.? He also used the higher NUMDGT.
?
Andy
? |
Re: THD 0.000000%?
¿ªÔÆÌåÓýUsing more cycles gives an average level of
each harmonic, which may compensate for errors due to the
'start' epoch of the simulation. I find it useful to set
the.TRAN simulation to ignore the early cycles that look
distorted, but 'look' is sometimes not good enough; some
transient harmonic levels that are significant are still being
included. If I'm not confident about the reported result, I
change the .TRAN to save results later and/or simulate for
longer. The other aspect of .TRAN simulation time is that if you
set it too short it will not resolve very low frequency
components. For example, a 50ms simulation will not show a 10Hz
component. On 2025-02-04 16:57, Tony Casey wrote:
Did you try just letting .FOUR use its defaults? -- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying |
Parallel MOSFETs
Four hours ago, group member "EE20BT043.alum24" uploaded a schematic and two photos, about a circuit with parallel-connected MOSFETs..? Or maybe it's about series and parallel MOSFETs.
?
But she/he has forgotten to send any message here about it.
?
EE20BT043.alum24, it looks like all your parallel-connected N-channel MOSFETs are biased hard OFF so they never turn ON.? Is that what you wanted?? The gate voltage is much too low to turn them ON.? Their current is essentially zero.
?
EE20BT043.alum24, do you have a statement to make?? Are you asking any questions about your circuit?
?
Without a question or comments here in the messages, nobody can answer your unspoken question or concern.
?
What is going on?
?
For everyone else, her/his schematic is "parallel mosfet ckt.asc" in the Temp folder, and the two screenshots are in the photo album "series and parallel simulation of MOSFETS" (/g/LTspice/album?id=300494).? The comments in the schematic refer to N1, N2, P1, and P2.? Those are signal names, not the names of MOSFETs.
?
Andy
? |
Re: Any Good Reason to Plumb Ground Out of Hier. Schem.
¿ªÔÆÌåÓýThere's always a good reason to start a new topic on a different subject, rather than hijack existing one that's completely unrelated. It may not matter to you, but it messes things up for people that read messages in threads.Please don't do this! -- Regards,
Tony On 04/02/2025 02:26, eewiz via
groups.io wrote:
|
Re: THD 0.000000%?
¿ªÔÆÌåÓýDid you try just letting .FOUR use its defaults?My experience that it is pretty consistent. Why do you think more cycles would give you a better result? Just make sure the waveform display is comfortably more than the number of cycles the .FOUR uses. I normally use the default of 1 cycle, but display between 3 and 6 cycles for good good visual. .FOUR will use the last cycle of the waveform. I haven't seen your full schematic, but did you remember to use .options plotwinsize=0 and set the maximum timestep to a good fraction of a cycle? I normally set Tmax to 1/period/2^n, with n normally between 8 and 16, depending on the expected level of THD with a suitable trade-off in analysis time. Normally Fourier stuff like things in binary multiples, but I understand LTspice's algorithms are much less fussy. -- Regards,
Tony On 04/02/2025 16:32, rlim701 via
groups.io wrote:
I spoke too soon.? Still not getting consistent THD results.? The latest zipped files (thd_debug.zip) show that changing .param fft_cycles=67 brought back the 'thd=0.000000% line again even though I added extra end time and also subtracted 1 cycle from .FOUR.? Would appreciate other thoughts to at least get some consistent results.? What I am essentially doing is tuning the simulator via fft_cycles and fft_throw_cycles to get a trustworthy thd number, but whenever I try that by increasing either parameters, I seem to eventually end up back to all zeros. |
Re: Any Good Reason to Plumb Ground Out of Hier. Schem.
On Tue, Feb 4, 2025 at 11:30 AM, Jerry Lee Marcel wrote:
Maybe I'm dumb, but I don't know what eewiz meant in this context.? Some things that came to my mind are these: ?
To "plumb" might mean to bring something straight to ground.? I'm thinking about a "plumb line", which is a carpenter's tool, not related to plumbing or what a plumber does.
?
To "plumb" might mean to direct or re-route something to somewhere else, through some other path.? This is what a plumber does with pipes.
?
Electronics is somewhat similar to the second version.? The wires are like pipes that move the electrons around.? That is the kind of thing you might hear once, and then never again, so it is no surprise if you never heard that.
?
Andy
? |
Re: Any Good Reason to Plumb Ground Out of Hier. Schem.
¿ªÔÆÌåÓýDC circuits can be modelled as the flow of
water along pipes of different diameters and lengths, but
modelling AC circuits becomes very complicated and usually not
useful. On 2025-02-04 16:30, Jerry Lee Marcel
via groups.io wrote:
I must say I'd like a translation? pof plumbing in the realm of electronics. -- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying |
Re: Any Good Reason to Plumb Ground Out of Hier. Schem.
¿ªÔÆÌåÓýNot really. Simple DC circuits can use
plumbing analogies, as can EMI shielding, but AC circuits
require little-known fluid dynamics, so that plumbing analogies
are not helpful. On 2025-02-04 16:20, mstokowski via
groups.io wrote:
¡°Electronics is just plumbing,¡± is universally idiomatic, no? -- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying |
Re: Any Good Reason to Plumb Ground Out of Hier. Schem.
Le 04/02/2025 ¨¤ 17:20, mstokowski via groups.io a ¨¦crit?:
¡°Electronics is just plumbing,¡± is universally idiomatic, no?Certainly not. Never heard of it in 50 years of contact with english and american electronic designers. Honest, I fail to understand what it means. |
Re: Any Good Reason to Plumb Ground Out of Hier. Schem.
¿ªÔÆÌåÓýI must say I'd like a translation? pof plumbing in the realm of
electronics. Le 04/02/2025 ¨¤ 17:20, mstokowski via
groups.io a ¨¦crit?:
|
Re: Any Good Reason to Plumb Ground Out of Hier. Schem.
On Mon, Feb 3, 2025 at 07:45 PM, Andy I wrote:
Piqued my curiosity. I'd like love to see this.?
¡°Electronics is just plumbing,¡± is universally idiomatic, no?
--
Michael Stokowski LTspice Team Analog Devices Inc. |
Re: THD 0.000000%?
I spoke too soon.? Still not getting consistent THD results.? The latest zipped files (thd_debug.zip) show that changing .param fft_cycles=67 brought back the 'thd=0.000000% line again even though I added extra end time and also subtracted 1 cycle from .FOUR.? Would appreciate other thoughts to at least get some consistent results.? What I am essentially doing is tuning the simulator via fft_cycles and fft_throw_cycles to get a trustworthy thd number, but whenever I try that by increasing either parameters, I seem to eventually end up back to all zeros.
Thanks,
Richard |
Re: Models LM317 and LM337 made by the same hand
Yes, right!. I need it to arrive 0V on both output +/-
?
Right. the output max is around 30V?
|
Re: THD 0.000000%?
Sorry.? Just uploaded LG_single.asy.? If missing, it could be shorted out in the schematic.? Anyway, I think Andy is correct in that I was asking .FOUR to perform exactly 61 cycles and I suspect the end time was perhaps one point short of 61 cycles.? when I added 1us to the end time, I was able to get a THD that is non-zero.
Thanks everyone!
?
Richard |