Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: Warning: Multiple definitions of model ...
¿ªÔÆÌåÓýI was just about to post
another example of this. In addition, I find in the netlist
generic devices NPN, PNP and D, which were in the .ASC but
have been replaced by real devices, BC547B, BC557B and 1N4148. ======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only Rayleigh, Essex UK I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC) On 2023-07-08 09:40, Bernhard Weiskopf
wrote:
Since several weeks the "SPICE Error Log" file contains these lines even when these transistors are not used: Warning: Multiple definitions of model "2scr375p" Type: BJT Warning: Multiple definitions of model "bc857b" Type: BJT Warning: Multiple definitions of model "bc847c" Type: BJT Warning: Multiple definitions of model "bc847b" Type: BJT The multiple definitions are in c:\Users\...\AppData\Local\LTspice\lib\cmp\standard.bjt E.g. 2SCR375P: Rohm, twice with identical parameters BC847C: Duplicate from Rohm with wrong parameters, e.g. IKF=1.3 Vceo=32, Icrating=200m, base collector and base emitter capacities interchanged ¡ I am using LTspice version 17.1.9 and did never edit this model parameter file. Does anyone know how the duplicates got in and how to avoid duplicates in the future? Bernhard |
Warning: Multiple definitions of model ...
Since several weeks the "SPICE Error Log" file contains these lines even when these transistors are not used:
Warning: Multiple definitions of model "2scr375p" Type: BJT Warning: Multiple definitions of model "bc857b" Type: BJT Warning: Multiple definitions of model "bc847c" Type: BJT Warning: Multiple definitions of model "bc847b" Type: BJT The multiple definitions are in c:\Users\...\AppData\Local\LTspice\lib\cmp\standard.bjt E.g. 2SCR375P: Rohm, twice with identical parameters BC847C: Duplicate from Rohm with wrong parameters, e.g. IKF=1.3 Vceo=32, Icrating=200m, base collector and base emitter capacities interchanged ¡ I am using LTspice version 17.1.9 and did never edit this model parameter file. Does anyone know how the duplicates got in and how to avoid duplicates in the future? Bernhard |
Re: I am unable to add and use the BS138 (BSS138) model for simulation Iin LTSpice. can anyone help me with this
I have made a VMOS model based on the Onsemi datasheet, which adheres pretty well to all the graphs. Unfortunately, I can't upload ATM, as our power has been taken out by a big thunderstorm. -- Regards, Tony On 7 Jul 2023 19:06, Andy I <AI.egrps+io@...> wrote: Richard wrote, "I just went to diodes.com and found the newest spice model for the?" |
Re: ISL70444SEH declaration issue?
FYI -
Op-amp GBP or bandwidth is only one consideration. Also there are the effects of the external components, such as the feedback capacitor, the output load, gain-peaking, etc.. Also slew rate.? The ISL70444SEH has a slew rate spec of 60 V/us, so you must count on it taking 25 ns just to move the output by 1.5 V, which has nothing to do with the amp's bandwidth.? It is a nonlinear phenomenon. Andy |
Re: ISL70444SEH declaration issue?
mliccione89 wrote, "I'm not getting what I expect to see at the output of the TIA."
What did you expect to see? It looks to me like you are sending very narrow (~ 2 ns wide) pulses into the TIA.? How much bandwidth is required to pass a 1 ns risetime?? The rule-of-thumb is at least 350 MHz.? How much bandwidth does the ISL70444SEH have?? Its datasheet claims that its GBP is 19 MHz typical -- which is much less than what you would need to maintain a reasonable likeness of your pulses with their 1 ns rise and fall times.? Perhaps it is acceptable to live with the lost rise and fall times, but I think the pulse widths are just too narrow to expect them to be faithfully reproduced by such a "slow" op-amp. There are faster op-amps.? But it gets challenging to work with extremely fast op-amps. Consider starting slow in your simulation (much wider pulsewidths at I1 and I2), and then watch at what point the output waveform can't keep up. Andy |
Re: I am unable to add and use the BS138 (BSS138) model for simulation Iin LTSpice. can anyone help me with this
Richard wrote, "I just went to diodes.com and found the newest spice model for the?"
And ... what is your point? That was one of the four BSS138 SPICE models that vedhaanth648 already pointed to, yesterday, when they asked their question.? What do you make of that one particular model, and why should we think it is either better or worse than other BSS138 SPICE models? I think it's funny that you call this one "the newest spice model" when it is in fact 16 years old.? I found many other BSS138 models which are newer than that one.? So the "newest spice model" you found is definitely not newest!? Check your facts. But as I said previously, newness does not imply goodness. Just an FYI -- I have four BSS138 SPICE models from Diodes Inc.? And I've got three more from Onsemi, one from NXP, and six from Infineon.? What makes any model good?? I'd say it is how well it agrees with what the part actually does, which is best determined by purchasing a few dozen samples from various manufacturers, and hooking each one up to some test equipment. Andy |
Re: ISL70444SEH declaration issue?
Thanks Tony et al. I did totally flub the initial file upload. I've moved on to using this opamp for my intended purpose, as a TIA that can pass pulses from a photodetector. I'm not getting what I expect to see at the output of the TIA. Perhaps this opamp is not fast enough?
Here are the files |
Re: can the Sam Ben-Yaakov self-adjusting switched-capacitors 4 cells balancer, economically manage 104 cells wired in series?
On Thu, Jul 6, 2023 at 04:33 AM, Tim Hutcheson wrote:
I got the impression that the switching mechanism is essentially the same as he describes in a 2008 lecture on SCC, at ?where at about 55 minutes into the slides hew states just that.? So then I looked at the schematic in one of his students thesis for a small implementation and it seemed to confirm this.? I could be wrong.IMO, you are wrong, Tim. The video is about a quasi-continuously varable step-down DC/DC converter. Concerning his self-adjusting autonomous 4s battery equalizer, Sam Ben-Yaakov described a natural self-balancing behaviour (propagation indeed) permitting the use of 2 switches per cell in case it is acceptable that the 4s cells series-arrangement balancing takes 5 hours.?An LTspice simulation could validate this. Can an LTspice simulation show that a 104s arrangement behaves the same natural way? It's quite sinple. One must to concentrate on Regards, Steph |
Re: can the Sam Ben-Yaakov self-adjusting switched-capacitors 4 cells balancer, economically manage 104 cells wired in series?
On Thu, Jul 6, 2023 at 02:22 AM, Lohi Karhu wrote:
Funny thing is, that I filed a patent, way back in about 2007 on balancing ¡®energy storage devices¡¯ using a switched-capacitor mechanism¡Nokia Corporation, unfortunately no series layout. |
Re: I am unable to add and use the BS138 (BSS138) model for simulation Iin LTSpice. can anyone help me with this
Richard wrote, "The files are dated, use the most recent one."
That's one way of thinking about it, but probably not the best.? Newer does not mean better.? You might get the one made by someone who just got out of high school and first used SPICE two weeks ago.??You could also base your decision on who made the model, or what company published it (may or may not be the same).? Preferably, you should try the models and compare them with datasheets, or with measurements of real parts. Andy |
Re: I am unable to add and use the BS138 (BSS138) model for simulation Iin LTSpice. can anyone help me with this
vedhaanth648,
I uploaded your file for you.? It is in the Temp folder.? BSS138.zip. To answer your question "i dont know which one to use", use whichever one you want to use.? All three of them appear to be SPICE models, so any of them should work in SPICE (and LTspice).? Take your pick.??They appear to be MOSFET models.? Two of them can be used directly.? But one of them (BSS138.lib) is a special model that has a fourth pin for temperature.? To use that one, you will need to create (or borrow) a special MOSFET symbol that has the fourth pin, and then use that pin correctly.? That might mean connecting the fourth pin to a voltage source, or to an RC network to represent a heatsink. So I recommend starting with the other two models first. The other two models are ordinary 3-terminal subcircuits.? You can use them with LTspice's normal MOSFET symbols (either NMOS or PMOS as appropriate).? After adding the symbol to your schematic, then use Ctrl-right-click on the symbol, and change the Prefix value to "X" (without the quotes), and click OK. Andy |
Re: I am unable to add and use the BS138 (BSS138) model for simulation Iin LTSpice. can anyone help me with this
Please do not point us to some random website that has your files, even if it is your own.? UPLOAD your files to our group's Files section, into the "Temp" folder:
? ??/g/LTspice/files/Temp Maybe you forgot to read what it says on the group's main webpage: "do not point us to other ("third party") file storage websites".? Go back now and read the group's main webpage. Andy |
Re: I am unable to add and use the BS138 (BSS138) model for simulation Iin LTSpice. can anyone help me with this
¿ªÔÆÌåÓýPlease DO NOT send us to
third-party sites for data. Upload your .ZIP to Files =>
Temp, and then tell us you did that. Meanwhile, you mean
BSS138, not BS138.? The way to add third-party models is
explained in the Help, but it's best to put the model file in
the same folder as the .ASC. Don't try to add it to LTspice's
native files, which is not straightforward and often leads to
problems. ======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only Rayleigh, Essex UK I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC) On 2023-07-06 19:05,
vedhaanth648@... wrote:
|
Re: can the Sam Ben-Yaakov self-adjusting switched-capacitors 4 cells balancer, economically manage 104 cells wired in series?
Tim wrote, "Yikes, my calculator says that's more than? 2.028e31 switches."
That could be a challenge even in LTspice. At the end of the day, subcircuits don't make simulations smaller.? If there are 2.028e31 switch subcircuits, they are not represented by one subcircuit that gets 'called' 2.028e31 times.? They have to be expanded into 2.028e31 equivalent circuits that become part of the full netlist.? That's a lot of transistors and more. I don't think today's PCs are quite capable of that.? ;-) Andy |
Re: can the Sam Ben-Yaakov self-adjusting switched-capacitors 4 cells balancer, economically manage 104 cells wired in series?
I got the impression that the switching mechanism is essentially the same as he describes in a 2008 lecture on SCC, at ?where at about 55 minutes into the slides hew states just that.? So then I looked at the schematic in one of his students thesis for a small implementation and it seemed to confirm this.? I could be wrong.
Tim |