9
\$\begingroup\$

I'd like to figure out how to simulate coupled, non-linear cores using the included modified Chan model in LTspice and I'm specifically interested to know if LTspice has ever been extended to support transformers, using the modified-Chan hysteretic core model that Mike Engelhardt announced back in 2004 for LTspice. (I have already searched the LTspice archives on Yahoo Groups and found nothing much since about 2004, when it was announced.) Mike Engelhardt, writing on April 24th, 2004, explicitly said that this new (then) hysteretic model wasn't supported for coupled inductors.

I'd like to know if anyone here is aware if LTspice has since been extended to support coupled inductors using the above-mentioned model, and if so, if they may have attempted to use it to validate a transformer design.

For those otherwise just curious about this arcane part of LTspice, it allows an inductor to use "a model first proposed in by John Chan et la. in IEEE Transactions On Computer-Aided Design, Vol. 10. No. 4, April 1991 but extended with the methods in United States Patent 7,502,723."

In the schematic entry process, it achieves this by using a strangely attributed inductor, where the symbol attributes to use are: Value, Value2, and SpiceLine, as shown in this extraction from a schematic file:

SYMATTR Value2 A=0.0000251 Lm=0.0198
SYMATTR SpiceLine Lg=0.0006858 N=1000
SYMATTR SpiceLine2 Rser=0.
SYMATTR InstName L1
SYMATTR Value Hc=16. Bs=.44 Br=.10

And I believe it supports it with a specialized "L" Spice model line in the spice netlist deck.

I've already done the usual search on this site. I have examined the following obvious links: transformer with hysteresis in ltspice and modeling transformer in ltspice and also ltspice how to make a time variant mutual inductance coefficient in transformer. I also did a search for the specific parameters of "Lg=", "Lm=", "Bs=", and "Br=", as well as it may relate to transformers and LTspice. I'm coming up a bit short.

It's probable that LTspice still doesn't support coupled non-linear inductors using this hysteretic model. I'm hoping that someone may know better than this, though.

\$\endgroup\$
2
  • \$\begingroup\$ jonk, cannot answer for LTspice, but looks like PSPICE does allow inductors coupled by non-linear magnetic material. It uses the Jiles-Atherton model. \$\endgroup\$
    – glen_geek
    Commented Sep 29, 2016 at 1:36
  • \$\begingroup\$ @glen_geek Thanks. I'll keep that in mind. I've used LTspice mostly because it was free when I went looking. It could use much more by way of libraries, but the fact that it is used in IC wafer design work keeps the simulator skillsets updated. And the free part is just ... well, good. I fear I'll never be able to afford a similarly capable PSPICE for hobby work. \$\endgroup\$
    – jonk
    Commented Sep 29, 2016 at 1:46

1 Answer 1

6
+100
\$\begingroup\$

LTspice supports the Chan core since long ago. Unfortunately, it doesn't support direct coupling with other than linear inductances (i.e. the default inductance). However, as you found out in your searches, there are ways to circumvent this. If it were me, I'd use this link for my needs, but there are other links, as well (and also some examples in the default installation of LTspice).

A few remarks: there is no "specialized" symbol denoted L, that is the general SPICE notation for inductance, ever since 40+ years ago. The parameters are specialized, and this can be checked in the LTspice manual. Even if it is pretty spartan, I highly recommend reading it, at least once, it may save you tons of searches on the net. Also, in the LTspice Yahoo Groups archive and message list there should be more than enough examples to get you started, if the LTwiki link doesn't do it for you.


This is a simpler version to that from the LTwiki, it only accounts for primary/secondary resistances:

simpler trafo

Note that I used G sources for their superior convergence over E sources. If you need more than two windings, extending this should be fairly easy, as the Chan core is only used as a "prototype", with one turn; the sources take care of the windings (and anything else that may be added).

The example on the LTwiki, though, should be pretty self-explanatory, I'm afraid that, if you are looking for a simple, "place L, add coupling" sort of transformer, there is no such thing and you're likely be asking for external libraries which will, most probably, have the same arrangement under the hood.

\$\endgroup\$
5
  • \$\begingroup\$ I'm specifically interested if Mike has enhanced LTspice (or specific knowledge from recent comments that he hasn't) to support the model for coupled inductors. Either would work for an answer. I apologize for my use of terms regarding L. I see each of these single letters in the netlist as special keywords, with X being reserved for subcircuits. It's just a simple set of ASCII lines that describe the circuit. L, of course, is for inductors. I probably could have spoken better. I've already been to LTwiki, as well. Doesn't cut it for me. \$\endgroup\$
    – jonk
    Commented Sep 29, 2016 at 6:10
  • \$\begingroup\$ @jonk There is a full-blown example on how to use a very good approximation for a transformer with a nonlinear core (be it behavioural inductance or Chan core). If the parasitics there seem too much, I'll update the answer with a simpler version. \$\endgroup\$ Commented Sep 29, 2016 at 6:21
  • \$\begingroup\$ Forgot to add that the electrical values were taken from energie.ch/dimensionierung-von-transformatoren and the core values (Br, Bs, Hc) are just best guesses. \$\endgroup\$ Commented Sep 29, 2016 at 6:29
  • \$\begingroup\$ @jonk Thank you for the link from this, but also my apologies for the rookie treatment in my answer. Back then I didn't know many on EE.SE, and the tone of your question, combined with my "best" translation engine, resulted in the splurt above. \$\endgroup\$ Commented Nov 21, 2019 at 17:15
  • \$\begingroup\$ I'm going to accept this answer. The question is old and you did the question good justice. I only just looked back at this today, to realize it. Thanks! \$\endgroup\$
    – jonk
    Commented Sep 12, 2020 at 3:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.