Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: Ferromagnetic core modeling.
On Sun, Dec 22, 2024 at 05:16 PM, Richard Andrews wrote:
Neither.? Square meters, or meters squared. ?
See your LTspice Help page for Inductors:
?
A = Cross sectional area, Units = meter**2 (meters squared).
?
If even says so in the text you quoted from the LTwiki: "A is the bead magnetic cross section in square meters".
?
Fair-Rite's datasheet uses millimeter dimensions so needs to be converted to meters.? Computing C*(A-B)/2 to get area in meters^2 means adding a 'u' multiplier to the computed area when using Fair-Rite's datasheet dimensions.? (Note that the "A" dimension on Fair-Rite's datasheet is not the "A" parameter in the Chan model.? You probably knew this already.)
?
Andy
? |
Re: Separate from .CKT for .lib file
Also -
?
What is this .CKT file you keep talking about?
?
Presumably your SPICE model for the part is in the .LIB file, and only in the .LIB file.? If that is the case, then the .CKT file is not part of the model.? Maybe the .CKT file is something needed by PSpice or some other simulator.? LTspice doesn't need that file.
?
I'm not saying that LTspice never uses a .CKT file.? If the part's SPICE model was in the .CKT file, then that is the file LTspice needs.? It doesn't care what is the filename extension.? But because you also have a .LIB file, chances are very good that the .LIB file is the SPICE model and the .CKT file is not.
?
It would not be unheard-of to have parts of a model in both files.? Very unusual, but not impossible.
?
The best way to tell is by looking at what's inside each file.
?
Andy
?
? |
Re: Separate from .CKT for .lib file
On Sun, Dec 22, 2024 at 08:35 PM, Mirza wrote:
It would be pointless for anyone to show you an example like that.? Every circuit is unique.? "All" you need to do is identify the parts that belong to the photodiode and to the amplifier, and delete one of them.? Deleting things from the model file means literally deleting lines of text.
?
Since you can't share the model file with us, there is no way anyone here can do that for you.? The only way to tell which parts belong to the photodiode and which parts belong to the transimpedance amp, is to actually SEE it for ourselves - which we can't do.? You are on your own.? Sorry.
?
Chances are good that the photodiode part is smaller, so it might be easier to single it out.? It might be as simple as one line in the model file, or it could be dozens of related lines.
?
Then in that case, I think you are in trouble.? Can you find another engineer where you work who understands SPICE netlists and is covered by the NDA and can help you with this?
?
SPICE netlists are not hard to figure out.? For example, any line starting with "R" is a resistor.? "D" is a diode.? The first letter is always the key.
?
Andy
? |
Re: LMH6321 Buffer Not Working
On Sun, Dec 22, 2024 at 05:54 PM, <info@...> wrote:
I think there is nothing technically "wrong" with the symbol file and model you uploaded.? I created a schematic and added your symbol to it (after editing the file's location since that is unique to your computer), and the simulation ran without errors. ?
However, you did use the SpiceModel attribute, which is NOT what I recommended using.? You should have used the ModelFile attribute instead, to specify what model file is to be loaded.? What you used was an "exception" case, and it's risky.? If you get any of the parameters wrong, it might not work the way you wanted it to work.
?
If you edited your symbol after adding it to your schematic already, you may need to delete the symbol from the schematic and then add it back (not Undo, but actually adding a new one).? There are some properties that are "sticky" and may remain even if you later alter the symbol in the symbol editor.? The schematic might retain the old ("sticky") value.
?
Andy
? |
Re: Looking for ideal fully differential amplifier spice model
On Sun, Dec 22, 2024 at 11:20 AM, Tom wrote:
Hmm.? I don't see anything to control the bandwidth.? So it is theoretically flat with 160 dB gain from DC to light. ?
It might work.? Or it might not.? Any good op-amp, either a model or real, should have a dominant pole giving it a controlled roll-off as you go up in frequency.
?
And of course the model has no supply voltages, so its inputs and outputs are compliant to +/- infinity - which could be how you want an ideal model to be.
?
Andy
?
? |
Re: Separate from .CKT for .lib file
Thank you very much for your advice.
Because of NDA with the company I got the file, it is difficult for me to upload the file.
Can I find any example where the lib file is separated according to the components?
I am sorry for the confusion about "The lib file has many raw data which are unknown to me".
I meant I do not understand the meaning of contents o fckt or lib file.
For example, there are hundreds of lines and each lines have meaning.
By seeing these lines, I do not understand and also which lines belong to photodiode and which lines belong to transimpedance amplifier.
?
I am sorry for my poor knowledge about it.
?
? |
Re: Looking for a working closed loop LLC Converter
I have designed a good number of power supplies, but I would not attempt an LLC without a good theoretical background.? There are few specialists that crank out these designs and they usually know a great deal about the magnetics as well as the theory. ? ? Mike
On Tuesday, December 17, 2024 at 06:31:46 AM CST, zhengsq1989 via groups.io <zhengsq1989@...> wrote:
Hi Tony,
?
thank you! study in progress.
?
Regards,
Shengqiao
|
LMH6321 Buffer Not Working
开云体育Those two files don't help, I think. We need
the .ASC, and please ZIP files if there is more than 1 to
upload. On 2024-12-22 23:01, Group Notification
wrote:
-- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying |
Re: LMH6321 Buffer Not Working
Make sure your symbol pins are numbered in consecutive order: 1, 2, 3, 4 works, 1, 3, 4, 5 (or any other sequence with a missing number) doesn't, even though the number of pins is correct. On Sun, Dec 22, 2024, 2:54 PM info via <info=[email protected]> wrote:
|
Ferromagnetic core modeling.
开云体育You can usually write '?' in email and
elsewhere using ALT-0181 on the numeric keypad. On 2024-12-22 22:51, Richard Andrews
via groups.io wrote:
-- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying |
Re: Confused, adding a pin to an existing Symbol and .cir
开云体育Never mind, I finally figured it out: I needed to change only the Spice Model line, to make it unique to the instance. Then, the hidden control voltage must be that same unique name. ? Dave ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ? From: [email protected] <[email protected]>
On Behalf Of Bell, Dave via groups.io
Sent: Sunday, December 22, 2024 12:42 PM To: [email protected] Subject: EXTERNAL: Re: [LTspice] Confused, adding a pin to an existing Symbol and .cir ? Sorry – I forgot to click “Notify users” in the upload:? Vpct_pots.zip ? ? From:
[email protected] <[email protected]>
On Behalf Of Bell, Dave via groups.io ? Attempting to modify an archive Pot component, to add a wired Pin instead of a hidden net name for control input. In order to use more than one pot in a circuit, the SUBCKT definition and instance parameters need to be modified for each pot placed. I’d like to add a pin, and change the SUBCKT definition to use that pin rather than a hidden net name. ? I’ve added a pin (4), removed the pin label “Vpct” and used V(4) to set the value of B1, but that’s not working. When Run, LTspice complains that the pin count of the instance doesn’t match the definition. ? The uploaded zip has a working model, with the separate embedded SUBBCKT definitions. How can I make the mod, to add a control pin and have one includable .cir ?? ? Thanks, Dave |
Confused, adding a pin to an existing Symbol and .cir
开云体育Never mind, I finally figured it out: I needed to change only the Spice Model line, to make it unique to the instance. Then, the hidden control voltage must be that same unique name. ? Dave ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? From: [email protected] <[email protected]> On Behalf Of
Bell, Dave via groups.io
Sent: Sunday, December 22, 2024 2:33 PM To: [email protected] Subject: EXTERNAL: Re: [LTspice] Ferromagnetic core modeling. ? In square mm. 1 mm=1e-3 m, 1 sq mm = 1e-6 sq m ? ? From: [email protected] <[email protected]>
On Behalf Of Richard Andrews via groups.io ? I am reading . "A is the bead magnetic cross section in square meters, use dimensions C*(A-B)/2, area is in mm2 hence the u". ? ? So, is the area in meters, micrometers, or millimeters? hence the u? ? ? ? Seasons Greetings. |
LMH6321 Buffer Not Working
TI supplies a seemingly straightforward spice model for its LMH6321 Unity Gain Buffer.? It requires a modified opamp symbol with only 4 nodes, (IN V+ V- OUT).
I edited a standard opamp symbol to have only the 4 nodes and get the resulting error message:? "Fatal Error: Port(pin) count mismatch between the definition of subcircuit "lmh6321" and instance: "xu1"
The instance has more connection terminals than the definition." ?
I count only 4 pins on the model and 4 pins on my symbol.? Can you see what I am doing wrong?? I will upload my files to temp.
?
Thanks,
Steve Hogan
?
?
?
?
?
?
?
?
? |
Re: Ferromagnetic core modeling.
开云体育In square mm. 1 mm=1e-3 m, 1 sq mm = 1e-6 sq m ? ? From: [email protected] <[email protected]> On Behalf Of
Richard Andrews via groups.io
Sent: Sunday, December 22, 2024 2:17 PM To: [email protected] Subject: EXTERNAL: Re: [LTspice] Ferromagnetic core modeling. ? I am reading . "A is the bead magnetic cross section in square meters, use dimensions C*(A-B)/2, area is in mm2 hence the u". ? ? So, is the area in meters, micrometers, or millimeters? hence the u? ? ? ? Seasons Greetings. |
Re: Confused, adding a pin to an existing Symbol and .cir
开云体育Sorry – I forgot to click “Notify users” in the upload:? Vpct_pots.zip ? ? From: [email protected] <[email protected]>
On Behalf Of Bell, Dave via groups.io
Sent: Sunday, December 22, 2024 12:41 PM To: [email protected] Subject: EXTERNAL: [LTspice] Confused, adding a pin to an existing Symbol and .cir ? Attempting to modify an archive Pot component, to add a wired Pin instead of a hidden net name for control input. In order to use more than one pot in a circuit, the SUBCKT definition and instance parameters need to be modified for each pot placed. I’d like to add a pin, and change the SUBCKT definition to use that pin rather than a hidden net name. ? I’ve added a pin (4), removed the pin label “Vpct” and used V(4) to set the value of B1, but that’s not working. When Run, LTspice complains that the pin count of the instance doesn’t match the definition. ? The uploaded zip has a working model, with the separate embedded SUBBCKT definitions. How can I make the mod, to add a control pin and have one includable .cir ?? ? Thanks, Dave |
Confused, adding a pin to an existing Symbol and .cir
开云体育Attempting to modify an archive Pot component, to add a wired Pin instead of a hidden net name for control input. In order to use more than one pot in a circuit, the SUBCKT definition and instance parameters need to be modified for each pot placed. I’d like to add a pin, and change the SUBCKT definition to use that pin rather than a hidden net name. ? I’ve added a pin (4), removed the pin label “Vpct” and used V(4) to set the value of B1, but that’s not working. When Run, LTspice complains that the pin count of the instance doesn’t match the definition. ? The uploaded zip has a working model, with the separate embedded SUBBCKT definitions. How can I make the mod, to add a control pin and have one includable .cir ?? ? Thanks, Dave |