Adding Via Stitching & Via Shielding

Via stitching is a technique used to tie together larger copper areas on different layers, in effect creating a strong vertical connection through the board structure, helping maintain a low impedance and short return loops. Via stitching can also be used to tie areas of copper that might otherwise be isolated, back to their net.

Via shielding has a different function, in RF designs it is used to help reduce crosstalk and electromagnetic interference in a route that is carrying an RF signal.  A via shield, also known as a via fence or a picket fence, is created by placing one or more rows of vias alongside the signal's route path. In Altium Designer, this is referred to as via shielding.

Altium Designer supports both via stitching and via shielding. Since the process of adding stitching or shielding vias is similar, this page covers both topics.

Via stitching helps create strong vertical connections through the board, helping maintain impedances and shorten return loops.

Via shielding is used to create a "fence" to protect the net from crosstalk and electromagnetic interference.

 

Adding Stitching Vias

Via stitching is run as a post-process, filling free areas of copper with stitching vias. For via stitching to be possible, there must be overlapping regions of copper that are attached to the specified net, on different layers. Supported regions of copper include: Fills, Solid RegionsPolygons and Power Planes.

To add stitching vias to a net, select the Tools » Via Stitching/Shielding » Add Stitching to Net command from the menus. The Add Stitching to Net dialog will open, where the NetStitching Parameters and Via Style are specified. When the OK button is clicked the stitching algorithm identifies all fills, solid regions, polygons and power planes attached to the selected net and attempts to connect them through the board, using the specified via and stitching pattern.  

New stitching via sets are configured in the Add Stitching to Net dialog, existing via sets are then edited in the Via Stitching dialog (), or the Properties panel (). The fields for all three of these are described below.

Notes about Via Stitching

  • First select the Net to be used for stitching as this effects the behavior of other options, such as clicking the Load values from Routing Via Style Rule button. If the net is already selected in the design space, that net is automatically chosen when you open the Add Stitching to Net dialog.

  • Shielding vias are identified by VSnVia Stitching, where the numerical value n identifies this via as belonging to the same via stitching union as other vias with the same numerical identifier.

  • The via connection style (relief or direct) is: defined by the applicable Polygon Connect Style design constraint for polygons, the applicable Plane Connect Style design constraint for power planes, with direct connections for solid regions and fills.

  • Once stitching is complete, you will need to re-pour all impacted polygons where the vias connect using a relief connection style.

  • Each set of stitching vias are added to a union, set the PCB panel to Unions mode to explore these unions ().

  • To edit a set of stitching vias, double-click on any via in the set to open the Via Stitching dialog, or the Properties panel if it is configured to open on double-click (). Alternatively, drag a select-within rectangle (left-to-right) that includes one or more stitching vias, then edit the settings in the Properties panel.

  • The set of vias can be removed by running the Tools » Via Stitching » Remove Via Stitching Group command, then clicking on any via in the group. 

  • The via stitching algorithm treats polygons, fills, solid regions and power planes in the following way:

    1. Polygons, regions and fills that are on the same net are stitched wherever they overlap on different layers. If there are polygons, regions or fills on other nets that are overlapping within that area (on another layer), stitching is not applied in that region. Overlapping plane regions on other nets are passed through.

    2. Overlapping plane regions on the target net are always stitched, regardless of the presence of plane regions (on another layer) attached to other nets. Rule 1 above applies if there are polygons, regions or fills overlapping in the same region.

      To summarize these two rules - on other layers, other-net plane layers are always punched through by stitching vias, but other-net polygons, regions or fills are not. If the design includes other-net polygons within an area that requires stitching vias, temporarily shelve those polygon(s), define the stitching vias, then un-shelve and re-pour the polygon(s). Learn more about shelving and re-pouring polygons

Modifying the Via Stitching Area

The set of vias in each unique area of via stitching are clustered into a union. The entire union can be moved, and the area can also be resized.

Drag a left-to-right selection window to select a stitching area, then move or resize by positioning the mouse to get the correct cursor.

Adding Shielding Vias to a Net

Via shielding is used to isolate a net from potential interference or coupling from nearby signals. The shielding vias must be spaced to suit the highest frequency being protected against. Correct design of the shield is essential; a poorly designed fence could actually contribute to EMI issues if the spacing is at the resonant frequency of a nearby signal. This is discussed more in the Notes about Via Shielding section.

To place a via shield around a routed net, select the Tools » Via Stitching/Shielding » Add Shielding to Net command from the menus. The Add Shielding to Net dialog will appear where you configure the Net to Shield and other Shielding Parameters, the reference Net, and the Via Style as required. The vias will be placed along both sides of the chosen net(s), wherever it is possible to place a via that complies with the applicable design rules.

New shielding via sets are configured in the Add Shielding to Net dialog, existing via sets are then edited in the Via Shielding dialog (), or the Properties panel ().  The fields for all three of these are described below.

Notes about Via Shielding

  • Select the Net to be shielded first as this affects the behavior of other options, such as clicking the Load values from Routing Via Style Rule button. If the net is already selected in the design space, that net is automatically chosen when you open the Add Shielding to Net dialog.

  • Shielding vias are identified by VSHnVia SHielding, where the numerical value n identifies this via as belonging to the same via shielding union as other vias with the same numerical identifier.

  • The via connection style (relief or direct) is: defined by the applicable Polygon Connect Style design constraint for polygons, and the applicable Plane Connect Style design constraint for power planes.

  • Once stitching is complete, you will need to re-pour all impacted polygons that have an applicable Polygon Connect Style design rule specifying a relief connection style.

  • Each set of shielding vias are added to a union, set the PCB panel to Unions mode to explore these unions ().

  • To edit a set of shielding vias, double-click on any via in the set to open the Via Shielding dialog, or the Properties panel if it is configured to open on double-click (). Alternatively, drag a select-within rectangle (left-to-right) that includes one or more shielding vias, then edit the settings in the Properties panel.

  • The set of vias can be removed by running the Tools » Via Stitching/Shielding » Remove Via Shielding Group command, then clicking on any via in the group.

  • You can perform partial net shielding or multi-net shielding:

    • If you do not want to shield the entire net, select the required track segments first, then shield with the Selected Objects option enabled.

    • To shield multiple adjacent nets, select the nets in the design space, and then shield with the Selected Objects option enabled.

    • Note that a differential pair can be shielded using the multiple-net Selected Objects technique, or by choosing either one of the differential pair nets in the Net to Shield dropdown.

  • Use the Add shielding copper option to add a polygon that encloses the shielding vias, include the Add clearance cutout option to clip the polygon back to just enclose the vias. Read the Including Shielding Copper with the Shielding Vias topic below to learn more about these options.

The size and positioning of the shielding vias is not an exact science, but there are guidelines that have been established based on empirical testing. 

"Stitching at no more than λ/20, with stub lengths no longer than this. This is actually a very good rule for stitching any ground fill to the ground plane on a multi-layer design. λ is the wavelength of the highest significant frequency for the design (assume a frequency of 1 GHz if not know) where:

f = C / λ

NB: C (speed of light) will be approx. 60% of free-space velocity for EM radiation propagating through an FR4 dielectric PCB."

  • As noted in the discussion forum(5) referenced below, for a PCB with an onboard antenna, "the distance between vias should be 1/4 your resonant wavelength at the most." 

  • The forum discussion also references a technical note(6), which states that "the common rule of thumb is to locate stitch vias no further apart than λ/10 and preferably as often as λ/20."

Including Shielding Copper with the Shielding Vias

As well as adding shielding vias along each side of the routing, you can also include shielding copper, as shown in the images below. To do this, enable the Add shielding copper option in the Via Shielding dialog. This copper is created as a polygon, so it obeys the applicable Clearance and Polygon Connect Style design rules.

The Add shielding copper option will add a polygon that encloses the shielding vias. The polygon edge that is away from the shielded net will touch the edge of the vias. The polygon edge that is adjacent to the shielded net will be set back from the net by the applicable Clearance design rule. If the Add clearance cutout option is also enabled, the polygon will instead be set back from the shielded net by the Distance setting in the Add Shielding to Net dialog. Hover the cursor over the image below to see the difference.

Shielding vias around a net with the clearance cutout option enabled, and

shielding vias around a net with the clearance cutout option disabled.

 

Selecting or Editing Stitching or Shielding Vias

To simplify the process of working with an array of stitching/shielding  vias, both kinds are automatically clustered into a union. Unions are managed through the PCB panel.

Selecting using the PCB Panel

To select the array, switch the PCB panel to Unions mode and select the required Via Stitching or Via Shielding union. All vias that are part of that array will select if the Select checkbox is enabled in the panel (as shown in the image below). Alternatively, double click on any via in the array to open the Properties panel and edit the array.

Use the PCB panel in Unions mode to select all vias in a stitching or shielding array. In this image, all four via shielding unions are selected.
Use the PCB panel in Unions mode to select all vias in a stitching or shielding array. In this image, all four via shielding unions are selected.

Interactively Selecting a Via Set

Selection behavior:

  • An individual stitching/shielding via can be selected and deleted.

  • If the Popup Selection Dialog option is enabled in the Preferences (), clicking on an individual via that belongs to a union will display a list that includes the union, as shown in the image above. When a union is selected, that union of vias can be deleted in the workspace, or edited in the Properties panel. 

  • If the Popup Selection dialog is not enabled, then clicking on an individual via that belongs to a union will behave in the following way:

    • The first click will select the individual via.

    • The second and subsequent clicks will select the next object in the selection order used when there are overlapping objects: for example, component, polygon, via union (if those objects are under the cursor).

    • Alternatively, after the first click selects the individual via, press the Shift+Tab shortcut to invoke the Select Overlapping command. Continue pressing Shift+Tab to cycle through the overlapping objects, selecting each in turn.

     

  • A stitching union that is constrained to an area can be selected by dragging a select-within window around any via in the union (drag left-to-right), as demonstrated in the animation in the Modifying a User-Defined Via Stitching Area section of this page.

Editing a Via Set

The properties of a stitching or shielding via set can be edited once it has been selected, in the Via Stitching or the Via Shielding mode of the Properties panel. Double-click on any via in the set to open the panel.

An example of an edit being performed to stitching vias in the Properties panel.An example of an edit being performed to stitching vias in the Properties panel.

After you edit a property in the panel and press Enter on the keyboard, the Changes pending message and buttons appear at the top of the panel - click Apply to complete your editing action.

Further Reading

  1. For information about all aspects of PCB design, refer to the Printed Circuit Design and Fab Magazine website. The site is an excellent resource for technical topics, such as the role of a "via fence" (include the quote marks to improve the quality of the search results).

  2. Wikipedia article, Via Fence

  3. Studies on Via Coupling on Multilayer Printed Circuit Boards

  4. A paper that introduces the basic principals of EM wave propagation within a PCB structure - Best practice in circuit board design

  5. A discussion forum where the question Via fences for noise reduction of a chip antenna? was asked

  6. PCB design and layout techniques for lowest-cost EMC compliance, and signal integrity: M K Armstrong. EMC Standards, August 1999.

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Feature Availability

The features available to you depend on which Altium solution you have – Altium Develop, an edition of Altium Agile (Agile Teams or Agile Enterprise), or Altium Designer (on active term).

If you don’t see a discussed feature in your software, contact Altium Sales to find out more.

Legacy Documentation

Altium Designer documentation is no longer versioned. If you need to access documentation for older versions of Altium Designer, visit the Legacy Documentation section of the Other Installers page.

Content