Skip to Main Content Skip to Search
Product Documentation

Modeling a Direct Conversion Receiver

Direct-conversion receivers are sensitive to second-order intermodulation products because they transfer the RF signal directly to baseband.

Create a Direct Conversion Receiver Model

The model

ex_simrf_dc

models a direct-conversion receiver within the SimRF environment. The RF system consists of a low-noise amplification (LNA) stage, a direct-conversion stage, and a final amplification stage. The receiver specifications are similar to the specifications used in the Design and Simulation of a Direct Conversion Receiver demo, which elaborates on the impairments shown in this example.

To run the model:

  1. Open the model by clicking the link or by typing the model name at the Command Window prompt.

  2. Select Simulation > Start.

Models that contain SimRF Amplifier and Mixer blocks generate files at update time. Before you can successfully update and run models with these blocks, you have to set up a compiler by running mex -setup.

By default, SimRF software generates files in the current MATLAB folder. However, you can change the output location for these files by specifying a cache folder in the Simulink Preferences dialog box. To specify a cache folder:

  1. Open the Simulink Preferences dialog box (File > Preferences).

  2. Specify a location for the Simulink cache folder parameter.

For more information about the Simulink interface, see Simulink Preferences Window.

Set Up the SimRF Environment

The model runs according to the following environment settings:

View Simulation Output

The model uses subsystems with a MATLAB Coder implementation of a fast Fourier transform (FFT) to generate four plots:

If you have DSP System Toolbox software installed, you can replace the MATLAB Coder subsystems with Vector Scope or Spectrum Scope blocks.

Modeling IMD in System-Level Components

The IP2 and IP3 parameters specify the second- and third-order intercept points of Amplifier and Mixer blocks:

Amplifier and Mixer components have specified gains and noise figures:

To calculate RF system noise figure, use the Friis equation:

where Fi and Gi are the noise factor and gain of the ith stage. For more information on RF system noise figure, see the demo Impact of RF Receiver on Communcations System Performance.

Examining DC Impairments

In addition to intermodulation distortion from IP2, direct-conversion receivers are subject to additional DC impairments. For example, coupling between mixer input and local oscillator (LO) ports causes self-mixing of the LO. For more information, see the demo Executable Specification of a Direct Conversion Receiver.

  


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