Main Content

balunMarchand

Create Marchand balun in microstrip form

Since R2022b

Description

Use the balunMarchund object to create a Marchand balun in the microstrip form with an unbalanced and balanced output. There is a 180 degrees phase difference between the input and the output ports.

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

Baluns are used to connect an unbalanced source line to a balanced load or vice-versa enabling you to create a matching transition between balanced and unbalanced transmission lines. A Marchand balun has a pair of quarter-wavelength coupled lines of quarter wavelength for dividing and combining signals with the same amplitude and opposite phase.

Creation

Description

balun = balunMarchand creates a Marchand balun in the microstrip form with default properties for a resonant frequency of 2.2 GHz.

example

balun = balunMarchand(Name=Value) sets Properties using one or more name-value arguments. For example, balunMarchand(OutputLineLength=0.016) creates a Marchand balun with an output line length of 0.016 meters. Properties not specified retain their default values.

example

Properties

expand all

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

Example: balun = balunMarchand(CoupledLineLength=0.0254)

Data Types: double

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

Example: balun = balunMarchand(CoupledLineWidth=0.0005)

Data Types: double

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

Example: balun = balunMarchand(CoupledLineSpacing=0.00014)

Data Types: double

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

Example: balun = balunMarchand(OutputLineLength=0.0224)

Data Types: double

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

Example: balun = balunMarchand(OutputLineWidth=0.000253)

Data Types: double

Height of the Marchand balun from the ground plane in meters, specified as a positive scalar.

In the case of a multilayer substrate, you can use the Height property to create a Marchand balun where the two dielectrics interface.

Example: balun = balunMarchand(Height=0.022)

Data Types: double

Type of dielectric material used as a substrate, specified as a dielectric object. The default height of the substrate is 0.0013 meters. The dielectric material in a balunMarchand object with default properties is FR4.

Example: d = dielectric("RTDuriod"); balun =balunMarchand(Substrate=d)

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

Example: m = metal("Copper"); balun =balunMarchand(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 default Marchand balun.

balun = balunMarchand
balun = 
  balunMarchand with properties:

     CoupledLineLength: 0.0178
      CoupledLineWidth: 0.0030
    CoupledLineSpacing: 1.5000e-04
      OutputLineLength: 0.0160
       OutputLineWidth: 2.9000e-04
                Height: 0.0016
             Substrate: [1x1 dielectric]
             Conductor: [1x1 metal]

View the balun.

show(balun)

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

Create a Marchand balun.

balun = balunMarchand;
balun.Height =  0.0016;

Create a multilayer dielectric of FR4 and Teflon.

sub = dielectric('FR4','Teflon');
sub.Thickness =[0.0016 0.0008];
balun.Substrate = sub;
figure;

View the balun.

show(balun);

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

References

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

Version History

Introduced in R2022b

expand all