model mixer using intermodulation table (imt) -凯发k8网页登录
model mixer using intermodulation table (imt)
since r2019b
libraries:
rf blockset /
circuit envelope /
elements
description
use the imt mixer to perform frequency translation defined in an intermodulation table (see [1], [2], [3], and [4]) for a single tone carrier mixed with a local oscillator (lo) signal. the block includes nonlinear amplification, device and phase noise, and mixer spur visualization. for a single tone carrier fcar nonlinearly modulated with an lo signal of frequency flo, the mixer output intermodulation products occur at frequencies:
where:
fcar – input rf signal carrier frequency
flo – local oscillator frequency
m and n are nonnegative integers (0,1,…, order of nonlinearity)
for a downconverter, the desired output tone is , and for an upconverter it is . all other combinations of m and n represent the spurious intermodulation products.
imt mixer block mask icons are dynamic and indicate the current state of the applied noise parameter. for more information, see imt mixer icons.
parameters
carrier frequency (hz) — carrier frequency
1e9
(default) | scalar
carrier frequency, specified as a scalar in hertz. when multiple carriers exist on the input connection, this carrier frequency is selected as the rf signal input. distance between adjacent carriers must be greater than .
data types: double
local oscillator frequency (hz) — local oscillator (lo) frequency
0.9e9
(default) | scalar
local oscillator (lo) frequency, specified as a scalar in hertz.
reference input power (dbm) — reference input power
-10
(default) | scalar
reference input power, specified as a scalar in dbm. the expression for the normalized input signal for the specified reference input power is:
intermodulation tables assume that the spur levels are measured for a reference input and output power. for example, if you increase the input power by 10 db, the spurs due to second order non-linearity will increase by 20 db, the spurs due to third order non-linearity will increase by 30 db, and so forth.
nominal output power (dbm) — nominal lo power
-20
(default) | scalar
nominal output power, specified as a scalar in dbm. the expression for the normalized output signal for the specified reference input power is:
use data file — specify data file to use
off
(default) | on
select this parameter to specify the data file you want to use to extract the spur table. clear to specify your own spur values. the data file may contain any combination of imt table, ac data, and colored spot noise in s2d or p2d format. see [4].
data file — data file
samplespur1.s2d
(default)
data file, specified as imt data, ac data, and colored spot noise. to learn about the combination of inputs a data file can have and how this block extracts and calculates the parameters, see block parameters when using data file.
dependencies
to set this parameter, first select use data file.
input impedance (ohm) — input impedance of mixer
50
(default) | real scalar
input impedance of mixer, specified as a real scalar.
output impedance (ohm) — output impedance of mixer
50
(default) | real scalar
output impedance of mixer, specified as a real scalar.
ground and hide negative terminals — ground rf negative circuit terminals
on
(default) | off
select this parameter to internally ground and hide the negative terminals. to expose the negative terminals, clear this parameter. if the terminals are exposed, the input signal is not referenced to the ground.
imt table — imt spur visualization
[99 99 99; 99 0 99; 99 99 99]
(default) | square matrix
imt spur visualization, specified as a square matrix.
output signal power (dbm) — signal power of desired output tone
0
(default) | scalar
signal power of the desired output tone when plotting intermodulation products, specified as a scalar.
mixer type — mixer type
upconverter
(default) | downconverter
mixer type, specified as upconverter
or
downconverter
.
for a single tone carrier fcar nonlinearly modulated with an lo signal of frequency flo, the mixer output intermodulation products occur at frequencies:
where:
fcar – input rf signal carrier frequency
flo – local oscillator frequency
m and n are nonnegative integers (0,1,…, order of nonlinearity)
for a downconverter, the desired output tone is , and for an upconverter it is . all other combinations of m and n represent the spurious intermodulation products.
plot — visualize imt table values using specified signal power and mixer type
button
visualize imt table values using specified signal power and mixer type.
simulate noise — simulate device or phase noise
on
(default) | off
select this parameter to simulate noise as specified in block parameters or in file.
if the noise is specified in an .s2p
file, then it is
used for simulation.
noise type — noise type
noise figure
(default) | spot noise data
noise type, specified as noise figure
or
spot noise data
.
dependencies
to set this parameter, first select simulate noise.
noise distribution — noise distribution
white
(default) | piece-wise linear
| colored
noise distribution, specified as:
white
– spectral density is a single nonnegative value. the power value of the noise depends on the bandwidth of the carrier, and the bandwidth depends on the time step. this is an uncorrelated noise source.piece-wise linear
– spectral density is a vector of values [pi]. for each carrier, the noise source behaves like a white uncorrelated noise. the power of the noise source is carrier dependent.colored
– depends on both carrier and bandwidth. this is a correlated noise source.
dependencies
to set this parameter, first select simulate noise.
noise figure (db) — noise figure
0
(default) | scalar
noise figure, specified as a scalar in decibels.
dependencies
to set this parameter, first select simulate noise.
frequencies (hz) — frequency data
0
(default) | scalar | vector
frequency data, specified as a scalar for white noise or vector for piece-wise linear or colored noise in hertz.
dependencies
to set this parameter, first select select noise
then select piece-wise linear
or
colored
in noise
distribution.
minimum noise figure (db) — minimum noise figure
0
(default) | scalar | vector
minimum noise figure, specified as a scalar or vector in decibels.
dependencies
to set this parameter, first select spot noise
data
in noise type.
dependencies
to set this parameter, first select select noise
then select spot noise data
in
noise type.
optimal reflection coefficient — optimal reflection coefficient
0
(default) | scalar | vector
optimal reflection coefficient, specified as a scalar or a vector.
dependencies
to set this parameter, first select select noise
then select spot noise data
in
noise type.
equivalent normalized noise resistance — equivalent normalized noise resistance
0
(default) | scalar | vector
equivalent normalized noise resistance, specified as a scalar or vector.
dependencies
to set this parameter, first select select noise
then select spot noise data
in
noise type.
add lo phase noise — add phase noise
off
(default) | on
select this parameter to add phase noise to your system with a continuous wave source.
dependencies
to set this parameter, select simulate noise.
phase noise frequency offset (hz) — phase noise frequency offset
1
(default) | scalar | vector
phase noise frequency offset with respect to lo signal, specified as a scalar or vector with each element unit in hertz.
the frequency offset values must be bounded by the envelope bandwidth of the simulation. for more information see .
dependencies
to enable this parameter, first select simulate noise then select add phase noise.
phase noise level (dbc/hz) — phase noise level
-inf
(default) | scalar | vector | matrix
phase noise level, specified as a scalar or vector or matrix with elements in decibel per hertz.
if you specify a matrix, each column should correspond to a non-dc carrier frequency of the cw source. the frequency offset values must be bounded by the envelope bandwidth of the simulation. for more information see .
dependencies
to enable this parameter, first select simulate noise then select add phase noise.
automatically estimate impulse response duration — automatically estimate impulse response duration
on
(default) | off
select this parameter to automatically calculate impulse response for frequency-dependent noises. clear this parameter to manually specify the impulse response duration using impulse response duration.
dependencies
to enable this parameter, first select simulate noise then select add phase noise.
impulse response duration — impulse response duration
1e-10
s
(default) | scalar
impulse response duration used to simulate frequency-dependent noise,
specified as a scalar in seconds. the time should be an integer multiple of
the step size in the configuration block,
tduration =
ntstep
.
dependencies
to set this parameter, first clear automatically estimate impulse response duration.
algorithms
block parameters when using data file
this table shows you how the block extracts the block parameters if you choose to use a data file. the way the block extracts the parameters depends on the contents of the data file.
contents of data file | reference input power (dbm) | nominal output power (dbm) | imt table | noise |
---|---|---|---|---|
imt, ac, and noise data | block extracts value from imt header of data file | block extracts value from data file | block extracts value from data file | block extracts value from data file |
imt data | block extracts value from imt header of data file | user provides value or block uses default value | block extracts value from data file | user provides value or block uses default value |
ac and imt data | block extracts value from imt header of data file | block extracts value from data file | block extracts value from data file | user provides value or block uses default value |
noise and imt | block extracts value from imt header of data file | user provides value or block uses default value | block extracts value from data file | block extracts value from data file |
ac data | user provides value or block uses default value | extracted from the data file | user provides value or block uses default value | user provides value or block uses default value |
ac and noise | user provides value or block uses default value | extracted from the data file | user provides value or block uses default value | extracted from the data file |
noise | user provides value or block uses default value | user provides value or block uses default value | user provides value or block uses default value | extracted from the data file |
consider the default data file samplespur1.s2d
. this data file
contains imt, ac, and noise data. when you specify the block to use this data file
by selecting the use data
file parameter, the block extracts the reference input power,
nominal output power, imt, and noise data from the data file. this image shows the
block mask with the extracted reference input
power (dbm) and nominal output
power (dbm) parameters.
to verify the extracted data, inspect the data file using this command
edit(samplespur1.s2d)
the block extracts the nominal output power (dbm) from the data file using this equation.
imt mixer icons
this table shows you how the icons on this block will vary based on how you set the simulate noise and add lo phase noise parameters on the block.
simulate noise | add lo phase noise: off | add lo phase noise: on |
---|---|---|
off |
| not applicable. for more information, see dependencies. |
on |
|
|
references
[1] https://www.mathworks.com/help/rf/examples/visualizing-mixer-spurs.html
[2] https://www.microwavejournal.com/articles/3430-the-use-of-intermodulation-tables-for-mixer-simulations
[3] faria, daniel., lawrence dunleavy, and terje svensen. "the use of intermodulation tables for mixer simulations". microwave journal, april 2002. .
[4] "rf mixing / multiplication: frequency mixers". electronic notes. .
version history
introduced in r2019br2022a: extract reference input power and nominal output power from data file
you can now extract reference input power and nominal output power from a data file. for more information, see block parameters when using data file.
r2021b: imt mixer block icon updated
starting in r2021b, the imt 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 imt 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)
- 中国
- (日本語)
- (한국어)