Successive Approximation AD Converter
The AD converter addresses integral nonlinearity errors by switching thermometer code conversion rules and averaging AD conversion values, reducing errors without the need for calibration, thus enhancing accuracy and efficiency.
Patent Information
- Application Number
- JP2020020110
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-02-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-02-07
AI Technical Summary
Conventional successive approximation AD converters require large circuit areas and increased costs for calibration to correct element mismatch, leading to significant integral nonlinearity errors.
A successive approximation AD converter that includes a comparator, successive approximation register, thermometer decoder, and average value calculator, which switches thermometer code conversion rules during one cycle of AD conversion, averaging different conversion values to improve integral nonlinearity errors without calibration.
The solution effectively reduces integral nonlinearity errors by averaging AD conversion values with different decoding methods, improving the accuracy and efficiency of the AD conversion process.
Smart Images

Figure 0007565691000001 
Figure 0007565691000002 
Figure 0007565691000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a successive approximation AD converter. [Background technology]
[0002] A successive approximation AD converter is known as an AD converter that converts an input analog signal into a digital signal. A successive approximation AD converter includes a DA converter, a comparator, a successive approximation logic circuit, etc. As an input to this DA converter, a binary code is converted into a thermometer code.
[0003] Generally, when comparing a DA converter using a binary code (binary DA converter) with a DA converter using a thermometer code (thermometer DA converter), the thermometer DA converter has a greater improvement in differential nonlinearity error. The reason for this will be explained using the DA converters shown in Figures 16 and 17 as examples. Figure 16 shows a DA converter 100 in which the upper 3 bits are configured with thermometer DA conversion elements and the lower 5 bits are configured with binary DA conversion elements. Figure 17 shows a DA converter 200 in which all 8 bits are configured with binary DA conversion elements.
[0004] If the transition of the AD conversion changes in binary bits from "01111111" to "10000000", in the DA converter 200 shown in FIG. 17, the capacitor C4 is connected from the negative side (VREFN) to the positive side (VREFP) of the reference voltage, and the capacitors C5, C6, C8 to C12 are connected from VREFP to VREFN. This means that the difference between the DA converter output value expressed by the upper three bits "011" and the lower five bits "11111" and the DA converter output value expressed by the upper three bits "100" and the lower five bits "00000" occurs as an error from the ideal analog value corresponding to one code. This difference is equivalent to a differential nonlinearity error. Therefore, the sum of the variations of all the DA conversion elements that contribute to the transition change constitutes the differential nonlinearity error.
[0005] 16, the lower 5 bits change from "11111" to "00000" as before, but the upper 3 bits of the DA conversion element change differently. The upper 3 bits change from "011" to "100" in binary, and when expressed in the control code of the DA converter 100, this changes from "0000111" to "0001111". Therefore, the capacitor C3 only changes from VREFN to VREFP.
[0006] That is, if only the DA conversion elements of the higher bits are compared, capacitor C4 with a weight of 4, capacitor C5 with a weight of 2, and capacitor C6 with a weight of 1 (a total of six capacitors) change in DA converter 200, whereas only capacitor C3 with a weight of 1 (a total of one capacitor) changes in DA converter 100. Since the amount of variation in the DA conversion elements is expected to increase as the number of capacitors increases, differential nonlinearity error improves significantly in DA converter 100, in which the amount of change in the capacitors is small.
[0007] However, there is no difference between the integral nonlinearity error, which is an accumulation of errors due to element variations, if the element variations are the same. This can be interpreted as an amount that depends simply on the number of capacitors. In the case of DA converter 200, which is expressed by the upper "100", the integral nonlinearity error is determined based on the element variation amount of capacitor C4 (a total of four capacitors). In the case of DA converter 100, the integral nonlinearity error is determined based on the element variation amount of C0 to C3 (a total of four capacitors). The amount of variation of each element changes due to manufacturing variations, but if the total number of element values is the same, the amount of variation is the same, and therefore the variation of the integral nonlinearity error will also be the same.
[0008] As a method for improving this integral nonlinearity error, for example, Patent Document 1 describes a method of actually measuring the integral nonlinearity error, generating a code value that corrects the degradation, and storing the value in a nonvolatile memory. [Prior art documents] [Patent documents]
[0009] [Patent Document 1] U.S. Patent No. 8,164,495 Summary of the Invention [Problem to be solved by the invention]
[0010] However, in order to perform calibration by measuring the element mismatch itself as in the conventional technology, a control circuit that performs the measurement sequence, a circuit that calculates the correction code, and a memory to store the correction code are required, which increases the circuit area and cost.
[0011] The present invention has been made in view of the above circumstances, and has an object to provide a successive approximation AD converter that is capable of improving integral nonlinearity error without performing calibration for element mismatch in the DA converter. [Means for solving the problem]
[0012] In order to achieve the above object, a successive approximation AD converter according to the present invention includes a comparator that outputs a decision signal indicating a decision result of a magnitude comparison between an input analog signal and a reference signal, a successive approximation register that successively outputs a register signal composed of a first bit signal and a second bit signal based on the decision signal and outputs an AD-converted value of the input analog signal, a thermometer decoder that switches between a plurality of different thermometer code conversion rules during one AD conversion cycle and converts the first bit signal into a thermometer code corresponding to the plurality of different thermometer code conversion rules, a first DA converter that converts the thermometer code into a first analog signal, a second DA converter that converts the second bit signal into a second analog signal, a reference signal generator that generates the reference signal based on the first analog signal and the second analog signal, and an average value calculator that calculates an average value of the AD-converted values corresponding to the different thermometer codes, and the successive approximation register fixes the first bit signal to the first bit signal immediately before the thermometer decoder switches the thermometer code conversion rule during one AD conversion cycle. The different thermometer codes have the same bit value of the intermediate code, and the two thermometer codes are values in which the bit value of the upper code and the bit value of the lower code are swapped with each other around the intermediate code. do. Effect of the Invention
[0013] According to the present invention, it is possible to improve integral nonlinearity error without the need to calibrate element mismatch in a DA converter. [Brief description of the drawings]
[0014] [Figure 1] 1 is a block diagram showing an example of the configuration of a successive approximation AD converter according to a first embodiment. [Diagram 2] 3 is a diagram showing a thermometer code conversion rule in the successive approximation AD converter according to the first embodiment. FIG. [Diagram 3] 4 is a diagram showing an operation sequence of the successive approximation AD converter according to the first embodiment. FIG. [Figure 4]4 is a diagram showing an example of a differential nonlinearity error and an integral nonlinearity error in the successive approximation AD converter according to the first embodiment. FIG. [Diagram 5] 5A to 5C are diagrams illustrating the effects of the successive approximation AD converter according to the first embodiment. [Figure 6] FIG. 1 is a diagram illustrating an example of a DA converter that uses a resistor as a DA conversion element. [Figure 7] 4 is a diagram showing an example of a conversion error occurring when a thermometer decoder switches a thermometer code conversion rule in the successive approximation AD converter according to the first embodiment. FIG. [Figure 8] FIG. 4 is a diagram showing an example in which AD conversion according to a second thermometer code conversion rule is performed using a result of AD conversion according to a first thermometer code conversion rule in the operation sequence shown in FIG. [Figure 9] FIG. 13 is a diagram illustrating an example of a DA converter in which a 3-bit DA conversion element is added to the lower order side. [Figure 10] FIG. 11 is a block diagram showing an example of the configuration of a successive approximation AD converter according to a second embodiment. [Figure 11] FIG. 11 is a diagram showing an operation sequence of the successive approximation AD converter according to the second embodiment. [Figure 12] FIG. 11 is a block diagram showing an example of the configuration of a successive approximation AD converter according to a third embodiment. [Figure 13] FIG. 11 is a diagram showing a thermometer code conversion rule in a successive approximation AD converter according to a third embodiment. [Figure 14] 13 is a diagram showing an example of integral nonlinearity error in the successive approximation AD converter according to the third embodiment. FIG. [Figure 15] 13A to 13C are diagrams illustrating the effects of the successive approximation AD converter according to the third embodiment. [Figure 16] FIG. 1 is a diagram showing an example of a DA converter in which the upper 3 bits are configured using thermometer DA conversion elements and the lower 5 bits are configured using binary DA conversion elements. [Figure 17] FIG. 1 is a diagram illustrating an example of a DA converter in which all 8 bits are configured using binary DA conversion elements. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In the specification and drawings, "AD conversion" and "DA conversion" may be expressed as "ADC" and "DAC", respectively.
[0016] (First embodiment) A successive approximation AD converter according to a first embodiment will be described below. Fig. 1 is a block diagram showing a configuration example of the successive approximation AD converter according to the first embodiment. The successive approximation AD converter 1 shown in Fig. 1 includes an input sample / hold circuit 11, a comparator 12, a control circuit 13, a high-order thermometer DAC (first DA converter) 14, a low-order DAC (second DA converter) 15, and a reference signal generator 16.
[0017] The input sample / hold circuit 11 samples and holds the input analog signal.
[0018] The comparator 12 compares the magnitude of the input analog signal held in the input sample / hold circuit 11 with a reference signal, and outputs a determination signal indicating the determination result to the control circuit 13. The reference signal is a signal generated by a reference signal generator 16, which will be described later.
[0019] The control circuit 13 includes a conversion timing generation circuit 131, a successive approximation register (SAR) 132, a thermometer decoder 133, and an average value calculator .
[0020] The conversion timing generation circuit 131 outputs a timing signal (conversion trigger signal) indicating the timing of converting an input analog signal into a digital signal to the successive approximation register 132. The conversion timing generation circuit 131 also outputs a decode switching signal indicating the timing of switching the decoding method to the thermometer decoder 133. The decoding method will be described in detail later.
[0021] The successive approximation register 132 sequentially outputs a register signal consisting of an upper DAC code (first bit signal) which is the upper bit of the register value and a lower DAC code (second bit signal) which is the lower bit of the register value based on the judgment signal input from the comparator 12. That is, when the timing signal is input from the conversion timing generation circuit 131, the successive approximation register 132 sequentially updates the register signal in order from the MSB every time the judgment signal is input from the comparator 12. Then, the successive approximation register 132 outputs the upper DAC code to the thermometer decoder 133 and outputs the lower DAC code to the lower DAC 15. When the AD conversion based on the judgment signal is completed, the successive approximation register 132 outputs the AD converted value of the input analog signal to the average value calculator 134. When the next timing signal is input from the conversion timing generation circuit 131, the successive approximation register 132 repeats the above operation.
[0022] The thermometer decoder 133 converts the upper DAC code, which is a binary code input from the successive approximation register 132, into an upper DAC thermometer code according to a thermometer code conversion rule for converting a binary code into a thermometer code, and outputs the generated upper DAC thermometer code to the upper thermometer DAC 14. The thermometer decoder 133 switches the thermometer code conversion rule (i.e., switches the decoding method) during one cycle of AD conversion (i.e., during one cycle of the timing signal). Then, the thermometer decoder 133 converts the upper DAC code into upper DAC thermometer codes corresponding to a plurality of different thermometer code conversion rules.
[0023] Since the thermometer decoder 133 converts the upper DAC code into n upper DAC thermometer codes using n thermometer code conversion rules during one cycle of AD conversion, the successive approximation register 132 generates n AD conversion values during one cycle of AD conversion and outputs them to the average value calculator 134. There is no limit to the value of n, but in this embodiment, n=2.
[0024] The average value calculator 134 calculates the average value of the AD conversion values (the first AD conversion value and the second AD conversion value) corresponding to the different upper DAC thermometer codes during one cycle of AD conversion, for example, by using an adder circuit and a bit shift circuit, and outputs the average value to the outside as an output digital signal indicating the final AD conversion result.
[0025] The upper thermometer DAC14 corresponds to the upper bits of a DA converter composed of the upper thermometer DAC14 and the lower DAC15, and converts the upper DAC thermometer code input from the thermometer decoder 133 into a first analog signal and outputs it to the reference signal generator 16.
[0026] The lower DAC 15 corresponds to the lower bits of the DA converter composed of the upper thermometer DAC 14 and the lower DAC 15 , converts the lower DAC code input from the successive approximation register 132 into a second analog signal, and outputs it to the reference signal generator 16 .
[0027] The reference signal generator 16 adds the first analog signal converted by the upper thermometer DAC 14 and the second analog signal converted by the lower DAC 15 to generate a reference signal, and outputs the reference signal to the comparator 12 .
[0028] In the upper thermometer DAC 14, the capacitors are turned on one by one to correspond to the binary code. For example, if the upper thermometer DAC 14 is a 3-bit upper thermometer DAC shown in Fig. 16, when the binary code is "000", all seven capacitors are connected to L (negative reference voltage VREFN).
[0029] Next, a plurality of thermometer code conversion rules used by the thermometer decoder 133 for decoding will be described. A plurality of upper DAC thermometer codes generated by a plurality of thermometer code conversion rules have the same intermediate bit value, and two of the upper DAC thermometer codes have values obtained by swapping the values of the upper bits higher than the intermediate bit and the lower bits lower than the intermediate bit with the intermediate bit at the center. For example, if the first upper DAC thermometer code converted by the first thermometer code conversion rule is "c6 c5 c4 c3 c2 c1 c0" (each value is "0" or "1"), the second upper DAC thermometer code converted by the second thermometer code conversion rule has an intermediate bit value equal to c3, which is the intermediate bit of the first upper DAC thermometer code. The value of the upper bit of the second upper DAC thermometer code is the value of the lower bit of the first upper DAC thermometer code, and the value of the lower bit of the second upper DAC thermometer code is the value of the upper bit of the first upper DAC thermometer code. Thus, the second most significant DAC thermometer codes would be "c0 c1 c2 c3 c4 c5 c6", "c2 c1 c0 c3 c6 c5 c4", etc.
[0030] Fig. 2 is a diagram showing an example of a thermometer code conversion rule. In a first decoding method using the first thermometer code conversion rule shown in Fig. 2(a), when the binary code is "001", the capacitor C0 is connected to H (positive reference voltage VREFP), and as the binary code increases, the capacitors C1 and C2 are successively connected to H, and when the capacitor C6 becomes H, all seven capacitors are connected to H. That is, when the thermometer decoder 133 uses the first thermometer code conversion rule shown in Fig. 2(a), when the input upper DAC code is "001", it converts it to an upper DAC thermometer code of "0000001".
[0031] In the second decoding method using the second thermometer code conversion rule shown in Fig. 2(b), the capacitors are sequentially turned on in the reverse order to that in Fig. 2(a). That is, when the binary code is "001", the capacitor C6 is connected to H (positive reference voltage VREFP), and as the binary code increases, the capacitors C5 and C4 are sequentially connected to H, and when the capacitor C0 is connected to H, all seven capacitors are turned on. That is, when the thermometer decoder 133 uses the second thermometer code conversion rule shown in Fig. 2(b), when the input upper DAC code is "001", it converts it to the upper DAC thermometer code of "1000000".
[0032] These two decoding methods correspond to the capacitors corresponding to the binary value transition changing from C0 to C6, from C1 to C5, and from C2 to C4, and C3 corresponds to the same binary value transition in both decoding methods. That is, the thermometer decoder 133 converts the upper DAC code using the first thermometer code conversion rule and the second thermometer code conversion rule shown in Fig. 2, thereby converting the upper DAC code into a first upper DAC thermometer code and a second upper DAC thermometer code in which the arrangements of "0" and "1" are point-symmetrical with each other around the middle bit (corresponding to C3) of the thermometer code during one cycle of AD conversion.
[0033] (Operation sequence) The operation sequence of the successive approximation AD converter 1 will be described below with reference to Fig. 3 and Fig. 4. Fig. 4 is a diagram showing an example of a differential nonlinearity error (DNL) and an integral nonlinearity error (INL) when the thermometer decoder 133 decodes according to the thermometer code conversion rule shown in Fig. 2. Fig. 3 is a diagram showing an operation sequence of the successive approximation AD converter 1, and shows a conversion sequence and specific bit values at that time when an input analog signal is input when there is a DA conversion element variation shown in Fig. 4. In this embodiment, the successive approximation AD converter 1 converts the input analog signal into an 8-bit output digital signal, the thermometer decoder 133 decodes the upper 3 bits, and an integral nonlinearity error occurs only in the upper 3 bits with a large weight.
[0034] First, the input analog signal is sampled by the input sample / hold circuit 11. The sampled input analog value is held for one period of the decode switching signal. In the example shown in Fig. 3, the input analog value is set to "112".
[0035] The successive approximation register 132 performs successive approximation conversion on the sampled input analog value in accordance with the first decoding method while the decode switching signal is at L, to obtain a first AD-converted value.
[0036] Specifically, the successive approximation register 132 initially sets the register output value to "128". The thermometer decoder 133 decodes the upper three bits "100" according to the first thermometer code conversion rule, and connects the capacitors C0 to C3 to H. At this time, referring to FIG. 4, since the integral nonlinearity error is +3, the DAC output value output from the upper thermometer DAC 14 and the lower DAC 15 becomes "131". The comparator 12 compares the input analog value "112" with the DAC output value which is the reference signal, and outputs a judgment signal indicating that the reference signal is larger in the first judgment to the successive approximation register 132. The successive approximation register 132 determines the most significant bit (MSB) to be "0" based on the judgment signal.
[0037] Next, the successive approximation register 132 sets the register output value to "64". The thermometer decoder 133 decodes the upper 3 bits "010" according to the first thermometer code conversion rule, and connects the capacitors C0 and C1 to H. At this time, referring to FIG. 4, since the integral nonlinearity error is +5, the DAC output value output from the upper thermometer DAC 14 and the lower DAC 15 becomes "69". The comparator 12 compares the input analog value "112" with the DAC output value which is the reference signal, and outputs a judgment signal indicating that the reference signal is smaller in the second judgment to the successive approximation register 132. The successive approximation register 132 determines the sixth bit to be "1" based on the judgment signal.
[0038] The judgments are continued in the same manner, and in the final judgment, the successive approximation register 132 sets the register output value to "109". The thermometer decoder 133 decodes the upper 3 bits "011" according to the first thermometer code conversion rule, and connects the capacitors C0 to C2 to H. At this time, referring to FIG. 4, since the integral nonlinearity error is +3, the DAC output value output by the upper thermometer DAC 14 and the lower DAC 15 becomes "112", which matches the input analog value. Therefore, the successive approximation register 132 determines the least significant bit (LSB) to be "1", and outputs "109" to the average value calculator 134 as the first AD conversion value.
[0039] Next, the successive approximation register 132 performs successive approximation conversion on the sampled input analog signal in accordance with the second decoding method while the decode switching signal is at H, to obtain a second AD converted value.
[0040] Specifically, the successive approximation register 132 initially sets the register output value to "128". The thermometer decoder 133 decodes the upper three bits "100" according to the second thermometer code conversion rule, and connects the capacitors C3 to C6 to H. At this time, referring to FIG. 4, since the integral nonlinearity error is -3, the DAC output value output from the upper thermometer DAC 14 and the lower DAC 15 becomes "125". The comparator 12 compares the input analog value "112" with the DAC output value which is the reference signal, and outputs a judgment signal indicating that the reference signal is larger in the first judgment to the successive approximation register 132. The successive approximation register 132 determines the most significant bit (MSB) to be "0" based on the judgment signal.
[0041] Next, the successive approximation register 132 sets the register output value to "64". The thermometer decoder 133 decodes the upper 3 bits "010" according to the second thermometer code conversion rule, and connects the capacitors C5 and C6 to H. At this time, referring to FIG. 4, since the integral nonlinearity error is -1, the DAC output value output from the upper thermometer DAC 14 and the lower DAC 15 becomes "63". The comparator 12 compares the input analog value 112 with the DAC output value which is the reference signal, and outputs a judgment signal indicating that the reference signal is smaller in the second judgment to the successive approximation register 132. The successive approximation register 132 determines the sixth bit to be "1" based on the judgment signal.
[0042] The judgments are continued in the same manner, and in the final judgment, the successive approximation register 132 sets the register output value to "115". The thermometer decoder 133 decodes the upper 3 bits "011" according to the second thermometer code conversion rule, and connects the capacitors C4 to C6 to H. At this time, referring to FIG. 4, since the integral nonlinearity error is -3, the DAC output values output by the upper thermometer DAC 14 and the lower DAC 15 become "112", which matches the input analog value. Therefore, the successive approximation register 132 determines the least significant bit (LSB) to be "1", and outputs "115" to the average value calculator 134 as the second AD conversion value.
[0043] Next, the average value calculator 134 calculates the average value of the first AD conversion value and the second AD conversion value, which is the final AD conversion value and is outputted to the outside as an output digital signal. In this example, the average value calculator 134 calculates the average value "112" of "109" and "115". This operation makes it possible to average different AD conversion curves having integral nonlinearity errors according to differences in decoding methods.
[0044] FIG. 5 is a diagram showing the effect of the successive approximation AD converter 1, and shows that the integral nonlinearity error is reduced by the above processing when there is a DA conversion element variation shown in FIG. 4. The integral nonlinearity error when the capacitors C0 to C6 have a certain element variation changes according to the decoding method. In the first and second decoding methods described in FIG. 4, the waveform (INL waveform) showing the integral nonlinearity error has a point-symmetric relationship with respect to the center. Therefore, when the INL waveform in the first decoding method and the INL waveform in the second decoding method are averaged, the even function component of the waveform distortion disappears, and the INL waveform is improved. Since the variation of the INL waveform is random, it is expected that the even function component and the odd function component contained in the waveform are stochastically equivalent. Therefore, it has the effect of improving the average and variance of the probability distribution of the INL waveform distortion caused by the element variation. It can be seen that the integral nonlinearity error is almost halved in the element variation of the example of FIG. 4.
[0045] The DA conversion element is not limited to a capacitor, and a resistor may be used. Fig. 6 is a diagram showing an example of a DA converter using a resistor as the DA conversion element. This DA converter 110 corresponds to the DA converter 100 shown in Fig. X, and the upper 3 bits are a thermometer DAC and the lower 5 bits are a binary DAC.
[0046] As described above, the successive approximation AD converter 1 according to the first embodiment includes a comparator 12 that outputs a determination signal indicating a result of a magnitude comparison between an input analog signal and a reference signal, a successive approximation register 132 that outputs a register signal composed of a higher-order DAC code (first bit signal) and a lower-order DAC code (second bit signal) and outputs an AD-converted value of the input analog signal, a thermometer decoder 133 that switches a decoding method during one cycle of AD conversion to convert the higher-order DAC code into a different thermometer code (higher-order DAC thermometer code), a first DA converter (higher-order thermometer DAC) 14 that converts the higher-order DAC thermometer code into a first analog signal, a second DA converter (lower-order DAC) 15 that converts the lower-order DAC code into a second analog signal, a reference signal generator 16 that generates a reference signal based on the first analog signal and the second analog signal, and an average value calculator 134 that calculates an average value of register signals corresponding to a plurality of higher-order DAC thermometer codes output from the successive approximation register 132. Therefore, the successive approximation AD converter 1 can improve integral nonlinearity errors.
[0047] Second embodiment Next, a successive approximation AD converter according to a second embodiment will be described. As described above, the INL waveform changes by switching the decoding method, but the difference is at most the peak-peak value of each waveform. That is, it means that there is only an error amount of at most twice the maximum INL error for the successive approximation AD conversion result converted by the first decoding method. In an 8-bit AD converter having a DA converter shown in FIG. 16, the conversion range is ±128 codes.
[0048] FIG. 7 is a diagram showing an example of a conversion error caused by the thermometer decoder 133 switching the thermometer code conversion rule. Here, the same integral nonlinearity error as in FIG. 4 is shown, and it is shown that when the upper DAC code is "011", a conversion error of -6 codes occurs after switching from the first thermometer code conversion rule to the second thermometer code conversion rule. That is, the result of adding 6 codes to the first AD conversion value converted by the first decoding method becomes the second AD conversion value converted by the second decoding method. Therefore, in FIG. 3, the first AD conversion value is "109", while the second AD conversion value is "115". For this reason, the AD conversion after switching the thermometer code conversion rule can use the AD conversion result before switching the thermometer code conversion rule, and it is only necessary to correct the lower several bits that may change.
[0049] Therefore, after the thermometer decoder 133 switches the thermometer code conversion rule, the successive approximation register 132 fixes the upper DAC code to the upper DAC code immediately before the thermometer decoder 133 switches the thermometer code conversion rule.
[0050] Fig. 8 is a diagram showing an example in which the AD conversion result by the first decoding method is used for the successive approximation conversion by the second decoding method during the period in which the decode switching signal is H in the operation sequence shown in Fig. 3. Fig. 8 shows a blank period after the decode switching signal becomes H, but this is provided for convenience to make it easier to compare with Fig. 3 and does not actually exist.
[0051] When the decode switching signal becomes H, the successive approximation register 132 uses the AD conversion result by the first decode method to fix the upper DAC code (the upper 3 bits in this embodiment) to "011". That is, in the AD conversion after the decode method is switched, the determination of the upper 3 bits can be omitted, and the determination time can be shortened. The other processing is the same as in the first embodiment, so the description will be omitted.
[0052] Moreover, by adding a DA conversion element only on the lower side as shown in Fig. 9, the conversion time can be further significantly reduced. In this example, the DA converter has an additional 3-bit DA conversion element on the lower side. In the following, the second embodiment will be described assuming that an additional DA conversion element is included.
[0053] 10 is a block diagram showing a configuration example of a successive approximation AD converter according to the second embodiment. The successive approximation AD converter 2 of this embodiment differs from the successive approximation AD converter 1 according to the first embodiment in that it further includes an additional lower-order DAC (third DA converter) 17 and includes a control circuit 13a instead of the control circuit 13. Only the differences from the successive approximation AD converter 1 according to the first embodiment will be described below.
[0054] The additional lower-order DAC 17 is used to perform successive approximation processing on the residue generated when the first AD converted value is compared by the comparator 12 using the second decoding method.
[0055] The control circuit 13 a includes a conversion timing generation circuit 131 , a successive approximation register 132 a , a thermometer decoder 133 , an average value calculator 134 , and an adder 135 .
[0056] The successive approximation register 132a sequentially outputs a register signal consisting of an upper DAC code (first bit signal) which is the upper bit of the register value, a lower DAC code (second bit signal) which is the lower bit of the register value, and an additional lower DAC code (third bit signal) which is the additional lower bit of the register value, based on the determination signal input from the comparator 12.
[0057] Specifically, when the thermometer decoder 133 converts the upper DAC code into the first upper DAC thermometer code in accordance with the first thermometer code conversion rule, the successive approximation register 132a outputs the upper DAC code and the lower DAC code based on the determination result, as in the first embodiment. The additional lower DAC code is not used and is therefore fixed to "0".
[0058] Furthermore, when the thermometer decoder 133 converts the upper DAC code to the second upper DAC thermometer code according to the second thermometer code conversion rule, the successive approximation register 132a uses the first AD conversion value obtained by performing successive approximation processing using the first thermometer code conversion rule as the values of the upper DAC code and the lower DAC code. Therefore, after the thermometer decoder 133 switches the thermometer code conversion rule, the successive approximation register 132a fixes the upper DAC code and the lower DAC code to the upper DAC code and the lower DAC code immediately before the thermometer decoder 133 switches the thermometer code conversion rule. The additional lower DAC code is a value based on the determination signal.
[0059] The operation sequence of the successive approximation AD converter 1 will be described below with reference to Fig. 11 and Fig. 4. Fig. 11 is a diagram showing the operation sequence of the successive approximation AD converter according to the second embodiment. Fig. 11 shows an example in which the AD conversion result by the first decoding method is used for the successive approximation conversion according to the second decoding method during the period when the decode switching signal is H in the operation sequence shown in Fig. 3. Fig. 11 shows a blank period after the decode switching signal becomes H, but this is provided for convenience to facilitate comparison with Fig. 3 and does not actually exist.
[0060] The polarity of the most significant bit of the additional lower order DAC code may be inverted from the other bits. In this embodiment, when the decode switching signal is H, the weight of the second bit of the additional lower order DAC code is set to -8, the weight of the first bit is set to 4, and the weight of the zeroth bit is set to 2. In this case, the additional lower order DAC code can add -8 to +6 to the value represented by the upper order DAC code and the lower order DAC code.
[0061] When the decode switching signal becomes H, the successive approximation register 132a uses the AD conversion result by the first decoding method to fix the upper DAC code (in this embodiment, the upper 3 bits) to "011" and fix the lower DAC code (in this embodiment, the upper 5 bits) to "01101". In addition, the initial value of the additional lower DAC code is set to "000". That is, the successive approximation register 132a initially sets the register output value to "109". The thermometer decoder 133 decodes the upper 3 bits "011" according to the second thermometer code conversion rule, and connects the capacitors C4 to C6 to H. At this time, referring to FIG. 4, since the integral nonlinearity error is -3, the DAC output value output by the upper thermometer DAC 14, the lower DAC 15, and the additional lower DAC 17 becomes "106". The comparator 12 compares the input analog value "112" with the DAC output value, which is a reference signal, and outputs a determination signal indicating that the reference signal is smaller in the first determination to the successive approximation register 132a. The successive approximation register 132a determines the second bit of the additional lower-order DAC code to be "0" based on the determination signal.
[0062] Next, the successive approximation register 132a sets the register output value to "113". The thermometer decoder 133 decodes the upper 3 bits "011" according to the second thermometer code conversion rule, and connects the capacitors C4 to C6 to H. At this time, referring to FIG. 4, since the integral nonlinearity error is -3, the DAC output values output by the upper thermometer DAC 14, the lower DAC 15, and the additional lower DAC 17 become "110". The comparator 12 compares the input analog value 112 with the DAC output value which is the reference signal, and outputs a judgment signal indicating that the reference signal is smaller in the second judgment to the successive approximation register 132a. The successive approximation register 132a determines the first bit of the additional lower DAC code to be "1" based on the judgment signal.
[0063] In the final judgment, the successive approximation register 132a sets the register output value to "115". The thermometer decoder 133 decodes the upper 3 bits "011" according to the second thermometer code conversion rule, and connects the capacitors C4 to C6 to H. At this time, referring to FIG. 4, since the integral nonlinearity error is -3, the DAC output values output by the upper thermometer DAC 14, the lower DAC 15, and the additional lower DAC 17 become "112", which matches the input analog value. Therefore, the successive approximation register 132a determines the 0th bit of the additional lower DAC code to be "1".
[0064] As described above, the successive approximation AD converter 2 according to the second embodiment uses the first AD-converted value in AD conversion after switching the decoding method, which makes it possible to significantly reduce the time required to determine the final AD-converted value.
[0065] (Third embodiment) Next, a successive approximation AD converter according to a third embodiment will be described. In the first and second embodiments, an example was described in which the thermometer decoder 133 converts the upper DAC code into a different upper DAC thermometer code using two types of thermometer code conversion rules during one cycle of AD conversion. In this embodiment, an example is described in which the thermometer decoder 133 converts the upper DAC code into a different upper DAC thermometer code using four types of thermometer code conversion rules during one cycle of AD conversion.
[0066] 12 is a block diagram showing a configuration example of a successive approximation AD converter 3 according to the third embodiment. The successive approximation AD converter 3 of this embodiment differs from the successive approximation AD converter 1 according to the first embodiment in that it includes a control circuit 13b instead of the control circuit 13. Hereinafter, only the differences from the successive approximation AD converter 1 according to the first embodiment will be described.
[0067] The control circuit 13 b includes a conversion timing generation circuit 131 , a successive approximation register 132 b , a thermometer decoder 133 , an average value calculator 134 , and an adder 135 .
[0068] The conversion timing generation circuit 131 outputs a decode switching signal indicating the timing for switching the decode method to the thermometer decoder 133. In the first embodiment, the decode method is switched once during one cycle of AD conversion, but in this embodiment, since four types of thermometer code conversion rules are used, the decode method is switched three times during one cycle of AD conversion.
[0069] The successive approximation register 132b sequentially outputs a register signal consisting of an upper DAC code (first bit signal) which is the upper bit of the register value and a lower DAC code (second bit signal) which is the lower bit of the register value, based on the determination signal input from the comparator 12. When AD conversion is completed based on the determination signal, the successive approximation register 132b outputs the AD-converted value of the input analog signal to the average value calculator 134. Since four types of thermometer code conversion rules are used in this embodiment, a first AD-converted value, a second AD-converted value, a third AD-converted value, and a fourth AD-converted value are generated during one cycle of AD conversion.
[0070] The average value calculator 134 calculates the average value of the AD conversion values (first to fourth AD conversion values) corresponding to different upper DAC thermometer codes during one cycle of AD conversion, for example, by using an adder circuit and a bit shift circuit, and outputs the average value to the outside as an output digital signal indicating the final AD conversion result.
[0071] Fig. 13 is a diagram showing an example of the thermometer code conversion rule of this embodiment. In this embodiment, the thermometer decoder 133 converts the upper DAC code into a different upper DAC thermometer code using the first thermometer code conversion rule of Fig. 2(a), the second thermometer code conversion rule of Fig. 2(b), the third thermometer code conversion rule of Fig. 13(a), and the fourth thermometer code conversion rule of Fig. 13(b).
[0072] The third thermometer code conversion rule shown in Fig. 13(a) inverts the relationship between capacitors C6 and C4 and also inverts the relationship between capacitors C2 and C0 compared to the first thermometer code conversion rule shown in Fig. 2(a). The fourth thermometer code conversion rule shown in Fig. 13(b) inverts the relationship between capacitors C6 and C4 and also inverts the relationship between capacitors C2 and C0 compared to the second thermometer code conversion rule shown in Fig. 2(b).
[0073] The thermometer decoder 133 uses the first thermometer code conversion rule and the second thermometer code conversion rule shown in FIG. 2 to convert the upper DAC code into a first upper DAC thermometer code and an upper DAC second thermometer code in which the arrangements of “0” and “1” are point-symmetric with respect to each other with respect to the middle bit (corresponding to C3).
[0074] Further, the thermometer decoder 133 converts the upper DAC code into a third upper DAC thermometer code using the third thermometer code conversion rule shown in Fig. 13(a). In the third upper DAC thermometer, the values of the upper bits higher than the middle bit of the third thermometer code are arranged in a point-symmetric relationship of "0" and "1" with respect to the middle bit (corresponding to C5) among the upper bits of the first upper DAC thermometer code, and the values of the lower bits lower than the middle bit of the third thermometer code are arranged in a point-symmetric relationship of "0" and "1" with respect to the middle bit (corresponding to C1) among the lower bits of the first upper DAC thermometer code. Furthermore, the thermometer decoder 133 converts the upper DAC code into a fourth thermometer code using the fourth thermometer code conversion rule shown in Fig. 13(b). In the fourth thermometer code, the values of the upper bits higher than the middle bit of the fourth thermometer code are arranged in a point-symmetrical relationship of "0" and "1" with respect to the middle bit (corresponding to C5) among the upper bits of the second upper DAC thermometer code, and the values of the lower bits lower than the middle bit of the fourth thermometer code are arranged in a point-symmetrical relationship of "0" and "1" with respect to the middle bit (corresponding to C1) among the lower bits of the second upper DAC thermometer code.
[0075] FIG. 14 is a diagram showing an example of integral nonlinearity error (INL) in the third decoding method using the third thermometer code conversion rule shown in FIG. 13(a) and the fourth decoding method using the fourth thermometer code conversion rule shown in FIG. 13(b).
[0076] FIG. 15 is a diagram showing the effect of the successive approximation AD converter 3, and shows that when there is the DA conversion element variation shown in FIG. 4 and FIG. 14, the integral nonlinearity error is reduced by performing averaging processing in the average value calculator 134.
[0077] FIG. 15 is a waveform obtained by averaging the four INL waveforms shown in FIG. 4 and FIG. 14. If the horizontal axis is x, the left end is x=-1, and the right end is x=+1, this waveform is point-symmetric with respect to the origin O, and is point-symmetric around the point x=-1 / 2 in the range of x from -1 to 0, and similarly is point-symmetric around the point x=+1 / 2 in the range of x from 0 to +1. This corresponds to regarding the partial waveforms in the ranges of x from -1 to 0 and x from 0 to +1 as a mixture of even function components and odd function components related to the midpoints of each range, with respect to the odd function components in the range of x=-1 to +1, and eliminating the even function components. That is, odd function components, for example, third-order harmonic components, are reduced in the range of x=-1 to +1. Therefore, the INL waveform can be further improved in this embodiment.
[0078] When the thermometer DA converter is 3-bit and 7-value, there are four possible thermometer code conversion rules as mentioned above, which are created by further inverting the decoding method that inverts at x=0 at x=1 / 2 and x=-1 / 2. When the upper thermometer DAC is expanded to 4 bits or 5 bits, further improvement of the INL waveform can be achieved by providing multiple decoding methods. In that case, by providing symmetrical decoding methods at the positions of x=1 / 4, 1 / 8, etc., it is possible to reduce even more harmonic components.
[0079] Although the above-mentioned embodiment has been described as a representative example, it is obvious to those skilled in the art that many modifications and substitutions can be made within the spirit and scope of the present invention. Therefore, the present invention should not be interpreted as being limited by the above-mentioned embodiment, and various modifications and changes are possible without departing from the scope of the claims.
[0080] For example, in the successive approximation AD converter 2 according to the second embodiment, the thermometer decoder 133 may convert the upper DAC code into a different upper DAC thermometer code using four types of thermometer code conversion rules during one AD conversion cycle, as described in the third embodiment. Also, it is possible to combine the multiple configuration blocks described in the embodiments into one, or to divide one configuration block. [Explanation of symbols]
[0081] 1,2,3 successive approximation AD converter 11 Input sample / hold circuit 12 Comparator 13, 13a, 13b Control circuit 14 Upper thermometer DAC (first DA converter) 15 Lower DAC (Second DA converter) 16 Reference signal generator 17 Additional lower-level DAC (third DA converter) 131 Conversion timing generation circuit 132, 132a, 132b Successive approximation registers 133 Thermometer Decoder 134 Averager 135 Adder
Claims
1. a comparator that outputs a determination signal indicating a result of a comparison between the input analog signal and a reference signal; a successive approximation register that successively outputs a register signal including a first bit signal and a second bit signal based on the determination signal, and outputs an AD converted value of the input analog signal; a thermometer decoder that switches among a plurality of different thermometer code conversion rules during one cycle of AD conversion to convert the first bit signal into a thermometer code corresponding to the plurality of different thermometer code conversion rules; a first digital to analog converter for converting the thermometer code into a first analog signal; a second digital-to-analog converter for converting the second bit signal into a second analog signal; a reference signal generator that generates the reference signal based on the first analog signal and the second analog signal; an average value calculator for calculating an average value of the AD converted values corresponding to the different thermometer codes; Equipped with after the thermometer decoder switches the thermometer code conversion rule during one cycle of the AD conversion, the successive approximation register fixes the first bit signal to the first bit signal immediately before the thermometer decoder switches the thermometer code conversion rule, The different thermometer codes have the same bit value of an intermediate code, and the two thermometer codes are values in which the bit value of the upper code and the bit value of the lower code are swapped with each other around the intermediate code.
2. The thermometer decoder includes:
2. The successive approximation AD converter according to claim 1, wherein the first bit signal is converted into a first thermometer code and a second thermometer code in which arrangements of "0" and "1" are point-symmetric with respect to each other about an intermediate code of the thermometer code.
3. The thermometer decoder includes: converting the first bit signal into a third thermometer code and a fourth thermometer code; The third thermometer code has a bit value of an upper code of the third thermometer code in which the arrangement of "0" and "1" is point-symmetric with respect to an intermediate code in the upper code of the first thermometer code, and a bit value of a lower code of the third thermometer code in which the arrangement of "0" and "1" is point-symmetric with respect to an intermediate code in the lower code of the first thermometer code, 3. The successive approximation AD converter according to claim 2, wherein the bit values of the higher order codes of the fourth thermometer code are arranged in a point-symmetric relationship of "0" and "1" with respect to an intermediate code in the higher order codes of the second thermometer code, and the bit values of the lower order codes of the fourth thermometer code are arranged in a point-symmetric relationship of "0" and "1" with respect to an intermediate code in the lower order codes of the second thermometer code.
4. a third DA converter for converting the third bit signal into a third analog signal; The successive approximation register comprises: Sequentially outputting a register signal including the first bit signal, the second bit signal, and the third bit signal based on the determination signal; The successive approximation AD converter according to claim 1 , wherein the reference signal generator generates the reference signal based on the first analog signal, the second analog signal, and the third analog signal.
5. The successive approximation register comprises: Before the thermometer decoder switches the thermometer code conversion rule, the third bit signal is fixed to 0; 5. The successive approximation register AD converter according to claim 4, wherein after the thermometer decoder switches the thermometer code conversion rule, the first bit signal and the second bit signal are fixed to the first bit signal and the second bit signal immediately before the thermometer decoder switches the thermometer code conversion rule, and the third bit signal is successively output based on the determination signal.
6. the first bit signal is a signal at a most significant bit of the register signal, the second bit signal is a signal at a lower bit of the register signal, the third bit signal is a signal at additional least significant bits added to the least significant bits of the register signal, The successive approximation register comprises: Before the thermometer decoder switches the thermometer code conversion rule, it sequentially outputs only the first bit signal and the second bit signal; 6. The successive approximation AD converter according to claim 5, wherein after said thermometer decoder switches said thermometer code conversion rule, only said third bit signal is successively output.
Citation Information
Patent Citations
Digital / analog converter
JP1992152715A
D / A converter
JP1993252043A
Current cell type da converter
JP1996330966A
D / A converter
JP2002100991A
Successive approximation type a / d converter, successive approximation type a / d converter controlling method, solid-state imaging device, and image capturing apparatus
JP2010063055A
