开云体育

Date

Re: Incandescent lamp model

 

Sorry, I am not near my PC so can't check it out just now.
?
Andy


Re: Incandescent lamp model

 

I think you mean 21 years ago, that he uploaded it.
?
He left us about 4-5 years ago.
?
Andy


Incandescent lamp model

 

开云体育

I’m trying to adapt and use the model in LampModel.zip, uploaded by analogspiceman last September.

?

The test circuit supplied works fine for a 120VAC lamp.

I want to adapt it to a small pilot lamp, as a stabilizer for a Wein network oscillator.

?

There are a number of parameters defined in the model, but except foe ambient temperature, not well explained.

I commented the .param block and passed them externally, and that works exactly the same, as expected.

?

Now, can anyone suggest what needs “tuning”, to get? about 600 ohms at 10mA, after warm-up?

Ka, ambient temp (Kelvin) is easy.

Kc looks like design voltage (120RMS), but doesn’t really act like it; left alone.

Kf seems to be a heat transfer coefficient, maybe good for warmup timing, but slightly changes stable resistance.

CTf is a coupling factor from Tambient to Tfilament, sets warmup timing; left alone.

RTf is filament resistance, but changing that parameter makes only a very small difference to the preset, ~150 ohms.

?

Thanks,

Dave


Re: LM121 model??

 

SWEET! Thank you very much, eT. This looks to work in the circuit being modeled. Now I can probe a bit more to work out the intricacies.?


Re: LM121 model??

 

On Wed, Mar 12, 2025 at 11:59 AM, DerekK wrote:
I am trying to work out some old schematic and circuit issues and am looking for a model for the old LM121 opamp. Anyone have such a thing? I found the LM118, as I can use the LTSpice LT118A model. Now for the front end.
Hi
?
I've made a LM121 model from the datasheet but didn't test everything.
I'll be uploading file "LM121_Model_20250317.zip" that include a test circuit, model file and symbol.
I'll also post a couple of snapshot of plots.
You are welcome to use if you wish.
?
FYI-The LM108A used on the datasheet circuit is included with LTspice 24.
?
eT


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

 

On Mon, Mar 17, 2025 at 02:19 AM, <ericsson.sunshine@...> wrote:

Sorry, forgot, I have used 1e-9 today in Matlab, I didn't wait it ran all
200us, Just 23% to see the most shape of the leading, the scale is the same,
peak approx 40mV.
You only need the first 40us, and even 1us should already be enough...

-marcel


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

 

开云体育

It's common for the TUNE input to be voltage driven through a low value resistor. It may be that the YIG already has that resistor built-in, but it's usually external because the tuning current can be a few hundred mA, and the dissipation could be considerable.

--
Regards,
Tony

On 17/03/2025 16:08, Andy I via groups.io wrote:

If that is true, then john23's specifications are wrong, and the LTspice "model" I made for it is wrong.
?
The Tune input should have been driven by a current, not by a voltage.


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

 

On Mon, Mar 17, 2025 at 03:56 AM, Tony Casey wrote:
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.
If that is true, then john23's specifications are wrong, and the LTspice "model" I made for it is wrong.
?
The Tune input should have been driven by a current, not by a voltage.
?
Andy
?


Re: LF356 simulation errors

 

Thanks Tony and John,

LTspice v24.1.0 was installed automatically yesterday with the internal update. Today tried to update again and now installed new version 24.1.5

I've loaded the test simulation of LF356 and make sure to reset all settings, modified again the "Component attribute editor" to original setting for U2, applied the suggestions (rise/fall times and the option directive), now works perfectly... Thank you Tony!

Best regards, Stephano


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

 

Sorry, forgot, I have used 1e-9 today in Matlab, I didn't wait it ran all 200us, Just 23% to see the most shape of the leading, the scale is the same, peak approx 40mV.
?
Best regards.
?
On Mon, Mar 17, 2025 at 09:14 PM, <ericsson.sunshine@...> wrote:

Hi, Marcel:
?
In fact, it doesn't matter to add a '-' sign in time or s-domain.
It just changes the positive/negative, instead of the amplitude.
?
Best regards.
?
On Mon, Mar 17, 2025 at 08:43 PM, <mhx@...> wrote:
I think I found it. When the time-domain waveform is plotted from t=0 to t=50us, it
shows a *negative-going* exponential pulse reaching -5.037kV at 960ns. (The shape is
approximately waht your picture shows, the scale is not.) At 41us it is about -20V. I am
sure that when Simulink is told to use a sample-rate of 10ns and an accuracy of 10e-9
or better, it will show the same thing. As should LTspice.

-marcel
?
?
?


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

 

Hi, Marcel:
?
In fact, it doesn't matter to add a '-' sign in time or s-domain.
It just changes the positive/negative, instead of the amplitude.
?
Best regards.
?
On Mon, Mar 17, 2025 at 08:43 PM, <mhx@...> wrote:

I think I found it. When the time-domain waveform is plotted from t=0 to t=50us, it
shows a *negative-going* exponential pulse reaching -5.037kV at 960ns. (The shape is
approximately waht your picture shows, the scale is not.) At 41us it is about -20V. I am
sure that when Simulink is told to use a sample-rate of 10ns and an accuracy of 10e-9
or better, it will show the same thing. As should LTspice.

-marcel
?
?
?


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

 

I think I found it. When the time-domain waveform is plotted from t=0 to t=50us, it
shows a *negative-going* exponential pulse reaching -5.037kV at 960ns. (The shape is
approximately waht your picture shows, the scale is not.) At 41us it is about -20V. I am
sure that when Simulink is told to use a sample-rate of 10ns and an accuracy of 10e-9
or better, it will show the same thing. As should LTspice.

-marcel


Re: LF356 simulation errors

 

开云体育

On 17/03/2025 12:27, Tony Casey wrote:
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.
Adding ".options gshunt=1e-12 cshunt=1e-14" fixed the stalling at 40% issue with 24.1.5.

--
Regards,
Tony


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
?