Abstract:
An analog-to-digital converter having error correction in the digital stages of the converter. A calibration microprocessor executes a correction value program prior to, or interspaced with, the normal operation of the converter. From either of two calibration programs, appropriate digital correction values are stored into a digital memory. The analog input signal is converted to a digital signal by a main range analog-to-digital converter, with the output of the converter addressing the memory containing the error correction values. The main range digital value is reconverted to an analog signal which is compared to the original input signal to determine the difference therebetween. This analog difference is converted to a digital signal and combined with the main range digital signal and the addressed correction values to produce the digital output signal of the conversion system.

Description:
LICENSE RIGHTS 
     The U.S. Government has a paid-up license in this invention and the right in limited circumstances to require the patent owner to license others on reasonable terms as provided for by the terms of Contract F19628-80-C-0007 by the Department of the Air Force. 
    
    
     This application is a continuation of application Ser. No. 795,397 filed Nov. 6, 1985, abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     This invention relates, in general, to electronic circuit devices and, more specifically, to subranging analog-to-digital converters. 
     There is always a need for higher speed and higher accuracy analog-to-digital converters and there is usually a continuing design effort being undertaken to achieve these goals. Several different techniques have evolved which have exhibited good economic and performance characteristics for analog-to-digital converters. A popular technique employs the use of digitally corrected subranging converters. Background information on such converters is contained in various publications, such as in Pratt, W.J.: High Linearity and Video Speed Come Together In A-D Converters, &#34;Electronics,&#34; McGraw-Hill, Inc., Oct. 9, 1980. 
     Although analog-to-digital converters constructed according to the above reference are useful in certain applications, limitations on the speed and accuracy of the required digital-to-analog converter used in the subranging system has slowed the rate of advancement of the speed and resolution of the overall subranging analog-to-digital architecture. Therefore, various attempts to provide analog-to-digital converters using the basic subranging architecture and improving the performance thereof have been proposed by others. 
     One method of improving the performance of conventional subranging A/D converters is disclosed in U.S. Pat. No. 4,612,533 issued Sept. 16, 1986, which discloses an invention made by one of the inventors of the present application and is assigned to the Secretary of the Air Force. The system disclosed therein uses two high speed, low accuracy, digital-to-analog converters in the analog-to-digital conversion system. One of the digital-to-analog converters is used to provide a correction to the other digital-to-analog converter. This correction is made in the analog stages of the system which, because of its analog nature, does not readily permit the implementation of that invention with CMOS, gate array, or VHSIC technology. 
     Therefore, it is desirable, and it is an object of this invention, to provide a high speed analog-to-digital converter which requires a minimum of high speed, high accuracy analog components, thereby allowing implementation with the newest high speed, low power digital techniques. 
     SUMMARY OF THE INVENTION 
     There are disclosed herein new and useful systems and methods for converting analog input signals into digital values. Internal converter correction values are used in the digital portion of the circuitry, thereby minimizing the amount of analog components and circuits in the converter architecture. According to one embodiment of the invention, the analog signal to be converted is first converted to digital values and then reconverted to an analog signal. The digital values are applied to a digital combiner and also to a digital correction circuit which provides digital correction values to the digital combiner. The reconverted analog signal is compared to the original analog signal to determine the difference between the two signals. This difference is applied to an analog-to-digital converter and the digital values resulting therefrom are applied to the digital combiner. The three values applied to the digital combiner form the digital output of the overall analog-to-digital system. 
     The digital correction circuitry consists of a digital memory which has correction values stored therein which were determined by a previous calibration process. The calibration process is controlled by a microprocessor which applies known signals to the input of the analog-to-digital conversion system. These known signals may be applied, for calibration purposes, either before the analog-to-digital converter is put into operation or periodically throughout the operation of the analog-to-digital converter. 
     According to one embodiment of the invention, the digital combiner uses a linearity correction adder to add together the correction values and the digital values representing the differences between the original signal and the analog signal reconverted from the first analog-to-digital conversion. The output of the linearity correction adder is combined with the output of a bit overlap adder to which the original digital value converted from the applied analog signal is applied. According to another embodiment of the invention, the digital correction values from the digital memory are added by a linearity correction adder to the sum, provided by a bit overlap adder, of the first conversion digital values and the difference values. Both embodiments of the invention employ a digital memory with correction values which are added to the converted signal after it has been changed into digital form. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Further advantages and uses of this invention will become more apparent when considered in view of the following detailed description and drawings, in which: 
     FIG. 1 is a block diagram illustrating the overall arrangement of components of an analog-to-digital converter constructed according to this invention; 
     FIG. 2 is a diagram illustrating, in detail, the specific component relationships of one embodiment of the invention; and 
     FIG. 3 is a partial diagram illustrating, in detail, how the converter shown in FIG. 2 can be modified according to another embodiment of the invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Throughout the following description, similar reference characters refer to similar elements or members in all of the figures of the drawings 
     Referring now to the drawings, and to FIG. 1 in particular, there is shown an analog-to-digital conversion system constructed according to this invention. The analog signal to be converted is applied to the analog-to-digital converter 10 and also to the difference circuit 12. The converter 10 provides a first digital value (1D) which is applied to the digital-to-analog converter 14, the digital correction circuitry 16, and the digital combiner 18. The converter 14 changes the first digital signal from the converter 10 back into a first intermediate analog signal (1IA) which is equal to the original analog input signal except for any residue or unquantitized portion of the original signal plus any errors resulting from the converters 10 and 14. 
     The difference between the reconverted analog signal applied to the difference circuit 12 and the original analog input signal becomes the second intermediate analog signal (2IA) which is applied to the analog-to-digital converter 20. The output of the converter 20, which is the second digital signal (2D) existing within the converter circuitry, is applied to the digital combiner 18. The converter 10 is sometimes referred to as the main range A/D converter, and the converter 20 is sometimes referred to as the subrange A/D converter. 
     The first digital signal (1D) is applied to the digital combiner 18 and to the digital correction circuitry 16. This digital signal acts as an address to the digital correction circuitry 16, which may consist of a digital memory. Correction values (CV) contained within the digital memory are applied to the digital combiner 18. The digital combiner 18 combines or adds together the two digital values and the one correction value to form the overall digital output of the analog-to-digital converter 21. 
     FIG. 2 is a more detailed representation of the converter shown in FIG. 1. As shown in FIG. 2, the converters 10, 14 and 20 are similar to the corresponding converters shown in FIG. 1. These converters can be of the parallel (flash) type, or other conventional type. The input signal to the converter 10 comes from the sample and hold circuit 22, which receives its signal from the multiplexer 24. The analog input signal 26 is applied to the multiplexer 24 and, when the multiplexer is properly controlled through control line 28 from the calibration microprocessor 30, the input signal 26 is switched or passed to the sample and hold circuit 22. Depending on the function being performed by the converter 21, the calibration microprocessor 30 can control the input to the converter, by control of the multiplexer 24, so that signals from the calibration source 32 or the sine wave generator 34 will be applied to the sample and hold circuit 22. 
     Assuming, for purposes of this explanation, that the calibration has already taken place, the microprocessor 30 would control the multiplexer 24 such that the analog input signal 26 would be applied to the sample and hold circuit 22, which supplies a discrete value of the input signal to the analog-to-digital converter 10. The first digital value from the converter 10 is transferred across bus 36 to the converter 14, the calibration microprocessor 30, the memory 38, and the bit overlap adder 40. The digital information supplied to the microprocessor 30 is used during the calibration process for determining the value of the first digital signal, which value is also used as an address for the memory 38. 
     The digital-to-analog converter 14 reconverts the first digital signal, or value, back into an analog signal, denoted as the first intermediate analog signal (lIA) This intermediate analog signal is applied to the difference stage consisting of the operational amplifier 42, and the resistors 44 and 46. Since the original sampled and held analog signal from circuit 22 is also applied, through resistor 44, to the operational amplifier 42, the output of the operational amplifier 42 is proportional to the difference between the original analog signal 26 and the first intermediate analog signal (1IA). This output is, for descriptive purposes, indicated as the second intermediate analog signal (2IA), and is applied to the analog-to-digital converter 20. 
     Thus far, the original analog input signal 26 has been changed into two digital values, 1D and 2D, which are applied to the memory 38 and to the linearity correction adder 48, respectively. The 2D value would represent the difference between the 1D value and the desired or correct digital representation of the analog input signal if there were no errors in the digital converters within the converter system 21. However, since all such converters experience some error in their operation, the correction value (CV) is digitally added to the other digital values, according to this invention, in order to obtain a more precise overall digital output value. 
     It is emphasized that the digital quantities discussed herein are discrete digital values which represent a sampled value of a continuous analog input signal. Since the analog-to-digital converter 21 of this system would ordinarily be sampling the input signal at a fast rate and providing discrete digital output values at this high rate, it is sometimes convenient to regard the digital output quantities as a digital output signal. It is intended that the teachings of this invention are applicable to an analog-to-digital conversion system which continuously and frequently outputs digital values to form a digital output signal. Similarly, where a digital signal is described, it may be more accurately regarded as a series of digital output values occurring sequentially in time. In some portions of this description, it is more appropriate to describe the invention by specifying the conversion of a single digital value although usual operation would use many of such values. 
     The linearity correction adder 48 is a binary adder which combines the correction value and the second digital value to provide the least significant bits (LSBS) of the digital output signal, or value, 50. The most significant bit of the linearity correction adder 48 is applied to the bit overlap adder 40, which is also a binary adder. The most significant bit from the adder 48, represented by the line 52, is combined with the first digital value to provide the most significant bits (MSBS) of the digital output signal 50. The combined bits of the digital output signal 50 are conveyed back to the calibration microprocessor 30 by the bus 54. In effect, the digital combining circuitry to the right of line 56 shown in FIG. 2, adds the error correction value to the digital difference value, and combines the total with the first digital value to provide the overall output of the analog-to-digital conversion system. 
     FIG. 3 is a partial diagram illustrating how the circuitry of FIG. 2 may be modified to combine the digital values in another manner. According to FIG. 3, the first and second digital values from the conversion circuitry are combined by the bit overlap adder 40 before the correction value is added thereto by the linear correction adder 48. The resulting digital output 50 is similarly transferred through bus 54 back to the calibration microprocessor 30. When only a small linearity correction is expected, the architecture shown in FIG. 2 is preferred. When the linearity correction is expected to be a larger fraction of the quantitization level of the analog-to-digital converter 10, the architecture shown in FIG. 3 allows for a larger range of correction values, and is the preferred arrangement. 
     The digital memory 38 can be any one of the usual digital memory types, such as RAM, ROM, EPROM, or EAROM. Regardless of the type of digital memory, the values stored at the address locations in the memory are, when addressed by the first digital value from bus 36, available to the digital correction value bus 58. The bus 60 between the microprocessor 30 and the memory 38 is used during the process of storing the appropriate values into the memory 38 when the calibration is being performed. 
     Two types of calibration processes may be used to determine and store the correction values into the memory 38. When the digital output is to have low harmonic distortion characteristics, the process for determining the appropriate correction values makes use of the sine wave oscillator 34. In such a process, the sine wave oscillator 34 is connected by the multiplexer circuit 24, under control of the calibration microprocessor 30, to the input of the digital conversion system. The processor performs a fast Fourier transform on the digital output signal 50 and, from the harmonics measured, determines the correction values which should be stored in the memory 38. This is usually accomplished before the conversion system is required to perform the functions of analog-to-digital conversion. However, such calibration sequences can be performed intermittently during the course of converting a signal to digital values, thereby keeping the calibration values, or correction values, accurate even with changes in operating parameters of the circuit components. A more in depth discussion and description of the harmonic distortion reduction technique provided by the correction values determined in this manner is contained in the referenced patent application. 
     When differential linearity of the output signal is the primary concern, the calibration process makes use of the calibration source 32. The source 32 can be a highly accurate digital-to-analog converter which is controlled by digital signals over bus 62 from the microprocessor 30. When this calibration technique is used, the microprocessor 30 sends out the appropriate signals to the calibration source 32 to step it through the dynamic range of the conversion system 21. As the precise calibration signal 64 is applied to the conversion system, the microprocessor determines the correction value needed to make the actual output of the conversion system equal to the input signal 64. This is done for each discrete value of the first digital signal (lD) which is available on bus 36 to the microprocessor 30. Therefore, a correction value for each discrete value of the quantity on bus 36 is determined for storage into the memory 38. Consequently, during normal operation of the conversion system, the calibration microprocessor 30 will not be controlling the operation of the converter, and each difference value on the bus 36 selects a corresponding address in memory 38 to obtain a correction value for modifying the digital output signal. 
     Instead of writing just the correction values into the digital memory and later adding it to the first or main range digital value, the sum of the correction and main range values may be stored in the memory. This eliminates the need for one stage of adders. However, a wider memory is required to store all of the bits necessary to represent the correction value plus the main range value. 
     Since the various converters within the conversion system, such as converters 10, 14 and 20 shown in FIG. 2, are converting only a part of the original analog input signal, their bit resolution need not be as great as the overall resolution or accuracy of the converter system. For example, in the embodiment shown in FIG. 2, the analogto-digital converter 10 may have a bit resolution of five bits, the digital-to-analog converter 14 may have an accuracy which is less than the 12-bit output accuracy, and the analog-to-digital converter 20 may have a bit resolution of seven bits. The calibration source 32, which is used during the determination of the correction values for memory 38, could be a 16-bit low speed, high accuracy digital-to-analog converter. Normally, the number of bits to which the overall converter is accurate equals the sum of the number of bits of the analog-to-digital converter 10 plus one less than the bit accuracy of the analog-to-digital converter 20. One bit is subtracted in order to &#34;overlap&#34; one bit in the combining system. 
     Using the techniques disclosed herein allow the use of digital components to apply the correction values to the uncorrected digital output values In addition to these more convenient arrangements for implementing the digital combining with current digital technology, the digital-to-analog converter 14, shown in FIG. 2, can be a low speed, high accuracy converter without detracting from the system performance. The invention uses digital circuitry to correct for analog inaccuracies in the analog components of a subranging analog-to-digital converter. 
     It is emphasized that numerous changes may be made in the above described system without departing from the teachings of the invention. It is intended that all of the matter contained in the foregoing description, or shown in the accompanying drawings, shall be interpreted as illustrative rather than limiting.