Power-off protection circuit, Flash memory and electronic equipment
By designing a power-off protection circuit including a storage unit, a main control unit, a power supply circuit and a monitoring circuit, the existing data protection solution is solved, and efficient data protection in the case of power-off of the Flash memory is achieved.
Patent Information
- Application Number
- CN202421392518.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2034-06-18
AI Technical Summary
The existing data protection solutions are costly and inefficient, and cannot effectively protect the data security of Flash memory in the event of power outage.
A power-off protection circuit is designed, including a storage unit, a main control unit, a power supply circuit and a monitoring circuit. When the monitoring circuit detects that the power supply is powered off, it cooperates with the main control unit to start the data protection mechanism to ensure the safety of the data in the event of powered off.
Through this power-off protection circuit, production costs are reduced, product operation efficiency and reliability are improved, data protection in the event of power-off, and data loss or damage is avoided.
Smart Images

Figure CN222719859U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of data storage, in particular to a power-off protection circuit, a Flash memory and an electronic device. Background Art
[0002] Flash memory is widely used for data storage due to its non-volatility, fast read speed and compact size. However, when these devices encounter unexpected power outages, the data in the memory may be lost or damaged, which not only affects the reliability of the device, but may also cause the loss of important user data.
[0003] To solve this problem, the solution currently used in the market is a hardware-level RAID array, which improves data security through the redundancy of multiple storage devices.
[0004] However, these solutions still have some shortcomings. Although hardware-level RAID arrays improve data security, they are expensive and inefficient in some cases. Utility Model Content
[0005] The main purpose of the utility model is to provide a power-off protection circuit, aiming to solve the problems of high cost and insufficient efficiency of existing data protection solutions.
[0006] In order to achieve the above object, the utility model provides a power-off protection circuit, which includes:
[0007] A storage unit, wherein the storage unit is used to store data;
[0008] A main control unit, the main control unit is communicatively connected with the storage unit to control the storage unit to perform read and write operations;
[0009] a power supply circuit, the power supply circuit being electrically connected to the main control unit to supply power to the main control unit;
[0010] A monitoring circuit, wherein the monitoring circuit is respectively connected to the power supply circuit and the main control unit for communication, so as to send a trigger signal for starting a data protection mechanism to the main control unit when it is detected that the power supply circuit is powered off.
[0011] In some embodiments, the main control unit includes a main control chip and a first capacitor, one end of the main control chip is electrically connected to the power supply circuit, and the other end is electrically connected to the storage unit, one end of the first capacitor is electrically connected to the main control chip, and the other end is grounded;
[0012] Among them, the first capacitor is used to store part of the electric energy provided by the power supply circuit and release the electric energy when the power supply circuit is powered off. The main control unit includes a main control chip, and the main control chip controls the read and write operations of the storage unit according to the preset level signal.
[0013] In some embodiments,
[0014] The monitoring circuit comprises:
[0015] An electrical signal acquisition device, electrically connected to the power circuit, for acquiring an electrical signal from the power circuit;
[0016] An electrical signal comparison device is connected between the electrical signal acquisition device and the main control unit to compare the electrical signal collected by the electrical signal acquisition device with a preset threshold value, and when it is determined that the power circuit is powered off based on the comparison result, a trigger signal for starting a data protection mechanism is sent to the main control unit.
[0017] In some embodiments, the electrical signal acquisition device is a voltage acquisition device, and the electrical signal comparison device is a voltage comparison device; the voltage acquisition device is electrically connected between the voltage comparison device and the power supply circuit to acquire the voltage signal of the power supply circuit and feed it back to the voltage comparison device;
[0018] The voltage comparison device is communicatively connected to the main control unit to compare the voltage signal collected by the voltage collection device with a preset voltage, and sends a level signal to the main control unit when the voltage signal collected by the voltage collection device is lower than a preset voltage threshold to activate the data protection mechanism of the main control unit.
[0019] In some embodiments, the monitoring circuit also includes a second capacitor, which is electrically connected to the voltage acquisition device and has the other end grounded. The second capacitor is used to store part of the electrical energy provided by the power supply circuit and release the electrical energy when the power supply circuit is powered off.
[0020] In some embodiments, the storage unit includes a storage chip and a third capacitor, one end of the third capacitor is electrically connected to the storage chip, and the other end of the third capacitor is grounded.
[0021] The third capacitor stores part of the electric energy provided by the power circuit, and releases the electric energy when the power circuit is powered off, so that the storage chip can be shut down normally.
[0022] In some embodiments, the power supply circuit includes a transformer, one end of which is connected to the mains, and the other end of which is electrically connected to the main control unit and the monitoring circuit, and the transformer is used to transform the mains.
[0023] In some embodiments, the power supply circuit further includes a fourth capacitor, one end of the fourth capacitor is connected to the circuit, and the other end of the fourth capacitor is grounded.
[0024] The utility model further provides a Flash memory, comprising the above-mentioned power-off protection circuit.
[0025] The utility model further provides an electronic device, comprising the aforementioned Flash memory.
[0026] In the technical solution of the utility model, the power-off protection circuit is used to protect the data in the Flash memory from being affected by power failure. The storage unit is used to store data, and the main control unit is responsible for managing the read and write operations of the storage unit and communicating with it. The power supply circuit provides the necessary electrical energy to the main control unit to ensure its normal operation. At the same time, the monitoring circuit monitors the power supply status of the power supply circuit, and cooperates with the main control unit when a power supply abnormality is detected to implement a data protection mechanism for the storage unit during power failure. Compared with the prior art, the power-off protection circuit of the utility model does not need to rely on the redundant design of the power supply and the Flash storage unit, thereby reducing the production cost. In addition, the circuit of this embodiment can realize the power-off data protection mechanism by relying only on the monitoring circuit and the main control unit, which greatly improves the operating efficiency and reliability of the product. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 This is a schematic diagram of the electrical connection of modules of the power-off protection circuit in one embodiment of the utility model;
[0028] Figure 2 This is a schematic diagram of the electrical connection of modules of the power-off protection circuit in one embodiment of the utility model;
[0029] Figure 3 This is a schematic diagram of the electrical connection of modules of a power-off protection circuit in another embodiment of the utility model;
[0030] Figure 4 This is a schematic diagram of the electrical connection of modules of a power-off protection circuit in another embodiment of the utility model;
[0031] Figure 5 The figure is a schematic diagram of the electrical connection of modules of the power-off protection circuit in another embodiment of the present utility model.
[0032] Description of Figure Numbers:
[0033] 100, storage unit; 100a, storage chip; 102, third capacitor; 200, main control unit; 202, main control chip; 204, first capacitor; 300, power supply circuit; 302, transformer; 304, fourth capacitor; 400, monitoring circuit; 402, electrical signal acquisition device; 404, electrical signal comparison device; 406, second capacitor.
[0034] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the scheme in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0036] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0037] It should also be noted that when an element is referred to as being "fixed on" or "disposed on" another element, it may be directly on the other element or there may be an intermediate element at the same time. When an element is referred to as being "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.
[0038] In addition, the descriptions of "first", "second", etc. in the present utility model are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present utility model.
[0039] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the electrical connection of modules of the power-off protection circuit in one embodiment of the utility model.
[0040] The present invention provides a power-off protection circuit for a Flash memory, the power-off protection circuit comprising:
[0041] The storage unit 100 is used to store data;
[0042] A main control unit 200, which is in communication with the storage unit 100, and is used to control the storage unit 100 to perform read and write operations;
[0043] A power supply circuit 300, the power supply circuit 300 is electrically connected to the main control unit 200 to supply power to the main control unit 200;
[0044] The monitoring circuit 400 is respectively connected to the power supply circuit 300 and the main control unit 200 for communication, so as to send a trigger signal for starting the data protection mechanism to the main control unit 200 when it is detected that the power supply circuit 300 is powered off.
[0045] In this embodiment, the storage unit 100 is a core component of a Flash memory for storing data. According to different application requirements and design considerations, the storage unit 100 can adopt a NOR Flash memory, a NAND Flash memory, a solid state drive (SSD), etc. Among them, NOR Flash is usually used for code storage because it allows random access and is suitable for executing code, while NAND Flash is more suitable for large-capacity data storage because it provides higher write speeds and lower costs. SSD is a type of Flash memory used in computers and video game consoles. Due to its speed and reliability, it is gradually replacing hard disk drives (HDDs).
[0046] In this embodiment, the main control unit 200 is responsible for the read and write operations of the storage unit 100. In addition, when the power circuit 300 is powered off, the monitoring circuit 400 cooperates to implement the data protection operation of the storage unit 100. Among them, the main control unit 200 can adopt a microcontroller (MCU), which is a single-chip microcomputer that integrates a processor core, memory, and programmable input and output peripherals. They are usually used to control other components, such as the storage unit 100, to perform complex logical operations. Of course, a storage controller can also be used. The storage controller is a device specially designed for managing data reading and writing. They are usually built into solid-state hard disks (SSDs) and other storage devices. In this embodiment, a microcontroller is preferably used because of its programmable characteristics. It can execute corresponding data protection programs for different types of storage units 100, and cooperate with the monitoring circuit 400 to implement a data protection mechanism in the storage unit 100 when power is off.
[0047] In this embodiment, the power supply circuit 300 provides the necessary electric energy for the main control unit 200 to ensure its normal operation. The power supply circuit 300 may include a transformer 302, a rectifier, a voltage stabilizing device, etc. In this embodiment, the transformer is mainly used to increase or decrease the AC voltage to the required voltage level and provide electrical isolation. The rectifier converts AC power into DC power, which is usually achieved using a diode or a bridge rectifier. Subsequently, a filter can be used to remove the ripple in the rectified DC power to provide a more stable DC voltage. Commonly used filters include capacitors and inductors. These devices and apparatuses can be used in combination to meet the power requirements of the main control unit 200 and ensure that a stable and reliable power supply can be provided under various working conditions.
[0048] In this embodiment, the monitoring circuit 400 is used to monitor the state of the power supply circuit 300 and activate the data protection mechanism when a power supply anomaly is detected. In order to achieve this function, some devices or integrated circuits can be used, for example, a voltage detector (Voltage Detector), which integrates a comparator and an internal reference integrated circuit for monitoring the system supply voltage. When the supply voltage is lower than the set threshold, its output will change to notify the system's microcontroller of an impending power failure. In addition, a power supply monitoring IC (Power Supply Monitor IC) can also be used. This integrated circuit can monitor multiple power supply voltages and provide overvoltage, undervoltage and power sequence control functions. These devices and integrated circuits can be selected and configured according to specific application requirements to ensure that the data protection mechanism can be activated in time in the event of a power supply anomaly to protect the data in the storage unit 100 from damage.
[0049] In this embodiment, during normal operation, the main control unit 200 instructs the storage unit 100 to read and write data. When the monitoring circuit 400 detects that the electrical signal of the power circuit 300 is abnormal, it will immediately notify the main control unit 200. The main control unit 200 then starts the data protection program and quickly saves the data being processed to the storage unit 100 to prevent data loss or damage. It can respond quickly and protect the data in the Flash memory when the power is suddenly interrupted. This design enables the main control unit 200 to normally close the data read and write operations on the Flash module in a timely manner, thereby protecting the data inside the Flash module from damage.
[0050] In the technical solution of this embodiment, the power-off protection circuit is used to protect the data in the Flash memory from being affected by power failure. The storage unit 100 is used to store data, and the main control unit 200 is responsible for managing the read and write operations of the storage unit 100 and communicating with it. The power supply circuit 300 provides the necessary electrical energy to the main control unit 200 to ensure its normal operation. At the same time, the monitoring circuit 400 monitors the power supply status of the power supply circuit 300, and cooperates with the main control unit 200 when a power supply abnormality is detected to implement a data protection mechanism for the storage unit 100 during power failure. Compared with the prior art, the power-off protection circuit of this embodiment does not need to rely on the redundant design of the power supply and the Flash storage unit 100, thereby reducing the production cost. In addition, the circuit of this embodiment can realize the power-off data protection mechanism by relying only on the monitoring circuit and the main control unit 200, which greatly improves the operating efficiency and reliability of the product.
[0051] See also Figure 2 , Figure 2 The figure is a schematic diagram of the electrical connection of modules of the power-off protection circuit in one embodiment of the utility model.
[0052] In this embodiment, the main control unit 200 includes a main control chip 202 and a first capacitor 204, one end of the main control chip 202 is electrically connected to the power supply circuit 300, and the other end is electrically connected to the storage unit 100, one end of the first capacitor 204 is electrically connected to the main control chip 202, and the other end is grounded;
[0053] Among them, the first capacitor 204 is used to store the electrical energy provided by part of the power circuit 300 and release the electrical energy when the power circuit 300 is powered off. The main control unit 200 includes a main control chip, and the main control chip 202 controls the read and write operations of the storage unit 100 according to a preset level signal.
[0054] In the present embodiment, the core of the main control unit 200 is a main control chip 202, which can adopt microprocessors such as PIC series of ARM Cortex series, Intel Atom series or Microchip. These chips are widely used in various control systems because of their high performance, low power consumption and wide support. The selection of the first capacitor 204 depends on the required energy storage capacity and space limitation, and can adopt aluminum electrolytic capacitors or tantalum capacitors, such as EEU-FC1E101 or T491B475K016AT. The capacity of the capacitor depends on the minimum electric energy required for the main control chip 202 to maintain work after power failure, usually between tens of microfarads (μF) and hundreds of microfarads (μF).
[0055] When the power supply is normal, the first capacitor 204 acts as an energy reserve to provide a stable power supply to the main control chip 202. Once the power supply is cut off, the first capacitor 204 immediately releases the stored electric energy to ensure that the main control chip 202 has enough time to execute the data protection program. During this period, the main control chip 202 will quickly execute the data protection program according to the preset level signal to ensure the integrity and security of the data.
[0056] Continue reading Figure 2 In this embodiment, the monitoring circuit 400 includes:
[0057] The electrical signal acquisition device 402 is electrically connected to the power circuit 300 to acquire electrical signals of the power circuit 300 in real time;
[0058] The electrical signal comparison device 404 is connected between the electrical signal acquisition device 402 and the main control unit 200, and is used to compare the electrical signal collected by the electrical signal acquisition device 402 with a preset threshold value, and when it is determined that the power supply circuit 300 is powered off according to the comparison result, a trigger signal for starting the data protection mechanism is sent to the main control unit 200.
[0059] In this embodiment, the function of the electrical signal acquisition device 402 is to monitor in real time the electrical signal state of the power circuit 300. These devices may be analog-to-digital converters (ADCs) or specific voltage monitoring chips, which can accurately measure the voltage or current of the power circuit 300 and convert analog signals into digital signals for easy processing.
[0060] Once the electrical signal acquisition device 402 acquires the electrical signal of the power circuit 300, it will pass this information to the electrical signal comparison device 404. The electrical signal comparison device 404 usually includes one or more comparators, which compare the acquired electrical signal with a preset threshold value. If the electrical signal is lower than the threshold value, the comparison device will output a signal, which can be a high level signal or a low level signal, to prompt that the system power circuit 300 may be abnormal.
[0061] When the electrical signal comparison device 404 detects that the electrical signal of the power supply circuit 300 is lower than the threshold, it will immediately activate the data protection mechanism. This usually involves sending an interrupt signal or a control signal to the main control unit 200, instructing the main control unit 200 to take emergency measures, such as saving data to a non-volatile memory or completing a safe shutdown of the current operation.
[0062] In this embodiment, this monitoring mechanism can provide an early warning before a power failure occurs, thereby protecting the data in the storage unit 100 from being damaged.
[0063] In one embodiment, the electrical signal acquisition device 402 is a voltage acquisition device, and the electrical signal comparison device 404 is a voltage comparison device;
[0064] The voltage acquisition device acquires the electrical signal of the power supply circuit 300 as a voltage signal;
[0065] The voltage comparison device is used to compare the voltage signal collected by the voltage collection device with a preset voltage threshold, and send a trigger signal for starting the data protection mechanism to the main control unit 200 when the voltage signal collected by the voltage collection device is lower than the preset voltage threshold.
[0066] The voltage acquisition device is electrically connected between the voltage comparison device and the power supply circuit 300 to collect the voltage signal of the power supply circuit 300 and feed it back to the voltage comparison device;
[0067] The voltage comparison device is communicatively connected to the main control unit 200 to compare the voltage signal collected by the voltage acquisition device with a preset voltage, and to send a level signal to the main control unit 200 when the voltage signal collected by the voltage acquisition device is lower than a preset voltage threshold to activate the data protection mechanism of the main control unit 200.
[0068] See also Figure 3 , Figure 3 This is a schematic diagram of the electrical connection of modules of the power-off protection circuit in another embodiment of the present invention.
[0069] In this embodiment, the monitoring circuit 400 also includes a second capacitor 406, one end of which is electrically connected to the voltage collection device and the other end is grounded. The second capacitor 406 is used to store part of the electrical energy provided by the power supply circuit 300 and release the electrical energy when the power supply circuit 300 is powered off.
[0070] The cooperation of the first capacitor 204 and the second capacitor 406 in the power-off protection circuit in this embodiment provides a hierarchical energy management system to ensure that the data in the Flash memory is protected when the power is suddenly cut off. The first capacitor 204 is usually electrically connected to the main control chip 202. Its main function is to provide sufficient power to the main control unit 200 at the moment of power off to complete the data read and write operation currently being executed and ensure the integrity and security of the data.
[0071] The second capacitor 406 is electrically connected to the monitoring circuit 400 (including a voltage acquisition device and a voltage comparison device). It is responsible for providing necessary power to the monitoring circuit 400 when the power supply circuit 300 is powered off, ensuring that the monitoring circuit 400 can continue to operate, detecting the power status, and activating the data protection mechanism of the main control unit 200.
[0072] When the power supply is suddenly cut off, the second capacitor 406 first releases electric energy to keep the monitoring circuit 400 running, so that the voltage comparison device can detect the voltage drop of the power circuit 300 and promptly send a warning signal to the main control unit 200. Subsequently, the first capacitor 204 also starts to release the stored electric energy to support the main control unit 200 so that it can safely complete the data protection procedure.
[0073] In general, the use of the first capacitor 204 and the second capacitor 406 provides a dual protection mechanism to ensure that the key components of the system can obtain sufficient power support during the entire process of power failure, from monitoring to power anomaly to data being safely saved. This design greatly improves the reliability and efficiency of data protection, which is particularly important for applications that have strict requirements on data integrity.
[0074] See also Figure 4 , Figure 4 This is a schematic diagram of the electrical connection of modules of the power-off protection circuit in another embodiment of the utility model.
[0075] In this embodiment, the memory unit 100 includes a memory chip 100 a and a third capacitor 102 . One end of the third capacitor 102 is electrically connected to the memory chip 100 a , and the other end is grounded.
[0076] The third capacitor 102 stores a portion of the electric energy provided by the power circuit 300 , and releases the electric energy when the power circuit 300 is powered off, so that the memory chip 100 a can be shut down normally.
[0077] In this embodiment, three capacitors, such as the first capacitor 204, the second capacitor 406 and the third capacitor 102, are used to form a comprehensive energy management system to ensure that the data in the Flash memory is effectively protected when the power is cut off.
[0078] In this embodiment, the first capacitor 204 is mainly responsible for providing short-term power to the main control unit 200 when the power is cut off, so that the main control unit 200 can complete the current data operation and start the data protection program.
[0079] The second capacitor 406 is electrically connected to the monitoring circuit 400 (including a voltage acquisition device and a voltage comparison device) and is used to provide power to the monitoring circuit 400 when the power is off, ensuring that the circuit can detect the drop in power supply voltage and notify the main control unit 200 in time.
[0080] The third capacitor 102 is electrically connected to the memory chip 100a, and its function is to provide necessary power to the memory chip 100a when the power is cut off, so as to ensure that the memory chip 100a can be shut down normally and prevent data damage.
[0081] When the power supply suddenly loses power, the second capacitor 406 responds first, keeps the operation of the monitoring circuit 400, so that the voltage comparison device can detect the voltage drop and send a warning signal. Meanwhile, the first capacitor 204 and the third capacitor 102 also begin to release their stored electric energy. The first capacitor 204 supports the main control unit 200 to complete the data protection program, and the third capacitor 102 ensures that the memory chip 100a can safely complete the current operation and close. In this way, the coordinated work of the three capacitors provides multi-level protection, from monitoring to power supply anomaly to data safe preservation, and the whole process has been supported by electric energy.
[0082] See also Figure 5 , Figure 5 The figure is a schematic diagram of the electrical connection of modules of the power-off protection circuit in another embodiment of the present utility model.
[0083] In this embodiment, the power supply circuit 300 includes a transformer 302 , one end of which is connected to the mains, and the other end of which is electrically connected to the main control unit 200 and the monitoring circuit 400 . The transformer 302 is used to transform the mains.
[0084] In this embodiment, the design of the power supply circuit 300 includes a transformer 302, which is used to transform the mains power into a voltage level suitable for the main control unit 200 and the monitoring circuit 400. By reducing the voltage, the transformer 302 ensures that the main control unit 200 and the monitoring circuit 400 can operate at a safe voltage level.
[0085] In addition, the transformer 302 enables the power supply circuit 300 to adapt to the power grid standards of different countries and regions, thereby increasing the versatility and market adaptability of the device.
[0086] Continuing to refer to FIG. 5 , in this embodiment, the power circuit 300 further includes a fourth capacitor 304 , one end of the fourth capacitor 304 is electrically connected to the transformer 302 , and the other end is grounded.
[0087] In this embodiment, the fourth capacitor 304 included in the power circuit 300 is electrically connected to the transformer 302. After the fourth capacitor 304 is electrically connected to the transformer 302, its main function is to smooth the voltage output by the transformer 302 and reduce power supply noise and voltage fluctuation.
[0088] In this embodiment, when the power supply circuit 300 operates normally, the fourth capacitor 304 is charged and stores energy; when the power supply fluctuates or is temporarily interrupted, it can provide instant power replenishment to maintain stable operation of the circuit.
[0089] When the fourth capacitor 304 works together with the first, second and third capacitors 102, they together form a multi-level energy buffer system, ensuring that each link from the power supply to the main control unit 200, the monitoring circuit 400 and the storage chip 100a has sufficient energy support.
[0090] This multi-level energy buffer system can release power in stages when power is suddenly cut off, first ensuring the operation of the monitoring circuit 400, then supporting the main control unit 200 to complete the data protection program, and finally ensuring the data of the storage chip 100a is safely closed.
[0091] In this embodiment, comprehensive protection is provided through this design, which not only protects the integrity of the data, but also improves the robustness of the entire system when facing power instability.
[0092] This comprehensive energy management and protection strategy ensures that key components of the system receive the necessary power support in the event of unstable power supply or power outage, thereby protecting the data stored in the Flash memory from damage.
[0093] The utility model further proposes a Flash memory, the specific structure of which refers to the above embodiments. Since the Flash memory adopts all the technical solutions of all the above embodiments, it at least has all the technical effects brought by the technical solutions of the above embodiments, which will not be described one by one here.
[0094] In this embodiment, the Flash memory specifically includes a data protection circuit that can protect the data in the memory from being damaged when the power is off. The design of this Flash memory provides an efficient and cost-effective solution to protect the integrity and security of data in the event of a power outage through a multi-level energy buffering and monitoring system.
[0095] The utility model further provides an electronic device, comprising the aforementioned Flash memory.
[0096] The electronic device proposed in this embodiment includes the aforementioned Flash memory with data protection circuit, so that when the power supply is unexpectedly cut off, the built-in data protection circuit can protect the data in the memory from being damaged, thereby improving the security of the data. In addition, the multi-level energy buffer system ensures that the key components of the electronic device receive the necessary power support at critical moments, such as when the power supply is unstable or cut off, thereby enhancing the reliability of the entire system.
[0097] In summary, the design of this electronic device not only improves the efficiency and reliability of data protection, but also has good economy and applicability, meeting the high standards of modern electronic equipment for data security and system stability.
[0098] The above description is only a partial or preferred embodiment of the present invention. Neither the text nor the drawings can limit the scope of protection of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the overall concept of the present invention, or direct / indirect application in other related technical fields are included in the scope of protection of the present invention.
Claims
1. A power-off protection circuit for a Flash memory, characterized in that: The power-off protection circuit comprises: A storage unit, wherein the storage unit is used to store data; A main control unit, the main control unit is communicatively connected with the storage unit to control the storage unit to perform read and write operations; a power supply circuit, the power supply circuit being electrically connected to the main control unit to supply power to the main control unit; A monitoring circuit, wherein the monitoring circuit is respectively connected to the power supply circuit and the main control unit for communication, so as to send a trigger signal for starting a data protection mechanism to the main control unit when it is detected that the power supply circuit is powered off.
2. The power-off protection circuit of the Flash memory according to claim 1, characterized in that: The main control unit comprises a main control chip and a first capacitor, one end of the main control chip is electrically connected to the power supply circuit, and the other end is electrically connected to the storage unit, one end of the first capacitor is electrically connected to the main control chip, and the other end is grounded; The first capacitor is used to store part of the electric energy provided by the power supply circuit, so as to release the electric energy when the power supply circuit is powered off, so as to supply power to the main control chip.
3. The power-off protection circuit of the Flash memory according to claim 1 or 2, characterized in that: The monitoring circuit comprises: An electrical signal acquisition device, electrically connected to the power circuit, for acquiring an electrical signal from the power circuit; An electrical signal comparison device is connected between the electrical signal acquisition device and the main control unit to compare the electrical signal collected by the electrical signal acquisition device with a preset threshold value, and when it is determined that the power circuit is powered off based on the comparison result, a trigger signal for starting a data protection mechanism is sent to the main control unit.
4. The power-off protection circuit of the Flash memory according to claim 3, characterized in that: The electrical signal acquisition device is a voltage acquisition device, and the electrical signal comparison device is a voltage comparison device; The voltage acquisition device acquires the electrical signal of the power supply circuit as a voltage signal; The voltage comparison device is used to compare the voltage signal collected by the voltage collection device with a preset voltage threshold, and send a trigger signal for starting a data protection mechanism to the main control unit when the voltage signal collected by the voltage collection device is lower than the preset voltage threshold.
5. The power-off protection circuit of the Flash memory according to claim 4, characterized in that: The monitoring circuit also includes a second capacitor, one end of which is electrically connected to the voltage acquisition device and the other end is grounded. The second capacitor is used to store part of the electrical energy provided by the power supply circuit and release the electrical energy when the power supply circuit is powered off.
6. The power-off protection circuit of the Flash memory according to claim 1 or 5, characterized in that: The storage unit includes a storage chip and a third capacitor, one end of the third capacitor is electrically connected to the storage chip, and the other end is grounded; The third capacitor stores part of the electric energy provided by the power circuit, and releases the electric energy when the power circuit is powered off, so that the storage chip can be shut down normally.
7. The power-off protection circuit of the Flash memory according to claim 6, characterized in that: The power supply circuit comprises a transformer, one end of which is used to connect to the mains, and the other end of which is electrically connected to the main control unit and the monitoring circuit, and the transformer is used to transform the mains.
8. The power-off protection circuit of the Flash memory according to claim 7, characterized in that: The power supply circuit further includes a fourth capacitor, one end of which is electrically connected to the transformer component, and the other end of which is grounded.
9. A Flash memory, characterized in that: A power-off protection circuit for a Flash memory comprising any one of claims 1 to 8.
10. An electronic device, characterized in that: Including the Flash memory as claimed in claim 9.