System and method for reducing the effects of spurs on measurements using averaging with specific null selection
10006952 ยท 2018-06-26
Assignee
Inventors
Cpc classification
G06F2101/00
PHYSICS
G01R27/28
PHYSICS
G01R35/00
PHYSICS
G01R1/00
PHYSICS
International classification
G01R27/02
PHYSICS
G01R27/28
PHYSICS
Abstract
A method of eliminating spurs in measurements of an electrical response of a device under test (OUT) obtained uses a measurement instrument including a mixer and a receiver. The measurement instrument is configured to generate, via the mixer, an intermediate frequency (IF) signal for use by the receiver from a radio frequency (RF) signal and a local oscillator (LO) signal. Input is received from a user at the measurement instrument and includes start frequency and end frequency. Parameters for a frequency sweep are generated based on the input. A measurement for each frequency of the frequency sweep is calculated using averaging of a plurality of samples obtained at that frequency. Frequencies are identified within the frequency sweep at which spurs will occur due to the measurement instrument. The parameters for a frequency of the frequency sweep at which a spur will occur are modified so that a null for a measurement at the frequency falls on the spur.
Claims
1. A method of eliminating spurs in measurements of an electrical response of a device under test (DUT) obtained using a measuring instrument including a mixer and a receiver, wherein the measuring instrument is configured to generate, via the mixer, an intermediate frequency (IF) signal for use by the receiver from a radio frequency (RF) signal and a local oscillator (LO) signal, the method comprising: receiving input for generating a frequency sweep at the measuring instrument; wherein the received input includes start frequency and end frequency; wherein a measurement for each frequency of the frequency sweep is obtained by averaging of a plurality of samples obtained at that frequency; generating parameters for the frequency sweep, including a number of the plurality of samples obtained at each frequency of the frequency sweep, based on the received input; identifying frequencies within the frequency sweep at which spurs occur due to the measuring instrument; and modifying the parameters for an identified frequency of the frequency sweep at which a spur occurs so that a measurement for the identified frequency is obtained by averaging a plurality of samples for a selected null of a sinc function falling on the spur.
2. The method of claim 1, wherein a frequency of an IF signal used in the frequency sweep a default frequency, and further comprising: identifying frequencies within the frequency sweep at which a crossover spur will occur; and modifying the parameters for a frequency of the frequency sweep at which a crossover spur will occur so that a frequency of the IF signal generated at the frequency is offset from the default frequency.
3. The method of claim 1, wherein received input further includes a noise bandwidth or a number of samples.
4. The method of claim 1, wherein modifying the parameters for an identified frequency of the frequency sweep includes modifying the number of the plurality of samples obtained at the identified frequency.
5. A system for eliminating spurs in measurements of an electrical response of a device under test (OUT), comprising: a measuring instrument including a mixer and a receiver, wherein the measuring instrument is configured to generate, via the mixer, an intermediate frequency (IF) signal for use by the receiver from a radio frequency (RF) signal and a local oscillator (LO) signal; a non-transitory computer readable storage medium having instructions stored thereon which when executed cause the measuring instrument to perform a frequency sweep on a device under test (DUT), the instructions including receiving input for generating a frequency sweep at the measuring instrument, wherein the received input includes start frequency and end frequency, wherein a measurement for each frequency of the frequency sweep is obtained by averaging of a plurality of samples obtained at that frequency, generating parameters for the frequency sweep, including a number of the plurality of samples obtained at each frequency of the frequency sweep, based on the received input; identifying frequencies within the frequency sweep at which spurs will occur due to the measuring instrument, and modifying the parameters for an identified frequency of the frequency sweep at which a spur occurs so that a measurement for the identified frequency is obtained by averaging a plurality of samples for a selected null of a sinc function falling on the spur.
6. The system of claim 5, wherein a frequency of an IF signal used in the frequency sweep a default frequency, and wherein the non-transitory computer readable storage medium has instruction stored thereon which when executed cause the measuring instrument to perform a frequency sweep on a device under test (DUT), the instructions including identifying frequencies within the frequency sweep at which a crossover spur will occur; and modifying the parameters for a frequency of the frequency sweep at which a crossover spur will occur so that a frequency of the IF signal generated at the frequency is offset from the default frequency.
7. The system of claim 5, wherein received input further includes a noise bandwidth or a number of samples.
8. The system of claim 5, wherein modifying the parameters for an identified frequency of the frequency sweep includes modifying the number of the plurality of samples obtained at the identified frequency.
9. A non-transitory computer readable storage medium having instructions stored thereon which when executed cause a measuring instrument including a receiver and a mixer configured to generate an intermediate frequency (IF) signal for use by the receiver from a radio frequency (RF) signal and a local oscillator (LO) signal to perform a frequency sweep on a device under test (DUT), the instructions comprising: receiving input for generating a frequency sweep at the measuring instrument; wherein the received input includes start frequency and end frequency; wherein a measurement for each frequency of the frequency sweep is obtained by averaging of a plurality of samples obtained at that frequency; generating parameters for the frequency sweep, including a number of the plurality of samples obtained at each frequency of the frequency sweep, based on the received input; identifying frequencies within the frequency sweep at which spurs will occur due to the measuring instrument; and modifying the parameters for an identified frequency of the frequency sweep at which a spur occurs so that a measurement for the identified frequency is obtained by averaging a plurality of samples for a selected null of a sinc function falling on the spur.
10. The non-transitory computer readable storage medium of claim 9, having instructions stored thereon which when executed cause the measuring instrument to perform a frequency sweep on a device under test (DUT), the instructions further including identifying frequencies within the frequency sweep at which a crossover spur will occur; and modifying the parameters for a frequency of the frequency sweep at which a crossover spur will occur so that a frequency of the IF signal generated at the frequency is offset from the default frequency.
11. The non-transitory computer readable storage medium of claim 9, wherein received input further includes a noise bandwidth or a number of samples.
12. The non-transitory computer readable storage medium of claim 9, wherein modifying the parameters for an identified frequency of the frequency sweep includes modifying the number of the plurality of samples obtained at the identified frequency.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Further details of the present invention are explained with the help of the attached drawings in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION
(9) The following description is of the best modes presently contemplated for practicing various embodiments of the present invention. The description is not to be taken in a limiting sense but is made merely for the purpose of describing the general principles of the invention. The scope of the invention should be ascertained with reference to the claims. In the description of the invention that follows, like numerals or reference designators will be used to refer to like parts or elements throughout.
(10) It would be apparent to one of skill in the art that the present invention, as described below, may be implemented in many different embodiments of hardware, software, firmware, and/or the entities illustrated in the figures. Further, the frequencies given for signals generated and/or used, and the values for electronic components (e.g., resistors, capacitors, etc.) in the figures and description are merely exemplary. Any actual software, firmware and/or hardware described herein, as well as any frequencies of signals generated thereby and any values for electronic components, are not limiting of the present invention. Thus, the operation and behavior of the present invention will be described with the understanding that modifications and variations of the embodiments are possible, given the level of detail presented herein.
(11)
(12) Synchronization using the time base signal allows the first mixer to generate a resulting incident IF signal having a reliable frequency of 100 kHz at a known phase. A synchronous detector (see
(13) As will be appreciated by one skilled in the art, where the single port reflectometer is used in combination with another reflectometer, or where the VNA is a two-port NINA, additional signals can be downconverted and measured to produce S21 and S22 signals. Likewise, additional ports can allow further measurements. For example, a four-port NINA connected with a four-port network can be used to obtain measurements for a 44 scattering matrix.
(14)
(15) As shown, the synchronous detector includes a set of four sample-and-hold (S/H) circuits (122a-122d), each triggered by a pulse (SI-S4) signaling the S/H circuits to sample the IF signal at each frequency interval and hold the sampled value at a constant level for a specified minimum period of time. As shown, the S/H circuits sample voltages V.sub.A, V.sub.B, V.sub.C and V.sub.D at 90 degree intervals. As used hereinafter, samples from a set of S/H circuit for a single period of the IF signal will be referred to as a single cycle sample set. At a frequency of 100 kHz for the IF signal, the pulses operate at a 400 kHz rate (i.e., every 2.5 s).
(16) In other embodiments, the synchronous detector can include, for example, additional S/H circuits sampling at different degree intervals along a cycle of the IF signal so that the single cycle sample set includes additional samples (e.g., 5 or 8 samples). A single cycle sample set of four samples enables simple calculation of magnitude and phase without using sine and cosine lookup tables, for example.
(17) A synchronous detector allows measurement of both real and imaginary components of the IF signal to enable calculation of magnitude and phase using incident and reflected signals. Likewise, calculation of magnitude of transmitted signals received from other signal sources can be obtained and, where the receiver is synchronized with the source of the transmitted signals, calculation of phase of the transmitted signals can also be obtained.
(18) For a single cycle sample set of four samples, magnitude can be calculated based on the sampled voltages using the formula
(19)
(20) Phase can be calculated based on the sampled voltages using the formula
(21)
(22) Referring to the exemplary sampled IF signal shown in
(23) The number of cycle sample sets of the IF signal at a given frequency step can be selected by a user or determined based on the selected (or predefined) noise bandwidth of the set of arbitrary test frequencies. The calculations from the cycle sample sets are averaged to obtain a measurement, e.g., a1, b1, from which an S-parameter can be calculated, e.g., S11=b1/a1.
(24) Referring again to
(25) Referring to
(26) In general, spur avoidance can be implemented by placing an interfering spur far outside an IF band pass. This forces an IF filter that is wider than necessary to accommodate the new IF frequency when a spur is present. This extra bandwidth allows excess noise into the analog-to-digital (A/D) converter as well as increased circularity errors in synchronous detection used in VNA receivers.
(27) Integer boundary spurs generated within synthesizers can be avoided, for example, by changing the frequency of the time base signal so that the integer and fraction are changed. Alternatively, if the LO synthesizer is generating the spur, the frequency of the LO signal can be changed along with the frequency of the IF signal for the same RF frequency, without changing the time base signal, with the result being a change in the frequency of the IF signal, which can be adjusted for in the A/D converter.
(28) However, if a spur is generated by the RF synthesizer and the frequency of the time base signal is not changed, a change in the frequency of the LO signal will not eliminate the spur and changing the frequency setting of the RF output signal will cause the set of arbitrary test frequencies to not be completed for each defined frequency step.
(29) Embodiments of systems and methods in accordance with the present invention can be applied to eliminate or reduce the effect of spurs on measurement using averaging with specific null selection.
(30) As described above, averaging can be used to reduce noise bandwidth in measurements using network analyzers, such as VNAs or scalar network analyzers (SNAs). The higher the number of cycle sample sets used in averaging, the lower the noise bandwidth. However, the presence of a spur can introduce noise to the averaging measurement.
(31) Referring to
(32)
The frequency (F.sub.3dB) for the selected or predefined 3 decibel (dB) noise bandwidth at the frequency of the IF signal is
(33)
or +/1/2.sub.tavg centered at the frequency of the IF signal, where t.sub.avg is the average sample period.
(34) Nulls appear at notch frequencies on either side of the intermediate frequency (IF). The first null appears at a frequency
(35)
or +/1/t.sub.avg centered at the frequency of the IF signal, F.sub.IF. Additional individual nulls (e.g., 2F.sub.null, 3F.sub.null, 4F.sub.null) appear at additional frequencies of +/1/t.sub.avg (e.g., F.sub.IF+/2/t.sub.avg, F.sub.IF+/3/t.sub.avg, F.sub.IF+/4/t.sub.avg, etc.).
(36) The frequency of the IF signal, F.sub.IF, determines the sample time, t.sub.s, for a single period of the IF signal:
(37)
(38) The number of cycle sample sets (N.sub.3dB) used in averaging for a given noise bandwidth for the frequency of the IF signal will be as follows:
(39)
(40) For a selection, n, of null, the number of averages for the selected null frequency starting at +/t.sub.avg repeating every +/nt.sub.avg is given by
(41)
where n=1, 2, 3, 4, etc. Thus, a 1 ms average sample period (t.sub.avg), for example, will produce a 3 dB noise bandwidth frequency of 1 kHz at 100 kHz and nulls at +/1 kHz, +/2 kHz, +/3 kHz, etc.
(42) Systems and methods in accordance with embodiments can enable independent IF bandwidth selection while rejecting known interfering signals. While systems and methods are described herein in the context of VNAs, they can be used in any application that applies signal averaging and notch frequencies simultaneously. Signal processing is transparent to a user (e.g., a technician) and can provide exact interfering signal notch and automatic notch applied to harmonics of an interfering signal.
(43) In accordance with an embodiment, systems and methods can be applied to include nulls for spurs having frequency F.sub.spur for arbitrary bandwidth selection or other arbitrary input selection, such as cycle sample set size selection or frequency step size selection. For the purpose of identifying nulls for spurs, an integer number of periods for a given spur for the frequency of the IF signal can be obtained using
(44)
(45) For the sake of example, an arbitrary input selection will be described as bandwidth selection. If N.sub.3dB is a factor of N.sub.spur, then one of the recurring nulls will fall on F.sub.spur. In accordance with an embodiment, a table or manifest of RF frequencies can be assembled identifying occurrences of spurs and identifying an adjusted number of cycle sample sets (N.sub.3dBA) for a null which falls on the spur for a selected or predetermined noise bandwidth at those identified occurrences of spurs. A set of arbitrary test frequencies can be modified based on the adjusted number of cycle sample sets (N.sub.3dBA). To identify a recurring null that will fall on each F.sub.spur, the following calculations can be applied.
(46) Calculation 1:
(47)
where INT is a floor function that returns the greatest integer less than or equal to the value it acts on.
(48) Calculation 2:
(49)
(50) If N.sub.3dB<N.sub.spur then N.sub.3dB=N.sub.spur, else N.sub.3dB=calculation 3.
(51) Calculation 3:
(52)
(53) Calculation 4:
(54)
(55) For example, where F.sub.IF=100 kHz F.sub.spur=7.7 kHz, Table 1 lists results for a small set of exemplary frequencies for the 3 decibel (dB) noise bandwidth (F.sub.3dB) for use in adjusting a set of arbitrary test frequencies for the RF frequency at which the spur occur.
(56) TABLE-US-00001 TABLE 1 F3dB N3dB Nspur N3dBA F3dBA 1 100000 13 99996 1.00004 10 10000 13 9997 10.003 100 1000 13 1001 99.9001 300 333 13 338 295.858 500 200 13 195 512.8205 1000 100 13 104 961.5384 3000 33 13 39 2564.103 5000 20 13 26 3846.154 10000 10 13 13 7692.308
(57) Thus, for the table above, if a F3 dB of 1000 Hz is selected, the set of arbitrary test frequencies will be adjusted to obtained 104 calculations, rather than 100 calculations. At 104 calculations, the null will fall on a spur when obtaining 104 calculations, and the 3 dB bandwidth frequency will be slightly shifted to 961.5384 Hz. The adjustment in calculations can be transparent to the user performing a frequency sweep while producing results where spurs are reduced or eliminated.
(58) As described above, in other embodiments, inputs can include a start frequency, end frequency and an additional input other than frequency bandwidth, for example single cycle sample set size selection or frequency step size.
(59)
(60) Spur Elimination for Network Analyzer Operation Near IF
(61) For handheld measurement instruments, such as a handheld VNA, the size and weight of the measurement instrument must be taken into account and filters are typically eliminated for lack of space. Such instruments can comprise single conversion receivers that produce mixing spurs at low RF frequencies. The mixing spurs are produced by the LO and RF signals themselves mixing with each other, unlike the integer boundary spurs described above, which can be generated within synthesizers.
(62) Referring to
(63)
When non-symmetry is included the multiplying function is
(64)
(65) These mix products have no signal to mix with if the input RF is a pure sine wave. When the input signal is a square wave including some asymmetry, mixing spurs can be generated at certain frequencies of RF signals. The mixing spurs occur at low frequencies and start to disappear at higher frequencies, for example over about 1 MHz for mixers that are designed to generate IF signals of 100 kHz. An example of a spurious response is shown in Table 2.
(66) TABLE-US-00002 TABLE 2 Mix (N M) F.sub.RF Level dBc 3 1 F.sub.IF 1 0 4 2 3/2 F.sub.IF 30 5 3 2 F.sub.IF 1/3 1/3 19 6 4 5/2 F.sub.IF 30 7 5 3 F.sub.IF 1/25 28 8 6 7/2 F.sub.IF 9 7 4 F.sub.IF 1/49 34 10 8 9/2 F.sub.IF 11 9 5 F.sub.IF 1/81 38 12 10 11/2 F.sub.IF 13 11 6 F.sub.IF 1/121 42 14 12 13/2 F.sub.IF 15 13 7 F.sub.IF 1/169 45 16 14 15/2 F.sub.IF 17 15 8 F.sub.IF 1/225 47 18 16 17/2 F.sub.IF 19 17 9 F.sub.IF 1/289 49 20 18 19/2 F.sub.IF 21 19 10 F.sub.IF 1/361 50
(67) As shown, the mix of harmonics for the RF signal and LO signal is represented as NM, with N being a harmonic of the RF signal and M being a harmonic of the LO signal. As shown, the fifth harmonic of the RF signal and the third harmonic of the LO signal (53) produce a spur at 19 decibels below carrier (dBc), which would appear large on a display of the measurement instrument.
(68) The spur occurs at a frequency, F.sub.spur, given by the formula
F.sub.spur=5(F.sub.RF)3(F.sub.LO)
For an RF frequency of 180 kHz and an LO frequency comprising a square wave at 280 kHz, the mixer produces an IF signal having a frequency of 100 kHz and a spur having a frequency of 5*(180 kHz)3*(280 kHz), or 60 kHz. The output of the mixer is therefore an IF signal having a frequency of 100 kHz and a spur at 60 kHz.
(69) Given the high noise level of the spur at the 53 mix, it would be desirable to eliminate the spur. The 53 mix is given below in Table 3 for RF signal frequencies ranging from 180 kHz to 220 kHz at increments of 5 kHz.
(70) TABLE-US-00003 TABLE 3 F.sub.RF F.sub.LO F.sub.IF F.sub.spur spur 180 280 100 60 40 185 285 100 70 30 190 290 100 80 20 195 295 100 90 10 200 300 100 100 0 Crossover spur 205 305 100 110 +10 210 310 100 120 +20 215 315 100 130 +30 220 320 100 140 +40
(71) As can be seen, the delta between the frequency of the spur and the frequency of the IF signal decreases and increases as the sweep progresses. At an RF signal frequency of 200 kHz, a crossover spur is produced at a frequency identical to the frequency of the IF signal. To apply methods as described above comprising averaging using measurements causing a null to fall on the spur, further embodiments include adjusting the frequency of the IF signal output by the mixer so that the spur is distanced from the frequency of the IF signal.
(72) The method comprises changing the frequency of the IF signal in the vicinity of the spur by adjusting the frequency of the LO signal input to the mixer so that a frequency of the spur is distanced from the frequency of the IF signal. Changing the frequency of the IF frequency +/10% increases the delta between the frequency of the spur and the IF frequency +/40% as shown in Table 4.
(73) TABLE-US-00004 TABLE 4 F.sub.RF F.sub.LO F.sub.IF F.sub.spur spur 180 280 100 60 40 185 285 100 70 30 190 300 110 50 60 195 305 110 60 50 200 310/290 110/90 70/130 40/+40 205 295 90 140 +50 210 300 90 150 +60 215 315 100 130 +30 220 320 100 140 +40
(74) As can be seen, there still remains a spur which will cause unstable measurements when a receiver is used as a downconverter in the measurement instrument. This is due to the nondeterministic nature of the phase of the spurious signal during calibration and measurement. Methods as described above in accordance with embodiments can then be applied to determine a simple variable notch frequency centered at the F spur offset.
(75) Systems and methods in accordance with embodiments can allow narrow IF pass band filtering and spur elimination. A spur avoidance algorithm can be applied to reduce or eliminate close in near IF spurs. Spurs can be eliminated with fast, real time calculation applying the algorithm to reduce noise by 10 Log # averages. The algorithm can further enable tracking of the spurs. In accordance with an embodiment, an algorithm can be implemented in software for use in a VNA, and can be applied for wide operation ranges, e.g. from 150 KHz to 6 GHz.
(76) Averaging a signal will result in a frequency response following the sinc function resembling that of
(77)
(78) Parameters of the frequency sweep are then modified for those test frequencies at or near each crossover spur so that the LO signal generates a modified IF signal that has a frequency that is offset from the target frequency of the IF signal used as the default parameter of the frequency sweep so that the spur that was originally a crossover spur (and optionally nearby spurs) has a frequency that is offset from the frequency of the IF signal. The A/D clock is modified to compensate for the offset frequency of the modified IF signal (Step 410). Parameters of the frequency sweep are then modified for those test frequencies at which each spur will occur so that a null for measurements at those test frequencies falls on the spur (Step 412).
(79) The foregoing description of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations will be apparent to the practitioner skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention for various embodiments and with various modifications that are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
(80) The foregoing description of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations will be apparent to the practitioner skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention for various embodiments and with various modifications that are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.