The present disclosure relates to a comparator circuit.
A voltage comparator is used to compare a certain input voltage with a threshold voltage serving as a reference in an electronic circuit. The voltage comparator is generally formed by use of a differential amplifier.
One of important characteristics of the voltage comparator is an output delay time.
An output signal VOUT of the voltage comparator starts to change with the crossing of a threshold voltage VTH by an input voltage VIN as a trigger. The output signal VOUT changes with a certain finite slope (through rate). A degree by which the input voltage VIN after the crossing is separated from the threshold voltage VTH is referred to as an overdrive voltage VOD. The higher the overdrive voltage VOD, the higher the through rate of the output signal VOUT of the voltage comparator. The smaller the overdrive voltage VOD, the lower the through rate. In
An example of the related art is disclosed in Japanese Patent Laid-open No. 2013-153288.
An outline of a few illustrative embodiments of the present disclosure will be described. This outline describes, in a simplified manner, a few concepts of one or a plurality of embodiments as an introduction to the following detailed description for a purpose of basic understanding of the embodiments and does not limit the scope of the disclosure. This outline is neither a comprehensive outline of all conceivable embodiments nor intended to identify important elements of all of the embodiments or demarcate the scope of part or all of examples. For convenience, “one embodiment” may be used to refer to one embodiment (an example or a modification) or a plurality of embodiments (examples or modifications) disclosed in the present specification.
A comparator circuit according to one embodiment includes an amplifier including an auto zero operational amplifier and amplifying a difference between an input voltage and a predetermined first voltage, and a first voltage comparator comparing an output voltage of the amplifier with a predetermined second voltage.
Letting VTH be a threshold voltage of the comparator circuit viewed as a whole, a difference between the input voltage VIN and the threshold voltage VTH is an overdrive voltage VOD(TOTAL) of the comparator circuit as a whole. Even in a case where the overdrive voltage VOD(TOTAL) is small, the difference between the input voltage VIN and the threshold voltage VTH is amplified by a gain g. Thus, an overdrive voltage VOD(COMP) in the first voltage comparator in a rear stage becomes very large. The voltage comparator in the rear stage can consequently operate at a high speed. Hence, the comparator circuit can compare the input voltage VTH close to the threshold voltage VIN at a high speed.
In one embodiment, the comparator circuit may further include a second voltage comparator comparing the output voltage of the amplifier with a predetermined third voltage, and the comparator circuit may operate as a window comparator. It is thereby possible to realize a very narrow window width.
In one embodiment, the first voltage comparator and the second voltage comparator may have an output stage of an open collector or an open drain. Outputs of the first voltage comparator and the second voltage comparator may be pulled up by a common resistance.
In one embodiment, the amplifier may be a subtraction circuit.
A voltage test circuit according to one embodiment may include the above-described comparator circuit capable of operating as a window comparator, and a variable voltage source generating the first voltage having a voltage level corresponding to an expected value of the input voltage.
The present disclosure will hereinafter be described with reference to the drawings on the basis of preferred embodiments. Identical or equivalent constituent elements, members, and processing illustrated in each drawing are identified by the same reference numerals, and repeated description thereof will be omitted as appropriate. In addition, the embodiments are not restrictive of the disclosure but is illustrative, and all features described in the embodiments and combinations thereof are not necessarily essential to the disclosure.
In the present specification, a “state in which a member A is connected to a member B” includes a case where the member A and the member B are physically directly connected to each other and a case where the member A and the member B are indirectly connected to each other via another member that does not affect an electrically connected state.
Similarly, a “state in which a member C is provided between the member A and the member B” includes not only a case where the member A and the member C or the member B and the member C are directly connected to each other but also a case where the member A and the member C or the member B and the member C are indirectly connected to each other via another member that does not affect an electrically connected state.
In addition, a “signal A (voltage or current) is determined according to a signal B (voltage or current) ” means that the signal A has correlation to the signal B, and specifically means: (i) a case where the signal A is the signal B; (ii) a case where the signal A is in proportion to the signal B; (iii) a case where the signal A is obtained by level-shifting the signal B; (iv) a case where the signal A is obtained by amplifying the signal B; (v) a case where the signal A is obtained by inverting the signal B; (vi) any combination thereof; or the like. It is understood by those skilled in the art that the scope of “according” is determined according to kinds and uses of the signals A and B.
Axes of ordinates and axes of abscissas in waveform charts and timing charts referred to in the present specification are enlarged or reduced in scale as appropriate in order to facilitate understanding, and each waveform illustrated therein is simplified or exaggerated or emphasized in order to facilitate understanding.
The comparator circuit 100 compares the input voltage VIN with the threshold voltage VTH, and generates an output signal VOUT that indicates a result of the comparison.
The amplifier 110 amplifies a difference between the input voltage VIN and a first voltage V1. The amplifier 110 is formed by use of an auto zero operational amplifier (referred to also as an auto zero amplifier or a zero drift amplifier). The amplifier 110 is very little affected by an offset voltage of the operational amplifier. The amplifier 110 amplifies the difference between the input signal VIN and the first voltage V1 in an offset-free manner. An output voltage of the amplifier 110 after the amplification will be referred to as VAMP.
The first voltage comparator 120 compares the output voltage VAMP of the amplifier 110 with a second voltage V2, and generates an output signal VOUT indicating magnitude relation therebetween. The first voltage comparator 120 can be constituted by an ordinary differential amplifier.
The configuration of the comparator circuit 100 has been described above. An operation thereof will next be described.
The amplifier 110 in the front stage is constituted by use of an auto zero operational amplifier, and is therefore able to amplify the difference between the input voltage VIN and the first voltage V1 with a very small offset voltage. When generalized, the output voltage VAMP of the amplifier is expressed by
in which g is a gain of the amplifier 110 and VCOM is a reference voltage of the amplifier 110. The gain g can be set to be, for example, 10 times or more, preferably 100 times or more, and may be set to be 1000 times or more.
The first voltage comparator 120 in the rear stage compares the output voltage VAMP of the amplifier 110 and the second voltage V2 with each other. In the comparator circuit 100, VAMP=V2 holds when VIN=VTH. Hence, Equation (2) is obtained.
Hence, the threshold voltage VTH is expressed by Equation (3).
An overdrive voltage as a minimum required to make the voltage comparator 120 in the rear stage operate at a speed satisfying design specifications (this overdrive voltage will be referred to as a minimum overdrive voltage in the present specification) will be referred to as VOD(MIN). An amplified voltage VAMP(MIN) that gives the minimum overdrive voltage VOD(MIN) is
An input voltage VIN(MIN) that gives the amplified voltage VAMP(MIN) of Equation (4) can be calculated from Equation (1).
Equation (6) is obtained when Equation (4) is substituted into Equation (5).
A difference between the input voltage VIN(MIN) Of Equation (6) and the threshold voltage VTH of Equation (3) is a minimum overdrive voltage VOD_TOTAL(MIN) of the comparator circuit 100 as a whole.
That is, the minimum overdrive voltage VOD_TOTAL(MIN) of the comparator circuit 100 as a whole is a value obtained by dividing the minimum overdrive voltage VOD(MIN) of the first voltage comparator 120 alone by the gain g. Hence, even when a comparator whose minimum overdrive voltage is on the order of mV is employed as the first voltage comparator 120, for example, the overdrive voltage VOD_TOTAL(MIN) of the input voltage VIN, that is, an effective overdrive voltage of the comparator circuit 100 as a whole is on the order of sub-mV, and thus, a high-speed voltage comparison is enabled with a very small overdrive voltage.
An overdrive voltage VOD2 (=VAMP−V2) in the first voltage comparator 120 has a magnitude g times an overdrive voltage VOD1 (=VIN−VTH) of the input voltage VIN with respect to the threshold voltage VTH.
Advantages of the comparator circuit 100 are clarified by comparison with a comparative technology. In the comparative technology, the amplifier 110 in the front stage is omitted, and an input signal VIN′ is supplied directly to the first voltage comparator 120 in the rear stage. Operation waveforms of the comparative technology are indicated by broken lines (ii) in
In the present embodiment, on the other hand, the overdrive voltage VOD2 in the first voltage comparator 120 is large, and therefore, the output signal VOUT makes a quick transition. Hence, the comparator circuit 100 can operate at a high speed with a very small overdrive voltage VOD1.
The present disclosure covers various devices and methods understood as the block diagram or the circuit diagram of
When Equation (1) and Equation (8) are compared with each other, g=−R2/R1. VCOM may be 0 V or may be any nonzero voltage.
Supposing that V2=VCOM, the threshold voltage VTH of the comparator circuit 100A can be calculated by substituting V2=VCOM into Equation (3) and is expressed by Equation (9).
The comparator circuit 100B includes an amplifier 110B, a first voltage comparator 120, and a second voltage comparator 130. A configuration of the amplifier 110B is similar to that of the amplifier 110A in
The first voltage comparator 120 compares the amplified voltage VAMP with the second voltage V2 and generates a first output signal VOUT1 indicating a result of the comparison. The second voltage comparator 130 compares the amplified voltage VAMP with a third voltage V3 and generates a second output signal VOUT2 indicating a result of the comparison.
The first voltage comparator 120 compares the input voltage VIN with an upper side threshold voltage VH expressed by Equation (10).
The second voltage comparator 130 compares the input voltage VIN with a lower side threshold voltage VL expressed by Equation (11).
The second voltage V2 and the third voltage V3 can be, for example, defined so as to satisfy the following relations.
In this case,
The comparator circuit 100B may further include a logic circuit 140. The logic circuit 140 receives two output signals VOUT1 and VOUT2. The logic circuit 140 outputs a comparison signal COMP that is at a first level as one of a high and a low when the input signal VIN is included in the window, and a comparison signal COMP that is at a second level as the other of the high and the low when the input signal VIN is not included in the window.
Advantages of the comparator circuit 100B are clarified by comparison with a comparative technology.
ΔV≥VOD(MIN)
This is because, supposing that ΔV<VOD(MIN), when the input voltage VIN makes a transition from outside the window to within the window, a difference between VIN and the threshold voltage VH (or VL) becomes smaller than the minimum overdrive voltage VOD(MIN).
Hence, in the comparative technology, in a case where the minimum overdrive voltage VOD(MIN) is on the order of mV, the window width of the comparator circuit 100B is on the order of mV.
On the other hand, in the embodiment of
Incidentally, in the comparator circuit 100B of
In this case,
Alternatively, the second voltage V2 and the third voltage V3 may be defined so as to satisfy the following relations.
In this case,
An application of the comparator circuit 100 will next be described.
For example, the voltage test circuit 300 can test a D/A converter. Specifically, while an input code of the D/A converter is swept, the output voltage V1 of the variable voltage source 310 is swept so as to follow the sweeping of the input code. It is thereby possible to test the D/A converter at a high speed.
The applications of the comparator circuit 100 is not particularly limited, and the comparator circuit 100 can widely be used for voltage comparison applications.
The present disclosure has been described with particular words on the basis of embodiments. However, the embodiments merely represent principles and applications of the present disclosure, and many modifications and changes in arrangement are recognized in the embodiments without departing from the concepts of the present disclosure as defined in claims.
The technology disclosed in the present specification are grasped as follows in one example.
A comparator circuit including:
The comparator circuit according to Item 1, further including:
The comparator circuit according to Item 2, in which
The comparator circuit according to any one of Items 1 to 3, in which
A voltage test circuit including:
According to a certain example of the present disclosure, a comparator circuit capable of operating with an overdrive voltage on the order of sub-mV is provided.
Number | Date | Country | Kind |
---|---|---|---|
2023-038909 | Mar 2023 | JP | national |
This application claims priority benefit of Japanese Patent Application No. JP 2023-038909 filed in the Japan Patent Office on Mar. 13, 2023. Each of the above-referenced applications is hereby incorporated herein by reference in its entirety.