Main Content

getantipads

Generate antipad stack

Since R2024a

Description

propVal = getantipads(pcbobject) generates an antipads stack based on the number of signal vias and the number of conductive layers. propVal can be optionally customized and assigned to SignalViaAntipad.

example

Examples

collapse all

This example shows how to use the getantipads function to generate an antipads stack

via = viaSingleEnded
via = 
  viaSingleEnded with properties:

   Conducting Layers
                        SignalLayer: [1 7]
                        GroundLayer: [3 5 9]
                          Conductor: [1x1 metal]

   Dielectric Layers
                          Substrate: [1x1 dielectric]

   Signal Vias
                 SignalViaLocations: [0 0 1 9]
                  SignalViaDiameter: 2.5000e-04
          SignalViaFinishedDiameter: 2.0000e-04
                       SignalViaPad: [1x1 shape.Circle]
                   RemoveUnusedPads: 1
                   SignalViaAntipad: [1x1 shape.Circle]

   Ground Return Vias
           GroundReturnViaLocations: [1.0000e-03 1.0000e-03 1 9]
            GroundReturnViaDiameter: 2.5000e-04
    GroundReturnViaFinishedDiameter: 2.0000e-04

   Ports
                        SignalTable: {2x4 cell}

propVal = getantipads(via)
propVal=1×3 cell array
    {1x1 shape.Circle}    {1x1 shape.Circle}    {1x1 shape.Circle}

show(via)

Figure contains an axes object. The axes object with title viaSingleEnded element, xlabel x (mm), ylabel y (mm) contains 17 objects of type patch, surface. These objects represent Copper, feed, FR4, \infty board edge.

Input Arguments

collapse all

Example: via=viaSingleEnded; propVal = getantipads(via)

Data Types: sigle ended via

Output Arguments

collapse all

getantipads returns an antipad stack of size SignalViaLocations-by- GroundLayer in the via. The first non-empty shape from obj.SignalViaAntipad is used for scalar expansion to build the antipad stack.

Version History

Introduced in R2024a