model mixer in rf systems -凯发k8网页登录
model mixer in rf systems
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:
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): 10 | noise figure (db): 0 |
---|---|
|
|
parameters
source of conversion gain — source parameter of conversion gain
available power gain
(default) | open circuit voltage gain
| polynomial coefficients
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 vin2 ⋯ a3 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.
available power gain — linear gain of mixer
0 db
(default) | scalar
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 gain — open circuit voltage gain
0 db
(default) | scalar
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.
polynomial coefficients — order of polynomial
[0 1]
(default) | vector
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 (ohm) — input impedance of mixer
50
(default) | scalar
input impedance of mixer, specified as a scalar.
output impedance (ohm) — output impedance of mixer
50
(default) | scalar
output impedance of mixer, specified as a scalar.
lo impedance (ohm) — impedance at lo port of mixer
inf
(default) | scalar
output impedance of mixer, specified as a scalar.
noise figure (db) — single-sideband ieee noise figure of mixer
0 db
(default) | 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:
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
which is related to other commonly used definitions through
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,
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.
ground and hide negative terminals — ground rf circuit terminals
on
(default) | off
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.
nonlinear polynomial type — polynomial nonlinearity
even and odd order
(default) | odd order
polynomial nonlinearity, specified as one of the following:
even and odd order
: when you selecteven and odd order
, the amplifier can produce second- and third-order intermodulation frequencies in addition to a linear term.odd order
: when you selectodd 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.
intercept points convention — intercept points convention
output
(default) | input
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.
ip2 — second-order intercept point
inf
dbm
(default) | scalar
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.
ip3 — third-order intercept point
inf
dbm
(default) | scalar
third-order intercept point, specified as a scalar. the default
value inf
dbm
corresponds
to an unspecified point.
1-db gain compression power — 1-db gain compression power
inf
dbm
(default) | scalar
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 — output saturation power
inf
dbm
(default) | scalar
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 — gain compression at saturation
inf
dbm
(default) | scalar
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 r2010br2021b: mixer block icon updated
starting in r2021b, the mixer block icon has updated. the block icons are now dynamic and show the current state of the noise parameter.
when you open a model created before r2021b containing a mixer block, the software replaces the block icon with the r2021b version.
see also
matlab 命令
您点击的链接对应于以下 matlab 命令:
请在 matlab 命令行窗口中直接输入以执行命令。web 浏览器不支持 matlab 命令。
select a web site
choose a web site to get translated content where available and see local events and offers. based on your location, we recommend that you select: .
you can also select a web site from the following list:
how to get best site performance
select the china site (in chinese or english) for best site performance. other mathworks country sites are not optimized for visits from your location.
americas
- (español)
- (english)
- (english)
europe
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
asia pacific
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)