Main Content

addSubstrate

Add dielectric substrate to metal shape

Since R2023b

    Description

    antShape = addSubstrate(metalShape,substrateShape) adds the substrateShape with dielectric properties to the custom metalShape with metallic properties and returns a shape.Custom3D shape object.

    example

    Examples

    collapse all

    This example shows how to add substrate to custom shapes and create a custom antenna.

    Create and view the ground layer for patch antenna.

    gnd = shape.Rectangle(Length=0.15,Width=0.075);
    show(gnd)

    Figure contains an axes object. The axes object with xlabel x (mm), ylabel y (mm) contains 2 objects of type patch.

    Create a box shaped FR4 dielectric material to use as the substrate layer.

    substratebox = shape.Box(Length=0.15,Width=0.075,Height=0.006,Dielectric="FR4");
    translate(substratebox,[0 0 substratebox.Height/2]);

    Figure contains an axes object. The axes object with xlabel x (mm), ylabel y (mm) contains 2 objects of type patch.

    Create a rectangular patch to use as the metal layer.

    patch = shape.Rectangle(Length=0.075,Width=0.0375);
    translate(patch,[0 0 0.006]);

    Figure contains an axes object. The axes object with xlabel x (mm), ylabel y (mm) contains 2 objects of type patch.

    Create rectangular strip to use as feed.

    feed = shape.Rectangle(Length=0.006,Width=0.002);
    [~] = rotateY(feed,90);
    [~] = translate(feed,[0 0 feed.Length/2]);

    Add the metal and ground layers, and add substrate to the shape.

    antShape = add(gnd,patch);
    antSub = addSubstrate(antShape,substratebox);

    Create custom antenna using this custom shape and assign feed to it.

    ant = customAntenna(Shape=antSub);
    [~] = createFeed(ant,[0 0 0],1,FeedShape=feed);
    show(ant)

    Figure contains an axes object. The axes object with title customAntenna antenna element, xlabel x (mm), ylabel y (mm) contains 5 objects of type patch, surface. These objects represent PEC, feed, sub1.

    Input Arguments

    collapse all

    Shape with metallic properties, specified as either a 2-D or 3-D shape object.

    Example: shape.Rectangle

    Example: shape.Box

    Shape with substrate properties, specified as a 3-D shape object.

    Example: shape.Box

    Output Arguments

    collapse all

    Custom shape with metal and dielectric properties, returned as a shape.Custom3D object.

    Example: shape.Custom3D

    Version History

    Introduced in R2023b