Repository navigation
Dual Layout
A dual board is two Single Coil Set Generator boards on one PCB, one inside the other. Before either set is built, the generator decides where each sits: the RX band of each set, the bore, the outline and the gap between the sets. There is no mode to choose. You give what you know, and the generator places the rest. This page gives the rules, all 32 combinations of what can be given, and for each one a picture of a board the generator really builds.
The Dual Coil Set Generator does not have its own coil builder. Each set of a dual board is a Single Coil Set Generator board, built by the Single Coil Set Generator's own code:
-
The layout. From the dual parameter files, the layout (
Dual_TrackLayout.py, the rules on this page) decides the two RX bands, the bore and the outline. It uses the Single Coil Set Generator's own formulas on each set's own values: how far set 1's copper reaches past its RX band (the TX turns, the TX tail, the RX bridging fingers and the TX's go-around brackets,BoardLayout.outer_copper_reach), where set 2's copper starts inside its band (its inner vias, where the RX builder puts them: on the band start atRX_VIA_ELECTRICAL_DEG= 90, a little inside the band at any other angle,RX_Builder.inner_via_radius), and how much room the outline needs past the RX2 band (BoardLayout.outer_edge_room, plus the overhang of ring 2 of the rotor when it covers the TX2 turns). -
Two Single parameter sets. For each set,
Dual_SetParameters.buildputs together exactly the parameter set of a Single Coil Set Generator board: the board values ofDual_Board_Parameters.py, the set's own RX, TX, rotor and IC files, the vias and clearance the set gives itself, and the band and edges the layout decided. -
The Single Coil Set Generator's checks and builders. Each set is checked by the Single Coil Set Generator's
checker, which also checks a given edge against its own set's band, and built by the Single Coil Set Generator's
builders, turned so that its TX ends sit at
TERMINAL_1_DEGorTERMINAL_2_DEG. -
One board. Both sets are written into one
Stator.kicad_pcb, with one rotor disc carrying both rings. Then the checks between the sets run on the built copper: the gap between the sets, different nets too close, the layer left free for set 1's leads and the distances between the rotor rings.
So whatever a Single board can do, each set of a dual board can do. The Dual refuses only what the Single refuses for that set, plus what two sets on one board cannot share.
From the centre out, the board is a stack:
bore | RX1 band | TX1 ring | gap | RX2 band | TX2 ring | outline
The TX rings always follow from their RX bands, so five things can be given, each one or not (None): the RX1 band
(Dual_RX1_Parameters.py), the RX2 band (Dual_RX2_Parameters.py), the bore (INNER_EDGE_RADIUS_MM), the outline
(OUTER_EDGE_RADIUS_MM) and the gap (TRACK_GAP_MM, all three in Dual_Board_Parameters.py). A band is given in one
of the Single Coil Set Generator's two ways, as INSIDE_RADIUS_MM / OUTSIDE_RADIUS_MM or as RX_R_BASE_MM /
RX_A_MM; a half given pair stays an error, as in the Single Coil Set Generator. Four rules place what is not given, so
every spacing in the stack follows from the sets' own settings:
| What | Rule |
|---|---|
| The gap |
TRACK_GAP_MM, or the larger of the two sets' MIN_CLEARANCE_MM when it is None. A band the generator places sits exactly that far from the other set. When both bands are given, it is the least the gap between them may be. |
| A band not given | Placed across the gap from the band that is given: RX2 outwards from set 1's copper, or RX1 inwards from set 2's. Its far end goes to the board edge on that side when that edge is given (the outline less the TX2 ring and the margins, or the bore plus INNER_EDGE_INSET_MM). Otherwise the band is as wide as the given one. |
| An edge not given | Comes from the band, as in the Single Coil Set Generator: the bore is the RX1 band start less INNER_EDGE_INSET_MM, the outline the RX2 band end plus the TX2 ring and the margins. An edge that is given is used as given and checked by the Single Coil Set Generator's own rule. |
| No band at all | Needs both edges. Both bands are fitted between them, and BAND_SPLIT shares the width that is left. |
Of the 32 combinations, 26 build. The other 6 give no band and at most one edge, so there is nothing to size a band from, and the checker says what to give. A combination that builds can still be refused for a real reason, with a message that names what to change: a given outline may leave a placed band no width, a placed RX1 band may push the bore to zero, or the Single Coil Set Generator may refuse a set.
The record (Parameters.txt) and the console name the combination a run used, with every radius, for example:
layout: RX1 band given, RX2 band placed TRACK_GAP_MM out and as wide as RX1; bore and outline from the bands (combination 10 of 32)
RX1 band r = 9.7 ... 16.05 mm (RX_R_BASE_MM 12.875, RX_A_MM 3.175): INSIDE_RADIUS_MM / OUTSIDE_RADIUS_MM as given
RX2 band r = 19.55 ... 25.9 mm (RX_R_BASE_MM 22.725, RX_A_MM 3.175): placed by the generator
bore r = 8.5 mm (RX1 band start - INNER_EDGE_INSET_MM), outline r = 29.5 mm (RX2 band end + the TX2 ring and the margin)
set 1 copper reaches r = 18.75 mm; set 2 copper starts at r = 19.25 mm: gap 0.5 mm (TRACK_GAP_MM = 0.5)
The table lists every combination. The last column says what the dual parameter files had to say for it before the
layout modes were removed; a combination marked "refused" could not be built at all. Under the table, each combination
has its own section, with a picture of its reference board in the regression suite cut along one radius: the copper is
what that cut meets in the board's Stator.kicad_pcb, and the radii and what was given come from its Parameters.txt.
Black marks what was given, blue what the generator placed or worked out.
| # | RX1 band | RX2 band | Bore | Outline | TRACK_GAP_MM |
What the generator does | Before |
|---|---|---|---|---|---|---|---|
| 1 | given | given | – | – | – | Both bands are used as given. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least MIN_CLEARANCE_MM (TRACK_GAP_MM is None). | DUAL_MODE 2 |
| 2 | given | given | – | – | given | Both bands are used as given. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least TRACK_GAP_MM. | refused |
| 3 | given | given | given | – | – | Both bands are used as given. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least MIN_CLEARANCE_MM (TRACK_GAP_MM is None). | refused |
| 4 | given | given | given | – | given | Both bands are used as given. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least TRACK_GAP_MM. | refused |
| 5 | given | given | – | given | – | Both bands are used as given. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least MIN_CLEARANCE_MM (TRACK_GAP_MM is None). | refused |
| 6 | given | given | – | given | given | Both bands are used as given. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least TRACK_GAP_MM. | refused |
| 7 | given | given | given | given | – | Both bands are used as given. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least MIN_CLEARANCE_MM (TRACK_GAP_MM is None). | DUAL_MODE 4 |
| 8 | given | given | given | given | given | Both bands are used as given. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least TRACK_GAP_MM. | refused |
| 9 | given | – | – | – | – | The RX2 band is placed so that set 2's innermost copper (its inner vias) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) out from set 1's outermost copper (its TX ring, tail or fingers), and is as wide as the RX1 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. | refused |
| 10 | given | – | – | – | given | The RX2 band is placed so that set 2's innermost copper (its inner vias) sits TRACK_GAP_MM out from set 1's outermost copper (its TX ring, tail or fingers), and is as wide as the RX1 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. | DUAL_MODE 3 |
| 11 | given | – | given | – | – | The RX2 band is placed so that set 2's innermost copper (its inner vias) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) out from set 1's outermost copper (its TX ring, tail or fingers), and is as wide as the RX1 band. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. | refused |
| 12 | given | – | given | – | given | The RX2 band is placed so that set 2's innermost copper (its inner vias) sits TRACK_GAP_MM out from set 1's outermost copper (its TX ring, tail or fingers), and is as wide as the RX1 band. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. | refused |
| 13 | given | – | – | given | – | The RX2 band is placed so that set 2's innermost copper (its inner vias) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) out from set 1's outermost copper (its TX ring, tail or fingers), and runs out to the outline, less the TX2 ring and the margins. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. | refused |
| 14 | given | – | – | given | given | The RX2 band is placed so that set 2's innermost copper (its inner vias) sits TRACK_GAP_MM out from set 1's outermost copper (its TX ring, tail or fingers), and runs out to the outline, less the TX2 ring and the margins. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. | refused |
| 15 | given | – | given | given | – | The RX2 band is placed so that set 2's innermost copper (its inner vias) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) out from set 1's outermost copper (its TX ring, tail or fingers), and runs out to the outline, less the TX2 ring and the margins. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. | refused |
| 16 | given | – | given | given | given | The RX2 band is placed so that set 2's innermost copper (its inner vias) sits TRACK_GAP_MM out from set 1's outermost copper (its TX ring, tail or fingers), and runs out to the outline, less the TX2 ring and the margins. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. | refused |
| 17 | – | given | – | – | – | The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) inside set 2's innermost copper (its inner vias), and is as wide as the RX2 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. | refused |
| 18 | – | given | – | – | given | The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits TRACK_GAP_MM inside set 2's innermost copper (its inner vias), and is as wide as the RX2 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. | DUAL_MODE 3 |
| 19 | – | given | given | – | – | The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) inside set 2's innermost copper (its inner vias), and starts at the bore plus INNER_EDGE_INSET_MM. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. | refused |
| 20 | – | given | given | – | given | The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits TRACK_GAP_MM inside set 2's innermost copper (its inner vias), and starts at the bore plus INNER_EDGE_INSET_MM. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. | refused |
| 21 | – | given | – | given | – | The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) inside set 2's innermost copper (its inner vias), and is as wide as the RX2 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. | refused |
| 22 | – | given | – | given | given | The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits TRACK_GAP_MM inside set 2's innermost copper (its inner vias), and is as wide as the RX2 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. | refused |
| 23 | – | given | given | given | – | The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) inside set 2's innermost copper (its inner vias), and starts at the bore plus INNER_EDGE_INSET_MM. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. | refused |
| 24 | – | given | given | given | given | The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits TRACK_GAP_MM inside set 2's innermost copper (its inner vias), and starts at the bore plus INNER_EDGE_INSET_MM. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. | refused |
| 25 | – | – | – | – | – | Refused: no RX band and no board edge, so there is nothing to size the bands from. Give one RX band, or both board edges to fit both bands between them. | refused |
| 26 | – | – | – | – | given | Refused: no RX band and no board edge, so there is nothing to size the bands from. Give one RX band, or both board edges to fit both bands between them. TRACK_GAP_MM alone does not help: it is a distance, not a place. | refused |
| 27 | – | – | given | – | – | Refused: no RX band and only the bore, so the room for the two bands has no other end. Give OUTER_EDGE_RADIUS_MM too, and the bands are fitted between the edges, or give one RX band. | refused |
| 28 | – | – | given | – | given | Refused: no RX band and only the bore, so the room for the two bands has no other end. Give OUTER_EDGE_RADIUS_MM too, and the bands are fitted between the edges, or give one RX band. | refused |
| 29 | – | – | – | given | – | Refused: no RX band and only the outline, so the room for the two bands has no other end. Give INNER_EDGE_RADIUS_MM too, and the bands are fitted between the edges, or give one RX band. | refused |
| 30 | – | – | – | given | given | Refused: no RX band and only the outline, so the room for the two bands has no other end. Give INNER_EDGE_RADIUS_MM too, and the bands are fitted between the edges, or give one RX band. | refused |
| 31 | – | – | given | given | – | Both bands are fitted between the two edges as given: from the bore, INNER_EDGE_INSET_MM, the RX1 band, the TX1 ring, MIN_CLEARANCE_MM (TRACK_GAP_MM is None), set 2's inner vias, the RX2 band, and the TX2 ring with the margins up to the outline. BAND_SPLIT shares what is left between the two bands (0.5: equal widths). | refused |
| 32 | – | – | given | given | given | Both bands are fitted between the two edges as given: from the bore, INNER_EDGE_INSET_MM, the RX1 band, the TX1 ring, TRACK_GAP_MM, set 2's inner vias, the RX2 band, and the TX2 ring with the margins up to the outline. BAND_SPLIT shares what is left between the two bands (0.5: equal widths). | DUAL_MODE 1 |
Both bands are used as given. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least MIN_CLEARANCE_MM (TRACK_GAP_MM is None).
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board001-default |
8.45 ... 11.7 mm, given | 18 ... 23.9 mm, given | 7.25 mm, from the band | 26.875 mm, from the band | 3.725 mm (at least MIN_CLEARANCE_MM 0.15) |
Both bands are used as given. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least TRACK_GAP_MM.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board083-layout-02-both-bands-and-gap |
8.45 ... 11.7 mm, given | 18 ... 23.9 mm, given | 7.25 mm, from the band | 26.875 mm, from the band | 3.725 mm (at least TRACK_GAP_MM 3) |
Both bands are used as given. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least MIN_CLEARANCE_MM (TRACK_GAP_MM is None).
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board084-layout-03-both-bands-and-bore |
8.45 ... 11.7 mm, given | 18 ... 23.9 mm, given | 6 mm, given | 26.875 mm, from the band | 3.725 mm (at least MIN_CLEARANCE_MM 0.15) |
Both bands are used as given. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least TRACK_GAP_MM.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board085-layout-04-both-bands-bore-and-gap |
8.45 ... 11.7 mm, given | 18 ... 23.9 mm, given | 6 mm, given | 26.875 mm, from the band | 3.725 mm (at least TRACK_GAP_MM 3) |
Both bands are used as given. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least MIN_CLEARANCE_MM (TRACK_GAP_MM is None).
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board086-layout-05-both-bands-and-outline |
8.45 ... 11.7 mm, given | 18 ... 23.9 mm, given | 7.25 mm, from the band | 28 mm, given | 3.725 mm (at least MIN_CLEARANCE_MM 0.15) |
Both bands are used as given. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least TRACK_GAP_MM.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board087-layout-06-both-bands-outline-and-gap |
8.45 ... 11.7 mm, given | 18 ... 23.9 mm, given | 7.25 mm, from the band | 28 mm, given | 3.725 mm (at least TRACK_GAP_MM 3) |
Both bands are used as given. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least MIN_CLEARANCE_MM (TRACK_GAP_MM is None).
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board004-layout-07-all-given |
9.7 ... 16.05 mm, given | 19.55 ... 25.9 mm, given | 8.5 mm, given | 29.5 mm, given | 0.5 mm (at least MIN_CLEARANCE_MM 0.2) |
Both bands are used as given. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins. The gap between set 1's outermost copper and set 2's innermost copper is measured, and must be at least TRACK_GAP_MM.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board088-layout-08-everything-given |
8.45 ... 11.7 mm, given | 18 ... 23.9 mm, given | 6 mm, given | 28 mm, given | 3.725 mm (at least TRACK_GAP_MM 3) |
The RX2 band is placed so that set 2's innermost copper (its inner vias) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) out from set 1's outermost copper (its TX ring, tail or fingers), and is as wide as the RX1 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board089-layout-09-rx1-band |
8.45 ... 11.7 mm, given | 14.425 ... 17.675 mm, placed | 7.25 mm, from the band | 20.65 mm, from the band | 0.15 mm (at least MIN_CLEARANCE_MM 0.15) |
The RX2 band is placed so that set 2's innermost copper (its inner vias) sits TRACK_GAP_MM out from set 1's outermost copper (its TX ring, tail or fingers), and is as wide as the RX1 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board003-layout-10-rx1-band-and-gap |
9.7 ... 16.05 mm, given | 19.55 ... 25.9 mm, placed | 8.5 mm, from the band | 29.5 mm, from the band | 0.5 mm (at least TRACK_GAP_MM 0.5) |
The RX2 band is placed so that set 2's innermost copper (its inner vias) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) out from set 1's outermost copper (its TX ring, tail or fingers), and is as wide as the RX1 band. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board090-layout-11-rx1-band-and-bore |
8.45 ... 11.7 mm, given | 14.425 ... 17.675 mm, placed | 6 mm, given | 20.65 mm, from the band | 0.15 mm (at least MIN_CLEARANCE_MM 0.15) |
The RX2 band is placed so that set 2's innermost copper (its inner vias) sits TRACK_GAP_MM out from set 1's outermost copper (its TX ring, tail or fingers), and is as wide as the RX1 band. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board091-layout-12-rx1-band-bore-and-gap |
8.45 ... 11.7 mm, given | 15.275 ... 18.525 mm, placed | 6 mm, given | 21.5 mm, from the band | 1 mm (at least TRACK_GAP_MM 1) |
The RX2 band is placed so that set 2's innermost copper (its inner vias) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) out from set 1's outermost copper (its TX ring, tail or fingers), and runs out to the outline, less the TX2 ring and the margins. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board092-layout-13-rx1-band-and-outline |
8.45 ... 11.7 mm, given | 14.425 ... 25.025 mm, placed | 7.25 mm, from the band | 28 mm, given | 0.15 mm (at least MIN_CLEARANCE_MM 0.15) |
The RX2 band is placed so that set 2's innermost copper (its inner vias) sits TRACK_GAP_MM out from set 1's outermost copper (its TX ring, tail or fingers), and runs out to the outline, less the TX2 ring and the margins. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board093-layout-14-rx1-band-outline-and-gap |
8.45 ... 11.7 mm, given | 15.275 ... 25.025 mm, placed | 7.25 mm, from the band | 28 mm, given | 1 mm (at least TRACK_GAP_MM 1) |
The RX2 band is placed so that set 2's innermost copper (its inner vias) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) out from set 1's outermost copper (its TX ring, tail or fingers), and runs out to the outline, less the TX2 ring and the margins. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board094-layout-15-rx1-band-bore-and-outline |
8.45 ... 11.7 mm, given | 14.425 ... 25.025 mm, placed | 6 mm, given | 28 mm, given | 0.15 mm (at least MIN_CLEARANCE_MM 0.15) |
The RX2 band is placed so that set 2's innermost copper (its inner vias) sits TRACK_GAP_MM out from set 1's outermost copper (its TX ring, tail or fingers), and runs out to the outline, less the TX2 ring and the margins. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board095-layout-16-rx1-band-bore-outline-and-gap |
8.45 ... 11.7 mm, given | 15.275 ... 25.025 mm, placed | 6 mm, given | 28 mm, given | 1 mm (at least TRACK_GAP_MM 1) |
The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) inside set 2's innermost copper (its inner vias), and is as wide as the RX2 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board096-layout-17-rx2-band |
9.375 ... 15.275 mm, placed | 18 ... 23.9 mm, given | 8.175 mm, from the band | 26.875 mm, from the band | 0.15 mm (at least MIN_CLEARANCE_MM 0.15) |
The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits TRACK_GAP_MM inside set 2's innermost copper (its inner vias), and is as wide as the RX2 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board097-layout-18-rx2-band-and-gap |
8.525 ... 14.425 mm, placed | 18 ... 23.9 mm, given | 7.325 mm, from the band | 26.875 mm, from the band | 1 mm (at least TRACK_GAP_MM 1) |
The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) inside set 2's innermost copper (its inner vias), and starts at the bore plus INNER_EDGE_INSET_MM. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board098-layout-19-rx2-band-and-bore |
7.2 ... 15.275 mm, placed | 18 ... 23.9 mm, given | 6 mm, given | 26.875 mm, from the band | 0.15 mm (at least MIN_CLEARANCE_MM 0.15) |
The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits TRACK_GAP_MM inside set 2's innermost copper (its inner vias), and starts at the bore plus INNER_EDGE_INSET_MM. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is the RX2 band end plus the room the TX2 ring, its tail or fingers, and the margins need.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board099-layout-20-rx2-band-bore-and-gap |
7.2 ... 14.425 mm, placed | 18 ... 23.9 mm, given | 6 mm, given | 26.875 mm, from the band | 1 mm (at least TRACK_GAP_MM 1) |
The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) inside set 2's innermost copper (its inner vias), and is as wide as the RX2 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board100-layout-21-rx2-band-and-outline |
9.375 ... 15.275 mm, placed | 18 ... 23.9 mm, given | 8.175 mm, from the band | 28 mm, given | 0.15 mm (at least MIN_CLEARANCE_MM 0.15) |
The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits TRACK_GAP_MM inside set 2's innermost copper (its inner vias), and is as wide as the RX2 band. The bore is the RX1 band start less INNER_EDGE_INSET_MM. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board101-layout-22-rx2-band-outline-and-gap |
8.525 ... 14.425 mm, placed | 18 ... 23.9 mm, given | 7.325 mm, from the band | 28 mm, given | 1 mm (at least TRACK_GAP_MM 1) |
The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits MIN_CLEARANCE_MM (TRACK_GAP_MM is None) inside set 2's innermost copper (its inner vias), and starts at the bore plus INNER_EDGE_INSET_MM. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board102-layout-23-rx2-band-bore-and-outline |
7.2 ... 15.275 mm, placed | 18 ... 23.9 mm, given | 6 mm, given | 28 mm, given | 0.15 mm (at least MIN_CLEARANCE_MM 0.15) |
The RX1 band is placed so that set 1's outermost copper (its TX ring, tail or fingers) sits TRACK_GAP_MM inside set 2's innermost copper (its inner vias), and starts at the bore plus INNER_EDGE_INSET_MM. The bore is used as given; the Single Coil Set Generator checks that it leaves INNER_EDGE_INSET_MM inside the RX1 band. The outline is used as given; the Single Coil Set Generator checks that it leaves room for the TX2 ring, its tail or fingers, and the margins.
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board103-layout-24-rx2-band-bore-outline-and-gap |
7.2 ... 14.425 mm, placed | 18 ... 23.9 mm, given | 6 mm, given | 28 mm, given | 1 mm (at least TRACK_GAP_MM 1) |
Refused: no RX band and no board edge, so there is nothing to size the bands from. Give one RX band, or both board edges to fit both bands between them.
ERROR no RX band and no board edge is given: there is nothing to size the bands from. Give one RX band (INSIDE_RADIUS_MM / OUTSIDE_RADIUS_MM or RX_R_BASE_MM / RX_A_MM in Dual_RX1 or Dual_RX2_Parameters.py), or both board edges (INNER_EDGE_RADIUS_MM and OUTER_EDGE_RADIUS_MM, Dual_Board_Parameters.py) to fit both bands between them
Refused: no RX band and no board edge, so there is nothing to size the bands from. Give one RX band, or both board edges to fit both bands between them. TRACK_GAP_MM alone does not help: it is a distance, not a place.
ERROR no RX band and no board edge is given: there is nothing to size the bands from. Give one RX band (INSIDE_RADIUS_MM / OUTSIDE_RADIUS_MM or RX_R_BASE_MM / RX_A_MM in Dual_RX1 or Dual_RX2_Parameters.py), or both board edges (INNER_EDGE_RADIUS_MM and OUTER_EDGE_RADIUS_MM, Dual_Board_Parameters.py) to fit both bands between them
Refused: no RX band and only the bore, so the room for the two bands has no other end. Give OUTER_EDGE_RADIUS_MM too, and the bands are fitted between the edges, or give one RX band.
ERROR no RX band is given and of the board edges only the bore: OUTER_EDGE_RADIUS_MM is missing to fit both bands between the edges. Set OUTER_EDGE_RADIUS_MM (Dual_Board_Parameters.py), or give one RX band (INSIDE_RADIUS_MM / OUTSIDE_RADIUS_MM or RX_R_BASE_MM / RX_A_MM in Dual_RX1 or Dual_RX2_Parameters.py)
Refused: no RX band and only the bore, so the room for the two bands has no other end. Give OUTER_EDGE_RADIUS_MM too, and the bands are fitted between the edges, or give one RX band.
ERROR no RX band is given and of the board edges only the bore: OUTER_EDGE_RADIUS_MM is missing to fit both bands between the edges. Set OUTER_EDGE_RADIUS_MM (Dual_Board_Parameters.py), or give one RX band (INSIDE_RADIUS_MM / OUTSIDE_RADIUS_MM or RX_R_BASE_MM / RX_A_MM in Dual_RX1 or Dual_RX2_Parameters.py)
Refused: no RX band and only the outline, so the room for the two bands has no other end. Give INNER_EDGE_RADIUS_MM too, and the bands are fitted between the edges, or give one RX band.
ERROR no RX band is given and of the board edges only the outline: INNER_EDGE_RADIUS_MM is missing to fit both bands between the edges. Set INNER_EDGE_RADIUS_MM (Dual_Board_Parameters.py), or give one RX band (INSIDE_RADIUS_MM / OUTSIDE_RADIUS_MM or RX_R_BASE_MM / RX_A_MM in Dual_RX1 or Dual_RX2_Parameters.py)
Refused: no RX band and only the outline, so the room for the two bands has no other end. Give INNER_EDGE_RADIUS_MM too, and the bands are fitted between the edges, or give one RX band.
ERROR no RX band is given and of the board edges only the outline: INNER_EDGE_RADIUS_MM is missing to fit both bands between the edges. Set INNER_EDGE_RADIUS_MM (Dual_Board_Parameters.py), or give one RX band (INSIDE_RADIUS_MM / OUTSIDE_RADIUS_MM or RX_R_BASE_MM / RX_A_MM in Dual_RX1 or Dual_RX2_Parameters.py)
Both bands are fitted between the two edges as given: from the bore, INNER_EDGE_INSET_MM, the RX1 band, the TX1 ring, MIN_CLEARANCE_MM (TRACK_GAP_MM is None), set 2's inner vias, the RX2 band, and the TX2 ring with the margins up to the outline. BAND_SPLIT shares what is left between the two bands (0.5: equal widths).
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board104-layout-31-both-edges |
7.2 ... 14.75 mm, placed | 17.475 ... 25.025 mm, placed | 6 mm, given | 28 mm, given | 0.15 mm (at least MIN_CLEARANCE_MM 0.15) |
Both bands are fitted between the two edges as given: from the bore, INNER_EDGE_INSET_MM, the RX1 band, the TX1 ring, TRACK_GAP_MM, set 2's inner vias, the RX2 band, and the TX2 ring with the margins up to the outline. BAND_SPLIT shares what is left between the two bands (0.5: equal widths).
| Reference board | RX1 band | RX2 band | Bore | Outline | Gap between the sets |
|---|---|---|---|---|---|
Board002-layout-32-fitted-bands |
9.7 ... 16.05 mm, placed | 19.55 ... 25.9 mm, placed | 8.5 mm, given | 29.5 mm, given | 0.5 mm (at least TRACK_GAP_MM 0.5) |
A parameter file written for the layout modes still works. DUAL_MODE is no longer read: the checker warns that it is
no longer used, and the layout follows from what the file gives, which is what the mode needed anyway. Every board of
the regression suite built with a mode is byte for byte the same board without it:
DUAL_MODE |
What It Needed | Now |
|---|---|---|
| 1 |
TRACK_GAP_MM and both edges, no band |
Combination 32 |
| 2 | Both bands, no gap, no edges | Combination 1 |
| 3 | One band and TRACK_GAP_MM, no edges |
Combination 10 (RX1 given) or 18 (RX2 given) |
| 4 | Both bands and both edges, no gap | Combination 7 |
The other 27 combinations used to be refused because no mode matched them.
The pictures and the combination sections above are written by docs/tools/dual_layout_pictures.py (standard
library only) from the reference boards in regression/DualCoilSetGenerator_regression: the board named
BoardNNN-layout-<n>-... for combination n, or Board001-default for combination 1. The regression tests hold those
boards byte for byte against what the generator builds, so the pictures always show what it builds today. CI runs
python docs/tools/dual_layout_pictures.py --check, which fails when a picture or this page is not what the boards
give; after a change that moves a board, run the script without --check and commit what it writes.
- Board Features - Dual Coil Set Generator: the stack from the centre out, and the checks on the finished board.
- Quick Guide To Parameters Selections - Dual Coil Set Generator: which combination to start from.
- Parameter Reference Dual Coil Set Generator: every dual parameter.
- Board Features: the Single Coil Set Generator's edges and margins, which each set of a dual board keeps.
| Previous | Next |
|---|---|
| Board Features - Dual Coil Set Generator | Silkscreen - Dual Coil Set Generator |
Code: PolyForm Noncommercial 1.0.0 · Web Tool: PolyForm Strict 1.0.0 · Docs and images: CC BY-NC-SA 4.0 · Output of the tool and commercial use: 0.2 % commercial terms or written permission (License) · Repository
Start Here
Working Principle / Mathematics - Generator
Design Guide - Single Coil Set Generator
Design Guide - Dual Coil Set Generator
- Stator Features
- Rotor Features
- Board Features
- Dual Layout
- Silkscreen
- Quick Guide To Parameters Selections
Reference
- Parameter Reference Single Coil Set Generator
- Parameter Reference Dual Coil Set Generator
- Checks, Errors And Warnings
- Electrical Estimate
- Suggestive Analysis And Optimization
- Project Output Organization
- Output Pictures
- KiCad Compatibility
- Regression Testing
Research And Community
