main content

model mixer in rf systems -凯发k8网页登录

model mixer in rf systems

  • mixer block

libraries:
rf blockset / circuit envelope / elements

description

the mixer block performs signal frequency translation and nonlinear amplification.

for a given rf input signal, vrf = arfcos(ωrft) and an lo input signal vlo = aclocos(ωlot), the mixer multiplies the signals at the input ports:

vinvlo=aincos(ωint)alocos(ωlot)=ainalo2cos[(ωin ωlo)t] ainalo2cos[(ωinωlo)t]

this mixing converts the frequency of rf signal to ωrf   ωlo and ωrf – ωlo. for the mixer to perform this operation correctly, you must include the frequencies ωrf   ωlo or ωrf – ωlo in the simulation frequencies the block calculates.

the power gain specification for this block relates the power of a single-sideband (ssb) to the input.

after mixing the rf and lo signals, the mixer block performs amplification. to model linear amplification, the mixer scales the signals by the coefficient a1. a voltage controlled voltage source (vcvs), specified with a polynomial, implements nonlinear amplification. the polynomial includes saturation automatically and produces additional intermodulation frequencies.

mixer block mask icons are dynamic and indicate the current state of the applied noise parameter. this table shows you how the icons on this block vary based on the state of the noise figure (db) parameter on the block.

noise figure (db): 10noise figure (db): 0

resistor block icon with simulate noise is set to on.

resistor block icon with simulate noise is set to off.

parameters

main

source parameter of conversion gain, specified as one of the following:

  • available power gain — the block uses the value of the available power gain parameter to calculate the linear voltage gain term of the polynomial vcvs, a1. this calculation assumes a matched load termination for the mixer.

  • open circuit voltage gain — the block uses the value of the open circuit voltage gain parameter as the linear voltage gain term of the polynomial vcvs, a1.

  • polynomial coefficients — the block implements a nonlinear voltage gain according to the polynomial you specify. the order of the polynomial must be less than or equal to 9 and the coefficients are ordered in ascending powers. if a vector a has 10 coefficients, [a0, a1, a2, …, a9], the polynomial it represents is vout = a0 a1 vin a2 vin2 a9 vin9. in this case, a1 represents the linear gain term, and the modeling of higher-order terms is done according to [1].

    for example, the vector [a0, a1, a2, a3] specifies the relation vout = a0 a1 vin a2 vin2a3 vin3.

    trailing zeroes are omitted: if a3 = 0, [a0, a1, a2] defines the same polynomial as [a0, a1, a2, 0]. the default value of this parameter is [0 1], corresponding to the linear relation vo = vi.

linear gain of mixer, specified as a scalar in db. specify the units from the corresponding drop-down list.

dependencies

to enable this parameter, select available power gain in source of conversion gain tab.

open circuit voltage of mixer, specified as a scalar in db. specify the units from the corresponding drop-down list.

dependencies

to enable this parameter, select open circuit voltage gain in source of conversion gain tab.

order of polynomial, specified as a vector.

the order of the polynomial must be less than or equal to 9. the coefficients are ordered in ascending powers. if a vector has 10 coefficients, [a0,a1,a2, ... a9], the polynomial it represents is:

vout = a0   a1vin   a2vin2   ...    a9vin9

where a1 represents the linear gain term, and higher-order terms are modeled according to [1].

for example, the vector [a0,a1,a2,a32] specifies the relation vo = a0   a1v1   a2v12   a3v13. trailing zeroes are omitted. if a3 = 0, then [a0,a1,a2] defines the same polynomial as [a0,a1,a2,0]. the default value of this parameter is [0,1], corresponding to the linear relation vo = vi.

dependencies

to enable this parameter, select polynomial coefficients in source of conversion gain tab.

input impedance of mixer, specified as a scalar.

output impedance of mixer, specified as a scalar.

output impedance of mixer, specified as a scalar.

single-sideband noise figure of mixer, specified as a scalar according to the ieee® definition.

to model noise in circuit envelope model with a noise, amplifier, or mixer block, you must select the simulate noise check box in the block dialog box.

the ieee ssb definition assumes that the noise in the image bandwidth at the input of the mixer is perfectly rejected, while the mixer internally generates noise in both the image bandwidth and the signal bandwidth. as a result, the noise at the output of the mixer is the sum of two contributions:

nout=ningmix 2nmixergmix,

where:

  • nout is the noise at the output of the mixer.

  • nin is the noise at the input of the mixer (assuming that the noise in the image bandwidth is perfectly rejected).

  • nmixer is the noise internally generated by the mixer in both the signal and the image bandwidths.

  • gmix is the mixer gain.

as a result, the noise factor according to the ieee ssb definition can be expressed as

fssb-ieee=1 2nmixer/nin,

which is related to other commonly used definitions through

fssb=2 2nmixer/nin=1 fssb-ieee,fdsb=1 nmixer/nin=12(1 fssb-ieee).

you can apply the ieee ssb definition directly to describe mixer stages when using the friis formulas for link budget analysis. using the other definitions requires changing the friis formulas. both the mixer block in rf blockset™ and the rf budget analyzer app in rf toolbox™ use the ieee definition.

the analytic relationships between the three definitions allow you to simulate the noise level at the output of the mixer. for example,

fssb=4 dbfssb-ieee=10log10(10fssb/101)=1.79 db,fdsb=4 dbfssb-ieee=10log10(2×10fdsb/101)=6.04 db.

if you simulate an rf blockset mixer without including an ideal image rejection filter, then the noise at the output of the mixer is larger than that predicted by the noise figure, because the noise in the image bandwidth is effectively folded onto the output signal.

for this reason, when generating models, both the modulator and demodulator blocks insert an ideal image-rejection filter automatically. (you can remove the filtering within the block mask.)

the noise figure testbench block measures the ssb noise figure and enables you to verify that the simulated noise figure has the expected value.

  • if you add an ideal image rejection filter to your model, then the effective noise figure is consistent with the analytic value.

  • if you remove the image-rejection filter, or if you use a filter with partial rejection, then the measured noise figure is larger than the analytic value.

select this parameter to internally ground and hide the negative terminals. to expose the negative terminals, clear this parameter. by exposing these terminals, you can connect them to other parts of your model.

by default, this option is selected.

nonlinearity

polynomial nonlinearity, specified as one of the following:

  • even and odd order: when you select even and odd order, the amplifier can produce second- and third-order intermodulation frequencies in addition to a linear term.

  • odd order: when you select odd order, the amplifier generates only odd order intermodulation frequencies.

    the linear gain determines the linear a1 term. the block calculates the remaining terms from the specified parameters. these parameters are ip3, 1-db gain compression power, output saturation power, and gain compression at saturation. the number of constraints you specify determines the order of the model. the figure shows the graphical definition of the nonlinear mixer parameters.

    output vs input power plot shows nonlinear mixer parameters.

intercept points convention, specified as input-referred or output-referred. use this specification for the intercept points, 1-db gain compression power, and saturation power.

second-order intercept point. specified as a scalar. the default value inf dbm corresponds to an unspecified point.

dependencies

to enable this parameter, select even and odd order in nonlinear polynomial type tab.

third-order intercept point, specified as a scalar. the default value inf dbm corresponds to an unspecified point.

1-db gain compression power, specified as a scalar. the 1-db gain compression point must be less than the output saturation power.

dependencies

to enable this parameter, select odd order in nonlinear polynomial type tab.

output saturation power, specified as a scalar. the block uses this value to calculate the voltage saturation point used in the nonlinear model. in this case, the first derivative of the polynomial is zero, and the second derivative is negative.

dependencies

to enable this parameter, select odd order in nonlinear polynomial type tab.

gain compression at saturation, specified as a scalar.

dependencies

to enable this parameter, select odd order in nonlinear polynomial type tab and set output saturation power .

references

[1] grob, siegfried, and jürgen lindner. “polynomial model derivation of nonlinear amplifiers.” department of information technology, university of ulm, germany.

version history

introduced in r2010b

see also

|

网站地图