LOGICAL TRIGGERING IN THE FREQUENCY DOMAIN
A frequency mask trigger capable of triggering based on a logical combination of two or more areas of a frequency mask transforms a frame of digital data representing an input signal into a frequency spectrum having a plurality of frequency bins, with each frequency bin having a power amplitude value. A frequency mask is defined having a plurality of reference power levels, one reference power level being associated with each frequency bin. Two or more areas of the frequency mask are defined, with each mask area corresponding to one or more of the frequency bins. A violation status is determined for each mask area by comparing all of the power amplitude values within each mask area to the associated reference power level. If any of the power amplitude values within the mask area violates the associated reference power level, then the entire mask area is deemed to be violated. A trigger signal is generated when a logical combination of the violation statuses of the mask areas is satisfied.
Latest TEKTRONIX, INC Patents:
The present invention relates to test and measurement instruments, and more particularly to frequency domain triggers.
BACKGROUND OF THE INVENTIONReal-time spectrum analyzers such as the RSA6100 and RSA3400 families available from Tektronix, Inc. of Beaverton, Oreg. trigger on, capture, and analyze RF signals in real-time. These instruments seamlessly capture RF signals so that, unlike conventional swept spectrum analyzers and vector signal analyzers, no data is missed within a specified bandwidth.
These instruments have the capability to trigger on events which occur in the frequency domain. This capability, known as a “frequency mask trigger,” is described in U.S. Pat. No. 5,103,402. The frequency mask trigger calculates the frequency spectrum of real-time data provided by the instrument's receiver system and then compares the frequency spectrum to a user-defined frequency mask. When the frequency spectrum violates the frequency mask, a trigger signal is generated which causes a seamless block of data representing the received RF signal to be stored containing the triggering event as well what happened immediately before and immediately after the triggering event. In this manner the frequency mask trigger waits for a single specific spectral event to occur.
SUMMARY OF THE INVENTIONIn some instances, a user may want to trigger based on a logical combination of two or more areas of a frequency mask. For example, consider a system in which two signals are used, with each signal being at a different frequency. Either signal may be present at any given time, but it is only an error condition if both signals are present at the same time. A conventional frequency mask trigger cannot detect this error condition, that is, it cannot generate a trigger signal only when both signals are present at the same time, because a conventional frequency mask trigger generates a trigger signal as soon as any point of the frequency mask is violated. A conventional frequency mask trigger does not have the capability to trigger only when the frequency mask is violated at two different locations.
What is desired is a frequency mask trigger capable of triggering based on a logical combination of two or more areas of a frequency mask.
Accordingly, embodiments of the present invention provide a frequency mask trigger capable of triggering based on a logical combination of two or more areas of a frequency mask. A frame of digital data representing an input signal is transformed into a frequency spectrum having a plurality of frequency bins, with each frequency bin having a power amplitude value. A frequency mask is defined having a plurality of reference power levels, one reference power level being associated with each frequency bin. Two or more areas of the frequency mask are defined, with each mask area corresponding to one or more of the frequency bins. A violation status is determined for each mask area by comparing all of the power amplitude values within each mask area to the associated reference power level. If any of the power amplitude values within the mask area violates the associated reference power level, then the entire mask area is deemed to be violated. A trigger signal is generated when a logical combination of the violation statuses of the mask areas is satisfied.
The objects, advantages, and other novel features of the present invention are apparent from the following detailed description when read in conjunction with the appended claims and attached drawings.
Referring now to
Referring now to
A comparator 50 compares each of the power amplitude values within each frequency spectrum to the associated reference power levels and produces a plurality of output signals, with each output signal indicating whether a particular power amplitude value violates an associated reference power level. “Violate” means that the power amplitude value is either greater than or less than the associated reference power level depending on whether the user defines a trigger slope as “positive” or “negative.” The plurality of output signals from the comparator 50 are input to a logic qualifier 52. The logic qualifier 52 determines a violation status for each mask area by examining the output signals of the comparator 50 that correspond to each mask area. If any of the output signals that correspond to a particular mask area indicate that a particular frequency bin is violated, then the entire mask area is deemed to be violated. The logic qualifier 52 generates a trigger signal when a user-specified logical combination of the violation statuses of the mask areas is satisfied. The logical combination may comprise any combination of logical functions such as AND, OR, XOR, NOT, NAND, NOR, XNOR, and so on.
It will be appreciated that various modifications may be made to the trigger generator 40 without departing from the spirit and scope of the invention. For example, in an alternative embodiment, the comparator 50 does not compare all of the power amplitude values within each frequency spectrum, but instead compares only those power amplitude values that correspond to mask areas. In that case, the comparator 50 generates a plurality of output signals that indicate the violation status of the mask areas, and the logic qualifier 52 generates the trigger signal based on a logical combination of those output signals.
In operation, a user may specify the logical combination of the violation statuses of the mask areas that must be satisfied in order to generate a trigger signal. For example, given the frequency mask shown in
More complex logical combinations may be used if more mask areas are added. For example, given the frequency mask shown in
The embodiments described above use a discrete Fourier transform to convert a time domain signal into a frequency spectrum. Alternatively, other transforms may be used such as a Hartley transform or a chirp-Z transform. Additionally, non-transform-based techniques may be used such as a bank of parallel filters, including finite impulse response filters and continuous-time analog filters.
In various embodiments, the trigger generator 40 may be implemented in hardware, software, or a combination of the two, and may comprise a general purpose microprocessor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or the like.
Although many of the parameters described above are described as being “user-specified” or “user-defined,” it will be appreciated that in other embodiments, those parameters may alternatively be determined by a standard or automatically determined by a test and measurement instrument.
Although embodiments of the present invention have application to real-time spectrum analyzers in particular, it will be appreciated that any test and measurement instrument that acquires data in response to a trigger signal may advantageously use a frequency mask trigger capable of triggering based on a logical combination of two or more areas of a frequency mask.
It will be appreciated from the foregoing that the present invention represents a significant advance in the field of frequency domain triggering. Although a specific embodiment of the invention has been illustrated and described for purposes of illustration, it will be understood that various modifications may be made without departing from the spirit and scope of the invention. Accordingly, the invention should not be limited except as by the appended claims.
Claims
1. A test and measurement instrument comprising:
- an input processor for receiving an input signal and producing a digital signal;
- a trigger signal generator for generating a trigger signal based on a logical combination of the violation statuses of two or more areas of a frequency mask; and
- an acquisition memory for storing a seamless block of digital data from the digital signal in response to the trigger signal.
2. The test and measurement instrument as recited in claim 1 wherein the trigger signal generator comprises:
- a time-to-frequency converter for converting a frame of digital data from the digital signal into a frequency spectrum having a plurality of frequency bins, with each frequency bin having a power amplitude value;
- a comparator for comparing the plurality of power amplitude values to an associated plurality of reference power levels that define the frequency mask, and for generating a plurality of output signals, with each output signal indicating whether a particular power amplitude value violates the associated reference power level; and
- a logic qualifier for determining the violation status of the two or more mask areas of the frequency mask by examining the output signals of the comparator that correspond to each mask area, and for generating the trigger signal based on a logical combination of the violation statuses of the two or more mask areas.
3. The test and measurement instrument as recited in claim 1 wherein the trigger signal generator comprises:
- a time-to-frequency converter for converting a frame of digital data from the digital signal into a frequency spectrum having a plurality of frequency bins, with each frequency bin having a power amplitude value;
- a comparator for determining the violation status of the two or more mask areas by comparing those power amplitude values that correspond to the two or more areas of the frequency mask to associated reference power levels, and for generating a plurality of output signals, with each output signal indicating the violation status of one of the two or more mask areas; and
- a logic qualifier for generating the trigger signal based on a logical combination of the output signals of the comparator.
4. The test and measurement instrument as recited in claim 2 wherein the trigger signal generator further comprises a windowing function for windowing the frame of digital data.
5. The test and measurement instrument as recited in claim 3 wherein the trigger signal generator further comprises a windowing function for windowing the frame of digital data.
6. The test and measurement instrument as recited in claim 1 wherein the input processor comprises:
- a mixer for mixing the input signal with a local oscillator signal to produce an intermediate frequency signal;
- a bandpass filter for filtering the intermediate frequency signal to produce a filtered intermediate frequency signal; and
- an analog-to-digital converter for digitizing the filtered intermediate frequency signal to produce the digital signal.
7. The instrument as recited in claim 6 wherein the input processor further comprises an image reject filter for filtering the input signal.
8. The test and measurement instrument as recited in claim 1 wherein the time-to-frequency converter comprises a time-to-frequency transform selected from the group consisting of a discrete Fourier transform, a discrete Hartley transform, and a chirp-Z transform.
9. The test and measurement instrument as recited in claim 1 wherein the time-to-frequency converter comprises a bank of parallel filters selected from the group consisting of finite impulse response filters and continuous time analog filters.
Type: Application
Filed: May 5, 2010
Publication Date: Nov 10, 2011
Applicant: TEKTRONIX, INC (BEAVERTON, OR)
Inventor: JOHN A. DEMENT (WALDORF, MD)
Application Number: 12/774,648