Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

RF Budget Analyzer

Analyze gain, noise figure, and IP3 of cascaded RF elements and export to RF Blockset

Description

The RF Budget Analyzer app analyzes the gain, noise figure, and nonlinearity of a proposed RF system architecture.

Using this app, you can:

  • Build a cascade of RF elements.

  • Calculate the per-stage and cascade output power, gain, noise figure, SNR, and IP3 (third-order intercept) of the system.

  • Plot rfbudget results across bandwidth and from stage to stage.

  • Export per-stage and cascade values to the MATLAB® workspace.

  • Export the system design to RF Blockset™ for simulation.

  • Export the system design to the RF Blockset Testbench as a DUT (device under test) subsystem and verify the results using simulation.

Available Blocks

The app toolstrip contains these blocks for creating an RF system:

  • Amplifier

  • Modulator

  • S-parameters

  • Generic

Available Templates

The app toolstrip contains these templates for transmitter and receiver systems:

  • Receiver template

  • Transmitter template

Open the RF Budget Analyzer App

  • MATLAB Toolstrip: On the Apps tab, under Signal Processing and Communications, click the app icon.

  • MATLAB command prompt: Enter rfBudgetAnalyzer.

Examples

expand all

The RF Budget Analyzer display canvas consists of two parts:

For more information on the different types of gain, see [1].

  1. Stage: Individual Parameters of Each Element

    • GainA (dB) — Available power gain

    • NF (dB) — Noise figure

    • OIP3 (dBm) — Output third-order intercept

  2. Cascade: Cumulative Parameters of Each Element

    • Fout (GHz) — Output frequency

    • Pout (dBm) — Output power

    • GainT (dB) — Transducer power gain

    • NF (dB) — Noise figure

    • OIP3 (dBm) — Output third-order intercept

    • SNR (dB) — Signal-to-noise ratio

Design and analyze an RF transmitter using the RF Budget Analyzer app.

  1. Open the app.

    rfBudgetAnalyzer
  2. Use the transmitter template to create a basic transmitter.

  3. In System Parameters, specify the requirements for the RF transmitter:

    • Input frequency815 MHz

    • Available input power0 dBm

    • Signal bandwidth100 MHz

  4. Click the IF Amplifier in the design canvas. Delete it using the toolstrip button.

  5. Add a Generic block in place of the IF Amplifier using the toolstrip button. In Element Parameters, specify:

    • NameIFFilter

    • Available power gain-3.6 dB

  6. Click the Modulator block. In Element Parameters, specify:

    • NameMixer

    • Available power gain-6.5 dB

    • OIP311.5 dBm

    • LO frequency4.97 GHz

    • Converter typeUp

  7. Delete the S-Parameters block named BandpassFilter. Add a Generic block. In Element Parameters, specify:

    • NameRFFilter1

    • Available power gain-1.4 dB

  8. In the Power Amplifier block Element Parameters, specify:

    • NamePowerAmplifier1

    • Available power gain20 dB

    • OIP343 dBm

  9. Add another Amplifier block using the toolstrip button. In Element Parameters, specify:

    • NamePowerAmplifier2

    • Available power gain20 dB

    • OIP343 dBm

  10. Add another Generic block. In Element Parameters, specify:

    • NameRFFilter2

    • Available power gain-1.4 dB

  11. Save the system. The app saves the system in a MAT file.

  12. Plot the Output Power of the Transmitter analysis.using the button.

Design and analyze an RF receiver using the RF Budget Analyzer app.

  1. Open the app.

  2. Use the receiver template to create a basic receiver.

  3. In System Parameters, specify the requirements for the RF receiver:

    • Input frequency5.745 MHz

    • Available input power-65 dBm

    • Signal bandwidth100 MHz

  4. Click RF Filter in the design region. This block is an S-parameters block. It accepts a Touchstone File in the .s2p format.

    • Name: BandpassFilter

    • S2P file: Choose an S2P file by clicking the Browse.

  5. Click the RF Amplifier block. In Element Parameters, specify:

    • NameLNA1

    • Available power gain12 dB

    • OIP320 dBm

  6. Add another Amplifier block using the toolstrip button. In Element Parameters, specify:

    • NameLNA2

    • Available power gain12 dB

    • OIP320 dBm

  7. Add a Generic block. In Element Parameters, specify the block requirements:

    • NameIRFilter

    • Available power gain-4.05 dB

  8. Click the Demod block Element Parameters, specify:

    • NameMixer

    • Available power gain-6.5 dB

    • OIP311.5 dBm

    • LO frequency4.93 GHz

    • Converter typeDown

  9. Delete the S-parameters block. Add a Generic block in its place. In Element Parameters, specify:

    • NameCSFilter

    • Available power gain-9.55 dB

  10. Click the IF Amplifier block. In the Element Parameters, specify:

    • NamePowerAmp1

    • Available power gain16 dB

    • OIP326 dBm

  11. Add two more Amplifier blocks. For each block, Element Parameters specify:

    • NamePowerAmp2 | PowerAmp3 respectively.

    • Available power gain16 dB | 20 dB

    • OIP326 dBm | 33 dBm

  12. Save the system. The app saves the system in a MAT file.

  13. Plot the Output OIP3 of the Receiver .using the button.

Related Examples

Parameters

expand all

System Parameters

Carrier frequency of the RF system, specified as a scalar in: Hz, kHz, MHz, or GHz.

Note

RF Budget Analyzer accepts 0 Hz as input frequency of a system.

Available input power to the RF system, specified as a scalar in dBm.

Bandwidth of input signal, specified as a scalar in: Hz, kHz, MHz, or GHz.

Element Parameters

Name of the element added to the RF System, specified as a character vector.

Touchstone data file, specified as a character vector, containing network parameter data. You can use only .s2p Touchstone files.

Available power gain added of the element, specified as a scalar.

Degradation of signal-to-noise ratio by the element, specified as a scalar in dB.

Output third-order intercept of the element, specified as a scalar in dBm.

Input impedance of the element, specified as a scalar in Ohm.

Output impedance of the element, specified as a scalar in Ohm.

Local oscillator frequency of Modulator element, specified as a scalar. Frequency units are the following: Hz, kHz, MHz, or GHz. This option is available when you choose the Modulator toolstrip button.

Note

RF Budget Analyzer do not accept 0 Hz as input frequency for down conversion.

Conversion type of Modulator element, specified as Up or Down. This option is available when you choose the Modulator toolstrip button.

Programmatic Use

expand all

rfBudgetAnalyzer opens the RF Budget Analyzer app to analyze the per-stage and total gain, noise figure, and nonlinearity (IP3) of an RF system.

rfBudgetAnalyzer(rfsystem) opens an RF system saved using the RF Budget Analyzer app. rfsystem is a MAT file.

References

[1] M. Pozar, David. “Microwave Amplifier Design.” Microwave Engineering. Hoboken, NJ: John Wiley & Sons, Inc. 4th Edition. 2012, p. 559

Introduced in R2016a

Was this topic helpful?