Initial conditions for inductor current in .TRAN UIC analysis - follow up
After a few years, I came to ngspice and did some test to look better at strange behavior seen on LTspice .TRAN analysis for a simple circuit ( /g/LTspice/message/127801 ) involving a
By
Carlo
·
#158685
·
|
Re: 12AU7 tube heater model
Well, I've given you the formula, but I'm not sure of how to write the command in LTspice syntax. I hope an expert will help. It's true, I think,? that LTspice needs to convert the resistor to a B
By
John Woodgate
·
#158684
·
|
Re: using LTSPICE symbols for representation of spice netlist of OPAMP
Hello Andy,you define a subcircuit called MyAD797 with 5 pins. inside the SUBCKT command you define X. If I understand correctly X is an instance of AD797 subckt. X has 6 pins How does X connects to
By
john23
·
#158683
·
|
Re: .MEAS Failure
No, that is not what I said ... .MEAS TRAN TooLow1 find V(XSW11:X1:Qc ) - V( XSW11:X1:Qe) when V(XSW11:X1:Qc ) - V( XSW11:X1:Qe) < 1 (may need extra parentheses). A final one: Do you have a .SAVE
By
mhx@...
·
#158682
·
|
Re: .MEAS Failure
Thanks but that's not the answer. .MEAS TRAN TooLow1 find V(XSW11:X1:Qc-XSW11:X1:Qe) when V(XSW11:X1:Qc-XSW11:X1:Qe)<1 Measurement "toolow1" FAIL'ed Total elapsed time: 679.255 seconds. XSW11 is a
By
eewiz
·
#158681
·
|
Re: 12AU7 tube heater model
Sorry, maybe I didn't get your point before: how can I actually define a temperature-dependent resistor ?
By
Carlo
·
#158680
·
|
Re: 12AU7 tube heater model
I think you have made the heater a current generator, rather than a temperature-dependent resistor as I posted, -
By
John Woodgate
·
#158679
·
|
Re: 12AU7 tube heater model
Thanks to John W. advice, starting from Figure 35.14 into Radio Designer's Handbook 4th ed, I came to the following quadratic interpolation for the single heater in the range 3 - 8V : I = -0.0009*V^2
By
Carlo
·
#158678
·
|
Re: .MEAS Failure
Did you already try ` V(XSW11:X1:Qc)-V(XSW11:X1:Qe)` instead of `V(XSW11:X1:Qc,XSW11:X1:Qe)` ? -marcel
By
mhx@...
·
#158677
·
|
Re: .MEAS Failure
Forgive me, I am using 24.0.12 Sent: Monday, February 24, 2025 at 1:53 AM From: "eewiz via groups.io" <eewiz@...> To: [email protected] Subject: Re: [LTspice] .MEAS Failure Hi Andy: I
By
eewiz
·
#158676
·
|
Re: .MEAS Failure
Hi Andy: I have V(XSW11:X1:Qc,XSW11:X1:Qe) plotted in the plot window. I right-click the V(XSW11:X1:Qc,XSW11:X1:Qe) plot header and cut-n-paste the V(XSW11:X1:Qc,XSW11:X1:Qe) expression from the
By
eewiz
·
#158675
·
|
Re: .MEAS Failure
Oops, nodenames, not codenames.? Darn auto-correct.
By
Andy I
·
#158674
·
|
Re: .MEAS Failure
Are you certain that those are the exact, correct codenames nodenames? Did you get them from the expanded netlist, and were you using a version older than 24.x? Andy
By
Andy I
·
#158673
·
Edited
|
.MEAS Failure
Hello All, According to the help file: .MEAS TRAN res2 FIND V(out)*I(Vout) WHEN V(x)=3*V(y) Print the value of the expression V(out)*I(Vout) the first time the condition V(x)=3*V(y) is met. This will
By
eewiz
·
#158672
·
|
Re: using LTSPICE symbols for representation of spice netlist of OPAMP
john23, I uploaded AD797_Opamp2.zip to the Temp folder.? It shows the opamp2 symbol, applied to the "MyAD797" (wrapper) subcircuit. Andy
By
Andy I
·
#158670
·
|
Re: using LTSPICE symbols for representation of spice netlist of OPAMP
That works too. I was trying to make it work without modifying the original AD797 SPICE model.? Sometimes, IC manufacturers get really picky about altering their SPICE models, and I wanted to avoid
By
Andy I
·
#158669
·
|
Re: using LTSPICE symbols for representation of spice netlist of OPAMP
You did not follow what I said to do. What was the point of creating a subcircuit named "MyAD797", if you did not even bother to use that subcircuit? The subcircuit you created (as a "wrapper" around
By
Andy I
·
#158668
·
Edited
|
Re: using LTSPICE symbols for representation of spice netlist of OPAMP
Hello Andy,I managed to do it as shown in the attached file. added the whole netlist as a directive and deleted the last pin number of the title. Is it Ok? Thanks.
By
john23
·
#158667
·
|
Re: using LTSPICE symbols for representation of spice netlist of OPAMP
Hello Andy,I did what you said it still gives a netlist bug which says pin mismatch. Ltspice file and the errotr is attached. Where did I go wrong? /g/LTspice/files/Temp/ad797_cir.zip
By
john23
·
#158666
·
|
LLC schematic from "flyback" with mistakes
Group member "flyback" (massey2) uploaded a schematic earlier today "LLC to compare.asc".? ?But she or he may have forgotten to read the group's guidelines.? Files should be uploaded into the
By
Andy I
·
#158665
·
Edited
|