.STEPping a .WAVE file output
17
I want make multiple runs of a model which will output a waveform to a .wav file. Each run will step a parameter, all of which works as intended, except, I need to change the filename each time. This illustrates the intent, but not surprisingly, errors off on the last line: .step param stp 1 6 1 .param Vcon table({stp}, 1,-2, 2, -1, 3, 0, 4, 1, 5, 2, 6,3) .wave {Stp}.wav 16 44.1k V(Out) Any suggested better syntax? I¡¯ve tried several¡ Thanks! Dave
|
LTspice AKO
15
LTspice 24.1.5 I thought AKO could be used with NJF. Content of BJT_mod.txt: ........... .model NJ AKO:NJ20 NJF() .model NJ20 NJF ( VTO=-2.5 BETA=1m LAMBDA=0.01 RD=100 RS=50 + CGD=2p CGS=5p IS=1e-14 PB=0.7 FC=0.5 ) .......... Error produced in log: BJT_mod.txt(43): Syntax error: Unexpected input. .model NJ AKO:NJ20 NJF() ^^ I guess not? I tried removing NJF() from AKO statement but it didn't help.
|
groups.io - file sort-by-time in the Temp directory missing?
6
I just wandered into files/Temp to see what was new but can only sort by "Type" or by "Name". I'd bookmarked /g/LTspice/files/Temp?p=updated,,,20,2,0,0 so I can get them in new-to-old order, but (being lazy) I usually just got to Temp and choose sort by date. Is this intentional or should I make my bookmark much easier to hit? Many thanks, Donald.
|
What's the meaning of "**" ?
10
Hello, in some models I found some double "*": what's the meaning of this operator ? Thanks a lot in advance.
|
Four switch non inverting buck boost converter not converging
10
Hello everyone, I am trying to simulate Four switch non inverting buck boost converter with two different genesic switches G3R60MT07J and G3R75MT12J. The library files are encrypted, so I cannot make any changes there. I have tried various methods like increasing time step and tolerances, skipping initial operating point solution etc. but nothing is working for me. Any suggestions regarding how to resolve this issue?
|
Sorry but...
8
it's a lot of time that a looking for a a model ltspice lm317 and lm337 made by the same hand. Someone could kyndly tell me where I can find them? Many thanks Andrea
|
Compiling and publishing other group's member modified models
8
Hello, Recently I compiled several models created by another group's member into one single library. Moreover, I slightly modified them for my need but I think it could be useful for other people here. I tried to contact the original author on his own email to ask his authorization, but I didn't have his reply yet. Moreover, it seems that he didn't come on the group since a long time. His there a rules on the forum for this kind of situation, or am I free to publish here without his authorization (but by mentioning his name however...) ? Thanks a lot in advance for your advices, Pascal
|
Parts Number Re-numbering
16
Sorry for FAQ. How can I renumber the parts number? I heard "shift+ctrl+alt+R" is available. But no change appear. Hidehiko JA9MAT.
|
How to create IEC 61000-4-5 surge waveform in time & s behavioral ?
27
Hi, : May I ask a question about to generate the surge waveform using time equation & s-equation, on how to do that in LTspice ? For example, I asked the ChatGPT, about the 6.0KV surge waveform of time domain, then same as the s-domain equation, but I don't quite know how to express the s-equation exactly. I presume maybe some initial condition needed to be given, but brain twisted. And not sure if that's supported in BV's laplace expression, often it's for transfer function. In the following, it shows the equation for time & s as well. Then since I can't upload the file , (the policy of ... some confidential reason, though I don't know what needed to be confidential), I beg your pardon, please allow me to paste the .asc content in the tail if this thread. Have a nice day. Thank you very much. Best regards. the image about equation description here. (I don't know how to insert picture correctly here, it said me don't have the privilege.) /g/LTspice/photo/301279/3895874?p=Created%2C%2C%2C20%2C2%2C0%2C0 Version 4 SHEET 1 1120 680 WIRE 0 112 0 96 WIRE 192 112 0 112 WIRE 672 112 672 96 WIRE 864 112 672 112 WIRE 0 208 0 192 WIRE 192 208 192 192 WIRE 672 208 672 192 WIRE 864 208 864 192 FLAG 0 208 0 FLAG 192 208 0 FLAG 0 96 V_time FLAG 672 208 0 FLAG 864 208 0 FLAG 672 96 V_s SYMBOL bv 0 96 R0 WINDOW 3 -274 178 Left 2 SYMATTR InstName B1 SYMATTR Value V=6000*( exp(-3.5e6*time) - exp(-0.14e6*time) ) SYMBOL res 176 96 R0 SYMATTR InstName R1 SYMATTR Value 1 SYMBOL bv 672 96 R0 WINDOW 3 -274 178 Left 2 SYMATTR InstName B2 SYMATTR Value V=1*u(time) laplace=6000*( 1/(s+3.5e6) - 1/(s+0.14e6) ) SYMBOL res 848 96 R0 SYMATTR InstName R2 SYMATTR Value 1 TEXT 148 -90 Left 2 !.tran 200u startup
|
No recent files list with an empty window
4
Something burped, v24.0.12 I miss it Man, ADI has really ruined lots of features
|
proper way to simulate fluctuating load for voltage regulator
8
Hello ,I am trying to test a voltage regulator by re[lacing a steady resistor with some sort of varying resistor. Given the circuit in the attached Zip file , what kind of "resistor" you reccomend? /g/LTspice/files/Temp/regulator.zip Thanks.
|
Incandescent lamp model
26
I¡¯m trying to adapt and use the model in LampModel.zip, uploaded by analogspiceman last September. The test circuit supplied works fine for a 120VAC lamp. I want to adapt it to a small pilot lamp, as a stabilizer for a Wein network oscillator. There are a number of parameters defined in the model, but except foe ambient temperature, not well explained. I commented the .param block and passed them externally, and that works exactly the same, as expected. Now, can anyone suggest what needs ¡°tuning¡±, to get about 600 ohms at 10mA, after warm-up? Ka, ambient temp (Kelvin) is easy. Kc looks like design voltage (120RMS), but doesn¡¯t really act like it; left alone. Kf seems to be a heat transfer coefficient, maybe good for warmup timing, but slightly changes stable resistance. CTf is a coupling factor from Tambient to Tfilament, sets warmup timing; left alone. RTf is filament resistance, but changing that parameter makes only a very small difference to the preset, ~150 ohms. Thanks, Dave
|
Use a TABLE function in a BV to make a custom defined function.
6
Hello ... I need a BV source to use a TABLE to look up a response. This works if the controlling variable is a .param ( Static for the full sim) but I need the BV to be dynamic ( Use the TABLE lookup in response to a changing voltage and respond with the voltage result ) I have tried to do this, but no success yet. I uploaded LTspice_TableTest.zip to the temp folder. Thank you so very much for any help you can provide!! JD
|
MAX9939 is there any model available for LTspice ?
3
Thanks for your help!
|
LM121 model??
28
I am trying to work out some old schematic and circuit issues and am looking for a model for the old LM121 opamp. Anyone have such a thing? I found the LM118, as I can use the LTSpice LT118A model. Now for the front end.
|
defining special kind of behavioral for current controlled oscilator in ltspice
14
Hello, I have a YIG device which has two inputs. Tune input at 2V puts my YIG to 9.4Ghz and 10dBm FM input is current input which moves the output 100Mhz each mili ampere. I can measure the transfer function as a table also to see the effect of each input on the output Is there some bahvior model in LTspice which could help me represent this device in simulation? Thanks.
|
LF356 simulation errors
5
Hi, using the TI model of LF356 on LTspice v24.1.0 result in strange behaviour, DC output from OpAmp is over 18V when the supply voltages are +/- 15V. In the "Component attribute editor" I've changed parameters for this version of LTspice, the original from the file area "LF356_test.zip" result in errors at simulation start. I want to simulate a input circuit of an test equipment (Boonton 4200) that is oscillating at 93Hz square wave with amplitude near the supply coltages. I'm curious to see the Phase Margin of this differential stage with three LF356. Clearly this pspice model is incompatible with this LTspice version, or there is a workaround possible to apply ? Thanks, Stephano
|
New LTspice 24
Hi I have LTspice XVII installed in the directory: C:Program files\LTC\LTspice XVII Is it safe to install LTspice 24? so that I keep my old Auto_Genrated models? Can you please advise? is the new LTspice 24 any better ? Regards, Suded
|
"Physical" PTC model
11
Hello to the community, I'm very interested by the "PTC Thermistors Physical model" found in /g/LTspice/files/z_yahoo/Lib/PTC%20Thermistors/Physical%20model and I have two questions about it. 1) When I try to simulate the example ptc_veijola2.asc it throw me several errors: LTspice 24.0.12 for Windows Circuit: * C:\users\pascal\xxx\ptc_veijola2.asc Start Time: Sat Mar 15 18:34:27 2025 Questionable use of curly braces in "begb 0 egb i={1/(1/{emax}+0.5*(1+tanh((v(tptc)-{ts})/{c})))}" Error: undefined symbol in: "1/(1/(emax)+0.5*(1+tanh(([v](tptc)-(ts))/(c))))" solver = Alternate Maximum thread count: 8 tnom = 27 temp = 27 method = modified trap ERROR: Node U1:N003 is floating and connected to current source B:U1:V Total elapsed time: 0.575 seconds. Can you help me with that ? 2) I would want to simulate this PTC to "measure" a MOSFET case's temperature. In my case the mosfet have an extra pin that output a voltage proportional to case's temperature. The above PTC model take the ambient temperature and have a third pin to reflect internal temperature. Is it possible to add an extra pin to be linked to the mosfet temperature pin ? Thanks a lot in advance, Pascal
|
DanTherm model (SOAtherm)
11
Hello, I'd like to use the SOAtherm with an user defined MOSFET. Unfortunately, i can't get the relation between the DanTherm model and the manufacturer model. Example: FDB3632 DanTherm model: R6=2.42E-03 C6=1.21E-03 R5=2.95E-02 C5=6.20E-05 R4=2.03E-01 C4=2.69E-03 R3=2.34E-01 C3=3.21E-02 R2=5.94E-02 C2=1.81E-01 R1=2.47E-03 C1=8.25E-08 Manufacturer model: CTHERM1 TH 6 7.5e-3 CTHERM2 6 5 8.0e-3 CTHERM3 5 4 9.0e-3 CTHERM4 4 3 2.4e-2 CTHERM5 3 2 3.4e-2 CTHERM6 2 TL 6.5e-2 RTHERM1 TH 6 3.1e-4 RTHERM2 6 5 2.5e-3 RTHERM3 5 4 2.2e-2 RTHERM4 4 3 8.1e-2 RTHERM5 3 2 1.35e-1 RTHERM6 2 TL 1.5e-1 Does somebody know the relation between these values ? Thanks, Marc
|