Power-on reset circuit and method for generating reset signal
By designing a power-on reset circuit including a comparison module, a selection module and a resistor capacitance filtering module, the problem of reset signal generation in the prior art relying on external devices is solved, adaptive reset signal generation and power supply voltage adaptation are realized, and the anti-interference ability and adaptability of the circuit are improved.
Patent Information
- Application Number
- CN202510147427.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2045-02-11
AI Technical Summary
The power-on reset circuit used to generate reset signals in the prior art relies on the indication signals of external devices, making it difficult to be compatible with external devices and adapt to complex and changeable application environments, especially when equipment is added or replaced, there are adaptability problems.
A power-on reset circuit including a comparison module, a selection module and a resistive capacitance filter module is designed. Through the cooperation of these modules and the adjustable resistive capacitance constant switching of the resistive capacitance filter module, a reset signal is adaptively generated and flexibly adapted to any monitored power supply voltage without the intervention of external equipment.
It effectively avoids misjudgment, improves the anti-interference ability of the circuit, and supports customized needs and equipment expansion needs in the fields of high-performance computers, automotive electronics, communication equipment, industrial control, etc.
Smart Images

Figure CN119620840A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of integrated circuits, and in particular to a power-on reset circuit and method for generating a reset signal. Background Art
[0002] In the application fields of high-performance computers, automotive electronics, communication equipment, industrial control, etc., various types of equipment are widely used, such as network equipment, storage equipment, processing equipment, etc., and it is often necessary to add, delete or replace equipment according to actual needs, and it is also often necessary to turn on and off the host, server, etc. During the power-on and power-off process of the power supply voltage, the change of the power supply voltage may affect the normal function of the integrated circuit inside the device, for example, it may affect the logic circuit used for storage read and write control, thereby causing erroneous read and write operations. For this reason, a specially designed power-on reset circuit is required to generate a specific reset signal to instruct a specific functional module to maintain a specific state, so as to avoid functional errors of the integrated circuit during the power-on and power-off process and in the face of abnormal conditions. The circuit design scheme for generating a reset signal in the prior art relies on an external device to transmit a reset indication signal to a specific functional module such as a storage controller in advance for a period of time, and then the specific functional module implements power-off protection through an internal circuit. Therefore, it is constrained by the indication signal of the external device, which makes it difficult to be well compatible with external devices and also makes it difficult for external devices to adapt to complex and changing application environments. In particular, when it is necessary to add or replace equipment, it is necessary to consider the compatibility between the external device that provides the power-on reset protection mechanism and the new device. Therefore, it is not conducive to supporting customized needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0003] To this end, the present application provides a power-on reset circuit and method for generating a reset signal, which can adaptively realize the generation of the reset signal of the power-on reset circuit, and can flexibly adapt to any monitored power supply voltage, and can also flexibly make adjustments according to actual needs. The self-adaptive mechanism saves the loss of external intervention, is conducive to integration and size reduction, helps to adapt to the application environment and equipment characteristics, and helps to support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control. Summary of the invention
[0004] In a first aspect, the present application provides a power-on reset circuit for generating a reset signal. The power-on reset circuit comprises: a comparison module, wherein the comparison module comprises a first input terminal and a second input terminal, the comparison module is used to output a first comparison result when the voltage of the first input terminal is higher than the voltage of the second input terminal, and to output a second comparison result when the voltage of the first input terminal is lower than the voltage of the second input terminal, the power-on reset circuit generates a reset signal when the comparison module outputs the first comparison result and does not generate the reset signal when the comparison module outputs the second comparison result; a selection module, wherein the selection module is used to output a first reference voltage value to the first input terminal of the comparison module when the comparison module outputs the first comparison result, so as to and, when the comparison module outputs the second comparison result, outputs a second reference voltage value to the first input end of the comparison module, and the first reference voltage value is higher than the second reference voltage value; a resistor and capacitor filter module, wherein the resistor and capacitor filter module is used to perform ripple filtering on the power supply voltage signal and output it to the second input end of the comparison module, and the resistor and capacitor filter module has an adjustable resistor and capacitor constant, the adjustable resistor and capacitor constant is a first resistor and capacitor constant when the comparison module outputs the first comparison result and is a second resistor and capacitor constant when the comparison module outputs the second comparison result, and the first resistor and capacitor constant is less than the second resistor and capacitor constant.
[0005] Through the first aspect of the present application, in view of the problem of power-on reset protection mechanism, through the cooperation between the comparison module, the selection module, and the resistor and capacitor filter module, the adjustable resistor and capacitor constant switching of the resistor and capacitor filter module and the output switching of the comparison module are used to effectively avoid misjudgment and improve the anti-interference ability of the circuit. Moreover, there is no need for the intervention of external equipment. It only needs to set the first reference voltage value and the second reference voltage value in advance. The power-on reset circuit itself can continuously monitor the power supply voltage signal, so as to adaptively determine when to generate a reset signal and when to stop generating a reset signal, and then cooperate with operations such as power-on and power-off of the power supply and operations of entering and exiting the low power consumption mode, which is conducive to integration and size reduction, helps to adapt to the application environment and equipment characteristics, and helps to support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0006] In a possible implementation of the first aspect of the present application, the resistor and capacitor filtering module is used for high-frequency ripple filtering when the adjustable resistor and capacitor constant is the first resistor and capacitor constant, and the resistor and capacitor filtering module is used for low-frequency ripple filtering when the adjustable resistor and capacitor constant is the second resistor and capacitor constant.
[0007] In a possible implementation of the first aspect of the present application, when the comparison module outputs the first comparison result, the power-on reset circuit generates the reset signal, the selection module outputs the first reference voltage value to the first input terminal, and the resistor-capacitor filtering module performs ripple filtering on the power supply voltage signal based on the first resistor-capacitor constant and outputs it to the second input terminal.
[0008] In a possible implementation of the first aspect of the present application, when the power supply voltage signal does not exceed the first reference voltage value, the output of the comparison module maintains the first comparison result and the power-on reset circuit continues to generate the reset signal, and, when the power supply voltage signal increases to exceed the first reference voltage value, the output of the comparison module switches from the first comparison result to the second comparison result, thereby causing the power-on reset circuit to stop generating the reset signal.
[0009] In a possible implementation of the first aspect of the present application, the first reference voltage value is a first threshold voltage used for the power-on reset circuit to stop generating the reset signal during the period when the power-on reset circuit generates the reset signal, and the first resistance and capacitance constants are used for the resistance and capacitance filtering module to perform high-frequency ripple filtering on the power supply voltage signal during the period when the power-on reset circuit generates the reset signal.
[0010] In a possible implementation of the first aspect of the present application, when the comparison module outputs the second comparison result, the power-on reset circuit does not generate the reset signal, the selection module outputs the second reference voltage value to the first input terminal, and the resistor-capacitor filtering module performs ripple filtering on the power supply voltage signal based on the second resistor-capacitor constant and outputs it to the second input terminal.
[0011] In a possible implementation of the first aspect of the present application, when the power supply voltage signal is higher than the second reference voltage value, the output of the comparison module maintains the second comparison result and the power-on reset circuit does not generate the reset signal, and, when the power supply voltage signal decreases to below the second reference voltage value, the output of the comparison module switches from the second comparison result to the first comparison result, so that the power-on reset circuit starts to generate the reset signal.
[0012] In a possible implementation of the first aspect of the present application, the second reference voltage value is a second threshold voltage used for the power-on reset circuit to start generating the reset signal during a period when the power-on reset circuit does not generate the reset signal, and the second resistance and capacitance constant is a voltage used by the resistance and capacitance filtering module to perform low-frequency ripple filtering on the power supply voltage signal during a period when the power-on reset circuit generates the reset signal.
[0013] In a possible implementation of the first aspect of the present application, the resistor-capacitor filtering module includes a first PMOS tube and a second PMOS tube, and the first PMOS tube and the second PMOS tube are connected in parallel between the power supply voltage signal and the second input end of the comparison module, wherein the first PMOS tube remains turned on, and the second PMOS tube is turned on when the comparison module outputs the first comparison result and is turned off when the comparison module outputs the second comparison result.
[0014] In a possible implementation of the first aspect of the present application, when the comparison module outputs the first comparison result, the first PMOS tube and the second PMOS tube are both turned on, and the adjustable resistance and capacitance constant of the resistance and capacitance filtering module is determined based on the on-resistance of the first PMOS tube and the on-resistance of the second PMOS tube, and when the comparison module outputs the second comparison result, the first PMOS tube is turned on and the second PMOS tube is turned off, and the adjustable resistance and capacitance constant of the resistance and capacitance filtering module is determined based on the on-resistance of the first PMOS tube.
[0015] In a possible implementation of the first aspect of the present application, the drain of each of the first PMOS tube and the second PMOS tube is connected to the power supply voltage signal, the gate of the first PMOS tube is connected to the normally-on control signal, the gate of the second PMOS is connected to the inverted result of the output of the comparison module, and the first comparison result is a high level, the second comparison result is a low level, and the source of each of the first PMOS tube and the second PMOS tube is connected to the second input terminal of the comparison module.
[0016] In a possible implementation manner of the first aspect of the present application, the output of the comparison module is low-pass filtered and then inverted before being output to the gate of the second PMOS.
[0017] In a possible implementation of the first aspect of the present application, the first comparison result is a high level, the second comparison result is a low level, the power-on reset circuit keeps generating the reset signal during the period when the output of the comparison module is a high level and does not generate the reset signal during the period when the output of the comparison module is a low level.
[0018] In a possible implementation manner of the first aspect of the present application, the power-on reset circuit is used for read-write protection of the storage controller during power-on and power-off processes.
[0019] In a possible implementation manner of the first aspect of the present application, the power-on reset circuit is used to ensure a normal state of the system when entering and exiting a low power consumption mode.
[0020] In a second aspect, the present application provides a method for generating a reset signal. The method comprises: providing a comparison module, wherein the comparison module comprises a first input terminal and a second input terminal, the comparison module is used to output a first comparison result when the voltage of the first input terminal is higher than the voltage of the second input terminal, and to output a second comparison result when the voltage of the first input terminal is lower than the voltage of the second input terminal, the power-on reset circuit generates a reset signal when the comparison module outputs the first comparison result and does not generate the reset signal when the comparison module outputs the second comparison result; providing a selection module, wherein the selection module is used to output a first reference voltage value to the first input terminal of the comparison module when the comparison module outputs the first comparison result, and , outputting a second reference voltage value to the first input terminal of the comparison module when the comparison module outputs the second comparison result, the first reference voltage value is higher than the second reference voltage value; providing a resistance and capacitance filtering module, wherein the resistance and capacitance filtering module is used to perform ripple filtering on the power supply voltage signal and then output it to the second input terminal of the comparison module, and the resistance and capacitance filtering module has an adjustable resistance and capacitance constant, the adjustable resistance and capacitance constant is a first resistance and capacitance constant when the comparison module outputs the first comparison result and is a second resistance and capacitance constant when the comparison module outputs the second comparison result, and the first resistance and capacitance constant is less than the second resistance and capacitance constant.
[0021] Through the second aspect of the present application, in view of the problem of power-on reset protection mechanism, through the cooperation between the comparison module, the selection module, and the resistor and capacitor filter module, the adjustable resistor and capacitor constant switching of the resistor and capacitor filter module and the output switching of the comparison module are used to effectively avoid misjudgment and improve the anti-interference ability of the circuit. Moreover, there is no need for the intervention of external equipment. It only needs to set the first reference voltage value and the second reference voltage value in advance. The power-on reset circuit itself can continuously monitor the power supply voltage signal, so as to adaptively determine when to generate a reset signal and when to stop generating a reset signal, and then cooperate with operations such as power-on and power-off of the power supply and operations of entering and exiting the low power consumption mode, which is conducive to integration and size reduction, helps to adapt to the application environment and equipment characteristics, and helps to support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0023] Figure 1 A schematic diagram of a power-on reset circuit for generating a reset signal according to a first implementation manner provided in an embodiment of the present application; Figure 2 A schematic diagram of a power-on reset circuit for generating a reset signal according to a second implementation manner provided in an embodiment of the present application; Figure 3 A flowchart of a method for generating a reset signal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0025] It should be understood that, in the description of this application, "at least one" means one or more, and "a plurality of" means two or more. In addition, unless otherwise specified, the words "first", "second", etc. are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.
[0026] Figure 1 The schematic diagram of the power-on reset circuit for generating a reset signal according to the first implementation mode provided in the embodiment of the present application is shown in FIG. Figure 1As shown, the power-on reset circuit A100 includes: a comparison module A101, wherein the comparison module A101 includes a first input terminal A103 and a second input terminal A105, the comparison module A101 is used to output a first comparison result when the voltage of the first input terminal A103 is higher than the voltage of the second input terminal A105, and to output a second comparison result when the voltage of the first input terminal A103 is lower than the voltage of the second input terminal A105, the power-on reset circuit A100 generates a reset signal when the comparison module A101 outputs the first comparison result and does not generate the reset signal when the comparison module A101 outputs the second comparison result; a selection module A121, wherein the selection module A121 is used to output a first reference voltage value A123 to the comparison module A101 when the comparison module A101 outputs the first comparison result. The first input terminal A103, and, when the comparison module A101 outputs the second comparison result, outputs a second reference voltage value A125 to the first input terminal A103 of the comparison module A101, and the first reference voltage value A123 is higher than the second reference voltage value A125; a resistance and capacitance filtering module A131, wherein the resistance and capacitance filtering module A131 is used to perform ripple filtering on the power supply voltage signal A150 and output it to the second input terminal A105 of the comparison module A101, and the resistance and capacitance filtering module A131 has an adjustable resistance and capacitance constant, the adjustable resistance and capacitance constant is a first resistance and capacitance constant when the comparison module A101 outputs the first comparison result and is a second resistance and capacitance constant when the comparison module A101 outputs the second comparison result, and the first resistance and capacitance constant is less than the second resistance and capacitance constant.
[0027] Figure 1The power-on reset circuit A100 for generating a reset signal shown can be applied to high-performance computers, automotive electronics, communication equipment, industrial control and other application fields. Various types of equipment, systems, and electronic components are widely used in these application fields, such as network equipment, storage equipment, processing equipment, etc. In the process of powering on and off the power supply, and when entering and exiting the low power consumption mode, the change of the power supply voltage may affect the normal function of the integrated circuit inside the device, for example, it may affect the logic circuit used for storage read and write control, thereby causing erroneous read and write operations. For this reason, it is necessary to generate a specific indication signal, that is, a reset signal, to perform, for example, storage read and write control and indicate that a specific functional module maintains a specific state, thereby avoiding read and write errors, data loss, etc. For this reason, it is necessary to consider the complex and changeable application environment and the adaptability of various devices. For example, the power supply voltage of some devices during normal operation is 5 volts, while the power supply voltage of other devices during normal operation is 12 volts. In addition, some devices are highly sensitive to storage read and write errors, and abnormal fluctuations in the power supply voltage must also be considered. For example, the voltage transmitted through the power grid may experience a surge, which may cause abnormal fluctuations such as a sudden increase or decrease in voltage. Therefore, the power-on reset protection mechanism must also consider how to overcome misjudgments and reset mis-triggering caused by power supply voltage anomalies, such as jitter. Figure 1 The power-on reset circuit A100 for generating a reset signal shown can adaptively realize the generation of the reset signal of the power-on reset circuit A100, and can flexibly adapt to any monitored power supply voltage, and can also flexibly make adjustments according to actual needs, saving the loss of external intervention through the self-adaptation mechanism, which is conducive to integration and size reduction, and is helpful to adapt to the application environment and equipment characteristics, and is helpful to support the customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control. The following is a detailed description.
[0028] refer to Figure 1The power supply voltage signal A150 is the monitored power supply voltage. By continuously monitoring the power supply voltage signal A150 and generating a reset signal and stopping generating the reset signal at an appropriate time, the power-on reset circuit A100 provides a power-on reset protection mechanism. The comparison module A101 includes a first input terminal A103 and a second input terminal A105. The comparison module A101 is used to output a first comparison result when the voltage of the first input terminal A103 is higher than the voltage of the second input terminal A105, and to output a second comparison result when the voltage of the first input terminal A103 is lower than the voltage of the second input terminal A105. The selection module A121 is configured to output a first reference voltage value A123 to the first input terminal A103 of the comparison module A101 when the comparison module A101 outputs the first comparison result, and to output a second reference voltage value A125 to the first input terminal A103 of the comparison module A101 when the comparison module A101 outputs the second comparison result, wherein the first reference voltage value A123 is higher than the second reference voltage value A125. In this way, the comparison module A101 and the selection module A121 together form a logic loop, that is, the output of the comparison module A101 switches between the first comparison result and the second comparison result. Furthermore, when the output of the comparison module A101 is the first comparison result, the selection module A121 outputs the first reference voltage value A123 to the first input terminal A103 of the comparison module A101, and when the output of the comparison module A101 is the second comparison result, the selection module A121 outputs the second reference voltage value A125 to the first input terminal A103 of the comparison module A101. The output of the comparison module A101 is based on the comparison result between the voltage of the first input terminal A103 and the voltage of the second input terminal A105. Therefore, when the output of the comparison module A101 is the first comparison result, the voltage of the first input terminal A103 is the first reference voltage value A123 output by the selection module A121, which means that only when the voltage of the first input terminal A103 (the first reference voltage value A123) is lower than the voltage of the second input terminal A105, the output of the comparison module A101 switches from the first comparison result to the second comparison result, that is, the voltage of the second input terminal A105 is required to be higher than the first reference voltage value A123. In contrast, when the output of the comparison module A101 is the second comparison result, the voltage of the first input terminal A103 is the second reference voltage value A125 output by the selection module A121, which means that only when the voltage of the first input terminal A103 (the second reference voltage value A125) is higher than the voltage of the second input terminal A105, the output of the comparison module A101 switches from the second comparison result to the first comparison result, which means that the voltage of the second input terminal A105 is required to be lower than the second reference voltage value A125.Therefore, by setting the first reference voltage value A123 higher than the second reference voltage value A125 and by using the comparison module A101 and the selection module A121, a closed-loop logic of state switching is established. On the one hand, when the output of the comparison module A101 is the first comparison result, only when the voltage of the second input terminal A105 increases to exceed the first reference voltage value A123, thereby causing the voltage of the first input terminal A103 (the first reference voltage value A123) to be lower than the voltage of the second input terminal A105, will the output of the comparison module A101 be triggered to switch from the first comparison result to the second comparison result. In other words, when the output of the comparison module A101 is the first comparison result, as long as the voltage of the second input terminal A105 does not exceed the first reference voltage value A123, the output of the comparison module A101 will maintain the first comparison result, and the power-on reset circuit A100 generates a reset signal when the comparison module A101 outputs the first comparison result, that is, as long as the voltage of the second input terminal A105 does not exceed the first reference voltage value A123, the power-on reset circuit A100 maintains the state of generating a reset signal. Therefore, the first reference voltage value A123 is set as the threshold voltage at which the power-on reset circuit A100 stops generating the reset signal. When the power-on reset circuit A100 is generating the reset signal, this means that the output of the comparison module A101 is the first comparison result. By monitoring the power supply voltage signal A150, only when the power supply voltage signal A150 is high enough to exceed the first reference voltage value A123, will the output of the comparison module A101 switch and the power-on reset circuit A100 stop generating the reset signal. On the other hand, when the output of the comparison module A101 is the second comparison result, only when the voltage of the second input terminal A105 decreases to below the second reference voltage value A125, thereby causing the voltage of the first input terminal A103 (the second reference voltage value A125) to be higher than the voltage of the second input terminal A105, will the output of the comparison module A101 be triggered to switch from the second comparison result to the first comparison result. In other words, when the output of the comparison module A101 is the second comparison result, as long as the second reference voltage value A125 does not exceed the voltage of the second input terminal A105, the output of the comparison module A101 will maintain the second comparison result, and the power-on reset circuit A100 does not generate a reset signal when the comparison module A101 outputs the second comparison result, that is, as long as the second reference voltage value A125 does not exceed the voltage of the second input terminal A105, the power-on reset circuit A100 maintains a state of not generating a reset signal.Therefore, the second reference voltage value A125 is set as the threshold voltage for the power-on reset circuit A100 to start generating a reset signal. When the power-on reset circuit A100 does not generate a reset signal, this means that the output of the comparison module A101 is the second comparison result. By monitoring the power supply voltage signal A150, only when the power supply voltage signal A150 is low enough to be lower than the second reference voltage value A125, will the output of the comparison module A101 switch and the power-on reset circuit A100 start generating a reset signal.
[0029] Continue to refer Figure 1, the resistor-capacitor filter module A131 is used to filter the power supply voltage signal A150 for ripples and then output it to the second input terminal A105 of the comparison module A101. Therefore, the output of the resistor-capacitor filter module A131 is used as the voltage on the second input terminal A105, so as to be compared with the voltage of the first input terminal A103. The resistor-capacitor filter module A131 has an adjustable resistor-capacitor constant, which is switched between the first resistor-capacitor constant and the second resistor-capacitor constant based on the output of the comparison module A101, and the first resistor-capacitor constant is less than the second resistor-capacitor constant. When the output of the comparison module A101 is the first comparison result, the adjustable resistor-capacitor constant is the first resistor-capacitor constant. As described above, when the power-on reset circuit A100 is generating a reset signal, this means that the output of the comparison module A101 is the first comparison result. By monitoring the power supply voltage signal A150, only when the power supply voltage signal A150 is high enough to exceed the first reference voltage value A123, will the output of the comparison module A101 be switched and the power-on reset circuit A100 stop generating a reset signal. Therefore, during the period when the power-on reset circuit A100 generates a reset signal, the resistor-capacitor filter module A131 has a relatively small first resistor-capacitor constant, which is conducive to filtering high-frequency ripples. The advantage of such a design is that, in the relevant applications of high-frequency digital integrated circuits, by setting a higher threshold voltage, that is, the first reference voltage value A123, as the threshold voltage for the power-on reset circuit A100 to stop generating a reset signal, combined with the first resistor-capacitor constant that is more suitable for filtering high-frequency ripples as the adjustable resistor-capacitor constant of the resistor-capacitor filter module A131, for the situation of generating a reset signal, such as the power supply voltage power-on and power-off process and entering a low-power mode, these situations are more likely to cause high-frequency voltage jitter and high-frequency power supply ripples, so such a design can more effectively avoid misjudgment, avoid prematurely stopping the generation of reset signals, thereby causing read-write errors, and is conducive to enhancing the circuit's anti-interference ability. When the comparison module A101 outputs the second comparison result, the adjustable resistor-capacitor constant is the second resistor-capacitor constant. As described above, when the power-on reset circuit A100 does not generate a reset signal, it means that the output of the comparison module A101 is the second comparison result. By monitoring the power supply voltage signal A150, only when the power supply voltage signal A150 is low enough to be lower than the second reference voltage value A125, the output of the comparison module A101 will be switched and the power-on reset circuit A100 will start to generate a reset signal. Therefore, when the power-on reset circuit A100 does not generate a reset signal, the resistor-capacitor filter module A131 has a relatively large second resistor-capacitor constant, which is conducive to filtering low-frequency ripples.The advantage of such a design is that, in the relevant applications of high-frequency digital integrated circuits, by setting a lower threshold voltage, that is, the second reference voltage value A125, as the threshold voltage for the power-on reset circuit A100 to start generating a reset signal, combined with a second resistance and capacitance constant that is more suitable for filtering low-frequency ripple as the adjustable resistance and capacitance constant of the resistance and capacitance filter module A131, for the case where no reset signal is generated, that is, the power supply works normally, in this case the power supply voltage is normally supplied, and the power supply voltage may come from an external power grid or a battery, etc., which makes it more likely to have low-frequency voltage jitter and low-frequency power ripple. Therefore, such a design can more effectively avoid misjudgment, avoid false triggering of the reset signal, and thus apply erroneous storage read and write control, which is beneficial to enhancing the circuit's anti-interference ability.
[0030] refer to Figure 1 , the first reference voltage value A123 and the second reference voltage value A125 can be set in combination with actual needs, and the first reference voltage value A123 is higher than the second reference voltage value A125, so that a certain amount of hysteresis can be provided, that is, the difference between the first reference voltage value A123 and the second reference voltage value A125 is used, combined with the above-mentioned closed-loop logic of state switching, to enhance circuit interference. The first reference voltage value A123 and the second reference voltage value A125, these two reference voltage values can be adjusted according to the actual needs of the storage controller. Therefore, it helps to adapt to complex and changeable application environments and electrical characteristics of various devices. For example, the power supply voltage of some devices during normal operation is 5 volts, while the power supply voltage of other devices during normal operation is 12 volts. For another example, in some application environments, there are abnormal fluctuations in the power supply voltage, such as the voltage transmitted through the power grid has abnormal fluctuations such as surges, which lead to sudden increases or decreases in voltage. By setting the corresponding first reference voltage value A123 and the second reference voltage value A125, providing sufficient hysteresis, and combining the above-mentioned closed-loop logic of state switching, it is possible to effectively target situations where a reset signal is generated, such as when the power supply voltage is powered on and off, and when entering a low power consumption mode. In these situations, high-frequency voltage jitter and high-frequency power supply ripple are more likely to occur. It is also possible to effectively target situations where no reset signal is generated, that is, when the power supply is working normally. In this case, the power supply voltage is normally supplied, and the power supply voltage may come from an external power grid or a battery, etc., which makes low-frequency voltage jitter and low-frequency power supply ripple more likely to occur, which helps to support complex and changeable application environments and the adaptability of various devices.
[0031] refer to Figure 1In some embodiments, the circuit implementation of the resistor-capacitor filter module A131 can be through two P-type metal oxide semiconductors (Positive Channel-Metal-Oxide-Semiconductor, PMOS), that is, two PMOS tubes. The power supply voltage signal A150 serves as the drain or load electrode of the two PMOS tubes, and the gate or control electrode of one PMOS tube is connected to a preset signal, such as a normally-on control signal, to keep the PMOS tube always turned on; the gate or control electrode of the other PMOS tube is connected to the inverted result of the output of the comparison module A101 to control the on and off of the other PMOS tube. The source or bias electrode of the two PMOS tubes is connected together and connected to the second input terminal A105 of the comparison module A101. It should be understood that the circuit implementation of the resistor-capacitor filter module A131 can adopt any suitable circuit implementation method, as long as it can be combined with the above-mentioned selection module A121 and comparison module A101 to realize the above-mentioned closed-loop logic of state switching.
[0032] In conclusion, Figure 1 The power-on reset circuit A100 shown in the figure, in view of the problem of the power-on reset protection mechanism, can adaptively stop or start generating a reset signal according to the change of the power supply voltage signal A150 relative to the corresponding reference voltage value (the first reference voltage value A123 or the second reference voltage value A125) through the comparison module A101, the selection module A121, and the resistor and capacitor filter module A131, that is, execute the closed-loop logic of the above-mentioned state switching. In addition, by using the resistor and capacitor filter module A131 that can switch between the first resistor and capacitor constant and the second resistor and capacitor constant, in conjunction with the closed-loop logic of the state switching of the power-on reset circuit A100, targeted filtering of low-frequency power supply ripple or high-frequency power supply ripple is provided, so that misjudgment can be effectively and targetedly avoided and the anti-interference ability of the circuit can be improved. Moreover, the collaboration among the comparison module A101, the selection module A121, and the resistance and capacitance filter module A131, including the switching of the adjustable resistance and capacitance constants of the resistance and capacitance filter module A131 and the output switching of the comparison module A101, does not require the intervention of external devices. It only needs to set the first reference voltage value A123 and the second reference voltage value A125 in advance, and the power-on reset circuit A100 itself can continuously monitor the power supply voltage signal A150, so as to adaptively determine when to generate a reset signal and when to stop generating a reset signal, and then cooperate with operations such as power on and off and entering and exiting a low power consumption mode, which is conducive to integration and size reduction, helps to adapt to the application environment and equipment characteristics, and helps to support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0033] refer to Figure 1 In a possible implementation, the resistor-capacitor filter module A131 is used for high-frequency ripple filtering when the adjustable resistor-capacitor constant is the first resistor-capacitor constant, and the resistor-capacitor filter module A131 is used for low-frequency ripple filtering when the adjustable resistor-capacitor constant is the second resistor-capacitor constant. In this way, targeted filtering of low-frequency power supply ripple or high-frequency power supply ripple is provided, which can effectively and specifically avoid misjudgment and improve the circuit's anti-interference ability.
[0034] In a possible implementation, when the comparison module A101 outputs the first comparison result, the power-on reset circuit A100 generates the reset signal, the selection module A121 outputs the first reference voltage value to the first input terminal A103, and the resistor-capacitor filter module A131 performs ripple filtering on the power supply voltage signal A150 based on the first resistor-capacitor constant and then outputs it to the second input terminal A105. In this way, during the period when the power-on reset circuit A100 generates the reset signal, the resistor-capacitor filter module A131 has a relatively small first resistor-capacitor constant, which is conducive to filtering high-frequency ripples. The advantage of such a design is that, in the relevant applications of high-frequency digital integrated circuits, by setting a higher threshold voltage, that is, the first reference voltage value A123, as the threshold voltage for the power-on reset circuit A100 to stop generating a reset signal, and combining the first resistance and capacitance constants that are more suitable for filtering high-frequency ripples as the adjustable resistance and capacitance constants of the resistance and capacitance filter module A131, for situations where a reset signal is generated, such as during the power supply voltage power-on and power-off process and when entering a low power consumption mode, high-frequency voltage jitter and high-frequency power supply ripple are more likely to occur. Therefore, such a design can more effectively avoid misjudgment, avoid premature termination of the generation of a reset signal, and thus prevent read and write errors, and is beneficial to enhancing the circuit's anti-interference ability.
[0035] In some embodiments, when the power supply voltage signal A150 does not exceed the first reference voltage value A123, the output of the comparison module A101 maintains the first comparison result and the power-on reset circuit A100 maintains generating the reset signal, and when the power supply voltage signal A150 increases to exceed the first reference voltage value A123, the output of the comparison module A101 switches from the first comparison result to the second comparison result, so that the power-on reset circuit A100 stops generating the reset signal. In this way, the first reference voltage value A123 is set as the threshold voltage for the power-on reset circuit A100 to stop generating the reset signal. When the power-on reset circuit A100 is generating the reset signal, this means that the output of the comparison module A101 is the first comparison result. By monitoring the power supply voltage signal A150, only when the power supply voltage signal A150 is high enough to exceed the first reference voltage value A123, will the output of the comparison module A101 switch and the power-on reset circuit A100 stop generating the reset signal. In this way, misjudgment can be avoided more effectively, and premature termination of generating a reset signal that causes read and write errors can be avoided, which is beneficial to enhancing the circuit's anti-interference ability.
[0036] In some embodiments, the first reference voltage value A123 is a first threshold voltage used for the power-on reset circuit A100 to stop generating the reset signal during the power-on reset circuit A100 generates the reset signal, and the first resistance and capacitance constant is used for the resistance and capacitance filter module A131 to filter the high-frequency ripple of the power supply voltage signal A150 during the power-on reset circuit A100 generates the reset signal. In this way, misjudgment can be avoided more effectively, which is conducive to enhancing the anti-interference ability of the circuit.
[0037] In a possible implementation, when the comparison module A101 outputs the second comparison result, the power-on reset circuit A100 does not generate the reset signal, the selection module A121 outputs the second reference voltage value A125 to the first input terminal A103, and the resistor-capacitor filter module A131 performs ripple filtering on the power supply voltage signal A150 based on the second resistor-capacitor constant and then outputs it to the second input terminal A105. In this way, when the power-on reset circuit A100 does not generate a reset signal, the resistor-capacitor filter module A131 has a relatively large second resistor-capacitor constant, which is conducive to filtering low-frequency ripples. The advantage of such a design is that, in the relevant applications of high-frequency digital integrated circuits, by setting a lower threshold voltage, that is, the second reference voltage value A125, as the threshold voltage for the power-on reset circuit A100 to start generating a reset signal, combined with a second resistance and capacitance constant that is more suitable for filtering low-frequency ripple as the adjustable resistance and capacitance constant of the resistance and capacitance filter module A131, for the case where no reset signal is generated, that is, the power supply works normally, in this case the power supply voltage is normally supplied, and the power supply voltage may come from an external power grid or a battery, etc., which makes it more likely to have low-frequency voltage jitter and low-frequency power ripple. Therefore, such a design can more effectively avoid misjudgment, avoid false triggering of the reset signal, and thus apply erroneous storage read and write control, which is beneficial to enhancing the circuit's anti-interference ability.
[0038] In some embodiments, when the power supply voltage signal A150 is higher than the second reference voltage value A125, the output of the comparison module A101 maintains the second comparison result and the power-on reset circuit A100 does not generate the reset signal, and when the power supply voltage signal A150 decreases to be lower than the second reference voltage value A125, the output of the comparison module A101 switches from the second comparison result to the first comparison result, so that the power-on reset circuit A100 starts to generate the reset signal. In this way, the second reference voltage value A125 is set as the threshold voltage for the power-on reset circuit A100 to start generating the reset signal. When the power-on reset circuit A100 does not generate the reset signal, this means that the output of the comparison module A101 is the second comparison result. By monitoring the power supply voltage signal A150, only when the power supply voltage signal A150 is low enough to be lower than the second reference voltage value A125, will the output of the comparison module A101 switch and the power-on reset circuit A100 start to generate the reset signal. In this way, misjudgment can be avoided more effectively, and false triggering of a reset signal that results in erroneous storage read and write control can be avoided, which is beneficial to enhancing the anti-interference capability of the circuit.
[0039] In some embodiments, the second reference voltage value A125 is a second threshold voltage for the power-on reset circuit A100 to start generating the reset signal during the period when the power-on reset circuit A100 does not generate the reset signal, and the second resistance and capacitance constant is a voltage for the resistance and capacitance filter module A131 to filter the low-frequency ripple of the power supply voltage signal A150 during the period when the power-on reset circuit A100 generates the reset signal. In this way, misjudgment can be avoided more effectively, which is conducive to enhancing the anti-interference ability of the circuit.
[0040] In a possible implementation, the resistor-capacitor filter module A131 includes a first PMOS tube and a second PMOS tube, the first PMOS tube and the second PMOS tube are connected in parallel between the power supply voltage signal A150 and the second input terminal A105 of the comparison module A101, wherein the first PMOS tube remains turned on, and the second PMOS tube is turned on when the comparison module A101 outputs the first comparison result and is turned off when the comparison module A101 outputs the second comparison result. The circuit implementation of the resistor-capacitor filter module A131 can adopt any suitable circuit implementation method, as long as it can be combined with the above-mentioned selection module A121 and comparison module A101 to realize the above-mentioned closed-loop logic of state switching. In this way, by utilizing the collaboration among the comparison module A101, the selection module A121, and the resistor-capacitor filter module A131, it is possible to adaptively determine when to generate a reset signal and when to stop generating the reset signal, and then cooperate with operations such as powering on and off the power supply and entering and exiting the low power consumption mode. This is conducive to integration and size reduction, helps adapt to the application environment and equipment characteristics, and helps support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0041] In some embodiments, when the comparison module A101 outputs the first comparison result, the first PMOS tube and the second PMOS tube are both turned on, and the adjustable resistance and capacitance constant of the resistance and capacitance filter module A131 is determined based on the on-resistance of the first PMOS tube and the on-resistance of the second PMOS tube, and when the comparison module A101 outputs the second comparison result, the first PMOS tube is turned on and the second PMOS tube is turned off, and the adjustable resistance and capacitance constant of the resistance and capacitance filter module A131 is determined based on the on-resistance of the first PMOS tube. In this way, a power-on reset protection mechanism is implemented, and it is adaptively determined when to generate a reset signal and when to stop generating a reset signal, and then cooperates with operations such as power-on and power-off of the power supply and operations of entering and exiting a low power consumption mode, which is conducive to integration and size reduction, helps to adapt to application environments and equipment characteristics, and helps to support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0042] In some embodiments, the drain of each of the first PMOS tube and the second PMOS tube is connected to the power supply voltage signal A150, the gate of the first PMOS tube is connected to the normally-on control signal, the gate of the second PMOS tube is connected to the inverted result of the output of the comparison module A101, and the first comparison result is a high level, the second comparison result is a low level, and the source of each of the first PMOS tube and the second PMOS tube is connected to the second input terminal A105 of the comparison module A101. In this way, a power-on reset protection mechanism is implemented, and it is adaptively determined when to generate a reset signal and when to stop generating a reset signal, and then cooperates with operations such as power-on and power-off of the power supply and operations of entering and exiting a low power consumption mode, which is conducive to integration and size reduction, helps to adapt to the application environment and equipment characteristics, and helps to support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0043] In some embodiments, the output of the comparison module A101 is low-pass filtered and then inverted before being output to the gate of the second PMOS. In this way, the system stability and circuit anti-interference capability are further improved through low-pass filtering.
[0044] In a possible implementation, the first comparison result is a high level, the second comparison result is a low level, and the power-on reset circuit A100 keeps generating the reset signal during the period when the output of the comparison module A101 is a high level, and does not generate the reset signal during the period when the output of the comparison module A101 is a low level. In this way, a power-on reset protection mechanism is implemented, and it is adaptively determined when to generate a reset signal and when to stop generating a reset signal, and then cooperates with operations such as power-on and power-off of the power supply and operations of entering and exiting a low power consumption mode, which is conducive to integration and size reduction, helps to adapt to application environments and equipment characteristics, and helps to support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0045] In a possible implementation, the power-on reset circuit A100 is used for read-write protection of the storage controller during the power-on and power-off process. In this way, a power-on reset protection mechanism is implemented, and it is adaptively determined when to generate a reset signal and when to stop generating a reset signal, and then cooperates with operations such as power-on and power-off, as well as operations of entering and exiting a low-power mode, which is conducive to integration and size reduction, helps to adapt to application environments and device characteristics, and helps to support customization needs and device expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0046] In a possible implementation, the power-on reset circuit A100 is used to ensure the normal state of the system when entering and exiting the low power mode. In this way, a power-on reset protection mechanism is implemented, and it is adaptively determined when to generate a reset signal and when to stop generating a reset signal, and then cooperates with operations such as power-on and power-off of the power supply and operations of entering and exiting the low power mode, which is conducive to integration and size reduction, helps to adapt to the application environment and equipment characteristics, and helps to support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0047] Figure 2 A schematic diagram of a power-on reset circuit for generating a reset signal according to a second implementation mode provided in an embodiment of the present application. Figure 2As shown, the power-on reset circuit B200 includes: a comparison module B201, wherein the comparison module B201 includes a first input terminal B203 and a second input terminal B205, the comparison module B201 is used to output a first comparison result when the voltage of the first input terminal B203 is higher than the voltage of the second input terminal B205, and to output a second comparison result when the voltage of the first input terminal B203 is lower than the voltage of the second input terminal B205, the power-on reset circuit B200 generates a reset signal when the comparison module B201 outputs the first comparison result and does not generate the reset signal when the comparison module B201 outputs the second comparison result; a selection module B221, wherein the selection module B221 is used to output a first reference voltage value B223 to the comparison module B201 when the comparison module B201 outputs the first comparison result. The first input terminal B203, and, when the comparison module B201 outputs the second comparison result, outputs a second reference voltage value B225 to the first input terminal B203 of the comparison module B201, and the first reference voltage value B223 is higher than the second reference voltage value B225; a resistor and capacitor filtering module B231, wherein the resistor and capacitor filtering module B231 is used to perform ripple filtering on the power supply voltage signal B250 and output it to the second input terminal B205 of the comparison module B201, and the resistor and capacitor filtering module B231 has an adjustable resistor and capacitor constant, the adjustable resistor and capacitor constant is a first resistor and capacitor constant when the comparison module B201 outputs the first comparison result and is a second resistor and capacitor constant when the comparison module B201 outputs the second comparison result, and the first resistor and capacitor constant is less than the second resistor and capacitor constant. The resistor-capacitor filter module B231 includes two P-type metal oxide semiconductors (Positive Channel-Metal-Oxide-Semiconductor, PMOS), that is, two PMOS tubes, namely a first PMOS tube (P-type field effect tube A240) and a second PMOS tube (P-type field effect tube B260). The first PMOS tube (P-type field effect tube A240) and the second PMOS tube (P-type field effect tube B260) are connected in parallel between the power supply voltage signal B250 and the second input terminal B205 of the comparison module B201, wherein the first PMOS tube (P-type field effect tube A240) remains turned on, and the second PMOS tube (P-type field effect tube B260) is turned on when the comparison module B201 outputs the first comparison result and is turned off when the comparison module B201 outputs the second comparison result.
[0048] refer to Figure 2, when the comparison module B201 outputs the first comparison result, the first PMOS tube (P-type field effect tube A240) and the second PMOS tube (P-type field effect tube B260) are both turned on, and the adjustable resistance and capacitance constant of the resistance and capacitance filtering module B231 is determined based on the on-resistance of the first PMOS tube (P-type field effect tube A240) and the on-resistance of the second PMOS tube (P-type field effect tube B260), and, when the comparison module B201 outputs the second comparison result, the first PMOS tube (P-type field effect tube A240) is turned on and the second PMOS tube (P-type field effect tube B260) is turned off, and the adjustable resistance and capacitance constant of the resistance and capacitance filtering module B231 is determined based on the on-resistance of the first PMOS tube (P-type field effect tube A240). Figure 2 The capacitor B254 is also shown. The capacitor B254 is used to determine the adjustable resistance and capacitance constant of the resistance and capacitance filter module B231 together with the above-mentioned on-resistance. The drains of the first PMOS tube (P-type field effect tube A240) and the second PMOS tube (P-type field effect tube B260), that is, the drain 241 of the P-type field effect tube A240 and the drain 261 of the P-type field effect tube B260, are connected to the power supply voltage signal B250. The gate of the first PMOS tube (P-type field effect tube A240), that is, the gate 242 of the P-type field effect tube A240, is connected to the normally-on control signal. In this way, the first PMOS tube (P-type field effect tube A240) remains turned on under the action of the normally-on control signal. The gate of the second PMOS (P-type field effect tube B260), that is, the gate 262 of the P-type field effect tube B260, is connected to the inverted result of the output of the comparison module B201. Figure 2, the inverter B252 is shown in the figure, and the output of the comparison module B201 is inverted after passing through the inverter B252 to obtain the output of the comparison module B201, and then output to the gate 262 of the P-type field effect transistor B260. In addition, the first comparison result is a high level, and the second comparison result is a low level. The source electrodes of the first PMOS transistor (P-type field effect transistor A240) and the second PMOS transistor (P-type field effect transistor B260), that is, the source electrode 243 of the P-type field effect transistor A240 and the source electrode 263 of the P-type field effect transistor B260, are connected to the second input terminal B205 of the comparison module B201. In this way, the adjustable resistance and capacitance constant of the resistance and capacitance filter module B231 can be switched between the first resistance and capacitance constant and the second resistance and capacitance constant based on the output of the comparison module B201, that is, the adjustable resistance and capacitance constant is the first resistance and capacitance constant when the comparison module B201 outputs the first comparison result and is the second resistance and capacitance constant when the comparison module B201 outputs the second comparison result. In addition, when the comparison module B201 outputs the first comparison result, the first PMOS tube (P-type field effect tube A240) and the second PMOS tube (P-type field effect tube B260) are both turned on, and the adjustable resistance and capacitance constant of the resistance and capacitance filter module B231 is determined based on the on-resistance of the first PMOS tube (P-type field effect tube A240) and the on-resistance of the second PMOS tube (P-type field effect tube B260), which means a smaller resistance and capacitance constant, so high-frequency ripple can be better filtered. When the comparison module B201 outputs the second comparison result, the first PMOS tube (P-type field effect tube A240) is turned on and the second PMOS tube (P-type field effect tube B260) is turned off, and the adjustable resistance and capacitance constant of the resistance and capacitance filtering module B231 is determined based on the on-resistance of the first PMOS tube (P-type field effect tube A240), which means a larger resistance and capacitance constant, so that low-frequency ripple can be better filtered. In some embodiments, the output of the comparison module B201 is low-pass filtered and then inverted and output to the gate of the second PMOS (P-type field effect tube B260), that is, the gate 262 of the P-type field effect tube B260.
[0049] In conclusion, Figure 2The power-on reset circuit B200 shown in the figure, in view of the problem of the power-on reset protection mechanism, can adaptively stop or start generating a reset signal according to the change of the power supply voltage signal B250 relative to the corresponding reference voltage value (the first reference voltage value B223 or the second reference voltage value B225) through the comparison module B201, the selection module B221, and the resistor and capacitor filter module B231, that is, execute the closed-loop logic of the above-mentioned state switching. In addition, by using the resistor and capacitor filter module B231 that can switch between the first resistor and capacitor constant and the second resistor and capacitor constant, in conjunction with the closed-loop logic of the state switching of the power-on reset circuit B200, targeted filtering of low-frequency power supply ripple or high-frequency power supply ripple is provided, so that misjudgment can be effectively and targetedly avoided and the anti-interference ability of the circuit can be improved. Moreover, the collaboration among the comparison module B201, the selection module B221, and the resistance and capacitance filter module B231, including the switching of the adjustable resistance and capacitance constants of the resistance and capacitance filter module B231 and the output switching of the comparison module B201, does not require the intervention of external devices. It is only necessary to set the first reference voltage value B223 and the second reference voltage value B225 in advance. The power-on reset circuit B200 itself can continuously monitor the power supply voltage signal B250, so as to adaptively determine when to generate a reset signal and when to stop generating a reset signal, and then cooperate with operations such as power on and off and entering and exiting a low power consumption mode, which is conducive to integration and size reduction, helps to adapt to the application environment and equipment characteristics, and helps to support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0050] Figure 3 A flowchart of a method for generating a reset signal provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the method includes the following steps.
[0051] Step S301: Provide a comparison module, wherein the comparison module includes a first input terminal and a second input terminal, the comparison module is used to output a first comparison result when the voltage of the first input terminal is higher than the voltage of the second input terminal, and to output a second comparison result when the voltage of the first input terminal is lower than the voltage of the second input terminal, and the power-on reset circuit generates a reset signal when the comparison module outputs the first comparison result and does not generate the reset signal when the comparison module outputs the second comparison result.
[0052] Step S303: Provide a selection module, wherein the selection module is used to output a first reference voltage value to the first input terminal of the comparison module when the comparison module outputs the first comparison result, and to output a second reference voltage value to the first input terminal of the comparison module when the comparison module outputs the second comparison result, and the first reference voltage value is higher than the second reference voltage value.
[0053] Step S305: providing a resistor and capacitor filter module, wherein the resistor and capacitor filter module is used to perform ripple filtering on the power supply voltage signal and then output it to the second input terminal of the comparison module, and the resistor and capacitor filter module has an adjustable resistor and capacitor constant, the adjustable resistor and capacitor constant is a first resistor and capacitor constant when the comparison module outputs the first comparison result and is a second resistor and capacitor constant when the comparison module outputs the second comparison result, and the first resistor and capacitor constant is smaller than the second resistor and capacitor constant.
[0054] In conclusion, Figure 3 The method for generating a reset signal shown in the figure aims at the problem of the power-on reset protection mechanism. Through the cooperation between the comparison module, the selection module, and the resistor and capacitor filter module, the adjustable resistor and capacitor constant switching of the resistor and capacitor filter module and the output switching of the comparison module are used to effectively avoid misjudgment and improve the anti-interference ability of the circuit. Moreover, no external device intervention is required. Only the first reference voltage value and the second reference voltage value need to be set in advance. The power-on reset circuit itself can continuously monitor the power supply voltage signal, so as to adaptively determine when to generate a reset signal and when to stop generating a reset signal, and then cooperate with operations such as power-on and power-off of the power supply and operations of entering and exiting a low power consumption mode, which is conducive to integration and size reduction, helps to adapt to the application environment and equipment characteristics, and helps to support customization needs and equipment expansion needs in application fields such as high-performance computers, automotive electronics, communication equipment, and industrial control.
[0055] The method and device provided in the embodiments of the present application are based on the same inventive concept. Since the principles of solving the problems in the methods and devices are similar, the embodiments, implementation methods, examples or implementation methods of the methods and devices can refer to each other, and the repeated parts will not be repeated. The embodiments of the present application also provide a system, which includes multiple computing devices, and the structure of each computing device can refer to the structure of the computing device described above. The functions or operations that can be implemented by the system can refer to the specific implementation steps in the above method embodiments and / or the specific functions described in the above device embodiments, which will not be repeated here.
[0056] The present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer device (such as one or more processors), the method steps in the above method embodiment can be implemented. The specific implementation of the processor of the computer-readable storage medium in executing the above method steps can refer to the specific operations described in the above method embodiment and / or the specific functions described in the above device embodiment, which will not be repeated here.
[0057] It should be understood by those skilled in the art that the embodiments of the present application may be provided as methods, systems, or computer program products. The present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. The embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The present application may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. The computer program product includes one or more computer instructions. When the computer program instructions are loaded or executed on a computer, the process or function described in the embodiments of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. Computer-readable storage media can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media. Available media can be magnetic media (such as floppy disks, hard disks, tapes), optical media, or semiconductor media. Semiconductor media can be solid-state hard disks, random access memory, flash memory, read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, or any other form of suitable storage media.
[0058] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. Each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0059] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. The steps in the method of the embodiment of the present application can be adjusted in sequence, merged or deleted according to actual needs; the modules in the system of the embodiment of the present application can be divided, merged or deleted according to actual needs. If these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims
1. A power-on reset circuit for generating a reset signal, characterized in that: The power-on reset circuit comprises: A comparison module, wherein the comparison module comprises a first input terminal and a second input terminal, the comparison module is used to output a first comparison result when the voltage of the first input terminal is higher than the voltage of the second input terminal, and to output a second comparison result when the voltage of the first input terminal is lower than the voltage of the second input terminal, and the power-on reset circuit generates a reset signal when the comparison module outputs the first comparison result and does not generate the reset signal when the comparison module outputs the second comparison result; a selection module, wherein the selection module is used to output a first reference voltage value to the first input terminal of the comparison module when the comparison module outputs the first comparison result, and to output a second reference voltage value to the first input terminal of the comparison module when the comparison module outputs the second comparison result, wherein the first reference voltage value is higher than the second reference voltage value; A resistor and capacitor filter module, wherein the resistor and capacitor filter module is used to perform ripple filtering on the power supply voltage signal and then output it to the second input end of the comparison module, and the resistor and capacitor filter module has an adjustable resistor and capacitor constant, the adjustable resistor and capacitor constant is a first resistor and capacitor constant when the comparison module outputs the first comparison result and is a second resistor and capacitor constant when the comparison module outputs the second comparison result, and the first resistor and capacitor constant is less than the second resistor and capacitor constant.
2. The power-on reset circuit according to claim 1, characterized in that: The resistor and capacitor filter module is used for high-frequency ripple filtering when the adjustable resistor and capacitor constant is the first resistor and capacitor constant, and the resistor and capacitor filter module is used for low-frequency ripple filtering when the adjustable resistor and capacitor constant is the second resistor and capacitor constant.
3. The power-on reset circuit according to claim 1, characterized in that: When the comparison module outputs the first comparison result, the power-on reset circuit generates the reset signal, the selection module outputs the first reference voltage value to the first input end, and the resistance and capacitance filtering module performs ripple filtering on the power supply voltage signal based on the first resistance and capacitance constant and outputs it to the second input end.
4. The power-on reset circuit according to claim 3, characterized in that: When the power supply voltage signal does not exceed the first reference voltage value, the output of the comparison module maintains the first comparison result and the power-on reset circuit keeps generating the reset signal, and, when the power supply voltage signal increases to exceed the first reference voltage value, the output of the comparison module switches from the first comparison result to the second comparison result, thereby causing the power-on reset circuit to stop generating the reset signal.
5. The power-on reset circuit according to claim 4, characterized in that: The first reference voltage value is a first threshold voltage used for the power-on reset circuit to stop generating the reset signal during the period when the power-on reset circuit generates the reset signal, and the first resistance and capacitance constant is used for the resistance and capacitance filtering module to filter the high-frequency ripple of the power supply voltage signal during the period when the power-on reset circuit generates the reset signal.
6. The power-on reset circuit according to claim 1, characterized in that: When the comparison module outputs the second comparison result, the power-on reset circuit does not generate the reset signal, the selection module outputs the second reference voltage value to the first input end, and the resistance and capacitance filtering module performs ripple filtering on the power supply voltage signal based on the second resistance and capacitance constant and outputs it to the second input end.
7. The power-on reset circuit according to claim 6, characterized in that: When the power supply voltage signal is higher than the second reference voltage value, the output of the comparison module maintains the second comparison result and the power-on reset circuit does not generate the reset signal, and when the power supply voltage signal decreases to be lower than the second reference voltage value, the output of the comparison module switches from the second comparison result to the first comparison result, so that the power-on reset circuit starts to generate the reset signal.
8. The power-on reset circuit according to claim 7, characterized in that: The second reference voltage value is a second threshold voltage used for the power-on reset circuit to start generating the reset signal during the period when the power-on reset circuit does not generate the reset signal, and the second resistance and capacitance constant is a second threshold voltage used for the resistance and capacitance filtering module to perform low-frequency ripple filtering on the power supply voltage signal during the period when the power-on reset circuit generates the reset signal.
9. The power-on reset circuit according to claim 1, characterized in that: The resistor-capacitor filter module includes a first PMOS tube and a second PMOS tube, and the first PMOS tube and the second PMOS tube are connected in parallel between the power supply voltage signal and the second input end of the comparison module, wherein the first PMOS tube remains turned on, and the second PMOS tube is turned on when the comparison module outputs the first comparison result and is turned off when the comparison module outputs the second comparison result.
10. The power-on reset circuit according to claim 9, characterized in that: When the comparison module outputs the first comparison result, the first PMOS tube and the second PMOS tube are both turned on, and the adjustable resistance and capacitance constant of the resistance and capacitance filtering module is determined based on the on-resistance of the first PMOS tube and the on-resistance of the second PMOS tube, and when the comparison module outputs the second comparison result, the first PMOS tube is turned on and the second PMOS tube is turned off, and the adjustable resistance and capacitance constant of the resistance and capacitance filtering module is determined based on the on-resistance of the first PMOS tube.
11. The power-on reset circuit according to claim 10, characterized in that: The drains of the first PMOS tube and the second PMOS tube are respectively connected to the power supply voltage signal, the gate of the first PMOS tube is connected to the normally-on control signal, the gate of the second PMOS is connected to the inverted result of the output of the comparison module, and the first comparison result is a high level, the second comparison result is a low level, and the sources of the first PMOS tube and the second PMOS tube are respectively connected to the second input terminal of the comparison module.
12. The power-on reset circuit according to claim 11, characterized in that: The output of the comparison module is low-pass filtered and then inverted before being output to the gate of the second PMOS.
13. The power-on reset circuit according to claim 1, characterized in that: The first comparison result is a high level, the second comparison result is a low level, the power-on reset circuit keeps generating the reset signal during a period when the output of the comparison module is a high level and does not generate the reset signal during a period when the output of the comparison module is a low level.
14. The power-on reset circuit according to claim 1, characterized in that: The power-on reset circuit is used for read-write protection of the storage controller during power-on and power-off processes.
15. The power-on reset circuit according to claim 1, characterized in that: The power-on reset circuit is used to ensure the normal state of the system when entering and exiting the low power consumption mode.
16. A method for generating a reset signal, characterized in that: The method comprises: A comparison module is provided, wherein the comparison module comprises a first input terminal and a second input terminal, the comparison module is used to output a first comparison result when a voltage of the first input terminal is higher than a voltage of the second input terminal, and to output a second comparison result when the voltage of the first input terminal is lower than a voltage of the second input terminal, and a power-on reset circuit generates a reset signal when the comparison module outputs the first comparison result and does not generate the reset signal when the comparison module outputs the second comparison result; providing a selection module, wherein the selection module is used to output a first reference voltage value to the first input terminal of the comparison module when the comparison module outputs the first comparison result, and to output a second reference voltage value to the first input terminal of the comparison module when the comparison module outputs the second comparison result, wherein the first reference voltage value is higher than the second reference voltage value; A resistor and capacitor filter module is provided, wherein the resistor and capacitor filter module is used to perform ripple filtering on a power supply voltage signal and then output the signal to the second input terminal of the comparison module, and the resistor and capacitor filter module has an adjustable resistor and capacitor constant, the adjustable resistor and capacitor constant is a first resistor and capacitor constant when the comparison module outputs the first comparison result and is a second resistor and capacitor constant when the comparison module outputs the second comparison result, and the first resistor and capacitor constant is smaller than the second resistor and capacitor constant.
Citation Information
Patent Citations
Detection circuit for power supply voltage pulse interference
CN101566645A
Power-on reset method and circuit using MIPI standard circuit
CN104378093A
Power on reset circuit
CN108667443A
Power-on reset circuit and integrated circuit
CN114679163A
Power-on reset circuit of power supply
CN117118417A