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.

Power Ports and Signal Power Measurement in RF Blockset

This example shows how to use power ports and measure the signal power using the spectrum analyzer.

Power Model

model = 'simrfV2_powerportdefinition_1.slx';
open(model)

In this model, the simulink signal is interpreted as a Vrms^2 signal referrerd to 1 Ohm. This is the implicit convention used in the Communications System Toolbox.

When measuring the signal power with the spectrum analyzer, refer the measurement to 1 Ohm. In RF Blockset, use the power option for the ports at the input and output of your system. Notice that the ports automatically add source and load impedances, and scale the signal to refer it to the specificed impedance. In this way, the available power of the input signal is referred to 50 Ohm. The RF Blockset amplifier is thus processing a signal with the same power as the Simulink signal.

When probing internal nodes, use the voltage option in the "sensing" port otherwise you will mismatch your circuit. Also, make sure that you adjust the reference impedance in the spectrum analyzer to 50 Ohm.

Voltage Model

model = 'simrfV2_powerportdefinition_2.slx';
open(model)

In this model, the simulink signal is interpreted as a Voltage signal. When measuring the signal power with the spectrum analyzer, refer the measurement to 50 Ohm.

In RF Blockset, use the voltage option for the ports at the input and output of your system. Notice that you need to add source and load impedances, otherwise the amplifier will be mismatched. You also need to add a factor of 2 to make sure that the voltage at the input of the RF Blockset amplifier has the same value as the Simulink signal. The factor of 2 takes into account the voltage division between the source and input impedances.

Simulate both the models and observe.

Was this topic helpful?