Voltage comparison circuit
11742844 · 2023-08-29
Assignee
Inventors
Cpc classification
International classification
Abstract
A comparator receives a target voltage and a reference voltage at its inverting and non-inverting input terminals, and outputs a signal corresponding to the level relationship between those voltages A node provided on the output side of the comparator is fed with a signal equivalent to the output signal of the comparator. Between the node and the non-inverting input terminal of the comparator, a capacitor is inserted.
Claims
1. A voltage comparison circuit comprising: a comparator having an output terminal, a first input terminal fed with a first voltage, and a second input terminal fed with a second voltage, the comparator being configured to output from the output terminal a signal with a predetermined first level in a first state where a level of the first voltage is lower than a level of the second voltage, and to output from the output terminal a signal with a predetermined second level different from the first level in a second state where the level of the first voltage is higher than the level of the second voltage; a logic circuit configured to output a binary signal in accordance with an output signal of the comparator; a capacitor, and a voltage division circuit configured to divide a predetermined voltage using a plurality of voltage division resistors connected in series with each other, wherein one end of the capacitor is connected to the second input terminal, another end of the capacitor is fed with the binary signal, the second voltage appears at a connection node between first and second voltage division resistors included in the plurality of voltage division resistors, the connection node being connected to the second input terminal of the comparator, the capacitor and the voltage division resistors in the voltage division circuit constitute a high-pass filter, and the high-pass filter is configured such that, when a rise in the first voltage causes a change of a level of the output signal of the comparator from the first level to the second level, the high-pass filter delivers an alternating-current signal based on the change to the second input terminal and thereby momentarily lowers the second voltage to less than a value that depends, at least in part, on respective values of the first and second voltage division resistances.
2. The voltage comparison circuit according to claim 1, wherein the voltage division circuit is configured to give the comparator hysteresis by varying, in accordance with the output signal of the comparator, a division ratio used when the second voltage is generated from the predetermined voltage.
3. The voltage comparison circuit according to claim 1, further comprising: another voltage division circuit configured to generate the first voltage by dividing an input voltage using a plurality of other voltage division resistors connected in series with each other, wherein the another voltage division circuit is configured to give the comparator hysteresis by varying, in accordance with the output signal of the comparator, a division ratio used when the first voltage is generated from the input voltage.
4. A semiconductor device including the voltage comparison circuit according to claim 1, wherein the voltage comparison circuit is formed as a semiconductor integrated circuit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
(17) Hereinafter, examples embodying the present invention will be described specifically with reference to the accompanying diagrams. Among the diagrams referred to in the course, the same parts are identified by the same reference signs, and in principle no overlapping description of the same parts will be repeated. In the present specification, for the sake of simple description, symbols and other designations referring to information, signals, physical quantities, elements, components, and the like are occasionally used with the names of the corresponding information, signals, physical quantities, elements, components, and the like omitted or abbreviated. For example, a reference voltage mentioned later and identified by the reference sign “V.sub.REF” is sometimes designated as “reference voltage V.sub.REF” and is other times abbreviated to “Voltage V.sub.REF”, both referring to the same entity.
(18) First, some of the terms used to describe embodiments of the present invention will be defined.
(19) “Ground” refers to a conducting part at a reference potential of 0 V (zero volts), or to such a reference potential itself. A potential of 0 V is occasionally referred to as a ground potential. In embodiments of the present invention, any voltage mentioned with no particular reference mentioned is a potential relative to the ground. “Level” denotes the level of a potential, and for any signal or voltage, “high level” has a higher potential than “low level”. For any signal or voltage, its being at high level means its level being at high level, and its being at low level means its level being at low level. A level of a signal is occasionally referred to as a signal level, and a level of a voltage is occasionally referred to as a voltage level. For a given signal of interest, if the signal of interest is at high level, the inversion signal of the signal of interest is at low level; if the signal of interest is at low level, the inversion signal of the signal of interest is at high level.
(20) For any transistor configured as an FET (field-effect transistor), which can be a MOSFET, “on state” refers to a state where the drain-source channel of the transistor is conducting, and “off state” refers to a state where the drain-source channel of the transistor is not conducting (cut off). Similar definitions apply for any transistor that is not classified as an FET. In the following description, for any transistor, its being in an on or off state is often referred to simply as its being on or off respectively. For any transistor, a switch from an off state to an on state is referred to as turning-on, and a switch from an on state to an off state is referred to as turning-off.
First Embodiment
(21) A first embodiment of the present invention will be described.
(22) The resistors R11, R12, and R13 constitute a voltage division circuit DIV12 that divides a predetermined voltage V.sub.BG to generate a reference voltage V.sub.REF. The resistors R11, R12, and R13 are connected in series with each other, and the predetermined voltage V.sub.BG is applied across the series circuit of the resistors R11, R12, and R13. The voltage V.sub.BG is, for example, a direct-current voltage that is generated using a band-gap reference, and has a predetermined fixed direct-current voltage value (the same is true with any embodiment described later). Specifically, one terminal of the resistor R11 is fed with the potential of the predetermined voltage V.sub.BG, the other terminal of the resistor R11 and one terminal of the resistor R12 are connected together at a node ND11, the other terminal of the resistor R12 is connected to one terminal of the resistor R13, and the other terminal of the resistor R13 is connected to the ground. The voltage that appears at the node ND11 serves as the reference voltage V.sub.REF in the voltage comparison circuit 10.
(23) The comparator CMP has an inverting input terminal, at which it receives a target voltage V.sub.TG; a non-inverting input terminal, at which it receives the reference voltage V.sub.REF; and an output terminal. The comparator CMP compares the target voltage V.sub.TG with the reference voltage V.sub.REF, and outputs, from its output terminal, a signal CMP.sub.OUT corresponding to the level relationship between the voltages V.sub.TG and V.sub.REF. When the target voltage V.sub.TG, is lower than the reference voltage V.sub.REF, the comparator CMP outputs, from its output terminal, a high-level signal CMP.sub.OUT; when the target voltage V.sub.TG is higher than the reference voltage V.sub.REF, the comparator CMP outputs, from its output terminal, a low-level signal CMP.sub.OUT. When the target voltage V.sub.TG equals the reference voltage V.sub.REF, the signal CMP.sub.OUT is at either high level or low level.
(24) The inverter INVa has an input terminal and an output terminal, and the input terminal of the inverter INVa is connected to the output terminal of the comparator CMP. The inverter INVa outputs, from its output terminal, the inversion signal of the output signal CMP.sub.OUT of the comparator CMP. The inverter INVb has an input terminal and an output terminal, and the input terminal of the inverter INVb is connected to the output terminal of the inverter INVa. The inverter INVb outputs, from its output terminal, the inversion signal of the output signal of the inverter INVa.
(25) Thus, when the output signal CMP.sub.OUT of the comparator CMP is at high level, the output signal of the inverter INVa is at low level and the output signal of the inverter INVb is at high level. When the output signal CMP.sub.OUT of the comparator CMP is at low level, the output signal of the inverter INVa is at high level and the output signal of the inverter INVb is at low level. The node at which the output terminal of the inverter INVa and the input terminal of the inverter INVb are connected together is referred to as a node NDa, and the output terminal of the inverter INVb is referred to as a node NDb (the same is true with any embodiment described later). The nodes NDa and NDb are fed with signals of which the levels change in synchronization with the level change in the output signal CMP.sub.OUT of the comparator CMP.
(26) In the voltage comparison circuit 10, the output signal of the inverter INVb appears at the output terminal of the voltage comparison circuit 10, and serves as the output signal S.sub.OUT of the voltage comparison circuit 10. The output signal S.sub.OUT is, like the output signal CMP.sub.OUT of the comparator CMP, a signal that corresponds to the level relationship between the voltages V.sub.TG and V.sub.REF (the same is true with any embodiment described later). In the voltage comparison circuit 10, the target voltage V.sub.TG is an input voltage V.sub.IN that is supplied from outside. The target voltage V.sub.TG may instead be a voltage resulting from dividing the input voltage V.sub.IN with an unillustrated voltage division circuit.
(27) The transistor Tr11 is a switching element that is connected in parallel with the resistor R13 to open or short-circuit across the resistor R13. Here, the transistor Tr11 is assumed to be configured as an N-channel MOSFET, with the drain of the transistor Tr11 connected to the connection node between the resistors R12 and R13, the source of the transistor Tr11 connected to the ground, and the gate of the transistor Tr11 connected to the node NDa.
(28) When the signal at the node NDa (i.e., the output signal of the inverter INVa) is at low level, the transistor Tr11 is off to open across the resistor R13. When the signal at the node NDa (i.e., the output signal of the inverter INVa) is at high level, the transistor Tr11 is on to short-circuit across the resistor R13. Thus, when the resistance values of the resistors R11, R12, and R13 are represented by the symbols R11, R12, and R13 respectively, with the transistor Tr11 off, V.sub.REF=V.sub.A1=V.sub.BG/(R12+R13)/(R11+R12+R13) and, with the transistor Tr11 on, V.sub.REF=V.sub.A2=V.sub.BG×R12/(R11+R12). Here, the on-state resistance of the transistor Tr11 is assumed to be low enough to be ignored (the same is true with any transistor mentioned later). The voltages V.sub.A1 and V.sub.A2 are identified in
(29) The comparator CMP being given hysteresis means that the voltage value V.sub.INVAL1 of the input voltage V.sub.IN that triggers a switch from the state V.sub.TG<V.sub.REF to the state V.sub.TG>V.sub.REF (i.e., that causes the signals CMP.sub.OUT and S.sub.OUT to switch from high level to low level) and the voltage value V.sub.INVAL2 of the input voltage V.sub.IN that triggers a switch from the state V.sub.TG>V.sub.REF to the state V.sub.TG<V.sub.REF (i.e., that causes the signals CMP.sub.OUT and S.sub.OUT to switch from low level to high level) fulfill the relationship V.sub.INVAL1>V.sub.INVAL2 (the same is true with any embodiment described later). The difference (V.sub.INVAL1−V.sub.INVAL2) is referred to as the hysteresis width. In a case where the input voltage V.sub.IN itself is the target voltage V.sub.TG, then, in the voltage comparison circuit 10, the voltage values V.sub.INVAL1 and V.sub.INVAL2 are equal to the above-mentioned voltages V.sub.A1 and V.sub.A2 respectively.
(30) In the voltage comparison circuit 10, the capacitor C11 is inserted between the node NDb and the non-inverting input terminal of the comparator CMP. That is, one terminal of the capacitor C11 is connected to the node NDb, and the other terminal of the capacitor C11 is connected to the non-inverting input terminal of the comparator CMP. The connection node ND11 between the resistors R11 and R12 also is connected to the non-inverting input terminal of the comparator CMP. Thus, the resistors R11 to 13 and the capacitor C11 together constitute a high-pass filter that delivers the alternating-current component of the signal at the node NDb to the node ND11 and to the non-inverting input terminal of the comparator CMP. Accordingly, when the level of the signal CMP.sub.OUT changes between low and high levels, an alternating-current signal based on the change is delivered from the node NDa via the capacitor C11 to the nixie ND11 and to the non-inverting input terminal of the comparator CMP, with the result that the alternating-current signal is superposed on the reference voltage V.sub.REF. For example, the serial composite resistance value of the resistors R11 to R13 is several megohms, and the capacitance value of the capacitor C11 is from 1 pF (picofarad) to several picofarads.
(31)
(32) In the example of
(33) On the other hand, as a result of the output signal S.sub.OUT switching from high level to low level, a current momentarily passes through the above-mentioned high-pass filter that includes the capacitor C11. Thus, starting at time point T.sub.A1, the reference voltage V.sub.REF is momentarily lower than the voltage V.sub.A2 for the period in which that current passes, by the amount of voltage proportional to that current.
(34) In the example of
(35) On the other hand, as a result of the output signal S.sub.OUT switching from low level to high level, a current momentarily passes through the above-mentioned high-pass filter that includes the capacitor C11. Thus, starting at time point T.sub.A3, the reference voltage V.sub.REF is momentarily higher than the voltage V.sub.A1 for the period in which that current passes, by the amount of voltage proportional to that current.
(36) In
(37)
(38) Increasing the difference between the voltages V.sub.A1 and V.sub.A2 leads to lower susceptibility to noise. However, increasing the difference between voltages V.sub.A1 and V.sub.A2, that is, increasing the hysteresis width, makes the voltage comparison circuit difficult to use.
(39)
(40) In the voltage comparison circuit 10, when, at time point T.sub.A1, a shift from the state V.sub.TG<V.sub.REF to the state V.sub.TG>V.sub.REF takes place and as a result the level of live output signal CMP.sub.OUT of the comparator CMP changes, the high-pass filter including the capacitor C11 so functions that the level of the reference voltage V.sub.REF is momentarily lower than the voltage V.sub.A2. Thus, immediately after time point T.sub.A1, no unstable changes like those seen in
(41) As described above, the voltage comparison circuit 10 operates as if with a momentarily larger hysteresis width only immediately after a change in the output of the comparator CMP, and thus operates stably despite noise and the like.
Second Embodiment
(42) A second embodiment of the present invention will be described. In the first embodiment (
(43) The resistors R21 to R23 constitute a voltage division circuit DIV21 that divides an input voltage V.sub.IN to generate a target voltage V.sub.TG. The resistors R21 to R23 are connected in series with each other, and the input voltage V.sub.IN is applied across the series circuit of the resistors R21 to R23. The input voltage V.sub.IN is the voltage to be compared with a reference voltage V.sub.REF in the voltage comparison circuit 20. In practice, however, the target voltage V.sub.TG, which is a division voltage of the input voltage V.sub.IN, is compared with the reference voltage V.sub.REF by the comparator CMP. Specifically, one terminal of the resistor R21 is fed with the potential of the input voltage V.sub.IN, the other terminal of the resistor R21 and one terminal of the resistor R22 are connected together at a node ND21, the other terminal of the resistor R22 is connected to one terminal of the resistor R23, and the other terminal of the resistor R23 is connected to the ground. The voltage that appears at the node ND21 serves as the target voltage V.sub.TG A2 in the voltage comparison circuit 20.
(44) The resistors R24 and R25 constitute a voltage division circuit DIV22 that divides a predetermined voltage V.sub.BG to generate the reference voltage V.sub.REF. The resistors R24 and R25 are connected in series with each other, and the predetermined voltage V.sub.BG is applied across the series circuit of the resistors R24 and R25. Specifically, one terminal of the resistor R24 is fed with the potential of the predetermined voltage V.sub.BG, and the other terminal of the resistor R24 is connected via the resistor R25 to the ground. The voltage that appears at the connection node ND22 between the resistors R24 and R25 serves as the reference voltage V.sub.REF in the voltage comparison circuit 20.
(45) In the voltage comparison circuit 20, the nodes ND21 and ND22 are connected to the inverting input terminal and the non-inverting input terminal, respectively, of the comparator CMP, so that the inverting input terminal and the non-inverting input terminal of the comparator CMP are fed with the target voltage V.sub.TG and the reference voltage V.sub.REF respectively.
(46) The configuration and the operation of the comparator CMP and the Inverters INVa and INVb and their interconnection in the voltage comparison circuit 20 are the same as in the voltage comparison circuit 10 of the first embodiment. In the voltage comparison circuit 20, the output signal of the inverter INVb appears at the output terminal of the voltage comparison circuit 20, and serves as the output signal S.sub.OUT of the voltage comparison circuit 20.
(47) The transistor Tr21 is a switching element that is connected in parallel with the resistor R23 to open or short-circuit across the resistor R23. Here, the transistor Tr21 is assumed to be configured as an N-channel MOSFET, with the drain of the transistor Tr21 connected to the connection node between the resistors R22 and R23, the source of the transistor Tr21 connected to the ground, and the gate of the transistor Tr21 connected to the node NDb.
(48) When the signal at the node NDb (i.e., the output signal of the inverter INVb) is at low level, the transistor Tr21 is off to open across the resistor R23. When the signal at the node NDb (i.e., the output signal of the inverter INVb) is at high level, the transistor Tr21 is on to short-circuit across the resistor R23. Thus, when the resistance values of the resistors R21, R22, and R23 are represented by the symbols R21, R22, and R23 respectively, with the transistor Tr21 off, V.sub.TG=V.sub.B1=V.sub.IN×(R22+R23)/(R21+R22+R23) and, with the transistor Tr21 on, V.sub.TG=V.sub.B2=V.sub.IN/R22/(R21+R22). Naturally, the relationship V.sub.B1>V.sub.B2 holds. Thus, the resistors R21 to R23 constitute the voltage division circuit DIV21 that divides the input voltage V.sub.IN to generate the target voltage V.sub.TG, and the voltage division ratio here changes in accordance with the signal at the node NDb (and hence the output signal of the comparator CMP); this gives the comparator CMP hysteresis.
(49) In the voltage comparison circuit 20, the capacitor C21 is inserted between the node NDa, which is fed with the output signal of the inverter INVa, and the non-inverting input terminal of the comparator CMP. That is, one terminal of the capacitor C21 is connected to the node NDa, and the other terminal of the capacitor C21 is connected to the inverting input terminal of the comparator CMP. As mentioned above, the connection node ND21 between the resistors R21 and R22 also is connected to the inverting input terminal of the comparator CMP. Thus, the resistors R21 to R23 and the capacitor C21 together constitute a high-pass filter that delivers the alternating-current component of the signal at the node NDa to the node ND21 and to the inverting input terminal of the comparator CMP. Accordingly, when the level of the signal CMP.sub.OUT changes between low and high levels, an alternating-current signal based on the change is delivered from the node NDa via the capacitor C21 to the node ND21 and to the inverting input terminal of the comparator CMP, with the result that the alternating-current signal is superposed on the target voltage V.sub.TG. For example, the serial composite resistance value of the resistors R21 to R23 is several megohms, and the capacitance value of live capacitor C21 is from 1 pF (picofarad) to several picofarads.
(50)
(51) In the example of
(52) On the other hand, as a result of the output signal CMP.sub.OUT switching from high level to low level and accordingly the output signal of the inverter INVa switching from low level to high level, a current momentarily passes through the above-mentioned high-pass filter that includes the capacitor C21. Thus, starting at time point T.sub.B1, the target voltage V.sub.TG is momentarily higher than the voltage V.sub.B1 for the period in which that current passes, by the amount of voltage proportional to that current.
(53) In the example of
(54) On the other hand, as a result of the output signal CMP.sub.OUT switching from low level to high level and accordingly the output signal of the inverter INVa switching from high level to low level, a current momentarily passes through the above-mentioned high-pass filter that includes the capacitor C21. Thus, starting at time point T.sub.B3, the target voltage V.sub.TG is momentarily lower than the voltage V.sub.B2 for the period in which that current passes, by the amount of voltage proportional to that current.
(55) In
Third Embodiment
(56) A third embodiment of the present invention will be described, it is also possible to provide the DC hysteresis function on the target voltage V.sub.TG side and the AC hysteresis function on the reference voltage V.sub.REF side. This will now be described.
(57) The resistors resistor R31 to resistor R33 constitute a voltage division circuit DIV31 that divides an input voltage V.sub.IN to generate a target voltage V.sub.TG. The resistors resistor R31 to R33 are connected in series with each other, and the input voltage V.sub.IN is applied across the series circuit of the resistors resistor R31 to R33. The input voltage V.sub.IN is the voltage to be compared with the reference voltage V.sub.REF in the voltage comparison circuit 30. In practice, however, the target voltage V.sub.TG, which is a division voltage of the input voltage V.sub.IN, is compared with the reference voltage V.sub.REF by the comparator CMP. Specifically, one terminal of the resistor R31 is fed with the potential of the input voltage V.sub.IN, the other terminal of the resistor R31 and one terminal of the resistor R32 are connected together at a node ND31, the other terminal of the resistor R32 is connected to one terminal of the resistor R33, and the other terminal of the resistor R33 is connected to a ground. The voltage that appears at the node ND31 serves as the target voltage V.sub.TG in the voltage comparison circuit 30.
(58) The resistors R34 and R35 constitute a voltage division circuit DIV32 that divides a predetermined voltage V.sub.BG to generate a reference voltage V.sub.REF. The resistors R34 and R35 are connected in series with each other, and the predetermined voltage V.sub.BG is applied across the series circuit of the resistors R34 and R35. Specifically, one terminal of the resistor R34 is fed with the potential of the predetermined voltage V.sub.BG, and the other terminal of the resistor R34 is connected via the resistor R35 to the ground. The voltage that appears at the connection node ND32 between the resistors R34 and R35 serves as the reference voltage V.sub.REF in the voltage comparison circuit 30.
(59) In the voltage comparison circuit 30, the nodes ND31 and ND32 are connected to the inverting input terminal and the non-inverting input terminal, respectively, of the comparator CMP, so that the inverting input terminal and the non-inverting input terminal of the comparator CMP are fed with the target voltage V.sub.TG and the reference voltage V.sub.REF respectively.
(60) The configuration and the operation of the comparator CMP and the inverters INVa and INVb and their interconnection in the voltage comparison circuit 30 are the same as in the voltage comparison circuit 10 of the first embodiment. In the voltage comparison circuit 30, the output signal of the inverter INVb appears at the output terminal of the voltage comparison circuit 30, and serves as the output signal S.sub.OUT of the voltage comparison circuit 30.
(61) The transistor Tr31 is a switching element that is connected in parallel with the resistor R33 to open or short-circuit across the resistor R33. Here, the transistor Tr31 is assumed to be configured as an N-channel MOSFET, with the drain of the transistor Tr31 connected to the connection node between the resistors R32 and R33, the source of the transistor Tr31 connected to the ground, and the gate of the transistor Tr31 connected to a node NDb.
(62) When the signal at the node NDb (i.e., the output signal of the inverter INVb) is at low level, the transistor Tr31 is off to open across the resistor R33. When the signal at the node NDb (i.e., the output signal of the inverter INVb) is at high level, the transistor Tr31 is on to short-circuit across the resistor R33. Thus, when the resistance values of the resistors R31, R32, and R33 are represented by the symbols R31, R32, and R33 respectively, with the transistor Tr31 off, V.sub.TG=V.sub.C1=V.sub.IN×(R32+R33)/(R31+R32+R33) and, with the transistor Tr31 on, V.sub.TG=V.sub.C2=V.sub.IN×R32/(R31+R32). Naturally, the relationship V.sub.C1>V.sub.C2 holds. Thus, the resistors R31 to R33 constitute the voltage division circuit DIV31 that divides the input voltage V.sub.IN to generate the target voltage V.sub.TG, and the voltage division ratio here changes in accordance with the signal at the node NDb (and hence the output signal of the comparator CMP); this gives the comparator CMP hysteresis.
(63) In the voltage comparison circuit 30, the capacitor C31 is inserted between the node NDb, which is fed with the output signal of the inverter INVb, and the non-inverting input terminal of the comparator CMP. That is, one terminal of the capacitor C31 is connected to the node NDb, and the other terminal of the capacitor C31 is connected to the non-inverting input terminal of the comparator CMP. As mentioned above, the connection node ND32 between the resistors R34 and R35 also is connected to the non-inverting input terminal of the comparator CMP. Thus, the resistors R34 and R35 and the capacitor C31 together constitute a high-pass filter that delivers the alternating-current component of the signal at the node NDb to the node ND32 and to the non-inverting input terminal of the comparator CMP. Accordingly, when the level of the signal CMP.sub.OUT changes between low and high levels, an alternating-current signal based on the change is delivered from the node NDb via the capacitor C31 to the node ND32 and to the non-inverting input terminal of the comparator CMP, with the result that the alternating-current signal is superposed on the reference voltage V.sub.REF. For example, the serial composite resistance value of the resistors R31 to R33 is several megohms, and the capacitance value of the capacitor C31 is from 1 pF (picofarad) to several picofarads.
(64)
(65) In the example of
(66) On the other hand, as a result of the output signal S.sub.OUT switching from high level to low level, a current momentarily passes through the above-mentioned high-pass filter that includes the capacitor C31. Thus, starting at time point T.sub.C1, the reference voltage V.sub.REF is momentarily lower than the direct-current voltage (V.sub.BG×R35/(R34+R35)) determined by the values of the predetermined voltage V.sub.BG and of the resistors R34 and R35 for the period in which that current passes, by the amount of voltage proportional to that current.
(67) In the example of
(68) On the other hand, as a result of the output signal S.sub.OUT switching from low level to high level, a current momentarily passes through the above-mentioned high-pass filter that includes the capacitor C31. Thus, starting at time point T.sub.C3, the reference voltage V.sub.REF is momentarily higher than the direct-current voltage (V.sub.BG×R35/(R34+R35)) determined by the values of the predetermined voltage V.sub.BG and of the resistors R34 and R35 for the period in which that current passes, by the amount of voltage proportional to that current.
(69) In
Fourth Embodiment
(70) A fourth embodiment of the present invention will be described. It is also possible to provide the DC hysteresis function on the reference voltage V.sub.REF side and the AC hysteresis function on the target voltage V.sub.TG side. This will now be described.
(71) The resistors resistor R41 and R42 constitute a voltage division circuit DIV41 that divides an input voltage V.sub.IN to generate a target voltage V.sub.TG. The resistors resistor R41 and R42 are connected in series with each other, and the input voltage V.sub.IN is applied across the series circuit of the resistors R41 and R42. Specifically, one terminal of the resistor R41 is fed with the potential of the input voltage V.sub.IN, and the other terminal of the resistor R41 is connected via the resistor R42 to a ground. The voltage that appears at the connection node ND41 between the resistors R41 and R42 serves as the target voltage V.sub.TG in the voltage comparison circuit 40.
(72) The resistors R43 to R45 constitute a voltage division circuit DIV42 that divides a predetermined voltage V.sub.BG to generate a reference voltage V.sub.REF. The resistors R43 to R45 are connected in series with each other, and the predetermined voltage V.sub.BG is applied across the series circuit of the resistors R43 to R45. Specifically, one terminal of the resistor R43 is fed with the potential of the predetermined voltage V.sub.BG, the other terminal of the resistor R43 and one terminal of the resistor R44 are connected together at a node ND42, the other terminal of the resistor R44 is connected to one terminal of the resistor R45, and the other terminal of the resistor R45 is connected to the ground. The voltage that appears at the connection node ND42 serves as the reference voltage V.sub.REF in the voltage comparison circuit 40.
(73) In the voltage comparison circuit 40, the nodes ND41 and ND42 are connected to the inverting input terminal and the non-inverting input terminal, respectively, of the comparator CMP, so that the inverting input terminal and the non-inverting input terminal of the comparator CMP are fed with the target voltage V.sub.TG and the reference voltage V.sub.REF respectively.
(74) The configuration and the operation of the comparator CMP and the inverters INVa and INVb and their interconnection in the voltage comparison circuit 40 are the same as in the voltage comparison circuit 10 of the first embodiment. In the voltage comparison circuit 40, the output signal of the inverter INVb appears at the output terminal of the voltage comparison circuit 40, and serves as the output signal S.sub.OUT of the voltage comparison circuit 40.
(75) The transistor Tr41 is a switching element that is connected in parallel with the resistor R45 to open or short-circuit across the resistor R45. Here, the transistor Tr41 is assumed to be configured as an N-channel MOSFET, with the drain of the transistor Tr41 connected to the connection node between the resistors R44 and R45, the source of the transistor Tr41 connected to the ground, and the gate of the transistor Tr41 connected to a node NDa.
(76) When the signal at the node NDa (i.e., the output signal of the inverter INVa) is at low level, the transistor Tr41 is off to open across the resistor R45. When the signal at the node NDa (i.e., the output signal of the inverter INVa) is at high level, the transistor Tr41 is on to short-circuit across the resistor R45. Thus, when the resistance values of the resistors R43, R44, and R45 are represented by the symbols R43, R44, and R45 respectively, with the transistor Tr41 off, V.sub.REF=V.sub.D1=V.sub.BG/(R44+R45)/(R43+R44+R45) and, with the transistor Tr41 is on, V.sub.REF=V.sub.D2=V.sub.BG×R44/(R43+R44). The voltages V.sub.D1 and V.sub.D2 are identified in
(77) In the voltage comparison circuit 40, the capacitor C41 is inserted between the node NDa, which is fed with the output signal of the inverter INVa, and the inverting input terminal of the comparator CMP. That is, one terminal of the capacitor C41 is connected to the node NDa, and the other terminal of the capacitor C41 is connected to the inverting input terminal of the comparator CMP. As mentioned above, the connection node ND41 between the resistors R41 and R42 also is connected to the inverting input terminal of the comparator CMP. Thus, the resistors R41 and R42 and the capacitor C41 together constitute a high-pass filter that delivers the alternating-current component of the signal at the node NDa to the node ND41 and to the inverting input terminal of the comparator CMP. Accordingly, when the level of the signal CMP.sub.OUT changes between low and high levels, an alternating-current signal based on the change is delivered from the node NDa via the capacitor C41 to the node ND41 and to the inverting input terminal of the comparator CMP, with the result that the alternating-current signal is superposed on the target voltage V.sub.TG. For example, the serial composite resistance value of the resistors R41 and R42 is several megohms, and the capacitance value of the capacitor C41 is from 1 pF (picofarad) to several picofarads.
(78)
(79) In the example of
(80) On the other hand, as a result of the output signal CMP.sub.OUT switching from high level to low level and accordingly the output signal of the inverter INVa switching from low level to high level, a current momentarily passes through the above-mentioned high-pass filter that includes the capacitor C41. Thus, starting at time point T.sub.D1, the target voltage V.sub.TG is momentarily higher than the voltage (V.sub.IN×R42/(R41+R42)) determined by the values of the input voltage V.sub.IN and of the resistors R41 and R42 for the period in which that current passes, by the amount of voltage proportional to that current.
(81) In the example of
(82) On the other hand, as a result of the output signal CMP.sub.OUT switching from low level to high level and accordingly the output signal of the inverter INVa switching from high level to low level, a current momentarily passes through the above-mentioned high-pass Filter that includes the capacitor C41. Thus, starting at time point T.sub.D3, the target voltage V.sub.TG is momentarily lower than the voltage (V.sub.IN×R42/(R41+R42)) determined by the values of the input voltage V.sub.IN and of the resistors R41 and R42 for the period in which that current passes, by the amount of voltage proportional to that current.
(83) In
Fifth Embodiment
(84) A fifth embodiment of the present invention will be described. It is also possible to omit the DC hysteresis function and provide the AC hysteresis function alone on the reference voltage V.sub.REF side. This will now be described.
(85) As a result of the resistor R13 being omitted, the voltage division circuit DIV12′ in the voltage comparison circuit 50 is constituted by the series circuit of the resistors R11 and R12, and divides the predetermined voltage V.sub.BG to generate the reference voltage V.sub.REF. Specifically, in the voltage comparison circuit 50, one terminal of the resistor R11 is fed with the potential of the predetermined voltage V.sub.BG, the other terminal of the resistor R11 and one terminal of the resistor R12 are connected together at the node ND11, and the other terminal of the resistor R12 is connected to the ground. In the voltage comparison circuit 50, the voltage that appears at the node ND11 serves as the reference voltage V.sub.REF, and the node ND11 is connected to the non-inverting input terminal of the comparator CMP.
(86)
Sixth Embodiment
(87) A sixth embodiment of the present invention will be described. It is also possible to omit the DC hysteresis function and provide the AC hysteresis function alone on the target voltage V.sub.TG side. This will now be described.
(88) As a result of the resistor R45 being omitted, the voltage division circuit DIV42′ in the voltage comparison circuit 60 is constituted by the series circuit of the resistors R43 and R44, and divides the predetermined voltage V.sub.BG to generate the reference voltage V.sub.REF. Specifically, in the voltage comparison circuit 60, one terminal of the resistor R43 is fed with the potential of the predetermined voltage V.sub.BG, the other terminal of the resistor R43 and one terminal of the resistor R44 are connected together at the node ND42, and the other terminal of the resistor R44 is connected to the ground. In the voltage comparison circuit 60, the voltage that appears at the node ND42 serves as the reference voltage V.sub.REF, and the node ND42 is connected to the non-inverting input terminal of the comparator CMP.
(89)
Seventh Embodiment
(90) A seventh embodiment of the present invention will be described. The seventh embodiment provides a supplementary description of the voltage comparison circuits of the first to sixth embodiments as well as a description of applied, modified, and other technical features.
(91) In the embodiments described above, the inverting input terminal and the non-inverting input terminal of the comparator CMP are fed with the target voltage V.sub.TG and the reference voltage V.sub.REF respectively. The relationship of these voltages can be reversed; the inverting input terminal and the non-inverting input terminal of the comparator CMP can be fed with the reference voltage V.sub.REF and the target voltage V.sub.TG respectively.
(92) In the embodiments described above, one terminal of the capacitor (C11, C21, C31, or C41) is connected to an output-side node that is fed with a signal corresponding to the output signal CMP.sub.OUT of the comparator CMP. In the embodiments described above, the node NDa or NDb serves as the output-side node; instead, the output terminal of the comparator CMP can serve as the output-side node.
(93) A voltage comparison circuit according to one aspect of the present invention of which specific examples have been presented as the first to sixth embodiments will be referred to, for the sake of convenience, as a voltage comparison circuit W.
(94) A voltage comparison circuit W according to one aspect of the present invention includes: a comparator (CMP) configured to receive a first voltage and a second voltage, to output a signal with a predetermined first level (e.g., high level) in a first state (e.g., V.sub.TG<V.sub.REF) where the level of the first voltage (e.g. V.sub.TG) is lower than the level of the second voltage (e.g. V.sub.REF), and to output a signal with a predetermined second level (e.g., low level) different from the first level in a second state (e g., V.sub.TG>V.sub.REF) where the level of the first voltage is higher than the level of the second voltage; and a capacitor (C11, C21, C31, C41, C51, C61) inserted between an input-side node fed with the first or second voltage and an output-side node fed with a signal corresponding to the output signal of the comparator.
(95) For example, in the voltage comparison circuit W, preferably, as shown in
(96) when a shift from the first state to the second state causes a change in the level of the output signal of the comparator from the first level to the second level, an alternating-current signal based on the change is delivered from the output-side node via the capacitor to the input-side node so that the alternating-current signal is superposed on the first or second voltage, and thereby the level of the first voltage is momentarily raised or the level of the second voltage is momentarily lowered.
(97) In other words, in the voltage comparison circuit W, preferably, when a shift from the first state to the second state causes a change in the level of the output signal of the comparator from the first level to the second level, the capacitor delivers an alternating-current signal based on the change from the output-side node to the input-side node so as to superpose the alternating-current signal on the first or second voltage, and thereby to raise the level of the first voltage momentarily or to lower the level of the second voltage momentarily.
(98) For another example, in the voltage comparison circuit W, preferably, as shown in
(99) when a shift from the second state to the first state causes a change in the level of the output signal of the comparator from the second level to the first level, an alternating-current signal based on the change is delivered from the output-side node via the capacitor to the input-side node so that the alternating-current signal is superposed on the first or second voltage, and thereby the level of the first voltage is momentarily lowered or the level of the second voltage is momentarily raised.
(100) In other words, in the voltage comparison circuit W, preferably, when a shift from the second state to the first state causes a change in the level of the output signal of the comparator from the second level to the first level, the capacitor delivers an alternating-current signal based on the change from the output-side node to the input-side node so as to superpose the alternating-current signal on the first or second voltage, and thereby to lower the level of the first voltage momentarily or to raise the level of the second voltage momentarily
(101) Specifically, for example, in the voltage comparison circuit W, preferably, the comparator has a first input terminal (e.g., inverting input terminal) for receiving the first voltage and a second input terminal (e g., non-inverting input terminal) for receiving the second voltage, the input-side node is the first or second input terminal, and the output-side node is fed with a signal of which the level changes synchronously as the level of the output signal of the comparator changes.
(102) In the voltage comparison circuit W, for example, the first and second voltages correspond to the target voltage V.sub.TG and reference voltage V.sub.REF respectively, but their correspondence can be reversed.
(103) In the voltage comparison circuit W, for example, the first and second levels correspond to high level and low level respectively, but their correspondence can be reversed.
(104) In the voltage comparison circuit W, for example, the first and second input terminals of the comparator correspond to the inverting input terminal and the non-inverting input terminal respectively, but their correspondence can be revered.
(105) In the voltage comparison circuit W, the output-side node corresponds to the node NDa or NDb mentioned above, but the output terminal of the comparator (CMP) can itself be the output-side node.
(106) In the voltage comparison circuit W, the input-side node can be understood to be connected to the first or second input terminal of the comparator.
(107) More specifically, for example (see
(108) Here, preferably, the capacitor and the voltage division resistors in the second-voltage division circuit together constitute a high-pass filter so that, when the level of the output signal of the comparator changes between the first and second levels, an alternating-current signal based on the change is delivered from the output-side node via the capacitor to the second input terminal, and thereby the alternating-current signal is superposed on the second voltage.
(109) Or, specifically, for example (see
(110) Here, preferably, the capacitor and the voltage division resistors in the first-voltage division circuit together constitute a high-pass filter so that, when the level of the output signal of the comparator changes between the first and second levels, an alternating-current signal based on the change is delivered from the output-side node via the capacitor to the first input terminal, and thereby the alternating-current signal is superposed on the first voltage.
(111) A voltage comparison circuit W of which examples have been presented as the voltage comparison circuits 10, 20, 30, 40, 50, and 60 can be incorporated in any device that requires voltage comparison. For example, a voltage comparison circuit W can be incorporated in a vehicle-mounted appliance that is installed on a vehicle such as an automobile. For another example, a voltage comparison circuit W can be incorporated in a mobile data terminal (personal digital assistant) such as a smartphone or a tablet computer.
(112) The channel types of the FETs (field-effect transistors) in the embodiments are only illustrative: the configuration of any of the circuits including FETs described above can be modified such that, for example, an N-channel FET is replaced with a P-channel FET.
(113) Any of the transistors mentioned above can be of any type: for example, any of the transistors mentioned as MOSFETs in the above description can be replaced with a junction FET, an IGBT (insulated-gate bipolar transistor), or a bipolar transistor.
(114) Any of the voltage comparison circuits (10, 20, 30, 40, 50, and 60) presented as embodiments can be implemented in the form of a semiconductor integrated circuit. It is possible to build a semiconductor device having a semiconductor integrated circuit that includes a voltage comparison circuit and a housing that accommodates the semiconductor integrated circuit.
(115) The embodiments of the present invention allow for many modifications made as necessary within the scope of the technical concept set forth in the appended claims. The embodiments described above are merely examples of how the present invention can be implemented, and the senses of the terms used to define the present invention and its features are not limited to those in which they are used in the description of the embodiments given above. All specific values mentioned in the above description are merely examples, and can naturally be altered to different values.