Provide energy to the device

By designing energy storage circuits, discharge circuits and power supply circuits in the data processing device, using the adaptation of the discharge circuit and transistor characteristics to retain non-zero residual energy, the problem of the residual charge cannot be utilized after the capacitor is discharged, and the efficiency of energy storage is achieved Recharge and power supply.

CN112219335BActive Publication Date: 2024-12-06ARM LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980037727.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-06-14
Filing Date
2019-05-10
Publication Date
2024-12-06
Estimated Expiration
2039-05-10

AI Technical Summary

Technical Problem

In the data processing device, the capacitor cannot effectively retain the remaining charge during the discharge process, resulting in the processing circuit not being directly powered by the mains power supply, and consumes a lot of energy during recharging.

Method used

A device including energy storage circuit, discharge circuit and power supply circuit is designed. The discharge circuit retains non-zero residual energy when the energy storage circuit is discharged, and prevents complete discharge by adapting discharge circuit elements (such as p-type transistors) to reduce further discharge. The energy required to charge.

Benefits of technology

By retaining non-zero residual energy, the energy required to recharge the energy storage circuit is reduced, the total energy consumption is reduced, and flexible non-zero residual energy programming capabilities are provided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112219335B_ABST
    Figure CN112219335B_ABST
Patent Text Reader

Abstract

An apparatus is provided, the apparatus comprising an energy storage circuit for storing energy and supplying a portion of the energy to the apparatus. A discharge circuit is for discharging the energy storage circuit in response to a portion of the energy being supplied to the apparatus. A power supply circuit is for recharging the energy storage circuit. The discharge circuit is adapted to retain a non-zero residual energy in the energy storage circuit when the energy storage circuit is discharged by the discharge circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to energy. In particular, the present technology is related to providing energy to a device. Background Art

[0002] It is common in various devices such as data processing devices to charge a capacitor which then provides a small amount of energy to the processing circuitry. The remaining charge on the capacitor is discharged before the capacitor is charged again. This process means that the processing circuitry is not powered directly from, for example, the mains supply. Summary of the invention

[0003] From a first exemplary configuration, a device is provided, comprising: an energy storage circuit for storing energy and supplying a portion of the energy to the device; a discharge circuit for discharging the energy storage circuit in response to a portion of the energy being supplied to the device; and a power supply circuit for recharging the energy storage circuit, wherein the discharge circuit is adapted to retain non-zero residual energy in the energy storage circuit when the energy storage circuit is discharged by the discharge circuit.

[0004] From a second exemplary configuration, a method is provided, comprising: storing energy in an energy storage circuit; supplying a portion of the energy to a device; releasing energy in response to a portion of the energy being supplied to the device; retaining non-zero residual energy; and recharging the energy storage circuit.

[0005] From the third exemplary configuration, a device is provided, which includes: a device for storing energy; a device for supplying a portion of the energy to the device; a device for releasing energy in response to a portion of the energy being supplied to the device; a device for retaining non-zero residual energy; and a device for recharging the device for storing energy. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The present invention will be further described, by way of example only, with reference to embodiments of the invention shown in the accompanying drawings, in which:

[0007] Figure 1 is a block diagram of an apparatus according to some embodiments;

[0008] Figure 2 a graph showing voltage on an energy storage circuit versus time;

[0009] Figure 3 illustratively shows a flow chart of a discharge process according to some embodiments;

[0010] Figure 4A and Figure 4B shows a graph of the voltage of a circuit element varying with time;

[0011] Figure 5 shows an apparatus according to some embodiments;

[0012] Figure 6 shows an apparatus according to some embodiments;

[0013] Figure 7 shows an apparatus according to some embodiments;

[0014] Figure 8 shows an apparatus according to some embodiments;

[0015] Fig. 9 shows how some embodiments may be operated Figure 8 Flow chart of the device;

[0016] Fig. 10A , Fig. 10B , Fig.11A and Fig. 11B A programmable embodiment of the present technology is shown; and

[0017] Fig.12 is a flow chart illustrating some embodiments of the present technology. DETAILED DESCRIPTION

[0018] Before discussing the embodiments with reference to the accompanying drawings, the following description of the embodiments is provided.

[0019] According to an exemplary configuration, a device is provided, comprising: an energy storage circuit for storing energy and supplying a portion of the energy to the device; a discharge circuit for discharging the energy storage circuit in response to the portion of the energy being supplied to the device; and a power supply circuit for recharging the energy storage circuit, wherein the discharge circuit is adapted to retain non-zero residual energy in the energy storage circuit when the energy storage circuit is discharged by the discharge circuit.

[0020] In the above exemplary configuration, when the energy storage circuit is discharged by the discharge circuit, non-zero residual energy is retained in the energy storage circuit. For example, after the discharge circuit performs the discharge operation, non-zero residual energy (e.g., an amount of energy greater than zero) will remain in the energy storage circuit, thereby reducing the amount of energy required to recharge the energy storage circuit. Therefore, the total energy consumed by the device is reduced compared to a case where no residual energy is retained in the energy storage circuit of the same capacity.

[0021] The non-zero residual energy need not be fixed. For example, in some embodiments, the amount of non-zero residual energy is programmable. In this way, the non-zero residual energy can vary over time as needed.

[0022] In some embodiments, the apparatus includes a selection circuit for selecting the amount of non-zero residual energy from at least two values. Thus, the amount of non-zero residual energy can be programmed to one of the at least two values, and the discharge circuit will subsequently discharge the energy storage circuit to the programmed value.

[0023] In some embodiments, at least two values ​​may be in a multiple relationship. For example, the second value may be a multiple (e.g., double) of the first value, and the third value (if present) may be another multiple (e.g., triple) of the first value. Note that in some embodiments, at least two values ​​may be multiples of a power of two as the first value. For example, the second value may be twice the first value, and the third value may be four times the first value. By arranging the values ​​in a binary-like manner, any multiple may be obtained by combining individual values ​​together.

[0024] In some embodiments, the discharge circuit is adapted to change the amount of non-zero residual energy by selectively activating or deactivating elements in the discharge circuit. Similarly, by using different combinations of elements in the discharge circuit to provide different non-zero residual values, these elements can be combined to produce a wide range of different non-zero residual values.

[0025] In some embodiments, the discharge circuit includes a first transistor. The transistor can be generally classified as an n-type transistor or a p-type transistor, wherein an n-type transistor is more likely to pass a logic value "0" than a logic value "1", and a p-type transistor is more likely to pass a logic value "1" than a logic value "0". In some embodiments, the transistor used is a p-type. Since such a transistor is less good at passing a logic value "0", such a transistor, when grounded, generally does not fully discharge to zero voltage, but naturally retains a voltage. Therefore, when such a transistor is used in a discharge circuit, the energy storage circuit can be prevented from being fully discharged and a residual charge is left in the energy storage circuit instead.

[0026] In some embodiments, the first transistor has a natural operating voltage; and when the first transistor and the other transistors are disabled, the non-zero residual energy corresponds to the natural operating voltage. The natural operating voltage of the p-type transistor can be referred to as being at V t Since the p-type transistor is naturally at this voltage, when the p-type transistor is connected to ground, it will naturally hold the voltage V t .

[0027] In some embodiments, the discharge circuit includes a second transistor that is the same type as the first transistor and is connected in series to the first transistor.

[0028] In some embodiments, the first transistor and the second transistor each have a natural operating voltage; and when both the first transistor and the second transistor are activated, the non-zero residual energy corresponds to twice the natural operating voltage. By providing two transistors of the same type in series (e.g., by connecting the drain of the first transistor to the gate of the second transistor), the second transistor will charge as the first transistor discharges. When the natural operating voltage of a transistor is V t When both transistors are charged (for example, as long as the total voltage is about 2V t So using two transistors in this way will cause a discharge until it reaches 2V. t of residual voltage.

[0029] In some embodiments, a further energy storage circuit is provided for providing electrical energy to the device when the energy storage circuit is discharged by the discharge circuit. In some embodiments, discharging the energy storage circuit may require the energy storage circuit to be disconnected from other parts of the device (to prevent or inhibit those parts of the device from being discharged as well). However, this will prevent electrical energy from being provided to the device. Therefore, a further energy storage circuit may be provided to provide electrical energy to the device during these time periods. In some embodiments, the further energy storage circuit may be recharged by the power supply circuit at the same time as the energy storage circuit, or may even be recharged by the energy storage circuit itself.

[0030] In some embodiments, the discharge circuit is adapted to discharge the energy storage circuit by acting as a resistor.For example, such a device may release energy as heat.

[0031] In some embodiments, the energy storage circuit is a capacitor.

[0032] Certain embodiments will now be described with reference to the accompanying drawings.

[0033] Figure 1 1 is a block diagram of an apparatus 100 according to one embodiment. The apparatus comprises a power supply circuit 110 which obtains electrical energy from a mains supply. This in turn is used to provide energy to an energy storage circuit 120 which may, for example, be in the form of a capacitor. The energy storage circuit is used to provide energy to the rest of the apparatus 100, but in some embodiments the energy storage circuit 120 may only provide energy to a portion of the apparatus 100. In this embodiment, the energy storage circuit is in the form of a capacitor. A discharge circuit 130 is also provided. In this embodiment, the discharge circuit 130 acts as a resistor, thereby releasing energy from the energy storage circuit 120 as heat.

[0034] The discharge circuit 130 allows residual energy to be left when energy is released from the energy storage circuit 120. Therefore, when the power supply circuit 110 recharges the energy storage circuit 120, less work is done and, therefore, the system uses less energy.

[0035] Figure 2 2 shows a graph of the voltage on the energy storage circuit 120 over time. The graph shows that during the recharging process 200, the voltage on the energy storage circuit 120 increases to V max , at which point the energy storage circuit 120 is fully charged. Then, when the energy storage circuit 120 provides power to the device 100 (e.g., processing circuitry within the device), the voltage across the energy storage circuit 120 decreases 202. Then, as the energy storage circuit 120 is discharged by the discharge circuit 130, the voltage across the energy storage circuit 120 decreases 204. The complete discharge 206 of the discharge circuit 130 is coupled to the partial discharge 208 (to the threshold V t ) and partial discharge 210 (to the threshold 2V t ) compared.

[0036] exist Figure 3 In the example shown, the discharge circuit 130 discharges the energy storage circuit 120 by the same amount after the device performs different operations. In this example, it is considered that the device includes a processing circuit that performs various processing operations. In S302, the processing operation is performed, and in S204a, the discharge circuit 130 partially discharges the energy storage circuit 120 to the threshold value V t In S304, different processing operations are performed, and in S204b, the discharge circuit 130 discharges the energy storage circuit 120 to the same threshold value V t Therefore, no matter what operation the device performs, the energy in the energy storage circuit 120 is discharged to a non-zero residual energy V before recharging. t (as heat). Thus, energy is saved compared to a system where the energy is completely discharged from the energy storage circuit 120, regardless of the operation being performed.

[0037] Figure 4A shows the voltage variation over time when the circuit element is discharged (i) and charged (ii) through an n-type transistor, Figure 4B Figure 1 shows the voltage variation over time when the circuit element is discharged (i) and charged (ii) through the p-type transistor. Figure 4B As shown in (i), a circuit element discharged through a p-type transistor (e.g., a p-type MOSFET (pMOS)) can only be partially discharged to a certain threshold value V1 (where V1 is greater than zero but less than V max), leaving some residual charge. Therefore, a p-type transistor is sufficient to partially discharge the energy storage circuit 120, leaving some residual charge. In contrast, a circuit element discharged through an n-type transistor (e.g., an n-type MOSFET (nMOS)) can be completely discharged to zero without any charge remaining on the capacitor ( Figure 4A (i)) has a residual charge left in it. Therefore, when the energy storage circuit 120 is discharged through the n-type transistor, it is completely discharged to zero, and a single n-type transistor is not sufficient to partially discharge the energy storage circuit 120 to a certain threshold. It should be noted that zero voltage is intended to mean the lowest possible voltage across the component.

[0038] Conversely, when a circuit element is charged through a p-type transistor (such as Figure 4B (ii)), it can be fully charged to its maximum voltage V max , and when the circuit element is connected through an n-type transistor ( Figure 4A (ii) When charging, it can only charge to a voltage lower than the maximum voltage V max A certain threshold voltage V2. As shown below Figure 6 and Figure 7 In detail, this means that if an n-type transistor is arranged in series with a further transistor, the further transistor can be charged through the n-type transistor as the energy storage circuit is discharged. Since the further transistor will only be charged to a certain threshold (according to the charging characteristics of the n-type transistor), this means that there is residual charge left in the energy storage circuit, so the energy storage circuit is only partially discharged.

[0039] Figure 5 An exemplary embodiment is shown in which the device 100a includes a capacitor 120a as an energy supply circuit 120 and a discharge circuit 130a, which are connected between power rails VDD and VSS. Capacitor 120a is used in this embodiment because capacitors are cheap and durable and suitable for rapid charging and discharging. However, it should be appreciated that capacitor 120a can be replaced by other forms of energy storage devices. Discharge circuit 130a is adapted to partially discharge capacitor 120a after the operation (e.g., processing operation) of device 100a is completed. In this specific embodiment, discharge circuit 130a includes p-type transistor 500. Due to the natural threshold of p-type transistors, capacitor 130a is only partially discharged when discharged through transistor 500, thereby leaving residual charge in capacitor 130a. For example, transistor 500 can be a pMOS transistor, i.e., a p-type MOSFET transistor.

[0040] Figure 6 An alternative embodiment of the present technology is shown in which the discharge circuit 130b includes a plurality of n-type transistors 600 connected in series. Figure 6The arrangement in FIG. 1 includes a capacitor 120 a and a discharge circuit 130 b connected between power rails VSS and VDD. Figure 5 Similar to the discharge circuit 130a in FIG. 1 , the discharge circuit 130b is adapted to partially discharge the capacitor 120a to a certain threshold value by utilizing the characteristics of the n-type transistor in this case. Specifically, this arrangement utilizes the fact that the circuit element charged by the n-type transistor can only be charged to a certain threshold value V1, such as Figure 4A (ii) is shown. When the capacitor 120a is discharged through the discharge circuit 130b, the capacitor 120a charges the first n-type transistor 600a, the first n-type transistor 600a then charges the second n-type transistor 600b, and the second n-type transistor 600b then charges the third n-type transistor 600c. Since the transistor 600b is charged through the n-type transistor 600a, the transistor 600b can only be charged to a certain threshold value, thereby leaving a residual charge stored in the capacitor 120a. Similarly, since the n-type transistor 600c is charged through the n-type transistor 600b, the n-type transistor 600c can also only be charged to a threshold value, thereby leaving another residual charge stored in the capacitor 120a. Therefore, the capacitor 120a leaves residual charges from the two transistors. In fact, the residual charges provided by the two transistors will be the same, thereby providing a multiple of the residual charge contributed by one transistor on the capacitor 120a. The threshold voltage (and the residual charge) of capacitor 120a can be increased by adding more series n-type transistors 600, so it will be appreciated that the number of n-type transistors 600 in discharge circuit 130b is not limited to three, but can be any number greater than one.

[0041] Figure 7 1 shows another embodiment of the present technology, in which the discharge circuit 130c includes an n-type transistor 700 and a p-type transistor 710 connected in series. This arrangement takes advantage of Figure 4A The characteristics of the n-type transistor shown in (ii) during charging also utilize Figure 4B (i) shows the characteristics of a p-type transistor during discharge. Figure 7, when capacitor 120a is discharged through discharge circuit 130c, capacitor 120a first charges n-type transistor 700, which charges first p-type transistor 710a, which in turn charges second p-type transistor 710b. Since first p-type transistor 710a is charged through n-type transistor 700, it can only be charged to a certain threshold value V2, so residual charge remains in the system. Then, when first p-type transistor 710a is discharged through second p-type transistor 710b, it can only be discharged to the threshold value, leaving the same amount of additional residual charge. Therefore, "double" residual charge is left in capacitor 120a. As in the previous embodiment, the threshold value to which capacitor 120a is discharged can be increased by adding more n-type transistors, and can also be increased by adding more p-type transistors. Therefore, it should be appreciated that Figure 7 The embodiments shown are not limited to Figure 7 One n-type transistor 700 and two p-type transistors 710 are shown, but any number of n-type and p-type transistors may be used.

[0042] Figure 5 , Figure 6 and Figure 7 Various configurations of discharge circuits 130 according to the present technology are shown, however it should be appreciated that any arrangement of discharge circuits 130 that allows for partial discharge of energy storage circuit 120 may be used. In general, this may be Figure 5 A single p-type transistor as shown in , multiple transistors of either or both p-type and n-type, or any other configuration that would produce the same result.

[0043] Some embodiments of the present technology include power rails VDD and VSS. A voltage is arranged between the power rails VDD and VSS. Figures 5 to 7 As shown, the discharge circuit 130 and the energy storage circuit 120 are connected between power rails such that the power rails VDD and VSS provide charge between the energy storage circuit 120 and the discharge circuit 130 .

[0044] In some embodiments, the threshold to which the energy storage circuit 120 is discharged is the same each time the energy storage circuit 120 is discharged. In other embodiments, the threshold may be variable. Figures 5 to 7 In any of the graphs, a fixed threshold can be used, but Figure 6 and Figure 7 The arrangement in can also be configured to provide a variable threshold, where the threshold can be lowered by bypassing one or more transistors in the discharge circuit 130. If the threshold for a given transistor is V t , then each additional transistor included in the series increases the threshold by V t . Figure 2 An example of a threshold value like this is shown. For example, a device including a single p-type transistor 208 has a threshold value V t , while a device comprising two p-type transistors in series 210 has a threshold of 2V t .

[0045] Figure 8 An embodiment of the present technology is shown in which an apparatus 100b includes a power supply circuit 110, an energy storage circuit 120, and a discharge circuit 130 configured to partially discharge the energy storage circuit 120. The apparatus includes a processing circuit 800 for performing a processing operation.

[0046] The energy storage circuit 120, the discharge circuit 130 and the processing circuit 800 are all connected between power rails VDD and VSS, which supply power from the power supply circuit 110 to the energy storage circuit 120 to charge it, and also connect the energy storage circuit 120 to the processing circuit 800 so that the energy storage circuit 120 can supply power to the processing circuit 800, and connect the energy storage circuit 120 to the discharge circuit 130 so that the energy storage circuit 120 can discharge through the discharge circuit 130. The power rail VSS defines a zero voltage for the system. The device 100b also includes a further energy storage circuit 802 connected between the power rails VDD and VSS, the energy storage circuit 802 being arranged to supply power to the processing circuit 802, for example when the energy storage circuit 120 is recharged or discharged. Figure 8 Also shown are six transistors configured to act as switches, including refresh transistors 804 and 806, transfer transistors 808 and 810, and energy storage transistors 812 and 814. Transistors 804-814 are interchangeably referred to herein as switches. Transistors 804-814 may be MOSFETs, but it should be appreciated that any other electrical energy switch or any other component configured to regulate current in a circuit may be used in place of transistors 804-814.

[0047] Fig. 9 A flow chart showing a method by which a method can be operated Figure 8The device 100b of FIG. 800b. The switches 804, 806, 808, 810, 812 and 814 allow the following processes to be isolated from each other: charging the additional storage circuit 802, powering the processing circuit 800, discharging the energy storage circuit 120, or charging the energy storage circuit 120. For example, the additional energy storage circuit 802 is allowed to be charged without discharging the energy storage circuit 120. In S1000, the refresh switches 804 and 806 are closed, and the transfer switches 808 and 810 remain open. This allows the energy storage circuit 120 to be charged. Once the energy storage circuit 120 is fully charged, in S1002, both the refresh switches 804 and 806 are opened, and the transfer switches 808 and 810 are closed. This allows the energy storage circuit 120 to charge the additional energy storage circuit 802 until the two power supplies reach a balance. Alternatively, if there is no additional energy storage circuit 802, the energy storage circuit 120 can be configured to directly power the processing circuit 800. The processing circuit 800 performs some processing operations, after which or after the energy storage circuits 120 and 802 reach equilibrium, in S1004, the transfer switches 808 and 810 are opened, allowing the energy storage circuit 120 to be partially discharged through the discharge circuit 130, while the other energy storage circuit 802 is arranged to supply power to the processing circuit 800 by closing both power switches 812 and 814. When the refresh switches 804 and 806 and the transfer switches 808 and 810 are all opened, the discharge of the energy storage circuit 120 occurs through the discharge circuit 130. The discharge circuit 130 discharges the energy storage circuit 120 by acting as a resistor, converting the electrical power stored in the energy storage circuit 120 into heat that is dissipated within the device 100b.

[0048] Figures 10-11 show embodiments of the present technology that are programmable, ie, they can be controlled using program logic. Fig. 10A An example of how AND gate 1104 and buffer 1102 may be arranged with transistor 1100 so that they may be used to activate or deactivate transistor 1106 is shown. Fig. 10B It is shown how this design can be extended to multiple transistors 1106. This allows the threshold to which capacitor 120a is discharged to be varied by selectively activating or deactivating transistors 1106. The arrangement in Figure 10 is referred to as an "active low" configuration.

[0049] FIG. 11 illustrates an "active high" configuration of a programmable embodiment of the present technology. Fig.11A Shown are a buffer 1204 , a transistor 1202 , and an AND gate 1206 configured to activate or deactivate the transistor 1200 based on an input to the AND gate 1206 . Fig. 11BIt is shown how this configuration can be extended to multiple transistors 1200.

[0050] It should be realized that although Fig. 10B and 11B Only two transistors in series are shown that are configured to be selectively activated or deactivated, but this arrangement can be extended to any number of transistors 1106 / 1200 .

[0051] Figures 10 to 11 show how the threshold of capacitor 120a can vary. Therefore, the threshold can be selected from a plurality of values ​​(which are multiples of each other) according to how many transistors 1106 / 1200 are activated. There can be many ways to select the threshold, for example, the threshold can be randomly selected. This further improves the security of the system by eliminating any predictability of the power consumption of the system. The threshold can be randomly selected based on a random input, for example, a random number can be generated, and the number of transistors equal to the number can be activated. It should be appreciated that there can be many ways to randomly select the threshold, and any method can be used. In addition, it will be appreciated that it is generally impractical to make a truly random selection, so it will be appreciated that "random" in the context of the present application also means a selection made in a pseudo-random manner.

[0052] The programmable embodiments of the present technology shown in Figures 10-11 can also be controlled by a computer program including program instructions.

[0053] Fig.12 1300 is a flow chart illustrating an embodiment of the present invention. In step S1302, energy is stored in energy storage circuit 120. In step S1304, energy is supplied from the energy storage circuit to device 100, such as to processing circuit 802 within device 100b. With this operation complete, energy storage circuit 120 is discharged in step S1306. This continues (via step S1308) until the remaining energy reaches a predetermined preset value (such as V t Once this has been completed, the energy storage circuit 120 is recharged, for example, by the power supply circuit 110. By maintaining the residual charge at the energy storage circuit 120, the energy required to recharge the energy storage circuit 120 by the power supply circuit 110 can be reduced.

[0054] In this application, the phrase "configured to..." is used to mean that an element of a device has a configuration that is capable of performing a defined operation. In this context, "configuration" means an arrangement or manner in which hardware or software are interconnected. For example, the device may have dedicated hardware that provides the defined operation, or a processor or other processing device that can be programmed to perform the function. "Configured to" does not imply that the device elements need to be changed in any way to provide the defined operation.

[0055] Although illustrative embodiments of the present invention are described in detail herein with reference to the accompanying drawings, it should be understood that the present invention is not limited to those precise embodiments, and that various changes, additions and modifications therein may be implemented by those skilled in the art without departing from the scope and spirit of the present invention as defined by the appended claims. For example, the features of the dependent claims may be combined in various ways with the features of the independent claims without departing from the scope of the present invention.

Claims

1. A device for data processing, comprising: an energy storage circuit for storing energy and discharging a portion of the energy to supply a portion of the energy to a processing circuit; a discharge circuit for further discharging the energy storage circuit in response to a portion of the energy being discharged to the processing circuit; a power supply circuit for recharging the energy storage circuit, wherein the discharge circuit being adapted to retain a non-zero residual energy in the energy storage circuit when the energy storage circuit is further discharged by the discharge circuit during a portion of the energy supplied to the processing circuit; The discharge circuit includes a first transistor; The first transistor is a p-type transistor; The first transistor has a natural threshold operating voltage; and The non-zero residual energy corresponds to the natural threshold operating voltage when the first transistor and other transistors are disabled.

2. The device according to claim 1, wherein The amount of non-zero residual energy is programmable.

3. The device according to claim 1, wherein The discharge circuit includes a second transistor that is of the same type as the first transistor and is connected in series to the first transistor.

4. The device according to claim 3, wherein The first transistor and the second transistor each have a natural threshold operating voltage; and When both the first transistor and the second transistor are activated, the non-zero residual energy corresponds to twice the natural threshold operating voltage.

5. The device according to claim 1, wherein A further energy storage circuit is provided for powering the device while the energy storage circuit is being further discharged by the discharge circuit.

6. The device according to claim 1, wherein The discharge circuit is adapted to discharge the energy storage circuit by acting as a resistor.

7. The device according to claim 1, wherein The energy storage circuit is a capacitor.

8. The apparatus of claim 1, further comprising a selection circuit for selecting the amount of non-zero residual energy from at least two values.

9. The device according to claim 8, wherein: The at least two values ​​are not a single value.

10. The device according to claim 8, wherein: The at least two values ​​are in a multiple relationship.

11. The device according to claim 8, wherein: The discharge circuit is adapted to vary the amount of the non-zero residual energy by selectively activating or deactivating elements in the discharge circuit.

12. A method for providing energy, comprising: storing energy in an energy storage circuit; discharging a portion of the energy from an energy storage circuit using a p-type transistor to supply a portion of the energy to a processing circuit; further discharging the energy storage circuit in response to a portion of the energy being supplied to the processing circuit; retaining non-zero residual energy in said energy storage circuit during further discharge; as well as recharging the energy storage circuit, wherein The non-zero residual energy corresponds to a natural threshold operating voltage when the first transistor and the other transistors are disabled.