Time domain data converter with output frequency domain conversion
A time domain data converter with output frequency domain conversion. A data conversion circuit is operable to receive a signal in the time domain and provide an output in the frequency domain. It includes a data converter for converting data from an analog format to a digital format in the time domain. It also includes a processor for processing the data in the digital format output from the data converter through a time domain/frequency domain transform to provide data in the digital format in the frequency domain.
This application is a Continuation application of U.S. Ser. No. 09/376,761, filed on Aug. 17, 1999, titled “TIME DOMAIN DATA CONVERTER WITH OUTPUT FREQUENCY DOMAIN CONVERSION (Atty. Dkt. No. HCAI-24,725.), and is related to U.S. Pat. No. 6,369,738, issued on Apr. 9, 2002, titled “TIME DOMAIN/FREQUENCY DOMAIN DATA CONVERTER WITH DATA READY FEATURE, (Atty. Dkt. HCAI-24,766).
TECHNICAL FIELD OF THE INVENTIONThe present invention pertains in general to data converters and, more particularly, to a time domain data converter with the output thereof processed through a frequency domain transform to provide an output in the frequency domain.
BACKGROUND OF THE INVENTIONConventional data converters provide either conversion from the analog domain to the digital domain in a typical analog-to-digital converter, or from the digital domain to an analog domain as a digital-to-analog converter. Typical analog-to-digital (A/D) converters of the delta sigma type provide some type of analog modulator for providing the initial data conversion, which is then followed by some type of filtering step. Conventionally, the filtering is performed in part in the digital domain. This requires some type of digital processing of the digital output of the modulator in the form of a digital filter such as a Finite Impulse Response (FIR) filter. However, the digital values output therefrom are values that exist in the time domain.
In some applications, it is desirable to determine information in the frequency domain after the conversion operation. Such applications as spectrum analyzers, for example, require such information. Therefore, the output of the data converter in the digital domain is then processed through some type of transform for converting time domain information to frequency domain information, this all completed in the digital domain.
The types of transform engines that are utilized to convert time domain information to digital domain information typically utilize some type of Fourier Transform, the most common being a Discrete Fourier Transform (DFT). The DFT is a one-to-one mapping of any finite sequence {y(r)}, r=0,1,2 . . . , N-1 of N complex samples onto another sequence. This is defined by the following relationship:
where:
In general, a DFT algorithm requires a plurality of multiplication/accumulation operations. To reduce the number of these multiplication/accumulations, a Fast Fourier Transform (FFT) can be implemented to provide a rapid means for computing a DFT with Nlog2N multiplies, which otherwise would have taken N2 complex multiplications. Even with the reduction of the number of multiplications, there are still a large number of multiplication/accumulation operations that are required in order to calculate the time domain/frequency domain conversion. Conventionally, a Digital Signal Processor (DSP) is required which is typically a separate integrated circuit. As such, whenever providing for both a data conversion operation with an A/D converter, and a time domain/frequency domain conversion with a DSP, there are typically required two integrated circuits.
In general, there does not exist a commercial monolithic solution providing both the benefits of a data converter with that of a frequency domain converter such that an analog input can be received, converted to the digital domain and this digital value processed to provide a frequency domain output. In general, typical solutions utilize a data converter that provides a digital value in the time domain which is then input to a processor. This processor can be in the form of a microcontroller or a DSP. A data converter, due to its inherent construction, basically provides the ability to convert an analog input signal to a digital time domain output signal with a defined bit-resolution. This, of course, provides an output in the time domain. When processing this time domain signal to provide a frequency domain output, the processor is programmed to process some type of Discrete Fourier Transform or Fast Fourier Transform. Any type of algorithm that provides such a transform can be utilized. However, in order for a designer to utilize such a transform, this requires programming of the processor or microcontroller. Therefore, if an existing design must be upgraded to provide such a function or be required to process in the frequency domain, then a more complex DSP or microcontroller must be utilized. This is due to the fact that any processing in the frequency domain requires a more complex processing capability. The result is that an upgrade to a frequency domain solution from a time domain solution will probably require the designer to change his design to incorporate a much more complex processing section, in addition to also requiring a significant amount of programming of that processing section, this programming being the most expensive aspect of such an upgrade. It is desirable to utilize the pre-upgrade processing section, which is typically a relatively simple processor, and merely upgrade the data converter. However, the mere change of a design to process in the frequency domain as opposed to the time domain will necessitate additional processing capability and programming.
SUMMARY OF THE INVENTIONThe present invention disclosed and claimed herein comprises a data conversion circuit for receiving a signal in the time domain and providing an output in the frequency domain. A data converter is provided for converting data from an analog format to a digital format in the time domain. A processor is provided for processing the data in the digital format output from the data converter through a time domain/frequency domain transform to provide output data in the frequency domain.
BRIEF DESCRIPTION OF THE DRAWINGSFor a more complete understanding of the present invention and the advantages thereof, reference is now made to the following description taken in conjunction with the accompanying Drawings in which:
Referring now to
Typically, the data converter 105 provides a multi-bit output with a defined data width. This is then input to the filter 109 which will typically operate at a higher data width. For example, the output of the data converter 105 may be a 12-bit output whereas the filter 109 processes in a 16-bit, or 32-bit data width. This will preserve the dynamic range of the initial A/D conversion. The filter 109 may then truncate the digital output values and then this output provided on a serial output by processing it through a parallel/serial converter (not shown). This, again, represents processing in the time domain, illustrated to the left of a phantom line 113.
The output of the IC 103 is input to an IC 121, which is basically comprised of a DSP engine 123. This DSP engine is operable to perform a pre-determined transform on the data to convert the digital data output by the IC 103 into frequency domain information on a digital output 125. Typically, although not limiting, this utilizes a DFT transform. This type of transform will require a finite number of samples within a block to glean the frequency information, with each block having a set size and starting point.
Referring now to
In general, by incorporating both the data conversion operation and the frequency domain transformation circuit in the same monolithic circuit, a single measurement module is provided wherein the functions of a data converter and a processing circuit are incorporated into a single monolithic solution, which processing circuit can incorporate the functions that are normally associated with DFT-type calculations. As will be described hereinbelow, this is facilitated without requiring the full capability of a DSP.
Referring now to
Referring now to
The output of the A/D converter 201 can be output on a bus 405 to a parallel/serial converter 407 to provide a time domain output from A/D converter 201. The output of the processing section of the time domain digital processing section 403 is provided on the output of a bus 409 to a parallel/serial converter 411 to provide a processed time domain output. Again, this processing can be either mere filtering, some type of pre-processing in the time domain for the frequency domain transform process or a combination thereof.
Once the time domain information has been processed, it is output on the bus 409 to the input of a frequency domain transform process engine 415, which is substantially the same as engine 301. The frequency domain transform process engine 415 receives each of the digital sampled outputs in the time domain on bus 409 from the converter section 203. A sequence clock 419 is provided for controlling the operation of the frequency domain transform operation. With some transform algorithms, the data input thereto may have to be stored in some type of elastic storage device. The sequence clock 419 basically determines in what sequence the various multiplications and accumulations are to be carried out for the DFT algorithm or even the DFT operation. The DFT operation, as described hereinabove, operates on a block of samples. For example, the resolution of the DFT is the ratio of sampling frequency fs to the number of samples N. If the sampling frequency were 100 kHz and the number of samples N were equal to 1024, then the frequency resolution would be approximately 100 Hz. For this resolution, it would be required that 1024 samples be processed in a given block to provide the frequency information regarding those 1024 samples. This would provide frequency information for each 100 Hz increment or “frequency bin.” The sequence clock requires some type of block start signal in the form of an input on an input line 421 which defines the start of the block, and the sequence clock 419 having knowledge as to the number of samples in the block. This is different than the requirement for the converter section 203, in that converter section 203 does not require any information as to the number of samples in the block.
Typically, the DFT algorithm will operate on a block of samples which will then provide frequency information in various “bins.” These frequency bins are generated such that one is generated for each input sample output from the data converter 203, this being described in more detail hereinbelow. However, as also described hereinbelow, it is not necessary to output all of the information stored in the frequency bins which is generally calculated by the DFT algorithm. This will be the result of some post processing operation.
The output of the transform processor engine 415, which is comprised of the frequency information in the various bins, is output on a bus 425 and can be input to a parallel/serial converter 428 for direct output thereof as a serial digital value. This therefore provides serial output information as to the various binned information. Typically, this can be an addressable location, as will be described hereinbelow. The bus 425 is also input to a post processor 427, which post processor 427 can perform certain operations on the binned information output by the transform processor 415. This will provide frequency domain process output information on an output 429 through a parallel/serial converter 431.
The post processor 427 allows a user to basically perform certain operations on the binned frequency information. For example, it may be that all the information required by the user is merely magnitude information from a few bins. In situations where the input/output (I/O) bandwidth is a concern, calculating, post processing, and outputting only a subset of the total number of frequency bins may be desirable. This can be programmable through the user program block 437 which receives an external program signal on a line 439 or the programming can be provided at a mask level. As such, binned information can be processed to provide less than all the binned information output therefrom. This is advantageous in that it may not be necessary to perform all the calculations necessary for complete analysis of the frequency content. For example, it may be that all the information that is required by the user is merely magnitude information from a few bins.
Although the time domain processor 403, the transform block 415 and the post processor 427 have been disclosed as utilizing separate processing engines, two or all of these functions could be performed by a single processing engine.
Referring now to
The timing information is generally provided by a master clock 511 which is operable to generate a master clock signal. This can be divided by divide circuit 513 to provide a sampling frequency fs. However, the sequencing operation provided by the transform block 415 is not necessarily synchronized with the sampling clock. As such, an analog phase lock loop (APLL) 514 is provided to give a multiply operation and scale the master clock up in frequency, followed by a digital phase lock loop (DPLL) 515 which is provided for functions such as digital noise management. Again, there is a block start operation that must be provided for the transform block 415.
The frequency domain output of the transform operation can be stored in frequency bins 519 which are addressable locations in the integrated circuit. These can be directly output through a parallel/serial converter 521, which basically allows for addressable selection thereof, the addressing operation not illustrated. The output of the transform block 415 is input to the post processor section 427 to allow direct post processing thereof, with the results thereof storable in the memory 519. Alternately, each of the binned values stored in memory by the transform block can be input to the post processing section 427 for processing thereof, the output thereof input to a parallel/serial converter 431. This post processing section 427, since all of the frequency information is collected and stored in the bins, can process any amount of this information to provide an output in accordance with a pre-determined post processing algorithm. It is noted that this post processing algorithm need not require all the frequency bin information to be stored. As such, this will reduce the amount of storage required, and also possibly reduce the amount of processing required by the transform block 415.
Since the entire string of processing for the time domain and the frequency domain is contained on a single integrated circuit chip, this removes the requirement for an I/O interface between two chips. As such, it can be seen that the various bus widths can be increased internal to the chip and then decreased or truncated for output therefrom. For example, the AID converter could be realized with a SAR to provide a 12-bit output. The digital filter section 501, in order to maintain the resolution of A/D converter 401, could be operated at 16-bits to provide on the output there of a 16-bit output on bus 507. This 16-bit output could then be processed through a time domain process block 503 which could process at the 16-bit data width or even wider. This same 16-bit output or wider data width could be output on the bus 409 to the transform block 415 without requiring any truncation or subsequent processing to account for I/O considerations. This direct output can be input to the transform block 415, which in and of itself could require wider data paths for the processing. This data path can be output directly into the frequency bins or be truncated before input to the frequency bin. This, in general, will allow the system to maintain the wider internal bus width and maintain the data resolution of the A/D converter 401.
Referring now to
In order to control the overall operation of the frequency domain integrated circuit described hereinabove, a control interface 535 is provided. The control interface 535 is interfaced with a multiplexer 530 and all of remaining blocks in the system, the digital filter 501, the time domain processor 503 and the TD/FD transform block 415, in addition to the memory 519. In general, the control interface 535 allows the user a single port or pin by which to control various aspects of the system. A control register 534 is provided which is interfaced with the control interface 535 for storing control parameters that are associated with the operation of the integrated circuit. This allows a user to both provide commands through the line 536 to control the operation thereof and also allows data to be downloaded to the control register 534 or extracted from the control register 534. This control interface 535 therefore provides a “common control interface” for the overall chip in the form of the data converter portion for providing digital data in the time domain and the frequency domain translator portion. This is to be compared to previous systems that require multiple chips and separate control interfaces therefore. As such, less control pins will be required for a totally integrated solution by utilizing a common control interface. Only one interface is required in addition to the user only requiring to have knowledge as how to interface with this single interface.
Referring now to
Referring now to
Referring now to
Referring now to
The transforms described hereinabove were the DFT and the FFT transforms. However, there were many other transforms that can be utilized in transforming a time domain value to a frequency domain value. These transforms can result in significantly less calculations. For example, the Goertzel transform is a transform that allows the transform to be carried out for a single bin with a relatively simplistic algorithm. This requires a very small number of clock cycles in order to perform this operation. This algorithm is described in Goertzel, “An Algorithm for the Evaluation of Finite Trigonometric Series,” American Math Monthly, 65, pp. 34-35, January 1958, which reference is incorporated herein by reference. Therefore, if only the information for a single bin were required, the Goertzel algorithm would be sufficient and this algorithm could easily be facilitated in a hardware application. Further, since the Goertzel algorithm is relatively straight forward, it would be relatively easy to change to a different bin number.
Referring now to
Referring now to
The output of the transform block 415 can then be input to one of multiple bins 1105. It may be that the integrated circuit is designed to only perform calculations for association with certain bins or provide all N/2 bins, each bin storing a real and imaginary part. If multiple bins are provided, there is some type of addressing that is required which is provided by an input/output control block 1107.
This receives a control signal external to the system to select a bin for output therefrom. Further, there could be a situation wherein the bins are sequentially output and the control block 1107 would control such output. These are then processed through a parallel/serial block 1109 and then provide a serial output. This type of output is conventional. Typically, whenever dealing with this type of storage, there would typically be provided two memory storage locations, one for the output bins 1105 and an additional block 1111 for the accumulation operation. In general, each of the bins must be subject to an accumulation operation during the processing and then the final output latched over into the bin memories 1105.
Although the preferred embodiment has been described in detail, it should be understood that various changes, substitutions and alterations can be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims
1. A data conversion circuit for receiving a signal in the time domain and providing an output in the frequency domain, comprising:
- a data converter for converting data from an analog format to a digital format in the time domain;
- a transform processor for processing the data in the digital format output through a time domain/frequency domain transform to provide data in a digital format in the frequency domain; and
- an interface for interfacing the output of said data converter to the input of said transform processor.
2. The data conversion circuit of claim 1, wherein the output of said data converter and the output of said transform processor are input to a multiplexer, said multiplexer controlled by a control signal to select either the output of said data converter or the output of said transform processor to provide a single output from the data conversion circuit.
3. The data conversion circuit of claim 1, and further comprising a timing circuit for controlling the timing operation of said data converter and said transform processor such that the operation of said data converter and said transform processor are associated with a common time base.
4. The data conversion circuit of claim 1, wherein said data converter is operable to output a plurality of sampled values at a sampling rate at of fs and wherein said time domain/frequency domain transform operates on a predetermined number of samples as a block of samples, wherein said calculations performed by said time domain/frequency domain transform require all of said samples in said block.
5. The data conversion circuit of claim 4, wherein said time domain/frequency domain transform comprises a discrete fourier transform (DFT).
6. The data conversion circuit of claim 4, wherein said transform processor is operable to perform a partial transform after the receipt of each sample in said block.
7. The data conversion circuit of claim 6, wherein there are N samples in each of said blocks and said DFT transform calculates N/2 real parts and N/2 imaginary values.
8. The data conversion circuit of claim 4, wherein the output of said transform processor comprises a plurality of real and imaginary values, each associated with a frequency bin, there being in N/2 bins for N samples.
9. The data conversion circuit of claim 4, wherein said time domain/frequency domain transform comprises a fast fourier transform.
10. The data conversion circuit of claim 4, wherein said time domain/frequency domain transform comprises a Goertzel transform.
11. The data conversion circuit of claim 1, and further comprising a controller varying the operation of the time domain/frequency domain transform through variation of associated parameters in response to external program signals, such that the operation of said time domain/frequency domain transform can be altered.
12. The data conversion circuit of claim 1, and further comprising a digital time domain processor for processing the output of said data converter in the digital time domain prior to input to said transform processor through said interface.
13. The data conversion circuit of claim 12, wherein said digital time domain processor and said time domain/frequency domain transform are realized with a single processing engine.
14. The data conversion circuit of claim 1, and further comprising a post-processor for receiving the output of said transform processor and performing predetermined operations thereon prior to output therefrom.
15. The data conversion circuit of claim 14, and further comprising a memory for storing the output of said post-processor.
16. The data conversion circuit of claim 1, and further comprising a memory for storing the output of said transform processor.
17. The data conversion circuit of claim 1, and further comprising a controller for varying both the time domain and frequency domain operation through variation of associated parameters in response to external program signals.
18. The data conversion circuit of claim 1, and further comprising a controller for varying both the time domain and frequency domain operation through variation of associated parameters in response to external program signals received through a common control interface.
19. A method for receiving a signal in the time domain and providing an output in the frequency domain, comprising the steps of:
- converting data with a data converter from an analog format to a digital format in the time domain;
- processing the data with a transform processor in the digital format output through a time domain/frequency domain transform to provide data in a digital format in the frequency domain; and
- interfacing the output of the data converter to the input of the transform processor.
20. The method of claim 19, and further comprising the step of inputting the output of the data converter and the output of the transform processor to a multiplexer, and controlling the multiplexer by a control signal to select either the output of the data converter or the output of the transform processor to provide a single output therefrom.
Type: Application
Filed: Jun 14, 2004
Publication Date: Jan 27, 2005
Inventor: Eric Swanson (Buda, TX)
Application Number: 10/867,558