A power-on reset circuit

Through the two-stage reset circuit structure and the resistor diode NMOS tube structure, the traditional electrical reset circuit has solved the problems of large area, high power consumption and poor stability, and achieved high-precision, low power consumption and stable reset signal output.

CN114448404BActive Publication Date: 2024-11-26DOSILICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210121476.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-01-27
Filing Date
2022-02-09
Publication Date
2024-11-26
Estimated Expiration
2042-02-09

AI Technical Summary

Technical Problem

Traditionally, electrical reset circuits have a large capacitance area, high static power consumption, poor filtering effect on glitch signals, and poor stability of reset signals, which can easily lead to misoperation due to power fluctuations, resulting in system instability.

Method used

Using a two-stage reset circuit structure, the first-stage reset circuit is used to roughly detect external and internal power supply voltages, with low accuracy but extremely low power consumption. The second-stage reset circuit is used for precise detection, with high accuracy but large power consumption, and passes through two Level monitoring achieves high accuracy and low power consumption, and generates reset signals through the NMOS tube structure connected to resistors and diodes to reduce process impact.

Benefits of technology

It realizes a small layout area, low static power consumption and high precision reset signal output, improves the stability and reliability of the system, and avoids erroneous operations caused by power supply fluctuations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114448404B_ABST
    Figure CN114448404B_ABST
Patent Text Reader

Abstract

The present invention provides a power-on reset circuit, which includes a first-level power-on reset circuit and a second-level power-on reset circuit, wherein the first-level reset circuit includes an external power supply detection circuit, an internal power supply detection circuit and a bandgap reference circuit, and the first-level reset circuit is used to roughly detect the external power supply voltage and the internal power supply voltage; the second-level reset circuit includes a voltage divider circuit, a comparison circuit and a reset signal generating circuit, and the second-level reset circuit is used to accurately detect the internal power supply voltage. The power-on reset circuit provided in the present invention adopts a two-level structure to monitor the external power supply voltage and the internal power supply voltage. When monitoring, the first-level reset circuit has low accuracy but extremely low power consumption, and the second-level reset circuit requires a certain amount of power consumption, but has extremely high accuracy. Therefore, the use of a two-level reset circuit greatly reduces power consumption while achieving high accuracy, and has the advantages of high accuracy, low power consumption and stable performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of integrated circuits, and in particular to a power-on reset circuit. Background Art

[0002] In the field of integrated circuits, many chips contain a power-on-reset (POR) circuit. The function of the power-on reset circuit is to generate a reset signal when the system is powered on and off. It is used for digital reset and various IP startup, etc., so that analog and digital modules are initialized to a known state.

[0003] If the power supply voltage is relatively low, the logic of the circuit output will be uncertain. In addition, it takes time for the clock circuit to start oscillating normally from power on. Before the power supply voltage reaches a stable value, the clock circuit cannot output the clock signal normally. Therefore, when the chip is powered on, a reset signal is given to the reset terminal to prevent the digital circuit from working before the power supply voltage reaches a stable value.

[0004] The basic power-on reset circuit generates an internal reset pulse to avoid the "competition" phenomenon and keeps the device static until the power supply voltage reaches a threshold that can ensure normal operation. Once the power supply voltage reaches the threshold voltage, the power-on reset circuit will release the internal reset signal and the state machine will start initialization. Usually, when the circuit system is powered on at the beginning and the power supply voltage has not yet reached the expected stable state, the voltage and logic state of many circuit components and circuit nodes are unstable. In order to enable the circuit system to operate from the state expected by the designer every time it is powered on, the power-on reset circuit can be used to generate a power-on reset signal within a period of time after the power supply is stable. The reset signal can force the circuit system to be in the initial state expected by the designer. After the validity period of the reset signal ends, the circuit system will start to operate from the expected initial state. In other words, the reset signal can reset other modules in the circuit system, thereby eliminating the unstable state of the circuit module at the beginning of power-on.

[0005] like Figure 1As shown in FIG. 1 , a traditional power-on reset circuit is mainly formed by an RC circuit composed of a resistor R and a capacitor C. The signal is delayed by charging the capacitor in the RC circuit. The NOT gate circuit is used for shaping to improve the anti-interference ability of the circuit. The traditional power-on reset circuit has the advantages of simple structure and low static power consumption, but such a circuit has the following disadvantages: (1) In order to ensure that the reset circuit outputs the reset signal after the power supply is stable for a period of time, the time constant of the RC circuit that needs to generate the delay is very large, which makes the capacitor very large. In an integrated circuit, a larger capacitor will occupy a larger area; (2) The capacitor does not have a very good filtering effect on the burr signal. If the power supply voltage used to generate the reset signal has a large fluctuation, an erroneous reset signal may be generated, causing the circuit to malfunction and causing system instability; (3) The reset signal of the traditional power-on reset circuit will be jointly determined by R, C and the threshold voltage Vth of the first inverter. However, since the process deviations of various parts in the circuit can be superimposed, the final result will deviate from the expected result; sometimes the reset signal will not be generated, and sometimes the power supply may not be stable, but the reset signal will come too early.

[0006] Therefore, there is an urgent need for a power-on reset circuit which has a smaller layout area and smaller static power consumption and can generate a stable and accurate reset signal that matches the power state. Summary of the invention

[0007] In order to solve the above technical problems, the present invention provides a power-on reset circuit, characterized in that the power-on reset circuit includes a first-level reset circuit and a second-level reset circuit; the first-level reset circuit includes an external power detection circuit, an internal power detection circuit and a bandgap reference circuit; wherein the external power detection circuit is electrically connected to the internal power detection circuit and the bandgap reference circuit respectively; the first-level reset circuit is used to roughly detect the external power voltage and the internal power voltage; the external power detection circuit is used to detect the external power voltage, and when the external power voltage rises to a certain voltage, a first reset signal is output; the internal power detection circuit is used to detect the internal power voltage, and when the internal power voltage rises to a certain voltage, a first reset signal is output; When the voltage rises to a certain voltage, a second reset signal is output; the bandgap reference circuit is used to generate a reference voltage; the second-level reset circuit includes a voltage divider circuit, a comparison circuit and a reset signal generating circuit; the second-level reset circuit is used to accurately detect the internal power supply voltage; the voltage divider circuit is connected to the internal power supply voltage, and is used to divide the internal power supply voltage and obtain the divided voltage; the comparison circuit is respectively connected to the voltage divider circuit and the bandgap reference circuit, and is used to compare the divided voltage with the reference voltage; the reset signal generating circuit is connected to the comparison circuit, and is used to generate a power-on reset signal, and when the divided voltage is higher than the reference voltage, the reset signal generating circuit generates a power-on reset signal.

[0008] The power-on reset circuit provided in the present invention is used to monitor the external power supply voltage and the internal power supply voltage by means of a two-stage reset circuit. The first-stage reset circuit has low accuracy but extremely low power consumption during monitoring, and the second-stage reset circuit requires certain power consumption but has extremely high accuracy. When monitoring, the second-stage monitoring is started only after the first-stage reset circuit reaches a certain set voltage and is triggered. The second-stage detection will be automatically turned off after the conditions are met. Therefore, the two-stage reset circuit in the present invention can achieve high accuracy while greatly reducing power consumption.

[0009] Preferably, when the external power detection circuit outputs a first reset signal, the internal power detection circuit starts to detect the internal power voltage, and the bandgap reference circuit starts to generate a reference voltage.

[0010] Preferably, the first-stage reset circuit further comprises a reference voltage detector for detecting whether the reference voltage has reached a set value.

[0011] Preferably, the external power supply detection circuit includes a first resistor, a first NMOS tube, a second NMOS tube, a first PMOS tube, and a first inverter; wherein the first resistor and the second NMOS tube are connected in series between an external power supply voltage and a ground voltage, the first resistor is connected to the external power supply voltage, the second NMOS tube is configured to have a drain connected to the first resistor, a source connected to the ground voltage, and a gate connected to the gates of the first NMOS tube and the first PMOS tube; the first NMOS tube and the first PMOS tube are connected in series between the external power supply voltage and the ground voltage, wherein the source of the first PMOS tube is connected to the external power supply voltage, the source of the first NMOS tube is connected to the ground voltage, the gates of the first NMOS tube and the first PMOS tube are connected to the gate of the second NMOS tube, and the drains of the first NMOS tube and the first PMOS tube are connected to the first inverter.

[0012] By adopting the external power supply detection circuit, a first reset signal is generated in the form of an NMOS tube connected by a resistor and a diode. Because the value of the first reset signal mainly depends on the threshold voltage of the NMOS tube, compared with the traditional method of generating a reset signal, there is only one variable. Therefore, it is less affected by the process and the stability of signal generation is increased.

[0013] Preferably, the internal power supply detection circuit includes a second resistor, a second PMOS tube, a third PMOS tube, a third NMOS tube, a fourth NMOS tube, and a second inverter; wherein the second resistor and the fourth NMOS tube are connected in series between the internal power supply voltage and the ground voltage, the second resistor is connected to the internal power supply voltage, and the fourth NMOS tube is configured to have a drain connected to the second resistor, a source connected to the ground voltage, and a gate connected to the gates of the second PMOS tube and the third NMOS tube; the second PMOS tube and the third NMOS tube are connected in series between the internal power supply voltage and the ground voltage, wherein the source of the second PMOS tube is connected to the internal power supply voltage, the source of the third NMOS tube is connected to the ground voltage, the gates of the third NMOS tube and the second PMOS tube are connected to the gate of the second NMOS tube, and the drains of the third NMOS tube and the second PMOS tube are connected to the second inverter; the source of the third PMOS tube is connected to the internal power supply voltage, the gate is electrically connected to the output end of the first power-on reset circuit, and the drain is connected to the gates of the third NMOS tube, the second PMOS tube, and the second NMOS tube.

[0014] By adopting the internal power supply detection circuit, a second reset signal is generated in the form of an NMOS tube connected by a resistor and a diode. Because the value of the second reset signal mainly depends on the threshold voltage of the NMOS tube, compared with the traditional method of generating a reset signal, there is only one variable. Therefore, it is less affected by the process and the stability of signal generation is increased.

[0015] Preferably, the voltage divider circuit comprises three variable resistors, and the three variable resistors are connected in series between the internal power supply voltage and the ground voltage.

[0016] Preferably, the comparison circuit is used to compare the divided voltage output by the voltage divider circuit with a reference voltage, and output a low level if the divided voltage is lower than the reference voltage, and output a high level if the divided voltage is higher than the reference voltage.

[0017] Preferably, the power-on reset circuit is used for a NAND flash memory chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of a traditional power-on reset circuit.

[0019] Figure 2 It is a schematic diagram of the framework of the power-on reset circuit of the present invention.

[0020] Figure 3 It is an external power supply detection circuit of the first-level power-on reset circuit of the present invention.

[0021] Figure 4 It is an internal power supply detection circuit of the first-level power-on reset circuit of the present invention.

[0022] Figure 5 This is the second-level power-on reset circuit of the present invention.

[0023] Figure 6 The figure is a schematic diagram of the power-on sequence of the power-on reset circuit of the present invention. DETAILED DESCRIPTION

[0024] The following is a detailed description of the technical means used by the present invention to achieve the intended purpose of the invention with reference to the drawings and preferred embodiments of the present invention.

[0025] Some current integrated circuits do not directly use the external power supply voltage applied from the outside, but use an internal voltage generator circuit to generate a set internal power supply voltage to reduce or increase the external power supply voltage, and apply the generated internal power supply voltage to the internal circuit to improve the reliability of the device. The external power supply voltage can be used as the power supply for the internal voltage generator circuit, the bandgap reference circuit (Bandgap) and the IO. Therefore, when designing a power-on reset circuit, it is necessary to detect the voltage of the internal power supply and the external power supply at the same time so that each module of the integrated circuit can work normally.

[0026] Based on the above requirements, the present invention provides a power-on reset circuit. Figure 2 As shown, Figure 2 The schematic diagram of the power-on reset circuit of the present invention is a framework diagram. The power-on reset circuit includes a first-level reset circuit and a second-level reset circuit, wherein the first-level reset circuit is used to roughly detect the internal power supply and the external power supply voltage, so that the internal power supply and the external power supply voltage can reach a certain voltage value and the comparison circuit in the second-level reset circuit can work normally; the first-level reset circuit has a small power consumption. The second-level reset circuit is used to accurately detect the internal power supply voltage. When the power supply voltage reaches the target voltage, a power-on reset signal is generated to initialize the internal part of the integrated circuit. By accurately detecting the internal power supply voltage, the chip can be prevented from being damaged, because the internal module is highly sensitive to the power supply and the load is also relatively large. Therefore, it is necessary to accurately detect the internal power supply voltage. When it reaches a specific target voltage, the internal module can start working.

[0027] The first-level reset circuit includes an external power detection circuit, an internal power detection circuit and a bandgap reference circuit, wherein the external power detection circuit is electrically connected to the internal power detection circuit and the bandgap reference circuit respectively. The external power detection circuit is used to detect the external power voltage. When the external power voltage rises to a certain voltage, the external power detection circuit will generate a first reset signal POR_EXT. The internal power detection circuit is used to detect the internal power voltage. When the first reset signal POR_EXT is generated, the internal DC power supply generates the internal power voltage, and the internal power detection circuit starts to detect the internal power voltage. When the internal power voltage rises to a certain voltage, the internal power detection circuit will generate a second reset signal POR_INT. When the first reset signal POR_EXT and the second reset signal POR_INT both become low levels, the system starts to initialize. During initialization, all internal registers are reset and the preset parameters are loaded, so that the chip can work in the correct state. The bandgap reference circuit is used to generate a reference voltage VBG. When the first reset signal POR_EXT is generated, the bandgap reference circuit starts to generate a reference voltage until a stable reference voltage VBG is generated. In order to make the circuit work more stably, the first-stage reset circuit may further include a reference voltage detector for detecting whether the reference voltage has reached a set value. For a general bandgap reference circuit, the value of the reference voltage VBG is 1.24V.

[0028] The second-level reset circuit includes a voltage divider circuit, a comparison circuit and a reset signal generating circuit. The voltage divider circuit is connected to the internal power supply voltage and is used to divide the internal power supply voltage to obtain the divided voltage V1; the comparison circuit is connected to the voltage divider circuit and the bandgap reference circuit respectively and is used to compare the divided voltage V1 with the reference voltage VBG. If the divided voltage is lower than the reference voltage VBG, a low level is output; if the divided voltage is higher than the reference voltage VBG, a high level is output; the reset signal generating circuit is connected to the comparison circuit and is used to generate a power-on reset signal ARD_RST (i.e., Auto-Read Reset, automatic parameter reading reset). When the divided voltage is higher than the reference voltage VBG, a power-on reset signal ARD_RST is generated. When the power-on reset signal ARD_RST is generated, the system will automatically read the parameters to achieve reset.

[0029] The power-on reset structure provided in the present invention includes a two-stage structure. The first-stage power-on reset circuit is used to roughly detect the external power supply voltage and the internal power supply voltage. When the external power supply voltage and the internal power supply voltage both reach a certain value, the first reset signal POR_EXT and the second reset signal POR_INT both become low level, and the system starts to reset; the second-stage power-on reset circuit is used to accurately detect the internal power supply voltage. When the internal power supply voltage reaches the set voltage value, a power-on reset signal ARD_RST will be generated, and the system will automatically read the parameters to achieve reset. The power-on reset structure has the following advantages: the external power supply voltage and the internal power supply voltage are monitored by a two-stage reset circuit. When the first-stage reset circuit is monitored, the accuracy is low but the power consumption is extremely low. The second-stage reset circuit requires a certain amount of power consumption, but the accuracy is extremely high. When monitoring, when the first-stage reset circuit reaches a certain set voltage and is triggered, the second-stage reset circuit starts monitoring. After the conditions are met, the second-stage detection will be automatically turned off. Therefore, the use of the two-stage reset circuit in the present invention can greatly reduce power consumption while achieving high accuracy.

[0030] Please refer to Figure 3 As shown, Figure 3 It is an embodiment of the external power supply detection circuit of the first-level power-on reset circuit of the present invention. The external power supply detection circuit includes a first resistor R1, a first NMOS tube N1, a second NMOS tube N2, a first PMOS tube P1, and a first inverter A1. Among them, the first resistor R1 and the second NMOS tube N2 are connected in series between the external power supply voltage VCC_EXT and the ground voltage, the first resistor R1 is connected to the external power supply voltage VCC_EXT, and the second NMOS tube N2 is configured to have a drain connected to the first resistor R1, a source connected to the ground voltage, and a gate connected to the gates of the first NMOS tube N1 and the first PMOS tube P1. The first NMOS tube N1 and the first PMOS tube P1 are connected in series between the external power supply voltage VCC_EXT and the ground voltage, wherein the source of the first PMOS tube P1 is connected to the external power supply voltage VCC_EXT, the source of the first NMOS tube N1 is connected to the ground voltage, the gates of the first NMOS tube N1 and the first PMOS tube P1 are connected to the gate of the second NMOS tube N2, and the drains of the first NMOS tube N1 and the first PMOS tube P1 are connected to the first inverter A1. The gate voltages of the first NMOS tube N1, the first PMOS tube P1 and the second NMOS tube N2 are recorded as REF_EXT. The external power supply detection circuit outputs a first reset signal POR_EXT through the first inverter A1.

[0031] In the actual working process, when the external power supply voltage VCC_EXT is powered on, since the second NMOS tube N2 is still in the cut-off state, the REF_EXT voltage will rise with the VCC_EXT voltage. When REF_EXT is greater than or equal to the threshold voltage Vthm2 of the second NMOS tube N2, the second NMOS tube N2 enters the saturation region, at which time the first NMOS tube N1 is turned on (ie, REF_EXT>Vthm1), the first PMOS tube P1 is turned off (ie, |REF_EXT-VCC_EXT|<|Vthp1|), and the output ends of the first NMOS tube N1 and the first PMOS tube P1 are pulled down to ground by the first NMOS tube N1. Due to the action of the inverter A1, the first reset signal POR_EXT is at a high level at this time. As VCC_EXT continues to rise, REF_EXT only increases slightly, and the difference will continue to increase. When |REF_EXT-VCC_EXT| is greater than or equal to the threshold voltage |Vthp1| of the first PMOS tube P1, the first PMOS tube P1 is turned on, the first PMOS tube P1 is in the saturation region, and the first NMOS tube N1 is in the linear region. Because the driving capability of the first NMOS tube N1 is greater than that of the first PMOS tube P1, the output terminals of the first NMOS tube N1 and the first PMOS tube P1 are still at a low level, and the first reset signal POR_EXT is at a high level. As the external power supply voltage VCC_EXT continues to rise and rises to the set threshold of the external power supply, the first NMOS tube N1 enters the saturation region. At this time, the output terminals of the first NMOS tube N1 and the first PMOS tube P1 rise to a high level. Due to the action of the inverter A1, a first reset signal POR_EXT with a low level will be generated.

[0032] Please refer to Figure 4 As shown, Figure 4It is an embodiment of the internal power supply detection circuit of the first-level power-on reset circuit of the present invention. The internal power supply detection circuit includes a second resistor R2, a second PMOS tube P2, a third PMOS tube P3, a third NMOS tube N3, a fourth NMOS tube N4, and a second inverter A2. Among them, the second resistor R2 and the fourth NMOS tube N4 are connected in series between the internal power supply voltage VDD_INT and the ground voltage, the second resistor R2 is connected to the internal power supply voltage VDD_INT, and the fourth NMOS tube N4 is configured to have a drain connected to the second resistor R2, a source connected to the ground voltage, and a gate connected to the gates of the second PMOS tube P2 and the third NMOS tube N3. The second PMOS transistor P2 and the third NMOS transistor N3 are connected in series between the internal power supply voltage VDD_INT and the ground voltage, wherein the source of the second PMOS transistor P2 is connected to the internal power supply voltage VDD_INT, the source of the third NMOS transistor N3 is connected to the ground voltage, the gate of the third NMOS transistor N3 and the second PMOS transistor P2 are connected to the gate of the second NMOS transistor N2, and the drain of the third NMOS transistor N3 and the second PMOS transistor P2 are connected to the second inverter A2. The source of the third PMOS transistor P3 is connected to the internal power supply voltage VDD_INT, the gate is connected to the output end of the first power-on reset circuit through an inverter, and the drain is connected to the gates of the third NMOS transistor N3, the second PMOS transistor P2 and the second NMOS transistor N2, and the voltage of the connection node is recorded as REF_INT. The internal power supply detection circuit outputs the second reset signal POR_INT through the second inverter A2.

[0033] In the actual working process, because the gate of the third PMOS tube P3 is connected to the output end of the first power-on reset circuit through an inverter, when the external power detection circuit is not triggered and outputs the first reset signal POR_EXT with a high level, the gate voltage of the third PMOS tube P3 is a low level. When the external power detection circuit is triggered and outputs the first reset signal POR_EXT with a low level, the gate voltage of the third PMOS tube P3 is a high level. At this time, the third PMOS tube P3 is in the cut-off state, and the internal power detection circuit of the first-level power-on reset circuit begins to detect the voltage of the internal power supply. Its working principle is similar to that of the external power detection circuit. When the internal power supply voltage VDD_INT rises, since the fourth NMOS tube N4 is still in the cut-off state, the REF_INT voltage will rise with the VDD_INT voltage. When VDD_INT is greater than or equal to the threshold voltage Vthm4 of the fourth NMOS tube N4, the fourth NMOS tube N4 enters the saturation region, at this time, the third NMOS tube N3 is turned on (i.e., REF_INT>Vthm3), and the second PMOS tube P2 is turned off (i.e., |REF_INT-VDD_INT|<|Vthp2|), and the output ends of the third NMOS tube N3 and the second PMOS tube P2 are pulled down to ground by the third NMOS tube N3. Due to the action of the inverter A2, the second reset signal POR_INT is at a high level at this time. As VDD_INT continues to rise, REF_INT only increases slightly, and the difference will continue to increase. When |REF_INT-VDD_INT| is greater than or equal to the threshold voltage |Vthp2| of the second PMOS tube P2, the second PMOS tube P2 is turned on, the second PMOS tube P2 is in the saturation region, and the third NMOS tube N3 is in the linear region. Because the driving capability of the third NMOS tube N3 is greater than that of the second PMOS tube P2, the output ends of the third NMOS tube N3 and the second PMOS tube P2 are still at a low level, and the second reset signal POR_INT is at a high level. As the internal power supply voltage VDD_INT continues to rise, it rises to the set threshold of the internal power supply, and the third NMOS tube N3 enters the saturation region. At this time, the output ends of the third NMOS tube N3 and the second PMOS tube P2 rise to a high level. Due to the action of the inverter A2, a second reset signal POR_INT with a low level will be generated.

[0034] When the external power detection circuit is triggered, the internal power detection circuit starts to work to detect whether the internal power voltage reaches a certain value; and the bandgap reference circuit starts to work to generate a stable reference voltage VBG. When the internal power detection circuit is triggered to generate a second reset signal, the integrated circuit system starts to initialize. During initialization, all internal registers are reset and the preset parameters are loaded, so that the chip can work in the correct state.

[0035] Please refer to Figure 5 As shown, Figure 5 It is the second-level reset circuit of the power-on reset circuit in the present invention. The voltage divider circuit is used to divide the internal power supply voltage to obtain the divided voltage V1. Among them, the voltage divider circuit adopts three series-connected variable resistors connected in series between the internal power supply voltage VDD_INT and the ground voltage VSS. The ratio of the divided voltage V1 to the internal power supply voltage VDD_INT can be arbitrarily adjusted by the variable resistor, so as to detect different internal power supply voltages. The comparison circuit compares the divided voltage V1 with the reference voltage VBG. If the divided voltage is lower than the reference voltage VBG, a low level is output. If the divided voltage is higher than the reference voltage VBG, a high level is output. When the internal power supply voltage VDD_INT just becomes the target voltage, the output of the voltage divider will be equal to VBG, then the output of the comparator will change from a low level to a high level, and the reset signal generating circuit will detect the rising edge of the comparator output. The reset signal generating circuit is used to generate a power-on reset signal ARD_RST. When the divided voltage is higher than the reference voltage VBG, the reset signal generating circuit will detect the rising edge of the comparator output and start to generate the power-on reset signal ARD_RST. When the power-on reset signal ARD_RST is generated, the system will automatically read the parameters and achieve reset.

[0036] Please refer to Figure 6 As shown, Figure 6 The power-on sequence diagram of the power-on reset circuit of the present invention is as follows: First, when power is turned on, VDD_INT is equal to VCC_EXT, and the external power detection circuit starts to detect the external power voltage VCC_EXT. When VCC_EXT rises to a certain value, the external power detection circuit is triggered to generate a first reset signal POR_EXT with a low level.

[0037] After the first reset signal POR_EXT with a low level is generated, VDD_INT will be generated by the internal voltage generator VDC, the internal power detection circuit starts to detect the size of the internal power voltage, and the bandgap reference circuit starts to generate VBG. As the internal power voltage VDD_INT rises, the internal power detection circuit is triggered to generate a second reset signal POR_INT with a low level.

[0038] After the second reset signal POR_INT with a low level is generated, the system starts to initialize. After a period of time, the internal voltage VDD_INT continues to rise until it reaches a predetermined voltage, the second-level power-on reset circuit will generate a power-on reset signal ARD_RST, and the system will automatically read parameters to achieve reset.

[0039] The power-on reset circuit provided in the present invention has the following advantages: (1) The power-on reset circuit in the present invention generates the first reset signal and the second reset signal in the form of an NMOS tube connected by a resistor and a diode. Because the values ​​of the first reset signal and the second reset signal mainly depend on the threshold voltage of the NMOS tube, compared with the traditional method of generating a reset signal, there is only one variable, so it is less affected by the process and increases the stability of signal generation; (2) In the present invention, the external power supply voltage and the internal power supply voltage are monitored by a two-stage reset circuit. When monitoring, the first-stage reset circuit has low accuracy but extremely low power consumption, and the second-stage reset circuit requires a certain amount of power consumption but has extremely high accuracy. When monitoring, the second-stage monitoring starts only after the first-stage reset circuit reaches a certain set voltage and is triggered. After the conditions are met, the second-stage detection will be automatically turned off. Therefore, the use of the two-stage reset circuit in the present invention can achieve high accuracy while greatly reducing power consumption.

[0040] The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modifications to equivalent embodiments of equivalent changes using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of the technical solution of the present invention.

Claims

1. A power-on reset circuit, characterized in that: The power-on reset circuit includes a first-level reset circuit and a second-level reset circuit; The first-stage reset circuit includes an external power supply detection circuit, an internal power supply detection circuit and a bandgap reference circuit; wherein the external power supply detection circuit is electrically connected to the internal power supply detection circuit and the bandgap reference circuit respectively; the first-stage reset circuit is used to roughly detect the external power supply voltage and the internal power supply voltage; The external power supply detection circuit is used to detect the external power supply voltage, and when the external power supply voltage rises to a certain voltage, outputs a first reset signal; The internal power supply detection circuit is used to detect the internal power supply voltage, and when the internal power supply voltage rises to a certain voltage, outputs a second reset signal; The bandgap reference circuit is used to generate a reference voltage; The second-stage reset circuit includes a voltage divider circuit, a comparison circuit and a reset signal generating circuit; the second-stage reset circuit is used to accurately detect the internal power supply voltage; The voltage divider circuit is connected to the internal power supply voltage and is used to divide the internal power supply voltage and obtain the divided voltage; The comparison circuit is connected to the voltage divider circuit and the bandgap reference circuit respectively, and is used to compare the divided voltage with the reference voltage; The reset signal generating circuit is connected to the comparison circuit and is used to generate a power-on reset signal. When the divided voltage is higher than the reference voltage, the reset signal generating circuit generates a power-on reset signal.

2. The power-on reset circuit according to claim 1, characterized in that: When the external power detection circuit outputs the first reset signal, the internal power detection circuit starts to detect the internal power voltage, and the bandgap reference circuit starts to generate a reference voltage.

3. The power-on reset circuit according to claim 1, characterized in that: The first-stage reset circuit further includes a reference voltage detector for detecting whether the reference voltage has reached a set value.

4. The power-on reset circuit according to claim 1, characterized in that: The external power supply detection circuit includes a first resistor, a first NMOS transistor, a second NMOS transistor, a first PMOS transistor, and a first inverter; wherein, The first resistor and the second NMOS transistor are connected in series between an external power supply voltage and a ground voltage, the first resistor is connected to the external power supply voltage, the second NMOS transistor is configured such that a drain is connected to the first resistor, a source is connected to the ground voltage, and a gate is connected to the gates of the first NMOS transistor and the first PMOS transistor; The first NMOS tube and the first PMOS tube are connected in series between an external power supply voltage and a ground voltage, wherein a source of the first PMOS tube is connected to the external power supply voltage, a source of the first NMOS tube is connected to the ground voltage, gates of the first NMOS tube and the first PMOS tube are connected to a gate of the second NMOS tube, and drains of the first NMOS tube and the first PMOS tube are connected to a first inverter.

5. The power-on reset circuit according to claim 1, characterized in that: The internal power supply detection circuit includes a second resistor, a second PMOS tube, a third PMOS tube, a third NMOS tube, a fourth NMOS tube, and a second inverter; The second resistor and the fourth NMOS tube are connected in series between the internal power supply voltage and the ground voltage, the second resistor is connected to the internal power supply voltage, the fourth NMOS tube is configured such that the drain is connected to the second resistor, the source is connected to the ground voltage, and the gate is connected to the gates of the second PMOS tube and the third NMOS tube; The second PMOS tube and the third NMOS tube are connected in series between the internal power supply voltage and the ground voltage, wherein the source of the second PMOS tube is connected to the internal power supply voltage, the source of the third NMOS tube is connected to the ground voltage, the gate of the third NMOS tube is connected to the gate of the second PMOS tube, and the drain of the third NMOS tube is connected to the drain of the second PMOS tube and connected to the second inverter; The source of the third PMOS tube is connected to the internal power supply voltage, the gate is electrically connected to the output end of the first power-on reset circuit, and the drain is connected to the third NMOS tube, the second PMOS tube and the gate of the second NMOS tube.

6. The power-on reset circuit according to claim 1, characterized in that: The voltage divider circuit includes three variable resistors, which are connected in series between an internal power supply voltage and a ground voltage.

7. The power-on reset circuit according to claim 1, characterized in that: The comparison circuit is used to compare the divided voltage output by the voltage divider circuit with the reference voltage, and output a low level if the divided voltage is lower than the reference voltage, and output a high level if the divided voltage is higher than the reference voltage.

8. The power-on reset circuit according to claim 1, characterized in that: The power-on reset circuit is used for a NAND flash memory chip.