Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Which folder to install new libraries ?
Hello, I want to download and use a digital library. Do I install in LTSpice in "program files" or my working directory users/me/LTSpice ? I followed the instructions and installed the library into LTSpice in the "Program Files" directory. When I open up a new schematic and enter a part it is just the default digital devices.? Thanks Joe McCarron |
Re: LTSpice Model for Photo Triac - VOM160
I suggest also searching with these search terms: ? ? "opto-triac" ? ? "optotriac" ? ? "opto triac: and even simply "opto" if you are willing to filter through the many results. There are a few instances of "opto-triac", "optotriac", and "opto triac" already in the Table of Contents file (all_files.htm), but I don't know if your Vishay part might be one of them. There is even one match for "photo triac" (with the space). Obviously, no search is perfect because many combinations of words can be used for the same thing, so you have to think creatively. By the way, Eric -- When starting a new question in this forum, please use the "New Topic" button, not the "Reply" button.? Even though you changed the Subject line, your message is linked to the question about the HV9110 PWM controller (which you replied to).? The Yahoo!Groups website is at least partly thread-aware, and it keeps your replies within that original conversation even though you changed the Subject line.? Therefore, use "New Topic" to start a new topic.? (This affects some people's email programs too.)? If you don't see the "New Topic" button, go back to the group's main webpage, by clicking on "LTspice" in bigger letters near the top of the page. Regards, Andy |
Re: Multiple .NOISE simulations on a single plot
Conin wrote:
"I have 2 circuits in a single simulation file. I would like to compare the output noise between the circuits on a single plot. I'd like to do this without post processing .RAW files in the LTSputil tool. How can I step or parameterize the .NOISE simulation directive to have both results at the same time?" If they are both in a single simulation file, then you really have one circuit. You just happen to think of the two halves as being separate, but LTspice doesn't know this. Therefore, you already have both circuits at the same time, don't you? When you run the simulation, you can plot the noise from both halves on the same plot. I see no need to parameterize or step anything or to do any post-processing. If this doesn't answer your question, maybe you need to be more specific, or upload your simulation file(s). Remember to include all symbols and models that didn't come with LTspice, and if there's more than one file, zip them into one .ZIP file (that's .ZIP, not another file type). Don't include .raw or .log files. Remember to read the instructions on the group's main webpage and in the email you received when you joined. Regards, Andy |
Re: LTSpice Model for Photo Triac - VOM160
Hello John, Thank you very much. I will? try that.. Best regards, Eric
|
Re: LTSpice Model for Photo Triac - VOM160
¿ªÔÆÌåÓýHave you downloaded and saved all_files.htm
from the web site? Open it in your browser and search for
phototriac. John Woodgate OOO-Own Opinions Only J M Woodgate and Associates Rayleigh, Essex UK On 2018-11-20 22:46, Eric Henares
eohenares@... [LTspice] wrote:
? |
LTSpice Model for Photo Triac - VOM160
Hi, I'm new to this group? and LTSpice simulation as well. So far it has been very helpful to the design of my circuit. Now i need to add a photo triac. I tried looking at LTSpice available libraries but could not find a model for a photo triac. Would there be one for the part no. VOM160? Or similar one? Thanks and best regards, Eric |
Multiple .NOISE simulations on a single plot
Hello, I have 2 circuits in a single simulation file.? I would like to compare the output noise between the circuits on a single plot.? I'd like to do this without post processing .RAW files in the LTSputil tool.? How can I step or parameterize the .NOISE simulation directive to have both results at the same time? Thank you, Colin |
Re: Loudspeaker model
Bill Perkins
While the link below might be more than you are looking for, the author takes some pains to SPICE-model eddy current effects in a LS motor assy:
toggle quoted message
Show quoted text
English isn't his first language so the text gets a bit convoluted in places. Finally, if anyone has the time to re-do his SPICE work, properly labelling the curves and using a white background, I would be grateful as I plan a rather substantial edit of the document into more accessible form. Bill @ PEARL, Inc. Sanzha, in addition to what yoyu can find in the all_fils.htm, this link may give you some info on making your own model. |
Re: How to include component values in LTSpice trace formulas
Doug, One way is found here: Note that this method does not rely on the value of the capacitor because it integrates the VI product v(t)*i(t) which is energy by definition.? Be sure that the voltage on the capacitor is 0 at time=0.? Use the UIC option of transient analysis if necessary.? Use small time step to improve accuracy if necessary. Good luck, Dan |
Re: Loudspeaker model
¿ªÔÆÌåÓýSanzha, in addition to what yoyu can find in the all_fils.htm, this link
may give you some info on making your own model.
Regards, Steve From: mailto:LTspice@...
Sent: Tuesday, November 20, 2018 4:08 AM
To: LTspice@...
Subject: [LTspice] Re: Loudspeaker model ?
?
sanzha.shabdarov asked if there are SPICE models for
loudspeakers. |
Re: Is there any good 8 Ohm 0.5W loudspeaker model?
¿ªÔÆÌåÓýFirst, please don't put your question only in the subject line; it needs to be in the message body, like this: Subject: Loudspeaker model Message: Is there any good 8 Ohm 0.5W loudspeaker model? There is information on loudspeaker models in
the list archives. Go to the web site and download and save?
all_files.htm. Open in in your browser and search (CTRL-F) for
speaker and loudspeaker (separately).? 8 ohm is relevant to the
modelling, but 0.5 W isn't. The power rating (which is a very
vague thing and is related to things like voice-coil temperature
and cone excursion that electrical models do not cover) is only
weakly related to the model - a 0.5 W loudspeaker is likely to
be a small one and therefore have a main resonance in the
frequency range 250 Hz to 450 Hz. John Woodgate OOO-Own Opinions Only J M Woodgate and Associates Rayleigh, Essex UK On 2018-11-20 07:30,
sanzha.shabdarov@... [LTspice] wrote:
? |
Re: Loudspeaker model
sanzha.shabdarov asked if there are SPICE models for loudspeakers.
There are. One of the things that you saw when you joined this group (but probably did not pay attention to), is the fact that the group has a sizable Files area with models that have been collected over more than 15 years. The "Table of Contents" file (all_files.htm) is your best index into those files, but it's not a perfect index. Download that file. Then open it in your web browser. I suggest doing a search for "speaker", but be aware that some of them are different, such as piezoelectric and electrostatic speaker elements. Just check the files and see what you find. Some might be what you're looking for; others not. Also be aware that loudspeakers come in all shapes and sizes and types. Any one model is good for only one speaker, and it's probably not the one you really wanted. Many models would be for complete loudspeakers with one or more drivers inside an enclosure. The enclosure makes a big difference to portions of the speaker's impedance. Some good places to search for SPICE models are (a) our group's Files area, (b) a manufacturer's website (esp. for ICs and some transistors), and (c) Google -- e.g., the open Internet. Some judgment is always required, along with willingness to use a similar model when the one you're looking for doesn't exist. Regards, Andy |
Re: How to include component values in LTSpice trace formulas
Doug, you probably realized this already, but I had completely misunderstood your original question.? When you asked about "traces", I thought you meant PCB traces, A.K.A. "wires" or nets.? Silly me, I didn't realize that you meant traces in the waveform window. Probably the easiest way to get a parameter (.PARAM) value from a schematic into the waveform section of LTspice, is to use a voltage source with value equal to the parameter, as you outlined, and as "hevans" described.? Voltage sources are cheap in SPICE. Just be aware that .PARAMeters are evaluated only before simulation begins, so not only do their values not change over time, but they can't depend on any voltages or currents elsewhere in your circuit. But Tony's approach of using .MEAS statements, then plotting their results from the .LOG file, is very powerful. Most everywhere in LTspice, numbers are just numbers.? When you combine things into formulas, LTspice doesn't care that Volts really mean Farads.? I think it never complains about combining or mixing up units.? However, LTspice's plotting window is moderately intelligent about interpreting units, in order to attach helpful units to your displayed axes, but otherwise it also doesn't care.? So, for example, if your formula uses Volts as the analog of capacitance, you can try multiplying it by (1000mF/1V) and LTspice might recognize that you wanted Farads.? I'm not entirely sure that it knows Farads, Joules, or whatever, but it might.? (You'd have to do it this way instead of "1F/1V" because "1F" likely would be interpreted as 1 femto and that would scale things rather incorrectly.) It should also be noted that there are a few situations where LTspice's waveform viewer treats units and multipliers differently than the rest of LTspice (and SPICE).? For example, I BELIEVE (not certain) that the waveform viewer lets you use MHz to mean megahertz, whereas in SPICE and in the simulation engine in LTspice, MHz is always interpreted as milli (or milliHertz but without the Hertz).? I haven't looked to see if the waveform viewer knows anything special about "Farads" when spelled out; or for that matter, if it even knows that Farads exist.? I'm sure it has a limited set of units that it understands.? This part of LTspice is not well documented. Regards, Andy |
Re: DN3545 N-Channel, Depletion-Mode Mosfet Model Possible in LTSpice?
Jan wrote: ? ? "Does this imply that I can turn a suitable enhancement mode N-chan VDMOS into a depletion mode device by just inverting VTO?" I think that depends on what you mean by "suitable". ? ? "Sounds so easy ;-) !"? You know what they say -- if it sounds too easy, it probably is. Certainly the value of the Vto parameter (along with whether it's an N or P channel device) defines whether a MOSFET is enhancement or depletion mode, since that is more or less the definition of the electrical difference between them.? If the MOSFET conducts when Vgs=0, then it's a depletion-mode MOSFET.? If it doesn't conduct at Vgs=0, then a gate voltage is needed to form a conducting channel and it is an enhancement-mode MOSFET. Having a SPICE model for a depletion model MOSFET doesn't mean there is a part made that matches the model.? Kludging up another transistor's model might need more than one tweak to make it semi-realistic.? The presence/absence of a physical channel probably means some significant changes otherwise to the model. I'd recommend choosing a part number of a few popular deplstion mode MOSFETs, then see if there are LTspice models for them. Regards, Andy |
Re: How to include component values in LTSpice trace formulas
> If anyone knows a clean, direct way to get param values into the formula for a trace, I'd love to know what it is < Just create a voltage source and assign its value the parameter name.? You can now use the voltage of that source in your formula to access the parameter value.? If you desire, you can also divide the expression by 1V to make the parameter dimensionless. |