Trace Width

Trace width can be defined at trace, net, or global levels.


Overview

Different designs have different trace width requirements. In Flux, you can set trace widths at different levels, from a single trace segment to several nets at once.

Configuring trace width on a single trace segment

Ask Flux to set the width of one trace segment.

Set the trace segment between Q1 drain and the first via to 1 mm wide.

You can also do it in the editor.

In some cases, only a single trace segment needs to have a specific width.


Changing the trace width for a single trace segment will override any other value set at net or global (selector) levels. For rule precedence, see Layout Rules Inheritance and Precedence.

  • Navigate to the PCB Editor

  • Select the trace segment you want to modify the width.

  • In the right-hand panel, navigate to "Object Specific Rules".

  • Select the "Edit" button and then select "Add".

  • Search for Trace Width in the rule selector and select "Add".

    • You can also add "Trace Width Maximum and Trace Width Minimum to further constrain the width.

  • In the property's field, enter the desired trace width.

Configuring trace width at net level

Ask Flux to set the trace width of a net.

Set the trace width of the VBAT net to 0.8 mm.
Set the motor phase nets to 1.5 mm wide for 3 A of current.

You can also do it in the editor.

Setting up trace width at a net level ensures that every trace segment in that net will have the correct width.


  • Navigate to the PCB Editor

  • Select "Objects" on the left panel and select the net node you want to modify.

    • Tip: It can be helpful to rename the nets using the designator for quick future reference.

  • In the right-hand panel, navigate to "Object Specific Rules".

  • Select the "Edit" button and then select "Add".

  • Search for Trace Width in the rule selector and select "Add".

    • You can also add "Trace Width Maximum and Trace Width Minimum to further constrain the width.

  • In the property's field, enter the desired trace width.

Configuring trace width using rule selectors

Ask Flux to set the trace width of several nets with one rule.

Set all power nets to 0.6 mm wide and all signal nets to 0.2 mm wide.
Add a rule that sets every net that starts with USB_ to 0.3 mm wide.

You can also do it in the editor.

Selectors provide more flexibility to configure trace width at different levels. You can use selectors to configure several nets at once, several trace segments, or any combination.


To change the width of several nets:

  • Navigate to the PCB editor.

  • Select "Rules" on the top left panel and "Add Ruleset".

  • Select the new ruleset, and in the right-hand panel, name the ruleset via the designator at the top.

  • In the "Selector" tab, add the designators of the nets you want to modify the trace width.

    • As shown in the example above, you can select nets using the "#" operator. You can also rename nets by bringing up the context menu for objects in the object panel.

    • Check out Selector-Based Layout Rules to learn more about using selectors.

  • In the "Layout Rules" tab, select the "Edit" button and then select "Add".

  • Search for Trace Width in the rule selector and select "Add".

    • You can also add "Trace Width Maximum and Trace Width Minimum to further constrain the width.

  • In the property's field, enter the desired trace width.

Set power trace widths

Ask Flux to set power and ground trace widths for the current and thermal requirements of your board.

Set the 5 V and GND trace widths for 2 A with a 10 °C temperature rise.
Set the 3V3 net to 0.5 mm wide and keep the signal net widths unchanged.
Route the motor power nets with widths for 3 A. Tell me which current and temperature-rise values you used.
Set the width of the battery and motor power nets for their current requirements.
Route the 5 V and GND nets with 0.5 mm traces. Keep signal nets at 0.2 mm.

Neckdowns on fine-pitch pads

Ask Flux to add neckdowns where wide traces meet fine-pitch pads. Flux keeps the neckdowns in place as it continues routing the board.

Add neckdowns where the wide traces meet the fine-pitch pads.
Keep the existing neckdowns and finish routing this sensor board.
Add neckdowns on the fine-pitch pads of U1 so the wide power traces connect to the narrow pads.

Flux has other related rules that customize the behavior of traces and nets, listed below. See the Layout Rules List for more information and examples for each rule.

  • Fill stitching density: creates vias in a ground or power net fill, known as fill stitching.

  • Fill stitching offset: allows for offsetting fill stitching.

  • Preferred trace width: sets a list of trace widths that you can switch between during routing.

  • Trace shape: defines the shape of a trace, either straight or curved.

  • Trace width: sets the width of a trace (or collection of traces).