Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- LTspice
- Messages
Search
Re: LM121 model??
On Wed, Mar 12, 2025 at 02:59 PM, DerekK wrote:
Remember that LM121, LM221, and LM321 are the same, just with different worst-case ratings.
?
There is something that claims to be an LM321 SPICE model, here:
It is a text file.? You can rename it if you feel like it.
?
There is a test schematic that uses it, here:
?
All you need is LTspice's built-in "opamp2" symbol, with the name changed to match that of the .SUBCKT model, and add a ".lib" or ".inc" command to include the model itself.? It's easy.
?
CAUTION:? That model is actually for Maxim's LMX321, which is a low-voltage version of the LM321.? I don't have a LM121/LM321 datasheet handy, but I suspect the original was not a low-voltage op-amp, like the LMX321 is.? So, caution is called for.
?
Turning now to the PSpice model at the previously-referenced T.I. webpage for their LM321LV - it is not an encrypted model, so chances are good-to-excellent that it works in LTspice.? Most PSpice models are SPICE, and LTspice understands SPICE and most PSpice models quite well.? Forget about all that Orcad stuff.? The .lib file is the SPICE model so it is the only one needed.? Once again, use the "opamp2" schematic symbol.
?
The TINA model there is not SPICE, so don't try that in LTspice.
?
Now I wonder whether an LM321LV is a suitable replacement for the LM121/LM321.? The "LV" in the part number suggests that it is not.? It is indeed a low-voltage op-amp, so it might not work on your old schematics.
?
Can you tell us, what made the LM121 unique?? It's been so long....
?
Andy
?
?
|
Re: LM121 model??
¿ªÔÆÌåÓýIf it's a Tina model, it might be compatible
with LTspice, but might need some tweaks. On 2025-03-12 19:27, DerekK 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: More syntax issues with 24.1.x
¿ªÔÆÌåÓýOn 12/03/2025 13:17, Mathias Born via
groups.io wrote:
Great! I look forward to 24.1.6. --
Regards, Tony |
Re: More syntax issues with 24.1.x
Hi Tony,
?
The next update 24.1.6 will support this again.
?
The official syntax for loading table data from a file will be:
?
table(x, .include "<filename>")
?
but yours will also work as is. You will also need not change the file contents, however the "+" line continuation at the start of each line will be optional and can be omitted.
?
This is a good feature, and now it's official.
?
Best Regards,
Mathias ?
On Tue, Mar 4, 2025 at 12:06 PM, Tony Casey wrote:
I have many testjigs that import digitised datasheet characteristic curves. An example of this would be: |
Re: Issue with Nexperia BUK7S1R0-40H PET LTspice model
¿ªÔÆÌåÓýSo I was right about two different data
sources, but both are models, not one model and one measurement
results.? The moral of that is, says the Duchess (not of
Sussex), is 'Caveat Simulator'. On 2025-03-11 22:47, Andy I 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: Issue with Nexperia BUK7S1R0-40H PET LTspice model
On Tue, Mar 11, 2025 at 09:52 AM, John Woodgate wrote:
That is possible, but I think not likely.? By my read, the whole purpose of that Application Note is to show you the results of SPICE simulations.? Therefore, I think none of its plots were from measurements.? Also, it states that "the characteristics are always typical values and do not represent the limits of process variation."? I think it suggests that everything in that AppNote is average, not superior performance.
?
I agree with MaticH that the comparison is rather poor.? It should be much better, if not exact.
?
But read on.? I think there are reasons to explain it.
?
AppNote AN90034 was published in April 2022.? The LTspice model used today is dated June or July 2023.? We know it is a different model file because it lists a different number of MOSFETs than the ones shown in Figure 1 of the AppNote.
?
AN90034 refers specifically to the LTspice model here:
? ?
But the one in MaticH's (and my) simulations is here:
? ?
?
I think there was a significant change when they went from V1.1 to V3, even though it was only one year.
?
The older ZIP file is no longer there.??I tried retrieving it from the Wayback Machine but they did not successfully save it.?
So anyway, that is what I think happened.? Nexperia's model changed significantly between 2022 and 2023 and this explains why today's simulations differ so much from the plots in AN90034.
?
To make things even more interesting, Nexperia has yet another SPICE model for the same part, here:
That one is a non-encrypted generic SPICE model (Level=3 NMOS) and it should work in LTspice as well as most other SPICE programs.? It lacks the two thermal pins.? I did not try it, but I do not expect close agreement between that model, and the AppNote.
?
? |
Re: Issue with Nexperia BUK7S1R0-40H PET LTspice model
This is a minor oversight (aka bug) in LTspice. It can't decrypt the file. You can clearly see this from the error messages in the log. Will be fixed in 24.1.6.
Meanwhile you can work around it: open the library in a text editor and remove the last end-of-line. Then it'll work.
?
Best Regards,
Mathias
?
On Tue, Mar 11, 2025 at 04:35 PM, eetech00 wrote:
|
Re: Brady Ridgway's Fuzz_Face (guitar "fuzz" circuit) simulations
One more thing to mention here:
?
Because LTspice finds the lack of a load (DC path) connected to node Vout, it "corrects" the omission by adding a small conductance (large resistance) there.? It has to do that because it can't solve for the circuit's voltages without it.? Every node must have a DC path to ground.
?
With GMIN connected there, there is a little current through the output coupling capacitor, rather than zero as it would be in theory.
?
Andy
? |
Re: Schematic drawing issues
On Tue, Mar 11, 2025 at 12:00 PM, eetech00 wrote:
Most modern TVs use algorithms designed to smooth imperfections in the video source material.? They help reduce the appearance of "grain" and similar noise.? Such a smoothing algorithm might completely erase 1-pixel dots.
?
I'm also assuming that you have a 1:1 correspondence between your computer's video resolution, and the TV's display.? If they don't match, it has to interpolate between adjacent pixels, which might also alter their appearance.
?
Andy
?
?
|
Re: Brady Ridgway's Fuzz_Face (guitar "fuzz" circuit) simulations
Brady,
?
Here's a better explanation for the difference you saw.
?
Plot the voltage at the top of R1, which is the supply voltage for the fuzz circuit.
?
In the "original" circuit, it stays steady at -9.000 V.? It was at -9 V already at the very start of the simulation, because V1 is a pure DC source.
?
In the "+G" circuit, the same voltage point starts at 0 V, and then ramps towards -8.5 V over the first 7 ms or so.? This has a profound effect on the voltage on the right of R2, which connects to the output coupling capacitor.
?
In the original circuit, the voltage V(N001) starts at -8.51 and pulses to -9.0 V occasionally.
?
In the modified circuit, the same voltage (now V(N002)) starts at 0 and sweeps towards -8 V as the regulator powers up.? That ramp couples through the capacitor to Vout.? That is the reason for the difference you saw.
?
If you run the simulation using ".tran 0 50m 10m", the displayed difference appears to be much smaller because the ramping portion in the first 10 ms is ignored.? However, a large DC offset remains.? That's because of the lack of any load connected to Vout.
?
Andy
? |
Re: Issues running LTspice as a batch service
On Tue, Mar 11, 2025 at 11:11 AM, Jeff Kayzerman wrote:
?
Can you share the command parameters that you used? |
Re: Brady Ridgway's Fuzz_Face (guitar "fuzz" circuit) simulations
On Tue, Mar 11, 2025 at 01:56 PM, John Woodgate wrote:
It's inside the .ZIP file.
?
Anyway, you don't need it.? Just copy-and-paste one of the two AC128 .MODEL statements in my previous message.
?
Brady had uploaded two schematics and his standard.bjt as three separate files.? I moved all three into one .ZIP file.? He should have done that, but I took care of it for him.? I did not think it was a good idea to leave the file "standard.bjt" out there in the open, so it is in the .ZIP file now.
?
Note to everyone:? DO NOT move Brady's standard.bjt file to LTspice's component library folder, which would replace LTspice's own standard.bjt.? That would mess up your LTspice installation.
?
? |
to navigate to use esc to dismiss