Multistep analog-to-digital converter with error correction

Abstract: Sub-ranging analog-to-digital converter comprising a coarse converter (2), digital-to-analog converter (3), subtracter circuit (4) and a fine converter (5). Errors of the coarse converter (2) are detected in the fine converter (5) by means of an overflow detector (6) and an underflow detector (7) which generate an overflow signal (OF) and an underflow signal (UF). The digital output (D A ) of the coarse converter (2) is corrected by first subtracting one unity in a decoder (9) and then, in response to the overflow and underflow signal, adding thereto zero, one or two unities.

Description: The invention relates to an analog-to-digital converter comprising: a first analog-to-digital converter for converting a first analog signal to a first digital signal which denotes in what sub-range of a plurality of sub-ranges the first analog signal is situated, a digital-to-analog converter converting the first digital signal to a second analog signal, a second analog-to-digital converter for converting a difference signal indicative of the difference between the first and second analog signals to a second digital signal, detection means for detecting an overflow and an underflow if the difference signal is situated above and below respectively, the sub-range denoted by the first digital signal, correction means for correcting the first digital signal in response to the detection of the overflow and underflow. An analog-to-digital converter (ADC) of this type is known from United States Patent No. 3,967,269 and is of a type known as multistep or sub-ranging ADC. In this type of ADC the conversion to the desired digital output signal is performed in two or more steps while in each step a separate ADC converts an ever smaller sub-range of the overall range of the analog input signal to be converted. In the prior art ADC, a coarse conversion of the first analog signal to be converted to the first digital signal is effected in the first ADC 1 having an M-bit resolution. The first digital signal is reconverted to a second analog signal in the digital-to-analog converter. The difference between the second and first analog signals is then fine-converted to the second digital signal by means of the second ADC having an (N-M)-bit resolution. The M bits of the first and the (N-M) bits of the second digital signal are combined to the desired N-bit digital output signal, the bits of the first digital signal forming the most significant bits and the bits of the second digital signal forming the least significant bits of the output signal. As a result of errors in the system the difference signal may come to be outside the analog sub-range determined by the first ADC. Such errors may be caused by, for example, decision errors in the first ADC. The prior art ADC comprises detection means signalling by means of an overflow signal or an underflow signal whether the difference signal has come to be above or below the sub-range as a result of an error. In the prior art ADC the error is corrected in the following manner. In the case of an overflow the second ADC produces a second digital signal which has a value reduced by a number equal to the maximum number of sub-ranges the second ADC is capable of measuring (fold-back) and in a digital arithmetic unit one bit is subtracted from the first digital signal. In the case of an underflow the second ADC produces a second digital signal which has a value increased by afore-mentioned number and in the digital arithmetic unit one bit is subtracted from the first digital signal. If neither an underflow nor an overflow is detected, the difference signal lies within the range denoted by the first digital signal. In that case the second digital signal is produced by the second ADC unaltered, and no arithmetic operation is performed on the first digital signal by the digital arithmetic unit. A disadvantage of this prior art error correction method is that the digital arithmetic unit is to be capable of both adding one bit to the first digital signal and subtracting one bit therefrom. The realisation of an arithmetic unit which is capable of performing both operations is circumstantial. It is an object of the invention to provide a multistep ADC with an error correction that is simpler to implement. An analog-to-digital converter of the type mentioned in the opening paragraph is characterized according to the invention, in that the correction means comprise: generating means for generating a third digital signal which represents a value that is one least significant bit lower than the value represented by the first digital signal, adder means for adding to the third digital signal zero and two least significant bits respectively, in the case of a detection of the underflow and overflow respectively, and one least significant bit in the other case. The third digital signal always has a value one least significant bit lower than the first digital signal. For the error correction a mere addition by zero, one or two least significant bits to the third digital signal is now sufficient. When underflow is detected, nothing is added to the third digital signal, when overflow is detected, two bits are added and if the difference signal lies within the range, one bit is added to the third digital signal. The result of these operations on the first digital signal has the same effect as that of a one-bit adding/subtracting operation according to the state of the art. The invention will now be further explained with reference to the appended drawing, in which: Fig. 1 shows a block diagram of an analog-to-digital converter according to the invention; Fig. 2 shows a diagram in explanation of the operation of the analog-to-digital converter shown in Fig. 1; and Fig. 3 shows a circuit diagram of a correction circuit to be used in the analog-to-digital converter shown in Fig. 1. Fig. 1 shows a two-step sub-ranging analog-to-digital converter (ADC) with error correction according to the invention. An analog signal to be converted I 1 is applied via a sample-and-hold circuit 1 as a sampled analog signal U 1 to a first ADC 2. This ADC 2 performs a coarse conversion of the analog signal U 1 and produces a first digital signal D A with a resolution selected to be, for example, 5 bits, of which the least significant bit (LSB) is referenced A 0 and the most significant bit (MSB) is referenced A 4 . The digital signal D A is reconverted in a digital-to-analog converter (DAC) 3 to a second analog signal U 2 which marks the beginning of the analog sub-range of the input signal U 1 determined by the coarse ADC 2. Coarse ADC 2 in this example divides the overall range of the input signal U 1 into 2 5 =32 sub-ranges. In a difference stage 4 the second analog signal U 2 is subtracted from the first analog signal U 1 . The conversion in coarse ADC 2 takes some time. The sample-and-hold circuit 1 provides that the analog signals applied to the difference stage 4 and to the coarse ADC 2 have the same instantaneous value. The difference signal U 3 between the analog signals U 1 and U 2 is applied to a second ADC 5 and converted to a second digital signal D B likewise containing 5 bits, of which the MSB is referenced B 4 and the LSB is referenced B 0 . ADC 5 performs a fine conversion of the difference signal U 3 and divides the sub-range selected by coarse ADC 2 into 32 smaller sub-ranges. In this fashion a total of 32 x 32 = 1024 (2 10 ) sub-ranges are distinguished in the amplitude range of the analog signal U 1 . The ADCs 2 and 5 may be of any known type, for example, flash converters comprising a resistance ladder and comparators. When an errorless coarse conversion is performed by coarse ADC 2, the difference signal U 3 will always be situated in the same analog signal range that is covered by fine ADC 5. However, if through unknown causes coarse ADC 2 produces a digital signal D A that does not correspond to the actual sub-range in which the analog signal U 1 is situated, the difference signal U 3 will fall outside the expected range and the digital output signal D B of fine ADC 5 will present an incorrect value. For this matter, the digital signal D B cannot be smaller than 00000 and not be greater than 11111. To eliminate this situation, fine ADC 5 comprises an overflow detector 6 which produces an overflow bit OF that signals, for example, by means of OF = 1, when the difference signal U 3 is greater than permitted and includes an underflow detector 7 which produces an underflow bit UF that signals, by means of UF = 1, that the difference signal is smaller than permitted. The OF and UF bits may be generated in various ways, for example, by permitting fine ADC 5 converting twice as large a signal range as is strictly necessary. Internally, the fine ADC 5 then operates with a resolution of one bit more, in this case 6 bits. Fig. 2 shows how the range of the analog signal U 1 is divided into sub-ranges by the coarse ADC 2. Only a few sub-ranges of all the 32 have been shown. The signal range U 3 of fine ADC 5 is twice as large as the sub-range V(K+1)-V(K) of the coarse ADC 2 determined by two successive reference values, and overlaps this sub-range by equally large portions on either side. The operation of the fine ADC 5 may be as described in afore-mentioned United States Patent No. 3,967,269. If the analog signal U 1 exceeds V(K+1), there is an overflow situation and the underflow detector 7 generates an overflow bit OF=1. The 6-bit internal number is reduced by 2 5 +2 4 =48 (fold-back) and the 5 least significant bits of the resulting number are presented on the output of the fine ADC 5. If the analog signal U 1 is smaller than V(K), there is an underflow situation and the underflow detector 7 generates an underflow bit UF = 1. The 6-bit internal number is now increased by 2 4 = 16 and only the 5 least significant bits of the resulting number are presented on the output of the fine ADC 5. If the analog signal U 1 lies between the reference values V(K+ 1) and V(K), both the overflow bit OF=0 and the underflow bit UF=0. The difference signal U 3 is then in range. The 6-bit internal number is reduced by 2 4 =16 and 5 least significant bits thereof are presented on the output of the fine ADC 5. The correction of the digital signal D A of the coarse ADC 2 is effected in the correction means 8 in response to the overflow bit OF and underflow bit UF. In a decoder 9 the digital signal D A is first decoded to a third digital signal D C with the bits C 4 -C 0 and having a value that is one LSB lower than the value of the digital signal D A . Subsequently, the digital signal D C is processed in an adder 10 and the result of this operation becomes available on an output as a digital signal D D with the bits D 4 -D 0 . In adder 10 nothing is added to the digital signal D C if the underflow bit UF=1; 1 LSB is added if both the overflow bit OF=0 and the underflow bit UF=0 and 2 LSBs are added if the overflow bit OF=1. Thus, a detected incorrect value of the digital signal D A from the coarse ADC 2 is corrected in the correction means 8 by way of arithmetical operations which are either a subtraction or an addition and are therefore relatively simple to implement. The decoder 9 may form part of the coarse ADC 2 which produces in that case both the digital signal D A and the digital signal D C . This is especially advantageous if ADC 2 operates with an internal digital code, such as, for example, the thermometer code which differs from the digital code presented on the output terminals. ADC 2 then internally comprises a decoder which converts the internal thermometer code to the desired digital output signal code. It is then relatively simple to modify this decoder which is present anyway and give it a twofold function, so that in addition to the digital signal D A also the digital signal D C is produced. A further possibility is that DAC 3 is arranged for receiving a digital signal having a code equal to the internal code, for example, again the thermometer code of ADC 2. In that case no decoding of the internal thermometer code to the desired output signal code is necessary in ADC 2. The decoder in ADC 2 then only performs the single function of decoder 9. Furthermore, it is also possible for the adder 10 to be incorporated in the coarse ADC 2 and this ADC to have two outputs: one for the normal digital signal D A and one for the digital signal D D . The bits of the digital signals D D and D B together form the digital output signal of the two-step ADC. The 5 bits D 4 -D 0 of D D form the most significant bits and the 5 bits B 4 -B 0 of D B form the least significant bits of the 10-bit output signal. Fig. 3 shows a possible realisation of the adder 10. Bit C 4 of the digital signal D C is fed to an input of both the dual input AND gate 20 and a dual input X-OR gate 21. Bits C 3 , C 2 , C 1 and C 0 are similarly fed to the respective AND gate 22 and X-OR gate 23, AND gate 24 and X-OR gate 25, AND gate 26 and X-OR gate 27, and AND gate 28 and X-OR gate 29. The remaining inputs of the gates 20 and 21 are connected to the output of the gate 22. The remaining inputs of the gates 22 and 23 and the gates 24 and 25 are similarly connected to the outputs of the respective gates 24 and 26. The remaining inputs of the gates 26 and 27 are connected to the output of a dual-input OR gate 30, whose one input is connected to the output of gate 28 and whose other input is connected to the overflow bit OF. The overflow bit OF and the underflow bit UF are fed to inputs of a dual input X-OR gate 31 whose output is connected to the remaining inputs of the gates 28 and 29. On the outputs of the gates 21, 23, 25, 27 and 29 are available the bits D 4 , D 3 , D 2 , D 1 and D 0 . The output of gate 20 presents a carry-bit. The invention is not restricted to the depicted two times 5-bit two-step analog-to-digital converter. The error correction may also be used in multistep converters having any desired resolution.

Claims: Analog-to-digital converter comprising: a first analog-to-digital converter (2) for converting a first analog signal (U 1 ) to a first digital signal (D A ) which denotes in what sub-range from a plurality of sub-ranges the first analog signal (U 1 ) is situated, a digital-to-analog converter (3) converting the first digital signal (D A ) to a second analog signal (U 2 ), a second analog-to-digital converter (5) for converting a difference signal (U 3 ) indicative of the difference between the first and second analog signals (U 1 , U 2 ) to a second digital signal (D B ), detection means (6,7) for detecting an overflow (OF) and an underflow (UF) if the difference signal is situated above and below respectively, the sub-range denoted by the first digital signal, correction means (8) for correcting the first digital signal (D A ) in response to the detection of the overflow (OF) and underflow (UF), characterized in that the correction means (8) comprise: generating means (9) for generating a third digital signal (D C ) which represents a value that is one least significant bit less than the value represented by the first digital signal (D A ), adder means (10) for adding to the third digital signal (D C ) zero and two least significant bits respectively, in the case of a detection of the underflow (UF) and overflow (OF) respectively, and one least significant bit in the other case. Analog-to-digital converter as claimed in Claim 1, characterized in that the first analog-to-digital converter (2) comprises a decoder for decoding an internal digital signal having an internal code to the first digital signal (D A ) having an external code which differs from the internal code, and in that the generating means (9) for generating the third digital signal (D C ) are included in the decoder. Analog-to-digital converter as claimed in Claim 2, characterized in that the external code of the first digital signal (D A ) is equal to the internal code of the first analog-to-digital converter (2) and in that the digital-to-analog converter (3) is arranged for receiving a digital input signal having the internal code.

Inventors: PELGROM M J M, VERDAASDONK J P M, VORENKAMP PIETER, PELGROM, M.J.M., VERDAASDONK, J.P.M., VORENKAMP, PIETER, Pelgrom, M.J.M., c/o INT. OCTROOIBUREAU B.V., Verdaasdonk, J.P.M., c/o INT. OCTROOIBUREAU B.V., VORENKAMP, PIETER, C/O INT. OCTROOIBUREAU B.V.
Applicants: PHILIPS ELECTRONICS NV, PHILIPS ELECTRONICS N.V.
Application year: 1992
Main classification: H03M1
IPC codes: H03M1