Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: NAND, INV, CMOS, HCMOS logic series - are there models in LTSPICE?
Hello Christoph, There is a library with HC and HCT in our group's directory Files > Lib. Models: 74HCT.lib Symbols: 74HCT.zip Please although take a look to the examples from this folder. It's best practice to copy the symbols(.asy) you need to the folder of your schematic. Although copy the file 74HCT.lib into this folder. Please be ware that these models are somewhat idealized. This means they may behave better than the real parts especially regarding output drive capability. ? Best regards, Helmut |
Re: NAND, INV, CMOS, HCMOS logic series - are there models in LTSPICE?
¿ªÔÆÌåÓýDownload and save all_files.htm from the web site and open it in
your browser. Search (CTRL-F) for likely keywords, such as CMOS. Best wishes John Woodgate OOO-Own Opinions Only J M Woodgate and Associates Rayleigh, Essex UK On 2018-11-28 09:23, kuku@...
[LTspice] wrote:
? |
Re: NAND, INV, CMOS, HCMOS logic series - are there models in LTSPICE?
Hello Cristoph
As the subject say: I'd like to use some NAND gates like 74HCT03. Is there aIf it's just "gates like ...", then you have the directory [Digital], with A-devices (see the manual for more details, and ltwiki.org for even more). If it's a CMOS or the likes you're looking for, there are some libraries in the group's Files area, or, you can always build one from scratch, yourself, with NMOS4 and PMOS4 readily available. -- Vlad ______________________ ltspicegoodies.ltwiki.org -- holding, among others: a universal analog/digital filter, block-level models for power electronics (and not only), math blocks with a more stream-lined approach, some digital ADC, DAC, (synchronous-)counter, JKflop, etc. |
Re: Edge triggered b-source logic and integrated averaging in LTspice
You know how to use definite and indefinite articles perfectly, but youThank you for the praize, quite the surprise. This would imply my English is better than I had hoped. I know there are inconsistencies such as 'to praize/surprise', etc, but that's mostly because, in school, I learned British-English, while most of the ...audio training was Hollywoodian in nature, so to speak. However, Andy is right, I am Romanian, and Vlad is a fairly common name here, even if the origins are slavic -- they had the second highest influence in history, from which we got the Orthodox church and the cyrillic alphabet (used up to the 18th century, even if the language was Latin-based). I've never been in the US before, or UK. What do you know of traditional Russian foods? I know praniki is a genericThey're called biscuits here and, for my part, the "old" recipes still contribute to higher levels of moisture on my tongue... -- Vlad ______________________ ltspicegoodies.ltwiki.org -- holding, among others: a universal analog/digital filter, block-level models for power electronics (and not only), math blocks with a more stream-lined approach, some digital ADC, DAC, (synchronous-)counter, JKflop, etc. |
Re: AES17-20k Filter
[...] in my defence [...]I hope I'm not perceived as dismissive of your efforts, I honestly had no intention of that. My apologies if this is how it turned out. On the contrary, seeing that you made the effort to provide such an example, I thought I'd contribute with a suggestion, backed by a minor proof. That's all. It also has the advantageIt only uses G+C+R, so this one should also be SPICE friendly. The whole package might not, though. There's AES17_Filter_2.zip in Temp with what I meant. It also includes the 7 design possibilities (that I know of) to serve as a few choices. -- Vlad ______________________ ltspicegoodies.ltwiki.org -- holding, among others: a universal analog/digital filter, block-level models for power electronics (and not only), math blocks with a more stream-lined approach, some digital ADC, DAC, (synchronous-)counter, JKflop, etc. |
Is it possible to dynamically change a part's location in one simulation ?
Hi, : It occurred to me, and confused me a while, typically I hope to dynamically change a part's location in the schematic of LTspice when I am running simulation, that means different circuit topologies but similar, it helps to "batch" those result in one-click simulation. Like the 'step' directives, but step doesn't support different topology (part's location). I never used that, but I think if it's possible, that would be great. Actually, more great stuff is the parts (which change locations) could be changed their 'model', I mean dynamically change, eg: R -> C, C->L, etc, and the polarities. Like the '.list' directives, but '.list' only change the fixed part's intrinsic value. Though it's almost impossible, but I better ask one time to get the exact answer. Which maybe I could inherit something, maybe store it in my mind. Thank you very much. Have a nice day! Best regards. |
Re: encapsulating a long set of spice directives
Ah, Shift-Ctrl-Alt-H works but ONLY for text attached to components (i.e., only for hidden Attributes).? It has no apparent effect on Comments or on SPICE Directives. Making the Comment or SPICE Directive text hidden, and later visible, moves the text around relative to other components.? So my recommendation is DON'T USE IT. Regards, Andy |
Re: encapsulating a long set of spice directives
Stephane wrote: "Unfortunately, the following LTspice set of directives must be issued on the main schematic : .param R1e 3.5? ? ? ? ?; ohm (coil copper resistance) .param L1e 390?? ? ? ;? henry (main coil) .param K1e 0.81? ? ? ?; Le1 Le2 coupling? .param L2e 3.7n? ? ? ?; henry (eddy current coil) .param R2e 68?? ? ? ?; ohm (eddy current resist.) .param Bl 4.2? ? ? ? ? ? ; A*m or N/A (magnetic force) .param Mms 5.5m? ? ;? kg (moving mass) .param Rms 0.87? ? ?; ohm (resistive loss) .param Cms 1.36m? ?; m/N (suspension compliance) .param Sd 52 * 1e-4 ; m^2 (piston area) .meas Fs avg 1/(2*pi*(sqrt(Cms*Mms))) ; Hz .meas Vas avg rho*c*c*Sd*Sd*Cms*1e3 ; litres .meas Qes avg (2*pi*Fs*Mms*R1e)/(Bl*Bl) .meas Qms avg (1/Rms)*sqrt(Mms/Cms) .meas Qts avg (Qms*Qes)/(Qms+Qes) .meas Rend_pc avg 100*(4*pi*pi*Fs*Fs*Fs*Vas*1e-3)/(c*c*c*Qes) .meas SPL_2.83v avg 112.1+10*log10(Rend_pc/100)+10*log10(8/R1e) .param Po 101k ; Pa .param rho 1.184 ; air density kg/m3 .param c 346 ; speed of sound in air m/s" All the .param and .meas directives can be placed in a text file, and .included. I'm pretty sure that it used to be the case that the netlist parser would not open included files for parameters that were component values, and would throw an error. At some time over the years, this seems to have been fixed - perhaps at the same time parameter scope rules were changed. The .meas directives are only required after the simulation has run, and it has always been possible to load them from a file. There is even an LTspice UI method hiding under the "File" menu that explicitly does just that: [Waveform Viewer] File > Execute .meas script Regards, Tony |
Re: Edge triggered b-source logic and integrated averaging in LTspice
¿ªÔÆÌåÓýVlad(imir) is a Slav name. Most, but by no
means all, Romanian names are of Latin origin. So, not only
Russian. Best wishes John Woodgate OOO-Own Opinions Only J M Woodgate and Associates Rayleigh, Essex UK On 2018-11-28 07:49, Andy
ai.egrps@... [LTspice] wrote:
? |
Re: AES17-20k Filter
On 2018-11-28 08:19, Vlad wrote: "I see you are using an ideal approach, so you could use a different Where you end up often depends on where you start. You are right, of course, but in my defence, I started from a physically realisable circuit and optimised it as a simulation tool. It also has the advantage that it should work with any SPICE. Feel free to offer a more efficient alternative. Regards, Tony ?
|
Re: encapsulating a long set of spice directives
AS wrote, "You have to zoom out all the way to get it to show everything hidden.? It only reveals what is in the current zoom level." Did that.? No change.? Anyway, the hidden text would not have moved, would it?? If it was in my screen area, shouldn't it still be there? Maybe I zoomed out too far? Andy |
Re: Edge triggered b-source logic and integrated averaging in LTspice
I had guessed Romanian, not Russian. If so, his original native language might have been Romanian. I love the international nature of this group.? It's not something I see very often here in USA. (FYI - in this case, "articles" means a kind of word, in grammar.? If you don't already know English grammar, or if you use Google to translate to your own language, maybe the word "articles" does not translate correctly.) Andy |
Re: Edge triggered b-source logic and integrated averaging in LTspice
Hello Vlad, You know how to use definite and indefinite articles perfectly, but you have a Russian name, so you must be either second generation or first generation (before the age of seven) Russian American.? I have worked with absolutely brilliant Russian and Polish guys in the past who knew English perfectly except for how to use articles.? They always had me review their otherwise impeccable papers to correct articles before publishing. What do you know of traditional Russian foods?? I know praniki is a generic term, but do you know of the unleavened hard biscuit/cookie that is made from white flour, sugar and mint?? They are like a teething biscuit for babies.? They are better than chocolate. ---In LTspice@..., <imbvlad@...> wrote : Hello analogspiceman > Earlier today I received a message from Mike. There is a now a new updateYes, I happened to update late yesterday and I saw the changelog. Thank you for the notice. -- Vlad ______________________ ltspicegoodies.ltwiki.org -- holding, among others: a universal analog/digital filter, block-level models for power electronics (and not only), math blocks with a more stream-lined approach, some digital ADC, DAC, (synchronous-)counter, JKflop, etc. |
Re: AES17-20k Filter
Hello Tony
In the pretend world of simulation, the same requirements applyI see you are using an ideal approach, so you could use a different topology that is simpler, with the same effect. For example, if you would use the custom filter I made with fc=0 BWp=20k BWs>BWp (any value greater than BWp) Asc=0 Ap=0.1 As=65 N=8 you would achieve the same results, with less components. Or use BWs=25k and N=0, it will improve the stopband rejection slightly but extend the transition width (still within constraints). The topolgy uses 5xG, 2xC, 1xR (1xG per 2nd order coefficient) and 4 nodes, considering one 2nd order stage (I/O will be shared between). Insertion loss at 20kHz: < 0.1dB-- Vlad ______________________ ltspicegoodies.ltwiki.org -- holding, among others: a universal analog/digital filter, block-level models for power electronics (and not only), math blocks with a more stream-lined approach, some digital ADC, DAC, (synchronous-)counter, JKflop, etc. |
Re: encapsulating a long set of spice directives
You have to zoom out all the way to get it to show everything hidden.? It only reveals what is in the current zoom level.
---In LTspice@..., <ai.egrps@...> wrote : analogspiceman wrote: ? ? "Shift-Ctrl-Alt-H: Temporarily highlights all hidden text within the schematic." I tried that (and a few other combinations).? Never got it to show the hidden text. Andy |