Power-on reset circuit and integrated circuit
By introducing a fast power-on detection module and a threshold comparison module into the power-on reset circuit, a control signal is generated to respond to power supply voltages with different power-on speeds, which solves the problem that the existing technology cannot cope with slow and fast power-on at the same time, and improves the reset signal stability and reliability, and realizes dynamic monitoring of the power supply voltage.
Patent Information
- Application Number
- CN202011547772.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-24
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-12-24
AI Technical Summary
The existing power-on reset circuit cannot guarantee power-on reset under slow power-on and fast power-on at the same time, and cannot make corresponding reset responses to power supply voltages with different power-on speeds.
A power-on reset circuit is designed, including a reference module, a fast power-on detection module, a threshold comparison module and a NOR gate. The fast power-on detection module generates a control signal, and the threshold comparison module generates a comparison signal according to the power-on speed to ensure The power supply voltage can respond normally under different power-on speeds, and the reset signal is monitored and adjusted when the power supply voltage changes.
It achieves reliable response to the power supply voltage at different power-on speeds, improves the stability and reliability of the reset signal, and ensures the effectiveness of the reset signal by dynamically monitoring the power supply voltage.
Smart Images

Figure CN114679163B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuit design, and in particular to a power-on reset circuit and an integrated circuit. Background Art
[0002] In the field of integrated circuit design, various integrated circuits can include a power-on reset (POR: Power On Reset) circuit, which is used to ensure that analog and digital modules are initialized to a known state after power is applied. The basic POR function generates an internal reset pulse or reset level to avoid "competition" and keep the device static until the power supply voltage stabilizes or reaches a threshold that ensures normal operation. Once the power supply voltage reaches the threshold voltage, the POR circuit releases the internal reset signal, the state machine begins to initialize, and after the initialization is completed, the integrated circuit begins to work normally.
[0003] However, the power-on reset circuit in the prior art can usually only ensure the power-on reset during slow power-on (i.e., slow power-on, the power-on speed is lower than a preset threshold) or fast power-on (i.e., fast power-on, the power-on speed is higher than a preset threshold), but cannot ensure the power-on reset in both slow power-on and fast power-on situations.
[0004] Therefore, it is necessary to provide an improved technical solution to overcome the above technical problems existing in the prior art. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides a power-on reset circuit and an integrated circuit, which can ensure that corresponding reset responses can be made for power supply voltages with different power-on speeds, and can realize dynamic monitoring of the power supply voltage with higher reliability.
[0006] According to a first aspect of the present disclosure, there is provided a power-on reset circuit, comprising: a reference module, for generating a reference voltage and a plurality of bias currents;
[0007] A fast power-on detection module, connected to the reference module at the first node, configured to be activated when the power supply is powered on quickly and to generate a control signal of a corresponding state according to different power-on speeds;
[0008] A threshold comparison module, connected to the reference module at a first node, and connected to the fast power-on detection module at a third node, for generating a comparison signal according to the comparison between the reference voltage and the threshold voltage;
[0009] a startup module, connected to the reference module at a second node and to the first power supply terminal of the comparator in the threshold comparison module, for raising the voltage of the second node to start the reference module during the establishment of the reference voltage, and for providing current to the comparator during the establishment of the reference voltage;
[0010] A NOR gate is connected to the output end of the threshold comparison module and the third node respectively, and is used to generate a reset signal according to the comparison signal and the control signal, wherein the reset signal is used to reset the control circuit when it is valid.
[0011] Among them, the level state of the control signal generated by the fast power-on detection module at different power-on speeds is different, the comparison process of the threshold comparison module is controlled by the different level states of the control signal to ensure that the power supply voltage with different power-on speeds can respond normally, and the threshold comparison module has a hysteresis characteristic.
[0012] Optionally, the threshold comparison module is also connected to the startup module at a fourth node, and the threshold comparison module is further used to shut down the startup module after the reference module is started.
[0013] Optionally, in the power-on stage, the reset signal is in a valid state when the power supply voltage is less than a first threshold, and is in an invalid state when the power supply voltage is greater than the first threshold.
[0014] Optionally, the threshold comparison module is further used to monitor the power supply voltage after the power supply is powered on, and control the reset signal to change to a valid state when it is detected that the power supply changes and the power supply voltage is less than a second threshold.
[0015] Optionally, the first threshold and the second threshold have numerical values corresponding to different sizes.
[0016] Optionally, the reference module comprises:
[0017] A first transistor, a source electrode connected to a power supply terminal, and a gate electrode connected to a drain electrode;
[0018] a second transistor, having a source connected to the power supply terminal and a gate connected to the gate of the first transistor;
[0019] A first triode, a collector connected to the drain of the first transistor, and an emitter connected to a reference ground via a first resistor;
[0020] a second triode, the collector of which is connected to the drain of the second transistor via a second resistor, the emitter of which is connected to the reference ground, and the base of which is respectively connected to the base of the first triode and the collector of the second triode;
[0021] a first capacitor connected between the drain of the second transistor and a reference ground;
[0022] a second capacitor connected between a power supply terminal and the gate of the first transistor,
[0023] The first transistor and the second transistor are both PMOS transistors, the first triode and the second triode are both NPN triodes,
[0024] The gate of the first transistor is connected to the first node, the base of the second transistor is connected to the second node, and the reference module generates the reference voltage at the drain of the second transistor.
[0025] Optionally, the fast power-on detection module includes:
[0026] a third transistor, having a source connected to the power supply terminal, a drain connected to the reference ground via a third capacitor, and a gate connected to the first node;
[0027] a fourth transistor, having a source connected to the reference ground, a drain connected to the power supply terminal via a fourth capacitor, and a gate connected to the drain of the third transistor;
[0028] a third resistor connected between the drain of the fourth transistor and a reference ground;
[0029] A buffer, wherein the power supply end is respectively connected to the power supply end and the reference ground, the input end is connected to the drain of the fourth transistor, and the output end generates the control signal,
[0030] The third transistor is a PMOS transistor, the fourth transistor is an NMOS transistor,
[0031] An output terminal of the buffer is connected to the third node.
[0032] Optionally, the startup module includes:
[0033] a fifth transistor, having a source connected to the power supply terminal, a drain connected to the second node via a fourth resistor, and a gate connected to the fourth node;
[0034] a sixth transistor, having a source connected to the power supply terminal, a drain connected to the first power supply terminal of the comparator through a fifth resistor, and a gate connected to the fourth node;
[0035] a fifth capacitor connected between the fourth node and a reference ground,
[0036] Wherein, the fifth transistor and the sixth transistor are both PMOS transistors.
[0037] Optionally, the threshold comparison module further includes:
[0038] a seventh transistor, having a source connected to the power supply terminal, a gate connected to the first node, and a drain connected to the fourth node;
[0039] an eighth transistor, a source connected to the power supply terminal, a gate connected to the first node, and a drain connected to the first power supply terminal of the comparator;
[0040] a sixth resistor, a seventh resistor and an eighth resistor, wherein the sixth resistor, the seventh resistor and the eighth resistor are sequentially connected in series between the fourth node and a reference ground;
[0041] a ninth transistor, having a source connected to the fourth node, a drain connected to the fourth node via the sixth resistor, and a gate connected to the output terminal of the comparator;
[0042] a tenth transistor, having a drain connected to the inverting input terminal of the comparator, a source connected to the reference ground, and a gate connected to the third node;
[0043] a sixth capacitor connected between a power supply terminal and an inverting input terminal of the comparator;
[0044] a seventh capacitor connected between the inverting input terminal of the comparator and the reference ground,
[0045] The non-inverting input terminal of the comparator receives the reference voltage, and the inverting input terminal of the comparator is also connected to the reference ground through the eighth resistor, and
[0046] The seventh transistor, the eighth transistor and the ninth transistor are all PMOS transistors, and the tenth transistor is an NMOS transistor.
[0047] Optionally, a ratio of a sum of the resistance values of the sixth resistor and the seventh resistor to the resistance value of the eighth resistor is the same as a ratio of the capacitance values of the seventh capacitor to the sixth capacitor.
[0048] According to a second aspect of the present disclosure, an integrated circuit is provided, comprising: the power-on reset circuit as described above.
[0049] The beneficial effects of the present invention are as follows: the present invention relates to a power-on reset circuit and an integrated circuit, which uses a fast power-on detection module to be activated when the power supply voltage is powered on quickly, and generates a control signal of a corresponding level state according to different power-on speeds of the power supply voltage, which can ensure that the power supply voltage can respond normally during slow power-on and fast power-on. At the same time, a threshold comparison module is used to control the comparison process of the comparator according to the control signal of different level states, so as to achieve the generation of a reset signal that meets the conditions according to the requirements of the system power supply voltage at different power-on speeds. In the process of generating the reset signal, since the control signal is used to ensure the stability of the reset signal, and there is no series-parallel relationship between the corresponding slow power-on reset signal and the corresponding fast power-on reset signal in the existing power-on reset circuit, the reliability and stability are higher, and a high-reliability reset is achieved.
[0050] On the other hand, the threshold comparison module in the present invention can also monitor the power supply voltage after the power supply is powered on, and change the state of the reset signal after the power supply voltage changes and exceeds a certain threshold to trigger the POR circuit to reset again, thereby realizing dynamic monitoring of the power supply voltage and further ensuring the reliability of the reset signal.
[0051] It should be noted that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings.
[0053] Figure 1 A structural block diagram of a power-on reset circuit provided according to an embodiment of the present disclosure is shown;
[0054] Figure 2a A schematic diagram of the circuit structure of a reference module and a fast power-on detection module in a power-on reset circuit provided according to an embodiment of the present disclosure is shown;
[0055] Figure 2b A schematic diagram of the circuit structure of a startup module and a threshold comparison module in a power-on reset circuit provided according to an embodiment of the present disclosure is shown;
[0056] Figure 3 A timing waveform diagram of each voltage signal in a power-on reset circuit during slow power-on provided according to an embodiment of the present disclosure is shown;
[0057] Figure 4 The timing waveform diagram of each voltage signal in the power-on reset circuit during fast power-on provided according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0058] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.
[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0060] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
[0061] refer to Figure 1, Figure 1 A structural block diagram of a power-on reset circuit provided according to an embodiment of the present disclosure is shown.
[0062] like Figure 1 As shown, in the present disclosure, the power-on reset circuit includes: a reference module 100 , a fast power-on detection module 200 , a startup module 300 , a threshold comparison module 400 and a NOR gate 500 .
[0063] Among them, the reference module 100 and the fast power-on detection module 200 are connected to the first node, and the reference module 100 and the startup module 300 are connected to the second node. The threshold comparison module 400 is respectively connected to the reference module 100 at the first node, connected to the fast power-on detection module 200 at the third node (the signal on the third node corresponds to pwr_kick), and connected to the startup module 300 at the fourth node (the signal on the fourth node corresponds to sw_vdd). The first input end of the NOR gate 500 is connected to the fast power-on detection module 200 at the third node, and the second input end of the NOR gate 500 is connected to the output end of the threshold comparison module 400.
[0064] In the present disclosure, the reference module 100 is used to generate a reference voltage V REF The fast power-on detection module 200 is used to be activated when the power supply voltage VDD is powered on quickly, so as to generate a control signal pwr_kick with a corresponding level state according to different power-on speeds when the power supply is powered on; the threshold comparison module 400 is used to compare the reference voltage V REF The startup module 300 is used to compare the reference voltage V REF During the establishment process, the voltage of the second node is raised to start the reference module 100, and is used to provide current for the comparator in the threshold comparison module 400 during the establishment process of the reference voltage; the NOR gate 500 is used to generate a reset signal Porb that meets the system power supply voltage requirements according to the comparison signal cmp and the control signal pwr_kick. Among them, the level state of the control signal pwr_kick generated by the fast power-on detection module 200 at different power-on speeds is different, and the comparison process of the threshold comparison module 400 is controlled by the different level states of the control signal pwr_kick, and has a hysteresis characteristic to ensure that the power supply voltage VDD with different power-on speeds can respond normally and reliably.
[0065] In the present disclosure, during the power-on stage of the power supply, the reset signal Porb is in a valid state (eg, low level valid) when the power supply voltage VDD is less than a first threshold value (denoted as VDD1), and is in an invalid state when the power supply voltage VDD is greater than the first threshold value VDD1.
[0066] Furthermore, the threshold comparison module 400 is also used to shut down the startup module 300 after the reference module 100 is started. In this way, the startup module 300 can be turned off only when the reference voltage V REF During the establishment process, after the circuit is started, the start-up module 300 is turned off to reduce the power consumption of the circuit and avoid the start-up module 300 affecting the circuit operation when the circuit is working.
[0067] Furthermore, the threshold comparison module 400 is also used to monitor the power supply voltage VDD after the power supply is powered on, and when it is detected that the power supply has changed and the power supply voltage VDD is less than the second threshold (recorded as VDD2), the reset signal Porb is controlled to change to a valid state to trigger the POR circuit to reset again. In this way, the power-on reset circuit in the present disclosure can realize dynamic monitoring of the power supply voltage and realize corresponding reset response to power-on speeds of different power supply voltages.
[0068] refer to Figure 2a and Figure 2b , Figure 2a A schematic diagram of the circuit structure of a reference module and a fast power-on detection module in a power-on reset circuit provided according to an embodiment of the present disclosure is shown. Figure 2b A schematic diagram of the circuit structure of the startup module and the threshold comparison module in the power-on reset circuit provided according to an embodiment of the present disclosure is shown. In one embodiment of the present disclosure, the reference module 100 includes: a first transistor Mp1, a second transistor Mp2, a first triode Q0, a second triode Q1, a first capacitor C0, a second capacitor C1, a first resistor R0 and a second resistor R1. Among them, the source of the first transistor Mp1 is connected to the power supply terminal, and the gate of the first transistor Mp1 (i.e., corresponding to the first node) is connected to the drain of the first transistor Mp1. The source of the second transistor Mp2 is connected to the power supply terminal, and the gate of the second transistor Mp2 is connected to the gate of the first transistor Mp1. The collector of the first triode Q0 is connected to the drain of the first transistor Mp1, and the emitter of the first triode Q0 is connected to the reference ground through the first resistor R0. The collector of the second transistor Q1 is connected to the drain of the second transistor Mp2 through the second resistor R1, the emitter of the second transistor Q1 is connected to the reference ground, and the base of the second transistor Q1 (i.e., corresponding to the second node) is connected to the base of the first transistor Q0 and the collector of the second transistor Q1 respectively. The first capacitor C0 is connected between the drain of the second transistor Mp2 and the reference ground; the second capacitor C1 is connected between the power supply terminal and the gate of the first transistor Mp1. Among them, the first transistor Mp1 and the second transistor Mp2 are both PMOS transistors, the first transistor Q0 and the second transistor Q1 are both NPN transistors, and the reference module 100 generates a reference voltage V at the drain of the second transistor Mp2. REF .
[0069] Based on the circuit structure of the reference module 100, it can be seen that the first transistor Mp1 and the second transistor Mp2 form a current mirror, and the reference voltage V generated by the reference module 100 REF It is a stable voltage that is independent of temperature and power supply.
[0070] In this embodiment, the fast power-on detection module 200 includes: a third transistor Mp3, a fourth transistor Mn1, a third resistor R2, a third capacitor C2, a fourth capacitor C3 and a buffer U1. The source of the third transistor Mp3 is connected to the power supply terminal, the drain of the third transistor Mp3 is connected to the reference ground through the third capacitor C2, and the gate of the third transistor Mp3 is connected to the first node (i.e., connected to the gate of the first transistor Mp1). The source of the fourth transistor Mn1 is connected to the reference ground, the drain of the fourth transistor Mn1 is connected to the power supply terminal through the fourth capacitor C3, and the gate of the fourth transistor Mn1 is connected to the drain of the third transistor Mp3. The third resistor R2 is connected between the drain of the fourth transistor Mn1 and the reference ground. The power supply terminal of the buffer U1 is connected to the power supply terminal and the reference ground respectively, the input terminal of the buffer U1 is connected to the drain of the fourth transistor Mn1, and the output terminal of the buffer U1 (i.e., corresponding to the third node) generates a control signal pwr_kick. Among them, the third transistor Mp3 is a PMOS transistor, and the fourth transistor Mn1 is an NMOS transistor.
[0071] In this embodiment, the startup 300 module includes: a fifth transistor Mp6, a sixth transistor Mp7, a fourth resistor R3, a fifth resistor R4 and a fifth capacitor C4. The source of the fifth transistor Mp6 is connected to the power supply terminal, the drain of the fifth transistor Mp6 is connected to the second node (i.e., connected to the base of the second transistor Q1) through the fourth resistor R3, and the gate of the fifth transistor Mp6 is connected to the fourth node. The source of the sixth transistor Mp7 is connected to the power supply terminal, the drain of the sixth transistor Mp7 is connected to the first power supply terminal of the comparator U1 through the fifth resistor R4, and the gate of the sixth transistor Mp7 is connected to the fourth node (i.e., connected to the gate of the fifth transistor Mp6). The fifth capacitor C4 is connected between the fourth node and the reference ground (i.e., connected between the gate of the fifth transistor Mp6 and the reference ground). Among them, the fifth transistor Mp6 and the sixth transistor Mp7 are both PMOS transistors.
[0072] In this embodiment, the threshold comparison module 400 includes: a comparator U2, a seventh transistor Mp4, an eighth transistor Mp5, a ninth transistor Mp8, a tenth transistor Mn2, a sixth resistor R D0 , the seventh resistor R D1 , the eighth resistor R D2 , the sixth capacitor C D1 and the seventh capacitor C D2The source of the seventh transistor Mp4 is connected to the power supply terminal, the gate of the seventh transistor Mp4 is connected to the first node, and the drain of the seventh transistor Mp4 is connected to the fourth node. The source of the eighth transistor Mp5 is connected to the power supply terminal, the gate of the eighth transistor Mp5 is connected to the first node, and the drain is connected to the first power supply terminal of the comparator U2, and the second power supply terminal of the comparator U2 is connected to the reference ground. The sixth resistor R D0 The seventh resistor R D1 and the eighth resistor R D2 The source of the ninth transistor Mp8 is connected to the fourth node, the drain of the ninth transistor Mp8 is connected to the fourth node through the sixth resistor, and the gate of the ninth transistor Mp8 is connected to the output terminal of the comparator U2. The drain of the tenth transistor Mn2 is connected to the inverting input terminal of the comparator U2, the source of the tenth transistor Mn2 is connected to the reference ground, and the gate of the tenth transistor Mn2 is connected to the third node. The sixth capacitor C D1 Connected between the power supply terminal and the inverting input terminal of the comparator U2. D2 Connected between the inverting input terminal of comparator U2 and the reference ground. The non-inverting input terminal of comparator U2 receives the reference voltage V REF , and the inverting input terminal of the comparator U2 is also connected through the eighth resistor R D2 The seventh transistor Mp4, the eighth transistor Mp5 and the ninth transistor Mp8 are all PMOS transistors, and the tenth transistor Mn2 is an NMOS transistor.
[0073] refer to Figure 3 and Figure 4 , Figure 3 The following is a timing waveform diagram of each voltage signal in the power-on reset circuit during slow power-on provided by an embodiment of the present disclosure, Figure 4 The timing waveform diagram of each voltage signal in the power-on reset circuit during fast power-on provided by the embodiment of the present disclosure is shown, and its working principle is as follows:
[0074] 1) Startup process:
[0075] Before the power supply voltage VDD is powered on, no charge is stored in the capacitors in the power-on reset circuit, and the initial voltage of each node in the circuit is "0".
[0076] When the power supply voltage VDD starts to power up (corresponding to Figure 3 The t0 moment and Figure 4 t in 10 At the moment, the second capacitor C1 senses the power supply voltage VDD, so that the voltage V pgThe reference voltage V REF , the voltage V on the second node BE The voltage sw_vdd at the fourth node is also in a zero potential state.
[0077] At time t1, the power supply voltage VDD is higher than the conduction threshold voltage of the fifth transistor Mp6 and the sixth transistor Mp7, so that the fifth transistor Mp6 and the sixth transistor Mp7 are turned on, and the startup module 300 is turned on, and then the working current is injected into the base of the second transistor Q1 in the second node, that is, the reference module 100 and the first power supply terminal of the comparator U2 in the threshold comparison module 400, respectively, so that the voltage V BE The voltage value of is raised, and the reference module 100 is started. At the same time, the comparator U2 starts to work.
[0078] After the reference module 100 is started, the voltage V pg The voltage at the first transistor Mp1 is lower than the power supply voltage VDD, so that a first bias current I1 is generated on the first transistor Mp1. At the same time, due to the mirror relationship between the first transistor Mp1 and the second transistor Mp2, a second bias current I2 mirrored from the first bias current I1 is also generated on the second transistor Mp2. At the same time, based on the mirror relationship between the first transistor Mp1 and the third transistor Mp3, the seventh transistor Mp4 and the eighth transistor Mp5, respectively, a third bias current I3, a fourth bias current I4 and a fifth bias current I5 corresponding to the first bias current I1 are established on the third transistor Mp3, the seventh transistor Mp4 and the eighth transistor Mp5. At this time, with the establishment of the power supply voltage VDD, at time t2, the pull-up capability of the seventh transistor Mp4 on the fourth node is stronger than that of the sixth resistor R D0 , the seventh resistor R D1 and the eighth resistor R D2 The pull-down capability of the fourth node pulls up the voltage sw_vdd on the fourth node and changes with the power supply voltage VDD, thereby turning off the fifth transistor Mp6 and the sixth transistor Mp7, and controlling the startup module 300 to be turned off.
[0079] 2) Slow power-on process:
[0080] Combination Figure 2a , Figure 2b and Figure 3 After the reference module 100 is started, the bias currents I1 to I5 are established. The third bias current I3 charges the third capacitor C2, so that the voltage V on the drain of the third transistor Mp3 ng Gradually increase.
[0081] At time t3, the voltage V ng The voltage of the fourth transistor Mn1 is higher than the conduction threshold voltage of the fourth transistor Mn1, so that the fourth transistor Mn1 is turned on as a pull-down transistor, thereby increasing the input voltage V x Pull low, voltage V x After being shaped by the buffer U1, a low-level control signal pwr_kick is output at the third node.
[0082] The voltage V received by the inverting input terminal of the comparator U2 DIV It is generated by dividing the voltage sw_vdd. After time t2, the voltage sw_vdd is equal to the power supply voltage VDD, that is, the voltage V DIV The power supply voltage VDD is equivalent to voltage division. Since the power supply voltage VDD has a slow power-up speed and is lower than the reference voltage V REF The establishment speed makes the voltage V REF is greater than the voltage V at its inverting input DIV , and the comparison signal cmp output by the comparator U2 is high level (the voltage value is equivalent to the power supply voltage VDD). Since the reset signal Porb is output after the control signal pwr_kick and the comparison signal cmp are not ORed, the reset signal Porb is low level at this time.
[0083] At time t4, the power supply voltage VDD exceeds the first threshold voltage VDD1, thereby making the voltage after voltage division V DIV At a voltage greater than the reference voltage V REF The comparator U2 starts to output a low-level comparison signal cmp at time t4, and finally changes the reset signal Porb from a low-level valid state to a high-level invalid state, completing the power-on reset of the power supply voltage. DIV With reference voltage V REF The first threshold voltage VDD1 when the magnitude relationship of is reversed can be calculated by formula (1):
[0084]
[0085] At the same time, during the normal working phase after the circuit is powered on, the voltage V ng It will gradually rise to a state with the same potential as the power supply voltage VDD. At this time, no current flows through the third transistor Mp3, and the current I4 is only the current flowing through the resistor. The current works dynamically during the power-on process, achieving low power consumption characteristics.
[0086] 3) Fast power-on process:
[0087] Combination Figure 2a , Figure 2b and Figure 4, when the power supply voltage VDD is powered up quickly, that is, the reference voltage V REF The establishment speed of is lower than the power-on speed of the power supply voltage VDD, and at this time the fast power-on detection module 300 is activated to work.
[0088] First, the fourth capacitor C3 senses the power supply voltage VDD, causing the voltage V x Following the rapid change of the power supply voltage VDD, the voltage V x The control signal pwr_kick generated after being shaped by the buffer U1 is in a high level state.
[0089] In t 11 At this moment, the power supply voltage VDD completes the fast power-up, and the high-level control signal pwr_kick turns on the tenth transistor Mn2, thereby increasing the inverting input voltage V DIV Pulling down to a low level ensures that the reference voltage V REF Before the establishment, the voltage at the non-inverting terminal of the comparator U2 is always greater than the voltage at the inverting terminal thereof. At this time, the comparison signal cmp output by the comparator U2 is always in a high level state, and finally the reset signal Porb is in a low level state in this stage.
[0090] In t 12 At this moment, the reference voltage V REF The bias currents I1 to I5 are established, and the third bias current I3 starts to charge the third capacitor C2, so that the voltage V ng Gradually increase.
[0091] In t 13 At this moment, the voltage V ng is higher than the conduction threshold voltage of the fourth transistor Mn1, so that the fourth transistor Mn1 is turned on as a pull-down transistor, thereby x Pull down, so that the control signal pwr_kick becomes low level, and the voltage V DIV Start to rise.
[0092] At the same time, the seventh capacitor C D2 and the eighth resistor R D2 Form an RC network so that the voltage V DIV The time constant τ is established, where τ = R D2 *C D2 .
[0093] In t 14 At this moment, the voltage V DIV The voltage value exceeds the reference voltage V REFThe voltage value of makes the comparison signal cmp at the output of comparator U2 become low level, and finally makes the reset signal Porb change from low level to high level, completing the power-on reset of the power supply voltage. DIV The final voltage value is:
[0094]
[0095] It should be noted that in this process, due to the reference voltage V REF The establishment speed is slower than the power-on speed of the power supply voltage VDD, so that the pulse width of the reset signal Porb is mainly determined by the time constant τ of the RC network. D2 The capacitance and the eighth resistor R D2 When the resistance value of remains unchanged, the time constant τ is also basically fixed, so the power-on reset circuit in the present disclosure can keep the pulse width of the reset signal Porb roughly the same during the fast power-on process with different power-on speeds, thereby effectively achieving the stability of the reset signal Porb.
[0096] Based on the above description, it can be known that the power-on reset circuit in the present disclosure can ensure that corresponding reset responses can be made for power supply voltages with different power-on speeds based on the fast power-on detection module 200 and the threshold comparison module 400, especially during the fast power-on process, it can ensure that the pulse width of the reset signal Porb basically does not change with the change of the power-on speed of the power supply voltage, and has higher stability and reliability.
[0097] 4) Power supply voltage monitoring (power-off monitoring) process:
[0098] Combination Figure 2a , Figure 2b and Figure 3 After the power-on reset circuit is reset, the comparison signal cmp output by the comparator U2 is at a low level, so that the ninth transistor Mp8 is turned on, and the sixth resistor R D0 Short circuit, the voltage V DIV For only the seventh resistor R D1 and the eighth resistor R D2 Generated by dividing the power supply voltage VDD.
[0099] After the power supply voltage VDD starts to lose power, at time t5, the power supply voltage VDD is lower than the threshold voltage VDD2. REF >V DIV , and then the comparison signal cmp output by the comparator U2 becomes high level, and finally the reset signal Porb changes from high level to low level, triggering the POR circuit to reset again. Among them, the second threshold voltage VDD2 can be calculated by formula (3):
[0100]
[0101] At t6, the power supply voltage VDD is powered off, causing the reference voltage V REF The voltage value starts to decrease and becomes "0" at time t7.
[0102] Furthermore, it can be seen from equations (1) and (3) that the first threshold voltage VDD1 corresponding to the power-on process of the power supply voltage VDD is different from the second threshold voltage VDD2 corresponding to the power-off process thereof, specifically, VDD1>VDD2, thereby generating a hysteresis voltage of ΔV (=VDD1-VDD2), thereby realizing the hysteresis characteristics of the circuit.
[0103] Similarly, after the reset is completed, if the power supply voltage VDD produces a glitch or a short pulse, causing the power supply voltage to change, the sixth capacitor C D1 and the seventh capacitor C D2 The power supply voltage VDD is divided. At this time, if the drop depth of the power supply voltage VDD is shallow, that is, the voltage change value V drp If the voltage drop of the power supply voltage VDD exceeds the second threshold voltage VDD2, the voltage change value VDD of the power supply voltage VDD will not be triggered. drp >VDD-VDD2, the reset signal Porb will be triggered to flip and reset again. In this way, dynamic monitoring of the power supply voltage VDD is achieved, and the reliability of the reset signal Porb is further guaranteed.
[0104] In order to ensure accurate monitoring of the power supply voltage VDD, in the power-on reset circuit disclosed in the present invention, the sixth capacitor C D1 and the seventh capacitor C D2 The capacitance of the sixth resistor R D0 , the seventh resistor R D1 and the eighth resistor R D2 The resistance values should satisfy the following relationship:
[0105]
[0106] On the other hand, the present disclosure also relates to an integrated circuit, wherein the integrated circuit comprises the Figures 1 to 4 The power-on reset circuit described in.
[0107] In summary, the power-on reset circuit and integrated circuit involved in the present disclosure use a fast power-on detection module to be activated when the power supply voltage is powered on quickly, and generate a control signal of a corresponding state according to the different power-on speeds of the power supply voltage, which can ensure that the power supply voltage can respond normally during slow power-on and fast power-on. At the same time, a threshold comparison module is used to control the input end of the comparator according to control signals of different level states, so as to achieve a reset signal that meets the conditions according to the requirements of the system power supply voltage at different power-on speeds. In the process of generating the reset signal, since the corresponding control signal is used to ensure the stability of the reset signal, and there is no series-parallel relationship between the corresponding slow power-on reset signal and the corresponding fast power-on reset signal in the existing power-on reset circuit, the reliability and stability are higher, and a high-reliability reset is achieved.
[0108] On the other hand, the threshold comparison module in the present invention can also monitor the power supply voltage after the power supply is powered on, and change the state of the reset signal after the power supply voltage changes and exceeds a certain threshold to trigger the POR circuit to reset again, thereby realizing dynamic monitoring of the power supply voltage and further ensuring the reliability of the reset signal.
[0109] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0110] Finally, it should be noted that: Obviously, the above embodiments are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from this are still within the scope of protection of the present invention.
Claims
1. A power-on reset circuit, wherein: include: A reference module for generating a reference voltage and a number of bias currents; A fast power-on detection module, connected to the reference module at the first node, configured to be activated when the power supply is powered on quickly and to generate a control signal of a corresponding state according to different power-on speeds; A threshold comparison module, connected to the reference module at a first node, and connected to the fast power-on detection module at a third node, for generating a comparison signal according to the comparison between the reference voltage and the threshold voltage; a startup module, connected to the reference module at a second node and to the first power supply terminal of the comparator in the threshold comparison module, for raising the voltage of the second node to start the reference module during the establishment of the reference voltage, and for providing current to the comparator during the establishment of the reference voltage; A NOR gate is connected to the output end of the threshold comparison module and the third node respectively, and is used to generate a reset signal according to the comparison signal and the control signal, wherein the reset signal is used to reset the control circuit when valid, and the reset signal is valid when it is at a low level. The level states of the control signal generated by the fast power-on detection module are different at different power-on speeds, and the comparison process of the threshold comparison module is controlled by the different level states of the control signal to ensure that the power supply voltages at different power-on speeds can respond normally. And the threshold comparison module has a hysteresis characteristic.
2. The power-on reset circuit according to claim 1, wherein: The threshold comparison module is also connected to the startup module at a fourth node, and the threshold comparison module is further used to shut down the startup module after the reference module is started.
3. The power-on reset circuit according to claim 1, wherein: In the power-on stage, the reset signal is in a valid state when the power voltage is less than a first threshold value, and is in an invalid state when the power voltage is greater than the first threshold value.
4. The power-on reset circuit according to claim 3, wherein: The threshold comparison module is further used to monitor the power supply voltage after the power supply is powered on, and control the reset signal to change to a valid state when it is detected that the power supply changes and the power supply voltage is less than a second threshold.
5. The power-on reset circuit according to claim 4, wherein: The first threshold and the second threshold have different numerical values.
6. The power-on reset circuit according to claim 2, wherein: The reference module comprises: A first transistor, a source electrode connected to a power supply terminal, and a gate electrode connected to a drain electrode; a second transistor, having a source connected to the power supply terminal and a gate connected to the gate of the first transistor; A first triode, a collector connected to the drain of the first transistor, and an emitter connected to a reference ground via a first resistor; a second triode, the collector of which is connected to the drain of the second transistor via a second resistor, the emitter of which is connected to the reference ground, and the base of which is respectively connected to the base of the first triode and the collector of the second triode; a first capacitor connected between the drain of the second transistor and a reference ground; a second capacitor connected between a power supply terminal and the gate of the first transistor, The first transistor and the second transistor are both PMOS transistors, the first triode and the second triode are both NPN triodes, The gate of the first transistor is connected to the first node, the base of the second transistor is connected to the second node, and the reference module generates the reference voltage at the drain of the second transistor.
7. The power-on reset circuit according to claim 6, wherein: The fast power-on detection module comprises: a third transistor, having a source connected to the power supply terminal, a drain connected to the reference ground via a third capacitor, and a gate connected to the first node; a fourth transistor, having a source connected to the reference ground, a drain connected to the power supply terminal via a fourth capacitor, and a gate connected to the drain of the third transistor; a third resistor connected between the drain of the fourth transistor and a reference ground; A buffer, wherein the power supply end is respectively connected to the power supply end and the reference ground, the input end is connected to the drain of the fourth transistor, and the output end generates the control signal, The third transistor is a PMOS transistor, the fourth transistor is an NMOS transistor, An output terminal of the buffer is connected to the third node.
8. The power-on reset circuit according to claim 7, wherein: The startup module includes: a fifth transistor, having a source connected to the power supply terminal, a drain connected to the second node via a fourth resistor, and a gate connected to the fourth node; a sixth transistor, having a source connected to the power supply terminal, a drain connected to the first power supply terminal of the comparator through a fifth resistor, and a gate connected to the fourth node; a fifth capacitor connected between the fourth node and a reference ground, Wherein, the fifth transistor and the sixth transistor are both PMOS transistors.
9. The power-on reset circuit according to claim 8, wherein: The threshold comparison module also includes: a seventh transistor, having a source connected to the power supply terminal, a gate connected to the first node, and a drain connected to the fourth node; an eighth transistor, a source connected to the power supply terminal, a gate connected to the first node, and a drain connected to the first power supply terminal of the comparator; a sixth resistor, a seventh resistor and an eighth resistor, wherein the sixth resistor, the seventh resistor and the eighth resistor are sequentially connected in series between the fourth node and a reference ground; a ninth transistor, having a source connected to the fourth node, a drain connected to the fourth node via the sixth resistor, and a gate connected to the output terminal of the comparator; a tenth transistor, having a drain connected to the inverting input terminal of the comparator, a source connected to the reference ground, and a gate connected to the third node; a sixth capacitor connected between a power supply terminal and an inverting input terminal of the comparator; a seventh capacitor connected between the inverting input terminal of the comparator and the reference ground, The non-inverting input terminal of the comparator receives the reference voltage, and the inverting input terminal of the comparator is also connected to the reference ground through the eighth resistor, and The seventh transistor, the eighth transistor and the ninth transistor are all PMOS transistors, and the tenth transistor is an NMOS transistor.
10. The power-on reset circuit according to claim 9, wherein: The ratio of the sum of the resistance values of the sixth resistor and the seventh resistor to the resistance value of the eighth resistor is the same as the ratio of the capacitance values of the seventh capacitor to the sixth capacitor.
11. An integrated circuit, wherein: The invention comprises a power-on reset circuit as claimed in any one of claims 1 to 10.
Citation Information
Patent Citations
Power on / off detection reset circuit
CN104601151A
Low power reset circuit
CN107272856A
