Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a power-on reset circuit and a method, wherein the circuit has accurate trigger point, is insensitive to process angle and temperature change, has the trigger point within +/-100mV along with the process angle, temperature and power supply voltage, does not rise along with the rise of the power supply voltage, and has small area and low cost.
To achieve the above object, a first aspect of the present invention provides a power-on reset circuit, including:
The voltage divider comprises a voltage division MOS tube and a voltage division resistor, and is provided with a voltage division output point for generating trigger voltage division and adjusting the power consumption of the power-on reset circuit;
the hysteresis device comprises a hysteresis MOS tube which is electrically connected with the voltage division output point and is used for avoiding reset voltage jitter caused by power voltage jitter;
the input end of the comparator is electrically connected with the voltage division output point, and the output end of the comparator is electrically connected with the input end of the hysteresis device and is used for converting the trigger voltage division into logic signals;
And the input end of the buffer is electrically connected with the output end of the comparator, and the output end of the buffer is used as the output end of the power-on reset circuit to output reset voltage for increasing the driving capability of the power-on reset circuit.
The first aspect of the present invention provides a power-on reset method performed in the power-on reset circuit, including:
Generating the trigger voltage division through the voltage division MOS tube and the voltage division resistor and adjusting the power consumption of the power-on reset circuit;
The trigger voltage division is transmitted to the input ends of the hysteresis and the comparator at the same time;
The hysteresis device performs signal hysteresis through the trigger voltage division and the output signal of the comparator, so that reset voltage jitter caused by power voltage jitter is avoided;
the comparator converts the trigger voltage division into a logic signal and outputs the logic signal to the buffer;
the buffer converts the logic signal output by the comparator into a driving signal to drive an external circuit.
The beneficial effects of the invention include:
(1) The power-on reset circuit provided by the invention has the advantages that the trigger point is accurate, insensitive to process angle and temperature change, the trigger point is within +/-100mV along with the process angle, temperature and power supply voltage, and does not rise along with the rise of the power supply voltage, and the power-on reset circuit is small in area and low in cost.
(2) The power-on reset circuit provided by the invention has the advantages that the power consumption is controlled by the electric leakage of the intrinsic NMOS tube, the power consumption does not rise along with the rising of the power supply voltage, and the current of a voltage divider channel can be flexibly changed through the resistance value of the voltage dividing resistor, so that the extremely low power consumption target of the whole design is realized.
(3) According to the power-on reset circuit, the current is controlled by controlling the gate-source voltage of the intrinsic NMOS tube, so that the design of extremely low power consumption is realized, and meanwhile, the use of a large-size MOS tube is avoided, so that the cost is saved.
(4) The power-on reset circuit provided by the invention has the advantages that the trigger voltage division is controlled by the intrinsic NMOS tube, the first voltage division NMOS tube and the second voltage division NMOS tube, and the three are NMOS transistors, so that better process and temperature following can be realized, and the trigger voltage division is smaller in different processes and temperatures.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Detailed Description
Preferred embodiments of the present invention will be described in more detail below. While the preferred embodiments of the present invention are described below, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein.
In the present invention, unless otherwise indicated, terms of orientation such as "upper and lower" are used to generally refer to the upper and lower portions of the device in normal use, and "inner and outer" are used with respect to the profile of the device. Furthermore, the terms "first, second, third and the like" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first, second, third" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The present invention provides a power-on reset circuit, as shown in fig. 3, comprising:
The voltage divider comprises a voltage division MOS tube and a voltage division resistor R0, and is provided with a voltage division output point A for generating trigger voltage division and adjusting the power consumption of the power-on reset circuit;
the hysteresis device comprises a hysteresis MOS tube which is electrically connected with the voltage division output point A and is used for avoiding reset voltage jitter caused by power supply VDD voltage jitter;
The input end of the comparator is electrically connected with the voltage division output point A, and the output end of the comparator is electrically connected with the input end of the hysteresis device and is used for converting the triggering voltage division into logic signals;
And the input end of the buffer is electrically connected with the output end B of the comparator, and the output end is used as the output end PORB of the power-on reset circuit to output reset voltage for increasing the driving capability of the power-on reset circuit.
In the invention, the trigger point is accurate, insensitive to process angle and temperature change, the trigger point is within +/-100mV along with the process angle, temperature and power supply VDD voltage change range, and does not rise along with the power supply VDD voltage rise, and the invention has small area and low cost.
According to the invention, the voltage division MOS tube comprises an intrinsic NMOS tube M2, a first voltage division NMOS tube M1 and a second voltage division NMOS tube M0;
the drain electrode of the intrinsic NMOS tube M2 is electrically connected with a power supply VDD, and the source electrode is electrically connected with one end of a divider resistor R0;
the other end of the divider resistor R0 is electrically connected with the grid electrode of the intrinsic NMOS tube M2 and the drain electrode of the first divider NMOS tube M1 at the same time and is used as a divider output point A;
the source electrode of the first voltage division NMOS tube M1 is electrically connected with the drain electrode of the second voltage division NMOS tube M0, and the grid electrode is electrically connected with the power supply VDD;
The source electrode of the second voltage division NMOS tube M0 is electrically connected with the ground GND, and the grid electrode is electrically connected with the drain electrode of the second voltage division NMOS tube M0.
In the invention, the power consumption is controlled by the electric leakage of the intrinsic NMOS tube M2, does not rise along with the rising of the voltage of the power supply VDD, and can flexibly change the current of a voltage divider passage through the resistance value of the voltage dividing resistor R0, thereby realizing the aim of extremely low power consumption of the whole design.
In the invention, the gate-source voltage of the intrinsic NMOS tube M2 is controlled to control the current, so that the design of extremely low power consumption is realized, and meanwhile, the use of a large-size MOS tube is avoided, thereby saving the cost.
In the invention, the trigger voltage division is controlled by the intrinsic NMOS tube M2, the first voltage division NMOS tube M1 and the second voltage division NMOS tube M0, and the three are NMOS transistors, so that better process and temperature following can be realized, and the voltage of the trigger point is less changed under different processes and temperatures.
In the invention, the trigger point voltage refers to the voltage of the corresponding power supply at the moment when the reset voltage suddenly changes from the logic low level to the logic high level or from the logic high level to the logic low level along with the rising or falling of the power supply, and the trigger voltage division is the voltage generated by the trigger point voltage at the voltage division output point A of the voltage divider, as shown in figure 3.
According to the invention, the hysteresis NMOS tube comprises a first hysteresis NMOS tube M4 and a second hysteresis NMOS tube M3;
the drain electrode of the first hysteresis NMOS tube M4 is electrically connected with the voltage division output point A, and the source electrode is electrically connected with the drain electrode of the second hysteresis NMOS tube M3;
The source electrode of the second hysteresis NMOS tube M3 is electrically connected with the ground GND, and the grid electrode is electrically connected with the drain electrode of the second hysteresis NMOS tube M.
According to the invention, the comparator comprises a comparison PMOS tube M6 and a comparison NMOS tube M5;
the source electrode of the comparison PMOS tube M6 is electrically connected with the power supply VDD, and the drain electrode of the comparison NMOS tube M5 is electrically connected with the drain electrode;
the source electrode of the comparison NMOS tube M5 is electrically connected with the ground GND, and the drain electrode of the comparison NMOS tube M5 is electrically connected with the grid electrode of the first hysteresis NMOS tube M4;
The gates of the comparison PMOS tube M6 and the comparison NMOS tube M5 are electrically connected with the voltage division output point A at the same time.
Preferably, the buffer comprises at least two stages of buffer units connected in series;
the input end of the first-stage buffer unit is electrically connected with the drain electrode of the comparison NMOS tube M5;
The output end of the final buffer unit is used as the output end PORB of the power-on reset circuit;
the input end of each stage of buffer unit is electrically connected with the output end of the previous stage of buffer unit except the final stage;
The number of the buffer units connected in series in at least two stages is even.
Preferably, each stage of buffer unit comprises a buffer PMOS tube and a buffer NMOS tube;
the source electrode of the buffer PMOS tube is electrically connected with the power supply VDD, and the drain electrode of the buffer PMOS tube is electrically connected with the drain electrode of the buffer NMOS tube;
The source electrode of the buffer NMOS tube is electrically connected with the ground GND;
the grid electrodes of the buffer PMOS tube and the buffer NMOS tube are electrically connected with each other and serve as the input end of the buffer unit;
the drain electrode of the buffer NMOS tube is used as the output end of the buffer unit.
The invention also provides a power-on reset method performed in the power-on reset circuit, which comprises the following steps:
Triggering voltage division is generated through a voltage division MOS tube and a voltage division resistor R0, and the power consumption of a power-on reset circuit is adjusted;
The trigger voltage division is transmitted to the input ends of the hysteresis and the comparator at the same time;
the hysteresis device performs signal hysteresis by triggering the voltage division and the output signal of the comparator, so that reset voltage jitter caused by power supply VDD voltage jitter is avoided;
the comparator converts the trigger voltage division into a logic signal and outputs the logic signal to the buffer;
the buffer converts the logic signal output by the comparator into a driving signal to drive an external circuit.
According to the invention, the generation of the trigger voltage division and the adjustment of the power consumption of the power-on reset circuit through the voltage division MOS tube and the voltage division resistor R0 comprises the following steps:
When the voltage of the power supply VDD is lower than the sum of threshold voltages of the first voltage dividing NMOS tube M1 and the second voltage dividing NMOS tube M0, the first voltage dividing NMOS tube M1 and the second voltage dividing NMOS tube M0 are not conducted, the intrinsic NMOS tube M2 is conducted without current, and the voltage division is triggered to be high level;
When the voltage of the power supply VDD is not less than the sum of the threshold voltages of the first voltage dividing NMOS transistor M1 and the second voltage dividing NMOS transistor M0 and gradually increases, the voltage between the source and the drain of the intrinsic NMOS transistor M2 gradually increases, the current flowing through the voltage gradually increases, the voltage between the gate and the source gradually decreases, and the value of the voltage is equal to the negative value of the product of the current flowing through the intrinsic NMOS transistor M2 and the voltage dividing resistor R0, in this process, the intrinsic NMOS transistor M2 works in a linear region and triggers the voltage dividing to gradually decrease;
when the power supply VDD voltage increases to the trigger point voltage, the trigger voltage division is low enough to cause the reset voltage to jump from a logic low level to a logic high level;
When the voltage of the power supply VDD continues to increase, so that the decrease of the voltage between the gate and the source of the intrinsic NMOS transistor M2 causes the decrease of the current flowing through the intrinsic NMOS transistor M2 to exceed the increase of the voltage between the source and the drain, so that the current flowing through the intrinsic NMOS transistor M2 works in a saturation region, the current flowing through the intrinsic NMOS transistor M2 remains unchanged, and the value of the trigger voltage division is close to the voltage of the gate and the source of the second voltage division NMOS transistor M0 and remains unchanged;
The current flowing through the voltage divider channel is regulated by regulating the size of the voltage regulating resistor, so that the power consumption of the power-on reset circuit is regulated.
Preferably, the hysteresis device performs signal hysteresis by triggering the voltage division and the output signal of the comparator, and avoiding reset voltage jitter caused by power supply VDD voltage jitter includes:
When the trigger voltage division is at a high level, the output voltage of the comparator is at a low level, and the hysteresis is turned off;
When the trigger voltage is gradually reduced to the threshold voltage of the comparator, the output voltage of the comparator is high level, the first hysteresis NMOS tube M4 is turned on due to the rising of the grid voltage, the second hysteresis NMOS tube M3 is turned on accordingly to continuously pull down the trigger voltage, and if the power supply VDD voltage in the power-down process is reduced to the trigger point voltage in the rising of the power supply VDD, the trigger voltage prevents the reset voltage from changing from the logic high level to the logic low level unless the power supply VDD voltage is continuously reduced, so that reset voltage jitter caused by the shaking of the power supply VDD voltage is avoided.
According to the present invention, a buffer for converting a logic signal output from a comparator into a driving signal to drive an external circuit includes:
The logic signals output by the comparator are converted into driving signals in a grading way through at least two stages of buffer units connected in series to drive an external circuit.
The present invention will be described in more detail with reference to the following examples.
Example 1
As shown in fig. 3, the present embodiment provides a power-on reset circuit, including:
The voltage divider comprises a voltage division MOS tube and a voltage division resistor R0, and is provided with a voltage division output point A for generating trigger voltage division and adjusting the power consumption of the power-on reset circuit;
the hysteresis device comprises a hysteresis MOS tube which is electrically connected with the voltage division output point A and is used for avoiding reset voltage jitter caused by power supply VDD voltage jitter;
The input end of the comparator is electrically connected with the voltage division output point A, and the output end of the comparator is electrically connected with the input end of the hysteresis device and is used for converting the triggering voltage division into logic signals;
The input end of the buffer is electrically connected with the output end B of the comparator, and the output end is used as the output end PORB of the power-on reset circuit to output reset voltage for increasing the driving capability of the power-on reset circuit;
The voltage division MOS tube comprises an intrinsic NMOS tube M2, a first voltage division NMOS tube M1 and a second voltage division NMOS tube M0;
the drain electrode of the intrinsic NMOS tube M2 is electrically connected with a power supply VDD, and the source electrode is electrically connected with one end of a divider resistor R0;
the other end of the divider resistor R0 is electrically connected with the grid electrode of the intrinsic NMOS tube M2 and the drain electrode of the first divider NMOS tube M1 at the same time and is used as a divider output point A;
the source electrode of the first voltage division NMOS tube M1 is electrically connected with the drain electrode of the second voltage division NMOS tube M0, and the grid electrode is electrically connected with the power supply VDD;
the source electrode of the second voltage division NMOS tube M0 is electrically connected with the ground GND, and the grid electrode is electrically connected with the drain electrode of the second voltage division NMOS tube M0;
the hysteresis NMOS tube comprises a first hysteresis NMOS tube M4 and a second hysteresis NMOS tube M3;
the drain electrode of the first hysteresis NMOS tube M4 is electrically connected with the voltage division output point A, and the source electrode is electrically connected with the drain electrode of the second hysteresis NMOS tube M3;
the source electrode of the second hysteresis NMOS tube M3 is electrically connected with the ground GND, and the grid electrode is electrically connected with the drain electrode of the second hysteresis NMOS tube M3;
the comparator comprises a comparison PMOS tube M6 and a comparison NMOS tube M5;
the source electrode of the comparison PMOS tube M6 is electrically connected with the power supply VDD, and the drain electrode of the comparison NMOS tube M5 is electrically connected with the drain electrode;
the source electrode of the comparison NMOS tube M5 is electrically connected with the ground GND, and the drain electrode of the comparison NMOS tube M5 is electrically connected with the grid electrode of the first hysteresis NMOS tube M4;
The grid electrodes of the comparison PMOS tube M6 and the comparison NMOS tube M5 are electrically connected with the voltage division output point A at the same time;
in this embodiment, the buffer includes two stages of buffer units connected in series;
the input end of the first-stage buffer unit is electrically connected with the drain electrode of the comparison NMOS tube M5;
the output end of the second-stage buffer unit is used as the output end PORB of the power-on reset circuit;
the input end of the second-stage buffer unit is electrically connected with the output end of the first-stage buffer unit;
In the embodiment, the first-stage buffer unit comprises a first buffer PMOS tube M8 and a second buffer NMOS tube M7, and the second-stage buffer unit comprises a second buffer PMOS tube M10 and a second buffer NMOS tube M9;
the source electrode of each stage of buffer PMOS tube is electrically connected with the power supply VDD, and the drain electrode is electrically connected with the drain electrode of the buffer NMOS tube;
The source electrode of each stage of buffer NMOS tube is electrically connected with the ground GND;
The grid electrodes of each stage of buffer PMOS tube and buffer NMOS tube are mutually and electrically connected and serve as the input end of the buffer unit;
the drain electrode of each stage of buffer NMOS tube is used as the output end of the buffer unit.
The embodiment provides a power-on reset method, which includes:
When the voltage of the power supply VDD is lower, the second voltage division NMOS tube M0 or the first voltage division NMOS tube M1 is not conducted, and the voltage divider channel is closed, the intrinsic NMOS tube M2 can be conducted but no current flows, vgs=0 and Vds=0;
When the voltage of the power supply VDD gradually exceeds the sum of the threshold voltages of the second voltage division NMOS tube M0 and the first voltage division NMOS tube M1, the second voltage division NMOS tube M0 and the first voltage division NMOS tube M1 are gradually conducted to rapidly pull down a voltage division output point A, at the moment, the intrinsic NMOS tube M2 is in a linear region, vds of the intrinsic NMOS tube M2 gradually increases, so that the current gradually rises, vgs of the intrinsic NMOS tube M2 also gradually decreases, vgs_M2= -I.R0, when the voltage of the voltage division output point A is reduced to the threshold voltage of the comparator, the voltage of an output end B of the comparator is rapidly raised, and an output end PORB signal of a power-on reset circuit jumps from 0 to 1;
When the voltage of the power supply VDD reaches a certain value, the Vgs of the intrinsic NMOS tube M2 is reduced to cause the current of the intrinsic NMOS tube M2 to be reduced, the current of the intrinsic NMOS tube M2 is increased to cause the current of the intrinsic NMOS tube M2 to be increased beyond the increase of Vds, and the current of the intrinsic NMOS tube M2 is kept constant after that, the intrinsic NMOS tube M2 enters a saturation region with enough Vds, the voltage of the power supply VDD continuously rises, and the current of the intrinsic NMOS tube M2 is kept unchanged;
The gate voltage of the first hysteresis NMOS tube M4 is changed to be high to conduct the hysteresis passage, and the voltage division output point A is pulled down to be lower by the currents generated by the second hysteresis NMOS tube M3 and the first hysteresis NMOS tube M4, so that when the power supply VDD is powered down, the trigger point is lower than the trigger point when the power supply VDD is raised, and the jitter of the output end PORB of the power-on reset circuit caused by the jitter of the power supply VDD can be avoided;
The current of the voltage divider channel can be flexibly changed by adjusting the resistance value of the voltage dividing resistor R0, so that the aim of extremely low power consumption of the whole design is fulfilled;
the circuit controls the current by controlling the Vgs of the intrinsic NMOS tube M2 of the intrinsic NMOS tube, so that the design with extremely low power consumption is realized, and meanwhile, the use of a large-size MOS tube is avoided, thereby saving the cost;
The triggering voltage division of the voltage division output point A is limited by the intrinsic NMOS tube M2, the first voltage division NMOS tube M1 and the second voltage division NMOS tube M0, and the three are NMOS transistors, so that better process and temperature following can be realized, and the triggering point is smaller in change under different processes and temperatures.
Fig. 4 shows a schematic diagram of voltage waveforms of each node in the power-on reset circuit, from which it can be seen that the power-on reset method provided by the invention realizes accurate triggering of the trigger point.
The power-on reset circuit provided by the embodiment of the invention has the advantages of accurate trigger point, insensitivity to process angle and temperature change, small area and low cost, and the trigger point is within +/-100mV along with the process angle, temperature and power supply voltage, and does not rise along with the rising of the power supply voltage.
The foregoing description of embodiments of the invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described.