A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
The current invention relates generally to electronic storage device calibration, and more particularly to electronic storage device calibration for power sensitive devices.
Electronic storage devices (ESD) perform many operations per second. These operations involve moving parts and reading and writing to very small areas on the ESD media, all in an environment having a varying temperature. As a result, ESDs must be undergo calibrations. Traditionally, ESDs perform different types of calibrations at different times. At power-up, electronic storage devices perform bias and RRO compensation calibrations. Periodically, ESDs perform calibrations such as Kt adjustment calibrations. A method 100 illustrating the typical power-up and periodical calibration process of electronic storage devices of the prior art is illustrated in
Though calibrations are useful in maintaining a high level of performance and reliability in the ESD, periodical calibrations can drain power sources when they require a “media power-up” or that the drive be brought to the ready state. Additionally, it can be undesirable for a user to hear an ESD “power-up” on it's own when the user is not initiating any operations or access to the ESD in a device.
Other types of electronic storage device calibrations in the prior art are performed during error recovery. As shown in method 200 of
What is needed is an enhanced manner of performing calibrations on a electronic storage device that overcomes the power and implementation limitations of the calibration methods of the prior art.
Enhanced calibrations for an electronic storage devices (ESD) are implemented to improve performance, power conservation, and efficiency of the ESD. In one embodiment, calibrations are performed only when a qualifying I/O operation is requested and acted upon. This conserves power by eliminating a separate power-up of the media for the calibration. In another embodiment, calibrations are performed upon the occurrence of an event, such as the occurrence of an error, data transfer threshold, environment change, or after a certain period of time. The calibrations may be performed before or after a qualifying I/O operation. In one embodiment, whether the calibrations are performed before or after an I/O operation depends on whether the drive is configured for reliability or performance. The calibrations performed may include enhanced environment adaptive and enhanced error recovery sequence calibrations.
Enhanced calibrations for an electronic storage devices (ESD) are implemented to improve performance, power conservation, and efficiency of the ESD. In one embodiment, calibrations are performed only when a qualifying I/O operation is requested and acted upon. This conserves power by eliminating a separate power-up of the media for the calibration. In another embodiment, calibrations are performed upon the occurrence of an event, such as the occurrence of an error, data transfer threshold, environment change, or after a certain period of time. The calibrations may be performed before or after a qualifying I/O operation. In one embodiment, whether the calibrations are performed before or after an I/O operation depends on whether the drive is configured for reliability or performance. The calibrations performed may include enhanced environment adaptive and enhanced error recovery sequence calibrations.
An ESD system 300 in accordance with the present invention is illustrated in
In one embodiment, the present invention reduces the power required to perform ESD calibrations by performing most if not all calibrations when a qualifying I/O operation is performed. Thus, the ESD does not bring the media and heads to the ready-state solely to perform a calibration operation. Rather, the ESD is brought to the ready state because a qualifying I/O operation needs to be performed, and the calibration is performed at generally the same time. In this manner, power is not spent on brining the ESD to the ready state to perform a calibration.
Calibrations may be performed before or after the qualifying I/O request is performed. Performing the calibration before the I/O operation may improve the reliability of the I/O operation that is performed immediately thereafter, but may cause a delay in completing the requested operation. Performing the calibration after the I/O operation will not delay the I/O operation, but may effect the reliability of the operation performed before the drive is calibrated. Both scenarios conserve power by grouping the calibration with the I/O operation that requires bringing the ESD to the ready state. The decision of which scenario is preferable is a matter of designer or customer preference. In one embodiment, a customer may provide input in the form of a tunable parameter indicating how the drive should operate with respect to two scenarios (i.e., high performance or high reliability or both good performance and good reliability, etc.).
Method 400 of
Any needed calibrations are performed at step 430. In one embodiment, when a calibration is to be performed, a value is loaded to a calibration register. Different values indicate different types of calibrations to perform upon receiving a qualifying I/O request. Immediately after power-up, one or more values corresponding to one or more power-up calibrations are loaded to the calibration register. Upon receiving the qualifying I/O request at step 420, the ESD will check the calibration register to see if it contains any values indicating that one or more calibrations are to be performed. Once all calibrations specified in the calibration register are performed, the ESD loads a null value to the calibration register.
Once the calibration is performed at step 430, the requested I/O operation is performed at step 440. Operation then continues to step 450 where a calibration counter is initiated. Typically, a calibration may be performed every certain number of media writes or reads, after some period of time, or a combination thereof. After the counter is initiated, operation continues to step 420. If the ESD receives a qualifying I/O request at step 420 after the calibration counter signals a calibration should be performed, the requested calibrations are performed at step 430. If the ESD receives a qualifying I/O request at step 420 before the calibration counter signals a calibration should be performed, no requested calibrations are performed at step 430.
As discussed above, the embodiment illustrated in method 400
At step 450, a calibration counter is initiated. The calibration timer may be a counter of time, host I/O events, ESD I/O events or other countable events. Operation of method 400 then continues to step 420. Once the counter expires, or has reached a number that triggers a calibration, a value for the calibration is loaded into the calibration register. At the next qualifying I/O event, the calibrations are performed at step 430.
In one embodiment, when ESD calibrations are performed only when a host I/O operation is performed, the calibrations may be less susceptible to interruption by the host. This is advantageous in that the calibrations are more likely to complete once they are started and less likely to conflict with a host I/O operation. This would not be practical on ESDs of the prior art because the calibrations are not scheduled around host I/O operations, and are thus more susceptible to occurring at exactly the same time.
In one embodiment, the high performance and high reliability calibration method of the present invention can include an optional step that performs a calibration upon the expiration of a period of time or the occurrence of an event. The event can be a change in conditions, the transfer of a certain quantity of data, the detection of an error, or some other event. In another embodiment, the ESD may include a programmable setting that determines how the drive balances energy conservation with performance. For example, when the programmable setting is set to strongly favor higher performance, the drive may be configured to do calibrations upon receiving I/O requests more frequently (i.e., most or all I/O operations). When the programmable setting is set to favor energy conservation, the drive will perform a minimum number of calibrations (i.e., only do calibrations every one thousand requests). Minimal calibrations translate to power savings by requiring less actuator movement.
One event that may trigger a calibration is a change of environmental conditions or temperature in the ESD. A change in temperature is important because it changes the ESD coil resistance and resulting maximum current available to drive the actuator, thereby affecting the performance of the ESD. Once the temperature is known, the maximum available current and actuator acceleration can be readily determined. The drive may then be calibrated to operate with the maximum acceleration.
The calibration can be based on an adoptive algorithm used dynamically with a seek. Method 500 of
Calibrations in the present invention can be triggered from the detection of an error. In one embodiment, an error recovery sequence is customized depending on the conditions of the error detected. This is accomplished by detecting the error conditions such as when and where the error occurred, and taking steps to recover from the error based on the detected conditions. A custom error recovery sequence attempts to address different detected errors. For example, a seek timeout is typically due to a ringing event. Accordingly, upon detecting the ringing event, an error recovery sequence that performs an RO calibration is executed. Method 600 of
Method 600 begins with start step 605. Next, an error event is detected in step 610. In one embodiment, the error detection includes determining what type of error has occurred. Drive hints are then retrieved at step 620. The drive hints relate to the error conditions, such as what operation was being attempted by the drive, information from the ESD log and event handler, and other hint information. For example, in one embodiment, a seek timeout error may typically occur due to a ringing event. Accordingly, a note in the form of setting a number of bits in a register is made in response to the ringing event. The error recovery system looks up the appropriate error recovery sequence that corresponds to the ringing event. In this case, an RO calibration error recovery sequence may be performed. Once the hints are retrieved, the ESD can determine the error type of error, if not already known, at step 630. In one embodiment, the ESD may maintain a table of hints and the corresponding error types that usually occur for the particular hints. Next, the error recovery sequence may be retrieved at step 640. In one embodiment, a table of types of errors and corresponding error recovery sequences may be maintained by the ESD, from which the error recovery sequence may be retrieved. After the specific type of error recovery sequence is determined, the sequence is executed at step 650. Operation of method 600 then ends at step 655. In one embodiment, rather than execute the error recovery sequence at step 640, a value corresponding to the particular sequence is written to the calibration register. The particular error recovery sequence would then be performed in due course in method 400.
In some instances, more than one type of error recovery sequence may be possible for a type of error. In one embodiment, the calibration execution order may be changed so that calibrations that have been most successful for a particular error are performed first. In this case, the ESD may contain information in the form of a table regarding which error recovery sequence has been most successfully hinted. Upon performing error recovery calibrations, the order is configured appropriately and the error recovery sequences are carried out.
In another embodiment, after execution of the error recovery sequence at step 650, the ESD would check to see if execution of the error recovery sequence was successful in correcting the error. If the error recovery sequence was successful, then operation would end. If the error recovery sequence was not successful, then operation would continue by performing a full scale comprehensive error recovery sequence that covers the entire ESD.
Enhanced calibrations for an ESD are implemented to improve performance, power conservation, and efficiency of the ESD. In one embodiment, calibrations are performed only when a qualifying I/O operation is requested and acted upon. This conserves power by eliminating a separate power-up of the media for the calibration. In another embodiment, calibrations are performed upon the occurrence of an event, such as the occurrence of an error, data transfer threshold, environment change, or after a certain period of time. The calibrations may be performed before or after a qualifying I/O operation. In one embodiment, whether the calibrations are performed before or after an I/O operation depends on whether the drive is configured for reliability or performance. The calibrations performed may include enhanced environment adaptive and enhanced error recovery sequence calibrations.
Other features, aspects and objects of the invention can be obtained from a review of the figures and the claims. It is to be understood that other embodiments of the invention can be developed and fall within the spirit and scope of the invention and claims.
The foregoing description of preferred embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to the practitioner skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention for various embodiments and with various modifications that are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalence.
In addition to an embodiment consisting of specifically designed integrated circuits or other electronics, the present invention may be conveniently implemented using a conventional general purpose or a specialized digital computer or microprocessor programmed according to the teachings of the present disclosure, as will be apparent to those skilled in the computer art.
Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those skilled in the software art. The invention may also be implemented by the preparation of application specific integrated circuits or by interconnecting an appropriate network of conventional component circuits, as will be readily apparent to those skilled in the art.
The present invention includes a computer program product which is a storage medium (media) having instructions stored thereon/in which can be used to program a computer to perform any of the processes of the present invention. The storage medium can include, but is not limited to, any type of disk including floppy disks, optical discs, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
Stored on any one of the computer readable medium (media), the present invention includes software for controlling both the hardware of the general purpose/specialized computer or microprocessor, and for enabling the computer or microprocessor to interact with a human user or other mechanism utilizing the results of the present invention. Such software may include, but is not limited to, device drivers, operating systems, and user applications.
Included in the programming (software) of the general/specialized computer or microprocessor are software modules for implementing the teachings of the present invention, including, but not limited to, enhanced calibration methods in ESDs.
The present application is related to the following U.S. patents and patent applications, which patents/applications are incorporated by reference herein in their entirety: U.S. patent application Ser. No. ______, entitled “ENHANCED SYSTEM FOR ELECTRONIC STORAGE DEVICE CALIBRATIONS, filed on ______ 2004, Attorney Docket No. PANAP 1032US0, currently pending.