Main Content

Using RF Blockset for the First Time

Expected Background

Topics in the RF Blockset™ documentation assume that you are already familiar with:

  • Using MATLAB® to write and execute scripts and functions.

  • Using Simulink® to create and simulate block diagrams.

Circuit Envelope, Equivalent Baseband, and Idealized Baseband Features

RF Blockset software offers Circuit Envelope, Equivalent Baseband, and Idealized Baseband libraries to model RF networks. Each library represents a distinct simulation paradigm. For certain applications, one library may offer an advantage over another.

All blocks from the Circuit Envelope and Equivalent Baseband libraries except Inport, Outport, Input Port, and Output Port blocks do not connect to each other. Therefore, to avoid redesigning your model later, choose which library to use based on your application. Consult this table for a summary of the features of the three libraries.

Summary of Features

FeatureCircuit Envelope LibraryEquivalent Baseband LibraryIdealized Baseband Library
Connect directly to Simulink blocksNo, except the cross-domain blocksNo, except the cross-domain blocksYes
Support single-carrier simulationYesYesYes
Support multicarrier simulationYesNoNo
Support nonlinear elementsYesYesYes
Support simulation of cascaded networksYesYesYes
Support simulation of networks with arbitrary topologiesYesNoYes
Support signal probing between input and outputYesNoYes
Support noise simulationYesYesYes
Support custom authoringYesNoYes
Support specification using network parameter dataYesYesNo
Model input/output impedance mismatchesYesYesNo
Generate C code with Simulink Coder™NoYesYes

Understanding RF Blockset Environment

The RF Blockset environment comprises of interconnected blocks and algorithms that model an RF system. In the RF Blockset environment, all blocks fall into one of the three categories.

Blocks Operating Within RF Blockset Environment

These blocks contribute to the physical representation of an RF system. Most RF Blockset Circuit Envelope, Equivalent Baseband and Idealized Baseband library blocks fall into this category, including all blocks in the Elements and Sources sublibraries. For example, a Resistor block can model a source impedance or part of a matching network, and an Amplifier block can model a physical RF amplifier. Both these blocks model physical components.

Blocks Operating Between RF Blockset and Simulink Environments

These blocks, also called cross-domain blocks, provide an interface from an RF system to a larger design. The Inport, Outport, Input Port, and Output Port blocks fall into this category. For example, you can construct a signal using blocks from Communications Toolbox™ or DSP System Toolbox™ libraries, and you can input that signal into the RF Blockset environment using a RF Blockset Inport block. You can also input that signal into an RF chain using an RF Blockset Input Port block.

Environment Independent Block

The Configuration block manipulates the environment and determines the simulation configuration. To use this block, connect it to any part of the RF system. Because this block is not a part of the physical representation of the system, it has the same effect regardless of where you connect it.

To run models containing other RF Blockset blocks, you must connect a Configuration block to the RF Blockset environment.

Related Topics