Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: Is there a way to make node numbers appear on LTSpice schematics?
开云体育You always should label nodes if they are being referenced in an equation or within a measure statement. Otherwise, they WILL change. leaving the reference invalid. Those labels are visible on the schematic until they are deleted.But, the automatically assigned ones are not visible unless you do certain specific things (maybe probe with a voltmeter?) Jim
|
Re: Is there a way to make node numbers appear on LTSpice schematics?
toggle quoted message
Show quoted text
|
Re: Is there a way to make node numbers appear on LTSpice schematics?
开云体育Those run-time node and net numbers can vary from run to run, especially after adding a component. AFIK, they are not known until the sim runs.Jim, Oregon Research Electronics
|
Is there a way to make node numbers appear on LTSpice schematics?
I believe that nodes (or nets) can be user-named, and that curves on an LTSpice plot can also be user-named, but sometimes it would be simplest to use the node numbers assigned by the software during the building of a schematic. Is there a way to cause those node numbers to be displayed on the schematic. Thanks, Chris.
|
Re: ISL70444SEH declaration issue?
Thank you Andy. I truly appreciate all of your help. I was able to find an opamp that meets my environmental requirements. However the response seems to be nonlinear.
Here is the circuit I commented out the unnecessary simulation directives and adjusted the amplitude of the pulse to match the photodiode I selected so you will notice some changes there. |
PULSE default rise and fall times (Trise=0 Tfall=0) (was: ISL70444SEH declaration issue?)
开云体育I suspect it was a large data file that slowed mine down. My run times were between 12 and 14 seconds, up from ~200 ms ? V(B) was what I expected, once I realized what the SIN parameters did! One big spike at 4ms. ? From: [email protected] <[email protected]> On Behalf Of
Andy I
Sent: Sunday, July 16, 2023 5:38 PM To: [email protected] Subject: EXTERNAL: Re: : Re: : Re: [LTspice] PULSE default rise and fall times (Trise=0 Tfall=0) (was: ISL70444SEH declaration issue?) ? Dave wrote, "Certainly slowed down the entire .TRAN period, though." |
Re: PULSE default rise and fall times (Trise=0 Tfall=0) (was: ISL70444SEH declaration issue?)
Dave wrote, "Certainly slowed down the entire .TRAN period, though."
That should not have happened.? It should slow it down over only 1 ps of the 10 ms simulation -- so about 0.00000001% of it. LTspice says it took about 0.4 seconds longer to simulate.? What did it do on your computer? I wonder if we have run across another bug??? If you plot V(B), what do you see? Anyway, just to clarify, when you wrote "but no longer works below 10ps!"? That's not quite true.? Your PULSE voltage source does have wicked fast rise and fall times down to 1 femtosecond or faster if you ask for them, but the internal Timestep isn't able to show it.? THAT is the issue, not the PULSE source. Andy |
Re: PULSE default rise and fall times (Trise=0 Tfall=0) (was: ISL70444SEH declaration issue?)
开云体育Well, that’s true!? My mind didn’t conceive of a PHz burst! Certainly slowed down the entire .TRAN period, though. I would have guessed PSICE would only slow down for the 1000 cycles of the burst. ? From: [email protected] <[email protected]>
On Behalf Of John Woodgate
Sent: Sunday, July 16, 2023 3:08 PM To: [email protected] Subject: EXTERNAL: Re: : Re: : Re: [LTspice] PULSE default rise and fall times (Trise=0 Tfall=0) (was: ISL70444SEH declaration issue?) ? That's the whole point of V2: it forces LTspice to have a very small timestep indeed. Obviously it takes time to plot lots of cycles of 1 petahertz. ====================================================================================== On 2023-07-16 22:53, Bell, Dave wrote:
|
Re: PULSE default rise and fall times (Trise=0 Tfall=0) (was: ISL70444SEH declaration issue?)
开云体育That's the whole point of V2:
it forces LTspice to have a very small timestep indeed.
Obviously it takes time to plot lots of cycles of 1 petahertz. ======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only Rayleigh, Essex UK I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC) On 2023-07-16 22:53, Bell, Dave wrote:
|
Re: PULSE default rise and fall times (Trise=0 Tfall=0) (was: ISL70444SEH declaration issue?)
开云体育Andy, your model here does work all the way down to 1fs. But:
Now, it runs as fast as before, as far as I could sense (didn’t compare runtime in the logs), but no longer works below 10ps! ? Dave ? From: [email protected] <[email protected]> On Behalf Of
Andy I
Sent: Sunday, July 16, 2023 12:58 PM To: [email protected] Subject: EXTERNAL: Re: : Re: [LTspice] PULSE default rise and fall times (Trise=0 Tfall=0) (was: ISL70444SEH declaration issue?) ? For grins, here is another one to try.? It shows one way to control SPICE's internal timestep while not imposing a harshly small Maximum Timestep across the whole simulation (which would make it crawl): V1 A 0 PULSE(0 1 4m {Trf} {Trf} 1m 2m) V2 B 0 SIN (0 1 1000T 4m 0 0 1000) .step param Trf list 1f 10f 11f 20f 50f 100f 1p .meas T0 WHEN V(A)=0.01 rise=1 .meas T1 WHEN V(A)=0.99 rise=1 .meas Td param T1-T0 .tran 0 10m .options plotwinsize=0 Measurement: td ? step t1-t0 ? ? ?1 1.01915e-015? <-- 1.02 fs ? ? ?2 9.80032e-015? <-- 9.8 fs ? ? ?3 1.07796e-014? <-- 10.8 fs ? ? ?4 1.95998e-014? <-- 19.6 fs ? ? ?5 4.90007e-014? <-- 49.0 fs ? ? ?6 9.79997e-014? <-- 98.0 fs ? ? ?7 9.8e-013? <-- 0.98 ps |
Re: Neon
开云体育Or with a resistor, capacitor, and a 90V “B” battery, for a relaxation oscillator flasher! ? From: [email protected] <[email protected]> On Behalf Of
Jerry Lee Marcel
Sent: Sunday, July 16, 2023 2:08 PM To: [email protected] Subject: EXTERNAL: Re: [LTspice] Neon ? Neon pilot lights were always used with a series resistor. Le 16/07/2023 à 22:26, Andy I a écrit?:
|
Re: Neon
开云体育Neon pilot lights were always used with a series resistor. Le 16/07/2023 à 22:26, Andy I a écrit?:
John wrote, "...?because it would probably explode due to excessive current if it ever reached striking voltage." |
Re: Neon
开云体育In testing for immunity to
transients, the transients are really quite energetic, and are
supposed to be representative of transients that occur in real
life. ======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only Rayleigh, Essex UK I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC) On 2023-07-16 21:26, Andy I wrote:
John wrote, "...?because it would probably explode due to excessive current if it ever reached striking voltage." |
Re: Neon
John wrote, "...?because it would probably explode due to excessive current if it ever reached striking voltage."
Interesting point. But I think it would depend on the impedance of the source of the overvoltage.? If it's a transient overvoltage, presumably the source of that transient does not have the same low impedance as the mains supply itself.? (Unless it was something like the HV wire falling and shorting to the regular mains wire.) I'm not trying to advocate putting a gas discharge tube directly across an AC mains line without a fuse or breaker.? I'm just playing the "what-if" and wanting to understand what goes on. Andy |
Re: PULSE default rise and fall times (Trise=0 Tfall=0) (was: ISL70444SEH declaration issue?)
For grins, here is another one to try.? It shows one way to control SPICE's internal timestep while not imposing a harshly small Maximum Timestep across the whole simulation (which would make it crawl):
V1 A 0 PULSE(0 1 4m {Trf} {Trf} 1m 2m)
V2 B 0 SIN (0 1 1000T 4m 0 0 1000)
.step param Trf list 1f 10f 11f 20f 50f 100f 1p
.meas T0 WHEN V(A)=0.01 rise=1
.meas T1 WHEN V(A)=0.99 rise=1
.meas Td param T1-T0
.tran 0 10m
.options plotwinsize=0 Measurement: td
? step t1-t0
? ? ?1 1.01915e-015? <-- 1.02 fs
? ? ?2 9.80032e-015? <-- 9.8 fs
? ? ?3 1.07796e-014? <-- 10.8 fs
? ? ?4 1.95998e-014? <-- 19.6 fs
? ? ?5 4.90007e-014? <-- 49.0 fs
? ? ?6 9.79997e-014? <-- 98.0 fs
? ? ?7 9.8e-013? <-- 0.98 ps
Andy |
Re: Neon
开云体育It;s a matter of simple observation that neon lamps flicker because they go dark at low voltages. If you attach one to a 1 metre cable and swing it in a vertical plane you can see the pattern of bright and dark regions. You wouldn't put a gas
discharge tube directly across an AC supply because it
would probably explode due to excessive current if it ever
reached striking voltage. ======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only Rayleigh, Essex UK I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC) On 2023-07-16 19:41, Andy I wrote:
Tom wrote, "The gas tubes respond in several microseconds." |
Re: PULSE default rise and fall times (Trise=0 Tfall=0) (was: ISL70444SEH declaration issue?)
Dave wrote, "... I found an effective lowest limit in defining Tr and Tf, of >10ps."
I think you meant 10fs. But try this: V1 A 0 PULSE(0 1 1m {Trf} {Trf} 1m 2m)
.step param Trf list 1f 10f 11f 20f 50f 100f 1p
.meas T0 WHEN V(A)=0.01 rise=1
.meas T1 WHEN V(A)=0.99 rise=1
.meas Td param T1-T0
.tran 3m
.options plotwinsize=0 Measurement: td
? step t1-t0
? ? ?1 1.0388e-007
? ? ?2 9.8001e-015? <-- 9.8fs
? ? ?3 1.07802e-014? <-- 10.8fs
? ? ?4 1.96002e-014
? ? ?5 4.89999e-014
? ? ?6 9.8e-014
? ? ?7 9.8e-013
And then this: V1 A 0 PULSE(0 1 1p {Trf} {Trf} 1p 2p)
.step param Trf list 0.000001f 0.001f 0.01f 0.1f 1f
.meas T0 WHEN V(A)=0.01 rise=1
.meas T1 WHEN V(A)=0.99 rise=1
.meas Td param T1-T0
.tran 0 3p
.options plotwinsize=0
Measurement: td
? step t1-t0
? ? ?1 9.8e-022? <-- 0.00000098fs
? ? ?2 9.8e-019? <-- 0.00098fs
? ? ?3 9.8e-018? <-- 0.0098fs
? ? ?4 9.8e-017? <-- 0.098fs
? ? ?5 9.8e-016? <-- 0.98fs
Your experiment differs (fails) because you didn't control LTspice's internal timestep.? What you measured in the fastest edges was LTspice's relaxed internal timestep, which plowed right past the requested 1fs and 10fs risetimes.? The pulse would have had the faster risetimes you requested, but the timestep was too large to reveal it.? Even my first case above misses the 1fs case because its internal timestep is too slow. If you use Mark Data Points, you can see that your fastest edges produced no datapoints along the edges.? The other (slower) edges had multiple data points along each edge. Man-handling SPICE/LTspice to control its internal timestep is a science all its own.? Sometimes it's simple; sometimes not. For SPICE or LTspice to throttle its own internal timestep, it has to determine that a point it just simulated had failed because its error estimate was too great.? But if the point it simulated (after the rising edge) matches the requested waveform 100%, it has no reason to back up and try a smaller internal timestep.? Therein lies part of the problem. Andy |
Re: Neon
Tom wrote, "The gas tubes respond in several microseconds."
That's nothing compared to 8.33 milliseconds, unless your definition of "several" differs from mine.? Therefore the arc should extinguish between one half-cycle and the next.? If the next half-cycle also has a large over-voltage event, then of course it would trigger again, and again ... as expected. All the comments about limiting the current during an over-voltage event are of course valid but that's true for any device that limits an over-voltage condition, whether a gas discharge tube or anything else.? Of course.? It's common sense, but it's unrelated to it being a gas discharge tube. I still do not see why one should "never use a gas discharge tube across an AC ... line."? I do not believe that is a correct argument.? Once they fire they will self-extinguish before the next half-cycle begins.? Now if it was a DC line, that's another thing. Andy |