Skip to Main Content Skip to Search
Product Documentation

Specify the Circuit Envelope Simulation Environment

This section of the tutorial shows you how to:

The Solver Configuration and Ground block are the bare minimum that SimRF software requires in order to perform circuit-envelope simulation. Models that are missing one of these two blocks do not run. In order to simulate the SimRF environment at carrier frequencies other than 0 Hz, a model must also contain a SimRF Parameters block.

To begin, open a new model by selecting File > New > Model.

Access Circuit Envelope Libraries

Open the SimRF library by clicking the Start button and selecting Simulink > SimRF > Block Library (Circuit Envelope), or type

simrflib

at the MATLAB Command Window prompt.

The SimRF library contains three sublibraries:

To continue, double-click the Circuit Envelope library.

Ground the RF System

Place a Ground block in your model:

  1. In the SimRF library, double-click Elements to open the SimRF Elements library.

  2. Drag and drop a Ground block onto your model. In the library, the block is abbreviated 'Gnd'.

Connecting SimRF models to ground provides an electrical reference for the system, from which node voltages are defined. A SimRF model is grounded if:

Configure the SimRF Environment

To continue the tutorial:

  1. Place a Solver Configuration block in your model. In the SimRF library, double-click Utilities to open the SimRF Utilities library, then drag and drop a Solver Configuration block onto your model.

  2. Place a SimRF Parameters block in your model. If the SimRF Utilities library is not already open, double-click Utilities to open it, then drag and drop a SimRF Parameters block onto your model.

  3. Connect the Ground, Solver Configuration, and SimRF Parameters blocks to each other. The following figure shows one possible configuration.

A model can contain multiple Solver Configuration and SimRF Parameters if all of the following conditions are met:

Simulate the SimRF Environment

To run the model, select Simulation > Start.

The model simulates according to the default settings of the Solver Configuration and SimRF Parameters blocks and produces no output:

  


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