Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: 12AU7 tube heater model
开云体育Indeed, but I think it is a dangerous option,
to be used only with great care. Parallel V sources can create
infinite loop current, and non-physical transformers are not
easy to detect, which being liable to produce credible but wrong
results. On 2025-02-21 14:44, Andy I via
groups.io wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
Re: 12AU7 tube heater model
vOn Fri, Feb 21, 2025 at 09:35 AM, Carlo wrote:
I do not think it was designed for that purpose.
?
It does not eliminate the error message.? The error message comes about because of a topology check.? When LTspice is checking the topology, it likely does not include things such as GMIN as if they were separate elements.
?
There is another option to disable the topology check that caused this error.
The description is: "Set to zero to skip check for floating nodes, loops of voltage sources, and non-physical transformer winding topology".
?
Andy
?
|
Re: 12AU7 tube heater model
On Fri, Feb 21, 2025 at 06:01 AM, Andy I wrote:
Very good. By using Gmin stepping iteration, the spike is at 166 mA. Starting from 167 mA the heater resistance becomes negative and, as you highlighted, the Duncan Amps heater model begins to fail. ?
?
BTW, on LTspice Control Panel->Hacks! tab there is a checkbox named "Add GMIN across current sources".?Is it supposed to "address" such a problem/error related to the current source's infinite impedance ?
?
? |
Re: PWM Timing Causing Shoot-thru
开云体育It's not the model that's missing, it the symbol: IR2110.asy.-- Regards,
Tony On 21/02/2025 15:18, May via groups.io
wrote:
|
Re: PWM Timing Causing Shoot-thru
On Fri, Feb 21, 2025 at 09:18 AM, May wrote:
Please read carefully.? You did not upload the SYMBOL file, which is IR2110.asy.? That file is missing from the .zip that you uploaded.? Having the model file does no good when the symbol file isn't there.
?
Of course it works fine on YOUR computer, because you have that symbol file already, somewhere in YOUR computer.? But we don't.? When I open your schematic, there is an error message, and there are "holes" on your schematic where the IR2110 symbol was supposed to be.? And I can't run the simulation without it and get meaningful results.
?
Andy
? |
Re: using LTSPICE symbols for representation of spice netlist of OPAMP
On Fri, Feb 21, 2025 at 09:03 AM, john23 wrote:
No you can't use the normal op-amp symbol directly, because of that extra pin.? The normal op-amp symbol is "opamp2", and it works for the majority of op-amps.? But not this one. ?
Here is something to consider doing.? Make a copy of the opamp2 symbol.? Then edit that symbol (in LTspice's symbol editor) to add the extra decompensation pin, and save the symbol with a new name, in your own symbol library.
?
Alternatively, start searching through the vast numbers of Analog Devices op-amps that come with LTspice, until you find another one that has an extra pin but still looks like an op-amp.? Make yourself a copy of that one.
?
If you know that you will never use the decompensation pin, there is another alternative:? Wrap a 5-pin subcircuit around the Analog Devices AD797 model, and don't bring that extra pin out to the outer subcircuit.? Now you have a 5-pin subcircuit, which CAN be used with the built-in "opamp2" symbol.
?
.SUBCKT MyAD797 In+ In- V+ V- Out
X? In+ In- V+ V- Out Decomp? AD797
.LIB AD797.cir
.ENDS MyAD797
?
Andy
? |
Re: 12AU7 tube heater model
开云体育The model is obviously seriously wrong. I?
really can't see why a simple formula Rhot = Rcold*(1 +aT +
bT^2)? could not be used. That can't possibly 'blow up'. T =
Thot - Tcold. On 2025-02-21 14:01, Andy I via
groups.io wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
Re: PWM Timing Causing Shoot-thru
Hi Andy!
?
I am still checking this thread.
?
I did include IR2110.sub in the zip file. I just downloaded my zip, extracted it to a folder and was able to run the simulation without any issues.
?
You are most likely absolutely correct about the "C" signals; I have not yet touched those. Was focused on "A" and "B".
?
Thanks!
-May |
Re: 12AU7 tube heater model
On Fri, Feb 21, 2025 at 09:06 AM, John Woodgate wrote:
Hmm.? Define "zero ohms".? :-) ?
The current through the G-source can become zero, which it does when the voltage across it is zero.? It isn't zero ohms in that case.
?
I suppose it could become zero ohms too, but I am not sure if LTspice can handle the math for that, as a G-source.? Maybe an E-source would be better for that.
?
?
? |
Re: 12AU7 tube heater model
开云体育I see; the notation is confusing. But is the
synthetic resistor then allowed to be zero ohms? On 2025-02-21 13:42, Andy I via
groups.io wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
using LTSPICE symbols for representation of spice netlist of OPAMP
Hello, In ltspice there are many modles and I like to use the standart symbols to represent the model.
When I create model from a netlist at worst I use a recrangle with pins? and at best I try to draw opamp by myselse and? the result genrally is not looking good.
Is there a way to plug somehow the attached CIR file to standart LTSPICE symbol.
(in AD797 they also have extra decompensation pin)
What could be done ??
Thanks.
?
/g/LTspice/files/Temp/ad797.cir |
Re: 12AU7 tube heater model
Carlo,
?
In your latest uploaded file (12AU7heater.zip), try this:? Plot V(n001)/I(I1), which shows the effective resistance of the Heater.? Change the .DC sweep past 160m, to 200m.? (.dc I1 120m 200m 1m)
?
It will be difficult to see what happens, because the resistance goes "through the roof" around 168 ma.? But above that spike, the resistance becomes negative.? Click on the plotted formula at the top of the plot to enable the waveform "cursors", then drag the vertical cursor to the right, while noting the resistance values in the pop-up window.? To the right of the spike, they are negative.
?
The spike around 160 mA is the "singularity" I mentioned earlier.
?
This shows how the Duncan Amps heater model fails, when the heater's temperature becomes too great.? The resistance hits the singularity, then goes negative, causing the heater to generate energy instead of dissipating it.
?
By the way, you can eliminate that error message, by adding a 1T resistor across the heater.? That stops LTspice from thinking the nodes are floating.? Adding the 1T resistor changes the location of the singularity where the heater model "blows up", but it still has negative resistance when it gets too hot.
?
Andy
? |
Re: 12AU7 tube heater model
On Fri, Feb 21, 2025 at 05:37 AM, Andy I wrote:
In the expanded netlist, Ghot connects to nodes U1:HB and 0.? U1:HB connects to the 1 milohm sense resistor, whose other end goes to U1:HA, which then connects through 6.2 ohms to node N001.? N001 is the one driven by the independent current source.? So the whole string of nodes N001, U1:HA, and U1:HB appear to be "floating" in the topology check.Ah ok. The point is that, by removing both the independent current source I1 and the G-source Ghot from the overall topology, the topology check realizes that there is the series/string of R:U1:cool and R:U1:load resistors (connecting node N001 with U1:HB passing through the intermediate node U1:HA) that are actually disconnected from the rest of the circuit. Therefore the topology check complains that U1:HB node is floating and connected to the (controlled) current source G:U1:HOT. ?
? |
Re: Looking for advice on TRAN timing
#FFT
开云体育If you're interested, I have a new tool, which is somewhat faster than the Analyser you mentioned and just as accurate.I don't know for sure whether using (maximum) timesteps of binary fractions of the period are better, or not, but it is convenient. You might also find THD_Measurement_Test_Results.pdf useful. It shows the THD measurement floor as you increment the exponent, "n", in the expression Tmax = Period/2**n. There's no point in making Tmax shorter than necessary as it just makes the simulation slower for no benefit. -- Regards,
Tony On 21/02/2025 13:34, Ryu via groups.io
wrote:
|
Re: 12AU7 tube heater model
On Fri, Feb 21, 2025 at 08:20 AM, John Woodgate wrote:
It is in the numerator. ?
There are no parentheses around "(42 - 6.2)*v(u1:hb,0)".? Only "(42 - 6.2)" is in the denominator.
?
Andy
? |
Re: 12AU7 tube heater model
On Fri, Feb 21, 2025 at 08:07 AM, Carlo wrote:
I think you are confused about nodenames.
?
There is no U1:H2 node.
?
U1:H2 is a portion of the names of elements R:U1:H2 and C:U1:H2.? There is nothing named U1:H2, neither a node nor an element.
?
In the expanded netlist, Ghot connects to nodes U1:HB and 0.? U1:HB connects to the 1 milohm sense resistor, whose other end goes to U1:HA, which then connects through 6.2 ohms to node N001.? N001 is the one driven by the independent current source.? So the whole string of nodes N001, U1:HA, and U1:HB appear to be "floating" in the topology check.
?
Andy
? |
Re: 12AU7 tube heater model
开云体育The term v(u1:hb,0) is in the
denominator of the function and I think it is zero at startup. On 2025-02-21 13:07, Carlo wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |