KB: Automatic Trace Width Reduction in Connector Escape Areas

Altium Designer Altium Designer
When routing beneath large through-hole connectors, the preferred board routing width may be too wide to fit between connector pads and vias. Although individual track segments can be manually reduced in width, this approach is difficult to maintain and does not provide consistent rule-based control. A Room combined with a Width Constraint Rule allows Altium Designer to automatically apply narrower trace widths only within a defined PCB region, such as a connector escape area, while preserving the preferred routing width elsewhere on the board. This approach provides consistent routing behavior and can be used alongside the Routing Neck-Down rule to validate reduced-width routing length where required.

概略

When routing beneath large through-hole connectors, the preferred board routing width may be too wide to fit between connector pads and vias. Although individual track segments can be manually reduced in width, this approach is difficult to maintain and does not provide consistent rule-based control. A Room combined with a Width Constraint Rule allows Altium Designer to automatically apply narrower trace widths only within a defined PCB region, such as a connector escape area, while preserving the preferred routing width elsewhere on the board. This approach provides consistent routing behavior and can be used alongside the Routing Neck-Down rule to validate reduced-width routing length where required.
AIでさらに深掘り:

Solution Details

Narrow Connector Escape Area Requires Reduced Widths

A design requires traces to be routed beneath a 144-pin through-hole connector. The preferred routing width for the PCB is 8 mil, but only 6 mil traces can fit within the connector escape region. Manually reducing individual track segments is possible; however, this method is time-consuming, difficult to maintain, and does not ensure that all routing within the connector region consistently follows the required width constraints.

Width Rules Control Routing Behavior

Altium Designer applies routing widths according to the active Width Constraint Rules. Without a more specific rule, routing uses the widths defined by the applicable global or net-specific constraints. Although interactive routing can automatically neck down traces in certain situations, manually shrinking track segments does not create a persistent design rule and cannot guarantee consistent routing behavior throughout the design. By defining a dedicated routing region and assigning a specific Width Constraint Rule to that region, narrower routing widths can be applied automatically and consistently wherever required.

Use a Room-Specific Width Constraint Rule

Create a Room that covers the connector escape area and define a Width Constraint Rule that targets routing within that Room.

Use the following query in the rule scope: WithinRoom('Neck Down')

This allows Altium Designer to automatically apply a narrower width whenever routing occurs inside the defined region, while leaving routing outside the Room unaffected.

Configure And Apply The Routing Rule

  1. Open the PCB document.
  2. Place a Room over the area beneath the through-hole connector.
  3. Resize the Room to cover the intended routing region.
  4. Assign a meaningful Room name, for example: Neck Down
  5. Select Design » Rules.
  6. Navigate to Routing » Width.
  7. Create a new Width Constraint Rule.
  8. In the rule scope, enter: WithinRoom('Neck Down')
  9. Define the required routing widths for the Room.
  10. Ensure the Room-specific Width Rule has a higher priority than any broader Width Rules that may also apply to the same nets.
  11. Apply the rule and create new routing within the Room.
  12. If necessary, re-route or modify existing routing so the new Width Constraint Rule is reflected in the design.
  13. Verify that traces routed within the Room use the narrower width while routing outside the Room continues to use the standard board width.
  14. Select track segments inside the Room and review the applied width in the Properties panel.
  15. Run a Design Rule Check (DRC) if required.

    Altium Designer PCB Rules and Constraints Editor showing width rule “Connector J1” with query WithinRoom('Neck Down'); preferred, minimum, and maximum trace widths are all set to 6 mil, alongside a PCB view of connector J1.

Additional Notes

Using Room Query Functions

  • WithinRoom('Neck Down'): Targets routing objects located within the specified Room. This is typically the preferred option when creating a controlled neck-down region beneath a connector.
  • TouchesRoom('Neck Down'): Targets objects that intersect or touch the Room boundary. This can be useful when routing behavior needs to be controlled at the transition into or out of the Room.

Relationship To The Routing Neck-Down Rule

This article focuses on using a Room and Width Constraint Rule to define where narrower routing widths should be applied. Altium Designer also includes a Routing Neck-Down rule, which serves a different purpose. The Routing Neck-Down rule can be used to define and validate the maximum permitted length of routing that is narrower than the preferred width defined by the applicable Width Constraint Rule.

In many designs, these features can be used together:

  • A Room-based Width Constraint Rule defines the neck-down region beneath the connector.
  • A Routing Neck-Down Rule validates that the total length of reduced-width routing remains within acceptable limits.

Design Considerations

  • Use a Room-based Width Rule when routing width should change based on PCB location rather than net membership.
  • Ensure the Room-specific Width Rule has a higher priority than broader routing width rules.
  • Consider using WithinRoom() for most connector escape-routing applications.
  • Use TouchesRoom() when routing behavior needs to be controlled at the Room boundary.
  • If reduced-width routing must be limited for signal integrity or manufacturing reasons, consider using a Routing Neck-Down rule in addition to the Room-based Width Rule.

References

問題が見つかった場合、文字/画像を選択し、Ctrl + Enter キーを押してフィードバックをお送りください。