Main Content

pcbcascade

Create new component using cascade operation

Since R2021b

Description

combinedcomponent = pcbcascade(component1,component2) creates a new component by using a cascade operation along port 2 of the first component and port 1 of the second component.

example

combinedcomponent = pcbcascade(component1,component2,m,n) creates a new component by using a cascade operation along port m of the first component and port n of the second component.

Note

  • pcbcascade only supports: 2-metal layer PCB components, feeds specified at the edge of components, and identical substrate properties in both components.

  • If either of the components is an antenna, the new component that the object creates is a pcbStack object.

  • To use pcbStack object you require Antenna Toolbox™.

pcbcascade(component1,component2,'Interactive',true) opens a graphical user interface allowing the user to perform the following actions:

  • Interactively select and/or re-select which ports to cascade

  • Preview the cascade before finalizing the design

  • Name and save the design as a PCB Component

example

combinedcomponent = pcbcascade(___,'RectangularBoard',true) allows the user to create a rectangular BoardShape when set to logical true. By default RectangularBoard is true.

combinedcomponent = pcbcascade(___,'GroundFloodFill',true) allows the user to create a rectangular GroundShape when set to logical true. By default GroundFloodFill is true.

Examples

collapse all

Create a new component by cascading a branchline coupler with a coupled microstrip line.

c = design(couplerBranchline,5.6e9);
mc = design(coupledMicrostripLine,5.6e9);
mc.Spacing = c.ShuntArmLength;
r = pcbcascade(c,mc);

View the new component.

figure
show(r)

Figure contains an axes object. The axes object with title pcbComponent element, xlabel x (mm), ylabel y (mm) contains 9 objects of type patch, surface. These objects represent PEC, feed, Teflon.

This example shows how to use the Interactive graphical user interface feature of PCB Cascade

Create PC components

Create two SIW splitter components

component1 = SIWSplitter
component1 = 
  SIWSplitter with properties:

             FeedLine: [1×1 traceTapered]
      InputLineLength: 0.0155
      SplitLineLength: 0.0145
                Width: 0.0125
           ViaSpacing: [0.0017 0.0110]
          ViaDiameter: 5.0000e-04
         PostDiameter: 2.5400e-04
          PostOffsetX: 0.0055
    GroundPlaneLength: 0.0341
               Height: 8.0000e-04
            Substrate: [1×1 dielectric]
            Conductor: [1×1 metal]

component2 = SIWSplitter
component2 = 
  SIWSplitter with properties:

             FeedLine: [1×1 traceTapered]
      InputLineLength: 0.0155
      SplitLineLength: 0.0145
                Width: 0.0125
           ViaSpacing: [0.0017 0.0110]
          ViaDiameter: 5.0000e-04
         PostDiameter: 2.5400e-04
          PostOffsetX: 0.0055
    GroundPlaneLength: 0.0341
               Height: 8.0000e-04
            Substrate: [1×1 dielectric]
            Conductor: [1×1 metal]

Open the interactive GUI

Follow the on-screen instructions to select ports

pcbcascade(component1,component2,'Interactive',true)

Figure PCB Cascade UI contains 2 axes objects and another object of type uigridlayout. Axes object 1 with title SIWSplitter contains 13 objects of type patch, text. Axes object 2 with title SIWSplitter contains 13 objects of type patch, text.

Input Arguments

collapse all

PCB component or antenna, specified a PCB component object or antenna object. For a complete list of the PCB components, see PCB Components Catalog.

Example: mline1 = microstripLine; mline2 = design(microstripLine,3e9); component = pcbcascade(mline1,mline2) creates a new component by cascading mline1 and mline2.

Data Types: char | string

PCB component or antenna, specified a PCB component object or antenna object. For a complete list of the PCB components, see PCB Components Catalog.

Example: mline1 = microstripLine; mline2 = design(microstripLine,3e9); component = pcbcascade(mline1,mline2) creates a new component by cascading mline1 and mline2.

Data Types: char | string

Port number of the first component, specified as a positive scalar.

Example: coupler = couplerRatrace;mline = microstripLine;component = pcbcascade(coupler,mline,3,1) creates a new component by cascading Port 3 of the coupler to Port 1 of the microstrip transmission line.

Data Types: double

Port number of second component, specified as a positive scalar.

Example: coupler = couplerRatrace;mline = microstripLine;component = pcbcascade(coupler,mline,3,1) creates a new component by cascading Port 3 of the coupler to Port 1 of the microstrip transmission line.

Data Types: double

Use interactive, set to either true, or 1 to open an interactive graphical interface to select the cascaded ports on component1 and component2.

Example: pcbcascade(component1,component2,'Interactive',true)

Data Types: logical | string

Use RectangularBoard set to logical true or 1 to create a rectangular board shape.

Example: combinedcomponent = pcbcascade(component1,component2,'RectangularBoard',true)

Data Types: logical | string

Use GroundFloodFill set to logical true or 0 to create a rectangular GroundShape. By default GroundFloodFill is true.

Example: combinedcomponent = pcbcascade(component1,component2,'GroundFloorFill',true)

Data Types: logical | string

Output Arguments

collapse all

PCB component or antenna after cascading two components, returned as a PCB component object or antenna object.

Data Types: char | string

Version History

Introduced in R2021b

See Also