addMixer

Add mixer to multiband transmitter or receiver for IF planning analysis

Syntax

addMixer(hif,imt,rfbw,rfcf,injection,newIFBW)

Description

addMixer(hif,imt,rfbw,rfcf,injection,newIFBW) adds a mixer to a multiband transmitter or receiver object hif as part of an intermediate-frequency (IF) planning analysis workflow.

Input Arguments

hif

Specify the handle of the OpenIF object.

imt

Provide the intermodulation table (IMT) for the mixer as a matrix of real numbers. Each entry in the intermodulation table is a number between 0 and 99. The matrix must be 2-by-2 or larger, and imt(2,2) must equal 0.

rfcf

Specify the RF center frequency of the mixer in Hz.

rfbw

Specify the RF bandwidth of the mixer in Hz.

injection

Specify the mixer type. The available values for injection change depending on the setting of hif.IFLocation.

When hif.IFLocation is 'MixerOutput', the available values for injection are as follows.

  • 'low' — The LO frequency is less than the RF (low-side injection).

  • 'high' — The LO frequency is greater than the RF (high-side injection).

When hif.IFLocation is 'MixerInput', the available values for injection are as follows.

  • 'sum' — The RF signal is the sum of the LO frequency and the IF.

  • 'diff' — The RF signal is the difference between the LO frequency and the IF.

newIFBW

Specify the IF bandwidth in Hz after mixing. Use this argument if the IF bandwidth before mixing (defined by the hif.IFBW property) is different from the bandwidth after mixing.

Examples

  • The OpenIF class reference page contains an example that shows how to find the spur-free zones of a multiband receiver with three mixers.

  • The example Finding Free IF BandwidthsFinding Free IF Bandwidths shows how to use information from a spur graph to design a multiband receiver with spur-free zones.

Was this topic helpful?