Via Stitching
Contents
- Adding Stitching Vias to a Net
- Stitching Parameters
- Clearance from Same-net Objects and Edges
- Clearance from Other-net Objects
- Via Style
- Selecting or Editing Stitching Vias
- Identifying Vias that are Part of a Stitching Array
- Offsetting the Stitching Vias
- Constraining the Via Stitching to an Area
- Modifying a User-Defined Via Stitching Area
- Notes
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. In RF designs stitching is used in combination with guard rings to create a via wall, helping create an electromagnetically 'quiet' PCB. Via stitching can also be used to tie areas of copper that might otherwise be isolated from their net, to that net.
Adding Stitching Vias to a Net
Via stitching is run as a post-process, filling free areas of copper with stitching vias. For via stitching to occur, there must be overlapping regions of copper that are attached to the specified net, on different layers. Supported regions of copper include Fills, Polygons and Power Planes.
Select the Tools » Via Stitching/Shielding » Add Stitching to Net command from the menus to add stitching vias to a specific net. The Add Stitching to Net dialog will open, where the Stitching Parameters and Via Style are specified. Using the selected net, the stitching algorithm identifies all Fills, Polygons and Power Planes attached to that net and attempts to connect them through the board, using the specified via and stitching pattern.
The via stitching algorithm treats Polygons, Fills and Planes in the following way:
- Polygons and Fills that are on the same net are stitched wherever they overlap on different layers. If there are Polygons 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.
- 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 or Fills overlapping in the same region.
Stitching Parameters
The stitching parameters control the stitching vias' placement pattern, and their clearance from other-net and same-net objects.
- Net - Select the Net to be used for stitching first as this effects the behavior of other options, such as clicking the Load values from Routing Via Style Rule button.
- Grid - the distance between the center of adjacent stitching vias. Stitching vias will not be placed in violation of applicable design rules, if a potential via site would result in a violation that site is skipped.
- Stagger alternate rows - alternate rows of stitching vias are offset by half of the Grid value.
Clearance from Same-net Objects and Edges
There are 2 ways of controlling the clearance of stitching vias, to vias and pads on the same net. Either the applicable Clearance design rule is used, or the Default Via/Pad Clearance specified here in the dialog is used. If a rule exists, then the tighter of these 2 settings is used. These options behave as follows:
- Default Via/Pad Clearance - stitching vias are only placed on potential stitching sites if this much clearance exists. Since potential stitching sites are determined by the stitching grid, it is likely they will be further than apart than this setting.
- Create New Clearance Rule - a stitching via -versus- other via/pad design rule is created when this button is clicked. This rule setting is used to ensure a potential stitching site is valid. When the button is clicked the PCB Rules and Constraints Editor opens, so that the rule Constraints can be set. Note that the rule is named and scoped to target the net selected in the Add Stitching to Net dialog.
- Edit Clearance Rule - this will be the button text if an applicable design rule already exists. Click to change the rule Constraint settings.
- Min Boundary Clearance - stitching vias are only placed on potential stitching sites if this much clearance exists to the edge of via stitching region.
Clearance from Other-net Objects
The clearance from a stitching via to objects on other nets is controlled by the applicable clearance design rule. A stitching via will not be placed on a potential stitching site if it will violate the applicable design rule.
Via Style
The stitching Via Style can be configured manually in the Add Stitching to Net dialog, or imported from the applicable Routing Via Style design rule by clicking the Load values from Routing Via Style Rule button. Clicking this button will load the Preferred rule settings.
Selecting or Editing Stitching Vias
To simplify the process of working with an array of stitching vias, they are automatically clustered into a union. To select the stitching array, switch the PCB panel to Unions mode and select the required Via Stitching union. All vias that are part of that net's via stitching 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 Add Stitching Via to Net dialog and edit the array.
Identifying Vias that are Part of a Stitching Array
Each stitching via in a stitching array is identified by the addition of of a string to the net name, such as [VS2], as shown in the image below.
A via stitching array can be offset from the origin, using the X and Y Offset controls in the Add Stitching Via to Net dialog.
Constraining the Via Stitching to an Area
To constrain via stitching to a specific area, enable the Constrain Area checkbox in the Add Stitching to Net dialog, as shown above. As soon as you enable this option the dialog will close and the cursor will change to a crosshair, ready to define the area - note the Status bar, it will prompt Select the first point of the area.
The process of defining a via stitching area is the same as defining a solid region or a polygon, you:
- click to define a series of vertices (corners),
- right-click to drop out of placement mode and automatically close and complete the area.
During placement there are a number of different corner modes available:
- press Shift+Spacebar to cycle through the corner modes,
- press Spacebar to toggle the corner direction,
- press the 1 shortcut to toggle between placing 1 or 2 edges with each click.
Once the area is defined you will return to the Add Stitching to Net dialog, ready to configure the settings. Click OK when this is complete, Altium Designer will then analyze the area, identify potential via sites, and place the vias.
Modifying a User-Defined Via Stitching Area
The set of vias in each unique area of via stitching are clustered into a Union (a set of objects that Altium Designer recognizes as a group). The area can be moved or resized if required.
To manipulate a Via Stitch area:
- Click once on any via to select the union of vias.
- To move the area - position the cursor within the area, when the move cursor appears click and hold then move the area to the new location.
- To resize the area by moving an edge - position the cursor over the edge, when the move edge cursor appears click and hold then slide the edge to the new location.
- To resize the area by moving a vertex - position the cursor over the edge, when the move vertex cursor appears click and hold then slide the vertex to the new location.
- After you release the mouse button you will be prompted to Re-generate via stitching?, click Yes to update the via stitching in the new location/shape.
Notes
- Once stitching is complete, you will need to re-pour the polygons if the applicable Polygon Connect Style design rule specifies a relief connection style.
- Each set of stitching vias are added to a union. The set can be removed by running the Tools » Via Stitching » Remove Via Stitching Group command, then clicking on any via in the group.