Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Winding (winding)

N turns that join an electrical circuit to a magnetic circuit of reluctances.

winding

Component reference · 繁體中文

Group: Magnetics · Kind: {"element":"winding","kind":"magnetic"}

When to use it

Use it to build coupled or integrated magnetics, gapped flyback transformers and saturable reactors from their core geometry, with as many windings as the core has. For two windings with a known L and k, Coupled Inductor is simpler.

Pins

Pin Domain Meaning
p electrical Electrical end; positive current enters here and drives flux out of a
n electrical Electrical other end
a magnetic Magnetic end the flux leaves by
b magnetic Magnetic end the flux comes back to

Common parameters

  • n: Turns of the winding (Default: required)

Parameters

Key Unit Default Typical range Description
n — required Turns of the winding

Parameter descriptions are in English in both languages.

Use for: Integrated magnetics · More than two windings · Gapped flyback transformers · Saturable reactors

Not for: Two windings with a known L and k → coupledInductor

Formulas

Formula Equation Source
Reluctance of the path R = (lg + le/μr) / (μ0·Ae) Erickson & Maksimović, Fundamentals of Power Electronics, 3rd ed. (2020), ch. 10 (magnetic circuits)
Inductance of the winding L = N² / R Erickson & Maksimović, Fundamentals of Power Electronics, 3rd ed. (2020), ch. 10 (magnetic circuits)
Flux density at a current B = N·i / (R·Ae) Erickson & Maksimović, Fundamentals of Power Electronics, 3rd ed. (2020), ch. 10 (magnetic circuits)

Quick check

Inputs:

  • n: Turns = 20 -, n
  • ae: Core area = 100u m²
  • le: Path length in the core = 100m m
  • mur: Relative permeability = 2k -
  • gap: Air gap = 500u m
  • i: Winding current = 5 A

Outputs:

  • rel: Reluctance of the path = (gap + le/mur)/(4e-7*pi*ae) A/Wb
  • l: Inductance of the winding = n^2/rel H
  • b: Flux density at the current = n*i/(rel*ae) T

Model logic

  • It is a gyrator of conductance 1/n: two voltage-controlled current sources, constant entries in the matrix, so the LU cache keeps working.
  • It sets F(a) − F(b) = n·i with i into p, and v(p) − v(n) = n·dΦ/dt with Φ leaving at a; the current is recorded as i(name).
  • It has no resistance, capacitance or loss of its own: add a resistor for the copper and model the core with Reluctance or Saturable Core.

Model

The winding sets the magnetomotive force F(a) - F(b) = n * i and the voltage v(p) - v(n) = n * dPhi/dt, where Phi is the flux through it from b to a. It is a gyrator in the solvers, so a winding on a reluctance R is an inductance n^2 / R, and two windings on one path are coupled with M = n1 * n2 / R. It has no resistance or capacitance; add those as parts. The current is recorded as i(name).

Common mistakes

  • The direction counts: current into p drives flux out of a. Two windings whose a pins face the same way round the core are coupled in the same sense; swap a and b of one to reverse it.
  • A magnetic circuit is solved in transient and AC analysis only; DC analysis refuses it.

Datasheet and sources

n is the number of turns you wind. The inductance comes from the core, so give the core as a Reluctance or Saturable Core with its catalogue name or its Ae, le and permeability.

Example

Open the example with the command file.openExample and the name demo:winding.


Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.