Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: Frequency dependent common mode inductor
From (complete_reference):
Bxxx n1 n2 V=<expression> Bxxx n1 n2 I=<expression> [Rpar=<value>] *[Cpar=<value>] + [[ic=<value>] tripdv=<value>] [tripdt=<value>] + [Laplace=<func(s)> [window=] [nfft=<num>] [mtol=<num>]] * + [[units] Freq=<valuelist> [delay=<value>]] <================= * + [NoJacob] * Bxxx n1 n2 R=<expression> * Bxxx n1 n2 P=<expression> [VprXover=<value>] -marcel |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Frequency dependent common mode inductor
¿ªÔÆÌåÓýI guess so. LTspice comes with lots of models for them from Schaffner and W¨¹rth. Do you have a part number for yours?F2 > [Contrib] > Schaffner > EMI F2 > [Contrib] > Wurth > EMC-Components > CommonMode_Chokes Or you could try to make one from two coupled inductors. It's easier than you probably thought. Not quite so easy to tune it to exactly fit your table though, but there's usually significant tolerance on EMC chokes, anyway. --
Regards, Tony On 26/02/2025 08:55, F.an via groups.io
wrote:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Frequency dependent common mode inductor
¿ªÔÆÌåÓýYes, as a piece of circuit or a subcircuit.
But the data you have is all expressed in series component
terms, whereas the circuit needs, at least,? parallel resistance
and capacitance elements, which possibly could be calculated
from your data. Obviously, the inductor does not have a physical
series capacitor. Have you asked the manufacturer for a SPICE
(not 'LTspice') model? On 2025-02-26 07:55, F.an via groups.io
wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Frequency dependent common mode inductor
is it possible to build a "Frequency dependent common mode inductor" in LTspice?
?
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Monitor simulation percent completion from python
The expanded netlist returned few weeks ago in 24.1.3. It shows the components with their parameters immediately at the start of the simulation in the log file. But not the timing related parameters. All parameters are listed using .options logparams , but only when the simulation is finished.
? |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: .MEAS Failure
On Tue, Feb 25, 2025 at 12:59 AM, eewiz wrote:
FYI, that is not what I suggested.? Leave the Start and Stop (or Left and Right) values alone.? Let LTspice figure them out on its own.? Change the text in the "Quantity Plotted" box.? THAT is the thing that shifts the entire waveform horizontally, shifting it so that time values that were near 8 ms, become near 0 seconds where resolution is better.? A picosecond out of 8 milliseconds is 0.125 part per billion.? A picosecond out of nanoseconds is a part per thousand.? Much less likely to be lost due to limited numerical precision. ?
But I suggested it only as a way to visually see smaller increments of time, which you do not need to do if you don't want to.
?
.SAVE might help. ?
Of course you won't.? You 'never' will.? The chances are vanishingly small. ?
Keep these two fundamental principles in mind:
?
That is not what it does either.? It takes the two points that surround 2 V, and then it interpolates between them, to extract the time when a straight-line waveform would have crossed 2.0 V exactly.? That happens before the sample that was less than 2 V. ?
It would not be a waste of time.? In your case, the difference between the interpolated time and the last simulated time might be mere nanoseconds, or who knows, femtoseconds?? But in another case it might be milliseconds or more.? LTspice always does the right thing, by interpolating and not ignoring the fact that waveforms take time to get from point A to point B.? Assuming that it ignores it would be wrong.
?
?
That's incorrect.
?
Andy
? |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Create symbols.
On Tue, Feb 25, 2025 at 05:43 AM, <j.bernabe1@...> wrote:
There are two no, three things you should do:
Some examples of (3) are:
?
Andy
? |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Create symbols.
On Tue, Feb 25, 2025 at 05:37 AM, <j.bernabe1@...> wrote:
"Help topics" is the same as pressing F1. ?
Once the Help window opens up, there SHOULD be a column of contents on the left, and the main body on the right.? If you don't see the part on the left, then you might have clicked the "Hide" button along the top.? If so, click the "Show" button along the top.
?
Now that the Contents sub-window is present, select the "Contents" tab.? Then either click items one by one, or use Right-click > Open All, which opens up the entire Table of Contents.? From there, you can navigate to any of the Help pages.? They contain a lot of essential information for every LTspice user.
?
Andy
? |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Issues running LTspice as a batch service
On Tue, Feb 25, 2025 at 08:32 PM, Jeff Kayzerman wrote:
This is only a guess here.? But I suspect you have defined User folders for your symbols and models, which reside in one of your account's folders, perhaps under its "Documents" folder or "AppData" or whatever.? The other account does not have the same folders.? Well, it has the same-named folders but they are distinct for each Windows user.? So it does not see the same library areas. ?
The settings in the .ini file are relative to each Windows account's folders, as managed by MS-Windows.? Windows does a good job of hiding their actual physical locations.
?
Andy
? |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Issues running LTspice as a batch service
I have a python program kicking off LTspice as a background windows process with the following command.
?
process = await asyncio.create_subprocess_exec(LTSPICE_PATH, "-b", "-run", solverFlag, fpath, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE)
?
I am running this process on a server and when I run it as my user account everything works as expected. Now I need to have it run as a windows service which requires a service account. I set this up and tried running but I get messages that symbols are missing from the simulation. I figured maybe the .ini file in the service account's folder was missing the symbol and library search paths so I made sure to match the .ini file in my service account's AppData/Roaming folder to match the one on my account. Unfortunately this did not help. Does anyone know why running in batch mode as a service account it would fail to look in the search paths? |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Ltspice alternative for AD797
¿ªÔÆÌåÓýFrom the ADI data sheet: 110 MHz gain bandwidth (G = 1000) 8 MHz bandwidth (G = 10) On 2025-02-25 17:22, Andy I via
groups.io wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: .MEAS Failure
¿ªÔÆÌåÓýOn 25/02/2025 10:28, Tony Casey wrote:
This is also true with .MEAS. The time points are printed in single precision in the logfile, by default. You can get double precision by adding .option measdgt=15. This is true whether or not you also use .option numdgt=15.Having just installed V24.1.4, I noticed that: .option measdgt=x ..appears to have been disabled, and doesn't appear to do anything now - the .MEAS time points are now always double precision. The log file content has changed a bit from 24.0.12 to 24.1.4. The listed circuit is now the .net file instead of the .asc, and the active .options are now listed, which is useful. .option numdgt=x ..seems to works the same as before, but the raw files contents differ slightly. -- Regards,
Tony |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: intuition behind a solution to crashing time domain simulation
#Time-step-too-small
On Tue, Feb 25, 2025 at 04:31 AM, John Woodgate wrote:
Or it suggests that there is a problem with THAT circuit when combined with a very wide-bandwidth op-amp like the AD797 (not 757).
?
The simple circuits I tried for the AD797 ran OK.
?
The fact that your schematic changes things, is indeed disturbing.
?
? |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Ltspice alternative for AD797
On Tue, Feb 25, 2025 at 03:06 AM, john23 wrote:
Have you tried the product selection guides, which most IC vendors and many distributors offer on their websites? There probably is a reason.? It might be worth investigating why.? High-bandwidth amps are more susceptible.? Maybe your circuit into which you plugged the AD797 was the cause. Certainly that figure requires qualifications.? I know of no op-amps that would have an 8 MHz open-loop -3dB bandwidth.? So it is likely a closed-loop measure - and? then, at what closed-loop gain is that measured?? It makes all the difference in the world. ?
Andy
?
? |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Monitor simulation percent completion from python
On Tue, Feb 25, 2025 at 02:51 AM, @HermanVos wrote:
I don't remember with certainty if this is true - but I believe the .TRAN command has numbers when you look at the expanded netlist.? In other words, the formulas have been evaluated.? That is true of most things (e.g., element values) in the expanded netlist. ?
Of course this assumes that you still have access to the expanded netlist, and newer versions of LTspice eliminated that option.
?
Andy
? |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Estimating Base spreading resistance for a bipolar transistor via LTspice
¿ªÔÆÌåÓýWhen temperature increases, the current resulting from the
reverse-biased gate-drain junction increases exponentially, so
yes, noise increases with temperature. Le 25/02/2025 ¨¤ 16:36, Jack Walton via
groups.io a ¨¦crit?:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: .MEAS Failure
¿ªÔÆÌåÓýOn 25/02/2025 12:55, eewiz via
groups.io wrote:
Nobody ever said that LTspice tests for equality. It can't if the data doesn't exist. LTspice uses interpolation to estimate it. I thought that had been made clear. The closer the data points, the better the estimation is likely to be. You can, of course, choose to believe anything you wish to. BTW, in case you hadn't realised, when using the waveform cursor, pressing the ¡ú and ¡û keys advances or retards the cursor position to the next actual data point. Any reading of the cursor position between data points is also interpolated. Note that if you don't have .option plotwinsize=0 enabled, not all actual analysis data points are stored in the .raw file, and therefore cannot be displayed or used for interpolation. The line display appears to be a spline fit, but zooming-in shows this to be realised as a series of linear approximations. -- Regards, Tony |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: .MEAS Failure
I don't have a video card.
Mine is on the motherboard.
Intel UHD Graphics 750. Sent:?Tuesday, February 25, 2025 at 5:21 AM
From:?"Tony Casey via groups.io" <tony@...> To:[email protected] Subject:?Re: [LTspice] .MEAS Failure On 25/02/2025 10:53, eewiz via groups.io wrote:
Ah, OK. I seem to remember this issue might also be dependent on the graphics card/driver. There are also message threads from many years ago, before V24, that certain (Intel) CPUs were more susceptible to crashes. Helmut documented which types were most problematic, but I can't find that right now. -- Regards, Tony |