开云体育

Date

Re: LF356 simulation errors

 

开云体育

On 17/03/2025 11:40, Stephano via groups.io wrote:
using the TI model of LF356 on LTspice v24.1.0 result in strange behaviour, DC output from OpAmp is over 18V when the supply voltages are ± 15V.

In the "Component attribute editor" I've changed parameters for this version of LTspice, the original from the file area "LF356_test.zip" result in errors at simulation start.

I want to simulate a input circuit of an test equipment (Boonton 4200) that is oscillating at 93Hz square wave with amplitude near the supply coltages. I'm curious to see the Phase Margin of this differential stage with three LF356.

Clearly this pspice model is incompatible with this LTspice version, or there is a workaround possible to apply ?
I don't have version 24.1.0 installed, but with 24.1.5, the (Helmut's) original circuit stalled at 40% completion, but was correct up to that point. When I changed the rise and fall times of the source to 100n from 10n, it simulated perfectly. With version 25.0.12, the original unedited circuit had no problems. I also ran an input voltage sweep and saw the output clipped well inside the supply voltages.

The version 24.1.0 was quite short-lived because there were a number of problems with it. There have been many internal changes in the 24.1.x release. some of these have since been fixed, but others remain.

It may be that nobody can duplicate the problem you are having, but if you have changed anything in the schematic, you should upload it to Files > Temp, so more people can try. Did you change any of the Control Panel > SPICE settings from default? The Trtol parameter in 24.1 is different from 24.0 in the default state.

--
Regards,
Tony


Re: LF356 simulation errors

 

开云体育

We can't help much unless you let us see more of what you are doing. Upload your .ASC file AND all the other files required to run the simulation, but not .RAW? and .LOG files or pictures,? in a ZIP archive to Files => Temp.

Go to the web page: /g/LTspice/topics. Click on Files in the list on the left. Then click on Temp. Then click on New Upload in the blue box at top left. Click on Upload File in the drop-down menu. Then send a message to tell us that you did that.


On 2025-03-17 10:40, Stephano via groups.io wrote:
Hi,

using the TI model of LF356 on LTspice v24.1.0 result in strange behaviour, DC output from OpAmp is over 18V when the supply voltages are +/- 15V.

In the "Component attribute editor" I've changed parameters for this version of LTspice, the original from the file area "LF356_test.zip" result in errors at simulation start.

I want to simulate a input circuit of an test equipment (Boonton 4200) that is oscillating at 93Hz square wave with amplitude near the supply coltages. I'm curious to see the Phase Margin of this differential stage with three LF356.

Clearly this pspice model is incompatible with this LTspice version, or there is a workaround possible to apply ?

Thanks, Stephano





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


LF356 simulation errors

 

Hi,

using the TI model of LF356 on LTspice v24.1.0 result in strange behaviour, DC output from OpAmp is over 18V when the supply voltages are +/- 15V.

In the "Component attribute editor" I've changed parameters for this version of LTspice, the original from the file area "LF356_test.zip" result in errors at simulation start.

I want to simulate a input circuit of an test equipment (Boonton 4200) that is oscillating at 93Hz square wave with amplitude near the supply coltages. I'm curious to see the Phase Margin of this differential stage with three LF356.

Clearly this pspice model is incompatible with this LTspice version, or there is a workaround possible to apply ?

Thanks, Stephano


Re: Parts Number Re-numbering

 

开云体育

That's a bit too much freedom. LTspice will not warn you of duplicate designators until you run an analysis, which will obviously fail. If you leave it entirely to LTspice you will never get duplicates. Caution! This does not apply to net names.

--
Regards,
Tony

On 17/03/2025 00:50, John Woodgate wrote:

Right-click on the number, such as R1. An editing pane opens where you can change it to anything you like, within reason.


Re: How to create IEC 61000-4-5 surge waveform in time & s behavioral ?

 

I don't know, in my domain what I can do the best is to spend the tiny time step = 1ps. (already the smallest when considering the computing performance.)
But neither LTspice nor Matlab/simulink has the expected answer. (Thay have the same output ~ 40mV)
?
About the algorithm inside transfer function, I really have no idea, maybe not enough decimal digits been calculated. Can't find any where to configure that.
?
Best regards.
?
On Mon, Mar 17, 2025 at 04:02 PM, <mhx@...> wrote:

The transfer function and time domain expressions look OK to me but the scope plot is obviously "wrong".
This could be caused by the sample-based Simulink implementation. What is the sample-rate / solver
algorithm? If there is aliasing all three representations could be correct.

-marcel
?
?


Re: How to create IEC 61000-4-5 surge waveform in time & s behavioral ?

 

The transfer function and time domain expressions look OK to me but the scope plot is obviously "wrong".
This could be caused by the sample-based Simulink implementation. What is the sample-rate / solver
algorithm? If there is aliasing all three representations could be correct.

-marcel


Re: defining special kind of behavioral for current controlled oscilator in ltspice

 

That's exactly true. YIG are tuned by varying the magnetic field the element is in, hence the coils. This also defines the dynamic behaviour.

--
Regards,
Tony?

On 17 Mar 2025 05:06, "Andy I via groups.io" <AI.egrps+io@...> wrote:
On Sun, Mar 16, 2025 at 09:13 AM, Tony Casey wrote:
Typically, the TUNE coil will be 10s of mH and FM coil will be about 10uH. ...
This implies that both inputs might respond to current, unless the TUNE coil has enough resistance which is stable and predictable.
?
Andy
?


Re: How to create IEC 61000-4-5 surge waveform in time & s behavioral ?

 

In simple words, ...
The user's fault or math's fault ?
?
Beg your pardon first, so noisy, definitely my fault.
?
In fact, my default thoughts is 99% belong to user's fault, but I don't know what's wrong.
?
If any hint,?
?
Thank you very much.


Re: How to create IEC 61000-4-5 surge waveform in time & s behavioral ?

 

Hi, :
?
You know what ? I'm surprised about I do have the memory about using this in Matlab.
It got the same result. I worship the math as some kind of religion, but this time, I can't get the desired answer, what's going on ?
?
Is the math wrong ?
?
Can someone tell any configuration wrong ? It almost broke my religion. Hope someone recognize it.
?
I am wondering, how many people are you here...
?
Wish you all happy & healthy.
?
Best regards.


Re: proper way to simulate fluctuating load for voltage regulator

 

aside: please note that for time-varying resistors, the theoretical circuit equations will change and new derivative terms for (otherwise fixed) component parameters will enter into your equations. this may worry if not considered.


New LTspice 24

 

Hi
I have LTspice XVII installed in the directory:
C:Program files\LTC\LTspice XVII
Is it safe to install LTspice 24? so that I keep my old Auto_Genrated models?
Can you please advise? is the new LTspice 24 any better ?
Regards,
Suded


Re: defining special kind of behavioral for current controlled oscilator in ltspice

 

On Sun, Mar 16, 2025 at 09:13 AM, Tony Casey wrote:
Typically, the TUNE coil will be 10s of mH and FM coil will be about 10uH. ...
This implies that both inputs might respond to current, unless the TUNE coil has enough resistance which is stable and predictable.
?
Andy
?


Re: defining special kind of behavioral for current controlled oscilator in ltspice

 

On Sun, Mar 16, 2025 at 05:15 AM, john23 wrote:
How sould I use MODULATE to define this unique behavior?
john23,
?
I uploaded "YIG VCO.asc" to the "Temp" directory.? It models what you apparently wanted.? It has two inputs and one output.
?
The "Coarse" input is for your "TUNE" signal that sets the center frequency.? The "Fine" input is for your "FM" signal that modulates its frequency around the center.? Both inputs have infinite bandwidth.
?
Both inputs are ideal, so you should add whatever is needed to model each of their electrical characteristics:
  • The "Coarse" (or Tune) input is infinite impedance.? If you know its input impedance, connect it in parallel, between the two input pins.
  • The "Fine" (or FM) input is zero impedance.? If you know its input impedance, connect it IN SERIES with that input.
  • In simulations, both inputs should be given a ground reference, not left floating.
  • Both inputs have infinite bandwidth.? Add your own filtering if needed.
The output is +10 dBm when terminated in an external 50 ohms load.? The schematic I uploaded has a 50 ohm load, so remove that when driving something else that provides a termination.
?
Andy
?


Re: How to create IEC 61000-4-5 surge waveform in time & s behavioral ?

 

On Fri, Mar 14, 2025 at 06:35 PM, Tony Casey wrote:
On 14/03/2025 11:30, Andy I via groups.io wrote:
Tony uploaded "IEC_61000-4-2_Test.zip", but it has a symbol that LTspice might not have and can't be opened in older versions.
Oops. Zip file updated with symbol.

--
Regards,
Tony
?
?
Just to note, in the latest LTspice 24.1.5, it will have the following message... It seems 'SCOPEDATA=' is forced to replace the 'file='.
Looks like, compatible issue between newer & older...was used to the older XVII...
?
"Monotonically increasing value expected. You may want to use SCOPEDATA=<filename> instead. (See the LTspice help for more details.)
1.00E-09,0.9088###>
1.00E-09<###,0.9110"
?
And, Thanks for the inspiration of varistors.


Re: Parts Number Re-numbering

 

On Sun, Mar 16, 2025 at 07:48 PM, Hidehiko Komachi - JA9MAT wrote:
I heard "shift+ctrl+alt+R" is available.
But no change appear.
Did anything happen?? Was there a pop-up window asking you to confirm?
?
If no pop-up window, then perhaps you were not using Windows, or another program intercepted that key combination, or you had another key accidentally pressed or missed one of the four.? When I tried it just now, my first two attempts failed to make the pop-up window, but I tried again - more carefully - and it worked.
?
After that, a change can happen only if the part numbers need to be re-numbered.? If they are already numbered the way it wants, you won't see anything change after clicking OK in response to the pop-up confirmation.
?
If you have a small number of parts, you can change them one at a time, of course.
?
Andy
?


Re: Parts Number Re-numbering

 

开云体育

Right-click on the number, such as R1. An editing pane opens where you can change it to anything you like, within reason.

On 2025-03-16 23:36, Hidehiko Komachi - JA9MAT via groups.io wrote:
Sorry for FAQ.
How can I renumber the parts number?
I heard "shift+ctrl+alt+R" is available.
But no change appear.
?
Hidehiko JA9MAT.
--
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.


Parts Number Re-numbering

 

Sorry for FAQ.
How can I renumber the parts number?
I heard "shift+ctrl+alt+R" is available.
But no change appear.
?
Hidehiko JA9MAT.


Re: defining special kind of behavioral for current controlled oscilator in ltspice

 

开云体育

On 16/03/2025 13:31, Andy I via groups.io wrote:
Two ports, really?? I count three.
?
Add the Tune and FM inputs, to produce a single frequency-controlling voltage.? You have many ways to add signals, including a B-source.? You need to decide on the input resistance to use, for your Tune and FM ports.
?
Then connect their sum, to the FM input of the MODULATE component.
?
Set it's Mark and Space parameters to have the right scale (1.2 GHz/V) and offset.? This is simple Algebra.? It's very basic.
?
Depending on what john23 is wanting to model, it might be necessary to actually model the TUNE and FM circuits. They are both connected to coils internally, so the inductances might need to be included, particularly if the YIG oscillator is in a frequency control loop or synthesiser. Typically, the TUNE coil will be 10s of mH and FM coil will be about 10uH. (They also normally have internal heaters too, with additional connections, but that has not been mentioned.)

Coo, this brings backs memories from the 1980s.

--
Regards,
Tony


Re: defining special kind of behavioral for current controlled oscilator in ltspice

 
Edited

Two ports, really?? I count three.
?
Add the Tune and FM inputs, to produce a single frequency-controlling voltage.? You have many ways to add signals, including a B-source.? You need to decide on the input resistances to use, for your Tune and FM ports.
?
Then connect their sum, to the FM input of the MODULATE component.
?
Set its Mark and Space parameters to have the right scale (1.2 GHz/V) oops! (0.7 GHz/V) and offset.? This is simple Algebra.? It's very basic.
?
Andy


Re: defining special kind of behavioral for current controlled oscilator in ltspice

 

Hello , My device has two ports .I have tested? its functionality in the lab and I saw the following behavior:
1. no voltage? on both ports-> output is 8GHz? 10dBm
2. 2V on tune ->output is 9.4Ghz 10dBm
3.each 1mA on FM input is adding 100Khz.
How sould I use MODULATE to define this unique behavior?
Thanks.