Background of the Invention
1. Field of the Invention
The present invention relates to an analog-to-digital (A/D) converter, and more particularly, to a flash A/D converter.
2. Description of the Related Art
Digital signal processing is widely used for rapid and accurate signal processing. Generally, A/D or digital-to-analog (D/A) converters are part of circuits used for signal processing. Major components of A/D converters include a comparator, a switch, a sample and hold circuit, and a reference voltage generator for providing an accurate reference voltage.
FIG. 1 is a circuit diagram of a conventional 4-bit flash A/D converter. Referring to FIG. 1, a conventional flash A/D converter includes a reference voltage generator 1, a sample and hold circuit 3, a comparing portion 5, an address generator 7, a digital word generator 9, and a latch 10.
As the number of bits increases, the conventional flash A/D converter requires a greater number of comparators thereby increasing power consumption and semiconductor layout area. Furthermore, the conventional A/D converter operating characteristics can deteriorate depending on variations in the fabrication process. Therefore, a need remains for a flash A/D converter which optimizes power consumption, reduces layout area requirements, and minimizes performance deterioration due to fabrication process variations.
Summary of the Invention
An object of the present invention is to provide a flash A/D converter which overcomes the problems associated with conventional A/D converters. Another object of the present invention is to provide a flash A/D converter which reduces power consumption and layout area by reducing the number of comparators.
To achieve the above objects, the flash A/D converter of the present invention includes a reference voltage generator, a comparing portion, and an address generator. The flash A/D converter further includes an upper digital word generator, a lower digital word generator, and a latch portion. The reference voltage generator includes 2.sup.N resistors connected in series between a first supply voltage and a second supply voltage, where `N` is equal to the number of digital signal bits. The reference voltage generator provides a reference voltage at each connection point between the resistors. The comparing portion includes first through mth comparators, where m is defined as equal to 2.sup.(N-1) -1. The comparing portion compares every other reference voltage output with the corresponding analog input signal. The address generator generates a 2.sup.(N-1) bit address responsive to the output of each of the comparators. The upper digital word generator generates (N-1) upper bits of a digital word responsive to the address. The lower digital word generator selects one of the remaining reference voltages, excluding every other reference voltage, responsive to the address. The lower digital word generator further compares the selected reference voltage with the analog input signal, and generates the least significant bit of a digital word. The latch portion latches the (N-1) upper bits with the least significant bit of the digital word.
According to the preferred embodiment of the present invention, the address generator includes first logic means for receiving a supply voltage and the output of the first comparator and performing a logical operation. The address generator further includes second through mth logic means (m=.sup.2(N-1) -1), each for receiving the outputs of two adjacent comparators and performing a logical operation thereon. The address generator further includes a (m+1)th logic means for receiving the output of the mth comparator and a ground voltage, and performing a logical operation thereon. The upper digital word generator is preferably either a programmable logic array (PLA) or a read-only-memory (ROM). The lower digital word generator includes 2.sup.(N- 1) switches having input terminals connected to the remaining reference voltages excluding the every other reference voltages and output terminals which are commonly connected. The lower digital word generator further includes a comparator for comparing an output signal of each of the commonly connected output terminals with the analog input signal. A control signal of each of the switches is directed to each bit of the address.
Brief Description of the Drawings
The above object and advantages of the present invention will become more apparent by describing in detail a preferred embodiment of the present invention with reference to the attached drawings in which:
FIG. 1 is a circuit diagram of a conventional flash A/D converter; and
FIG. 2 is a circuit diagram of a flash A/D converter according to the preferred embodiment of the present invention.
Detailed Description of the Invention
Referring to FIG. 2, a flash A/D converter of the present invention includes a reference voltage generator 11, a sample and hold circuit 13, a comparing portion 15, an address generator 17, an upper digital word generator 19, a lower digital word generator 21, and a latching portion 23.
Reference voltage generator 11 has 2.sup.4 resistors R21-R36 serially connected between first supply voltage V.sub.TOP and second supply voltage V.sub.BOT. Each of resistors R21-R36 are of the same size. Reference voltage generator 11 generates 2.sup.4 -1 reference voltages V21-V35 at each junction of two resistors. Comparing portion 15 includes first through seventh comparators COP22-COP34, each of which compares every other reference voltage output from reference voltage generator 11. That is, comparators COP22-COP24 compare each of reference voltages V22, V24, V26, V28, V30, V32, and V34, in even numerical places, with analog signal SVIN. Address generator 17 generates a 2.sup.3 bit address A22-A36 responsive to outputs C22-C34 of comparators COP22-COP34. Upper digital word generator 19 generates three upper bits D2, D3, and D4 of a 4-bit digital word responsive to the 2.sup.3 bit address A22-A36. Lower digital word generator 21 selects each of the remaining reference voltages V21, V23, V25, V27, V29, V31, V33, and V35 in odd numerical places responsive to the 2.sup.3 -bit address A22-A36 and then compares each selected reference voltage with analog signal SVIN. After doing so, lower digital word generator 21 generates the least significant bit (LSB) D1 of the digital word to be output. Latching portion 23 latches the three upper bits D2, D3, and D4 with the LSB, D1.
Analog signal SVIN is the output signal of sample and hold circuit 13. Sample and hold circuit 13 generates analog signal SVIN responsive to an input signal VIN and clock signal SAMCK. Address generator 17 includes first logic means 17a for performing a logic operation on supply voltage Vcc and output signal C22 of first comparator COP22. Address generator 17 further includes second through seventh logic means 17b-17g for performing a logic operation on each of the outputs of two adjacent comparators, for example, output signals C22 and C24 of comparators COP22 and COP24, output signals C24 and C26 of comparators COP24 and COP26, and so on. Address generator 17 further includes eight logic means 17h for performing a logic operation on output signal C34 of seventh comparator COP34 and ground voltage GND. First through eighth logic means 17a-17h each comprises one of the plurality of inverters 122-136 and one of the plurality of AND gates AND22-AND36 such that each logic means generates a logic high output signal only if the logic levels of the two signals received at the input terminals are different from each other. Additionally, upper digital word generator 19 includes either a Programmable Logic Array (PLA) or Read Only Memory (ROM).
Lower digital word generator 21 includes 23 switches S1-S8 each connected to one of reference voltages V21, V23, V25, V27, V29, V31, V33, and V35. Lower digital word generator 21 also includes comparator COP36 for comparing the output signal of the commonly connected terminals of switches S1-S8 with analog signal SVIN. The control signal of each of switches S1-S8 is connected to the gate of switches S1-S8 and corresponds to each bit of address A22-A36. Each switch S1-S8 passes data from its input terminal to its output terminal when the control signal is at a logic high. Preferably, switches S1-S8 are NMOS transistors as shown in FIG. 2. Latching portion 23 includes second through fourth latches L2, L3, and L4 for latching the three upper bits D2, D3, and D4 of the digital word, and a first latch L1 for latching LSB D1 of the digital word.
The A/D converter shown in FIG. 2 operates as follows. When the analog voltage level of analog signal SVIN is between reference voltages V28 and V29, for example, output signals C22-C28 from comparators COP22-COP28 change to a logic high, whereas the outputs C30-C34 from comparators COP30-COP34 change to a logic low. Thus, only output signal A30 of fifth logic means 17e changes to a logic high whereas the outputs A22, A24, A26, A28, A32, A34, and A36 of the remaining logic means 17a, 17b, 17c, 17d, 17f, 17g, and 17h change to a logic low. Therefore, the three upper bits D4, D3, and D2 of the digital word become logic 1, 0, 0. Moreover, since only output A30 of fifth logic means 17e becomes high, only switch S5 of lower digital word generator 21 switches on, passing reference voltage V29 to the input terminal of comparator COP36. Comparator COP36 compares reference voltage V29 with analog signal SVIN and outputs a logic low signal since the voltage level of analog signal SVIN is lower than reference voltage V29. Hence, LSB D1 of the digital word becomes logic 0. In a similar manner, any voltage level of analog signal SVIN is converted into a 4-bit (D4, D3, D2, D1) digital word.
Therefore, the flash A/D converter of the present invention requires a significantly reduced number of comparators and significantly smaller ROMs as compared to conventional flash A/D converters. In the case of a 4-bit conversion, the conventional flash AID converter requires 15 comparators whereas the flash A/D converter of the present invention can be realized with only 8 comparators, an 8.times.3 ROM, and 8 simple switches. It follows that the flash A/D converter of the present invention significantly reduces power consumption and semiconductor layout size.
The present invention is not limited to the above embodiment. It is clearly understood that many variations are possible by anyone skilled in the art within the scope and spirit of the present invention.