Sign in with STEVE

Compare versions

3 files changed, +83 −65 1.1.0: Seven sizes matching the Ampteks traditional hex set plus 5/8. The round body is gone: the whole pin behind the tulip is one rounded-square section.

part.py +44 −34
@@ -1,49 +1,56 @@
11"""Primary injection test pin ("tulip") for testing molded case circuit breakers.
22
33One end is a milled hex that slides through the breaker's terminal cover into the set-screw box lug. A short
4round neck blends through a tangent "tulip" flare into the full round body, so there is no sharp shoulder where
5the pin levers against the lug mouth. The other end is a solid rounded-square bar (no holes) that the test
6cable's lug is clamped to with vise-grips. The whole pin is turned and milled from one square bar of C18150 or
7C18200 copper alloy, TH04 temper, left bare.
4round neck flows into a tangent "tulip" turned straight onto the square bar, so there is no sharp shoulder where
5the pin levers against the lug mouth. Everything behind the tulip is one solid rounded-square section (no round
6body, no holes) that the test cable's lug is clamped to with vise-grips. Each pin is made from one square bar of
7C18150 or C18200 copper alloy, TH04 temper, left bare.
88
9`size` picks one of four sizes (the hex fits the smallest maximum wire in its frame range, the hex length clears
10the deepest cover found plus the lug depth plus 0.25 in). `hex_length` and `square_length` can be overridden.
11Pin axis along +x, hex tip at the origin, a hex corner pointing +z. Dimensions are set in inches; the model is
12built in mm.
9`size` picks one of seven sizes: the Ampteks traditional hex set (3/16, 7/32, 1/4, 5/16, 3/8, 1/2 in across
10flats) plus 5/8 for large frames. Hex lengths clear deep terminal covers. `hex_length` and `overall_length` can
11be overridden. Pin axis along +x, hex tip at the origin, a hex corner pointing +z. Dimensions are set in inches;
12the model is built in mm.
1313"""
1414import math
1515
1616import cadquery as cq
1717from steve import Model
1818
19size = "2" # Size
19size = "5" # Size
2020hex_length = 0 # in Hex length override (0 = size default)
21square_length = 4.0 # in Square clamp end length
21overall_length = 0 # in Overall length override (0 = size default)
2222
2323IN = 25.4
24LN = 0.25 # neck length
2425SIZES = {
25 # hex across flats, hex length, neck length, flare length, body length, square width, corner radius, body dia
26 "1": dict(AF=0.3125, Lh=2.50, Ln=0.25, Lf=0.50, Lb=0.50, sq=0.75, rc=0.09, Db=0.70),
27 "2": dict(AF=0.375, Lh=3.25, Ln=0.25, Lf=0.50, Lb=0.50, sq=0.75, rc=0.09, Db=0.70),
28 "3": dict(AF=0.500, Lh=3.75, Ln=0.25, Lf=0.625, Lb=0.50, sq=1.00, rc=0.125, Db=0.94),
29 "4": dict(AF=0.625, Lh=4.00, Ln=0.25, Lf=0.625, Lb=0.50, sq=1.00, rc=0.125, Db=0.94),
26 # hex across flats, hex length, square width, corner radius, tulip length, overall length
27 "1": dict(AF=3 / 16, Lh=2.00, sq=0.50, rc=0.06, Lf=0.50, L=8.0),
28 "2": dict(AF=7 / 32, Lh=2.25, sq=0.50, rc=0.06, Lf=0.50, L=8.0),
29 "3": dict(AF=1 / 4, Lh=2.25, sq=0.50, rc=0.06, Lf=0.50, L=8.0),
30 "4": dict(AF=5 / 16, Lh=2.50, sq=0.625, rc=0.075, Lf=0.50, L=8.0),
31 "5": dict(AF=3 / 8, Lh=3.25, sq=0.75, rc=0.09, Lf=0.50, L=8.5),
32 "6": dict(AF=1 / 2, Lh=3.75, sq=1.00, rc=0.125, Lf=0.625, L=9.0),
33 "7": dict(AF=5 / 8, Lh=4.00, sq=1.00, rc=0.125, Lf=0.625, L=9.5),
3034}
3135s = dict(SIZES[str(size)])
3236if hex_length:
3337 if not 1.0 <= hex_length <= 8.0:
3438 raise ValueError("hex_length must be 0 (size default) or between 1 and 8 in.")
3539 s["Lh"] = float(hex_length)
36if not 1.0 <= square_length <= 12.0:
37 raise ValueError("square_length must be between 1 and 12 in.")
38LSQ = float(square_length)
40if overall_length:
41 s["L"] = float(overall_length)
42if s["L"] - s["Lh"] - LN - s["Lf"] < 2.0:
43 raise ValueError("overall_length must leave at least 2 in of full square behind the tulip.")
44if s["L"] > 24.0:
45 raise ValueError("overall_length must be at most 24 in.")
3946
40AF, Lh = s["AF"], s["Lh"]
41AC = AF / math.cos(math.radians(30)) # across corners
42Dn = math.ceil((AC + 0.01) * 200) / 200 # neck just over across-corners, so the flats run out cleanly
43x_neck = Lh
44x_flare = x_neck + s["Ln"]
45x_body = x_flare + s["Lf"]
46x_sq = x_body + s["Lb"]
47AF, Lh, L = s["AF"], s["Lh"], s["L"]
48AC = AF / math.cos(math.radians(30)) # across corners
49Dn = math.ceil((AC + 0.01) * 200) / 200 # neck just over across-corners
50h = s["sq"] / 2
51Rc = (h - s["rc"]) * math.sqrt(2) + s["rc"] # radial reach of the rounded corners
52x_neck, x_flare = Lh, Lh + LN
53x_full = x_flare + s["Lf"]
4754
4855
4956def u(v):
@@ -59,19 +66,22 @@
5966 .close().revolve(360, (0, 0, 0), (1, 0, 0)))
6067hexp = hexp.intersect(lim)
6168
62# neck, tangent tulip flare, body
63rn, rb = Dn / 2, s["Db"] / 2
64prof = (cq.Workplane("XY").moveTo(u(x_neck), 0).lineTo(u(x_neck), u(rn)).lineTo(u(x_flare), u(rn))
65 .spline([(u(x_body), u(rb))], tangents=[(1, 0), (1, 0)], includeCurrent=True)
66 .lineTo(u(x_sq + 0.01), u(rb)).lineTo(u(x_sq + 0.01), 0).close())
67rev = prof.revolve(360, (0, 0, 0), (1, 0, 0))
69# short round neck
70rn = Dn / 2
71neck = (cq.Workplane("XY").moveTo(u(x_neck), 0).lineTo(u(x_neck), u(rn)).lineTo(u(x_flare + 0.01), u(rn))
72 .lineTo(u(x_flare + 0.01), 0).close().revolve(360, (0, 0, 0), (1, 0, 0)))
6873
69# solid rounded-square clamp end, no holes
70sqb = (cq.Workplane("YZ").workplane(offset=u(x_sq)).rect(u(s["sq"]), u(s["sq"])).extrude(u(LSQ))
74# tulip turned onto the square bar: a revolved envelope intersected with the rounded-square prism
75Rt = Rc + 0.002
76env = (cq.Workplane("XY").moveTo(u(x_flare), 0).lineTo(u(x_flare), u(rn))
77 .spline([(u(x_full), u(Rt))], tangents=[(1, 0), (1, 0)], includeCurrent=True)
78 .lineTo(u(L), u(Rt)).lineTo(u(L), 0).close().revolve(360, (0, 0, 0), (1, 0, 0)))
79sqb = (cq.Workplane("YZ").workplane(offset=u(x_flare)).rect(u(s["sq"]), u(s["sq"])).extrude(u(L - x_flare))
7180 .edges("|X").fillet(u(s["rc"])))
7281sqb = sqb.faces(">X").edges().chamfer(u(0.03))
82body = sqb.intersect(env)
7383
74pin = hexp.union(rev).union(sqb)
84pin = hexp.union(neck).union(body)
7585try:
7686 pin = pin.faces("<X").edges().chamfer(u(0.01))
7787except Exception:
pypart.toml +18 −17
@@ -1,24 +1,25 @@
11name = "littletechbird/breaker-test-pins"
2version = "1.0.0"
2version = "1.1.0"
33runtime = "steve"
44license = "MIT"
5summary = "Primary injection test pins (tulips) for molded case circuit breakers: hex lug end, tulip flare, rounded-square clamp end, four sizes."
5summary = "Primary injection test pins (tulips) for molded case circuit breakers: hex lug end, tulip neck, all rounded-square body, seven sizes."
66description = """Copper alloy test pins for primary injection testing of molded case circuit breakers. The hex end goes \
7through the breaker's plastic terminal cover into the set-screw box lug; the solid rounded-square end (no holes) takes \
8the test cable's lug, clamped on with vise-grips. A tangent tulip flare joins the slim neck to the full body so there \
9is no sharp shoulder at the fulcrum.
7through the breaker's plastic terminal cover into the set-screw box lug. Behind a short neck, a tangent tulip is turned \
8straight onto the square bar, and the rest of the pin is one solid rounded-square section (no round body, no holes) \
9that the test cable's lug is clamped to with vise-grips.
1010
11`size` picks one of four sizes covering 15 A to 1200 A frames (hex 5/16, 3/8, 1/2 and 5/8 in across flats). Material \
12C18150 or C18200, TH04 temper, bare finish. Pin axis +x, hex tip at the origin. Dimensions are set in inches; the \
13model is in mm."""
11`size` picks one of seven sizes covering 15 A to 1200 A frames: the Ampteks traditional hex set (3/16, 7/32, 1/4, \
125/16, 3/8, 1/2 in across flats) plus 5/8 in. Material C18150 or C18200, TH04 temper, bare finish. Pin axis +x, hex tip \
13at the origin. Dimensions are set in inches; the model is in mm."""
1414tags = ["electrical", "test-equipment", "circuit-breaker", "primary-injection", "copper", "busbar", "tooling", "machining"]
15changes = "Seven sizes matching the Ampteks traditional hex set plus 5/8. The round body is gone: the whole pin behind the tulip is one rounded-square section."
1516
1617[parameters.size]
1718type = "choice"
18default = "2"
19choices = ["1", "2", "3", "4"]
19default = "5"
20choices = ["1", "2", "3", "4", "5", "6", "7"]
2021label = "Size"
21description = "1: 15-125 A frames, 5/16 hex x 2.50, 3/4 square. 2: 125-225 A, 3/8 hex x 3.25, 3/4 square. 3: 250 A, 1/2 hex x 3.75, 1 in square. 4: 400-1200 A, 5/8 hex x 4.00, 1 in square."
22description = "1: 15-30 A, 3/16 hex, 1/2 sq. 2: 40-60 A, 7/32 hex, 1/2 sq. 3: 70-100 A, 1/4 hex, 1/2 sq. 4: 100-125 A, 5/16 hex, 5/8 sq. 5: 150-225 A, 3/8 hex, 3/4 sq. 6: 250-400 A, 1/2 hex, 1 in sq. 7: 400-1200 A, 5/8 hex, 1 in sq."
2223
2324[parameters.hex_length]
2425type = "number"
@@ -30,13 +31,13 @@
3031label = "Hex length override"
3132description = "0 uses the size default. Otherwise 1 to 8 in: lug depth plus terminal cover depth plus about 0.25 in."
3233
33[parameters.square_length]
34[parameters.overall_length]
3435type = "number"
35default = 4.0
36min = 1
37max = 12
36default = 0
37min = 0
38max = 24
3839step = 0.25
3940unit = "in"
40label = "Square clamp end length"
41description = "Room for the cable lug pad and the vise-grip jaws."
41label = "Overall length override"
42description = "0 uses the size default (8 to 9.5 in). Must leave at least 2 in of full square behind the tulip."
4243
README.md +21 −14
@@ -1,39 +1,46 @@
11# Breaker test pins (primary injection tulips)
22
3These are copper alloy pins for primary injection testing of molded case circuit breakers. During a test, a high current from a test set is pushed through each pole of the breaker to check its trip times. The pin connects the test set's heavy output cable to the breaker's terminal without stripping a real conductor into the lug.
3These are copper alloy pins for primary injection testing of molded case circuit breakers. A test set pushes a high current through each pole of the breaker to check its trip times, and the pin connects the test set's heavy output cable to the breaker's terminal without stripping a real conductor into the lug.
44
5The hex end slides through the hole in the breaker's plastic terminal cover and into the set-screw box lug, where the lug screw clamps on a flat. The other end is a solid rounded-square bar, about 4 inches long, with no holes. The cable's lug pad is laid flat on it and clamped with vise-grips, which is quick to put on and take off. Between the two ends, a short round neck blends into the full round body through a smooth tangent "tulip" flare. There is no sharp shoulder there, because that transition is where a pin levers against the lug mouth and where soft pins bend and crack.
5The hex end slides through the hole in the breaker's plastic terminal cover and into the set-screw box lug, where the lug screw clamps on a flat. Behind the hex is a short round neck, then a smooth tangent "tulip" turned straight onto the square bar, so there is no sharp shoulder at the point where a pin levers against the lug mouth and where soft pins bend and crack. Everything behind the tulip is one solid rounded-square section with no holes and no round body. The cable's lug pad lies flat on it and is clamped with vise-grips, which is quick to put on and take off.
6
7## What changed in 1.1.0
8
9There are now seven sizes. The first six follow the Ampteks traditional six-piece set of hex sizes (3/16, 7/32, 1/4, 5/16, 3/8 and 1/2 inch across flats), and size 7 keeps a 5/8 inch hex for large frames. The round body section from 1.0.0 is gone, and the whole pin behind the tulip is now a longer rounded-square section.
610
711## Material and finish
812
9Use C18150 (chromium zirconium copper) or C18200 (chromium copper), precipitation hardened and cold worked to TH04 temper or equivalent. These alloys keep about 80 percent of pure copper's conductivity but are several times stronger than C110, so the hex holds its shape under the lug screw and does not bend at the lug mouth. Annealed chromium copper is barely better than plain copper, so the temper matters. Leave the finish bare, degreased and clean, with no plating. Make each pin from one square bar, ideally bar that already has radiused corners, so the clamp end is left as stock and only the neck, flare, body and hex are machined.
13Use C18150 (chromium zirconium copper) or C18200 (chromium copper), precipitation hardened and cold worked to TH04 temper or equivalent. These alloys keep about 80 percent of pure copper's conductivity but are several times stronger than C110, so the hex holds its shape under the lug screw and doesn't bend at the lug mouth. Annealed chromium copper is barely better than plain copper, so the temper matters. Leave the finish bare, degreased and clean, with no plating. Make each pin from one standard square bar (1/2, 5/8, 3/4 or 1 inch), ideally bar that already has radiused corners, so the square is left as stock and only the hex, neck and tulip are machined.
1014
1115The site's material library has no chromium copper, so the model uses zirconium copper C15000, which has nearly the same density, to show colour and weight.
1216
1317## Sizes (inches)
1418
15| Size | Frames | Hex across flats | Hex length | Neck dia | Body dia | Square end | Overall |
19| Size | Frames | Hex across flats | Hex length | Neck dia | Square (corner radius) | Full square length | Overall |
1620|---|---|---|---|---|---|---|---|
17| 1 | 15 to 125 A, lugs up to 1/0 or 2/0 | 5/16 | 2.50 | 0.375 | 0.70 | 3/4 x 4.0 | 7.75 |
18| 2 | 125 to 225 A, lugs up to 3/0 or 4/0 | 3/8 | 3.25 | 0.445 | 0.70 | 3/4 x 4.0 | 8.50 |
19| 3 | 250 A, lugs up to 300 or 350 kcmil | 1/2 | 3.75 | 0.590 | 0.94 | 1 x 4.0 | 9.125 |
20| 4 | 400 to 1200 A, lug barrels up to 500 or 600 kcmil | 5/8 | 4.00 | 0.735 | 0.94 | 1 x 4.0 | 9.375 |
21| 1 | 15 to 30 A, lugs up to #8 or #6 | 3/16 | 2.00 | 0.230 | 1/2 (0.06) | 5.25 | 8.0 |
22| 2 | 40 to 60 A, lugs up to #4 or #3 | 7/32 | 2.25 | 0.265 | 1/2 (0.06) | 5.00 | 8.0 |
23| 3 | 70 to 100 A, lugs up to #1 | 1/4 | 2.25 | 0.300 | 1/2 (0.06) | 5.00 | 8.0 |
24| 4 | 100 to 125 A, lugs up to 1/0 or 2/0 | 5/16 | 2.50 | 0.375 | 5/8 (0.075) | 4.75 | 8.0 |
25| 5 | 150 to 225 A, lugs up to 3/0 or 4/0 | 3/8 | 3.25 | 0.445 | 3/4 (0.09) | 4.50 | 8.5 |
26| 6 | 250 to 400 A, lugs up to 350 kcmil | 1/2 | 3.75 | 0.590 | 1 (0.125) | 4.375 | 9.0 |
27| 7 | 400 to 1200 A, lug barrels up to 500 or 600 kcmil | 5/8 | 4.00 | 0.735 | 1 (0.125) | 4.625 | 9.5 |
2128
22The corner radius of the square end is 0.09 in on the 3/4 square and 0.125 in on the 1 inch square. The hex tip has a 30 degree chamfer.
29The tulip is 0.50 inch long on sizes 1 to 5 and 0.625 inch on sizes 6 and 7, and the neck is 0.25 inch. The hex tip has a 30 degree chamfer.
2330
2431## How the sizes were chosen
2532
26The hex is the largest one whose across-corners size still fits the smallest maximum wire size in its frame range, with a little clearance. Its length is the lug depth, plus the terminal cover depth, plus about a quarter inch, so the step up to the larger round body stays outside the cover. Lug depths come from published strip lengths (Square D lists 0.65 in on 150 A H-frames, 1.0 in on 250 A J-frames, 1.2 in on 400/600 A L-frames, and 1.0 in on 800 to 1200 A M and P frames). Cover depths are partly estimated. The deepest published covers found were ABB Tmax XT high terminal covers, at about 2.0 in on XT1/XT2 and 2.4 in on XT3/XT4, and most makers don't publish cover hole depths at all. If your covers are deeper, use the hex length override.
33Each hex's across-corners size fits the largest wire its frame range takes, with a little clearance, so small hexes go with small frames. The hex length is the lug depth, plus the terminal cover depth, plus about a quarter inch, so the tulip stays outside the cover. Lug depths for the larger frames come from published Square D strip lengths (0.65 in on 150 A H-frames, 1.0 in on 250 A J-frames, 1.2 in on 400/600 A L-frames, 1.0 in on 800 to 1200 A frames), while the small-frame engagement of about half an inch is an estimate. Cover depths are partly estimated. The deepest published covers found were ABB Tmax XT high terminal covers, about 2.0 in on XT1/XT2 and 2.4 in on XT3/XT4, and most makers don't publish cover hole depths at all. If your covers are deeper, use the hex length override.
2734
28The bending check is made at the lug mouth, using the hex's weakest bending direction, a design yield of 45 ksi and a safety factor of 3. The load each size can carry at the middle of its square end is about 9, 15, 32 and 62 lbf for sizes 1 to 4. Resistance from the lug mouth to the clamp is roughly 27, 23, 15 and 11 micro-ohms.
35The bending check is made at the lug mouth, using the hex's weakest bending direction, a design yield of 45 ksi and a safety factor of 3, with the load at the middle of the last 4 inches. The allowable load is about 2, 3, 4, 9, 15, 33 and 61 lbf for sizes 1 to 7. The square's section is 3 to 8 times the hex's, so it never limits strength or heating. At 300 percent of the frame rating, the hex warms at well under 1 degree C per second on sizes 1 to 6 and about 1.7 on size 7 at 3,600 A, and instantaneous tests are too short to matter.
2936
3037## Usage notes
3138
39Sizes 1 to 4 are for small frames and light test leads. Support the cable so it never hangs off the pin, because the small hexes can only carry a few pounds.
40
3241On 1200 A frames with multi-barrel lugs, use one pin per lug barrel, with one cable on each pin, so each pin carries only its share of the test current.
33
34Size 1 is for small frames and smaller test cables. Support the cable so it doesn't hang off the pin, because a 5/16 hex can't carry a heavy cable on its own.
3542
3643## Parameters
3744
38`size` picks the size (1 to 4). `hex_length` overrides the hex length in inches (0 keeps the size default). `square_length` sets the clamp end length in inches. The pin axis runs along +x, with the hex tip at the origin. Dimensions are set in inches, and the model is built in mm.
45`size` picks the size (1 to 7). `hex_length` overrides the hex length in inches (0 keeps the size default). `overall_length` overrides the overall length in inches (0 keeps the size default). The pin axis runs along +x with the hex tip at the origin. Dimensions are set in inches, and the model is built in mm.
3946