Purpose: the leakage inductance of the flux that crosses the slot and the slot opening without reaching the air gap. It depends on where each conductor sits in the slot, so phases placed in different layers get different inductances, and phases sharing a slot are coupled.
What it does:slot_permeance gives the specific permeance matrix Λ between the named positions of a slot layout. Its parts are the conductor body (any taper from parallel slot to parallel tooth), the opening and tooth-tip transition, and the tooth-tip leakage at the gap. slot_leakage_inductance adds Λ over every slot with the turns of each phase at each position, giving the m × m matrix in the same form as airgap_inductance. The total stator inductance (without end winding) is the sum of the two, and phase_imbalance applies to it.
Background: the flux paths and how this part fits into the measured inductance are on the Inductance Theory page.
Assumptions: iron of infinite permeability. The slot field is horizontal (across the slot) and uniform across its width. Turns are spread evenly over the area of their position. Eddy currents in the conductors are neglected (low frequency).
How It Fits Into the Motor Design Workflow
Upstream:WindingPattern (turns of each phase at each slot position) and StatorGeometry (slot shape, its regions per layout, gap, stack).
Downstream: the total inductance \(\mathbf{L} = \mathbf{L}_{ag} + \mathbf{L}_{slot} + \mathbf{L}_{ew}\), its imbalance, the synchronous and dq inductances, and comparing candidate windings and slot shapes.
Theory
Left: a slot with three radial layers, layer 1 next to the air gap and layer 3 at the slot bottom; horizontal leakage flux lines cross the slot at several depths and close through the teeth and yoke. A dashed line at depth y marks that flux crossing there links only the turns deeper than y. Right: the share of each layer’s turns deeper than y, A_r(y), against depth, and the slot MMF F(y) when the three layers carry equal currents.
Step 1 — the field across the slot
Measure depth \(y\) from the top of the conductor body (the air-gap side) down to the slot bottom at \(y = h_s\). The body width is \(b(y) = b_s + t\,2\pi y/Q\) (see Stator and Slot Geometry). Take a loop that crosses the slot at depth \(y\) and closes through the two teeth and the yoke. With infinitely permeable iron all of the MMF is across the slot, so Ampère’s law gives
with \(n_r i_r\) the ampere-turns at slot position \(r\) and \(A_r(y)\)the share of position \(r\)’s turns that lie deeper than \(y\), i.e. enclosed by the loop. \(A_r = 1\) above the position, \(0\) below it, and falls with the copper area in between.
Step 2 — energy and the permeance matrix
The field energy per unit stack length is \(W' = \tfrac12 \mu_0 \int H^2\, b\, dy = \tfrac12 \mu_0 \int F^2/b\, dy\). Writing \(W' = \tfrac12 \sum_{rs} (n_r i_r)\,\mu_0 \Lambda_{rs}\,(n_s i_s)\) gives the specific permeance matrix
Body. A conductor deep in the slot is enclosed by the flux crossing at every depth above it, so its self term \(\Lambda_{rr}\) is large. A conductor next to the opening is enclosed by little. Two positions are coupled through the depths where both are enclosed: \(\Lambda_{rs} = \int A_r A_s/b\).
Opening and tooth-tip transition (heights \(h_0\), \(h_1\)). Every conductor is deeper, \(A_r = 1\), so they add the same constant to every entry: \(\lambda_{open} = h_0/b_0 + h_1 \ln(b_s/b_0)/(b_s - b_0)\). The last term is \(\int dy/b\) over a width that grows linearly from \(b_0\) to \(b_s\).
Tooth-tip leakage across the opening at the gap: \(\lambda_{tt} = \dfrac{5\,g/b_0}{5 + 4\,g/b_0}\) (Pyrhönen). It links every conductor too.
Step 3 — phase inductance
The ampere-turns at position \(r\) of slot \(i\) are \(\sum_x N_{x,i,r}\, i_x\), with \(N\) the turns per ampere of each phase (pattern.effective_turns()). Summing the energy over the slots and stack:
Phases that never share a slot have no mutual slot leakage. Phases that share one are coupled through \(\Lambda_{rs}\), with \(r \ne s\).
Worked case: three equal layers in a rectangular slot
For layer height \(h\) and width \(b\) (\(A_r\) falls linearly across layer \(r\)), the body part in units of \(h/b\) is
layer 1 (gap side)
layer 2
layer 3 (bottom)
layer 1
1/3
1/2
1/2
layer 2
1/2
4/3
3/2
layer 3
1/2
3/2
7/3
So the self slot leakage of the three layers is in the ratio 1 : 4 : 7. A winding with one phase per layer is therefore unbalanced, however balanced its air-gap part is. The diagonal grows with depth because the flux crossing above a conductor adds up as it goes deeper. The single-layer limit, \(\Lambda = h_s/(3 b_s)\), is the textbook slot permeance factor.
Can the slot shape equalise the layers?
Only partly. Widening the slot towards the bottom (taper \(t \to 1\), parallel tooth) lowers \(1/b(y)\) where the deep layers collect their linkage, so their self permeance falls more than that of layer 1. A deeper, narrower opening and the tooth tip add the same constant to every layer, which dilutes the relative spread. But every layer’s linkage is an integral of a positive quantity over the depths above it, so a deeper layer always has the larger self permeance: no slot shape can make the self leakage of the layers equal. The ways to balance it are in the winding: give every phase the same mix of layers, for example by rotating the phases through the layers from pole to pole where the coil layout allows it (it does not in the example below), or use a conventional double layer.
Specific permeance of the tooth-tip leakage across the slot opening at the air gap.
λ_tt = 5 (g / b0) / (5 + 4 g / b0) (Pyrhönen et al., §4.3, without the pitch factor: the pitch enters through the actual slot currents). Links every conductor in the slot.
Specific permeance of the slot opening and tooth-tip transition above the conductor body.
h0 / b0 + h1 · ln(bs / b0) / (bs − b0) (the transition widens linearly from b0 to bs). Every conductor in the slot lies below it, so it links all of them fully. 0 for an open slot.
Specific permeance matrix of the conductor body between slot positions (dimensionless).
Λ_rs = ∫₀^hs A_r(y) A_s(y) / b(y) dy, with A_r(y) the share of position r’s turns deeper than y and b(y) the body width. Integrated exactly (Gauss–Legendre per segment between region boundaries; the integrand is smooth inside each segment).
Parameters
stator : StatorGeometry regions : sequence of SlotRegion e.g. stator.regions(layout, n)
Returns
np.ndarray, shape (k, k) symmetric, k = len(regions)
Slot (and tooth-tip) leakage inductance matrix of the phases [H].
L_xy = μ0 l_stk Σ_slots Σ_r Σ_s N_x,r Λ_rs N_y,s, with N the turns per ampere of each phase at each slot position (pattern.effective_turns()).
Parameters
pattern : WindingPattern Its Q must match the stator stator : StatorGeometry part : str as slot_permeance: ‘body’, ‘opening’, ‘slot’, ‘tooth_tip’ or ‘total’
Specific permeance matrix between the named positions of a slot layout (dimensionless).
The leakage flux linkage of the slot is μ0 l_stk nᵀ Λ n, with n the turns × current at each position. Diagonal entries are the self permeance of each position, off-diagonal entries the mutual permeance between positions.
Parameters
stator : StatorGeometry layout : str ‘single’, ‘over_under’ or ‘side_by_side’ n : int Radial layers for ‘over_under’ part : str ‘body’ (conductor region), ‘opening’ (h0 and h1 above the body), ‘slot’ (body + opening), ‘tooth_tip’, or ‘total’ (slot + tooth tip)
Returns
np.ndarray, shape (k, k), in the order of slot_positions(layout, n)
Examples
The 36-slot stator from the geometry notebook (semi-closed slot, taper 0.5) with a short-pitched double layer. Its leakage is split into body, opening and tooth tip, and compared with the air-gap part:
stator = StatorGeometry(Q=36, r_bore=60e-3, g=0.8e-3, l_stk=100e-3, h_y=12e-3, l_ew=22e-3, slot=SlotGeometry.semi_closed(b0=2.5e-3, h0=1e-3, h1=1.5e-3, bs=6e-3, hs=18e-3, t=0.5))pat = WindingPattern.distributed(36, 4, pitch=7, turns=10, parallel_paths=2)print("Λ between top and bottom layer, total:\n", np.round(slot_permeance(stator, "over_under", 2), 4))Ls = {}for part in ("body", "opening", "tooth_tip", "total"): Ls[part] = phase_imbalance(slot_leakage_inductance(pat, stator, part))["L_positive"]print(f"{part:10s} synchronous {Ls[part] *1e3:.4f} mH")Lag = phase_imbalance(airgap_inductance(pat, stator))["L_positive"]print(f"air gap synchronous {Lag *1e3:.4f} mH -> slot + tooth-tip leakage is {100* Ls['total'] / Lag:.1f}% of it")
Λ between top and bottom layer, total:
[[1.5579 1.805 ]
[1.805 2.9293]]
body synchronous 0.1305 mH
opening synchronous 0.0974 mH
tooth_tip synchronous 0.0320 mH
total synchronous 0.2599 mH
air gap synchronous 12.0199 mH -> slot + tooth-tip leakage is 2.2% of it
A winding with one phase per layer (EP 2 237 392 B1)
The patent’s 48-slot, 4-pole winding puts each phase in its own radial layer: 6 concentric coils per pole, phases A, B and C starting at slots 1, 5 and 9. Its air-gap part is balanced, but the slot leakage is not. The patent gives no dimensions, so the ones below are assumed: bore 80 mm, gap 0.6 mm, stack 150 mm, slot 5 × 24 mm. Phase A is taken as the layer next to the gap.
def ep2237392(order=("1", "2", "3"), turns=2):# 48 slots, 4 poles, 3 layers; phase k uses layer order[k]; B's first pole reversed for 120° el. coils = []for ph, (start, sign0) inenumerate([(0, 1), (4, -1), (8, 1)]):for pole inrange(4): s0, sign = start +12* pole, sign0 * (-1) ** polefor k inrange(6): # concentric: spans 1, 3, ..., 11 a, b = (s0 +5- k) %48, (s0 +6+ k) %48if sign <0: a, b = b, a coils.append(Coil(ph, a, order[ph], b, order[ph], turns))return WindingPattern.custom(48, 4, coils, layout="over_under", n_layers=3, name="EP2237392")ep = ep2237392()ep_open = StatorGeometry(Q=48, r_bore=80e-3, g=0.6e-3, l_stk=150e-3, h_y=15e-3, slot=SlotGeometry.open(5e-3, 24e-3))ep_semi = replace(ep_open, slot=SlotGeometry.semi_closed(b0=2e-3, h0=1e-3, h1=1.5e-3, bs=5e-3, hs=24e-3))print("air-gap balanced:", ep.check()["balanced"], " kw1 =", np.round(ep.check()["kw1"], 4))for st, name in [(ep_open, "open slot"), (ep_semi, "semi-closed slot")]: Lag, Lsl = airgap_inductance(ep, st), slot_leakage_inductance(ep, st)for label, L in [("air gap", Lag), ("slot + tooth tip", Lsl), ("total", Lag + Lsl)]: r = phase_imbalance(L)print(f"{name:16s}{label:16s} self A/B/C [µH] {np.round(np.diag(L) *1e6, 1)} "f"self spread {100* r['self_spread']:5.2f}% sequence coupling {100* r['sequence_coupling']:.2f}%")
air-gap balanced: True kw1 = 0.6384
open slot air gap self A/B/C [µH] [5371.6 5371.6 5371.6] self spread 0.00% sequence coupling 0.00%
open slot slot + tooth tip self A/B/C [µH] [ 23.3 81.2 139.1] self spread 142.68% sequence coupling 45.69%
open slot total self A/B/C [µH] [5394.8 5452.7 5510.6] self spread 2.12% sequence coupling 0.56%
semi-closed slot air gap self A/B/C [µH] [7071.4 7071.4 7071.4] self spread 0.00% sequence coupling 0.00%
semi-closed slot slot + tooth tip self A/B/C [µH] [ 62.7 120.6 178.5] self spread 96.00% sequence coupling 29.79%
semi-closed slot total self A/B/C [µH] [7134.1 7192.1 7250. ] self spread 1.61% sequence coupling 0.42%
The air-gap part is the same for every phase. The slot leakage of the layers is close to 1 : 4 : 7, plus the constant from the opening and tooth tip, and that sets the imbalance of the total.
Can the layers be rotated from pole to pole to balance it? Not in this winding. Each phase’s pole group is a concentric set of 6 coils spanning 12 slots, and the groups of A, B and C overlap by 8 slots. Every slot holds one group of each phase, one per layer, and each group has to stay in one layer across its 12 slots. Going round the stator, those two facts force every group of a phase into the same layer. A naive rotation (A in layer 1 under pole 1, layer 2 under pole 2, …) puts two coil sides into some positions and leaves others empty, so it cannot be built. Check the fill of every position before trusting a hand-made winding:
def ep_rotated(turns=2): # NOT buildable: shown to catch it coils = []for ph, (start, sign0) inenumerate([(0, 1), (4, -1), (8, 1)]):for pole inrange(4): s0, sign = start +12* pole, sign0 * (-1) ** pole pos =str((ph + pole) %3+1) # layer rotates with the polefor k inrange(6): a, b = (s0 +5- k) %48, (s0 +6+ k) %48if sign <0: a, b = b, a coils.append(Coil(ph, a, pos, b, pos, turns))return WindingPattern.custom(48, 4, coils, layout="over_under", n_layers=3, name="EP rotated")for p_ in (ep, ep_rotated()): sides = np.abs(p_.slot_turns).sum(axis=0) /2# coil sides in each (slot, layer), 2 turns eachprint(f"{p_.name:12s} coil sides per position: min {sides.min():g}, max {sides.max():g}")assert np.all(np.abs(ep.slot_turns).sum(axis=0) ==2) and np.abs(ep_rotated().slot_turns).sum(axis=0).max() >2
EP2237392 coil sides per position: min 1, max 1
EP rotated coil sides per position: min 0, max 2
How the slot shape changes the layer imbalance. The plot shows the self permeance of each layer and the relative spread \((\Lambda_{33} - \Lambda_{11})/\overline{\Lambda}\), as the taper goes from parallel slot to parallel tooth, for an open and a semi-closed slot:
Left: self permeance of layers 1, 2 and 3 against taper t for the EP stator with an open slot; all fall as t grows, layer 3 most. Right: relative spread of the layer self permeance against t, for the open and the semi-closed slot; the taper lowers it a little, the semi-closed opening lowers it more, and neither brings it near zero.
for t in (0.0, 0.5, 1.0):for st, name in [(ep_open, "open"), (ep_semi, "semi-closed")]: s = st.slot st_t = replace(st, slot=replace(s, t=t)) d = np.diag(slot_permeance(st_t, "over_under", 3))print(f"t = {t:.1f}{name:12s} layer self permeance {np.round(d, 3)} spread {100* (d[2] - d[0]) / d.mean():.1f}%")
t = 0.0 open layer self permeance [0.643 2.243 3.843] spread 142.7%
t = 0.0 semi-closed layer self permeance [1.733 3.333 4.933] spread 96.0%
t = 0.5 open layer self permeance [0.692 2.241 3.528] spread 131.7%
t = 0.5 semi-closed layer self permeance [1.783 3.332 4.619] spread 87.4%
t = 1.0 open layer self permeance [0.731 2.201 3.259] spread 122.5%
t = 1.0 semi-closed layer self permeance [1.821 3.292 4.35 ] spread 80.2%
Validation
Three equal layers, rectangular slot: the body matrix is exactly \(\frac{h}{b}\begin{bmatrix}1/3 & 1/2 & 1/2\\ 1/2 & 4/3 & 3/2\\ 1/2 & 3/2 & 7/3\end{bmatrix}\), and one full-depth region gives \(h_s/(3 b_s)\).
Short pitch (Pyrhönen’s \(k_1\), \(k_2\)): for a 60°-belt double layer with relative shortening \(\varepsilon = 1 - W/\tau_p \le 1/3\), the synchronous slot leakage is the full-pitch value times \(k_1 = 1 - \tfrac{9}{16}\varepsilon\) for the body and \(k_2 = 1 - \tfrac34\varepsilon\) for the opening. The model reproduces both exactly, without using them.
Tapered slot: the Gauss–Legendre integral matches an independent adaptive quadrature of \(\int (1 - a(y)/a_{tot})^2/b(y)\,dy\) for a single region.
Energy is positive: Λ is symmetric positive semi-definite for every layout.
\(k_1\) is exact for a parallel slot (\(t = 0\)). With a taper, the body share depends slightly on the pitch through \(b(y)\); the model handles that, and the textbook factor does not.