Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
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:
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:
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:
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:
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:
|
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: Incandescent lamp model
开云体育The difficult bit is deriving the temperature
from the applied voltage, or? the filament current. However, I
think you can use a 'backwards'? trick, by defining the
temperature as the initial condition. It should be well above
room temperature, but not so high that the filament glows. Try
300 C. I posted some data about the tempco of tungsten a few
days ago, which gives you alpha.? Using the equation R=Rcold?(1+alpha?(T?Tcold)),
with R0 = room temperature resistance and To is room temperature
you can get R at T = 300 C. On 2025-03-17 23:26, Richard Andrews
via groups.io wrote:
--
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: Incandescent lamp model
开云体育Yes, the low Q of the Wien bridge is not good
for low distortion. I intend to try out that MFB circuit when I
get a chance. On 2025-03-17 21:45, Tony Casey wrote:
Perhaps you'd entertain a non-Wien Bridge oscillator: MFB_Oscillator. A working example sine wave oscillator schematic using an MFB (multiple feedback) topology. It uses no more parts than the usual Wien bridge and offers significantly better (distortion) performance. --
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: MAX9939 is there any model available for LTspice ?
开云体育Have you asked ADI for one? On 2025-03-17 21:42, Michael.Baus via
groups.io wrote:
--
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 |