Professional Documents
Culture Documents
Hittite - Mixer Spur Chart Calculator Paper
Hittite - Mixer Spur Chart Calculator Paper
Introduction
Predicting Intermodulation (IM) products in double-balanced mixers is
critical to designers of
RF and microwave receiving systems. IM products that fall within
the desired output frequency
band of the up or down converter can interfere with system
operation. They can produce false
targets in military systems and unwanted channel
interference in commercial communication
systems. Armed with an efficient means of
identifying IM products during system block diagram
development, system designers can
adjust the system’s component parameters in order to reduce
their deleterious
effects.
It is necessary to be able to accurately predict both the frequency and power levels of
all IM
products below a given order. Though these can be identified and measured using
spectrum
analyzers, this process is time consuming and inefficient. It is more desirable
to be able to
simulate the IM performance of double balanced mixers through software. In
addition to being a
much faster solution, software simulation lends itself to quickly
identifying the exact n by m IM
product with which that the system designer should be
concerned. When measuring the IF port
output, it is not clear which IM spurs result from
which harmonics of the RF or LO frequency.
This information must be manually calculated
and then compared against the measured spectrum
analyzer output to identify spurs.
Using software to approximate mixer IM behavior serves two important functions. First,
it
quickly calculates the frequencies at which spurs will appear. Second, the software can
fairly
accurately predict the power levels of any of these calculated n by m spurs. This
paper describes
a Java-based mixer spur chart calculator that can predict IM products
while running inside a
Web browser on a variety of computing platforms. This program is
freely available from Hittite
Microwave Corporation’s Web site at http://www.hittite.com, and is compatible with any
modern
web browser that supports Java applets.
Frequency Calculation
The job of this simulator is to calculate and display both frequency and power level
information
for a given mixer application. The first set of data, output frequency,
follows from an extremely
simple equation that is easily extensible to deal with
upconverting as well as downconverting
applications. Assuming the mixer is operating in a
down converting mode, the input RF and LO
signals are sent into the mixer on the balanced
R and L ports, respectively. A lower frequency IF
output signal is generated on the I
port. In this case, the frequency of the output signal can be
calculated simply via the
following equation.
https://web.archive.org/web/20010110110100/http://hittite.com/spurchart/spurchart_paper.htm 1/9
9/14/21, 3:10 PM Hittite - Mixer Spur Chart Calculator Paper
TABLE
I
DEFAULT LEVELS FOR POWER LEVEL
CALCULATION CONSTANTS
d2 0.85
d3 0.95
d4 1.05
a 0.7
b 0.7
VF 0.3
Power Calculation
Power calculation is a more involved process than frequency calculation. Power level
calculation
has been researched, and equations are available to accurately predict IF
output power levels.1
However, power levels for spurs are defined
mathematically in a way that makes them difficult
to implement using general purpose
programming languages such as C or Java. In particular,
there exists no portable math
library able to deal with complex mathematical functions such as
indefinite integrals or
the gamma function in Java. Consequently, these equations have been
modified so that they
can be implemented in Java without complex and imprecise integral
approximation
techniques, while still producing the same results as the pure mathematical
definitions.
While the majority of the calculation requires no modification from published
equations,
the gamma function and certain results that depend on the gamma function require
special
attention and modification so that they can be implemented in software.
The results from this beta calculation are used to compute the Anm value for
this IM product,
where Anm is an amplitude value as a function of n and m. The
Anm value depends on three
other values, besides the result of the beta
function calculation. First is a beta function result for
the desired IF output (BIF), that is, the spur for which (n = m = 1). This can be
obtained by
calculating Boo when m = 1. The second
factor, Vf, is necessary for the calculation of odd by
even and even by odd
products (odd by odd and even by even products are independent of this
value). Vf
is the ratio of VF (diode forward voltage @ 1mA) to VL (the peak LO
voltage).
Because both of these values are approximate, the resulting Vf value
is merely an approximation
of actual mixer behavior. Hence, results that depend on Vf
(odd by even and even by odd) tend
to be less accurately calculable than are results that
are independent of Vf. The third factor is a
set of functions (goo, goe, geo, gee), with
subscripts identical to the beta functions, which depend
on the mathematical function
gamma (G). The odd-odd function and the even-even function are
identical, as are the even-odd function and the odd-even function. While these four
functions do
not follow directly from the power level calculation equations, they must be
used instead of
calling the function G directly. The need for
these intermediate functions becomes apparent
when we examine the implementation of the
gamma function that this program uses.
TABLE II
LIMITED IMPLEMENTATION OF GAMMA FUNCTION IN ANSI
C
double b=1.0;
while (z<0)
b / = z;
z++
}
while (z! = 0.5)
https://web.archive.org/web/20010110110100/http://hittite.com/spurchart/spurchart_paper.htm 3/9
9/14/21, 3:10 PM Hittite - Mixer Spur Chart Calculator Paper
z--;
bo = z;
}
return (bo sqrt (3.14159265358979323846));
All that is needed is a method of relating any value z to 0.5, for which gamma is
easily
expressed.
G(0.5) = (p)1/2
To accomplish this, we need another variable b, which has a starting value of 1.0. As
long as the
value z is less than one, we divide b by z and then add one to z. This step is
repeated until z is
positive, at which point we enter another loop. This second loop runs
as long as z is not equal to
0.5. For each iteration of the loop, we subtract one from z
and set b equal to the product of b and
z. As soon as z equals 0.5, we exit this loop and
have found the final result, which is a function
of the current value of b.
G(z) = b * (p)1/2
An implementation of this algorithm in ANSI C can be seen in Figure 3. Note that this
implementation will only return a result if the input value z is in the form z = a + 0.5,
where a is
a positive or negative integer.
Given this albeit limited implementation of gamma, we use the four gamma functions
defined in
equation three (goo, goe,
geo, gee) to
insure that the input we pass into gamma is an acceptable
value, (its decimal portion is
0.5). Once the four values of Vf, BIF, gxx, and Bxx are
computed,
Anm can be calculated by choosing the appropriate equation from the
set shown in equation
four.7 Given the Anm value, one can compute
the IM suppression in dBc as long as the
difference in power level (DP)
between the RF input port and the LO input port (in dBm) is at
least 5 dB (LO > RF), as
illustrated in equation five.8
https://web.archive.org/web/20010110110100/http://hittite.com/spurchart/spurchart_paper.htm 4/9
9/14/21, 3:10 PM Hittite - Mixer Spur Chart Calculator Paper
All entered frequency values must be positive values (in GHz) that continually increase
as they
sweep from RF (IF) Low, through RF (IF) Spec1 and Spec2, to RF (IF) High. As for
power
levels, values can be positive or negative (as measured in dBm), but the RF power
level must be
at least 5 dBm below the LO power level, in order to obtain meaningful
results. Though the n
and m values are only required to be positive integers, as the order
of the spur gets higher, the
modeled data less accurately predicts actual mixer behavior.
These predicted results are
reasonably accurate for n less than or equal to eight and m
less than or equal to four.9
Once all the values are properly entered and verified to be within acceptable ranges,
the user can
click the "calculate" button to begin the simulation. Once the
applet has finished calculating,
spurs are plotted on a 2D graph, with the independent
axis set to RF input frequency, and the
dependent axis set to IF output frequency (See
Figure 4 for a screen shot of the program). The
frequency area of interest is drawn in the
graph as a rectangle bounding the specified RF and IF
frequency values. The engineer using
this tool has to be concerned only with lines that intersect
the area of this rectangle,
assuming they are of sufficiently high power to be able to interfere
with the desired
output.
The user can click on any line on the graph to view more information about the
particular spur
that that line represents. The user is presented with a pop-up window
displaying the RF and IF
frequency values at the point on the line that was selected. In
addition, this window shows the
order of the spur, in n by m terms, and its suppression in
dBc. Power level, however, is not a
function of input frequency, and remains constant as
the user clicks on different portions of the
spur line.
https://web.archive.org/web/20010110110100/http://hittite.com/spurchart/spurchart_paper.htm 5/9
9/14/21, 3:10 PM Hittite - Mixer Spur Chart Calculator Paper
The advantage to this setup is that it allows the simulator to operate in upconverting
and
downconverting mode simultaneously. For example, if the user enters an RF input band
of 2-
10GHz, and an IF output band of 4-5 GHz, the program will display all IM products,
for the
entire input band, without having to run the test twice, once as a downconverter
and once as an
upconverter. Since the mathematical calculations are the same in both modes
of operation, the
program can do both calculations at once, and leave the user to
interpret the results as being
either upconversion or downconversion, depending on the
frequencies of the RF and IF ports.
https://web.archive.org/web/20010110110100/http://hittite.com/spurchart/spurchart_paper.htm 6/9
9/14/21, 3:10 PM Hittite - Mixer Spur Chart Calculator Paper
Case Study
To test the accuracy of this simulator, data taken from the Hittite HMC175MS8 was compared
against calculated spur values. The 175MS8 is a miniature double-balanced mixer featuring
an
extremely small SMT package and a zero DC bias requirement. RF and LO operation ranges
from 1.7 to 3.4 GHz. The IF port operates from DC to 1.0 GHz. For this comparison, the
mixer
was operated as a downconverter, with the LO at 1.8 GHz at 13dBm. The RF port was
stepped
from 1.7 GHz to 3.2 GHz at 5 dBm. The IF output from 100 MHz to 1 GHz was
recorded, and
compared against predicted spurs in the same frequency range. Twenty spurs,
ranging from
fourth order to eleventh order, were recorded. The simulator was operated
with all the constants
set to their default values. The HMC175MS8 features excellent
suppression performance, and
the simulation was run to compare how well actual mixer
suppression compared against the
predicted power levels for IM products. This comparison
found for the twenty measured spurs
that the mixer performed significantly better than
what was predicted for seventeen of those
spurs. In addition, for the three cases where
the actual mixer IM suppression was at a higher
level than predicted, it was within 1.25
dBm of the calculated values for two of those cases.
Figure 5 shows the data for this test
of the Hittite mixer.
TABLE III
HMC175MS8 IM PRODUCT DATA*+
Modeled Measured D
RF IF
N M IF Power IF Power Power
(MHz) (MHz) (dB)
(dBc) (dBc)
2 -2 1700 200 -47.33 -48.00 -0.67
3 -3 1700 300 -34.36 -44.50 -10.14
4 -4 1700 400 -68.08 -63.50 4.58
-4 4 1950 600 -68.08 -66.83 1.23
-3 3 1950 450 -34.36 -56.60 -22.24
-2 2 1950 300 -47.33 -53.00 -5.67
5 -4 2210 160 -45.76 -74.00 -28.24
4 -3 2210 570 -39.09 -59.00 -19.91
3 -2 2210 980 -33.03 -52.00 -18.97
-5 4 2380 520 -45.76 -74.50 -28.74
6 -4 2550 600 -60.70 -67.50 -6.80
-4 3 2550 450 -39.90 -63.17 -24.08
5 -3 2890 330 -29.93 -49.17 -19.24
2 -1 2890 710 -28.55 -27.83 0.72
-6 4 2890 760 -60.70 -72.50 -11.80
7 -4 3060 360 -36.31 -60.50 -24.19
-3 2 2890 380 -33.03 -49.10 -16.07
4 -2 3200 800 -47.33 -58.00 -10.67
-5 3 3060 180 -29.93 -43.17 -13.24
-7 4 3200 200 -36.21 -60.00 -23.79
All data taken
with fixed LO of 13 dBm at 1800 MHz
Rf swept from 1700 to 3200 MHz at 5 dBm
Conclusion
This spur calculator can be useful to engineers designing systems that utilize
double-balanced
https://web.archive.org/web/20010110110100/http://hittite.com/spurchart/spurchart_paper.htm 7/9
9/14/21, 3:10 PM Hittite - Mixer Spur Chart Calculator Paper
mixers as either upconverters or downconverters. If IM products exist at
frequencies near the
desired IF (or RF) output, those spurs can possibly be confused with
the desired signal, and
inhibit proper operation of the system. This tool is useful for
system designers to calculate spurs
to determine if there is a potential problem in their
application. It should be noted that this
calculator, and other software tools, is based
on mathematical equations that describe ideal
theoretical behavior, and can not always
produce completely accurate results in complete
agreement with measured data. To overcome
this limitation, this calculator implements user
editable constants to allow for better
modeling against actual IM measurements. This calculator
was developed for widespread use
within the RF/Microwave engineering community, and your
feedback is welcomed at spurchart@hittite.com.
2. Henderson, ibid.
3. Henderson, ibid.
7. Henderson, ibid.
8. Henderson, ibid.
9. Henderson, ibid.
https://web.archive.org/web/20010110110100/http://hittite.com/spurchart/spurchart_paper.htm 8/9
9/14/21, 3:10 PM Hittite - Mixer Spur Chart Calculator Paper
Gamma Functions:
Amplitude Values:
IM Supression:
©
2000, Hittite Microwave Corp.
https://web.archive.org/web/20010110110100/http://hittite.com/spurchart/spurchart_paper.htm 9/9