A data power-off retention circuit and device for static random access memory

By designing voltage monitoring and logic control units in static random memory and switching power supply methods, the problems of data loss and critical signal interference during power failure are solved, and data is safely saved and battery life is extended.

CN112104066BActive Publication Date: 2024-11-29KYLAND TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011052023.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-29
Publication Date
2024-11-29
Estimated Expiration
2040-09-29

AI Technical Summary

Technical Problem

Data is easily lost when existing static random memory is powered off, and unstable key signals may lead to data loss during power off. The motherboard battery life is short and needs to be replaced frequently, causing trouble to users.

Method used

A data power-down holding circuit including a voltage monitoring unit, a logic control unit, a key signal protection unit and a power switching unit is designed. By monitoring the voltage signal in real time and switching the power supply mode, it ensures that the static random memory does not lose data when it is powered off. And prevent critical signals from being disturbed.

Benefits of technology

It effectively avoids the loss of static random memory data during power failure, prevents data loss caused by instability of key signals, and extends battery life through backup power supply modules and reduces the frequency of battery replacement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112104066B_ABST
    Figure CN112104066B_ABST
Patent Text Reader

Abstract

The present invention provides a data power-off retention circuit of a static random access memory, comprising a voltage monitoring unit, a logic control unit, a key signal protection unit, a power switching unit, and a power supply unit, wherein the power supply unit comprises a power module and a backup power supply module; the voltage monitoring unit is connected to the power module of the power supply unit, and is used to monitor the voltage signal output by the power module; the logic control unit is connected to the voltage monitoring unit, and is used to generate a control enable signal according to the received level signal; the key signal protection unit is connected to the logic control unit; the power switching unit is connected to the logic control unit and the power supply unit, and controls the power module or the backup power supply module of the power supply unit to switch power supply. The present invention can effectively avoid the risk of data in the static random access memory being easily lost during power failure, and also prevents the instability of key signals during power failure from causing data loss in the static random access memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data storage, and in particular to a data power-off retention circuit and device for a static random access memory. Background Art

[0002] At present, random access memory is a commonly used and indispensable information storage device in various electronic devices with microprocessors as the core. In the field of data storage, static random access memory (SRAM) is usually used for data storage. The advantages of static random access memory are fast speed and unlimited read and write times. The disadvantage is that the data cannot be saved when the power is off, so the static random access memory must be powered separately when the system is powered off.

[0003] In the existing conventional power-off protection design, a mainboard battery and an external circuit are often added. When the system is powered, the system power supply is used to power the static random access memory, and when the power is off, the mainboard battery is used to power the static random access memory to protect the data from being lost during power off. However, the external circuit configured in this design is usually less reliable, and there is no protection for key signals such as the main control signal in the electronic device. When the power is on or off, there may be interference signals that interfere with the key signals, resulting in data loss in the static random access memory. In addition, the life of the mainboard battery is usually only one to two years. When replacing the battery, the data must be processed, which brings unnecessary trouble to the user. Summary of the invention

[0004] In view of this, the main purpose of the present invention is to provide a data power-off retention circuit and device for a static random access memory, which can effectively avoid the risk of data loss in the static random access memory during power failure, and also prevent the loss of data in the static random access memory due to the instability of key signals during power failure.

[0005] The technical solution adopted by the present invention is a data power-off retention circuit of a static random access memory, comprising a voltage monitoring unit, a logic control unit, a key signal protection unit, a power switching unit, and a power supply unit, wherein the power supply unit comprises a power supply module and a backup power supply module, and is used to supply power to the key signal protection unit and the static random access memory;

[0006] The voltage monitoring unit is connected to the power module of the power supply unit, and is used to monitor the voltage signal output by the power module, and output a level signal according to the monitored voltage signal;

[0007] The logic control unit is connected to the voltage monitoring unit, and is used to generate a control enable signal according to the received level signal, and output the control enable signal to the key signal protection unit and the power switching unit respectively;

[0008] The key signal protection unit is connected to the logic control unit, and is used to control the on and off of the key signal output to the static random access memory according to the received control enable signal;

[0009] The power switching unit is connected to the logic control unit and the power supply unit, and is used to output a power switching signal according to a received control enable signal, control the switching of the power module or the backup power supply module of the power supply unit, and supply power to the critical signal protection unit and the static random access memory.

[0010] As described above, the present invention monitors the voltage signal output by the power supply unit in real time through the voltage monitoring unit, and outputs a corresponding level signal according to the monitored voltage signal. The level signal can control whether the logic control unit at the back end is turned on or not. When a power outage occurs, the level detection unit outputs a high level signal, and the logic control unit is turned on and outputs a control enable signal to the key signal protection unit and the power switching unit at the back end, controls the key signal protection unit to stop interfering with the key signal of the static random access memory, and controls the power switching unit to switch the power supply output mode of the power supply unit, switching the power output to the output of the backup battery module or the capacitor module, thereby ensuring that the power supply mode is switched in time when the power is off, ensuring that the data in the static random access memory is not lost, and at the same time preventing the instability of the key signal during power off from causing the data in the static random access memory to be lost.

[0011] Preferably, the voltage monitoring unit includes a reset chip;

[0012] The power supply terminal of the reset chip is connected to the power supply module for collecting voltage signals; the ground terminal of the reset chip is grounded, and a capacitor is connected in series with the power supply terminal and the ground terminal;

[0013] When the voltage signal collected by the power supply end of the reset chip is a normal power supply voltage, the output end of the reset chip outputs a high level signal, and when the collected voltage signal is lower than the normal power supply voltage, the output end outputs a low level signal.

[0014] From the above, the voltage monitoring unit uses the reset drop function of the reset chip to realize voltage monitoring. By connecting and monitoring the voltage output by the power module, when the voltage is normal, the reset chip outputs a high-level signal. When the power module loses power and the voltage is lower than the normal voltage, the reset chip outputs a low-level signal.

[0015] Preferably, the logic control unit comprises:

[0016] A first logic control circuit connected to the key signal protection unit and a second logic control circuit connected to the power switching unit;

[0017] When receiving a low level signal, the first logic control circuit outputs a first control enable signal to the key signal protection unit, so as to drive the key signal protection unit to lock to stop input of the key signal;

[0018] When receiving a low level signal, the second logic control circuit outputs a second control enable signal to the power switching unit, so as to drive the power switching unit to switch to supply power to the backup power supply module.

[0019] From the above, the logic control unit outputs different control enable signals to the critical signal protection unit and the power switching unit at the back end according to the high and low level signals output by the voltage monitoring unit. When power failure occurs and the voltage monitoring unit outputs a low level signal, the first logic control circuit and the second logic control circuit of the logic control unit are disconnected, and the control enable signal is output to the corresponding critical signal protection unit and the power switching unit, driving the critical signal protection unit to stop the input of the critical signal and driving the power switching unit to switch to the backup power supply module for power supply.

[0020] Preferably, the first logic control circuit comprises a first NPN transistor;

[0021] The base of the first NPN transistor is connected in series with a first resistor and then connected to the output end of the voltage monitoring unit, the collector is connected in series with a second resistor and connected to the power supply, a third resistor is further connected in series between the collector and the base, and the emitter is grounded;

[0022] The collector outputs a first control enable signal to the key signal protection unit when the first NPN transistor is turned on.

[0023] From the above, according to the characteristics of the NPN transistor, when the base is at a high level, the NPN transistor is turned on. At this time, the power supply of the collector is pulled low, and a low-level control enable signal is output. The key signal protection unit at the back end normally outputs the key signal to the static random access memory. When power failure occurs and the base is at a low level, the NPN transistor is disconnected. At this time, the collector outputs a high-level control enable signal, and the key signal protection unit at the back end is locked and stops outputting the key signal to the static random access memory.

[0024] Preferably, the second logic control circuit includes a second NPN transistor and a third NPN transistor;

[0025] The base of the second NPN transistor is connected in series with a fourth resistor and then connected to the output end of the voltage monitoring unit, the collector is connected in series with a fifth resistor and connected to the power supply, a sixth resistor is further connected in series between the collector and the base, and the emitter is grounded;

[0026] The base of the third NPN transistor is connected to the collector of the second NPN transistor, the collector of the third NPN transistor is connected in series with a seventh resistor and connected to the power supply, and the emitter is grounded;

[0027] The collector of the third NPN transistor outputs a second control enable signal to the power switching unit when being turned on.

[0028] From the above, according to the characteristics of the NPN transistor, when the base of the second NPN transistor is at a high level, the second NPN transistor is turned on, the base outputs a low level, the third NPN transistor is disconnected, and a high level control enable signal is output, and the power switching unit at the back end still maintains powering the power module. When a power failure occurs, when the base of the second NPN transistor is at a low level, the second NPN transistor is disconnected, the base outputs a high level, the third NPN transistor is turned on, and a low level control enable signal is output, controlling the power switching unit at the back end to switch to powering the backup power supply module.

[0029] Preferably, the key signal protection unit comprises a three-state gate trigger;

[0030] The input end of the tri-state gate trigger is connected to the input source of the key signal, the control end is connected to the output end of the logic control unit, the power end is connected to the power supply unit, and the output end is connected to the static random access memory.

[0031] From the above, the key signal protection unit utilizes the characteristics of the three-state gate trigger, and the control enable signal output by the front-end logic control unit is used as the driving signal of the three-state gate trigger. When the control enable signal is a low-level signal, the key signal passes through the three-state gate trigger to the static random access memory. When power failure occurs and the control enable signal is a high-level signal, the three-state gate trigger is locked and outputs a high-impedance state, stopping the input of the key signal to the static random access memory.

[0032] Preferably, the power switching unit comprises a P-channel MOS tube;

[0033] The gate of the MOS tube is connected to the output end of the logic control unit, the source is connected in series with a voltage stabilizing circuit connected to the backup power supply module, the drain is the power supply output end, the drain is connected in series with a voltage stabilizing diode connected to the power supply module, and the drain is also connected in series with a filter capacitor to ground.

[0034] From the above, the power switching unit utilizes the characteristics of the P-channel MOS tube, and the control enable signal output by the front-end logic control unit is used as the driving signal of the MOS tube. When the control enable signal is a high-level signal, the MOS tube is disconnected, and the power module connected to the drain supplies power to the outside through the drain. When power failure occurs and the control enable signal is a low-level signal, the MOS tube is turned on, and the backup power supply module connected to the source supplies power to the outside through the drain.

[0035] Preferably, the backup power supply module includes a supercapacitor module;

[0036] The power supply module is used to charge the super capacitor module.

[0037] Preferably, the backup power supply module is a battery module.

[0038] From the above, the backup power supply module can adopt a battery module, which can realize the function of serving as a backup power supply when the power is off. It can also adopt a supercapacitor module. In addition to realizing the function of serving as a backup power supply when the power is off, the supercapacitor module can also be charged when the power module is working normally, thereby solving the disadvantage of using batteries that need to be replaced.

[0039] The present invention also provides a data power-off holding device for a static random access memory, comprising the data power-off holding circuit for the static random access memory. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A module diagram of a data power-off retention circuit of a static random access memory of the present invention;

[0041] Figure 2 is a circuit diagram of a voltage monitoring unit of the present invention;

[0042] Figure 3 A circuit diagram of the key signal control logic output in the logic control unit of the present invention;

[0043] Figure 4 A circuit diagram of the output power switching control logic in the logic control unit of the present invention;

[0044] Figure 5 A circuit diagram of a key signal protection unit of the present invention;

[0045] Figure 6 FIG. 4 is a circuit diagram of a power switching unit of the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.

[0047] In order to solve the problems in the prior art, the present invention provides a data power-off retention circuit for a static random access memory and a device comprising the circuit, which can effectively avoid the risk of data loss in the static random access memory during power-off, and also prevent the loss of data in the static random access memory due to the instability of key signals during power-off.

[0048] like Figure 1As shown, the data power-off retention circuit of the static random access memory includes a voltage monitoring unit 100, a logic control unit 200, a key signal protection unit 300, a power switching unit 400, and a power supply unit 500. The power supply unit 500 includes a power supply module 510 and a backup power supply module 520, which are used to supply power to the above-mentioned key signal protection unit 300 and the static random access memory 600;

[0049] The voltage monitoring unit 100 is connected to the power module 510 of the power supply unit 500, and is used to monitor the voltage signal output by the power module 510, and output a level signal according to the monitored voltage signal;

[0050] The logic control unit 200 is connected to the voltage monitoring unit 100, and is used to generate a control enable signal according to the received level signal, and output it to the key signal protection unit 300 and the power switching unit 400 respectively;

[0051] The key signal protection unit 300 is connected to the logic control unit 200, and is used to control the on and off of the key signal output to the static random access memory 600 according to the received control enable signal. The key signal is generally a main control signal, such as a chip select signal for the CPU to access the static random access memory or a signal for the CPU to enable the static random access memory. When the signal is normally input to the static random access memory, the read and write operations of the static random access memory can be performed, otherwise the read and write operations of the static random access memory cannot be performed;

[0052] The power switching unit 400 is connected to the logic control unit 200 and the power supply unit 500, and is used to output a power switching signal according to the received control enable signal, control the switching of the power module 510 or the backup power supply module 520 of the power supply unit 500, and supply power to the critical signal protection unit 300 and the static random access memory 600.

[0053] The power module 510 can use a conventional 3.3V power supply, and the backup power supply module 520 can use a common button battery. Since the static random access memory has very low power consumption when static, the button battery can work for more than one year. A supercapacitor module can also be selected. The supercapacitor module can provide the same power supply function as the button battery, and can also be charged when the power module 510 is working normally, thereby achieving recycling without the need for replacement. A unidirectional diode and a current limiting resistor are connected between the supercapacitor module and the power module 510. The unidirectional diode can be used to prevent the supercapacitor from reverse power supply when power is off, and the current limiting resistor is used to limit the charging current to protect the supercapacitor from being damaged by large current.

[0054] like Figure 2As shown, the voltage monitoring unit 100 includes a reset chip U129 and a circuit thereof. The power supply terminal 3 of the reset chip U129 is connected to the power supply module 510 to collect the voltage signal outputted therefrom. The ground terminal 1 of the reset chip is grounded. The power supply terminal 3 and the ground terminal 1 are connected in series with a capacitor C761. According to the voltage signal of the power supply terminal 3, the output terminal 2 outputs a reset high level signal or a reset low level signal.

[0055] According to the circuit shown in the figure, when the voltage signal collected by the power supply terminal 3 of the reset chip U129 is the normal power supply voltage, the output terminal 2 outputs a high-level signal. When a power failure occurs and the voltage signal collected by the power supply terminal 3 is lower than the normal power supply voltage (for example, lower than 2.93V), the output terminal 2 outputs a low-level signal.

[0056] like Figure 3-Figure 4 As shown, the above-mentioned logic control unit 200 includes two parts, which respectively provide logic control signals for the back-end key signal protection unit 300 and the power switching unit 400;

[0057] like Figure 3 As shown, the circuit for outputting the key signal control logic in the logic control unit includes an NPN transistor U130, the base of the transistor U130 is connected in series with a resistor R2152 and then connected to the output terminal 2 of the reset chip U129 to receive the level signal outputted by the reset chip U129, the collector is connected in series with a resistor R2118 and then connected to a reference power supply VDD, the reference power supply VDD provides a collector reference voltage of 3.3V for the circuit, a resistor R2119 is also connected in series between the collector and the base, the emitter is grounded, and the collector outputs a control enable signal OE to the key signal protection unit 300 at the rear end;

[0058] When the power is supplied normally, the output terminal 2 of the reset chip U129 outputs a high-level signal. At this time, according to the characteristics of the NPN transistor, the transistor U130 is turned on, the voltage of the collector is pulled down, and a low-level control enable signal OE is output; when power is lost, the output terminal 2 of the reset chip U129 outputs a low-level signal. At this time, according to the characteristics of the NPN transistor, the transistor U130 is turned off, and the collector outputs a high-level control enable signal OE.

[0059] like Figure 4As shown, the circuit for outputting the power switching control logic in the logic control unit includes two-stage NPN transistors, wherein the base of the transistor U97 is connected in series with a resistor R2124 and then connected to the output terminal 2 of the reset chip U129 to receive the level signal outputted by the reset chip U129, the collector is connected in series with a resistor R2150 and then connected to the reference power supply VDD, a resistor R2123 is further connected in series between the collector and the base, the emitter is grounded, the collector of the transistor U97 is connected to the base of the transistor U77, the collector of the transistor U77 is connected in series with a resistor R2125 and then connected to the reference power supply VDD, the emitter is grounded, and the collector of the transistor U97 outputs a control enable signal BAT_SWITCH to the power switching unit 400 at the rear end;

[0060] When the power is supplied normally, the output terminal 2 of the reset chip U129 outputs a high-level signal. At this time, according to the characteristics of the NPN transistor, the transistor U97 is turned on, the voltage of the collector is pulled down, and a low-level signal is output to the base of the transistor U77. The transistor U77 is disconnected, and its collector outputs a high-level control enable signal BAT_SWITCH; when power failure occurs, the output terminal 2 of the reset chip U129 outputs a low-level signal. At this time, the transistor U97 is disconnected, and the collector outputs a high-level signal to the base of the transistor U77. The transistor U77 is turned on, and its collector outputs a low-level control enable signal BAT_SWITCH.

[0061] like Figure 5 As shown, the above-mentioned key signal protection unit 300 realizes the construction of the protection circuit through a three-state gate, specifically including a three-state gate trigger U128 and its circuit, the power supply terminal 5 of the three-state gate trigger U128 is powered by the upper power supply unit 500, the input terminal 2 of the three-state gate trigger U128 is connected to the input source of the key signal, receives the key signal CS3_N, the control terminal 1 is connected to the collector of the above-mentioned transistor U130, receives the control enable signal OE inputted therein, the output terminal 4 is connected to the static random access memory, the output terminal 4 and the power supply terminal 5 are also connected in series with a resistor R2120, and the ground terminal 3 is grounded;

[0062] When the normal power supply is applied, the above-mentioned transistor U130 outputs a low-level control enable signal OE. At this time, the three-state gate trigger U128 is in a normal working state, and the key signal CS3_N is directly input into the above-mentioned static random access memory 600 through the three-state gate trigger U128; when power failure occurs, the above-mentioned transistor U130 outputs a high-level control enable signal OE. At this time, the three-state gate trigger U128 is locked and the output is in a high-impedance state. The key signal CS3_N cannot pass through the three-state gate trigger U128, thereby stopping the interference input of the key signal CS3_N of the static random access memory.

[0063] like Figure 6As shown, the power switching unit 400 includes a P-channel MOS tube U127 and its circuit;

[0064] The gate G of the MOS tube U127 is connected to the collector of the above-mentioned transistor U77 to receive the control enable signal BAT_SWITCH inputted therefrom. A button battery CR2032 is connected in series with a voltage stabilizing diode D12 and a resistor R2126 in parallel to form a voltage stabilizing circuit connected to the source S of the MOS tube U127. The above-mentioned power supply is connected in series with a voltage stabilizing diode D11 and then connected to the drain D2 of the MOS tube U127. The voltage stabilizing diode D11 is also used to prevent the backup power supply module from supplying power. The drain D2 is connected to the power supply output terminal to provide the power supply voltage CPU1_SRAM_VDD for the above-mentioned static random access memory 600 and the key signal protection unit 300. The drain D2 is also connected in series with a filter capacitor C784 to be grounded to filter the output power supply voltage.

[0065] When the normal power supply is on, the collector of the transistor U77 outputs a high-level control enable signal BAT_SWITCH, at which time the MOS tube U127 is disconnected, and the power supply output terminal maintains the power supply; when the power is off, the collector of the transistor U77 outputs a low-level control enable signal BAT_SWITCH, at which time the MOS tube U127 is turned on, and the power supply output terminal is switched to the button battery CR2032 for power supply;

[0066] It should be noted that, since ordinary switches or relay switches may cause interference input due to poor contact when they are energized, this embodiment uses MOS tubes. Based on the working characteristics of voltage-controlled current, closing or opening will actually be a linear process, so there will be no interference such as sparking, thereby avoiding the input of interference signals when power is on or off; at the same time, the added filter capacitor can be used as an energy storage capacitor to further enhance the stability of the power supply.

[0067] In summary, the working principle of the data power-off retention circuit of the static random access memory is:

[0068] When the power supply is normal, the power module supplies power to the key signal protection unit and the static random access memory. At this time, the voltage signal collected by the voltage monitoring unit is a normal voltage signal, and its output end outputs a high-level signal. At this time, the logic control unit outputs a low-level control enable signal OE to the key signal protection unit and a high-level control enable signal BAT_SWITCH to the power switching unit. The power switching unit, driven by the high-level control enable signal BAT_SWITCH, controls the power supply unit to keep supplying power to the power module. The key signal protection unit is driven by the low-level control enable signal OE, and the key signal CS3_N is directly input to the static random access memory. At this time, the static random access memory can perform normal read and write operations;

[0069] When power failure occurs, the voltage signal collected by the voltage monitoring unit is lower than the normal voltage signal, and its output end outputs a low-level signal. At this time, the logic control unit outputs a high-level control enable signal OE to the key signal protection unit and a low-level control enable signal BAT_SWITCH to the power switching unit. The power switching unit, driven by the low-level control enable signal BAT_SWITCH, controls the power supply unit to switch to the backup power supply module for power supply, that is, the backup power supply module supplies power to the key signal protection unit and the static random access memory. The key signal protection unit, driven by the low-high level control enable signal OE, outputs a high-impedance state, and the key signal CS3_N stops being input into the static random access memory. At this time, the static random access memory cannot perform normal read and write operations;

[0070] When the power failure problem is solved and the power module can supply power to the outside again, the voltage signal collected by the voltage monitoring unit becomes a normal voltage signal again, and its output end outputs a high-level signal. At this time, the logic control unit outputs a low-level control enable signal OE to the key signal protection unit and a high-level control enable signal BAT_SWITCH to the power switching unit. Driven by the high-level control enable signal BAT_SWITCH, the power switching unit controls the power supply unit to switch from the backup power supply module to the power supply module. Driven by the low-level control enable signal OE, the key signal CS3_N of the key signal protection unit is directly input into the static random access memory. At this time, the static random access memory can perform normal read and write operations again.

[0071] In summary, the data power-off retention circuit of the static random access memory provided by the present invention can effectively avoid the risk of data loss in the static random access memory during power-off, and also prevent the loss of data in the static random access memory due to the instability of key signals during power-off.

[0072] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A data power-off retention circuit for static random access memory, It is characterized in that It includes a voltage monitoring unit, a logic control unit, a key signal protection unit, a power switching unit, and a power supply unit. The power supply unit includes a power supply module and a backup power supply module, which are used to supply power to the key signal protection unit and the static random access memory; The voltage monitoring unit is connected to the power module of the power supply unit, and is used to monitor the voltage signal output by the power module, and output a level signal according to the monitored voltage signal; The logic control unit is connected to the voltage monitoring unit, and is used to generate a control enable signal according to the received level signal, and output it to the key signal protection unit and the power switching unit respectively; the logic control unit includes a first logic control circuit connected to the key signal protection unit and a second logic control circuit connected to the power switching unit; The first logic control circuit comprises a first NPN transistor; the base of the first NPN transistor is connected in series with a first resistor and then connected to the output end of the voltage monitoring unit, the collector is connected in series with a second resistor and connected to the power supply, a third resistor is also connected in series between the collector and the base, and the emitter is grounded; the collector outputs a first control enable signal to the key signal protection unit when the first NPN transistor is turned on; when the first logic control circuit receives a low level signal, it outputs a first control enable signal to the key signal protection unit, which is used to drive the key signal protection unit to lock to stop the input of the key signal; The second logic control circuit includes a second NPN transistor and a third NPN transistor; the base of the second NPN transistor is connected in series with a fourth resistor and then connected to the output end of the voltage monitoring unit, the collector is connected in series with a fifth resistor and connected to the power supply, a sixth resistor is also connected in series between the collector and the base, and the emitter is grounded; the base of the third NPN transistor is connected to the collector of the second NPN transistor, the collector of the third NPN transistor is connected in series with a seventh resistor and connected to the power supply, and the emitter is grounded; the collector of the third NPN transistor outputs a second control enable signal to the power switching unit when it is turned on. When the second logic control circuit receives a low-level signal, it outputs a second control enable signal to the power switching unit, which is used to drive the power switching unit to switch to the backup power supply module for power supply; The key signal protection unit includes a three-state gate trigger, the input end of the three-state gate trigger is connected to the input source of the key signal, the control end is connected to the output end of the logic control unit, the power end is connected to the power supply unit, and the output end is connected to the static random access memory, and is used to control the on and off of the key signal output to the static random access memory according to the received control enable signal; The power switching unit is connected to the logic control unit and the power supply unit, and is used to output a power switching signal according to a received control enable signal, control the switching of the power module or the backup power supply module of the power supply unit, and supply power to the critical signal protection unit and the static random access memory.

2. The data power-off retention circuit of the static random access memory according to claim 1, It is characterized in that The voltage monitoring unit includes a reset chip; The power supply terminal of the reset chip is connected to the power supply module for collecting voltage signals; the ground terminal of the reset chip is grounded, and a capacitor is connected in series with the power supply terminal and the ground terminal; When the voltage signal collected by the power supply end of the reset chip is a normal power supply voltage, the output end of the reset chip outputs a high level signal, and when the collected voltage signal is lower than the normal power supply voltage, the output end outputs a low level signal.

3. The data power-off retention circuit of the static random access memory according to claim 1, It is characterized in that The power switching unit includes a P-channel MOS tube; The gate of the MOS tube is connected to the output end of the logic control unit, the source is connected in series with a voltage stabilizing circuit connected to the backup power supply module, the drain is the power supply output end, the drain is connected in series with a voltage stabilizing diode connected to the power supply module, and the drain is also connected in series with a filter capacitor to ground.

4. The data power-off retention circuit of the static random access memory according to claim 1, It is characterized in that The backup power supply module includes a supercapacitor module; The power supply module is used to charge the super capacitor module.

5. The data power-off retention circuit of the static random access memory according to claim 1, It is characterized in that The backup power supply module includes a battery module.

6. A data power-off retention device for static random access memory, It is characterized in that A data power-off retention circuit comprising the static random access memory as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Data power failure holding circuit and equipment of static random access memory

    CN213521395U