Sign in with STEVE

steve/wirewound-power-inductor

Wire-wound shielded SMD power inductors in the Sunlord SWPA sizes, 2.5 x 2.0 mm to 8 x 8 mm, by the maker's dimension table.

v1.0.0 Latest STEVE MIT 0
Isometric
part.py 55 lines · Python · STEVE runtime · checked
Download
1"""Wire-wound shielded SMD power inductor, Sunlord SWPA series sizes. Centred on the origin, sitting on the XY plane, with the two bottom terminals at
2the -X and +X sides. Dimensions from Sunlord's SWPA datasheet table for the size named by `series`; see the README."""
3from steve import Model
4
5series = "SWPA4030S" # Sunlord SWPA size code
6
7# size: (drawing, A along the terminals' spacing, B, C height max, D terminal length, E terminal width, F gap between the terminals), ranges (min, max),
8# mm. Sunlord "Wire Wound SMD Power Inductors - SWPA Series", Revised 2019/04/01, Shape and Dimensions table (page 2).
9SIZES = {
10 "SWPA252010S": ("Fig.1", (2.4, 2.6), (1.9, 2.1), 1.0, (1.8, 2.2), (0.6, 1), (0.6, 1)),
11 "SWPA252012S": ("Fig.1", (2.4, 2.6), (1.9, 2.1), 1.2, (1.8, 2.2), (0.6, 1), (0.6, 1)),
12 "SWPA3010S": ("Fig.2", (2.8, 3.2), (2.8, 3.2), 1.0, (2.3, 2.7), (0.55, 0.95), (1.3, 1.7)),
13 "SWPA3012S": ("Fig.2", (2.8, 3.2), (2.8, 3.2), 1.2, (2.3, 2.7), (0.55, 0.95), (1.3, 1.7)),
14 "SWPA3015S": ("Fig.2", (2.8, 3.2), (2.8, 3.2), 1.5, (2.3, 2.7), (0.55, 0.95), (1.3, 1.7)),
15 "SWPA4010S": ("Fig.2", (3.8, 4.2), (3.8, 4.2), 1.0, (3.1, 3.5), (0.75, 1.15), (1.9, 2.3)),
16 "SWPA4012S": ("Fig.2", (3.8, 4.2), (3.8, 4.2), 1.2, (3.1, 3.5), (0.75, 1.15), (1.9, 2.3)),
17 "SWPA4018S": ("Fig.2", (3.8, 4.2), (3.8, 4.2), 1.8, (3.1, 3.5), (0.75, 1.15), (1.9, 2.3)),
18 "SWPA4020S": ("Fig.2", (3.8, 4.2), (3.8, 4.2), 2.0, (3.1, 3.5), (0.75, 1.15), (1.9, 2.3)),
19 "SWPA4026S": ("Fig.2", (3.8, 4.2), (3.8, 4.2), 2.6, (3.1, 3.5), (0.75, 1.15), (1.9, 2.3)),
20 "SWPA4030S": ("Fig.2", (3.8, 4.2), (3.8, 4.2), 3.0, (3.1, 3.5), (0.75, 1.15), (1.9, 2.3)),
21 "SWPA5012S": ("Fig.3", (4.8, 5.2), (4.8, 5.2), 1.2, (3.8, 4.2), (1.05, 1.45), (2.3, 2.7)),
22 "SWPA5020S": ("Fig.3", (4.8, 5.2), (4.8, 5.2), 2.0, (3.8, 4.2), (1.05, 1.45), (2.3, 2.7)),
23 "SWPA5040S": ("Fig.3", (4.8, 5.2), (4.8, 5.2), 4.0, (3.8, 4.2), (1.05, 1.45), (2.3, 2.7)),
24 "SWPA5045S": ("Fig.3", (4.8, 5.2), (4.8, 5.2), 4.5, (3.8, 4.2), (1.1, 1.5), (2.3, 2.7)),
25 "SWPA6020S": ("Fig.2", (5.7, 6.3), (5.7, 6.3), 2.0, (4.6, 5.2), (1.25, 1.85), (2.6, 3.2)),
26 "SWPA6028S": ("Fig.2", (5.7, 6.3), (5.7, 6.3), 2.8, (4.6, 5.2), (1.25, 1.85), (2.6, 3.2)),
27 "SWPA6040S": ("Fig.2", (5.7, 6.3), (5.7, 6.3), 4.0, (4.6, 5.2), (1.25, 1.85), (2.6, 3.2)),
28 "SWPA6045S": ("Fig.2", (5.7, 6.3), (5.7, 6.3), 4.5, (4.6, 5.2), (1.25, 1.85), (2.6, 3.2)),
29 "SWPA8040S": ("Fig.2", (7.7, 8.3), (7.7, 8.3), 4.2, (6, 6.6), (1.7, 2.3), (3.7, 4.3)),
30 "SWPA8050S": ("Fig.3", (7.7, 8.3), (7.7, 8.3), 5.0, (6, 6.6), (1.7, 2.3), (3.7, 4.3)),
31 "SWPA8060S": ("Fig.3", (7.7, 8.3), (7.7, 8.3), 6.0, (6, 6.6), (1.7, 2.3), (3.7, 4.3)),
32 "SWPA8065S": ("Fig.3", (7.7, 8.3), (7.7, 8.3), 6.5, (6, 6.6), (1.7, 2.3), (3.7, 4.3)),
33}
34PAD_T = 0.1 # terminal thickness under the body: a proportion, for looks
35
36
37def mid(pair):
38 return (pair[0] + pair[1]) / 2
39
40
41fig, A, B, top, D, E, F = SIZES[series]
42along, across, term_l, term_w, gap = mid(A), mid(B), mid(D), mid(E), mid(F)
43model = Model()
44model.plane("body_plane", on="XY", offset=PAD_T, name="Body")
45with model.sketch("body_sketch", on="body_plane", name="Body") as sk:
46 sk.rect("body_rect", (-along / 2, -across / 2), (along / 2, across / 2))
47model.extrude("body", "body_sketch", distance=top - PAD_T, name="Body")
48outer = min(gap / 2 + term_w, along / 2) # SWPA5045S's nominal E + F + E is 5.1 against A 5.0: the terminals stop at the body's side
49with model.sketch("terms_sketch", on="XY", name="Terminals") as sk:
50 sk.rect("term_left", (-outer, -term_l / 2), (-gap / 2, term_l / 2))
51 sk.rect("term_right", (gap / 2, -term_l / 2), (outer, term_l / 2))
52model.extrude("terms", "terms_sketch", distance=PAD_T + 0.05, name="Terminals")
53model.material("pla", color="#3a3c40")
54result = model.result()
55

Wire-wound shielded SMD power inductors for board layouts: body and the two bottom terminals, sized from Sunlord's SWPA datasheet table. See the README.

Wire-wound power inductor

Wire-wound shielded SMD power inductors in the Sunlord SWPA sizes: the body and the two terminals underneath. The inductor is centred on the origin, sitting on the XY plane, with the terminals on the -X and +X sides. Inductance doesn't change the outside.

Source

Sunlord, "Wire Wound SMD Power Inductors – SWPA Series", revised 2019/04/01: Shape and Dimensions table (page 2). The copy read is the one LCSC hosts, https://atta.szlcsc.com/upload/public/pdf/source/20260722/2E1AF3DDC73E718387934E6B7AB7AF01.pdf.

The table gives, per size, A (along the terminals' spacing), B, the maximum height C, and the terminals' length D, width E and gap F, each nominal ± tolerance. The model uses the middle of each range, and the height is the maximum, so read it as an envelope. For SWPA5045S the nominal terminal widths and gap add up to 5.1 mm against a 5.0 mm body; the model stops the terminals at the body's side.

Proportions, for looks only: the terminals' 0.1 mm thickness under the body. The datasheet draws three outlines (notched corners for most sizes, rounded for 5012 to 5045 and 8050 to 8065); the model is a plain block for all of them. Recommended land pattern sizes aren't modelled.

Sunlord's MWSA molded inductors are the molded-power-inductor part. Other series aren't here yet; see COVERAGE.md.

  1. 1.0.0 Latest
More #inductor
STEVEMIT

steve/alloy-power-inductor

Shielded metal-alloy SMD power inductors in the Würth WE-MAPI sizes, 2.0 x 1.6 mm to 4.1 x 4.1 mm, by the maker's datasheets.

0 10 sizes 0 1 hour ago v1.0.0
STEVEMIT

steve/high-current-inductor

Shielded high-current SMD power inductors in the Würth WE-HCI sizes, 5.3 x 5.6 mm to 22 x 22.5 mm, by the maker's datasheets.

0 8 sizes 0 1 hour ago v1.0.0
STEVEMIT

steve/flat-wire-inductor

Shielded SMD flat-wire high-current inductors in the Würth WE-HCM sizes, 7 x 7 mm to 13.3 x 13.5 mm, by the maker's datasheets.

0 9 sizes 0 1 hour ago v1.0.0
STEVEMIT

steve/molded-chip-inductor

Power molded chip inductors in the Würth WE-PMCI sizes, 1.6 x 0.8 mm to 3.2 x 2.5 mm, by the maker's datasheets.

0 7 sizes 0 56 minutes ago v1.0.0