Assessing energy requirements for a refreshed device
Method and apparatus for assessing a time interval during which a refresh device can be maintained in a self-refresh mode by an associated energy source. The refresh device is initially operated in a self-refresh mode to maintain the device in a selected state. The time interval during which the refresh device can be subsequently maintained in the refresh mode is next determined in relation to an energy requirement value obtained during the self-refresh mode and an energy capacity value from the associated energy source. The energy capacity value is preferably obtained by fully discharging the associated energy source. Preferably, the refresh device is characterized as a dynamic random access memory (DRAM), and the associated energy source is characterized as a rechargeable backup battery. A selected test pattern is preferably written to the refresh device and maintained thereby during the self-refresh mode.
Latest Seagate Technology LLC Patents:
The claimed invention relates generally to the field of electrical circuitry and more particularly, but not by way of limitation, to an apparatus and method for assessing energy requirements for a refreshed device, such as dynamic random access memory (DRAM).
BACKGROUNDTo operate properly, electrical circuitry often requires a continuous supply of electrical energy. The energy can be provided from a source at one or more nominal voltage levels (e.g., +3.3 volts, v), and current is drawn at these respective voltage levels. The circuitry can operate in a variety of modes each having different associated levels of energy consumption.
A refreshed circuit device includes an operational mode and a refresh mode, with the operational mode relating to its operational interaction with other circuitry and the refresh mode relating to actions taken place to maintain the device in a given state. For example, dynamic random access memory (DRAM) provides an array of storage cells that store electrical charge in order to serve as a memory space for digital data. Data are read from and written to the various cells to carry out a data transfer operation with other circuitry.
Because the storage cells lose the stored charge at a given decay rate (i.e., the storage cells in a DRAM can be characterized as leaky capacitors), a self-refresh operation is carried out in the background in order to maintain the device in the then-existing logical state. During the self-refresh operation, the device reads the state of the array and then rewrites that same state to the various storage cells in the array. In this way, the charge in the various storage cells is continually refreshed at a rate faster than the rate at which charge decays from the cells.
It follows that the state of a refreshed device will generally be lost once the application of electrical power to the device is interrupted. There is therefore a continued need for improvements in the art whereby the standby energy requirements for a refreshed device can be accurately assessed, thereby allowing the refreshed device to be supplied with sufficient backup power from a battery or other standby source to maintain the then-existing state until normal system operation can be restored.
SUMMARY OF THE INVENTIONPreferred embodiments of the present invention are generally directed to a method and an apparatus for assessing a time interval during which a refresh device can be maintained in a self-refresh mode by an associated energy source.
In accordance with some preferred embodiments, the method comprises operating the refresh device in a self-refresh mode to maintain the device in a selected state. The method further comprises determining a time interval during which the device can be subsequently maintained in the refresh mode in relation to an energy requirement value obtained during the operating step and an energy capacity value from the associated energy source.
Preferably, the refresh mode of the operating step comprises assessing a nominal charge level of the device and repetitively supplying additional charge to the device to maintain said nominal charge level. The method further preferably comprises transitioning the device from an operational mode, wherein a charge level of the device is selectively altered by a second device, to the self-refresh mode wherein the device is decoupled from the second device and maintains a selected charge level.
The method further preferably comprises obtaining the energy capacity value from the associated energy source by discharging the associated energy source through a load.
Energy is preferably supplied to the device during the operating step from a first energy source. The associated energy source is preferably characterized as comprising a backup battery which is selectively recharged by the first energy source. The obtaining step further preferably comprises selectively inhibiting the recharging of the backup battery by the first energy source while the backup battery is discharged through the load. The energy requirement value is preferably obtained in relation to a current sense resistor.
Preferably, the refresh device is characterized as a dynamic random access memory (DRAM), and the DRAM is preferably used as a cache memory device temporarily store data transferred between a data storage device and a host device. The operating step further preferably comprises writing a selected test pattern to the DRAM which is maintained by the DRAM during the self-refresh mode.
In accordance with further preferred embodiments, the apparatus comprises a refresh device, an associated energy source and a control block. The control block is adapted to operate the refresh device in a self-refresh mode to maintain the device in a selected state and to obtain an energy requirement value for the device during the self-refresh mode.
The control block proceeds to determine a time interval during which the device can be subsequently maintained in the refresh mode in relation to the energy requirement value and an energy capacity value from the associated energy source.
As before, during the self-refresh mode the refresh device preferably assesses a nominal charge level stored therein and repetitively applies additional charge to maintain said nominal charge level. The control block is further preferably adapted to transition the refresh device from an operational mode wherein a charge level of the refresh device is selectively altered by a second device to the self-refresh mode, so that during the self-refresh mode the refresh device is decoupled from the second device and continuously maintains a selected charge level.
The control block is further preferably adapted to discharge the associated energy source through a load to obtain the energy capacity value. A first energy source is preferably configured to supply energy to the refresh device. The associated energy source preferably comprises a backup battery recharged by the first energy source, and the control block preferably inhibits the recharging operation during the battery discharge operation. A current sense resistor is preferably utilized by the control block to determine the energy requirement value in relation to a voltage drop across the resistor.
As before, the refresh device is preferably characterized as a dynamic random access memory (DRAM), and the DRAM is used as a cache memory to temporarily store data transferred between a data storage device and a host computer. The control block preferably writes a selected test pattern to the DRAM prior to the self-refresh operation.
In this way, actual available standby time intervals can be determined, allowing design and maintenance actions to be taken to achieve desired levels of system availability. Additional factors such as operational temperature and aging of the components can also be taken into account, and failure trends can be detected.
These and various other features and advantages which characterize the claimed invention will become apparent upon reading the following detailed description and upon reviewing the associated drawings.
To illustrate an exemplary environment in which presently preferred embodiments of the present invention can be advantageously practiced,
The system 100 includes a number of host computers 102, respectively identified as hosts A, B and C. The host computers 102 interact with each other as well as with a pair of data storage arrays 104 (denoted A and B, respectively) via a fabric 106. The fabric 106 is preferably characterized as a fibre-channel based switching network, although other configurations can be utilized as well including the Internet.
It is contemplated that the A host computer 102 and the A data storage array 104 are physically located at a first site, the B host computer 102 and B storage array 104 are physically located at a second site, and the C host computer 102 is at yet a third site, although such is merely illustrative and not limiting.
As shown in
Each array further includes a pair of power modules 112 (A1/A2) which supply electrical power to the controllers 108 and the storage devices 110. The power modules 112 are preferably configured to operate in tandem so that during normal operation the power module A1 supplies power to the controller A1 and to half of the devices 110, and the power module A2 supplies power to the controller A2 and to the other half of the devices 110. Each power module 112 is further sized and configured to be able to individually supply all of the power for the array 104 should the other power module 112 become inoperative.
A refreshed cache memory device 126 provides a memory space for the temporary storage of data being transferred between the host computers 102 and the storage devices 110. For reference, the cache 126 is preferably characterized as one or more DRAM modules having a total selected storage capacity (such as 1.024 gigabytes, GB).
A power supply 128 operates to receive input AC power from a domestic source (not shown) and output various associated DC voltages on different supply paths, such as the path 130 which is provided at nominally 12V.
This voltage is supplied through protection diode 132 to a regulator 134 which applies voltage regulation to provide an output regulated voltage to path 136. The regulated voltage passes through a current sense resistor (RSENSE) 138 and then to the cache 126. Ground connection 140 denotes the completion of this main power supply loop.
A pair of analog to digital converters 142, 144 (denoted as ADC1, ADC2) are arranged on opposing sides of the sense resistor 138 as shown to provide digital indications of the voltage drop across the resistor to a control block 146. The control block 146 can comprise hardware or a software/firmware routine, as desired.
Continuing with the circuitry of
The battery 154 supplies an output voltage (such as on the order of 4-6 volts) on path 156. During normal operation, path 156 is preferably coupled to path 130 (i.e., switching element 158 is closed) so that the regulator receives power from both the power supply 128 and the battery 154. This advantageously assures that should the power supply 128 be interrupted, power will continue to flow to the cache 126. The switching element 158 can comprise a suitable transistor, one or more protection diodes, etc., as desired.
A third analog to digital converter 160 (ADC3) is coupled to the path 156 as shown, and provides a digital representation of the voltage on path 156 to the control block 146. A shunt path 162 also extends from the path 156 to provide a switching element 164 and a load (L) 166. Finally,
Preferred operation of the circuitry of
At step 202, the circuitry of
During the discharge operation, the battery recharging operation from circuit 148 is temporarily suspended, the connection between path 156 and path 130 is broken (e.g., normally closed switching element 158 is opened), connection is made with the load 166 (e.g., normally open switching element 164 is closed), and the ADC3 160 is configured to monitor the voltage from path 156.
The time required for a full and complete discharge of energy from the battery 154 will depend on a number of factors, including the construction of the battery and the size of the load, but generally it is contemplated that this discharge operation will take a number of hours. Since the nominal impedance of the load 166 is known, the readings from the ADC3 160 enable the control block 146 to generate voltage and current decay curves to show the characteristic decay in these levels during the energy discharge operation. Representative voltage and current decay curves are depicted at 204 and 206 in
As will be recognized, electrical power P can be expressed as a combination of voltage V and current I (i.e., P=V*I, such as watts). Electrical energy can be expressed as power applied during a given time period, t (i.e., E=P*t, such as watt-hours). Accordingly, the respective areas under the curves 204, 206 represent the total energy capacity of the battery 154.
It will be noted that the full discharge of the battery 154 of step 202 provides other benefits as well. Depending on the battery construction, the operational life of the rechargeable battery 154 can be advantageously extended by the periodic full discharge of accumulated charge.
Also, the cache 126 will likely have a minimum voltage input level requirement in order to be able to successfully carry out the refresh operation (e.g., a minimum input voltage of 2.3v). In such case, the energy available from the battery 154 at voltages below this value (i.e., to the right of broken line 208 in
At the conclusion of step 202, the load 166 is disconnected from the battery 154 and the recharge circuit 148 is activated to begin recharging the battery 154 to prepare the circuit for resumption of normal operational mode.
At step 210 in
Instead, the cache 126 operates solely in self-refresh mode to continuously update and maintain the charge in the various storage cells therein to reflect the then-existing state of the memory. To capture an accurate determination of the self-refresh energy consumption of the cache 126, step 210 is initiated while a representative amount of data are stored in the cache 126, such as write-back data pending a write operation to the various devices 110.
As desired, step 210 can include a step of affirmatively writing a selected test pattern to the cache 126 to provide a baseline condition. An advantage of this approach is that the same total amount of charge is stored in the cache 126 during each pass through the routine 200, so that variations observed during each subsequent pass can be attributed to factors other than variations in the amount of refresh charge. In some preferred embodiments, the test pattern comprises a worst case scenario wherein a relatively large number of the storage cells are provided with a logical 1, thereby placing the total charging requirements of the self-refresh operation at a relatively high level.
Once the cache 126 is in self-refresh mode, the voltage and current requirements of the cache 126 are obtained from the outputs of ADC1 142 and ADC2 144. Preferably, multiple measurements are obtained over a selected period of time and averaged or otherwise analyzed to provide an energy consumption value for the cache 126. At the conclusion of this step, the cache 126 is returned to service and updated as required from the cache in the other, associated controller 108.
Continuing with the flow of
The routine of
By way of illustration, assume the cache 126 is provided from the manufacturer with a specified rating of 36 milliamps (mA) and an input voltage of 2.3v to 2.7v for self-refresh mode operation. This provides an initial maximum corner case power requirement of 97.2 milliwatts, mW (36 mA*2.7v). Using a minimum backup time interval T=96 hours, a total of 9331.2 milliwatt-hours, mWh will be required to satisfy this corner case.
If however the routine 200 shows that the particular cache 126 in
Another advantage associated with the routine of
Similarly, components tend to degrade over time as depicted by backup time curve 220 in
Failure trends can accordingly be identified through repetitive operation of the routine 200 over time. The voltage and current decay curves 204, 206 from successive passes of step 202 can be monitored and, when a certain reduction (delta) is observed, battery replacement can be scheduled and performed prior to battery failure. Similarly, the energy consumption rates of the cache 126 can be compared for successive passes of step 210 to detect early failure trends for the cache 126, leading to scheduled replacement thereof at a convenient servicing time.
These additional components enable voltage and current values to be obtained at the input to the regulator 134 (via path 130). The first sense resistor (R1) 138 and the AGC1 and AGC2 142, 144 concurrently obtain voltage and current values at the output of the regulator 134 (via path 136), enabling an efficiency of the regulator 134 to be determined during at least a portion of the self-refresh operation of step 210. Such efficiency can be determined, for example, in relation to the ratio of the power out to the power in (POUT/PIN).
In this way, the regulator 134 can likewise be monitored over time and appropriate corrective actions can be taken as required once a failure trend is detected. The second sense resistor 222, AGC4 224 and AGC5 226 can be utilized at all times during the operation of the circuit of
The routine 200 is preferably configured to be performed automatically on an ongoing basis, as well as manually carried out by system administrator personnel at appropriate times as accessed through one of the host computers 102. The resulting data, including actual measurements, curves and trends can likewise be reported via the host computers.
While preferred embodiments have been directed to the use of DRAM as the associated refresh device, such is merely illustrative and not limiting; rather, the foregoing embodiments can be readily adapted for use with any number of different types of devices that employ a charge refresh operation such as capacitive or inductive arrays; plasma, LCD or other types of displays, etc.
It will now be appreciated that preferred embodiments of the present invention are generally directed to a method and apparatus for assessing a time interval during which a refresh device (such as 126) can be maintained in a self-refresh mode by an associated energy source (such as 154).
In accordance with some preferred embodiments, the method comprises operating the refresh device in a self-refresh mode to maintain the device in a selected state (such as step 210). The method further comprises determining a time interval during which the device can be subsequently maintained in said refresh mode in relation to an energy requirement value obtained during the operating step and an energy capacity value from the associated energy source (such as by step 212).
Preferably, the refresh mode of the operating step comprises assessing a nominal charge level of the device and repetitively supplying additional charge to the device to maintain said nominal charge level. The method further preferably comprises transitioning the device from an operational mode wherein a charge level of the device is selectively altered by a second device (such as 122) to said self-refresh mode wherein the device is decoupled from the second device and maintains a selected charge level.
The method further preferably comprises obtaining the energy capacity value from the associated energy source (such as by step 202) by discharging the associated energy source through a load (such as 166).
Energy is preferably supplied to the device during the operating step from a first energy source (such as 128). The associated energy source is preferably characterized as comprising a backup battery which is selectively recharged by the first energy source (such as by 148). The obtaining step further preferably comprises selectively inhibiting the recharging of the backup battery by the first energy source while the backup battery is discharged through the load. The energy requirement value is preferably obtained in relation to a current sense resistor (such as 138).
Preferably, the refresh device is characterized as a dynamic random access memory (DRAM), and the DRAM is preferably used as a cache memory device to temporarily store data transferred between a data storage device (such as 110) and a host device (such as 102). The operating step further preferably comprises writing a selected test pattern to the DRAM which is maintained by the DRAM during the self-refresh mode.
In accordance with further preferred embodiments, the apparatus comprises a refresh device (such as 126), an associated energy source (such as 154) and a control block (such as 146). The control block is adapted to operate the refresh device in a self-refresh mode to maintain the device in a selected state and to obtain an energy requirement value for the device during the self-refresh mode (such as by step 210).
The control block proceeds to determine a time interval during which the device can be subsequently maintained in the refresh mode in relation to the energy requirement value and an energy capacity value from the associated energy source (such as by step 212).
As before, during the self-refresh mode the refresh device preferably assesses a nominal charge level stored therein and repetitively applies additional charge to maintain said nominal charge level. The control block is further preferably adapted to transition the refresh device from an operational mode wherein a charge level of the refresh device is selectively altered by a second device (such as 122) to the self-refresh mode, so that during the self-refresh mode the refresh device is decoupled from the second device and continuously maintains a selected charge level.
The control block is further preferably adapted to discharge the associated energy source through a load (such as 166) to obtain the energy capacity value (such as by step 202). A first energy source (such as 128) is preferably configured to supply energy to the refresh device. The associated energy source preferably comprises a backup battery recharged by the first energy source, and the control block preferably inhibits the recharging operation during the battery discharge operation. A current sense resistor (such as 138) is preferably utilized by the control block 146 to determine the energy requirement value in relation to a voltage drop across the resistor.
As before, the refresh device is preferably characterized as a dynamic random access memory (DRAM), and the DRAM is used as a cache memory to temporarily store data transferred between a data storage device (such as 110) and a host computer (such as 102). The control block preferably writes a selected test pattern to the DRAM prior to the self-refresh operation.
For purposes of the appended claims, the recited “first means” will be understood to correspond to the disclosed control block 146 of
It is to be understood that even though numerous characteristics and advantages of various embodiments of the present invention have been set forth in the foregoing description, together with details of the structure and function of various embodiments of the invention, this detailed description is illustrative only, and changes may be made in detail, especially in matters of structure and arrangements of parts within the principles of the present invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed. For example, the particular elements may vary depending on the particular processing environment without departing from the spirit and scope of the present invention.
In addition, although the embodiments described herein are directed to a data storage array, it will be appreciated by those skilled in the art that the claimed subject matter is not so limited and various other processing systems can be utilized without departing from the spirit and scope of the claimed invention.
Claims
1. A method comprising a step of determining a time interval over which a refresh device is subsequently maintainable in a self-refresh mode by an associated energy source, said interval comprising multiple charge decay and refresh cycles for the device, wherein the time interval of the determining step is determined by use of a timing circuit in relation to an energy requirement value of the device obtained during device operation and an energy capacity value of the energy source.
2. The method of claim 1, wherein the determining step comprises assessing a nominal charge level of the device and repetitively supplying additional charge to the device to maintain said nominal charge level.
3. The A method of claim 1 comprising a step of determining a time interval over which a refresh device is subsequently maintainable in a self-refresh mode by an associated energy source, said interval comprising multiple charge decay and refresh cycles for the device, wherein the time interval of the determining step is determined in relation to an energy requirement value of the device obtained during device operation and an energy capacity value of the energy source, wherein the energy capacity value is obtained by discharging the energy source through a separate load.
4. The method of claim 1, wherein the associated energy source is characterized as comprising a backup battery and wherein the time interval begins with device operation and ends when the battery reaches a depleted condition no longer capable of supplying sufficient charge to the device to continue said refresh operation.
5. The method of claim 1, wherein the energy requirement value is obtained in relation to a current sense resistor coupled to the device.
6. The method of claim 1, wherein the determining step further comprises further deriving the time interval in relation to a previous energy requirement value obtained during a previous operation of the device.
7. The method of claim 1, wherein the device is characterized as comprising a dynamic random access memory (DRAM).
8. The A method of claim 6, wherein comprising a step of determining a time interval over which a refresh device is subsequently maintainable in a self-refresh mode by an associated energy source, said interval comprising multiple charge decay and refresh cycles for the device, wherein the time interval of the determining step is determined in relation to an energy requirement value of the device obtained during device operation and an energy capacity value of the energy source, wherein the determining step further comprises further deriving the time interval in relation to a previous energy requirement value obtained during a previous operation of the device, the operating step further comprises writing a selected test pattern to the DRAM, wherein the DRAM maintains said test pattern during said refresh mode.
9. An apparatus configured to carry out the a method of claim 1 comprising a step of determining a time interval over which a refresh device is subsequently maintainable in a self-refresh mode by an associated energy source, said interval comprising multiple charge decay and refresh cycles for the device, wherein the time interval of the determining step is determined using a timing circuit in relation to an energy requirement value of the device obtained during device operation and an energy capacity value of the energy source.
10. An apparatus comprising a refresh device, an associated energy source and a control block adapted to determine a maximum interval over which the refresh device is subsequently maintainable in a self-refresh mode by the energy source, said interval beginning with device operation and ending when the refresh device can no longer supply sufficient charge to continue said self-refresh mode, the apparatus further comprising a current sense resistor coupled to the refresh device, wherein the control block determines an energy requirement value in relation to a voltage drop across said resistor and determines said interval in relation to the energy requirement value.
11. The apparatus of claim 10, wherein during the self-refresh mode the refresh device assesses a nominal charge level stored therein and repetitively applies additional charge to maintain said nominal charge level.
12. The apparatus of claim 10, wherein the control block is further adapted to transition the refresh device from an operational mode wherein a charge level of the refresh device is selectively altered by a second device to said self-refresh mode, wherein during said self-refresh mode the refresh device is decoupled from the second device and continuously maintains a selected charge level.
13. The apparatus of claim 10, wherein the control block is further adapted to discharge the associated energy source through a load to obtain an energy capacity value used to determine said interval.
14. The apparatus of claim 13, further comprising a first energy source configured to supply energy to the refresh device, wherein the associated energy source is characterized as comprising a backup battery which is selectively recharged by the first energy source, and wherein the control block further inhibits said recharging of the backup battery by the first energy source while the backup battery is discharged through said load.
15. The apparatus of claim 10, wherein the refresh device is characterized as comprising a cache memory device used to temporarily store data transferred between a data storage device and a host device.
16. The apparatus of claim 10, further comprising a voltage regulator which regulates input energy supplied to the refresh device during the self-refresh mode, wherein the control block further determines an efficiency of the voltage regulator during said self-refresh mode.
17. The apparatus of claim 15, wherein the control block is further adapted to write a selected test pattern to the cache memory device prior to operation of the cache memory device in the self-refresh mode so that the cache memory device refreshes the selected test pattern during the self-refresh mode.
18. A method comprising: determining, by use of a circuit including programmable computer circuit, a time interval over which a refresh device is subsequently maintainable in a mode permissive of a self-refresh operation by an associated energy source, the time interval including multiple charge cycles for the device, wherein the programmable computer circuit determines the time interval in relation to an energy requirement value of the device obtained during device operation and an energy capacity value of the energy source.
19. For use in a system including a memory device, a method comprising:
- providing power-related degradation data associated with the memory device;
- based on the power-related degradation data and threshold criteria applicable to at least part of the memory device, using a computing circuit during the operational life of the memory device to execute an algorithm for assessing integrity of the memory device and, in response thereto, generating data for scheduling maintenance of the system.
Type: Grant
Filed: Jan 21, 2010
Date of Patent: Feb 19, 2013
Assignee: Seagate Technology LLC (Cupertino, CA)
Inventor: David L. Spengler (Colorado Springs, CO)
Primary Examiner: Ly D Pham
Application Number: 12/691,434
International Classification: G11C 7/00 (20060101); G11C 5/14 (20060101); H02J 7/00 (20060101); G06F 1/30 (20060101);