主要内容

pcb2D

2-D cross section of printed circuit board (PCB)

Since R2026a

    Description

    Use pcb2D to create a 2-D cross section model of a transmission line for use with the 2-D solver.

    Creation

    Description

    pcb2d = pcb2D returns a default 2-D cross section of a microstripline represented by two metal layers with a Teflon substrate in between.

    example

    pcb2d = pcb2D(PropertyName=Value) sets Properties of a 2-D cross section of a microstripline using one or more name-value arguments. Properties not specified retain their default values.

    S = sparamaters(pcb2d,freq,LineLength=0.5) calculates the s parameters of 2D cross section of microstripline at a specified frequency and line length.

    Properties

    expand all

    PCB cross section name specified as a string or character vector.

    Example: "csname"

    Data Types: string

    Cross section width, specified as a scalar in meters.

    Example: 0.0550

    Data Types: double

    X-axis coordinate center of the PCB cross section, specified as a scalar in meters.

    Example: 0.0010

    Data Types: double

    Metal and dielectric layers in cross section, specified as a cell array, and ordered from top layer to bottom layer.

    Note

    If one of the cells includes multiple PCB trace objects, the pcb2d object constructs those traces on the same board layer.

    Data Types: cell

    Object Functions

    showDisplay PCB component structure or PCB shape
    sparametersCalculate S-parameters for RF PCB objects
    rlgcCompute resistances, inductances, conductances, and capacitances
    propagationDelayCompute propagation delay of transmission line
    getZOddCalculate odd mode impedance of differential PCB transmission line
    getZEvenCalculate even mode impedance of differential PCB transmission line

    Examples

    collapse all

    Create a 2-D cross section object with a board width of 0.04 meters.

    pcb2d = pcb2D(BoardWidth=0.04)
    pcb2d = 
      pcb2D with properties:
    
               Name: 'MyPCB2D'
         BoardWidth: 0.0400
        BoardCenter: 0
             Layers: {[1×1 trace2D]  [1×1 dielectric]  [1×1 trace2D]}
    
    
    show(pcb2d)

    Figure contains an axes object. The axes object with xlabel x (m), ylabel y (m) contains 4 objects of type patch, text. These objects represent Teflon, Ground, Signal.

    Calculate s parameters of cross section at 1.9 GHz.

    S = sparameters(pcb2d,1.9e9)
    S = 
      sparameters with properties:
    
          Impedance: 50
           NumPorts: 2
         Parameters: [2×2 double]
        Frequencies: 1.9000e+09
    
    

    Version History

    Introduced in R2026a