Many kinds of test apparatus receive, at various times, input signals of differing strengths. Often the test apparatus must be designed to give accurate test outputs when working with such input signals, sometimes over a wide range of signal strengths. For example, a voltmeter might be required to measure accurately any voltage from 0.01 to 1,000 volts, a range of six orders of magnitude.
There are various ways to configure a test apparatus so that it can accommodate signals of differing strengths. One way to do this is to provide a manual attenuator for the user. There are several drawbacks to this approach, one of which is that manual setting of attenuation can be difficult when measuring off the air where parameters of the signal may be constantly changing. Another way is to provide some kind of automatic attenuation whereby the test apparatus adjusts its sensitivity to the magnitude of the signal being presented at an input port.
Some test instruments, spectrum analyzers for example, work with RF signals. In such instruments, components that can be overloaded or otherwise adversely affected by large signals are front end attenuator stages, RF switches, RF preamplifiers, and first mixers in RF tuners. IF stages can also be affected, but in instruments in which IF signals are measured by means of an analog-to-digital converter (ADC), detection of an overload condition is more evident. In some situations, signals that are outside the IF bandwidth can cause subtle to serious measurement errors without the knowledge of the user. It is therefore desirable to provide automatic attenuation to keep the signal in a range that can be accommodated by the instrument without any action by the user.
One kind of automatic attenuation is called autoranging. The goal of an autorange function in such an instrument is to attenuate any large RF signals sufficiently as to not cause compression in the “front end” (that is, in the input stages of the instrument). Theoretically, it would be possible to accomplish autoranging with an electromechanically switched attenuator, but in practice the switches wear out quickly. Therefore an electronic attenuation system would be preferable.
The dominant compression mechanism in the front end is usually the first mixer. It has been shown that the 1 dB compression point varies only slightly with frequency when referenced to the first IF signal level and varies by 10 to 15 dB referenced to the RF input due to frequency-dependent losses in the RF stages that precede the mixer.
One autorange solution uses broadband RF detectors in the RF front end section to detect signal level. The output of the detector controls an electronic attenuator. This arrangement has the disadvantage that an extra guard band must be built in to handle frequency-related losses in the front end and non-constant frequency response of the detector itself, as described previously. The result could be too much attenuation, which has the effect of degrading the dynamic range of the instrument.
Further limitations and disadvantages of conventional and traditional approaches will become apparent to one of skill in the art, through comparison of such systems with some aspects of the present invention as set forth in the remainder of the present application with reference to the drawings.
In view of the above, examples of systems consistent with the present invention for tuning a signal comprise an input for receiving an input signal. The system also includes an adjustable attenuator for attenuating the input signal. A mixer combines the input signal with a tuning frequency signal to generate a mixed signal. A band pass filter generates a filtered signal at an intermediate (“IF”) frequency. The system includes a signal detector for detecting an amplitude of the input signal and a controller for adjusting the adjustable attenuator in response to the amplitude of the input signal.
Various advantages, aspects and novel features of the present invention, as well as details of an illustrated embodiment thereof, will be more fully understood from the following description and drawings.
Other systems, methods and features of the invention will be or will become apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the accompanying claims.
The invention can be better understood with reference to the following figures. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. In the figures, like reference numerals designate corresponding parts throughout the different views.
In the following description of the preferred embodiment, reference is made to the accompanying drawings that form a part hereof, and which show, by way of illustration, a specific embodiment in which the invention may be practiced. Other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention.
Examples of the present invention may find advantageous use in any apparatus, system or method that processes electrical signals, signals containing radio frequency (“RF”) signals in particular. The following description uses a spectrum analyzer as an example, but any apparatus or device that tunes signals may also be used. A spectrum analyzer is typically used to plot the frequency components of a signal on a display. General operation of spectrum analyzers is well known in the art. The typical display is a plot of amplitudes against a range of frequencies. Frequency components of the input signal, fSIG, typically appear as spikes or signals at individual frequency values along an x-axis.
The first mixer 124 generates a mixed signal formed by combining the input signal, fSIG, and the local oscillator signal, fLO1 The mixed signal is coupled to a first intermediate frequency (“IF”) stage 132. The first IF stage 132 includes a band-pass filter having a center frequency indicated as an IF frequency, fIF. The first IF stage 132 outputs a filtered signal to a second mixer 134. The second mixer 134 mixes the filtered signal with a second signal, fLO2, generated by a second local oscillator 136 to produce a second mixed signal. The second mixed signal is filtered at a second IF stage 138 by a second band-pass filter having a center frequency, fIF2. The output of the second IF stage 138 is a second filtered signal and as the local oscillator signal, fLO1, sweeps through its entire tuning range, the second filtered signal represents the various frequency components of the input signal, fSIG. These components are captured using an analog-to-digital converter (“ADC”) 140 and may be plotted against the tuning frequency on a display. The signal output from the ADC 140 is a digital value that is input to a scaling function 142 and then to a digital signal processor 150 for processing before it gets plotted as a signal scan on a graphical user interface (“GUI”) 170 by a controller 160.
The signal scan that appears on the display of the GUI 170 follows the range of frequencies used as the tuning frequency. The first local oscillator 130 generates the local oscillator signal, fLO1, along a tuning frequency range in a manner dictated by a program executed by the controller 160. For example, the controller 160 may have the first local oscillator 130 generate the local oscillator signal, fLO1, by starting at a first frequency and sweeping, or stepping, up or down to a second frequency over the tuning frequency range. The controller 160 may generate a sawtooth or ramping signal that drives the first local oscillator 130, which may be a voltage-controlled oscillator. The controller 160 may be a central processing unit (“CPU”) that provides functions described herein under program control in combination with supporting circuitry. In an alternative example, the controller may be replaced by a ramp generator, and/or suitable circuitry.
The spectrum analyzer 100 of
f
SIG
=f
LO1−(fLO2−fIF2) (1)
The spectrum analyzer 100 in
At the second IF stage 238, however, the filtered signal is coupled to an amplifier 280 and detector 282, which make up a logarithmic detector in the example shown in
The filtered signal from the second IF stage 238 is also coupled to ADC 240 and may be plotted against the tuning frequency on a display. The signal output from ADC 240 is a digital value that is input to a scaling function 242 and then to a digital signal processor 250 for processing before it gets plotted as a signal scan on GUI 270 by the main CPU 262.
In one example of an embodiment, the local CPU 260 may adjust the adjustable attenuator 220 to achieve a predetermined constant signal level. For signals outside the analyzer's 1st IF bandwidth, the first mixer is the dominant source of compression and its characteristics are known by the local CPU 260. If different measurement modes are desired to allow the user to select between optimizing single tone dynamic range, two tone dynamic range or just pure sensitivity at the expense of increased compression, then the main CPU 262 may communicate information relating to the different measurement modes to the local CPU 260. This may entail communicating information at a high level, e.g. “use sensitivity mode”, or the main CPU 262 may send a specific amplitude threshold to the local CPU 260, which it may then use to set the adjustable attenuator 220. The main CPU 262 may be used to provide other information relating to the adjustment of the attenuator 220. Even though the mixer and first IF amp may be protected from out of band signals, it does not necessarily mean that the rest of the signal path is protected from in band signals. Since these signals are measured by the measurement ADC, the main CPU 262 may evaluate whether or not the in band signal required more or less front end attenuation.
The method in
One of ordinary skill in the art will appreciate that the change of the local oscillator frequency at step 316 may proceed as a sweep through the range, or as a process of stepping through the frequency range. One of ordinary skill in the art will also appreciate that the method shown in
The analyzer 400 in
The filtered signal from either the low-band or high-band band-pass filter is then mixed with a second local oscillator signal generated by a second local oscillator 440. The filtered signal in the high-band mode is mixed at mixer 438 with a second local oscillator signal, generated by the second local oscillator 440 at about 3840 MHz and then divided by 4 before it is mixed with the filtered signal. The second local oscillator 440 may be configured to generate the second local oscillator signal at a frequency of about 3630 MHz, which is mixed at mixer 439 with the input signal in the low-band mode. The second mixed signal (in either the high-band mode or the low-band mode) is then coupled to a second IF stage 441 where it is filtered by a second stage band-pass filter 460 around a frequency of 195 MHz to generate a second filtered signal. The second filtered signal is mixed with a third local oscillator signal generated by a third local oscillator 450 at a second stage mixer 462 to generate a third mixed signal. The third mixed signal is coupled to a third IF stage 451, where it is filtered at a low-pass filter 464 with a cutoff frequency of 60 MHz. The tuning equation for the analyzer 400 in
100 KHz-2700 MHz:
−RF+LO1−LO2+LO3=45 MHz=3rd IF
−RF+LO1−3630 MHz+240 MHz=45 MHz
−RF+LO1=3435 MHz=1st IF
2700 MHz-6000 MHz:
−RF+LO1−LO2+LO3=45 MHz=3rd IF
−RF+LO1−960 MHz+240 MHz=45 MHz
−RF+LO1=765 MHz=1stIF
In the third IF stage 451, the signal at the output of the low-pass filter 464 is coupled to digital interface section 466 and a signal detector 480. In the digital interface section 466, the signal is processed by a series of filters 468. The signal is converted to a digital signal representation of the analog signal for further analysis and processing by the processor. The signal detector 480 measures the level of the input signal. The analog level of the input signal is converted to a digital signal level by a second ADC 484. The processor checks the level against a threshold indicative of a signal level that would cause compression in the front end.
The front-end 402 of the analyzer in
The filter section employed at any given time is determined by the mode selected by a user of the analyzer 400. The mode may be implemented and switched with switches 420 controlled by the processor. In the high-band mode, the signal proceeds through an attenuator section 408 and is coupled to the high-band front-end filter section 422. The high-band front end filter section 422 in
The front-end 402 includes components up to and including a first front-end mixer 434 and second front-end mixer 436. The first front-end mixer 434 mixes the RF input signal received from the high-band pass filter section 422 with a local oscillator signal generated by a first local oscillator 430 when the analyzer is in a high-band mode. The second mixer 431 mixes the RF input signal received from the low pass filter section 428 with the local oscillator signal when the analyzer is in a low-band mode.
The first local oscillator 430 details are shown in
The output of the first or second front end mixers, 434 or 436, is coupled to a first IF section 431. The first front end mixer 434 is connected to a high-band first IF section 433, which includes a band-pass filter centered at 765 MHz. In the high-band mode, the signal is filtered at the 765 MHz band-pass filter and mixed at the first IF section mixer 438 with a second IF signal generated by a second local oscillator 440.
The mixed signal output from either first front-end mixer 434 or second front-end mixer 436 is coupled to either a first section high-band IF filter or a first section low-band IF filter, depending on the analyzer mode. The mixed signal is filtered and the filtered signal is coupled to either a first section first mixer in the high-band mode or a first section second mixer in the low-band mode. The filtered signal is mixed with a second local oscillator signal generated by a second local oscillator. The second local oscillator 440 details are shown in the top center section of
In the analyzer in
In some embodiments, a single printed circuit board assembly includes local oscillators 430, 440 and 450, an RF tuner 410, first and second IF stages 433 and 441, the detector 468, and an ADC 472. All these devices are controlled by a standalone microcontroller (not shown). The microcontroller can perform very fast multi-band tuning sweeps while sampling the IF detector. It is also possible to detect multiple large signals and increase input attenuation as appropriate. The IF detector 400 also has sufficient dynamic range that small signals can be detected and the RF tuner 410 can be controlled for even better system sensitivity. Since the autorange sweeps can occur autonomously, the processing can be overlapped with other work being performed by a main processor (not shown) elsewhere in the instrument, for example computing fast Fourier transforms (“FFTs”) thereby minimizing any impact on instrument throughput.
The signal level as detected by the detector 468 may also be used to adjust digital gain in a digital down converter (DDC) (not shown). The DDC converts the output of the third IF stage 451 as provided by an ADC 472 into a complex I-Q waveform. Too much digital gain causes numerical overloads. Too little gain causes quantization noise. Setting the gain properly for the input signal is essential to achieve the best sensitivity without overloading the DDCs numerical processing. Since only signals within the analog bandwidth of the IF amplifiers are of concern, the IF signal level is only sampled when the LO is tuned to the measurement frequency.
Alternatively, the DDC gain can be adjusted by looking at the output of the main measurement ADC. This would require a full rate I/Q conversion and detection of the ADC data. The resulting amplitude can then be used to set the DDC gain.
Although the above description refers to the configuration of parties engaged in wireless communication, the present invention is not limited to the particular aspects described. Variations of the examples provided above can be applied to a variety of network arrangements and technologies without departing from the spirit and scope of the present invention.
Persons skilled in the art will understand and appreciate, that one or more processes, sub-processes, or process steps described may be performed by hardware or software, or both. Additionally, the invention may be implemented completely in software that would be executed within a microprocessor, general-purpose processor, combination of processors, DSP, or ASIC. The invention may be realized in a centralized fashion in at least one computer system, or in a distributed fashion where different elements are spread across several interconnected computer systems. If the process is performed by software, the software may reside in software memory in the controller. The software in software memory may include an ordered listing of executable instructions for implementing logical functions (i.e., “logic” that may be implemented either in digital form such as digital circuitry or source code or in analog form such as analog circuitry or an analog source such an analog electrical, sound or video signal), and may selectively be embodied in any computer-readable (or signal-bearing) medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that may selectively fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. In the context of this document, a “machine-readable medium”, “computer-readable medium” or “signal-bearing medium” is any means that may contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer readable medium may selectively be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific examples, but nonetheless a non-exhaustive list, of computer-readable media would include the following: an electrical connection (electronic) having one or more wires; a portable computer diskette (magnetic); a RAM (electronic); a read-only memory “ROM” (electronic); an erasable programmable read-only memory (EPROM or Flash memory) (electronic); an optical fiber (optical); and a portable compact disc read-only memory “CDROM” (optical). Note that the computer-readable medium may even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
While the present invention has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes can be made and equivalents can be substituted without departing from the scope of the present invention. It will be understood that the foregoing description of an implementation has been presented for purposes of illustration and description. It is not exhaustive and does not limit the claimed inventions to the precise form disclosed. Modifications and variations are possible in light of the above description or may be acquired from practicing the invention. The claims and their equivalents define the scope of the invention.
Various modifications to the present invention will become apparent to those skilled in the art from the foregoing description and accompanying drawings. Accordingly, the present invention is to be limited solely by the scope of the following claims.
This application claims priority to provisional patent application Ser. No. 60/722,251, titled “Autoranging in Test Apparatus,” by Thomas A. Gray and Robert Buck, filed Sep. 30, 2005, and incorporated herein by reference and from PCT application WO US06/026,498 filed Jun. 30, 2006.