Power management module and method, and multiple-time programmable nonvolatile memory
By designing the power management module in MTP, using the working status detection unit and the voltage rapid generation unit to provide power during LDO startup, the problems of high LDO power consumption and slow startup time are solved, and lower power consumption and stable power management are achieved. .
Patent Information
- Application Number
- PCT/CN2023/132765
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-20
- Filing Date
- 2023-11-21
- Publication Date
- 2024-10-24
AI Technical Summary
When using LDO as a multi-time programmable non-volatile memory (MTP) power management chip, the power consumption is high and the LDO startup time is slow, which may cause the main circuit to fail to work properly under continuous startup and shutdown conditions.
Design a power management module, including a working state detection unit, an LDO circuit, a voltage rapid generation unit and a selector. By shutting down the LDO circuit when the main circuit is in a non-working state, the voltage rapid generation unit is used to activate the voltage while the LDO is not starting. Provide voltage to avoid power interruption caused by slow startup of LDO, and switch to provide voltage to LDO after LDO startup is completed.
It effectively reduces the power consumption of the main circuit in the non-working state, and replaces the LDO to provide power during the startup of the LDO, ensuring the normal operation of the circuit and solving the problems of high power consumption and slow startup time.
Smart Images

Figure CN2023132765_24102024_PF_FP_ABST
Abstract
Description
Power management module and method, multi-time programmable non-volatile memory
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 20, 2023, with application number 2023104331924 and application name “Power management module and method, multi-time programmable non-volatile memory”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present application relates to a memory, in particular to a multi-time programmable non-volatile memory, and also to a power management module and a power management method. Background Art
[0003] With the continuous development of power management chip technology, more power management chips can be applied to more fields. Low Dropout linear regulator (LDO) is a widely used power management chip. Compared with other power management chips such as DC-DC (direct current to direct current) chips, LDO has the advantages of relatively lower cost, smaller area, simpler circuit structure, lower power consumption and more stable output voltage.
[0004] MTP (multi-time program) stands for multi-time programmable non-volatile memory. Its programming endurance is between that of OTP (one-time program) memory and e-flash (embedded flash memory), achieving up to 10,000 erase and write cycles. Its cost is also in between these two. Therefore, MTP has found widespread application in markets such as digital power supplies, fast chargers, wireless chargers, and MCUs (microcontroller units).
[0005] In an exemplary solution of using an LDO as a power management chip of an MTP, the power consumption of the MTP is relatively high.
[0006] Summary of the Invention
[0007] Based on this, it is necessary to provide a power management module with lower power consumption.
[0008] A power management module includes: a working state detection unit configured to output a startup signal when detecting that a main circuit is in an working state, and output a shutdown signal when detecting that the main circuit is in a non-working state; an LDO circuit connected to the working state detection unit, the LDO circuit configured to shut down when receiving the shutdown signal, and start up and output a first working voltage when receiving the startup signal; a rapid voltage generation unit connected to the working state detection unit, the rapid voltage generation unit configured to shut down when receiving the shutdown signal, and start up and output a second working voltage when receiving the startup signal, the rapid voltage generation unit starting up faster than the LDO circuit; a selector receiving the first and second working voltages, outputting the first working voltage after the LDO circuit has completed startup, and outputting the second working voltage when the rapid voltage generation unit has completed startup but the LDO circuit has not yet completed startup; and a startup detection unit connected to the LDO circuit and the rapid voltage generation unit, the startup detection unit configured to control the rapid voltage generation unit to shut down after detecting that the LDO circuit has completed startup.
[0009] The above-mentioned power management module turns off the LDO circuit and the rapid voltage generation unit when the main circuit is in a non-working state to reduce power consumption. When the main circuit is in a working state, the LDO circuit and the rapid voltage generation unit are started, and the second working voltage is first provided to the main circuit by taking advantage of the fast startup characteristic of the rapid voltage generation unit; after the startup of the LDO circuit is completed, the LDO circuit is switched to provide the first working voltage to the main circuit, and the rapid voltage generation unit is turned off. Therefore, when the main circuit is in a non-working state, the above-mentioned power management module reduces power consumption by putting the LDO circuit in a shutdown state (rather than a standby state), and by configuring the rapid voltage generation unit, replaces the LDO circuit to provide voltage to the main circuit during the period when the startup of the LDO circuit is not completed, thereby avoiding the main circuit from not being able to work normally due to the slow startup of the LDO circuit in the case of continuous startup and shutdown.
[0010] In one embodiment, the power management module further includes a comparator, wherein a first input of the comparator is connected to the output of the rapid voltage generation unit, and a second input of the comparator is connected to the output of the LDO circuit; the output of the comparator, the output of the rapid voltage generation unit, and the output of the LDO circuit are connected to the selector, and the selector outputs the second operating voltage upon receiving the first logic level output by the comparator, and outputs the first operating voltage upon receiving the second logic level output by the comparator.
[0011] In one embodiment, the first operating voltage output by the LDO circuit after startup is not less than the second operating voltage output by the fast voltage generating unit after startup.
[0012] In one embodiment, the comparator includes an operational amplifier, the output of the voltage rapid generation unit is connected to the non-inverting input of the operational amplifier, the output of the LDO circuit is connected to the inverting input of the operational amplifier, and the selector outputs the second operating voltage when the output of the comparator is a high level, and the selector outputs the first operating voltage when the output of the comparator is a low level.
[0013] In one embodiment, the startup detection unit is connected to the comparator, and controls the fast voltage generating unit to be turned off when the startup detection unit detects that the output of the comparator changes from the first logic level to the second logic level.
[0014] In one embodiment, the power management module is applied to a multi-time programmable non-volatile memory.
[0015] In one embodiment, the fast voltage generating unit includes an eighth MOS transistor T8, a voltage providing unit, and a capacitor. The eighth MOS transistor T8 is an NMOS transistor. One end of the capacitor is connected to the common ground terminal VSS, and the other end is connected to the source of the eighth MOS transistor T8 and serves as the output end of the second working voltage. The input end of the voltage providing unit is connected to the working voltage terminal VDD, and the output end of the voltage providing unit is connected to the gate of the eighth MOS transistor T8. The voltage providing unit is used to provide a preset voltage for the gate of the eighth MOS transistor T8. The drain of the eighth MOS transistor T8 is connected to the working voltage terminal VDD.
[0016] In one embodiment, the voltage fast generating unit includes a first MOS transistor T1, a second MOS transistor T2, a third MOS transistor T3, a fourth MOS transistor T4, a fifth MOS transistor T5, a sixth MOS transistor T6, a seventh MOS transistor T7, an eighth MOS transistor T8, a first resistor R1, a second resistor R2, and a third resistor R3; the first MOS transistor T1, the second MOS transistor T2, the third MOS transistor T3, the fourth MOS transistor T4, the eighth MOS transistor T8, and the ninth MOS transistor T9 are NMOS transistors, and the fifth MOS transistor T5, the sixth MOS transistor T6, and the seventh MOS transistor T7 are PMOS transistors; the drain and gate of the first MOS transistor T1, the drain of the eighth MOS transistor T8, and one end of the second resistor R2 are connected to the working voltage terminal VDD, the first MOS transistor T1 is connected to one end of the resistor R1, and the other end of the resistor R1 is connected to the drain and gate of the second MOS transistor T2, and the gate of the third MOS transistor T3; the source of the second MOS transistor T2 is connected to the source of the third MOS transistor T3, and is connected to a common ground. The drain of the third MOS transistor T3 is connected to the other end of the second resistor R2, the gate of the fourth MOS transistor T4, the gate of the eighth MOS transistor T8, and the source of the fifth MOS transistor T5. The source of the fourth MOS transistor T4 is connected to the drain of the fourth MOS transistor T4 and to the common ground VSS. The gate of the fifth MOS transistor T5 is connected to the drain of the fifth MOS transistor T5 and to the source of the sixth MOS transistor T6. The gate of the sixth MOS transistor T6 is connected to the drain of the sixth MOS transistor T6 and to the source of the seventh MOS transistor T7. The gate of the seventh MOS transistor T7 is connected to the drain of the seventh MOS transistor T7 and to one end of the third resistor R3. The other end of the third resistor R3 is connected to the common ground VSS. The source of the eighth MOS transistor T8 is connected to the gate of the ninth MOS transistor T9 and serves as an output end for outputting the second operating voltage. The source of the ninth MOS transistor T9 is connected to the drain of the ninth MOS transistor T9 and to the common ground VSS.
[0017] It is also necessary to provide a multi-time programmable non-volatile memory, including the power management module described in any of the aforementioned embodiments.
[0018] It is also necessary to provide a method for power management.
[0019] A power management method includes: in response to a main circuit being in an operating state, starting an LDO circuit and a rapid voltage generation unit; in response to the main circuit being in a non-operating state, shutting down the LDO circuit and the rapid voltage generation unit; the rapid voltage generation unit outputting a second operating voltage after startup, and the LDO circuit outputting a first operating voltage after startup; when the rapid voltage generation unit has completed startup but the LDO circuit has not yet completed startup, using the second operating voltage as the power supply voltage of the main circuit; after the LDO circuit has completed startup, using the first operating voltage as the power supply voltage of the main circuit; and after the LDO circuit has completed startup, controlling the rapid voltage generation unit to shut down; wherein the rapid voltage generation unit starts faster than the LDO circuit.
[0020] The above power management method turns off the LDO circuit and the rapid voltage generation unit when the main circuit is in a non-operating state to reduce power consumption. When the main circuit is in an operating state, the LDO circuit and the rapid voltage generation unit are started, and the second operating voltage is first provided to the main circuit by utilizing the fast startup characteristic of the rapid voltage generation unit; after the startup of the LDO circuit is completed, the LDO circuit is switched to provide the first operating voltage to the main circuit, and the rapid voltage generation unit is turned off. Therefore, when the main circuit is in a non-operating state, the above power management method reduces power consumption by putting the LDO circuit in an off state (rather than a standby state), and by configuring the rapid voltage generation unit, replaces the LDO circuit to provide voltage to the main circuit during the period when the startup of the LDO circuit is not completed, thereby avoiding the main circuit from not being able to work normally due to the slow startup of the LDO circuit in the case of continuous startup and shutdown.
[0021] In one embodiment, the method further includes: determining that startup of the rapid voltage generation unit is complete when a voltage value of the voltage output by the rapid voltage generation unit is not greater than a voltage value of the voltage output by the LDO circuit.
[0022] In one embodiment, the method is applied to a multi-time programmable non-volatile memory, and the main circuit is in the working state when the multi-time programmable non-volatile memory is performing a read operation, a program operation, or an erase operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to better describe and illustrate the disclosed embodiments and / or examples disclosed herein, reference may be made to one or more of the accompanying drawings. The additional details or examples used to describe the accompanying drawings should not be considered to limit the scope of the disclosed application, the presently described embodiments and / or examples, and any of the best modes currently understood to be present in these disclosures.
[0024] FIG1 is a control schematic diagram of an exemplary LDO in an MTP;
[0025] FIG2 is a schematic diagram of the structure of a power management module in one embodiment of the present application;
[0026] FIG3 is a schematic structural diagram of a power management module in another embodiment of the present application;
[0027] FIG4 is a timing diagram of a comparator in one embodiment of the present application;
[0028] FIG5 is a flow chart of a power management method according to an embodiment of the present application;
[0029] FIG6 is a logic timing diagram of the startup and output V2P5 voltage of the LDO in the power management module according to an embodiment of the present application;
[0030] FIG7 is a circuit diagram of a fast voltage generating unit 130 in an embodiment of the present application;
[0031] FIG8 is a circuit diagram of a fast voltage generating unit 130 in another embodiment of the present application. DETAILED DESCRIPTION
[0032] To facilitate understanding of the present application, a more comprehensive description of the present application will be provided below with reference to the accompanying drawings. The drawings illustrate preferred embodiments of the present application. However, the present application may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and comprehensive understanding of the present disclosure.
[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0034] The purpose of the terms used herein is only to describe specific embodiments and is not intended to limit the present application. When used herein, the singular forms "a", "an", and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "comprising" and / or "including", when used in this specification, determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.
[0035] In an exemplary solution using an LDO as the power management chip for an MTP, when the MTP is not operating, the logic circuit controls the LDO to enter standby mode. When the MTP is operating, the logic circuit controls the LDO to exit standby mode and resume normal operation, as shown in Figure 1. Controlling the LDO to enter standby mode when the MTP is not operating reduces the MTP's power consumption. However, in standby mode, the MTP's LDO and other circuits still draw current, resulting in a certain amount of power consumption.
[0036] In order to further reduce power consumption, the present application proposes a power management module. Figure 2 is a structural diagram of the power management module in one embodiment of the present application, including a working state detection unit 110, an LDO circuit 120, a voltage rapid generation unit 130, a selector 140 and a start detection unit 150. The working state detection unit 110 is configured to output a start signal when it detects that the main circuit is in a working state, and output a shutdown signal when it detects that the main circuit is in a non-working state. The main circuit refers to a circuit that uses the power management module for power management. In one embodiment of the present application, the power management module is applied to a multi-time programmable non-volatile memory (MTP). The main circuit is in a working state when the MTP is performing any one of a read operation, a programming operation or an erase operation, and is in a non-working state when the MTP is not performing a read operation, a programming operation or an erase operation.
[0037] The LDO circuit 120 is connected to the working state detection unit 110 . The LDO circuit 120 is configured to shut down upon receiving a shutdown signal output by the working state detection unit 110 , and to start up and output a first working voltage upon receiving a start signal output by the working state detection unit 110 .
[0038] The fast voltage generation unit 130 is connected to the working state detection unit 110. The fast voltage generation unit 130 is configured to shut down upon receiving a shutdown signal output by the working state detection unit 110, and to start up and output a second working voltage upon receiving a start signal output by the working state detection unit 110. The reason for providing the fast voltage generation unit 130 is that the LDO circuit 120 typically starts up slowly. Therefore, by configuring a fast voltage generation unit 130 that can start up quickly, it is possible to temporarily replace the LDO circuit 120 with an operating voltage before the LDO circuit 120 completes startup. After the LDO circuit 120 completes startup, it can switch to providing the operating voltage (power supply voltage) through the LDO circuit 120. The fast voltage generation unit 130 should be designed to have advantages such as a short startup time, low power consumption, and a simple circuit structure, but the LDO circuit 120 can provide better stability.
[0039] Selector 140 is connected to LDO circuit 120 and rapid voltage generation unit 130. After LDO circuit 120 is fully started, selector 140 selects the first operating voltage for output. Before LDO circuit 120 is fully started, selector 140 selects the voltage output by rapid voltage generation unit 130 (i.e., the second operating voltage) for output, providing the operating voltage (power supply voltage) for the main circuit. In one embodiment of the present application, selector 140 outputs a V2P5 voltage, which is a DC voltage of approximately 2.5V.
[0040] The startup detection unit 150 is connected to the LDO circuit 120 and the rapid voltage generation unit 130 . The startup detection unit 150 is configured to control the rapid voltage generation unit 130 to turn off after detecting that the startup of the LDO circuit 120 is completed.
[0041] The power management module reduces power consumption by shutting down the LDO circuit 120 and the rapid voltage generation unit 130 when the main circuit is not in operation. When the main circuit is in operation, the LDO circuit 120 and the rapid voltage generation unit 130 are activated, and the rapid voltage generation unit 130 is utilized to first provide the second operating voltage to the main circuit. After the LDO circuit 120 has completed startup, the module switches to the LDO circuit 120 providing the first operating voltage to the main circuit, and the rapid voltage generation unit 130 is shut down. Therefore, when the main circuit is not in operation, the power management module reduces power consumption by shutting down the LDO circuit 120 (rather than in standby mode). Furthermore, by configuring the rapid voltage generation unit 130 to replace the LDO circuit 120 in providing the power supply voltage to the main circuit while the LDO circuit 120 is not fully started, this prevents the main circuit from malfunctioning due to the slow startup of the LDO circuit 120 during repeated startup and shutdown.
[0042] FIG3 is a schematic diagram of the structure of a power management module according to another embodiment of the present application. Comparator 160 is further added to the embodiment shown in FIG2 . A first input of comparator 160 is connected to the output of rapid voltage generation unit 130, and a second input of comparator 160 is connected to the output of LDO circuit 120. The output of comparator 160 is connected to the control terminal of selector 140, while the output of rapid voltage generation unit 130 and the output of LDO circuit 120 are each connected to an input of selector 140. The output of comparator 160 serves as a control signal for selector 140. Upon receiving the first logic level output by comparator 160, selector 140 outputs the second operating voltage provided by rapid voltage generation unit 130. Upon receiving the second logic level output by comparator 160, selector 140 outputs the first operating voltage provided by LDO circuit 120. In one embodiment of the present application, the first logic level is a high level (i.e., "1"), and the second logic level is a low level (i.e., "0").
[0043] In one embodiment of the present application, the first operating voltage stably output by the LDO circuit 120 after startup is not less than the second operating voltage stably output by the fast voltage generating unit 130 after startup. For example, the second operating voltage may be slightly less than the first operating voltage.
[0044] In one embodiment of the present application, comparator 160 includes an operational amplifier. The output of the rapid voltage generation unit 130 is connected to the non-inverting input of the operational amplifier, and the output of the LDO circuit 120 is connected to the inverting input of the operational amplifier. After the operating state detection unit 110 outputs a startup signal, the rapid voltage generation unit 130 starts up faster than the LDO circuit 120 (see Figure 4). As a result, the voltage at the non-inverting input of the operational amplifier is greater than the voltage at the inverting input, and comparator 160 (the operational amplifier) outputs a high level. Once the LDO circuit 120 has completed startup, the voltage at the inverting input of the operational amplifier increases to a voltage greater than the voltage at the non-inverting input, causing the output of comparator 160 to change from a high level to a low level. Accordingly, selector 140 outputs the second operating voltage from the rapid voltage generation unit 130 when the output of comparator 160 is a high level ("1"), and outputs the first operating voltage from the LDO circuit 120 when the output of comparator 160 is a low level ("0").
[0045] In the embodiment shown in FIG3 , the startup detection unit 150 is further connected to the output of the comparator 160. When the startup detection unit 150 detects that the output of the comparator 160 has changed from a first logic level to a second logic level (indicating that the LDO circuit 120 has completed startup), the startup detection unit 150 controls the rapid voltage generation unit 130 to turn off. The startup detection unit 150 can be implemented by a logic circuit.
[0046] In one embodiment of the present application, the operating state detection unit 110 includes a three-input NOR gate, wherein a first input of the three-input NOR gate is connected to the MTP's read signal terminal, a second input is connected to the MTP's write signal (i.e., programming signal) terminal, and a third input is connected to the MTP's erase signal terminal. When any of the read signal terminal, write signal terminal, or erase signal terminal is high, the three-input NOR gate outputs a low level, indicating that the MTP is in an operating state. Correspondingly, when the three-input NOR gate outputs a high level, it indicates that the MTP is in an inoperative state. The operating state detection unit 110 can control the LDO circuit 120 and the rapid voltage generation unit 130 to start together through a logic circuit. If the LDO circuit 120 has not yet completed startup, the rapid voltage generation unit 130 provides the V2P5 voltage. When the comparator 160 determines that the LDO circuit 120 has completed startup, the logic circuit in the startup detection unit 150 controls the rapid voltage generation unit 130 to shut down, and the LDO circuit 120 provides the V2P5 voltage.
[0047] The above-mentioned parallel startup and alternating power supply method can solve the problems caused by high power consumption and slow startup time of traditional circuits using LDO as power management chips (such as MTP).
[0048] FIG7 is a circuit diagram of a rapid voltage generation unit 130 in one embodiment of the present application. The rapid voltage generation unit 130 includes an eighth MOS transistor T8, a voltage providing unit, and a capacitor. The eighth MOS transistor T8 is an NMOS transistor. One end of the capacitor is connected to the common ground terminal VSS, and the other end is connected to the source of the eighth MOS transistor T8 and serves as the output end of the second operating voltage (i.e., the V2P5 port in FIG7 ). The input end of the voltage providing unit is connected to the operating voltage terminal VDD, and the output end is connected to the gate of the eighth MOS transistor T8, for providing a preset voltage to the gate of the eighth MOS transistor T8. The drain of the eighth MOS transistor T8 is connected to the operating voltage terminal VDD.
[0049] When the rapid voltage generation unit 130 needs to be activated, the operating voltage terminal VDD provides the operating voltage to the voltage supply unit, causing the voltage supply unit to activate and provide a preset voltage to the gate of the eighth MOS transistor T8. At this time, the eighth MOS transistor T8 turns on, charging the capacitor at the source, and the voltage of the capacitor gradually increases. When the voltage of the capacitor reaches a certain value, that is, when the source voltage of the eighth MOS transistor T8 reaches Vg-Vth (Vth is the threshold voltage of the eighth MOS transistor T8, and Vg is the gate voltage of the eighth MOS transistor T8, that is, the preset voltage provided by the voltage supply unit), the eighth MOS transistor T8 turns off. At this time, the rapid voltage generation unit 130 is successfully activated and outputs the second operating voltage. The startup time required for startup in this manner is significantly faster than the startup time required for startup of the LDO circuit 120. As previously mentioned, the second operating voltage = preset voltage - Vth. Therefore, the preset voltage value can be reversed based on the voltage value required for the second operating voltage to configure the voltage supply unit.
[0050] FIG8 is a circuit diagram of a rapid voltage generation unit 130 according to another embodiment of the present application. In this embodiment, the rapid voltage generation unit 130 includes a first MOS transistor T1, a second MOS transistor T2, a third MOS transistor T3, a fourth MOS transistor T4, a fifth MOS transistor T5, a sixth MOS transistor T6, a seventh MOS transistor T7, an eighth MOS transistor T8, a first resistor R1, a second resistor R2, and a third resistor R3. The first MOS transistor T1, the second MOS transistor T2, the third MOS transistor T3, the fourth MOS transistor T4, the eighth MOS transistor T8, and the ninth MOS transistor T9 are NMOS transistors, while the fifth MOS transistor T5, the sixth MOS transistor T6, and the seventh MOS transistor T7 are PMOS transistors.
[0051] The drain and gate of the first MOS transistor T1, the drain of the eighth MOS transistor T8, and one end of the second resistor R2 are connected to the operating voltage terminal VDD. The first MOS transistor T1 is connected to one end of the resistor R1, the other end of which is connected to the drain and gate of the second MOS transistor T2, and the gate of the third MOS transistor T3. The source of the second MOS transistor T2 is connected to the source of the third MOS transistor T3 and to the common ground terminal VSS. The drain of the third MOS transistor T3 is connected to the other end of the second resistor R2, the gate of the fourth MOS transistor T4, the gate of the eighth MOS transistor T8, and the source of the fifth MOS transistor T5. The source of the fourth MOS transistor T4 is connected to its drain and to the common ground terminal VSS. The gate of the fifth MOS transistor T5 is connected to its drain and to the source of the sixth MOS transistor T6. The gate of the sixth MOS transistor T6 is connected to its drain and to the source of the seventh MOS transistor T7. The gate of the seventh MOS transistor T7 is connected to its drain and to one end of the third resistor R3. The other end of the third resistor R3 is connected to the common ground terminal VSS. The source of the eighth MOS transistor T8 is connected to the gate of the ninth MOS transistor T9 and serves as the output terminal of the second working voltage (ie, the V2P5 port in FIG8 ). The source of the ninth MOS transistor T9 is connected to its drain and to the common ground terminal VSS.
[0052] The present application accordingly proposes an MTP including the aforementioned power management module, that is, the MTP uses the power management module to perform power management.
[0053] The present application also provides a power management method. FIG5 is a flow chart of the power management method in one embodiment of the present application, including the following steps:
[0054] S510, detecting whether the main circuit is in working state, if so, proceeding to step S520, otherwise proceeding to step S512.
[0055] In one embodiment of the present application, the method is applied to an MTP. The main circuit being in an operating state means that the MTP is performing a read operation, a program operation, or an erase operation, that is, at least one of the read, write, and erase states of the MTP is "1."
[0056] S512 , turning off the LDO circuit and the fast voltage generating unit.
[0057] When the main circuit is not in operation (i.e., in a non-operating state), the LDO circuit and the fast voltage generating unit are turned off to reduce power consumption. The LDO circuit and the fast voltage generating unit are turned on again when the main circuit is in operation.
[0058] S520 , starting the LDO circuit and the voltage fast generating unit.
[0059] The fast voltage generation unit starts up faster than the LDO circuit and therefore completes startup before the LDO circuit. The fast voltage generation unit should adopt a circuit structure with advantages such as short startup time, low power consumption, and simple circuit structure.
[0060] S522 , the fast voltage generating unit outputs a second operating voltage after being started.
[0061] The amplitude of the second operating voltage must match the voltage amplitude required by the main circuit.
[0062] S532: When the startup of the LDO circuit is not yet completed, the second operating voltage is used as the power supply voltage of the main circuit.
[0063] The fast voltage generation unit will complete startup before the LDO circuit, so the power supply voltage is provided to the main circuit through the fast voltage generation unit when the startup of the LDO circuit is not yet completed.
[0064] S530 , the LDO circuit outputs a first operating voltage after startup.
[0065] In one embodiment of the present application, the first operating voltage is not less than the second operating voltage. For example, the second operating voltage is slightly less than the first operating voltage.
[0066] S540: After the LDO circuit is started, the first operating voltage is used as the power supply voltage of the main circuit.
[0067] After the LDO circuit is started up, the LDO circuit is switched to provide the power supply voltage to the main circuit. In one embodiment of the present application, the voltage provided is the V2P5 voltage, as shown in Figure 6. The voltage output by the LDO circuit (i.e., the first operating voltage) is more stable than the voltage output by the fast voltage generation unit (the second operating voltage).
[0068] S550 , turning off the fast voltage generating unit.
[0069] After the LDO circuit is started up, the LDO circuit provides the power supply voltage to the main circuit, so the voltage rapid generation unit can be turned off to reduce circuit power consumption.
[0070] The above power management method turns off the LDO circuit and the rapid voltage generation unit when the main circuit is in a non-operating state to reduce power consumption. When the main circuit is in an operating state, the LDO circuit and the rapid voltage generation unit are started, and the second operating voltage is first provided to the main circuit by utilizing the fast startup characteristic of the rapid voltage generation unit; after the LDO circuit is started, the LDO circuit is switched to provide the first operating voltage to the main circuit, and the rapid voltage generation unit is turned off. Therefore, when the main circuit is in a non-operating state, the above power management method reduces power consumption by putting the LDO circuit in an off state (rather than a standby state), and by configuring the rapid voltage generation unit, replaces the LDO circuit to provide the power supply voltage to the main circuit during the period when the LDO circuit is not started, thereby avoiding the main circuit from not being able to work normally due to the slow startup of the LDO circuit in the case of continuous startup and shutdown.
[0071] In one embodiment of the present application, the method is to determine that the startup of the fast voltage generating unit is completed when the voltage value of the voltage output by the fast voltage generating unit is not greater than the voltage value of the voltage output by the LDO circuit.
[0072] It should be understood that, although the various steps in the flowchart of the present application are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart of the present application may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0073] Throughout this specification, references to terms such as "some embodiments," "other embodiments," and "desired embodiments" indicate that a particular feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present application. The schematic descriptions of these terms throughout this specification do not necessarily refer to the same embodiment or example.
[0074] The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features of the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0075] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A power management module, characterized in that: include: A working state detection unit is configured to output a start signal when detecting that the main circuit is in a working state, and output a shut-down signal when detecting that the main circuit is in a non-working state; An LDO circuit is connected to the working state detection unit, and the LDO circuit is configured to be turned off when receiving the shutdown signal, and to be started and output a first working voltage when receiving the start signal; a fast voltage generating unit connected to the working state detecting unit, wherein the fast voltage generating unit is configured to be turned off upon receiving the shut-down signal, and to be started and output a second working voltage upon receiving the start-up signal, wherein the start-up speed of the fast voltage generating unit is faster than that of the LDO circuit; a selector, receiving the first operating voltage and the second operating voltage, outputting the first operating voltage after the startup of the LDO circuit is completed, and outputting the second operating voltage when the startup of the LDO circuit is not completed; A startup detection unit is connected to the LDO circuit and the voltage rapid generation unit, and the startup detection unit is configured to control the voltage rapid generation unit to turn off after detecting that the startup of the LDO circuit is completed.
2. The power management module according to claim 1, characterized in that: It also includes a comparator, wherein a first input terminal of the comparator is connected to the output terminal of the fast voltage generating unit, and a second input terminal of the comparator is connected to the output terminal of the LDO circuit; The output end of the comparator, the output end of the voltage fast generating unit and the output end of the LDO circuit are connected to the selector. The selector outputs the second operating voltage when receiving the first logic level output by the comparator, and outputs the first operating voltage when receiving the second logic level output by the comparator.
3. The power management module according to claim 1 or 2, characterized in that: The first operating voltage output by the LDO circuit after startup is not less than the second operating voltage output by the fast voltage generating unit after startup.
4. The power management module according to claim 2, characterized in that: The comparator includes an operational amplifier, the output end of the voltage fast generating unit is connected to the non-inverting input end of the operational amplifier, the output end of the LDO circuit is connected to the inverting input end of the operational amplifier, the selector outputs the second operating voltage when the output of the comparator is a high level, and the selector outputs the first operating voltage when the output of the comparator is a low level.
5. The power management module according to claim 2, characterized in that: The startup detection unit is connected to the comparator, and controls the fast voltage generating unit to be turned off when the startup detection unit detects that the output of the comparator changes from the first logic level to the second logic level.
6. The power management module according to claim 1, characterized in that: The voltage fast generating unit includes an eighth MOS tube T8, a voltage providing unit and a capacitor, wherein the eighth MOS tube T8 is an NMOS tube; one end of the capacitor is connected to the common ground terminal VSS, and the other end is connected to the source of the eighth MOS tube T8 and serves as the output end of the second working voltage; the input end of the voltage providing unit is connected to the working voltage terminal VDD, the output end of the voltage providing unit is connected to the gate of the eighth MOS tube T8, the voltage providing unit is used to provide a preset voltage for the gate of the eighth MOS tube T8, and the drain of the eighth MOS tube T8 is connected to the working voltage terminal VDD.
7. The power management module according to claim 1, characterized in that: The voltage fast generating unit comprises a first MOS tube T1, a second MOS tube T2, a third MOS tube T3, a fourth MOS tube T4, a fifth MOS tube T5, a sixth MOS tube T6, a seventh MOS tube T7, an eighth MOS tube T8, a first resistor R1, a second resistor R2 and a third resistor R3; wherein the first MOS tube T1, the second MOS tube T2, the third MOS tube T3, the fourth MOS tube T4, the eighth MOS tube T8 and the ninth MOS tube T9 are NMOS tubes; the fifth MOS tube T5, the sixth MOS tube T6 and the seventh MOS tube T7 are PMOS tubes; The drain and gate of the first MOS transistor T1, the drain of the eighth MOS transistor T8 and one end of the second resistor R2 are connected to the working voltage terminal VDD; the first MOS transistor T1 is connected to one end of the resistor R1, and the other end of the resistor R1 is connected to the drain and gate of the second MOS transistor T2 and the gate of the third MOS transistor T3; The source of the second MOS transistor T2 is connected to the source of the third MOS transistor T3 and to the common ground terminal VSS; the drain of the third MOS transistor T3 is connected to the other end of the second resistor R2, the gate of the fourth MOS transistor T4, the gate of the eighth MOS transistor T8 and the source of the fifth MOS transistor T5; The source of the fourth MOS tube T4 is connected to its drain and to the common ground terminal VSS; the gate of the fifth MOS tube T5 is connected to its drain and to the source of the sixth MOS tube T6; the gate of the sixth MOS tube T6 is connected to its drain and to the source of the seventh MOS tube T7; the gate of the seventh MOS tube T7 is connected to its drain and to one end of the third resistor R3, and the other end of the third resistor R3 is connected to the common ground terminal VSS; the source of the eighth MOS tube T8 is connected to the gate of the ninth MOS tube T9 and serves as the output end of the second working voltage; and the source of the ninth MOS tube T9 is connected to its drain and to the common ground terminal VSS.
8. The power management module according to claim 1, characterized in that: The power management module is applied to a multi-time programmable non-volatile memory.
9. The power management module according to claim 2, characterized in that: The first logic level is a high level, and the second logic level is a low level.
10. The power management module according to claim 1, characterized in that: The power management module is applied to a multi-time programmable non-volatile memory; the working state detection unit includes a 3-input NOR gate, a first input terminal of the 3-input NOR gate is connected to a read signal terminal of the multi-time programmable non-volatile memory, a second input terminal is connected to a write signal terminal of the multi-time programmable non-volatile memory, and a third input terminal is connected to an erase signal of the multi-time programmable non-volatile memory; When there is a high level in the read signal terminal, the write signal terminal or the erase signal terminal, the 3-input NOR gate outputs a low level to indicate that the multi-time programmable non-volatile memory is in a working state.
11. A multi-time programmable non-volatile memory, characterized in that: Comprising the power management module as described in any one of claims 1 to 9, the main circuit is in a working state when the multi-time programmable non-volatile memory is performing a read operation, a program operation or an erase operation.
12. The multi-time programmable non-volatile memory according to claim 11, wherein: The working state detection unit comprises a 3-input NOR gate, wherein a first input terminal of the 3-input NOR gate is connected to a read signal terminal of the multi-time programmable non-volatile memory, a second input terminal is connected to a write signal terminal of the multi-time programmable non-volatile memory, and a third input terminal is connected to an erase signal of the multi-time programmable non-volatile memory; When there is a high level in the read signal terminal, the write signal terminal or the erase signal terminal, the 3-input NOR gate outputs a low level to indicate that the multi-time programmable non-volatile memory is in a working state.
13. A power management method, comprising: In response to the main circuit being in an operating state, starting the LDO circuit and the voltage fast generating unit; In response to the main circuit being in a non-operating state, shutting down the LDO circuit and the fast voltage generating unit; The voltage fast generating unit outputs a second operating voltage after startup, and the LDO circuit outputs a first operating voltage after startup; When the fast voltage generating unit is started up and the LDO circuit is not started up, using the second working voltage as the power supply voltage of the main circuit; After the LDO circuit is started, the first operating voltage is used as the power supply voltage of the main circuit; After the LDO circuit is started, the fast voltage generating unit is controlled to be turned off; Wherein, the startup speed of the fast voltage generating unit is faster than that of the LDO circuit.
14. The power management method according to claim 13, characterized in that: Also includes: When the voltage value of the voltage output by the fast voltage generating unit is not greater than the voltage value of the voltage output by the LDO circuit, it is determined that the startup of the fast voltage generating unit is completed.
Citation Information
Patent Citations
Low drop-out voltage-stabilized source circuit structure
CN106160419A
Power-on circuit and charge pump circuit
CN110932704A
Power supply device
CN219458901U
Power on reset circuit, power supply circuit, and power supply system
US20140285243A1
Ultra-low power consumption power supply structure
WO2019128055A1
