Taken from here: http://ltwiki.org/?title=Transformers

enter image description here

I am having trouble understanding how the Chan core is actually linking in with the coils.

Does anyone understand what the SPICE code is doing here? Especially in the second half? It may just be lack of familiarity with the syntax or keywords being used.

Xp and Xs are supposed to be coils so I only expect two terminals, but there are three terminals and the Chan core mysteriously links to this third terminal.

But if that is the case then what are the actual Xs and Xp components in the simulation and how is it being interpreted by LTSpice? It seems like it has something to do with the "Winding" keyword but I haven't been able to find out what that is or how it works.

Is the third terminal special terminal activated by the "Winding" keyword that is meant specifically to determine the core? But if it is, then why does the core have two terminals (the other of which is permanently connected to GND via the paramterization in the first half of the code) since there's no current flowing through the core?

  • \$\begingroup\$ Do you have the .SUBCKT definition for the Winding? \$\endgroup\$
    – The Photon
    Commented Nov 20, 2019 at 0:27
  • \$\begingroup\$ @ThePhoton No unless it's in the link somewhere that I missed \$\endgroup\$
    – DKNguyen
    Commented Nov 20, 2019 at 1:12
  • 1
    \$\begingroup\$ I think it's there. The last code section before what you shared. \$\endgroup\$
    – The Photon
    Commented Nov 20, 2019 at 1:18
  • \$\begingroup\$ @ThePhoton Oh, it is. I'll take a looksie. \$\endgroup\$
    – DKNguyen
    Commented Nov 20, 2019 at 1:31
  • 1
    \$\begingroup\$ May as well link this as it also discusses Chan. \$\endgroup\$
    – jonk
    Commented Nov 20, 2019 at 2:58


Your Answer

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

Browse other questions tagged or ask your own question.