main content

validating ip2/ip3 using complex signals -凯发k8网页登录

this example shows how to use the rf blockset™ circuit envelope library to run a two-tone experiment that measures the second- and third-order intercept points of an amplifier. the model computes the intercept points of the amplifier from the modulated signal power measured on each carrier, verifying the behavior of the rf blockset system. these values are confirmed using the rf budget analyzer app and a measurement testbench.

system architecture

the system consists of:

  • two complex voltage sources connected in series. the first voltage source is modeled with simulink® blocks, and the second with blocks from the rf blockset circuit envelope library. in the simulink source subsystem, two series sine wave blocks model in-phase and quadrature components of the first tone. an inport block assigns the simulink signal to the carrier fc1. in the rf blockset source subsystem, two series sinusoid blocks model in-phase and quadrature voltage signals that modulate the carrier fc2.

  • a resistor modeling the voltage source impedance.

  • an amplifier with input impedance, output impedance specified in the main tab; output ip2, and output ip3 specified in the nonlinearity tab.

  • an outport block that probes the output voltage of the amplifier across a shunt resistor block. the ordering of the output signals is determined by the ordering of the carriers specified in the outport block dialog.

  • a subsystem to compute running rms power levels at the input, ip2 and ip3 frequencies.

  • a subsystem to compute ip2 and ip3 intercept points [1].

the example model defines variables for block parameters using a callback function. to access model callbacks, select modeling > model settings > model properties and click the callbacks tab in the model properties window.

running the example

  1. type open_system('simrfv2_carriers') at the command window prompt.

  2. select simulation > run.

output power and amplifier output intercept points are displayed on the right side of the model. the calculate power subsystem computes the power in dbm of each intermodulation product using a running root-mean-square (rms) average.

modeling nonlinear rf blockset components

to model nonlinearities in the rf blockset circuit envelope environment:

  • place an amplifier or mixer block in your model.

  • specify parameters that generate nonlinearities, such as ip2 and ip3, taking care to specify the convention or specify a polynomial directly in the nonlinearity tab of the block dialog.

  • specify any additional carrier frequencies for simulation in the configuration block. in this example, the configuration block specifies a total of twenty five frequencies : fc1 and fc2, as the fundamental tones of the input signals; a harmonic order of 3 for each tone resulting in a complete set of second, third, fourth-order intermodulation products(second and third-order harmonic products included), and a partial set of fifth and sixth-order intermodulation products.

in order to calculate the power level of each envelope, the measured voltage signals are scaled with the inverse of the square root of the characteristic impedance. an additional scaling of 1/sqrt(2) in the calculate power subsystem normalizes the complex-valued output signal.

validate using measurement testbench

the same measurements can be performed using the rf budget analyzer app to automatically generate the model and testbench.

  • open the rf budget analyzer app and specify an amplifier.

  • define its ip3 (ip2 cannot be specified at this time).

  • generate the measurement testbench.

  • open device under test to reveal the amplifier. specify the ip2 value.

  • disable the noise to make an accurate measurement for ip2 and ip3. (use the rf measurement unit dialog box).

  • run the simulation and measure ip3.

  • change the quantity to be verified to ip2 and rerun the simulation.

if you look under the mask of the testbench, you will find the logic to measure ip2 and ip3. this methodology is very similar to what is described in the initial model.

reference

  1. kundert, ken. "accurate and rapid measurement of ip2 and ip3." the designers guide community, version 1b, may 22, 2002.

see also

|

related topics

    网站地图