This application claims the priority benefit of Italian patent application number TO2009A000207, filed on Mar. 18, 2009, entitled “COMPARATOR WITH OFFSET COMPENSATION, IN PARTICULAR FOR ANALOG DIGITAL CONVERTERS,” which is hereby incorporated by reference to the maximum extent allowable by law.
1. Field of the Invention
The present invention relates to a comparator with offset compensation, in particular for analog digital converters (ADCs) operating by successive approximations (ADC SAR—Analog Digital Converter Successive Approximation Register).
2. Discussion of the Related Art
As is known, precision is an important requirement for comparators; techniques ensuring a reliable correction of the existing offset due to the mismatch among physical components forming the converter are therefore required.
Several solutions have been suggested for correction of the offset.
A first solution, shown in
Another solution, shown in
A further solution, shown in
It is an object of the present invention to provide a comparator overcoming the drawbacks of the prior art.
According to at least one embodiment, the present invention provides a comparator, comprising a first stage and a second stage, the first stage being configured so as to receive a voltage input signal and generate a current signal, the second stage comprising a first and a second output transistor connected between a reference potential line and, respectively, a first and a second comparator output node, a pair of bias devices, connected between a respective comparator output node and an output bias current source, a first memory element, connected between a control terminal of the first output transistor and the second comparator output node, a second memory element, connected between a control terminal of the second output transistor and the first comparator output node, and bias switches coupled between a control terminal of a respective output transistor and a respective comparator output node.
According to at least one embodiment, the first stage comprises a first and a second converter output node, the comparator further comprising a pair of connection switches interposed between a respective converter output node and a respective comparator output node, the connection switches and the bias switches being configured so that, in a tracking step, the first stage is connected to the second stage and the first and second memory elements store a control voltage of the respective output transistor and, in a evaluating step, the first stage is disconnected from the second stage and the memory elements receive said current signal and switch said first and second output nodes according to said current signal.
According to at least one embodiment, the first and the second memory elements are capacitors.
According to at least one embodiment, the first stage comprises a first and a second input transistors and a first and a second load transistors interposed between the reference potential line and an input bias current source, said first and second input transistors being connected to said first and second load transistors at respective converter output nodes.
According to at least one embodiment, the comparator further comprises a third and a fourth memory element interposed between the control terminal of the first and, respectively, of the second load transistor and the reference potential line.
According to at least one embodiment, the first stage further comprises, an input circuit connected to said input transistors and configured so as to supply a reference signal in an autozeroing step and said input signal in a comparing step, a first and a second autozero switch interposed between a control terminal of a respective load transistor and a respective converter output node and configured so as to receive an autozero signal so that, in the autozeroing step, the load transistors are transdiode-connected and the third and fourth memory elements store a signal correlated to an offset of the first stage and, in the comparing step, the first and the second autozero switches are open and the first stage supplies the current signal to the converter output nodes.
According to at least one embodiment, the input circuit comprises a first switch interposed between a first comparator input and a control terminal of the first input transistor, a second switch interposed between a second comparator input and a control terminal of the second input transistor; a third switch interposed between the control terminal of the first input transistor and a common mode voltage and a fourth switch interposed between the control terminal of the second input transistor and the common mode voltage, the first and the second switch being configured so as to switch on in counterphase with respect to the third and fourth switches.
According to at least one embodiment, the comparator is included in an ADC SAR.
According to at least one embodiment, the present invention provides a method of comparing a voltage signal supplied to a comparator comprising a first stage receiving an input signal and a second stage outputting an output signal, including a tracking step and an evaluating step, the tracking step comprising generating a current signal related to the input signal by the first stage, connecting a pair of output transistors of the second stage between a reference potential line and respective comparator output nodes, supplying the current signal to the pair of output transistors through respective comparator output nodes, connecting control terminals of the output transistors to respective comparator output nodes, storing control voltages existing between each control terminal of the output transistors and an opposite output node, and the evaluating step comprising reciprocally disconnecting the first stage and the second stage, disconnecting the control terminals of the output transistors from the respective output nodes, and detecting the output signal on the comparator output nodes.
For a better understanding of the present invention, a preferred embodiment thereof will now be disclosed by mere way of non-limitative example and with reference to the accompanying drawings, wherein:
In comparator 100, a first stage 10 substantially forms a voltage/current converter which, during the autozeroing step, stores an offset-compensated bias condition thereof, so that during the subsequent tracking and evaluating steps, it may generate, on its outputs 13 and 14, current signals +iin and −iin dependent on input signals IN1 and IN2 received on its inputs 11 and 12, but independent of the offset of first stage 10.
A second stage 20 forms a latched comparator, which is held in a reset condition during the autozeroing step, connected to first stage 10 during the tracking step, so as to receive current signals 11 and 12 on its inputs 21 and 22 and store an offset-compensated bias condition thereof, and is disconnected from first stage 10 during the evaluating step, so as to switch and generate, on comparison outputs 23 and 24, output signals O1, O2 only dependent on input signals IN1 and IN2.
In detail, first stage 10 comprises a pair of input transistors M1, M2, herein of the NMOS type, having gate terminals connectable respectively to input 11 and input 12 through respective switches S1 and S2. Furthermore, the gate terminals of input transistors M1, M2 are connectable to a common mode DC voltage VCM through respective switches S3 and S4. First terminals (herein the source terminals) of input transistors M1, M2 are connected together and to a first current source 19 supplying a first bias current IB1. Second terminals (herein drain terminals) of input transistors M1, M2 are connected to a respective output 13, 14 of the first stage and to first terminals (herein drain terminals) of a pair of load transistors M3, M4, herein of the PMOS type. Second terminals (herein source terminals) of load transistors M3, M4 are connected to a supply voltage VDD. Capacitors C1 and C2 are connected between drain and gate terminals of a respective load transistor M3, M4; switches S5 and S6 are connected between the gate and source terminals of a respective load transistor M3, M4.
The outputs 13, 14 of the first stage are connectable to inputs 21 and 22 of second stage 20 through respective switches S7 and S8. Inputs 21 and 22 of second stage 20 (also forming outputs of comparator 100) are connected to first terminals (herein drain terminals) of a pair of bias transistors M5, M6, herein of the NMOS type. Second terminals (herein source terminals) of bias transistors M5, M6 are connected together and to a second current source 29 supplying a second bias current IB2. Inputs 21 and 22 of second stage 20 are also connected to first terminals (herein drain terminals) of a pair of output transistors M7, M8, herein of the PMOS type. Second terminals (herein source terminals) of output transistors M7, M8 are connected to a supply voltage VDD. Capacitors C3 and C4 are connected between the drain terminal of a respective output transistor M7, M8 and the gate terminal of the other output transistor M8, M7; switches S9 and S10 are connected between the gate and drain terminals of a respective output transistor M7, M8.
Switches S1-S10 receive control signals resulting from combinations of two synchronism signals AZ and R (shown in
The operation of comparator 100 of
Autozeroing Step
In this step, switches S1, S2, S7, S8 are open and switches S3, S4, S5, S6, S9, S10 are closed. Accordingly, the gate terminals of input transistors M1, M2 of first stage 10 are connected to common mode DC voltage VCM; outputs 13 and 14 of first stage 10 are disconnected from second stage 20; load transistors M3 and M4 are in a transdiode configuration and second stage 20 is in a reset state.
In this configuration, shown in
Second stage 20 is maintained in a reset state, with a disabled positive feedback, due to switches S9 and S10 closing. In this condition, capacitors C3 and C4 are equivalent to a single capacitance Ceq=C3+C4 connected between the gate terminals of output transistors M7 and M8.
Tracking Step
At the beginning of this step, switches S3 and S4 are opened and switches S1 and S2 are closed. Furthermore, switches S5 and S6 are opened and switches S7 and S8 are closed, connecting first stage 10 to second stage 20 through a low impedance path; switches S9 and S10 remain closed, maintaining output transistors M7, M8 in a transdiode configuration. Comparator 100 is therefore in the configuration shown in
Thereby, input signals IN1 and IN2 are applied to input transistors M1, M2 which respectively conduct currents IB+ioff1−iin and IB−ioff1+iin. Since capacitors C1 and C2 hold the gate-source voltage of load transistors M3, M4 constant, the latter do not modify the current flowing therethrough and the signal currents −iin and +iin flow through the low impedance path between first and second stage 10, 20.
Accordingly, signal current −iin and +iin flows in output transistors M7, M8, as well as bias current IB2±ioff2 due to second generator 29. The currents of output transistors M7, M8 are therefore equal to IB2+ioff2+iin and IB2−ioff2−iin, respectively.
In this step, capacitors C3 and C4 in parallel to one another store the voltage existing between outputs 21 and 22 of comparator 100, dependent on offset currents ±ioff2 of second stage 20.
Evaluating Step
At the beginning of this step, switches S7, S8, S9 and S10 are opened, while switches S1-S6 remain in the previous condition, as shown in
Thereafter, comparator 100 goes back to the tracking step. The first stage therefore generates a new value of signal current iin flowing towards/from second stage 20, analogously to what disclosed above. A subsequent evaluating step therefore leads to the generation of a new output.
Resampling the offset of the whole comparator 100 by shorting the inputs of the common mode is not required after each single comparison operation (tracking and evaluating) with the shown circuit. Indeed, the overall offset of comparator 100 depends on the sum of the offset contributions of the first and second stages. The offset of first stage 10 is stored during the initial autozeroing step and maintained for the whole duration of the subsequent N comparisons. The information on the offset of second stage 20, although lost at each comparison, is recovered during the subsequent tracking step, without requiring additional steps.
Thereby, a series of comparisons may be performed by alternating the tracking and evaluating steps, as shown in
The comparator disclosed herein has several advantages.
In particular, the circuit is very simple, comprises few auxiliary components, so that its implementation requires a rather limited area.
The cancellation of the offset also requires only two control signals and only one additional step (autozeroing step). Indeed, the tracking step requires no additional times with respect to other kinds of comparators, which in any case comprise a resetting step, corresponding to the tracking step in the present comparator.
The solution shown is also compatible with the use of low-gain preamplification stages upstream of the comparator, as the autozeroing step is performed only once, as explained above.
Furthermore, the circuit allows a reduction in the input noise during the comparison due to switching of the outputs, the so-called “kick-back”. Indeed, during switching of the outputs, second stage 20 is electrically disconnected from first stage 10, by virtue of the opening of switches S7 and S8.
Comparator 100 may be used for providing an analog digital converter ADC SAR, as shown in
The use of comparator 100 of
Comparator 100 may also be used in various application fields, such as for instance the automotive, the consumer electronics or the sigma-delta converter field.
It is finally apparent that modifications and variants can be made to the comparator disclosed and illustrated herein without departing from the scope of protection of the present invention, as defined in the appended claims.
For instance, switches S9 and S10 connected to output transistors M7 and M8 could be directly controlled by the reset signal and therefore be opened during the autozeroing step, as second stage 20 is in any case decoupled from first stage 10.
Moreover, the components can be replaced by other equivalent elements, for example bipolar transistors and/or of different type.
Having thus described at least one illustrative embodiment of the invention, various alterations, modifications, and improvements will readily occur to those skilled in the art. Such alterations, modifications, and improvements are intended to be within the spirit and scope of the invention. Accordingly, the foregoing description is by way of example only and is not intended as limiting. The invention is limited only as defined in the following claims and the equivalents thereto.
Number | Date | Country | Kind |
---|---|---|---|
TO2009A0207 | Mar 2009 | IT | national |
Number | Name | Date | Kind |
---|---|---|---|
6750704 | Connell et al. | Jun 2004 | B1 |
7400279 | Krymski | Jul 2008 | B2 |
20060164125 | Mulder | Jul 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20100237907 A1 | Sep 2010 | US |