The performance of a spectrum analyzer can be degraded by noise that is inherent to the spectrum analyzer. For example, the noise floor of a spectrum analyzer can reduce measurement accuracy if this noise is not isolated from signal measurements that are acquired by the spectrum analyzer. A spectrum analyzer's noise can also limit measurement sensitivity when the noise is sufficiently high relative to the signals being measured to cause the signals to be masked by the noise and go undetected by the spectrum analyzer. Unfortunately, decreasing the noise of the spectrum analyzer to improve measurement accuracy and measurement sensitivity can be costly or difficult to achieve, due to inherent noise within the components of the spectrum analyzer that contribute to the spectrum analyzer's noise. Accordingly, there is motivation to compensate measurements made by a spectrum analyzer for the noise of the spectrum analyzer.
One compensation technique characterizes the noise of the spectrum analyzer and then subtracts the noise from subsequent signal measurements that are performed by the spectrum analyzer. However, this noise characterization accommodates only the particular operating state of the spectrum analyzer at which the signal measurements are acquired. Therefore, in order to compensate for noise in various operating states of a spectrum analyzer using this technique, the noise characterization must be performed at those various operating states, which can increase measurement time for the spectrum analyzer.
A noise compensation method according to embodiments of the present invention enables measurements acquired by a spectrum analyzer to be corrected for noise contributed to the measurements by the spectrum analyzer. The correction is based on an established mapping between characterized noise of the spectrum analyzer and operating conditions of the spectrum analyzer, such as gain correction, that is applied to the spectrum analyzer.
A gain element 14 having adjustable gain is coupled to the output of the signal path 12. The gain element 14 is typically implemented using one or more amplifiers with adjustable gain, one or more attenuators with adjustable attenuation, or one or more amplifiers cascaded with one or more attenuators with adjustable attenuation. However, any suitable device, element or system having sufficient adjustment range to accommodate for unflatness in the amplitude response A(f) of the signal path 12 versus frequency f is alternatively used to implement the gain element 14.
In a typically spectrum analyzer 10, an envelop detector DENV is coupled to the gain element 14 through a resolution bandwidth filter RBW. One or more display detectors 18 are coupled to the output of the envelope detector DENV through a video filter VBW. A processing unit 16, including a memory 15 and processor 17, receives a detected signal 13 from the display detectors 18 and performs processing of the detected signal 13 to display the spectrum of the input signal 11 on a display or other output device 19. The display detectors 18 typically include one or more of an average power detector DPwrAVE, a peak detector DPEAK and a logarithmic averaging detector DlogAVE, although other types of display detectors 18 are alternatively or additionally included in the spectrum analyzer 10.
Noise sources n1, n2 are also included in the simplified block diagram of the spectrum analyzer 10. The noise source n1 represents the noise of the spectrum analyzer 10 that is in the signal path 12 prior to the gain element 14, whereas the noise source n2 represents the noise of the spectrum analyzer 10 that is contributed after the gain element 14. Since noise is contributed before the gain element 14 by the noise source n1, and after the gain element 14 by the noise source n2, noise referred to the input of the signal path 12 for example, is dependent on the gain setting of the gain element 14. A linear expression N=G(f)*n1+n2 can be used to describe the relative noise contributions of the noise sources n1, n2 to the total noise N referred to the input of the signal path 12 when the gain of the gain element 14 is set to the gain G. The gain G of the gain element 14 is generally a function of frequency f. A noise compensation method 20 according to embodiments of the present invention enables measurements of input signals 11 acquired by the spectrum analyzer 10 to be compensated for the noise N of the spectrum analyzer 10 that is contributed to the measurements.
The gain correction includes settings of the gain G(f) of the gain element 14 at the various frequencies f within the operating frequency range of the spectrum analyzer 10 to accommodate for unflatness and other variations in the amplitude response A(f) of the spectrum analyzer 10. In one embodiment, the gain correction is established by applying an amplitude-leveled signal to the input of the spectrum analyzer 10 and then varying the gain G of the gain element 14 until the amplitude of the resulting signal at the output of the gain element 14 reaches a predetermined amplitude level that causes the amplitude response A(f) to be flat over the operating frequency range. The gain G of the gain element 14 applied at each frequency f to achieve this condition is recorded, for example, in the memory 15 of the processing unit 16 to form the gain correction G(f). The recorded gain can be the actual gain G(f) of the gain element 14, or it could be an indirect indicator of the gain G, such as the level of a drive signal d(f) that sets the gain G of the gain element 14 at each frequency f.
In an alternative embodiment of the present invention, the gain correction G(f) is established based on the amplitude response A(f) of the signal path 12, for example, by subtracting the amplitude response A(f) from an amplitude reference AR (indicated in
The measurements can also have non-uniform spacing. For example, fewer measurements made at lower frequencies can accurately characterize the amplitude response A(f) at lower frequencies because the amplitude response A(f) typically does not fluctuate as rapidly, versus frequency f, at lower frequencies than at higher frequencies. From the measurements, the amplitude response A(f) of the signal path 12 can be established using look-up tables, interpolation, curve-fitting or other suitable techniques.
The amplitude response A(f) of the signal path 12 is alternatively derived from simulations or approximations of the amplitude response A(f) of the signal path 12 versus frequency f, or from a combination of measurements of the signal path 12 and models of the signal path 12 that are based on the measurements. Linear expressions, polynomials, or other functions can also be used to estimate the amplitude response A(f) versus frequency f.
With the gain correction G(f) applied at the various frequencies f within the operating range of the spectrum analyzer 10, a corrected amplitude response ACORR(f) for the spectrum analyzer 10 results, as shown in
Step 24 of the noise compensation method 20 includes establishing a mapping between gain G of the gain element 14 and noise N of the spectrum analyzer 10, where the gain G is obtained base on the established gain correction G(f) versus frequency f and where the noise N is obtained based on the determined noise profile N(f) versus frequency f.
The mapping between the noise N and gain G can then be applied to measurements acquired by the spectrum analyzer 10 in step 26 of the noise compensation method 20. In an example where measurements MPwrAVE(f) of input signals 11 are acquired by the average power detector DPwrAVE of the spectrum analyzer 10, the mapping between the noise N and the gain G established in step 24 of the method 20 can be applied by subtracting, on a linear power scale, the noise N, from the measurements MPwrAve(f) acquired by the spectrum analyzer 10 mapped from the corresponding gains G determined by the gain correction G(f).
In an example where measurements MPEAK(f) of input signals 11 are acquired by the spectrum analyzer using the peak detector DPEAK of the spectrum analyzer 10, the mapping between the noise N and the gain G established in step 24 can be applied by modifying the noise profile N(f) by a correction factor C. The correction factor C equals 10 log10((loge(2πτBWi+e)), where τ is the sweep time with which the measurements are acquired by the spectrum analyzer 10 over the operating range of frequencies f, divided by the equivalent frequency width of the frequency measurement points minus one, and where BWi is the impulse bandwidth of the spectrum analyzer 10, typically 1.499 times the bandwidth of the resolution bandwidth filter RBW when the video bandwidth filter VBW is at its widest setting. Typically the correction factor C is approximately 5 dB. Then, the noise N as modified by the correction factor C, can then be subtracted, on a linear power scale, from the measurements MPEAK(f) acquired by the spectrum analyzer 10 at the corresponding gains G determined by the gain correction G(f).
In an example where measurements MlogAVE(f) of input signals 11 are acquired by the spectrum analyzer using the logarithmic averaging detector DlogAVE within the spectrum analyzer 10, the mapping between the noise N and the gain G established in step 24 can be applied by modifying the noise N by a correction factor of 2.506 dB. The noise N as modified by the correction factor can then be subtracted on a linear power scale from the measurements MlogAVE(f) acquired by the spectrum analyzer 10 at the corresponding gains G established by the gain correction G(f).
In the embodiments of the present invention, a mapping is established between noise N of the spectrum analyzer 10 and gain G of the gain element 14 of the spectrum analyzer 10. According to alternative embodiments of the present invention, mappings can be established between noise N of the spectrum analyzer 10 and settings of a step attenuator in the signal path 12 of the spectrum analyzer 10, since the noise N increases accordingly with increases in the attenuation of the step attenuator. Mappings can also be established between noise N of the spectrum analyzer 10 and the setting of the resolution bandwidth filter RBW in the spectrum analyzer 10, the reference level setting of the spectrum analyzer 10, and any other operating condition or setting of the spectrum analyzer 10 where measurements, models or other determined relationships between the operating condition and the noise of the spectrum analyzer 10 are established.
While the embodiments of the present invention have been illustrated in detail, it should be apparent that modifications and adaptations to these embodiments may occur to one skilled in the art without departing from the scope of the present invention as set forth in the following claims.