Voltage variation detection circuit, semiconductor integrated circuit, and vehicle
10830798 ยท 2020-11-10
Assignee
Inventors
Cpc classification
G01R19/257
PHYSICS
International classification
G01R19/165
PHYSICS
G01R19/257
PHYSICS
Abstract
The voltage variation detection circuit includes: a threshold voltage generation circuit arranged to generate a threshold voltage; a comparator arranged to compare a variation detection-target voltage and the threshold voltage to each other; and a controller arranged to control the threshold voltage generation circuit based on output of the comparator. Repeated are operations of: decreasing the threshold voltage stepwise; when the variation detection-target voltage has come to the threshold voltage or more, first increasing the threshold voltage by specified steps and then again decreasing the threshold voltage stepwise; and when the variation detection-target voltage has come to the threshold voltage or more, increasing the threshold voltage by specified steps. The controller detects a variation of the variation detection-target voltage based on control results at time points when the variation detection-target voltage comes to the threshold voltage or more.
Claims
1. A voltage variation detection circuit comprising: a threshold voltage generation circuit arranged to generate a threshold voltage; a comparator arranged to compare a variation detection-target voltage and the threshold voltage to each other; and a controller arranged to control the threshold voltage generation circuit based on output of the comparator, wherein the controller controls the threshold voltage generation circuit in such fashion that the threshold voltage generation circuit repeats operations of: decreasing the threshold voltage stepwise; when the variation detection-target voltage has come to the threshold voltage or more, first increasing the threshold voltage by specified steps to increase the threshold voltage by a fixed value and then again decreasing the threshold voltage stepwise; and when the variation detection-target voltage has come to the threshold voltage or more, increasing the threshold voltage by specified steps to increase the threshold voltage by a fixed value, and wherein the controller detects a variation of the variation detection-target voltage based on control results at time points when the variation detection-target voltage comes to the threshold voltage or more.
2. The voltage variation detection circuit according to claim 1, wherein when the variation detection-target voltage does not come to the threshold voltage or more even by decreasing the threshold voltage stepwise until the threshold voltage reaches a specified decrement or specified value, the threshold voltage generation circuit sets the threshold voltage to a maximum before again decreasing the threshold voltage stepwise.
3. The voltage variation detection circuit according to claim 1, wherein the controller detects that the variation detection-target voltage has become an overvoltage on condition that the variation detection-target voltage is equal to or more than the threshold voltage when the threshold voltage is at a maximum.
4. The voltage variation detection circuit according to claim 1, wherein the controller detects at least one of an oscillation of the variation detection-target voltage, a spike of the variation detection-target voltage, and a drift of the variation detection-target voltage.
5. A semiconductor integrated circuit comprising: the voltage variation detection circuit according to claim 1; and at least part of a voltage generation circuit arranged to generate the variation detection-target voltage.
6. A vehicle comprising: the semiconductor integrated circuit according to claim 5.
7. A voltage variation detection circuit comprising: a threshold voltage generation circuit arranged to generate a threshold voltage; a comparator arranged to compare a variation detection-target voltage and the threshold voltage to each other; and a controller arranged to control the threshold voltage generation circuit based on output of the comparator, wherein the controller controls the threshold voltage generation circuit in such fashion that the threshold voltage generation circuit repeats operations of: increasing the threshold voltage stepwise; when the variation detection-target voltage has come to the threshold voltage or less, first decreasing the threshold voltage by specified steps to decrease the threshold voltage by a fixed value and then again increasing the threshold voltage stepwise; and when the variation detection-target voltage has come to the threshold voltage or less, decreasing the threshold voltage by specified steps to decrease the threshold voltage by a fixed value, and wherein the controller detects a variation of the variation detection-target voltage based on control results at time points when the variation detection-target voltage comes to the threshold voltage or less.
8. The voltage variation detection circuit according to claim 7, wherein when the variation detection-target voltage does not come to the threshold voltage or less even by increasing the threshold voltage stepwise until the threshold voltage reaches a specified increment or specified value, the threshold voltage generation circuit sets the threshold voltage to a minimum before again increasing the threshold voltage stepwise.
9. The voltage variation detection circuit according to claim 7, wherein the controller detects that the variation detection-target voltage has become a low voltage on condition that the variation detection-target voltage is equal to or less than the threshold voltage when the threshold voltage is at a minimum.
10. The voltage variation detection circuit according to claim 7, wherein the controller detects at least one of an oscillation of the variation detection-target voltage, a spike of the variation detection-target voltage, and a drift of the variation detection-target voltage.
11. A semiconductor integrated circuit comprising: the voltage variation detection circuit according to claim 7; and at least part of a voltage generation circuit arranged to generate the variation detection-target voltage.
12. A vehicle comprising: the semiconductor integrated circuit according to claim 11.
13. A voltage variation detection circuit comprising: a threshold voltage generation circuit arranged to generate a first threshold voltage and a second threshold voltage lower than the first threshold voltage; a first comparator arranged to compare a variation detection-target voltage and the first threshold voltage to each other; a second comparator arranged to compare the variation detection-target voltage and the second threshold voltage to each other; and a controller arranged to control the threshold voltage generation circuit based on output of the first comparator and output of the second comparator, wherein the controller controls the threshold voltage generation circuit in such fashion that the threshold voltage generation circuit repeats operations of: decreasing the first threshold voltage stepwise and increasing the second threshold voltage stepwise; when the variation detection-target voltage has come to the first threshold voltage or more or to the second threshold voltage or less, first increasing the first threshold voltage by specified steps to increase the first threshold voltage by a first fixed value and decreasing the second threshold voltage by specified steps to decrease the second threshold voltage by a second fixed value and then again decreasing the first threshold voltage stepwise and increasing the second threshold voltage stepwise; and when the variation detection-target voltage has come to the first threshold voltage or more or to the second threshold voltage or less, increasing the first threshold voltage by specified steps to increase the first threshold voltage by the first fixed value and decreasing the second threshold voltage by specified steps to decrease the second threshold voltage by the second fixed value, and wherein the controller detects a variation of the variation detection-target voltage based on control results at time points when the variation detection-target voltage comes to the first threshold voltage or more or to the second threshold voltage or less.
14. The voltage variation detection circuit according to claim 13, wherein the threshold voltage generation circuit includes: a first fixed resistor; a variable resistor whose resistance value is variable stepwise; and a second fixed resistor, wherein a reference voltage is applied to a first terminal of the first fixed resistor, a first terminal of the variable resistor is connected to a second terminal of the first fixed resistor, a first terminal of the second fixed resistor is connected to a second terminal of the variable resistor, a second terminal of the second fixed resistor is grounded, and the first threshold voltage is developed to a connection node between the first fixed resistor and the variable resistor while the second threshold voltage is developed to a connection node between the variable resistor and the second fixed resistor.
15. The voltage variation detection circuit according to claim 13, wherein the controller detects that the variation detection-target voltage has become an overvoltage on condition that the variation detection-target voltage is equal to or more than the first threshold voltage when the first threshold voltage is at a maximum.
16. The voltage variation detection circuit according to claim 13, wherein the controller detects that the variation detection-target voltage has become a low voltage on condition that the variation detection-target voltage is equal to or less than the second threshold voltage when the second threshold voltage is at a minimum.
17. The voltage variation detection circuit according to claim 13, wherein the controller detects at least one of an oscillation of the variation detection-target voltage, a spike of the variation detection-target voltage, and a drift of the variation detection-target voltage.
18. A semiconductor integrated circuit comprising: the voltage variation detection circuit according to claim 13; and at least part of a voltage generation circuit arranged to generate the variation detection-target voltage.
19. A vehicle comprising: the semiconductor integrated circuit according to claim 18.
Description
DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DESCRIPTION OF THE PREFERRED EMBODIMENTS
First Configuration Example
(11)
(12) A threshold voltage generation circuit arranged to generate a first threshold voltage V.sub.TH1 includes the constant voltage source 1, the fixed resistor 2A, and the variable resistor 3. The constant voltage source 1 generates a reference voltage V.sub.REF. A voltage dividing circuit composed of the fixed resistor 2A and the variable resistor 3 generates the first threshold voltage V.sub.TH1, which is a partial voltage of the reference voltage V.sub.REF. The higher the resistance value of the variable resistor 3 becomes, the higher the first threshold voltage V.sub.TH1 becomes. The variable resistor 3 may be so structured that, for example as shown in
(13) The comparator 4A compares a variation detection-target voltage V.sub.TG and the first threshold voltage V.sub.TH1 to each other. When the variation detection-target voltage V.sub.TG is equal to or more than the first threshold voltage V.sub.TH1, the comparator 4A outputs a high-level signal. On the other hand, when the variation detection-target voltage V.sub.TG is less than the first threshold voltage V.sub.TH1, the comparator 4A outputs a low-level signal.
(14) The controller 5A controls the above-described threshold voltage generation circuit based on output of the comparator 4A. More specifically, the controller 5A controls resistance value of the variable resistor 3. In addition, it is also allowable that the constant voltage source 1 is changed to a variable voltage source, where the controller 5A controls output voltage of the variable voltage source.
(15) Under the control by the controller 5A, the threshold voltage generation circuit repeats the following operations including:
(16) (1) decreasing the first threshold voltage V.sub.TH1 stepwise;
(17) (2) when the variation detection-target voltage V.sub.TG has come to the first threshold voltage V.sub.TH1 or more, increasing the first threshold voltage V.sub.TH1 by specified steps;
(18) (3) again decreasing the first threshold voltage V.sub.TH1 stepwise; and
(19) (4) when the variation detection-target voltage V.sub.TG has come to the first threshold voltage V.sub.TH1 or more, increasing the first threshold voltage V.sub.TH1 by specified steps.
(20) In addition, there are some cases where the first threshold voltage V.sub.TH1 cannot be increased by specified steps because the first threshold voltage V.sub.TH1 is excessively high at a time point when the variation detection-target voltage V.sub.TG comes to the first threshold voltage V.sub.TH1 or more. In this case, the threshold voltage generation circuit sets the first threshold voltage V.sub.TH1 to a maximum (see V.sub.TH1_MAX in
(21) With the above-described control by the controller 5A, the first threshold voltage V.sub.TH1 varies as shown in
(22) The controller 5A detects variations of the variation detection-target voltage V.sub.TG based on control results at time points of transition of the variation detection-target voltage V.sub.TG to the first threshold voltage V.sub.TH1 or more (see black dots in
(23) The controller 5A may also be so arranged as to determine extremal values of the variation detection-target voltage V.sub.TG, as an example, and detect an oscillation of the variation detection-target voltage V.sub.TG on condition that a group of determined extremal values has a specified periodicity.
(24) The controller 5A may still also be so arranged as to determine a latest average value of the variation detection-target voltage V.sub.TG in a specified time period, as an example, and detect a spike of the variation detection-target voltage V.sub.TG on condition that a difference between the latest average value and a latest value of the variation detection-target voltage V.sub.TG is more than a specified extent.
(25) The controller 5A may yet also be so arranged as to determine both a latest average value of the variation detection-target voltage V.sub.TG in a specified time period and a second latest average value of the variation detection-target voltage V.sub.TG in the specified time period, as an example, and detect a drift of the variation detection-target voltage V.sub.TG on condition that a difference between the latest average value and the second latest average value is more than a specified extent.
(26) Further, on condition that the variation detection-target voltage V.sub.TG is equal to or more than the first threshold voltage V.sub.TH1 at the time when the first threshold voltage V.sub.TH1 is at a maximum, the controller 5A detects that the variation detection-target voltage V.sub.TG has become an overvoltage. Upon detection that the variation detection-target voltage V.sub.TG has become an overvoltage, the controller 5A outputs an overvoltage notification signal SB for notifying that the variation detection-target voltage V.sub.TG has become an overvoltage. Therefore, the voltage variation detection circuit shown in
(27) The above-described voltage variation detection circuit shown in
(28) In addition, only with the above-described operations, there would occur a glitch in the case where when the variation detection-target voltage V.sub.TG has come to the first threshold voltage V.sub.TH1 or more and then the first threshold voltage V.sub.TH1 is increased by specified steps, the variation detection-target voltage V.sub.TG becomes higher than the first threshold voltage V.sub.TH1. More specifically, it is made impossible for the variation detection-target voltage V.sub.TG to come again to the first threshold voltage V.sub.TH1 or more.
(29) Accordingly, in the case where the variation detection-target voltage V.sub.TG does not come to the first threshold voltage V.sub.TH1 or more even by decreasing the first threshold voltage V.sub.TH1 stepwise until the first threshold voltage V.sub.TH1 reaches a specified decrement or specified value, it is preferable that the threshold voltage generation circuit sets the first threshold voltage V.sub.TH1 to a maximum before performing again the operation of decreasing the first threshold voltage V.sub.TH1 stepwise.
Second Configuration Example
(30)
(31) A threshold voltage generation circuit arranged to generate a second threshold voltage V.sub.TH2 includes the constant voltage source 1, the variable resistor 3, and the fixed resistor 2B. A voltage dividing circuit composed of the variable resistor 3 and the fixed resistor 2B generates a second threshold voltage V.sub.TH2 which is a partial voltage of a reference voltage V.sub.REF. The higher the resistance value of the variable resistor 3 becomes, the lower the second threshold voltage V.sub.TH2 becomes.
(32) The comparator 4B compares a variation detection-target voltage V.sub.TG and the second threshold voltage V.sub.TH2 to each other. When the variation detection-target voltage V.sub.TG is equal to or less than the second threshold voltage V.sub.TH2, the comparator 4B outputs a high-level signal. On the other hand, when the variation detection-target voltage V.sub.TG is higher than the second threshold voltage V.sub.TH2, the comparator 4B outputs a low-level signal.
(33) The controller 5B controls the above-described threshold voltage generation circuit based on output of the comparator 4B. More specifically, the controller 5B controls resistance value of the variable resistor 3. In addition, it is also allowable that the constant voltage source 1 is changed to a variable voltage source, where the controller 5B controls output voltage of the variable voltage source.
(34) Under the control by the controller 5B, the threshold voltage generation circuit repeats the following operations including:
(35) (1) increasing the second threshold voltage V.sub.TH2 stepwise;
(36) (2) when the variation detection-target voltage V.sub.TG has come to the second threshold voltage V.sub.TH2 or less, decreasing the second threshold voltage V.sub.TH2 by specified steps;
(37) (3) again increasing the second threshold voltage V.sub.TH2 stepwise; and
(38) (4) when the variation detection-target voltage V.sub.TG has come to the second threshold voltage V.sub.TH2 or less, decreasing the second threshold voltage V.sub.TH2 by specified steps.
(39) In addition, there are some cases where the second threshold voltage V.sub.TH2 cannot be decreased by specified steps because the second threshold voltage V.sub.TH2 is excessively low at a time point when the variation detection-target voltage V.sub.TG comes to the second threshold voltage V.sub.TH2 or less. In this case, the threshold voltage generation circuit sets the second threshold voltage V.sub.TH2 to a minimum (see V.sub.TH2_MIN in
(40) With the above-described control by the controller 5B, the second threshold voltage V.sub.TH2 varies as shown in
(41) The controller 5B detects a variation of the variation detection-target voltage V.sub.TG based on control results at time points when the variation detection-target voltage V.sub.TG comes to the second threshold voltage V.sub.TH2 or less (see black dots in
(42) The controller 5B, like the controller 5A, may also be so arranged as to detect at least one of an oscillation of the variation detection-target voltage V.sub.TG, a spike of the variation detection-target voltage V.sub.TG, and a drift of the variation detection-target voltage V.sub.TG.
(43) Further, on condition that the variation detection-target voltage V.sub.TG is equal to or less than the second threshold voltage V.sub.TH2 at the time when the second threshold voltage V.sub.TH2 is at a minimum, the controller 5B detects that the variation detection-target voltage V.sub.TG has become a low voltage. Upon detection that the variation detection-target voltage V.sub.TG has become a low voltage, the controller 5B outputs a low-voltage notification signal SC for notifying that the variation detection-target voltage V.sub.TG has become a low voltage. Therefore, the voltage variation detection circuit shown in
(44) The above-described voltage variation detection circuit shown in
(45) In addition, only with the above-described operations, there would occur a glitch in the case where when the variation detection-target voltage V.sub.TG has come to the second threshold voltage V.sub.TH2 or less and then the second threshold voltage V.sub.TH2 is decreased by specified steps, the variation detection-target voltage V.sub.TG becomes higher than the second threshold voltage V.sub.TH2. More specifically, it is made impossible for the variation detection-target voltage V.sub.TG to come again to the second threshold voltage V.sub.TH2 or less.
(46) Accordingly, in the case where the variation detection-target voltage V.sub.TG does not come to the second threshold voltage V.sub.TH2 or less even by increasing the second threshold voltage V.sub.TH2 stepwise until the second threshold voltage V.sub.TH2 reaches a specified increment or specified value, it is preferable that the threshold voltage generation circuit sets the second threshold voltage V.sub.TH2 to a minimum before performing the operation of again increasing the second threshold voltage V.sub.TH2 stepwise.
Third Configuration Example
(47)
(48) A threshold voltage generation circuit arranged to generate a first threshold voltage V.sub.TH1 and a second threshold voltage V.sub.TH2 includes the constant voltage source 1, the fixed resistor 2A, the variable resistor 3, and the fixed resistor 2B. A voltage dividing circuit composed of the fixed resistor 2A, the variable resistor 3 and the fixed resistor 2B generates a first threshold voltage V.sub.TH1 and a second threshold voltage V.sub.TH2 which are partial voltages of a reference voltage V.sub.REF. The reference voltage V.sub.REF is applied to a first terminal of the fixed resistor 2A, and a first terminal of the variable resistor 3 is connected to a second terminal of the fixed resistor 2A. A first terminal of the fixed resistor 2B is connected to a second terminal of the variable resistor 3, and a second terminal of the fixed resistor 2B is grounded. The first threshold voltage V.sub.TH1 is developed to a connection node between the fixed resistor 2A and the variable resistor 3, and the second threshold voltage V.sub.TH2 is developed to a connection node between the variable resistor 3 and the fixed resistor 2B. The higher the resistance value of the variable resistor 3 becomes, the higher the first threshold voltage V.sub.TH1 becomes and the lower the second threshold voltage V.sub.TH2 becomes.
(49) The controller 5C controls the above-described threshold voltage generation circuit based on output of the comparator 4A and output of the comparator 4B. More specifically, the controller 5C controls resistance value of the variable resistor 3.
(50) Under the control by the controller 5C, the threshold voltage generation circuit repeats the following operations including:
(51) (1) decreasing the first threshold voltage V.sub.TH1 stepwise and increasing the second threshold voltage V.sub.TH2 stepwise;
(52) (2) when the variation detection-target voltage V.sub.TG has come to the first threshold voltage V.sub.TH1 or more or to the second threshold voltage V.sub.TH2 or less, increasing the first threshold voltage V.sub.TH1 by specified steps and decreasing the second threshold voltage V.sub.TH2 by specified steps;
(53) (3) again decreasing the first threshold voltage V.sub.TH1 stepwise and increasing the second threshold voltage V.sub.TH2 stepwise; and
(54) (4) when the variation detection-target voltage V.sub.TG has come to the first threshold voltage V.sub.TH1 or more or to the second threshold voltage V.sub.TH2 or less, increasing the first threshold voltage V.sub.TH1 by specified steps and decreasing the second threshold voltage V.sub.TH2 by specified steps.
(55) In addition, there are some cases where the first threshold voltage V.sub.TH1 cannot be increased by specified steps because the first threshold voltage V.sub.TH1 is excessively high at a time point when the variation detection-target voltage V.sub.TG comes to the first threshold voltage V.sub.TH1 or more. In this case, the threshold voltage generation circuit sets the first threshold voltage V.sub.TH1 to a maximum instead of increasing the first threshold voltage V.sub.TH1 by specified steps.
(56) Also, there are some cases where the second threshold voltage V.sub.TH2 cannot be decreased by specified steps because the second threshold voltage V.sub.TH2 is excessively low at a time point when the variation detection-target voltage V.sub.TG comes to the second threshold voltage V.sub.TH2 or less. In this case, the threshold voltage generation circuit sets the second threshold voltage V.sub.TH2 to a minimum instead of decreasing the second threshold voltage V.sub.TH2 by specified steps.
(57) With the above-described control by the controller 5C, the first threshold voltage V.sub.TH1 and the second threshold voltage V.sub.TH2 vary as shown in
(58) The controller 5C detects a variation of the variation detection-target voltage V.sub.TG based on control results at time points when the variation detection-target voltage V.sub.TG comes to the first threshold voltage V.sub.TH1 or more or to the second threshold voltage V.sub.TH2 or less (see black dots in
(59) The controller 5C, like the controllers 5A and 58, may also be so arranged as to detect at least one of an oscillation of the variation detection-target voltage V.sub.TG, a spike of the variation detection-target voltage V.sub.TG, and a drift of the variation detection-target voltage V.sub.TG.
(60) Further, on condition that the variation detection-target voltage V.sub.TG is equal to or more than the first threshold voltage V.sub.TH1 while the first threshold voltage V.sub.TH1 is at a maximum, the controller 5C detects that the variation detection-target voltage V.sub.TG has become an overvoltage. Upon detection that the variation detection-target voltage V.sub.TG has become an overvoltage, the controller 5C outputs an overvoltage notification signal SB for notifying that the variation detection-target voltage V.sub.TG has become an overvoltage. Therefore, the voltage variation detection circuit shown in
(61) Still further, on condition that the variation detection-target voltage V.sub.TG is equal to or less than the second threshold voltage V.sub.TH2 while the second threshold voltage V.sub.TH2 is at a minimum, the controller 5C detects that the variation detection-target voltage V.sub.TG has become a low voltage. Upon detection that the variation detection-target voltage V.sub.TG has become a low voltage, the controller 5C outputs a low-voltage notification signal SC for notifying that the variation detection-target voltage V.sub.TG has become a low voltage. Therefore, the voltage variation detection circuit shown in
(62) The above-described voltage variation detection circuit shown in
(63) With the voltage variation detection circuit shown in
(64) <Power Unit>
(65) The above-described voltage variation detection circuit is mounted, for example, on a power IC as one component of a power unit.
(66) The switching power unit shown in
(67) The switching power IC 100 is a semiconductor integrated circuit device in which integrated are a regulation voltage generator 101, a constant voltage source 102, an error amplifier 103, an oscillation circuit 104, a slope voltage generator 105, a PWM comparator 106, a driver 107, and voltage variation detection circuits 108 and 109. Also, the switching power IC 100 has external terminals T101 to T105 for establishment of electrical connections with the external.
(68) Externally connected to the switching power IC 100 are a coil L101, an N-channel type MOS field-effect transistor Q101 (hereinafter, referred to as NMOS transistor Q101), a diode D101, an output capacitor C101, and resistors R101 to R103.
(69) A power supply voltage Vcc is applied to the external terminal T101, and the external terminal T102 is grounded. The power supply voltage Vcc is applied to a first terminal of the coil L101, and a second terminal of the coil L101 is connected to a drain of the NMOS transistor Q101 and an anode of the diode D101. A source of the NMOS transistor Q101 is grounded via the resistor R101 for current detection. A gate of the NMOS transistor Q101 is connected to the external terminal T103, and the source of the NMOS transistor Q101 is connected to the external terminal T104.
(70) A cathode of the diode D101 is connected to a first terminal of the output capacitor C101 and a first terminal of the resistor R102. A second terminal of the output capacitor C101 is grounded. A second terminal of the resistor R102 is connected to the external terminal T105 and a first terminal of the resistor R103. A second terminal of the resistor R103 is grounded. A voltage dividing circuit composed of the resistors R102 and R103 generates a feedback voltage V.sub.EE by dividing an output voltage V.sub.OUT of the switching power unit, and feeds the feedback voltage V.sub.FB to the external terminal T105.
(71) Next, an outline of individual circuit blocks integrated in the switching power IC 100 will be described.
(72) The regulation voltage generator 101 generates a regulation voltage V.sub.REG from the power supply voltage Vcc applied to the external terminal T101. The regulation voltage V.sub.REG is used as a drive voltage for other circuit blocks.
(73) The constant voltage source 102 generates a reference voltage V.sub.REF. The error amplifier 103 generates an error voltage V.sub.ERR responsive to a difference between the reference voltage V.sub.REF applied to its noninverting input terminal (+) and the feedback voltage V.sub.FB applied to its inverting input terminal ().
(74) The oscillation circuit 104 generates a clock signal CK. The slope voltage generator 105 generates a chopping-wave or sawtooth-wave shaped slope voltage V.sub.SLP responsive to a current detected by the resistor R101 with use of the clock signal CK.
(75) The PWM comparator 106 compares an error voltage V.sub.ERR applied to the inverting input terminal () and a slope voltage V.sub.SLP applied to the noninverting input terminal (+) to each other to generate a PWM signal S1 responsive to a comparison result.
(76) The driver 107 generates a gate signal of the NMOS transistor Q101 in response to the PWM signal S1, and outputs the gate signal to the external terminal T103. The NMOS transistor Q101 is on/off controlled by the gate signal outputted from the external terminal T103.
(77) The voltage variation detection circuit 108 detects a variation of the power supply voltage Vcc. For example, assuming that the power supply voltage Vcc is obtained from output voltage of a battery, for fear of decline in the power supply voltage Vcc, the voltage variation detection circuit shown in
(78) The voltage variation detection circuit 109 detects a variation of the feedback voltage V.sub.FB. Because of possibilities that the feedback voltage V.sub.FB may be an overvoltage or a low voltage, the voltage variation detection circuit shown in
(79) Notification signals outputted from the voltage variation detection circuits 108 and 109 are usable, for example, as signals for instructing operation halts of the PWM comparator 106, the driver 107 and the like. Further, external terminals for externally outputting notification signals outputted from the voltage variation detection circuits 108 and 109 may be provided in the switching power IC 100, and notification signals outputted from the voltage variation detection circuits 108 and 109 may be outputted outside the switching power IC 100.
(80) Although the voltage variation detection circuit 109 has a constant voltage source for generating the reference voltage V.sub.REF, it is unadvisable to make shared use between the constant voltage source of the voltage variation detection circuit 109 and the constant voltage source 102. As to the reason of this, providing the constant voltage source of the voltage variation detection circuit 109 and the constant voltage source 102 as circuits independent of each other allows the voltage variation detection circuit 109 to detect a variation of the feedback voltage V.sub.FB even when the feedback voltage V.sub.FB has varied due to an abnormality of the constant voltage source 102. On the other hand, the constant voltage source of the voltage variation detection circuit 108 may be provided by shared use of, for example, the constant voltage source of the voltage variation detection circuit 109.
(81) The LDO shown in
(82) The LDO IC 200 is a semiconductor integrated circuit device in which integrated are a regulation voltage generator 201, a constant voltage source 202, an error amplifier 203, a P-channel type MOS field-effect transistor Q201 (hereinafter, referred to as PMOS transistor Q201), resistors R201 and R202, and a voltage variation detection circuit 204. Also, the LDO IC 200 has external terminals T201 to T203 for establishment of electrical connections with the external.
(83) An output capacitor C201 is externally connected to the LDO IC 200.
(84) A power supply voltage Vcc is applied to the external terminal T201, and the external terminal T202 is grounded. A first terminal of the output capacitor C201 is connected to the external terminal T203, and a second terminal of the output capacitor C201 is grounded.
(85) Next, an outline of individual circuit blocks integrated in the LDO IC 200 will be described.
(86) The regulation voltage generator 201 generates a regulation voltage V.sub.REG from the power supply voltage Vcc applied to the external terminal T201. The regulation voltage V.sub.REG is used as a drive voltage for other circuit blocks.
(87) The PMOS transistor Q201 generates an output voltage V.sub.OUT by stepping down the power supply voltage Vcc and outputs the output voltage V.sub.OUT to the external terminal T203. A voltage dividing circuit composed of the resistors R201 and R202 generates a feedback voltage V.sub.FB by dividing the output voltage V.sub.OUT.
(88) The constant voltage source 202 generates a reference voltage V.sub.REF. The error amplifier 203 generates an error voltage V.sub.ERR responsive to a difference between the feedback voltage V.sub.FB applied to the noninverting input terminal (+) and the reference voltage V.sub.REF applied to the inverting input terminal (). The error voltage V.sub.ERR is fed to the gate of the PMOS transistor Q201. Therefore, on-resistance of the PMOS transistor Q201 is regulated by the error voltage V.sub.ERR.
(89) The voltage variation detection circuit 204 detects a variation of the output voltage V.sub.OUT. The voltage variation detection circuit shown in
(90) A notification signal outputted from the voltage variation detection circuit 204 is usable, for example, as a signal for instructing an operation halt of the error amplifier 203. Further, an external terminal for externally outputting a notification signal outputted from the voltage variation detection circuit 204 may be provided in the LDO IC 200, and a notification signal outputted from the voltage variation detection circuit 204 may be outputted outside the LDO IC 200.
(91) Although the voltage variation detection circuit 204 has a constant voltage source for generating the reference voltage V.sub.REF, it is unadvisable to make shared use between the constant voltage source of the voltage variation detection circuit 204 and the constant voltage source 202. As to the reason of this, providing the constant voltage source of the voltage variation detection circuit 204 and the constant voltage source 202 as circuits independent of each other allows the voltage variation detection circuit 204 to detect a variation of the output voltage V.sub.OUT even when the output voltage V.sub.OUT has varied due to an abnormality of the constant voltage source 202.
(92) <Application Examples of Power Unit>
(93) The above-described power unit is mounted, for example, on a vehicle X10 shown in
(94) <Notes>
(95) Various technical features herein disclosed may be changed in various ways within a scope that does not depart from the gist of their technical contrivance, as well as the above-described embodiments. For example, although the output stage of the switching power circuit is provided as a step-up type one as an example in
(96) <Conclusions>
(97) A voltage variation detection circuit according to a first configuration described hereinabove includes: a threshold voltage generation circuit arranged to generate a threshold voltage; a comparator arranged to compare a variation detection-target voltage and the threshold voltage to each other; and a controller arranged to control the threshold voltage generation circuit based on output of the comparator, wherein the controller controls the threshold voltage generation circuit in such fashion that the threshold voltage generation circuit repeats operations of: decreasing the threshold voltage stepwise; when the variation detection-target voltage has come to the threshold voltage or more, first increasing the threshold voltage by specified steps and then again decreasing the threshold voltage stepwise; and when the variation detection-target voltage has come to the threshold voltage or more, increasing the threshold voltage by specified steps, and wherein the controller detects a variation of the variation detection-target voltage based on control results at time points when the variation detection-target voltage comes to the threshold voltage or more.
(98) In the voltage variation detection circuit according to the first configuration, when the variation detection-target voltage does not come to the threshold voltage or more even by decreasing the threshold voltage stepwise until the threshold voltage reaches a specified decrement or specified value, the controller may set the threshold voltage to a maximum before again decreasing the threshold voltage stepwise (second configuration).
(99) A voltage variation detection circuit according to a third configuration described hereinabove includes: a threshold voltage generation circuit arranged to generate a threshold voltage; a comparator arranged to compare a variation detection-target voltage and the threshold voltage to each other; and a controller arranged to control the threshold voltage generation circuit based on output of the comparator, wherein the controller controls the threshold voltage generation circuit in such fashion that the threshold voltage generation circuit repeats operations of: increasing the threshold voltage stepwise; when the variation detection-target voltage has come to the threshold voltage or less, first decreasing the threshold voltage by specified steps and then again increasing the threshold voltage stepwise; and when the variation detection-target voltage has come to the threshold voltage or less, decreasing the threshold voltage by specified steps, and wherein the controller detects a variation of the variation detection-target voltage based on control results at time points when the variation detection-target voltage comes to the threshold voltage or less.
(100) In the voltage variation detection circuit according to the third configuration, when the variation detection-target voltage does not come to the threshold voltage or less even by increasing the threshold voltage stepwise until the threshold voltage reaches a specified increment or specified value, the controller may set the threshold voltage to a minimum before again increasing the threshold voltage stepwise (fourth configuration).
(101) A voltage variation detection circuit in a fifth configuration described hereinabove includes: a threshold voltage generation circuit arranged to generate a first threshold voltage and a second threshold voltage lower than the first threshold voltage; a first comparator arranged to compare a variation detection-target voltage and the first threshold voltage to each other; a second comparator arranged to compare the variation detection-target voltage and the second threshold voltage to each other; and a controller arranged to control the threshold voltage generation circuit based on output of the first comparator and output of the second comparator, wherein the controller controls the threshold voltage generation circuit in such fashion that the threshold voltage generation circuit repeats operations of: decreasing the first threshold voltage stepwise and increasing the second threshold voltage stepwise; when the variation detection-target voltage has come to the first threshold voltage or more or to the second threshold voltage or less, first increasing the first threshold voltage by specified steps and decreasing the second threshold voltage by specified steps and then again decreasing the first threshold voltage stepwise and increasing the second threshold voltage stepwise; and when the variation detection-target voltage has come to the threshold voltage or more or to the second threshold voltage or less, increasing the first threshold voltage by specified steps and decreasing the second threshold voltage by specified steps, and wherein the controller detects a variation of the variation detection-target voltage based on control results at time points when the variation detection-target voltage comes to the first threshold voltage or more or to the second threshold voltage or less.
(102) In the voltage variation detection circuit according to the fifth configuration, the threshold voltage generation circuit may include: a first fixed resistor; a variable resistor whose resistance value is variable stepwise; and a second fixed resistor, wherein a reference voltage is applied to a first terminal of the first fixed resistor, a first terminal of the variable resistor is connected to a second terminal of the first fixed resistor, a first terminal of the second fixed resistor is connected to a second terminal of the variable resistor, a second terminal of the second fixed resistor is grounded, and the first threshold voltage is developed to a connection node between the first fixed resistor and the variable resistor while the second threshold voltage is developed to a connection node between the variable resistor and the second fixed resistor (sixth configuration).
(103) In the voltage variation detection circuit according to any one of the first, second, fifth, and sixth configurations, the controller may detect that the variation detection-target voltage has become an overvoltage on condition that the variation detection-target voltage is equal to or more than the first threshold voltage when the first threshold voltage is at a maximum (seventh configuration).
(104) In the voltage variation detection circuit according to any one of the third to sixth configurations, the controller may detect that the variation detection-target voltage has become a low voltage on condition that the variation detection-target voltage is equal to or less than the second threshold voltage when the second threshold voltage is at a minimum (eighth configuration).
(105) In the voltage variation detection circuit according to any one of the first to eighth configurations, the controller may detect at least one of an oscillation of the variation detection-target voltage, a spike of the variation detection-target voltage, and a drift of the variation detection-target voltage (ninth configuration).
(106) A semiconductor integrated circuit described hereinabove includes: the voltage variation detection circuit according to any one of the first to ninth configurations; and at least part of a voltage generation circuit arranged to generate the variation detection-target voltage (tenth configuration).
(107) A vehicle described hereinabove includes: the semiconductor integrated circuit according to the tenth configuration (eleventh configuration).