The present invention relates to a reset circuit.
A semiconductor integrated circuit device is known which is provided with a voltage step-up means that operates with, as a power supply, a first voltage supplied to an external power supply terminal to operate an internal circuit having a desired function and outputs a second voltage obtained by stepping up the first voltage at a predetermined ratio, a voltage detecting means that operates with this second voltage as a power supply, compares a divided voltage obtained by dividing the second voltage to a predetermined reference voltage and outputs a first comparison result signal, and a level shift means that operates with the first voltage as a power supply and outputs a second comparison result signal obtained by changing the level of the first comparison result signal (see, e.g., Patent Literature 1).
In the semiconductor integrated circuit device, the second comparison result signal becomes a reset signal for resetting the internal circuit when the divided voltage is lower than the reference voltage.
Patent Literature 1: JP 2002/41159A
In the known semiconductor integrated circuit device, the second voltage generated from the first voltage is used as the power supply to operate the voltage detecting means. Therefore, if the first voltage becomes 0 V due to short circuit, etc., the voltage detecting means does not operate, the circuit malfunctions, and the reset signal is not output.
It is an object of the invention to provide a reset circuit that can suppress the malfunction of the circuit.
An aspect of the invention provides a reset circuit, comprising:
According to the invention, it is possible to suppress the malfunction of the circuit.
A reset circuit in the embodiments is generally composed of a first voltage generation unit that generates a first voltage based on a first power supply voltage output from a first constant voltage source, and a comparator that has a positive power supply terminal to which the first voltage is input, a negative power supply terminal connected to a ground circuit, one input terminal which is one of a positive input terminal and a negative input terminal and to which a reference voltage is input, another input terminal which is the other of the positive input terminal and the negative input terminal and to which a divided voltage obtained by dividing a second power supply voltage supplied from a second constant voltage source different from the first constant voltage source and to be detected based on the reference voltage is input, and an output terminal that outputs a reset signal to reset a subsequent circuit to the initial state according to a comparison result.
In this reset circuit, the first voltage to operate the comparator and the second power supply voltage to be detected are generated from different constant voltage sources. Therefore, as compared to when these voltages are generated from the same constant voltage source, it is possible to suppress the malfunction of the circuit.
As shown in
The reset circuit 1 further includes a second voltage generation unit 5 that generates the reference voltage V3 based on a second voltage V2 generated by the first voltage generation unit 4.
In the reset circuit 1 of the first embodiment, the reference voltage V3 is input to the negative input terminal 73 as one input terminal, and the divided voltage V4 is input to the positive input terminal 72 as another input terminal. As a modification, the reset circuit 1 may be configured such that the reference voltage V3 is input to the positive input terminal 72 as one input terminal and the divided voltage V4 is input to the negative input terminal 73 as another input terminal. In this modification, the reset signal S to reset a subsequent circuit to the initial state is output during when, e.g., the divided voltage V4 is lower than the reference voltage V3.
As shown in
The subsequent circuit is, e.g., an electronic circuit 8. As an example, the electronic circuit 8 is a microcomputer for on-board device mounted on a vehicle and is composed of a CPU (Central Processing Unit), and a RAM (Random Access Memory) and a ROM (Read Only Memory) which are semiconductor memories, etc. but it is not limited thereto. The reset circuit 1, together with the second constant voltage source 3 and the microcomputer, is formed as one chip, as an example.
As shown in
The second constant voltage source 3 is configured to generate, e.g., the second power supply voltage VCC to operate the electronic circuits 8, based on the first power supply voltage VBB supplied from the vehicle battery 2. The second power supply voltage VCC is, e.g., 3.5V to 5V, but it is not limited thereto.
As a modification, the first constant voltage source and the second constant voltage source 3 may be configured so that the first power supply voltage VBB and the second power supply voltage VCC are generated from different batteries mounted on the vehicle, not from the same vehicle battery 2.
The first voltage generation unit 4 is configured as a startup circuit that steps the first power supply voltage VBB down and thereby generates the stable first voltage V1. The first voltage generation unit 4 in the first embodiment further generates the stable second voltage V2. The first voltage V1 and the second voltage V2 are constant voltages and, as an example, are different from each other.
The first voltage generation unit 4 is electrically connected to the ground circuit GND. In addition, the first voltage generation unit 4 is electrically connected to the second voltage generation unit 5 and is also electrically connected to the comparator 7.
The second voltage generation unit 5 is configured as a bandgap reference circuit that generates the reference voltage V3 with suppressed fluctuation. The second voltage generation unit 5 is electrically connected to the ground circuit GND. In addition, the second voltage generation unit 5 is electrically connected to the first voltage generation unit 4 and is also electrically connected to the comparator 7.
As shown in FIG. IA, the voltage divider 6 is electrically connected between the second constant voltage source 3 and the ground circuit GND. The voltage divider 6 is composed of, e.g., a resistor R1 and a resistor R2. The resistors R1 and R2 are connected in series. Therefore, the divided voltage V4 is a midpoint potential between the resistors R1 and R2. The resistors R1 and R2 have the same resistance value as an example, but it is not limited thereto.
The comparator 7 compares the divided voltage V4 input to the positive input terminal 72 with the reference voltage V3 input to the negative input terminal 73 as shown in
That is, the comparator 7 is configured to output a Lo reset signal S for a predetermined period of time after starting power supply so that the circuit does not operate unintentionally at the time of starting power supply and during when the voltage is unstable. The electronic circuit 8 is reset to the initial state when the reset signal S is Lo.
As shown in
(Operation of the Reset Circuit 1 when the Second Power Supply Voltage VCC is Short-Circuited)
In the reset circuit 1, when the second constant voltage source 3 is short-circuited to the ground circuit GND and the second power supply voltage VCC becomes 0 V, the divided voltage V4 also becomes 0 V.
Therefore, the divided voltage V4 of 0 V is input to the positive input terminal 72 of the comparator 7, and the reference voltage V3 of 1.2 V is input to the negative input terminal 73 of the comparator 7. That is, the divided voltage V4 remains lower than the reference voltage V3. The comparator 7 thus outputs the Lo reset signal S, hence, the electronic circuit 8 remains in the initial state without being accidentally activated even if the second power supply voltage VCC becomes 0 V due to short circuit, etc.
The reset circuit 1 in the first embodiment can suppress the malfunction of the circuit. This reset circuit 1 is a circuit that outputs the reset signal S to reset the electronic circuit 8 to the initial state so that the electronic circuit 8 is not activated during when the second power supply voltage VCC to operate the electronic circuit 8 is low voltage. In the reset circuit 1, the first voltage V1 to operate the comparator 7 is generated from the first power supply voltage VBB of the vehicle battery 2 and the divided voltage V4 obtained by dividing the second power supply voltage VCC to be detected is generated from the second constant voltage source 3. Therefore, as compared to when these voltages are generated from the same constant voltage source, the reset circuit 1 can suppress the malfunction of the circuit since even if the second supply voltage VCC becomes 0 V due to short circuit, etc., the comparator 7 can operate and output the reset signal S to reset the electronic circuit 8 to the initial state so that the electronic circuit 8 is not activated.
In the reset circuit 1, the first voltage generation unit 4 is a startup circuit, the second voltage generation unit 5 is a bandgap reference circuit, and the stable first voltage V1, second voltage V2 and reference voltage V3 can be generated. Therefore, as compared to when such a configuration is not adopted, detection accuracy when the second power supply voltage VCC is low voltage can be improved.
In the reset circuit 1, the first voltage Vi to operate comparator 7 and the reference voltage V3 are generated based on the first power supply voltage VBB output from the vehicle battery 2. Therefore, voltage stability is higher as compared to when such a configuration is not adopted.
The second embodiment differs from the first embodiment in that the first voltage generation unit supplies the same voltage to the second voltage generation unit and the comparator.
As shown in
In this reset circuit 1, even if the second power supply voltage VCC unintentionally becomes 0 V due to short circuit, etc., the comparator 7 can output the Lo reset signal S to the electronic circuit 8 since the comparator 7 operates with the first voltage V1 which is not affected by the second power supply voltage VCC. The electronic circuit 8 is reset to the initial state by this reset signal S, and unintended erroneous operation can be suppressed.
Although some embodiments and modifications of the invention have been described, these embodiments and modifications are merely examples and the invention according to claims is not to be limited thereto. These new embodiments and modifications may be implemented in various other forms, and various omissions, substitutions and changes, etc., can be made without departing from the gist of the invention. In addition, not all combinations of the features described in these embodiments and modifications are necessary to solve the problem of the invention. Further, these embodiments and modifications are included within the scope and gist of the invention and also within the invention described in the claims and the range of equivalency.
Number | Date | Country | Kind |
---|---|---|---|
2022-125328 | Aug 2022 | JP | national |
The present patent application claims the priority of Japanese patent application No. 2022/125328 filed on Aug. 5, 2022, and the entire contents of Japanese patent application No. 2022/125328 are hereby incorporated by reference.