Skip to Main Content Skip to Search
Product Documentation

Create and Import Circuits with RF Tool

Circuits in RF Tool

In RF Tool, you can create circuits that include RF components and RF networks. Networks can contain both components and other networks.

Create RF Components

This section contains the following topics:

Available RF Components

The following table lists the RF components you can create using RF Tool and the corresponding RF Toolbox object.

RF Component

Corresponding RF Object

Data File

rfckt.datafile

Delay Line

rfckt.delay

Coaxial Transmission Line

rfckt.coaxial

Coplanar Waveguide Transmission Line

rfckt.cpw

Microstrip Transmission Line

rfckt.microstrip

Parallel-Plate Transmission Line

rfckt.parallelplate

Transmission Line

rfckt.txline

Two-Wire Transmission Line

rfckt.twowire

Series RLC

rfckt.seriesrlc

Shunt RLC

rfckt.shuntrlc

LC Bandpass Pi

rfckt.lcbandpasspi

LC Bandpass Tee

rfckt.lcbandpasstee

LC Bandstop Pi

rfckt.lcbandstoppi

LC Bandstop Tee

rfckt.lcbandstoptee

LC Highpass Pi

rfckt.lchighpasspi

LC Highpass Tee

rfckt.lchighpasstee

LC Lowpass Pi

rfckt.lclowpasspi

LC Lowpass Tee

rfckt.lclowpasstee

Add an RF Component to a Session

  1. In the RF Component List pane, click Add to open the Create Network or Component dialog box.

  2. In the Create Network or Component dialog box, select Component.

  3. In the Component Name field, enter a name for the component. This name is used to identify the component in the RF Component List pane. For example, Microstrip Component.

  4. From the Component Type menu, select the type of RF component you want to create. For example, Microstrip Transmission Line.

  5. Adjust the parameter values as necessary.

      Note   You can accept the default values for some or all of the parameters and then change them later. For information on modifying the parameter values of an existing component, see Modify Component Data in RF Tool.

  6. Click OK.

    RF Tool adds the component to your session.

Create RF Networks with RF Tool

You create an RF network in RF Tool by adding a network to the session and then adding components to the network.

This section contains the following topics:

Available RF Networks

The following table lists the RF networks you can create using RF Tool.

RF Network

Corresponding RF Toolbox Object

Cascaded Network

rfckt.cascade

Series Connected Network

rfckt.series

Parallel Connected Network

rfckt.parallel

Hybrid Connected Network

rfckt.hybrid

Inverse Hybrid Connected Network

rfckt.hybridg

Add an RF Network to a Session

  1. In the RF Component List pane, click Add to open the Create Network or Component dialog box.

  2. In the Create Network or Component dialog box, select the Network option button.

  3. In the Network Name field, enter a name for the component. This name is used to identify the network in the RF Component List pane. For example, Series1.

  4. From the Network Type menu, select the type of RF network you want to create. For example, Series Connected Network.

  5. Click OK.

    The RF Component List pane shows the new network.

Populate an RF Network

After you create a network using RF Tool, you must populate it with RF components and networks. You insert a component or network into a network in much the same way you add one to a session.

To populate an RF network:

  1. In the RF Component List pane, select the network component you want to modify. Then, in the Component Parameters pane, click Insert.

    The Insert Component or Network dialog box appears.

  2. Click Component or Network in the Insert Component or Network dialog box to add either a component or a network.

    Enter the component or network name, and select the appropriate type. If you are inserting a component, modify the parameter values as necessary. See Add an RF Component to a Session or Add an RF Network to a Session for details.

As you insert components and networks into a network, they are reflected in the RF Component List and Component Parameters panes. The figure below shows an example of a cascaded network that contains two components and a network. The subnetwork, in turn, contains two components.

Reorder Circuits Within a Network

To change the order of the components and networks within a network:

  1. In the RF Component List pane, select the network whose circuits you want to reorder.

  2. In the Component Parameters pane, select the circuit whose position you want to change.

  3. Click Up or Down until the circuit is where you want it.

To reverse the positions of Component1 and Network1 in the network shown in the following figure:

  1. Select Network in the RF Component List pane.

  2. Select Component1 in the Component Parameters pane.

  3. Click Down in the Component Parameters pane.

Import RF Objects into RF Tool

RF Tool lets you import RF objects from your workspace and from files to the top level of your session. You can import the following types of objects:

After you have imported an object, you can change its name and work with it as you would any other component or network.

This section contains the following topics:

Import from the Workspace

To import RF circuit objects from the MATLAB workspace into your RF Tool session:

  1. Select Import From Workspace from the File menu. The Import from Workspace dialog box appears. This dialog box lists the handles of all RF circuit (rfckt) objects in the workspace.

  2. From the list of RF circuit objects, select the object you want to import, and click OK.

    The object is added to your session with the same name as the object handle. If there is already a circuit by that name, RF Tool appends a numeral, starting with 1, to the new circuit name.

Import from a File into a Session

You can import RF components from the following types of files into the top level of your session:

To import a component from one of these files:

  1. Select Import From File from the File menu. A file browser appears.

  2. Select the file type you want to import.

  3. Select the name of the file to import from the list of files in the browser.

  4. Click Open to add the object to your session as a component.

    The name of the component is the file name without the extension. If there is already a component by that name, RF Tool appends a numeral, starting with 1, to the new component name. The file name, including the extension, appears as the value of the component's File Name parameter. If the file is not on the MATLAB path, the value of the File Name parameter also contains the file path.

Import from a File into a Network

You can import RF components from the following types of files into a network:

To import an RF component from a file into a network:

  1. Insert a Data File component into the network.

    For more information on how add a component to a network, see Populate an RF Network.

  2. Specify the name of the file from which to import the component in one of two ways:

    • Select the file name in the file name and type in the Import from File dialog box, and click Open.

    • Click Cancel to get out of the Import from File dialog box, and enter the file name in the Value field across from the File Name parameter in the Insert Component or Network dialog box.

Model an RF Network Using RF Tool shows this process.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS