Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: LTspice Save Internal Device Voltages
On Fri, Feb 21, 2025 at 04:12 AM, Andy I wrote:
It might be that the internal node in the Thevenin equivalent of a lossless inductor is not one of them either.Thinking again about it, since Thevenin equivalent introduces actually the inductor current as new system's unknown, maybe it doesn't count as new "internal node voltage" though. ?
Carlo. |
Re: LTspice Save Internal Device Voltages
I never knew exactly what those "internal device" nodes were, and I think it was never explained, in the years I have been following this group.
?
I suspect those internal nodes might be internal to certain transistor models.? For example, if you look at the VBIC model, the circuit is quite complex and has a handful of what appear to be internal nodes.? I tried once to see if those were the "internal device" nodes that this setting refers to, but was unable to see them.? It might be that the internal node in the Thevenin equivalent of a lossless inductor is not one of them either.
?
Andy
? |
LTspice Save Internal Device Voltages
On LTspice Control Panel->Save Default tab there is a checkbox named "Save Internal Device Voltages".
?
I believe it is supposed to save the voltages of "device internal nodes". Take for instance an inductor with a default Rser=1m. For a such device, LTspice employs a proprietary "compound model" based on Norton equivalent in order to reduce the overall circuit's solving matrix size.
?
As explained in Help page, setting Rser=0 forces LTspice to use the "cumbersome" Thevenin equivalent introducing an internal node in the inductor's model. That means the current through the inductor becomes a new unknown of the circuit's solving system (you can check this in SPICE Error log: the matrix size actually increments by 1).
?
That said, I thought the checkbox above added some information about this "device internal node". However, it seems it is not actually the case.
?
Any idea about it ? Thanks.
?
Carlo.
?
? |
Re: 12AU7 tube heater model
开云体育Sorry, I misinterpreted that last line in the
netlist. A G source is a voltage-dependent current source, so it
defines a transconductance, not a simple conductance. I think
that the syntax in the Help is much too terse: the parameter N
is, for example, not defined, and it seems that it is not
essential to use the old POLY command. On 2025-02-21 10:27, 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 |
Re: Interpreting Noise Simulation Results
开云体育Further to what I wrote below, I have uploaded a modified version of your schematic that uses a single amplifier circuit but switches the filter networks into or of out of circuit. This enables the noise with and without the HPFs to be displayed on the same graph, by stepping the Ctl parameter.You should also know that the FMMT718 model you have added is unreasonably optimistic, as it exhibits no 1/f noise. In any event it is swamped by the increased noise from the HPFs, when these are in circuit. You could drastically decrease the noise contribution of the HPFs by scaling the impedance down, while keeping the cut-off frequency the same. I've shown the effect of changing Rfilt from 100Ω to 10kΩ. -- Regards,
Tony On 20/02/2025 23:19, Tony Casey wrote:
|
Re: 12AU7 tube heater model
On Fri, Feb 21, 2025 at 01:59 AM, John Woodgate wrote:
I suspect that the 'error message' is nothing to worry about. the current source has infinite impedance, so the U1:HB node appears not to be connected.Sorry, what kind of controlled source is actually the G source named "hot" within the SUBCKT heater model ? ?
From LTspice help:
Does it mean that Ghot is just a behavioral voltage source, or that it is a current source controlled from a voltage (i.e. voltage-controlled current source) ?
? |
Re: 3 Phase Voltage Sense model
开云体育For curiosityWhat device are you driving with Vout(ABC) ? My home is "3Phased"? :) Le 20/02/2025 à 18:58,
larry.gunseor@... a écrit?:
|
Re: 12AU7 tube heater model
开云体育I suspect that the 'error message' is nothing
to worry about. the current source has infinite impedance, so
the U1:HB node appears not to be connected. RHO=42 means that
the heater is set for 12.6V/0.15A operation, whereas the amp
circuit may be using either 6.3V/0.3A or 6.3V/0.3A. The bad
behaviour of the amp circuit must be due to the last line of the
heater netlist, since that function returns an infinite value at
start-up, where V(HB,H2) = 0. I don't see what that conductance
represents anyway, nor why it's defined as a conductance rather
than a resistance. The whole thing looks very complicated for
representing a simple hot wire. On 2025-02-21 08:50, 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 |
Re: 3 Phase Voltage Sense model
开云体育Symbol pin order is good with "3Phase_Voltage_Sense.asy"Delete "3Phase_Voltage_Sense.asy" Load "3Phase_Voltage_Sense_model.asc" Generate "3Phase_Voltage_Sense_model.asy" by clicking "Hierarchy/Open or generate ..? " Load "3Phase_Voltage_Sense_Test.asc" Place "3Phase_Voltage_Sense_model.asy" And yes, pin order has changed, correct cabling And it works Ground to Neutral is necessary "3Phase_Vsense.sub" is unuseful Greetings Le 21/02/2025 à 06:53, Andy I via
groups.io a écrit?:
|
12AU7 tube heater model
Starting from the 12AU7 SUBCKT from , I created a SUBCKT model for the 12AU7 heater, namely:
I used it in a simple schematic doing a DC Sweep analysis on a DC current source connected to heater's pins H1 and H2 (one of the current source's pin is connected to GND). However Spice Error log reports the following:
What is the problem behind it ? Thanks.
?
Carlo. |
Re: PWM Timing Causing Shoot-thru
May,
?
I don't know if we will see your updated file with the missing LTspice symbol, or if you consider the problem to be solved already.
?
But I want to mention that your signals HCF and LCF did not look right.? In contrast with the other two pairs which have no overlap, the HCF and LCF pair have tons of overlap.? I think maybe you forgot to invert one of them.? Maybe that is correct, but it looks funny when compared with the other two pairs.
?
Andy
? |
Re: 3 Phase Voltage Sense model
Larry,
?
Here is an actual mistake, and the likely cause of the problem you have.? The pin-order of the symbol does not match the pin-order of the included netlist model.
?
Symbol's pin-order:? Neutral VinA VinB VinC VoutA VoutB VoutC
?
Subcircuit's pin-order:? VinA VinB VinC Neutral VoutA VoutB VoutC
?
That needs to be corrected.? Edit either the symbol (.asy) file or the model (.sub) file.
?
Andy
?
? |
Re: 3 Phase Voltage Sense model
Larry,
?
Here are some issues to comment on:
?
(1)? Your original schematic (3Phase_Voltage_Sense_circuit.asc) leaves the Neutral net floating.? Why?? Did you really want it to float like that?? Also, do you want it grounded in the final schematic?? If nothing else, it is different.
?
(2)? The symbol you created (3Phase_Voltage_Sense.asy) is set up with incorrect properties.? It should have Symbol Type = Cell, but you left it with Symbol Type = Block, which is correct only for calling a lower-level schematic, not a netlist file.? Fortunately LTspice seems to handle it anyway in spite of the wrong property.
?
(3)? Your final schematic (3Phase_Voltage_Sense_Test.asc) should not have ".inc 3Phase_Vsense.sub" because the symbol file already includes that netlist file.? It does not actually hurt because the end result is that the subcircuit file is included twice.? But it's not a good idea to do that because it might later create problems.
?
I think none of these issues causes the problem you have, but I want to mention them anyway.
?
Andy
?
? |
Locked
Re: Windows XP installation disk
Off-topic.? And it suggests it is not legal.
?
This topic is closed.? No replies, please.
?
This group is about LTspice. |
Locked
Windows XP installation disk
Does anyone have a Windows XP install disk they could give or sell me? ?Or a copy with the password decrypted. ? I need a pukka XP machine to run the software I wrote myself in da last Millenium. ?Yes. ?I've tried the various Virtual machines but none of them give me the functionality I need. ?To put this into perspective, I run a DOS window under Win 98 on the XP machine. ? Machines that have XP drivers are all more than 10 yrs old. ?I found one but I lent my pukka XP install disc to a friend who promptly lost it?? |
Re: Weird results DC operating point for Tube amplifier
toggle quoted message
Show quoted text
|
CD4000_v(65).lib with syntax error messages updated to CD4000_v(65a).lib
hi
?
I've corrected and uploaded CD4000_v(65a).lib
?
The only corrections made were to the td1,td2,td4 equations used in CD4008B sub circuit.
The unbalanced braces/parenths caused syntax error messages in LTspice 24.1.4
?
eetech00 |
Re: Weird results DC operating point for Tube amplifier
开云体育Oh, I get that by putting a 10cm long
unobtanium tube over the headphone cable. On 2025-02-20 22:22, 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: Weird results DC operating point for Tube amplifier
开云体育I have to confess that I was misled by this at an early age, about 13 I think.? The valve doesn't know what the supply voltage is with zero signal. It only knows the voltage between anode and cathode, which can be quite small, yet even a triode still can give gain. I simply didn't believe a DAC32 would work with a 470k anode load, so I used 4.7k, which gave hardly any gain. What this low Vak does, of course, is limit the maximum output signal amplitude, but if only a volt or two is required, there is no problem. OT observation: With small-signal pentodes,
such as EF33 or EF50, very low anode and g2 voltages can be
used, with megohm values of feed resistors, giving very high
gain. On 2025-02-20 22:20, Andy I via
groups.io wrote:
Not that the following has any significance - but I vaguely recall reading about operating valves (vacuum tubes) at much lower than "normal" anode voltages.? --
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: Interpreting Noise Simulation Results
manauo,
?
Almost all the simulated noise in your circuit comes from the circuit itself.? If there was noise in the sources driving it (V1, V2, V5, V6), it is not present in the simulation.? Those voltage sources are noise-free.? Therefore, adding high-pass filter capacitors to reduce noise from the source, does not do you any good, unless the source itself had noise.? I think the only parts behind the HPF that generate any noise in this simulation, are the 0.6 ohm resistors, R9, R10, R21, and R22.? (Also the Rser of L1-L4.)? That's about the only benefit to be had from adding those capacitors.
?
On top of that, there is the increase in noise caused by making the source impedance (connected to the transistor bases) larger.? That is likely why you saw the noise density going up instead of down.
?
Not many people use SPICE's .NOISE analysis.? Consequently, many device models either lack the parameters needed to simulate it well, or the parameter values are badly wrong.? That was especially true of the JFET models that came with LTspice.? LTspice got those models from the company Linear Systems (not to be confused with Linear Technology Corp.), but someone at Linear Systems had inadvertently messed up their own SPICE models before giving them to LTC for inclusion in LTspice.? If I remember correctly, the mistake was 5 orders of magnitude (!) and applied to every one of their JFET models.? Fortunately your circuit has only BJTs, no JFETs, so it might be OK.? Should be OK for comparative simulations.
?
Andy
? |