Abstract:
An NMOS analog voltage comparator is disclosed having two matching cascaded inverter-pairs. The comparator has fast response time, is not sensitive to temperature variations while operating, and operates independent of integrated circuit parameter variations encountered during circuit manufacture.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to analog voltage comparators, and more specifically to analog voltage comparators suitable for use with NMOS circuitry. 
     NMOS circuitry has the characteristics of high speed and high circuit density, and therefore is useful for high speed digital applications. Analog voltage comparators, which compare two analog voltages, determine which voltage is greater, and provide a digital result, are useful in high speed digital applications. However, building analog voltage comparators suitable for use with NMOS technology has been difficult because the NMOS transistors have low gain and limited voltage range, and complementary PMOS transistors are not available. Prior art NMOS analog voltage comparators have been built using multi-stage differential amplifiers and complex level-shifting circuits which have resulted in slow response times. Also, these prior art comparators have required additional power sources. Consequently, prior art solutions have been inefficient and slow when used for analog comparisons. 
     SUMMARY OF THE INVENTION 
     In accordance with the illustrated preferred embodiment of the present invention, a cascaded pair of NMOS inverters provides a digital output in response to an analog input voltage according to a switching threshold voltage controlled by a second and matching cascaded pair of NMOS inverters according to a reference voltage input. The resulting output voltage is responsive to a relationship between the reference voltage and the input voltage and not dependent on the parameter variations from the NMOS batch or changes in temperature over a broad range of working conditions. The resultant NMOS voltage analog comparator is efficient, fast, and highly consistent in its operation. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     The FIGURE shows a schematic of the preferred embodiment of the present invention in which two matching cascaded inverter-pairs are used. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The FIGURE shows a schematic of the preferred embodiment of the present invention in which an analog comparator is comprised of two matching cascaded inverter-pairs. The first cascaded inverter pair is comprised of a first inverter, enhancement transistor 3 with a depletion transistor 7; and a second inverter, enhancement transistor 4 with a depletion transistor 8. The gate and source of transistor 8 are connected to the drain of transistor 4. The drain of transistor 8 is connected to a supply voltage V DD  and the source of transistor 4 is connected to ground. This is a standard inverter. 
     The gate of transistor 4 is connected to the source of transistor 7 and the drain of transistor 3. The drain of transistor 7 is connected to the power supply V DD . The source of transistor 3 is connected to ground. The analog input voltage V IN  is applied to the gate of transistor 3, while the output is taken at the drain of transistor 4. The switching threshold of this inverter cascade is controlled by the voltage V B  at the gate of transistor 7, and is made equal to a reference input voltage VREF by the action of the remaining components of the circuit. 
     The second cascaded inverter pair controls the voltage V B  and therefore regulates the switching threshold of the first cascaded inverter pair. The second cascaded inverter pair comprises a third inverter, enhancement transistor 2 and depletion transistor 6; and a fourth inverter, enhancement transistor 1 and depletion transistor 5. The gate and source of transistor 6 are connected to the drain of transistor 2. The drain of transistor 6 is connected to the supply voltage V DD . The source of transistor 2 is connected to ground. The source of transistor 5 is connected to the drain of transistor 1 and to the gate of transistor 2. The drain of transistor 5 is connected to the supply voltage V DD . The source of transistor 1 is connected to ground. The voltage VREF is applied to the gate of transistor 1. The output voltage V B  is connected to the gate of transistor 5. 
     The connection of the gate of transistor 5 to the output of the third inverter is a feedback connection. If the devices are properly dimensioned, as is well known in the prior art, the feedback will adjust the current in transistor 5 such that the fourth inverter will be biased into its &#34;linear&#34;, or switching region, causing the output voltage V B  to be approximately midway between the supply voltage V DD  and ground. 
     The voltage V B  is also applied to the gate of transistor 7, which is identical to transistor 5. Also, transistor 3 is identical to transistor 1, transistor 4 is identical to transistor 2, and transistor 8 is identical to transistor 6. Because of the symmetry, when input voltage V IN  equals reference voltage VREF, then output voltage VOUT equals output voltage V B , and the comparator output inverter, made up of transistors 4 and 8 will therefore be biased into its &#34;linear&#34;, or switching region also. Therefore, the comparator output VOUT will change states when the input voltage V IN  equals the reference voltage VREF. 
     Due to the feedback in the third and fourth inverters, the circuit automatically compensates for component parameter variations caused by process or temperature changes. Proper functioning of the circuit depends only on the close matching of parameters in the paired transistors, which is readily achieved within an integrated circuit. 
     In addition, the signal delay in the preferred embodiment is very small because the signal path consists of only the first and second inverters.