Voltage comparator for offset compensation
11211922 · 2021-12-28
Assignee
Inventors
Cpc classification
H03K5/22
ELECTRICITY
H03K5/153
ELECTRICITY
H02M7/537
ELECTRICITY
H02M7/4835
ELECTRICITY
International classification
H02M7/537
ELECTRICITY
G01R19/165
PHYSICS
H03K5/153
ELECTRICITY
Abstract
Disclosed herein is a voltage comparator including a first capacitor, a first inverter and a first switch connected in series and provided between both ends of the first capacitor, a second inverter connected in parallel with the first inverter, a second switch provided between an input and an output of the first inverter, a third switch provided between an input and an output of the second inverter, a second capacitor provided between the output of the first inverter and the input of the second inverter, a third capacitor provided between the output of the second inverter and the input of the first inverter, and a fourth switch provided in one of a position between an upper electrode of the first capacitor and a power supply line and a position between a lower electrode of the first capacitor and a ground line.
Claims
1. A voltage comparator comprising: a first capacitor; a first inverter and a first switch connected in series and provided between both ends of the first capacitor; a second inverter connected in parallel with the first inverter; a second switch provided between an input and an output of the first inverter; a third switch provided between an input and an output of the second inverter; a second capacitor provided between the output of the first inverter and the input of the second inverter; a third capacitor provided between the output of the second inverter and the input of the first inverter; and a fourth switch provided in one of a position between an upper electrode of the first capacitor and a power supply line and a position between a lower electrode of the first capacitor and a ground line.
2. The voltage comparator according to claim 1, further comprising: another fourth switch provided in another of the position between the upper electrode of the first capacitor and the power supply line and the position between the lower electrode of the first capacitor and the ground line.
3. The voltage comparator according to claim 1, wherein the first switch includes two switches, a first of the two switches is provided on an upper side of the first inverter, and a second of the two switches is provided on a lower side of the first inverter.
4. A voltage comparator comprising: a first capacitor; a first inverter provided between both ends of the first capacitor; a first switch provided in one of an upper electrode of the first capacitor or between a lower electrode of the first capacitor and the first inverter or provided inside the first inverter; a second inverter connected in parallel with the first inverter, the second inverter having a same configuration as the first inverter; a second switch provided between an input and an output of the first inverter; a third switch provided between an input and an output of the second inverter; a second capacitor provided between the output of the first inverter and the input of the second inverter; a third capacitor provided between the output of the second inverter and the input of the first inverter; and a fourth switch provided in one of a position between an upper electrode of the first capacitor and a power supply line and a position between a lower electrode of the first capacitor and a ground line.
5. The voltage comparator according to claim 4, further comprising: another fourth switch provided in another of the position between the upper electrode of the first capacitor and the power supply line and the position between the lower electrode of the first capacitor and the ground line.
6. The voltage comparator according to claim 4, wherein the first switch includes two switches, a first of the two switches is provided on an upper side of the first inverter, and a second of the two switches is provided on a lower side of the first inverter.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(12) Hereinafter, the present disclosure will be described on the basis of preferred embodiments with reference to the drawings. The same or equivalent components, members, and processes illustrated in the drawings are designated by the same reference numerals, and redundant description will be omitted as appropriate. Further, the embodiments are examples, and the disclosure is not limited thereto, so that all features and combinations described in the embodiments are not necessarily essential to the disclosure.
(13) In the present specification, the “state in which the member A is connected to the member B” includes the case where the member A and the member B are physically and directly connected, and also includes the case where the member A and the member B are indirectly connected through another member which does not substantially affect the electrically connecting state thereof or does not impair the functions and effects produced by the combination thereof.
(14) Similarly, the “state in which the member C is provided between the member A and the member B” includes the case where the member A and the member C, or the member B and the member C are directly connected, and also includes the case where the members are indirectly connected via another member which does not substantially affect the electrically connecting state thereof or does not impair the functions and effects produced by the combination thereof.
(15)
(16) The comparator 300 includes an input stage 310 and a comparison stage 320. The input stage 310 is a sample hold circuit. The configuration of the input stage 310 includes, for example, a first input switch SWinp, a second input switch SWinn, and a third input switch SWc. The configuration of the input stage 310 is not particularly limited, and any configuration according to the form and characteristics of the input signal can be employed as long as a sample operation can be performed before a comparison operation.
(17) The comparison stage 320 includes input capacitors Cinp and Cinn, a first capacitor C1 to third capacitor C3, a first inverter INV1, a second inverter INV2, and a first switch SW1 to a fourth switch SW4.
(18) A power supply and a ground of the first inverter INV1 and a first switch SW1.sub.H are connected in series between both ends of the first capacitor C1. The second inverter INV2 is provided in parallel with the first inverter INV1. The first switch SW1.sub.H is a switch for inactivating the first inverter INV1 and the second inverter INV2 and may be provided on a low potential side of the inverter or is built in each of the inverters INV1 and INV2 as described later.
(19) A second switch SW2 is provided between an input and an output of the first inverter INV1. A third switch SW3 is provided between an input and an output of the second inverter INV2. A second capacitor C2 is provided between the output of the first inverter INV1 and the input of the second inverter INV2. The third capacitor C3 is provided between the output of the second inverter INV2 and the input of the first inverter INV1.
(20) A fourth switch SW4.sub.H is provided in one of a position between an upper electrode Vc1 of the first capacitor C1 and a power supply line 302 and a position between a lower electrode of the first capacitor C1 and a ground line 304 (in this embodiment, the power supply line 302 side).
(21) Alternatively, as will be described later (
(22) By providing the input capacitors Cinp and Cinn at the input of the comparison stage 320 and using alternating current (AC) coupling, the effect of facilitating a latch operation and eliminating input common mode voltage dependence can be obtained.
(23) The above is the configuration of the comparator 300. Next, the operation thereof will be described.
(24) 1. Charging Phase ϕ.sub.1
(25) First, the fourth switch SW4 is turned on to charge the first capacitor C1. At this time, the first switch SW1 is off. The low state indicates the switch-off state, and the high state indicates the switch-on state.
(26) 2. Offset Cancel Phase ϕ.sub.2
(27) Subsequently, the fourth switch SW4 is turned off to disconnect the first capacitor C1 from the power supply line 302, and the first switch SW1 to the third switch SW3 are turned on.
(28) When the first switch SW1 is turned on, the first inverter INV1 and the second inverter INV2 become operable by the electric charge stored in the first capacitor C1. Then, when the second switch SW2 is turned on, a short circuit is caused between the input and output of the first inverter INV1, and an input voltage V.sub.A is stabilized at the threshold voltage Vth1 of the first inverter INV1. Similarly, when the third switch SW3 is turned on, a short circuit is caused between the input and output of the second inverter INV2, and an input voltage V.sub.B is stabilized at the threshold voltage Vth2 of the second inverter INV2.
(29) 3. Sampling Phase ϕ.sub.3
(30) The switch SWinp is turned on, and the input voltage Vinp on one side is sampled using the capacitor Cinp. Similarly, the switch SWinn is turned on, and the input voltage Vinn on the other side is sampled using the capacitor Cinn. The voltages across the capacitors Cinp and Cinn are Vinp−Vth1 and Vinn−Vth2, respectively.
(31) 4. Comparison Phase ϕ.sub.4
(32) When the switches SWinp and SWinn are turned off, the input voltages Vinp and Vinn are held. Then, the second switch SW2 and the third switch SW3 are turned off. Then, when the switch SWc is turned on, a comparison operation is performed. To be more specific, when the switch SWc is turned on, potentials at one ends of the input capacitors Cinp and Cinn become equal, and electric charge transfer occurs between the two capacitors Cinp and Cinn, so that voltage changes corresponding to a difference ΔV between the voltages Vinp and Vinn are induced to the respective input voltages V.sub.A and V.sub.B of the first inverter INV1 and the second inverter INV2 with reverse polarities.
(33) The above is an operation sequence of the comparator 300. The first inverter INV1 and the second inverter INV2 can be understood as a latch circuit that is AC-cross-coupled via the capacitors C2 and C3 and operate in the same manner as a dynamic latch comparator. A minute potential difference between the two input voltages Vinp and Vinn is amplified by the positive feedback of the latch circuit, and the latch circuit with signal stabilization points at the two points H and L changes at high speed to a state according to a magnitude relation between the input voltages Vinp and Vinn.
(34) The comparator 300 has an offset due to two major factors. The first factor is the capacitance mismatch of the input capacitors Cinp and Cinn, capacitance mismatch of the capacitors C2 and C3, and capacitance mismatch of the wiring parasitic capacitance. Regarding the first factor, due to the characteristics of the semiconductor manufacturing process, it is easy to suppress the mismatch to 1% or less, and the influence is small.
(35) The second factor of the offset of the comparator 300 is the mismatch of the threshold voltages Vth1 and Vth2 of the first inverter INV1 and the second inverter INV2, and although this influence is larger than the capacitance mismatch, according to the present embodiment, it is possible to perform highly accurate voltage comparison that is not affected by variations or fluctuations in the threshold voltages Vth1 and Vth2 of the first inverter INV1 and the second inverter INV2. That is, the offset voltage of the comparator 300 can be suitably canceled.
(36) Further, in the phase ϕ.sub.2 in which the second switch SW2 and the third switch SW3 are turned on to cancel the offset, the switch SW4 is off, and accordingly, the through current I.sub.THROUGH as illustrated in
(37) The two inverters INV1 and INV2 are AC-coupled by the capacitors C2 and C3. Therefore, the influence of direct current (DC) offset can be eliminated.
(38) Further, also in the input stage 310, the influence of the DC offset on the input side can be eliminated by adopting the AC coupling form by the two capacitors Cinp and Cinn. Then, since the circuit functions as a completely symmetrical differential circuit and V.sub.TailH and V.sub.TailL corresponding to the power supply and the ground of the two inverters INV1 and INV2 become common, the circuit has strong resistance also against crosstalk from an external signal line and common mode noise from the power supply/ground line.
(39) The comparator 300 in
(40) The operation sequence of the comparator 300 in
(41) 1. Charging Phase ϕ.sub.1
(42) First, the fourth switch SW4 is turned on to charge the first capacitor C1. At this time, the first switch SW1 is off.
(43) 2. Offset Cancel Phase ϕ.sub.2
(44) Subsequently, the fourth switch SW4 is turned off to disconnect the first capacitor C1 from the power supply line 302. Further, the first switch SW1 to the third switch SW3 are turned on. When the first switch SW1 is turned on, the first inverter INV1 and the second inverter INV2 become operable by the electric charge stored in the first capacitor C1.
(45) Then, when the second switch SW2 is turned on, a short circuit is caused between the input and output of the first inverter INV1, and the input voltage V.sub.A is initialized to the threshold voltage Vth1 of the first inverter INV1.
V.sub.A(INIT)=Vth1
(46) Similarly, when the third switch SW3 is turned on, a short circuit is caused between the input and output of the second inverter INV2, and the input voltage V.sub.B is initialized to the threshold voltage Vth2 of the second inverter INV2.
V.sub.B(INIT)=Vth2
(47) According to this modification example, in this phase ϕ.sub.2, the switch SWc is turned on, so that the wiring (or node) x connecting the switch SWinp and the capacitor Cinp and the wiring (or node) y connecting the switch SWinn and the capacitor Cinn are short-circuited. As a result, the electric charges charged in each of the wirings x and y are discharged, and a difference in electric charges can be removed. Since it is sufficient that a difference between the P input and the N input can be removed, a circuit that applies the same voltage to the nodes x and y may be added instead of the switch SWc. Further, this switch SWc may be turned on in the charging phase ϕ.sub.1.
(48) 3. Sampling Phase ϕ.sub.3
(49) The switch SWinp is turned on. As a result, the input voltage Vinp on one side is sampled using the capacitors Cinp and Cinn. The voltage between both ends of the capacitor Cinp is Vinp−V.sub.A(INIT)=Vinp−Vth1, and the voltage ΔVcinn between both ends of the capacitor Cinn satisfies ΔVcinn=Vinp−V.sub.B(INIT)=Vinp−Vth2.
(50) 4. Comparison Phase ϕ.sub.4
(51) The second switch SW2 and the third switch SW3 are turned off, and the switch SWinn is turned on. Since the electric charge of the capacitor Cinn (voltage between both ends ΔVcinn) is stored, the input voltage V.sub.B of the second inverter INV2 changes from the initial voltage V.sub.B(INIT) to V.sub.B′.
(52)
(53) Accordingly, the output of the second inverter INV2 is low when (Vinn−Vinp)>0 is satisfied and high when (Vinn−Vinp)<0 is satisfied, and the comparison stage 320 is latched in a state depending on a magnitude relation between the input voltages Vinp and Vinn.
(54) The present disclosure extends to various devices and methods understood as a block diagram or a circuit diagram in
(55)
(56)
(57)
(58)
(59) Subsequently, modification examples of the input stage 310 will be described.
(60)
(61) The input stage 310 of
(62) The input stage 310 in
(63) The input stage 310 in
(64) Although the single-ended comparator has been described in the above description, the present disclosure can also be applied to a differential type comparator.
(65)
(66) Here, although the comparison stage 320 of the comparator 300D that is the same as that in
(67) An input stage 310D includes a plurality of input switches SWap, SWan, SWbp, and SWbn in addition to the capacitors Cinp and Cinn, and the third input switch SWc.
(68) Subsequently, the operation of the comparator 300D in
(69) 1. Charging Phase ϕ.sub.1
(70) First, the fourth switch SW4 is turned on to charge the first capacitor C1. At this time, the first switch SW1 is off.
(71) 2. Offset Cancel Phase ϕ.sub.2
(72) Subsequently, the fourth switch SW4 is turned off to disconnect the first capacitor C1 from the power supply line 302, and the first switch SW1 to the third switch SW3 are turned on. At this time, the switch SWc is also turned on. When the first switch SW1 is turned on, the first inverter INV1 and the second inverter INV2 become operable by the electric charge stored in the first capacitor C1.
(73) Then, when the second switch SW2 is turned on, a short circuit is caused between the input and output of the first inverter INV1, and the input voltage V.sub.A is initialized to the threshold voltage Vth1 of the first inverter INV1.
V.sub.A(INIT)−Vth1
(74) Similarly, when the third switch SW3 is turned on, a short circuit is caused between the input and output of the second inverter INV2, and the input voltage V.sub.B is initialized to the threshold voltage Vth2 of the second inverter INV2.
V.sub.B(INIT)=Vth2
(75) In the offset cancel phase ϕ.sub.2, the switch SWc is turned on, and a difference between the charges of the wirings (nodes) x and y is removed.
(76) 3. Sampling Phase ϕ.sub.3
(77) The switch SWc is turned off, and switches SWainp and SWainn are turned on. The capacitor Cinp is charged at the following voltage ΔVp.
ΔVp=(Vainp−V.sub.A(INIT))=Vainp−Vth1
(78) Similarly, the capacitor Cinn is charged at the following voltage ΔVn.
ΔVn=(Vainn−V.sub.B(INIT))=Vainn−Vth2
(79) 4. Comparison Phase ϕ.sub.4
(80) The switches SWainp and SWainn, the second switch SW2, and the third switch SW3 are turned off, and switches SWbinp and SWbinn are turned on instead. Since the charge of the capacitor Cinp is stored, the input voltage V.sub.A of the first inverter INV1 transitions to the following voltage V.sub.A′.
(81)
(82) The first inverter INV1 transitions to a state corresponding to a magnitude relation between the voltage V.sub.A′ of its own input node and its own threshold voltage Vth1. That is, the output is low when Vbinp−Vainp>0 is satisfied, and the output is high when Vbinp−Vainp<0 is satisfied.
(83) Similarly, since the electric charge of the capacitor Cinn is stored, the input voltage V.sub.B of the second inverter INV2 transitions to the following voltage V.sub.B′.
(84)
(85) The second inverter INV2 transitions to a state according to a magnitude relation between the voltage V.sub.B′ of its own input node and its own threshold voltage Vth2. That is, the output is low when Vbinn−Vainn>0 is satisfied, and the output is high when Vbinn−Vainn<0 is satisfied.
(86) As described above, the two inverters INV1 and INV2 form a latch circuit, and the positive feedback of the latch circuit makes it possible to obtain a voltage comparison result at high speed.
(87) In the comparator 300D in
(88) In the comparator 300D in
(89) The comparator 300 is useful for various applications that require high accuracy and low power consumption.
(90) Although the present disclosure has been described using specific terms on the basis of the embodiments, the embodiments merely indicate the principles and applications of the present disclosure, and many modifications and arrangement changes are permitted for the embodiments without departing from the ideas of the present disclosure defined in the claims.
(91) It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalent thereof.