开云体育


Re: Oddity in Behavioural Voltage Source

 

Thanks John, and sorry for the inconvenience.
Cheers,
Joerg
?


Re: Oddity in Behavioural Voltage Source

 

开云体育

On 14/05/2025 10:57, joerg via groups.io wrote:
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,
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

 

P.S. here are the plots /g/LTspice/album?id=302449


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:
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
?
?
?
?
--
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

Virus-free.


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.

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:

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:

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))

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

Virus-free.


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:

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:

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))


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:

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))
--
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

Virus-free.


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:
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 -- K
--
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

Virus-free.


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 -- K
Sorry - 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


plotting group delay multiplied by frequency

 

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 -- K


Re: Modelling magnetic core of EP10 with T38 material of TDK micronoas

 

On Tue, May 13, 2025 at 09:26 AM, <edhooruper@...> wrote:
But I want to model it in SPICE model editor and use it in my circuit ,?
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 micronas

I have modelled the core but I am not sure whether it is correct or not ?

How do I check my model ? Also it would be good if you could tell me if there are any pre defined core models for this
Group 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:
Hi ,?

Thanks for the reply

But I want to model it in SPICE model editor and use it in my circuit ,?
--
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

Virus-free.


Re: Modelling magnetic core of EP10 with T38 material of TDK micronoas

 

Hi ,?

Thanks for the reply

But I want to model it in SPICE model editor and use it in my circuit ,?


Re: Crystal oscillator oscillation startup

 



On Monday, May 12, 2025 at 11:13:27 AM CDT, Cheng Fei Phung via groups.io <feiphung@...> wrote:


@Andy?
?
Did I measure wrongly or had the wrong circuit connections compared to the circuit proposed in the IEEE paper ?


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]


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


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,
Donald.

On 5/12/25 08:57, edhooruper via groups.io wrote:

Hi ,?

I am trying to model the Ep10 core with T38 material from TDK micronas

I have modelled the core but I am not sure whether it is correct or not ?

How do I check my model ? Also it would be good if you could tell me if there are any pre defined core models for this

THanks


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 Guide

What about images and CAD schematics?
We strongly encourage?CAD-generated?schematics. If you don’t have access to commercial software, there are many free alternatives, such as:

  • , , Digi-Key’s , & (online design (and sometimes simulation) websites)

  • & (open-source EDA systems)

  • , , & (commercial programs with free versions)

On the web site, images can be 600 pixels wide, maximum. If you can make your schematic legible at this size, perfect. If not, we’ll link it to a larger version. Don’t worry about downsizing images. We do that.

I 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:
On Mon, May 12, 2025 at 04:54 AM, Tony Casey wrote:
This is a recent article, and I know from experience that the EDN editors encourage writers to supply their own diagrams, at least for their "Design Ideas". ...
Perhaps I remember incorrectly.? But I thought all circuit diagrams in EDN articles were re-drawn by EDN's editors.? I do not recall seeing author-drawn schematics in their "Design Ideas" or elsewhere.
?
EDN's resources are extremely unreliable, in my opinion.? Try finding any article older than a couple of years old, with figures and comments intact.? What's worse, when you point it out to EDN, they can't find it either.? They are a black hole of electronics knowledge.
?
I often see replies by authors, pointing out the mistakes EDN made when publishing their article.? Occasionally EDN actually gets it right, but their track record for accuracy is not good.


Re: Single-phase H-bridge inverter circuit

 

Nice to know it! Thank you so much!