Main Content

filterSpurline

Create spurline bandstop filter in microstrip from

Since R2023a

Description

Use the filterSpurline object to create a spurline bandstop filter in the microstrip form.

Three part image from right to left: Default image of a spurline filter. Current distribution on the filter. S-parameters plot of the filter.

Creation

Description

filter = filterSpurline creates a spurline bandstop filter with default properties for a frequency of 3.743 GHz.

example

filter = filterSpurline(Name=Value) sets Properties using one or more name-value arguments. For example, filterSpurline(LineType='Double') creates a spurline bandstop filter with two lines. Properties not specified retain their default values.

Properties

expand all

Type of spurline, specified as 'Single' or 'Double'.

Example: filter = filterSpurline(LineType='Double')

Data Types: char

Length of the coupled line in meters, specified as a positive scalar.

Example: filter = filterSpurline(CoupledLineLength = 0.0156)

Data Types: double

Width of the coupled line in meters, specified as a positive scalar.

Example: filter = filterSpurline(CoupledLineWidth = 0.0008)

Data Types: double

Spacing between the coupled line in meters, specified as a positive scalar.

Example: filter = filterSpurline(CoupledLineSpacing = 0.0008)

Data Types: double

Gap between the coupled line and the output line in meters, specified as a positive scalar.

Example: filter = filterSpurline(LineGap = 0.0008)

Data Types: double

Length of the input and the output line in meters, specified as a positive scalar.

Example: filter = filterSpurline(PortLineLength = 0.0095)

Data Types: double

Width of the input and the output line in meters, specified as a positive scalar.

Example: filter = filterSpurline(PortLineWidth = 0.0041)

Data Types: double

Height from the ground plane to the filter in meters, specified as a positive scalar.

Example: filter = filterSpurline(Height = 0.00096)

Data Types: double

Height from the ground plane to the filter in meters specified as a positive scalar.

Example: filter = filterSpurline(GroundPlaneWidth = 0.00096)

Data Types: double

Type of dielectric material used as a substrate, specified as a dielectric object. The dielectric material in a filterSpurline object has the default properties: (Name={'AD260A'},EpsilonR=2.6,LossTangent=0.001,Thickness=0.76e-3).

.

Example: d = dielectric("FR4"); coupler = filterSpurline(Substrate=d)

Type of metal used in the conducting layers, specified as a metal object. The metal used in the conducting layers of filterSpurline object with default properties is PEC.

Example: m = metal("Copper"); coupler = filterSpurline(Conductor=m)

Data Types: string | char

Flag to add a metal shielding to the PCB component, specified as a logical 0 or logical 1. The default value is logical 0.

Example: IsShielded = true or 1 add a metal shield.

Note

To enable FEM solver required for the metal shield property, download the Integro-Differential Modeling Framework for MATLAB. To download this add-on:

  1. In the Home tab Environment section, click on Add-Ons. This opens the add-on explorer. You need an active internet connection to download the add-on.

  2. Search for Integro-Differential Modeling Framework for MATLAB and click Install.

  3. To verify if the download is successful, run

    matlab.addons.installedAddons
    in your MATLAB® session command line.

  4. On Windows, to run the IDMF add-on, you must install the Windows Subsystem for Linux (WSL). To install WSL, see Install Linux on Windows with WSL.

    The Windows Defender Firewall can block the PostgreSQL server when using the IDMF add-on. To resolve this issue, you can allow the server to communicate on desired networks if the firewall prompts. Alternatively, you can manually add the executable file of the PostgreSQL server located in <matlabroot>\sys\postgresql\win64\PostgreSQL\bin\postgres.exe. For more information, see https://support.microsoft.com/en-us/windows/risks-of-allowing-apps-through-windows-defender-firewall-654559af-3f54-3dcf-349f-71ccd90bcc5c.

Data Types: logical

This property is read-only.

Metal shield for the PCB component, specified as a shape.Box object. The length and width of the box must be equal to the length and width of the ground plane. The center of the box is at [0 0 Shielding.Height].

Dependencies

To enable the Shielding property, set the IsShielded property to true or 1.

Type of RF connector assembled at the feed locations of the PCB component, specified as a RFConnector object.

Example: Create connector from RFConnector object like this: coaxial = RFConnector adds a coaxial connector.

Dependencies

To enable the Connector property, set the IsShielded property to true or 1.

Object Functions

chargeCalculate and plot charge distribution
currentCalculate and plot current distribution
feedCurrentCalculate current at feed port
layoutPlot all metal layers and board shape
meshChange and view mesh properties of metal or dielectric in PCB component
shapesExtract all metal layer shapes of PCB component
showDisplay PCB component structure or PCB shape
sparametersCalculate S-parameters for RF PCB objects
RFConnectorCreate RF connector

Examples

collapse all

Create a spurline filter with default properties.

filter = filterSpurline
filter = 
  filterSpurline with properties:

              LineType: 'Single'
     CoupledLineLength: 0.0146
      CoupledLineWidth: 4.0000e-04
    CoupledLineSpacing: 4.0000e-04
               LineGap: 4.0000e-04
        PortLineLength: 0.0075
         PortLineWidth: 0.0021
                Height: 7.6000e-04
      GroundPlaneWidth: 0.0120
             Substrate: [1x1 dielectric]
             Conductor: [1x1 metal]
            IsShielded: 0

Visualize the filter.

show(filter)

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

Create a spurline filter with two lines.

filter = filterSpurline('LineType','double');

Visualize the filter.

show(filter); 

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

References

[1] Pozar, David M. Microwave Engineering. 4th ed. Hoboken, NJ: Wiley, 2012.

Version History

Introduced in R2023a

expand all