Patent ID: 8638126

Claim:
A rail-to-rail comparator comprising: a positive voltage rail, which provides a positive supply voltage; a ground voltage rail, which provides a ground voltage; an input stage, which is coupled to the positive voltage rail and the ground voltage rail, and the input stage includes: a positive and a negative input terminals for receiving a first input signal and a second input signal respectively, wherein the first input signal and the second input signal have voltage levels between the positive supply voltage and the ground voltage; a first differential amplifier circuit, which includes a first depletion N-type metal oxide semiconductor (NMOS) transistor having a gate coupled to the positive input terminal to receive the first input signal and a second depletion NMOS transistor having a gate coupled to the negative input terminal to receive the second input signal, wherein the first and second depletion NMOS transistors generate a first pair of differential currents; a first PMOS transistor and a second PMOS transistor, each of the first and second PMOS transistors including a gate, a source, and a drain; the gate of the first PMOS transistor being coupled to the negative input terminal, the drain of the first PMOS transistor being coupled to a drain of the first depletion NMOS transistor, the gate of the second PMOS transistor being coupled to the positive input terminal, and the drain of the second PMOS transistor being coupled to a drain of the second depletion NMOS transistor; and a second differential amplifier circuit, which includes a pair of native NMOS transistors coupled to the positive and negative input terminals to receive the first input signal and the second input signal respectively and generate a second pair of differential currents; and an output stage, which is coupled to the first differential amplifier circuit and the second differential amplifier circuit, for generating an output signal related to a difference between the first input signal and the second input signal according to the first pair of differential currents and the second pair of differential currents.