The present invention relates to the access to a storage device.
Traditionally, a storage device such as a hard disk drive or an optical storage is associated with a computing device, which may include, but is not limited to, a laptop or desktop PC, a workstation, and a mainframe computer. As storage devices become higher in density and more compact in size, they are increasingly integrated and/or embedded in portable/mobile electronic devices/appliances/hosts, which may include, but are not limited to, cell phones, PDAs, Tablet PCs, Pocket PCs, MP3 players, iPods, electronic messaging devices, and Java-enabled devices. Here, a storage device can be, but is not limited to, an external storage device, a portable storage device, a wireless storage device, a Bluetooth storage device, or an internal storage device on a resource-rich computing device. Due to its expanded applications, a storage device may subject to various environmental conditions (factors/parameters) under which its embedded appliance may be operating. Such environmental parameters may include but are not limited to, temperature, pressure, humidity, air/gas condition, electric/mechanical shock, vibration, and electronic interference. Due to its electrical, mechanical, or magnetic nature, a storage device may not be able to perform certain requested operations if one or more of the environmental parameters become unfavorable. By a non-limiting example, a storage device embedded in mobile appliances may not be operating properly outside of a range of temperatures. When the temperature is too cold, it may become too “hard” to write, read or even spin up because the lubricants in the motor are too thick. Therefore, it is important that a storage device should be able to adopt measures to protect itself and/or the data stored in it under extreme environmental parameters.
An exemplary hard disk drive 100, as shown in
A hard disk drive used in accordance with various embodiments of the present invention may optionally further include at least one sensor 124, capable of detecting and measuring various environmental parameters mentioned above. The output from the sensor may be conditioned-filtered and/or amplified by an analog conditioning circuitry 126, before output to an A/D converter 128 capable of converting an analog signal to a digital signal automatically or upon a “convert” request. The digital signal can then be optionally filtered digitally before being provided to the disk controller 118 and stored in a register. The analog conditioning circuitry 126 shown in
Note that although analog conditioning circuitry and the A/D converter are shown as discrete components in the diagram, they may practically be embedded in the preamp 116, read/write channel 114, VCM Driver 108, Spindle Driver 112, or even in the Disk Controller 118, respectively. The digital filter and the register for the output from the A/D converter are not shown in the diagram since they are typically embedded in one or more of the rest of the components, such as disk controller and micro-processor.
An exemplary environmental parameter detecting and recording approach is shown by the process in
In some embodiments of the present invention, the storage device may keep a lookup table of acceptable ranges of various environmental parameters corresponding to a series of possible operations to access the storage device requested by the host. The storage device may refuse to perform an operation requested when the value of at least one of the environmental parameters is out of the range required for the operation. By a non-limiting example, the storage device can refuse to operate if the temperature is too hot or too cold. Further, read and write operations can be rejected at different temperature ranges. In addition, the storage device can report the temperature it measures in degrees Centigrade, and report the reason why the requested operation is not performed. In one embodiment, bits in a status register can be reserved to report temperature too high or too low and a register can be utilized to report the (signed) temperature in degrees Centigrade.
An exemplary storage device self-protection approach is shown by the process in
An exemplary hard disk drive 100 embedded in an appliance 122, such as a cell phone, is shown in
In various embodiments of the present invention, an appliance having an internal (embedded) storage device is able to inform the storage device of changes in the environment parameters and/or coming or ongoing events/operations to be performed by the appliance, which the storage device may not be aware of. As an non-limiting example, a cell phone may inform an embedded storage device that the phone is about to perform one of the following: speaking, vibrating, transmitting at high power, and transmitting at low power, or that battery charge is low, battery charge is critical, or that it has detected the fact that it is moving suddenly (e.g. falling) and may soon experience an extreme shock. It may then block write, read, or even track following operation on the storage device for the time being.
The appliance, in response to environmental or other conditions that cause a desired operation to the storage device to not take place, either by internally detected or storage device reported means, may also notify the user of the failure and provide an indication of what conditions need to be corrected that would allow the operation to succeed at some future time. As a not-limiting example, a wireless personal video player can notify the user that the recording of a scheduled news broadcast has failed due to high temperature, perhaps because the appliance is in a closed automobile in the sunshine.
An exemplary notification process by the appliance is shown in
Table 1 show an exemplary register utilized by the appliance to notify the storage device of changes in environmental conditions that may affect the storage device.
In the configuration register shown in Table 1, Bit 1 (Env Attn) is utilized to inform the storage device of environmental condition changes. Before setting this bit, the appliance should set or clear bits in register for environment conditions shown later in Table 2 that indicate that the storage device is allowed to write or allowed to track follow (i.e., have heads over the media) and read. Bit 0 (Power down) is a notification by the appliance to the storage device that power is going away. In response to setting this bit, the storage device will stop any pending writes to the media within a short period of time, in one example 200 us or less.
In some embodiments, a register that includes many bits may be utilized to inform the storage device that certain operations or environment changes have or will occur. A “door bell” may cause an interrupt to the micro-processor on the storage device so that the storage device will act on the information of the coming events.
The exemplary register shown in Table 2 can be used by the appliance to report environment conditions to the storage device. The bits are not assigned meanings, since these will vary from appliance to appliance.
If environmental conditions exist that should prevent the storage device from writing, any of the bits <3:0> should be set. If any environmental conditions exist that should prevent the storage device from track following, any bit in bits <7:4> should be set to prevent the storage device from having the heads over the media.
Changes in this register should be followed by setting bit 1 in the configuration register discussed earlier. This will interrupt the micro-processor of the storage device so that the changes can be acted upon. Inhibit write conditions should take effect within a very short time (say, 200 us for example). Compliance with inhibit track follow conditions will likely take longer (say, 250 ms for example).
As non-limiting examples: Bit 0 of this register could indicate that the appliance will shortly be vibrating or transmitting at high power and the storage device should not attempt to write at this time. Bit 7 of this register could indicate that the appliance has been dropped and that the heads should be retracted from the media to their parking position prior to impact.
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. Many modifications and variations will be apparent to one of ordinary skill in the relevant arts. 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 claims and their equivalence.
This application claims priority from the following co-pending applications, which are hereby incorporated in their entirety: U.S. Provisional Application No. 60/623,270 entitled DISK DRIVE ACCESS UNDER CHANGES IN ENVIRONMENTAL PARAMETERS, by Fernando Zayas et al., filed Oct. 29, 2004 (Attorney Docket No. PANAP-01165US0).
Number | Date | Country | |
---|---|---|---|
60623270 | Oct 2004 | US |