Fully digital spectrum analyzer using time compression and discrete fourier transform techniques
United States Patent 11 1 Lehmann et al.  
  111 3,881,097 51 Apr. 29, 1975 [75] Inventors: Joseph L. Lehmann. Sarasota. Flax.  
 Frank Lynch. Hatboro. Pa.  
 [73] Assignee: Weston Instruments. Inc., Newark.  
  22 Filed: Man-1.1973 21 Appl.N0.:360.098  
  OTHER PUBLICATIONS A. Eberhard. An Optimal Discrete Window for the Calculation of Power Spectra,&#34; IEEE Trans. on Audio &amp; Elec. Feb. I973, pp. 37-43. A. V. Oppenheim, Speech Spectrograms using the FFT.&#34; IEEE Spectrum, Aug. 1970. pp. 57-62.  
 P. D. Welch, The Use of FFT for the Estimation of Power Spectra IEEE Trans. on Audio &amp; Electro.. June 1967. pp. 70-73.  
 Primary Eruminer-Malcolm A. Morrison Assixtunl E.\&#39;uminerDavid H. Malzahn Attorney. Agent, or Firm-William R. Sherman; l. S. Kavrukov I57] ABSTRACT A fully digital spectrum analyzer accepting as an input either an analog signal or a series of digital numbers and using time compression and DFT (Discrete Fourier Transform) techniques to provide the spectral component values of the input signal. Novel tech niques and means are used in obtaining the power values for selected spectral lines and in averaging these power values. Statistically controlled noise is added to the input of the spectrum analyzer to enhance its resolutin beyond the resolution which would be otherwise availahle. Advanced and efficient techniques are used for generating and applying trigonometric functions in the course of finding the real and imaginary part of Fourier transforms. and for providing running averages of the power spectra.  
 27 Claims, II Drawing Figures 26 D/G/TflL lA/PUT SIGNAL Z6 27 Z0 2Q 24 l 1 ANAL-&#39;0 6 flMPL/F/EF, 00A) mun: Mg f fg HVPl/T. ATTEU 3 Illa/5E FUMCTMM .S/GNAL F/LTEE 6505mm? CWVEETEE MULTlPL/ER 32 f 30 .sPECT/PUM POWER MEI/402V HMO AvE/PAw/m S w 5 273 an COMPU77U6 D/A con/veers? NUMER/C CR x y DISPLA Y DISPLAY PLOTTt&#39;E FULLY DIGITAL SPECTRUM ANALYZER USING TIME COMPRESSION AND DISCRETE FOURIER TRANSFORM TECHNIQUES BACKGROUND OF THE INVENTION The invention is in the field of spectrum analyzers and is specifically in the field of real time digital spectrum analyzers.  
  Spectrum analyzers are widely used in many diverse fields, such as vibration studies. radar and sonar return analysis, speech studies and the like. where it is desirable to know the frequency content of signals.  
  Early types of spectrum analyzers are the socalled scanning analyzers which in effect look at an input signal through a narrow band filter to detect the frequency content of the input signal corresponding to the filter bandwidth. The filter may be tunable, or the effect of a tunable filter may be achieved by using a fixed filter in conjunction with a heterodyne system. A major disadvantage of the scanning analyzers is that the filter looks at only one spectral component at a time. If a great number of spectral components are of interest, the analysis time becomes prohibitively long.  
  In order to reduce the analysis time, the single filter of the scanning analyzer can be replaced by a bank of filters, each looking at a different spectral component. Analyzers employing filter banks are faster than single filter analyzers, but are generally inflexible and expensive.  
  In order to reduce the analysis expense and improve flexibility, recent types of spectrum analyzers have used the techniques of time compression analysis and Fast Fourier Transform analysis.  
  Time compression analyzers convert the input signal to digital form and store the digital representation of the input in a memory. The stored digital values are read out a number of times and are applied each time to a heterodyne system of the type discussed above, with the tuning oscillator of the heterodyne system being stepped through the frequency range of interest each time the memory contents are read out. Since the memory is generally read out much faster than the input signal is read into it, the analysis time can be reduced substantially. See, for example, U.S. Pat. No. 3,715,509.  
  In Fast Fourier Transform spectrum analysis, the socalled Cooley-Tukey algorithm is used to find the Discrete Fourier Transform of a sequence of numbers which represent the time history of an input signal. A specially programmed general purpose digital computer may be used, or a special purpose FFT machine can be used to carry out the Fast Fourier Transform analysis of a sequence of numbers. See, for example, U.S. Pat. No. 3,573,446 and U.S. Pat. No. 3,586,843.  
  The desirable characteristics of spectrum analyzers include flexibility, ease of operation, accuracy and low cost. While the recent types of time compression spectrum analyzers and Fast Fourier Transform analyzers meet certain aspects of these desirable characteristics, the need still remains for a spectrum analyzer which utilizes both time compression and Discrete Fourier Transform analysis, which is flexible to allow selected trade-offs between accuracy and speed, and which is easy to operate and uses such techniques and components for processing the input signal that its initial and operational costs are low.  
 SUMMARY OF THE INVENTION The invention is in the field of spectrum analyzers and specifically relates to fully digital spectrum analyzers which use time compression techniques and Discrete Fourier Transform analysis techniques.  
  An object of the subject invention is to provide a spectrum analyzer which is highly flexible to allow for selected trade-offs between speed and accuracy, which is easy to operate and maintain, and which uses advanced techniques and components so as to minimize initial and operational costs. An additional object is to provide a spectrum analyzer with an enhanced resolution.  
  A further object of the invention is to provide simple and efficient method and means for using Discrete Fourier Transforms for deriving the power spectra for a selected number of spectral lines.  
  A still further object of the invention is to provide simple and efficient method and means for averaging the power spectra over a selected interval in a sum mode and, if desired, in an exponential mode.  
  In a specific embodiment of the invention, a timevarying analog signal derived from a source such as a vibration transducer is suitably attenuated or amplified and is filtered, and is then combined with statistically controlled noise prior to conversion to digital form. The selection of the noise parameters is such that the resolution of the conversion to digital form is enhanced andbecomes higher than the resolution which would be otherwise possible. The output of the analog-todigital converter, which may be a single slope A/D converter, is a sequence of digital words which is stored in a first memory as it is generated at the A/D converter. The contents of the first memory are read out rapidly and each of the digital words from that first memory is multiplied by a selected window function which may be one of the conventionally used window functions or may be a special, custom designed window function. The window function multiplied digital words are stored in a second memory. The sequence of words stored in the second memory is then multiplied by trigonometric coefficients generated and used in a novel manner to generate a Discrete Fourier Transform representation of the sequence. This Discrete Fourier Transform representation is used to calculate the power values of a set of spectral lines from the contents of the second memory.  
  The calculated set of power values is stored in an averager memory. Successive sequences are analyzed as described above, and successive sets of power values may be averaged either in a sum mode alone, or in an additional exponential mode, and can be displayed on suitable displays.  
  Specific novel aspects of the invention include the techniques and the means for window function multiplication, for generating Discrete Fourier Transforms, for averaging, and for enhancing resolution by adding statistically controlled noise.  
 BRIEF DESCRIPTION OF THE DRAWINGS FIG. I is a simplified and generalized functional block diagram of the invented spectrum analyzer.  
  FIG. 2 is a more detailed functional block diagram of the spectrum analyzer.  
  FIG. 3 is a timing diagram of signals used in extending the resolution of the spectrum analyzer.  
  FIG. 4 is a plot of the probability density of a noise signal used in enchancing resolution.  
  FIGS. 5 and 6 are plots of the probability density of the noise signal.  
  FIG. 7 is a functional block diagram of the portion of the spectrum analyzer relating to enhancing resolution.  
  FIG. 8 is a block diagram of the portion of the spectrum analyzer relating to calculating power spectra of time compressed signals by Discrete Fourier Transforms.  
  FIG. 9 is a block diagram of the portion of the spectrum analyzer relating to sum mode averaging of power spectra.  
  FIG. I0 is a block diagram of the portion of the spectrum analyzer relating to exponential mode averaging of power spectra.  
  FIG. II is a block diagram of a specific circuit for carrying out Discrete Fourier Transform calculations and for window function multiplication.  
 DETAILED DESCRIPTION Referring to FIG. 1. which is a simplified and abbreviated functional block diagram of the spectrum analyzer. a source provides an analog input signal which may be derived. for example. from a vibration transducer. The signal from the source 20 is generally a continuous analog signal varying in the time domain. The analog signal from the source 20 is suitably amplified or attenuated and filtered at 22, and is then applied to an analog-to-digital converter 24 to be converted into a series of digital words f(n) which are successive samples of the analog signal from the source 20 and represent its time history.  
  Prior to conversion into digital form, the analog signal from the source 20 is combined with statistically controlled noise from a generator 26. As explained in detail below. this addition of statistically controlled noise is used to increase the resolution of the spectrum analyzer over and above what would be otherwise possible.  
  The digital words f(n) are applied sequentially to a memory and a window function multiplier 27 for the purpose of varying the frequency selectivity of the spectrum analyzer by means ofa window function (also called a weighting function or a convolution function). In effect. the output of the converter 24 is amplitude modulated by means of the memory and window function multiplication at 27.  
  If an already digitized input signal is available. as. for example. when the output of a vibration transducer has been previously digitized and stored in a suitable memory. digital words from a source 28 may be applied directly to the memory and window function multiplier 27.  
  The output of the memory and window function multiplier 27 is a sequence of digital words f(n).W(n). These words are sequentially stored in a memory at 30. and the stored words are recirculated a number of times for computing the real and imaginary part of a Discrete Fourier Transform representation of the input signal. each recirculation being for a different one of a selected number of spectral lines distributed uniformly over a selected frequency range.  
  The real and imaginary part of the transform representation for each spectral line are squared and added at 32 to obtain a power spectrum value for the spectral line.  
  If desired, a succession of computed values of the power spectrum for each spectral line may be averaged at 34 either in a sum mode alone. or in an exponential mode which follows a sum mode averaging cycle.  
  The spectra averaged at 34 may be displayed at the numeric display 36, or may be applied to a D/A (digitalto-analog) converter 38 to be displayed in analog form at the CRT display 40 and at the XY plotter 42.  
  As a specific example, assume that an analog input signal from the source 20 is suitably amplified or attenuated and filtered at 22 and is applied to the analog-todigital converter 24. together with suitable statistically controlled noise from 26. The analog signal. as modified by the added noise. is sampled at a suitable rate to generate successive analysis sequences of N digital words f(n), each analysis sequence consisting of 1024 digital words. After suitably combining each of these digital words with a window function at 27, the result is a sequence of I024 digital words f(n).W(n), and these words are stored in the memory at 30. Then, assuming that there are 256 spectral lines of interest. the contents of the memory at 30 are read out and circulated through a suitable arithmetic unit which computes the real part and the imaginary part of a Discrete Fourier Transform representation of the sequence of I024 words f(n).\V(n) for each of the 256 spectral lines. These computed real and imaginary parts are combined at 32 to provide 256 values. each value representing the power spectrum of one of the 256 selected spectral lines. If averaging is desired, the power spectra values computed at 32 for each of a number of successive sequences of I024 words f(n).W(n) are averaged at 34, by keeping a running average thereof either in a sum mode alone, or in an additional exponential mode. The averaged values for each of the selected 256 spectrum lines may be displayed at the numeric display 36 and at the CRT display 40 and the XY plotter 42.  
  It is noted that the example of sequences of 1024 words f(n) and 256 spectral lines is arbitrary, and that any other suitable numbers may be used.  
  Referring to FIG. 2, which is a more detailed func tional block diagram of the spectrum analyzer, it is noted first that the indicated sequence of operations is not necessarily the time sequence in which actual operations are performed. but is only an exemplary information flow sequence. The actual time sequence of operations is explained in detail below in conjunction with the figures showing the circuitry for performing various operations.  
  In FIG. 2, a time-varying analog input signal from a source 20 is applied to an input amplifier and attenuator 44 through a DC isolation capacitor 46. The gain of the amplifier and attenuator 44 is controlled by means of an input gain control 47 such that. for example. an input voltage of 0.1 volts RMS corresponds to 0 db attenuation, etc.  
  An input calibration control 48 selects a calibration signal provided by a source 480 through a DC isolation capacitor 48b. The calibration signal may be, for example. a square wave having a 0.1 volt RMS fundamental frequency component at a frequency equal to oneeighth the rate at which the analog signal is later sampled for conversion to digital words. The exemplary sample rate is four times the highest frequency of interest; therefore the fundamental frequency of the square wave from the input calibration generator 480 is at the center of a frequency range selected for analysis. For example, if the frequency range from to 25.6 Hz is selected for analysis, the frequency of the square wave from in input calibration generator 480 is I28 Hz.  
  The output of the input amplifier and attenuator 44 is applied to a tunable Chebychev filter 50 of conventional construction and operation providing approximately 60 db attenuation of signals which would cause aliasing error.  
  A control 51 is used to select one of a plurality of frequency ranges for analysis (i.e.. to select the maximum frequency which is to be analyzed). For example. the selector Sl may be used to select a frequency range from 0 to 25.6 Hz, or one of several multiples thereof, the highest multiple being from 0 to 25.6 KHz. Each range is divided into 256 uniformly distributed spectral lines, and the equivalent noise bandwidth is the analysis range divided by the number of spectral lines. For example, if the analysis range is from 0 to 25.6 KHz, the line bandwidth for each spectral line is I00 Hz; if the analysis range is from 0 to l024 Hz, the line bandwidth is 4 Hz; all this being for a rectangular window.  
  The analog signal output from the filter S0 is applied to an analog-to-digital converter 54 through a summing network 52. The summing network 52 also receives the output of a noise source 56 for noise whose statistical distribution is controlled in accordance with the subject invention. As explained in detail below, this addition of statistically controlled noise from the source 56 to the analog input signal of the spectrum analyzer provides resolution beyond that which would be otherwise available for the word length used in the analyzer.  
  The output of the analog to digital converter 54 is a sequence of digital words f(n) representing successive samples of the filtered analog input signal from the source 20. The rate at which the analog signal is sampled by the analog-to-digital converter 54 is chosen to be four times the maximum analysis frequency at 51.  
  The basic timing of the spectrum analyzer is provided by a clock oscillator 58 which may, for example, operate at 45.87 MHz. Its output is applied directly to the analog-to-digital converter 54 to provide count pulses thereto, and is also applied to timing dividers 60 whose outputs are applied to all other blocks shown in FIG. 2 to serve as basic timing signals. A sample rate generator 62 is controlled by the frequency range selector SI to provide suitable sample rate pulses to the calibration generator 48a. to the analog-to-digital converter 54 and to a recirculating memory 64. An overload light 54a indicates an overload condition of the analog-todigital converter 54.  
  The recirculating memory 64 receives either the digital words from the analog-to-digital converter 54, or digital words from the digital input 66 which represent the time history of an already sampled signal. The recirculating memory 64 may have sufficient capacity to store 1024 words each eight bits long. The recirculating memory 64 starts storing eight bit words in one of two modes: trigger and continuous. In a continuous mode, the memory 64 stores the eight bit words from either the converter 54 or the digital input 66, as selected, until it contains a full sequence of l024 words, then reads out its contents and, without further triggering, but after a suitable delay, starts storing a new sequence of 1024 words, etc. In a trigger mode, the memory 64 is triggered to start storing 8-bit words from either the digital input source 66 or the converter 54, and when each of its l024 word locations is storing a word, it  
 transfers out its contents, and repeats the cycle only when triggered again. The mode is selected by means of a selector 68. When the trigger mode has been selected by the selector 68, a further selector 70 is used to apply to the recirculating memory 64 one of three possible triggering sources: internal trigger, external trigger and manual trigger. The internal trigger is a suitable triggering signal derived, for example, from the analog input the external trigger can be any suitable externally supplied triggering signal, such as a triggering signal derived from line frequency, and the manual trigger is a switch for manually triggering the recirculating memory 64.  
  After the recirculating memory is full, i.e., after it contains the full sequence of I024 8-bit words, its contents are read out serially, at a high rate. and are applied to a window function multiplier 72. A control 74 is used to select either a rectangular window function, a Hanning window function, or a special window function stored in a suitable memory. Each of the I024 8-bit wordsfln) provided by the recirculating memory 64 is combined with a selected window function by the window function multiplier 72. and the resulting sequence of I024 words f(n).W(n), which by this time are 9-bit words, is stored in another recirculating memory 76. The 1024 9-bit words stored in the memory 76 are read out at a high rate sequentially and nondestructively and are applied to a multiplier 78 as one of its two inputs. The other input of the multiplier 78 are trigonometric function values stored in a READ ONLY memory 80 which are read under the control of a coefficient address generator 82.  
  The purpose of the multiplier 78, the trigonometric function memory 80 and the coefficient address generator 82 is to provide R and I&#39; words defined as:  
 where f(n).W(n) represents the n-th of the sequence of 1024 (=N) words from the recirculating memory 76, K represents one of the 256 spectral lines, and g is a constant. (Note that the actual computation, described below in connection with the actual circuitry, involves a somewhat modified expression for R and I&#39;.)  
  To compute the R and I words, each of the I024 9-bit words from the recirculating memory 76 is multiplied by the cosine function whose argument includes a value of l for K representing the first spectral line and by a sine function including a value of l for K for the same first spectral line, then the procedure is repeated for arguments including a K value of 2 representing the second spectral line, etc. until the K value of 256 for the last of the 256 spectral lines has been used. For each spectral line, the I024 values representing the expression (I/N)R&#39;=R are summed in an accumulator 84, while the l024 words representing the values of the expression l/N)l&#39;=l for each spectral line are summed in an accumulator 86.  
  For each spectral line, the entire contents of the recirculated memory are applied to the multiplier 78, and the accumulators 84 and 86 each sum a sequence of 1024 values. Then, for the next spectral line, the contents of the accumulators 84 and 86 are transferred to the network concerned with power spectra calculation and averaging, and the accumulators 84 and 86 are cleared to prepare each for summing another sequence of 1024 values associated with the succeeding spectral line. After the entire contents of the recirculating memory 76 have been processed in the indicated manner 256 times, the accumulator 84 has contained sequentially the 256 words representing the real part ofa Discrete Fourier Transform representation of the 256 spectral lines, while the accumulator 86 has contained sequentially the corresponding imaginary parts of said representation.  
  In order to calculate the power spectrum value for each spectral line, following the summation in the accumulators 84 and 86 of the two sequences of 1024 products associated with a spectral line. the contents of the accumulators 84 and 86 are read out, converted to a floating point form at a converter 88, and are applied to a calculator 90 which squares the two values and finds the square root of their sum. The output of the calculator 90 is a series of 256 words in floating point format. each word representing the power of one of the 256 spectral lines.  
  A selected number of successive power spectra (successive sets of 256 power spectra words) may be averaged under the direction of an averager control 94.  
  To average power spectra, successive sequences of 1024 8-bit words are read into the recirculating memory 64 and are processed as described above, with the result that the calculator 90 provides at its output successive sets of 256 power spectra words. Assume that an averaging interval has been selected by means of a control 96 such that 1024 successive sets each comprising 256 spectral lines power values are to be averaged. The first set of 256 power spectra values from the calculator 90 pass through the summing device 92 and through the averager control 94 and are stored in a recirculating memory 98, whose capacity may be 256 words each bits long. For the next set of 256 values from the calculator 90, the power spectrum value for each spectral line stored in the recirculating memory 98 is added, by the summing device 92, to the corresponding line value from the calculator 90 and the sum of these two values for the same spectral line is stored in the place for that spectral line in the recirculating memory 98. This process continues until 1024 sets of 256 power spectra X, (K identifies the spectral line whose power value is X) have been so accumulated in the recirculating memory 98.  
  Since it is desirable to provide a running average of the power spectrum value for each spectral line, each of the words X (where p is the number of words X, which have been summed so far) in the recirculating memory 98 is divided by 2 each time p is an integer power of 2. In order to provide a true running average during the time between divisions by 2, an averager correction factor source 100 provides correction factors correlated with the value of p, i.e., with the number of spectral sums comprising the contents of the memory 98. The contents of the memory 98 and the correction factors from the averager correction factor source 100 are applied to an interface l02 whose purpose is to combine the output of the recirculating memory 98 with the correction factors from the unit 100 and to provide a digital output to the numeric display 36 and its LED (light emitting diode) readout 36a, and to provide analog output to the XY plotter 42 and to the CRT 40, such that the displays can show only true running averages.  
  Averaging can be started, stopped or resumed by means of a control 104; a selected spectrum frequency line may be marked by means ofa control 106&#39;, and the amplitude in dbs, the frequency in Hz and the averaging time (i.e., the time remaining to complete an averaging cycle) are displayed by the numeric display 36 when selected by a control 36b. if no averaging is desired, the control I04 is set to average&#34; only a single set of 256 power spectra.  
  The particularly novel feature of the spectrum analyzer described above include: enhancement of resolution by means of the statistical noise added to the analog input signal prior to the digital sampling thereof; the techniques and circuitry used for finding the power spectra, and the techniques and circuitry used in averaging. Additionally. novel methods and means are employed in carrying out various arithmetic operations.  
  Before explaining in detail the means of extending the resolution of the analog-to-digital converter 54 by means of the statistically controlled noise from the source 56, it may be helpful to illustrate the underlying principles by a simplistic example. The example uses decimal numbers (rather than the binary code, actually used in the analyzer) and does not take into account bandwidth considerations. For the purposes of the example, assume that an analog-to-digital converter has quantum steps of one volt, e.g., any analog voltage signal between 0.6 and 1.5 volts inclusive is converted to a decimal value of one volt, any analog signal with a voltage value of between 1.6 and 2.5 volts inclusive is converted to a decimal signal of 2 volts, etc. Also assume that each decimal value results from ten successive and redundant samples of the analog signal. Now assume that a noise signal is added to the analog signal prior to its conversion to a decimal value, and that the noise signal is controlled such that it has a different specified value for each of the ten redundant samples. Specifically, for the ten redundant samples resulting in one decimal value, the voltage of the noise signal at the sampling instant is, successively: O.5, 0.4, 0.3, 0.2, 0.l, 0.1, 0.2, 0.3, 0.4 and 0.5. Assume that an analog voltage whose true value is 1.2 volts is to be converted. Without any addition of noise, it would be converted to a decimal value of 1 volt. With the addition of the noise described here, the decimal value resulting from each of the first eight samples would be one volt, while the decimal value resulting from each of the last two samples would be 2 volts. If these ten successive samples are averaged, the result would be 1.2 volts, which is the true value of the analog signal, this value having a resolution which is one order of magnitude better than otherwise possible.  
  In the context of the spectrum analyzer discussed here, the technique extends the resolution of an M-bit analog-to-digital converter to less than A,,2, where A is the full scale input signal and M is the number of binary bits of the digital output of conversion. The technique provides a tradeoff between extended resolution and maintaining a relatively low sampling rate for a given maximum frequency of the input analog signal. Usually the rate f, at which an input analog signal is sampled for analog-to-digital conversion must be greater than the theoretical minimum (which is twice the maximum bandwidth j, of the input analog signal) due to the nonideality of presampling and interpolation filters.  
  An important discovery embodied into the subject invention is that a sampling rate which is higher than the theoretical minimum can be utilized to extend analog-to-digital conversion resolution without further increase of the sampling rate and without increasing the number of bits of the resulting digital word.  
  The invented method and means for increasing resolution require the addition of a specified random characteristic noise signal to the analog input signal prior to quantization. The noise signal should ideally have an amplitude probability density function which is zero except over the interval form Over the nonzero interval. the amplitude probability density function should be a constant value, which is 2/A,,,. The noise signal should ideally have a power density spectra which is over the frequency intervals -fs fm to fm for Q 0.1, 2,  
 so that none of the noise energy would be in the fre quency interval of the input analog signal following sampling.  
  An input analog signal having a maximum bandwidth off can be defined by a set of 2f independent samples over the interval of time t. If the input analog signal is sampled at a rate of Qf,,,, where 0 is greater than 2, and is subsequently quantized, the redundant informa tion resulting from the successive samples can be used, in accordance with the invention, to increase the effective number of quantization levels. This can be done by averaging each sequence of 0/2 samples following quantization, with the result of Q.f,,,t/(0/2), or 2f,,,1 averaged samples over the time interval I. The value of the averaged sample can assume 0/2 times as many discrete levels as the levels of the originally available quantization. This results from solving where S is the i-th sample. If the noise defined here is added to the input analog signal prior to quantizing, the average of the sequence of samples 0/2 approaches the actual value of the input analog signal regardless of the quantization span as Q approaches infinity.  
  Referring to FIGS. 2 and 3, the rate at which the ana- Iog-to-digital converter 54 samples the analog signal at its input is F, (the top curve in FIG. 3). As described earlier, the sampling rate depends on the frequency range selected for analysis and is four times the highest frequency of the analysis range. For example, if the frequency range of 0-256 Hz has been selected for analysis, the sampling rate F, is I024. The sampling frequency F, is obtained by time division of the frequency of the clock oscillator 58 and is provided by the sample rate generator 62.  
  The controlled noise from the generator 56, which is used in accordance with the invention to extend the resolution of the analog-to-digital converter 54 to less than 2 times the maximum input signal, where M is the number of bits in the digital word output by the converter 54, must have a constant amplitude probability density over the range of -A,,,2&#34;*&#34;. Another requirement is that the noise be essentially white up to a frequency equal to the maximum frequency of the selected analysis range, and that the noise contain no line components which would fold over into the selected frequency range following sampling.  
  The noise source 56 approximates constant amplitude probability density by adding two square waves and the output of a normally distributed white noise generator. One of these square waves is at one-half the sampling rate F,, and the other square wave is at onefourth the sampling rate F The two square waves are shown as the second and third curves from the top in FIG. 3. The amplitudes of the square waves are summed such that the resulting amplitude takes discrete values at i-A r and at tA 3X2&#34;-&#34;**. (The sum of the two square waves is the bottom curve in FIG. 3).  
  The amplitude probability density function of the summed square waves of FIG. 3 is four equal area impulse functions, which are illustrated in FIGv 4.  
  The spectral energy of the summed square waves lies outside the frequency band of the sampled analog input signal, as illustrated in FIG. 5. Only the components of the summed square waves about zero frequency are shown in FIG. 5 for clarity. Their spectra due to trans lation by multiples of the sampling rate frequency F, can be seen by shifting the frequency axis of FIG. 5. still producing no frequency components within the frequency band of the sampled input analog signal.  
  When a normally distributed white noise having an RMS amplitude of approximately 0.9 2&#34;&#34;&#39; times the maximum amplitude of the anolog input signal is added to the summed square waves, the resulting signal has an approximately constant amplitude probability function, as shown in FIG. 6, and a minimum white noise energy over the frequency range of the sampled analog signal.  
  A simplified block diagram of a noise generator to provide the input to the summing network 52 (FIG. 2) is illustrated in FIG. 7. In FIG. 7, the sampling frequency from the generator 62 (FIG. 2) is used to drive a square wave generator 108 producing a square wave at half the sampling frequency F, and a square wave generator IIO producing a square wave at one-fourth the same sampling frequency. The outputs of the generators I08 and 110 of FIGv 7 are illustrated in FIG. 3 in proper phase relationship to the sample rate frequency. The two square waves from the generators I08 and 110 are added in a summing network II2 to each other and to white noise from a generator 114, so that the output of the summing network 112 is the desired noise signal which is added to the input analog signal in the sum ming network 52 of FIG. 2.  
  While the above discussion of resolution enhancement relates only to binary coded numbers, it should be clear that analogous uses thereof may be made for other number systems. A full description of this is provided in the co-pending patent application of the same invention entitled &#34;Enhancing the Resolution of Ana- Iog-to-Digital Conversion by Adding Statistically Controlled Noise to the Input Analog Signal&#34; and filed concurrently with this patent application, on May l4, I973 under Ser. No. 360,071.  
  Referring back to FIG. 2, the output of the analog-todigital converter 54, or a digital input provided by the input 66, is a sequence of words f(n). These words f(n) are stored in a recirculating memory 64, and are then multiplied by a selected window function at the multiplier 72, resulting in a sequence of words f(n).W(n), which are stored in a recirculating memory 76.  
  As discussed and generalized above, the trigonometric functions are used in calculating the real and imaginary part respectively of the power spectrum value for the spectral line K. In calculating the power spectrum values, n varies from l to 1,024 and K varies from I to 256.  
  A unique algorithm and unique apparatus embodying this algorithm are used in the invented analyzer for the arithmetic operations involved in calculating the power spectrum values and for calculating the sine and cosine expressions given immediately above Specifically, a READ ONLY memory (ROM) is used to store 256 eight bit words representing the trigonometric coeffcients for one quadrant of a wave cycle, and novel and efficient techniques are used to address the ROM by a simply calculated address which gives the required sine and cosine values at any point of a cycle, and needed in carrying out the power spectrum calculations.  
 Specifically a value V is defined as follows:  
 for any value of U between and 255 inclusively (first quadrant). The corresponding cosine expression, for the first quadrant, is obtained through the relationship cos a=sin (1r/2-a) by using the [&#39;5 complement of U (U) of the sine address U to the ROM address input. Sines and cosines in the other three quadrants are derived by the relationships sin[m(1r/2) U] sin (mu/2) cosU cos(m-n&#39;l2) sinU cosI(m1r/2) U) cos(m1rl2) cosU sin(m1r/2)sinU as summarized in the following table:  
  lst 2nd 3rd 4th Quadrant Quadrant Quadrant Quadrant (m=0) (m=l) (m=2) (m=3) Sine (Sign 1; I (ROM U U U U Address Cosine (Sign I (ROM U U U U Address The required coefficients are: sm(1r/5 l 2) bit 9 bit l0 quadrant 0 O lst U 1 2d l 0 3d 1 I 4th 4. All bits beyond the tenth bit are disregarded because they represent multiplies of wave cycles.  
  5. The calculated value for U (or for U) is used as the address to a READ ONLY memory in accordance with the quadrant table given above.  
  6. The sign of the ROM output is detennined according to the quadrant table above.  
  7. The sine coefficient and the cosine coefficient are generated.  
  8. The generated sine and cosine coefficients are multiplied with the corresponding f(n).W(n) words and the result is summed in the respective R and 1 (Real and Imaginary) accumulator register.  
  Referring to FIG. 8, which illustrates exemplary means for carrying out the calculations discussed immediately above, an n-counter 116 is driven by the timing dividers 60 and provides at its outputs a number identifying the rank (within the sequence of 1024 words) of the word f(n).W(n) which is currently read out from the recirculating memory 76 and is applied to the multiplier 78. The output of the counter H6 is a positive integer which takes successively the values of I through 1024. A K-counter 118 is driven by the same timing dividers 60 and provides at its output the rank (within a set of 256) of the spectral line whose power spectrum is currently calculated. There are 256 spectral lines, and the output of the K-counter 116 is a positive integer which takes successively the values of I through 256. All 1024 words from the memory 76 are applied to the multiplier 78 for each spectral line (i.e., for each value from the K-counter 118, the n-counter 116 cycles through its 1024 successive output values).  
  A calculator 120 finds the value for the expression U=nK-K as determined by the current outputs of the counters 116 and 118. For each value of K, the calculator I20 outputs 1024 different values of U corresponding to the I024 different values from the n-counter H6. The output of the calculator 120 is in binary form, and the low eight bits are used in calculating the ad dress of one of the 256 words stored in the ROM 80. These eight bits are applied to the ROM address generator 82. The ninth and tenth bits of the output of the calculator 120 are also applied to the ROM address generator 82 and are used by suitable switching logic to carry out the logic defined by the table given above, which determines the sign and complements the low 8 bits according to the quadrant which should be represented by the contents of the ROM 80. Each of the 256 words in the ROM is the value of a trigonometric coefficient expressed by an 8-bit binary number, and the words read out from the ROM 80, as addressed from the address generator 82, are applied to the multiplier 78.  
  Under the control ofa phase clock 122, which in turn is controlled by the timing dividers 60, the word read from the ROM 80 during the first phase of each clock pulse from the clock 122 is the sine coefficient, while the word read from the ROM 80 during the second phase of the same clock pulse from 122 is the cosine coefficient, these coefficients being for the current values of n and K as output by the counters 116 and 118 respectively. Each of the two outputs of the ROM 80 is multiplied, by the multiplier 78, with the current output of the recirculating memory 76. Each multiplication is for the same value of n currently provided by the counter 116. The output of the multiplier 78 which includes the cosine coefficient is accumulated in the R accumulator register 84, while the sine coefficient output of the multiplier 78 is accumulated in the laccumulator register 86.  
  Before a power spectrum calculation cycle starts. the R and accumulator registers 84 and 86 are cleared to 0. Then the R accumulator 84 accumulates each of the i024 words including a cosine coefficient that are output for the single current value of K, while the laccumulator register 86 accumulates the corresponding 1024 words (for the same value of K) that include the sine coefficients. At the end of a cycle of the n counter through I024 values, the accumulator registers 84 and 86 contain the values R and l which can be used to calculate the power spectrum X K of the spectral line identified by K according to the following relationship:  
 This is carried out in the calculator 90 (FIG. 2).  
  Referring back to FIG. 2, successive sets of 256 power spectra from the calculator 90 may be averaged either in a sum mode (integral mode) alone, or in an additional exponential mode as well. The algorithm embodied in the means for averaging in the sum mode where X represents the K-th line ofa set of 256 power spectral lines (derived from a sequence of I024 words [(n), as described earlier), p is the number of sets of power values for 256 spectral lines each which have been averaged so far, Y,,,,,., is the value of the expression in the parenthesis prior to the current p-th spectra, X is the power value of the K-th spectral line of the p-th set, b is an integer defined by 2&#39; p 2, and a is h if pl=2&#34;&#39; and is 1 otherwise.  
  The averaging portion of the spectrum analyzer embodying the above algorithm is illustrated in FIG. 9. In FIG. 9, a generator 124 outputs serially successive sets of 256 serially arranged power values of spectral lines derived from the calculator 90 in FIG. 2. A p-counter 126 keeps track of the number of sets of power spectra which have been averaged, and the current value of p in binary code is supplied to a calculator 128 which determines the value of b by detecting the bit location of the most significant one in the (p-l) word. The detected bit position, counting the LSB position as position I, is the value b. The value of b from the bcalculator 128 is supplied to a calculator 130 which calculates the value of the multiplier 2-b. The value of this multiplier 2&#34; is applied to a multiplier 132 whose other input represents the series of power spectra X Each of the power spectra values for the same value of p is multiplied by the multiplier 2, and the output of the multiplier 132, which is represented by the expression 2&#39;.X is one of the inputs of a summing network 134.  
  To derive the other input of the summing network 134, the value b calculated at 128, and the current value of p from the p-counter 126 are supplied to an acalculator 136 which outputs a value of a that is k if the equation p-1=2 is satisfied, and a value for a of 1 if this equation is not satisfied. This value of a calculated at 136 is applied to a multiplier 138 whose other input represents the accpmulated power values of each of the 256 spectral lines whose power spectra are being averaged (of course, when the first set of values X of an averaging cycle are being processed, the recirculating memory 98 is empty). The output of the multiplier 138 is represented by the expression aY and is applied as the second input of the summing network 134. The output of the summing network 134 is represented by the expression aY ,+2&#34;X and is applied both to the recirculating memory 98, to replace the contents of its location for the K-th spectral line, and to a log converter and adder 140. The other input of the log converter and adder 140 is an averager correction factor represented by the expression p/Z&#34; which is derived from an averager correction factor generator 142 whose inputs are the current p value from the p-counter I26 and the current b value from the b-calculator 128.  
  The log converter and adder 140 performs two distinct functions: it converts each of its inputs to a log function, and it subtracts the log,(P/2&#34;) value from the log (aY,, ,+2 X value. The output of the log converter and adder 140 is represented by the expression (aY 2&#34; X ,,)2&#34;/p, and is the true running average of the power spectra from the calculator in FIG. 2 in log form.  
  This true running average is applied to the interface 102 for numeric or analog display as discussed in connection with FIG. 2. When a desired present number of sets of 256 power spectra lines each have been averaged, for example, when l024 such sets of power spectra lines have been averaged, the averaging cycle may be stopped. To do this, the output of the p-counter 126 representing the decimal number 1024 may be gated to a control network 144 for stopping the averaging cycle and to an average complete indicator 146 to indicate that the averaging in the sum mode over the preset interval has been completed.  
  The contents of the recirculating memory 98 represent the true running average only after an averaging cycle for a set of power spectra whose p number is an integer power of 2, i.e., the contents of the recirculating memory 98 are a true running average only just after the first, second, fourth, eighth, sixteenth, etc. set of power spectra X,, that have been averaged. The av eraging of the contents of the recirculating memory 98 after p has been an integer power of 2 is accomplished very simply in the multiplier 138, since it represents merely a one-bit shift of a binary number toward its least significant bit (LSB). Thus, the multiplier I38 need only be a shift register, which is triggered when a is &#39;1: to shift each of the 256 binary numbers applied serially to it from the recirculating memory 98 one binary bit toward the LSB. Similarly, the multiplier 132 need only be a shift register which &#39;shifts each of the binary numbers representing the current power spectra as many bits toward the least significant bit as indicated by the current value of b from the calculator 128. The calculator is merely a gating network indicating the number of shifts by 1 binary bit to be performed by the shift register serving as the multiplier 132. Similarly, the averager correction factor generator 142 need not be a multiplier or a divider, but need only perform a suitably gated shifting operation. Specifically, the generator 142 may be a shift register which stores the cur rent value of p (in binary code) provided by the pcounter I26, and shifts the stored value of p toward the LSE by as many bit positions as the decimal value of the b-value provided by the b-calculator 128.  
  When averaging in the exponential mode, i.e., after a sum mode average has been obtained, the averaging is represented by the expression where C=log of the number of spectra averaged in the preceding sum mode averaging. An illustrative block diagram of means for carrying out exponential mode averaging is shown in FIG. 10 where the current set X of 256 power spectra is supplied from the X generatoro I24. The value C, which is the logfunction of the number of sets of power spectra averaged in the sum mode. is supplied from an operator control I54. The current contents of the recirculating memory 98 for each spectral line are subtracted from the power spectrum value for the same spectral line at a subtracting network 148 whose output is represented by the expression (X ,,Y and is applied as one of the two inputs of a multiplier I50. The other input of the multi plier 150 is a multiplication factor 2&#34;&#34; which is derived from a calculator I52, with the value ofC provided from the operator control I54. The output of the multiplier 150 is represented by the expression 2&#34;(X Y and is added to the outputs of the recirculating memory 98 in a summing network 156. The summing network I56 adds serially the values corresponding to the same spectral line. The output of the summing network 156 is represented by the expression -t2 (X Y which is the exponential mode averaged power spectra.  
  A specific embodiment of a circuit which receives the output of the recirculating memory 64 of FIG. 2 and provides the power values for the successive spectral lines discussed above is shown in FIG. II.  
  Referring to FIG. II, a step counter 155 is driven by the timing dividers 60 of FIG. 2 and counts through the following succession of steps:  
  Step is the step in which the circuit of FIG. I] is ready to start operating. Operation starts when a sequence of words f(n) start at the output of the memory 64.  
  Step I is reserved for multiplying each of the words f(n) from the memory 64 by the selected window function and placing them in the DFT memory 76. This step takes I024 clock cycles, one clock cycle for each of the sequence of 1024 wordsfln).  
 Step 2 is a timing delay of two clock cycles.  
  Step 3 is dedicated to multiplying each of the words f(n).W(n) which are now in the memory 76 by the selected trigonometric functions discussed above and for accumulating the results of the multiplication. This step takes I024 clock cycles.  
  Step 4 is reserved for performing a two &#39;s complement inversion (if required) of the results of step 3. The step takes two clock cycles.  
  Step 5 is devoted to converting the results of steps 3 and 4 into floating point. This step takes from 2 to 16 clock cycles depending on how many shifts are required for conversion to floating point.  
  Step 6 is devoted to squaring and summing the real and imaginary part of the result obtained in step 5. The step takes one clock cycle.  
  Step 7 is reserved for floating point adjustment of the result of step 6, if required, and for outputing the adjusted result. This step takes one clock cycle.  
  Referring to FIG. 11, the step counter 155 may be a counter with the necessary gates to count the clock cycles for the steps discussed immediately above. The output of the step counter 155 is a series of control pulses which are applied to a control circuit 157 for issuing control signals to multiplexers I58, 160 and I62 and to an arithmetic logic unit 164. The control circuit I57 comprises a combinatorial logic of gates for issuing the control signals discussed here upon the occurrence of the discussed conditions.  
  When the step counter I55 advances from its 0 step to its step 1, the control circuit decodes this advance to set the multiplexers I58 to and I62 and the arithemetic logic unit (ALU) I64 depending on the control signal applied to it from the window function selector 74.  
  As an example, if the selected window function is the rectangular window function, the control circuit 157 sets the multiplexer I58 such that its OI input is connected to its output, while all its other inputs are disconnected from the output, sets the multiplexer I60 such that its 10 input is connected to its output while all its other inputs are disconnected from the output, and sets the ALU 164 such that its output equals its A input. It is noted that each of the multiplexers 158, I60 and 162 is a conventional 4 input-I output multiplexer where only a selected single one of its inputs is connected to its output at any particular time, and that the arithmetic logic unit 164 has an output which is a selected function of its two inputs and may be, for example, a unit manufactured by Texas Instruments and identified as SN74181.  
  With rectangular window function, each of the words f(n) from the memory 64 must be multiplied by I. With the multiplexers and the ALU set as defined immediately, each of the f(n) words from the memory 64 goes into the 01 input of the multiplexer 158, then goes through the multiplicand register 166, another register 168 into the 10 input of the multiplexer 160, and then into the A input of the ALU 164. The output of the ALU 164 is the word f(n), and at the suitable phase of the phase clock 171 (which goes through two phases for each word f(n) the word f(n) is loaded into the I- register 86 and then into the corresponding memory location of the DFT memory 76. This is repeated for each of the sequence of 1024 words f(n) from the memory 64, with the result that this sequence of N words f(n) is transferred into the DFT memory 76.  
  For a Hanning window function, each of the words f(n) from the memory 64 must be multiplied by the the expression cos 21r(n%)l024)]. For this, the multiplexer 158 is set to accept only its 00 input, the multiplexer 162 is set to accept only its 00 input, the multiplexer 160 is set to accept only its l0 input, and the ALU 164 is set to add its two inputs if the input signs are the same and to subtract the B input from the A input if the input signs are different. The sign of the output of the ALU 164 is the same as the sign of its A input. In carrying out the Hanning window function multiplication, each of the f(n) words from the memory 64 goes through a circuit 65 which divides it by 2, and then goes through a multiplicand register 166. The halved word f(n) then goes through the register 168 and the multiplexer 160 and into the A input of the ALU I64, and also goes into the multiplier 78 as one of its inputs. The other input of the multiplier 78 is a trigonometric function generated by the coefficient address generator 82 and the trigonometric function ROM 84 and passed through the multiplexer I62 and the multiplier register 176. The output of the multiplier register 176 is the quantity [cos 21r (n%)/I024] which is applied as the other input of the multiplier 78.  
 The output of the multiplier 78 is thus the quantity f(n)/2) cos 21r (n-Vzl/l024] which goes through the register 178 and is applied as the B input of the ALU 164. The output of the ALU 164 is therefore the quantity f(n)[/z(/z)cos 21r (n-/2)/l024)] which goes through the AND-gate 170 at the proper phase of the phase clock 170 and passes through the l-register 86 to be stored from there into the corresponding memory location of the DFT memory 76.  
  In case ofa special window function is selected by the selector 74 of FIG. 2, the multiplexer 158 of FIG. 11 is set to accept its Ol input, the multiplexer 160 is set to accept its 11 input, the multiplexer 162 is set to accept its Ol input, and the ALU 164 is set to provide an output which is the sum of its two inputs. With this setting, each of the f(n) words from the memory 64 passed through the multiplexer 158 and the multipicand register 166 and becomes one input of the multiplier 78. The other input of the multiplier 78 is a special window function from a generator 174 which may be, for example, a READ ONLY memory storing the desired custom window function. The window function from the generator 174 is applied, through the multiplier register 176 as the other input of the multiplier 78. The output of the multiplier 78 is a sequence of words f(n).W(n) where W(n) is the required special window function from the generator 174. This produce of the multiplier 78 is applied, through the register I78, as the 8 input of the ALU 164. The A input of the ALU 164 is from the multiplexer 160 which is set to its 11 input. The l 1 input of the multiplexer 160 may at this time be all zeroes, or it may be a special window function which is to be added to the product of the multiplier 78. In the typical case, the ll input of the multiplier 160 would be all zeroes, therefore, the output of the ALU 160 would be its B input. This output of the ALU 164 is gated through the AND-gate 170 at the proper phase of the clock 171 and goes through the l-register 86 and into the corresponding memory location of the DFT memory 76.  
  After the multiplication of a sequence of 1024 words from the memory 64 by the selected window function as described above, and after the step counter 155 ad vances through a timing delay of two clock cycles, the DFT memory 76 of FIG. 11 contains a sequence of i024 words f(n).W(n). The step counter 155 then advances to its step 3 for the multiplication of the words f(n).W(n) by the appropriate trigonometric function and for accumulation of the results.  
  in step 3, the multiplexer 158 is set to accept its 10 input, the multiplexer 160 is set to accept its Ol input during phase 1 of the phase clock 171 and to accept its input during phase 2 of the phase clock 171, the multiplexer 162 is set to accept its 00 input, and the ALU 164 is set to add its two inputs if the output of the multiplier 78 is positive and to subtract its B input from the A input if the output of the multiplier 78 is negative. In step 3 of the step counter 155, each word fln).W(n) is multiplied by the corresponding sine and cosine coefficients, and the products are added to the contents of the l-register 86 and R-register 84 respec tively.  
  Specifically, a word f(n).W(n) is read from the DFT memory 76 and is stored in the multiplicant register 166 after passing through the input of the multiplexer 158. Meanwhile, the corresponding sine and cosine COCfflCleflIS are generated from the trigonometric function ROM 84 as discussed previously in this specification and are stored sequentially in the multiplier register 176. The sine and cosine coefficients stored sequentially in the multiplier register 176 are multiplied sequentially with the corresponding f(n).W(n) word by the multiplier 78. and the two products are applied sequentially to the B input of the ALU [64 after passing through the register 178. The A input of the ALU 164 is alternately from the 00 and ()l inputs of the multiplexer 160. The relative timing is such that the A input of the ALU 164 from the 00 input of the multiplexer 160 is synchronized with the output of the multiplier 78 that includes the cosine coefficient, and the A input of the ALU 164 is from the 01 input of the multiplexer 160 at the time the multiplier 78 outputs a product containing the sine coefficient.  
  The output of the ALU 164 for the first phase of the clock 17] is gated through the gate 172 into R-register I84, and is the sum of the previous contents of the R register 184 and the new function derived from the multiplier 78, while the output of the ALU 164 for the second phase of the clock H1 is gated through the gate 170 into the l-register 86 and is the sum of the previous contents of the l-register 86 and the current sine function from the multiplier 78. After the entire sequence of I024 wordsf(n).W(n) from the DFT memory 76 has been processed in this manner, the R-register 84 and the l-register 86 contain. respectively, the real part and the imaginary part of the power value for a spectral line Kv The step counter l55 then advances to step 4 during which the two&#39;s complement inversion, if required, is performed on the contents of the registers 84 and 86. For this step the multiplexer 160 is set to accept its 01 input during phase I of the phase clock 171 and to accept its 00 input during the second phase of the phase clock 171. The ALU 164 is set as follows: For the first clock cycle of step 4, the output of the ALU 164 is equal to its A input if the A input is positive and is equal to the A input decremented by 1 if the A input is negative; for the second clock cycle of step 4, the output of the ALU 164 is equal to its A input if the A input is positive, and is equal to the negation of the A input if the A input is negative. The resulting output of the ALU I64 are two successive positive numbers representing the absolute values of the sums accumulated in the registers 86 and 84 respectively during the immediately preceding step 3 which positive numbers are left stored in registers 86 and 84 respectively.  
  The step counter then advances to the fifth step in which the contents of the registers 84 and 86 are converted to floating point formats. For this step, the multiplexer is set to accept its 01 input for phase 1 of the phase clock 171 and to accept its 00 input for phase 2 of the phase clock 171. For each cycling of the two phases of the phase clock 17], the ALU 164 shifts the contents of each of the registers 84 and 86 one bit position to the left (or toward the most significant bit) if both of the numbers in the registers 84 and 86 have a binary 0 at the most significant bit position but does not shift either of the numbers if either has a l in its most significant bit position. Each time the numbers are shifted, the shifted value is stored again in the registers 84 and 86. For each shift, an originally cleared exponent counter 165 is incremented by 2. When either of the numbers in the registers 84 and 86 has a l in its most significant bit position. the step counter 155 is advanced to step 6.  
  The purpose of step 6 is to square the contents of each of the registers 84 and 86 and to add the two squared values. For this step. each of the multiplexers I58 and 162 accepts its ll input. the multiplexer I60 accepts its Ol input. and the ALU 164 provides its B input at its output for phase I of the phase clock 171, and provides at its output the sum of its inputs for the second phase of the phase clock 171. The output of the ALU 164 for the two phases of a cycle of the phase clock 17] is thus the sum of the squares of the previous contents of the registers 84 and 86, and this is stored in the l-register 86. During the first phase of the last cycle of the clock H1 in step 5, the contents of the I- register 86 are placed into the registers 166 and 176 through the l l inputs of the multiplexers 158 and 162. On the second phase of the last clock period in step 5, the multiplier 78 computes the square of the contents of the l-register 86. and the contents of the R-register 84 are placed in the l-register 86 through the input of the multiplexer 160 and through the ALU 164. On the first phase of the first cycle of step 6, the square of the original contents of the l-register 86 (I is placed into the register 178 and passes through the B input of the ALU 164. while the value R which is now in the I- register 86 is placed in the registers 166 and [76 and is squared by the multiplier 78. On the second phase of the cycle of step 6. the output of the multiplier 78, which is the value R is placed into the register [78, while the value (1 is placed into the I register 86 and appears as the A input of the ALU 164 after passing through the Ul input of the multiplexer 160. The output of the ALU 164 at this time is the sum of the squares of the values R and I. In the first phase of the next cycle of the clock 171, the sum of the squares of the values R and l is placed into the l-register 86. The l-register 86 now contains the value X discussed earlier in this specification.  
  In step 7. the purpose is to adjust the floating point of the number X which is in the I-register 86 at this time. if necessary, and to output that number into the device for averaging discussed earlier in this specification. For this step the multiplexer 160 is set to accept its Ol input and the ALU 164 is set to shift its A input 1 bit position to the left if the most significant bit of the input is O and to simply output its A input if the most significant bit of the input is a binary 1. For each shift at this time. one count is added to the exponent counter I65. At this time. the contents of the l-register 86 and of the exponent counter 165 together represent the value X, discussed earlier and can be output through suitable gates 167a and 167!) enabled by a suitable control pulse. The output of the gates 167a and 167b is placed in the recirculating memory array 98 of FIG. 2, following the averaging algorithm manipulation in the location corresponding to the specific K-th spectral line whose power value was computed as described in connection with FIG. 11.  
  If K does not equal 256 at the end of step 7. the step counter 155 returns to step 3. The sequence from step 3 through step 7 is repeated for each value of K until K=256. Then the step counter 155 returns to step 0 having completed one entire set of power values. A selected number of sets of these power values may be averaged and displayed as discussed in detail in connection with FIGS. 9 and I0.  
 What is claimed is:  
 l. A spectrum analyzer comprising:  
 converter means for receiving an analog signal and for providing successive sequences of N digital words f(n). each word being the n-th sample of a sequence ofN successive samples of the analog signal (where n=l.2. .,N);  
 first memory means for storing a sequence of N words provided by the converter means; window function multiplier means for combining each of the words from the first memory means with a selected window function W(n) to provide a sequence of N words f(n)-W(n);  
 second memory means for storing the sequence of N words provided by the window function multiplier means; trigonometric function multiplier means for combining the words from the second memory means with selected trigonometric functions to provide a plurality of series of N words R and N words I, where each R word results from combining a word f(n)W(n) with a corresponding cosine function of an argument including a value representing a spectral line K. and each l word results from combining a word f(n)-W(n) with a corresponding sine function of an argument including a value representing said spectral line K. said R and l words being respectively the real and imaginary parts of Discrete Fourier Transforms of the sequence f(n)-W(n), each of said plurality of series of R and I words being associated with a different one of a selected plurality of spectral lines K;  
 means for accumulating, for each of the spectral lines K, the R words and the 1 words, and means for providing an average value of the N words R and an average value of the N words I; and  
 means for generating. for each of said spectral lines K, the squares of said average values and for com bining said squares to obtain a value representative of the power value for said spectral line K.  
  2. A spectrum analyzer as in claim 1 including means for averaging a plurality of successive power values for each spectral line K, said power values resulting from successive sequences of N words f(n), to thereby obtain a plurality of averaged power values, one for each spectral line K.  
  3. A spectrum analyzer as in claim 2 including means for adding statistically controlled noise to the analog signal received by the converter means to enhance the resolution of the converter means.  
  4. A spectrum analyzer as in claim 3 including a digital source of sequences of wordsfln) and means for selectively disconnecting the converter means from the first memory means and for storing in the first memory means a sequence of digital words f( n) from said digital source.  
  5. A spectrum analyzer as in claim 4 wherein the window function multiplier means includes means for storing a plurality of different window functions and for selectively combining each of the words from the first memory with a selected one of said stored window functions.  
  6. A spectrum analyzer as in claim 5 wherein the trigonometric function multiplier means includes trigonometric function storage means for storing trigonometric function values for one quadrant of a selected trigonometric function and control means for reading selected values from the trigonometric function storage means and for combining the last recited words with the f(n).W(n) words to thereby provide said R and I words.  
  7. A spectrum analyzer as in claim 6 wherein the means for averaging a plurality of power values includes means for averaging the last recited values in a sum mode.  
  8. A spectrum analyzer as in claim 7 wherein the means for averaging a plurality of power values includes means for averaging the last recited values in an exponential mode following said sum mode averaging thereof.  
  9. A spectrum analyzer as in claim 1 including a digital source of sequences ofwords f(n) and means for selectively disconnecting the converter means from the first memory means and for storing in the first memory a sequence of digital words f(n) from said digital source.  
  10. A spectrum analyzer as in claim 1 wherein the window function multiplier means includes means for storing a plurality of different window functions and for selectively combining each of the words f(n) from the first memory with a selected one of said stored window functions.  
  11. A spectrum analyzer as in claim I wherein the trigonometric function multiplier means includes means for storing trigonometric function values for a single quadrant of a selected trigonometric function and control means for reading selected values from the trigonometric function storage means and for combining the last recited values with the words f(n).W(n) to provide said R and l words.  
  12. A spectrum analyzer as in claim 1 including means for averaging a plurality of successive power val&#39; ues for each spectral line K, said power values resulting from successive sequences of N words f(n) to obtain a plurality of averaged power spectra values, one for each spectral line K, said averaging carried out in a sum mode.  
  13. A spectrum analyzer as in claim 12 wherein said averaging means includes means for additionally carrying out exponential mode averaging of said power values.  
  14. A spectrum analyzer as in claim 2 including means for adding statistically controlled noise to the analog signal received by the converter means.  
  15. A spectrum analyzer as in claim 14 wherein the noise comprises a noise signal which is substantially independent of the instantaneous value of the analog signal and has a selected amplitude probability and a selected power spectrum.  
  16. A spectrum analyzer having means for generating sequences of digital words. each sequence representing the time history of an analog signal over a selected time interval, means for generating from each sequence of digital words a set of signals representing the discrete Fourier transforms thereof for a selected set of spectral lines, and means for processing the last recited signals to provide signals indicative of the power spectrum of the analog signal, wherein the means for generating said signals representing discrete Fourier transforms comprises:  
 means for combining the digital words with selected trigonometric functions to provide signals R and l for each digital word and each spectral line, where each signal R results from combining a digital word with a corresponding cosine function of an argument including a value representing a selected spectral line and each signal 1 results from combining a digital word with a corresponding sine function of an argument including a value representing the same selected spectral line, the resulting signals R and I being respectively the real and imaginary parts of the discrete Fourier transforms of the sequence of digital words for the selected set of spectral lines, wherein the combining means includes:  
 means for storing a selected number of values for the same trigonometric function of an argument including a value representing each of said spectral lines; means for providing, for each different combination of a digital word and a spectral line, two generally different values from said storage means; and  
 means for processing at least one of the provided val ues to transform it to a different trigonometric function ofits arguments for providing thereby said sine function and said cosine function of the argument.  
  17. A spectrum analyzer as in claim 16 wherein the storing means stores only the values for said trigonometric function for one quadrant ofa wave cycle wave.  
  18. A spectrum analyzer having means for generating sequences of digital words. each sequence representing the time history of an analog signal over a selected time interval, means for generating from each sequence of digital words a set of signals representing the discrete Fourier transforms thereof for a selected set of spectral lines, and means for processing the last recited signals to provide signals indicative of the power spectrum of the analog signal, wherein the means for generating said signals representing discrete Fourier transforms comprises:  
 means for combining the digital words with selected trigonometric functions to provide signals R and l for each digital word and each spectral line. where each signal R results from combining a digital word with a corresponding cosine function of an argument including a value representing a selected spectral line and each signal 1 results from combining a digital word with a corresponding sine function of an argument including a value representing the same selected spectral line, the resulting signals R and I being respectively the real and imaginary parts of the discrete Fourier transforms of the sequence of digital words for the selected set of spectral lines,  
 wherein each of the digital words of a sequence has a rank and each spectral line has a rank, and wherein the combining means includes:  
 means for storing a selected number of values of a single trigonometric function of an argument including a value representing each of the selected spectral lines;  
 means for combining a representation of the rank of each digital word with a representation of the rank of each spectral line to provide addresses identifying values in the storing means and to provide an indication of the type of trigonometric function required for combining with the digital words and of the quadrant thereof;  
 means for providing from the storing means the values identified by the last recited addresses; and  
 means for processing the values provided from the storing means in accordance with said indications to provide the recited sine functions and cosine functions.  
  19. A spectrum analysis method comprising the steps of:  
 receiving an analog signal and providing successive sequences of N digital wordsfln), each word being the n-th sample of a sequence of N successive samples of the analog signal (where n=1, 2, N);  
 storing a sequence of N of said digital words f(n);  
 combining each of the stored words f(n) with a selected window function W(n) to provide a sequence of N words f(n)&#39;W(n); storing the sequence of N wordsf(n)&#39;W(n); combining the last recited words with selected trigonometric functions to provide a plurality of series of N words R and N words l, where each R word results from combining a word f(n)&#39;W(n) with a corresponding cosine function of an argument including a value representing a spectral line K, and each 1 word results from combining a word f(n)W(n) with a corresponding sine function of an argument including a value representing said spectral line K, said R and I words being respectively the real and imaginary parts of Discrete Fourier Transforms of the sequence f(n)-W(n), each of said plurality of series of R and 1 words being associated with a different one ofa selected plurality of spectral lines K;  
 accumulating, for each of the spectral lines K, the R words and the 1 words, and providing an average value of the N words R and an average value of the N words I; and  
 generating, for each of said spectral lines K, the squares of said average values and combining said squares to obtain a value representative of the power value for said spectral line K.  
  20. A method as in claim 19 including the further step of averaging a plurality of successive power values for each spectral line K, said power values resulting from successive sequences of N wordsfln), to thereby obtain a plurality of averaged power spectra values, one for each spectral line K.  
  21. A method as in claim 19 wherein the step of combining each word f(n) with a window function W(n) comprises storing a plurality of different window functions and selectively combining each of the words f(n) with a selected one of said stored window functions.  
  22. A method as in claim 19 wherein the step of combining the wordsf(n)&#39;W(n) with selected trigonometric functions comprises storing trigonometric function values for one quadrant of a selected trigonometric function and combining the iast recited values with the f(n )-W(n) words to thereby provide said R and l words.  
  23. A method as in claim 19 including the further step of averaging a plurality of the obtained power values in a sum mode.  
  24. A spectrum analyzer as in claim 23 including the further step of averaging a plurality of the obtained power values in an exponential mode following said sum mode averaging.  
  25. A method including the steps of generating sequences of digital words, each sequence representing the time history of an analog signal over a selected time interval, generating from each sequence of digital words a set of signals representing the discrete Fourier transforms thereof for a selected set of spectral lines,  
 and processing the last recited signals to provide signals indicative of the power spectrum of the analog signal, wherein the step of generating said signals representing discrete Fourier transforms comprises combining the digital words with selected trigonometric functions to provide signals R and l for each digital word and each spectral line, where each signal R results from combining a digital word with a corresponding cosine function of an argument including a value representing a selected spectral line and each signal 1 results from combining a digital word with a corresponding sine function of an argument including a value representing the same selected spectral line, the resulting signals R and I being respectively the real and imaginary parts of the discrete Fourier transforms of the sequence of digital words for the selected set of spectral lines, wherein the combining stepe includes:  
 storing a selected number of values for the same trigonometric function of an argument including a value representing each of said spectral lines;  
 proving, for each different combination of a digital word and a spectral line, two generally different values from said stored values; and  
 processing at least one of the provided values to transform it to a different trigonometric function of its arguments for providing thereby said sine function and said cosine function of the argument. 26. A method as in claim 25 wherein the storing step includes storing only the value for said trigonometric function for one quadrant of a wave cycle.  
  27. A method including the steps of generating sequences of digital words, each sequence representing the time history of an analog signal over a selected time interval, generating from each sequence of digital words a set of signals representing the discrete Fourier transforms thereof for a selected set of spectral lines, and processing the last recited signals to provide signals indicative of the power spectrum of the analog signal, wherein the step of generating said signals representing discrete Fourier transforms comprises combining the digital words with selected trigonometric functions to provide signals R and l for each digital word and each spectral line, where each signal R results from combining a digital word with a corresponding cosine function of an argument including a value representing a selected spectral line and each signal I results from combining a digital word with a corresponding sine function of an argument including a value representing the same selected spectral line, the resulting signals R and I being respectively the real and imaginary parts of the discrete Fourier transforms of the sequence of digital words for the selected set of spectral lines, wherein each of the digital words of a sequence has a rank and each spectral line has a rank, and wherein the combining step includes:  
 storing a selected number of values of a single trigonometric function of an argument including a value representing each of the selected spectral lines;  
 combining a representation of the rank of each digital word with a representation of the rank of each spectral line to provide addresses identifying stored values and to provide an indication of the type of trigonometric function required for combining with the digital words and of the quadrant thereof;  
 providing stored values identified by the last recited addresses; and  
 processing the values provided in the preceding step in accordance with said indications to provide the recited sine functions and cosine functions.  
 # i l i t