ANALOG-TO-DIGITAL CONVERTER
20230132135 · 2023-04-27
Assignee
Inventors
Cpc classification
H03M1/14
ELECTRICITY
International classification
Abstract
An analog-to-digital converter is disclosed that converts an input analog potential to a digital conversion value. An analog-to-digital converter according to one or more embodiments may include a comparator that compares the input analog potential with a reference potential; and a conversion circuit that measures comparison operation time from a start to an end of a comparison operation by the comparator and outputs the digital conversion value according to the measured comparison operation time and a comparison result by the comparator.
Claims
1. An analog-to-digital converter that converts an input analog potential to a digital conversion value comprising: a comparator that compares the input analog potential with a reference potential; and a conversion circuit that measures comparison operation time from a start to an end of a comparison operation by the comparator and outputs the digital conversion value according to the measured comparison operation time and a comparison result by the comparator.
2. The conversion circuit according to claim 1, wherein the digital conversion value is calculated from the comparison operation time based on correlation characteristics of a potential difference between the input analog potential and the reference potential and the comparison operation time of the comparator.
3. An analog-to-digital converter that converts an input analog potential to a digital conversion value comprising: comparators that compare the input analog potential with different reference potentials, respectively; and a conversion circuit that outputs the digital conversion value according to comparison operation time from a start to an end of a comparison operation by a comparator identified among the comparators.
4. The conversion circuit according to claim 3, wherein respective correlation characteristics of a potential difference between the input analog potential and the reference potential and the comparison operation time of the comparators are stored, and the digital conversion value is calculated from the comparison operation time based on the correlation characteristics of the identified comparator.
5. The analog-to-digital converter according to claim 3, wherein the conversion circuit identifies the comparator based on the comparison operation time.
6. The analog-to-digital converter according to claim 3, wherein the conversion circuit identifies the comparator based on comparison results of the comparators.
7. The analog-to-digital converter according to claim 3, further comprising: an intermediate potential comparator that compares the input analog potential with an intermediate potential of the reference potentials, wherein the conversion circuit identifies the comparator based on a comparison result of the intermediate potential comparator.
8. The analog-to-digital converter according to claim 7, wherein the comparators comprise a combination of different types of comparators, and the conversion circuit identifies the comparator of the identified type based on a comparison result of the intermediate potential comparator.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
DETAILED DESCRIPTION
[0032] AD converters according to one or more embodiments are explained with referring to drawings. In the respective drawings referenced herein, the same constituents are designated by the same reference numerals and duplicate explanation concerning the same constituents may be omitted. All of the drawings are provided to illustrate the respective examples only. No dimensional proportions in the drawings shall impose a restriction on the embodiments. For this reason, specific dimensions and the like should be interpreted with the following descriptions taken into consideration. In addition, the drawings include parts whose dimensional relationships and ratios are different from one drawing to another. Asterisks“*” in the specification mean wildcards, which may refer to any single or multiple elements, numbers, symbols, or strings, etc. that may be applicable.
First Embodiment
[0033] Referring to
[0034] The comparator 2 comprises a first input terminal to which the input analog potential A.sub.in of a lower limit reference potential V.sub.REFL to an upper limit reference potential V.sub.REFH is input, a second input terminal to which the reference potential V.sub.ref set to a potential between the lower limit reference potential V.sub.REFL and the upper limit reference potential V.sub.REFH (a potential in the center of the lower limit reference potential V.sub.REFL and the upper limit reference potential V.sub.REFH in the disclosure) is input, an output terminal that outputs the comparison result Q of the input analog potential A.sub.in and the reference potential V.sub.ref, an inverted output terminal that outputs an inverted output
[0035] In the comparator 2, the start signal
[0036] As illustrated in
[0037] The memory cell 21 includes P-channel MOS transistors P1 and P2, and N-channel MOS transistors N1, N2, N3, and N4.
[0038] The P-channel MOS transistor P1 and the N-channel MOS transistor N1 comprise a first CMOS inverter. The source of the P-channel MOS transistor P1 is connected to a power supply voltage Vcc via the power switch 22, and the drain of the P-channel MOS transistor P1 is connected to the drain of the N-channel MOS transistor N1. The source of the N-channel MOS transistor N1 is connected to a ground voltage Vss.
[0039] The P-channel MOS transistor P2 and the N-channel MOS transistor N2 comprise a second CMOS inverter. The source of the P-channel MOS transistor P2 is connected to the power supply voltage Vcc via the power switch 22, and the drain of the P-channel MOS transistor P2 is connected to the drain of the N-channel MOS transistor N2. The source of the N-channel MOS transistor N2 is connected to the ground voltage Vss.
[0040] The input of the first CMOS inverter, that is, the gate of the P-channel MOS transistor P1 and the gate of the N-channel MOS transistor N1, is the output of the second CMOS inverter, that is, being connected to the connection point of the drain of the P-channel MOS transistor P1 and the drain of the N-channel MOS transistor N1, and becoming the inverted output terminal of the comparator 2, which outputs the inverted output
[0041] The input of the second CMOS inverter, that is, the gate of the P-channel MOS transistor P2 and the gate of the N-channel MOS transistor N2, is the output of the first CMOS inverter, that is, being connected to the connection point of the drain of the P-channel MOS transistor P2 and the drain of the N-channel MOS transistor N2, and becoming the output terminal of the comparator 2, which outputs the comparison result Q.
[0042] The N-channel MOS transistor N3 is connected in parallel with the N-channel MOS transistor N1, and the gate of the N-channel MOS transistor N3 is the second input terminal of the comparator 2 to which the reference potential V.sub.ref is input.
[0043] The N-channel MOS transistor N4 is connected in parallel with the N-channel MOS transistor N2, and the gate of the N-channel MOS transistor N4 is the first input terminal of the comparator 2 to which the input analog potential A.sub.in is input.
[0044] Referring to
[0045] When the start signal
[0046] The memory cell 21 to which the power supply voltage Vcc is applied attempts to change from an unstable state in which the comparison result Q=the inverted output
[0047] The end detection circuit 3 is a circuit for detecting the end time of the operation of the comparator 2 based on the output of the comparator 2 (comparison result Q and inverted output
[0048] The comparison operation time of the comparator 2 is from the time of the comparator 2 starting the comparison operation to the time of the comparator 2 ending the comparison operation. The comparison operation time of the comparator 2 is correlated with a potential difference between the input analog potential A.sub.in and the reference potential V.sub.ref, as illustrated in
[0049] The fact that there is a correlation between the comparison operation time and the potential difference between the input analog potential A.sub.in and the reference potential V.sub.ref, which are compared to each other, in a comparator is a feature that may also be seen in a general comparator with an operational amplifier type, etc., for example. Therefore, the comparator 2 according to one or more embodiments is not limited to the configuration illustrated in
[0050] The TDC circuit 4 is provided with functions for measuring the comparison operation time of the comparator 2 and for calculating the digital conversion value CODE of the input analog potential A.sub.in using the measured comparison operation time and the comparison result Q.
[0051] The TDC circuit 4 measures the time from the operation start time of the comparator 2 when the start signal
[0052] The TDC circuit 4 stores correlation characteristics of the potential difference between the input analog potential A.sub.in and the reference potential V.sub.ref and the comparison operation time, and calculates the digital conversion value CODE of the input analog potential A.sub.in using the correlation characteristics.
[0053] When the comparison result Q=“1” (high level Hi), the TDC circuit 4 uses the correlation characteristics in the area where the input analog potential A.sub.in is greater than the reference potential V.sub.ref (area X illustrated in
[0054] When the comparison result Q=“0” (low level Low), the TDC circuit 4 uses the correlation characteristics in the area where the input analog potential A.sub.in is smaller than the reference potential V.sub.ref (area Y illustrated in
[0055] For example, when the comparison result Q=“0” and the measured comparison operation time is “Ta”, the TDC circuit 4 uses the correlation characteristics in the area Y to obtain the input analog potential A.sub.in=“Va” corresponding to the measured comparison operation time=“Ta”, and calculates the digital conversion value CODE of the obtained input analog potential A.sub.in=“Va” to output.
[0056] In the TDC circuit 4, the method of obtaining the input analog potential A.sub.in from the measured comparison operation time may be achieved by storing the correlation characteristics of the comparison operation time and the input analog potential A.sub.in as a look-up table or function illustrated in
[0057] In the case of the comparator 2 illustrated in
[0058] In the case of the comparator 2 illustrated in
Second Embodiment
[0059] Referring to
[0060] Referring to
[0061] Therefore, the entire measurement range of the AD converter 1A (the lower limit reference potential V.sub.REFL to the upper limit reference potential V.sub.REFH) may be an area where the change in the comparison operation time for the input analog potential A.sub.in is sufficiently large. The number of the reference potential V.sub.ref, the comparator 2, and the end detection circuit 3 may be set as appropriate according to the measurement range, the required accuracy, etc.
[0062] The voltage divider 5A may be configured with a divider resistor, but the resistor may be an element with a large variation and a large layout size. Therefore, it may be suitable for the voltage divider 5A to be configured with a MOS element or a diode element so as to have high accuracy and a reduced layout size.
[0063] The timers 6.sub.0 to 6.sub.3 are input with outputs V.sub.time0 to V.sub.time3 of the respective outputs of the end detection circuits 3.sub.0 to 3.sub.3, the start signal
[0064] As illustrated in
[0065] For example, when the unknown input analog potential A.sub.in is Vb illustrated in
[0066] When the comparison result Q* of the specified comparator 2*=“1” (high level Hi), the decoder circuit 7A uses the correlation characteristics in the area where the input analog potential A.sub.in of the specified comparator 2* is greater than the reference potential V.sub.ref* (area X* illustrated in
[0067] When the comparison result Q* of the specified comparator 2*=“0” (low level Low), the decoder circuit 7A uses the correlation characteristics in the area where the input analog potential A.sub.in of the specified comparator 2* is smaller than the reference potential V.sub.ref* (area Y* illustrated in
[0068] For example, when the comparison result Q.sub.2 of the identified comparator 2*=“0” and the selected maximum comparison operation time (measured value count.sub.2) is “Tb”, the decoder circuit 7A uses the correlation characteristics in the area Y2 to obtain the input analog potential A.sub.in=“Vb” corresponding to the measured comparison operation time=“Tb” and calculates the digital conversion value CODE of the obtained input analog potential A.sub.in=“Vb” to output.
Third Embodiment
[0069] Referring to
[0070] The selection circuit 8B selects one of the comparators 2.sub.0 to 2.sub.3 based on the comparison results Q.sub.A0 to Q.sub.A2 of the comparators 2.sub.A0 to 2.sub.A2. The selection circuit 8B is provided with AND circuits AND.sub.0 to AND.sub.3 and an OR circuit OR.
[0071] Any structure may be applied to the comparators 2.sub.A0 to 2.sub.A2, but a structure that operates at higher speed than comparators 2.sub.0 to 2.sub.3 may be used.
[0072] In the AND circuit AND.sub.0, the comparison result Q.sub.A0 of the comparator 2.sub.A0 is input as a selection signal for the output V.sub.time0 of the end detection circuit 3.sub.0. When the comparison result Q.sub.A0 of the comparator 2.sub.A0 is “1”, the output V.sub.time0 of the end detection circuit 3.sub.0 is input to the timer 6 via the OR circuit OR.
[0073] In the AND circuit AND.sub.1, the signal which becomes “1” with the comparison result Q.sub.A1 of the comparator 2.sub.A1=“1” and the comparison result Q.sub.A0 of the comparator 2.sub.A0=“0” (other combinations become “0”) is input as a selection signal for the output V.sub.time1 of the end detection circuit 3.sub.1. When the comparison result Q.sub.A1 of the comparator 2.sub.A1=“1” and the comparison result Q.sub.A0 of the comparator 2.sub.A0=“0”, the output V.sub.time1 of the end detection circuit 3.sub.1 is input to the timer 6 via the OR circuit OR.
[0074] In the AND circuit AND.sub.2, the signal which becomes “1” with the comparison result Q.sub.A2 of the comparator 2.sub.A2=“1” and the comparison result Q.sub.A1 of the comparator 2.sub.A1=“0” (other combinations become “0”) is input as a selection signal for the output V.sub.time2 of the end detection circuit 3.sub.2. When the comparison result Q.sub.A2 of the comparator 2.sub.A2=“1” and the comparison result Q.sub.A1 of the comparator 2.sub.A1=“0”, the output V.sub.time2 of the end detection circuit 3.sub.2 is input to the timer 6 via the OR circuit OR.
[0075] In the AND circuit AND.sub.3, a signal inverted from the comparison result Q.sub.A2 of the comparator 2.sub.A2 is input as a selection signal for the output V.sub.time3 of the end detection circuit 3.sub.3. When the comparison result Q.sub.A0 of the comparator 2.sub.A0 is “0”, the output V.sub.time3 of the end detection circuit 3.sub.3 is input to the timer 6 via the OR circuit OR.
[0076] Thus, when the input analog potential A.sub.in exceeds the intermediate potential V.sub.ref(0-1), the selection circuit 8B selects the comparator 2.sub.0, and the comparison operation time of the comparator 2.sub.0 is measured by the timer 6. When the input analog potential A.sub.in is between the intermediate potentials V.sub.ref(0-1) and V.sub.ref(1-2), the selection circuit 8B selects the comparator 2.sub.1, and the comparison operation time of the comparator 2.sub.1 is measured by the timer 6. When the input analog potential A.sub.in is between the intermediate potentials V.sub.ref(1-2) and V.sub.ref(2-3), the selection circuit 8B selects the comparator 2.sub.2, and the comparison operation time of the comparator 2.sub.2 is measured by the timer 6. When the input analog potential A.sub.in is below the intermediate potential V.sub.ref(2-3), the selection circuit 8B selects the comparator 2.sub.3, and the comparison operation time of the comparator 2.sub.3 is measured by the timer 6.
[0077] As illustrated in
Fourth Embodiment
[0078] Referring to
[0079] The selection circuit 8C selects one of the comparators 2.sub.0 to 2.sub.7 based on the comparison results Q.sub.0 to Q.sub.7 of the comparators 2.sub.0 to 2.sub.7. The selection circuit 8C is provided with AND circuits AND.sub.0 to AND.sub.7 and an OR circuit OR.
[0080] In the AND circuit AND.sub.0, the comparison result Q.sub.0 of the comparator 2.sub.0 is input as a selection signal for the output V.sub.time0 of the end detection circuit 3.sub.0. When the comparison result Q.sub.0 of the comparator 2.sub.0 is “1”, the output V.sub.time0 of the end detection circuit 3.sub.0 is input to the timer 6 via the OR circuit OR.
[0081] In the AND circuit AND.sub.1, the signal that becomes “1” with the comparison result Q.sub.1 of the comparator 2.sub.1=“1” and the comparison result Q.sub.0 of the comparator 2.sub.0=“0” (other combinations become “0”) is input as a selection signal for the output V.sub.time1 of the end detection circuit 3.sub.1. When the comparison result Q.sub.1 of the comparator 2.sub.1=“1” and the comparison result Q.sub.0 of the comparator 2.sub.0=“0”, the output V.sub.time1 of the end detection circuit 3.sub.1 is input to the timer 6 via the OR circuit OR.
[0082] In the AND circuit AND.sub.2, the signal that becomes “1” with the comparison result Q.sub.2 of the comparator 2.sub.2=“1” and the comparison result Q.sub.1 of the comparator 2.sub.1=“0” (other combinations become “0”) is input as a selection signal for the output V.sub.time2 of the end detection circuit 3.sub.2. When the comparison result Q.sub.2 of the comparator 2.sub.2=“1” and the comparison result Q.sub.1 of the comparator 2.sub.1=“0”, the output V.sub.time2 of the end detection circuit 3.sub.2 is input to the timer 6 via the OR circuit OR.
[0083] In the AND circuit AND.sub.5, the signal that becomes “1” with the comparison result Q.sub.3 of the comparator 2.sub.3=“1” and the comparison result Q.sub.2 of the comparator 2.sub.2=“0” (other combinations become “0”) is input as a selection signal for the output V.sub.time3 of the end detection circuit 3.sub.3. When the comparison result Q.sub.3 of the comparator 2.sub.3=“1” and the comparison result Q.sub.2 of the comparator 2.sub.2=“0”, the output V.sub.time3 of the end detection circuit 3.sub.3 is input to the timer 6 via the OR circuit OR.
[0084] In the AND circuit AND.sub.4, the signal that becomes “1” with the comparison result Q.sub.4 of the comparator 2.sub.4=“1” and the comparison result Q.sub.3 of the comparator 2.sub.3=“0” (other combinations become “0”) is input as a selection signal for the output V.sub.time4 of the end detection circuit 3.sub.4. When the comparison result Q.sub.4 of the comparator 2.sub.4=“1” and the comparison result Q.sub.3 of the comparator 2.sub.3=“0”, the output V.sub.time4 of the end detection circuit 3.sub.4 is input to the timer 6 via the OR circuit OR.
[0085] In the AND circuit AND.sub.5, the signal that becomes “1” with the comparison result Q.sub.5 of the comparator 2.sub.5=“1” and the comparison result Q.sub.4 of the comparator 2.sub.4=“0” (other combinations become “0”) is input as a selection signal for the output V.sub.time5 of the end detection circuit 3.sub.5. When the comparison result Q.sub.5 of the comparator 2.sub.5=“1” and the comparison result Q.sub.4 of the comparator 2.sub.4=“0”, the output V.sub.time5 of the end detection circuit 3.sub.6 is input to the timer 6 via the OR circuit OR.
[0086] In the AND circuit AND.sub.5, the signal that becomes “1” with the comparison result Q.sub.6 of the comparator 2.sub.6=“1” and the comparison result Q.sub.6 of the comparator 2.sub.5=“0” (other combinations become “0”) is input as a selection signal for the output V.sub.time6 of the end detection circuit 3.sub.6. When the comparison result Q.sub.6 of the comparator 2.sub.6=“1” and the comparison result Q.sub.6 of the comparator 2.sub.5=“0”, the output V.sub.time6 of the end detection circuit 3.sub.6 is input to the timer 6 via the OR circuit OR.
[0087] In the AND circuit AND.sub.5, a signal inverted from the comparison result Q.sub.6 of the comparator 2.sub.6 is input as a selection signal for the output V.sub.time7 of the end detection circuit 3.sub.7. When the comparison result Q.sub.7 of the comparator 2.sub.7 is “0”, the output V.sub.time7 of the end detection circuit 3.sub.7 is input to the timer 6 via the OR circuit OR.
[0088] Thus, when the input analog potential A.sub.in exceeds the reference potential V.sub.ref0, the selection circuit 8C selects the comparator 2.sub.0, and the comparison operation time of the comparator 2.sub.0 is measured by the timer 6. When the input analog potential A.sub.in is between the reference potential V.sub.ref0 and V.sub.ref1, the selection circuit 8C selects the comparator 2.sub.1, and the comparison operation time of the comparator 2.sub.1 is measured by the timer 6. When the input analog potential A.sub.in is between the reference potential V.sub.ref1 and V.sub.ref2, the selection circuit 8C selects the comparator 2.sub.2, and the comparison operation time of the comparator 2.sub.2 is measured by the timer 6. When the input analog potential A.sub.in is between the reference potential V.sub.ref2 and V.sub.ref3, the selection circuit 8C selects the comparator 2.sub.3, and the comparison operation time of the comparator 2.sub.3 is measured by the timer 6. When the input analog potential A.sub.in is between the reference potential V.sub.ref3 and V.sub.ref4, the selection circuit 8C selects the comparator 24, and the comparison operation time of the comparator 24 is measured by the timer 6. When the input analog potential A.sub.in is between the reference potential V.sub.ref4 and V.sub.ref5, the selection circuit 8C selects the comparator 2.sub.5, and the comparison operation time of the comparator 2.sub.5 is measured by the timer 6. When the input analog potential A.sub.in is between the reference potential V.sub.ref5 and V.sub.ref6, the selection circuit 8C selects the comparator 2.sub.6, and the comparison operation time of the comparator 2.sub.6 is measured by the timer 6. When the input analog potential A.sub.in is below the reference potential V.sub.ref6, the selection circuit 8C selects the comparator 2.sub.7, and the comparison operation time of the comparator 2.sub.7 is measured by the timer 6.
[0089] As illustrated in
[0090] As illustrated in
Fifth Embodiment
[0091] Referring to
[0092] As in the AD converter 1A according to a second embodiment, in the condition of the comparators 2.sub.0 to 2.sub.3 having the structure of a CMOS-type SRAM and the power supply (power supply voltage Vcc and ground voltage Vss) being a single power supply identical to the reference power supply of the AD conversion (upper limit reference potential V.sub.REFH and lower limit reference potential V.sub.REFL), when both the input analog potential A.sub.in and the reference potential V.sub.ref3 are low, the P channel MOS transistors P1 and P2 may not be able to be turned on sufficiently, and the circuit becomes unstable.
[0093] Therefore, the AD converter 1D uses the comparators 2.sub.B0 to 2.sub.B1 having the structure of the PMOS-type SRAM for AD conversion in the area where the input analog potential A.sub.in is low.
[0094] As illustrated in
[0095] The memory cell 23 includes N-channel MOS transistors NT1 and NT2, and P-channel MOS transistors PT1, PT2, PT3, and PT4.
[0096] The P-channel MOS transistor PT1 and the N-channel MOS transistor NT1 comprise a first CMOS inverter. The source of the N-channel MOS transistor NT1 is connected to the ground voltage Vss via the power switch 24, and the drain of the N-channel MOS transistor NT1 is connected to the drain of the P-channel MOS transistor PT1. The source of the P-channel MOS transistor PT1 is connected to the power supply voltage Vcc.
[0097] The P-channel MOS transistor PT2 and the N-channel MOS transistor NT2 comprise a second CMOS inverter. The source of the N-channel MOS transistor NT2 is connected to the ground voltage Vss via the power switch 24, and the drain of the N-channel MOS transistor NT2 is connected to the drain of the P-channel MOS transistor PT2. The source of the P-channel MOS transistor PT2 is connected to the power supply voltage Vcc.
[0098] The input of the first CMOS inverter, that is, the gate of the P-channel MOS transistor PT1 and the gate of the N-channel MOS transistor NT1, are the output of the second CMOS inverter, that is, being connected to the connection point of the drain of the P-channel MOS transistor PT1 and the drain of the N-channel MOS transistor NT1, and becoming an inverted output terminal of the comparator 2.sub.B* which outputs an inverted output
[0099] The input of the second CMOS inverter, that is, the gate of the P-channel MOS transistor PT2 and the gate of the N-channel MOS transistor NT2, are the output of the first CMOS inverter, that is, being connected to the connection point of the drain of the P-channel MOS transistor PT2 and the drain of the N-channel MOS transistor NT2, and becoming an output terminal of the comparator 2.sub.B* which outputs the comparison result Q.sub.B*.
[0100] The P-channel MOS transistor PT3 is connected in parallel with the P-channel MOS transistor PT1, and the gate of the P-channel MOS transistor PT3 becomes a second input terminal of the comparator 2.sub.B* to which the reference potential V.sub.ref* is input.
[0101] The P-channel MOS transistor PT4 is connected in parallel with the P-channel MOS transistor PT2, and the gate of the P-channel MOS transistor PT4 becomes a first input terminal of the comparator 2.sub.B* to which the input analog potential A.sub.in is input.
[0102] Referring to
[0103] In the condition of which all comparators are configured with the comparator 2.sub.B*, when both the input analog potential A.sub.in and the reference potential V.sub.ref0 are high, the N-channel MOS transistors NT1 and NT2 may not be able to be turned on sufficiently, and the circuit becomes unstable.
[0104] As illustrated in
[0105] When the comparison result Q.sub.A of the comparator 2.sub.A=“1” (high level Hi), the decoder circuit 7D selects the largest measured value count* among the measured values count.sub.0 to count.sub.3 of the comparison operation time of the comparators 2.sub.0 to 2.sub.1 and identifies the comparator 2* with the largest comparison operation time. The decoder circuit 7D uses the correlation characteristics of the identified comparator 2* and calculates the digital conversion value CODE of the input analog potential A.sub.in based on the comparison result Q* of the identified comparator 2* and the selected measured value count*.
[0106] When the comparison result Q* of the identified comparator 2*=“1” (high level Hi), the decoder circuit 7D uses the correlation characteristics in the area where the input analog potential A.sub.in of the identified comparator 2* is greater than the reference potential V.sub.ref* (area X* shown in
[0107] When the comparison result Q* of the identified comparator 2*=“0” (low level Low), the decoder circuit 7 uses the correlation characteristics in the area where the input analog potential A.sub.in of the identified comparator 2* is smaller than the reference potential V.sub.ref* (area Y* shown in
[0108] When the comparison result Q.sub.A of the comparator 2.sub.A=“0” (low level Low), the decoder circuit 7D selects the largest measured value count* among the measured values count.sub.2 to count.sub.3 of the comparison operation time of the comparators 2.sub.B0 to 2.sub.B1 and identifies the comparator 2.sub.B* with the largest comparison operation time. The decoder circuit 7D uses the correlation characteristics of the identified comparator 2.sub.B* and calculates the digital conversion value CODE of the input analog potential A.sub.in based on the comparison result Q.sub.B* of the identified comparator 2.sub.B* and the selected measured value count*.
[0109] When the comparison result Q.sub.B* of the identified comparator 2.sub.B*=“1” (high level Hi), the decoder circuit 7D uses the correlation characteristics in the area where the input analog potential A.sub.in of the identified comparator 2.sub.B* is greater than the reference potential V.sub.ref* (area X.sub.B* illustrated in
[0110] When the comparison result Q.sub.B* of the identified comparator 2.sub.B*=“0” (low level Low), the decoder circuit 7 uses the correlation characteristics in the area where the input analog potential A.sub.in of the identified comparator 2.sub.B* is smaller than the reference potential V.sub.ref* (area Y.sub.B* shown in
[0111] Any structure may be applied to the comparator 2.sub.A, but a structure may be preferable to operate at higher speed than the comparators 2.sub.0 to 2.sub.1 and the comparators 2.sub.B0 to 2.sub.B1 so that the operation time of the comparator 2.sub.A does not become a bottleneck.
[0112] The AD converter 1D uses different types (characteristics) of comparators, such as comparators 2.sub.0 to 2.sub.1 and the comparators 2.sub.B0 to 2.sub.B1. Thus, when comparators 2 with different types are used, it is necessary to select which type of comparator 2 is used to perform the AD conversion. In this case, as in the AD converter 1B, the selection may be made based on the input analog potential A.sub.in, or the combination of the comparison result Q and the comparison operation time of each comparator 2.
[0113] In the above-described one or more embodiments, one comparator 2* is specified, and the digital conversion value CODE is calculated based on the comparison operation time of the specified comparator 2*. However, it may also be possible to specify comparators 2* and calculate the digital conversion value CODE based on the comparison operation time of the comparators 2*.
[0114] As explained above, according to one or more embodiments, the AD converter 1 converts the input analog potential A.sub.in into the digital conversion value CODE and comprises the comparator 2 that compares the input analog potential A.sub.in with the reference potential V.sub.ref and the conversion circuit (TDC circuit 4) that measures the comparison operation time from the start to the end of the comparison operation by the comparator 2 and outputs the digital conversion value CODE according to the measured comparison operation time and the comparison result Q by the comparator 2. With this configuration, the AD conversion may be completed by one comparison operation and arithmetic processing of the result using one comparator 2; therefore, a high-speed and small-sized AD converter 1 may be provided. The AD converter 1 requires only comparator 2 and a reference potential, instead of requiring (2.sup.n−1) comparators and (2.sup.n−1) reference potentials for n-bit resolution in a flash type AD converter, thereby greatly reducing the circuit area. In addition, the AD converter 1 does not need a large capacitive element for sample and hold or CDAC as in a successive approximation type AD converter, which greatly reduces the circuit area and eliminates the problem of current leakage of a MOS transistor. Furthermore, the AD converter 1 may be provided with a MOS transistor and a diode element as the main components and may benefit from process miniaturization.
[0115] According to one or more embodiments, the conversion circuit calculates the digital conversion value CODE from the comparison operation time based on the correlation characteristics of the potential difference between the input analog potential A.sub.in and the reference potential V.sub.ref and the comparison operation time of the comparator 2. With this configuration, the AD conversion may be executed with high accuracy by using the comparator 2 of the type whose comparison operation time is correlated with the potential difference between the input analog potential A.sub.in and the reference potential V.sub.ref.
[0116] According to one or more embodiments, the AD converter 1A converts the input analog potential A.sub.in into the digital conversion value CODE, comprising the comparators 2.sub.0 to 2.sub.3 that compare the input analog potential A.sub.in with each of the different reference potentials V.sub.ref0 to V.sub.ref3, and the conversion circuit (decoder circuit 7A) that outputs the digital conversion value CODE according to the comparison operation time from the start to the end of the comparison operation by the specified comparator 2* among the comparators 2.sub.0 to 2.sub.3. With this configuration, since the AD conversion may be completed with one comparison operation and arithmetic processing of the result using a small number of comparators 2*, a high-speed and small-sized AD converter 1 may be provided.
[0117] According to one or more embodiments, the conversion circuit stores the respective correlation characteristics of the potential differences between the input analog potential A.sub.in and each of the reference potentials V.sub.ref0 to V.sub.ref3 and the comparison operation time of the comparators 2.sub.0 to 2.sub.3, and calculates the digital conversion value CODE from the comparison operation time based on the correlation characteristics of the identified comparators 2*. This configuration allows the use of the correlation characteristics in the area where the comparison operation time varies greatly with respect to the input analog potential A.sub.in, and the AD conversion may be performed with high accuracy.
[0118] According to one or more embodiments, the conversion circuit identifies the comparator 2* based on the comparison operation time. With this configuration, by identifying the comparator 2* with the largest measured value count*, the correlation characteristics of the area where the change in comparison operation time is large in relation to the input analog potential A.sub.in may be used, and the AD conversion may be performed with high accuracy.
[0119] According to one or more embodiments, the conversion circuit (decoder circuit 7C) identifies the comparator 2* based on the comparison results of the comparators 2.sub.0 to 2.sub.7. This configuration allows the comparator 2* to be quickly identified with a simple configuration.
[0120] According to one or more embodiments, the comparators 2.sub.A0 to 2.sub.A2, which function as intermediate potential comparators to compare the input analog potential A.sub.in with intermediate potentials V.sub.ref(0-1), V.sub.ref(1-2), V.sub.ref(2-3) of the reference potentials V.sub.ref0 to V.sub.ref3, are provided, and the conversion circuit (decoder circuit 7B) identifies the comparator based on the comparison results of the comparators 2.sub.A0 to 2.sub.A2. This configuration allows the comparator 2* to be quickly identified with a simple configuration.
[0121] According to one or more embodiments, the comparators 2.sub.0 to 2.sub.1 and the comparators 2.sub.B0 to 2.sub.B1 consist of a combination of different types. The conversion circuit (decoder circuit 7D) identifies the comparator 2* or 2.sub.B* of the selected type (comparators 2.sub.0 to 2.sub.1 or comparators 2.sub.B0 to 2.sub.B1) based on the comparison result of the comparator 2.sub.A that functions as an intermediate potential comparator. With this configuration, since different types of comparators 2 may be used, use of the comparator 2 in an unstable area (potential) may be prevented, and the AD conversion may be executed with high accuracy.
[0122] As described above, an AD converter according to one or more embodiments may be possible to complete AD conversion with a single comparison operation and arithmetic processing of the result using a small number of comparators 2. As a result, it may be possible to provide an AD converter 1 that is fast and small in size.
[0123] While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only and not limitation. Numerous changes to the disclosed embodiments can be made in accordance with the disclosure herein without departing from the spirit or scope of the invention. Thus, the breadth and scope of the present invention should not be limited by any of the above-described embodiments. Rather, the scope of the invention should be defined in accordance with the following claims and their equivalents.
EXPLANATION OF THE SIGN
[0124] 1, 1A, 1B, 1C, 1D: Analog-to-digital converter (AD converter)
[0125] 2, 2.sub.0 to 2.sub.7, 2.sub.A, 2.sub.A0 to 2.sub.A2, 2.sub.B0 to 2.sub.B1: Comparator
[0126] 3, 3.sub.0 to 3.sub.7: End detection circuit
[0127] 4: Time measurement circuit (TDC circuit)
[0128] 5A, 5B, 5C, 5D: Voltage divider
[0129] 6, 6.sub.0 to 6.sub.3: Timer
[0130] 7A, 7B, 7C, 7D: Decoder circuit
[0131] 8B, 8C: Selection circuit
[0132] 21, 23: Memory cell
[0133] 22, 24: Power switch
[0134] N1 to N4, NTO to NT2: N-channel MOS transistor
[0135] P1 to P4, PT1 to PT4: P-channel MOS transistor