SRAM power supply control circuit and controller

By using the dual power supply scheme of the first power supply module and the second power supply module in the SRAM power supply control circuit, combined with the chip select truncation and mode control module, the problem of voltage reduction when the SRAM device is powered off is solved, and low-power power supply and Data reliability and extended battery life.

CN221632260UActive Publication Date: 2024-08-30TOPSTAR SOFTWARE TECH (DONGGUAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323529286.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2024-08-30
Estimated Expiration
2033-12-22

AI Technical Summary

Technical Problem

In the existing technology, when the SRAM device is powered off, the battery output voltage decreases, causing the system to be unreliable and unable to effectively save data, affecting the reliability of the entire system.

Method used

A SRAM power supply control circuit is designed, which supplies power to the SRAM module through the first power supply module and the second power supply module, and a chip select cutoff module is set between the chip select end of the SRAM module and the control module to cut off the leakage current during power outage. , and reduce power consumption in standby mode through the mode control module and extend the power supply cycle of the second power supply voltage.

Benefits of technology

It effectively reduces the power consumption of the SRAM module, extends the power supply cycle of the second power supply voltage, ensures that the SRAM module can reliably store data, and improves the reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221632260U
    Figure CN221632260U
Patent Text Reader

Abstract

The utility model discloses an SRAM (Static Random Access Memory) power supply control circuit and a controller, the SRAM power supply control circuit comprises an SRAM module, a first power supply module, a second power supply module, a mode control module, a chip selection cut-off module and a control module, the output end of the first power supply module and the output end of the second power supply module are both connected with the power supply end of the SRAM module; the chip selection end of the SRAM module is connected with the control module through the chip selection cut-off module, the power supply end of the chip selection cut-off module is connected with the input end of the first power supply module, the first end of the mode control module is connected with the chip selection end of the SRAM module, and the second end of the mode control module is connected with the power supply end of the SRAM module. According to the scheme, the power supply current of the second power supply voltage can be reduced, so that the power supply period of the second power supply voltage is prolonged, power failure support is effectively provided for the SRAM module, and the SRAM module can reliably store data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of automation control technology, and in particular to an SRAM power supply control circuit and a controller. Background Art

[0002] With the continuous development of electronic technology, the power-off retention function is required in more and more occasions, such as the power-off retention of static random access memory (SRAM) devices.

[0003] Currently, a battery is usually used to retain the SRAM during power failure. However, in the related technology, the system consumes a lot of power, causing the battery output voltage to drop quickly, resulting in the SRAM being unable to save data, thereby affecting the reliability of the entire system. Utility Model Content

[0004] The embodiment of the utility model provides an SRAM power supply control circuit and a controller, so as to realize low-power power supply when the system is powered off, and improve the reliability of SRAM data storage.

[0005] According to one aspect of the utility model, there is provided an SRAM power supply control circuit, comprising: an SRAM module, a first power supply module, a second power supply module, a mode control module, a chip selection truncation module and a control module;

[0006] The output end of the first power supply module and the output end of the second power supply module are both connected to the power supply end of the SRAM module, the chip select end of the SRAM module is connected to the control module via the chip select truncation module, the power supply end of the chip select truncation module is connected to the input end of the first power supply module, the first end of the mode control module is connected to the chip select end of the SRAM module, and the second end of the mode control module is connected to the power supply end of the SRAM module; the chip select truncation module is used to cut off the connection between the chip select end of the SRAM module and the control module when the first power supply module loses power, and the mode control module is used to control the SRAM module to enter a standby mode.

[0007] Optionally, the output voltage of the first power supply module is greater than the output voltage of the second power supply module.

[0008] Optionally, the chip select truncation module includes a transistor, a first resistor and a second resistor; the control electrode of the transistor is connected to the input end of the first power supply module via the first resistor, the first electrode of the transistor is connected to the chip select end of the SRAM module, the second electrode of the transistor is connected to the control module, the first end of the second resistor is connected to the control electrode of the transistor, and the second end of the second resistor is connected to the second electrode of the transistor.

[0009] Optionally, the mode control module includes a third resistor, a first end of the third resistor is connected to a chip select terminal of the SRAM module, and a second end of the third resistor is connected to a power supply terminal of the SRAM module.

[0010] Optionally, the first power supply module includes a first diode, wherein a first pole of the first diode is an input end of the first power supply module and is connected to a first power supply, and a second pole of the first diode is an output end of the first power supply module;

[0011] The second power supply module includes a fourth resistor and a second diode. The first end of the fourth resistor is the input end of the second power supply module and is connected to the second power supply. The second end of the fourth resistor is connected to the first pole of the second diode. The second pole of the second diode is the output end of the second power supply module.

[0012] Optionally, both the first diode and the second diode are Schottky diodes.

[0013] Optionally, the second power supply is a button battery.

[0014] Optionally, the SRAM power supply control circuit also includes a first capacitor, a second capacitor and a third capacitor; the first pole of the first capacitor is connected to the power supply end of the SRAM module, the second pole of the first capacitor is grounded, the first pole of the second capacitor is connected to the power supply end of the SRAM module, the second pole of the second capacitor is grounded, the first pole of the third capacitor is connected to the power supply end of the SRAM module, and the second pole of the third capacitor is grounded.

[0015] Optionally, the control module includes an MCU.

[0016] According to another aspect of the present invention, a controller is provided. The controller includes the SRAM power supply control circuit provided by any embodiment of the present invention.

[0017] The technical solution provided by the embodiment of the utility model is to supply power to the SRAM module through the first power supply module and the second power supply module, and to set a chip selection cutoff module between the chip selection end of the SRAM module and the control module, and the chip selection cutoff module is connected to the input end of the first power supply module. When the first power supply module is powered off, the chip selection cutoff module is synchronously turned off to cut off the chip selection signal between the chip selection end of the SRAM module and the control module, so as to prevent leakage current from flowing between the SRAM module and the control module, thereby reducing power consumption. In addition, the power supply end of the mode control module is connected to the power supply end of the SRAM module by setting the power supply end of the mode control module to supply power to the mode control module with the power supply voltage VBAT of the SRAM module. Therefore, even if the first power supply module is powered off, under the power supply of the second power supply module, the mode control module can still control the SRAM module to enter the standby mode, further reducing the power consumption of the SRAM module, reducing the power supply current of the second power supply voltage, thereby extending the power supply cycle of the second power supply voltage, effectively providing power-off support for the SRAM module, and thus ensuring that the SRAM module can reliably store data.

[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present utility model, nor are they intended to limit the scope of the present utility model. Other features of the present utility model will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A schematic diagram of the structure of an SRAM power supply control circuit provided by an embodiment of the utility model;

[0021] Figure 2 A schematic diagram of the structure of another SRAM power supply control circuit provided by an embodiment of the utility model;

[0022] Figure 3 A schematic diagram of the structure of another SRAM power supply control circuit provided in an embodiment of the utility model. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is only a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the utility model.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the utility model described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] Figure 1 A schematic diagram of a SRAM power supply control circuit provided by an embodiment of the utility model, referring to Figure 1 The SRAM power supply control circuit provided in this embodiment includes an SRAM module 10, a first power supply module 20, a second power supply module 30, a mode control module 40, a chip select truncation module 50 and a control module 60. The output end of the first power supply module 20 and the output end of the second power supply module 30 are both connected to the power supply end of the SRAM module 10, the chip select end of the SRAM module 10 is connected to the control module 60 via the chip select truncation module 50, the power supply end of the chip select truncation module 50 is connected to the input end of the first power supply module 20, the first end of the mode control module 40 is connected to the chip select end of the SRAM module 10, and the second end of the mode control module 40 is connected to the power supply end of the SRAM module 10; the chip select truncation module 50 is used to cut off the connection between the chip select end of the SRAM module 10 and the control module 60 when the first power supply module 20 loses power, and the mode control module 40 is used to control the SRAM module 40 to enter the standby mode.

[0026] Specifically, the SRAM module 10 adopts a dual power supply scheme, that is, it is powered by a first power supply module 20 and a second power supply module 30. The second power supply module 30 can be used to provide a power-off holding voltage for the SRAM module 10 when the first power supply module 20 is powered off. The first power supply voltage V1 is input to the input end of the first power supply module 20, and the second power supply voltage V2 is input to the input end of the second power supply module 20. The output end of the first power supply module 20 and the output end of the second power supply module 30 are both connected to the power supply end of the SRAM module 10, and are used to provide the power supply voltage VRAT for the SRAM module 10.

[0027] The chip select end of the SRAM module 10 is connected to the control module 60 through the chip select truncation module 50. When the first power supply module 20 is powered off, that is, when the first power supply voltage V1 is powered off, the SRAM module 10 is powered by the second power supply voltage V2 through the second power supply module 30, and the power supply voltage VBAT of the SRAM module 10 is determined by the second power supply voltage V2. Since the power supply end of the chip select truncation module 50 is connected to the first power supply voltage V1, the chip select truncation module 50 is turned off due to the power failure of the first power supply voltage V1, thereby cutting off the connection between the chip select end of the SRAM module 10 and the control module 60, and there is no interaction of chip select signals between the SRAM module 10 and the control module 60. The leakage current of the chip select end of the SRAM module 10 cannot flow to the control module 60, thereby reducing the power consumption of the SRAM module 10 and preventing the second power supply voltage V2 from decreasing too quickly.

[0028] When the chip select truncation module 50 cuts off the connection between the SRAM module 10 and the control module 60, the mode control module 40, under the action of the power supply voltage VBAT of the SRAM module 10, controls the SRAM module 10 to enter the standby mode (standby mode) to reduce the current when the second power supply voltage V2 is supplied, thereby further reducing power consumption and greatly extending the power supply cycle of the second power supply voltage V2 to ensure that the SRAM module 10 can stably store data.

[0029] The technical solution provided by the embodiment of the utility model supplies power to the SRAM module 10 through the first power supply module 20 and the second power supply module 30, and a chip select truncation module 50 is arranged between the chip select end of the SRAM module 10 and the control module 60, and the chip select truncation module 50 is connected to the input end of the first power supply module 20. When the first power supply module 20 loses power, the chip select truncation module 50 is synchronously turned off to cut off the chip select signal between the chip select end of the SRAM module 10 and the control module 60, thereby preventing leakage current from flowing between the SRAM module 10 and the control module 60, thereby reducing power consumption. In addition, the power supply end of the mode control module 40 is connected to the power supply end of the SRAM module 10, and the power supply voltage VBAT of the SRAM module 10 is used to power the mode control module 40. Therefore, even if the first power supply module 20 loses power, under the power supply of the second power supply module 30, the mode control module 40 can still control the SRAM module 10 to enter the standby mode, further reducing the power consumption of the SRAM module 10, so as to reduce the power supply current of the second power supply voltage V2, thereby extending the power supply cycle of the second power supply voltage V2, effectively providing power-off support for the SRAM module 10, and thereby ensuring that the SRAM module 10 can reliably store data.

[0030] Optionally, in this embodiment, the first power supply voltage V1 can be provided by a first power supply, such as a DCDC in the system, and the second power supply voltage V2 can be provided by a second power supply, and the second power supply can be a battery, such as a button battery. The output voltage of the first power supply module 20 is greater than the output voltage of the second power supply module 30, so the output voltage of the first power supply module 20 will not be charged like a battery, and the first power supply voltage V1 and the second power supply voltage V2 do not affect each other.

[0031] It should be understood that the output voltage of the first power supply module 20 is greater than the output voltage of the second power supply module 30, which means that the first power supply voltage V1 may be greater than the second power supply voltage V2, and after the output of the first power supply module 20 and the second power supply module 30, the output voltage of the first power supply module 20 is still greater than the output voltage of the second power supply module 30; or the first power supply voltage V1 may be less than or equal to the second power supply voltage V2, and the conversion of the first power supply module 20 and the second power supply module 30 may realize that the output voltage of the first power supply module 20 is greater than the output voltage of the second power supply module 30.

[0032] Figure 2 A schematic diagram of another SRAM power supply control circuit provided by the present utility model, referring to Figure 2On the basis of the above embodiment, optionally, the chip select truncation module 50 includes a transistor Q1, a first resistor R1 and a second resistor R2, the control electrode of the transistor Q1 is connected to the input end of the first power supply module 20 via the first resistor R1, the first electrode of the transistor Q1 is connected to the chip select end of the SRAM module 10, the second electrode of the transistor Q1 is connected to the control module 60, the first end of the second resistor R2 is connected to the control electrode of the transistor Q1, and the second end of the second resistor R2 is connected to the second electrode of the transistor Q1.

[0033] Among them, the transistor Q1 can be a triode, a MOS tube or an IGBT tube, and the first resistor R1 and the second resistor R2 are voltage-dividing resistors of the transistor Q1. When the first power supply module 20 supplies power normally, the first power supply voltage V1 is divided by the first resistor R1 and the second resistor R2 to provide a turn-on voltage for the transistor Q1, the transistor Q1 is turned on, the chip select end of the SRAM module 10 is connected to the control module 60, and the current flows from the chip select end of the SRAM module 10 to the control module 60. When the first power supply module 20 loses power, the transistor Q1 is turned off due to the absence of voltage at the control electrode, and the connection between the chip select end of the SRAM module 10 and the control module 60 is cut off, and the current does not flow, thereby reducing power consumption.

[0034] Continue to refer Figure 2 The mode control module 40 includes a third resistor R3, a first end of the third resistor R3 is connected to the chip select end of the SRAM module 10, and a second end of the third resistor R3 is connected to the power supply end of the SRAM module 10. The third resistor R3 is a pull-up resistor, which is used to pull up the chip select end of the SRAM module 10 to a high potential when the chip select truncation module 50 is turned off, so that the chip select end of the SRAM module 10 enters the standby mode.

[0035] In this embodiment, since the mode control module 40 is connected to the power supply end of the SRAM module 10, even if the first power supply module 20 loses power, under the power supply of the second power supply module 30, the mode control module 40 can still control the SRAM module 10 to enter the standby mode, and reduce the system power consumption by cutting off the connection between the chip select end of the SRAM module 10 and the control module 60, thereby reducing the power supply current of the second power supply, avoiding the second power supply from consuming power too quickly, and increasing the service life of the second power supply, so that the SRAM module 10 can reliably save data.

[0036] Continue to refer Figure 2 Optionally, the first power supply module 20 includes a first diode D1, the first pole of the first diode D1 is the input end of the first power supply module 20, connected to the first power supply, and the second pole of the first diode D1 is the output end of the first power supply module 20.

[0037] The second power supply module 30 includes a fourth resistor R4 and a second diode D2, wherein a first end of the fourth resistor R4 is an input end of the second power supply module 30 and is connected to the second power supply, a second end of the fourth resistor R4 is connected to a first electrode of the second diode D2, and a second electrode of the second diode D2 is an output end of the second power supply module 30. The fourth resistor R4 is a current limiting resistor, and the supply current of the second power supply can be obtained by measuring the voltage across the fourth resistor R4.

[0038] Specifically, the first power supply is isolated from the second power supply by the first diode D1 and the second diode D2, so that the first power supply and the second power supply do not affect each other, thereby improving the power supply reliability. When the system is powered normally, the SRAM module 10 is powered by the first power supply via the first power supply module 20. Since the output voltage of the first power supply module 20 is greater than the output voltage of the second power supply module 30, the first power supply will not charge the second power supply. When the system loses power, the first power supply module 20 stops supplying power to the SRAM module 10, and the second power supply is powered via the second power supply module 30.

[0039] Optionally, in this embodiment, both the first diode D1 and the second diode D2 are Schottky diodes with lower power consumption, so as to further reduce the power consumption of the system.

[0040] Figure 3 A schematic diagram of another SRAM power supply control circuit provided by the present utility model, referring to Figure 3 The SRAM power supply control circuit also includes a first capacitor C1, a second capacitor C2 and a third capacitor C3, which play a role in voltage stabilization. The first electrode of the first capacitor C1 is connected to the power supply end of the SRAM module 10, and the second electrode of the first capacitor C1 is grounded. The first electrode of the second capacitor C2 is connected to the power supply end of the SRAM module 10, and the second electrode of the second capacitor C2 is grounded. The first electrode of the third capacitor C3 is connected to the power supply end of the SRAM module 10, and the second electrode of the third capacitor C3 is grounded.

[0041] The working process of the SRAM power supply control circuit provided in this embodiment is described in detail by taking the first power supply as the system DCDC and the second power supply as the button battery BT as an example. Among them, the SRAM module 10 may include an SRAM chip, the control module 60 may be an MCU, and the first power supply voltage V1 obtained by DCDC step-down is 3.3V.

[0042] refer to Figure 3When the system is powered normally, the first power supply supplies power to the power supply end of the SRAM module 10 through the first power supply module 20. The output voltage of the first power supply module 20 is about 3.15V, which is higher than the voltage 2.95V output by the button battery BT through the second power supply module 30. Therefore, the button battery BT does not supply power, and the power supply voltage VRAT of the SRAM module 10 is stabilized at 3.15V. The transistor Q1 is turned on under the voltage division of the control electrode, and the chip select end of the SRAM module 10 is connected to the control module 60, and the current flows from the chip select end of the SRAM module 10 to the control module 60.

[0043] When the system is powered off (i.e., the first power supply module 20 is powered off), the first power supply module 20 no longer supplies power, and the SRAM module 10 is powered by the button battery BT, and the power supply voltage VRAT of the SRAM module 10 is stabilized at 2.95V. Since the first power supply voltage V1 is powered off, the transistor Q1 is turned off, cutting off the connection between the chip select terminal of the SRAM module 10 and the control module 60, and the current does not flow. At this time, the chip select terminal of the SRAM module 10 is pulled to a high level under the pull-up action of the third resistor R3, so that the SRAM module 10 enters the standby mode.

[0044] In a specific implementation, the above solution can make the power supply current of the button battery BT at μA level, thereby achieving low power consumption power supply.

[0045] The technical solution provided in this embodiment reduces leakage current by cutting off the connection between the chip select terminal of the SRAM module 10 and the control module 60 when the system is powered off, and controls the SRAM module 10 to enter the standby mode, thereby greatly reducing system power consumption, slowing down the power consumption of the button battery BT, extending the service life of the button battery BT, and avoiding the problem that the SRAM module 10 cannot save data due to excessive power consumption of the button battery BT, thereby ensuring that the SRAM module 10 can save data for a long time without loss, which is beneficial to improving the stability and reliability of the system.

[0046] Optionally, the embodiment of the utility model further provides a controller, which includes the SRAM power supply control circuit provided by any embodiment of the utility model, so the controller also has the beneficial effects described in any of the above embodiments. The controller can be a manipulator controller applied to industrial control, or a controller applied to other fields.

[0047] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0048] The above specific implementations do not constitute a limitation on the protection scope of the present utility model. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present utility model shall be included in the protection scope of the present utility model.

Claims

1. A SRAM power supply control circuit, characterized in that: include: An SRAM module, a first power supply module, a second power supply module, a mode control module, a chip select truncation module and a control module; The output end of the first power supply module and the output end of the second power supply module are both connected to the power supply end of the SRAM module, the chip select end of the SRAM module is connected to the control module via the chip select truncation module, the power supply end of the chip select truncation module is connected to the input end of the first power supply module, the first end of the mode control module is connected to the chip select end of the SRAM module, and the second end of the mode control module is connected to the power supply end of the SRAM module; the chip select truncation module is used to cut off the connection between the chip select end of the SRAM module and the control module when the first power supply module loses power, and the mode control module is used to control the SRAM module to enter a standby mode.

2. The SRAM power supply control circuit according to claim 1, characterized in that: The output voltage of the first power supply module is greater than the output voltage of the second power supply module.

3. The SRAM power supply control circuit according to claim 1, characterized in that: The chip selection truncation module includes a transistor, a first resistor and a second resistor; The control electrode of the transistor is connected to the input end of the first power supply module via the first resistor, the first electrode of the transistor is connected to the chip select end of the SRAM module, the second electrode of the transistor is connected to the control module, the first end of the second resistor is connected to the control electrode of the transistor, and the second end of the second resistor is connected to the second electrode of the transistor.

4. The SRAM power supply control circuit according to claim 1, characterized in that: The mode control module includes a third resistor, a first end of the third resistor is connected to a chip select terminal of the SRAM module, and a second end of the third resistor is connected to a power supply terminal of the SRAM module.

5. The SRAM power supply control circuit according to claim 1, characterized in that: The first power supply module includes a first diode, wherein the first pole of the first diode is the input end of the first power supply module and is connected to the first power supply, and the second pole of the first diode is the output end of the first power supply module; The second power supply module includes a fourth resistor and a second diode. The first end of the fourth resistor is the input end of the second power supply module and is connected to the second power supply. The second end of the fourth resistor is connected to the first pole of the second diode. The second pole of the second diode is the output end of the second power supply module.

6. The SRAM power supply control circuit according to claim 5, characterized in that: The first diode and the second diode are both Schottky diodes.

7. The SRAM power supply control circuit according to claim 5, characterized in that: The second power supply is a button battery.

8. The SRAM power supply control circuit according to claim 1, characterized in that: Also includes a first capacitor, a second capacitor and a third capacitor; The first electrode of the first capacitor is connected to the power supply terminal of the SRAM module, the second electrode of the first capacitor is grounded, the first electrode of the second capacitor is connected to the power supply terminal of the SRAM module, the second electrode of the second capacitor is grounded, the first electrode of the third capacitor is connected to the power supply terminal of the SRAM module, and the second electrode of the third capacitor is grounded.

9. The SRAM power supply control circuit according to claim 1, characterized in that: The control module includes an MCU.

10. A controller, characterized in that: The invention comprises the SRAM power supply control circuit as described in any one of claims 1 to 9.