Re: Passing a Mosfet Value as a parameter to a hierarchical subcircuit
NOW It does, but not all are running the latest version(s) Sent: Monday, May 05, 2025 12:38 PM To: [email protected] Subject: EXTERNAL: Re: [LTspice] Passing a Mosfet Value as a parameter to a
By
Bell, Dave
·
#160199
·
|
Re: Passing a Mosfet Value as a parameter to a hierarchical subcircuit
Not quite. LTspice also knows string parameters, which were introduced extactly for the purpose discussed here. Best Regards, Mathias
By
Mathias Born
·
#160198
·
|
Re: Passing a Mosfet Value as a parameter to a hierarchical subcircuit
I've never heard of that procedure. Let's see what others say. -- This email has been checked for viruses by AVG antivirus software. www.avg.com
By
John Woodgate
·
#160197
·
|
Re: Passing a Mosfet Value as a parameter to a hierarchical subcircuit
Thanks for the reply. That's a big not going to happen then. :-( As an aside the .asc file is 'linked' to the .asy file. It does not need a simulation directive. You drop the .asy on the schematic and
By
Per
·
#160196
·
|
Re: Passing a Mosfet Value as a parameter to a hierarchical subcircuit
.PARAM can only be used to pass numbers. From the Help: /To invoke parameter substitution and expression evaluation, enclose the expression in curly braces. The enclosed expression will be replaced
By
John Woodgate
·
#160195
·
|
Passing a Mosfet Value as a parameter to a hierarchical subcircuit
Hi, I want to make my own block for a bidirectional mosfet. I can set up the .asc file with two mosfets in it and draw the .asy file. I want to do something like add MOS=IPB107N20N3 in the PARAMS
By
Per
·
#160194
·
|
Re: OPA square wave generator, single supply OPA is not working
I uploaded "LT1006 oscillator.zip" to the Temp folder.? It has three schematics: * "Original (corrupt!).asc" is the original schematic that wai wai attached to a message.? It is corrupt, probably
By
Andy I
·
#160193
·
|
Re: OPA square wave generator, single supply OPA is not working
Suggestion: Connect the bottom end of R7, to a voltage which is between VEE and VCC.? That allows the voltage across the capacitor to ramp above and below that voltage. By connecting the bottom end
By
Andy I
·
#160191
·
|
Re: Crystal oscillator oscillation startup
You might not need to, since LTspice resolves that problem for you, by connecting a 1T resistor (GFLOAT) from that net to ground.? Note that the message is a Warning, not an Error, and it fixes it
By
Andy I
·
#160190
·
|
Re: OPA square wave generator, single supply OPA is not working
Oops - correcting a typo.? I wrote: but that should have said: Andy
By
Andy I
·
#160189
·
|
Re: OPA square wave generator, single supply OPA is not working
wai wai, The schematic you attached to your message today has several mistakes.? I am just letting you know.? It was a very sloppy schematic and you should not have used it as an example. Apparently
By
Andy I
·
#160188
·
Edited
|
Re: OPA square wave generator, single supply OPA is not working
wai wai, I have edited your message to remove the nonsense schematic that you attached to your message. *DON'T EVER DO THAT!* Go back and read (actually *read!* ) the instructions about using this
By
Andy I
·
#160187
·
|
Re: Crystal oscillator oscillation startup
@Andy I have done the three modifications ( /g/LTspice/files/Temp/ck_osc_operating_point_check.zip ) as per your valuable advices. May I ask how to resolve the issue for floating node
By
Cheng Fei Phung
·
#160186
·
|
Re: OPA square wave generator, single supply OPA is not working
Please don't post such long netlists. Few of us will try to help using a netlist. Upload your .ASC file AND all the other files required to run the simulation, but not .RAW? and .LOG files or
By
John Woodgate
·
#160185
·
Edited
|
OPA square wave generator, single supply OPA is not working
LT1006 was a single supply OPA. Trying and gathered no output when single supply was used. welcome any hints or experience would be share, thanks. the code used, *[Mod note:? schematic code deleted]*
By
wai wai
·
#160184
·
Edited
|
Re: Crystal oscillator oscillation startup
"Safe"?? I don't know, it depends on one's definition of "safe". Accurate?? Probably not.? Any time you omit something that you know about, or change a value from what it ought to be, it degrades
By
Andy I
·
#160183
·
|
Re: LTspice24 windows version run on macOS
#Mac
That's because homebrew uses a different installation location on Apple Silicon Macs that it does on Intel Macs. You are using an Apple Silica Mac and I posted instructions based on my old Intel iMac.
By
Dennisc
·
#160182
·
|
Re: Crystal oscillator oscillation startup
@Andy Your advices are valuable and very useful !!! ? Thanks !!! Got it, noted. I will swap the order and get back to you tomorrow with a corrected circuit. I will double check these and get back to
By
Cheng Fei Phung
·
#160181
·
|
Re: Crystal oscillator oscillation startup
That is a *huge* change! The fact that you moved the ground is insignificant.? It just shifts the voltages.? But you are no longer powering the "VN" net with a voltage source that had the polarity
By
Andy I
·
#160180
·
|
Re: Crystal oscillator oscillation startup
@Tony See ck_osc_positive_supply.asc , ( /g/LTspice/files/Temp/ck_osc_positive_supply.asc ) I had actually checked the operating points conditions for each transistors according to
By
Cheng Fei Phung
·
#160179
·
|