Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: Oddity in Behavioural Voltage Source
Thanks John, and sorry for the inconvenience.
Here are the files: /g/LTspice/files/Temp/BehaviouralVoltageSource.zip
Cheers,
Joerg
? |
Re: Oddity in Behavioural Voltage Source
开云体育On 14/05/2025 10:57, joerg via
groups.io wrote:
It looks to me like your issue is a limited number of data points and/or plot compression. You don't seem to have set a maximum time step, so LTspice is guessing when data points should be. Change your .TRAN directive to something like: .TRAN 0 50u 0 1n --
Regards, Tony |
Re: Oddity in Behavioural Voltage Source
开云体育Rather than trying to post an image, upload
your .ASC and all other files required to run it. to Files ->
Temp and then tell us you did that. On 2025-05-14 09:57, joerg via
groups.io wrote:
--
Best wishes John Woodgate RAYLEIGH Essex 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 |
Oddity in Behavioural Voltage Source
Hi all,
I'm toying with an OpAmp design that ultimately shall amplify and clip a sinusoidal voltage (100Vp, 100kHz, 10x Amplification), nothing special except the slew rates are quite high. Now, to verify the functionality that comes _after_ the OpAmp, I've used a behavioural voltage source that I would expect performs exactly the function I want: limit(10 * V(Vin), 0, 10). However, when looking at the simulation, I see that the behavioural voltage source starts to rise _before_ V(in) crosses zero. I would post an image, but cannot.? What causes this behaviour? Can it be fixed?? ?
My Version of LTSpice is 17.1.5 for MacOSX.?
?
Thanks a lot for your input and cheers,
Joerg
?
Here is the a
?
?
?
? |
Re: plotting group delay multiplied by frequency
开云体育Thanks, Tony, it's clearer now. And I have
tried plotting gd(Vout)*w/2*Pi on the right-hand axis and it seems to work. At least there was no error
message and a credible plot. On 2025-05-14 09:45, Tony Casey via
groups.io wrote:
How so? I described two different operations. In the first, you plot V(out) and the display defaults magnitude (left) and phase (right axis). You can optionally change the right axis representation from phase to group delay, as described. --
Best wishes John Woodgate RAYLEIGH Essex 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: plotting group delay multiplied by frequency
开云体育How so? I described two different operations. In the first, you plot V(out) and the display defaults magnitude (left) and phase (right axis). You can optionally change the right axis representation from phase to group delay, as described.Separately, in addition to plotting V(out) and getting 2 different representations, you can also plot ph(V(out)) and just get phase displayed on the left axis. But you can't similarly plot gd(V(out)), as there is no gd() function. And you can't get around that by plotting d(ph(V(out))) instead, as it's not supported. --
Regards, Tony On 14/05/2025 10:33, John Woodgate via
groups.io wrote:
|
Re: plotting group delay multiplied by frequency
开云体育HI, Tony. I don't understand. The second
sentence appears to contradict the first one. On 2025-05-14 09:23, Tony Casey via
groups.io wrote:
--
Best wishes John Woodgate RAYLEIGH Essex 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: plotting group delay multiplied by frequency
开云体育Hi, Kendall, From 'Waveform arithmetic' (WA) in the re-designed Help: The keyword "time" is understood when plotting transient analysis waveform data. Similarly, "omega" is understood when plotting data from an AC analysis. "w" can be used as a synonym for omega. You can thus plot group delay and then use WA to plot GD*w/2Pi.
But I have not tried it. On 2025-05-14 06:21, Kendall
Castor-Perry via groups.io wrote:
--
Best wishes John Woodgate RAYLEIGH Essex 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: plotting group delay multiplied by frequency
开云体育On 14/05/2025 07:21, Kendall
Castor-Perry via groups.io wrote:
Hi all - quick bedtime question - I need to plot the group delay of a circuit multiplied by the frequency.? Too tired to work out how to do it, nothing I've tried has worked.? Is there a natty little trick in the plot window?? Thanks -- KSorry - missed your bedtime. But if you still need the answer today, read on. You can change the right hand axis (in .AC analysis) to display group delay instead of phase by: Right-click > Representation = Group Delay. Unfortunately, you can't plot gd(V(out)) as you can - say ph(V(out)). Neither can you plot d(ph(V(out))) - an irritating little box pops up telling you: "Ph() differentiation is not supported. Use the waveform viewer group delay display feature." There you have it. -- Regards, Tony |
Re: Modelling magnetic core of EP10 with T38 material of TDK micronoas
On Tue, May 13, 2025 at 09:26 AM, <edhooruper@...> wrote:
Then I second Donald's recommendation to look into the free FEMM program. ?
They (FEMM and LTspice) are for different purposes.? LTspice is an electronic circuit simulator.? FEMM is not.? FEMM can be used to create the electrical models of something with magnetics, which you can then plug into LTspice for the electrical simulations.
?
A big question you need to ask yourself, is whether or not you want to include magnetic core nonlinearity.? A simple linear model is basically just the inductance and resistance values, maybe with some capacitance too.? A nonlinear model is a whole lot more complex, difficult to derive, and difficult to simulate.? Are your signals small or large enough to matter?? If this is for a receiver then the linear model should be fine.? If it is for a transceiver or transmitter, then maybe but maybe not.
?
If, as you say, you have a model already, then you can check your model by comparing simulations with datasheets, or - even better - compare them with actual measurements.? That is the only way to know for sure how good the model is.
?
Often, the starting point for winding inductors is a formula that multiplies the turns squared, by a factor for the core, often AL (A-sub-L).? It is an approximation but usually a pretty good one, and of course it assumes that the core is used where it is linear and that you are within a favorable frequency range for the core.? I do not think I have seen simple but better ways to estimate the number of turns needed - or conversely, the inductance given the number of turns.? Programs like FEMM are likely a lot more accurate, if given the properties of the core material.? If you want better, measurements are the way to go.? Some cores make good inductors but others are intended to be quite lossy because of properties of the permeability, and those are more suited for making RF chokes instead of transformers.
?
Andy
? |
Re: Modelling magnetic core of EP10 with T38 material of TDK micronoas
开云体育On 12/05/2025 14:57, edhooruper via
groups.io wrote:
I am trying to model the Ep10 core with T38 material from TDK micronasGroup member Alexander Bordodynov (Александр Бордодынов) has modelled a number of non-linear cores, and has a core library. I have no idea whether the one you wish to use is one of them, but it's a good place to look. When you say you have modelled the core, what exactly do you mean? Is it modelled in LTspice, or some other way? For a number of suggestions, you could go to the Group's Files section and perform a search for "non-linear core". That will give 19 hits, including 3 contributions from Alex. It is also worth looking at the . Alex has contributed a large library that is linked . I'm not sure if it contains the core models, or whether they are available somewhere else. Please read the chapter headed "A note on portability of these "permanent" LTspice Components", before installing this large library. There is also a section contributed by the late Analogspiceman entitled , but towards the end, there are some examples of using the LTspice non-linear Chan core model, which is also described in the LTspice Help. It is also possible to model a specific non-linear inductor by using the built-in flux inductor model, which is also described in the Help, along with the Chan model. --
Regards, Tony |
Re: Modelling magnetic core of EP10 with T38 material of TDK micronoas
开云体育LTspice doesn't have any built-in models and
processes for modelling magnetic circuits in the way you need.
It would be possible to write the necessary files, but it would
be a major project. On 2025-05-13 14:26, edhooruper via
groups.io wrote:
--
Best wishes John Woodgate RAYLEIGH Essex 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: Pease tuneable MFB band-pass filter
开云体育Routinely thanking the Internet spirits for the wayback machine, which is incredibly useful -- until it isn't. Donald. On 5/12/25 17:27, Tony Casey via
groups.io wrote:
[snip]
|
Re: Modelling magnetic core of EP10 with T38 material of TDK micronoas
开云体育I think you might try the FEMM (Finite Element Magnetic Modelling) /g/femm/ group for this question. That group is dedicated to such issues. Transformers in LTspice
are (except for the Chan model, about which I can't really speak)
are simple linear devices with primary and secondary inductance
and some parasitic parameters. Hope this helps, On 5/12/25 08:57, edhooruper via
groups.io wrote:
|
Re: Pease tuneable MFB band-pass filter
开云体育My remarks refer specifically to EDN's Design Ideas.This is an extract from the official: Design Ideas Submission GuideI can provide the complete guide for anyone interested, but it's not hard to find on the EDN site. My recent experience is that most schematics are now author-provided. Transcription errors were always common in technical publications, precisely because diagrams got re-drawn by people who weren't familiar (enough) with the topic, something familiar to people that had to deal with traditional Drawing Offices. On a general note, it isn't just EDN where it is often impossible to locate things that appeared some time ago. Websites undergo constant change and traceability is often compromised. --
Regards, Tony On 12/05/2025 14:36, Andy I via
groups.io wrote:
|