主权项 |
1. A successive approximation type analog-digital converter configured to convert an input analog signal into a digital signal, comprising:
a comparator configured to output a result of comparing the analog signal and a reference voltage for each bit; a register configured to store a digital value corresponding to the result of comparison for each bit and output the digital signal; a detection unit configured to detect whether the comparator is in a stable state or not for each bit; and a bit determination unit configured to, if the detection unit has produced a result that the state is not stable, store as a bit value of a bit which is one bit lower-order than a detection bit where the result is detected, a value obtained by inverting a final determined bit value of the detection bit in the register instead of the result of comparison of the comparator, the detection unit comprising: an internal signal generation unit configured to output first logical value as an internal signal when logical values of two output signals output from the comparator are equal to each other, and second logical value different from the first logical value as the internal signal when the logical values of the two output signals are different from each other; and an internal signal holding unit configured to latch the internal signal, wherein the internal signal holding unit outputs the internal signal after a first predetermined period of time from start of a comparison cycle of the bit, as a detection result of the detection unit, wherein the detection unit detects for each bit whether the comparator is in a stable state or not after a second predetermined period of time from start of the comparison cycle of the bit based on the comparison result, wherein the bit determination unit stores the bit value based on the result produced by the detection unit after a third predetermined period of time from start of the comparison cycle of the bit, the third predetermined period of time being determined considering a period in which the detection unit itself is in a metastable state. |