Power-on reset circuit and method for generating a 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 management is 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
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2025-07-01
- 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 in the requirements of equipment expansion and customization.
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, adaptive reset signal generation and abortion are achieved.
This circuit can independently monitor the power supply voltage signal, avoid misjudgment, improve anti-interference ability, adapt to different application environments and equipment characteristics, and supports customized needs and equipment expansion needs in high-performance computers, automotive electronics, communication equipment and industrial control fields.
Smart Images

Figure CN119620840B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of integrated circuit technology, and particularly to a power-on reset circuit and method for generating a reset signal. Background Art
[0002] In application fields such as high-performance computers, automotive electronics, communication devices, and industrial control, various types of devices are widely used, such as network devices, storage devices, processing devices, etc. And it is often necessary to add, delete, or replace devices according to actual needs, and it is also often necessary to turn on and off hosts, servers, etc. During the power-on and power-off processes of the power supply voltage, the change of the power supply voltage may affect the normal functions of the integrated circuits inside the devices. For example, it may affect the logic circuits used for storage read / write control, resulting in incorrect read / write operations. Therefore, a specially designed power-on reset circuit is required to generate a specific reset signal to indicate that a specific functional module maintains a specific state, so as to avoid functional errors of the integrated circuits during the power-on and power-off processes of the power supply and in the face of abnormal conditions. The circuit design schemes for generating reset signals in the prior art rely on external devices to transmit reset indication signals to specific functional modules such as storage controllers in advance for a period of time, and then the specific functional modules implement power-down protection through internal circuits. Therefore, they are restricted by the indication signals of external devices, making it difficult to be well compatible with external devices, and also making it difficult for external devices to adapt to complex and changeable application environments. Especially when adding or replacing devices, it is necessary to consider the compatibility between the external devices providing the power-on reset protection mechanism and the new devices. Therefore, it is not conducive to supporting the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0003] Therefore, this application provides a power-on reset circuit and method for generating a reset signal, which can adaptively generate the reset signal of the power-on reset circuit, can flexibly adapt to any monitored power supply voltage, can also be flexibly adjusted according to actual needs, saves the loss of external intervention through a self-adaptation mechanism, is beneficial to integration and volume reduction, helps to adapt to the application environment and device characteristics, and helps to support the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, 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 includes: a comparison module, wherein the comparison module includes a first input terminal and a second input terminal, and the comparison module is configured to output a first comparison result when the voltage at the first input terminal is higher than the voltage at the second input terminal, and to output a second comparison result when the voltage at the first input terminal is lower than the voltage at 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 configured 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; a resistor-capacitor filtering module, wherein the resistor-capacitor filtering module is configured to filter the ripple of the power supply voltage signal and then output it to the second input terminal of the comparison module, and the resistor-capacitor filtering module has an adjustable resistor-capacitor constant, and the adjustable resistor-capacitor constant is a first resistor-capacitor constant when the comparison module outputs the first comparison result and is a second resistor-capacitor constant when the comparison module outputs the second comparison result, and the first resistor-capacitor constant is less than the second resistor-capacitor constant.
[0005] Through the first aspect of the present application, for the problem of the power-on reset protection mechanism, through the cooperation between the comparison module, the selection module, and the resistor-capacitor filtering module, by using the switching of the adjustable resistor-capacitor constant of the resistor-capacitor filtering module and the output switching of the comparison module, misjudgment is effectively avoided and the anti-interference ability of the circuit is improved. Moreover, without the intervention of external devices, only by setting the first reference voltage value and the second reference voltage value in advance, the power-on reset circuit can continuously monitor the power supply voltage signal, thereby adaptively determining when to generate the reset signal and when to abort the generation of the reset signal, and then cooperating with operations such as power-on and power-off of the power supply and entering and exiting the low-power mode, which is beneficial to integration and volume reduction, helps to adapt to the application environment and device characteristics, and helps to support the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0006] In a possible implementation manner of the first aspect of the present application, the resistor-capacitor filtering module is configured to filter high-frequency ripples when the adjustable resistor-capacitor constant is the first resistor-capacitor constant, and the resistor-capacitor filtering module is configured to filter low-frequency ripples when the adjustable resistor-capacitor constant is the second resistor-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 end, and the resistor-capacitor filtering module filters the ripple of the power supply voltage signal based on the first resistor-capacitor constant and then outputs it to the second input end.
[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 maintains 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, so that the power-on reset circuit stops generating the reset signal.
[0009] In a possible implementation of the first aspect of the present application, the first reference voltage value is the first threshold voltage 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 resistor-capacitor constant is for the resistor-capacitor 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.
[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 end, and the resistor-capacitor filtering module filters the ripple of the power supply voltage signal based on the second resistor-capacitor constant and then outputs it to the second input end.
[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 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.
[0012] In a possible implementation of the first aspect of the present application, the second reference voltage value is the second threshold voltage 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-capacitance constant is for the resistance-capacitance filtering module to filter the low-frequency ripple of the power supply voltage signal during the 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 resistance-capacitance filtering module includes a first PMOS transistor and a second PMOS transistor. The first PMOS transistor and the second PMOS transistor are connected in parallel between the power supply voltage signal and the second input terminal of the comparison module. Among them, the first PMOS transistor remains conducting, and the second PMOS transistor conducts when the comparison module outputs the first comparison result and turns 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, both the first PMOS transistor and the second PMOS transistor conduct, and the adjustable resistance-capacitance constant of the resistance-capacitance filtering module is determined based on the on-resistance of the first PMOS transistor and the on-resistance of the second PMOS transistor. And when the comparison module outputs the second comparison result, the first PMOS transistor conducts and the second PMOS transistor turns off, and the adjustable resistance-capacitance constant of the resistance-capacitance filtering module is determined based on the on-resistance of the first PMOS transistor.
[0015] In a possible implementation of the first aspect of the present application, the drains of the first PMOS transistor and the second PMOS transistor are each connected to the power supply voltage signal. The gate of the first PMOS transistor is connected to a normally-on control signal, and the gate of the second PMOS is connected to the inverted result of the output of the comparison module. And when the first comparison result is a high level and the second comparison result is a low level, the sources of the first PMOS transistor and the second PMOS transistor are each connected to the second input terminal of the comparison module.
[0016] In a possible implementation of the first aspect of the present application, the output of the comparison module is low-pass filtered and then inverted and output to the gate of the second PMOS.
[0017] In a possible implementation of the first aspect of the present application, when the first comparison result is a high level and 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 the power-on and power-off processes of the power supply.
[0019] In a possible implementation manner of the first aspect of the present application, the power-on reset circuit is used to ensure the normal state of the system when entering and exiting the low-power mode.
[0020] In a second aspect, the present application provides a method for generating a reset signal. The method includes: providing a comparison module, where the comparison module includes a first input terminal and a second input terminal, and the comparison module is configured 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 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, where the selection module is configured 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 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; providing a resistor-capacitor filtering module, where the resistor-capacitor filtering module is configured to filter the ripple of the power supply voltage signal and then output it to the second input terminal of the comparison module, and the resistor-capacitor filtering module has an adjustable resistor-capacitor constant, and the adjustable resistor-capacitor constant is a first resistor-capacitor constant when the comparison module outputs the first comparison result and a second resistor-capacitor constant when the comparison module outputs the second comparison result, and the first resistor-capacitor constant is less than the second resistor-capacitor constant.
[0021] According to the second aspect of the present application, for the problem of the power-on reset protection mechanism, through the cooperation among the comparison module, the selection module, and the resistor-capacitor filtering module, by using the adjustable resistor-capacitor constant switching of the resistor-capacitor filtering module and the output switching of the comparison module, misjudgment is effectively avoided, and the anti-interference ability of the circuit is improved. Moreover, without the intervention of external devices, only by setting 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, thereby adaptively determining when to generate the reset signal and when to abort generating the reset signal, and further cooperating with operations such as power-on and power-off of the power supply and entering and exiting the low-power mode, which is beneficial to integration and volume reduction, helps to adapt to the application environment and device characteristics, and helps to support the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, 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 the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0023] Figure 1 Schematic diagram of a power-on reset circuit for generating a reset signal according to the first embodiment provided by the embodiment of the present application;
[0024] Figure 2 Schematic diagram of a power-on reset circuit for generating a reset signal according to the second embodiment provided by the embodiment of the present application;
[0025] Figure 3 Schematic flow chart of a method for generating a reset signal provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0026] The embodiments of the present application will be further described in detail below with reference to the drawings.
[0027] It should be understood that in the description of the present application, "at least one" means one or more, and "a plurality" means two or more. In addition, words such as "first" and "second" are only used for the purpose of distinguishing descriptions unless otherwise specified, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0028] Figure 1 Schematic diagram of a power-on reset circuit for generating a reset signal according to the first embodiment provided by the embodiment of the present application. As Figure 1As shown, the power-on reset circuit A100 includes: a comparison module A101. The comparison module A101 includes a first input terminal A103 and a second input terminal A105. The comparison module A101 is configured 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 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. 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 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. The first reference voltage value A123 is higher than the second reference voltage value A125; a resistor-capacitor filtering module A131. The resistor-capacitor filtering module A131 is configured to filter the ripple of the power supply voltage signal A150 and then output it to the second input terminal A105 of the comparison module A101. Moreover, the resistor-capacitor filtering module A131 has an adjustable resistor-capacitor constant. The adjustable resistor-capacitor constant is a first resistor-capacitor constant when the comparison module A101 outputs the first comparison result and a second resistor-capacitor constant when the comparison module A101 outputs the second comparison result. The first resistor-capacitor constant is smaller than the second resistor-capacitor constant.
[0029] Figure 1The power-on reset circuit A100 for generating a reset signal as shown can be applied to application fields such as high-performance computers, automotive electronics, communication devices, and industrial control. In these application fields, various types of devices, systems, and electronic components are widely used, such as network devices, storage devices, processing devices, etc. During the power-on and power-off processes of the power supply, as well as when entering and exiting the low-power mode, the change in the power supply voltage may affect the normal function of the integrated circuits inside the device. For example, it may affect the logic circuit for storage read / write control, resulting in incorrect read / write operations. Therefore, it is necessary to generate a specific indication signal, that is, a reset signal, to perform, for example, storage read / write control and indicate that a specific functional module maintains a specific state, thereby avoiding read / write errors, data loss, etc. Therefore, 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 that of other devices is 12 volts during normal operation. In addition, some devices are more sensitive to storage read / write errors, and the abnormal fluctuation of the power supply voltage also needs to be considered. For example, the voltage transmitted through the power grid undergoes abnormal fluctuations such as a surge phenomenon, resulting in a sudden increase or decrease in voltage. Therefore, the power-on reset protection mechanism also needs to consider how to overcome misjudgment and reset false triggering caused by the abnormality of the power supply voltage, such as jitter. Figure 1 The power-on reset circuit A100 for generating a reset signal as shown can adaptively generate the reset signal of the power-on reset circuit A100, can flexibly adapt to any monitored power supply voltage, can also be flexibly adjusted according to actual needs, saves the loss of external intervention through the self-adaptation mechanism, is beneficial to integration and volume reduction, helps to adapt to the application environment and device characteristics, and helps to support the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control. The following will be described in detail.
[0030] Refer to Figure 1, the power supply voltage signal A150 is the power supply voltage to be monitored. By continuously monitoring the power supply voltage signal A150 and generating a reset signal and aborting the generation of the reset signal at an appropriate time, the power-on reset circuit A100 provides a power-on reset protection mechanism. Among them, the comparison module A101 includes a first input terminal A103 and a second input terminal A105. The comparison module A101 is configured 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, when the voltage of the first input terminal A103 is lower than the voltage of the second input terminal A105, output a second comparison result. The selection module A121, wherein 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, when the comparison module A101 outputs the second comparison result, output 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. Thus, the comparison module A101 and the selection module A121 together form a logical loop, that is, the output of the comparison module A101 switches between the first comparison result and the second comparison result. And, 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. And 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 also 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, it is required that the voltage of the second input terminal A105 is higher than the first reference voltage value A123. Relatively, 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 also 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, that is, it is required that the voltage of the second input terminal A105 is lower than the second reference voltage value A125.Therefore, by setting the first reference voltage value A123 to be higher than the second reference voltage value A125, and by using the comparison module A101 and the selection module A121, a closed-loop logic for 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 at the second input terminal A105 increases to exceed the first reference voltage value A123, which causes the voltage at the first input terminal A103 (the first reference voltage value A123) to be lower than the voltage at the second input terminal A105, this will trigger the output of the comparison module A101 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 at the second input terminal A105 does not exceed the first reference voltage value A123, the output of the comparison module A101 will remain 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 at the second input terminal A105 does not exceed the first reference voltage value A123, the power-on reset circuit A100 remains in the state of generating the reset signal. Therefore, 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 it cause the output of the comparison module A101 to switch and the power-on reset circuit A100 to 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 at the second input terminal A105 decreases to be lower than the second reference voltage value A125, which causes the voltage at the first input terminal A103 (the second reference voltage value A125) to be higher than the voltage at the second input terminal A105, this will trigger the output of the comparison module A101 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 at the second input terminal A105, the output of the comparison module A101 will remain 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 at the second input terminal A105, the power-on reset circuit A100 remains in the state of not generating the reset signal.Therefore, the second reference voltage value A125 is set as the threshold voltage at which the power-on reset circuit A100 starts to generate a reset signal. During the period when the power-on reset circuit A100 keeps not generating 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 it cause the output of the comparison module A101 to switch and the power-on reset circuit A100 to start generating a reset signal.
[0031] Continue to refer to Figure 1, the resistor-capacitor filtering module A131 is used to filter the ripple of the power supply voltage signal A150 and then output it to the second input terminal A105 of the comparison module A101. Therefore, the output of the resistor-capacitor filtering module A131 serves 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 filtering module A131 has an adjustable resistor-capacitor constant, and the adjustable resistor-capacitor constant switches between a first resistor-capacitor constant and a 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 it cause the output of the comparison module A101 to switch and the power-on reset circuit A100 to abort generating the reset signal. Therefore, during the period when the power-on reset circuit A100 is generating a reset signal, the resistor-capacitor filtering module A131 has a relatively small first resistor-capacitor constant, which is beneficial for filtering high-frequency ripples. The advantage of this design is that in 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 abort generating the reset signal, and combining the first resistor-capacitor constant that is more suitable for filtering high-frequency ripples as the adjustable resistor-capacitor constant of the resistor-capacitor filtering module A131, for situations where a reset signal is generated, such as during the power-on and power-off processes of the power supply voltage and when entering the low-power mode, high-frequency voltage jitter and high-frequency power supply ripples are more likely to occur in these situations. Therefore, such a design can more effectively avoid misjudgment and avoid aborting the generation of the reset signal prematurely, which may lead to read / write errors, and is beneficial for enhancing the anti-interference ability of the circuit. 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 is maintaining no generation of 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 it cause the output of the comparison module A101 to switch and the power-on reset circuit A100 to start generating the reset signal. Therefore, during the period when the power-on reset circuit A100 is maintaining no generation of a reset signal, the resistor-capacitor filtering module A131 has a relatively large second resistor-capacitor constant, which is beneficial for filtering low-frequency ripples.The advantage of such a design is that in relevant applications of high-frequency digital integrated circuits, by setting a relatively low threshold voltage, i.e., the second reference voltage value A125, as the threshold voltage for the power-on reset circuit A100 to start generating a reset signal, and combining the second resistor-capacitor constant that is more suitable for filtering low-frequency ripples as the adjustable resistor-capacitor constant of the resistor-capacitor filtering module A131. For the case where no reset signal is generated, i.e., when the power supply is operating 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., and low-frequency voltage jitter and low-frequency power supply ripple are more likely to occur. Therefore, such a design can more effectively avoid misjudgment and avoid the mis-triggering of generating a reset signal, which may lead to the application of incorrect storage read / write control, and is beneficial to enhancing the anti-interference ability of the circuit.
[0032] Reference Figure 1 , the first reference voltage value A123 and the second reference voltage value A125 can be set according to actual needs. And the first reference voltage value A123 is higher than the second reference voltage value A125, which can provide a certain amount of hysteresis, that is, by using the difference value between the first reference voltage value A123 and the second reference voltage value A125, combined with the above-mentioned closed-loop logic of state switching, the circuit interference can be enhanced. The first reference voltage value A123 and the second reference voltage value A125 can be adjusted according to the actual needs of the memory controller. Therefore, it helps to adapt to complex and changeable application environments and the electrical characteristics of various devices. For example, the power supply voltage of some devices during normal operation is 5 volts, while that of other devices during normal operation is 12 volts. Another example is that in some application environments, there are abnormal fluctuations in the power supply voltage, such as voltage surges occurring in the voltage transmitted through the power grid, resulting in abnormal fluctuations in the voltage suddenly rising or falling. By setting the corresponding first reference voltage value A123 and second reference voltage value A125, providing sufficient hysteresis, and combining the above-mentioned closed-loop logic of state switching, it can effectively handle the cases of generating a reset signal, such as during the power-on and power-off processes of the power supply voltage and when entering the low-power mode. In these cases, high-frequency voltage jitter and high-frequency power supply ripple are more likely to occur, and it can also effectively handle the case where no reset signal is generated, i.e., when the power supply is operating 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., and low-frequency voltage jitter and low-frequency power supply ripple are more likely to occur, which helps to support the adaptability of complex and changeable application environments and various devices.
[0033] Reference Figure 1, in some embodiments, the circuit implementation of the resistor-capacitor filtering module A131 can be achieved through two P-type Metal-Oxide-Semiconductor (PMOS) transistors, that is, two PMOS tubes. The power supply voltage signal A150 serves as the drain or load pole of the two PMOS tubes. The gate or control pole of one PMOS tube is connected to a preset signal, such as a normally-on control signal, to keep the PMOS tube continuously conducting. The gate or control pole of the other PMOS tube is connected to the inverted result of the output of the comparison module A101 to control the conduction and cutoff of the other PMOS tube. The sources or bias poles of the two PMOS tubes are connected together and then connected to the second input terminal A105 of the comparison module A101. It should be understood that the circuit implementation of the resistor-capacitor filtering module A131 can adopt any suitable circuit implementation method as long as it can cooperate with the above-mentioned selection module A121 and comparison module A101 to achieve the above-mentioned closed-loop logic of state switching.
[0034] In summary, Figure 1 For the power-on reset circuit A100 shown, to address the issue of the power-on reset protection mechanism, through the comparison module A101, the selection module A121, and the resistor-capacitor filtering module A131, it can adaptively determine whether to abort or start generating the 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), that is, execute the above-mentioned closed-loop logic of state switching. Moreover, by using the resistor-capacitor filtering module A131 that can switch between the first resistor-capacitor constant and the second resistor-capacitor constant, in cooperation with the closed-loop logic of the state switching of the power-on reset circuit A100, it provides targeted filtering of power supply low-frequency ripple or power supply high-frequency ripple, which can effectively and specifically avoid misjudgment and improve the anti-interference ability of the circuit. Additionally, the cooperation among the comparison module A101, the selection module A121, and the resistor-capacitor filtering module A131, including the adjustable resistor-capacitor constant switching of the resistor-capacitor filtering module A131 and the output switching of the comparison module A101, do not require the intervention of external devices. Only by presetting the first reference voltage value A123 and the second reference voltage value A125 in advance, the power-on reset circuit A100 itself can continuously monitor the power supply voltage signal A150, thereby adaptively determining when to generate the reset signal and when to abort generating the reset signal, and then cooperating with operations such as power-on and power-off of the power supply and entering and exiting the low-power mode, which is beneficial for integration and volume reduction, helps to adapt to the application environment and device characteristics, and helps to support the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0035] Refer toFigure 1 , in a possible implementation, the resistor-capacitor filtering 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 filtering 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 power supply low-frequency ripples or power supply high-frequency ripples is provided, which can effectively and specifically avoid misjudgment and improve the anti-interference ability of the circuit.
[0036] 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 filtering module A131 filters the ripple of 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 filtering module A131 has a relatively small first resistor-capacitor constant, which is beneficial for filtering high-frequency ripples. The advantage of this design is that in 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 abort generating the 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 filtering module A131, for situations where the reset signal is generated, such as the power-on and power-off processes of the power supply voltage and when entering the low-power mode, high-frequency voltage jitter and high-frequency power supply ripples are more likely to occur in these situations. Therefore, this design can more effectively avoid misjudgment and avoid aborting the generation of the reset signal prematurely, which may lead to read-write errors, and is beneficial to enhancing the anti-interference ability of the circuit.
[0037] 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 continues to generate 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. Thus, 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 it cause the output of the comparison module A101 to switch and the power-on reset circuit A100 to stop generating the reset signal. In this way, misjudgment can be more effectively avoided, and premature termination of generating the reset signal resulting in read / write errors can be avoided, which is beneficial to enhancing the anti-interference ability of the circuit.
[0038] In some embodiments, the first reference voltage value A123 is the first threshold voltage for the power-on reset circuit A100 to stop generating the reset signal during the period when the power-on reset circuit A100 generates the reset signal. And the first resistance-capacitance constant is for the resistor-capacitor filtering module A131 to filter the high-frequency ripple of the power supply voltage signal A150 during the period when the power-on reset circuit A100 generates the reset signal. Thus, misjudgment can be more effectively avoided, which is beneficial to enhancing the anti-interference ability of the circuit.
[0039] In a possible implementation manner, 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 filtering module A131 filters 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, during the period when the power-on reset circuit A100 remains not generating the reset signal, the resistor-capacitor filtering module A131 has a relatively large second resistor-capacitor constant, which is beneficial for filtering low-frequency ripples. The advantage of such a design is that in related 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 the reset signal, and combining the second resistor-capacitor constant that is more suitable for filtering low-frequency ripples as the adjustable resistor-capacitor constant of the resistor-capacitor filtering module A131, for the situation where the reset signal is not generated, that is, the power supply is working normally, in this case, the power supply voltage supplies power normally, and the power supply voltage may come from an external power grid or a storage battery, etc., and low-frequency voltage jitter and low-frequency power supply ripples are more likely to occur. Therefore, such a design can more effectively avoid misjudgment and avoid the mis-triggering of generating the reset signal, which may lead to the application of incorrect storage read / write control, and is beneficial to enhancing the anti-interference ability of the circuit.
[0040] 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 remains not generating 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 it cause the output of the comparison module A101 to switch and the power-on reset circuit A100 to start generating the reset signal. In this way, misjudgment is more effectively avoided, and the mis-triggering of generating the reset signal, which may lead to the application of incorrect storage read / write control, is avoided, which is beneficial to enhancing the anti-interference ability of the circuit.
[0041] In some embodiments, the second reference voltage value A125 is the 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-capacitance constant is for the resistor-capacitor filtering module A131 to perform low-frequency ripple filtering on the power supply voltage signal A150 during the period when the power-on reset circuit A100 generates the reset signal. In this way, misjudgment is more effectively avoided, which is beneficial to enhancing the anti-interference ability of the circuit.
[0042] In a possible implementation manner, the resistor-capacitor filtering module A131 includes a first PMOS transistor and a second PMOS transistor. The first PMOS transistor and the second PMOS transistor are connected in parallel between the power supply voltage signal A150 and the second input terminal A105 of the comparison module A101. Among them, the first PMOS transistor remains conducting, and the second PMOS transistor conducts when the comparison module A101 outputs the first comparison result and turns off when the comparison module A101 outputs the second comparison result. The circuit implementation manner of the resistor-capacitor filtering module A131 can adopt any suitable circuit implementation manner as long as it can combine the above-mentioned selection module A121 and comparison module A101 to implement the closed-loop logic of the above-mentioned state switching. In this way, by using the cooperation among the comparison module A101, the selection module A121, and the resistor-capacitor filtering module A131, it is possible to adaptively determine when to generate the reset signal and when to abort generating the reset signal, and then cooperate with operations such as power-on and power-off of the power supply and entering and exiting the low-power mode. This is beneficial to integration and volume reduction, helps to adapt to the application environment and device characteristics, and helps to support the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0043] In some embodiments, when the comparison module A101 outputs the first comparison result, both the first PMOS transistor and the second PMOS transistor are turned on. The adjustable resistance-capacitance constant of the resistance-capacitance filtering module A131 is determined based on the on-resistance of the first PMOS transistor and the on-resistance of the second PMOS transistor. Moreover, when the comparison module A101 outputs the second comparison result, the first PMOS transistor is turned on and the second PMOS transistor is turned off, and the adjustable resistance-capacitance constant of the resistance-capacitance filtering module A131 is determined based on the on-resistance of the first PMOS transistor. In this way, a power-on reset protection mechanism is implemented, which adaptively determines when to generate a reset signal and when to abort generating the reset signal. Furthermore, in cooperation with operations such as power-on and power-off of the power supply and entering and exiting the low-power mode, it is beneficial for integration and volume reduction, helps to adapt to the application environment and device characteristics, and helps to support the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0044] In some embodiments, the drains of the first PMOS transistor and the second PMOS transistor are each connected to the power supply voltage signal A150. The gate of the first PMOS transistor is connected to a normally-on control signal, and the gate of the second PMOS is connected to the inverted result of the output of the comparison module A101. Moreover, the first comparison result is a high level, the second comparison result is a low level, and the sources of the first PMOS transistor and the second PMOS transistor are each connected to the second input terminal A105 of the comparison module A101. In this way, a power-on reset protection mechanism is implemented, which adaptively determines when to generate a reset signal and when to abort generating the reset signal. Furthermore, in cooperation with operations such as power-on and power-off of the power supply and entering and exiting the low-power mode, it is beneficial for integration and volume reduction, helps to adapt to the application environment and device characteristics, and helps to support the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0045] In some embodiments, the output of the comparison module A101 is low-pass filtered and then inverted and output to the gate of the second PMOS. In this way, the system stability and the anti-interference ability of the circuit are further improved through low-pass filtering.
[0046] 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 maintains generating the reset signal during the period when the output of the comparison module A101 is at a high level and does not generate the reset signal during the period when the output of the comparison module A101 is at a low level. In this way, a power-on reset protection mechanism is implemented, which adaptively determines when to generate the reset signal and when to abort generating the reset signal, and further coordinates operations such as power-on and power-off operations and entering and exiting the low-power mode. This is beneficial for integration and volume reduction, helps to adapt to the application environment and device characteristics, and supports the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0047] 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 processes of the power supply. In this way, a power-on reset protection mechanism is implemented, which adaptively determines when to generate the reset signal and when to abort generating the reset signal, and further coordinates operations such as power-on and power-off operations and entering and exiting the low-power mode. This is beneficial for integration and volume reduction, helps to adapt to the application environment and device characteristics, and supports the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0048] 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, which adaptively determines when to generate the reset signal and when to abort generating the reset signal, and further coordinates operations such as power-on and power-off operations and entering and exiting the low-power mode. This is beneficial for integration and volume reduction, helps to adapt to the application environment and device characteristics, and supports the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0049] Figure 2 Schematic diagram of the power-on reset circuit for generating a reset signal according to the second implementation manner provided by the embodiments of the present application. As Figure 2As shown, the power-on reset circuit B200 includes: a comparison module B201. Among them, the comparison module B201 includes a first input terminal B203 and a second input terminal B205. The comparison module B201 is configured 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 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. Among them, the selection module B221 is configured to output a first reference voltage value B223 to the first input terminal B203 of the comparison module B201 when the comparison module B201 outputs the first comparison result, and output a second reference voltage value B225 to the first input terminal B203 of the comparison module B201 when the comparison module B201 outputs the second comparison result. The first reference voltage value B223 is higher than the second reference voltage value B225; a resistor-capacitor filtering module B231. Among them, the resistor-capacitor filtering module B231 is configured to filter the ripple of the power supply voltage signal B250 and then output it to the second input terminal B205 of the comparison module B201. And the resistor-capacitor filtering module B231 has an adjustable resistor-capacitor constant. The adjustable resistor-capacitor constant is a first resistor-capacitor constant when the comparison module B201 outputs the first comparison result and a second resistor-capacitor constant when the comparison module B201 outputs the second comparison result. The first resistor-capacitor constant is less than the second resistor-capacitor constant. The resistor-capacitor filtering module B231 includes two P-type metal oxide semiconductors (Positive Channel-Metal-Oxide-Semiconductor, PMOS), that is, two PMOS transistors, which are a first PMOS transistor (P-type field effect transistor A240) and a second PMOS transistor (P-type field effect transistor B260) respectively. The first PMOS transistor (P-type field effect transistor A240) and the second PMOS transistor (P-type field effect transistor B260) are connected in parallel between the power supply voltage signal B250 and the second input terminal B205 of the comparison module B201. Among them, the first PMOS transistor (P-type field effect transistor A240) remains conducting, and the second PMOS transistor (P-type field effect transistor B260) conducts when the comparison module B201 outputs the first comparison result and turns off when the comparison module B201 outputs the second comparison result.
[0050] Reference Figure 2, when the comparison module B201 outputs the first comparison result, both the first PMOS transistor (P-type field effect transistor A240) and the second PMOS transistor (P-type field effect transistor B260) are turned on, and the adjustable resistance-capacitance constant of the resistance-capacitance filtering module B231 is determined based on the on-resistance of the first PMOS transistor (P-type field effect transistor A240) and the on-resistance of the second PMOS transistor (P-type field effect transistor B260). Moreover, when the comparison module B201 outputs the second comparison result, the first PMOS transistor (P-type field effect transistor A240) is turned on and the second PMOS transistor (P-type field effect transistor B260) is turned off, and the adjustable resistance-capacitance constant of the resistance-capacitance filtering module B231 is determined based on the on-resistance of the first PMOS transistor (P-type field effect transistor A240). Figure 2 Capacitor B254 is also shown in FIG. Capacitor B254 is used to determine the adjustable resistance-capacitance constant of the resistance-capacitance filtering module B231 together with the above-mentioned on-resistance. The drains 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 drain 241 of P-type field effect transistor A240 and the drain 261 of P-type field effect transistor B260, are both connected to the power supply voltage signal B250. The gate of the first PMOS transistor (P-type field effect transistor A240), that is, the gate 242 of P-type field effect transistor A240, is connected to the always-on control signal. In this way, the first PMOS transistor (P-type field effect transistor A240) remains turned on under the action of the always-on control signal. The gate of the second PMOS (P-type field effect transistor B260), that is, the gate 262 of P-type field effect transistor B260, is connected to the inverted result of the output of the comparison module B201. Figure 2An inverter B252 is shown. After the output of the comparison module B201 passes through the inverter B252, the inverted result of the output of the comparison module B201 is output to the gate 262 of the P-type field effect transistor B260. And, the first comparison result is a high level, the second comparison result is a low level, and the sources 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 243 of the P-type field effect transistor A240 and the source 263 of the P-type field effect transistor B260, are both connected to the second input terminal B205 of the comparison module B201. In this way, it is realized that the adjustable resistance-capacitance constant of the resistance-capacitance filtering module B231 can be switched between a first resistance-capacitance constant and a second resistance-capacitance constant based on the output of the comparison module B201. That is, the adjustable resistance-capacitance constant is the first resistance-capacitance constant when the comparison module B201 outputs the first comparison result and is the second resistance-capacitance constant when the comparison module B201 outputs the second comparison result. And, when the comparison module B201 outputs the first comparison result, both the first PMOS transistor (P-type field effect transistor A240) and the second PMOS transistor (P-type field effect transistor B260) are turned on, and the adjustable resistance-capacitance constant of the resistance-capacitance filtering module B231 is determined based on the on-resistance of the first PMOS transistor (P-type field effect transistor A240) and the on-resistance of the second PMOS transistor (P-type field effect transistor B260). This means a smaller resistance-capacitance constant, so it can better filter high-frequency ripples. When the comparison module B201 outputs the second comparison result, the first PMOS transistor (P-type field effect transistor A240) is turned on and the second PMOS transistor (P-type field effect transistor B260) is turned off, and the adjustable resistance-capacitance constant of the resistance-capacitance filtering module B231 is determined based on the on-resistance of the first PMOS transistor (P-type field effect transistor A240). This means a larger resistance-capacitance constant, so it can better filter low-frequency ripples. 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 transistor B260), that is, the gate 262 of the P-type field effect transistor B260.
[0051] In summary, Figure 2The power-on reset circuit B200 shown, in response to the problem of the power-on reset protection mechanism, through the comparison module B201, the selection module B221, and the resistor-capacitor filtering module B231, can adaptively determine, based on 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), whether to abort or start generating the reset signal, that is, execute the closed-loop logic of the above-mentioned state transition. Moreover, by using the resistor-capacitor filtering module B231 that can switch between the first resistor-capacitor constant and the second resistor-capacitor constant, in cooperation with the closed-loop logic of the state transition of the power-on reset circuit B200, targeted filtering of the power supply low-frequency ripple or the power supply high-frequency ripple is provided, which can effectively and specifically avoid misjudgment and improve the anti-interference ability of the circuit. Furthermore, the cooperation among the comparison module B201, the selection module B221, and the resistor-capacitor filtering module B231, including the adjustable resistor-capacitor constant switching of the resistor-capacitor filtering module B231 and the output switching of the comparison module B201, does not require the intervention of external devices. Only by setting 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, thereby adaptively determining when to generate the reset signal and when to abort generating the reset signal, and then cooperating with operations such as power-on and power-off of the power supply and entering and exiting the low-power mode, which is beneficial to integration and volume reduction, helps to adapt to the application environment and device characteristics, and helps to support the customization requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0052] Figure 3 The flowchart of a method for generating a reset signal provided by an embodiment of the present application is shown as follows. Figure 3 As shown, the method includes the following steps.
[0053] Step S301: Provide a comparison module, where the comparison module includes a first input terminal and a second input terminal. The comparison module is configured 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 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.
[0054] Step S303: Provide a selection module, where the selection module is configured 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 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.
[0055] Step S305: Provide a resistor-capacitor filtering module, where the resistor-capacitor filtering module is configured to filter the ripple of the power supply voltage signal and then output it to the second input terminal of the comparison module, and the resistor-capacitor filtering module has an adjustable resistor-capacitor constant, and the adjustable resistor-capacitor constant is a first resistor-capacitor constant when the comparison module outputs the first comparison result and a second resistor-capacitor constant when the comparison module outputs the second comparison result, and the first resistor-capacitor constant is less than the second resistor-capacitor constant.
[0056] In summary, Figure 3 The method for generating a reset signal shown, in view of the problems of the power-on reset protection mechanism, through the cooperation among the comparison module, the selection module, and the resistor-capacitor filtering module, and by using the switching of the adjustable resistor-capacitor constant of the resistor-capacitor filtering module and the output switching of the comparison module, effectively avoids misjudgment and improves the anti-interference ability of the circuit. Moreover, without the intervention of external devices, only by setting 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, thereby adaptively determining when to generate a reset signal and when to abort generating a reset signal, and further cooperating with operations such as power-on and power-off of the power supply and entering and exiting the low-power mode, which is beneficial to integration and volume reduction, helps to adapt to the application environment and device characteristics, and helps to support the customized requirements and device expansion requirements in application fields such as high-performance computers, automotive electronics, communication devices, and industrial control.
[0057] The method and device provided in the embodiments of the present application are based on the same inventive concept. Since the principles of the method and the device for solving problems are similar, the embodiments, implementation manners, examples, or implementation modes of the method and the device can be referred to each other, and the repeated parts will not be described again. The embodiments of the present application further provide a system, which includes a plurality of 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 the system can implement 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 described again here.
[0058] The embodiments of the present application further provide a computer-readable storage medium. Computer instructions are stored in the computer-readable storage medium. When the computer instructions run on a computer device (such as one or more processors), the method steps in the above method embodiments can be implemented. The specific implementation of the processor of the computer-readable storage medium when executing the above method steps can refer to the specific operations described in the above method embodiments and / or the specific functions described in the above device embodiments, which will not be elaborated herein.
[0059] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. The present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. The embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any other arbitrary combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The present application can adopt the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code. The computer program product includes one or more computer instructions. When the computer program instructions are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center containing one or more sets of available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium. The semiconductor medium can be a solid-state drive, or a random access memory, a flash memory, a read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, a register, or any other suitable storage medium in any other form.
[0060] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. Each flow and / or block in the flowchart and / or block diagram, and the combination of flows 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 the processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce means for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 and / or means for implementing the functions specified in one or more of the blocks. These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce a manufacture including instruction means that implement the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 and / or means for implementing the functions specified in one or more of the blocks. These computer program instructions can also be loaded onto a computer or other programmable data processing device, such 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 steps for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 and / or means for implementing the functions specified in one or more of the blocks.
[0061] In the above embodiments, the descriptions of the various embodiments have their own emphases. For parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. Obviously, those skilled in the art can make various modifications and variations 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 embodiments of the present application can be adjusted, combined, or deleted according to actual needs; the modules in the system embodiments of the present application can be divided, combined, 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 also intends 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, the first resistor and capacitor constant is less than the second resistor and capacitor constant, 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.
2. 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.
3. The power-on reset circuit according to claim 2, 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.
4. The power-on reset circuit according to claim 3, 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.
5. 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.
6. The power-on reset circuit according to claim 5, 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.
7. The power-on reset circuit according to claim 6, 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.
8. 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.
9. The power-on reset circuit according to claim 8, 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.
10. The power-on reset circuit according to claim 9, 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.
11. The power-on reset circuit according to claim 10, 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.
12. 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.
13. 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.
14. 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.
15. 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 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, 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.
Citation Information
Patent Citations
Power-on reset method and circuit using MIPI standard circuit
CN104378093A
Power-on reset circuit with programmable reset threshold voltage and integrated circuit system
CN117728809A