COMPARATOR CIRCUIT AND VOLTAGE TEST CIRCUIT

Information

  • Patent Application
  • 20240310416
  • Publication Number
    20240310416
  • Date Filed
    March 11, 2024
    9 months ago
  • Date Published
    September 19, 2024
    3 months ago
Abstract
Disclosed herein is a comparator circuit including 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.
Description
BACKGROUND

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. FIG. 1 is a waveform chart of assistance in explaining an input-output characteristics of the voltage comparator.


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 FIG. 1, a waveform at a time that the overdrive voltage VOD is large is indicated by a solid line (i), and a waveform at a time that the overdrive voltage VOD is small is indicated by a solid line (ii).


An example of the related art is disclosed in Japanese Patent Laid-open No. 2013-153288.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a waveform chart of assistance in explaining an input-output characteristics of a voltage comparator;



FIG. 2 is a block diagram of a comparator circuit according to an embodiment ;



FIG. 3 is an operation waveform chart of the comparator circuit of FIG. 2;



FIG. 4 is a circuit diagram of a comparator circuit according to one embodiment;



FIG. 5 is a circuit diagram of a comparator circuit according to one embodiment;



FIG. 6 is a circuit diagram of a window comparator according to a comparative technology;



FIG. 7 is a circuit diagram of a concrete example of the comparator circuit of FIG. 5; and



FIG. 8 is a circuit diagram of a voltage test circuit including a comparator circuit.





DETAILED DESCRIPTION
Outline of Embodiments

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.


Embodiments

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.



FIG. 2 is a block diagram of a comparator circuit 100 according to an embodiment. The comparator circuit 100 includes an amplifier 110 in a front stage and a first voltage comparator 120 in a rear stage.


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










V
AMP

=


g
×

(


V
IN

-

V
1


)


+

V
COM






(
1
)







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.










V
2

=


g
×

(


V
TH

-

V
1


)


+

V
COM






(
2
)







Hence, the threshold voltage VTH is expressed by Equation (3).










V
TH

=



(


V
2

-

V
COM


)

/
g

+

V
1






(
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










V

AMP

(
MIN
)


=


V
2

+

V

OD

(
MIN
)







(
4
)







An input voltage VIN(MIN) that gives the amplified voltage VAMP(MIN) of Equation (4) can be calculated from Equation (1).










V

IN

(
MIN
)


=



(


V

AMP

(
MIN
)


-

V
COM


)

/
g

+

V
1






(
5
)







Equation (6) is obtained when Equation (4) is substituted into Equation (5).










V

IN

(
MIN
)


=



(


V
2

+

V

OD

(
MIN
)


-

V
COM


)

/
g

+

V
1






(
6
)







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.













V

OD

_


TOTAL

(
MIN
)



=



V

IN

(
MIN
)


-

V
TH








=




(


V
2

+

V

OD

(
MIN
)


-

V
COM


)

/
g

+

V
1

-









{



(


V
2

-

V
COM


)

/
g

+

V
1


}







=



V

OD

(
MIN
)


/
g








(
7
)







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.



FIG. 3 is an operation waveform chart of the comparator circuit 100 in FIG. 2. An upper part of FIG. 3 illustrates the input signal VIN and the threshold voltage VTH. A middle part of FIG. 3 illustrates the signal VAMP obtained after being subjected to amplification and the second voltage V2. A lower part of FIG. 3 illustrates the output signal VOUT.


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 FIG. 3. In the comparative technology, the overdrive voltage VOD1 in the first voltage comparator 120 is small, and therefore, the output signal VOUT makes a slow transition as indicated by a broken line (ii).


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 FIG. 2 or derived from the above description, and is not limited to a specific configuration. In the following, more specific configuration examples and embodiments will be described not to narrow the scope of the present disclosure but to facilitate the understanding of the essence and operation of the present disclosure and clarify the essence and the operation of the present disclosure.



FIG. 4 is a circuit diagram of a comparator circuit 100A according to one embodiment. An amplifier 110A is a subtraction circuit. The amplifier 110A includes an operational amplifier 112, a first resistance R1, a second resistance R2, a third resistance R3, and a fourth resistance R4. The operational amplifier 112 is an auto zero operational amplifier. When R1=R3 and R2=R4 hold, the output voltage VAMP of the amplifier 110A is expressed by Equation (8).










V
AMP

=



(


V
1

-

V
IN


)

×
R

2
/
R

1

+

V
COM






(
8
)







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).










V
TH

=

V
1





(
9
)








FIG. 5 is a circuit diagram of a comparator circuit 100B according to one embodiment. The comparator circuit 100B is a window comparator. The comparator circuit 100B determines whether or not the input voltage VIN is included in a voltage window having V1 as a lower limit and having VJ as an upper limit.


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 FIG. 4, and is constituted by a subtraction circuit.


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).










V
H

=



(


V
2

-

V
COM


)

/
g

+

V
1






(
10
)







The second voltage comparator 130 compares the input voltage VIN with a lower side threshold voltage VL expressed by Equation (11).










V
L

=



(


V
3

-

V
COM


)

/
g

+

V
1






(
11
)







The second voltage V2 and the third voltage V3 can be, for example, defined so as to satisfy the following relations.










V
2

=



V
COM

+
ΔV








V
3

=



V
COM

-
ΔV








In this case,










V
H

=



V
1

+

ΔV
/
g









V
L

=



V
1

-

ΔV
/
g









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. FIG. 6 is a circuit diagram of a window comparator 200R according to the comparative technology. The window comparator 200R includes voltage comparators 202 and 204. Suppose that the minimum overdrive voltage of the voltage comparators 202 and 204 is VOD(MIN). In this case, a window width ΔV=VH−VL is limited by the minimum overdrive voltage VOD(MIN).





Δ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 FIG. 5, even when the overdrive voltage of VIN with respect to VH or the overdrive voltage of VIN with respect to V1 is on the order of sub-mV (on the order of μV), overdrive voltages VAMP−V2 and VAMP−V3 in the first voltage comparator 120 and the second voltage comparator 130 in the rear stage are larger than the minimum overdrive voltage VOD(MIN). Hence, a window comparator having a sub-mV window width can be formed.


Incidentally, in the comparator circuit 100B of FIG. 5, the second voltage V2 and the third voltage V3 may be defined so as to satisfy the following relations.










V
2

=


V
COM








V
3

=



V
COM

-
ΔV








In this case,










V
H

=


V
1








V
L

=




-
ΔV

/
g

+

V
1









Alternatively, the second voltage V2 and the third voltage V3 may be defined so as to satisfy the following relations.










V
2

=



V
COM

+
ΔV








V
3

=


V
COM








In this case,










V
H

=



ΔV
/
g

+

V
1









V
L

=


V
1









FIG. 7 is a circuit diagram of a specific example of the comparator circuit 100B of FIG. 5. The first voltage comparator 120 and the second voltage comparator 130 have an output form of an open collector (open drain). The logic circuit 140 includes a resistance R11 that pulls up the respective outputs of the first voltage comparator 120 and the second voltage comparator 130. The resistance R11 and output transistors Q11 and Q12 of the first voltage comparator 120 and the second voltage comparator 130 constitute an OR circuit.


An application of the comparator circuit 100 will next be described.



FIG. 8 is a circuit diagram of a voltage test circuit 300 including the comparator circuit 100B. The voltage test circuit 300 determines whether or not the input voltage VIN is included in an expected voltage level of the input voltage. The voltage test circuit 300 includes the above-described comparator circuit 100B and a variable voltage source 310. The variable voltage source 310 generates the first voltage V1 according to the expected value level of the input voltage VIN. According to this configuration, the voltage test circuit 300 can determine whether the input voltage VIN is included in a voltage range based on the expected value level. The absolute value of the input voltage VIN can be ensured by performing a test with use of the voltage test circuit 300.


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.


SUPPLEMENTARY NOTES

The technology disclosed in the present specification are grasped as follows in one example.


(Item 1)

A comparator circuit including:

    • 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.


(Item 2)

The comparator circuit according to Item 1, further including:

    • a second voltage comparator comparing the output voltage of the amplifier with a predetermined third voltage,
    • in which the comparator circuit operates as a window comparator.


(Item 3)

The comparator circuit according to Item 2, in which

    • the first voltage comparator and the second voltage comparator have an output stage of an open collector or an open drain, and
    • outputs of the first voltage comparator and the second voltage comparator are pulled up by a common resistance.


(Item 4)

The comparator circuit according to any one of Items 1 to 3, in which

    • the amplifier is a subtraction circuit.


(Item 5)

A voltage test circuit including:

    • the comparator circuit according to Item 2 or 3; and
    • a variable voltage source generating the first voltage having a voltage level corresponding to an expected value of the input voltage.


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.

Claims
  • 1. A comparator circuit comprising: an amplifier including an auto zero operational amplifier and amplifying a difference between an input voltage and a predetermined first voltage; anda first voltage comparator comparing an output voltage of the amplifier with a predetermined second voltage.
  • 2. The comparator circuit according to claim 1, further comprising: a second voltage comparator comparing the output voltage of the amplifier with a predetermined third voltage,wherein the comparator circuit operates as a window comparator.
  • 3. The comparator circuit according to claim 2, wherein the first voltage comparator and the second voltage comparator have an output stage of an open collector or an open drain, andoutputs of the first voltage comparator and the second voltage comparator are pulled up by a common resistance.
  • 4. The comparator circuit according to claim 1, wherein the amplifier is a subtraction circuit.
  • 5. A voltage test circuit comprising: the comparator circuit according to claim 2; anda variable voltage source generating the first voltage having a voltage level corresponding to an expected value of the input voltage.
Priority Claims (1)
Number Date Country Kind
2023-038909 Mar 2023 JP national
CROSS REFERENCE TO RELATED APPLICATIONS

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.