LTspice24 windows version run on macOS
7
#Mac
Has anyone successfully installed LTspice 24 windows version on macOS with Wine or another tool? Preferably something open source or free to use vs paying for crossover. If so can you help share what you did?
|
Using Op Amp as comparator
12
When I use the Universal Op Amp or Universal Op Amp 1 as a comparator, the output chart changes from V to MV. Here are the parameters: Positive supply 12 V Negative supply -12 V or GND Reference voltage 3 VDC Input Voltage 6 V 1000 Hz sine For the life of me, I can't get the comparator to work. When I try the MAX9095 comparator, the display is not in MV, but the comparator output is a straight DC line. Why does LTspice change the chart to MV using the Universal Op Amps? With the MAX9095, why doesn't the output change at the transitions when the sine wave crosses the fixed voltage? THANKS.
|
Vin vs. Load - YX logarithmic plot
10
Hello, I would like to create a simulation of overcurrent protection circuit ¡ª a graph where the Y-axis shows the current drop (in Amperes), and the X-axis shows a linear increase of voltage in the range of 15¨C50 V. I expect a logarithmic curve of the current decreasing from 1.2 A down to 0 A as the voltage increases. I used the .step param function (.step param Vin 12 50 1), but that¡¯s not what I¡¯m looking for. How should I define such a graph? Thanks Jurek
|
Possible g;itch in stepping parameters
20
Of course, the error is more likely with me, but: I¡¯m experimenting with a simple solar cell/array simulator I can reuse with larger models. It¡¯s working and stable, at a wide range of open circuit voltages and short circuit currnts, and with different Diode models. (A current source across a string of ¡®N¡¯ diodes of known Vfwd) But when I inserted a .step of the Voc parameter, while it seems to simulate correctly, I got a weird .measure result. .param Voc 75 .step param Voc list 32 45 75 .param Vc 0.8921 .param Vc2 0.7451 .param Isc 1.2 .param nCells {Voc/Vc} .param nCells2 {Voc/Vc2} .meas nC PARAM {nCells} ; here to annotate in the log file .meas nC2 PARAM {nCells2} ; here to annotate in the log file From the log file: .step voc=32 .step voc=45 .step voc=75 Measurement: nc step 84.0712924560027 1 84.0713 2 84.0713 3 84.0713 Measurement: nc2 step 100.657629848343 1 100.658 2 100.658 3 100.658 How can nc or nc2 remain the same at all three different values of Voc? The voltages and currents correvtly follow the stepped Voc, but just those two .measures are wrong/ Dave
|
.savestate directive no longer works
3
The .savestate directive was introduced in version 24.1.0. I have existing files that worked with this directive. Now, when I try to run any transient simulation I get this error "argument not found" However .loadstate still works if there was a file previously created with .savestate directive. I am running LTspice V.24.1.7. Example: .savestate file2 time= 10m this directive has stopped working. .loadstate file2 this directive still works if file2 exists.
|
FFT of expression of voltages ?
9
#FFT
Hi all I use currently the FFT of single voltage or current and I would like to do the same with expressions like : V(n001)-V(n007) or other valid numerical expressions for instance in a current instance. I looked at the help and can't find how to ? Thanks four your help. Bernard PS : I am using the last version : 24.1.7
|
Modeling Constant Power Load with AC Source in LTspice
13
Hi all, I'm trying to model a constant power load fed by a single-phase AC source in LTspice. I seem to run into convergence failure when I run transient analysis What I¡¯m doing: I¡¯m using a behavioral current source with this formula: I = P/V(vout) Where P is set dynamically using an if() function: P = if(V(vout)<5,5,500) My goal: Accurately simulate a constant power source behavior under AC voltage But without simulation instability Questions: Has anyone successfully built a robust CPL model under AC excitation in LTspice? Would a smoother soft-transition function (instead of if()) work better? Are there other tricks to avoid convergence failures near zero crossing?
|
Making a PWM a continuous voltage source
4
Is it possible to make a PWM signal a continuous voltage source ? I have these PWL points in a file but simulating this I have transient response and decay behaviour. I would like to do a FFT on the filter output signal and the presence of these spoil the FFT picture. Using a sine as a voltage source it behaves like an infinite signal while the PWL from file is always finite, seems so. I tried the statement: PWL REPEAT FOREVER ( | one_period.txt) ENDREPEAT from the undocumentedcommands section of the wiki to no avail. The "|" (pipe symbol) gives an error. -- Christoph
|
LTspice 24.1.7 program exit
15
The following circuit configuration was unintentional, but caused an LTspice program exit upon simulation run. * Generated by LTspice 24.1.7 for Windows. I1 0 0 1m D1 0 0 D V1 ADJ 0 0 .model D D .lib (path removed)\standard.dio .dc I1 2u 2m 100n .backanno .end
|
Meaning of gshunt
Hi, This topic can be closed. I translated the description incorrectly (conductance vs. resistance)... Thanks. Marco
|
Meaning of gshunt
2
Hi, First of all: Many thanks to all forum members. The group is really very helpful and detailed. I have read several times that gshunt, for example, can be used for convergence problems. According to the description, this is a resistance of a node to ground. Why is it chosen so small? Logically, I would have estimated it to be very large in order to minimise the influence of the ground potential. Thanks in advance, Marco
|
Diode TVS like zener in LTspice??
11
Good morning.... I'd like to know why LTspice simulates a TVS diode as a zener, even though its behavior isn't exactly the same. I'd also like to know where I can find an LTspice library for some TVS diodes, for example, that are 15 volts and others that are around 140 volts, and that are bidirectional. Thanks...for everything.
|
Sine modulated PWM voltage source (PWL file=xxx)
22
I'm again at simulating a PWM. The pulses are generated from a file with the statement: PWL file=pwm_pulses.txt It's a while back I generated that file or in other words, I generated a new dataset for that file and I'm suddenly gettings somthing like "time value pairs for V1 out of chronological order". To narrow down the cause, I'm in need again for the file format of such a pulse input file. Where again can I find the documentation for that? I found the PWL section in the wiki but I blinded what the file format is concerned. Thank you. -- Christoph
|
Locked
Test - please ignore
2
The one from my university account bounced, saying I'm not subscribed with that (physics) address. This one goes through? -- Christoph
|
integrate components from Texas Instruments
6
Hi, I'm new to the group and also still a beginner with LTspice. I'm currently using LTspice 24.0.12 ¡ª should I rather download the newer version? My actual problem is that I want to integrate components from Texas Instruments. I followed this video: https://www.youtube.com/watch?v=8V5XabccFaE&list=PLT84nve2j1g_wgGcm0Bv3K4RSl2Jdjsey&index=4. One thing that's different for me: when I click "Create a Symbol," I have to manually save it. I've always saved it in the lib/sym folder. Otherwise, I¡¯m doing everything the same. It sometimes works with simple components, but with ICs I often get error codes. Is there a new method for this? Thanks a lot!
|
Non-converging oscillation problem of inverse Jiles-Atherton model in LTspice
20
Hi all, I¡¯m implementing an inverse Jiles-Atherton model in LTspice, mainly based on this paper: https://ieeexplore.ieee.org/abstract/document/996206 The simulation stops around a quarter cycle. It seems to get stuck when "dH/dt" approaches zero ¡ª likely because of "delta", which is the sign of "dH/dt" I¡¯ve tried replacing the "delta" with a smooth "tanh" function, but the oscillation and convergence issue still remains. Any suggestions on how to solve this problem? I've posted my schematic here: /g/LTspice/files/Temp/invJAmodel_dynamictest.zip Thanks!
|
MJ11021 Darlington NPN & PNP pair model help needed.
6
Hello, New LTspice user. I am trying to build a model for MJ11021 to be used in an AB amplifier simulation. Link to Datasheet. I made an attempt in building a model for the part PNP type first. I also created a simulation to validate against the datasheet. Validation part 1: DC simulation to Verify hFE and VCE. Never got past part 1! Part 2: Transient simulation to measure switching time. I have uploaded the files to temp directory under /g/LTspice/files/Temp/MJ11021.zip It is not working and I am having a hard time figuring out how to fix the parameters in order to get it validated. Any help and guidance in how to proceed to fix/tune the model parameters and how to setup the simulation to validate the model against key datasheet specs. would be greatly appreciated. Thank you in advance.
|
Hello guys. Please help my Thesis. I want to make Comparators design of sar adc i have built Comparator in LTspice i wanna analysis. But i cant PLEASE HELP ME OUT
7
Hello guys. Please help my Thesis. I want to make Comparators design of sar adc i have built Comparator in LTspice i wanna analysis. But i cant PLEASE HELP ME OUT
|
LTspice accuracy, used for calculations and measurements
8
Hi All, I had a discussion with LTspiceVXII and LTspice24 users about the accuracy of measurement results, shown up in the spice error log. To verify how the constant ¡°pi¡± is handled, we made a simple example, such as: .opt plotwinsize=0 numdgt=15 measdgt=15 .param x=pi .param y=sqrt(x) .param z=y**2 .op or .tran .meas z_value param z .meas x_value param x Spice error log shows: z_value: z=3.14159265359 x_value: x=3.14159265359 To our surprise, we observed different results between users, although the same setup was implemented. Mike Engelhardt¡¯s LTspice XV!! Help-file Copyright ? 1998-2018 Analog Devices Corporation Shows on page 105: The following constants are internally defined: Name Value E 2.7182818284590452354 pi 3.14159265358979323846 K 1.3806503e-23 Q 1.602176462e-19 The solver was set to ?Alternate¡°. We assume, "Alternate" is 1000 times more accurate compared to ¡°Normal¡± My question is now a general one, independent on the practical significance of pi: What is the accuracy LTspiceXVII and LTspice24¡. Is using for calculations and measurements, shown in the log-file ? and are there differences between LTspice versions? Thanks a lot in advance --- regards Udo
|
LTspice models do not work in Qspice
50
Hi, I have models (.suckt) that are working perfectly in LTspice, when I import them in Qspice they dont work Does Qspice use a different syntax? Regards, Suded
|