Directory for custom symbols
My team wants to have a shared directory where all Electrical Engineers can place their symbols and libraries so others can re-use them instead of re-creating it. This is what the help doc says Search Paths This panel allows you to enter additional paths than the default to find symbols and libraries. When entering symbol and library search paths, list each directory on it's own line. This panel also allows you to edit the directory where user-defined discrete component libraries are located, in the field labeled "Location of user.* component library files." Questions: 1. Is the search recursive? I would imagine since the text says "list each directory on its own line" that it is not recursive. However one of my engineers says he has used a nested directory structure for his symbols for years 2. There is one top level to browse a location called "User libraries directory". Is this what I should be using to point to our shared location? If so, why would I need the "Symbol Search Path" and "Library Search Path" boxes that require one directory per line. 3. If someone edited a standard component will it take precedence if it is defined in one of these paths (presumably the "User libraries directory"? Thank you
|
Execute .meas file
16
Which temporary file(s) do we need to keep, if we want to return to a model and execute one of several .meas scripts? Is there a way (maybe in batch mode?) to execute a meas script without re-running the simulation? I have several worst-case analysis models that take at least several minutes to run (8, 9, + variables). I¡¯d like to run the meas scripts to extract different sets of measurements, drawn from one Run. At least in XVII, the Execute script command is only under the File menu on the Plot page¡ Thanks, Dave
|
Syntax error on .MEAS in 24.1.x
4
A new error seems to have crept into .MEAS directives on the 24.1 branch. Measurement names are apparently not now allowed to have a sign character in them, e.g.: .MEAS Tpd+ param T1-T0 .MEAS Tpd- param T11-T10 .. results in: I:\tony\Documents\Simulations\LTspice\Comparator\UniversalComp\Dev\UniversalComp_Test.net(37): syntax error .MEAS Tpd+ param T1-T0 ^^^^^^^^^^^^^ I:\tony\Documents\Simulations\LTspice\Comparator\UniversalComp\Dev\UniversalComp_Test.net(38): syntax error .MEAS Tpd- param T11-T10 ^^^^^^^^^^^^^^^ This has worked in all previous versions. In the logfile, normally it would show, e.g.: tpd+: t1-t0=1.08114e-08 tpd-: t11-t10=1.09962e-08 -- Regards, Tony
|
round () function on AC measurements does crash on old versions and just delivers zero at latest version
6
using round to get better readable results (e.g. mV's with one further number after the dot) in the measurements does not work for me in AC measurements while it works fine for TRAN. running .AC the following statements bring the below listed results .OPTIONS meascplxfmt=polar .MEAS V_ACOMP_max_IC7_p18_mV PARAM (V_ACOMP_max_IC7_p18*1000*10)/10 .MEAS V_ACOMP_max_IC7_p18_mV_2 PARAM round(mag((V_ACOMP_max_IC7_p18*1000*10)/10)) .MEAS AC V_ACOMP_max_IC7_p18_mV_3 PARAM round(mag((V_ACOMP_max_IC7_p18*1000*10)/10)) leads to v_acomp_max_ic7_p18_mv: (V_ACOMP_max_IC7_p18*1000*10)/10=(24.2389660125,0?¡ã) v_acomp_max_ic7_p18_mv_2: round(mag((V_ACOMP_max_IC7_p18*1000*10)/10))=(0,0?¡ã) v_acomp_max_ic7_p18_mv_3: round(mag((V_ACOMP_max_IC7_p18*1000*10)/10))=(0,0?¡ã) In former versions e.g. 24.0.12 using round() even crashed and said: this is a bug, please report it. Now with 24.1.8 it does not crash but reports zero...but maybe I am doin wrong because I don't get converted (not even with mag() ) this cartesian numbers to normal values. Also the ASCII character in front of ¡ã looks weired since new version installed.
|
LT1680
15
Hi, I am designing a Step-up Booster based on LT1680, for some reasons: 1)Suitable for high power; 2)Through hole package; 3)Simple external architecture. However, there is a discrepancy between the Datasheet and the LTspice component. It seems there is a mistake with the LTspice file that has only 14 pins while the real component has 16 and some pin names in LTspice are called differently. Can anyone please help me? Thanks
|
Photo Notifications
#photo-notice
Pietro <pietro_antonelli4874@...> added the photo album LT1680 : Hi, I am designing a Step-up Booster based on LT1680, for some reasons: 1)Suitable for high power; 2)Through hole package; 3)Simple external architecture. However, there is a discrepancy between the Datasheet and the LTspice component. It seems there is a mistake with the LTspice file that has only 14 pins while the real component has 16 and some pin names in LTspice are called differently. Can anyone please help me? Thanks The following photos have been uploaded to the LT1680 photo album of the [email protected] group. Differenze.png By: Pietro <pietro_antonelli4874@...>
|
Universal Comparator
7
All LTspice users should be familiar with UniversalOpamps. There are 7 different UniversalOpAmp models of increasing complexity capable of modelling almost any proprietary opamp to reasonable levels of accuracy in most regards, typically with superior convergence and speed within LTspice. I see quite a few people using opamps to model comparators, despite the requirements being quite different. It occurred to me this might be because there isn't an equivalent universal comparator. So I set out to change that. The UniversalComp is the simplest solution I could think of with just one B-source, and it features: Programmable Propagation Delay (trapped to prevent values <0) Programmable Hysteresis (trapped to prevent values <0) Rail-to-Rail Output Excellent convergence Blistering speed Infinite Common-mode Input Range I have also made two symbols, with the inputs reversed for drafting convenience, that are otherwise pin-wise compatible with the opamp2 and UniversalOpAmp symbols. The model and a test schematic is also available in Universal Comparator. -- Regards, Tony
|
Single-phase inverter control circuit
5
Hello everyone! I'm building a PWM control circuit for my single-phase inverter. I started by creating the control stage using a triangular wave source (Vp) and a DC source (Vc). I included an inverting op-amp to invert the triangular wave, and the buffer at the comparator¡¯s output is meant to isolate the signal. After completing the setup, I tested it and noticed that the output from my comparator was a triangular waveform with a peak-to-peak voltage in the megavolt range, which is obviously incorrect. Then I imported my inverter circuit and connected it to the comparator¡¯s output to see if anything would change, but it still doesn't work properly. Could someone help me figure out where I might be going wrong? Could it be that the generic op-amp I'm using isn't suitable for this circuit and I should use a different model? If so, which one? I will upload my .asc file named invmono_controle to the library. Feel free to test it. Thank you!
|
Pease tuneable MFB band-pass filter with level1 device
5
All, I replaced my "Pease MFB BP filter (2).zip" so that it includes the missing UniversalOpAmp1.lib file and created this topic to track it. Tim [Moderator's note: The filename has been changed to "Pease MFB BP filter (Tim Hutcheson).zip".]
|
Pease tuneable MFB band-pass filter
54
I have uploaded the above as a .ZIP. According to Bob Pease, the gain at the peak should be close to 34 dB, independent of the tuned frequency. I don't get either of those results using version 24.1.8. However, the bandwidth is fairly constant with frequency, as predicted. I can't believe Bob Pease reported the performance in error. -- Best wishes John Woodgate RAYLEIGH Essex OOO-Own Opinions Only www.woodjohn.uk If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion Virus-free.www.avg.com
|
Simulating a testofon
5
Hi, I try to simulate a testofon, but it doesn't work. Has anyone an idea, why? /g/LTspice/files/Temp/Testofon.zip -- Klaus
|
Oddity in Behavioural Voltage Source
17
Hi all, I'm toying with an OpAmp design that ultimately shall amplify and clip a sinusoidal voltage (100Vp, 100kHz, 10x Amplification), nothing special except the slew rates are quite high. Now, to verify the functionality that comes _after_ the OpAmp, I've used a behavioural voltage source that I would expect performs exactly the function I want: limit(10 * V(Vin), 0, 10). However, when looking at the simulation, I see that the behavioural voltage source starts to rise _before_ V(in) crosses zero. I would post an image, but cannot. What causes this behaviour? Can it be fixed? My Version of LTSpice is 17.1.5 for MacOSX. Thanks a lot for your input and cheers, Joerg Here is the a
|
Cannot find models
5
Hi, my name is Ben and I was looking for the 3pin POT model in your database. I found this link: http://www.emwonder.com/spicemodels/ . But I cannot open it. Can anyone help me? thank you already. -Ben
|
simulating CD4007 (CD4009 ??) for linear application
7
Hi! I am a LTSpice novice who is looking to simulate a CD4009 chip for a linear application. Specifically, in the electronotes newsletter #111, it is hinted that these can be used to make a simple VCA. My very naive approach has been to just copy down the arrangement of NMOS and PMOS shown on the CD4009 datasheet as shown, without tweaking any parameters or selecting "pick new transistor". The circuit I am trying to simulate seems to qualitatively do what it is supposed to after some tweaking, but with the RC values and and supply voltage as shown in the original schematic, it does not achieve nearly the performance claimed. I am wondering if there is any way to select NMOS and PMOS parameters to improve my simulation's accuracy to the actual CD4009. Any help is much appreciated! see files: Eli_R_CD4009_VCA_Question.asc and photo album Eli_R_CD4009_VCA_Question datasheet: https://www.ti.com/lit/ds/symlink/cd4010b.pdf?ts=1746999393252 [Moderator's note: The original Subject said "CD4007", but the body of the message refers only to "CD4009". I have modified the Subject line to suggest the CD4009.]
|
plotting group delay multiplied by frequency
6
Hi all - quick bedtime question - I need to plot the group delay of a circuit multiplied by the frequency. Too tired to work out how to do it, nothing I've tried has worked. Is there a natty little trick in the plot window? Thanks -- K
|
Modelling magnetic core of EP10 with T38 material of TDK micronoas
6
Hi , I am trying to model the Ep10 core with T38 material from TDK micronas I have modelled the core but I am not sure whether it is correct or not ? How do I check my model ? Also it would be good if you could tell me if there are any pre defined core models for this THanks
|
Crystal oscillator oscillation startup
29
Here is an initial circuit draft of a crystal oscillator : ck_osc.zip I have so far checked the circuit operating points according to the circuit requirements. However, it just does not start to oscillate. I am a circuit beginner noob, please feel free to point out mistakes and guide me to solve the oscillation startup issue.
|
Single-phase H-bridge inverter circuit
10
Hello all! I'm trying to design a circuit for my college project. My load is purely resistive, so in theory, the waveform I should see across the resistor will be square-shaped with the same RMS voltage as the supply voltage (Vcc) of the circuit. However, when I simulate my circuit, the waveforms appear distorted and noisy. Could someone check if there's something wrong with my circuit or suggest any ideas? I suspect that I'm also configuring my PWM sources incorrectly, maybe messing up the dead time... it's all a bit confusing. You can find the schematic through the link below. Thank you! [Link to off-site file on Google drive removed] [Mod note: Never point us to off-site storage. Upload your schematic to this group's Files area.]
|
IP3 or 3rd Order Intercept Point Plotting
7
Are there any files, messages etc, that detail how to plot the IP3 of an rf amplifier using LTspice? I would be interested in comments and examples on this subject.
|
Access .model parameters by name in expressions
7
I'm creating some subcircuits and would like to use some parameters of a model in further expressions, but only have to define the value once in the model itself. Is this possible in LTSpice? For example can I use the saturation current of a particular transistor model in a subsequent expression? eg: * define a model with some parameters .model npnmodel npn(is=1e-16 n=1.02) * access one of the parameters in an expression somehow to calculate a derived value * - the actual expression will be more complicated than just *2 .param val = {npnmodel(is)*2}
|