开云体育

Date

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

 

One thing that's strange is, the coefficient of 's' seems much different than that converted by ChatGPT or Matlab.
Mentioning ChatGPT and MATLAB in the same sentence takes courage? I am quite sure MATLAB did not tell you
how to *solve* the direct question, it only provided the *means* to find an answer.

-marcel


Re: No recent files list with an empty window

 

开云体育

On 19/03/2025 15:27, Al Dutcher via groups.io wrote:
Something burped, v24.0.12
I miss it
?
Man, ADI has really ruined lots of features
The recent files list is stored in LTspice.ini.

If you just upgraded from 24.0.x, you might find the old LTspice.ini wherever it would was stored - usually %APPDATA%/local/roaming/. If you're unlucky, it was overwritten with installing the new version.

For the next time, if you don't want to rely on luck, be sure to back things up before installing or updating. ADI didn't ruin it at all - LTspice still remembers recent files, you will just have to start again building the list.

--
Regards,
Tony


No recent files list with an empty window

 

Something burped, v24.0.12
I miss it
?
Man, ADI has really ruined lots of features


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

 

On Wed, Mar 19, 2025 at 08:24 PM, <mhx@...> wrote:
I added two photos that show how to construct the waveform both in Simulink and
SPICE. ( Photos directory /g/LTspice/album?id=301365 )

The key problem is that neither Simulink nor LTspice allow to construct the Laplace transform of a waveform.
They only provide a way to construct a transfer function.
For LTspice it was an interesting learning moment as I had never before needed to manipulate the two parameters
of the Laplace function (Window and NFFT). They still work in 17.1.5.

-marcel
Hi, Marcel:
?
Thank you for the sharing.?
?
One thing that's strange is, the coefficient of 's' seems much different than that converted by ChatGPT or Matlab.?
"1/3.5e6*s + 1" vs. "s + 3.5e6" & "1/0.14e6*s + 1" vs. "s + 0.14e6" two terms have multiplied by '1/3.5e6' & '1/0.14e6'.
?
That's interesting ...
?
Best regards.


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

 

I added two photos that show how to construct the waveform both in Simulink and
SPICE. ( Photos directory /g/LTspice/album?id=301365 )

The key problem is that neither Simulink nor LTspice allow to construct the Laplace transform of a waveform.
They only provide a way to construct a transfer function.
For LTspice it was an interesting learning moment as I had never before needed to manipulate the two parameters
of the Laplace function (Window and NFFT). They still work in 17.1.5.

-marcel


Re: Compiling and publishing other group's member modified models

 

开云体育

On 18/03/2025 21:47, pilou via groups.io wrote:
Recently I compiled several models created by another group's member into one single library.
Do you mean the original author did not belong to this group, but to another group? Or did you mean another member of this group? I understand English is not your native language.
Moreover, I slightly modified them for my need but I think it could be useful for other people here.
I tried to contact the original author on his own email to ask his authorization, but I didn't have his reply yet.
Moreover, it seems that he didn't come on the group since a long time.
This group has been around a long time. It is possible the author (if they were a member of this group) is either no longer an active member, or has passed on.
His there a rules on the forum for this kind of situation, or am I free to publish here without his authorization (but by mentioning his name however...) ?
Thanks a lot in advance for your advices,
If you are not able to make contact, you can publish what you have done, but it is good etiquette to acknowledge the original author in notes in your library, and also mention their name in any announcement (message or upload description) you make.

You can also contact the moderators, as already suggested, for further information that may be available.

--
Regards,
Tony


Re: Compiling and publishing other group's member modified models

 

开云体育

Hi, Andy. I think you may have misunderstood:

"Recently I compiled several models created by another group's member into one single library."

"group's" is how you would write it in French, but in English it would be 'group' so that 'another' relates to 'member', not to 'group'. In other words, the member is a member of this group, not another group.

On 2025-03-18 21:49, Andy I via groups.io wrote:
On Tue, Mar 18, 2025 at 04:47 PM, <pilou@...> wrote:
(H)is there a rules on the forum for this kind of situation, or am I free to publish here without his authorization (but by mentioning his name however...) ?
Do the other models have a copyright of any kind?? Is there anything either in the models or on the page for downloading them, that says they are copyrighted?
?
I think that would be where to start.
?
Do you know that this person actually created the models, or did they collect models from other sources?? That's another consideration.
?
If the other group is readily accessible by the public, maybe the simplest solution with the smallest risk, would be to announce the location of their models in the other group.? But that might not be optimum.
?
Andy
?
--
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: Compiling and publishing other group's member modified models

 

开云体育

You can send the email address of the member confidentially to the moderators at: LTspice moderators <[email protected]>, so that you can be advised on this subject.

On 2025-03-18 20:47, pilou via groups.io wrote:
Hello,
Recently I compiled several models created by another group's member into one single library.
Moreover, I slightly modified them for my need but I think it could be useful for other people here.
I tried to contact the original author on his own email to ask his authorization, but I didn't have his reply yet.
Moreover, it seems that he didn't come on the group since a long time.
His there a rules on the forum for this kind of situation, or am I free to publish here without his authorization (but by mentioning his name however...) ?
Thanks a lot in advance for your advices,
Pascal
--
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: Compiling and publishing other group's member modified models

 

On Tue, Mar 18, 2025 at 04:47 PM, <pilou@...> wrote:
(H)is there a rules on the forum for this kind of situation, or am I free to publish here without his authorization (but by mentioning his name however...) ?
Do the other models have a copyright of any kind?? Is there anything either in the models or on the page for downloading them, that says they are copyrighted?
?
I think that would be where to start.
?
Do you know that this person actually created the models, or did they collect models from other sources?? That's another consideration.
?
If the other group is readily accessible by the public, maybe the simplest solution with the smallest risk, would be to announce the location of their models in the other group.? But that might not be optimum.
?
Andy
?


Compiling and publishing other group's member modified models

 

Hello,
Recently I compiled several models created by another group's member into one single library.
Moreover, I slightly modified them for my need but I think it could be useful for other people here.
I tried to contact the original author on his own email to ask his authorization, but I didn't have his reply yet.
Moreover, it seems that he didn't come on the group since a long time.
His there a rules on the forum for this kind of situation, or am I free to publish here without his authorization (but by mentioning his name however...) ?
Thanks a lot in advance for your advices,
Pascal


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

 

On Tue, Mar 18, 2025 at 07:28 PM, Tony Casey wrote:
On 17/03/2025 03:40, ericsson.sunshine via groups.io wrote:
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"
The look-up table has been updated for increased precision. New zip uploaded.

--
Regards,
Tony
Hi, Tony:
?
Thank you for your update. you are so kind.
?
For a little while, I was worried that the new version will bring new issue of those 'Don't look up' problems.
You give me hope.
?
I am grateful.
?
Thank you very much.
?
?


Re: proper way to simulate fluctuating load for voltage regulator

 

I usually just step a parameter:
.step param R list 0.1 1k 1meg
(Type "s" and put this in the "Edit Text on the Schematic" window that pops up)
Now edit the load resistor's resistance value to be "{R}".
Run the simulation. This will step through 3 iterations of the simulation, with load values of 0.1, 1k, and 1meg ohms.
You can also:
.step param R 1 101 10
which steps 1 to 101 by increments of 10, although you will get 10 runs of the sim. You can't go crazy or it will take forever.
This works for practically any editable value in LTspice.


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

 

开云体育

On 18/03/2025 08:27, emilien.sabard via groups.io wrote:
Same thing with 24.1.4
C:\Users\NAME\Documents\Simulation\ESD\IEC_61000-4-2_Test (1)\IEC_61000-4-2.inc(201): Monotonically increasing value expected.
1.00E-09,0.9088###>
1.00E-09<###,0.9110
The look-up table has been updated for increased precision. New zip uploaded.

--
Regards,
Tony


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

 

开云体育

On 17/03/2025 03:40, ericsson.sunshine via groups.io wrote:
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"
The look-up table has been updated for increased precision. New zip uploaded.

--
Regards,
Tony


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

 

开云体育

On 18/03/2025 10:27, Mathias Born via groups.io wrote:
Your are telling LTspice that you want the y-value to be 0.9088 and 0.9110 simultaneously at time 1ns. What would be the correct behavior here that universally applies to all use cases?
?
Best Regards,
Mathias
?
On Tue, Mar 18, 2025 at 08:27 AM, <emilien.sabard@...> wrote:
Hi,
Same thing with 24.1.4
C:\Users\NAME\Documents\Simulation\ESD\IEC_61000-4-2_Test (1)\IEC_61000-4-2.inc(201): Monotonically increasing value expected.
1.00E-09,0.9088###>
1.00E-09<###,0.9110
This is my fault, my spreadsheet truncated the number of decimal places in the table. I'll upload a fixed version, presently. Interesting that it was previously accepted without error.

--
Regards,
Tony


Sawtooth waveform by simple BJTs, but dips at the top.

 

Hi, :
?
I have uploaded the file named '20250318_bootstrap time-based triangle-wave generator for frequency sweep.asc' at temp.
?
The idea is to generate a sawtooth waveform for jittering in PWM.
?
But at the top peak, Vout dips, it shows flaw of discontinuity. The image showing the phenomenon.
?
If you could share some opinions to fix it, I much appreciate you very well.
?
Wish you all happy & healthy.
?
Best regards.


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

 

Your are telling LTspice that you want the y-value to be 0.9088 and 0.9110 simultaneously at time 1ns. What would be the correct behavior here that universally applies to all use cases?
?
Best Regards,
Mathias
?
On Tue, Mar 18, 2025 at 08:27 AM, <emilien.sabard@...> wrote:

Hi,
Same thing with 24.1.4
C:\Users\NAME\Documents\Simulation\ESD\IEC_61000-4-2_Test (1)\IEC_61000-4-2.inc(201): Monotonically increasing value expected.
1.00E-09,0.9088###>
1.00E-09<###,0.9110


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

 

Hi,
Same thing with 24.1.4
C:\Users\NAME\Documents\Simulation\ESD\IEC_61000-4-2_Test (1)\IEC_61000-4-2.inc(201): Monotonically increasing value expected.
1.00E-09,0.9088###>
1.00E-09<###,0.9110


Re: Incandescent lamp model

 

Here is a corrected symbol subckt:
?
* block symbol definitions
.subckt lamp 1 2
.param lamp_voltage_rating = 120
.param lamp_power_rating = 20
.param start_temp = 20

.param Rstart ?= (lamp_voltage_rating*lamp_voltage_rating) / lamp_power_rating
.param Tstart ?= start_temp
.param T ?= temp
.param alpha = 0.004403
BFilament 1 2 R=Rstart*(1+alpha*(T?Tstart)) Rpar=1G
.ends lamp
?
I added an equal sign to each param statement, and separated the user settable params from the internal params used for calculation,? so reading is clearer.
?
Three issues:
1. "alpha" param was defined twice
2. All of the lamp symbol attributes should be empty for a hierarchial block. "Value" was populated with "lamp".
3. I used a B device as a resistor so I could use Rpar to prevent "floating node" message.
?
I didn't check functionality or equations, just corrected problem so it would simulate.
?
eT


Re: Parts Number Re-numbering

 

Thanks for reply quickly.
I tried again a and it works now.
?
Thanks again!
?
Hidehiko.