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

Coupled Inductor (coupledInductor)

Two windings that share magnetic flux, with a coupling coefficient k.

coupledInductor

Component reference · 繁體中文

Group: Magnetics · Kind: {"kind":"coupledInductor"}

When to use it

Use it for flyback converters, coupled-inductor converters and transformers with leakage. Use Transformer for an ideal turns ratio.

Pins

Pin Domain Meaning
p1 electrical Winding 1, dotted end; positive current enters here
n1 electrical Winding 1, other end
p2 electrical Winding 2, dotted end; positive current enters here
n2 electrical Winding 2, other end

Common parameters

  • l1: Inductance of the first winding (Default: required)
  • l2: Inductance of the second winding (Default: required)
  • k: How tightly the two windings are linked (Default: 0.99)

Parameters

Key Unit Default Typical range Description
l1 H required Inductance of the first winding
l2 H required Inductance of the second winding
k — 0.99 How tightly the two windings are linked
coupledCurve — optional (off) Incremental inductances of the two windings against the core's magnetizing current from a field solve; rows i:L11:M:L22 in A and H from 0 A, such as 0:1e-4:9.8e-5:1e-4, 2:6e-5:5.8e-5:6e-5; sets the coupling in place of k
rw1 Ω 0 Wire resistance of the first winding
rw2 Ω 0 Wire resistance of the second winding
rcore Ω optional (off) Resistance across the first winding that models core loss
surface m² optional (off) Outside surface of the wound part to the air; design.thermal gives its temperature rise from it and the loss

Parameter descriptions are in English in both languages.

Use for: Flyback converters · Coupled-inductor converters · Transformers with leakage

Not for: Ideal turns ratio and isolation → transformer · Common-mode EMI filtering → cmChoke

Formulas

Formula Equation Source
Mutual inductance M = k·√(l1·l2) Hayt, Kemmerly & Durbin, Engineering Circuit Analysis, 8th ed. (2012), ch. 13 (coefficient of coupling)
Leakage seen from winding 1 Llk = l1·(1 − k²) Hayt, Kemmerly & Durbin, Engineering Circuit Analysis, 8th ed. (2012), ch. 13 (input impedance with the second winding shorted)
Turns ratio n = √(l1 / l2) Erickson & Maksimović, Fundamentals of Power Electronics, 3rd ed. (2020), ch. 10 (L ∝ N² on one core)

Quick check

Inputs:

  • l1: Inductance of winding 1 = 100u H, l1
  • l2: Inductance of winding 2 = 25u H, l2
  • k: Coupling coefficient = 990m —, k

Outputs:

  • m: Mutual inductance = k*sqrt(l1*l2) H
  • llk: Leakage inductance = l1*(1 - k^2) H
  • n: Turns ratio = sqrt(l1/l2) —

Model logic

  • The two windings are stamped together as a 2 by 2 conductance matrix with current sources (trapezoidal or backward Euler), with M = k·√(l1·l2).
  • k must satisfy 0 <= k < 1, or the run is refused; both winding currents start at zero, and there is no initial-current parameter.
  • With coupledCurve set, the inductance matrix at the currents of the previous accepted step replaces l1, l2 and k, and k only draws a warning.
  • Winding resistance, core loss and a two-slope saturation are not modelled; add series resistors yourself.

Model

The windings obey v1 = l1 * di1/dt + M * di2/dt and v2 = M * di1/dt + l2 * di2/dt with M = k * sqrt(l1 * l2). Both currents are positive into the dotted ends. k must satisfy 0 <= k < 1 (default 0.99), and the leakage inductance of winding 1 is about l1 * (1 - k^2). Winding resistance, core loss, saturation and initial currents are not modelled.

Common mistakes

  • A k of 1 is refused, so use 0.999 for a near-ideal pair. The p1 and p2 pins are the dots, and swapping the connections of one winding reverses the polarity.
  • A winding with no path to ground floats. Inductance is in henry, so 100 means 100 H, not 100u.

Problems rules: island.floating, param.out_of_range

Datasheet and sources

l1 and l2 are the inductances measured at each winding with the other one open. k comes from the leakage measurement: k = sqrt(1 - Lleak / l1), where Lleak is measured on winding 1 with winding 2 shorted.

Example

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


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